/* --- 1. CONFIGURATION UI/UX --- */
:root {
    /* Palette Gaïa Revisitée pour la lumière */
    --vert-principal: #5B6654;       /* Le vert officiel (Textes, Titres) */
    --vert-clair: #EDF1EE;           /* Fond très clair, apaisant */
    --orange-action: #CE6715;        /* Boutons d'action (Call to Action) */
    
    --noir-texte: #2D3748;           /* Gris anthracite doux (moins dur que le noir pur) */
    --gris-neutre: #64748B;          /* Pour les sous-titres */
    --blanc: #FFFFFF;
    
    /* Variables Design */
    --radius: 12px;                  /* Arrondis plus modernes */
    --shadow-soft: 0 10px 30px rgba(91, 102, 84, 0.08); /* Ombre douce et teintée */
    --shadow-hover: 0 15px 40px rgba(91, 102, 84, 0.15);
    --container-width: 1150px;
    
    /* Polices */
    --font-title: 'Red Hat Display', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* --- 2. BASE & TYPOGRAPHIE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--noir-texte);
    background-color: var(--blanc);
    line-height: 1.7; /* Meilleure lisibilité */
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { 
    font-family: var(--font-title); 
    font-weight: 700; 
    line-height: 1.15; 
    color: var(--vert-principal); /* Cohérence de marque */
}

a { text-decoration: none; transition: all 0.3s ease; }
ul { list-style: none; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* --- 3. NAVIGATION (Clean & Sticky) --- */
.navbar {
    height: 90px;
    background: rgba(255,255,255, 0.98);
    backdrop-filter: blur(12px);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.03); /* Ombre très subtile */
    display: flex; align-items: center;
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px; /* Espace entre l'image et le texte */
    text-decoration: none;
}

.logo-img { 
    height: 45px; /* Ajuste la hauteur selon ton logo */
    width: auto;
    object-fit: contain;
}

.logo-text { 
    font-family: var(--font-title); 
    font-size: 1.6rem; 
    font-weight: 800; 
    color: var(--vert-principal);
    letter-spacing: -0.5px;
}

.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a { 
    font-weight: 500; 
    color: var(--noir-texte); 
    font-size: 0.95rem; 
    position: relative;
}
.nav-links a:not(.btn):hover { color: var(--orange-action); }

/* --- 4. HERO HEADER (Lumineux & Inspirant) --- */
.hero {
    /* J'ai réduit le padding du bas (80px au lieu de 140px) */
    padding: 120px 0 80px; 
    background: linear-gradient(180deg, var(--vert-clair) 0%, rgba(255,255,255,0) 100%);
    text-align: center;
}

.badge {
    display: inline-block;
    background: #fff;
    color: var(--orange-action);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(206, 103, 21, 0.1);
}

.hero h1 { 
    font-size: 4rem; /* Grand titre impactant */
    margin-bottom: 25px;
    color: var(--vert-principal);
}

.hero .subtitle { 
    max-width: 650px; 
    margin: 0 auto 45px; 
    color: var(--gris-neutre); 
    font-size: 1.25rem; 
    font-weight: 400;
}

/* Boutons Modernes */
.btn { 
    display: inline-block; 
    padding: 14px 28px; 
    border-radius: 50px; /* Forme pilule plus moderne */
    font-weight: 600; 
    font-size: 1rem;
    cursor: pointer; 
}

.btn-small { 
    padding: 10px 24px; 
    font-size: 0.95rem; 
    font-weight: 700;   
    background: var(--orange-action); 
    
    /* On force le blanc tout le temps */
    color: #ffffff !important; 
    
    box-shadow: 0 4px 10px rgba(206, 103, 21, 0.2);
}

.btn-small:hover { 
    background: #b8580e; /* Orange légèrement plus foncé */
    transform: translateY(-2px); 
    
    /* On force le blanc au survol aussi */
    color: #ffffff !important; 
}

.btn-primary { 
    background: var(--orange-action); 
    color: var(--blanc); 
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(206, 103, 21, 0.25);
}
.btn-primary:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 12px 25px rgba(206, 103, 21, 0.35);
}

.btn-outline { 
    background: white;
    color: var(--vert-principal); 
    border: 1px solid #E2E8F0; /* Bordure très légère */
    font-size: 1.1rem; 
    margin-left: 15px;
}
.btn-outline:hover { 
    border-color: var(--vert-principal);
    background: var(--vert-clair);
}

/* --- 5. SECTIONS COMMUNES --- */
section { padding: 60px 0; }
.bg-white { background: var(--blanc); }
.bg-light { background: #FAFAFA; } /* Blanc cassé à peine visible */
.bg-green { background: var(--vert-principal); color: var(--blanc); }

.section-title { text-align: center; max-width: 700px; margin: 0 auto 70px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-title p { font-size: 1.2rem; color: var(--gris-neutre); font-weight: 400; }
.white-text h2, .white-text p { color: var(--blanc); opacity: 0.95; }

/* --- 6. CONSTAT (Cartes Élégantes) --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }

.card {
    background: var(--blanc);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.02); /* Bordure quasi invisible */
    transition: transform 0.3s ease;
}

.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.problem-card { border-top: 5px solid var(--orange-action); }
.solution-card { border-top: 5px solid var(--vert-principal); background: #FCFCFC; }

.card h3 { 
    font-size: 1.8rem; 
    margin-bottom: 30px; 
    padding-bottom: 20px;
    border-bottom: 1px solid #F1F5F9;
}

.list-clean li { margin-bottom: 30px; }
.list-clean li:last-child { margin-bottom: 0; }
.list-clean strong { 
    display: block; 
    color: var(--vert-principal); 
    font-size: 1.2rem; 
    margin-bottom: 5px; 
}
.list-clean p { font-size: 1rem; color: var(--gris-neutre); margin: 0; }

.lead-text { font-size: 1.3rem; font-weight: 500; color: var(--noir-texte); margin-bottom: 25px; line-height: 1.5; }
.separator { height: 1px; background: #F1F5F9; margin: 25px 0; }

/* --- 7. SOLUTIONS (Vert mais pas lourd) --- */
/* Pour éviter l'effet "bloc sombre", on garde le fond vert mais on aère */
.stats-grid { 
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; margin-bottom: 70px; 
    background: rgba(255,255,255,0.05); /* Légère transparence */
    padding: 30px;
    border-radius: var(--radius);
}
.number { display: block; font-size: 4rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 10px; }
.label { font-size: 1.1rem; opacity: 0.8; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

.tags-container { text-align: center; }
.tags-container h3 { margin-bottom: 30px; font-size: 1.5rem; color: #fff; opacity: 0.9; }
.tags-wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.tag { 
    background: rgba(255,255,255,0.15); /* Verre dépoli */
    backdrop-filter: blur(5px);
    color: #fff; 
    padding: 10px 25px; 
    border-radius: 50px; 
    font-weight: 600; 
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.2);
}
/* L'effet Hover demandé */
.tag:hover {
    background: #fff;       /* Devient blanc */
    color: var(--vert-principal); /* Texte devient vert */
    transform: translateY(-3px) scale(1.05); /* Monte et grossit légèrement */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Petite ombre */
    border-color: #fff;
}

/* --- 8. RÉSULTATS (Cartes Flottantes) --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }

.result-box {
    background: var(--blanc);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid #F8FAFC;
    transition: all 0.3s ease;
}
.result-box:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

/* SVG Icon Styling */
.icon-green {
    width: 48px;
    height: 48px;
    color: var(--vert-principal);
    margin-bottom: 25px;
    display: inline-block;
    padding: 10px;
    background: var(--vert-clair); /* Fond bulle verte */
    border-radius: 50%; /* Cercle parfait */
}

.result-box h4 { font-size: 1.25rem; margin-bottom: 10px; color: var(--noir-texte); }
.result-box p { color: var(--gris-neutre); font-size: 0.95rem; }

/* --- 9. CONTACT (Confiance & Simplicité) --- */
.contact-grid-center { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }

.contact-box {
    background: var(--blanc);
    border: 1px solid #F1F5F9;
    padding: 50px 30px;
    border-radius: var(--radius);
    width: 320px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.contact-box:hover:not(.no-hover) { 
    transform: translateY(-5px); 
    border-color: var(--orange-action); 
    box-shadow: 0 15px 30px rgba(206, 103, 21, 0.1); /* Lueur orange subtile */
}

.contact-box h4 { 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    margin-bottom: 20px; 
    color: var(--gris-neutre); 
    font-weight: 700;
}
.highlight-text { 
    font-size: 1.4rem; 
    font-weight: 800; 
    color: var(--vert-principal); 
    margin-bottom: 25px; 
}
.address-text { 
    font-size: 1.1rem; 
    color: var(--noir-texte); 
    font-weight: 500; 
    line-height: 1.6; 
}

.link-fake { 
    color: var(--orange-action); 
    font-weight: 700; 
    font-size: 0.9rem; 
    border-bottom: 2px solid rgba(206, 103, 21, 0.2);
    padding-bottom: 2px;
}
.contact-box:hover .link-fake { border-color: var(--orange-action); }

/* --- 10. FOOTER --- */
footer { 
    background: #F8FAFC; /* Gris très clair, pas noir ! */
    color: var(--gris-neutre); 
    padding: 50px 0; 
    text-align: center; 
    font-size: 0.9rem; 
    border-top: 1px solid #E2E8F0;
}

/* --- RESPONSIVE MOBILE --- */
.mobile-only { display: none; }
.mobile-nav { display: none; }

@media (max-width: 768px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; }
    
    .hero h1 { font-size: 2.8rem; line-height: 1.1; }
    .grid-2, .stats-grid, .contact-grid-center { display: flex; flex-direction: column; }
    .contact-box { width: 100%; }
    
    /* Menu Burger */
    .burger-menu { background: none; border: none; cursor: pointer; padding: 10px; }
    .burger-menu span { display: block; width: 28px; height: 3px; background: var(--vert-principal); margin: 6px 0; border-radius: 3px; }
    
    .mobile-nav { 
        position: fixed; top: 90px; left: 0; right: 0; 
        background: var(--blanc); padding: 30px; 
        border-bottom: 1px solid #eee; 
        flex-direction: column; gap: 20px; text-align: center; z-index: 999;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    .mobile-nav.active { display: flex; }
    .mobile-nav a { font-size: 1.1rem; font-weight: 600; color: var(--noir-texte); }
    .mobile-nav a.highlight { color: var(--orange-action); }
}
