:root {
    /* === VERT NATURE / INSTITUTIONNEL === */
    --color-green:         #345E37;
    --color-green-deep:    #1F3821;
    --color-green-vivid:   #4A854E;
    --color-green-pale:    #EAF2EB;

    /* === BLANC & FONDS === */
    --color-white:       #FFFFFF;
    --color-off-white:   #F9F5F2;
    --color-white-warm:  #EEE8E3;

    /* === OR / JAUNE === */
    --color-gold:        #C99A2E;
    --color-gold-light:  #F0C040;
    --color-gold-deep:   #9A7520;
    --color-gold-pale:   #FFF5D6;

    /* === NEUTRES === */
    --color-dark:        #1A1A2E;
    --color-mid:         #4A4A6A;
    --color-light-text:  #8A8AA0;
    --color-border:      #D0C8C0;

    /* === GLASSMORPHISME === */
    --glass-bg:          rgba(255, 255, 255, 0.12);
    --glass-bg-strong:   rgba(255, 255, 255, 0.22);
    --glass-border:      rgba(255, 255, 255, 0.25);
    --glass-green:       rgba(52, 94, 55, 0.10);
    --glass-gold:        rgba(201, 154, 46, 0.12);
    --glass-blur:        blur(16px);
    --glass-blur-strong: blur(24px);

    /* === SHADOWS === */
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:   0 4px 24px rgba(0,0,0,0.10);
    --shadow-lg:   0 8px 48px rgba(0,0,0,0.14);
    --shadow-green:  0 4px 24px rgba(52, 94, 55, 0.20);
    --shadow-gold: 0 4px 24px rgba(201,154,46,0.18);

    /* === TYPOGRAPHY === */
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body:    'Inter', 'DM Sans', system-ui, sans-serif;

    /* === TRANSITIONS === */
    --transition-fast:   0.15s ease;
    --transition-normal: 0.3s ease;

    /* === BORDER RADIUS === */
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-pill: 9999px;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}
body {
    font-family: var(--font-body);
    color: var(--color-mid);
    background-color: var(--color-white);
    overflow-x: hidden;
    max-width: 100%;
}

h1, h2, h3, .font-heading {
    font-family: var(--font-heading);
    color: var(--color-dark);
}

/* === LAYOUT SYSTEM === */
.container-custom {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 80px);
    box-sizing: border-box;
}
.section {
    padding: clamp(48px, 8vw, 120px) 0;
    overflow-x: hidden;
}
.section-alt { background: var(--color-off-white); }
.section-green {
    background: linear-gradient(135deg, var(--color-green-deep), var(--color-green));
    color: white;
    overflow-x: hidden;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }

/* 1024px en premier — overridé par le 768px ci-dessous */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
/* Mobile APRÈS : prend le dessus sur 1024px (cascade order) */
@media (max-width: 768px) {
    .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr !important; gap: 20px; }
    [class*="md:grid-cols-"] { grid-template-columns: 1fr !important; }
    .grid-3 > *, .grid-4 > *, .grid-2 > *, [class*="grid"] > * { min-width: 0; max-width: 100%; }
}

/* === NAVBAR GLASS === */
.navbar-glass {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 72px;
    background: #1F3821;
    background: rgba(31, 56, 33, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 2px 32px rgba(0,0,0,0.18);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    padding: 0 clamp(20px, 4vw, 48px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

/* Logo — colonne gauche */
.navbar-logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
    white-space: nowrap;
}
.navbar-logo span { color: var(--color-gold-light); }
.navbar-logo-icon {
    width: 22px;
    height: 22px;
    color: var(--color-gold-light);
    flex-shrink: 0;
}

/* Liens — colonne centrale */
.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-self: center;
}

.nav-link {
    color: rgba(255,255,255,0.80);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.nav-link:hover, .nav-link.active {
    color: white;
    border-bottom-color: var(--color-gold-light);
}

/* Actions — colonne droite */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: end;
}

/* Bouton Nous Soutenir */
.btn-nous-soutenir {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-deep));
    color: white;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(201, 154, 46, 0.40);
    transition: var(--transition-normal);
    white-space: nowrap;
}
.btn-nous-soutenir:hover {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 154, 46, 0.50);
}
.btn-nous-soutenir svg {
    transition: transform 0.3s ease;
}
.btn-nous-soutenir:hover svg {
    transform: scale(1.2);
}

/* Bouton mobile — caché par défaut (desktop) */
.navbar-mobile-btn {
    display: none;
}

/* Responsive mobile */
@media (max-width: 768px) {
    /* Passe en flexbox, plus simple que grid à 3 colonnes */
    .navbar-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }
    .navbar-links {
        display: none;
    }
    .btn-nous-soutenir {
        display: none;
    }
    /* Bouton hamburger — visible et bien contrasté */
    .navbar-mobile-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        background: rgba(255, 255, 255, 0.18);
        border: 2px solid rgba(255, 255, 255, 0.50);
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }
    .navbar-mobile-btn:active {
        background: rgba(255, 255, 255, 0.30);
    }
    /* Icône hamburger CSS pure — aucune dépendance SVG/Lucide */
    .hb-icon {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 22px;
        height: 16px;
    }
    .hb-icon span {
        display: block;
        width: 22px;
        height: 2px;
        background-color: #ffffff;
        border-radius: 2px;
        flex-shrink: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform-origin: center;
    }
    /* État X quand le menu est ouvert */
    .mobile-menu.open ~ * .navbar-mobile-btn .hb-icon span:nth-child(1),
    body.menu-open .navbar-mobile-btn .hb-icon span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    body.menu-open .navbar-mobile-btn .hb-icon span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    body.menu-open .navbar-mobile-btn .hb-icon span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* === BOUTONS === */
.btn-primary {
    background: var(--color-green);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: 0 4px 16px rgba(52, 94, 55, 0.30);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-primary:hover {
    background: var(--color-green-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(52, 94, 55, 0.40);
}
.btn-secondary {
    background: var(--color-gold);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: 0 4px 16px rgba(201, 154, 46, 0.30);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-secondary:hover {
    background: var(--color-gold-deep);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--color-green);
    padding: 12px 30px;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: 2px solid var(--color-green);
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-outline:hover { background: var(--color-green); color: white; }
.btn-ghost-white {
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 13px 31px;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.40);
    cursor: pointer;
    transition: var(--transition-normal);
    backdrop-filter: blur(8px);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-ghost-white:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.70);
}

/* === BADGE === */
.badge-glass {
    background: var(--glass-gold);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(201, 154, 46, 0.30);
    border-radius: var(--radius-pill);
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gold-deep);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 6px;
}

/* === CARDS === */
.card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
    display: flex; flex-direction: column;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(52, 94, 55, 0.15);
}
.card-featured {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-green);
    position: relative;
}
.card-featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-green), var(--color-gold));
}
.stat-card {
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-deep) 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-green);
    transition: var(--transition-normal);
}
.stat-card:hover { transform: translateY(-5px); }
.stat-card .stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-gold-light);
}
.stat-card .stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.80);
    margin-top: 8px;
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 72px; /* Offset navbar */
    box-sizing: border-box;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/13-animaux-nature/hortillonnages-canal-vue.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
    transform: scale(1.05);
    transition: transform 8s ease;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(31, 56, 33, 0.65) 0%,
        rgba(26, 26, 46, 0.40) 60%,
        rgba(201, 154, 46, 0.15) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 0 clamp(20px, 4vw, 40px);
    margin: 0 auto;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 154, 46, 0.20);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(201, 154, 46, 0.40);
    border-radius: 999px;
    padding: 6px 18px;
    color: var(--color-gold-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: white;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
}
.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* === INFO BAR === */
.info-bar-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -40px;
    padding: 0 clamp(20px, 4vw, 40px);
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}
.info-bar {
    background: white;
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
    border-bottom: 3px solid var(--color-green);
    padding: 20px 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 32px;
    border-radius: var(--radius-md);
    flex-wrap: wrap;
}
.info-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 200px;
}
.info-bar-icon {
    width: 44px;
    height: 44px;
    background: var(--color-green-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-green);
    font-size: 20px;
    flex-shrink: 0;
}
.info-bar-text { display: flex; flex-direction: column; }
.info-bar-label {
    font-size: 12px;
    color: var(--color-light-text);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.info-bar-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-dark);
}

/* === FOOTER === */
.footer {
    background: var(--color-green-deep);
    color: rgba(255,255,255,0.80);
    padding: 80px 0 40px;
    border-top: 4px solid var(--color-gold);
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    color: white;
    margin-bottom: 12px;
}
.footer-logo span { color: var(--color-gold-light); }
.footer-tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.60);
}
.footer-link {
    color: rgba(255,255,255,0.70);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition-fast);
    display: block;
    margin-bottom: 8px;
}
.footer-link:hover { color: var(--color-gold-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 48px;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    flex-wrap: wrap; gap: 16px;
}

/* Utils Image Fill */
.img-fill { width: 100%; height: 100%; object-fit: cover; }

/* =============================================
   SECTION PARTENAIRES
   ============================================= */

.partenaires-section {
    padding: clamp(60px, 8vw, 100px) 0;
    background: var(--color-off-white);
    position: relative;
    overflow: hidden;
}

.partenaires-section::before {
    content: '';
    position: absolute;
    top: -60px; left: 50%;
    transform: translateX(-50%);
    width: min(600px, 100vw); height: min(600px, 100vw);
    background: radial-gradient(circle, rgba(52, 94, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Header centré avec lignes décoratives */
.partenaires-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
    justify-content: center;
}

.partenaires-ligne {
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-green), transparent);
}

.partenaires-title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--color-dark);
    white-space: normal;
}

.partenaires-subtitle {
    text-align: center;
    color: var(--color-light-text);
    font-size: 15px;
    margin-bottom: 52px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Grille */
.partenaires-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

/* Carte partenaire */
.partenaire-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.partenaire-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-green), var(--color-gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.partenaire-card:hover {
    border-color: rgba(52, 94, 55, 0.20);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.partenaire-card:hover::after {
    transform: scaleX(1);
}

/* Carte featured */
.partenaire-card--featured {
    background: linear-gradient(135deg, var(--color-green-pale), white);
    border-color: rgba(52, 94, 55, 0.25);
    border-width: 2px;
    grid-column: span 1;
}

.partenaire-card--featured::after {
    background: linear-gradient(90deg, var(--color-green-deep), var(--color-green));
    transform: scaleX(1);
}

.partenaire-icon {
    font-size: 28px;
    margin-bottom: 12px;
    line-height: 1;
}

.partenaire-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.3;
    margin-bottom: 6px;
}

.partenaire-role {
    font-size: 12px;
    color: var(--color-light-text);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.partenaire-badge-featured {
    display: inline-block;
    background: var(--color-green);
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    margin-top: 12px;
}

/* Appel à partenariat */
.partenaires-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    background: white;
    border: 1px dashed var(--color-green);
    border-radius: var(--radius-md);
    color: var(--color-mid);
    font-size: 15px;
    flex-wrap: wrap;
}

.partenaires-cta i { color: var(--color-green); }

.partenaires-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-green);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-fast);
}

.partenaires-cta-link:hover {
    color: var(--color-green-deep);
    gap: 10px;
}

/* Responsive partenaires */
@media (max-width: 1024px) {
    .partenaires-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .partenaires-grid { grid-template-columns: repeat(2, 1fr); }
    .partenaire-card--featured { grid-column: span 2; }
    .partenaires-header { gap: 12px; }
    .partenaires-ligne { max-width: 60px; }
}

/* =============================================
   SECTION GALERIE — MAGAZINE LAYOUT
   ============================================= */

.galerie-section {
    background: linear-gradient(160deg, var(--color-green-deep) 0%, #0d1f0f 60%, #1a1a2e 100%);
    padding: clamp(60px, 8vw, 120px) 0;
    position: relative;
    overflow: hidden;
}

/* Motif décoratif en fond */
.galerie-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(74, 133, 78, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 85% 20%, rgba(201, 154, 46, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

/* --- Header --- */
.galerie-header {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 80px);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.galerie-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 154, 46, 0.15);
    border: 1px solid rgba(201, 154, 46, 0.35);
    border-radius: var(--radius-pill);
    padding: 5px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gold-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.galerie-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    line-height: 1.15;
    margin-bottom: 12px;
}

.galerie-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.60);
    max-width: 480px;
    line-height: 1.6;
}

.btn-galerie-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: var(--transition-normal);
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-galerie-cta:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.50);
    transform: translateY(-2px);
    gap: 14px;
}

/* --- Grille Magazine --- */
.galerie-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 80px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 240px 240px;
    gap: 12px;
}

/* Cellule standard */
.galerie-cell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    display: block;
    cursor: pointer;
}

/* Cellule haute (2 lignes) */
.galerie-cell--tall {
    grid-row: span 2;
}

/* Cellule large (2 colonnes) */
.galerie-cell--wide {
    grid-column: span 2;
}

.galerie-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.galerie-cell:hover .galerie-img {
    transform: scale(1.08);
}

/* Overlay au hover */
.galerie-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 30, 16, 0.90) 0%,
        rgba(15, 30, 16, 0.30) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.galerie-cell:hover .galerie-overlay {
    opacity: 1;
}

.galerie-overlay-content {
    transform: translateY(8px);
    transition: transform 0.4s ease;
}

.galerie-cell:hover .galerie-overlay-content {
    transform: translateY(0);
}

.galerie-tag {
    display: inline-block;
    background: var(--color-gold);
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 6px;
}

.galerie-caption {
    color: white;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

/* Compteur en bas */
.galerie-counter {
    max-width: 1280px;
    margin: 32px auto 0;
    padding: 0 clamp(20px, 4vw, 80px);
    text-align: center;
    color: rgba(255, 255, 255, 0.40);
    font-size: 14px;
    letter-spacing: 0.02em;
}

.galerie-counter-num {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-gold);
}

/* Responsive */
@media (max-width: 1024px) {
    .galerie-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 220px 220px;
    }
    .galerie-cell--wide { grid-column: span 2; }
}

@media (max-width: 640px) {
    .galerie-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 180px);
    }
    .galerie-cell--tall { grid-row: span 1; }
    .galerie-cell--wide { grid-column: span 2; }
    .galerie-header { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   MENU MOBILE DRAWER
   ============================================= */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Utilise dvh pour tenir compte de l'adresse bar mobile */
    height: 100vh;
    height: 100dvh;
    z-index: 999;
    background: var(--color-green-deep);
    display: flex;
    flex-direction: column;
    padding: 80px 28px 0;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-sizing: border-box;
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-link {
    color: rgba(255,255,255,0.85);
    font-size: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s ease;
    flex-shrink: 0;
}
.mobile-menu-link:hover, .mobile-menu-link.active { color: var(--color-gold-light); }
.mobile-menu-cta {
    margin-top: auto;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-deep));
    color: white;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    text-align: center;
    flex-shrink: 0;
    display: block;
    box-shadow: 0 4px 20px rgba(201,154,46,0.35);
}
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
}
.mobile-menu-close:hover { background: rgba(255,255,255,0.2); }
body.menu-open { overflow: hidden; }

/* =============================================
   CORRECTIONS RESPONSIVE SUPPLÉMENTAIRES
   ============================================= */

/* Info bar mobile */
@media (max-width: 768px) {
    .info-bar {
        padding: 16px 20px;
        gap: 16px;
    }
    .info-bar-item {
        min-width: 140px;
        flex: 0 0 calc(50% - 8px);
    }
}
@media (max-width: 480px) {
    .info-bar-item { flex: 0 0 100%; }
}

/* Navbar tablette — réduire les gaps */
@media (max-width: 900px) and (min-width: 769px) {
    .navbar-links { gap: 20px; }
    .nav-link { font-size: 13px; }
    .btn-nous-soutenir { padding: 8px 14px; font-size: 13px; }
}

/* Hero mobile */
@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 16px; }
    .hero-cta-group { flex-direction: column; }
    .hero-cta-group a { width: 100%; justify-content: center; }
    .btn-primary, .btn-secondary, .btn-outline, .btn-ghost-white {
        width: 100%;
        justify-content: center;
    }
}

/* Footer mobile */
@media (max-width: 640px) {
    .footer { padding: 48px 0 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* Partenaires CTA mobile */
@media (max-width: 640px) {
    .partenaires-cta { flex-direction: column; text-align: center; gap: 8px; }
}

/* Galerie section mobile header */
@media (max-width: 640px) {
    .galerie-header { gap: 20px; }
    .btn-galerie-cta { width: 100%; justify-content: center; }
}

/* =============================================
   OVERFLOW GLOBAL — blinde toutes les sections
   ============================================= */
.section, .partenaires-section, .section-green,
.section-alt, .hero, .footer {
    overflow-x: hidden;
    max-width: 100%;
}
/* Blobs décoratifs Tailwind positionnés en absolu */
.overflow-hidden { overflow: hidden !important; }

/* =============================================
   TYPOGRAPHIE MOBILE — réduction globale
   ============================================= */
@media (max-width: 768px) {
    /* Hero */
    .hero h1 { font-size: 1.9rem !important; line-height: 1.2; }
    .hero h2, .hero p { font-size: 1rem !important; }

    /* Tailwind text utilities — réduits sur mobile */
    .text-7xl, .text-6xl { font-size: 2.2rem !important; line-height: 1.15; }
    .text-5xl            { font-size: 1.8rem !important; line-height: 1.2; }
    .text-4xl            { font-size: 1.5rem !important; line-height: 1.25; }
    .text-3xl            { font-size: 1.3rem !important; line-height: 1.3; }
    .text-2xl            { font-size: 1.15rem !important; }
    .text-xl             { font-size: 1rem !important; }
    .text-lg             { font-size: 0.95rem !important; }

    /* Espacements sections réduits */
    .section { padding: clamp(36px, 6vw, 80px) 0; }
    .mb-16 { margin-bottom: 2rem !important; }
    .mb-12 { margin-bottom: 1.5rem !important; }
    .p-8   { padding: 1.25rem !important; }
    .p-6   { padding: 1rem !important; }
}
