/* =====================================================
   Page d'accueil
   ===================================================== */
/* Conteneur des sections de la home */
.hp {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 48px) clamp(48px, 7vw, 96px);
    display: flex;
    flex-direction: column;
    gap: clamp(48px, 7vw, 96px);
}
.hp > section:first-child:not(.hero) { margin-top: clamp(32px, 5vw, 56px); }

/* Tête et liste partagent largeur, centrage et padding horizontal : deux blocs
   séparés (pour aligner le rail sur les cartes) mais visuellement une colonne. */
.news-page__head,
.news-page__list {
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: clamp(18px, 4vw, 48px);
    box-sizing: border-box;
}
.news-page__head {
    padding-top: clamp(32px, 5vw, 56px);
    padding-bottom: clamp(32px, 4vw, 48px);
}
.news-page__list {
    padding-bottom: clamp(48px, 7vw, 96px);
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 4vw, 48px);
}

/* Bande d'image fixe dans la marge gauche : cover + center affiche le centre
   de la photo, largement rognée à gauche et à droite. Largeur = la marge qui
   borde la colonne (max-width 1180px), donc nulle sous 1180px de large. */
.news-page-image::before {
    content: "";
    position: fixed;
    inset: 0 auto 0 0;
    width: max(0px, calc((100vw - 1180px) / 2));
    background-image: url("/revuepresse.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    pointer-events: none;
}

/* Sommaire thématique : rail sticky dans la marge droite, contrepoids de la
   bande photo. Masqué tant que la marge est trop étroite pour rester lisible. */
.news-themes { display: none; }

@media (min-width: 1440px) {
    /* Colonne gauche vide (bande photo fixe), contenu centré col. 2, rail col. 3.
       Tête en rangée 1 ; les cartes en rangée 2, la pagination en rangée 3. */
    .news-layout {
        display: grid;
        grid-template-columns: 1fr minmax(0, 1180px) 1fr;
        align-items: start;
        padding-bottom: clamp(48px, 7vw, 96px);
    }
    .news-layout > .news-page__head { grid-column: 2; grid-row: 1; }

    /* La liste se dissout : .news__grid et .pagination deviennent des items de
       grille, pour que le rail s'aligne sur .news__grid (les cartes) et non sur
       toute la colonne (padding bas + pagination inclus). */
    .news-layout > .news-page__list { display: contents; }
    .news-page__list > .news__grid,
    .news-page__list > .news__empty {
        grid-column: 2;
        grid-row: 2;
        padding-inline: clamp(18px, 4vw, 48px);
        box-sizing: border-box;
    }
    .news-page__list > .pagination {
        grid-column: 2;
        grid-row: 3;
        margin-top: clamp(32px, 4vw, 48px);
        padding-inline: clamp(18px, 4vw, 48px);
        box-sizing: border-box;
    }

    /* Rail sur la rangée des cartes : haut au début des cartes, et sticky borné
       par la hauteur de cette rangée → bas bloqué au bas de .news__grid. */
    .news-themes {
        display: block;
        grid-column: 3;
        grid-row: 2;
        align-self: start;
        position: sticky;
        top: 108px;
        max-height: calc(100vh - 128px);
        overflow-y: auto;
        padding-inline: clamp(14px, 1vw, 24px);
        box-sizing: border-box;
    }
}

.news-themes__eyebrow {
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Nuage de badges : les thèmes s'enroulent librement, sans chiffres ni
   alignement rigide — même pastille que les thèmes de l'article. */
.news-themes__cloud {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.news-themes__badge {
    display: inline-block;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    padding: 5px 11px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    line-height: 1.1;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.news-themes__badge:hover,
.news-themes__badge:focus-visible {
    background: var(--ink);
    color: var(--paper);
}
.news-themes__badge--current {
    background: var(--red);
    border-color: var(--red);
    color: var(--paper);
}
/* Detail page — single reading column, no card; the image is the focal plate. */
.news-show-page {
    display: flex;
    flex-direction: column;
}
.news-show__inner {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: clamp(28px, 4vw, 48px) clamp(18px, 4vw, 48px) clamp(48px, 7vw, 96px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.news-show__back {
    margin: 0;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.news-show__back a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.news-show {
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 4vw, 40px);
}
.news-show__body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.news-show__meta {
    margin: 0;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
}
.news-show__title {
    margin: 0;
    font-family: var(--body);
    font-weight: 900;
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--ink);
}
/* Thèmes — pastilles cliquables sous l'image principale. */
.news-page__breadcrumb {
    font-family: var(--mono);
}
.news-show__tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.news-show__tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    padding: 4px 10px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    transition: background 120ms ease, color 120ms ease;
}
.news-show__tag:hover {
    background: var(--ink);
    color: var(--paper);
}
/* Partage social — barre d'icônes sous le titre. */
.news-show__share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.news-show__share-label {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
}
.news-show__share-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-show__share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 40px;
    height: 40px;
    border: 2px solid var(--ink);
    background: var(--paper);
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}
.news-show__share-btn:hover {
    background: var(--ink);
    color: var(--paper);
    transform: translate(-1px, -1px);
}
.news-show__share-copy {
    width: auto;
    padding: 0 14px;
    font-family: var(--body);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.news-show__share-copy.is-copied {
    background: var(--red);
    border-color: var(--red);
    color: var(--paper);
}
.news-show__figure {
    margin: 0;
    overflow: hidden;
    border: 3px solid var(--ink);
}
.news-show__figure-image {
    display: block;
    width: 100%;
    height: clamp(260px, 44vw, 540px);
    object-fit: cover;
}
.news-show__figure--poster {
    border: 0;
    background: none;
    overflow: visible;
    text-align: center;
}
.news-show__figure-link {
    display: inline-block;
}
.news-show__figure--poster .news-show__figure-image {
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, 460px);
    max-height: 80vh;
    object-fit: contain;
    border: 3px solid var(--ink);
}
.news-show__content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-soft);
}
.news-show__content p { margin: 0; }
.news-show__content img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 3px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    margin: 8px 0;
}

/* Liens externes d'article — listés avant la galerie ---- */
.news-show__links {
    border-top: 1px solid var(--ink-soft);
    padding: clamp(20px, 3vw, 32px) 0 0;
}
.news-show__links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.news-show__links-list a {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    word-break: break-all;
}

/* Galerie d'article — carrousel images + PDF ----------- */
.news-gallery {
    border-top: 1px solid var(--ink-soft);
    padding: clamp(20px, 3vw, 32px) 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
/* Flèches de navigation — superposées aux bords du carrousel, masquées par
   défaut, révélées au survol (ou au focus clavier) si du contenu existe de ce
   côté. La disponibilité (contenu à gauche/droite) est pilotée par le JS. */
.news-gallery__viewport {
    position: relative;
}
.news-gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 3px solid var(--ink);
    background: var(--paper);
    color: var(--ink);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, background 140ms ease, color 140ms ease;
}
.news-gallery__arrow--available {
    display: flex;
}
.news-gallery__arrow--prev {
    left: 8px;
}
.news-gallery__arrow--next {
    right: 8px;
}
.news-gallery__viewport:hover .news-gallery__arrow--available,
.news-gallery__viewport:focus-within .news-gallery__arrow--available {
    opacity: 1;
    pointer-events: auto;
}
.news-gallery__arrow:hover {
    background: var(--ink);
    color: var(--paper);
}
@media (prefers-reduced-motion: reduce) {
    .news-gallery__arrow {
        transition: none;
    }
}
.news-gallery__track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}
.news-gallery__track::-webkit-scrollbar { display: none; }
.news-gallery__track--grabbing {
    cursor: grabbing;
    /* Désactive le snap pendant le drag pour un suivi 1:1 du curseur ;
       le snap reprend au relâchement. */
    scroll-snap-type: none;
    scroll-behavior: auto;
}
.news-gallery__slide {
    flex: 0 0 calc((100% - 36px) / 4); /* 4 par page (3 × 12 px de gap) */
    min-width: 0;
    scroll-snap-align: start;
}
@media (max-width: 900px) {
    .news-gallery__slide { flex-basis: calc((100% - 12px) / 2); } /* 2 par page */
}
@media (max-width: 560px) {
    .news-gallery__slide { flex-basis: 100%; } /* 1 par page */
}
.news-gallery__link,
.news-gallery__link:hover {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
    padding: 3px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    background: var(--paper);
    transition: opacity 120ms ease, border-color 120ms ease;
}
.news-gallery__link:hover { opacity: 0.9; border-color: #9a9a9a; }
.news-gallery__image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    border: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
}
.news-gallery__caption {
    margin: 0;
    padding: 8px 2px 0;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-soft, var(--ink));
}
.news-gallery__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}
.news-gallery__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    background: #c9c9c9;
    border-radius: 50%;
    cursor: pointer;
    transition: background 120ms ease;
}
.news-gallery__dot:hover { background: #9a9a9a; }
.news-gallery__dot--active { background: #5a5a5a; }

/* PDF tile: same footprint as an image, first page drawn on the canvas. */
.news-gallery__link--pdf { position: relative; }
.news-gallery__pdf {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--paper);
}
.news-gallery__pdf-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.news-gallery__pdf-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--ink);
    background: repeating-linear-gradient(
        45deg,
        #ededed,
        #ededed 10px,
        #e3e3e3 10px,
        #e3e3e3 20px
    );
}
.news-gallery__badge {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 3px 8px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

/* Boutons : voir buttons.css (.btn = ex-.btn-outline, .btn-dark = ex-.btn-solid). */

/* En-tête de section numérotée (02, 03 …) ------------- */
.section-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin: 0 0 28px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--ink);
}
.section-head__num {
    font-family: var(--display);
    font-size: clamp(40px, 6vw, 64px);
    line-height: 0.8;
    color: var(--red);
}
/* =====================================================
   A. HÉRO — la preuve massive
   ===================================================== */
/* Sort de la grille .hp pour occuper toute la largeur du viewport. */
.hero {
    position: relative;
    margin-inline: calc(50% - 50vw);
    overflow: hidden;
}
.hero__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255, 255, 255, 0.55);
    pointer-events: none;
}
.hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(48px, 7vw, 96px) clamp(18px, 4vw, 48px);
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}
.hero__visual {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}
.hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.hero__content {
    background: var(--paper);
    padding: clamp(24px, 4vw, 48px);
}
.hero__kicker {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 14px;
}
.hero__figure { margin: 0; container-type: inline-size; }
.hero__amount {
    display: block;
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(52px, 18cqi, 124px);
    line-height: 0.86;
    letter-spacing: 0.005em;
    color: var(--red);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.hero__label {
    display: inline-block;
    margin-top: 12px;
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(20px, 3vw, 34px);
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--yellow);
    padding: 4px 10px;
}
.hero__sub {
    margin: 22px 0 0;
    font-size: clamp(15px, 1.6vw, 19px);
    color: var(--ink-soft);
}
.hero__sub strong { color: var(--ink); font-weight: 700; }

@media (max-width: 820px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { max-width: 320px; }
}

/* =====================================================
   B. BLOC URGENCE (conditionnel)
   ===================================================== */
.urgency {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 4vw, 48px);
    flex-wrap: wrap;
    padding: clamp(22px, 3vw, 32px) clamp(20px, 3vw, 36px);
    border-top: 4px solid var(--red);
    border-bottom: 4px solid var(--red);
}
.urgency__live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-family: var(--body);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
}
.urgency__dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--red);
    animation: urgency-pulse 1.4s ease-in-out infinite;
}
@keyframes urgency-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.8); }
}
.urgency__cause {
    display: inline-block;
    margin-top: 6px;
    background: var(--yellow);
    color: var(--ink);
    padding: 2px 12px;
    box-shadow: 6px 6px 0 var(--ink);
}
/* Style via .btn .btn-cta .btn-lg ; on ne garde que la mise en page. */
.urgency__cta { flex-shrink: 0; }
@media (max-width: 700px) {
    .urgency__cta { width: 100%; }
}

/* =====================================================
   C. TEASING CARTE DE PROXIMITÉ
   ===================================================== */
.map-teaser {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 5fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    border: 3px solid var(--ink);
    padding: clamp(28px, 4vw, 52px);
    box-shadow: 8px 8px 0 var(--ink);
}
.map-teaser__count {
    display: inline-block;
    margin-top: 8px;
    background: var(--yellow);
    color: var(--ink);
    padding: 2px 10px;
}
.map-teaser__map {
    display: block;
    padding: 18px;
}
.map-teaser__map:focus-visible { outline: none; }
.map-teaser__svg { width: 100%; height: auto; display: block; }
.map-teaser__shape { opacity: 0.5; }
.map-teaser__shape path {
    fill: var(--ink);
    stroke: var(--ink);
    stroke-width: 0.15;
}
.map-teaser__dot {
    fill: var(--red);
    animation: map-pop 1.8s ease-in-out infinite;
    animation-delay: calc(var(--i) * 110ms);
    transform-box: fill-box;
    transform-origin: center;
}
@keyframes map-pop {
    0%, 70%, 100% { opacity: 0.85; transform: scale(1); }
    35% { opacity: 1; transform: scale(1.35); }
}

@media (max-width: 760px) {
    .map-teaser { grid-template-columns: 1fr; }
    .map-teaser__map { max-width: 360px; margin: 0 auto; }
}

/* =====================================================
   D. FIL D'ACTUALITÉS DES CAISSES
   ===================================================== */
.news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2.5vw, 28px);
}
.news-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 3px solid var(--ink);
    box-shadow: 7px 7px 0 var(--ink);
    position: relative;
    transition: transform 160ms ease, box-shadow 160ms ease;
}
.news-card:has(.news-card__link:hover),
.news-card:has(.news-card__link:focus-visible) {
    transform: translate(3px, 3px);
    box-shadow: 4px 4px 0 var(--ink);
}
.news-card__media {
    aspect-ratio: 16 / 10;
    border-bottom: 3px solid var(--ink);
    position: relative;
    overflow: hidden;
    background:
        repeating-linear-gradient(45deg, rgba(0,0,0,0.05) 0 8px, transparent 8px 16px),
        linear-gradient(150deg, #3a3a3a 0%, #1a1a1a 60%, #2c2c2c 100%);
}
.news-card__media[data-rank="2"] { background: linear-gradient(150deg, #4a4a4a, #161616); }
.news-card__media[data-rank="3"] { background: linear-gradient(150deg, #2e2e2e, #0e0e0e); }
.news-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-card__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 22px 24px;
    flex: 1;
}
.news-card__meta {
    margin: 0;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
}
.news-card__title {
    margin: 0;
    font-family: var(--body);
    font-weight: 900;
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--ink);
}
.news-card__link { color: var(--ink); text-decoration: none; }
.news-card__link::after { content: ""; position: absolute; inset: 0; }
.news-card__link:focus-visible { outline: none; }
.news-card__excerpt {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-soft);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card__more {
    margin-top: auto;
    align-self: flex-start;
    font-family: var(--body);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    border-bottom: 3px solid var(--ink);
    padding-bottom: 2px;
}
.news__footer {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

@media (max-width: 820px) {
    .news__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

/* Pagination — brutalist prev / status / next strip. */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 32px);
    margin-top: clamp(24px, 4vw, 40px);
}
.pagination__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--body);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 22px;
    border: 3px solid var(--ink);
    background: transparent;
    color: var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, color 140ms ease;
}
.pagination__btn:hover,
.pagination__btn:focus-visible {
    background: var(--ink);
    color: var(--paper);
    transform: translate(2px, 2px);
    box-shadow: 3px 3px 0 var(--ink);
    outline: none;
}
.pagination__btn--disabled {
    color: var(--muted);
    border-color: var(--muted);
    box-shadow: 5px 5px 0 var(--muted);
    pointer-events: none;
}
.pagination__status {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
}
.pagination__status strong { font-weight: 800; }

@media (max-width: 560px) {
    .pagination { flex-wrap: wrap; gap: 14px; }
    .pagination__btn { padding: 10px 16px; font-size: 12px; }
}

/* =====================================================
   E. TEASING TRANSPARENCE
   ===================================================== */
.transparency__panel {
    position: relative;
    border: 4px solid var(--ink);
    padding: clamp(28px, 4vw, 52px);
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 3vw, 36px);
}
.transparency__panel .info-pop {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}
.info-pop__trigger {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--ink);
    background: var(--paper);
    color: var(--ink);
    font-family: var(--mono);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 120ms ease;
}
.info-pop__trigger:hover,
.info-pop__trigger:focus-visible {
    background: var(--yellow);
}
.info-pop__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 10;
    width: max-content;
    max-width: min(620px, calc(100vw - 32px));
    padding: 18px 20px;
    background: var(--paper);
    border: 2px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    text-align: center;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    display: none;
    flex-direction: column;
    gap: 14px;
}
@media (hover: hover) and (pointer: fine) {
    .info-pop:hover .info-pop__panel { display: flex; }
}
.info-pop--open .info-pop__panel,
.info-pop:focus-within .info-pop__panel { display: flex; }

.formula { margin: 0; line-height: 1.6; white-space: nowrap; }
.formula sub { font-size: 0.78em; letter-spacing: 0.02em; }
.formula__frac {
    display: inline-flex;
    flex-direction: column;
    vertical-align: middle;
    text-align: center;
    margin: 0 2px;
    flex-shrink: 0;
}
.formula__num { border-bottom: 1px solid currentColor; padding: 0 8px 2px; white-space: nowrap; }
.formula__den { padding: 2px 8px 0; white-space: nowrap; }
@media (max-width: 560px) {
    .info-pop__panel { right: -8px; }
    .formula,
    .formula__num,
    .formula__den { white-space: normal; }
}
.transparency__metrics {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px 40px;
    align-items: end;
}
.metric { display: flex; flex-direction: column; gap: 6px; }
.metric__value {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(44px, 7vw, 84px);
    line-height: 0.85;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.metric__label {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}
.metric--highlight { align-items: flex-end; text-align: right; }
.metric--highlight .metric__value {
    background: var(--yellow);
    color: var(--ink);
    padding: 6px 14px;
}
.transparency__rule {
    margin: 0;
    padding: 22px 0;
    border-top: 2px dashed var(--ink);
    border-bottom: 2px dashed var(--ink);
    text-align: center;
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.55;
    color: var(--ink-soft);
}
.transparency__rule strong { color: var(--ink); font-weight: 700; }
.transparency__panel .btn { align-self: center; }

@media (max-width: 620px) {
    .transparency__metrics { grid-template-columns: 1fr; }
    .metric--highlight { align-items: flex-start; text-align: left; }
}

/* =====================================================
   PRÉ-FOOTER — NEWSLETTER
   ===================================================== */
.newsletter {
    border-top: 3px solid var(--ink);
    border-bottom: 3px solid var(--ink);
    padding: clamp(32px, 5vw, 64px);
    /* Opaque : masque l’image de fond derrière le bloc newsletter pleine largeur. */
    background: var(--paper);
}
.newsletter__inner { max-width: 620px; margin: 0 auto; text-align: center; }
.newsletter__field {
    display: flex;
    justify-content: center;
}
.newsletter__input {
    flex: 1;
    min-width: 0;
    font-family: var(--body);
    font-size: 16px;
    color: var(--ink);
    background: var(--paper);
    border: 2px solid var(--ink);
    border-right: none;
    padding: 14px 16px;
    outline: none;
    transition: border-width 120ms ease, border-color 120ms ease;
}
.newsletter__input:focus {
    border-width: 4px;
    padding: 12px 14px;
}
.newsletter__input--error,
.newsletter__input--error:focus {
    border-color: var(--red);
    box-shadow: none;
}
.newsletter__submit {
    flex-shrink: 0;
    font-family: var(--body);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--paper);
    background: var(--red);
    border: 2px solid var(--red);
    padding: 14px 26px;
    cursor: pointer;
    transition: background 140ms ease, border-color 140ms ease;
}
.newsletter__submit:hover,
.newsletter__submit:focus-visible {
    background: var(--ink);
    border-color: var(--ink);
    outline: none;
}
.newsletter__error {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--red);
    text-align: left;
}
.newsletter__success {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(24px, 3.4vw, 38px);
    line-height: 1;
    text-transform: uppercase;
    color: var(--ink);
}
.newsletter__success .hl { background: var(--yellow); padding: 0 8px; }

@media (max-width: 520px) {
    .newsletter__field { flex-direction: column; }
    .newsletter__input { border-right: 2px solid var(--ink); border-bottom: none; }
    .newsletter__input:focus { border-right-width: 4px; }
    .newsletter__submit { width: 100%; }
}

/* Popin prénom — même langage brutaliste que la modale de pied de page. */
.newsletter-popin {
    border: 4px solid var(--ink);
    background: var(--paper);
    box-shadow: none;
    padding: 28px;
    max-width: 440px;
    width: calc(100% - 32px);
    color: var(--ink);
    text-align: left;
    /* allow-discrete + @starting-style : indispensable pour animer un <dialog>
       du top layer à l’ouverture ET à la fermeture (sinon display bascule sec). */
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 180ms ease,
        transform 180ms ease,
        overlay 180ms ease allow-discrete,
        display 180ms ease allow-discrete;
}
.newsletter-popin[open] {
    opacity: 1;
    transform: translateY(0);
}
@starting-style {
    .newsletter-popin[open] {
        opacity: 0;
        transform: translateY(8px);
    }
}
.newsletter-popin::backdrop {
    background: rgba(0, 0, 0, 0);
    transition:
        background 180ms ease,
        overlay 180ms ease allow-discrete,
        display 180ms ease allow-discrete;
}
.newsletter-popin[open]::backdrop { background: rgba(0, 0, 0, 0.45); }
@starting-style {
    .newsletter-popin[open]::backdrop { background: rgba(0, 0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .newsletter-popin,
    .newsletter-popin::backdrop { transition: none; }
}
.newsletter-popin__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.newsletter-popin__title {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    font-size: 28px;
    line-height: 1;
    text-transform: uppercase;
}
.newsletter-popin__close {
    flex-shrink: 0;
    font-family: var(--body);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    background: transparent;
    border: 2px solid var(--ink);
    padding: 6px 12px;
    cursor: pointer;
    transition: background 140ms ease, color 140ms ease;
}
.newsletter-popin__close:hover,
.newsletter-popin__close:focus-visible { background: var(--ink); color: var(--paper); outline: none; }
.newsletter-popin__text {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-soft);
}
.newsletter-popin__label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.newsletter-popin__input {
    width: 100%;
    font-family: var(--body);
    font-size: 16px;
    color: var(--ink);
    background: var(--paper);
    border: 2px solid var(--ink);
    padding: 14px 16px;
    outline: none;
    transition: border-width 120ms ease;
}
.newsletter-popin__input:focus { border-width: 4px; padding: 12px 14px; }
.newsletter-popin__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}
.newsletter-popin__skip {
    font-family: var(--body);
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    background: transparent;
    border: 2px solid var(--ink);
    padding: 12px 20px;
    cursor: pointer;
    transition: background 140ms ease, color 140ms ease;
}
.newsletter-popin__skip:hover,
.newsletter-popin__skip:focus-visible { background: var(--ink); color: var(--paper); outline: none; }
.newsletter-popin__validate {
    font-family: var(--body);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--paper);
    background: var(--red);
    border: 2px solid var(--red);
    padding: 12px 26px;
    cursor: pointer;
    transition: background 140ms ease, border-color 140ms ease;
}
.newsletter-popin__validate:hover,
.newsletter-popin__validate:focus-visible { background: var(--ink); border-color: var(--ink); outline: none; }
.newsletter-popin__thanks {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(24px, 3.4vw, 34px);
    line-height: 1;
    text-transform: uppercase;
    color: var(--ink);
}
/* =====================================================
   Reveal au chargement de la home
   ===================================================== */
/* Reveal au chargement de la home */
.hero,
.urgency,
.map-teaser,
.news,
.transparency { animation: rise 700ms both ease-out; }
.urgency { animation-delay: 80ms; }
.map-teaser { animation-delay: 120ms; }
.news { animation-delay: 160ms; }
.transparency { animation-delay: 200ms; }
