/* PALETTE MINT */
:root {
    --mint-green: #87c095;       /* Vert Mint principal */
    --mint-green-dark: #6aa87a;  /* Variante foncée */
    --mint-bg: #f5f7f5;          /* Fond très clair */
    --mint-card: #ffffff;        /* Cartes / sections */
    --mint-text: #2e3436;        /* Texte sombre */
    --mint-border: #d8ddd8;      /* Bordures douces */
    --radius: 10px;              /* Arrondis légers façon Mint */
}

/* GLOBAL */
body {
    margin: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--mint-bg);
    color: var(--mint-text);
    min-height: 100vh;
}

/* HEADER Mint-like */
header {
    background: #ffffff;
    border-bottom: 1px solid var(--mint-border);
    padding: 12px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

nav a {
    color: var(--mint-text);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: 0.2s ease;
}

nav a:hover {
    background: rgba(135, 192, 149, 0.15);
    color: var(--mint-green-dark);
}

nav a.active {
    background: var(--mint-green);
    color: white;
    box-shadow: 0 3px 8px rgba(135, 192, 149, 0.4);
}

/* LOGO (sans glow KDE) */
.logo {
    height: 42px;
    width: auto;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.03);
}

/* HERO SECTION */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f0f5f0 100%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 25px;
    opacity: 0.85;
}

/* BOUTON Mint */
.btn {
    background: var(--mint-green);
    padding: 12px 28px;
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: bold;
    display: inline-block;
    transition: 0.25s ease;
}

.btn:hover {
    background: var(--mint-green-dark);
    box-shadow: 0 6px 18px rgba(135, 192, 149, 0.35);
    transform: translateY(-2px);
}

/* FEATURES (cartes Mint) */
.features {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 60px 20px;
    flex-wrap: wrap;
}

.feature-card {
    background: var(--mint-card);
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid var(--mint-border);
    width: 280px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* INTRO SECTION */
.intro {
    max-width: 900px;
    margin: 60px auto;
    background: var(--mint-card);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--mint-border);
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.intro h2 {
    margin-top: 0;
    font-size: 2rem;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px;
    color: #6c7a6c;
    font-size: 0.9rem;
    margin-top: 40px;
}
/* BOUTON DARK MODE */
.theme-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    margin-left: 15px;
    transition: 0.2s ease;
}

.theme-btn:hover {
    transform: scale(1.1);
}

/* MODE SOMBRE */
body.dark {
    background: #1e1f1e;
    color: #e6e6e6;
}

/* Header */
body.dark header {
    background: #2a2c2a;
    border-bottom-color: #3a3d3a;
}

body.dark nav a {
    color: #e6e6e6;
}

body.dark nav a:hover {
    background: rgba(135, 192, 149, 0.2);
}

body.dark nav a.active {
    background: #6aa87a;
}

/* Cartes */
body.dark .page,
body.dark .feature-card,
body.dark .about-card,
body.dark .value-box,
body.dark .roadmap-card {
    background: #2a2c2a;
    border-color: #3a3d3a;
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

/* Hero */
body.dark .hero,
body.dark .about-hero {
    background: linear-gradient(180deg, #2a2c2a 0%, #1e1f1e 100%);
}

/* Footer */
body.dark footer {
    color: #b5b5b5;
}
