/* =========================================
   1. IMPORTS & VARIABLES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&family=Open+Sans:wght@400;600&display=swap');

:root {
    --main-blue: #004aad;
    --accent-red: #e63946;
    --text-color: #333333;
    --white-color: #ffffff;
    --bg-light: #f4f6f8;
    --header-height: 80px;
    --card-shadow: 0 10px 20px rgba(0,0,0,0.08);
    --text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

/* =========================================
   2. BASE
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
    padding-top: var(--header-height);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Liens par défaut */
a { text-decoration: none; color: var(--main-blue); transition: 0.3s; }
ul { list-style: none; }

/* =========================================
   3. HEADER
   ========================================= */
.header {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height);
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 5%; background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); z-index: 1000;
}
.logo {
    color: var(--main-blue); font-size: 1.5rem; font-weight: 900;
    font-family: 'Montserrat', sans-serif; letter-spacing: 2px;
}
.logo::after { content: '.'; color: var(--accent-red); font-size: 2rem; line-height: 0; }
.header nav ul { display: flex; align-items: center; }
.header nav ul li a {
    color: var(--text-color); margin-left: 30px; font-weight: 600;
    font-size: 0.95rem; position: relative; transition: color 0.3s;
}
.header nav ul li a:hover, .header nav ul li a.active { color: var(--main-blue); }
.header nav ul li a::after {
    content: ''; position: absolute; width: 0; height: 3px; bottom: -5px; left: 0;
    background-color: var(--accent-red); transition: width 0.3s;
}
.header nav ul li a:hover::after { width: 100%; }

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-section {
    position: relative; width: 100%; min-height: calc(100vh - var(--header-height));
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white-color); overflow: hidden;
    background-color: #333;
}
/* Slider Accueil */
.slider-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.slide {
    position: absolute; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.5s ease-in-out;
}
.slide-1 { background-image: url('images/hero-1.jpg'); }
.slide-2 { background-image: url('images/hero-2.jpg'); }
.slide-3 { background-image: url('images/classe.PNG'); }
.slide.active { opacity: 1; }
.hero-section::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); z-index: 2;
}
.hero-content {
    position: relative; z-index: 3; max-width: 900px; padding: 0 20px; margin: 0 auto;
}
.hero-content h1 {
    font-size: clamp(2rem, 5vw, 4rem); font-weight: 900;
    text-shadow: var(--text-shadow); margin-bottom: 20px;
}
.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem); margin-bottom: 40px;
    font-weight: 400; text-shadow: var(--text-shadow);
}

/* HERO PETIT (Pour les autres pages) */
.hero-small {
    min-height: 40vh;
    background: linear-gradient(135deg, var(--main-blue), #002855);
}
.hero-small::after { display: none; }

/* =========================================
   5. SPECIAL QUI SOMMES NOUS (Fond gris foncé)
   ========================================= */
.soutien-hero {
    /* Fond gris un poil plus foncé pour la démarcation */
    background: #e0e0e0; 
    background-image: none; /* Pas d'image, pas de dégradé */
    color: #333; /* Texte sombre */
    
    /* Alignement vertical */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    padding-top: 100px;
    padding-bottom: 60px;
    height: auto;
    min-height: auto;
}

.soutien-hero .hero-top {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
    z-index: 5;
}

.soutien-hero h1 {
    color: var(--main-blue); /* Titre "Qui sommes nous" en bleu */
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin: 0 auto;
    text-shadow: none; /* Enlève l'ombre portée */
}

.soutien-hero .team-subtitle {
    font-size: 2rem;
    color: #000; /* "Notre équipe" en noir */
    font-weight: 700;
    margin: 10px auto 0;
    text-shadow: none;
}


/* =========================================
   6. CARROUSEL (Transparent & Texte Noir)
   ========================================= */
.carousel-container {
    position: relative; width: 90%; max-width: 500px; 
    margin: 0 auto;
    
    /* TRANSPARENT : Plus de fond blanc */
    background-color: transparent; 
    box-shadow: none; 
    padding: 0;
    
    overflow: hidden; z-index: 10;
}
.carousel-track { display: flex; transition: transform 0.5s ease-in-out; }
.carousel-item { min-width: 100%; display: flex; flex-direction: column; align-items: center; }

.carousel-item img {
    width: 250px; 
    height: 250px;
    object-fit: cover;
    border-radius: 50%; /* Rond */
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    /* Petit bord blanc pour faire ressortir sur le gris */
    border: 5px solid white; 
}

/* Textes du carrousel en NOIR */
.carousel-caption h3 { 
    color: var(--main-blue); 
    font-size: 1.6rem; 
    margin: 5px 0; 
    font-weight: 900;
}
.carousel-caption p { 
    color: #000000; /* Description en noir */
    font-weight: bold; 
    font-size: 1.2rem;
}

/* Boutons Navigation */
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background-color: var(--main-blue); color: white;
    border: none; width: 40px; height: 40px; border-radius: 50%;
    font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.carousel-btn.left { left: 0px; }
.carousel-btn.right { right: 0px; }

/* =========================================
   7. BOUTONS (FIXE LE BUG DE L'ACCUEIL)
   ========================================= */
.btn {
    display: inline-block; padding: 15px 35px;
    background-color: var(--main-blue); 
    color: var(--white-color) !important; /* !IMPORTANT force le blanc */
    border-radius: 50px; font-weight: 700; text-transform: uppercase;
    border: none; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.btn:hover {
    background-color: var(--accent-red); transform: translateY(-3px); color: white !important;
}
.btn.secondary { background-color: var(--accent-red); }
.btn.secondary:hover { background-color: #fff; color: var(--accent-red) !important; border: 2px solid var(--accent-red); }

/* CORRECTION SPECIFIQUE LIENS QUI SONT DES BOUTONS */
a.btn {
    text-decoration: none;
    color: white !important;
}


/* =========================================
   8. CONTENU
   ========================================= */
.content-section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.about_section { padding: 80px 0; background-color: var(--white-color); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.row-about {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 60px; margin-bottom: 100px;
}
.row-about.reverse { flex-direction: row-reverse; }
.col-text { flex: 1.2; min-width: 300px; }
.col-img { flex: 1; min-width: 300px; text-align: center; }

.img-wrapper { position: relative; display: inline-block; margin: 20px; }
.img-wrapper::before {
    content: ""; position: absolute; top: -20px; left: -20px;
    width: 100%; height: 100%; background-color: var(--main-blue);
    border-radius: 15px; z-index: 0;
}
.img-wrapper img {
    position: relative; width: 100%; max-width: 450px; height: auto;
    border-radius: 15px; object-fit: cover; z-index: 1;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.detail-box h2 {
    font-family: 'Montserrat', sans-serif; font-weight: 900;
    text-transform: uppercase; font-size: 2rem; color: var(--text-color); margin-bottom: 20px;
}
.detail-box p { font-size: 1.05rem; text-align: justify; color: #555; }
.bottom-section { text-align: center; max-width: 800px; margin: 0 auto 40px auto; }
.btn-red {
    display: inline-block; background-color: var(--accent-red); color: white;
    padding: 15px 40px; border-radius: 5px; font-weight: bold; text-transform: uppercase;
}
.btn-red:hover { background-color: #d62839; color: white; transform: translateY(-2px); }

/* Objectifs & Mission */
.content-section h2 { font-size: 2.5rem; color: var(--main-blue); text-align: center; position: relative; padding-bottom: 20px; }
.content-section h2::after { content: ''; display: block; width: 60px; height: 4px; background: var(--accent-red); margin: 10px auto 0; border-radius: 2px; }
.mission-container { background-color: var(--bg-light); padding: 40px; border-radius: 15px; text-align: center; box-shadow: var(--card-shadow); margin-top: 30px; }
.mission-list li::before { content: "•"; color: var(--accent-red); font-weight: bold; margin-right: 10px; font-size: 1.5rem; }
.action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.action-card { background: var(--white-color); padding: 40px; border-radius: 15px; box-shadow: var(--card-shadow); text-align: left; transition: transform 0.3s; border-bottom: 4px solid transparent; min-height: 280px; display: flex; flex-direction: column; }
.action-card:hover { transform: translateY(-10px); border-bottom-color: var(--accent-red); }
.action-card h3 { color: var(--main-blue); margin-bottom: 20px; font-size: 1.6rem; border-bottom: 2px solid rgba(230, 57, 70, 0.2); padding-bottom: 10px; }

/* =========================================
   9. FOOTER & CONTACT (CORRIGÉ BUG CHEVAUCHEMENT)
   ========================================= */
.footer {
    background-color: var(--text-color); color: var(--white-color);
    padding: 60px 20px 20px; text-align: center;
}
.footer h3 { color: white; font-size: 1.8rem; margin-bottom: 10px; }

/* ICI LA CORRECTION DU FOOTER */
.footer-links {
    margin: 30px 0; /* Ajoute de l'espace en haut et en bas du bouton */
}
.footer .section {
    margin-top: 40px; /* Espace avant "NOUS CONTACTER" */
}

.contact-section {
    display: flex; justify-content: center; gap: 20px;
    flex-wrap: wrap; margin: 40px 0;
}
.contact-block {
    display: flex; align-items: center; gap: 15px;
    background-color: rgba(255,255,255,0.1); color: #fff;
    padding: 12px 25px; border-radius: 50px;
    text-decoration: none; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1);
}
.contact-block i { font-size: 24px; color: #fff; }
.contact-block.linkedin:hover { background-color: #0A66C2; border-color: #0A66C2; }
.contact-block.phone:hover { background-color: #28a745; border-color: #28a745; }
.contact-block.email:hover { background-color: #d93025; border-color: #d93025; }

/* Responsive */
/* --- Correction du Menu Mobile --- */
@media screen and (max-width: 800px) {
    .header {
        padding: 0 20px;
		justify-content: space-between;
    }

    /* Le bouton avec les 3 barres */
    .menu-toggle {
        display: block !important; 
		position: relative;/* Force l'apparition sur mobile */
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--main-blue);
        transition: 0.3s;
    }

    /* Liste des liens transformée en volet coulissant */
    .nav-list {
        position: fixed;
        left: -100%; /* Menu caché à gauche par défaut */
        top: var(--header-height);
        flex-direction: column;
        background-color: white;
        width: 100%;
        height: auto;
        padding: 20px 0;
        transition: 0.4s ease-in-out;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        display: flex !important;
    }

    .nav-list.active {
        left: 0; /* S'affiche quand on clique sur le burger */
    }

    .header nav ul li a {
        margin: 15px 0;
        font-size: 1.2rem;
        display: block;
    }

    /* Animation du bouton Burger en "X" */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* =========================================
   STYLES FUSIONNÉS : UNIFORMITÉ + IMPACT AUDACIEUX
   ========================================= */
:root {
    --impact-color: #D9535B; 
    --text-color-dark: #222222; 
    --font-weight-heavy: 900; 
}

/* 1. Adapter la Grille pour cette carte unique */
.impact-grid {
    /* Nous allons lui donner une largeur maximale pour que la carte soit grande */
    grid-template-columns: 1fr; 
    max-width: 900px; 
    margin: 0 auto;
}

/* 2. Style de la Carte (Hérite de .action-card) */
.impact-card-fusion {
    /* La carte doit être plus grande et plus espacée que les autres cartes */
    padding: 60px 40px; 
    text-align: center; 
    min-height: 350px; /* Augmenter la hauteur minimale */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-card-fusion:hover {
    transform: translateY(-5px); 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); /* Ombre plus marquée au survol */
}

/* 3. --- Chiffre GÉANT (L'Impact Audacieux) --- */
.impact-figure-fusion {
    font-size: 10rem; /* RETOUR AU GÉANT */
    font-weight: var(--font-weight-heavy); 
    line-height: 0.9; 
    color: var(--impact-color); 
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 30px; 
    letter-spacing: -3px; /* Rapprocher encore pour l'effet audacieux */
}

.impact-figure-fusion .figure-number-fusion {
    font-family: 'Poppins', sans-serif; 
}

.impact-figure-fusion .figure-currency-fusion {
    font-size: 0.4em; 
    margin-top: 15px; /* Aligner la devise */
    font-weight: var(--font-weight-heavy);
}

/* 4. --- Titre Audacieux --- */
.card-title-impact-fusion {
    font-size: 2.5rem; /* RETOUR AU GRAND TITRE */
    font-weight: var(--font-weight-heavy); 
    color: var(--text-color-dark);
    margin-bottom: 25px;
    line-height: 1.3;
    text-transform: uppercase; 
    border-bottom: none; 
}

/* 5. --- Description Plus Grande --- */
.impact-description-fusion {
    font-size: 1.25rem; /* Texte de description plus grand */
    line-height: 1.7;
    color: var(--text-color-dark);
    margin-bottom: 0; 
    /* S'assurer que le texte ne soit pas trop large si l'écran est immense */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.impact-description-fusion strong {
    font-weight: var(--font-weight-heavy);
    color: var(--impact-color);
}

/* =========================================
   STYLES DU BLOC OBJECTIF PIMPÉ
   ========================================= */

.bloc-objectif-pimpé {
    padding-top: 0;
    padding-bottom: 80px;
}

.objectif-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex; /* Utiliser Flexbox pour aligner le chiffre et le texte */
    align-items: center; /* Aligner les éléments verticalement */
    gap: 40px;
    padding: 30px;
    border: 2px solid var(--impact-color, #D9535B); /* Bordure colorée (DA) */
    border-radius: 10px;
    background-color: var(--card-bg-light, #f9f9f9); /* Fond légèrement différent */
}

/* 1. Bloc du Chiffre Objectif (60) */
.objectif-chiffre-bloc {
    flex-shrink: 0; /* Empêche le bloc de rétrécir */
    text-align: center;
    padding-right: 40px;
    border-right: 1px solid rgba(0, 0, 0, 0.1); /* Séparateur discret */
}

.objectif-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color-dark, #333);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.objectif-value {
    display: block;
    font-size: 5rem; /* Grand chiffre pour l'impact */
    font-weight: var(--font-weight-heavy, 900);
    line-height: 1;
    color: var(--impact-color, #D9535B);
    letter-spacing: -2px;
}

.objectif-unit {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color-dark, #333);
}

/* 2. Texte Explicatif stylisé */
.commitment-pimpé-text {
    flex-grow: 1; /* Permet au texte d'occuper l'espace restant */
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color-dark, #333);
}

.commitment-pimpé-text strong {
    font-weight: 800;
    color: var(--impact-color, #D9535B);
}

/* --- Responsive pour petits écrans (s'assurer que le design tienne) --- */
@media (max-width: 768px) {
    .objectif-container {
        flex-direction: column; /* Empiler le chiffre et le texte */
        text-align: center;
        gap: 20px;
    }
    .objectif-chiffre-bloc {
        padding-right: 0;
        border-right: none;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Le séparateur devient horizontal */
        width: 100%;
    }
    .objectif-value {
        font-size: 4rem;
    }
}


.texte-intro {
    /* Cela ajoute 40 pixels d'espace sous le texte */
    margin-bottom: 40px; 
}

/* Style de la section globale */
.section-contact {
    /* Marge supérieure pour séparer des cases au-dessus */
    margin-top: 5px; 
    padding: 30px 0;
    text-align: center; /* Centre le texte et l'élément de type 'inline' */
    max-width: 800px; /* Limite la largeur pour que le texte ne soit pas trop étiré */
    margin-left: auto;
    margin-right: auto;
}

/* Style de la phrase (ton transparence) */
.texte-transparence {
    font-size: 1.1em; /* Un peu plus grand pour la lisibilité */
    color: #444; /* Un gris foncé */
    margin-bottom: 15px; /* Espace sous la phrase */
}

/* Style du lien "Écrivez-nous !" */
.lien-contact-simple {
    /* Style du texte du lien */
    font-size: 1.1em;
    font-weight: bold;
    color: #a84242; /* Reprend la couleur rouge de votre bouton précédent ou une couleur d'accentuation */
    text-decoration: none; /* Enlève le soulignement par défaut */
}

.lien-contact-simple:hover {
    text-decoration: underline; /* Souligne au survol pour indiquer que c'est cliquable */
}

/* =========================================
   10. BARRE DE PROGRESSION (DONATION) - DYNAMIQUE
   ========================================= */

.progress-bar-container {
    max-width: 600px; 
    margin: 30px auto; /* Centrage garanti */
    text-align: left;
    display: block; 
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.progress-current {
    color: var(--main-blue); 
}

.progress-goal {
    color: var(--text-color);
}

.progress-bar-bg {
    height: 30px; 
    background-color: var(--bg-light); 
    border-radius: 15px; 
    overflow: hidden; 
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2); 
}

.progress-bar-fill {
    height: 100%;
    /* DÉGRADÉ BLEU VERS ROUGE */
    background: linear-gradient(to right, var(--main-blue), var(--accent-red));
    
    border-radius: 15px 0 0 15px;
    
    /* RENDU DYNAMIQUE */
    transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); 
    
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.progress-percentage {
    color: var(--white-color); 
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    padding-right: 15px; 
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5); 
}

/* =========================================
   11. MISE EN PAGE SPÉCIFIQUE (NOUS SOUTENIR)
   ========================================= */

/* Carte principale regroupant la progression et le bouton de don */
.donation-card {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
    border-top: 5px solid var(--main-blue); /* Petite touche de couleur en haut */
}

/* Mise en évidence de la gestion des fonds (Style Emmaüs/Sécurité) */
.da-callout-box {
    margin: 30px 0 0 0; /* Marge interne au bloc de don */
    padding: 15px;
    border: 2px solid var(--accent-red);
    background-color: #fff9f9; /* Fond très léger, proche du blanc mais teinté de rouge */
    border-radius: 8px;
    text-align: center;
}

.da-callout-box p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600; /* Moins gras que 700 */
    line-height: 1.5;
    color: var(--text-color);
}

.da-callout-box p strong {
    color: var(--accent-red); /* Mettre la phrase clé en rouge accent */
}

/* Grille pour les informations sur la défiscalisation */
.two-columns-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

/* Carte individuelle d'information */
.info-card {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--main-blue); /* Bordure colorée pour l'effet carte */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    color: var(--main-blue);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.info-card .full-width {
    grid-column: 1 / -1; /* Permet à cette carte de prendre toute la largeur */
}

/* Responsive pour les colonnes */
@media (max-width: 768px) {
    .two-columns-info {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
    }
    .donation-card {
        padding: 30px 20px;
    }
}

/* =========================================
   12. SÉPARATEUR FIN (REMPLACE LE BOUTON DE DON)
   ========================================= */

.separation-line {
    /* Ligne fine et colorée */
    height: 5px; 
    width: 20%; /* Occupe 80% de la largeur du conteneur */
    background-color: var(--accent-red);
    margin: 40px auto; /* Centrage et bonne marge verticale */
    border-radius: 2px;
}


/* --- 1. État par défaut (Ordinateur) --- */
.menu-toggle {
    display: none; /* Cache le logo burger sur ordi */
}

/* --- 2. Version Téléphone --- */
@media (max-width: 800px) {
    .menu-toggle {
        display: block; /* Affiche le logo burger uniquement ici */
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--main-blue);
        transition: all 0.3s ease-in-out;
    }

    /* Animation du "X" quand le menu est ouvert */
    #mobile-menu.is-active .bar:nth-child(2) { opacity: 0; }
    #mobile-menu.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    #mobile-menu.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Le menu qui descend (réduit pour faire moins "étiré") */
    .nav-list {
        position: absolute;
        top: var(--header-height);
        left: -100%; /* Caché à gauche par défaut */
        flex-direction: column;
        background-color: white;
        width: 100%;
        height: auto;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    .nav-list.active {
        left: 0; /* S'affiche quand on clique */
    }

    /* Réduction globale pour éviter l'effet étiré sur mobile */
    .hero-content h1 { font-size: 1.8rem; }
    .hero-section { min-height: 50vh; }
    .content-section { padding: 30px 15px; }
    h2 { font-size: 1.4rem !important; }
}*


    /* --- RÉDUCTION DES ÉLÉMENTS ÉTIRÉS --- */
    .hero-section { 
        min-height: 60vh; /* Moins de hauteur pour voir la suite */
    }

    .hero-content h1 { 
        font-size: 1.8rem; /* Titre plus petit */
        padding: 0 10px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .content-section {
        padding: 40px 15px; /* Moins d'espace perdu */
    }

    h2 {
        font-size: 1.6rem !important; /* Titres de sections moins massifs */
    }

    /* --- IMAGES & GRILLES --- */
    .row-about {
        flex-direction: column;
        gap: 30px;
    }

    .col-text, .col-img {
        width: 100%;
    }

    .img-wrapper img {
        max-width: 90%; /* Évite que l'image ne touche les bords */
    }

    /* --- CHIFFRES IMPACT --- */
    .impact-figure-fusion {
        font-size: 6rem; /* On réduit le chiffre de 10rem à 6rem */
    }

    .card-title-impact-fusion {
        font-size: 1.8rem;
    }

    /* --- CARROUSEL ÉQUIPE (Qui sommes-nous) --- */
    .carousel-container {
        max-width: 300px; /* Plus étroit sur mobile */
    }
    
    .carousel-item img {
        width: 180px;
        height: 180px;
    }
}