
        :root {
            --red: #EE2E52;
            --red-dark: #d42545;
            --ink: #1E3641;
            --ink-light: #24424F;
            --ink-soft: #30516A;
            --ink-soft-light: #385C7C;
            --blue-grey: #4D6A8C;
            --light: #F5F4F0;
            --white: #FFFFFF;
            --red-bright: #FF5C7A; /* rouge eclairci pour les fonds bleu fonce */
            --sidebar-w: 220px;
            /* Reglages globaux (pilotables via le plugin HAMAP Globales ; ces valeurs = defaut si le plugin est desactive) */
            --font-title: var(--font-title);
            --font-body: var(--font-body);
            --fs-text-scale: 1;
            --fs-title-scale: 1;
            --fs-hero-scale: 1;
            --fs-num-scale: 1;
            --btn-bg: var(--red);
            --btn-color: var(--white);
            --btn-radius: 0px;
        }
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; overflow-x: hidden; }
        /* overflow-x: clip et non hidden : "hidden" ferait du body un conteneur de defilement,
           ce qui neutraliserait position:sticky dans toute la page. "clip" bloque le debordement
           horizontal sans creer de scrollport (meme choix que .main juste en dessous). */
        body { font-family: var(--font-body); color: var(--ink); background: var(--white); overflow-x: clip; max-width: 100vw; }
        .main { max-width: 100vw; overflow-x: clip; }
        @media (max-width: 767px) {
            .section-inner { max-width: 100%; box-sizing: border-box; }
            img, video, iframe { max-width: 100%; height: auto; }
        }
        a { text-decoration: none; color: inherit; }
        img { max-width: 100%; height: auto; display: block; }

        /* =============================================
           SIDEBAR
        ============================================= */
        .sidebar {
            position: fixed; top: 0; left: 0; bottom: 0;
            width: var(--sidebar-w); z-index: 1000;
            background: var(--ink-soft);
            display: flex; flex-direction: column;
            overflow: visible;
            box-shadow: 2px 0 20px rgba(30,54,65,0.04);
            border-right: 1px solid rgba(255,255,255,0.08);
        }
        .sidebar__logo-wrapper {
            position: relative; height: 68px; flex-shrink: 0;
            display: flex; align-items: center;
            padding: 0 1rem;
            background: var(--white);
            z-index: 2;
        }
        .sidebar__logo-wrapper::after {
            content: ''; position: absolute; bottom: 0; left: 0; right: 0;
            height: 1px; background: rgba(30,54,65,0.08);
        }
        .sidebar__logo-wrapper img {
            height: 74px; width: auto;
            position: relative; z-index: 3;
        }
        .sidebar__logo-bg {
            position: absolute; top: 0; left: 0; bottom: 0;
            width: calc(var(--sidebar-w) + 40px);
            background: var(--white);
            clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
            z-index: 1;
        }
        .sidebar__logo-edge {
            position: absolute; top: -1px; left: 0; bottom: -1px;
            width: calc(var(--sidebar-w) + 42px);
            background: rgba(30,54,65,0.1);
            clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
            z-index: 0;
        }
        /* Le vrai item flex de la colonne est le wrapper <nav>, pas la liste.
           Sans flex + min-height:0 ici, le wrapper garde la hauteur de son
           contenu et le sous-menu Eau (19 entrees) deborde sous l'ecran au
           lieu de defiler (remarque client 30/07). */
        .sidebar > nav {
            flex: 1; min-height: 0;
            display: flex; flex-direction: column;
        }
        .sidebar__nav {
            flex: 1; min-height: 0; list-style: none; display: flex; flex-direction: column;
            padding: 0.4rem 0; gap: 0; overflow-y: auto; overflow-x: hidden;
            background: var(--ink-soft);
            /* Ces deux proprietes standard sont volontairement absentes : sur
               Chrome, l'une ou l'autre desactive les regles ::-webkit-scrollbar
               qui suivent, et elles s'heritent, ce qui neutralisait aussi la
               barre du sous-menu. Firefox est servi plus bas. */
        }
        .sidebar__nav::-webkit-scrollbar { width: 4px; }
        .sidebar__nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
        .sidebar__nav > li { position: relative; }
        .sidebar__nav-item {
            display: flex; align-items: center; gap: 0.7rem;
            padding: 0.45rem 0.8rem; text-decoration: none;
            color: rgba(255,255,255,0.85);
            font-family: var(--font-title); font-weight: 600; font-size: 0.75rem;
            letter-spacing: 0.02em; white-space: normal; line-height: 1.3;
            transition: all 0.3s ease; position: relative;
            cursor: pointer; user-select: none;
        }
        .sidebar__nav-item::before {
            content: ''; position: absolute; left: 0; top: 0;
            width: 0; height: 100%; background: var(--red);
            transition: width 0.3s ease;
        }
        .sidebar__nav-item:hover {
            color: var(--white); background: rgba(255,255,255,0.06);
        }
        .sidebar__nav-item:hover::before { width: 3px; }
        .sidebar__nav > li.open > .sidebar__nav-item {
            color: var(--white); background: rgba(255,255,255,0.04);
        }
        .sidebar__nav > li.open > .sidebar__nav-item::before { width: 3px; }
        .sidebar__nav-icon {
            width: 44px; height: 44px; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
        }
        .sidebar__nav-icon img {
            width: 44px; height: 44px; object-fit: contain;
            filter: brightness(0) invert(1);
        }
        .sidebar__nav-label { flex: 1; }
        .sidebar__nav-arrow {
            opacity: 0.55; transition: all 0.3s;
            width: 16px; height: 16px; flex-shrink: 0;
        }
        .sidebar__nav-arrow svg { width: 16px; height: 16px; stroke: rgba(255,255,255,0.7); fill: none; stroke-width: 2.5; }
        .sidebar__nav > li:hover .sidebar__nav-arrow { opacity: 0.8; }
        .sidebar__nav > li.open .sidebar__nav-arrow { opacity: 0.8; transform: rotate(90deg); }
        .sidebar__sub {
            max-height: 0; overflow: hidden;
            background: rgba(0,0,0,0.15);
            transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }
        /* Un sous-menu long, comme les 18 pays de l'Eau, poussait les rubriques
           suivantes hors de l'ecran : il defile desormais dans sa propre zone,
           pour que Nos Publications, Soutenez-nous et Rejoignez-nous restent
           toujours visibles. */
        /* La hauteur suit l'écran : sur un grand écran le sous-menu s'étire, sur un
           portable il se réduit sans jamais pousser les rubriques suivantes hors
           de vue. Mesure faite : le logo, les sept rubriques, le bouton de don et
           les réseaux occupent 551px ; 600 laisse la marge nécessaire. */
        .sidebar__nav > li.open .sidebar__sub {
            max-height: max(150px, calc(100vh - 600px));
            overflow-y: scroll;
            /* Ni scrollbar-width ni scrollbar-color ici : sur Chrome, l'une ou
               l'autre suffit a desactiver les regles ::-webkit-scrollbar qui
               suivent, et la barre redevient flottante donc invisible au repos
               sur macOS. Les deux proprietes standard sont posees plus bas,
               uniquement pour Firefox, qui ignore les pseudo-elements. */
        }
        /* Barre visible en permanence, et pas seulement au survol : elle indique
           qu'il reste des pays à découvrir sous la liste. */
        .sidebar__nav > li.open .sidebar__sub::-webkit-scrollbar { width: 6px; }
        .sidebar__nav > li.open .sidebar__sub::-webkit-scrollbar-track { background: rgba(255,255,255,0.07); border-radius: 3px; }
        .sidebar__nav > li.open .sidebar__sub::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.34); border-radius: 3px; }
        .sidebar__nav > li.open .sidebar__sub::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.5); }
        @supports (-moz-appearance: none) {
            .sidebar__nav > li.open .sidebar__sub {
                scrollbar-width: thin;
                scrollbar-color: rgba(255,255,255,0.34) rgba(255,255,255,0.07);
            }
        }
        .sidebar__sub-inner { padding: 0.3rem 0; }
        .sidebar__sub a {
            display: block;
            padding: 0.4rem 0.8rem 0.4rem 3.8rem;
            font-family: var(--font-title); font-size: 0.72rem; font-weight: 500;
            color: rgba(255,255,255,0.7); text-decoration: none;
            transition: all 0.2s; position: relative;
        }
        .sidebar__sub a::before {
            content: ''; position: absolute;
            left: 2.8rem; top: 50%; transform: translateY(-50%);
            width: 4px; height: 4px; border-radius: 50%;
            background: var(--red); opacity: 0;
            transition: opacity 0.2s;
        }
        .sidebar__sub a:hover { color: var(--white); padding-left: 4.2rem; }
        .sidebar__sub a:hover::before { opacity: 1; }
        .sidebar__zone-label {
            display: block;
            padding: 0.6rem 0.8rem 0.15rem 3.8rem;
            font-family: var(--font-title); font-size: 0.55rem; font-weight: 700;
            letter-spacing: 0.12em; text-transform: uppercase;
            color: rgba(255,255,255,0.5);
        }
        .sidebar__zone-label:first-child { padding-top: 0.3rem; }
        .sidebar__sep { height: 1px; margin: 0.4rem 0.8rem; background: rgba(255,255,255,0.08); }
        .sidebar__don {
            margin: 0.45rem 0.8rem; padding: 0.6rem; text-align: center;
            background: var(--red); color: var(--white); text-decoration: none;
            font-family: var(--font-title); font-weight: 700; font-size: 0.7rem;
            letter-spacing: 0.1em; text-transform: uppercase;
            transition: background 0.3s; white-space: nowrap;
        }
        .sidebar__don:hover { background: var(--red-dark); }
        .sidebar__social {
            display: flex; gap: 0.5rem;
            padding: 0.45rem 0.8rem 0.4rem;
            justify-content: center;
        }
        .sidebar__social a {
            width: 30px; height: 30px;
            border: 1px solid rgba(255,255,255,0.22);
            display: flex; align-items: center; justify-content: center;
            text-decoration: none; transition: all 0.3s;
        }
        .sidebar__social a:hover { border-color: var(--red-bright); }
        .sidebar__social a svg {
            width: 13px; height: 13px;
            fill: rgba(255,255,255,0.55); transition: fill 0.3s;
        }
        .sidebar__social a:hover svg { fill: var(--red-bright); }
        .sidebar__bottom {
            padding: 0.5rem 0.8rem; border-top: 1px solid rgba(238,46,82,0.2);
        }
        .sidebar__lang {
            position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 4;
            font-family: var(--font-title); font-size: 0.65rem; font-weight: 700;
            letter-spacing: 0.08em; color: var(--blue-grey); text-decoration: none;
            opacity: 0.6; transition: opacity 0.3s;
        }
        .sidebar__lang:hover { opacity: 1; }

        /* MAIN */
        .main { margin-left: var(--sidebar-w); }

        /* =============================================
           MENU RETRACTABLE (rail) — desktop / tablette
        ============================================= */
        .sidebar__collapse { display: none; }
        @media (min-width: 768px) {
            :root { --sidebar-w-collapsed: 68px; }
            .sidebar__collapse {
                position: absolute; top: 43px; right: 44px; transform: translateY(-50%);
                width: 24px; height: 24px; border-radius: 50%;
                background: transparent; border: 1px solid rgba(30,54,65,0.25);
                color: var(--ink-soft); cursor: pointer; z-index: 1100; padding: 0;
                display: flex; align-items: center; justify-content: center;
                transition: color 0.2s, transform 0.3s, border-color 0.2s, background 0.2s;
            }
            .sidebar__collapse svg { width: 13px; height: 13px; }
            .sidebar__collapse:hover { color: var(--red); border-color: var(--red); }

            /* Etat reduit */
            body.nav-collapsed .sidebar { width: var(--sidebar-w-collapsed); }
            body.nav-collapsed .main { margin-left: var(--sidebar-w-collapsed); }
            /* Fleche de reouverture : dans le flux, juste sous le bouton don */
            body.nav-collapsed .sidebar__collapse {
                position: static; order: 10; flex-shrink: 0;
                margin: 0.2rem auto 1rem; transform: rotate(180deg);
                background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.55); color: #fff;
            }
            /* Neutraliser le spacer flex (il collerait la fleche en bas de l'ecran) */
            body.nav-collapsed .sidebar > div:not([class]) { display: none; }
            body.nav-collapsed .sidebar__collapse:hover { background: rgba(255,255,255,0.22); color: #fff; border-color: rgba(255,255,255,0.75); }
            body.nav-collapsed .sidebar__nav { padding-top: 1rem; }
            body.nav-collapsed .sidebar__logo-wrapper { padding: 0; justify-content: center; }
            body.nav-collapsed .sidebar__logo-wrapper img { height: auto; width: 54px; }
            body.nav-collapsed .sidebar__logo-bg,
            body.nav-collapsed .sidebar__logo-edge { width: 100%; clip-path: none; }
            body.nav-collapsed .sidebar__lang { display: none; }
            body.nav-collapsed .sidebar__nav-item { justify-content: center; padding: 0.55rem 0; gap: 0; }
            body.nav-collapsed .sidebar__nav-label { display: none; }
            body.nav-collapsed .sidebar__nav-arrow { display: none; }
            body.nav-collapsed .sidebar__sub { display: none; }
            body.nav-collapsed .sidebar__sep { margin: 0.4rem 0.5rem; }
            body.nav-collapsed .sidebar__social { display: none; }
            body.nav-collapsed .sidebar__don { font-size: 0; padding: 0.6rem 0; margin: 0.6rem 0.5rem; }
            body.nav-collapsed .sidebar__don::after { content: '\2665'; font-size: 1rem; }
        }

        /* =============================================
           MOBILE HEADER
        ============================================= */
        .mobile-header {
            display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
            height: calc(56px + env(safe-area-inset-top, 0px));
            padding-top: env(safe-area-inset-top, 0px);
            background: var(--white);
            align-items: center; justify-content: space-between;
            padding-left: max(1rem, env(safe-area-inset-left, 0px));
            padding-right: max(1rem, env(safe-area-inset-right, 0px));
            box-shadow: 0 2px 10px rgba(30,54,65,0.08);
        }
        .mobile-header__logo img { height: 50px; width: auto; }
        .mobile-header__burger {
            width: 30px; height: 22px; position: relative; z-index: 1; cursor: pointer;
            display: flex; flex-direction: column; justify-content: space-between;
            -webkit-tap-highlight-color: transparent;
            padding: 8px; margin: -8px; box-sizing: content-box;
        }
        .mobile-header__burger span {
            display: block; width: 100%; height: 2.5px; background: var(--ink-soft);
            border-radius: 2px; transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
            pointer-events: none;
        }
        .mobile-header__burger.open span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
        .mobile-header__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
        .mobile-header__burger.open span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

        .mobile-overlay {
            display: none; position: fixed; inset: 0; z-index: 999;
            background: rgba(30,54,65,0.6); opacity: 0;
            transition: opacity 0.35s ease;
            pointer-events: none;
            backdrop-filter: blur(2px);
        }
        .mobile-overlay.open { opacity: 1; pointer-events: auto; }

        .mobile-don-sticky {
            display: none; position: fixed;
            bottom: 0; left: 0; right: 0; z-index: 998;
            padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
            background: var(--white);
            box-shadow: 0 -2px 15px rgba(30,54,65,0.1);
        }
        .mobile-don-sticky a {
            display: block; text-align: center;
            padding: 0.85rem; background: var(--red); color: var(--white);
            font-family: var(--font-title); font-weight: 700;
            font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
            text-decoration: none; transition: background 0.3s;
        }
        .mobile-don-sticky a:hover { background: var(--red-dark); }

        /* =============================================
           SHARED
        ============================================= */
        .rv { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
        .rv.v { opacity: 1; transform: translateY(0); }
        .rv-d1 { transition-delay: 0.15s; }
        .rv-d2 { transition-delay: 0.3s; }
        .rv-d3 { transition-delay: 0.45s; }
        .rv-d4 { transition-delay: 0.6s; }

        .tag {
            font-family: var(--font-title); font-weight: 600; font-size: 0.65rem;
            letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem;
        }
        .tag--light { color: rgba(255,255,255,0.75); }
        .big-title {
            font-family: var(--font-title); font-weight: 900;
            font-size: calc(clamp(2rem, 6.5vw, 3.4rem) * var(--fs-title-scale)); text-transform: uppercase;
            line-height: 0.9; letter-spacing: -0.03em; margin-bottom: 1.5rem;
        }
        .big-title .it {
            display: block; font-family: var(--font-body);
            font-weight: 400; font-style: italic; font-size: 0.38em;
            text-transform: none; letter-spacing: 0; color: var(--blue-grey); margin-top: 0.5em;
        }
        .btn {
            font-family: var(--font-title); font-weight: 700; font-size: 0.7rem;
            letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
            padding: 0.85rem 1.8rem; display: inline-flex; align-items: center; gap: 8px;
            cursor: pointer; border: none; transition: all 0.3s ease;
            border-radius: var(--btn-radius);
        }
        .btn--red { background: var(--btn-bg); color: var(--btn-color); }
        .btn--red:hover { background: var(--red-dark); }
        .btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
        .btn--outline:hover { background: var(--ink-soft); color: var(--white); }
        /* Bouton fantome pour fonds sombres */
        .btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.55); }
        .btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
        .btn svg { width: 14px; height: 14px; }
        .body-text { font-size: calc(0.9rem * var(--fs-text-scale)); line-height: 1.8; color: rgba(30,54,65,0.72); max-width: 600px; }
        .section-inner { max-width: 1200px; margin: 0 auto; padding: 5rem 3vw; }

        /* =============================================
           PAGE HERO
        ============================================= */
        .page-hero {
            background: var(--ink-soft); position: relative; overflow: hidden;
            padding: 6rem 3vw 5rem;
            min-height: 420px;
        }
        .page-hero__bg {
            position: absolute; inset: 0;
            background: url('img/hero-nous-connaitre.jpg') center 30%/cover no-repeat;
        }
        .page-hero__bg::after {
            content: ''; position: absolute; inset: 0;
            background: linear-gradient(to right, var(--ink-soft) 25%, rgba(48,81,106,0.55) 55%, rgba(48,81,106,0.25) 100%);
        }
        .page-hero::before {
            content: ''; position: absolute; top: -30%; right: -10%;
            width: 600px; height: 600px;
            background: radial-gradient(circle, rgba(238,46,82,0.08), transparent 65%);
            pointer-events: none; z-index: 1;
        }
        .page-hero::after {
            content: ''; position: absolute; bottom: 0; left: 10%;
            width: 5px; height: 120px; background: var(--red);
            opacity: 0.15; transform: rotate(-18deg); transform-origin: bottom center;
            z-index: 1;
        }
        .page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
        .breadcrumb {
            font-family: var(--font-title); font-size: 0.65rem; font-weight: 500;
            letter-spacing: 0.06em; color: rgba(255,255,255,0.6); margin-bottom: 1.5rem;
        }
        .breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.3s; }
        .breadcrumb a:hover { color: var(--white); }
        .breadcrumb .sep { margin: 0 10px; opacity: 0.4; }
        .page-hero h1 {
            font-family: var(--font-title);
            font-size: calc(clamp(2.8rem, 8.5vw, 5.5rem) * var(--fs-hero-scale)); font-weight: 900;
            text-transform: uppercase; letter-spacing: -0.03em;
            color: var(--white); line-height: 0.9; margin-bottom: 1rem;
            opacity: 0; animation: fadeUp 0.8s 0.2s ease forwards;
        }
        .page-hero h1 .accent { color: var(--red); }
        .page-hero-sub {
            font-family: var(--font-body); font-style: italic;
            font-size: calc((clamp(0.9rem, 2vw, 1.15rem)) * var(--fs-text-scale)); color: rgba(255,255,255,0.65);
            max-width: 500px; line-height: 1.6;
            opacity: 0; animation: fadeUp 0.8s 0.4s ease forwards;
        }
        .page-hero-stats {
            display: flex; gap: 3rem; margin-top: 2.5rem;
            opacity: 0; animation: fadeUp 0.8s 0.6s ease forwards;
        }
        .page-hero-stat-number {
            font-family: var(--font-title);
            font-size: calc((clamp(1.8rem, 5vw, 2.8rem)) * var(--fs-num-scale)); font-weight: 900;
            color: var(--red); line-height: 1;
        }
        .page-hero-stat-label {
            font-family: var(--font-title); font-size: 0.6rem; font-weight: 600;
            text-transform: uppercase; letter-spacing: 0.1em;
            color: rgba(255,255,255,0.55); margin-top: 0.3rem;
        }
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* =============================================
           SUB-NAV
        ============================================= */
        .subnav {
            background: var(--white); position: sticky; top: 0; z-index: 900;
            border-bottom: 1px solid rgba(30,54,65,0.06);
            transition: box-shadow 0.3s;
        }
        .subnav.shadowed { box-shadow: 0 4px 20px rgba(30,54,65,0.06); }
        .subnav-inner {
            max-width: 1200px; margin: 0 auto; padding: 0 3vw;
            display: flex; gap: 0; overflow-x: auto; scrollbar-width: none;
        }
        .subnav-inner::-webkit-scrollbar { display: none; }
        .subnav-link {
            font-family: var(--font-title); font-size: 0.65rem; font-weight: 600;
            text-transform: uppercase; letter-spacing: 0.06em; color: rgba(30,54,65,0.62);
            padding: 1.1rem 1.3rem; white-space: nowrap; position: relative;
            transition: color 0.3s; flex-shrink: 0; text-decoration: none;
        }
        .subnav-link::after {
            content: ''; position: absolute; bottom: 0; left: 1.3rem; right: 1.3rem;
            height: 3px; background: var(--red);
            transform: scaleX(0); transform-origin: left;
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .subnav-link:hover { color: var(--ink); }
        .subnav-link.active { color: var(--red); }
        .subnav-link.active::after { transform: scaleX(1); }

        /* =============================================
           1. QUI SOMMES-NOUS
        ============================================= */
        .qui { background: var(--white); }
        .qui-grid {
            display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem;
            align-items: center; margin-bottom: 4rem;
        }
        .qui-photo { position: relative; overflow: visible; }
        .qui-photo::before {
            content: ''; position: absolute; top: 12px; left: 12px;
            width: 100%; height: 100%; background: var(--red); opacity: 0.1; z-index: 0;
        }
        .qui-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
        .qui-values {
            display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3.5rem;
        }
        .qui-value {
            padding: 1.5rem; background: var(--light); position: relative;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .qui-value:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(30,54,65,0.06); }
        .qui-value::before {
            content: ''; position: absolute; bottom: 0; left: 0;
            width: 0; height: 3px; background: var(--red);
            transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .qui-value.in-view::before { width: 100%; }
        .qui-value-title {
            font-family: var(--font-title); font-size: 0.75rem;
            font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
            margin-bottom: 0.6rem;
        }
        .qui-value-text { font-size: calc((0.92rem) * var(--fs-text-scale)); line-height: 1.7; color: rgba(30,54,65,0.72); }
        .qui-chiffres {
            display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
            padding-top: 2.5rem; border-top: 1px solid rgba(30,54,65,0.08);
        }
        .qui-chiffre { text-align: center; }
        .qui-chiffre-number {
            font-family: var(--font-title);
            font-size: calc((clamp(1.6rem, 4vw, 2.2rem)) * var(--fs-num-scale)); font-weight: 900; line-height: 1;
        }
        .qui-chiffre-number { color: var(--ink); }
        .qui-chiffre-label {
            font-family: var(--font-title); font-size: 0.55rem; font-weight: 600;
            text-transform: uppercase; letter-spacing: 0.1em;
            color: rgba(30,54,65,0.3); margin-top: 0.5rem;
        }

        /* =============================================
           2. HISTOIRE (Timeline) — Redesigned
        ============================================= */
        .histoire {
            position: relative; overflow: hidden;
            min-height: 100vh;
        }
        .hist-bg {
            position: absolute; inset: 0;
            background: var(--ink-soft);
        }
        .hist-overlay {
            position: absolute; inset: 0;
            background: var(--ink-soft);
        }
        .hist-content {
            position: relative; z-index: 2;
            max-width: 1200px; margin: 0 auto;
            padding: 5rem 3vw 4rem;
            display: grid; grid-template-columns: 1fr 1fr;
            gap: 4rem; align-items: start;
        }
        .hist-left {
            position: relative; will-change: transform;
        }
        .hist-title {
            font-family: var(--font-title);
            font-size: clamp(3rem, 10vw, 7rem); font-weight: 900;
            color: var(--white); line-height: 0.85;
            letter-spacing: -0.04em;
        }
        .hist-title span { color: var(--red); }
        /* Stats résumé sous le titre sticky */
        .hist-summary {
            margin-top: 2.5rem;
            display: flex; flex-direction: column; gap: 1.2rem;
        }
        .hist-summary-item {
            display: flex; align-items: baseline; gap: 0.8rem;
        }
        .hist-summary-num {
            font-family: var(--font-title);
            font-size: calc((1.8rem) * var(--fs-num-scale)); font-weight: 900;
            color: var(--red-bright);
        }
        .hist-summary-text {
            font-size: calc((0.8rem) * var(--fs-text-scale)); font-weight: 500;
            color: rgba(255,255,255,0.75);
            text-transform: uppercase; letter-spacing: 0.06em;
        }

        .hist-right { position: relative; padding-left: 2.8rem; }
        .hist-line-v {
            position: absolute; top: 0; bottom: 0; left: 0;
            width: 2px; background: rgba(255,92,122,0.5);
        }
        /* Animated fill */
        .hist-line-v::after {
            content: ''; position: absolute; top: 0; left: 0;
            width: 100%; height: 0;
            background: var(--red-bright); opacity: 0.9;
            transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .hist-right.hist-animated .hist-line-v::after { height: 100%; }

        .hist-row {
            display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.5rem;
            align-items: start;
            padding: 1.6rem 0;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            position: relative;
            opacity: 0; transform: translateX(-20px);
            transition: opacity 0.6s ease, transform 0.6s ease, padding-left 0.3s;
        }
        .hist-row.hist-visible {
            opacity: 1; transform: translateX(0);
        }
        /* Dots — visible par defaut, progression de taille */
        .hist-row::before {
            content: ''; position: absolute;
            left: -2.8rem; top: 1.8rem; transform: translate(-50%, 0);
            width: 8px; height: 8px; border-radius: 50%;
            border: 2px solid rgba(255,92,122,0.8);
            background: rgba(255,92,122,0.35);
            transition: all 0.4s;
            z-index: 1;
        }
        .hist-row:hover::before {
            background: var(--red-bright); border-color: var(--red-bright);
            transform: translate(-50%, 0) scale(1.3);
            box-shadow: 0 0 12px rgba(255,92,122,0.5);
        }
        /* Progression : dots grandissent avec le temps */
        .hist-row:nth-child(n+5)::before { width: 9px; height: 9px; }
        .hist-row:nth-child(n+7)::before { width: 10px; height: 10px; border-color: rgba(255,92,122,0.85); }
        .hist-row:nth-child(n+8)::before { width: 11px; height: 11px; background: rgba(255,92,122,0.45); border-color: rgba(255,92,122,0.9); }

        .hist-y {
            font-family: var(--font-title);
            font-size: 1.2rem; font-weight: 900;
            color: rgba(255,255,255,0.7);
            transition: color 0.3s;
        }
        .hist-row:hover .hist-y { color: var(--red-bright); }
        .hist-detail { display: flex; flex-direction: column; gap: 0.2rem; }
        .hist-label {
            font-family: var(--font-title);
            font-size: 0.85rem; font-weight: 700;
            text-transform: uppercase; letter-spacing: 0.04em;
            color: rgba(255,255,255,0.75);
            transition: color 0.3s;
        }
        .hist-row:hover .hist-label { color: var(--white); }
        .hist-t {
            font-size: 0.88rem; font-weight: 400;
            color: rgba(255,255,255,0.75);
            line-height: 1.6;
            transition: color 0.3s;
        }
        .hist-row:hover .hist-t { color: rgba(255,255,255,0.75); }

        /* Progression : texte de plus en plus lisible vers le present */
        .hist-row:nth-child(n+5) .hist-y { color: rgba(255,255,255,0.75); }
        .hist-row:nth-child(n+7) .hist-y { color: rgba(255,255,255,0.8); font-size: 1.3rem; }
        .hist-row:nth-child(n+7) .hist-label { color: rgba(255,255,255,0.85); }
        .hist-row:nth-child(n+7) .hist-t { color: rgba(255,255,255,0.8); }
        .hist-row:nth-child(n+8) .hist-y { font-size: 1.4rem; }

        /* Accent rows — jalons majeurs */
        .hist-row--accent::before {
            border-color: var(--red-bright); background: var(--red-bright); opacity: 0.85;
        }
        .hist-row--accent .hist-label { color: rgba(255,255,255,0.9); }
        .hist-row--accent .hist-t { color: rgba(255,255,255,0.6); }

        /* Now row — aujourd'hui */
        .hist-row--now {
            border-bottom: none; margin-top: 1rem;
            padding: 1.5rem 1.4rem;
            background: rgba(12,28,42,0.45);
            border: 1px solid rgba(255,92,122,0.45);
            border-radius: 4px;
        }
        .hist-row--now .hist-y { color: var(--red-bright); font-size: 2rem !important; }
        .hist-row--now .hist-label { color: var(--white); font-size: 0.85rem; }
        .hist-row--now .hist-t { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
        .hist-row--now::before {
            background: var(--red-bright); border-color: var(--white);
            width: 14px; height: 14px; opacity: 1;
            box-shadow: 0 0 15px rgba(255,92,122,0.6);
        }

        /* =============================================
           3. NOTRE EXPERTISE
        ============================================= */
        .expertise { background: var(--white); }
        .expertise-block {
            display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
            align-items: start; margin-bottom: 5rem; padding-bottom: 5rem;
            border-bottom: 1px solid rgba(30,54,65,0.06);
        }
        .expertise-block:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
        .expertise-block.reversed { direction: rtl; }
        .expertise-block.reversed > * { direction: ltr; }
        .expertise-label {
            display: inline-block; font-family: var(--font-title);
            font-size: 0.65rem; font-weight: 800; text-transform: uppercase;
            letter-spacing: 0.12em; padding: 8px 18px; border-radius: 3px; margin-bottom: 1.2rem;
        }
        .expertise-label--eah { background: rgba(58,192,189,0.12); color: #2aa8a5; border-bottom: 2px solid #2aa8a5; }
        .expertise-label--hma { background: rgba(254,186,18,0.12); color: #c99500; border-bottom: 2px solid #c99500; }
        .expertise-label--rc { background: rgba(238,46,82,0.1); color: var(--red); border-bottom: 2px solid var(--red); }
        /* CTA expertise */
        .expertise-cta {
            display: inline-flex; align-items: center; gap: 0.5rem;
            font-family: var(--font-title); font-size: 0.72rem;
            font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
            color: var(--red); text-decoration: none;
            margin-top: 1.5rem; padding: 0.6rem 0;
            border-bottom: 1.5px solid transparent;
            transition: border-color 0.3s, gap 0.3s;
        }
        .expertise-cta:hover { border-bottom-color: var(--red); gap: 0.8rem; }
        .expertise-cta svg { width: 16px; height: 16px; transition: transform 0.3s; }
        .expertise-cta:hover svg { transform: translateX(3px); }
        .expertise-title {
            font-family: var(--font-title);
            font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 800;
            text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.2; margin-bottom: 1rem;
        }
        .expertise-desc { font-size: calc((0.95rem) * var(--fs-text-scale)); line-height: 1.8; color: rgba(30,54,65,0.72); margin-bottom: 1.5rem; }
        .expertise-pillars { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
        .expertise-pillar {
            padding: 0.5rem 1rem;
            font-family: var(--font-title); font-size: 0.65rem; font-weight: 600;
            color: rgba(30,54,65,0.77);
            background: var(--light);
            display: flex; align-items: center; gap: 0.5rem;
        }
        .expertise-pillar-num {
            font-size: 0.6rem; font-weight: 800; color: var(--red);
        }
        .expertise-highlight {
            padding: 1.2rem; background: var(--light); position: relative;
        }
        .expertise-highlight-label {
            font-family: var(--font-title); font-size: 0.5rem; font-weight: 700;
            text-transform: uppercase; letter-spacing: 0.12em;
            color: rgba(30,54,65,0.3); margin-bottom: 0.5rem;
        }
        .expertise-highlight-title {
            font-family: var(--font-title); font-size: 0.8rem; font-weight: 700; margin-bottom: 0.3rem;
        }
        .expertise-highlight-text { font-size: calc((0.9rem) * var(--fs-text-scale)); line-height: 1.7; color: rgba(30,54,65,0.72); }
        .expertise-stats { display: flex; gap: 1.5rem; margin-top: 1rem; }
        .expertise-stat-number {
            font-family: var(--font-title); font-size: calc((1.4rem) * var(--fs-num-scale)); font-weight: 900;
            color: var(--red); line-height: 1;
        }
        .expertise-stat-label {
            font-family: var(--font-title); font-size: 0.5rem; font-weight: 600;
            text-transform: uppercase; letter-spacing: 0.08em; color: rgba(30,54,65,0.3); margin-top: 0.2rem;
        }
        .expertise-photo-wrap { position: relative; overflow: visible; }
        .expertise-photo-wrap::before {
            content: ''; position: absolute; top: 12px; left: 12px;
            width: 100%; height: 100%; opacity: 0.1; z-index: 0;
        }
        .expertise-photo-wrap--eah::before { background: #3AC0BD; }
        .expertise-photo-wrap--hma::before { background: #FEBA12; }
        .expertise-photo-wrap--rc::before { background: var(--red); }
        .expertise-photo-wrap img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
        .rc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-bottom: 1.5rem; }
        .rc-step { padding: 1rem 0.8rem; background: var(--light); text-align: center; position: relative; }
        .rc-step::after {
            content: ''; position: absolute; top: 50%; right: -6px;
            width: 10px; height: 10px;
            border-top: 2px solid rgba(30,54,65,0.08); border-right: 2px solid rgba(30,54,65,0.08);
            transform: translateY(-50%) rotate(45deg); z-index: 1;
        }
        .rc-step:last-child::after { display: none; }
        .rc-step-num {
            font-family: var(--font-title); font-size: 1.1rem; font-weight: 900;
            color: var(--red); opacity: 0.3; margin-bottom: 0.3rem;
        }
        .rc-step-title {
            font-family: var(--font-title); font-size: 0.6rem; font-weight: 700;
            text-transform: uppercase; letter-spacing: 0.06em;
        }

        /* =============================================
           4. ORGANISATION
        ============================================= */
        .orga { background: var(--light); }
        .orga-gouv { margin-bottom: 2.5rem; }
        .orga-gouv-title {
            font-family: var(--font-title); font-size: 0.85rem;
            font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
            margin-bottom: 1rem;
        }
        .orga-bureau {
            display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem;
        }
        .orga-membre {
            padding: 1.2rem; background: var(--white); text-align: center;
            position: relative;
        }
        .orga-membre::after {
            content: ''; position: absolute; bottom: 0; left: 0; right: 0;
            height: 3px; background: var(--red); opacity: 0.15;
        }
        .orga-membre-role {
            font-family: var(--font-title); font-size: 0.5rem; font-weight: 700;
            text-transform: uppercase; letter-spacing: 0.1em;
            color: var(--red); margin-bottom: 0.4rem;
        }
        .orga-membre-nom {
            font-family: var(--font-title); font-size: 0.78rem; font-weight: 700;
            color: var(--ink);
        }
        .orga-photo {
            margin-bottom: 2.5rem; position: relative; overflow: visible;
        }
        .orga-photo::before {
            content: ''; position: absolute; top: 12px; left: 12px;
            width: 100%; height: 100%; background: var(--red); opacity: 0.08; z-index: 0;
        }
        .orga-photo img {
            position: relative; z-index: 1; width: 100%;
            aspect-ratio: 16/9; object-fit: cover;
        }
        .orga-photo-caption {
            position: relative; z-index: 1;
            font-family: var(--font-title); font-size: 0.6rem; font-weight: 600;
            text-transform: uppercase; letter-spacing: 0.1em;
            color: rgba(30,54,65,0.35); margin-top: 0.8rem;
        }
        /* Structure blocks — 2 colonnes CA + Equipe */
        .orga-blocks {
            display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
            margin-bottom: 2.5rem;
        }
        .orga-block {
            padding: 2.2rem; position: relative;
            background: var(--white); overflow: hidden;
        }
        .orga-block-header {
            display: flex; align-items: center; gap: 1rem;
            margin-bottom: 1.2rem;
        }
        .orga-block-icon {
            width: 40px; height: 40px; flex-shrink: 0;
        }
        .orga-block-icon img { width: 100%; height: 100%; object-fit: contain; }
        .orga-block-num {
            font-family: var(--font-title);
            font-size: 2.2rem; font-weight: 900; color: var(--red-bright);
            line-height: 1;
        }
        .orga-block-title {
            font-family: var(--font-title); font-size: 0.75rem;
            font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
            color: var(--navy);
        }
        .orga-block-text {
            font-size: calc((0.9rem) * var(--fs-text-scale)); line-height: 1.7;
            color: rgba(30,54,65,0.72); margin-bottom: 1.2rem;
        }
        /* Liste CA — prête pour les 21 noms */
        .orga-members {
            display: grid; grid-template-columns: 1fr 1fr; gap: 0.3rem 1.5rem;
        }
        .orga-member-name {
            font-size: 0.72rem; color: rgba(30,54,65,0.62);
            padding: 0.3rem 0;
            border-bottom: 1px solid rgba(30,54,65,0.04);
        }
        /* Labels inline */
        .orga-labels {
            display: flex; gap: 1.5rem; margin-bottom: 3rem;
        }
        .orga-label-item {
            flex: 1; display: flex; align-items: center; gap: 1rem;
            padding: 1.2rem 1.5rem;
            border: 1px solid rgba(30,54,65,0.06);
            transition: border-color 0.3s;
        }
        .orga-label-item:hover { border-color: rgba(238,46,82,0.2); }
        .orga-label-icon {
            width: 36px; height: 36px; flex-shrink: 0;
        }
        .orga-label-icon img { width: 100%; height: 100%; object-fit: contain; }
        .orga-label-content { flex: 1; }
        .orga-label-title {
            font-family: var(--font-title); font-size: 0.7rem;
            font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
            color: var(--navy); margin-bottom: 0.2rem;
        }
        .orga-label-text {
            font-size: calc((0.85rem) * var(--fs-text-scale)); line-height: 1.5;
            color: rgba(30,54,65,0.72);
        }
        .coop {
            margin-top: 3rem; padding: 2rem;
            background: var(--white); display: grid;
            grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start;
        }
        .coop-badge {
            width: 70px; height: 70px; background: var(--ink-soft); border-radius: 50%;
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
        }
        .coop-badge-text {
            font-family: var(--font-title); font-size: calc((0.6rem) * var(--fs-text-scale)); font-weight: 800;
            color: var(--white); text-align: center; line-height: 1.2;
        }
        .coop-badge-num { display: block; font-size: 1.2rem; color: var(--red); }
        .coop-title {
            font-family: var(--font-title); font-size: 0.8rem; font-weight: 800;
            text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.6rem;
        }
        .coop-text { font-size: calc((0.92rem) * var(--fs-text-scale)); line-height: 1.75; color: rgba(30,54,65,0.72); }
        .coop-partners { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
        .coop-partner {
            font-family: var(--font-title); font-size: 0.55rem; font-weight: 600;
            text-transform: uppercase; letter-spacing: 0.06em;
            padding: 0.4rem 0.8rem; background: var(--light); color: rgba(30,54,65,0.67);
            transition: color 0.3s, background 0.3s;
        }
        .coop-partner:hover { color: var(--red); background: rgba(238,46,82,0.06); }

        /* =============================================
           5. TRANSPARENCE
        ============================================= */
        .transparence { background: var(--ink-soft); position: relative; overflow: hidden; }
        .transparence::before {
            content: ''; position: absolute; top: -20%; left: 60%;
            width: 5px; height: 300px; background: var(--red);
            opacity: 0.1; transform: rotate(-18deg);
        }
        .transparence::after {
            content: ''; position: absolute; top: -18%; left: 61%;
            width: 2px; height: 300px; background: var(--red);
            opacity: 0.06; transform: rotate(-18deg);
        }
        .transp-grid {
            display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
            align-items: start; margin-bottom: 3.5rem;
        }
        .transp-text .body-text { color: rgba(255,255,255,0.88); margin-bottom: 1.5rem; }
        .transp-badge-row { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
        .transp-badge {
            padding: 0.6rem 1.2rem; border: 1px solid rgba(255,255,255,0.3);
            font-family: var(--font-title); font-size: 0.65rem; font-weight: 700;
            text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.9);
            transition: border-color 0.3s, color 0.3s;
        }
        .transp-badge:hover { border-color: var(--red-bright); color: var(--white); }
        .transp-chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
        .transp-chiffre {
            padding: 1.5rem; background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.06); text-align: center;
            transition: border-color 0.3s, transform 0.3s;
        }
        .transp-chiffre:hover, .transp-chiffre.in-view { border-color: rgba(238,46,82,0.3); transform: translateY(-2px); }
        .transp-chiffre-number {
            font-family: var(--font-title);
            font-size: calc((clamp(1.4rem, 3vw, 2rem)) * var(--fs-num-scale)); font-weight: 900;
            color: var(--red); line-height: 1; margin-bottom: 0.3rem;
        }
        .transp-chiffre-label {
            font-family: var(--font-title); font-size: 0.5rem; font-weight: 600;
            text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.55);
        }
        .transp-reports { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
        .transp-report {
            padding: 1.5rem; background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.06);
            display: flex; align-items: start; gap: 1.2rem;
            transition: border-color 0.3s, transform 0.3s; cursor: pointer; text-decoration: none;
        }
        .transp-report:hover { border-color: rgba(238,46,82,0.3); transform: translateY(-2px); }
        .transp-report-icon {
            width: 40px; height: 40px; background: rgba(238,46,82,0.1);
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            flex-shrink: 0; color: var(--red);
        }
        .transp-report-icon svg { width: 18px; height: 18px; }
        .transp-report-title {
            font-family: var(--font-title); font-size: 0.72rem; font-weight: 700;
            color: var(--white); margin-bottom: 0.2rem;
        }
        .transp-report-desc { font-size: calc((0.85rem) * var(--fs-text-scale)); color: rgba(255,255,255,0.75); line-height: 1.6; }

        /* =============================================
           6. RÉSEAU FRANCE
        ============================================= */
        .reseau { background: var(--light); }
        .reseau-intro { margin-bottom: 3rem; }
        .reseau-grid {
            display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2.5rem;
        }
        .reseau-card {
            padding: 2rem; background: var(--white); position: relative;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .reseau-card:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(30,54,65,0.06); }
        .reseau-card::before {
            content: ''; position: absolute; bottom: 0; left: 0;
            width: 0; height: 3px; background: var(--red);
            transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .reseau-card:hover::before, .reseau-card.in-view::before { width: 100%; }
        .reseau-card-icon {
            width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
            background: rgba(238,46,82,0.06); border-radius: 50%; margin-bottom: 1rem; color: var(--red);
        }
        .reseau-card-icon svg { width: 20px; height: 20px; }
        .reseau-card-title {
            font-family: var(--font-title); font-size: 0.8rem;
            font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.6rem;
        }
        .reseau-card-text { font-size: calc((0.9rem) * var(--fs-text-scale)); line-height: 1.75; color: rgba(30,54,65,0.72); }
        .reseau-antennes {
            margin-top: 2.5rem; padding: 2rem;
            background: var(--white);
        }
        .reseau-antennes-title {
            font-family: var(--font-title); font-size: 0.75rem;
            font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
            margin-bottom: 1.2rem;
        }
        .reseau-antennes-grid {
            display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem 2rem;
        }
        .reseau-antenne {
            font-family: var(--font-title); font-size: 0.75rem; font-weight: 500;
            color: rgba(30,54,65,0.77); padding: 0.5rem 0;
            display: flex; align-items: center; gap: 0.6rem;
            border-bottom: 1px solid rgba(30,54,65,0.05);
            transition: color 0.3s;
        }
        .reseau-antenne:hover { color: var(--red); }
        .reseau-antenne-dot {
            width: 6px; height: 6px; border-radius: 50%;
            background: var(--red); flex-shrink: 0; opacity: 0.5;
        }
        .reseau-antenne:hover .reseau-antenne-dot { opacity: 1; }
        .reseau-antenne strong {
            display: block; font-family: var(--font-title);
            font-size: 0.72rem; font-weight: 700; color: var(--ink);
        }
        .reseau-resp {
            display: block; font-size: 0.68rem; color: rgba(30,54,65,0.57);
            margin-top: 0.15rem;
        }
        .reseau-email {
            display: block; font-size: 0.62rem; color: var(--red);
            text-decoration: none; opacity: 0.7; transition: opacity 0.3s;
            margin-top: 0.1rem; word-break: break-all;
        }
        .reseau-email:hover { opacity: 1; }
        .reseau-cta { margin-top: 2rem; }

        /* =============================================
           FOOTER (from demo-v8)
        ============================================= */
        .footer {
            background: var(--ink-soft); color: rgba(255,255,255,0.65);
            padding: 4rem 5vw 2rem; position: relative; overflow: hidden;
        }
        .footer__grid {
            display: grid; grid-template-columns: 1fr; gap: 2.5rem;
            margin-bottom: 3rem; position: relative;
            max-width: 1200px; margin-left: auto; margin-right: auto;
        }
        .footer__col-title {
            font-family: var(--font-title); font-weight: 700; font-size: 0.7rem;
            letter-spacing: 0.15em; text-transform: uppercase;
            color: var(--white); margin-bottom: 1rem;
        }
        .footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
        .footer__links a {
            font-family: var(--font-title); font-size: 0.75rem;
            color: rgba(255,255,255,0.65); text-decoration: none;
            transition: color 0.3s ease; display: inline-block;
        }
        .footer__links a:hover { color: var(--red-bright); }
        .footer__info {
            font-family: var(--font-title); font-size: 0.75rem;
            line-height: 1.8; color: rgba(255,255,255,0.6);
        }
        .footer__social { display: flex; gap: 1rem; margin-top: 1rem; }
        .footer__social a {
            width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.22);
            display: flex; align-items: center; justify-content: center;
            color: rgba(255,255,255,0.65); font-family: var(--font-title);
            font-size: 0.6rem; font-weight: 700; text-decoration: none;
            transition: all 0.3s ease;
        }
        .footer__social a:hover { border-color: var(--red-bright); color: var(--red-bright); }
        .footer__bottom {
            border-top: 1px solid rgba(255,255,255,0.06);
            padding-top: 1.5rem;
            max-width: 1200px; margin: 0 auto;
            text-align: center;
        }
        .footer__bottom-links {
            display: flex; flex-wrap: wrap; justify-content: center;
            gap: 0.5rem 1.5rem;
            margin-bottom: 0.8rem;
            padding: 0 1rem;
        }
        .footer__bottom-links a {
            font-family: var(--font-title); font-size: 0.65rem; letter-spacing: 0.03em;
            color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.3s ease;
            white-space: nowrap;
        }
        .footer__bottom-links a:hover { color: var(--red-bright); }
        .footer__copy {
            font-family: var(--font-title); font-size: 0.7rem;
            color: rgba(255,255,255,0.7); margin-bottom: 0.6rem;
        }
        .footer__credit {
            font-family: var(--font-title); font-size: 0.65rem;
            color: rgba(255,255,255,0.7); letter-spacing: 0.04em;
        }
        .footer__credit a {
            color: rgba(255,255,255,0.6); text-decoration: none;
            transition: color 0.3s;
        }
        .footer__credit a:hover { color: var(--red-bright); }

        /* =============================================
           DESKTOP
        ============================================= */
        @media (min-width: 768px) {
            .footer__grid { grid-template-columns: repeat(4, 1fr); }
        }

        /* =============================================
           MOBILE
        ============================================= */
        @media (max-width: 767px) {
            /* --- Sidebar --- */
            .sidebar {
                transform: translateX(-100%) !important;
                transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
                z-index: 1002; width: min(300px, 85vw);
                overflow: hidden; padding-top: env(safe-area-inset-top, 0px);
            }
            .sidebar.mobile-open { transform: translateX(0) !important; overflow: visible; }
            .sidebar__logo-bg { width: calc(100% + 40px) !important; }
            .sidebar__logo-edge { width: calc(100% + 42px) !important; }
            .sidebar__logo-wrapper { height: 70px; overflow: visible; }
            .sidebar__logo-wrapper img { height: 45px; }
            .sidebar__nav {
                overflow-y: auto !important; overflow-x: hidden !important;
                -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
                flex: 1;
                max-height: calc(100vh - 70px - 60px - env(safe-area-inset-top, 0px));
            }
            .sidebar__nav-item {
                font-size: 0.8rem !important; padding: 0.75rem 1rem !important;
                gap: 0.8rem !important; min-height: 48px;
            }
            .sidebar__nav-icon { width: 36px !important; height: 36px !important; }
            .sidebar__nav-icon img { width: 36px !important; height: 36px !important; }
            .sidebar__sub a {
                font-size: 0.78rem !important; padding: 0.6rem 1rem 0.6rem 3.5rem !important;
                min-height: 44px; display: flex !important; align-items: center;
            }
            .sidebar__sub a::before { left: 2.5rem !important; }
            .sidebar__sub a:hover { padding-left: 3.8rem !important; }
            .sidebar__don { font-size: 0.8rem !important; padding: 0.9rem !important; margin: 0.8rem 1rem !important; }
            .sidebar__social {
                justify-content: flex-start !important; padding: 0.8rem 1rem !important; gap: 0.6rem !important;
            }
            .sidebar__social a { width: 36px !important; height: 36px !important; }
            .sidebar__bottom { padding-bottom: calc(0.7rem + env(safe-area-inset-bottom, 0px)) !important; }

            /* --- Layout --- */
            .main {
                margin-left: 0 !important;
                padding-top: calc(56px + env(safe-area-inset-top, 0px));
                padding-bottom: calc(54px + env(safe-area-inset-bottom, 0px));
            }
            .mobile-header { display: flex; }
            .mobile-overlay { display: block; }
            .mobile-don-sticky { display: block; }
            .section-inner { padding: 3rem 5vw; }

            /* --- Hero --- */
            .page-hero { padding: 3rem 5vw 2.5rem; min-height: 320px; }
            .page-hero h1 { font-size: clamp(2.2rem, 12vw, 3.5rem); margin-bottom: 0.8rem; }
            .page-hero-sub { font-size: calc((0.85rem) * var(--fs-text-scale)); }
            .page-hero-stats { gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
            .page-hero-stat-number { font-size: calc((clamp(1.4rem, 8vw, 2rem)) * var(--fs-num-scale)); }
            .page-hero-stat-label { font-size: 0.55rem; color: rgba(255,255,255,0.75); }
            .page-hero__bg { background-position: center 60%; }
            .page-hero__bg::after {
                background: linear-gradient(to right, var(--ink-soft) 5%, rgba(48,81,106,0.82) 40%, rgba(48,81,106,0.55) 100%);
            }
            .breadcrumb { margin-bottom: 1rem; }

            /* --- Subnav --- */
            .subnav { position: sticky; top: calc(56px + env(safe-area-inset-top, 0px)); z-index: 900; }
            .subnav-inner { padding: 0; gap: 0; }
            .subnav-link {
                padding: 1rem 0.9rem; font-size: 0.7rem;
                letter-spacing: 0.03em;
            }
            .subnav-link::after { left: 0.7rem; right: 0.7rem; }

            /* --- Qui sommes-nous --- */
            .qui-grid { grid-template-columns: 1fr; gap: 1.5rem; }
            .qui-photo { order: -1; }
            .qui-photo img { aspect-ratio: 16/9; }
            .big-title { font-size: clamp(1.7rem, 7.5vw, 2.4rem); margin-bottom: 1.2rem; }
            .big-title .it { font-size: 0.42em; }
            .body-text { font-size: calc((0.85rem) * var(--fs-text-scale)); line-height: 1.7; }
            .qui-values { grid-template-columns: 1fr; gap: 0.8rem; }
            .qui-value { padding: 1.2rem; }
            .qui-value-title { font-size: 0.7rem; }
            .qui-value-text { font-size: calc((0.8rem) * var(--fs-text-scale)); }
            .qui-chiffres { grid-template-columns: 1fr 1fr; gap: 1rem; padding-top: 2rem; }
            .qui-chiffre-number { font-size: calc((clamp(1.3rem, 5vw, 1.8rem)) * var(--fs-num-scale)); }
            .qui-chiffre-label { font-size: 0.5rem; }

            /* --- Histoire (Timeline) --- */
            .histoire { min-height: auto; }
            .hist-content {
                grid-template-columns: 1fr; gap: 2rem;
                padding: 3rem 5vw;
            }
            .hist-left { position: static; text-align: center; }
            .hist-title { font-size: clamp(2.5rem, 14vw, 4rem); }
            .hist-summary {
                flex-direction: row; gap: 1.2rem; flex-wrap: wrap;
                justify-content: center; margin-top: 1.5rem;
            }
            .hist-summary-num { font-size: calc((1.3rem) * var(--fs-num-scale)); }
            .hist-summary-text { font-size: calc((0.6rem) * var(--fs-text-scale)); }
            .hist-right { padding-left: 2rem; }
            .hist-row {
                grid-template-columns: 3rem 1fr; gap: 0.8rem;
                padding: 1rem 0;
            }
            .hist-row::before {
                left: -2rem; width: 7px; height: 7px;
            }
            .hist-row:nth-child(n+5)::before { width: 7px; height: 7px; }
            .hist-row:nth-child(n+7)::before { width: 8px; height: 8px; }
            .hist-row:nth-child(n+8)::before { width: 9px; height: 9px; }
            .hist-y { font-size: 0.95rem !important; }
            .hist-row:nth-child(n+7) .hist-y { font-size: 1rem !important; }
            .hist-row--now .hist-y { font-size: 1.2rem !important; }
            .hist-label { font-size: 0.72rem; }
            .hist-t { font-size: 0.75rem; line-height: 1.5; }
            .hist-row--now { padding: 1rem 1rem; margin-left: -0.5rem; }
            .hist-row--now .hist-label { font-size: 0.75rem; }
            .hist-row--now .hist-t { font-size: 0.75rem; }

            /* --- Expertise --- */
            .expertise-block {
                grid-template-columns: 1fr; gap: 1.5rem;
                margin-bottom: 3rem; padding-bottom: 3rem;
            }
            .expertise-block.reversed { direction: ltr; }
            .expertise-visual { order: -1; }
            .expertise-label { font-size: 0.6rem; padding: 6px 14px; }
            .expertise-title { font-size: clamp(1rem, 5vw, 1.3rem); }
            .expertise-desc { font-size: calc((0.8rem) * var(--fs-text-scale)); line-height: 1.7; }
            .expertise-pillars { flex-direction: column; gap: 0.4rem; }
            .expertise-pillar { font-size: 0.62rem; padding: 0.45rem 0.8rem; }
            .expertise-highlight { padding: 1rem; }
            .expertise-highlight-title { font-size: 0.75rem; }
            .expertise-highlight-text { font-size: calc((0.75rem) * var(--fs-text-scale)); }
            .expertise-stats { gap: 1rem; flex-wrap: wrap; }
            .expertise-stat-number { font-size: calc((1.2rem) * var(--fs-num-scale)); }
            .expertise-stat-label { font-size: 0.45rem; }
            .expertise-cta { font-size: 0.65rem; margin-top: 1rem; }
            .expertise-photo-wrap img { aspect-ratio: 16/9; }
            .rc-steps { grid-template-columns: 1fr 1fr; gap: 2px; }
            .rc-step { padding: 0.8rem 0.6rem; }
            .rc-step::after { display: none; }
            .rc-step-num { font-size: 0.9rem; }
            .rc-step-title { font-size: 0.55rem; }

            /* --- Organisation --- */
            .orga-gouv-title { font-size: 0.8rem; }
            .orga-bureau { grid-template-columns: 1fr; gap: 0.6rem; }
            .orga-membre { padding: 0.9rem; display: flex; align-items: center; gap: 0.8rem; text-align: left; }
            .orga-membre-role { font-size: 0.48rem; margin-bottom: 0; }
            .orga-membre-nom { font-size: 0.72rem; }
            .orga-membre::after { height: 2px; }
            .orga-photo img { aspect-ratio: 4/3; }
            .orga-blocks { grid-template-columns: 1fr; gap: 1rem; }
            .orga-block { padding: 1.5rem; }
            .orga-block-num { font-size: 1.8rem; }
            .orga-block-title { font-size: 0.7rem; }
            .orga-block-text { font-size: calc((0.78rem) * var(--fs-text-scale)); }
            .orga-labels { flex-direction: column; gap: 0.8rem; }
            .orga-label-item { padding: 1rem; }
            .orga-label-title { font-size: 0.65rem; }
            .orga-label-text { font-size: calc((0.7rem) * var(--fs-text-scale)); }
            .orga-members { grid-template-columns: 1fr; }
            .coop { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem; text-align: center; }
            .coop-badge { margin: 0 auto; width: 60px; height: 60px; }
            .coop-title { font-size: 0.75rem; }
            .coop-text { font-size: calc((0.78rem) * var(--fs-text-scale)); }
            .coop-partners { justify-content: center; }
            .coop-partner { font-size: 0.5rem; }

            /* --- Transparence --- */
            .transp-grid { grid-template-columns: 1fr; gap: 2rem; }
            .transp-badge-row { flex-wrap: wrap; gap: 0.6rem; }
            .transp-badge { font-size: 0.5rem; padding: 0.5rem 0.8rem; }
            .transp-chiffres { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
            .transp-chiffre { padding: 1.2rem 0.8rem; }
            .transp-chiffre-number { font-size: calc((clamp(1.2rem, 5vw, 1.6rem)) * var(--fs-num-scale)); }
            .transp-chiffre-label { font-size: 0.45rem; }
            .transp-reports { grid-template-columns: 1fr; gap: 0.8rem; }
            .transp-report { padding: 1.2rem; gap: 1rem; }
            .transp-report-icon { width: 36px; height: 36px; }
            .transp-report-icon svg { width: 16px; height: 16px; }
            .transp-report-title { font-size: 0.68rem; }
            .transp-report-desc { font-size: calc((0.7rem) * var(--fs-text-scale)); }
            .btn { font-size: 0.65rem; padding: 0.75rem 1.4rem; }
            .btn svg { width: 12px; height: 12px; }

            /* --- Réseau France --- */
            .reseau-grid { grid-template-columns: 1fr; gap: 1rem; }
            .reseau-card { padding: 1.5rem; }
            .reseau-card-icon { width: 38px; height: 38px; margin-bottom: 0.8rem; }
            .reseau-card-icon svg { width: 18px; height: 18px; }
            .reseau-card-title { font-size: 0.75rem; }
            .reseau-card-text { font-size: calc((0.78rem) * var(--fs-text-scale)); line-height: 1.65; }
            .reseau-antennes { padding: 1.5rem; }
            .reseau-antennes-title { font-size: 0.7rem; margin-bottom: 1rem; }
            /* 5 antennes, pas de bouton "voir plus" : on affiche la liste en entier.
               (avant : max-height 290px + fondu qui coupait la liste sans pouvoir la deplier) */
            .reseau-antennes-grid {
                grid-template-columns: 1fr; gap: 0;
            }
            .reseau-toggle {
                display: flex; align-items: center; justify-content: center; gap: 0.5rem;
                margin-top: 1rem; padding: 0.7rem;
                font-family: var(--font-title); font-size: 0.65rem; font-weight: 700;
                text-transform: uppercase; letter-spacing: 0.08em;
                color: var(--red); background: none; border: 1.5px solid rgba(238,46,82,0.2);
                cursor: pointer; width: 100%; transition: all 0.3s;
            }
            .reseau-toggle:hover { border-color: var(--red); background: rgba(238,46,82,0.04); }
            .reseau-toggle svg {
                width: 14px; height: 14px; transition: transform 0.3s;
            }
            .reseau-toggle.rotated svg { transform: rotate(180deg); }
            .reseau-antenne { padding: 0.6rem 0; }
            .reseau-antenne strong { font-size: 0.7rem; }
            .reseau-resp { font-size: 0.62rem; }
            .reseau-email { font-size: 0.58rem; }

            /* --- Footer --- */
            .footer { padding: 3rem 5vw 2rem; }
            .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
            .footer__col-title { font-size: 0.65rem; }
            .footer__links a { font-size: 0.7rem; }
            .footer__info { font-size: 0.7rem; }
        }

        /* =============================================
           VERY SMALL SCREENS
        ============================================= */
        @media (max-width: 380px) {
            .section-inner { padding: 2.5rem 4vw; }
            .page-hero { padding: 2.5rem 4vw 2rem; }
            .page-hero h1 { font-size: 2.2rem; }
            .page-hero-stats { gap: 1rem; }
            .page-hero-stat-number { font-size: calc((1.3rem) * var(--fs-num-scale)); }

            .qui-chiffres { grid-template-columns: 1fr; }

            .hist-content { padding: 2.5rem 4vw; }
            .hist-title { font-size: 2.5rem; }
            .hist-summary { gap: 0.8rem; }
            .hist-row { grid-template-columns: 2.5rem 1fr; gap: 0.6rem; }
            .hist-right { padding-left: 1.5rem; }
            .hist-row::before { left: -1.5rem; }

            .rc-steps { grid-template-columns: 1fr; }
            .expertise-stats { flex-direction: column; gap: 0.8rem; }

            .transp-chiffres { grid-template-columns: 1fr; }

            .orga-bureau { gap: 0.4rem; }

            .footer__grid { grid-template-columns: 1fr; }

            .coop-partners { flex-direction: column; align-items: center; }
        }
    
/* =============================================
   WordPress Single Post — Layout fixes
============================================= */
.main .elementor {
    padding: 0;
}
.main .elementor-section-wrap,
.main .elementor-element,
.main .e-con {
    max-width: 100%;
}
/* Breadcrumb fix — prevent sidebar overlap */
.main .elementor-widget-theme-post-content,
.main .elementor-widget-breadcrumbs,
.main .elementor-breadcrumbs {
    position: relative;
    z-index: 1;
}
/* Related posts grid — prevent sidebar overlap */
.main .elementor-posts-container {
    position: relative;
    z-index: 1;
}

/* =============================================
   Force HAMAP styles over Elementor defaults
============================================= */
/* Footer — force colors over Elementor theme */
.footer { background: var(--ink-soft) !important; }
.footer a,
.footer .footer__links a,
.footer .footer__info,
.footer .footer__col-title,
.footer .footer__bottom-links a,
.footer .footer__copy,
.footer .footer__credit,
.footer .footer__credit a {
    color: inherit !important;
}
.footer .footer__col-title { color: var(--white) !important; }
.footer .footer__links a { color: rgba(255,255,255,0.65) !important; }
.footer .footer__links a:hover { color: var(--red-bright) !important; }
.footer .footer__info { color: rgba(255,255,255,0.6) !important; }
.footer .footer__bottom-links a { color: rgba(255,255,255,0.6) !important; }
.footer .footer__bottom-links a:hover { color: var(--red-bright) !important; }
.footer .footer__copy { color: rgba(255,255,255,0.7) !important; }
.footer .footer__credit { color: rgba(255,255,255,0.7) !important; }
.footer .footer__credit a { color: rgba(255,255,255,0.6) !important; }
.footer .footer__credit a:hover { color: var(--red-bright) !important; }

/* Footer social icons */
.footer .footer__social a {
    width: 32px !important; height: 32px !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
    border-radius: 0 !important;
    background: transparent !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    color: rgba(255,255,255,0.65) !important;
    transition: all 0.3s ease !important;
}
.footer .footer__social a:hover {
    border-color: var(--red) !important;
    color: var(--red) !important;
    background: transparent !important;
}
.footer .footer__social a svg {
    width: 14px !important; height: 14px !important;
    fill: currentColor !important;
}

/* Sidebar — force colors over Elementor */
.sidebar { background: var(--ink-soft) !important; }
.sidebar a { color: inherit !important; text-decoration: none !important; }
.sidebar .sidebar__nav-item { color: rgba(255,255,255,0.85) !important; }
.sidebar .sidebar__nav-item:hover { color: var(--white) !important; }
.sidebar .sidebar__sub a { color: rgba(255,255,255,0.7) !important; }
.sidebar .sidebar__sub a:hover { color: var(--white) !important; }
.sidebar .sidebar__don {
    background: var(--red) !important;
    color: var(--white) !important;
}
.sidebar .sidebar__don:hover { background: var(--red-dark) !important; }
.sidebar .sidebar__social a {
    border: 1px solid rgba(255,255,255,0.22) !important;
    border-radius: 0 !important;
    background: transparent !important;
}
.sidebar .sidebar__social a:hover { border-color: var(--red) !important; }
.sidebar .sidebar__social a svg {
    fill: rgba(255,255,255,0.55) !important;
}
.sidebar .sidebar__social a:hover svg { fill: var(--red) !important; }

/* =============================================
   WordPress Article Page — Critical fixes
============================================= */
/* Force ALL sidebar links to white */
.sidebar .sidebar__nav-item,
.sidebar .sidebar__nav-item a,
.sidebar a.sidebar__nav-item {
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none !important;
}
.sidebar .sidebar__nav-item:hover,
.sidebar .sidebar__nav-item a:hover,
.sidebar a.sidebar__nav-item:hover {
    color: var(--white) !important;
    background: rgba(255,255,255,0.06) !important;
}

/* Elementor full-width sections — prevent going behind sidebar */
body.single-post .elementor-section.elementor-section-full_width,
body.single-post .elementor-section-stretched,
body.single-post .e-con {
    max-width: 100% !important;
    width: 100% !important;
}

/* Breadcrumb — add left padding so it doesn't hide behind sidebar */
body.single-post .elementor-widget-theme-breadcrumbs,
body.single-post .elementor-breadcrumbs,
body.single-post [data-widget_type=theme-post-content.default],
body.single-post .elementor-widget-breadcrumbs {
    padding-left: 0 !important;
}

/* Elementor hero section — keep within .main area */
body.single-post .elementor-top-section {
    overflow: hidden;
}

/* Hide Elementor's own header/footer on posts */
body.single-post .elementor-location-header,
body.single-post .elementor-location-footer {
    display: none !important;
}

/* Make sure .main wraps content properly */
body.single-post .main {
    margin-left: var(--sidebar-w, 220px);
    min-height: 100vh;
    position: relative;
}
body.single-post .site-main,
body.single-post .page-content,
body.single-post .entry-content {
    width: 100%;
}
@media (max-width: 767px) {
    body.single-post .main {
        margin-left: 0 !important;
    }
    body.single-post .elementor-location-header,
    body.single-post .elementor-location-footer {
        display: none !important;
    }
}

/* =============================================
   Sidebar Typography — Force over Elementor (single posts)
   Elementor injects font-family/size on <a> globally; we
   need maximum specificity + !important to win.
============================================= */
body.single-post .sidebar,
body.single-post .sidebar * {
    box-sizing: border-box;
}

body.single-post .sidebar .sidebar__nav-item,
body.single-post aside.sidebar .sidebar__nav-item,
body.single-post .sidebar a.sidebar__nav-item,
body.single-post .sidebar div.sidebar__nav-item {
    font-family: var(--font-title) !important;
    font-weight: 600 !important;
    font-size: 0.68rem !important;
    line-height: 1.3 !important;
    letter-spacing: 0.02em !important;
    padding: 0.55rem 0.8rem !important;
    text-transform: none !important;
    white-space: normal !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.7rem !important;
}

body.single-post .sidebar .sidebar__nav-label {
    font-family: var(--font-title) !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    flex: 1 !important;
}

body.single-post .sidebar .sidebar__sub a,
body.single-post aside.sidebar .sidebar__sub a {
    font-family: var(--font-title) !important;
    font-weight: 500 !important;
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    padding: 0.4rem 0.8rem 0.4rem 3.8rem !important;
    text-transform: none !important;
    display: block !important;
}

body.single-post .sidebar .sidebar__don,
body.single-post aside.sidebar a.sidebar__don {
    font-family: var(--font-title) !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    padding: 0.75rem !important;
    margin: 0.6rem 0.8rem !important;
}

body.single-post .sidebar .sidebar__lang {
    font-family: var(--font-title) !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
}

/* Mobile sidebar typography — match desktop overrides */
@media (max-width: 767px) {
    body.single-post .sidebar .sidebar__nav-item,
    body.single-post aside.sidebar .sidebar__nav-item {
        font-size: 0.8rem !important;
        padding: 0.75rem 1rem !important;
        gap: 0.8rem !important;
    }
    body.single-post .sidebar .sidebar__sub a,
    body.single-post aside.sidebar .sidebar__sub a {
        font-size: 0.78rem !important;
        padding: 0.6rem 1rem 0.6rem 3.5rem !important;
    }
    body.single-post .sidebar .sidebar__don {
        font-size: 0.8rem !important;
        padding: 0.9rem !important;
    }
}

/* Footer typography — same treatment */
body.single-post .footer,
body.single-post .footer * {
    font-family: var(--font-title) !important;
}
body.single-post .footer .footer__col-title {
    font-weight: 700 !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
}
body.single-post .footer .footer__links a,
body.single-post .footer .footer__info,
body.single-post .footer .footer__bottom-links a,
body.single-post .footer .footer__copy,
body.single-post .footer .footer__credit {
    font-family: var(--font-title) !important;
    font-weight: 400 !important;
}

/* =============================================
   ARTICLE PAGE — HAMAP single post template
   Loaded for body.single-post (or .hamap-single)
============================================= */

.hamap-single .main {
    background: var(--white);
}

/* ----- HERO ----- */
.article-hero {
    position: relative;
    min-height: 60vh;
    padding: 7rem 8vw 5rem;
    color: var(--white);
    overflow: hidden;
    background: var(--ink-soft);
    display: flex;
    align-items: flex-end;
}

.article-hero--no-image {
    min-height: 40vh;
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.article-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.45;
    filter: grayscale(20%);
}

.article-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(30, 54, 65, 0.92) 0%,
        rgba(30, 54, 65, 0.75) 45%,
        rgba(30, 54, 65, 0.5) 100%
    );
}


.article-hero__inner {
    position: relative;
    z-index: 3;
    max-width: 820px;
    width: 100%;
}

.article-breadcrumb {
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.article-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.25s;
}
.article-breadcrumb a:hover {
    color: var(--red);
}
.article-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.article-hero__cat {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--red);
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--red);
    margin-bottom: 1.5rem;
    background: rgba(238, 46, 82, 0.05);
}

.article-hero__title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--white);
    margin: 0 0 2rem 0;
    max-width: 760px;
}

.article-hero__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.7);
}
.article-hero__meta time { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.article-hero__sep { color: var(--red); }

/* ----- BODY ----- */
.article-body {
    background: var(--white);
    padding: 5rem 8vw 4rem;
    position: relative;
}

.article-body__inner {
    max-width: 720px;
    margin: 0 auto;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ink);
}

.article-body__inner > * + * {
    margin-top: 1.5em;
}

.article-body__inner p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.85;
    color: #2a3f4a;
}

.article-body__inner p:first-of-type::first-letter {
    font-family: var(--font-title);
    font-size: 3.4em;
    font-weight: 800;
    float: left;
    line-height: 0.85;
    margin: 0.1em 0.12em 0 0;
    color: var(--red);
}

.article-body__inner h2,
.article-body__inner h2.wp-block-heading {
    font-family: var(--font-title);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--ink);
    margin-top: 3rem !important;
    margin-bottom: 1rem !important;
    position: relative;
    padding-left: 1.2rem;
}
.article-body__inner h2::before,
.article-body__inner h2.wp-block-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    bottom: 0.3em;
    width: 4px;
    background: var(--red);
    transform: skewY(-8deg);
}

.article-body__inner h3,
.article-body__inner h3.wp-block-heading {
    font-family: var(--font-title);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
    color: var(--ink);
    margin-top: 2.2rem !important;
    margin-bottom: 0.8rem !important;
}

.article-body__inner h4 {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-top: 1.8rem !important;
    margin-bottom: 0.6rem !important;
}

.article-body__inner ul,
.article-body__inner ol,
.article-body__inner ul.wp-block-list {
    padding-left: 1.5rem;
    font-family: var(--font-body);
}
.article-body__inner ul li,
.article-body__inner ol li {
    margin-bottom: 0.6rem;
    line-height: 1.75;
}
.article-body__inner ul li::marker {
    color: var(--red);
}

.article-body__inner blockquote {
    position: relative;
    margin: 2.5rem 0;
    padding: 0.2rem 0 0.2rem 4.2rem;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--ink-light);
}
.article-body__inner blockquote::before {
    content: '\00AB';
    position: absolute;
    left: 0;
    top: 0.55em;
    font-family: var(--font-title);
    font-weight: 900;
    font-style: normal;
    font-size: 3.4rem;
    line-height: 0.6;
    color: var(--red);
}

.article-body__inner img,
.article-body__inner figure img,
.article-body__inner .wp-block-image img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 0;
    box-shadow: 0 20px 60px -20px rgba(30, 54, 65, 0.35);
}
.article-body__inner figcaption,
.article-body__inner .wp-block-image figcaption {
    font-family: var(--font-title);
    font-size: 0.7rem;
    text-align: center;
    color: var(--blue-grey);
    margin-top: 0.6rem;
    font-style: italic;
}

.article-body__inner a {
    color: var(--red);
    text-decoration: none;
    border-bottom: 1px solid rgba(238, 46, 82, 0.3);
    transition: border-color 0.25s;
}
.article-body__inner a:hover {
    border-bottom-color: var(--red);
}

.article-body__inner strong {
    color: var(--ink);
    font-weight: 700;
}

/* ----- SHARE ----- */
.article-share {
    max-width: 720px;
    margin: 3rem auto 0;
    padding: 2rem 8vw;
    border-top: 1px solid rgba(30, 54, 65, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.article-share__label {
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-grey);
}
.article-share__links {
    display: flex;
    gap: 0.6rem;
}
.article-share__links a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(30, 54, 65, 0.15);
    color: var(--ink);
    transition: all 0.3s;
}
.article-share__links a:hover {
    border-color: var(--red);
    color: var(--red);
}

/* ----- RELATED ----- */
.related {
    background: var(--light);
    padding: 5rem 8vw 6rem;
    position: relative;
    overflow: hidden;
}
.related::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 50%;
    height: 4px;
    background: var(--red);
    transform: rotate(-1deg);
    transform-origin: left center;
}

.related__inner {
    max-width: 1180px;
    margin: 0 auto;
}

.related__head {
    margin-bottom: 3rem;
}
.related__eyebrow {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.6rem;
}
.related__title {
    font-family: var(--font-title);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.01em;
}

.related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}
.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -25px rgba(30, 54, 65, 0.25);
}

.related-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ink-soft);
}
.related-card__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.related-card:hover .related-card__img {
    transform: scale(1.08);
}
.related-card__img--placeholder {
    background: var(--ink-soft);
}

.related-card__body {
    padding: 1.6rem 1.4rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.related-card__cat {
    font-family: var(--font-title);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--red);
    margin-bottom: 0.6rem;
}
.related-card__title {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink);
    margin: 0 0 0.8rem 0;
}
.related-card__meta {
    font-family: var(--font-title);
    font-size: 0.65rem;
    color: var(--blue-grey);
    margin-bottom: 1.2rem;
}
.related-card__more {
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    transition: gap 0.25s, color 0.25s;
}
.related-card:hover .related-card__more {
    color: var(--red);
    gap: 0.7rem;
}

.related__cta {
    margin-top: 3rem;
    text-align: center;
}
.related__all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    padding: 1rem 2rem;
    border: 2px solid var(--ink);
    transition: all 0.3s;
}
.related__all:hover {
    background: var(--ink-soft);
    color: var(--white);
    gap: 0.8rem;
}

/* ----- MOBILE ----- */
@media (max-width: 767px) {
    .article-hero {
        padding: 5rem 5vw 3rem;
        min-height: 55vh;
    }
    .article-breadcrumb {
        margin-bottom: 1.5rem;
        font-size: 0.55rem;
        gap: 0.4rem;
    }
    .article-hero__cat {
        font-size: 0.55rem;
        margin-bottom: 1rem;
    }
    .article-hero__title {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
        margin-bottom: 1.2rem;
    }
    .article-hero__meta {
        font-size: 0.65rem;
        gap: 0.7rem;
    }

    .article-body {
        padding: 3rem 6vw 2rem;
    }
    .article-body__inner {
        font-size: 0.95rem;
    }
    .article-body__inner p {
        font-size: 0.95rem;
    }
    .article-body__inner p:first-of-type::first-letter {
        font-size: 2.8em;
    }
    .article-body__inner h2 {
        font-size: 1.3rem;
        margin-top: 2rem !important;
    }
    .article-body__inner h3 {
        font-size: 1.05rem;
    }
    .article-body__inner blockquote {
        font-size: 1.05rem;
        padding-left: 1.2rem;
    }

    .article-share {
        padding: 1.5rem 6vw;
        flex-direction: column;
        align-items: flex-start;
    }

    .related {
        padding: 3rem 5vw 4rem;
    }
    .related__head {
        margin-bottom: 2rem;
    }
    .related__title {
        font-size: 1.5rem;
    }
    .related__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .related__cta {
        margin-top: 2rem;
    }
    .related__all {
        font-size: 0.62rem;
        padding: 0.85rem 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .related__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .related__grid > .related-card:nth-child(3) {
        display: none;
    }
}

/* =============================================
   ARTICLE PAGE — FIXES (v1.3)
   Bigger image, less padding, force hero title,
   actu cards from homepage style, footer fixes
============================================= */

/* HERO — force title size + color (defeat any leftover Elementor) */
body.single-post .article-hero,
body.hamap-single .article-hero {
    min-height: 56vh;
    padding: 6rem 5vw 4rem;
}
body.single-post .article-hero__bg,
body.hamap-single .article-hero__bg {
    opacity: 0.65 !important;
    filter: none !important;
}
body.single-post .article-hero__overlay,
body.hamap-single .article-hero__overlay {
    background: linear-gradient(
        135deg,
        rgba(30, 54, 65, 0.78) 0%,
        rgba(30, 54, 65, 0.55) 50%,
        rgba(30, 54, 65, 0.35) 100%
    ) !important;
}

body.single-post .article-hero__inner,
body.hamap-single .article-hero__inner {
    max-width: 1100px !important;
    width: 100% !important;
}

/* HERO TITLE — high specificity to defeat any other rule */
body.single-post .main .article-hero .article-hero__inner h1.article-hero__title,
body.hamap-single .main .article-hero .article-hero__inner h1.article-hero__title,
.hamap-single h1.article-hero__title {
    font-family: var(--font-title) !important;
    font-size: clamp(2rem, 4vw, 3.4rem) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em !important;
    color: #ffffff !important;
    margin: 0 0 1.6rem 0 !important;
    max-width: 900px !important;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
    padding: 0 !important;
    background: transparent !important;
    text-transform: none !important;
}
body.single-post .main .article-hero .article-hero__inner h1.article-hero__title::before,
body.hamap-single .main .article-hero .article-hero__inner h1.article-hero__title::before {
    display: none !important;
}

/* Breadcrumb tighter */
body.single-post .article-breadcrumb,
body.hamap-single .article-breadcrumb {
    margin-bottom: 1.8rem !important;
}

/* BODY — wider, less padding */
body.single-post .article-body,
body.hamap-single .article-body {
    padding: 4rem 5vw 3rem !important;
}
body.single-post .article-body__inner,
body.hamap-single .article-body__inner {
    max-width: 820px !important;
}

/* SHARE — reduce side padding */
body.single-post .article-share,
body.hamap-single .article-share {
    max-width: 820px !important;
    padding: 2rem 5vw !important;
}

/* =============================================
   ACTUS section (related) — match homepage style
============================================= */
.actus--related {
    padding: 4rem 5vw 5rem !important;
    background: var(--white) !important;
    border-top: 1px solid rgba(30, 54, 65, 0.06);
}
.actus--related .actus__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
.actus--related .tag {
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 0.6rem 0;
}
.actus--related .big-title {
    font-family: var(--font-title);
    font-weight: 800;
    line-height: 1.1;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.01em;
}
.actus--related .actus__all {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--red);
    text-decoration: none;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.actus--related .actus__all-arrow {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.actus--related .actus__all:hover .actus__all-arrow {
    transform: translateX(5px);
}
.actus--related .actus__scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
.actus--related .actus__scroll::-webkit-scrollbar { height: 2px; }
.actus--related .actus__scroll::-webkit-scrollbar-track { background: rgba(30, 54, 65, 0.04); }
.actus--related .actus__scroll::-webkit-scrollbar-thumb { background: var(--red); opacity: 0.3; }

.actus--related .actu {
    flex: 0 0 280px;
    text-decoration: none;
    color: var(--ink);
    scroll-snap-align: start;
    position: relative;
    padding-bottom: 0.5rem;
    display: block;
}
.actus--related .actu__img {
    height: 180px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.8rem;
}
.actus--related .actu__img-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #7a8a7a, #4a5a4a) center/cover no-repeat;
    transition: transform 0.5s ease;
}
.actus--related .actu:hover .actu__img-bg { transform: scale(1.05); }
.actus--related .actu__tag {
    position: absolute;
    bottom: 0.8rem;
    left: 0;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red);
    padding: 0.3rem 0.8rem;
}
.actus--related .actu__date {
    font-family: var(--font-title);
    font-size: 0.6rem;
    color: var(--blue-grey);
    letter-spacing: 0.05em;
    margin: 0 0 0.3rem 0;
}
.actus--related .actu__title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.3;
    margin: 0 0 0.3rem 0;
    color: var(--ink);
}
.actus--related .actu__excerpt {
    font-family: var(--font-title);
    font-size: 0.78rem;
    color: var(--blue-grey);
    line-height: 1.5;
    margin: 0 0 0.6rem 0;
}
.actus--related .actu__read {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.actus--related .actu__read-arrow {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.actus--related .actu:hover .actu__read-arrow {
    transform: translateX(5px);
}

/* =============================================
   FOOTER — force Montserrat + icon colors
============================================= */
body.single-post .footer,
body.hamap-single .footer,
body.single-post .footer *,
body.hamap-single .footer * {
    font-family: var(--font-title) !important;
}

body.single-post .footer .footer__social a,
body.hamap-single .footer .footer__social a {
    color: rgba(255, 255, 255, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: transparent !important;
}
body.single-post .footer .footer__social a:hover,
body.hamap-single .footer .footer__social a:hover {
    color: var(--red) !important;
    border-color: var(--red) !important;
}
body.single-post .footer .footer__social a svg,
body.hamap-single .footer .footer__social a svg {
    fill: currentColor !important;
}

body.single-post .footer .footer__col-title,
body.hamap-single .footer .footer__col-title {
    font-family: var(--font-title) !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: var(--white) !important;
}
body.single-post .footer .footer__links a,
body.hamap-single .footer .footer__links a,
body.single-post .footer .footer__info,
body.hamap-single .footer .footer__info {
    font-family: var(--font-title) !important;
    font-weight: 400 !important;
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
}
body.single-post .footer .footer__bottom-links a,
body.hamap-single .footer .footer__bottom-links a,
body.single-post .footer .footer__copy,
body.hamap-single .footer .footer__copy,
body.single-post .footer .footer__credit,
body.hamap-single .footer .footer__credit {
    font-family: var(--font-title) !important;
    font-size: 0.65rem !important;
    color: rgba(255, 255, 255, 0.65) !important;
}
body.single-post .footer .footer__credit a,
body.hamap-single .footer .footer__credit a {
    color: var(--red) !important;
}

/* MOBILE adjustments */
@media (max-width: 767px) {
    body.single-post .article-hero,
    body.hamap-single .article-hero {
        padding: 5rem 5vw 3rem !important;
        min-height: 50vh !important;
    }
    body.single-post .main .article-hero .article-hero__inner h1.article-hero__title,
    body.hamap-single .main .article-hero .article-hero__inner h1.article-hero__title {
        font-size: clamp(1.7rem, 7.5vw, 2.4rem) !important;
    }
    body.single-post .article-body,
    body.hamap-single .article-body {
        padding: 2.5rem 5vw 2rem !important;
    }
    body.single-post .article-body__inner,
    body.hamap-single .article-body__inner {
        max-width: 100% !important;
    }
    .actus--related {
        padding: 3rem 5vw 4rem !important;
    }
    .actus--related .actu {
        flex: 0 0 240px;
    }
}

/* =============================================
   ARTICLE PAGE — v1.4
   - Hero gradient horizontal (style nous-connaitre)
   - Reading progress bar
============================================= */

/* READING PROGRESS BAR */
.reading-progress {
    position: fixed;
    bottom: 0;
    top: auto;
    left: var(--sidebar-w, 220px);
    right: 0;
    height: 4px;
    background: rgba(30, 54, 65, 0.08);
    z-index: 9999;
    pointer-events: none;
}
.reading-progress__fill {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--red) 0%, #ff5577 100%);
    box-shadow: 0 0 12px rgba(238, 46, 82, 0.5);
    transition: width 0.05s linear;
    transform-origin: left center;
}
@media (max-width: 767px) {
    .reading-progress {
        left: 0;
        bottom: calc(54px + env(safe-area-inset-bottom, 0px));
        top: auto;
        height: 3px;
    }
}

/* HERO — switch to gradient horizontal style (nous-connaitre direction) */
body.single-post .article-hero,
body.hamap-single .article-hero {
    background: var(--ink-soft) !important;
    min-height: 460px !important;
    padding: 6rem 5vw 5rem !important;
    display: flex !important;
    align-items: center !important;
}

/* Image bg : full opacity, the gradient ::after reveals it on the right */
body.single-post .article-hero__bg,
body.hamap-single .article-hero__bg {
    opacity: 1 !important;
    filter: none !important;
    background-position: center 30% !important;
    background-size: cover !important;
}
body.single-post .article-hero__bg::after,
body.hamap-single .article-hero__bg::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
        to right,
        var(--ink) 28%,
        rgba(30, 54, 65, 0.85) 45%,
        rgba(30, 54, 65, 0.45) 70%,
        rgba(30, 54, 65, 0.15) 100%
    ) !important;
}

/* Kill the old uniform overlay */
body.single-post .article-hero__overlay,
body.hamap-single .article-hero__overlay {
    display: none !important;
}

/* Red glow radial in top-right corner */
body.single-post .article-hero::before,
body.hamap-single .article-hero::before {
    content: '' !important;
    position: absolute !important;
    top: -30% !important;
    right: -10% !important;
    width: 600px !important;
    height: 600px !important;
    background: radial-gradient(circle, rgba(238, 46, 82, 0.12), transparent 65%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}


/* Inner : max-width réduit pour ne pas envahir la photo à droite */
body.single-post .article-hero__inner,
body.hamap-single .article-hero__inner {
    max-width: 60% !important;
    width: 100% !important;
    position: relative !important;
    z-index: 3 !important;
}

/* Title plus haut, légèrement plus condensé */
body.single-post .main .article-hero .article-hero__inner h1.article-hero__title,
body.hamap-single .main .article-hero .article-hero__inner h1.article-hero__title {
    font-size: clamp(1.8rem, 3.5vw, 3rem) !important;
    line-height: 1.1 !important;
    margin: 0.3rem 0 1.4rem 0 !important;
    max-width: 720px !important;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
    color: var(--white) !important;
    font-weight: 800 !important;
}

/* Cat badge — ajustement esthétique */
body.single-post .article-hero__cat,
body.hamap-single .article-hero__cat {
    margin-bottom: 1.2rem !important;
    background: rgba(238, 46, 82, 0.12) !important;
}

/* MOBILE — image visible mais texte lisible */
@media (max-width: 880px) {
    body.single-post .article-hero,
    body.hamap-single .article-hero {
        min-height: 380px !important;
        padding: 5rem 5vw 3rem !important;
    }
    body.single-post .article-hero__inner,
    body.hamap-single .article-hero__inner {
        max-width: 100% !important;
    }
    body.single-post .article-hero__bg::after,
    body.hamap-single .article-hero__bg::after {
        background: linear-gradient(
            to bottom,
            rgba(30, 54, 65, 0.7) 0%,
            rgba(30, 54, 65, 0.85) 60%,
            var(--ink) 100%
        ) !important;
    }
    body.single-post .main .article-hero .article-hero__inner h1.article-hero__title,
    body.hamap-single .main .article-hero .article-hero__inner h1.article-hero__title {
        font-size: clamp(1.7rem, 7.5vw, 2.4rem) !important;
    }
}

/* =============================================
   PUBLICATIONS PAGE — /nos-publications/
============================================= */
.hamap-publications .main {
    background: var(--white);
}

/* ----- HERO ----- */
.pub-hero {
    position: relative;
    background: var(--ink-soft);
    overflow: hidden;
    padding: 5.5rem 5vw 4rem;
    min-height: 400px;
    display: flex;
    align-items: center;
}
.pub-hero__bg {
    position: absolute;
    inset: 0;
    background: url('img/pub-hero-beatoona.jpg') center 35%/cover no-repeat;
    z-index: 0;
}
.pub-hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--ink-soft) 0%, rgba(48,81,106,0.72) 30%, rgba(48,81,106,0.45) 60%, rgba(48,81,106,0.22) 85%, rgba(48,81,106,0.12) 100%);
}
.pub-hero__bg::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(238, 46, 82, 0.12), transparent 65%);
    pointer-events: none;
}
.pub-hero__overlay { display: none; }
.pub-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}
.pub-hero__text {
    max-width: 620px;
}

/* ----- Kiosque : les 3 derniers HAMAP Mag en eventail ----- */
.pub-kiosk {
    position: relative;
    width: 380px;
    height: 322px;
    flex: 0 0 auto;
}
.pub-kiosk__item {
    position: absolute;
    width: 185px;
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center top;
    background-color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 26px 55px -18px rgba(8, 22, 36, 0.6);
    opacity: 0;
    transform: rotate(var(--rot)) translateY(28px);
    transition: opacity 0.9s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s, filter 0.4s;
}
.pub-kiosk.v .pub-kiosk__item {
    opacity: 1;
    transform: rotate(var(--rot)) translateY(0);
}
.pub-kiosk__item--1 { --rot: -2deg; left: 96px; top: 6px;  z-index: 3; }
.pub-kiosk__item--2 { --rot: -9deg; left: 0;    top: 30px; z-index: 2; filter: brightness(0.9); }
.pub-kiosk__item--3 { --rot: 8deg;  left: 194px; top: 36px; z-index: 1; filter: brightness(0.82); }
.pub-kiosk.v .pub-kiosk__item--2 { transition-delay: 0.18s; }
.pub-kiosk.v .pub-kiosk__item--3 { transition-delay: 0.34s; }
.pub-kiosk.v .pub-kiosk__item:hover,
.pub-kiosk.v .pub-kiosk__item:focus-visible {
    transform: rotate(0deg) translateY(-12px);
    z-index: 5;
    filter: brightness(1);
    box-shadow: 0 40px 70px -20px rgba(8, 22, 36, 0.75);
    transition-delay: 0s;
}
.pub-kiosk__item:focus-visible {
    outline: 2px solid var(--red-bright);
    outline-offset: 3px;
}
.pub-kiosk__label {
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: var(--font-title);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.25s;
}
.pub-kiosk__label .arr {
    color: var(--red-bright);
    transition: transform 0.3s;
}
.pub-kiosk__label:hover { color: var(--white); }
.pub-kiosk__label:hover .arr { transform: translateX(5px); }
.pub-hero__eyebrow {
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red-bright);
    text-shadow: 0 1px 12px rgba(30, 54, 65, 0.5);
    margin: 1.5rem 0 1rem;
}
.pub-hero__title {
    font-family: var(--font-title);
    font-size: calc(clamp(2.5rem, 7vw, 5rem) * var(--fs-hero-scale));
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--white);
    text-transform: uppercase;
    margin: 0 0 1.4rem 0;
}
.pub-hero__title .accent { color: var(--red); }
.pub-hero__sub {
    font-family: var(--font-body);
    font-style: italic;
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 580px;
    margin: 0 0 0.5rem 0;
}

/* ----- FILTERS BAR (sticky) ----- */
.pub-filters {
    position: sticky;
    top: 0;
    z-index: 800;
    background: var(--white);
    border-bottom: 1px solid rgba(30, 54, 65, 0.08);
    transition: box-shadow 0.3s ease;
}
.pub-filters.is-stuck {
    box-shadow: 0 4px 30px -10px rgba(30, 54, 65, 0.15);
}
.pub-filters__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.pub-filters__inner::-webkit-scrollbar { display: none; }
.pub-filters__btn {
    flex: 0 0 auto;
    background: transparent;
    border: none;
    padding: 1.4rem 1.4rem;
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-grey);
    cursor: pointer;
    position: relative;
    transition: color 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    white-space: nowrap;
}
.pub-filters__btn:hover { color: var(--ink); }
.pub-filters__btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.4rem;
    right: 1.4rem;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pub-filters__btn.is-active {
    color: var(--ink);
}
.pub-filters__btn.is-active::after {
    transform: scaleX(1);
}
.pub-filters__count {
    background: rgba(30, 54, 65, 0.06);
    color: var(--blue-grey);
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 99px;
    letter-spacing: 0;
    transition: all 0.25s;
}
.pub-filters__btn.is-active .pub-filters__count {
    background: var(--red);
    color: var(--white);
}

/* ----- PINNED ARTICLE ----- */
.pub-pinned {
    padding: 4rem 5vw 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.pub-pinned__card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--white);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(30, 54, 65, 0.08);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
    position: relative;
}
.pub-pinned__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--red);
    z-index: 2;
}
.pub-pinned__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px -30px rgba(30, 54, 65, 0.25);
}
.pub-pinned__media {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background: var(--ink-soft);
}
.pub-pinned__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.pub-pinned__card:hover .pub-pinned__img {
    transform: scale(1.05);
}
.pub-pinned__body {
    padding: 3rem 3rem 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pub-pinned__meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.4rem;
}
.pub-pinned__badge {
    font-family: var(--font-title);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--white);
    background: var(--red);
    padding: 0.4rem 0.9rem;
    text-transform: uppercase;
}
.pub-pinned__cat {
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-grey);
}
.pub-pinned__title {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 1.2rem 0;
    letter-spacing: -0.01em;
}
.pub-pinned__excerpt {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--blue-grey);
    margin: 0 0 2rem 0;
}
.pub-pinned__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.pub-pinned__date {
    font-family: var(--font-title);
    font-size: 0.7rem;
    color: var(--blue-grey);
    letter-spacing: 0.04em;
}
.pub-pinned__more {
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.pub-pinned__more .arr {
    transition: transform 0.3s;
}
.pub-pinned__card:hover .pub-pinned__more .arr {
    transform: translateX(6px);
}

/* ----- GRID ----- */
.pub-grid-section {
    padding: 3rem 5vw 5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.pub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
}

.pub-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.pub-card:hover {
    transform: translateY(-6px);
}
.pub-card.is-hidden {
    display: none;
}
/* Defilement infini : carte pas encore revelee. display:none evite le
   chargement de son image de fond tant qu'on n'a pas scrolle jusqu'a elle. */
.pub-card.is-batched {
    display: none;
}
.pub-sentinel {
    width: 100%;
    height: 1px;
}

.pub-card__media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--ink-soft);
}
.pub-card__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.pub-card:hover .pub-card__img {
    transform: scale(1.06);
}
.pub-card__img--placeholder {
    background: var(--ink-soft);
}
.pub-card__tag {
    position: absolute;
    bottom: 0.7rem;
    left: 0;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red);
    padding: 0.35rem 0.85rem;
}

.pub-card__body {
    padding: 0;
}
.pub-card__date {
    font-family: var(--font-title);
    font-size: 0.6rem;
    color: var(--blue-grey);
    letter-spacing: 0.05em;
    margin: 0 0 0.4rem 0;
}
.pub-card__title {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink);
    margin: 0 0 0.5rem 0;
    transition: color 0.25s;
}
.pub-card:hover .pub-card__title {
    color: var(--red);
}
.pub-card__excerpt {
    font-family: var(--font-title);
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--blue-grey);
    margin: 0 0 0.8rem 0;
}
.pub-card__more {
    font-family: var(--font-title);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.pub-card__more .arr {
    transition: transform 0.3s;
}
.pub-card:hover .pub-card__more .arr {
    transform: translateX(5px);
}

/* Empty state */
.pub-empty {
    text-align: center;
    padding: 4rem 2rem;
    font-family: var(--font-title);
    font-size: 0.85rem;
    color: var(--blue-grey);
}
.pub-empty__back {
    margin-top: 1.2rem;
    background: transparent;
    border: 1px solid rgba(48, 81, 106, 0.35);
    color: var(--ink-soft);
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.8rem 1.6rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.25s, color 0.25s;
}
.pub-empty__back:hover {
    background: var(--ink-soft);
    color: var(--white);
}

/* ----- Sous-filtres Videos (chips) ----- */
.pub-subfilters {
    display: none;
    border-top: 1px solid rgba(30, 54, 65, 0.06);
    background: var(--light);
}
.pub-subfilters.is-open {
    display: block;
}
.pub-subfilters__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 5vw;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.pub-subfilters__inner::-webkit-scrollbar { display: none; }
.pub-subfilters__chip {
    flex: 0 0 auto;
    background: var(--white);
    border: 1px solid rgba(48, 81, 106, 0.25);
    border-radius: 99px;
    padding: 0.55rem 1.1rem;
    font-family: var(--font-title);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.pub-subfilters__chip:hover {
    border-color: var(--ink-soft);
}
.pub-subfilters__chip.is-active {
    background: var(--ink-soft);
    border-color: var(--ink-soft);
    color: var(--white);
}

/* ----- Rapports annuels : couverture typographique (pas de photo) ----- */
.pub-card--rapport .pub-card__media {
    aspect-ratio: 3 / 4;
    background: var(--ink-soft);
}
.pub-card--rapport .pub-card__doc {
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 1.6rem;
    z-index: 1;
}
.pub-card__doc-eyebrow {
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--red-bright);
    margin-bottom: 0.7rem;
}
.pub-card__doc-year {
    font-family: var(--font-title);
    font-size: clamp(3rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--white);
}
.pub-card__doc-org {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 1rem;
}
.pub-card--rapport:hover .pub-card__doc {
    border-color: rgba(255, 92, 122, 0.55);
}

/* ----- MOBILE ----- */
@media (max-width: 1024px) {
    .pub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pub-pinned__card {
        grid-template-columns: 1fr;
    }
    .pub-pinned__media {
        min-height: 260px;
    }
    .pub-pinned__body {
        padding: 2rem 2rem 2.5rem 2.5rem;
    }
}

@media (max-width: 767px) {
    .pub-hero {
        padding: 4.5rem 5vw 3.5rem;
        min-height: 380px;
    }
    .pub-hero__inner {
        gap: 0;
    }
    .pub-kiosk {
        width: 262px;
        height: 218px;
        margin: 2.2rem auto 0.6rem;
    }
    .pub-kiosk__item {
        width: 124px;
        box-shadow: 0 18px 38px -14px rgba(8, 22, 36, 0.6);
    }
    .pub-kiosk__item--1 { left: 66px;  top: 4px; }
    .pub-kiosk__item--2 { left: 0;     top: 20px; }
    .pub-kiosk__item--3 { left: 132px; top: 24px; }
    .pub-kiosk__label { bottom: -12px; }
    /* Photo plus claire en haut sur mobile : on renforce le voile bleu pour la lisibilite du titre */
    .pub-hero__bg::before {
        background: linear-gradient(to top, var(--ink-soft) 0%, rgba(48,81,106,0.78) 40%, rgba(48,81,106,0.55) 75%, rgba(48,81,106,0.4) 100%);
    }
    .pub-hero__title {
        text-shadow: 0 2px 24px rgba(30, 54, 65, 0.45);
    }
    .pub-hero__title {
        font-size: clamp(1.8rem, 10vw, 3rem);
    }
    .pub-hero__sub {
        font-size: 0.85rem;
        margin-bottom: 2rem;
    }
    .pub-filters__btn {
        padding: 1.1rem 1rem;
        font-size: 0.65rem;
    }
    .pub-filters__btn::after {
        left: 1rem;
        right: 1rem;
    }
    .pub-pinned {
        padding: 2.5rem 5vw 1rem;
    }
    .pub-pinned__body {
        padding: 1.8rem 1.5rem 2rem 2rem;
    }
    .pub-pinned__title {
        font-size: 1.3rem;
    }
    .pub-pinned__excerpt {
        font-size: 0.9rem;
    }
    .pub-grid-section {
        padding: 2rem 5vw 3.5rem;
    }
    .pub-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =============================================
   Publications — Focus thematique card variant
   Portrait 3:4 for magazine covers (no crop)
============================================= */
.pub-card--focus .pub-card__media {
    aspect-ratio: 3 / 4;
    background: var(--ink-soft);
}
.pub-card--focus .pub-card__img {
    background-size: cover;
    background-position: center top;
}
/* The tag overlaps nicely on the cover */
.pub-card--focus .pub-card__tag {
    bottom: 1rem;
    background: var(--red);
    box-shadow: 0 4px 20px rgba(238, 46, 82, 0.35);
}

/* Subtle frame effect to distinguish mag covers */
.pub-card--focus .pub-card__media {
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 15px 40px -15px rgba(30, 54, 65, 0.25);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
}
.pub-card--focus:hover .pub-card__media {
    box-shadow:
        inset 0 0 0 1px rgba(238, 46, 82, 0.25),
        0 30px 60px -20px rgba(30, 54, 65, 0.4);
}

/* Mobile : keep portrait but slightly smaller */
@media (max-width: 767px) {
    .pub-card--focus .pub-card__media {
        aspect-ratio: 3 / 4;
    }
}

/* =============================================
   Publications grid — compact mode (Focus thematique active)
   Switch to 4 cols on wide screens to avoid huge portrait cards
============================================= */
.pub-grid.pub-grid--compact {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1.5rem;
}
.pub-grid.pub-grid--compact .pub-card__title {
    font-size: 0.85rem;
}
.pub-grid.pub-grid--compact .pub-card__excerpt {
    font-size: 0.72rem;
}
.pub-grid.pub-grid--compact .pub-card__date {
    font-size: 0.55rem;
}
.pub-grid.pub-grid--compact .pub-card__more {
    font-size: 0.58rem;
}

/* Tablet : drop back to 3 cols if compact */
@media (max-width: 1200px) {
    .pub-grid.pub-grid--compact {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Tablet portrait : 2 cols */
@media (max-width: 1024px) {
    .pub-grid.pub-grid--compact {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Mobile : 2 cols pour les couvertures portrait (une seule pleine largeur = trop grand) */
@media (max-width: 767px) {
    .pub-grid.pub-grid--compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.6rem 1rem;
    }
    .pub-grid.pub-grid--compact .pub-card__title {
        font-size: 0.78rem;
        line-height: 1.35;
    }
    .pub-grid.pub-grid--compact .pub-card__excerpt {
        font-size: 0.68rem;
    }
    .pub-grid.pub-grid--compact .pub-card__tag {
        font-size: 0.52rem;
        padding: 0.3rem 0.6rem;
    }
    .pub-grid.pub-grid--compact .pub-card__doc {
        inset: 10px;
        padding: 1rem;
    }
    .pub-grid.pub-grid--compact .pub-card__doc-year {
        font-size: 2.4rem;
    }
}

/* =============================================
   Single post — Gutenberg button (PDF download)
   Override the article-body link styles for buttons
============================================= */
.article-body__inner .wp-block-buttons {
    margin: 2.5rem 0 !important;
}
.article-body__inner .wp-block-button__link,
.article-body__inner a.wp-block-button__link,
.article-body__inner a.wp-element-button {
    display: inline-block !important;
    background: var(--red) !important;
    background-color: var(--red) !important;
    color: var(--white) !important;
    font-family: var(--font-title) !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    padding: 1.1rem 2.2rem !important;
    border: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 10px 30px -10px rgba(238, 46, 82, 0.45) !important;
    cursor: pointer !important;
}
.article-body__inner .wp-block-button__link:hover,
.article-body__inner a.wp-block-button__link:hover,
.article-body__inner a.wp-element-button:hover {
    background: var(--red-dark) !important;
    background-color: var(--red-dark) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -12px rgba(238, 46, 82, 0.55) !important;
    border-bottom: none !important;
}

/* =============================================
   Related slider — portrait variant for Focus thematique (MAG covers)
============================================= */
.actus--related .actu--portrait {
    flex: 0 0 230px;
}
.actus--related .actu--portrait .actu__img {
    height: auto;
    aspect-ratio: 3 / 4;
    background: var(--ink-soft);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 12px 30px -12px rgba(30, 54, 65, 0.25);
    transition: box-shadow 0.4s;
}
.actus--related .actu--portrait:hover .actu__img {
    box-shadow:
        inset 0 0 0 1px rgba(238, 46, 82, 0.25),
        0 20px 40px -15px rgba(30, 54, 65, 0.4);
}
.actus--related .actu--portrait .actu__img-bg {
    background-position: center top !important;
    background-size: cover !important;
}
.actus--related .actu--portrait .actu__tag {
    background: var(--red);
    bottom: 0.8rem;
    box-shadow: 0 4px 16px rgba(238, 46, 82, 0.3);
}

/* =============================================
   LEGAL PAGES — Mentions / RGPD / Cookies
============================================= */
.hamap-legal .main {
    background: var(--white);
}

/* ----- HERO ----- */
.legal-hero {
    position: relative;
    background: var(--ink-soft);
    overflow: hidden;
    padding: 5rem 5vw 4rem;
    min-height: 360px;
    display: flex;
    align-items: center;
}
.legal-hero__bg {
    position: absolute;
    inset: 0;
    background: url('img/legal-hero.jpg') center 40%/cover no-repeat;
    z-index: 0;
}
.legal-hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        var(--ink) 30%,
        rgba(30, 54, 65, 0.88) 50%,
        rgba(30, 54, 65, 0.55) 75%,
        rgba(30, 54, 65, 0.3) 100%
    );
}
.legal-hero__bg::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(238, 46, 82, 0.1), transparent 65%);
    pointer-events: none;
}
.legal-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
}
.legal-hero__eyebrow {
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin: 1.5rem 0 0.8rem;
}
.legal-hero__title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--white);
    margin: 0 0 1rem 0;
    max-width: 800px;
}
.legal-hero__meta {
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* ----- ARTICLE BODY ----- */
.legal-article {
    padding: 4rem 5vw 5rem;
    background: var(--white);
}
.legal-article__inner {
    max-width: 820px;
    margin: 0 auto;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.85;
    color: var(--ink);
}

.legal-article__inner > * + * {
    margin-top: 1.2em;
}

.legal-article__inner p {
    font-family: var(--font-body);
    color: #2a3f4a;
    margin: 0 0 1em 0;
}

.legal-article__inner h2,
.legal-article__inner h2.wp-block-heading {
    font-family: var(--font-title);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 800;
    color: var(--ink);
    margin-top: 2.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid var(--red);
    letter-spacing: -0.005em;
}
.legal-article__inner h2:first-child {
    margin-top: 0;
}

.legal-article__inner h3,
.legal-article__inner h3.wp-block-heading {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-top: 1.8rem;
    margin-bottom: 0.6rem;
}

.legal-article__inner a {
    color: var(--red);
    text-decoration: none;
    border-bottom: 1px solid rgba(238, 46, 82, 0.3);
    transition: border-color 0.2s;
}
.legal-article__inner a:hover {
    border-bottom-color: var(--red);
}

.legal-article__inner ul,
.legal-article__inner ol {
    padding-left: 1.5rem;
    margin: 1em 0;
}
.legal-article__inner ul li,
.legal-article__inner ol li {
    margin-bottom: 0.5rem;
}
.legal-article__inner ul li::marker {
    color: var(--red);
}

.legal-article__inner table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.8rem 0;
    font-family: var(--font-title);
    font-size: 0.8rem;
}
.legal-article__inner table th {
    background: #F3F7F9;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--ink);
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 2px solid var(--red);
}
.legal-article__inner table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(30, 54, 65, 0.08);
    vertical-align: top;
}

.legal-article__inner blockquote {
    background: #F3F7F9;
    border-left: 3px solid #3AC0BD;
    padding: 1.2rem 1.5rem;
    margin: 1.8rem 0;
    font-family: var(--font-body);
    font-style: italic;
    color: var(--ink-light);
}

.legal-article__inner strong {
    color: var(--ink);
    font-weight: 700;
}

/* ----- CROSS-LINKS BETWEEN LEGAL PAGES ----- */
.legal-article__related {
    max-width: 820px;
    margin: 4rem auto 0;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(30, 54, 65, 0.08);
}
.legal-article__related-label {
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 1.2rem;
}
.legal-article__related-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.legal-article__related-links a {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    padding: 1rem 1.2rem;
    background: var(--light);
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.legal-article__related-links a:hover {
    border-left-color: var(--red);
    background: #eeeae0;
    color: var(--red);
    padding-left: 1.5rem;
}
.legal-article__related-links .arr {
    display: inline-block;
    transition: transform 0.3s;
    font-size: 1.1rem;
    color: var(--red);
}
.legal-article__related-links a:hover .arr {
    transform: translateX(6px);
}

/* ----- MOBILE ----- */
@media (max-width: 767px) {
    .legal-hero {
        padding: 4rem 5vw 3rem;
        min-height: 300px;
    }
    .legal-hero__title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }
    .legal-article {
        padding: 2.5rem 5vw 3rem;
    }
    .legal-article__inner {
        font-size: 0.9rem;
    }
    .legal-article__inner h2 {
        font-size: 1.1rem;
        margin-top: 2rem;
    }
    .legal-article__inner table {
        font-size: 0.72rem;
        display: block;
        overflow-x: auto;
    }
}

/* =============================================
   SINGLE OFFRE D'EMPLOI template
============================================= */
.hamap-single-offre .main { background: var(--white); }

/* ----- HERO ----- */
.offre-hero {
    position: relative;
    background: var(--ink-soft);
    overflow: hidden;
    padding: 5rem 5vw 4.5rem;
    min-height: 380px;
    display: flex;
    align-items: center;
}
.offre-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 30%, rgba(238, 46, 82, 0.15), transparent 55%),
        var(--ink-soft);
    z-index: 0;
}
.offre-hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 80px 80px;
}
.offre-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 960px;
    width: 100%;
}
.offre-hero__eyebrow {
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin: 1.5rem 0 0.8rem;
}
.offre-hero__title {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--white);
    margin: 0 0 1.8rem;
    max-width: 820px;
}
.offre-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.8rem;
}
.offre-hero__contrat {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red);
    padding: 0.5rem 1rem;
    box-shadow: 0 6px 20px rgba(238, 46, 82, 0.3);
}
.offre-hero__meta-item {
    font-family: var(--font-title);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}
.offre-hero__meta-item strong {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-right: 0.4rem;
}

/* ----- ARTICLE BODY ----- */
.offre-article {
    padding: 4rem 5vw 2rem;
    background: var(--white);
}
.offre-article__inner {
    max-width: 820px;
    margin: 0 auto;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.85;
    color: #2a3f4a;
}
.offre-article__inner > * + * { margin-top: 1.4em; }
.offre-article__inner p { margin: 0 0 1em; }
.offre-article__inner h2,
.offre-article__inner h2.wp-block-heading,
.offre-article__inner h3,
.offre-article__inner h3.wp-block-heading {
    font-family: var(--font-title);
    color: var(--ink);
    margin: 2.2rem 0 1rem;
    font-weight: 800;
}
.offre-article__inner h2, .offre-article__inner h2.wp-block-heading {
    font-size: 1.4rem;
    padding-left: 1rem;
    border-left: 3px solid var(--red);
}
.offre-article__inner h3, .offre-article__inner h3.wp-block-heading {
    font-size: 1.1rem;
}
.offre-article__inner ul, .offre-article__inner ol {
    padding-left: 1.4rem;
    margin: 1em 0;
}
.offre-article__inner ul li, .offre-article__inner ol li {
    margin-bottom: 0.5rem;
}
.offre-article__inner ul li::marker { color: var(--red); }
.offre-article__inner strong { color: var(--ink); font-weight: 700; }

/* ----- CTA postuler ----- */
.offre-cta {
    max-width: 820px;
    margin: 3rem auto;
    background: var(--ink-soft);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.offre-cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(238, 46, 82, 0.14), transparent 65%);
    pointer-events: none;
}
.offre-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 8%;
    width: 5px;
    height: 80px;
    background: var(--red);
    opacity: 0.2;
    transform: rotate(-18deg);
    transform-origin: bottom center;
}
.offre-cta__inner {
    padding: 3rem 3rem 3.2rem;
    position: relative;
    z-index: 1;
}
.offre-cta__eyebrow {
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 0.6rem;
}
.offre-cta__title {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--white);
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}
.offre-cta__text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 2rem;
    max-width: 560px;
}
.offre-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}
.offre-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1.1rem 2rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.offre-cta__btn--primary {
    color: var(--white);
    background: var(--red);
    box-shadow: 0 10px 30px -10px rgba(238, 46, 82, 0.5);
}
.offre-cta__btn--primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -12px rgba(238, 46, 82, 0.6);
}
.offre-cta__btn--secondary {
    color: rgba(255, 255, 255, 0.85);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.offre-cta__btn--secondary:hover {
    border-color: var(--red);
    color: var(--red);
}
.offre-cta__date-pub {
    font-family: var(--font-title);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.04em;
    margin: 0;
}

/* ----- Back to all offres ----- */
.offre-back {
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 0 4rem;
    border-top: 1px solid rgba(30, 54, 65, 0.08);
}
.offre-back a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-grey);
    text-decoration: none;
    margin-top: 2rem;
    transition: color 0.25s, gap 0.3s;
}
.offre-back a:hover {
    color: var(--red);
    gap: 0.8rem;
}

/* ----- MOBILE ----- */
@media (max-width: 767px) {
    .offre-hero {
        padding: 4rem 5vw 3rem;
        min-height: 300px;
    }
    .offre-hero__title { font-size: clamp(1.4rem, 7vw, 2rem); }
    .offre-hero__meta { gap: 0.6rem 1rem; }
    .offre-hero__meta-item { font-size: 0.72rem; }
    .offre-article {
        padding: 2.5rem 5vw 1.5rem;
    }
    .offre-article__inner { font-size: 0.9rem; }
    .offre-cta__inner { padding: 2rem 1.8rem 2.3rem; }
    .offre-cta__title { font-size: 1.3rem; }
    .offre-cta__text { font-size: 0.88rem; }
    .offre-cta__actions { flex-direction: column; }
    .offre-cta__btn { width: 100%; justify-content: center; }
}

/* =============================================
   APPLY MODAL — candidature popup (single offre)
============================================= */
body.apply-modal-open { overflow: hidden; }

.apply-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.apply-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.apply-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 54, 65, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.apply-modal__content {
    position: relative;
    z-index: 1;
    background: var(--white);
    width: min(720px, 100%);
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.apply-modal.is-open .apply-modal__content {
    transform: translateY(0) scale(1);
}

.apply-modal__close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(30, 54, 65, 0.05);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    transition: all 0.25s;
    z-index: 2;
}
.apply-modal__close:hover {
    background: var(--red);
    color: var(--white);
    transform: rotate(90deg);
}

/* ----- Header (dark navy) ----- */
.apply-modal__header {
    background: var(--ink-soft);
    color: var(--white);
    padding: 2.5rem 3rem 2rem;
    position: relative;
    overflow: hidden;
}
.apply-modal__header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(238, 46, 82, 0.18), transparent 65%);
    pointer-events: none;
}
/* Modales formulaires hamap-core (partenariat, reseau) : en-tete au bleu
   du menu, sans halo degrade. */
.apply-modal[data-hamap-modal] .apply-modal__header::before { display: none; }
.apply-modal__eyebrow {
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 0.5rem;
}
.apply-modal__title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    margin: 0 0 1rem;
    max-width: 90%;
    letter-spacing: -0.005em;
}
.apply-modal__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0;
    font-family: var(--font-title);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
}
.apply-modal__meta span {
    position: relative;
    padding-right: 0.8rem;
}
.apply-modal__meta span:not(:last-child)::after {
    content: '·';
    position: absolute;
    right: 0;
    color: var(--red);
}

/* ----- Body (form) ----- */
.apply-modal__body {
    padding: 2.2rem 3rem 2.8rem;
}

.apply-modal__errors {
    background: rgba(238, 46, 82, 0.08);
    border-left: 3px solid var(--red);
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
}
.apply-modal__errors ul {
    margin: 0;
    padding-left: 1.2rem;
    font-family: var(--font-title);
    font-size: 0.8rem;
    color: var(--ink);
}

.apply-modal__form {
    display: block;
}
.apply-modal__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.apply-modal__field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
.apply-modal__row .apply-modal__field { margin-bottom: 0; }
.apply-modal__field label {
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 0.35rem;
}
.apply-modal__field input[type=text],
.apply-modal__field input[type=email],
.apply-modal__field input[type=tel],
.apply-modal__field input[type=file],
.apply-modal__field textarea {
    font-family: var(--font-title);
    font-size: 0.85rem;
    padding: 0.85rem 1rem;
    background: var(--light);
    border: 1px solid rgba(30, 54, 65, 0.1);
    color: var(--ink);
    transition: all 0.25s;
    width: 100%;
    border-radius: 0;
}
.apply-modal__field input:focus,
.apply-modal__field textarea:focus {
    outline: none;
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(238, 46, 82, 0.08);
}
.apply-modal__field textarea {
    resize: vertical;
    min-height: 110px;
    font-family: var(--font-body);
}
.apply-modal__actions {
    margin-top: 1.6rem;
}
.apply-modal__submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red);
    border: none;
    padding: 1.1rem 2.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px -10px rgba(238, 46, 82, 0.45);
}
.apply-modal__submit:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -12px rgba(238, 46, 82, 0.55);
}
.apply-modal__legal {
    margin-top: 1.2rem;
    font-family: var(--font-title);
    font-size: 0.62rem;
    color: var(--blue-grey);
    line-height: 1.5;
}
.apply-modal__legal a {
    color: var(--red);
    text-decoration: none;
    border-bottom: 1px solid rgba(238, 46, 82, 0.3);
}

/* ----- Success state ----- */
.apply-modal__success {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--ink);
}
.apply-modal__success svg {
    color: #3AC0BD;
    margin-bottom: 1rem;
}
.apply-modal__success h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 0.6rem;
}
.apply-modal__success p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--blue-grey);
    margin: 0 0 1.8rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}
.apply-modal__close-btn {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--ink-soft);
    border: none;
    padding: 1rem 2.2rem;
    cursor: pointer;
    transition: background 0.3s;
}
.apply-modal__close-btn:hover { background: var(--red); }

/* ----- Mobile ----- */
@media (max-width: 767px) {
    .apply-modal { padding: 1rem 0; align-items: flex-end; }
    .apply-modal__content {
        width: 100%;
        max-height: 92vh;
        transform: translateY(100%);
    }
    .apply-modal.is-open .apply-modal__content { transform: translateY(0); }
    .apply-modal__header { padding: 2rem 1.5rem 1.5rem; }
    .apply-modal__title { font-size: 1.15rem; }
    .apply-modal__body { padding: 1.8rem 1.5rem 2.2rem; }
    .apply-modal__row { grid-template-columns: 1fr; gap: 0; }
    .apply-modal__row .apply-modal__field { margin-bottom: 1rem; }
    .apply-modal__close { top: 0.8rem; right: 0.8rem; }
}


/* =============================================
   REJOIGNEZ-NOUS
============================================= */

.rejoin-section { position: relative; overflow: hidden; }

/* Header shared */
.rejoin-section__header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}
.rejoin-section__header .tag {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 1rem;
}
.rejoin-section__header .tag--light { color: rgba(255,92,122,0.95); }
.rejoin-section__header .big-title {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: clamp(2rem, 5.5vw, 3.4rem);
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin: 0 0 2rem;
    color: var(--ink);
}
.rejoin-section__header .big-title--light { color: var(--white); }
.rejoin-section__header .big-title .accent { color: var(--red); }
.rejoin-section__header .big-title .it {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-style: italic;
    font-size: 0.34em;
    text-transform: none;
    letter-spacing: 0;
    color: var(--blue-grey);
    margin-top: 0.7em;
}
.rejoin-section__header .big-title--light .it {
    color: rgba(255, 255, 255, 0.7);
}
.rejoin-section__intro {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--blue-grey);
    margin: 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.rejoin-section__intro--light { color: rgba(255, 255, 255, 0.6); }

/* Sub-title inside sections */
.rejoin-subtitle {
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--red);
    display: inline-block;
}
.rejoin-subtitle--no-margin { margin: 0; }

/* =============================================
   1b. CANDIDATURE SPONTANÉE — hero treatment
============================================= */
.rejoin-candidature {
    position: relative;
    background: var(--ink-soft);
    color: var(--white);
    padding: 5rem 5vw 6rem;
    overflow: hidden;
}
.rejoin-candidature__bg {
    position: absolute;
    inset: 0;
    background: var(--ink-soft);
    z-index: 0;
}
.rejoin-candidature__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
}
.rejoin-candidature__inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.rejoin-candidature__intro .tag {
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red-bright);
    margin: 0 0 1rem;
}
.rejoin-candidature__intro .big-title {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--white);
    margin: 0 0 1.6rem;
}
.rejoin-candidature__lead {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 2.5rem;
    max-width: 480px;
}
.rejoin-candidature__highlights {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.rejoin-candidature__highlight {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.rejoin-candidature__num {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--red);
    line-height: 0.9;
}
.rejoin-candidature__label {
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

/* Form wrapper */
.rejoin-candidature__form-wrap {
    background: var(--white);
    padding: 2.8rem 2.8rem 3rem;
    position: relative;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
/* Form fields */
.rejoin-form__success {
    background: rgba(58, 192, 189, 0.12);
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-title);
    font-size: 0.82rem;
    color: var(--ink);
}
.rejoin-form__success strong { display: block; margin-bottom: 0.3rem; }
.rejoin-form__success p { margin: 0; font-weight: 400; color: var(--blue-grey); }
.rejoin-form__errors {
    background: rgba(238, 46, 82, 0.1);
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
}
.rejoin-form__errors ul {
    margin: 0;
    padding-left: 1.2rem;
    font-family: var(--font-title);
    font-size: 0.8rem;
    color: var(--ink);
}
.rejoin-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.rejoin-form__field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
.rejoin-form__row .rejoin-form__field { margin-bottom: 0; }
.rejoin-form__field label {
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 0.4rem;
}
.rejoin-form__field input[type=text],
.rejoin-form__field input[type=email],
.rejoin-form__field input[type=tel],
.rejoin-form__field input[type=file],
.rejoin-form__field textarea {
    font-family: var(--font-title);
    font-size: 0.85rem;
    padding: 0.85rem 1rem;
    background: var(--light);
    border: 1px solid rgba(30, 54, 65, 0.1);
    color: var(--ink);
    transition: all 0.25s;
    width: 100%;
    border-radius: 0;
}
.rejoin-form__field input:focus,
.rejoin-form__field textarea:focus {
    outline: none;
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(238, 46, 82, 0.08);
}
.rejoin-form__field textarea {
    resize: vertical;
    min-height: 110px;
    font-family: var(--font-body);
}
.rejoin-form__actions { margin-top: 1.6rem; }
.rejoin-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red);
    border: none;
    padding: 1.15rem 2.4rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px -10px rgba(238, 46, 82, 0.45);
}
.rejoin-form__submit:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -12px rgba(238, 46, 82, 0.55);
}
.rejoin-form__legal {
    margin-top: 1.4rem;
    font-family: var(--font-title);
    font-size: 0.62rem;
    color: var(--blue-grey);
    line-height: 1.5;
}
.rejoin-form__legal a {
    color: var(--red);
    text-decoration: none;
    border-bottom: 1px solid rgba(238, 46, 82, 0.3);
}

/* =============================================
   2. DEVENIR PARTENAIRE (Fiche RSE)
============================================= */
.rejoin-section--partenaire {
    background: var(--white);
    padding: 6rem 5vw 4rem;
}

/* 3 étapes */
.rejoin-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1180px;
    margin: 0 auto 5rem;
    position: relative;
}
.rejoin-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 1px;
    background: repeating-linear-gradient(to right, rgba(238, 46, 82, 0.25) 0, rgba(238, 46, 82, 0.25) 8px, transparent 8px, transparent 16px);
    z-index: 0;
}
.rejoin-step {
    position: relative;
    padding: 2rem 1.5rem 1.8rem;
    background: var(--white);
    border: 1px solid rgba(30, 54, 65, 0.08);
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.rejoin-step:hover {
    transform: translateY(-4px);
    border-color: var(--red);
    box-shadow: 0 25px 60px -30px rgba(30, 54, 65, 0.25);
}
.rejoin-step__num {
    position: absolute;
    top: -18px;
    left: 24px;
    width: 52px;
    height: 52px;
    background: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 900;
    box-shadow: 0 10px 25px -10px rgba(238, 46, 82, 0.55);
}
.rejoin-step__title {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
    margin: 1.4rem 0 0.8rem;
    letter-spacing: -0.005em;
}
.rejoin-step__text {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--blue-grey);
    margin: 0;
}

/* 6 bénéfices */
.rejoin-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1180px;
    margin: 0 auto 5rem;
}
.rejoin-benefit {
    padding: 1.6rem 1.4rem;
    background: var(--light);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.rejoin-benefit::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -20px;
    width: 80px;
    height: 3px;
    background: var(--red);
    opacity: 0.25;
    transform: rotate(-22deg);
    transform-origin: right center;
    transition: all 0.4s;
}
.rejoin-benefit:hover {
    background: var(--white);
    box-shadow: 0 15px 40px -20px rgba(30, 54, 65, 0.15);
    transform: translateY(-3px);
}
.rejoin-benefit:hover::before {
    opacity: 0.5;
    width: 110px;
}
.rejoin-benefit__title {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 0.4rem;
}
.rejoin-benefit p {
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--blue-grey);
    margin: 0;
}

/* Leviers d'action */
.rejoin-leviers {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    max-width: 1180px;
    margin: 0 auto 4rem;
    padding: 3rem 3rem;
    background: var(--ink-soft);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.rejoin-leviers::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(238, 46, 82, 0.12), transparent 65%);
    pointer-events: none;
}
.rejoin-leviers::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 8%;
    width: 4px;
    height: 80px;
    background: var(--red);
    opacity: 0.3;
    transform: rotate(-18deg);
    transform-origin: bottom center;
}
.rejoin-leviers__left {
    position: relative;
    z-index: 1;
}
.rejoin-leviers__left .rejoin-subtitle {
    color: var(--white);
    border-bottom-color: var(--red);
}
.rejoin-leviers__left p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    margin: 1.2rem 0 0;
}
.rejoin-leviers__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
    position: relative;
    z-index: 1;
}
.rejoin-leviers__list li {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.8rem 0 0.8rem 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    transition: color 0.25s, padding-left 0.3s;
}
.rejoin-leviers__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 2px;
    background: var(--red);
    transition: width 0.3s;
}
.rejoin-leviers__list li:hover {
    color: var(--white);
    padding-left: 1.6rem;
}
.rejoin-leviers__list li:hover::before { width: 14px; }

/* Défiscalisation highlight */
.rejoin-fiscal {
    max-width: 820px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, rgba(238, 46, 82, 0.06) 0%, rgba(238, 46, 82, 0.01) 100%);
    position: relative;
    overflow: hidden;
}
.rejoin-fiscal::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -30px;
    width: 200px;
    height: 4px;
    background: var(--red);
    opacity: 0.2;
    transform: rotate(-22deg);
    transform-origin: right center;
    pointer-events: none;
}
.rejoin-fiscal::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 20%;
    width: 140px;
    height: 3px;
    background: var(--red);
    opacity: 0.15;
    transform: rotate(-22deg);
    pointer-events: none;
}
.rejoin-fiscal__num {
    font-family: var(--font-title);
    font-size: clamp(4rem, 10vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    color: var(--red);
    letter-spacing: -0.03em;
}
.rejoin-fiscal__num span { font-size: 0.5em; vertical-align: super; }
.rejoin-fiscal__text strong {
    display: block;
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 0.4rem;
}
.rejoin-fiscal__text p {
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--blue-grey);
    margin: 0;
}


/* =============================================
   3. CHALLENGE EAU — navy + red
============================================= */
.rejoin-section--challenge {
    background: var(--ink-soft);
    padding: 5rem 5vw 4rem;
    position: relative;
    overflow: hidden;
}
.rejoin-section--challenge::before {
    content: '';
    position: absolute;
    top: 15%;
    right: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(238, 46, 82, 0.14), transparent 65%);
    pointer-events: none;
}
.rejoin-challenge-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1180px;
    margin: 0 auto 3.5rem;
    position: relative;
    z-index: 1;
}
.rejoin-challenge-highlight {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 1.8rem 2rem;
    position: relative;
    transition: all 0.3s;
}
.rejoin-challenge-highlight:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(238, 46, 82, 0.3);
    transform: translateY(-4px);
}
.rejoin-challenge-highlight__num {
    position: absolute;
    top: -20px;
    left: 24px;
    padding: 0.7rem 1rem;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    box-shadow: 0 10px 25px -10px rgba(238, 46, 82, 0.55);
}
.rejoin-challenge-highlight h4 {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    margin: 1.2rem 0 0.6rem;
    letter-spacing: -0.005em;
}
.rejoin-challenge-highlight p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* =============================================
   4. ORGANISER UNE COLLECTE
============================================= */
.rejoin-section--collecte {
    background: var(--light);
    padding: 6rem 5vw 4rem;
}
.rejoin-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    max-width: 1180px;
    margin: 0 auto 3rem;
}
.rejoin-card {
    background: var(--white);
    padding: 2.2rem 1.8rem 2.4rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.rejoin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--red);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.rejoin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px -30px rgba(30, 54, 65, 0.2);
}
.rejoin-card:hover::before { width: 100%; }
.rejoin-card h3 {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 0.8rem;
    letter-spacing: -0.005em;
}
.rejoin-card p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--blue-grey);
    margin: 0;
}

/* =============================================
   Offres section base
============================================= */
.rejoin-section--offres {
    background: var(--white);
    padding: 5rem 5vw 5rem;
}
.rejoin-section--offres .rejoin-section__inner {
    max-width: 1280px;
    margin: 0 auto;
}

/* =============================================
   CTA blocks
============================================= */
.rejoin-cta {
    text-align: center;
    margin-top: 2rem;
    padding: 1.8rem 2rem;
    position: relative;
    z-index: 2;
    background: rgba(30, 54, 65, 0.025);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.2rem 1.8rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.rejoin-cta--light {
    background: rgba(255, 255, 255, 0.05);
}
.rejoin-cta p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--blue-grey);
    margin: 0;
    flex: 1 1 100%;
    text-align: center;
}
.rejoin-cta--light p { color: rgba(255, 255, 255, 0.6); }
.rejoin-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red);
    padding: 1.2rem 2.4rem;
    text-decoration: none;
    border: none; /* le declencheur de la modale partenariat est un <button> */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px -10px rgba(238, 46, 82, 0.45);
}
/* La fleche du bouton : sans cette contrainte le SVG n a aucune taille et
   remplit le bloc entier (bouton geant constate le 19/08). */
.rejoin-cta .btn-primary svg { width: 14px; height: 14px; flex: none; }
.rejoin-cta .btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -12px rgba(238, 46, 82, 0.55);
}

/* =============================================
   Responsive
============================================= */
@media (max-width: 1024px) {
    .rejoin-candidature__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .rejoin-steps, .rejoin-benefits, .rejoin-cards, .rejoin-challenge-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    .rejoin-leviers { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 2rem; }
    .rejoin-leviers__list { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .rejoin-candidature { padding: 4rem 5vw 4.5rem; }
    .rejoin-candidature__intro .big-title { font-size: clamp(1.7rem, 8vw, 2.2rem); }
    .rejoin-candidature__highlights { gap: 1.5rem; }
    .rejoin-candidature__num { font-size: 1.8rem; }
    .rejoin-candidature__form-wrap { padding: 2rem 1.5rem 2.4rem; }
    .rejoin-form__row { grid-template-columns: 1fr; gap: 0; }
    .rejoin-form__row .rejoin-form__field { margin-bottom: 1rem; }

    .rejoin-section--partenaire,
    .rejoin-section--collecte,
    .rejoin-section--offres { padding: 4rem 5vw 4.5rem; }
    .rejoin-section--challenge { padding: 4rem 5vw 4.5rem; }
    .rejoin-section__header { margin-bottom: 2.5rem; }
    .rejoin-section__header .big-title { font-size: clamp(1.6rem, 8vw, 2.4rem); }
    .rejoin-section__header .big-title .it { font-size: 0.42em; }

    .rejoin-steps, .rejoin-benefits, .rejoin-cards, .rejoin-challenge-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .rejoin-steps::before { display: none; }
    .rejoin-fiscal {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 1.8rem;
        text-align: center;
    }
    .rejoin-fiscal__num { font-size: 4rem; }
}

/* =============================================
   REJOIGNEZ — Offres d'emploi cards (restored)
============================================= */
.rejoin-offres {
    max-width: 1180px;
    margin: 0 auto 2rem;
}
.rejoin-offres__title {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 2rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid var(--red);
    display: inline-block;
}
.rejoin-offres__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.rejoin-offres--empty {
    text-align: center;
    padding: 2rem;
    background: var(--light);
    font-family: var(--font-body);
    color: var(--blue-grey);
    font-style: italic;
}
.rejoin-offre {
    aspect-ratio: 4 / 5;
    background: var(--white);
    border: 1px solid rgba(30, 54, 65, 0.1);
    text-decoration: none;
    color: inherit;
    padding: 1.8rem 1.6rem 1.6rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 10px 10px 0 0 rgba(238, 46, 82, 0.08);
}
.rejoin-offre__excerpt {
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(30, 54, 65, 0.77);
    margin: 0 0 1rem;
}
.rejoin-offre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.rejoin-offre:hover {
    transform: translate(-4px, -4px);
    border-color: rgba(238, 46, 82, 0.3);
    box-shadow: 14px 14px 0 0 rgba(238, 46, 82, 0.15), 0 30px 60px -30px rgba(30, 54, 65, 0.2);
}
.rejoin-offre:hover::before { transform: scaleX(1); }

.rejoin-offre__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}
.rejoin-offre__contrat {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red);
    padding: 0.45rem 0.9rem;
}
.rejoin-offre__tag {
    font-family: var(--font-title);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-grey);
}
.rejoin-offre__title {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--ink);
    margin: 0 0 1.2rem;
    letter-spacing: -0.005em;
    transition: color 0.3s;
}
.rejoin-offre:hover .rejoin-offre__title { color: var(--red); }
.rejoin-offre__meta {
    margin-top: auto;
    margin-bottom: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(30, 54, 65, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.rejoin-offre__meta-row {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.rejoin-offre__meta-label {
    font-family: var(--font-title);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-grey);
}
.rejoin-offre__meta-value {
    font-family: var(--font-title);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink);
}
.rejoin-offre__arrow {
    font-family: var(--font-title);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.3s;
}
.rejoin-offre:hover .rejoin-offre__arrow { gap: 0.7rem; }
.rejoin-offre__arrow svg { transition: transform 0.3s; }
.rejoin-offre:hover .rejoin-offre__arrow svg { transform: translateX(3px); }

@media (max-width: 1024px) {
    .rejoin-offres__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .rejoin-offres__grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .rejoin-offre { aspect-ratio: auto; min-height: auto; }
}

/* =============================================
   REJOIGNEZ — Hero + Sub-nav (restored)
============================================= */
.rejoin-hero {
    position: relative;
    background: var(--ink-soft);
    overflow: hidden;
    padding: 6rem 5vw 5rem;
    min-height: 460px;
    display: flex;
    align-items: center;
}
.rejoin-hero__bg {
    position: absolute;
    inset: 0;
    background: url('img/legal-hero.jpg') center 40%/cover no-repeat;
    z-index: 0;
}
.rejoin-hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Le bleu courant du site (--ink-soft), aligne sur les heros des fiches
       pays et projets. L ancien voile utilisait --ink et un halo rouge. */
    background: linear-gradient(
        to right,
        var(--ink-soft) 28%,
        rgba(48, 81, 106, 0.88) 48%,
        rgba(48, 81, 106, 0.5) 75%,
        rgba(48, 81, 106, 0.2) 100%
    );
}
.rejoin-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 100%;
}
.rejoin-hero__eyebrow {
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin: 1.5rem 0 1rem;
}
.rejoin-hero__title {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--white);
    text-transform: uppercase;
    margin: 0 0 1.4rem 0;
}
.rejoin-hero__title .accent { color: var(--red); }
.rejoin-hero__sub {
    font-family: var(--font-body);
    font-style: italic;
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 640px;
    margin: 0;
}

/* ----- SUB-NAV ----- */
.hamap-rejoignez .subnav {
    background: var(--white);
    border-bottom: 1px solid rgba(30, 54, 65, 0.08);
    position: sticky;
    top: 0;
    z-index: 800;
    transition: box-shadow 0.3s;
}
.hamap-rejoignez .subnav.shadowed {
    box-shadow: 0 4px 30px -10px rgba(30, 54, 65, 0.15);
}
.hamap-rejoignez .subnav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.hamap-rejoignez .subnav-inner::-webkit-scrollbar { display: none; }
.hamap-rejoignez .subnav-link {
    flex: 0 0 auto;
    padding: 1.4rem 1.4rem;
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-grey);
    text-decoration: none;
    position: relative;
    transition: color 0.25s;
    white-space: nowrap;
}
.hamap-rejoignez .subnav-link:hover { color: var(--ink); }
.hamap-rejoignez .subnav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.4rem;
    right: 1.4rem;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hamap-rejoignez .subnav-link.active { color: var(--ink); }
.hamap-rejoignez .subnav-link.active::after { transform: scaleX(1); }

.hamap-rejoignez .main { background: var(--white); }

@media (max-width: 767px) {
    .rejoin-hero {
        padding: 4.5rem 5vw 3.5rem;
        min-height: 380px;
    }
    .rejoin-hero__title { font-size: clamp(2rem, 10vw, 3rem); }
    .rejoin-hero__sub { font-size: 0.9rem; }
    .hamap-rejoignez .subnav-link { padding: 1.1rem 1rem; font-size: 0.62rem; }
    .hamap-rejoignez .subnav-link::after { left: 1rem; right: 1rem; }
}

/* =============================================
   Custom file input — french label + styled
============================================= */
.rejoin-form__file {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.rejoin-form__file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    clip: rect(0 0 0 0);
}
.rejoin-form__file-input:focus + .rejoin-form__file-btn {
    box-shadow: 0 0 0 3px rgba(238, 46, 82, 0.18);
}
.rejoin-form__file-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--white);
    border: 1.5px solid rgba(30, 54, 65, 0.2);
    padding: 0.75rem 1.1rem;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
}
.rejoin-form__file-btn:hover {
    border-color: var(--red);
    color: var(--red);
}
.rejoin-form__file-btn svg {
    flex-shrink: 0;
    transition: transform 0.3s;
}
.rejoin-form__file-btn:hover svg {
    transform: rotate(-18deg);
}
.rejoin-form__file-name {
    font-family: var(--font-title);
    font-size: 0.72rem;
    color: var(--blue-grey);
    font-style: italic;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rejoin-form__file-name.has-file {
    color: var(--ink);
    font-style: normal;
    font-weight: 600;
}

/* =============================================
   REJOIGNEZ — Photo frame (pink offset style nous-connaitre)
============================================= */
.rejoin-candidature__photo {
    margin: 2rem 0 2.5rem;
    max-width: 440px;
}
.rejoin-candidature__photo-inner {
    position: relative;
    overflow: visible;
}
.rejoin-candidature__photo-inner::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 14px;
    width: 100%;
    height: 100%;
    background: var(--red);
    opacity: 0.18;
    z-index: 0;
}
.rejoin-candidature__photo-inner img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
.rejoin-candidature__photo-caption {
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.65);
    margin: 1rem 0 0;
    line-height: 1.6;
}
.rejoin-candidature__photo-caption strong {
    color: var(--red-bright);
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.68rem;
    margin-right: 0.3rem;
}

@media (max-width: 767px) {
    .rejoin-candidature__photo { margin: 1.5rem 0 2rem; max-width: 100%; }
}

/* =============================================
   REJOIGNEZ — Photos dans sections partenaire / challenge / collecte
============================================= */

/* ----- Partenaire : photo + citation côte à côte ----- */
.rejoin-quote-wrap {
    max-width: 1100px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
}
.rejoin-quote-photo {
    position: relative;
}
.rejoin-quote-photo__inner {
    position: relative;
    overflow: visible;
}
.rejoin-quote-photo__inner::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 14px;
    width: 100%;
    height: 100%;
    background: var(--red);
    opacity: 0.15;
    z-index: 0;
}
.rejoin-quote-photo__inner img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}
.rejoin-quote-photo__caption {
    font-family: var(--font-title);
    font-size: 0.68rem;
    font-style: italic;
    color: var(--blue-grey);
    margin: 1.2rem 0 0;
    line-height: 1.6;
}
.rejoin-quote-photo__caption strong {
    color: var(--red);
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.7rem;
    margin-right: 0.3rem;
}

/* ----- Challenge Eau : photo en split avant les steps ----- */
.rejoin-challenge-photo {
    max-width: 1100px;
    margin: 0 auto 3.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem 2rem;
    align-items: end;
}
.rejoin-challenge-photo__inner {
    position: relative;
    overflow: visible;
    grid-row: 1;
}
.rejoin-challenge-photo__inner::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 14px;
    width: 100%;
    height: 100%;
    background: var(--red);
    opacity: 0.22;
    z-index: 0;
}
.rejoin-challenge-photo__inner img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    display: block;
}
.rejoin-challenge-photo__caption {
    grid-column: 1 / -1;
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
    padding-left: 14px;
}
.rejoin-challenge-photo__caption strong {
    color: var(--red-bright);
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.72rem;
    margin-right: 0.3rem;
}

/* ----- Collecte : photo + cards split ----- */
.rejoin-collecte-split {
    max-width: 1180px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: center;
}
.rejoin-collecte-photo {
    position: relative;
}
.rejoin-collecte-photo__inner {
    position: relative;
    overflow: visible;
}
.rejoin-collecte-photo__inner::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 14px;
    width: 100%;
    height: 100%;
    background: var(--red);
    opacity: 0.15;
    z-index: 0;
}
.rejoin-collecte-photo__inner img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}
.rejoin-collecte-photo__caption {
    font-family: var(--font-title);
    font-size: 0.68rem;
    font-style: italic;
    color: var(--blue-grey);
    margin: 1.2rem 0 0;
    line-height: 1.6;
}
.rejoin-collecte-photo__caption strong {
    color: var(--red);
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.7rem;
    margin-right: 0.3rem;
}
.rejoin-cards--stack {
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .rejoin-quote-wrap, .rejoin-collecte-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .rejoin-collecte-photo { position: static; }
    .rejoin-quote-photo__inner img,
    .rejoin-collecte-photo__inner img {
        aspect-ratio: 16 / 10;
    }
    .rejoin-challenge-photo__inner img {
        aspect-ratio: 16 / 9;
    }
}
@media (max-width: 767px) {
    .rejoin-quote-photo__inner::before,
    .rejoin-challenge-photo__inner::before,
    .rejoin-collecte-photo__inner::before {
        top: 8px; left: 8px;
    }
}

/* =============================================
   SOUTENEZ-NOUS PAGE (v1 — 10 avril 2026)
============================================= */

/* HERO */
.stz-hero { background: var(--ink-soft); position: relative; overflow: hidden; padding: 6rem 3vw 5rem; min-height: 420px; }
.stz-hero__bg { position: absolute; inset: 0; background: url('img/hist-comores.png') center 40%/cover no-repeat; }
.stz-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, var(--ink-soft) 25%, rgba(48,81,106,0.55) 55%, rgba(48,81,106,0.25) 100%); }
.stz-hero::before { content: ''; position: absolute; top: -30%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(238,46,82,0.08), transparent 65%); pointer-events: none; z-index: 1; }
.stz-hero::after { content: ''; position: absolute; bottom: 0; left: 10%; width: 5px; height: 120px; background: var(--red); opacity: 0.15; transform: rotate(-18deg); transform-origin: bottom center; z-index: 1; }
.stz-hero__inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.stz-hero h1 { font-family: var(--font-title); font-size: calc(clamp(2.8rem, 8.5vw, 5.5rem) * var(--fs-hero-scale)); font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; color: var(--white); line-height: 0.9; margin-bottom: 1rem; opacity: 0; animation: fadeUp 0.8s 0.2s ease forwards; }
.stz-hero h1 .accent { color: var(--red); }
.stz-hero__sub { font-family: var(--font-body); font-style: italic; font-size: clamp(0.9rem, 2vw, 1.15rem); color: rgba(255,255,255,0.65); max-width: 500px; line-height: 1.6; opacity: 0; animation: fadeUp 0.8s 0.4s ease forwards; }
.stz-hero__stats { display: flex; gap: 3rem; margin-top: 2.5rem; opacity: 0; animation: fadeUp 0.8s 0.6s ease forwards; }
.stz-hero__stat-num { font-family: var(--font-title); font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 900; color: var(--red); line-height: 1; }
.stz-hero__stat-label { font-family: var(--font-title); font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.55); margin-top: 0.3rem; }

/* PARTICULIER — don cards */
.stz-particulier { background: var(--white); }
.stz-don-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.5rem 0 3.5rem; }
.stz-don-card { position: relative; padding: 2.5rem 2rem 2rem; background: var(--light); transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; }
.stz-don-card:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(30,54,65,0.06); }
.stz-don-card::before { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--red); transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.stz-don-card:hover::before { width: 100%; }
.stz-don-card--featured { background: var(--ink-soft); color: var(--white); }
.stz-don-card--featured .stz-don-card__desc { color: rgba(255,255,255,0.75); }
.stz-don-card__amount { font-family: var(--font-title); font-size: calc((clamp(2.5rem, 6vw, 3.5rem)) * var(--fs-num-scale)); font-weight: 900; line-height: 1; margin-bottom: 0.3rem; }
.stz-don-card__amount span { font-size: 0.4em; vertical-align: super; color: var(--blue-grey); }
.stz-don-card--featured .stz-don-card__amount { color: var(--red); }
.stz-don-card--featured .stz-don-card__amount span { color: rgba(255,255,255,0.55); }
/* Symbole monetaire place avant le nombre (anglais) : il fait partie du montant et se
   lit sur la ligne, alors qu'en suffixe il reste une mention discrete en exposant. */
.stz-don-card__amount .stz-cur--avant,
.stz-don-card--featured .stz-don-card__amount .stz-cur--avant { font-size: 0.6em; vertical-align: baseline; color: inherit; margin-right: 0.04em; }
.stz-don-card__after { font-family: var(--font-title); font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-grey); margin-bottom: 1rem; }
.stz-don-card--featured .stz-don-card__after { color: rgba(255,255,255,0.6); }
.stz-don-card__desc { font-size: 0.85rem; line-height: 1.7; color: rgba(30,54,65,0.72); }
.stz-don-card__impact { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(30,54,65,0.06); font-family: var(--font-title); font-size: 0.7rem; font-weight: 700; color: var(--red); }
.stz-don-card--featured .stz-don-card__impact { border-top-color: rgba(255,255,255,0.08); }
.stz-don-cta { text-align: center; padding: 2.5rem 0; margin-bottom: 3.5rem; position: relative; }
.stz-don-cta::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 2px; background: var(--red); opacity: 0.3; }

/* Defiscalisation */
.stz-defisc { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center; padding: 2.5rem; background: var(--light); position: relative; overflow: hidden; }
.stz-defisc::after { content: ''; position: absolute; top: -20px; right: -10px; width: 3px; height: 100px; background: var(--red); opacity: 0.12; transform: rotate(-18deg); }
.stz-defisc__number { font-family: var(--font-title); font-size: calc((clamp(3rem, 10vw, 5rem)) * var(--fs-num-scale)); font-weight: 900; color: var(--red); line-height: 0.9; }
.stz-defisc__number span { font-size: 0.35em; display: block; color: var(--ink); margin-top: 0.2em; }
.stz-defisc__text { font-size: 0.9rem; line-height: 1.8; color: rgba(30,54,65,0.72); }
.stz-defisc__text strong { color: var(--ink); }
.stz-defisc__example { margin-top: 0.8rem; padding: 0.8rem 1.2rem; background: var(--white); font-family: var(--font-title); font-size: 0.75rem; font-weight: 600; color: var(--ink); }

/* AU-DELA DU DON — navy slider */
.stz-soutien { background: var(--ink-soft); position: relative; overflow: hidden; }
.stz-soutien-slider-wrap { position: relative; overflow: hidden; margin: 0 -3vw; padding: 0 3vw; }
.stz-soutien-slider { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 1rem 0 2rem; }
.stz-soutien-slider::-webkit-scrollbar { display: none; }
.stz-soutien-card { flex: 0 0 300px; scroll-snap-align: start; padding: 2.5rem 2rem 2rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); position: relative; overflow: hidden; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s, border-color 0.4s; opacity: 0; transform: translateY(30px); }
.stz-soutien-card.slide-in { opacity: 1; transform: translateY(0); }
.stz-soutien-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.07); border-color: rgba(238,46,82,0.15); }
.stz-soutien-card::before { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--red); transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.stz-soutien-card:hover::before { width: 100%; }
.stz-soutien-card__num { font-family: var(--font-title); font-size: 0.7rem; font-weight: 900; color: var(--white); width: 32px; height: 32px; background: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.stz-soutien-card:hover .stz-soutien-card__num { transform: scale(1.1); }
.stz-soutien-card__title { font-family: var(--font-title); font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--white); margin-bottom: 0.8rem; }
.stz-soutien-card__text { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.65); }
.stz-soutien-nav { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.stz-soutien-nav__btn { width: 44px; height: 44px; border: 1.5px solid rgba(255,255,255,0.12); background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.stz-soutien-nav__btn:hover { border-color: var(--red); }
.stz-soutien-nav__btn svg { width: 16px; height: 16px; stroke: rgba(255,255,255,0.5); transition: stroke 0.3s; }
.stz-soutien-nav__btn:hover svg { stroke: var(--red); }
.stz-soutien-dots { display: flex; gap: 6px; align-items: center; margin-left: 1rem; }
.stz-soutien-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); transition: all 0.3s; cursor: pointer; }
.stz-soutien-dot.active { background: var(--red); width: 24px; border-radius: 4px; }

/* ENTREPRISE — fond clair */
.stz-entreprise { background: var(--light); }
.stz-ent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; margin-bottom: 3.5rem; }
.stz-ent-leviers { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.stz-ent-levier { padding: 1.2rem 1.5rem; background: var(--white); box-shadow: 0 8px 25px rgba(30,54,65,0.04); transition: transform 0.3s, box-shadow 0.3s; position: relative; }
.stz-ent-levier:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(30,54,65,0.08); }
.stz-ent-levier::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--red); transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.stz-ent-levier:hover::after { width: 100%; }
.stz-ent-levier__title { font-family: var(--font-title); font-size: 0.75rem; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: 0.04em; }
.stz-ent-levier__text { font-size: 0.8rem; line-height: 1.6; color: rgba(30,54,65,0.62); margin-top: 0.3rem; }

.stz-ent-photo__inner { position: relative; }
.stz-ent-photo__inner::before { content: ''; position: absolute; top: 14px; left: 14px; width: 100%; height: 100%; background: var(--red); opacity: 0.1; z-index: 0; }
.stz-ent-photo__inner img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.stz-ent-photo__caption { margin-top: 0.8rem; font-family: var(--font-title); font-size: 0.65rem; font-style: italic; color: var(--blue-grey); }
.stz-ent-photo__caption strong { color: var(--red); font-weight: 700; font-style: normal; text-transform: uppercase; letter-spacing: 0.04em; }

/* 3 étapes (transposé homepage RSE) */
.stz-ent-steps { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.5rem; }
.stz-ent-step { padding: 1.5rem 1.6rem; background: var(--white); box-shadow: 0 8px 25px rgba(30,54,65,0.04); position: relative; }
.stz-ent-step::before { content: ''; position: absolute; top: 0; left: 0; width: 32px; height: 3px; background: var(--red); }
.stz-ent-step__num { font-family: var(--font-title); font-weight: 900; font-size: 2.2rem; color: var(--red); opacity: 0.18; line-height: 1; margin-bottom: 0.4rem; }
.stz-ent-step__title { font-family: var(--font-title); font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.stz-ent-step__desc { font-family: var(--font-body); font-size: 0.85rem; line-height: 1.65; color: rgba(30,54,65,0.77); }
@media (min-width: 768px) { .stz-ent-steps { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; } }

.stz-ent-defisc { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; padding: 2rem; background: var(--white); box-shadow: 0 8px 25px rgba(30,54,65,0.04); margin: 3rem 0 2.5rem; position: relative; overflow: hidden; }
.stz-ent-defisc::after { content: ''; position: absolute; top: -15px; right: -8px; width: 3px; height: 80px; background: var(--red); opacity: 0.12; transform: rotate(-18deg); }
.stz-ent-defisc__number { font-family: var(--font-title); font-size: calc((clamp(2.5rem, 8vw, 4rem)) * var(--fs-num-scale)); font-weight: 900; color: var(--red); line-height: 1; }
.stz-ent-defisc__text { font-size: 0.85rem; line-height: 1.7; color: rgba(30,54,65,0.72); }
.stz-ent-defisc__text strong { color: var(--ink); }

.stz-ent-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Partenaires — auto-scroll logos */
.stz-ent-partenaires { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(30,54,65,0.06); overflow: hidden; position: relative; }
.stz-ent-partenaires::before, .stz-ent-partenaires::after { content: ''; position: absolute; top: 2.5rem; bottom: 0; width: 100px; z-index: 2; pointer-events: none; }
.stz-ent-partenaires::before { left: 0; background: linear-gradient(to right, var(--light), transparent); }
.stz-ent-partenaires::after { right: 0; background: linear-gradient(to left, var(--light), transparent); }
.stz-ent-partenaires__label { font-family: var(--font-title); font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--red); margin-bottom: 1.5rem; position: relative; z-index: 3; }
.stz-ent-partenaires__track { display: flex; gap: 4rem; align-items: center; width: max-content; will-change: transform; }
.stz-ent-partenaires__logo { height: 32px; width: auto; filter: grayscale(1) opacity(0.45); transition: filter 0.4s ease; flex-shrink: 0; }
.stz-ent-partenaires__logo:hover { filter: grayscale(0) opacity(1); }

/* COLLECTIVITÉ */
.stz-collectivite { background: var(--white); }
.stz-coll-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin-bottom: 4rem; }
.stz-coll-badge { display: inline-flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; background: var(--light); margin-bottom: 1.5rem; }
.stz-coll-badge__num { font-family: var(--font-title); font-size: 2rem; font-weight: 900; color: var(--red); line-height: 1; }
.stz-coll-badge__text { font-family: var(--font-title); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); }
.stz-coll-badge__sub { font-weight: 500; font-size: 0.65rem; color: var(--blue-grey); display: block; margin-top: 0.15rem; }

.stz-coll-photo__inner { position: relative; }
.stz-coll-photo__inner::before { content: ''; position: absolute; top: 14px; left: 14px; width: 100%; height: 100%; background: var(--red); opacity: 0.1; z-index: 0; }
.stz-coll-photo__inner img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.stz-coll-photo__caption { margin-top: 0.8rem; font-family: var(--font-title); font-size: 0.65rem; font-style: italic; color: var(--blue-grey); }
.stz-coll-photo__caption strong { color: var(--red); font-weight: 700; font-style: normal; text-transform: uppercase; letter-spacing: 0.04em; }

.stz-coll-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 4rem; }
.stz-coll-service { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; background: var(--light); transition: transform 0.3s, box-shadow 0.3s; }
.stz-coll-service:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(30,54,65,0.06); }
.stz-coll-service__icon { width: 28px; height: 28px; flex-shrink: 0; color: var(--red); margin-top: 0.1rem; }
.stz-coll-service__icon svg { width: 28px; height: 28px; }
.stz-coll-service__title { font-family: var(--font-title); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.3rem; }
.stz-coll-service__text { font-size: 0.82rem; line-height: 1.7; color: rgba(30,54,65,0.72); }

.stz-coll-temoignage { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding: 3rem; background: var(--light); position: relative; overflow: hidden; }
.stz-coll-temoignage::after { content: ''; position: absolute; top: -20px; right: -5px; width: 3px; height: 100px; background: var(--red); opacity: 0.1; transform: rotate(-18deg); }
.stz-coll-temoignage__project { font-family: var(--font-title); font-size: 0.78rem; font-weight: 600; color: var(--ink); margin-bottom: 0.8rem; }
.stz-coll-temoignage__desc { font-size: 0.85rem; line-height: 1.7; color: rgba(30,54,65,0.72); }
.stz-coll-temoignage__stats { display: flex; gap: 2rem; margin-top: 1.2rem; }
.stz-coll-temoignage__stat-num { font-family: var(--font-title); font-size: 1.6rem; font-weight: 900; color: var(--red); line-height: 1; }
.stz-coll-temoignage__stat-label { font-family: var(--font-title); font-size: 0.55rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(30,54,65,0.3); margin-top: 0.2rem; }

.stz-coll-confiance { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(30,54,65,0.06); }
.stz-coll-confiance__label { font-family: var(--font-title); font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--red); margin-bottom: 1.2rem; }
.stz-coll-confiance__list { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; }
.stz-coll-confiance__list span { font-family: var(--font-title); font-size: 0.75rem; font-weight: 600; color: rgba(30,54,65,0.35); transition: color 0.3s; }
.stz-coll-confiance__list span:hover { color: var(--ink); }

/* ============================================
   RSE BLOCK (copié depuis homepage)
============================================ */
.rse-block { max-width: 900px; margin: 3.5rem auto 0; padding-top: 3rem; border-top: 1px solid rgba(30,54,65,0.08); }
@media (min-width: 768px) { .rse-block { margin-top: 4.5rem; padding-top: 4rem; } }
.rse__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.rse__step { text-align: center; padding: 1.5rem 1rem; position: relative; }
.rse__step-num { font-family: var(--font-title); font-weight: 900; font-size: 2rem; color: var(--red); line-height: 1; margin-bottom: 0.5rem; }
.rse__step-title { font-family: var(--font-title); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; color: var(--ink); }
.rse__step-desc { font-size: calc((0.8rem) * var(--fs-text-scale)); color: var(--blue-grey); line-height: 1.6; }
.rse__step:not(:last-child)::after { content: ''; position: absolute; top: 2rem; right: -0.75rem; width: 1.5rem; height: 2px; background: var(--red); opacity: 0.2; }
.rse__leviers-title { font-family: var(--font-title); font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 1.5rem; text-align: center; }
.rse__leviers-wrapper { overflow: hidden; position: relative; }
.rse__leviers-wrapper::before, .rse__leviers-wrapper::after { content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.rse__leviers-wrapper::before { left: 0; background: linear-gradient(to right, var(--light), transparent); }
.rse__leviers-wrapper::after { right: 0; background: linear-gradient(to left, var(--light), transparent); }
.rse__leviers-grid { display: flex; gap: 0; width: max-content; animation: levierScroll 20s linear infinite; }
.rse__leviers-grid:hover { animation-play-state: paused; }
@keyframes levierScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.rse__levier { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.6rem; min-width: 150px; flex-shrink: 0; padding: 1.2rem 1rem; position: relative; transition: transform 0.3s ease; }
.rse__levier::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--red); transform: translateX(-50%) skewX(-20deg); transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.rse__levier:hover::after { width: 70%; }
.rse__levier:hover { transform: translateY(-3px); }
.rse__levier-icon { width: 28px; height: 28px; color: var(--red); flex-shrink: 0; }
.rse__levier-label { font-family: var(--font-title); font-size: 0.72rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.rse__fiscal { font-family: var(--font-title); font-size: clamp(0.55rem, 2.5vw, 0.8rem); color: var(--blue-grey); margin-top: 1.5rem; text-align: center; white-space: nowrap; }
.rse__fiscal strong { color: var(--red); font-weight: 800; }
@media (max-width: 767px) {
    .rse__steps { grid-template-columns: 1fr; gap: 1rem; }
    .rse__step { text-align: left; padding: 1rem 0; display: flex; gap: 1rem; align-items: flex-start; }
    .rse__step-num { font-size: 1.5rem; flex-shrink: 0; width: 2rem; }
    .rse__step:not(:last-child)::after { display: none; }
    .rse__leviers-grid { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .rse__leviers-grid::-webkit-scrollbar { display: none; }
    .rse__levier { min-width: 38vw; scroll-snap-align: center; padding: 0.6rem 0.4rem; gap: 0.3rem; }
}

/* CHALLENGE EAU (sub-section dans Collectivité) */
.stz-challenge { border-top: 1px solid rgba(30,54,65,0.08); padding-top: 3rem; }
.stz-challenge__chiffres { display: flex; gap: 2rem; align-items: center; margin: 1.5rem 0; flex-wrap: wrap; }
.stz-challenge__chiffre { text-align: left; }
.stz-challenge__num { font-family: var(--font-title); font-weight: 900; font-size: clamp(2rem, 6vw, 3rem); color: var(--red); line-height: 1; display: block; }
.stz-challenge__label { font-family: var(--font-title); font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-grey); margin-top: 0.4rem; display: block; line-height: 1.4; }
.stz-challenge__sep { font-family: var(--font-body); font-style: italic; font-size: 1rem; color: var(--blue-grey); opacity: 0.6; }
.stz-challenge__cards { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
.stz-challenge__card { display: block; padding: 1.5rem 1.6rem; background: var(--white); box-shadow: 0 8px 25px rgba(30,54,65,0.05); text-decoration: none; color: var(--ink); position: relative; transition: transform 0.3s, box-shadow 0.3s; border-left: 3px solid transparent; }
.stz-challenge__card:hover { transform: translateY(-2px); box-shadow: 0 14px 35px rgba(30,54,65,0.1); border-left-color: var(--red); }
.stz-challenge__card-title { font-family: var(--font-title); font-weight: 800; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.6rem; }
.stz-challenge__card-desc { font-family: var(--font-body); font-size: calc((0.85rem) * var(--fs-text-scale)); line-height: 1.65; color: rgba(30,54,65,0.77); margin-bottom: 1rem; }
.stz-challenge__card-cta { font-family: var(--font-title); font-weight: 700; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
@media (min-width: 768px) {
    .stz-challenge__cards { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* TRANSPARENCE */
.stz-transparence { background: var(--ink-soft); position: relative; overflow: hidden; }
.stz-transp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.stz-transp-chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stz-transp-chiffre { padding: 1.5rem; text-align: center; background: rgba(255,255,255,0.04); transition: transform 0.3s; }
.stz-transp-chiffre:hover { transform: translateY(-2px); }
.stz-transp-chiffre__num { font-family: var(--font-title); font-size: calc((clamp(1.6rem, 4vw, 2.2rem)) * var(--fs-num-scale)); font-weight: 900; color: var(--white); line-height: 1; }
.stz-transp-chiffre__label { font-family: var(--font-title); font-size: 0.55rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.55); margin-top: 0.5rem; }
/* Variante duo : 2 chiffres à description complète (grand nombre + phrase) */
.stz-transp-chiffres--duo { grid-template-columns: 1fr; gap: 1rem; }
.stz-transp-chiffres--duo .stz-transp-chiffre { display: flex; align-items: baseline; gap: 1.2rem; text-align: left; padding: 1.4rem 1.6rem; }
.stz-transp-chiffres--duo .stz-transp-chiffre__num { flex-shrink: 0; color: var(--red-bright); }
.stz-transp-chiffres--duo .stz-transp-chiffre__label { font-family: var(--font-body); font-size: calc((0.9rem) * var(--fs-text-scale)); font-weight: 400; text-transform: none; letter-spacing: 0; line-height: 1.55; color: rgba(255,255,255,0.78); margin-top: 0; }
.stz-transp-badges { display: flex; gap: 0.8rem; margin: 1.5rem 0; }
.stz-transp-badge { font-family: var(--font-title); font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.5rem 1rem; border: 1px solid rgba(255,92,122,0.5); color: var(--red-bright); }
.stz-transp-reports { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.06); }
.stz-transp-report { display: flex; gap: 1rem; align-items: center; padding: 1.2rem 1.5rem; background: rgba(255,255,255,0.04); transition: background 0.3s, transform 0.3s; text-decoration: none; }
.stz-transp-report:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.stz-transp-report__icon { color: var(--red-bright); flex-shrink: 0; }
.stz-transp-report__icon svg { width: 28px; height: 28px; }
.stz-transp-report__title { font-family: var(--font-title); font-size: 0.8rem; font-weight: 700; color: var(--white); margin-bottom: 0.2rem; }
.stz-transp-report__desc { font-size: 0.75rem; line-height: 1.5; color: rgba(255,255,255,0.6); }
.stz-transp-report__dl { margin-left: auto; flex-shrink: 0; color: rgba(255,255,255,0.4); transition: color 0.3s, transform 0.3s; }
.stz-transp-report__dl svg { width: 20px; height: 20px; display: block; }
.stz-transp-report:hover .stz-transp-report__dl { color: var(--red-bright); transform: translateY(3px); }

/* SOUTENEZ-NOUS RESPONSIVE */
@media (max-width: 1024px) {
    .stz-don-grid { grid-template-columns: 1fr 1fr; }
    .stz-ent-grid, .stz-coll-intro, .stz-coll-temoignage, .stz-transp-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .stz-coll-services { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .stz-hero { padding: 4rem 5vw 3rem; min-height: 320px; }
    .stz-hero h1 { font-size: clamp(2rem, 10vw, 3rem); }
    .stz-hero__stats { gap: 1.5rem; }
    .stz-don-grid { grid-template-columns: 1fr; }
    .stz-defisc { grid-template-columns: 1fr; text-align: center; }
    .stz-ent-leviers { grid-template-columns: 1fr; }
    .stz-ent-cta { flex-direction: column; }
    .stz-ent-cta .btn { text-align: center; justify-content: center; }
    .stz-coll-temoignage { padding: 2rem; }
    .stz-transp-reports { grid-template-columns: 1fr; }
    .stz-soutien-card { flex: 0 0 calc(100vw - 8vw - 3rem); }
}
@media (max-width: 400px) {
    .stz-hero__stats { flex-direction: column; gap: 1rem; }
    .stz-transp-chiffres { grid-template-columns: 1fr; }
    .stz-transp-badges { flex-direction: column; }
}

/* =============================================
   REVEAL AU SCROLL (mutualise toutes pages)
   L'observer global est dans hamap-shell.js (.rv -> .v)
   ============================================= */
.rv { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.rv.v { opacity: 1; transform: translateY(0); }
.rv-d1 { transition-delay: 0.15s; }
.rv-d2 { transition-delay: 0.3s; }
.rv-d3 { transition-delay: 0.45s; }

/* Accessibilite : neutraliser les animations si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .rv { opacity: 1 !important; transform: none !important; }
}

/* =============================================
   ELEMENTS DYNAMIQUES : Publications
   ============================================= */
.pub-filters__ico { display: inline-flex; width: 14px; height: 14px; margin-right: 0.45rem; vertical-align: -2px; }
.pub-filters__ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.pub-card__tag svg, .pub-pinned__cat svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; margin-right: 0.3rem; vertical-align: -1.5px; }
/* Cascade des cartes a l'apparition */
.pub-grid .pub-card.rv:nth-child(3n+2) { transition-delay: 0.1s; }
.pub-grid .pub-card.rv:nth-child(3n+3) { transition-delay: 0.2s; }
/* Fondu au changement de filtre */
.pub-grid--fade { animation: pubGridFade 0.35s ease; }
@keyframes pubGridFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* =============================================
   ELEMENTS DYNAMIQUES : Rejoignez-nous
   ============================================= */
.rejoin-benefit__icon { width: 34px; height: 34px; color: var(--red); margin-bottom: 0.7rem; }
.rejoin-benefit__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; }
.rejoin-fiscal__num .rejoin-fiscal__val { font-size: 1em; vertical-align: baseline; }
/* Cascades */
.rejoin-steps .rejoin-step.rv:nth-child(2),
.rejoin-benefits .rejoin-benefit.rv:nth-child(3n+2),
.rejoin-challenge-highlights .rejoin-challenge-highlight.rv:nth-child(2),
.rejoin-cards--stack .rejoin-card.rv:nth-child(2),
.rejoin-offres__grid .rejoin-offre.rv:nth-child(3n+2) { transition-delay: 0.12s; }
.rejoin-steps .rejoin-step.rv:nth-child(3),
.rejoin-benefits .rejoin-benefit.rv:nth-child(3n+3),
.rejoin-challenge-highlights .rejoin-challenge-highlight.rv:nth-child(3),
.rejoin-cards--stack .rejoin-card.rv:nth-child(3),
.rejoin-offres__grid .rejoin-offre.rv:nth-child(3n+3) { transition-delay: 0.24s; }


/* =============================================
   BLOC D (retours Amina) : transparence + reseau
   ============================================= */
/* D17 : encadre Structure auditee (bordure complete fine) */
.transp-audit {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 1.4rem 1.6rem;
    margin-bottom: 1.5rem;
}
.transp-audit-title {
    font-family: var(--font-title); font-weight: 800;
    font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--white); margin-bottom: 0.6rem;
}
.transp-audit-text { font-size: calc((0.92rem) * var(--fs-text-scale)); line-height: 1.7; color: rgba(255,255,255,0.88); }
/* D18 : repartition 80/20 */
.transp-chiffres.transp-chiffres--duo { display: flex; flex-direction: column; gap: 1.2rem; grid-template-columns: none; }
.transp-chiffres.transp-chiffres--duo .transp-chiffre {
    display: flex; align-items: center; gap: 1.6rem; text-align: left;
    padding: 1.5rem 1.8rem;
}
.transp-chiffres.transp-chiffres--duo .transp-chiffre-number { font-size: calc((2.8rem) * var(--fs-num-scale)); flex-shrink: 0; line-height: 1; }
.transp-chiffres.transp-chiffres--duo .transp-chiffre-number span { font-size: 0.55em; }
.transp-chiffres.transp-chiffres--duo .transp-chiffre-label {
    text-transform: none; letter-spacing: 0;
    font-size: 0.92rem; line-height: 1.6; color: rgba(255,255,255,0.85); margin-top: 0;
}
/* D19 : rapport a paraitre */
.transp-report--soon { opacity: 0.7; cursor: default; }
/* D21 : encadre Nous rejoindre pleine hauteur */
.reseau-antennes-wrap { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 900px) { .reseau-antennes-wrap { grid-template-columns: 1.7fr 1fr; align-items: stretch; } }
.reseau-join {
    background: var(--ink-soft); color: var(--white);
    padding: 2.2rem 2rem;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.2rem;
    height: 100%;
}
.reseau-join-title {
    font-family: var(--font-title); font-weight: 900;
    font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.02em;
}
.reseau-join-text { font-size: calc((0.92rem) * var(--fs-text-scale)); line-height: 1.7; color: rgba(255,255,255,0.85); }


/* === Soutenez refonte (16 juillet) : cartes services crisp + rythme des fonds === */
.stz-coll-service { background:#fff; border:1px solid rgba(30,54,65,0.09); box-shadow:0 2px 14px rgba(30,54,65,0.05); }
#challenge-eau { background: var(--light); }

/* Focus clavier visible partout (accessibilite, audit 18 juillet) */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}


        /* === PLANCHER TEXTE MOBILE (lisibilite) — retour Asma 22 juillet ===
           Remonte tous les micro-labels/sur-titres/legendes/boutons. !important =
           couche plancher, gagne sur les regles mobiles existantes (dont !important).
           Mobile uniquement, desktop inchange. */
        @media (max-width: 767px) {
          .actus--related .actu__date { font-size: 0.82rem !important; }
          .actus--related .actu__excerpt { font-size: 0.82rem !important; }
          .actus--related .actu__read { font-size: 0.82rem !important; }
          .actus--related .actu__tag { font-size: 0.82rem !important; }
          .actus--related .actus__all { font-size: 0.82rem !important; }
          .actus--related .tag { font-size: 0.82rem !important; }
          .apply-modal__close-btn { font-size: 0.82rem !important; }
          .apply-modal__errors ul { font-size: 0.82rem !important; }
          .apply-modal__eyebrow { font-size: 0.82rem !important; }
          .apply-modal__field label { font-size: 0.82rem !important; }
          .apply-modal__legal { font-size: 0.82rem !important; }
          .apply-modal__meta { font-size: 0.82rem !important; }
          .article-breadcrumb { font-size: 0.82rem !important; }
          .article-hero__cat { font-size: 0.82rem !important; }
          .article-hero__meta { font-size: 0.82rem !important; }
          .article-share__label { font-size: 0.82rem !important; }
          .breadcrumb { font-size: 0.82rem !important; }
          .coop-badge-text { font-size: calc((0.82rem) * var(--fs-text-scale)) !important; }
          .coop-partner { font-size: 0.82rem !important; }
          .coop-text { font-size: calc((0.82rem) * var(--fs-text-scale)) !important; }
          .coop-title { font-size: 0.82rem !important; }
          .expertise-desc { font-size: calc((0.82rem) * var(--fs-text-scale)) !important; }
          .expertise-highlight-label { font-size: 0.82rem !important; }
          .expertise-highlight-text { font-size: calc((0.82rem) * var(--fs-text-scale)) !important; }
          .expertise-highlight-title { font-size: 0.82rem !important; }
          .expertise-label { font-size: 0.82rem !important; }
          .expertise-pillar { font-size: 0.82rem !important; }
          .expertise-pillar-num { font-size: 0.82rem !important; }
          .footer__bottom-links a { font-size: 0.82rem !important; }
          .footer__col-title { font-size: 0.82rem !important; }
          .footer__copy { font-size: 0.82rem !important; }
          .footer__credit { font-size: 0.82rem !important; }
          .footer__info { font-size: 0.82rem !important; }
          .footer__links a { font-size: 0.82rem !important; }
          .footer__social a { font-size: 0.82rem !important; }
          .hist-label { font-size: 0.82rem !important; }
          .hist-row--now .hist-label { font-size: 0.82rem !important; }
          .hist-row--now .hist-t { font-size: 0.82rem !important; }
          .hist-summary-text { font-size: calc((0.82rem) * var(--fs-text-scale)) !important; }
          .hist-t { font-size: 0.82rem !important; }
          .legal-article__inner table { font-size: 0.82rem !important; }
          .legal-article__inner table th { font-size: 0.82rem !important; }
          .legal-article__related-label { font-size: 0.82rem !important; }
          .legal-hero__eyebrow { font-size: 0.82rem !important; }
          .legal-hero__meta { font-size: 0.82rem !important; }
          .mobile-don-sticky a { font-size: 0.82rem !important; }
          .offre-back a { font-size: 0.82rem !important; }
          .offre-cta__date-pub { font-size: 0.82rem !important; }
          .offre-cta__eyebrow { font-size: 0.82rem !important; }
          .offre-hero__contrat { font-size: 0.82rem !important; }
          .offre-hero__eyebrow { font-size: 0.82rem !important; }
          .offre-hero__meta-item { font-size: 0.82rem !important; }
          .offre-hero__meta-item strong { font-size: 0.82rem !important; }
          .orga-block-text { font-size: calc((0.82rem) * var(--fs-text-scale)) !important; }
          .orga-block-title { font-size: 0.82rem !important; }
          .orga-gouv-title { font-size: 0.82rem !important; }
          .orga-label-text { font-size: calc((0.82rem) * var(--fs-text-scale)) !important; }
          .orga-label-title { font-size: 0.82rem !important; }
          .orga-member-name { font-size: 0.82rem !important; }
          .orga-membre-nom { font-size: 0.82rem !important; }
          .orga-membre-role { font-size: 0.82rem !important; }
          .orga-photo-caption { font-size: 0.82rem !important; }
          .pub-card__date { font-size: 0.82rem !important; }
          .pub-card__doc-eyebrow { font-size: 0.82rem !important; }
          .pub-card__doc-org { font-size: 0.82rem !important; }
          .pub-card__excerpt { font-size: 0.82rem !important; }
          .pub-card__more { font-size: 0.82rem !important; }
          .pub-card__tag { font-size: 0.82rem !important; }
          .pub-empty__back { font-size: 0.82rem !important; }
          .pub-filters__count { font-size: 0.82rem !important; }
          .pub-grid.pub-grid--compact .pub-card__date { font-size: 0.82rem !important; }
          .pub-grid.pub-grid--compact .pub-card__excerpt { font-size: 0.82rem !important; }
          .pub-grid.pub-grid--compact .pub-card__more { font-size: 0.82rem !important; }
          .pub-grid.pub-grid--compact .pub-card__tag { font-size: 0.82rem !important; }
          .pub-grid.pub-grid--compact .pub-card__title { font-size: 0.82rem !important; }
          .pub-hero__eyebrow { font-size: 0.82rem !important; }
          .pub-kiosk__label { font-size: 0.82rem !important; }
          .pub-pinned__badge { font-size: 0.82rem !important; }
          .pub-pinned__cat { font-size: 0.82rem !important; }
          .pub-pinned__date { font-size: 0.82rem !important; }
          .pub-pinned__more { font-size: 0.82rem !important; }
          .pub-subfilters__chip { font-size: 0.82rem !important; }
          .qui-value-text { font-size: calc((0.82rem) * var(--fs-text-scale)) !important; }
          .qui-value-title { font-size: 0.82rem !important; }
          .rc-step-title { font-size: 0.82rem !important; }
          .rejoin-candidature__intro .tag { font-size: 0.82rem !important; }
          .rejoin-candidature__label { font-size: 0.82rem !important; }
          .rejoin-candidature__photo-caption { font-size: 0.82rem !important; }
          .rejoin-candidature__photo-caption strong { font-size: 0.82rem !important; }
          .rejoin-challenge-highlight__num { font-size: 0.82rem !important; }
          .rejoin-challenge-photo__caption { font-size: 0.82rem !important; }
          .rejoin-challenge-photo__caption strong { font-size: 0.82rem !important; }
          .rejoin-collecte-photo__caption { font-size: 0.82rem !important; }
          .rejoin-collecte-photo__caption strong { font-size: 0.82rem !important; }
          .rejoin-fiscal__text strong { font-size: 0.82rem !important; }
          .rejoin-form__errors ul { font-size: 0.82rem !important; }
          .rejoin-form__field label { font-size: 0.82rem !important; }
          .rejoin-form__file-name { font-size: 0.82rem !important; }
          .rejoin-form__legal { font-size: 0.82rem !important; }
          .rejoin-hero__eyebrow { font-size: 0.82rem !important; }
          .rejoin-offre__arrow { font-size: 0.82rem !important; }
          .rejoin-offre__contrat { font-size: 0.82rem !important; }
          .rejoin-offre__meta-label { font-size: 0.82rem !important; }
          .rejoin-offre__meta-value { font-size: 0.82rem !important; }
          .rejoin-offre__tag { font-size: 0.82rem !important; }
          .rejoin-quote-photo__caption { font-size: 0.82rem !important; }
          .rejoin-quote-photo__caption strong { font-size: 0.82rem !important; }
          .rejoin-section__header .tag { font-size: 0.82rem !important; }
          .rejoin-subtitle { font-size: 0.82rem !important; }
          .related-card__cat { font-size: 0.82rem !important; }
          .related-card__meta { font-size: 0.82rem !important; }
          .related-card__more { font-size: 0.82rem !important; }
          .related__all { font-size: 0.82rem !important; }
          .related__eyebrow { font-size: 0.82rem !important; }
          .reseau-antenne { font-size: 0.82rem !important; }
          .reseau-antenne strong { font-size: 0.82rem !important; }
          .reseau-antennes-title { font-size: 0.82rem !important; }
          .reseau-card-text { font-size: calc((0.82rem) * var(--fs-text-scale)) !important; }
          .reseau-card-title { font-size: 0.82rem !important; }
          .reseau-email { font-size: 0.82rem !important; }
          .reseau-resp { font-size: 0.82rem !important; }
          .rse__fiscal { font-size: 0.82rem !important; }
          .rse__levier-label { font-size: 0.82rem !important; }
          .rse__leviers-title { font-size: 0.82rem !important; }
          .rse__step-desc { font-size: calc((0.82rem) * var(--fs-text-scale)) !important; }
          .sidebar__don { font-size: 0.82rem !important; }
          .sidebar__lang { font-size: 0.82rem !important; }
          .sidebar__nav-item { font-size: 0.82rem !important; }
          .sidebar__sub a { font-size: 0.82rem !important; }
          .sidebar__zone-label { font-size: 0.82rem !important; }
          .single-post .footer .footer__col-title { font-size: 0.82rem !important; }
          .single-post .sidebar .sidebar__don { font-size: 0.82rem !important; }
          .single-post .sidebar .sidebar__lang { font-size: 0.82rem !important; }
          .stz-challenge__label { font-size: 0.82rem !important; }
          .stz-coll-badge__sub { font-size: 0.82rem !important; }
          .stz-coll-badge__text { font-size: 0.82rem !important; }
          .stz-coll-confiance__label { font-size: 0.82rem !important; }
          .stz-coll-confiance__list span { font-size: 0.82rem !important; }
          .stz-coll-photo__caption { font-size: 0.82rem !important; }
          .stz-coll-service__title { font-size: 0.82rem !important; }
          .stz-coll-temoignage__project { font-size: 0.82rem !important; }
          .stz-defisc__example { font-size: 0.82rem !important; }
          .stz-don-card__after { font-size: 0.82rem !important; }
          .stz-don-card__impact { font-size: 0.82rem !important; }
          .stz-ent-levier__text { font-size: 0.82rem !important; }
          .stz-ent-levier__title { font-size: 0.82rem !important; }
          .stz-ent-partenaires__label { font-size: 0.82rem !important; }
          .stz-ent-photo__caption { font-size: 0.82rem !important; }
          .stz-soutien-card__num { font-size: 0.82rem !important; }
          .stz-transp-badge { font-size: 0.82rem !important; }
          .stz-transp-report__desc { font-size: 0.82rem !important; }
          .stz-transp-report__title { font-size: 0.82rem !important; }
          .tag { font-size: 0.82rem !important; }
          .transp-audit-title { font-size: 0.82rem !important; }
          .transp-badge { font-size: 0.82rem !important; }
          .transp-report-desc { font-size: calc((0.82rem) * var(--fs-text-scale)) !important; }
          .transp-report-title { font-size: 0.82rem !important; }
          .expertise-stat-label { font-size: 0.85rem !important; }
          .hamap-rejoignez .subnav-link { font-size: 0.85rem !important; }
          .page-hero-stat-label { font-size: 0.85rem !important; }
          .qui-chiffre-label { font-size: 0.85rem !important; }
          .stz-coll-temoignage__stat-label { font-size: 0.85rem !important; }
          .stz-hero__stat-label { font-size: 0.85rem !important; }
          .stz-transp-chiffre__label { font-size: 0.85rem !important; }
          .subnav-link { font-size: 0.85rem !important; }
          .transp-chiffre-label { font-size: 0.85rem !important; }
          .apply-modal__submit { font-size: 0.95rem !important; }
          .btn { font-size: 0.95rem !important; }
          .expertise-cta { font-size: 0.95rem !important; }
          .offre-cta__btn { font-size: 0.95rem !important; }
          .pub-filters__btn { font-size: 0.95rem !important; }
          .rejoin-cta .btn-primary { font-size: 0.95rem !important; }
          .rejoin-form__file-btn { font-size: 0.95rem !important; }
          .rejoin-form__submit { font-size: 0.95rem !important; }
          .reseau-toggle { font-size: 0.95rem !important; }
          .stz-challenge__card-cta { font-size: 0.95rem !important; }
          /* Elements dimensionnes en em (rates par la passe rem) : le sous-titre italique
             sous chaque titre de section, et les suffixes decoratifs "/04". */
          .big-title .it { font-size: 0.85rem !important; }
          .hub-pilier-num-suffix, .expertise-pillar-num-suffix { font-size: 0.72rem !important; }
        }

/* =============================================
   COMPOSANTS CITATION UNIFIÉS (refonte 27/07)
   .hq : citation attribuée, guillemet géant en marge (validé Asma)
   .hmanif : manifeste HAMAP, langage display de l'accueil
============================================= */
.hq { display: grid; grid-template-columns: 84px 1fr; gap: 0 1.2rem; max-width: 820px; }
.hq__mark {
    font-family: var(--font-title); font-weight: 900;
    font-size: 5.5rem; line-height: 0.55; color: var(--red);
    user-select: none; padding-top: 0.35em;
}
.hq__text p {
    font-family: var(--font-body); font-style: italic;
    font-size: calc((1.02rem) * var(--fs-text-scale)); line-height: 1.8;
    color: rgba(30,54,65,0.85); margin: 0 0 1rem;
}
.hq__text p:last-child { margin-bottom: 0; }
.hq__cite { display: block; margin-top: 1.2rem; font-style: normal; }
.hq__cite::before { content: ''; display: block; width: 34px; height: 2px; background: var(--red); margin-bottom: 0.6rem; }
.hq__name {
    display: block; font-family: var(--font-title); font-weight: 800;
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink);
}
.hq__role {
    display: block; font-family: var(--font-body); font-style: italic;
    font-size: 0.8rem; color: rgba(30,54,65,0.6); margin-top: 0.15rem;
}
/* Variante bandes sombres (--ink-soft) */
.hq--dark .hq__mark { color: var(--red-bright); }
.hq--dark .hq__text p { color: rgba(255,255,255,0.92); }
.hq--dark .hq__cite::before { background: var(--red-bright); }
.hq--dark .hq__name { color: var(--white); }
.hq--dark .hq__role { color: rgba(255,255,255,0.65); }

.hmanif { max-width: 850px; }
.hmanif__kicker {
    font-family: var(--font-title); font-weight: 700; font-size: 0.65rem;
    text-transform: uppercase; letter-spacing: 0.2em; color: var(--red); margin-bottom: 0.9rem;
}
.hmanif__text {
    font-family: var(--font-title); font-weight: 800;
    font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.5; color: var(--ink); margin: 0;
}
.hmanif__text strong { color: var(--red); font-weight: 800; }

@media (max-width: 767px) {
    /* Mobile : guillemet au-dessus du texte, pleine largeur de lecture */
    .hq { grid-template-columns: 1fr; gap: 0; }
    .hq__mark { font-size: 3rem; padding-top: 0.3em; margin-bottom: 0.7rem; }
    .hq__text p { font-size: calc((0.92rem) * var(--fs-text-scale)); }
    .hq__name { font-size: 0.82rem; }
    .hq__role { font-size: 0.82rem; }
    .hmanif__kicker { font-size: 0.82rem; }
    .article-body__inner blockquote { padding-left: 3.2rem; font-size: 1rem; }
    .article-body__inner blockquote::before { font-size: 2.6rem; }
}

/* ==========================================================================
   Formulaires (plugin HAMAP Core, sections Challenge Eau et Organiser une
   collecte). Le plugin sort le balisage, le theme porte le style.
   ========================================================================== */
.hform { max-width: 760px; }
.hform__intro {
    font-family: var(--font-body); font-size: calc(0.95rem * var(--fs-text-scale));
    line-height: 1.65; color: var(--blue-grey); margin: 0 0 1.4rem;
}
.hform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
.hform__field { margin: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.hform__field--wide { grid-column: 1 / -1; }
.hform__field label {
    font-family: var(--font-title); font-weight: 700; font-size: 0.68rem;
    text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink);
}
.hform__req { color: var(--red); }
.hform__field input,
.hform__field select,
.hform__field textarea {
    font-family: var(--font-body); font-size: calc(0.95rem * var(--fs-text-scale));
    color: var(--ink); background: var(--white);
    border: 1px solid rgba(30, 54, 65, 0.22); border-radius: 0;
    padding: 0.7rem 0.8rem; width: 100%; box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hform__field textarea { resize: vertical; min-height: 110px; }
.hform__field input:focus,
.hform__field select:focus,
.hform__field textarea:focus {
    outline: none; border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(238, 46, 82, 0.12);
}
.hform__field.is-error input,
.hform__field.is-error select,
.hform__field.is-error textarea { border-color: var(--red); background: rgba(238, 46, 82, 0.03); }
.hform__field.is-error label { color: var(--red); }
.hform__help {
    font-family: var(--font-body); font-size: 0.78rem; font-style: italic;
    color: var(--blue-grey);
}
.hform__consent {
    margin: 1.3rem 0 0; font-family: var(--font-body);
    font-size: 0.85rem; line-height: 1.6; color: var(--blue-grey);
}
.hform__consent label { display: flex; gap: 0.6rem; align-items: flex-start; cursor: pointer; }
.hform__consent input { margin-top: 0.25rem; flex: none; accent-color: var(--red); }
.hform__consent a { color: var(--ink); text-decoration: underline; }
.hform__consent.is-error { color: var(--red); }
.hform__consent.is-error a { color: var(--red); }
/* Piege a robots : hors ecran, jamais masque en display:none (certains
   remplisseurs automatiques ignorent les champs masques ainsi). */
.hform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hform__submit { margin-top: 1.5rem; }
.hform__error {
    font-family: var(--font-title); font-weight: 700; font-size: 0.88rem;
    color: var(--red); border: 1px solid var(--red); background: rgba(238, 46, 82, 0.05);
    padding: 0.8rem 1rem; margin: 0 0 1.3rem;
}
.hform__ok {
    position: relative; font-family: var(--font-title); font-weight: 700;
    font-size: calc(1rem * var(--fs-text-scale)); line-height: 1.55; color: var(--ink);
    border: 1px solid rgba(30, 54, 65, 0.22); background: var(--white);
    padding: 1.3rem 1.4rem 1.3rem 3rem; margin: 0;
}
.hform__ok::before {
    content: ''; position: absolute; left: 1.4rem; top: 1.75rem;
    width: 10px; height: 10px; background: var(--red);
}
.hform__alt {
    font-family: var(--font-body); font-size: 0.85rem; color: var(--blue-grey);
    margin: 1.1rem 0 0;
}
.hform__alt a { color: var(--ink); text-decoration: underline; }

@media (max-width: 767px) {
    .hform__grid { grid-template-columns: 1fr; gap: 1rem; }
    .hform__submit { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Apparition du texte : demande HAMAP du 28 juillet 2026, « le faire
   apparaitre d'un coup au lieu de progressivement ».

   Le site utilisait sept mecanismes differents pour reveler du contenu, la
   plupart au defilement, ce qui laissait des textes invisibles tant que le
   visiteur n'avait pas fait defiler. On les neutralise tous ici, en un seul
   endroit. Le !important est necessaire : plusieurs de ces regles vivent dans
   les <style> des modeles, donc apres cette feuille dans le document.

   Ne sont pas touches : les compteurs animes des chiffres cles, que HAMAP a
   expressement demandes en juin.

   Pour revenir en arriere : supprimer ce bloc.
   ========================================================================== */

/* 1. Reveal generique au defilement, present sur toutes les pages. */
.rv,
.rv.v,
.rv-d1, .rv-d2, .rv-d3, .rv-d4 {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0s !important;
}

/* 2. Frise historique de Nous connaitre : chaque ligne attendait le defilement. */
.hist-row,
.hist-row.hist-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* 3. Piliers d'expertise et gouvernance de Nous connaitre. */
.expertise-pillars.js-anim .expertise-pillar,
.orga-bureau.js-anim .orga-membre,
.orga-ca-grid.js-anim .orga-ca-name {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* 4. Manifeste « Ce qui nous differencie » de l'accueil : l'allumage mot a mot et
      la piste de defilement ont ete retires du modele le 05/08, plus rien a neutraliser. */

/* 5. Bandeaux d'accueil : apparition decalee au chargement, de 0,2 s a 1,5 s. */
.hero__eyebrow,
.hero__context,
.hero__ctas,
.hero__scroll,
.page-hero h1,
.page-hero-sub,
.page-hero-stats {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
}

/* ==========================================================================
   Logos des bailleurs d'un projet (modele de fiche projet HAMAP, 03/08/2026).
   Poses sous la fiche, en niveaux de gris pour ne pas concurrencer la photo,
   couleur au survol comme la bande partenaires des pages pays.
   ========================================================================== */
.hamap-bailleurs { margin-top: 0.7rem; }
.hamap-bailleurs__label {
    display: block; font-family: var(--font-title); font-weight: 700;
    font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--ink); margin-bottom: 0.45rem;
}
.hamap-bailleurs__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.4rem; }
.hamap-bailleurs__logos img {
    height: 42px; width: auto; max-width: 150px; object-fit: contain;
    filter: grayscale(1); opacity: 0.6; transition: filter 0.3s, opacity 0.3s;
}
.hamap-bailleurs__logos a:hover img,
.hamap-bailleurs__logos img:hover { filter: grayscale(0); opacity: 1; }
.hamap-bailleurs--texte {
    font-family: var(--font-body); font-size: 0.75rem;
    color: rgba(30,54,65,0.7); line-height: 1.6;
}
.hamap-bailleurs--texte .hamap-bailleurs__label { display: inline; margin-right: 0.4rem; }
@media (max-width: 767px) {
    .hamap-bailleurs__label { font-size: 0.82rem; }
    .hamap-bailleurs--texte { font-size: 0.82rem; }
    .hamap-bailleurs__logos img { height: 36px; }
}

/* =============================================
   Entree « Accueil » du menu de gauche (remarque client 12/08 : la page
   d'accueil etait introuvable une fois la navigation commencee, le logo
   cliquable ne suffisait pas). Icone dessinee en SVG : les six autres sont
   des PNG passes en blanc par filter, un SVG au trait s'aligne dessus sans
   ajouter 700 Ko d'image.
============================================= */
.sidebar__nav-icon svg {
    width: 30px; height: 30px;
    stroke: var(--white); fill: none;
}
@media (max-width: 767px) {
    .sidebar__nav-icon svg { width: 25px; height: 25px; }
}

/* =============================================
   Pictogrammes des chiffres cles d'une fiche projet (demande client 12/08).
   Uniquement sur les chiffres : la hierarchie des titres suffit ailleurs.
============================================= */
.eah-projet-chiffre-item .projet-picto,
.pay-projet-chiffre-item .projet-picto {
    display: block;
    width: 20px; height: 20px;
    color: var(--red);
    margin: 0 0 0.5rem;
}
@media (max-width: 767px) {
    .eah-projet-chiffre-item .projet-picto,
    .pay-projet-chiffre-item .projet-picto { width: 18px; height: 18px; margin-bottom: 0.4rem; }
}

/* ── Texte plie « En savoir plus » (composant partage pages pays) : deux paragraphes
   visibles, lien souligne toujours sous le texte affiche, suite revelee au-dessus du
   lien (ordre flex), texte restitue mot pour mot. ── */
.hplie { margin-top:1.2rem; }
.hplie .body-text { max-width:none; }
.hplie-bloc .body-text + .body-text { margin-top:1.1rem; }
.hplie-suite { display:flex; flex-direction:column; margin-top:1.4rem; }
.hplie-suite summary { order:2; align-self:flex-start; list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:0.55rem; font-family:var(--font-title); font-size:0.82rem; font-weight:700; letter-spacing:0.02em; color:var(--ink); text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px; }
.hplie-suite summary::-webkit-details-marker { display:none; }
.hplie-suite summary::after { content:'\2192'; font-size:0.95rem; color:var(--red); }
.hplie-suite[open] summary::after { content:'\2191'; }
.hplie-corps { order:1; margin:0 0 1.4rem; }
.hplie-corps .hplie-bloc .body-text:first-child { margin-top:1.1rem; }
.hplie-suite--large { margin-top:1.6rem; }
.hplie-suite--large .hplie-corps .body-text { max-width:none; }

/* =============================================
   ENGAGE-CARD PARTAGEE (reprise du composant de l'accueil, 19/08)
   Bande claire, pastille blanche a picto rouge, titre en capitales,
   sous-texte serif. Utilisee hors accueil via .engage-stack.
============================================= */
.engage-stack { display: grid; gap: 3px; }
.engage-stack .engage-card {
    display: flex; align-items: center;
    padding: 1.5rem 2rem;
    background: var(--light);
    color: var(--ink);
    position: relative; overflow: hidden;
}
.engage-stack .engage-card::before {
    content: ''; position: absolute; left: 0; top: 0;
    width: 0; height: 100%; background: var(--red);
    transition: width 0.3s ease;
}
.engage-stack .engage-card:hover::before { width: 4px; }
.engage-stack .engage-card__icon {
    flex-shrink: 0; width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: var(--white); border: 1px solid rgba(30,54,65,0.1);
    border-radius: 50%; margin-right: 1.1rem;
}
.engage-stack .engage-card__icon svg { width: 20px; height: 20px; stroke: var(--red); }
.engage-stack .engage-card__body { flex: 1; }
.engage-stack .engage-card__title {
    font-family: var(--font-title); font-weight: 700;
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em;
}
.engage-stack .engage-card__sub { font-size: 0.9rem; color: var(--blue-grey); margin-top: 0.2rem; line-height: 1.6; }
@media (max-width: 700px) {
    .engage-stack .engage-card { padding: 1.2rem 1.4rem; }
}
