/* ==========================================================================
   ANDIKA — « Écrire pour les droits des enfants et des jeunes »
   Site sombre, verre liquide, encre turquoise et or.
   Charte : noir #000000 · turquoise #28d6b7 · or #d1921e
            Comic Queens (titres, voix de marque) · Satoshi (texte, en
            remplacement d'Aeonik, payante).
   ========================================================================== */

:root {
    --black: #000;
    --paper: #f4f2ec;
    --muted: rgba(244, 242, 236, .66);
    --faint: rgba(244, 242, 236, .42);
    --line: rgba(255, 255, 255, .1);
    --line-strong: rgba(255, 255, 255, .18);

    /* Thème : valeurs du mode sombre (par défaut). Le mode clair les redéfinit
       (voir « MODE CLAIR » en fin de fichier). */
    --bg: #000;
    --fg: #f4f2ec;
    --fg-rgb: 244 242 236;
    --fg-strong: #fff;

    --tq: #28d6b7;
    --tq-rgb: 40 214 183;
    --tq-deep: #0f7e6b;
    --gold: #d1921e;
    --gold-rgb: 209 146 30;
    --gold-light: #eab04a;
    /* Turquoise et or en texte : petits textes (« ink ») et grands titres
       (« display ») — plus soutenus en mode clair pour rester lisibles. */
    --tq-ink: var(--tq);
    --gold-ink: var(--gold);
    --tq-display: var(--tq);
    --gold-display: var(--gold);

    --glass: rgba(255, 255, 255, .055);
    --glass-strong: rgba(14, 14, 16, .58);
    --rim: rgba(255, 255, 255, .16);

    --font-display: 'Comic Queens Andika', 'Satoshi', system-ui, sans-serif;
    --font-sans: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --r-sm: 14px;
    --r: 24px;
    --r-lg: 32px;

    --container: 1320px;
    --gutter: clamp(16px, 4vw, 48px);
    --edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
    --header-h: 68px;

    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

    color-scheme: dark;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/* Pas de scroll-behavior: smooth ici : il transformait le saut vers une
   ancre au chargement (#plaidoyer) en glissade, interrompue dès le premier
   pixel par le recalcul de ScrollTrigger — la page restait en haut. Le
   défilement doux des liens internes est géré en JS (Lenis ou scrollIntoView). */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background: var(--bg);
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
input { font: inherit; color: inherit; }
::selection { background: var(--tq); color: #000; }

:focus { outline: none; }
:focus-visible {
    outline: 2px solid var(--tq);
    outline-offset: 3px;
    border-radius: 8px;
}

.container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
}

.nowrap { white-space: nowrap; }
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}
.skip {
    position: fixed; top: 12px; left: 12px; z-index: 500;
    padding: 12px 18px; border-radius: 999px;
    background: var(--tq); color: #000; font-weight: 700;
    transform: translateY(-160%);
    transition: transform .3s var(--ease-out);
}
.skip:focus-visible { transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* L'attribut hidden doit toujours gagner sur un display posé par une classe */
[hidden] { display: none !important; }
.flip { transform: scaleX(-1); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.tone-gold { color: var(--gold-display); }
.tone-tq { color: var(--tq-display); }

/* --------------------------------------------------------------------------
   Ambiance : encre diffuse + grain (derrière tout le contenu)
   -------------------------------------------------------------------------- */
.ambience {
    position: fixed; inset: 0; z-index: -2;
    overflow: hidden; pointer-events: none;
}
.ambience__blob {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
}
.ambience__blob--1 {
    width: 70vmax; height: 70vmax; left: -26vmax; top: -30vmax;
    background: radial-gradient(closest-side, rgb(var(--tq-rgb) / .34), rgb(var(--tq-rgb) / .08) 55%, transparent);
    animation: drift-a 46s var(--ease-in-out) infinite alternate;
}
.ambience__blob--2 {
    width: 58vmax; height: 58vmax; right: -22vmax; bottom: -26vmax;
    background: radial-gradient(closest-side, rgb(var(--gold-rgb) / .26), rgb(var(--gold-rgb) / .06) 55%, transparent);
    animation: drift-b 52s var(--ease-in-out) infinite alternate;
}
.ambience__blob--3 {
    width: 40vmax; height: 40vmax; left: 40%; top: 45%;
    background: radial-gradient(closest-side, rgb(var(--tq-rgb) / .14), transparent);
    animation: drift-c 60s var(--ease-in-out) infinite alternate;
}
/* Écrans tactiles : ambiance figée. Le mouvement de fond ne se remarque
   pas sur un téléphone, mais il occupe le processeur graphique en continu
   (batterie, fluidité du défilement). */
@media (hover: none) {
    .ambience__blob, .grain { animation: none; }
}
@keyframes drift-a { to { transform: translate3d(22vw, 26vh, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-26vw, -22vh, 0) scale(.9); } }
@keyframes drift-c { to { transform: translate3d(-30vw, -34vh, 0) scale(1.3); } }

.grain {
    position: fixed; inset: -50%; z-index: -1;
    pointer-events: none; opacity: .07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    20% { transform: translate(-3%, 2%); }
    40% { transform: translate(2%, -3%); }
    60% { transform: translate(-2%, -1%); }
    80% { transform: translate(3%, 3%); }
}

/* --------------------------------------------------------------------------
   Verre liquide
   Base commune à tous les navigateurs ; la réfraction des bords (vraie
   déformation de l'arrière-plan) est ajoutée en JS sur Chromium.
   -------------------------------------------------------------------------- */
.glass {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(420px circle at var(--mx, 20%) var(--my, 0%), rgba(255, 255, 255, .09), transparent 60%),
        linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025) 45%, rgba(255, 255, 255, .045));
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    border-radius: var(--r);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .2),
        inset 0 -1px 0 rgba(255, 255, 255, .04),
        inset 0 0 0 1px rgba(255, 255, 255, .07),
        0 24px 60px -30px rgba(0, 0, 0, .8);
}
/* Liseré lumineux (bord biseauté du verre) */
.glass::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .06) 28%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .22));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    pointer-events: none;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   Boutons, liens, pastilles
   -------------------------------------------------------------------------- */
.btn {
    --h: 54px;
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    height: var(--h);
    padding: 0 1.55em;
    border-radius: 999px;
    font-weight: 700; font-size: .96rem; letter-spacing: .005em;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
    transition: transform .5s var(--ease-out), box-shadow .4s, background-color .3s, color .3s;
    will-change: transform;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .45s var(--ease-out); }
.btn:hover .icon--arrow-right { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn::after {
    /* reflet qui balaie le bouton au survol */
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 48%, transparent 66%);
    transform: translateX(-120%);
    transition: transform .8s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }

.btn--gold {
    color: #140d02;
    background: linear-gradient(180deg, #e9ab3b 0%, var(--gold) 52%, #b67a12 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .5),
        inset 0 -3px 8px rgba(80, 45, 0, .25),
        0 14px 34px -14px rgb(var(--gold-rgb) / .8);
}
.btn--gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -3px 8px rgba(80, 45, 0, .25), 0 18px 44px -12px rgb(var(--gold-rgb) / .95); }

.btn--tq {
    color: #02140f;
    background: linear-gradient(180deg, #4fe6ca, var(--tq) 55%, #1fb398);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 14px 34px -14px rgb(var(--tq-rgb) / .8);
}

.btn--glass {
    color: var(--fg);
    background: linear-gradient(150deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 0 0 1px rgba(255, 255, 255, .14), 0 14px 34px -18px rgba(0, 0, 0, .8);
}
.btn--glass::after { background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .18) 48%, transparent 66%); }
.btn--glass:hover { background: linear-gradient(150deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .07)); }

.btn--sm { --h: 42px; padding: 0 1.15em; font-size: .88rem; }
.btn--block { display: flex; width: 100%; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .7em;
    font-weight: 700; font-size: .98rem;
    color: var(--fg);
    white-space: nowrap;
}
.link-arrow > span {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
    transition: background-size .5s var(--ease-out);
    padding-bottom: 2px;
}
.link-arrow .icon {
    width: 38px; height: 38px; padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    box-shadow: inset 0 0 0 1px var(--line-strong);
    transition: transform .5s var(--ease-out), background-color .3s, color .3s;
}
.link-arrow:hover > span { background-size: 100% 1.5px; }
.link-arrow:hover .icon { transform: translateX(4px); background: var(--tq); color: #000; box-shadow: none; }
.link-arrow--sm { font-size: .88rem; gap: .55em; }
.link-arrow--sm .icon { width: 30px; height: 30px; padding: 8px; }

.chip {
    display: inline-flex; align-items: center; gap: .55em;
    height: 36px; padding: 0 16px;
    border-radius: 999px;
    font-size: .82rem; font-weight: 500; letter-spacing: .02em;
    color: rgb(var(--fg-rgb) / .86);
    white-space: nowrap;
}
.chip .icon { width: 1.05em; height: 1.05em; }
.chip--sm { height: 30px; padding: 0 12px; font-size: .76rem; }
.chip--tq {
    background: rgb(var(--tq-rgb) / .12);
    color: var(--tq-ink);
    box-shadow: inset 0 0 0 1px rgb(var(--tq-rgb) / .3);
}
.chip__dot {
    position: relative;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--tq);
    box-shadow: 0 0 12px var(--tq);
}
.chip__dot::after {
    content: ''; position: absolute; inset: -5px;
    border-radius: 50%;
    border: 1px solid var(--tq);
    animation: ping 2.2s var(--ease-out) infinite;
}
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }

.eyebrow {
    display: flex; align-items: center; gap: 14px;
    font-size: .78rem; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--muted);
}
.eyebrow__num {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--font-display);
    font-size: 1.05rem; letter-spacing: .04em;
    color: var(--gold-ink);
}
.eyebrow__num::after {
    content: ''; width: 34px; height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.pen { fill: currentColor; }

/* --------------------------------------------------------------------------
   Titres de section
   -------------------------------------------------------------------------- */
.section { position: relative; padding-block: clamp(72px, 9vw, 132px); }
.site-main { overflow-x: clip; }

.sec-head { margin-bottom: clamp(44px, 6vw, 80px); }
.sec-head .eyebrow { margin-bottom: 22px; }
.sec-head--row {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
}
.sec-head--center { text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center .sec-title { margin-inline: auto; }
.sec-head--center .sec-lead { margin-inline: auto; }

.sec-title {
    max-width: 17ch;
    font-weight: 700;
    font-size: clamp(2.3rem, 5.2vw, 4.9rem);
    line-height: 1.02;
    letter-spacing: -.035em;
    text-wrap: balance;
}
/* Mots de la voix de marque : Comic Queens, légèrement penchés comme le logo */
.sec-title em,
.soon__title em,
.nl__title em,
.cycle__center em,
.report__title em {
    display: inline-block;
    font-family: var(--font-display);
    font-style: normal; font-weight: 400;
    font-size: .92em;
    letter-spacing: .01em;
    line-height: 1;
    transform: rotate(-2deg) translateY(-.02em);
    text-transform: uppercase;
}
.sec-title em.tone-tq { transform: rotate(1.5deg) translateY(-.02em); }

/* Découpage SplitText (balises span) : mots et masques en inline-block.
   Le masque déborde un peu pour ne pas rogner accents et jambages. */
.sw, .char { display: inline-block; }
.sw-mask {
    display: inline-block;
    vertical-align: top;
    padding: .14em .05em .16em;
    margin: -.14em -.05em -.16em;
}

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed; top: 14px; left: 0; right: 0; z-index: 100;
    pointer-events: none;
    transition: transform .6s var(--ease-out), opacity .4s;
}
.site-header.is-hidden { transform: translateY(calc(-100% - 30px)); }

.site-header__bar {
    position: relative;
    display: flex; align-items: center; gap: 12px;
    width: min(100% - 24px, 1380px);
    height: var(--header-h);
    margin-inline: auto;
    padding: 0 10px 0 24px;
    border-radius: 999px;
    pointer-events: auto;
}
.site-header__glass {
    position: absolute; inset: 0; z-index: -1;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(20, 20, 22, .5), rgba(8, 8, 10, .42));
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    backdrop-filter: blur(14px) saturate(180%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .22),
        inset 0 -1px 0 rgba(255, 255, 255, .05),
        inset 0 0 0 1px rgba(255, 255, 255, .08),
        inset 0 -10px 22px rgba(255, 255, 255, .025),
        0 16px 44px -12px rgba(0, 0, 0, .65);
    transition: background-color .4s;
}
.site-header.is-scrolled .site-header__glass { background: linear-gradient(180deg, rgba(16, 16, 18, .72), rgba(6, 6, 8, .66)); }

.brand { flex: none; display: block; }
.brand img { height: 40px; width: auto; }

.mainnav { flex: 1; display: flex; justify-content: center; }
.mainnav__list { display: flex; align-items: center; gap: 2px; }
.mainnav__link {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; gap: 6px;
    height: 46px; padding: 0 16px;
    border-radius: 999px;
    font-size: .94rem; font-weight: 500;
    color: rgb(var(--fg-rgb) / .8);
    transition: color .25s;
}
.mainnav__link:hover,
.mainnav__link[aria-expanded="true"] { color: var(--fg-strong); }
.mainnav__link.is-current { color: var(--tq-ink); }
.mainnav__chev { width: 15px; height: 15px; opacity: .7; transition: transform .45s var(--ease-out); }
.mainnav__link[aria-expanded="true"] .mainnav__chev { transform: rotate(180deg); }

/* Pastille de verre qui glisse sous l'entrée survolée */
.mainnav__pill {
    position: absolute; top: 11px; left: 0;
    height: 46px; width: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .06);
    opacity: 0;
    transition: transform .5s var(--ease-out), width .5s var(--ease-out), opacity .3s;
    pointer-events: none;
}
.mainnav__pill.is-on { opacity: 1; }

.site-header__actions { flex: none; display: flex; align-items: center; gap: 10px; }

.lang {
    position: relative;
    display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px var(--line);
}
.lang__opt {
    position: relative; z-index: 1;
    display: grid; place-items: center;
    min-width: 40px; height: 34px; padding: 0 10px;
    border-radius: 999px;
    font-size: .8rem; font-weight: 700; letter-spacing: .06em;
    color: var(--muted);
    transition: color .35s;
}
.lang__opt.is-active { color: #000; }
.lang__thumb {
    position: absolute; top: 4px; bottom: 4px; left: 4px;
    width: calc((100% - 8px) / 2);
    border-radius: 999px;
    background: linear-gradient(180deg, #fff, #dcdcd6);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
    transition: transform .5s var(--ease-spring);
}
.lang:has(.lang__opt:nth-child(2).is-active) .lang__thumb { transform: translateX(100%); }
.lang:not(:has(.lang__opt.is-active)) .lang__thumb { display: none; }

.site-header__donate .beat { animation: beat 2.4s ease-in-out infinite; transform-origin: center; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 68% { transform: scale(1.22); } 76% { transform: scale(.96); } 84% { transform: scale(1.12); } }
.sm-only { display: none; }

.burger {
    display: none;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 0 1px var(--line-strong);
    place-items: center;
}
.burger__lines { position: relative; width: 18px; height: 10px; }
.burger__lines i {
    position: absolute; left: 0; right: 0; height: 1.8px;
    border-radius: 2px; background: currentColor;
    transition: transform .5s var(--ease-out), top .3s;
}
.burger__lines i:first-child { top: 0; }
.burger__lines i:last-child { top: 8px; }
.menu-open .burger__lines i:first-child { top: 4px; transform: rotate(45deg); }
.menu-open .burger__lines i:last-child { top: 4px; transform: rotate(-45deg); }

/* Méga-menu */
.mega {
    position: absolute;
    top: calc(100% + 12px); left: 50%;
    width: min(100vw - 24px, 1080px);
    translate: -50% 0;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-10px) scale(.985);
    transform-origin: 50% 0;
    filter: blur(6px);
    transition: opacity .3s, transform .5s var(--ease-out), filter .4s;
}
.mega::before { /* pont invisible entre la barre et le panneau */
    content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.mega.is-open { opacity: 1; transform: none; filter: none; }
.mega__panel {
    display: grid; grid-template-columns: 320px 1fr; gap: 14px;
    padding: 14px;
    border-radius: var(--r-lg);
    background: linear-gradient(160deg, rgba(26, 26, 28, .86), rgba(8, 8, 10, .84));
    -webkit-backdrop-filter: blur(26px) saturate(170%);
    backdrop-filter: blur(26px) saturate(170%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        inset 0 0 0 1px rgba(255, 255, 255, .08),
        0 40px 80px -30px rgba(0, 0, 0, .9);
}
.mega__intro {
    display: flex; flex-direction: column; gap: 12px;
    padding: 20px 20px 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .035);
}
.mega__title { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.mega__desc { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.mega__media {
    margin-top: auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
}
.mega__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mega.is-open .mega__media img { transform: scale(1.06); }
.mega__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
    align-content: start;
}
.mega__link {
    display: grid; grid-template-columns: 48px 1fr 18px; align-items: center; gap: 14px;
    padding: 14px;
    border-radius: 18px;
    transition: background-color .3s;
}
.mega__link:hover, .mega__link:focus-visible { background: rgba(255, 255, 255, .06); }
.mega__icon {
    display: grid; place-items: center;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--tq-ink);
    transition: background-color .3s, color .3s, transform .5s var(--ease-spring);
}
.mega__link:hover .mega__icon { background: var(--tq); color: #000; transform: rotate(-6deg) scale(1.05); }
.mega__text { display: grid; gap: 2px; min-width: 0; }
.mega__text strong { font-size: .98rem; font-weight: 700; line-height: 1.25; }
.mega__text small { font-size: .82rem; color: var(--muted); line-height: 1.4; }
.mega__go { width: 18px; height: 18px; opacity: 0; transform: translate(-6px, 6px); transition: opacity .3s, transform .45s var(--ease-out); color: var(--tq-ink); }
.mega__link:hover .mega__go { opacity: 1; transform: none; }
.mega__link.is-current strong { color: var(--tq-ink); }
.mega__sub { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px 76px; }
.mega__sub a { font-size: .82rem; color: var(--muted); padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); }
.mega__sub a:hover { color: #000; background: var(--tq); }

/* Menu mobile plein écran */
.menu-mobile {
    position: fixed; inset: 0; z-index: 95;
    background:
        radial-gradient(60vmax 60vmax at 110% -10%, rgb(var(--tq-rgb) / .28), transparent 60%),
        radial-gradient(50vmax 50vmax at -20% 110%, rgb(var(--gold-rgb) / .22), transparent 60%),
        #030303;
    clip-path: circle(0 at calc(100% - 44px) 48px);
    transition: clip-path .8s var(--ease-in-out);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.menu-mobile.is-open { clip-path: circle(150% at calc(100% - 44px) 48px); }
.menu-mobile__inner {
    min-height: 100%;
    display: flex; flex-direction: column; gap: 36px;
    padding: 120px var(--gutter) 40px;
}
.mm { display: grid; gap: 2px; }
.mm__link {
    display: flex; align-items: center; gap: 16px; width: 100%;
    padding: 14px 0;
    font-size: clamp(1.7rem, 7vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
    text-align: left;
    border-bottom: 1px solid var(--line);
}
.mm__link[aria-current="page"] { color: var(--tq-ink); }
.mm__num { font-family: var(--font-display); font-size: .9rem; color: var(--gold-ink); letter-spacing: .04em; min-width: 26px; }
.mm__label { flex: 1; }
.mm__plus {
    display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    transition: transform .5s var(--ease-out), background-color .3s, color .3s;
}
.mm__toggle[aria-expanded="true"] .mm__plus { transform: rotate(45deg); background: var(--tq); color: #000; }
.mm__sub { overflow: hidden; }
.mm__sub ul { display: grid; gap: 4px; padding: 12px 0 18px 42px; }
.mm__sub a { display: block; padding: 8px 0; font-size: 1.08rem; color: var(--muted); }
.mm__sub a:hover { color: var(--fg-strong); }
.mm__grand { padding: 0 0 6px 16px !important; }
.mm__grand a { font-size: .95rem; }
.menu-mobile__foot { display: grid; gap: 18px; margin-top: auto; }
.menu-mobile__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.lang--wide .lang__opt { min-width: 92px; letter-spacing: .02em; }

html.menu-open, html.menu-open body { overflow: hidden; }

/* --------------------------------------------------------------------------
   Intro : le logo s'assemble pièce par pièce
   -------------------------------------------------------------------------- */
.intro { display: none; }
.motion.is-intro .intro {
    position: fixed; inset: 0; z-index: 300;
    display: grid; place-items: center;
    background: var(--bg);
    animation: intro-failsafe .5s 5s forwards;
}
.motion.is-intro .intro.is-running { animation: none; }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }
.intro__stage { width: min(78vw, 760px); }
.intro__logo { position: relative; width: 100%; }
.intro__piece {
    position: absolute;
    height: auto;
    will-change: transform, opacity;
    user-select: none; -webkit-user-drag: none;
}
.intro__skip {
    position: absolute; right: 28px; bottom: 26px;
    padding: 10px 16px; border-radius: 999px;
    font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--muted);
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px var(--line);
}
.intro__skip:hover { color: var(--fg-strong); }
.motion.is-intro .site-header { opacity: 0; }
.motion.is-intro .intro__piece { opacity: 0; }

/* --------------------------------------------------------------------------
   Curseur personnalisé (souris uniquement)
   -------------------------------------------------------------------------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
    .motion .cursor { display: block; }
    .motion.has-cursor, .motion.has-cursor * { cursor: none !important; }
    .motion.has-cursor input, .motion.has-cursor textarea { cursor: text !important; }
}
.cursor {
    position: fixed; top: 0; left: 0; z-index: 200;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s;
}
.has-cursor .cursor { opacity: 1; }
.cursor__dot, .cursor__ring {
    position: fixed; top: 0; left: 0;
    border-radius: 50%;
    will-change: transform;
}
.cursor__dot {
    width: 6px; height: 6px; margin: -3px 0 0 -3px;
    background: var(--tq);
    box-shadow: 0 0 10px var(--tq);
}
.cursor__ring {
    display: grid; place-items: center;
    width: 40px; height: 40px; margin: -20px 0 0 -20px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
    transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background-color .3s, box-shadow .3s;
}
.cursor.is-link .cursor__ring {
    width: 64px; height: 64px; margin: -32px 0 0 -32px;
    background: rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
}
.cursor.has-label .cursor__ring {
    width: 96px; height: 96px; margin: -48px 0 0 -48px;
    background: rgb(var(--tq-rgb) / .92);
    box-shadow: none;
}
.cursor__label {
    font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    color: #000; text-align: center; line-height: 1.1;
    padding: 0 10px;
    opacity: 0; transform: scale(.6);
    transition: opacity .25s, transform .4s var(--ease-spring);
}
.cursor.has-label .cursor__label { opacity: 1; transform: none; }
.cursor.has-label .cursor__dot, .cursor.is-pen .cursor__dot { opacity: 0; }
.cursor.is-pen .cursor__ring { width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--gold); box-shadow: 0 0 18px var(--gold); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--header-h) + 64px) 0 110px;
    overflow: hidden;
}
.hero__ink {
    position: absolute; inset: 0; z-index: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}
.hero__inner { position: relative; z-index: 1; }

.hero__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.7rem, 6.5vw, 7rem);
    line-height: 1.04;
    letter-spacing: .005em;
    text-transform: uppercase;
    max-width: 14.5em;
}
.hero__word {
    position: relative;
    display: inline-block;
    white-space: nowrap;
}
.hero__nobr { white-space: nowrap; }
.hero__chars { display: inline-block; }
.hero__word .char { display: inline-block; will-change: transform; }
.hero__word.tone-gold { color: var(--gold-display); }
.hero__word.tone-tq { color: var(--tq-display); }

.scribble {
    position: absolute; left: -2%; right: -2%; bottom: -.12em;
    width: 104%; max-width: none; height: .26em;
    overflow: visible;
    pointer-events: none;
}
/* Pas de vector-effect: non-scaling-stroke ici : combiné à pathLength sur un
   SVG étiré (preserveAspectRatio="none"), Chrome calcule mal la longueur des
   tirets et le trait s'arrête avant la pointe du stylo. */
.scribble path {
    fill: none;
    stroke: var(--gold);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}
.motion .scribble path { stroke-dashoffset: 1; }

.hero__pill {
    position: relative;
    display: inline-block;
    width: 1.72em; height: .8em;
    margin-inline: .04em;
    vertical-align: .02em;
    border-radius: 999px;
    overflow: hidden;
    transform: rotate(var(--r, -4deg));
    box-shadow: 0 0 0 .045em rgba(255, 255, 255, .85), 0 .12em .3em rgba(0, 0, 0, .5);
    transition: width .7s var(--ease-spring);
}
.hero__pill img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease-out); }
.hero__pill:hover { width: 2.3em; }
.hero__pill:hover img { transform: scale(1); }

.hero__foot {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 26px;
    margin-top: clamp(28px, 3.4vw, 46px);
}
.hero__lead {
    max-width: 44ch;
    font-size: clamp(1.02rem, 1.3vw, 1.2rem);
    line-height: 1.6;
    color: var(--muted);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__latest {
    position: absolute; right: var(--edge); bottom: 40px; z-index: 2;
    display: grid; grid-template-columns: 76px 1fr 36px; align-items: center; gap: 14px;
    width: 350px;
    padding: 10px 14px 10px 10px;
    border-radius: 22px;
    transform-style: preserve-3d;
}
.hero__latest-img { width: 76px; height: 76px; border-radius: 15px; overflow: hidden; }
.hero__latest-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.hero__latest:hover .hero__latest-img img { transform: scale(1.1); }
.hero__latest-text { display: grid; gap: 1px; min-width: 0; line-height: 1.3; }
.hero__latest-text small { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tq-ink); }
.hero__latest-text strong { font-size: .92rem; font-weight: 700; }
.hero__latest-text em { font-style: normal; font-size: .78rem; color: var(--faint); }
.hero__latest-go {
    display: grid; place-items: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    transition: background-color .3s, color .3s, transform .5s var(--ease-out);
}
.hero__latest-go .icon { width: 16px; height: 16px; }
.hero__latest:hover .hero__latest-go { background: var(--tq); color: #000; transform: rotate(45deg); }

/* Tampon circulaire : texte qui tourne, stylo au centre */
.hero__badge {
    position: absolute; right: calc(var(--edge) + 16px); bottom: 158px; z-index: 2;
    display: grid; place-items: center;
    width: 150px; height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 60%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    backdrop-filter: blur(12px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 20px 50px -20px rgba(0, 0, 0, .8);
}
.hero__badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 22s linear infinite; }
.hero__badge-ring text {
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: .5px;
    text-transform: uppercase;
    fill: rgb(var(--fg-rgb) / .9);
}
.hero__badge:hover .hero__badge-ring { animation-duration: 6s; }
.hero__badge-pen {
    width: 16px; height: auto; aspect-ratio: 220 / 1153;
    color: var(--gold);
    transform: rotate(180deg);
    transition: transform .6s var(--ease-spring);
}
.hero__badge:hover .hero__badge-pen { transform: rotate(180deg) translateY(-8px); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__hint {
    position: absolute; left: var(--edge); bottom: 44px; z-index: 2;
    display: none; align-items: center; gap: 10px;
    font-size: .8rem; color: var(--faint);
    transition: opacity .6s;
}
.hero__hint .icon { width: 18px; height: 18px; color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .motion .hero__hint { display: inline-flex; } }
.hero__hint.is-done { opacity: 0; }

.hero__scroll {
    position: absolute; left: 50%; bottom: 26px; z-index: 2;
    display: grid; justify-items: center; gap: 10px;
    translate: -50% 0;
    font-size: .68rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
    color: var(--faint);
}
.hero__scroll-line { position: relative; width: 1px; height: 46px; background: var(--line-strong); overflow: hidden; }
.hero__scroll-line span {
    position: absolute; left: 0; top: 0; width: 1px; height: 45%;
    background: var(--gold);
    animation: scroll-line 2.2s var(--ease-in-out) infinite;
}
@keyframes scroll-line { 0% { transform: translateY(-100%); } 100% { transform: translateY(230%); } }

.hero__pen {
    position: absolute; left: 0; top: 0; z-index: 3;
    width: 20px; height: auto; aspect-ratio: 220 / 1153;
    color: var(--gold);
    transform-origin: 50% .35%;
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6));
}

/* --------------------------------------------------------------------------
   Manifeste + chiffres
   -------------------------------------------------------------------------- */
.manifesto { padding-bottom: clamp(24px, 3vw, 40px); }
.manifesto__grid {
    display: grid; grid-template-columns: minmax(280px, 380px) 1fr;
    gap: clamp(40px, 7vw, 110px);
    align-items: start;
}
.manifesto__aside { position: sticky; top: 120px; }

.dict { overflow: hidden; border-radius: var(--r-lg); transform-style: preserve-3d; }
.dict__media { height: 170px; overflow: hidden; }
.dict__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.dict__body { padding: 26px 28px 30px; }
.dict__word { font-size: clamp(2.2rem, 3.4vw, 2.9rem); font-weight: 900; letter-spacing: -.035em; line-height: 1; }
.dict__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 18px; font-size: .88rem; color: var(--faint); }
.dict__type { color: var(--gold-ink); font-weight: 700; letter-spacing: .03em; }
.dict__defs { list-style: none; counter-reset: def; display: grid; gap: 12px; }
.dict__defs li {
    position: relative;
    counter-increment: def;
    padding-left: 30px;
    font-size: .98rem; line-height: 1.55; color: var(--muted);
}
.dict__defs li::before {
    content: counter(def) '.';
    position: absolute; left: 0; top: .1em;
    font-family: var(--font-display); color: var(--tq-ink);
}
.dict__defs strong { color: var(--fg); }
.dict__defs em { font-style: italic; color: var(--fg); }

.manifesto__main .eyebrow { margin-bottom: 30px; }
.manifesto__text {
    font-size: clamp(1.6rem, 3.15vw, 3.05rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.028em;
}
.manifesto__text em {
    font-style: normal;
    font-family: var(--font-display);
    font-size: .9em;
    letter-spacing: .01em;
    text-transform: uppercase;
}
.manifesto__sign {
    display: flex; align-items: center; gap: 16px;
    margin-top: 40px;
    font-weight: 700; color: var(--muted);
}
.manifesto__sign-line { width: 96px; height: 18px; overflow: visible; }
.manifesto__sign-line path { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; }
.motion .manifesto__sign-line path { stroke-dashoffset: 1; }

.stats__title {
    margin: clamp(80px, 11vw, 150px) 0 28px;
    font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
    color: var(--muted);
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
    padding: 30px 28px 28px;
    border-radius: var(--r);
    overflow: hidden;
}
.stat__value {
    display: flex; align-items: baseline;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 3.7vw, 3.9rem);
    line-height: 1;
    color: var(--tq-display);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.stat:nth-child(2n) .stat__value { color: var(--gold-display); }
.stat__suffix { margin-left: .06em; }
.stat__label { margin-top: 14px; max-width: 22ch; font-size: .98rem; line-height: 1.45; color: var(--muted); }

/* --------------------------------------------------------------------------
   Expertise : liste + image flottante
   -------------------------------------------------------------------------- */
.xp { border-top: 1px solid var(--line); }
.xp__link {
    position: relative;
    display: grid;
    grid-template-columns: 70px minmax(0, 1.05fr) minmax(0, 1fr) 56px;
    align-items: center; gap: 12px 36px;
    padding: 34px 6px;
    border-bottom: 1px solid var(--line);
    isolation: isolate;
}
.xp__link::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgb(var(--tq-rgb) / .1), rgba(255, 255, 255, .02) 70%);
    transform: scaleY(0); transform-origin: 50% 100%;
    transition: transform .6s var(--ease-out);
}
.xp__link:hover::before, .xp__link:focus-visible::before { transform: scaleY(1); }
.xp__num { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-ink); transition: color .3s; }
.xp__title {
    font-size: clamp(1.45rem, 2.7vw, 2.55rem);
    font-weight: 700; letter-spacing: -.03em; line-height: 1.08;
    transition: transform .6s var(--ease-out);
}
.xp__text { font-size: 1rem; line-height: 1.6; color: var(--muted); }
.xp__thumb { display: none; }
.xp__go {
    display: grid; place-items: center;
    width: 56px; height: 56px; border-radius: 50%;
    box-shadow: inset 0 0 0 1px var(--line-strong);
    transition: background-color .35s, color .35s, transform .6s var(--ease-out), box-shadow .35s;
}
.xp__go .icon { width: 20px; height: 20px; }
.xp__link:hover .xp__num { color: var(--tq-ink); }
.xp__link:hover .xp__title { transform: translateX(10px); }
.xp__link:hover .xp__go { background: var(--tq); color: #000; box-shadow: none; transform: rotate(45deg); }

.xp-float {
    position: fixed; left: 0; top: 0; z-index: 40;
    width: 240px; height: 300px;
    margin: -150px 0 0 -120px;
    pointer-events: none;
    opacity: 0;
    transform: scale(.6);
}
.xp-float__inner {
    position: absolute; inset: 0;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 30px 70px -20px rgba(0, 0, 0, .9);
}
.xp-float__inner img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    clip-path: inset(100% 0 0 0);
    transform: scale(1.25);
    transition: clip-path .7s var(--ease-out), transform 1.2s var(--ease-out);
}
.xp-float__inner img.is-active { clip-path: inset(0 0 0 0); transform: scale(1); }

/* --------------------------------------------------------------------------
   Film d'Andika (fin de « Ce que nous faisons »)
   Boucle muette en lecture automatique ; son et grand écran à la demande.
   Les commandes restent à droite : les sous-titres incrustés sont centrés.
   -------------------------------------------------------------------------- */
.film { position: relative; margin: clamp(56px, 7vw, 100px) 0 0; isolation: isolate; }
.film::before {
    /* halo : l'image d'aperçu, très floutée, déborde derrière le cadre */
    content: '';
    position: absolute; inset: 8% 5% 14%; z-index: -1;
    background: var(--poster) center / cover no-repeat;
    border-radius: 48px;
    filter: blur(70px) saturate(160%);
    opacity: .38;
    pointer-events: none;
}
.film__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: #050505;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 100px -40px rgba(0, 0, 0, .95);
    isolation: isolate;
}
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__open { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.film__open:focus-visible { outline-offset: -6px; border-radius: var(--r-lg); }
.film__chip { position: absolute; top: 18px; left: 18px; z-index: 2; pointer-events: none; }
.film__play {
    position: absolute; left: 50%; top: 50%; z-index: 2;
    display: none; place-items: center;
    width: 104px; height: 104px;
    translate: -50% -50%;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    backdrop-filter: blur(14px) saturate(180%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(255, 255, 255, .25);
    pointer-events: none;
    transition: transform .6s var(--ease-spring), background-color .3s, color .3s;
}
.film__play .icon { width: 34px; height: 34px; margin-left: 5px; fill: currentColor; }
.film.is-static .film__play { display: grid; }
.film__frame:hover .film__play { transform: scale(1.08); background: var(--gold); color: #000; }
.film__controls { position: absolute; right: 16px; bottom: 18px; z-index: 3; display: flex; gap: 8px; }
.film__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 46px; padding: 0 18px 0 15px;
    border-radius: 999px;
    font-size: .86rem; font-weight: 700;
    color: #fff;
    transition: background-color .3s, color .3s, transform .5s var(--ease-spring);
}
.film__btn .icon { width: 20px; height: 20px; }
.film__btn:hover { transform: translateY(-2px); }
.film__btn--icon { width: 46px; padding: 0; }
.film__ico--on { display: none; }
.film.is-sound .film__ico--on { display: block; }
.film.is-sound .film__ico--off { display: none; }
.film.is-sound [data-film-sound] { background: var(--tq); color: #000; }
.film__progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: rgba(255, 255, 255, .12); }
.film__progress span {
    display: block; width: 100%; height: 100%;
    transform: scaleX(0); transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--tq), var(--gold));
}
.film__caption {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
    gap: 8px 32px;
    margin-top: 20px;
}
.film__title { max-width: 60ch; font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.35; }
.film__title em { font-style: normal; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; }
.film__meta { font-size: .85rem; color: var(--faint); white-space: nowrap; }

/* Petit écran : rien ne doit masquer les sous-titres incrustés. Bouton son
   réduit à son icône (libellé conservé pour les lecteurs d'écran) ; toucher
   la vidéo suffit pour l'ouvrir en grand. */
@media (max-width: 640px) {
    .film__chip, .film__btn--icon { display: none; }
    .film__controls { right: 10px; bottom: 12px; }
    .film__btn { height: 38px; padding: 0 10px; }
    .film__btn .icon { width: 18px; height: 18px; }
    .film__btn-label {
        position: absolute; width: 1px; height: 1px; margin: -1px;
        overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
    }
    .film__play { width: 76px; height: 76px; }
    .film__play .icon { width: 26px; height: 26px; }
}

/* --------------------------------------------------------------------------
   Réalisations : défilement horizontal
   -------------------------------------------------------------------------- */
.real { padding-block: clamp(80px, 10vw, 140px); }
.real__pin { position: relative; }
/* Version épinglée (grand écran) : le bloc occupe tout l'écran, centré */
.real.is-pinned { padding-block: 0; }
.real.is-pinned .real__pin {
    height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding-top: 40px;
}
.real.is-pinned .real-card { height: clamp(360px, 54vh, 560px); }
.real__head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 30px 60px;
    margin-bottom: clamp(36px, 4vw, 56px);
}
.real__lead { max-width: 38ch; color: var(--muted); }

.real__viewport {
    padding-inline: var(--edge);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--edge);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.real__viewport::-webkit-scrollbar { display: none; }
.real.is-pinned .real__viewport { overflow: visible; }
.real__track {
    display: flex; gap: 24px;
    width: max-content;
    will-change: transform;
}
.real-card {
    position: relative;
    flex: none;
    width: clamp(290px, 29vw, 430px);
    height: clamp(430px, 62vh, 590px);
    scroll-snap-align: start;
}
.real-card__link {
    position: relative;
    display: block; height: 100%;
    border-radius: var(--r-lg);
    overflow: hidden;
    isolation: isolate;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.real-card__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.real-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.18);
    transition: transform 1.2s var(--ease-out);
}
.real-card__link:hover .real-card__media img { transform: scale(1.26); }
.real-card__shade {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, transparent 26%, transparent 38%, rgba(0, 0, 0, .78) 70%, rgba(0, 0, 0, .94) 100%);
}
.real-card__top { position: absolute; top: 18px; left: 18px; right: 70px; display: flex; flex-wrap: wrap; gap: 8px; }
.real-card__num {
    position: absolute; top: 20px; right: 22px;
    font-family: var(--font-display); font-size: 1.3rem;
    color: rgba(255, 255, 255, .55);
}
.real-card__body {
    position: absolute; left: 0; right: 0; bottom: 0;
    display: grid; gap: 10px;
    padding: 26px 26px 28px;
    transform: translateY(46px);
    transition: transform .7s var(--ease-out);
}
.real-card__link:hover .real-card__body, .real-card__link:focus-visible .real-card__body { transform: none; }
.real-card__figure { display: flex; align-items: baseline; gap: 10px; }
.real-card__figure strong { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--gold); white-space: nowrap; }
.real-card__figure span { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.real-card__title { font-size: clamp(1.25rem, 1.7vw, 1.55rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.real-card__text {
    font-size: .92rem; line-height: 1.55; color: rgba(255, 255, 255, .72);
    opacity: 0; transition: opacity .5s .05s;
}
.real-card__link:hover .real-card__text, .real-card__link:focus-visible .real-card__text { opacity: 1; }

.real-card--end { width: clamp(240px, 22vw, 320px); }
.real-end {
    display: grid; place-content: center; justify-items: center; gap: 22px;
    height: 100%;
    border-radius: var(--r-lg);
    border: 1px dashed rgba(255, 255, 255, .22);
    text-align: center;
    transition: border-color .3s, background-color .3s;
}
.real-end:hover { border-color: var(--tq); background: rgb(var(--tq-rgb) / .06); }
.real-end__icon {
    display: grid; place-items: center;
    width: 118px; height: 118px; border-radius: 50%;
    background: var(--tq); color: #000;
    box-shadow: 0 20px 50px -18px rgb(var(--tq-rgb) / .8);
    transition: transform .6s var(--ease-spring);
}
.real-end__icon .icon { width: 34px; height: 34px; }
.real-end:hover .real-end__icon { transform: scale(1.08) rotate(-12deg); }
.real-end__label { max-width: 14ch; font-size: 1.2rem; font-weight: 700; line-height: 1.25; }

.real__foot {
    display: flex; align-items: center; gap: 28px;
    margin-top: 34px;
}
.real__progress { position: relative; flex: 1; height: 44px; }
.real__rail, .real__ink {
    position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; border-radius: 2px;
}
.real__rail { background: rgba(255, 255, 255, .1); }
.real__ink {
    background: linear-gradient(90deg, var(--tq), var(--gold));
    transform: scaleX(0); transform-origin: 0 50%;
}
.real__pen {
    position: absolute; left: 0; top: calc(100% - 7px);
    width: 12px; aspect-ratio: 220 / 1153; height: auto;
    margin-left: -6px;
    color: var(--gold);
    transform-origin: 50% .35%;
    transform: rotate(215deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .6));
}
.real__count { font-family: var(--font-display); font-size: 1.15rem; color: var(--muted); white-space: nowrap; }
.real__count span { color: var(--fg); }
.real__drag { display: none; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.real__drag .icon { width: 16px; height: 16px; animation: nudge 1.6s var(--ease-in-out) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

/* --------------------------------------------------------------------------
   Bandeau de mots
   -------------------------------------------------------------------------- */
.marquee {
    position: relative;
    padding: clamp(22px, 3vw, 38px) 0;
    overflow: hidden;
    border-block: 1px solid var(--line);
    transform: rotate(-2.2deg) scale(1.04);
    background: linear-gradient(90deg, rgb(var(--tq-rgb) / .05), rgb(var(--gold-rgb) / .06));
    margin-block: clamp(20px, 4vw, 60px);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__word {
    padding-inline: .35em;
    font-family: var(--font-display);
    font-size: clamp(3rem, 8.6vw, 8.2rem);
    line-height: 1.05;
    text-transform: uppercase;
    white-space: nowrap;
}
.marquee__word.is-outline { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .85); }
.marquee__word:nth-child(4n + 1) { color: var(--tq-display); }
.marquee__pen {
    flex: none;
    font-size: clamp(3rem, 8.6vw, 8.2rem);
    height: .78em; width: auto; aspect-ratio: 220 / 1153;
    margin-inline: .12em;
    color: var(--gold);
    transform: rotate(24deg);
}

/* --------------------------------------------------------------------------
   Vidéos & audio
   -------------------------------------------------------------------------- */
.media__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; align-items: stretch; }

.video-card {
    position: relative;
    display: block; width: 100%;
    min-height: 460px;
    border-radius: var(--r-lg);
    overflow: hidden;
    text-align: left;
    isolation: isolate;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.video-card__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.video-card:hover .video-card__img { transform: scale(1.06); }
.video-card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .25) 50%, rgba(0, 0, 0, .85)); }
.video-card__play {
    position: absolute; left: 50%; top: 46%;
    display: grid; place-items: center;
    width: 108px; height: 108px;
    translate: -50% -50%;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    backdrop-filter: blur(14px) saturate(180%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(255, 255, 255, .25), 0 20px 50px -10px rgba(0, 0, 0, .6);
    transition: transform .6s var(--ease-spring), background-color .3s, color .3s;
}
.video-card__play .icon { width: 34px; height: 34px; margin-left: 5px; fill: currentColor; }
.video-card__ring {
    position: absolute; inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .45);
    animation: ring 2.6s var(--ease-out) infinite;
}
@keyframes ring { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.video-card:hover .video-card__play { transform: scale(1.1); background: var(--gold); color: #000; }
.video-card__meta { position: absolute; left: 0; right: 0; bottom: 0; display: grid; justify-items: start; gap: 12px; padding: 28px; }
.video-card__title { max-width: 24ch; font-size: clamp(1.4rem, 2.3vw, 2.1rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; }

.media__side { display: flex; flex-direction: column; gap: 14px; }
.video-mini {
    display: grid; grid-template-columns: 124px 1fr 44px; align-items: center; gap: 16px;
    width: 100%; padding: 10px 14px 10px 10px;
    border-radius: 22px;
    text-align: left;
}
.video-mini__img { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; }
.video-mini__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.video-mini:hover .video-mini__img img { transform: scale(1.1); }
.video-mini__text { display: grid; gap: 2px; min-width: 0; }
.video-mini__text small { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tq-ink); }
.video-mini__text strong { font-size: .98rem; font-weight: 700; line-height: 1.3; }
.video-mini__play {
    display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    transition: background-color .3s, color .3s;
}
.video-mini__play .icon { width: 16px; height: 16px; margin-left: 2px; fill: currentColor; }
.video-mini:hover .video-mini__play { background: var(--gold); color: #000; }

.listen { flex: 1; padding: 22px 24px 12px; border-radius: 26px; }
.listen__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; margin-bottom: 8px; }
.listen__title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; white-space: nowrap; }
.listen__title .icon { color: var(--tq-ink); }
.episode {
    display: grid; grid-template-columns: 46px 1fr 96px; align-items: center; gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}
.episodes li:first-child .episode { border-top: 0; }
.episode__play {
    display: grid; place-items: center;
    width: 46px; height: 46px; border-radius: 50%;
    background: rgb(var(--gold-rgb) / .14); color: var(--gold-ink);
    box-shadow: inset 0 0 0 1px rgb(var(--gold-rgb) / .35);
    transition: background-color .3s, color .3s, transform .5s var(--ease-spring);
}
.episode__play .icon { width: 16px; height: 16px; margin-left: 2px; fill: currentColor; }
.episode:hover .episode__play { background: var(--gold); color: #000; transform: scale(1.08); }
.episode__text { display: grid; gap: 2px; min-width: 0; }
.episode__text strong { font-size: .94rem; font-weight: 700; line-height: 1.3; }
.episode__text small { font-size: .78rem; color: var(--faint); }
.episode__wave { display: flex; align-items: center; justify-content: flex-end; gap: 3px; height: 30px; }
.episode__wave i {
    width: 3px; height: var(--h);
    border-radius: 3px;
    background: rgba(255, 255, 255, .22);
    transform-origin: 50% 50%;
    transition: background-color .3s;
}
.episode:hover .episode__wave i { background: var(--gold); animation: eq .9s ease-in-out infinite alternate; }
.episode:hover .episode__wave i:nth-child(3n) { animation-delay: -.3s; }
.episode:hover .episode__wave i:nth-child(3n + 1) { animation-delay: -.6s; }
@keyframes eq { from { transform: scaleY(.35); } to { transform: scaleY(1.1); } }

/* Fenêtre vidéo */
.vmodal {
    position: fixed; inset: 0; z-index: 150;
    display: grid; place-items: center;
    padding: 20px;
}
.vmodal[hidden] { display: none; }
.vmodal__backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, .72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0; transition: opacity .4s;
}
.vmodal__box {
    position: relative;
    width: min(1120px, 100%);
    border-radius: 26px;
    overflow: hidden;
    background: #0b0b0c;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 120px -30px rgba(0, 0, 0, .9);
    opacity: 0; transform: translateY(30px) scale(.96);
    transition: opacity .4s, transform .6s var(--ease-out);
}
.vmodal.is-open .vmodal__backdrop { opacity: 1; }
.vmodal.is-open .vmodal__box { opacity: 1; transform: none; }
.vmodal__frame { aspect-ratio: 16 / 9; background: #000; }
.vmodal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vmodal__bar { display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 22px; }
.vmodal__title { flex: 1; font-weight: 700; font-size: 1rem; }
.vmodal__close {
    display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    transition: background-color .3s, color .3s, transform .5s var(--ease-out);
}
.vmodal__close:hover { background: #fff; color: #000; transform: rotate(90deg); }

/* --------------------------------------------------------------------------
   Actualités
   -------------------------------------------------------------------------- */
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card__link { display: flex; flex-direction: column; height: 100%; }
.news-card__media {
    aspect-ratio: 5 / 4;
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.news-card--lead .news-card__media { aspect-ratio: 5 / 4; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.news-card__link:hover .news-card__media img { transform: scale(1.07); }
.news-card__body {
    position: relative;
    display: flex; flex-direction: column; gap: 12px; flex: 1;
    margin: -64px 14px 0;
    padding: 22px 22px 22px;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(34, 34, 36, .72), rgba(14, 14, 16, .78));
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .07), 0 24px 50px -24px rgba(0, 0, 0, .9);
    transition: transform .7s var(--ease-out);
}
.news-card__link:hover .news-card__body { transform: translateY(-8px); }
.news-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .8rem; color: var(--faint); }
.news-card__title { font-size: 1.28rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.22; }
.news-card__excerpt {
    font-size: .94rem; line-height: 1.55; color: var(--muted);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card__body .link-arrow { margin-top: auto; padding-top: 6px; }

.press { margin-top: clamp(64px, 8vw, 100px); }
.press__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.press__title { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 700; }
.press__title .icon { color: var(--gold-ink); }
.press-row {
    position: relative;
    display: grid; grid-template-columns: 200px 1fr 130px 44px; align-items: center; gap: 24px;
    padding: 24px 10px;
    border-top: 1px solid var(--line);
    isolation: isolate;
}
.press__list li:last-child .press-row { border-bottom: 1px solid var(--line); }
.press-row::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: rgba(255, 255, 255, .035);
    opacity: 0; transition: opacity .3s;
}
.press-row:hover::before { opacity: 1; }
.press-row__outlet { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.press-row__title { font-size: clamp(1.02rem, 1.5vw, 1.3rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.35; transition: transform .6s var(--ease-out); }
.press-row:hover .press-row__title { transform: translateX(8px); }
.press-row__date { font-size: .86rem; color: var(--faint); }
.press-row__go {
    display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%;
    box-shadow: inset 0 0 0 1px var(--line-strong);
    transition: background-color .3s, color .3s, transform .5s var(--ease-out);
}
.press-row__go .icon { width: 18px; height: 18px; }
.press-row:hover .press-row__go { background: var(--gold); color: #000; box-shadow: none; transform: rotate(45deg); }

/* --------------------------------------------------------------------------
   Agir avec Andika
   -------------------------------------------------------------------------- */
.act__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1200px; }
.act-card { --tone: var(--paper); --tone-rgb: 244 242 236; position: relative; transform-style: preserve-3d; }
.act-card--tq { --tone: var(--tq); --tone-rgb: var(--tq-rgb); }
.act-card--gold { --tone: var(--gold); --tone-rgb: var(--gold-rgb); }
.act-card__link {
    position: relative;
    display: flex; flex-direction: column; gap: 16px;
    height: 100%; min-height: 470px;
    padding: 34px 32px 30px;
    border-radius: var(--r-lg);
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(160deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02) 55%, rgb(var(--tone-rgb) / .06));
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgb(var(--tone-rgb) / .16), 0 30px 60px -30px rgba(0, 0, 0, .9);
    transition: color .5s .05s, box-shadow .4s;
}
.act-card--gold .act-card__link { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgb(var(--gold-rgb) / .45), 0 30px 80px -30px rgb(var(--gold-rgb) / .55); }

/* L'encre monte et remplit la carte */
.act-card__fill {
    position: absolute; inset: 0; z-index: -1;
    background: var(--tone);
    transform: translateY(calc(100% + 30px));
    transition: transform .85s var(--ease-in-out);
}
.act-card__wave {
    position: absolute; left: 0; bottom: 100%;
    width: 200%; height: 26px;
    fill: var(--tone);
    animation: wave 3.2s linear infinite;
}
@keyframes wave { to { transform: translateX(-50%); } }
.act-card__link:hover .act-card__fill, .act-card__link:focus-visible .act-card__fill { transform: translateY(0); }
.act-card__link:hover, .act-card__link:focus-visible { color: #000; }

.act-card__icon {
    display: grid; place-items: center;
    width: 66px; height: 66px; border-radius: 20px;
    background: var(--tone); color: #000;
    box-shadow: 0 16px 34px -14px rgb(var(--tone-rgb) / .8);
    transition: transform .7s var(--ease-spring), background-color .4s, color .4s;
}
.act-card__icon .icon { width: 28px; height: 28px; }
.act-card__link:hover .act-card__icon { background: #000; color: var(--tone); transform: rotate(-8deg) scale(1.06); }
.act-card__title { margin-top: 18px; font-size: clamp(1.6rem, 2.3vw, 2.1rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
.act-card__text { font-size: 1rem; line-height: 1.6; color: var(--muted); transition: color .5s .05s; }
.act-card__link:hover .act-card__text, .act-card__link:focus-visible .act-card__text { color: rgba(0, 0, 0, .75); }
.act-card__amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.amount {
    display: inline-grid; place-items: center;
    height: 38px; padding: 0 14px;
    border-radius: 999px;
    font-family: var(--font-display); font-size: 1rem;
    background: rgb(var(--gold-rgb) / .12);
    box-shadow: inset 0 0 0 1px rgb(var(--gold-rgb) / .4);
    color: var(--gold-ink);
    transition: background-color .4s, color .4s, box-shadow .4s;
}
.amount--ghost { font-family: var(--font-sans); font-size: .82rem; font-weight: 700; background: transparent; }
.act-card__link:hover .amount { background: rgba(0, 0, 0, .1); color: #000; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35); }
.act-card__methods { display: flex; align-items: center; gap: 12px; font-size: .8rem; color: var(--faint); transition: color .4s; }
.act-card__method-icons { display: flex; gap: 6px; color: var(--fg); transition: color .4s; }
.act-card__method-icons .icon { width: 22px; height: 22px; }
.act-card__link:hover .act-card__methods, .act-card__link:hover .act-card__method-icons { color: rgba(0, 0, 0, .7); }
.act-card__cta {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: auto; padding-top: 20px;
    border-top: 1px solid rgb(var(--tone-rgb) / .2);
    font-weight: 700;
    transition: border-color .4s;
}
.act-card__cta .icon {
    width: 46px; height: 46px; padding: 13px;
    border-radius: 50%;
    background: var(--tone); color: #000;
    transition: transform .6s var(--ease-out), background-color .4s, color .4s;
}
.act-card__link:hover .act-card__cta { border-color: rgba(0, 0, 0, .2); }
.act-card__link:hover .act-card__cta .icon { background: #000; color: var(--tone); transform: translateX(4px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Partenaires
   -------------------------------------------------------------------------- */
.partners { padding-bottom: clamp(60px, 8vw, 110px); }
.logos {
    display: grid; gap: 16px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logos__row { overflow: hidden; }
.logos__track {
    display: flex; gap: 16px; width: max-content;
    padding-block: 4px;
    animation: logos 46s linear infinite;
}
.logos__row--rev .logos__track { animation-direction: reverse; animation-duration: 54s; }
.logos:hover .logos__track { animation-play-state: paused; }
@keyframes logos { to { transform: translateX(calc(-50% - 8px)); } }
.logo-tile {
    display: grid; place-items: center;
    width: 250px; height: 104px;
    padding: 0 30px;
    border-radius: 22px;
    flex: none;
    transition: transform .6s var(--ease-out);
}
/* hauteur « optique » calculée par logo (Partner::logoHeight) : à surface égale */
.logo-tile img { height: var(--h, 34px); width: auto; max-width: 100%; object-fit: contain; opacity: .7; transition: opacity .3s, filter .3s; }
@media (hover: hover) {
    /* logos en camaïeu clair, leurs couleurs au survol */
    .logo-tile img { filter: grayscale(1) brightness(1.7); }
}
.logo-tile:hover { transform: translateY(-4px); }
.logo-tile:hover img { opacity: 1; filter: drop-shadow(0 0 16px rgb(var(--tq-rgb) / .7)); }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.site-footer { position: relative; padding-top: clamp(40px, 6vw, 80px); overflow: hidden; }

.nl {
    display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px 56px; align-items: center;
    padding: clamp(28px, 5vw, 64px);
    border-radius: 38px;
    overflow: hidden;
}
.nl::after {
    content: ''; position: absolute; z-index: -1;
    width: 520px; height: 520px; right: -140px; top: -260px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgb(var(--tq-rgb) / .28), transparent);
    pointer-events: none;
}
.nl__title { font-size: clamp(2.1rem, 4.4vw, 3.8rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.nl__text { margin-top: 16px; max-width: 42ch; color: var(--muted); }
.nl__field {
    position: relative;
    display: flex; align-items: center; gap: 10px;
    height: 70px; padding: 0 8px 0 22px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .35);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 2px 10px rgba(0, 0, 0, .4);
    transition: box-shadow .3s;
}
.nl__field:focus-within { box-shadow: inset 0 0 0 1.5px var(--tq), 0 0 0 6px rgb(var(--tq-rgb) / .12); }
.nl__icon { width: 20px; height: 20px; color: var(--faint); }
.nl__field input {
    flex: 1; min-width: 0; height: 100%;
    background: none; border: 0; outline: 0;
    font-size: 1.02rem;
}
.nl__field input::placeholder { color: var(--faint); }
.nl__field .btn { --h: 54px; }
.nl__msg { min-height: 1.6em; margin: 12px 0 0 22px; font-size: .9rem; font-weight: 500; }
.nl__msg.is-ok { color: var(--tq-ink); }
.nl__msg.is-error { color: #ff8a7a; }
.nl__consent { margin-left: 22px; font-size: .8rem; color: var(--faint); }

.footer-grid {
    display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.25fr; gap: 40px;
    margin-top: clamp(64px, 9vw, 110px);
}
.footer-brand__logo { display: inline-block; }
.footer-brand__logo img { width: 230px; }
.footer-brand__brief { margin: 22px 0 28px; max-width: 38ch; font-size: .95rem; line-height: 1.65; color: var(--muted); }
.footer-label { margin-bottom: 16px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.footer-col ul { display: grid; gap: 10px; }
.footer-link {
    font-size: .95rem; color: var(--muted);
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: color .25s, background-size .45s var(--ease-out);
}
.footer-link:hover { color: var(--fg-strong); background-size: 100% 1px; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: .95rem; color: var(--muted); }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--tq-ink); }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials__link {
    display: grid; place-items: center;
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px var(--line);
    transition: background-color .3s, color .3s, box-shadow .3s;
}
.socials__link .icon { width: 19px; height: 19px; }
.socials__link:hover { background: var(--tq); color: #000; box-shadow: 0 12px 30px -10px rgb(var(--tq-rgb) / .8); }
.socials--sm .socials__link { width: 40px; height: 40px; }

.footer-giant {
    position: relative;
    margin-top: clamp(50px, 8vw, 100px);
    text-align: center;
    font-family: var(--font-display);
    font-size: 18.2vw;
    line-height: .8;
    text-transform: uppercase;
    white-space: nowrap;
    user-select: none;
    --x: 50%; --y: 50%;
}
.footer-giant__word { display: block; color: rgba(255, 255, 255, .045); }
.footer-giant__word--lit {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, var(--tq), var(--gold) 60%, var(--tq));
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    -webkit-mask-image: radial-gradient(circle 22vw at var(--x) var(--y), #000 0%, transparent 70%);
    mask-image: radial-gradient(circle 22vw at var(--x) var(--y), #000 0%, transparent 70%);
    opacity: .9;
}

.footer-bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
    padding: 26px 0 34px;
    border-top: 1px solid var(--line);
    font-size: .85rem; color: var(--faint);
}
.footer-bottom__links { display: flex; gap: 22px; }
.to-top { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--muted); }
.to-top__icon {
    display: grid; place-items: center;
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: background-color .3s, color .3s, transform .5s var(--ease-out);
}
.to-top__icon .icon { width: 17px; height: 17px; }
.to-top:hover { color: var(--fg-strong); }
.to-top:hover .to-top__icon { background: var(--gold); color: #000; transform: translateY(-4px); }

/* --------------------------------------------------------------------------
   Page « en préparation »
   -------------------------------------------------------------------------- */
.soon {
    position: relative;
    min-height: 100svh;
    display: grid; align-items: center;
    padding: calc(var(--header-h) + 80px) 0 180px;
    overflow: hidden;
}
.soon__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; text-align: center; }
.soon__page { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--gold-display); text-transform: uppercase; letter-spacing: .02em; }
.soon__title { max-width: 16ch; font-size: clamp(2.5rem, 6.4vw, 6rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.soon__text { max-width: 48ch; color: var(--muted); }
.soon .btn { margin-top: 10px; }
.soon__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.soon__art { position: absolute; left: 0; right: 0; bottom: 30px; height: 160px; pointer-events: none; }
.soon__line { width: 100%; height: 100%; overflow: visible; }
.soon__line path { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; }
.motion .soon__line path { stroke-dashoffset: 1; }
.soon__pen { position: absolute; left: 0; top: 0; width: 16px; height: auto; aspect-ratio: 220 / 1153; color: var(--gold); transform-origin: 50% .35%; opacity: 0; }

/* ==========================================================================
   PAGES INTÉRIEURES — écrites « mobile d'abord » : les styles de base visent
   le téléphone, les media queries min-width enrichissent pour les grands écrans.
   ========================================================================== */

/* Pages intérieures : un peu moins d'air entre les sections que sur l'accueil */
.page-inner .section { padding-block: clamp(64px, 8vw, 112px); }

/* --------------------------------------------------------------------------
   En-tête de page (x-page-hero) + photo en forme de bec de plume
   -------------------------------------------------------------------------- */
.phero {
    position: relative;
    padding: calc(var(--header-h) + 44px) 0 40px;
    overflow: hidden;
}
.phero__grid { display: grid; gap: 44px; }
.crumbs__list {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
    font-size: .8rem; color: var(--faint);
}
.crumbs__list li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs__list li + li::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: var(--gold);
}
.crumbs a { color: var(--muted); transition: color .25s; }
.crumbs a:hover { color: var(--fg-strong); }
.crumbs [aria-current] { color: var(--fg); font-weight: 700; }

.phero__title {
    margin-top: 20px;
    font-size: clamp(2.3rem, 10.4vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.05;
    text-wrap: balance;
}
.phero__title em {
    position: relative;
    display: inline-block;
    font-family: var(--font-display);
    font-style: normal; font-weight: 400;
    font-size: .92em;
    letter-spacing: .01em;
    line-height: 1;
    text-transform: uppercase;
    transform: rotate(-2deg) translateY(-.02em);
}
.phero__title em.tone-tq { transform: rotate(1.5deg) translateY(-.02em); }

/* Apparition mot à mot, en CSS pur. Le masque déborde (marges négatives
   compensées) pour ne rogner ni les accents ni le soulignement du stylo.
   Pendant l'intro du logo, l'animation attend. */
.rise {
    display: inline-block;
    vertical-align: top;
    overflow: clip;
    padding: .14em .05em .34em;
    margin: -.14em -.05em -.34em;
}
.rise__in { display: inline-block; }
.motion .rise__in { animation: rise 1.1s var(--ease-out) both; animation-delay: calc(var(--i) * 70ms + 120ms); }
.motion.is-intro:not(.intro-out) .rise__in { animation-play-state: paused; }
@keyframes rise { from { transform: translateY(115%); } }
.phero__title .scribble { bottom: -.24em; height: .3em; }
.phero__lead { margin-top: 20px; max-width: 54ch; font-size: 1.02rem; line-height: 1.7; color: var(--muted); }
.phero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.nib {
    position: relative;
    width: min(76vw, 340px);
    margin: 0 auto;
    aspect-ratio: 72 / 100;
}
.nib__photo {
    position: absolute; inset: 0;
    overflow: hidden;
    background: #111;
    /* Bec du stylo du logo (courbes approchées en polygone : responsive) */
    clip-path: polygon(50% 0%, 46.7% 7.8%, 42.5% 15.2%, 37.5% 22.1%, 31.7% 28.5%, 25% 34.5%, 17.5% 40%, 9.2% 45%, 0% 49.6%, 14.6% 100%, 85.4% 100%, 100% 49.6%, 90.8% 45%, 82.5% 40%, 75% 34.5%, 68.3% 28.5%, 62.5% 22.1%, 57.5% 15.2%, 53.3% 7.8%);
}
.nib__photo img {
    position: absolute; left: 0; top: -6%;
    width: 100%; height: 112%;
    object-fit: cover; object-position: 50% 40%;
}
.nib__lines { position: absolute; left: -3%; top: -3%; width: 106%; max-width: none; height: 106%; overflow: visible; pointer-events: none; }
.nib__outline, .nib__slit {
    fill: none;
    stroke: var(--gold);
    stroke-width: .5;
    stroke-linejoin: round; stroke-linecap: round;
    stroke-dasharray: 1;
}
.nib__slit { stroke-width: .7; }
.motion .nib__outline, .motion .nib__slit { stroke-dashoffset: 1; }
.nib__hole {
    position: absolute; left: 50%; top: 53%;
    width: 10%; aspect-ratio: 1;
    translate: -50% -50%;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: rgba(0, 0, 0, .25);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

@media (min-width: 1100px) {
    .phero {
        display: flex; align-items: center;
        min-height: min(100svh, 940px);
        padding: calc(var(--header-h) + 64px) 0 72px;
    }
    .phero > .container { width: min(100% - 2 * var(--gutter), var(--container)); }
    .phero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); align-items: center; gap: 72px; }
    .phero__title { font-size: clamp(3.6rem, 5.3vw, 5.5rem); }
    .phero__lead { font-size: 1.12rem; }
    .nib { width: min(100%, 430px); }
}

/* --------------------------------------------------------------------------
   Qui nous sommes + parcours (frise qui se remplit d'encre au défilement)
   -------------------------------------------------------------------------- */
.story__grid { display: grid; gap: 56px; }
.story__text { display: grid; gap: 16px; margin-top: 26px; max-width: 60ch; font-size: 1.02rem; line-height: 1.75; color: var(--muted); }
.story__text p:first-child { color: var(--fg); font-size: 1.12rem; }
.story__text p:last-child { color: var(--fg); font-weight: 600; }
.story__label {
    margin-bottom: 22px;
    font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
    color: var(--muted);
}
.timeline { position: relative; display: grid; gap: 32px; padding-left: 36px; --fill: 1; }
.motion .timeline { --fill: 0; }
.timeline::before, .timeline::after {
    content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px;
    width: 2px; border-radius: 2px;
}
.timeline::before { background: var(--line); }
.timeline::after {
    background: linear-gradient(var(--tq), var(--gold));
    transform: scaleY(var(--fill)); transform-origin: 50% 0;
}
.timeline__item { position: relative; }
.timeline__item::before {
    content: ''; position: absolute; left: -36px; top: .15em;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--bg);
    box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 5px var(--bg);
}
.timeline__year { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; color: var(--gold-display); }
.timeline__title { margin-top: 10px; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.timeline__year.sr-only + .timeline__title { margin-top: 0; }
.timeline__text { margin-top: 6px; max-width: 52ch; font-size: .96rem; line-height: 1.6; color: var(--muted); }

@media (min-width: 1000px) {
    .story__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 96px; align-items: start; }
    .story__timeline { padding-top: 12px; }
}

/* --------------------------------------------------------------------------
   Démarche en quatre temps : le stylo trace le chemin entre les étapes
   -------------------------------------------------------------------------- */
.approach__track { position: relative; }
.approach__svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.approach__rail { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 9; }
.approach__ink { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; }
.approach__pen {
    position: absolute; left: 0; top: 0; z-index: 2;
    width: 14px; height: auto; aspect-ratio: 220 / 1153;
    color: var(--gold);
    transform-origin: 50% .35%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .6));
    pointer-events: none;
}
html:not(.motion) .approach__pen { display: none; }

.steps { position: relative; display: grid; gap: 48px; padding-left: 58px; }
.step { position: relative; }
.step__dot {
    position: absolute; left: -58px; top: .5rem;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--bg);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28);
    transition: box-shadow .5s, background-color .5s;
}
.step__num { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: rgba(255, 255, 255, .22); transition: color .5s; }
.step__title { margin-top: 10px; font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; }
.step__text { margin-top: 10px; max-width: 42ch; line-height: 1.65; color: var(--muted); }
.motion .step { opacity: .42; transition: opacity .6s; }
.step.is-on { opacity: 1; }
.step.is-on .step__dot { background: var(--gold); box-shadow: inset 0 0 0 2px var(--gold), 0 0 22px rgb(var(--gold-rgb) / .6); }
.step.is-on .step__num { color: var(--gold-display); }
html:not(.motion) .step__num { color: var(--gold-display); }

/* Ce qui rend notre action possible */
.means { margin-top: 72px; }
.means__list { display: grid; gap: 14px; }
.means__item { display: grid; align-content: start; gap: 10px; padding: 28px 24px 30px; border-radius: var(--r-lg); }
.means__icon {
    display: grid; place-items: center;
    width: 46px; height: 46px; margin-bottom: 6px;
    border-radius: 50%;
    background: rgb(var(--tq-rgb) / .14); color: var(--tq-display);
}
.means__item:nth-child(2n) .means__icon { background: rgb(var(--gold-rgb) / .14); color: var(--gold-display); }
.means__title { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.means__text { max-width: 52ch; line-height: 1.65; color: var(--muted); }

.quote { display: grid; gap: 18px; margin-top: 72px; max-width: 900px; }
.quote__mark { width: 42px; height: 42px; color: var(--gold); }
.quote__text { margin: 0; font-size: clamp(1.35rem, 5.4vw, 2.4rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.28; }
.quote__source { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; font-size: .9rem; color: var(--faint); }

@media (min-width: 900px) {
    .steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 44px; padding: 88px 0 0; }
    .step__dot { left: 0; top: -88px; }
    .means { margin-top: 96px; }
    .means__list { grid-template-columns: 1fr 1fr; gap: 18px; }
    .means__item { padding: 34px 32px 36px; }
    .quote { margin-top: 96px; }
}

/* --------------------------------------------------------------------------
   Mission, vision, valeurs
   -------------------------------------------------------------------------- */
.guide__cards { display: grid; gap: 14px; }
.guide-card { padding: 28px 24px 30px; border-radius: var(--r-lg); }
.guide-card__label { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--tq-ink); }
.guide-card--vision .guide-card__label { color: var(--gold-ink); }
.guide-card__text { margin-top: 14px; font-size: clamp(1.3rem, 5.2vw, 2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.values { margin-top: 64px; }
.values__list { border-top: 1px solid var(--line); }
.value { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.value__name {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 8vw, 2.7rem);
    line-height: 1;
    text-transform: uppercase;
    transition: transform .6s var(--ease-spring);
    transform-origin: 0 100%;
}
.value:nth-child(3n + 1) .value__name { color: var(--tq-display); }
.value:nth-child(3n + 2) .value__name { color: var(--gold-display); }
.value__text { color: var(--muted); line-height: 1.6; }

@media (min-width: 768px) {
    .guide__cards { grid-template-columns: 1fr 1fr; gap: 18px; }
    .guide-card { padding: 36px 34px 40px; }
    .value { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 28px; padding: 26px 0; }
}
@media (hover: hover) {
    .value:hover .value__name { transform: rotate(-3deg) translateX(8px); }
}

/* --------------------------------------------------------------------------
   Équipe
   -------------------------------------------------------------------------- */
.team__lead { max-width: 40ch; color: var(--muted); }
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.member { display: flex; flex-direction: column; min-width: 0; }
.member__photo {
    display: grid; place-items: center;
    aspect-ratio: 4 / 5;
    margin-bottom: 12px;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 18%, rgb(var(--tq-rgb) / .22), transparent 58%),
        radial-gradient(circle at 80% 90%, rgb(var(--gold-rgb) / .16), transparent 55%),
        linear-gradient(160deg, #151517, #0a0a0b);
    box-shadow: inset 0 0 0 1px var(--line);
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__pen { width: 20px; height: auto; aspect-ratio: 220 / 1153; color: var(--gold); transform: rotate(20deg); }
.member__name { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.member__role { margin-top: 2px; font-size: .88rem; line-height: 1.45; color: var(--muted); }
.member--join { grid-column: 1 / -1; }
.member__join {
    display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
    height: 100%;
    padding: 24px 22px;
    border-radius: 22px;
    border: 1px dashed rgba(255, 255, 255, .22);
    transition: border-color .3s, background-color .3s;
}
.member__join:hover { border-color: var(--tq); background: rgb(var(--tq-rgb) / .06); }
.member__join .link-arrow { margin-top: 8px; }
.member__plus {
    display: grid; place-items: center;
    width: 48px; height: 48px; margin-bottom: 8px;
    border-radius: 50%;
    background: var(--tq); color: #000;
    transition: transform .6s var(--ease-spring);
}
.member__join:hover .member__plus { transform: rotate(90deg); }

@media (min-width: 900px) {
    .team__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
    .member--join { grid-column: auto; }
    .member__join { aspect-ratio: auto; }
}

/* --------------------------------------------------------------------------
   Appel final : la photo apparaît à travers les lettres
   -------------------------------------------------------------------------- */
.join { padding: clamp(64px, 12vw, 150px) 0 clamp(48px, 8vw, 100px); text-align: center; overflow: hidden; }
.join__title {
    /* marge interne : la photo doit aussi couvrir les accents (É) qui
       dépassent de la ligne, sinon ils n'apparaissent qu'en contour.
       Marges verticales seulement : des marges négatives latérales
       feraient déborder le titre sur les bords de l'écran. */
    padding: .22em 0 .08em;
    margin: -.22em 0 -.08em;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(3.2rem, 15vw, 9.5rem);
    line-height: .95;
    text-transform: uppercase;
    color: var(--tq-display);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .join__title {
        background: var(--img-sm) 50% 35% / cover no-repeat;
        -webkit-background-clip: text; background-clip: text;
        color: transparent;
        -webkit-text-stroke: 1px rgba(255, 255, 255, .22);
    }
}
@media (min-width: 900px) {
    @supports ((-webkit-background-clip: text) or (background-clip: text)) {
        .join__title { background-image: var(--img); }
    }
}
.join__text { max-width: 46ch; margin: 22px auto 0; line-height: 1.7; color: var(--muted); }
.join__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ==========================================================================
   NOTRE EXPERTISE (mobile d'abord)
   ========================================================================== */

/* Sommaire des domaines : bande qui défile sur téléphone */
.toc {
    display: flex; gap: 8px;
    margin: -8px calc(var(--gutter) * -1) 28px;
    padding: 4px var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter); /* sinon la 1re pastille se cale contre le bord */
    scrollbar-width: none;
}
.toc::-webkit-scrollbar { display: none; }
.toc__link {
    flex: none;
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 44px; padding: 0 18px 0 14px;
    border-radius: 999px;
    scroll-snap-align: start;
    font-size: .9rem; font-weight: 600;
    color: var(--muted);
    background: rgba(255, 255, 255, .05);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: background-color .3s, color .3s, box-shadow .3s;
}
.toc__num { font-family: var(--font-display); font-size: 1rem; color: var(--gold-ink); transition: color .3s; }
.toc__link:hover { color: var(--fg-strong); box-shadow: inset 0 0 0 1px var(--line-strong); }
.toc__link.is-active { background: var(--tq); color: #000; box-shadow: none; }
.toc__link.is-active .toc__num { color: #000; }

/* Pages du cahier */
.dstack { position: relative; }
.dstack__anchor { display: block; height: 0; }
.dcard + .dstack__anchor { margin-top: 28px; }
.dcard {
    position: relative;
    display: flex; flex-direction: column;
    border-radius: var(--r-lg);
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(165deg, #151517, #0a0a0b 70%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px var(--line), 0 30px 70px -34px rgba(0, 0, 0, .95);
    transform-origin: 50% 0;
}
.dcard__media { aspect-ratio: 16 / 10; overflow: hidden; }
.dcard__media img { width: 100%; height: 100%; object-fit: cover; }
.dcard__body {
    position: relative;
    padding: 26px 22px 30px 44px;
    /* marge de cahier (trait or) et lignes à peine visibles */
    background-image:
        linear-gradient(90deg, transparent 25px, rgb(var(--gold-rgb) / .42) 25px 26px, transparent 26px),
        repeating-linear-gradient(180deg, transparent 0 33px, rgba(255, 255, 255, .035) 33px 34px);
}
.dcard__num { font-family: var(--font-display); font-size: 2.9rem; line-height: 1; color: var(--gold-display); }
.dcard__title { margin-top: 12px; font-size: clamp(1.8rem, 8vw, 2.7rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.dcard__text { margin-top: 14px; max-width: 56ch; line-height: 1.7; color: var(--muted); }
.dcard__label { margin-top: 24px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--tq-ink); }
.dcard__list { display: grid; gap: 10px; margin-top: 12px; }
.dcard__list li { position: relative; padding-left: 26px; line-height: 1.5; }
.dcard__list li::before {
    /* puce en forme de bec de plume */
    content: '';
    position: absolute; left: 3px; top: .2em;
    width: 11px; height: 15px;
    background: var(--tq-display);
    clip-path: polygon(50% 0%, 42% 16%, 27% 31%, 0% 50%, 15% 100%, 85% 100%, 100% 50%, 73% 31%, 58% 16%);
    transform: rotate(180deg);
}
.dcard__more { margin-top: 24px; }
.dcard__shade { position: absolute; inset: 0; z-index: 3; background: #000; opacity: 0; pointer-events: none; }

@media (min-width: 900px) {
    .toc { flex-wrap: wrap; margin: -8px 0 44px; padding: 0; overflow: visible; }
    .dcard { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: min(76vh, 620px); }
    .dcard__media { aspect-ratio: auto; order: 2; }
    .dcard:nth-of-type(even) .dcard__media { order: -1; }
    .dcard__body {
        display: flex; flex-direction: column; justify-content: center;
        padding: 48px 52px 48px 76px;
        background-image:
            linear-gradient(90deg, transparent 47px, rgb(var(--gold-rgb) / .42) 47px 48px, transparent 48px),
            repeating-linear-gradient(180deg, transparent 0 33px, rgba(255, 255, 255, .035) 33px 34px);
    }
    .dcard__num { font-size: 3.6rem; }
    .dcard__title { font-size: clamp(2.2rem, 3.2vw, 3.1rem); }
}

/* Pile de pages : chaque page reste épinglée et la suivante se pose dessus.
   Activée par le JS (classe .dstack--stacked) seulement avec une souris, sur
   grand écran, et si chaque page tient entière à l'écran une fois épinglée :
   sinon la suivante recouvrirait une page pas encore lue. */
.dstack--stacked .dcard { position: sticky; top: calc(var(--header-h) + 32px + var(--n) * 16px); }
.dstack--stacked .dcard + .dstack__anchor { margin-top: 26vh; }
.dstack--stacked { padding-bottom: 14vh; } /* la dernière page reste un moment en place */

/* En action : cartes de réalisation */
.inaction__track {
    display: flex; gap: 14px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
}
.inaction__track::-webkit-scrollbar { display: none; }
.inaction .real-card { flex: none; width: 84%; max-width: 380px; height: 460px; scroll-snap-align: start; }
.real-card__domain { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tq); }
@media (min-width: 900px) {
    .inaction__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; overflow: visible; }
    .inaction .real-card { width: auto; max-width: none; height: clamp(440px, 60vh, 540px); }
}

/* Travailler avec nous : l'adresse soulignée par le stylo */
.write { position: relative; overflow: hidden; }
.write__inner { position: relative; z-index: 1; display: grid; justify-items: start; }
.write .eyebrow { margin-bottom: 22px; }
.write__text { margin-top: 22px; max-width: 52ch; line-height: 1.7; color: var(--muted); }
.write__mail {
    position: relative;
    display: inline-block;
    margin-top: 30px;
    font-size: clamp(1.7rem, 8.6vw, 5rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.1;
    overflow-wrap: anywhere;
    transition: color .3s;
}
.write__mail:hover { color: var(--tq-display); }
.write__mail .scribble { bottom: -.2em; height: .3em; }
.write__partner { margin-top: 44px; }
@media (min-width: 900px) {
    /* conclusion de page : centrée */
    .write__inner { justify-items: center; text-align: center; }
    .write .eyebrow { justify-content: center; }
    .write .sec-title { margin-inline: auto; }
}

/* Écran tactile : pas de survol, donc le résumé des cartes de réalisation
   est toujours visible (sinon il n'apparaissait jamais sur tablette). */
@media (hover: none) {
    .real-card__body { transform: none; }
    .real-card__text { opacity: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ==========================================================================
   NOS OPÉRATIONS (mobile d'abord)
   ========================================================================== */

/* Zones d'intervention : texte + légende, carte */
.zones__grid { display: grid; gap: 36px; }
.zones__text { margin-top: 22px; max-width: 46ch; line-height: 1.7; color: var(--muted); }
.zones__label { margin: 32px 0 12px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.zones__legend { display: flex; flex-wrap: wrap; gap: 8px; }
.zlegend {
    display: inline-flex; align-items: center; gap: 9px;
    min-height: 44px; padding: 0 16px;
    border-radius: 999px;
    font-size: .9rem; font-weight: 600;
    color: var(--muted);
    background: rgba(255, 255, 255, .05);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: background-color .3s, color .3s, box-shadow .3s;
}
.zlegend:hover { color: var(--fg-strong); box-shadow: inset 0 0 0 1px var(--line-strong); }
.zlegend__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.zlegend__count { font-family: var(--font-display); font-size: .95rem; color: var(--gold-ink); }
.zlegend.is-active { background: var(--tq); color: #000; box-shadow: none; }
.zlegend.is-active .zlegend__dot { background: #000; }
.zlegend.is-active .zlegend__count { color: #000; }

/* Le cadre garde toujours les proportions exactes du dessin (--ar) : on
   limite la largeur, jamais la hauteur, sinon le dessin se centre avec des
   bandes vides et les points (en % du cadre) ne tombent plus au bon endroit. */
.zmap {
    position: relative;
    width: min(100%, calc(82vh * var(--ar, .72)));
    margin: 0 auto;
    border-radius: var(--r-lg);
    overflow: hidden;
    background:
        radial-gradient(70% 55% at 72% 35%, rgb(var(--tq-rgb) / .1), transparent 70%),
        #070708;
    box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .9);
    touch-action: pan-y;
}
.zmap__geo { position: absolute; inset: 0; width: 100%; height: 100%; }
.zmap__context path { fill: rgba(255, 255, 255, .025); stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.zmap__provinces path { fill: rgba(255, 255, 255, .045); }
.zmap__borders path {
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.4;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-opacity: .85;
}
/* état initial du tracé posé en JS : si le script ne charge pas, la carte reste complète */
.zmap__lakes path { fill: rgb(var(--tq-rgb) / .2); stroke: rgb(var(--tq-rgb) / .75); stroke-width: 1; }

.zmap__label {
    position: absolute;
    translate: -50% -50%;
    white-space: nowrap;
    pointer-events: none;
}
.zmap__label--province {
    font-family: var(--font-display);
    font-size: clamp(.95rem, 3.6vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .16);
}
.zmap__label--lake { font-size: .72rem; font-style: italic; color: rgb(var(--tq-rgb) / .8); }
.zmap__label--country {
    translate: -100% -50%; /* aligné à droite : le nom se termine au bord de la carte */
    font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: rgba(255, 255, 255, .28);
}
/* Petit écran : l'Ouganda n'a plus la place d'être nommé sans toucher la frontière */
@media (max-width: 599px) {
    .zmap__label--ouganda { display: none; }
}

/* Points : vrais liens, cible tactile de 44 px centrée sur le lieu. Le nom
   se place à droite (défaut), à gauche (--l), au-dessus (--t) ou dessous
   (--b) : le JS choisit la place libre ; sans place libre (--hide), il
   n'apparaît qu'au survol ou quand le lieu est choisi. */
.zpin {
    position: absolute;
    display: grid; place-items: center;
    width: 44px; height: 44px;
    translate: -50% -50%;
    z-index: 2;
}
.zpin__dot {
    position: relative;
    display: grid; place-items: center;
    flex: none;
    width: 18px; height: 18px;
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: .72rem;
    line-height: 1;
    color: #140d02;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgb(var(--gold-rgb) / .22), 0 6px 18px -4px rgb(var(--gold-rgb) / .8);
    transition: transform .5s var(--ease-spring), background-color .3s, box-shadow .3s;
}
.zpin__dot::after {
    content: ''; position: absolute; inset: -7px;
    border-radius: 50%;
    border: 1px solid rgb(var(--gold-rgb) / .7);
    animation: ping 2.6s var(--ease-out) infinite;
    animation-delay: calc(var(--i, 0) * .35s);
}
.zpin__name {
    position: absolute;
    top: 50%; left: calc(50% + 14px);
    translate: 0 -50%;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: .8rem; font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
    color: #fff;
    background: rgba(0, 0, 0, .6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
    transition: opacity .3s, background-color .3s, color .3s;
}
.zpin--l .zpin__name { left: auto; right: calc(50% + 14px); }
.zpin--t .zpin__name { top: auto; bottom: calc(50% + 12px); left: 50%; translate: -50% 0; }
.zpin--b .zpin__name { top: calc(50% + 12px); left: 50%; translate: -50% 0; }
.zpin--hide .zpin__name { opacity: 0; pointer-events: none; }
.zpin--hide:is(:hover, :focus-visible, .is-active) .zpin__name { opacity: 1; }
@media (max-width: 599px) {
    .zpin__name { padding: 2px 7px; font-size: .72rem; }
}
.zpin:hover, .zpin:focus-visible, .zpin.is-active { z-index: 3; }
.zpin:hover .zpin__dot, .zpin:focus-visible .zpin__dot { transform: scale(1.2); }
.zpin.is-active .zpin__dot { background: var(--tq); box-shadow: 0 0 0 5px rgb(var(--tq-rgb) / .3), 0 6px 22px -4px rgb(var(--tq-rgb) / .9); }
.zpin.is-active .zpin__dot::after { border-color: rgb(var(--tq-rgb) / .8); }
.zpin.is-active .zpin__name { background: var(--tq); color: #000; box-shadow: none; }
.zmap.has-choice .zpin:not(.is-active) { opacity: .45; }

@media (min-width: 1000px) {
    .zones__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 80px; align-items: center; }
    .zmap { width: min(100%, 600px, calc(82vh * var(--ar, .72))); }
}

/* Barre de filtres */
.ops__bar { display: grid; gap: 14px; margin: -8px 0 28px; }
.ops__filters, .lib__filters, .field__filters {
    display: flex; gap: 8px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
}
.ops__filters::-webkit-scrollbar, .lib__filters::-webkit-scrollbar, .field__filters::-webkit-scrollbar { display: none; }
.fchip {
    flex: none;
    display: inline-flex; align-items: center;
    min-height: 44px; padding: 0 18px;
    border-radius: 999px;
    scroll-snap-align: start;
    font-size: .9rem; font-weight: 600;
    color: var(--muted);
    background: rgba(255, 255, 255, .05);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: background-color .3s, color .3s, box-shadow .3s;
}
.fchip:hover { color: var(--fg-strong); box-shadow: inset 0 0 0 1px var(--line-strong); }
.fchip.is-active { background: var(--paper); color: #000; box-shadow: none; }
.ops__status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-height: 36px; }
.fplace {
    display: inline-flex; align-items: center; gap: 8px;
    height: 36px; padding: 0 10px 0 12px;
    border-radius: 999px;
    font-size: .84rem; font-weight: 700;
    color: #000;
    background: var(--tq);
}
.fplace .icon { width: 16px; height: 16px; }
.fplace__x { opacity: .7; transition: transform .4s var(--ease-out); }
.fplace:hover .fplace__x { transform: rotate(90deg); opacity: 1; }
.ops__count { font-size: .9rem; color: var(--faint); }

/* Grille des réalisations */
.ops__grid { display: grid; gap: 18px; }
.op-card { display: flex; }
.op-card[hidden] { display: none; }
.op-card__link {
    display: flex; flex-direction: column;
    width: 100%;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: linear-gradient(165deg, #151517, #0a0a0b 70%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px var(--line), 0 30px 60px -36px rgba(0, 0, 0, .9);
    transition: box-shadow .4s, transform .6s var(--ease-out);
}
.op-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.op-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.op-card__year { position: absolute; top: 14px; left: 14px; }
.op-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 20px 22px; }
.op-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.op-card__place { display: inline-flex; align-items: center; gap: 5px; color: var(--gold-ink); }
.op-card__place .icon { width: 15px; height: 15px; }
.op-card__domain { color: var(--tq-ink); }
.op-card__title { font-size: 1.28rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.22; }
.op-card__text {
    font-size: .95rem; line-height: 1.6; color: var(--muted);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.op-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.op-card__figure { display: grid; gap: 2px; }
.op-card__figure strong { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1; color: var(--gold-display); white-space: nowrap; }
.op-card__figure span { font-size: .78rem; color: var(--faint); }
.op-card__go {
    display: grid; place-items: center;
    flex: none;
    width: 44px; height: 44px; margin-left: auto;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px var(--line-strong);
    transition: background-color .35s, color .35s, transform .6s var(--ease-out), box-shadow .35s;
}
.op-card__go .icon { width: 18px; height: 18px; }
@media (hover: hover) {
    .op-card__link:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgb(var(--tq-rgb) / .3), 0 40px 80px -36px rgba(0, 0, 0, .95); }
    .op-card__link:hover .op-card__media img { transform: scale(1.06); }
    .op-card__link:hover .op-card__go { background: var(--tq); color: #000; box-shadow: none; transform: rotate(45deg); }
}
.ops__empty { display: grid; justify-items: start; gap: 16px; padding: 40px 0; color: var(--muted); }

@media (min-width: 700px) {
    .ops__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .op-card--featured { grid-column: 1 / -1; }
    .op-card--featured .op-card__link { flex-direction: row; }
    .op-card--featured .op-card__media { flex: 1.15; aspect-ratio: auto; min-height: 380px; }
    .op-card--featured .op-card__body { flex: 1; padding: 34px 32px; justify-content: center; }
    .op-card--featured .op-card__title { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
    .op-card--featured .op-card__text { -webkit-line-clamp: 5; font-size: 1.02rem; }
    .ops__filters, .lib__filters, .field__filters { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
    .ops__bar { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 1100px) {
    .ops__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .op-card--featured { grid-column: span 2; }
    .ops__grid--related .op-card--featured { grid-column: auto; }
}

/* Bandeau de don */
.opcta { padding: clamp(24px, 4vw, 48px) 0 clamp(64px, 8vw, 110px); }
.opcta__box {
    display: grid; gap: 22px;
    padding: 30px 24px;
    border-radius: 32px;
    overflow: hidden;
}
.opcta__pen { position: absolute; right: 22px; top: -30px; width: 28px; height: auto; aspect-ratio: 220 / 1153; color: var(--gold); opacity: .22; transform: rotate(28deg); pointer-events: none; }
.opcta__title { max-width: 18ch; font-size: clamp(1.8rem, 7.5vw, 3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
.opcta__title em { font-style: normal; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; display: inline-block; transform: rotate(-2deg); }
.opcta__text { margin-top: 12px; max-width: 46ch; line-height: 1.65; color: var(--muted); }
.opcta__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) {
    .opcta__box { grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 48px 52px; }
    .opcta__pen { width: 40px; right: 34%; top: -50px; }
}

/* ---- Page d'une réalisation ---- */
.ophero {
    position: relative;
    display: flex; align-items: flex-end;
    min-height: 88svh;
    padding: calc(var(--header-h) + 60px) 0 44px;
    overflow: hidden;
    isolation: isolate;
}
.ophero__media { position: absolute; inset: 0; z-index: -2; }
.ophero__media img { width: 100%; height: 100%; object-fit: cover; }
.motion .ophero__media img { animation: ophero-in 1.8s var(--ease-out) both; }
@keyframes ophero-in { from { transform: scale(1.14); filter: brightness(.4); } }
.ophero__shade {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .55) 62%, #000 100%);
}
.ophero__inner { display: grid; gap: 18px; }
.ophero__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.ophero__title {
    max-width: 18ch;
    font-size: clamp(2.3rem, 10vw, 5.4rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.02;
    text-wrap: balance;
}
.ophero__figure { display: flex; align-items: baseline; gap: 12px; }
.ophero__figure strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 8vw, 4rem); line-height: 1; color: var(--gold); }
.ophero__figure span { font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.ophero .crumbs__list { color: rgba(255, 255, 255, .6); }
.ophero .crumbs a { color: rgba(255, 255, 255, .75); }

.opbody__grid { display: grid; gap: 40px; }
.opbody__lead { font-size: clamp(1.25rem, 4.6vw, 1.7rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.4; }
.prose { display: grid; gap: 20px; margin-top: 28px; max-width: 64ch; font-size: 1.05rem; line-height: 1.8; color: rgb(var(--fg-rgb) / .8); }
.opbody__video { margin-top: 40px; min-height: 0; aspect-ratio: 16 / 9; }
.opfacts { padding: 26px 24px 24px; border-radius: 28px; align-self: start; }
.opfacts__title { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--tq-ink); }
.opfacts__list { display: grid; margin: 16px 0 22px; }
.opfacts__list > div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.opfacts__list dt { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.opfacts__list dd { margin: 0; font-weight: 600; }
.opfacts__figure strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--gold-display); }
.opfacts__label { margin-bottom: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.opfacts__back { margin-top: 24px; }

@media (min-width: 1000px) {
    .ophero { min-height: min(100svh, 980px); padding-bottom: 72px; }
    .opbody__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
    .opfacts { position: sticky; top: calc(var(--header-h) + 36px); }
}

/* ==========================================================================
   NOS ACTIONS POUR LES DROITS HUMAINS (mobile d'abord)
   ========================================================================== */
.sec-lead { margin-top: 22px; max-width: 62ch; line-height: 1.7; color: var(--muted); }

/* Engagements : sur le papier → dans la vie. État par défaut = tout visible,
   coché ; le JS ajoute .commits--live pour animer au passage. */
.commits__list { border-top: 1px solid var(--line); }
.commit { display: grid; gap: 14px; padding: 30px 0 32px; border-bottom: 1px solid var(--line); }
.commit__ref { display: flex; align-items: baseline; gap: 12px; }
.commit__source { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.commit__num { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; color: var(--gold-display); white-space: nowrap; }
.commit__title { font-size: clamp(1.55rem, 6.4vw, 2.3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
.commit__label { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.commit__law { margin-top: 8px; max-width: 52ch; font-size: .98rem; line-height: 1.65; font-style: italic; color: var(--muted); }
.commit__life { position: relative; padding-left: 42px; }
.commit__check {
    position: absolute; left: 0; top: -3px;
    width: 30px; height: 30px;
    overflow: visible;
}
.commit__check path {
    fill: none;
    stroke: var(--tq-display);
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset .9s var(--ease-out) .15s;
}
.commit__label--life { color: var(--tq-ink); }
.commit__action { margin-top: 8px; max-width: 52ch; font-size: 1.04rem; line-height: 1.65; color: var(--fg); transition: opacity .8s; }
.commits--live .commit:not(.is-done) .commit__check path { stroke-dashoffset: 1; }
.commits--live .commit:not(.is-done) .commit__action { opacity: .4; }

@media (min-width: 1000px) {
    .commit {
        grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 48px; row-gap: 18px;
        padding: 42px 0 44px;
    }
    .commit__ref { grid-column: 1; grid-row: 1 / span 2; flex-direction: column; gap: 8px; }
    .commit__num { font-size: 3.4rem; }
    .commit__title { grid-column: 2 / 4; grid-row: 1; }
    .commit__paper { grid-column: 2; grid-row: 2; }
    .commit__life { grid-column: 3; grid-row: 2; }
}

/* Circuit d'une alerte. Téléphone : liste le long d'un trait qui se remplit ;
   grand écran : cercle. Par défaut tout est « allumé » ; .cycle--live (JS)
   éteint ce qui n'a pas encore été atteint. */
.cycle { display: flex; flex-direction: column; }
.cycle__ring, .cycle__pen { display: none; }
.cycle__list { position: relative; display: grid; gap: 32px; padding-left: 58px; --fill: 1; }
.cycle__list::before, .cycle__list::after {
    content: ''; position: absolute; left: 19px; top: 20px; bottom: 20px;
    width: 2px; border-radius: 2px;
}
.cycle__list::before { background: var(--line); }
.cycle__list::after { background: linear-gradient(var(--tq), var(--gold)); transform: scaleY(var(--fill)); transform-origin: 50% 0; }
.cstep { position: relative; }
.cstep__node {
    position: absolute; left: -58px; top: -6px; z-index: 1;
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-family: var(--font-display); font-size: 1.1rem; line-height: 1;
    color: #140d02;
    background: var(--gold);
    box-shadow: 0 0 0 6px var(--bg), 0 0 24px rgb(var(--gold-rgb) / .45);
    transition: background-color .5s, color .5s, box-shadow .5s;
}
.cstep__title { font-size: 1.3rem; font-weight: 700; letter-spacing: -.015em; }
.cstep__text { margin-top: 6px; max-width: 46ch; line-height: 1.6; color: var(--muted); }
.cstep__card { transition: opacity .6s; }
.cycle--live .cstep:not(.is-on) .cstep__node { background: #0c0c0d; color: var(--faint); box-shadow: 0 0 0 6px var(--bg), inset 0 0 0 2px rgba(255, 255, 255, .2); }
.cycle--live .cstep:not(.is-on) .cstep__card { opacity: .42; }
.cycle__center {
    order: 2;
    margin-top: 40px;
    font-size: clamp(1.45rem, 6vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.15;
}
.cycle__more { margin-top: 36px; }

@media (min-width: 1100px) {
    .cycle { --r: 196px; position: relative; display: block; height: 800px; }
    .cycle__ring {
        display: block;
        position: absolute; left: 50%; top: 50%;
        width: 400px; height: 400px;
        translate: -50% -50%;
        overflow: visible;
    }
    .cycle__rail { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
    .cycle__ink { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; }
    .cycle__pen {
        display: block;
        position: absolute; left: 0; top: 0; z-index: 3;
        width: 14px; height: auto; aspect-ratio: 220 / 1153;
        color: var(--gold);
        transform-origin: 50% .35%;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .6));
        pointer-events: none;
    }
    html:not(.motion) .cycle__pen { display: none; }
    .cycle__list { position: absolute; inset: 0; display: block; padding: 0; }
    .cycle__list::before, .cycle__list::after { display: none; }
    .cstep {
        position: absolute;
        left: calc(50% + sin(var(--a)) * var(--r));
        top: calc(50% - cos(var(--a)) * var(--r));
        width: 0; height: 0;
    }
    .cstep__node { left: 0; top: 0; translate: -50% -50%; width: 46px; height: 46px; font-size: 1.25rem; }
    .cstep__card { position: absolute; width: 250px; }
    .cstep--r .cstep__card { left: 42px; top: 0; translate: 0 -50%; }
    .cstep--l .cstep__card { right: 42px; top: 0; translate: 0 -50%; text-align: right; }
    .cstep--t .cstep__card { left: 0; bottom: 38px; translate: -50% 0; text-align: center; }
    .cstep--b .cstep__card { left: 0; top: 38px; translate: -50% 0; text-align: center; }
    .cstep--l .cstep__text { margin-left: auto; }
    .cycle__center {
        position: absolute; left: 50%; top: 50%;
        width: 270px; margin: 0;
        translate: -50% -50%;
        text-align: center;
        font-size: 1.75rem;
    }
    .cycle__more { margin-top: 12px; }
}

/* Alertes et prises de position */
.alerts { border-top: 1px solid var(--line); }
.alert-row__in {
    display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 6px 18px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}
a.alert-row__in { transition: background-color .3s; }
.alert-row__date { display: grid; align-content: start; gap: 4px; }
.alert-row__day { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--gold-display); }
.alert-row__month { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.alert-row__body { display: grid; gap: 8px; min-width: 0; }
.alert-row__type {
    display: inline-flex; align-items: center; gap: 8px;
    justify-self: start;
    height: 26px; padding: 0 11px;
    border-radius: 999px;
    font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--fg);
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px var(--line);
}
.alert-row__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.alert-row--alert .alert-row__type { color: var(--gold-ink); background: rgb(var(--gold-rgb) / .1); box-shadow: inset 0 0 0 1px rgb(var(--gold-rgb) / .35); }
.alert-row--statement .alert-row__type { color: var(--tq-ink); background: rgb(var(--tq-rgb) / .1); box-shadow: inset 0 0 0 1px rgb(var(--tq-rgb) / .35); }
.alert-row.is-latest .alert-row__dot::after {
    content: ''; position: absolute; inset: -5px;
    border-radius: 50%;
    border: 1px solid currentColor;
    animation: ping 2.2s var(--ease-out) infinite;
}
.alert-row__title { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.alert-row__excerpt { max-width: 70ch; font-size: .96rem; line-height: 1.6; color: var(--muted); }
.alert-row__go { display: none; }

@media (min-width: 900px) {
    .alert-row__in { grid-template-columns: 130px minmax(0, 1fr) 48px; gap: 28px; align-items: start; padding: 34px 10px; }
    .alert-row__day { font-size: 3.2rem; }
    .alert-row__title { font-size: 1.5rem; }
    .alert-row__go {
        display: grid; place-items: center;
        width: 48px; height: 48px;
        border-radius: 50%;
        box-shadow: inset 0 0 0 1px var(--line-strong);
        transition: background-color .3s, color .3s, transform .5s var(--ease-out), box-shadow .3s;
    }
    .alert-row__go .icon { width: 18px; height: 18px; }
}
@media (hover: hover) {
    a.alert-row__in:hover { background: rgba(255, 255, 255, .03); }
    a.alert-row__in:hover .alert-row__go { background: var(--gold); color: #000; box-shadow: none; transform: rotate(45deg); }
}

/* Signaler une situation */
.report { padding: clamp(24px, 4vw, 48px) 0 clamp(64px, 8vw, 110px); }
.report__box {
    display: grid; gap: 30px;
    padding: 30px 22px;
    border-radius: 32px;
    overflow: hidden;
}
.report__box::after {
    content: ''; position: absolute; z-index: -1;
    width: 520px; height: 520px; right: -200px; top: -260px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgb(var(--gold-rgb) / .22), transparent);
    pointer-events: none;
}
.report .eyebrow { margin-bottom: 18px; }
.report__title { max-width: 16ch; font-size: clamp(2rem, 8.4vw, 3.5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
.report__text { margin-top: 16px; max-width: 52ch; line-height: 1.7; color: var(--muted); }
.report__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.report__ctas .btn { flex: 1 1 auto; }
.report__principles { display: grid; gap: 18px; }
.principle { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: start; }
.principle__icon {
    display: grid; place-items: center;
    width: 46px; height: 46px;
    border-radius: 15px;
    color: var(--tq-ink);
    background: rgb(var(--tq-rgb) / .1);
    box-shadow: inset 0 0 0 1px rgb(var(--tq-rgb) / .3);
}
.principle__icon .icon { width: 22px; height: 22px; }
.principle__text strong { display: block; font-weight: 700; }
.principle__text small { display: block; margin-top: 3px; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.report__urgent {
    display: flex; align-items: flex-start; gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: .88rem; line-height: 1.5;
    color: var(--faint);
}
.report__urgent .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--gold-ink); }

@media (min-width: 1000px) {
    .report__box { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px 72px; padding: 54px 58px; }
    .report__ctas .btn { flex: none; }
    .report__principles { align-self: center; gap: 22px; }
    .report__urgent { grid-column: 1 / -1; }
}

/* ==========================================================================
   TRANSPARENCE FINANCIÈRE (mobile d'abord)
   Règles de visualisation : forme « mise en avant » (le poste qui compte en
   or, le reste en gris), une seule couleur pour les ressources, chiffre clé
   dans la police de texte, tableau = vue accessible de chaque graphique.
   ========================================================================== */
:root {
    /* Plume des gaufres (100 plumes = 100 %), tracée pour rester lisible petite */
    --pen-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M17.4 2.6 21.4 6.6 9.9 18.1 4.3 20.6C3.7 20.9 3.1 20.3 3.4 19.7L5.9 14.1ZM5.8 17.1a1.1 1.1 0 1 0 2.2 0 1.1 1.1 0 1 0-2.2 0Z'/%3E%3C/svg%3E");
}

.money__grid { display: grid; gap: 72px; }
.money__label { margin-bottom: 18px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.money__note { margin-top: 10px; font-size: .82rem; color: var(--faint); }

/* Sélecteur d'exercice */
.yearpick {
    position: relative;
    display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px var(--line);
}
.yearpick__opt {
    position: relative; z-index: 1;
    display: grid; place-items: center;
    min-width: 72px; height: 44px; padding: 0 14px;
    border-radius: 999px;
    font-weight: 700; font-size: .95rem;
    color: var(--muted);
    transition: color .35s;
}
.yearpick__opt:hover { color: var(--fg-strong); }
.yearpick__opt.is-active { color: #000; }
.yearpick__thumb {
    position: absolute; top: 4px; bottom: 4px; left: 4px;
    width: calc((100% - 8px) / var(--n, 3));
    border-radius: 999px;
    background: linear-gradient(180deg, #fff, #dcdcd6);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
    transform: translateX(calc(var(--i, 0) * 100%));
    transition: transform .5s var(--ease-spring);
}

/* Chiffre clé */
.figure { display: grid; gap: 10px; margin-bottom: 30px; }
.figure[hidden] { display: none; }
.figure__value { font-weight: 800; font-size: clamp(4.2rem, 19vw, 7.4rem); letter-spacing: -.055em; line-height: .88; color: var(--fg); }
.figure__text { max-width: 30ch; font-size: 1.05rem; line-height: 1.5; color: var(--muted); }

/* Gaufre : 100 plumes */
.waffle-wrap { position: relative; }
.waffle { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; max-width: 420px; }
.waffle__pen {
    display: block;
    aspect-ratio: 1;
    background: var(--c, var(--gold));
    -webkit-mask: var(--pen-glyph) center / 88% no-repeat;
    mask: var(--pen-glyph) center / 88% no-repeat;
    transition:
        background-color .5s ease calc(var(--k, 0) * 6ms),
        opacity .3s, filter .3s,
        transform .6s var(--ease-spring) calc(var(--k, 0) * 9ms);
}
.waffle__pen.c0 { --c: var(--gold); }
.waffle__pen.c1 { --c: #6d6c66; }
.waffle__pen.c2 { --c: #3f3e3a; }
.money--live .money__block:not(.is-in) .waffle .waffle__pen { transform: scale(0) rotate(-40deg); }
.waffle[data-hl="0"] .waffle__pen:not(.c0),
.waffle[data-hl="1"] .waffle__pen:not(.c1),
.waffle[data-hl="2"] .waffle__pen:not(.c2) { opacity: .16; }
/* le poste mis en avant s'éclaire (les gris restent lisibles face aux autres) */
.waffle[data-hl="1"] .waffle__pen.c1 { filter: brightness(1.6); }
.waffle[data-hl="2"] .waffle__pen.c2 { filter: brightness(2.3); }
.waffle__pen--key { display: inline-block; flex: none; width: 18px; height: 18px; margin-right: 10px; vertical-align: -3px; }
.waffle__note { display: flex; align-items: center; margin-top: 14px; font-size: .82rem; color: var(--faint); }
.wtip {
    position: absolute; z-index: 5;
    padding: 8px 12px;
    border-radius: 12px;
    translate: -50% calc(-100% - 12px);
    font-size: .8rem; line-height: 1.35;
    white-space: nowrap;
    background: rgba(12, 12, 14, .94);
    box-shadow: inset 0 0 0 1px var(--line-strong), 0 12px 30px -10px rgba(0, 0, 0, .8);
    pointer-events: none;
}
.wtip strong { display: block; font-size: 1.05rem; color: var(--fg); }
.wtip span { color: var(--muted); }

/* Tableaux : vue tableau de chaque graphique */
.ftable { width: 100%; margin-top: 26px; border-collapse: collapse; font-size: .95rem; }
.ftable[hidden] { display: none; }
.ftable th, .ftable td { padding: 13px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; line-height: 1.45; vertical-align: middle; }
.ftable tbody th { color: var(--fg); }
.ftable__amount, .ftable__share { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ftable__amount { padding-left: 14px !important; color: var(--muted); }
.ftable__share { width: 60px; font-weight: 700; color: var(--fg); }
.ftable tfoot th, .ftable tfoot td { border-bottom: 0; padding-top: 16px; font-weight: 700; color: var(--fg); }
.ftable__row { outline: none; transition: background-color .25s; }
.ftable__row:hover { background: rgba(255, 255, 255, .035); }
.ftable__row:focus-visible { background: rgb(var(--tq-rgb) / .08); outline: 2px solid rgb(var(--tq-rgb) / .7); outline-offset: -2px; }
/* Clé du poste : en retrait suspendu, alignée sur la 1re ligne du libellé */
.ftable__row th { position: relative; padding-left: 30px; }
.ftable__row th .waffle__pen--key { position: absolute; left: 0; top: calc(13px + (1.45em - 18px) / 2); margin: 0; }

/* Ressources : le total de l'exercice, puis des barres d'une seule couleur
   (valeur au bout de la barre) */
.money__sum { margin-bottom: 22px; }
.money__sum[hidden], .money__panel[hidden] { display: none; }
.money__sum-value { font-weight: 800; font-size: clamp(2.2rem, 10vw, 3.2rem); letter-spacing: -.045em; line-height: .95; color: var(--fg); }
.money__sum-text { max-width: 30ch; margin-top: 10px; line-height: 1.5; color: var(--muted); }
.ftable--bars { margin-top: 0; }
.ftable--bars tbody tr {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px; row-gap: 8px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.ftable--bars tbody th, .ftable--bars tbody td { padding: 0; border: 0; }
.ftable--bars tbody th { grid-column: 1 / -1; }
.fbar { position: relative; display: block; height: 24px; }
.fbar__fill {
    position: absolute; left: 0; top: 50%;
    width: calc((100% - 56px) * var(--p) / 100);
    height: 12px;
    translate: 0 -50%;
    border-radius: 0 4px 4px 0;
    background: var(--tq);
    transition: width 1s var(--ease-out);
}
.fbar__value {
    position: absolute; top: 50%;
    left: calc((100% - 56px) * var(--p) / 100 + 10px);
    translate: 0 -50%;
    font-size: .92rem; font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--fg);
    transition: left 1s var(--ease-out);
}
.money--live .money__block:not(.is-in) .fbar__fill, .is-reset .fbar__fill { width: 0; }
.money--live .money__block:not(.is-in) .fbar__value, .is-reset .fbar__value { left: 10px; }
.is-reset .fbar__fill, .is-reset .fbar__value { transition: none; }

@media (min-width: 1000px) {
    /* Deux rangées : dépenses (chiffre + tableau | plumes), ressources (total | barres) */
    .money__grid { gap: 110px; }
    .money__block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 88px; align-items: start; }
    .money__block--uses { grid-template-rows: auto auto auto 1fr; }
    .money__block--uses > .money__label { grid-area: 1 / 1; }
    .money__block--uses > .figure { grid-area: 2 / 1; }
    .money__block--uses > .ftable { grid-area: 3 / 1; }
    .money__block--uses > .waffle-wrap { grid-area: 1 / 2 / 5 / 3; align-self: center; justify-self: end; width: 100%; max-width: 480px; }
    .waffle { max-width: none; gap: 4px; }
    .money__side { grid-area: 1 / 1; }
    .money__panel { grid-area: 1 / 2; }
    .ftable--bars tbody tr { grid-template-columns: 190px minmax(0, 1fr) auto; align-items: center; }
    .ftable--bars tbody tr:first-child { padding-top: 0; }
    .ftable--bars tbody th { grid-column: auto; }
}

/* Reçus : ce que permet un don */
.tickets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ticket {
    --cut: 104px;
    position: relative;
    display: flex; flex-direction: column;
    border-radius: 18px;
    background: linear-gradient(180deg, #19191c, #0e0e10);
    box-shadow: inset 0 0 0 1px var(--line);
    /* encoches de la perforation, découpées pour de vrai */
    -webkit-mask:
        radial-gradient(circle 10px at 0 var(--cut), transparent 96%, #000 100%) left / 51% 100% no-repeat,
        radial-gradient(circle 10px at 100% var(--cut), transparent 96%, #000 100%) right / 51% 100% no-repeat;
    mask:
        radial-gradient(circle 10px at 0 var(--cut), transparent 96%, #000 100%) left / 51% 100% no-repeat,
        radial-gradient(circle 10px at 100% var(--cut), transparent 96%, #000 100%) right / 51% 100% no-repeat;
    transition:
        clip-path .9s var(--ease-out) calc(var(--t, 0) * 130ms),
        translate .9s var(--ease-out) calc(var(--t, 0) * 130ms),
        rotate .5s var(--ease-spring),
        scale .5s var(--ease-spring);
}
.ticket__head {
    /* hauteur fixe : la perforation tombe pile sur les encoches (--cut) */
    display: flex; justify-content: space-between; gap: 8px;
    height: 34px; padding: 16px 16px 0;
    line-height: 18px;
    font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--faint);
}
.ticket__amount {
    display: flex; align-items: center;
    height: calc(var(--cut) - 34px);
    padding: 0 16px;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 8.5vw, 2.6rem);
    line-height: 1;
    color: var(--gold-display);
    white-space: nowrap;
}
.ticket__cut { display: block; height: 0; margin: 0 16px; border-top: 2px dashed rgba(255, 255, 255, .16); }
.ticket__label { padding: 16px 16px 0; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--tq-ink); }
.ticket__text { padding: 6px 16px 20px; font-size: .95rem; line-height: 1.45; color: var(--fg); }
.tickets--live .ticket:not(.is-in) { clip-path: inset(0 0 100% 0); translate: 0 -16px; }
.tickets--live .ticket.is-in { clip-path: inset(0 0 0 0); }
@media (hover: hover) {
    .motion .ticket:hover { rotate: -1.5deg; scale: 1.03; }
}
.gifts__cta { display: flex; justify-content: center; margin-top: 36px; }

@media (min-width: 1000px) {
    .tickets { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
    .ticket { --cut: 124px; }
    .ticket__head, .ticket__amount, .ticket__label, .ticket__text { padding-left: 22px; padding-right: 22px; }
    .ticket__cut { margin: 0 22px; }
    .ticket__amount { font-size: 3.1rem; }
    .ticket__text { font-size: 1rem; padding-bottom: 26px; }
}

/* Documents : feuilles au coin corné */
.docs__grid { display: grid; gap: 16px; }
.doc { display: flex; }
.doc__sheet {
    --fold: 34px;
    position: relative;
    display: flex; flex-direction: column; gap: 12px;
    width: 100%; min-height: 270px;
    padding: 26px 22px 22px;
    background: linear-gradient(170deg, #1b1b1e, #0f0f11 70%);
    border-radius: 8px;
    clip-path: polygon(0 0, calc(100% - var(--fold)) 0, 100% var(--fold), 100% 100%, 0 100%);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: translate .5s var(--ease-out), background-color .3s;
}
.doc__sheet::before {
    /* le coin replié */
    content: ''; position: absolute; top: 0; right: 0;
    width: var(--fold); height: var(--fold);
    background: linear-gradient(225deg, transparent 50%, #2c2c31 50%);
    border-bottom-left-radius: 6px;
    filter: drop-shadow(-3px 3px 4px rgba(0, 0, 0, .45));
}
.doc__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-right: var(--fold); }
.doc__type { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tq-ink); }
.doc__year { font-weight: 800; font-size: 1.1rem; color: var(--gold-ink); }
.doc__title { font-size: 1.28rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.doc__text { font-size: .92rem; line-height: 1.55; color: var(--muted); }
.doc__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: auto; padding-top: 16px;
    border-top: 1px solid var(--line);
}
.doc__file { font-size: .74rem; font-weight: 700; letter-spacing: .1em; color: var(--faint); }
.doc__action { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; }
.doc__icon {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px var(--line-strong);
    transition: background-color .3s, color .3s, transform .5s var(--ease-out), box-shadow .3s;
}
.doc__icon .icon { width: 18px; height: 18px; }
.doc__soon { font-size: .82rem; color: var(--faint); }
@media (hover: hover) {
    a.doc__sheet:hover { translate: 0 -6px; }
    a.doc__sheet:hover .doc__icon { background: var(--gold); color: #000; box-shadow: none; transform: translateY(2px); }
}
@media (min-width: 700px) { .docs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .docs__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }

/* Clôture : engagements + contact */
.tcontact__side { align-self: center; }
.checklist { display: grid; gap: 14px; margin-top: 14px; }
.checklist li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; line-height: 1.55; }
.checklist__icon {
    display: grid; place-items: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    color: var(--tq-ink);
    background: rgb(var(--tq-rgb) / .12);
    box-shadow: inset 0 0 0 1px rgb(var(--tq-rgb) / .3);
}
.checklist__icon .icon { width: 16px; height: 16px; }

/* ==========================================================================
   RECHERCHES ET PUBLICATIONS (mobile d'abord)
   ========================================================================== */

/* Couvertures composées : une teinte par type ; textes à l'échelle de la
   couverture (unités cqi), du livre à la une aux vignettes de la bibliothèque. */
.cover {
    --cv-bg: linear-gradient(160deg, #34343a, #1b1b1f);
    --cv-ink: var(--paper);
    --cv-accent: var(--tq);
    position: relative;
    display: flex; flex-direction: column;
    width: 100%;
    aspect-ratio: 1 / 1.414;
    padding: 10% 9% 9% 13%;
    overflow: hidden;
    container-type: inline-size;
    border-radius: 3px 7px 7px 3px;
    background: var(--cv-bg);
    color: var(--cv-ink);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.cover::before {
    /* pli de la reliure */
    content: ''; position: absolute; inset: 0 auto 0 0; width: 7%;
    background: linear-gradient(90deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .06) 60%, rgba(255, 255, 255, .18) 72%, transparent);
    pointer-events: none;
}
.cover::after {
    /* grande plume en filigrane */
    content: ''; position: absolute; right: -18%; bottom: -14%;
    width: 80%; aspect-ratio: 1;
    background: currentColor;
    opacity: .09;
    -webkit-mask: var(--pen-glyph) center / contain no-repeat;
    mask: var(--pen-glyph) center / contain no-repeat;
    pointer-events: none;
}
.cover__top { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.cover__brand { font-family: var(--font-display); font-size: 9cqi; line-height: 1; }
.cover__type { font-size: 5.4cqi; font-weight: 700; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; text-align: right; opacity: .8; }
.cover__title {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5;
    margin-top: 15cqi;
    overflow: hidden;
    font-size: 11.6cqi; font-weight: 800; line-height: 1.04; letter-spacing: -.03em;
    hyphens: auto;
    text-wrap: balance;
}
.cover__sub {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4;
    margin-top: 5cqi;
    overflow: hidden;
    font-size: 5.8cqi; font-weight: 500; line-height: 1.3;
    opacity: .85;
}
.cover__year { position: relative; z-index: 1; margin-top: auto; padding-top: 4cqi; font-family: var(--font-display); font-size: 15cqi; line-height: 1; color: var(--cv-accent); }
.cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover--tq { --cv-bg: linear-gradient(160deg, #4aeacd, #1fae94); --cv-ink: #03211b; --cv-accent: #03211b; }
.cover--gold { --cv-bg: linear-gradient(160deg, #ecb44e, #bf7e15); --cv-ink: #1e1302; --cv-accent: #1e1302; }
.cover--paper { --cv-bg: linear-gradient(160deg, #fbfaf6, #e2ddcf); --cv-ink: #131313; --cv-accent: #b27812; }
.cover--ink { --cv-bg: linear-gradient(160deg, #202024, #09090a); --cv-ink: var(--paper); --cv-accent: var(--gold); box-shadow: inset 0 0 0 1px rgb(var(--gold-rgb) / .4); }

/* À la une : un livre en 3D qui s'ouvre au fil de la lecture */
.feat__eyebrow { margin-bottom: 34px; }
.feat__grid { display: grid; gap: 44px; }
.feat__visual { position: relative; isolation: isolate; display: grid; place-items: center; padding: 16px 0 26px; }
.feat__visual::before {
    /* halo : une ombre ne se verrait pas sur le noir */
    content: ''; position: absolute; z-index: -1; left: 50%; top: 50%;
    width: min(130%, 620px); aspect-ratio: 1;
    translate: -50% -50%;
    background: radial-gradient(closest-side, rgb(var(--tq-rgb) / .17), transparent);
    pointer-events: none;
}
.book {
    --bw: min(42vw, 190px);
    position: relative;
    width: var(--bw);
    aspect-ratio: 1 / 1.414;
    perspective: 1500px;
}
.book__inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(5deg); }
.book__page {
    /* page de titre, révélée quand la couverture s'ouvre */
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center;
    padding: 16% 11% 11%;
    text-align: center;
    color: #161616;
    background: linear-gradient(90deg, #d8d2c3, #f6f3ea 9%, #f2eee4);
    border-radius: 2px 6px 6px 2px;
    transform: translateZ(-1px);
}
.book__brand { font-family: var(--font-display); font-size: calc(var(--bw) * .085); line-height: 1; color: var(--gold); }
.book__title { margin-top: 20%; font-size: calc(var(--bw) * .092); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.book__rule { width: 22%; height: 2px; margin: 10% 0 8%; background: var(--gold); }
.book__meta { font-size: calc(var(--bw) * .046); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.book__place { margin-top: auto; font-size: calc(var(--bw) * .046); color: #6b6a64; }
.book__edge {
    /* tranche des pages, perpendiculaire à la couverture */
    position: absolute; top: 1.2%; bottom: 1.2%; right: 0;
    width: calc(var(--bw) * .1);
    transform-origin: right center;
    transform: rotateY(-90deg);
    background: repeating-linear-gradient(90deg, #f4f0e6 0 1.5px, #d4cdbd 1.5px 3px);
}
.book__cover { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: left center; }
.book__front, .book__verso { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 3px 7px 7px 3px; overflow: hidden; }
.book__front .cover { height: 100%; }
.book__verso {
    /* revers de la couverture : papier de garde semé de plumes */
    transform: rotateY(180deg);
    background: #0d2622;
}
.book__verso::before {
    content: ''; position: absolute; inset: 0;
    background: var(--tq);
    opacity: .3;
    -webkit-mask: var(--pen-glyph) 0 0 / calc(var(--bw) * .16) repeat;
    mask: var(--pen-glyph) 0 0 / calc(var(--bw) * .16) repeat;
}
.book__shadow {
    position: absolute; left: 4%; right: -6%; bottom: -9%;
    height: 7%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgb(var(--tq-rgb) / .28), transparent);
    filter: blur(4px);
}

.feat__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.feat__type { color: var(--tq-ink); }
.feat__title { margin-top: 14px; max-width: 24ch; font-size: clamp(1.8rem, 7.2vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
.feat__by { margin-top: 14px; font-size: .95rem; color: var(--muted); }
.feat__summary { margin-top: 20px; max-width: 58ch; font-size: 1.05rem; line-height: 1.75; color: var(--muted); }
.feat__label { margin-top: 38px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.learned { margin-top: 8px; }
.learned__item { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.learned__num { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.1; color: var(--gold-display); }
.learned__text { font-size: 1.02rem; line-height: 1.6; }
.feat__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 32px; }
.feat__file { display: grid; gap: 3px; font-size: .82rem; color: var(--faint); }
.feat__lang { font-weight: 600; color: var(--tq-ink); }
.feat__soon { font-weight: 700; color: var(--muted); }

@media (min-width: 1000px) {
    .feat__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
    .feat__visual { position: sticky; top: calc(var(--header-h) + 6vh); min-height: min(74vh, 620px); padding: 0; }
    .book { --bw: clamp(220px, 19vw, 268px); }
}

/* Bibliothèque */
.lib__bar { display: grid; gap: 14px; margin: -8px 0 32px; }
.fchip__n { margin-left: 8px; font-size: .74rem; font-weight: 700; font-variant-numeric: tabular-nums; opacity: .55; }
.lib__count { font-size: .9rem; color: var(--faint); }
.lib__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
.pub[hidden] { display: none; }
.pub__link { display: flex; flex-direction: column; height: 100%; }
.pub__cover { position: relative; isolation: isolate; display: block; perspective: 900px; }
.pub__cover::after {
    /* le bloc de pages sous la couverture (visible quand elle s'entrouvre) */
    content: ''; position: absolute; z-index: -1; inset: 2px 0 0 2px;
    border-radius: 2px 6px 6px 2px;
    background: linear-gradient(90deg, #d6d0c1, #f3efe5 12%);
    box-shadow: 2px 2px 0 #d2cbbb, 4px 4px 0 #bdb5a2;
}
.pub__cover .cover { transform-origin: left center; transition: transform .7s var(--ease-out); }
.pub__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding-top: 18px; }
.pub__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .66rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--faint); }
.pub__type { color: var(--tq-ink); }
.pub__title {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
    overflow: hidden;
    font-size: .98rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em;
    hyphens: auto;
}
.pub__summary { display: none; }
.pub__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.pub__file { display: grid; gap: 2px; font-size: .72rem; font-weight: 600; color: var(--faint); }
.pub__lang { color: var(--tq-ink); }
.pub__icon {
    flex: none;
    display: grid; place-items: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px var(--line-strong);
    transition: background-color .3s, color .3s, box-shadow .3s, transform .5s var(--ease-out);
}
.pub__icon .icon { width: 16px; height: 16px; }
.lib__more { display: flex; justify-content: center; margin-top: 48px; }
.lib__more[hidden] { display: none; }
@media (hover: hover) {
    a.pub__link:hover .cover { transform: rotateY(-24deg); }
    a.pub__link:hover .pub__icon { background: var(--gold); color: #000; box-shadow: none; transform: translateY(2px); }
}
@media (min-width: 700px) {
    .lib__bar { grid-template-columns: 1fr auto; align-items: center; }
    .lib__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 22px; }
    .pub__title { font-size: 1.08rem; }
    .pub__summary {
        display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
        overflow: hidden;
        font-size: .9rem; line-height: 1.55;
        color: var(--muted);
    }
}
@media (min-width: 1000px) {
    .lib__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 52px 24px; }
}
@media (min-width: 1240px) {
    .lib__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 52px 24px; }
}

/* Notre éthique : la charte, noir sur blanc, sur une page de cahier */
.charter {
    position: relative;
    max-width: 1120px;
    padding: 32px 20px 30px 46px;
    overflow: hidden;
    border-radius: 26px;
    color: #161616;
    background-color: #f4f1e8;
    background-image:
        linear-gradient(90deg, transparent 27px, rgb(var(--gold-rgb) / .6) 27px 28px, transparent 28px),
        repeating-linear-gradient(180deg, transparent 0 31px, rgba(30, 70, 140, .09) 31px 32px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 50px 90px -40px rgba(0, 0, 0, .95);
}
.charter__label { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #6b675c; }
.charter__list { display: grid; gap: 26px; margin-top: 26px; }
.charter__num { font-family: var(--font-display); font-size: 1.15rem; line-height: 1; color: #a36c0d; }
.charter__title { margin-top: 8px; font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: #111; }
.charter__text { margin-top: 8px; line-height: 1.65; color: #3b3a35; }
.charter__foot { display: grid; gap: 24px; margin-top: 34px; padding-top: 26px; border-top: 1px dashed rgba(0, 0, 0, .2); }
.charter__done { font-size: .85rem; color: #6b675c; }
.charter__who { margin-top: 2px; font-weight: 700; }
.charter__scribble { position: static; display: block; width: 210px; height: 56px; margin-top: 4px; }
.charter__scribble path { stroke: #b27812; stroke-width: 3.2; }
.charter__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.charter__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: #161616; }
.charter__link .icon { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.charter__link:hover .icon { transform: translateX(4px); }
.btn--ink {
    color: var(--paper);
    background: linear-gradient(180deg, #2d2d31, #0c0c0d);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 16px 30px -16px rgba(0, 0, 0, .7);
}
.btn--ink::after { background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .22) 48%, transparent 66%); }
@media (min-width: 1000px) {
    .charter {
        margin-inline: auto;
        padding: 54px 60px 50px 104px;
        background-image:
            linear-gradient(90deg, transparent 67px, rgb(var(--gold-rgb) / .6) 67px 68px, transparent 68px),
            repeating-linear-gradient(180deg, transparent 0 33px, rgba(30, 70, 140, .09) 33px 34px);
    }
    .charter__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; margin-top: 34px; }
    .charter__foot { grid-template-columns: 1fr auto; align-items: end; margin-top: 46px; }
}

/* ==========================================================================
   FAIRE UN DON (mobile d'abord)
   ========================================================================== */
.phero__aside { width: 100%; min-width: 0; }
@media (min-width: 1100px) {
    .page-donate .phero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 64px; }
}

/* Le formulaire : trois étapes avec JS, une seule page sans */
.gform {
    container-type: inline-size;
    display: grid; gap: 20px;
    padding: 22px 18px 20px;
    border-radius: 28px;
}
.gform [hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gform__progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gprog { display: flex; flex-wrap: wrap; align-items: baseline; row-gap: 8px; font-size: .74rem; font-weight: 700; color: var(--faint); transition: color .3s; }
.gprog::before { content: ''; flex: 0 0 100%; height: 3px; border-radius: 3px; background: var(--line-strong); transition: background-color .4s; }
.gprog__n { margin-right: 6px; color: var(--gold-ink); }
.gprog.is-done::before, .gprog.is-current::before { background: var(--gold); }
.gprog.is-current { color: var(--fg); }
.gform__errors { padding: 14px 16px; border-radius: 16px; font-size: .88rem; line-height: 1.5; background: rgba(255, 110, 90, .1); box-shadow: inset 0 0 0 1px rgba(255, 110, 90, .35); }
.gform__errors p { font-weight: 700; }
.gform__errors ul { margin-top: 6px; padding-left: 18px; list-style: disc; color: #ffb3a8; }
.gform__recap {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: .86rem;
    color: var(--muted);
    background: rgba(255, 255, 255, .045);
}
.gform__recap strong { color: var(--fg); }
.gform__recap button { margin-left: auto; font-weight: 700; color: var(--tq-ink); text-decoration: underline; text-underline-offset: 3px; }

.gstep { min-width: 0; margin: 0; padding: 0; border: 0; }
.gstep__title { padding: 0; font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; outline: none; }
.gstep__body { display: grid; gap: 14px; margin-top: 14px; }

/* Fréquence : interrupteur à pastille */
.gfreq { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); }
.gfreq__opt { position: relative; z-index: 1; display: grid; place-items: center; height: 44px; border-radius: 999px; font-size: .92rem; font-weight: 700; color: var(--muted); cursor: pointer; transition: color .3s; }
.gfreq input:checked + .gfreq__opt { color: #000; }
.gfreq input:focus-visible + .gfreq__opt { outline: 2px solid var(--tq); outline-offset: 2px; }
.gfreq__thumb {
    position: absolute; top: 4px; bottom: 4px; left: 4px;
    width: calc(50% - 4px);
    border-radius: 999px;
    background: linear-gradient(180deg, #fff, #dcdcd6);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
    transition: transform .5s var(--ease-spring);
}
#freq-monthly:checked ~ .gfreq__thumb { transform: translateX(100%); }

/* Montants : des étiquettes, celle choisie penche comme un autocollant */
.gamounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.gamount {
    display: grid; place-items: center;
    height: 62px;
    border-radius: 16px;
    font-family: var(--font-display); font-size: 1.55rem; line-height: 1;
    color: var(--gold-display);
    background: rgba(255, 255, 255, .04);
    box-shadow: inset 0 0 0 1px var(--line);
    cursor: pointer;
    transition: background-color .3s, color .3s, box-shadow .3s, transform .45s var(--ease-spring);
}
.gamount:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.gamounts input:checked + .gamount { color: #140d02; background: linear-gradient(180deg, #e9ab3b, var(--gold)); box-shadow: 0 10px 24px -12px rgb(var(--gold-rgb) / .9); transform: rotate(-2.5deg) scale(1.04); }
.gamounts input:focus-visible + .gamount { outline: 2px solid var(--tq); outline-offset: 2px; }
@container (min-width: 400px) {
    .gamounts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.gother { display: grid; gap: 6px; }
.gother__box {
    display: flex; align-items: center; gap: 8px;
    height: 52px; padding: 0 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: box-shadow .3s;
}
.gother__box--after .gother__cur { order: 2; }
.gother__box:focus-within { box-shadow: inset 0 0 0 1.5px var(--gold); }
.gother__cur { font-weight: 700; color: var(--gold-ink); }
.gother input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; font: inherit; font-size: 1.05rem; color: var(--fg); background: none; }
.gother input::placeholder { color: var(--faint); }
.gimpact { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; background: rgb(var(--tq-rgb) / .07); box-shadow: inset 0 0 0 1px rgb(var(--tq-rgb) / .22); }
.gimpact__label { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tq-ink); }
.gimpact__text { line-height: 1.5; }

/* Moyens de paiement */
.gmethods { display: grid; gap: 10px; }
.gmethod {
    display: grid; grid-template-columns: 44px minmax(0, 1fr) 26px; align-items: center; gap: 14px;
    min-height: 68px; padding: 12px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .04);
    box-shadow: inset 0 0 0 1px var(--line);
    cursor: pointer;
    transition: background-color .3s, box-shadow .3s;
}
.gmethod:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.gmethod__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .07); transition: background-color .3s, color .3s; }
.gmethod__icon .icon { width: 22px; height: 22px; }
.gmethod__text strong { display: block; font-weight: 700; }
.gmethod__text small { display: block; margin-top: 2px; font-size: .82rem; color: var(--faint); }
.gmethod__check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background-color .3s, color .3s, box-shadow .3s, transform .45s var(--ease-spring); }
.gmethod__check .icon { width: 14px; height: 14px; }
.gmethods input:checked + .gmethod { background: rgb(var(--gold-rgb) / .09); box-shadow: inset 0 0 0 1.5px var(--gold); }
.gmethods input:checked + .gmethod .gmethod__icon { color: #000; background: var(--gold); }
.gmethods input:checked + .gmethod .gmethod__check { color: #000; background: var(--gold); box-shadow: none; transform: scale(1.08); }
.gmethods input:focus-visible + .gmethod { outline: 2px solid var(--tq); outline-offset: 2px; }

/* Coordonnées */
.gfields { display: grid; gap: 12px; }
.gfield { display: grid; align-content: start; gap: 6px; min-width: 0; }
.gfield__label { font-size: .82rem; font-weight: 600; color: var(--muted); }
.gfield__input {
    width: 100%; height: 50px; padding: 0 16px;
    border: 0; border-radius: 14px;
    font: inherit; font-size: 1rem;
    color: var(--fg);
    background: rgba(255, 255, 255, .05);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: box-shadow .3s;
}
.gfield__input:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--gold); }
.gfield__input[aria-invalid="true"], .gother input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #ff7a6b; }
.gfield__hint { font-size: .78rem; line-height: 1.45; color: var(--faint); }
.gfield__error { font-size: .84rem; font-weight: 600; line-height: 1.45; color: #ff9a8c; }
@container (min-width: 400px) {
    .gfields { grid-template-columns: 1fr 1fr; }
    .gfield--full { grid-column: 1 / -1; }
}
.gcheck { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .9rem; line-height: 1.5; color: var(--muted); cursor: pointer; }
.gcheck__box { display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 8px; color: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background-color .3s, color .3s, box-shadow .3s; }
.gcheck__box .icon { width: 14px; height: 14px; }
.gcheck input:checked + .gcheck__box { color: #000; background: var(--tq); box-shadow: none; }
.gcheck input:focus-visible + .gcheck__box { outline: 2px solid var(--tq); outline-offset: 2px; }
.gform__privacy { font-size: .78rem; line-height: 1.5; color: var(--faint); }
.gform__privacy a, .nl__consent a {
    color: var(--muted);
    text-decoration: underline; text-decoration-color: rgb(var(--gold-rgb) / .55); text-underline-offset: 3px;
    transition: color .25s, text-decoration-color .25s;
}
.gform__privacy a:hover, .nl__consent a:hover { color: var(--fg-strong); text-decoration-color: var(--gold); }

.gform__nav { display: flex; align-items: center; gap: 10px; }
.gform__nav .btn { flex: 1; }
.gform__submit { height: auto; min-height: 56px; padding-block: 12px; white-space: normal; text-align: center; line-height: 1.25; }
.gform__back { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 12px 0 4px; font-weight: 700; color: var(--muted); transition: color .3s; }
.gform__back:hover { color: var(--fg-strong); }
.gform__back .icon { width: 18px; height: 18px; transform: rotate(180deg); }
.gform__secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .78rem; text-align: center; color: var(--faint); }
.gform__secure .icon { flex: none; width: 15px; height: 15px; color: var(--tq-ink); }
@media (min-width: 1100px) {
    .gform { padding: 28px 28px 22px; border-radius: 32px; }
}

/* En confiance */
.trust__grid { display: grid; gap: 40px; }
.trust__media { overflow: hidden; margin: 0; border-radius: 28px; aspect-ratio: 4 / 3; }
.trust__media img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 60%; }
.trust__list { display: grid; gap: 24px; margin-top: 34px; }
.trust__item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; }
.trust__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; color: var(--gold-ink); background: rgb(var(--gold-rgb) / .1); box-shadow: inset 0 0 0 1px rgb(var(--gold-rgb) / .3); }
.trust__icon .icon { width: 22px; height: 22px; }
.trust__title { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.trust__text { margin-top: 4px; max-width: 48ch; line-height: 1.6; color: var(--muted); }
.trust__link { margin-top: 10px; }
@media (min-width: 1000px) {
    .trust__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
    .trust__media { aspect-ratio: 4 / 5; }
}

/* Bon à savoir */
.faq__grid { display: grid; gap: 36px; }
.faq__more { margin-top: 20px; color: var(--muted); }
.faq__mail { font-weight: 700; color: var(--fg); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; font-size: 1.06rem; font-weight: 700; line-height: 1.35; list-style: none; cursor: pointer; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline: 2px solid var(--tq); outline-offset: 4px; border-radius: 6px; }
.faq__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); transition: transform .45s var(--ease-spring), background-color .3s, color .3s, box-shadow .3s; }
.faq__icon .icon { width: 16px; height: 16px; }
.faq__item[open] .faq__icon { color: #000; background: var(--gold); box-shadow: none; transform: rotate(45deg); }
.faq__a { padding: 0 52px 24px 0; line-height: 1.7; color: var(--muted); }
@supports (interpolate-size: allow-keywords) {
    /* ouverture en douceur, là où le navigateur sait animer vers height: auto */
    .faq { interpolate-size: allow-keywords; }
    .faq__item::details-content { height: 0; overflow: clip; transition: height .45s var(--ease-out), content-visibility .45s allow-discrete; }
    .faq__item[open]::details-content { height: auto; }
}
@media (min-width: 1000px) {
    .faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
    .faq__head { position: sticky; top: calc(var(--header-h) + 40px); }
    .faq__q { font-size: 1.14rem; }
}

/* Merci : le reçu (bord déchiré, tampon, signature) et la dernière étape */
.thanks { padding: calc(var(--header-h) + 36px) 0 clamp(64px, 8vw, 110px); }
.thanks__grid { display: grid; gap: 28px; }
.receipt {
    --tooth: 11px;
    position: relative;
    padding: 28px 22px 48px;
    color: #161616;
    background: linear-gradient(180deg, #faf8f2, #f1ede2);
    border-radius: 22px 22px 0 0;
    /* bas déchiré en dents de scie */
    -webkit-mask:
        linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth)) no-repeat,
        conic-gradient(from -45deg at 50% 100%, #000 90deg, #0000 0) bottom / calc(var(--tooth) * 2) var(--tooth) repeat-x;
    mask:
        linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth)) no-repeat,
        conic-gradient(from -45deg at 50% 100%, #000 90deg, #0000 0) bottom / calc(var(--tooth) * 2) var(--tooth) repeat-x;
}
.receipt__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px dashed rgba(0, 0, 0, .22); }
.receipt__brand { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--gold); }
.receipt__label { font-size: .7rem; font-weight: 700; letter-spacing: .16em; line-height: 1.6; text-align: right; text-transform: uppercase; color: #6b675c; }
.receipt__title { margin-top: 26px; font-size: clamp(2.1rem, 9vw, 3.2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.receipt__text { margin-top: 16px; max-width: 46ch; font-size: 1.08rem; line-height: 1.7; color: #37362f; }
.receipt__lines { display: grid; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px dashed rgba(0, 0, 0, .22); }
.receipt__lines div { display: flex; align-items: baseline; gap: 10px; }
.receipt__lines dt { font-size: .86rem; color: #6b675c; }
.receipt__lines div::after { content: ''; order: 1; flex: 1; border-bottom: 1px dotted rgba(0, 0, 0, .25); }
.receipt__lines dd { order: 2; margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.receipt__sign { margin-top: 28px; }
.receipt__signed { font-size: .86rem; font-weight: 700; }
.receipt__scribble { position: static; display: block; width: 190px; height: 50px; margin-top: 4px; }
.receipt__scribble path { stroke: #b27812; stroke-width: 3.2; }
.receipt__stamp {
    /* tampon encreur */
    position: absolute; right: 18px; bottom: 58px;
    padding: 10px 16px 8px;
    border: 3px double currentColor;
    border-radius: 12px;
    font-family: var(--font-display); font-size: 1.7rem; line-height: 1;
    color: #0b8a73;
    opacity: .85;
    transform: rotate(-12deg);
    mix-blend-mode: multiply;
    pointer-events: none;
}
.thanks__side { display: grid; gap: 24px; align-content: start; }
.nextstep { padding: 26px 22px 24px; border-radius: 26px; }
.nextstep__eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.nextstep__title { margin-top: 8px; font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.nextstep__steps { display: grid; gap: 12px; margin: 18px 0 16px; counter-reset: nstep; }
.nextstep__steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; line-height: 1.55; color: var(--muted); counter-increment: nstep; }
.nextstep__steps li::before { content: counter(nstep); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: .85rem; font-weight: 700; color: var(--tq-ink); background: rgb(var(--tq-rgb) / .12); }
.copyrow { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.copyrow__text { display: grid; gap: 2px; min-width: 0; }
.copyrow__text small { font-size: .74rem; color: var(--faint); }
.copyrow__text strong { font-size: 1.12rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.copyrow__btn { flex: none; margin-left: auto; height: 38px; padding: 0 16px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: rgba(255, 255, 255, .09); transition: background-color .3s, color .3s; }
.copyrow__btn:hover { background: rgba(255, 255, 255, .16); }
.copyrow__btn.is-copied { color: #000; background: var(--tq); }
.nextstep__note { margin-top: 16px; font-size: .92rem; line-height: 1.6; color: var(--muted); }
.nextstep__pay { margin-top: 18px; }
.share__title { font-size: 1.05rem; font-weight: 700; }
.share__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thanks__links { display: flex; flex-wrap: wrap; gap: 14px 28px; }
@media (min-width: 1000px) {
    .thanks { padding-top: calc(var(--header-h) + 64px); }
    .thanks__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
    .receipt { padding: 44px 48px 64px; }
    .receipt__stamp { right: 42px; bottom: 80px; font-size: 2.2rem; }
}

/* ==========================================================================
   DEVENIR MEMBRE (mobile d'abord)
   ========================================================================== */

/* La carte de membre : teinte de la formule, reflet holographique au survol */
.mcard {
    --mc-bg: linear-gradient(135deg, #48e8cb, #1ea88f 55%, #137a67);
    --mc-ink: #03211b;
    position: relative;
    width: 100%; max-width: 420px;
    aspect-ratio: 1.586;
    border-radius: 18px;
}
.mcard__face {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 7% 7.5%;
    overflow: hidden;
    container-type: inline-size;
    border-radius: inherit;
    color: var(--mc-ink);
    background: var(--mc-bg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(255, 255, 255, .12), 0 28px 56px -26px rgba(0, 0, 0, .95);
    transition: background .5s, color .5s;
}
.mcard__face::before {
    /* semis de plumes, à peine visible */
    content: ''; position: absolute; inset: 0;
    background: currentColor;
    opacity: .07;
    -webkit-mask: var(--pen-glyph) 0 0 / 12cqi repeat;
    mask: var(--pen-glyph) 0 0 / 12cqi repeat;
    pointer-events: none;
}
.mcard__foil {
    position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 44%, rgba(255, 216, 128, .45) 50%, rgba(120, 255, 228, .4) 56%, transparent 70%);
    background-size: 260% 100%;
    background-position: 100% 0;
    mix-blend-mode: overlay;
    pointer-events: none;
    transition: background-position 1s var(--ease-out);
}
.mcard:hover .mcard__foil, .mcard.is-shine .mcard__foil { background-position: 0 0; }
.mcard__top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.mcard__brand { font-family: var(--font-display); font-size: 9.5cqi; line-height: 1; }
.mcard__label { font-size: 3.2cqi; font-weight: 700; letter-spacing: .16em; line-height: 1.55; text-align: right; text-transform: uppercase; opacity: .85; }
.mcard__nib { position: absolute; right: 7.5%; top: 33%; width: 11cqi; height: auto; fill: none; stroke: currentColor; stroke-width: 2.6; opacity: .5; }
.mcard__bottom { position: relative; }
.mcard__name {
    display: block;
    max-width: 82%;
    font-size: 6.6cqi; font-weight: 800; letter-spacing: .06em; line-height: 1.12;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
    overflow-wrap: anywhere;
    transition: opacity .3s;
}
.mcard__name.is-empty { opacity: .45; }
.mcard__meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 2.6cqi; font-size: 3.3cqi; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-variant-numeric: tabular-nums; opacity: .8; }
.mcard--gold { --mc-bg: linear-gradient(135deg, #f2c263, #cc8a1c 55%, #9b6407); --mc-ink: #1e1302; }
.mcard--paper { --mc-bg: linear-gradient(135deg, #fefdf9, #e7e2d4 60%, #cdc6b3); --mc-ink: #151515; }

/* Les formules : une carte par formule, à faire défiler sur téléphone */
.tiers__track {
    display: flex; gap: 14px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 18px var(--gutter) 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
}
.tiers__track::-webkit-scrollbar { display: none; }
.tier {
    position: relative;
    flex: none;
    display: flex; flex-direction: column; gap: 22px;
    width: min(84%, 360px);
    padding: 16px 16px 22px;
    border-radius: 28px;
    scroll-snap-align: start;
    background: linear-gradient(165deg, #151517, #0a0a0b 70%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px var(--line);
}
.tier--featured { box-shadow: inset 0 0 0 1.5px var(--gold), 0 30px 60px -32px rgb(var(--gold-rgb) / .55); }
.tier__badge {
    position: absolute; top: -12px; left: 50%; z-index: 2;
    padding: 6px 14px;
    border-radius: 999px;
    translate: -50% 0;
    font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: #140d02;
    background: var(--gold);
}
.tier .mcard { max-width: none; }
.tier__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 0 4px; }
.tier__name { font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; }
.tier__audience { color: var(--muted); }
.tier__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 10px; }
.tier__amount { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--gold-display); }
.tier__per { font-size: .9rem; color: var(--faint); }
.tier__benefits { display: grid; gap: 10px; margin: 14px 0 24px; }
.tier__benefits li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: .95rem; line-height: 1.5; }
.tier__benefits .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--tq-ink); }
.tier__choose { width: 100%; margin-top: auto; }
@media (min-width: 900px) {
    .tiers__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 14px 0 0; overflow: visible; }
    .tier { width: auto; padding: 18px 18px 24px; }
}

/* Votre adhésion : les étapes, le formulaire, la carte qui se remplit */
.msteps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.mstep {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: .88rem; line-height: 1.35;
    color: var(--muted);
    background: rgba(255, 255, 255, .04);
    box-shadow: inset 0 0 0 1px var(--line);
}
.mstep__n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-family: var(--font-display); font-size: 1rem; color: #140d02; background: var(--gold); }
@media (min-width: 900px) {
    .msteps { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1080px; }
}
.mform { container-type: inline-size; display: grid; gap: 30px; padding: 22px 18px 24px; border-radius: 28px; }
.mform [hidden] { display: none !important; }
.mform__group { min-width: 0; margin: 0; padding: 0; border: 0; }
.mform__legend { margin-bottom: 14px; padding: 0; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.mform__commit { display: grid; gap: 14px; }
.mform__commit .mform__legend { margin-bottom: 0; }
.mtiers { display: grid; gap: 10px; }
.mtier {
    display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px;
    min-height: 58px; padding: 10px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .04);
    box-shadow: inset 0 0 0 1px var(--line);
    cursor: pointer;
    transition: background-color .3s, box-shadow .3s;
}
.mtier:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.mtier__swatch { width: 30px; height: 19px; border-radius: 5px; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.mtier__swatch--tq { --sw: linear-gradient(135deg, #48e8cb, #137a67); }
.mtier__swatch--gold { --sw: linear-gradient(135deg, #f2c263, #9b6407); }
.mtier__swatch--paper { --sw: linear-gradient(135deg, #fefdf9, #cdc6b3); }
.mtier__name { font-weight: 700; }
.mtier__price { font-weight: 700; white-space: nowrap; color: var(--gold-ink); }
.mtiers input:checked + .mtier { background: rgb(var(--gold-rgb) / .09); box-shadow: inset 0 0 0 1.5px var(--gold); }
.mtiers input:focus-visible + .mtier { outline: 2px solid var(--tq); outline-offset: 2px; }
.mform__card { display: grid; place-items: center; }
.mform__card .mcard { max-width: 380px; }
.gfield__opt { font-weight: 500; color: var(--faint); }
.gfield__textarea { height: auto; min-height: 112px; padding: 14px 16px; line-height: 1.55; resize: vertical; }
.mform__submit .btn { width: 100%; }
@media (min-width: 1000px) {
    .mform {
        grid-template-columns: minmax(0, 1fr) minmax(0, 390px);
        grid-template-areas: "alert alert" "tiers card" "details card" "commit card" "submit card";
        column-gap: 60px;
        padding: 40px 44px 42px;
        border-radius: 34px;
    }
    .mform__alert { grid-area: alert; }
    .mform__tiers { grid-area: tiers; }
    .mform__details { grid-area: details; }
    .mform__commit { grid-area: commit; }
    .mform__submit { grid-area: submit; }
    .mform__submit .btn { width: auto; }
    .mform__card { grid-area: card; position: sticky; top: calc(var(--header-h) + 48px); align-self: start; }
}

/* Bienvenue : la carte au nom du nouveau membre, puis la cotisation */
.welcome { padding: calc(var(--header-h) + 36px) 0 clamp(64px, 8vw, 110px); }
.welcome__grid { display: grid; gap: 32px; }
.welcome__eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--tq-ink); }
.welcome__title { margin-top: 12px; font-size: clamp(2.4rem, 11vw, 4.2rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; }
.welcome__text { margin-top: 16px; max-width: 52ch; font-size: 1.05rem; line-height: 1.7; color: var(--muted); }
.welcome__card { max-width: 460px; margin-top: 32px; }
.welcome__status { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.welcome__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: mdot 2s ease-out infinite; }
@keyframes mdot { 0% { box-shadow: 0 0 0 0 rgb(var(--gold-rgb) / .5); } 100% { box-shadow: 0 0 0 10px rgb(var(--gold-rgb) / 0); } }
.nextstep__sub { margin-top: 22px; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tq-ink); }
@media (min-width: 1000px) {
    .welcome { padding-top: calc(var(--header-h) + 64px); }
    .welcome__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; }
}

/* ==========================================================================
   DEVENIR BÉNÉVOLE (mobile d'abord)
   ========================================================================== */

/* Les missions : un tableau d'annonces, chacune scotchée de travers */
.board { display: grid; gap: 22px; }
.board__track {
    display: flex; gap: 16px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 26px var(--gutter) 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
}
.board__track::-webkit-scrollbar { display: none; }
.note {
    position: relative;
    flex: none;
    display: flex; flex-direction: column; gap: 10px;
    width: min(80%, 320px);
    padding: 30px 22px 18px;
    border-radius: 6px;
    scroll-snap-align: start;
    color: #161616;
    background: linear-gradient(180deg, #faf8f2, #f0ece1);
    box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .9);
    rotate: calc(var(--tilt, 0deg) * .5);
    transition: rotate .5s var(--ease-spring), translate .5s var(--ease-out), box-shadow .5s;
}
.note__tape {
    /* ruban adhésif aux bords déchirés */
    position: absolute; top: -12px; left: 50%;
    width: 96px; height: 26px;
    translate: -50% 0;
    rotate: -3deg;
    background: rgb(var(--tq-rgb) / .78);
    clip-path: polygon(0 12%, 5% 0, 12% 8%, 20% 0, 80% 4%, 88% 0, 95% 8%, 100% 2%, 98% 88%, 100% 100%, 90% 94%, 10% 100%, 3% 92%, 0 100%);
}
.note__tape--gold { background: rgb(var(--gold-rgb) / .82); rotate: 4deg; }
.note__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #0a6d5c; background: rgb(var(--tq-rgb) / .18); }
.note__icon .icon { width: 22px; height: 22px; }
.note__title { font-size: 1.22rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.note__text { line-height: 1.55; color: #3b3a35; }
.note__profile { font-size: .9rem; line-height: 1.5; color: #55544d; }
.note__profile strong { display: block; margin-bottom: 2px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #a36c0d; }
.note__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; padding-top: 12px; border-top: 1px dashed rgba(0, 0, 0, .18); font-size: .84rem; font-weight: 600; color: #3b3a35; }
.note__meta span { display: inline-flex; align-items: center; gap: 6px; }
.note__meta .icon { width: 16px; height: 16px; color: #a36c0d; }
.note__apply { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: #161616; }
.note__apply .icon { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.note__apply:hover .icon { transform: translateX(4px); }
@media (hover: hover) {
    .note:hover { rotate: 0deg; translate: 0 -6px; box-shadow: 0 30px 50px -22px rgba(0, 0, 0, .95); }
}
.board__free { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px; border: 1.5px dashed rgba(255, 255, 255, .22); border-radius: 22px; }
.board__free-title { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.board__free-text { max-width: 60ch; margin-top: 6px; line-height: 1.6; color: var(--muted); }
@media (min-width: 700px) {
    .board__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 26px; margin: 0; padding: 18px 0 0; overflow: visible; }
    .note { width: auto; rotate: var(--tilt, 0deg); }
    .board__free { flex-direction: row; align-items: center; justify-content: space-between; padding: 26px 32px; }
}
@media (min-width: 1000px) {
    /* le tableau lui-même : un panneau perforé */
    .board {
        gap: 34px;
        padding: 46px 42px 42px;
        border-radius: 34px;
        background-color: #0c0c0e;
        background-image: radial-gradient(rgba(255, 255, 255, .08) 1.2px, transparent 1.6px);
        background-size: 24px 24px;
        box-shadow: inset 0 0 0 1px var(--line);
    }
    .board__track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 46px 30px; }
}

/* Le badge de bénévole, pendu à son cordon */
.vbadge { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 270px; transform-origin: 50% 0; }
.vbadge__strap {
    width: 16px; height: 84px;
    background:
        repeating-linear-gradient(180deg, transparent 0 11px, rgba(0, 0, 0, .16) 11px 13px),
        linear-gradient(90deg, #1ea88f, #4fe9cc 50%, #1ea88f);
}
.vbadge__clip { position: relative; z-index: 2; width: 28px; height: 16px; margin-top: -2px; border-radius: 4px; background: linear-gradient(180deg, #e2e2e2, #8d8d8d); box-shadow: 0 2px 5px rgba(0, 0, 0, .55); }
.vbadge__card {
    position: relative;
    display: flex; flex-direction: column;
    width: 100%;
    aspect-ratio: 2 / 3;
    margin-top: -6px;
    padding-bottom: 7%;
    overflow: hidden;
    container-type: inline-size;
    border-radius: 18px;
    color: #161616;
    background: linear-gradient(180deg, #fbfaf6, #ebe6d8);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 30px 60px -26px rgba(0, 0, 0, .95);
}
.vbadge__hole { position: absolute; top: 3.2%; left: 50%; z-index: 1; width: 22%; height: 4%; translate: -50% 0; border-radius: 99px; background: #050505; box-shadow: inset 0 2px 3px rgba(0, 0, 0, .8); }
.vbadge__top { display: flex; flex-direction: column; align-items: center; gap: 1.5cqi; padding: 15% 8% 6%; background: #0b0b0c; }
.vbadge__brand { font-family: var(--font-display); font-size: 13cqi; line-height: 1; color: #fff; }
.vbadge__team { font-size: 4cqi; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.vbadge__role { display: block; padding: 4.5% 0; font-family: var(--font-display); font-size: 10cqi; line-height: 1; text-align: center; color: #03211b; background: var(--tq); }
.vbadge__body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 3cqi; padding: 6% 9%; text-align: center; }
.vbadge__name { font-size: 9cqi; font-weight: 800; letter-spacing: -.01em; line-height: 1.08; overflow-wrap: anywhere; transition: opacity .3s; }
.vbadge__name.is-empty { opacity: .4; }
.vbadge__mission { font-size: 4.6cqi; font-weight: 600; line-height: 1.35; color: #55544d; }
.vbadge__ref { font-size: 3.8cqi; font-weight: 700; letter-spacing: .14em; text-align: center; font-variant-numeric: tabular-nums; color: #8a877c; }
.vbadge__nib { position: absolute; right: 7%; bottom: 4.5%; width: 8cqi; height: auto; fill: none; stroke: #b27812; stroke-width: 3; opacity: .55; }
.motion .vbadge.is-swing, .motion .welcome__badge .vbadge { animation: vswing 2.6s var(--ease-out) both; }
.motion .welcome__badge .vbadge { animation-delay: .4s; }
@keyframes vswing {
    0% { rotate: 10deg; }
    22% { rotate: -6.5deg; }
    44% { rotate: 3.8deg; }
    64% { rotate: -2deg; }
    82% { rotate: .7deg; }
    100% { rotate: 0deg; }
}

/* La candidature : missions à cocher, badge, disponibilités en pastilles */
.vform__badge { padding-top: 6px; }
.vform__badge .vbadge { max-width: 210px; }
@media (min-width: 1000px) {
    .vform__badge .vbadge { max-width: 270px; }
}
.vmissions { display: grid; gap: 10px; }
.mtier.vmission { grid-template-columns: 40px minmax(0, 1fr); min-height: 60px; }
.vmission__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .07); transition: background-color .3s, color .3s; }
.vmission__icon .icon { width: 20px; height: 20px; }
.mtiers input:checked + .vmission .vmission__icon { color: #000; background: var(--gold); }
@container (min-width: 700px) {
    .vmissions { grid-template-columns: 1fr 1fr; }
}
.vchips { min-width: 0; margin: 0; padding: 0; border: 0; }
.vchips > legend { margin-bottom: 10px; padding: 0; }
.vchips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.vchip {
    display: inline-flex; align-items: center;
    min-height: 44px; padding: 0 16px;
    border-radius: 999px;
    font-size: .9rem; font-weight: 600;
    color: var(--muted);
    background: rgba(255, 255, 255, .05);
    box-shadow: inset 0 0 0 1px var(--line);
    cursor: pointer;
    transition: background-color .3s, color .3s, box-shadow .3s;
}
.vchip:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.vchip .icon { width: 0; height: 16px; margin-right: 0; opacity: 0; transition: width .3s var(--ease-out), margin-right .3s var(--ease-out), opacity .3s; }
.vchips input:checked + .vchip { color: #02140f; background: var(--tq); box-shadow: none; }
.vchips input:checked + .vchip .icon { width: 16px; margin-right: 8px; opacity: 1; }
.vchips input:focus-visible + .vchip { outline: 2px solid var(--tq); outline-offset: 2px; }

/* Merci : le badge au bout de son cordon, et la suite */
.welcome__badge { display: flex; margin-top: 30px; }
.welcome__badge .vbadge { max-width: 250px; }
.vsteps { display: grid; gap: 12px; margin: 18px 0 16px; }
.vstep { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: center; line-height: 1.45; color: var(--muted); }
.vstep__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: .85rem; font-weight: 700; color: var(--tq-ink); background: rgb(var(--tq-rgb) / .12); }
.vstep__n .icon { width: 16px; height: 16px; }
.vstep.is-done { color: var(--fg); }
.vstep.is-done .vstep__n { color: #02140f; background: var(--tq); }

/* ==========================================================================
   SUR LE TERRAIN (mobile d'abord)
   ========================================================================== */

/* Barre : les lieux, puis le nombre d'articles */
.field__bar { display: grid; gap: 14px; margin: -8px 0 32px; }
.field__count { font-size: .9rem; color: var(--faint); }
.field__results { transition: opacity .3s; }
.field.is-loading .field__results { opacity: .45; pointer-events: none; }
.field__pager .btn.is-loading { pointer-events: none; opacity: .7; }
.field__pager .btn.is-loading .icon { animation: spin 1s linear infinite; }

/* Cachet de la poste (SVG) : l'encre suit `color` */
.postmark { display: block; }
.postmark__svg { display: block; width: 100%; height: auto; overflow: visible; }
.postmark__ring { fill: none; stroke: currentColor; stroke-width: 3; }
.postmark__ring + .postmark__ring { stroke-width: 1.6; }
.postmark__arc { font-family: var(--font-sans); font-size: 14px; font-weight: 700; letter-spacing: 2px; fill: currentColor; }
.postmark__dot { fill: currentColor; }
.postmark__day { font-family: var(--font-display); font-size: 40px; fill: currentColor; }
.postmark__month { font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: 1px; fill: currentColor; }
.postmark__waves path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; }

/* La dernière nouvelle : une carte postale (la photo, puis la correspondance
   avec son timbre et son cachet), posée légèrement de travers */
.postcard { margin-bottom: clamp(48px, 6vw, 72px); }
.postcard__link {
    display: grid;
    border-radius: 18px;
    overflow: hidden;
    color: #161616;
    background: linear-gradient(180deg, #faf8f2, #f1ede2);
    box-shadow: 0 44px 80px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .06);
    transform: rotate(-1deg);
    transition: transform .8s var(--ease-out);
}
.postcard__photo { position: relative; aspect-ratio: 4 / 3; margin: 12px 12px 0; border-radius: 10px; overflow: hidden; background: #d9d4c7; }
.postcard__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.postcard__back { display: flex; flex-direction: column; gap: 12px; padding: 18px 22px 26px; }
.postcard__post { position: relative; align-self: flex-end; width: 170px; height: 92px; margin: 0 -6px 2px 0; }
/* Le timbre : dentelé (masque), le stylo du logo sur fond turquoise */
.postcard__stamp {
    position: absolute; right: 6px; top: 6px;
    display: grid; place-items: center;
    width: 62px; height: 76px;
    padding: 5px;
    background: #fffdf8;
    -webkit-mask: conic-gradient(#000 0 0) content-box, radial-gradient(circle, #0000 2.3px, #000 2.8px) -5px -5px / 10px 10px round;
    mask: conic-gradient(#000 0 0) content-box, radial-gradient(circle, #0000 2.3px, #000 2.8px) -5px -5px / 10px 10px round;
}
.postcard__stamp::before { content: ''; position: absolute; inset: 6px; background: linear-gradient(160deg, #3fe0c3, var(--tq-deep)); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.postcard__stamp-pen { position: relative; width: 11px; height: auto; aspect-ratio: 220 / 1153; color: #0a0a0a; transform: rotate(24deg); }
.postcard__post .postmark {
    position: absolute; right: -4px; top: 0;
    width: 170px;
    color: #0b6e5c;
    opacity: .82;
    mix-blend-mode: multiply;
    transform: rotate(-7deg);
}
.postcard__label { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #0b8a73; }
.postcard__title { font-size: clamp(1.5rem, 6.4vw, 2.3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.postcard__text { font-size: 1rem; line-height: 1.65; color: #45433b; }
.postcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .84rem; font-weight: 600; color: #6b675c; }
.postcard__place { display: inline-flex; align-items: center; gap: 5px; color: #97650f; }
.postcard__place .icon { width: 15px; height: 15px; }
.postcard__go { display: inline-flex; align-items: center; gap: .6em; margin-top: auto; padding-top: 8px; font-weight: 700; }
.postcard__go .icon {
    width: 36px; height: 36px; padding: 10px;
    border-radius: 50%;
    color: #faf8f2; background: #161616;
    transition: transform .5s var(--ease-out), background-color .3s;
}
@media (hover: hover) {
    .postcard__link:hover { transform: rotate(0deg) translateY(-4px); }
    .postcard__link:hover .postcard__photo img { transform: scale(1.05); }
    .postcard__link:hover .postcard__go .icon { transform: translateX(4px); background: var(--tq-deep); }
}
@media (min-width: 800px) {
    .postcard__link { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-radius: 22px; }
    .postcard__photo { aspect-ratio: auto; min-height: 440px; margin: 16px 0 16px 16px; }
    .postcard__back { gap: 14px; padding: 22px 34px 34px 38px; }
    .postcard__post { width: 190px; height: 100px; margin-bottom: 10px; }
    .postcard__post .postmark { width: 190px; }
    .postcard__text { font-size: 1.05rem; }
}

/* Grille des articles (cartes d'actualité de l'accueil) */
.field__grid { display: grid; gap: 34px; }
.news-card__media--empty {
    display: grid; place-items: center;
    background:
        radial-gradient(circle at 30% 18%, rgb(var(--tq-rgb) / .2), transparent 58%),
        linear-gradient(160deg, #151517, #0a0a0b);
}
.news-card__pen { width: 22px; height: auto; aspect-ratio: 220 / 1153; color: var(--gold); transform: rotate(20deg); }
.field__pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 32px; margin-top: clamp(44px, 5vw, 60px); }
.field__empty { display: grid; justify-items: start; gap: 16px; max-width: 52ch; line-height: 1.7; color: var(--muted); }
/* Flèche retournée (« Articles plus récents ») : elle recule au survol */
.link-arrow .icon.flip { transform: scaleX(-1); }
.link-arrow:hover .icon.flip { transform: scaleX(-1) translateX(4px); }
@media (min-width: 700px) {
    .field__bar { grid-template-columns: 1fr auto; align-items: center; }
    .field__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
}
@media (min-width: 1100px) {
    .field__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 22px; }
}

/* ---- Page d'un article ---- */
.ahero { padding: calc(var(--header-h) + 44px) 0 32px; }
/* Sur téléphone, le fil d'Ariane s'arrête à la rubrique : le titre suit juste en dessous */
@media (max-width: 699px) { .ahero .crumbs__list li:last-child { display: none; } }
.ahero__grid { display: grid; gap: 28px; }
.ahero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ahero__title {
    margin-top: 18px;
    max-width: 21ch;
    font-size: clamp(2.1rem, 8.6vw, 4.3rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.06;
    text-wrap: balance;
}
.ahero__lead { margin-top: 20px; max-width: 58ch; font-size: clamp(1.1rem, 4.2vw, 1.32rem); line-height: 1.6; color: var(--muted); }
.ahero__mark { width: min(58vw, 220px); color: var(--gold-display); transform: rotate(-7deg); }

.acover__frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: #111; }
.acover__frame img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; object-position: 50% 40%; }

.abody { padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px); }
.prose--article { max-width: 720px; margin: 0 auto; gap: 24px; font-size: clamp(1.05rem, 1.3vw, 1.14rem); }
/* Lettrine : la première lettre, à la plume (Comic Queens, or) */
.prose--article > p:first-child::first-letter {
    float: left;
    margin: .06em .12em 0 0;
    font-family: var(--font-display);
    font-size: 3.6em;
    line-height: .8;
    color: var(--gold-display);
}
/* Texte de l'éditeur (TinyMCE) : mêmes codes que le reste de l'article */
.prose--rich { display: block; }
.prose--rich > * + * { margin-top: 1.15em; }
.prose--rich h2, .prose--rich h3, .prose--rich h4 { margin-top: 1.7em; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--fg); }
.prose--rich h2 { font-size: clamp(1.45rem, 3.4vw, 1.85rem); }
.prose--rich h3 { font-size: clamp(1.2rem, 2.6vw, 1.4rem); }
.prose--rich h4 { font-size: 1.05rem; letter-spacing: .02em; color: var(--gold-ink); }
.prose--rich h2 + *, .prose--rich h3 + *, .prose--rich h4 + * { margin-top: .6em; }
.prose--rich strong, .prose--rich b { font-weight: 700; color: var(--fg); }
.prose--rich a { color: var(--tq-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
.prose--rich a:hover { color: var(--fg); }
.prose--rich ul, .prose--rich ol { display: grid; gap: .45em; padding-left: 1.3em; }
.prose--rich ul { list-style: none; }
.prose--rich ul > li { position: relative; }
.prose--rich ul > li::before { content: ''; position: absolute; left: -1.05em; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--tq); }
.prose--rich ol { list-style: decimal; }
.prose--rich ol > li::marker { font-weight: 700; color: var(--gold-ink); }
.prose--rich .lead { font-size: 1.18em; line-height: 1.65; color: var(--fg); }
.prose--rich blockquote { display: grid; gap: 12px; margin: 1.8em 0; padding: 30px 0 26px; border-block: 1px solid var(--line); }
.prose--rich blockquote::before {
    content: ''; width: 34px; height: 34px; background: var(--gold-display);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 7C6.5 8 5 10.3 5 13.5V17h4.5v-4.5H7c0-2 .9-3.3 2.5-4M18.5 7c-3 1-4.5 3.3-4.5 6.5V17h4.5v-4.5H16c0-2 .9-3.3 2.5-4'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 7C6.5 8 5 10.3 5 13.5V17h4.5v-4.5H7c0-2 .9-3.3 2.5-4M18.5 7c-3 1-4.5 3.3-4.5 6.5V17h4.5v-4.5H16c0-2 .9-3.3 2.5-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.prose--rich blockquote > * { margin: 0; }
.prose--rich blockquote p { font-size: clamp(1.3rem, 4.8vw, 1.75rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.38; color: var(--fg); }
.prose--rich blockquote .quote-source, .prose--rich .quote-source { font-size: .9rem; font-weight: 600; letter-spacing: 0; color: var(--gold-ink); }
.prose--rich img { display: block; max-width: 100%; height: auto; border-radius: var(--r); }
.prose--rich figure { margin-block: 1.8em; }
.prose--rich figure.image { display: table; margin-inline: auto; }
.prose--rich figcaption, .prose--rich .img-credit { margin-top: 10px; font-size: .84rem; font-style: italic; text-align: center; color: var(--faint); }
.prose--rich p > img:only-child { margin-inline: auto; }
.prose--rich iframe, .prose--rich video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin-block: 1.8em; border: 0; border-radius: var(--r); background: #000; }
.prose--rich hr { height: 1px; margin-block: 2.4em; border: 0; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.prose--rich table { width: 100%; border-collapse: collapse; font-size: .92em; }
@media (max-width: 559px) { .prose--rich table { display: block; overflow-x: auto; } }
.prose--rich th, .prose--rich td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose--rich th { font-weight: 700; color: var(--fg); }
.prose--rich code { padding: 2px 6px; border-radius: 6px; font-size: .9em; background: rgb(var(--fg-rgb) / .08); }
.prose--rich pre { overflow-x: auto; padding: 16px 18px; border-radius: var(--r-sm, 12px); font-size: .88em; background: rgb(var(--fg-rgb) / .06); }
.prose--rich pre code { padding: 0; background: none; }

.aquote { display: grid; gap: 14px; margin: 14px 0; padding: 28px 0; border-block: 1px solid var(--line); }
.aquote__mark { width: 34px; height: 34px; color: var(--gold-display); }
.aquote__text { margin: 0; font-size: clamp(1.3rem, 4.8vw, 1.75rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.38; color: var(--fg); }
.aquote__source { font-size: .9rem; font-weight: 600; color: var(--gold-ink); }
.abody__foot {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 32px;
    max-width: 720px;
    margin: clamp(44px, 6vw, 64px) auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}
.abody__label { margin-bottom: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.page-inner .arelated { padding-top: clamp(40px, 5vw, 64px); }

@media (min-width: 700px) {
    .acover__frame { aspect-ratio: 16 / 9; }
}
@media (min-width: 1000px) {
    .ahero { padding: calc(var(--header-h) + 64px) 0 44px; }
    .ahero__grid { grid-template-columns: minmax(0, 1fr) 250px; align-items: end; gap: 56px; }
    .ahero__mark { width: 100%; margin-bottom: 18px; }
}
@media (min-width: 1240px) {
    .acover__frame { aspect-ratio: 2 / 1; }
}

/* ==========================================================================
   ÉCOUTEZ-NOUS (mobile d'abord)
   ========================================================================== */

/* Le lecteur : pochette et disque qui sort en tournant pendant l'écoute */
.player { display: grid; gap: 26px; margin-top: 30px; padding: 24px 18px; overflow: hidden; border-radius: 30px; }
.player__art { position: relative; width: min(56vw, 230px); aspect-ratio: 1; margin: 0 auto; translate: -10% 0; transition: translate .9s var(--ease-out); }
.player.is-playing .player__art { translate: -18% 0; }
.player__cover { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .95); }
.player__disc {
    position: absolute; inset: 4%;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, .07), transparent 60%),
        repeating-radial-gradient(circle, #141416 0 1.1%, #0a0a0b 1.1% 2.2%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 20px 40px -20px rgba(0, 0, 0, .9);
    transition: translate .9s var(--ease-out);
    animation: disc-spin 6s linear infinite paused;
}
.player__label { position: absolute; inset: 35%; border-radius: 50%; background: radial-gradient(circle, #0a0a0b 0 16%, var(--gold) 17% 64%, var(--tq) 65%); }
.player.is-playing .player__disc { translate: 34% 0; animation-play-state: running; }
@keyframes disc-spin { to { rotate: 360deg; } }
.player__body { min-width: 0; }
.player__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.player__num { color: var(--gold-ink); }
.player__lang { color: var(--tq-ink); }
.player__title { margin-top: 12px; font-size: clamp(1.7rem, 7vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.player__text { max-width: 60ch; margin-top: 12px; line-height: 1.65; color: var(--muted); }
.player__deck { margin-top: 26px; }
.player__deck[hidden], .player [hidden] { display: none; }
.player__controls { display: flex; align-items: center; gap: 10px; }
.player__toggle {
    display: grid; place-items: center;
    width: 68px; height: 68px;
    border-radius: 50%;
    color: #140d02;
    background: linear-gradient(180deg, #e9ab3b, var(--gold) 55%, #b67a12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 14px 34px -14px rgb(var(--gold-rgb) / .9);
    transition: transform .4s var(--ease-spring);
}
.player__toggle:active { transform: scale(.94); }
.player__toggle .icon { width: 28px; height: 28px; fill: currentColor; }
.player__toggle .icon--pause, .player.is-playing .player__toggle .icon--play { display: none; }
.player.is-playing .player__toggle .icon--pause { display: block; fill: none; stroke-width: 3; }
.player__skip {
    display: inline-flex; align-items: center; gap: 4px;
    height: 46px; padding: 0 12px;
    border-radius: 999px;
    font-size: .82rem; font-weight: 700;
    color: var(--muted);
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: color .3s, background-color .3s;
}
.player__skip:hover { color: var(--fg-strong); background: rgba(255, 255, 255, .1); }
.player__skip .icon { width: 19px; height: 19px; }
.player__speed { min-width: 58px; height: 40px; margin-left: auto; padding: 0 12px; border-radius: 999px; font-size: .86rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--tq-ink); box-shadow: inset 0 0 0 1px rgb(var(--tq-rgb) / .35); }
/* l'onde : barres grises, et la même onde dorée découpée jusqu'à la position */
.wave { --p: 0; position: relative; height: 64px; margin-top: 22px; border-radius: 8px; outline: none; cursor: pointer; touch-action: none; }
.wave:focus-visible { box-shadow: 0 0 0 2px var(--tq); }
.wave__bars { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; pointer-events: none; }
.wave__bars i { flex: 1; min-width: 2px; height: var(--h); border-radius: 3px; background: rgba(255, 255, 255, .2); }
.wave__bars--fill { clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0); }
.wave__bars--fill i { background: var(--gold-display); }
.player__time { display: flex; justify-content: space-between; margin-top: 8px; font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--faint); }
.player__resume { margin-top: 4px; font-size: .8rem; font-weight: 600; color: var(--tq-ink); }
.player__native { width: 100%; margin-top: 18px; }
.player__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 22px; }
.player__soon { font-weight: 700; color: var(--muted); }
@media (min-width: 900px) {
    .player { grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 64px; align-items: center; padding: 42px 48px; }
    .player__art { width: 100%; margin: 0; translate: none; }
    .player.is-playing .player__art { translate: none; }
    .player.is-playing .player__disc { translate: 16% 0; }
}

/* Tous les épisodes */
.eplist { display: grid; }
.ep { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ep:first-child { border-top: 1px solid var(--line); }
.ep__num { display: none; }
.ep__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.ep__lang { color: var(--tq-ink); }
.ep__title { margin-top: 6px; font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; transition: color .3s; }
.ep.is-current .ep__title { color: var(--gold-ink); }
.ep__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin-top: 6px; overflow: hidden; line-height: 1.55; color: var(--muted); }
.ep__progress { display: block; height: 3px; margin-top: 14px; overflow: hidden; border-radius: 3px; background: var(--line); opacity: 0; transition: opacity .3s; }
.ep.is-current .ep__progress { opacity: 1; }
.ep__progress span { display: block; width: calc(var(--p, 0) * 100%); height: 100%; background: var(--gold-display); }
.ep__native { width: 100%; margin-top: 12px; }
.ep__play {
    position: relative;
    display: grid; place-items: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    color: var(--fg);
    background: rgba(255, 255, 255, .07);
    box-shadow: inset 0 0 0 1px var(--line-strong);
    transition: background-color .3s, color .3s, box-shadow .3s, transform .4s var(--ease-spring);
}
.ep__play[hidden] { display: none; }
.ep__play:hover, .ep.is-playing .ep__play { color: #140d02; background: var(--gold); box-shadow: none; }
.ep__play .icon { width: 22px; height: 22px; }
.ep__play .icon--play { fill: currentColor; }
.ep__play .icon--pause, .ep__eq, .ep.is-playing .ep__play .icon--play { display: none; }
.ep.is-playing .ep__play .icon--pause { display: block; stroke-width: 3; }
/* pendant l'écoute : un petit égaliseur (la pause revient au survol) */
.ep__eq { align-items: flex-end; gap: 3px; height: 18px; }
.ep__eq i { width: 4px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.ep__eq i:nth-child(2) { animation-delay: -.35s; }
.ep__eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.motion .ep.is-playing .ep__play .icon--pause { display: none; }
.motion .ep.is-playing .ep__eq { display: flex; }
.motion .ep.is-playing .ep__play:hover .ep__eq { display: none; }
.motion .ep.is-playing .ep__play:hover .icon--pause { display: block; }
@media (min-width: 900px) {
    .ep { grid-template-columns: 90px minmax(0, 1fr) auto; gap: 28px; padding: 28px 0; }
    .ep__num { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: rgba(255, 255, 255, .18); transition: color .3s; }
    .ep.is-current .ep__num { color: var(--gold-display); }
    .ep__title { font-size: 1.35rem; }
}

/* Prenez le micro */
.mic__art { display: grid; place-items: center; }
.mic__art img { width: min(62%, 260px); height: auto; border-radius: 22px; rotate: 4deg; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .95); }

/* Mini-lecteur : en bas de l'écran quand le lecteur principal n'est plus visible */
.miniplayer {
    position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px;
    display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: 12px;
    padding: 10px 10px 16px;
    border-radius: 20px;
    /* caché hors écoute (classe .is-on posée par le JS : l'attribut hidden est
       forcé en display: none et empêcherait la glissade) */
    visibility: hidden; opacity: 0; translate: 0 130%; pointer-events: none;
    transition: translate .5s var(--ease-out), opacity .4s, visibility 0s .5s;
}
.miniplayer.is-on { visibility: visible; opacity: 1; translate: 0 0; pointer-events: auto; transition: translate .5s var(--ease-out), opacity .4s, visibility 0s; }
.miniplayer__cover { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; }
.miniplayer__text { display: grid; min-width: 0; }
.miniplayer__text small { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.miniplayer__text strong { overflow: hidden; font-size: .9rem; white-space: nowrap; text-overflow: ellipsis; }
.miniplayer__toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #140d02; background: var(--gold); }
.miniplayer__toggle .icon { width: 20px; height: 20px; }
.miniplayer__toggle .icon--play { fill: currentColor; }
.miniplayer__toggle .icon--pause, .miniplayer.is-playing .miniplayer__toggle .icon--play { display: none; }
.miniplayer.is-playing .miniplayer__toggle .icon--pause { display: block; stroke-width: 3; }
.miniplayer__close { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); }
.miniplayer__close:hover { color: var(--fg-strong); }
.miniplayer__close .icon { width: 18px; height: 18px; }
.miniplayer__bar { position: absolute; left: 16px; right: 16px; bottom: 7px; height: 3px; overflow: hidden; border-radius: 3px; background: var(--line); }
.miniplayer__bar span { display: block; width: calc(var(--p, 0) * 100%); height: 100%; background: var(--gold); }
@media (min-width: 700px) {
    .miniplayer { left: 50%; right: auto; width: 520px; translate: -50% 130%; }
    .miniplayer.is-on { translate: -50% 0; }
}

/* ==========================================================================
   LES MÉDIAS PARLENT DE NOUS (mobile d'abord)
   Les coupures de journaux utilisent la police serif du système (Georgia) :
   aucun fichier à télécharger, et l'allure d'un vrai journal.
   ========================================================================== */
:root { --newsprint: #f3efe4; --serif: Georgia, 'Times New Roman', serif; }
@media (min-width: 1100px) {
    .page-press .phero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 64px; }
}

/* La une : le journal qui tournoie et se pose de travers */
.page-press .phero__aside { position: relative; isolation: isolate; }
.page-press .phero__aside::before {
    content: ''; position: absolute; z-index: -1; left: 50%; top: 50%;
    width: 130%; aspect-ratio: 1;
    translate: -50% -50%;
    background: radial-gradient(closest-side, rgb(var(--gold-rgb) / .2), transparent);
    pointer-events: none;
}
.frontpage {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    padding: 20px 18px 18px;
    container-type: inline-size;
    color: #161616;
    background:
        linear-gradient(180deg, transparent 49.7%, rgba(0, 0, 0, .07) 50%, rgba(255, 255, 255, .5) 50.3%, transparent 50.6%),
        var(--newsprint);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(0, 0, 0, .06);
    rotate: -1.5deg;
    transition: rotate .6s var(--ease-out);
}
.frontpage:hover { rotate: 0deg; }
.frontpage__mast { padding-bottom: 8px; border-bottom: 3px double #161616; text-align: center; }
.frontpage__outlet { font-family: var(--serif); font-size: clamp(1.9rem, 11cqi, 3.1rem); font-weight: 700; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }
.frontpage__line {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px;
    margin-top: 10px; padding-top: 6px;
    border-top: 1px solid #161616;
    font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: #3b3a35;
}
.frontpage__line time::first-letter { text-transform: uppercase; }
.frontpage__kicker { display: inline-block; margin-top: 16px; padding: 3px 9px; font-size: .64rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #140d02; background: var(--gold); }
.frontpage__title { margin-top: 8px; font-family: var(--serif); font-size: clamp(1.4rem, 7cqi, 2rem); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
.frontpage__photo { position: relative; margin: 14px 0 0; }
.frontpage__photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.05); transition: filter .8s var(--ease-out); }
.frontpage__photo::after {
    /* trame d'impression */
    content: ''; position: absolute; inset: 0 0 18px;
    background: radial-gradient(circle, rgba(0, 0, 0, .28) 32%, transparent 38%) 0 0 / 4px 4px;
    mix-blend-mode: multiply;
    transition: opacity .8s;
    pointer-events: none;
}
.frontpage:hover .frontpage__photo img { filter: none; }
.frontpage:hover .frontpage__photo::after { opacity: 0; }
.frontpage__photo figcaption { margin-top: 4px; font-size: .62rem; letter-spacing: .06em; text-align: right; color: #6b675c; }
.frontpage__text { margin-top: 10px; font-family: var(--serif); font-size: .92rem; line-height: 1.55; hyphens: auto; color: #262521; }
.frontpage__text::first-letter { float: left; margin: 4px 7px 0 0; font-size: 3.3em; font-weight: 700; line-height: .78; }
@container (min-width: 440px) {
    .frontpage__text { columns: 2; column-gap: 20px; column-rule: 1px solid rgba(0, 0, 0, .15); text-align: justify; }
}
.frontpage__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(0, 0, 0, .2); }
.frontpage__read { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: .9rem; font-weight: 700; color: #161616; }
.frontpage__read .icon { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.frontpage__read:hover .icon { transform: translate(2px, -2px); }
.frontpage__lang { font-size: .8rem; font-weight: 700; color: #0a6d5c; }

/* Le kiosque : bandeau papier, noms des médias en caractères de journal */
.marquee--press { transform: rotate(1.4deg) scale(1.04); border-block: 0; background: var(--newsprint); }
.marquee--press .marquee__word,
.marquee--press .marquee__word:nth-child(4n + 1) {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 4.4vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -.01em;
    text-transform: none;
    color: #161616;
}
.marquee--press .marquee__word:nth-child(4n + 3) { font-style: italic; font-weight: 400; }
.marquee--press .marquee__sep { flex: none; width: .5rem; height: .5rem; margin-inline: .6rem; border-radius: 50%; background: var(--gold); }

/* La revue de presse : un objet par support */
.clips__grid { display: grid; gap: 22px; }
.clip { rotate: calc(var(--tilt, 0deg) * .5); transition: rotate .5s var(--ease-spring); }
.clip[hidden] { display: none; }
.clip__link { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 18px; transition: translate .5s var(--ease-out); }
.clip__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; }
.clip__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.clip__outlet { color: var(--gold-ink); }
.clip__title { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.clip__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: .95rem; line-height: 1.55; color: var(--muted); }
.clip__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .82rem; }
.clip__type { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--muted); }
.clip__type .icon { width: 16px; height: 16px; }
.clip__lang { color: var(--tq-ink); }
.clip__action { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.clip__action .icon { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
@media (hover: hover) {
    .clip:hover { rotate: 0deg; }
    .clip:hover .clip__link { translate: 0 -6px; }
    .clip:hover .clip__action .icon { transform: translate(2px, -2px); }
}

/* presse écrite : une coupure de journal, bord cranté aux ciseaux */
.clip--print { filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .65)); }
.clip--print .clip__link {
    --tooth: 7px;
    border-radius: 3px;
    color: #161616;
    background: var(--newsprint);
    -webkit-mask:
        linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth)) no-repeat,
        conic-gradient(from -45deg at 50% 100%, #000 90deg, #0000 0) bottom / calc(var(--tooth) * 2) var(--tooth) repeat-x;
    mask:
        linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth)) no-repeat,
        conic-gradient(from -45deg at 50% 100%, #000 90deg, #0000 0) bottom / calc(var(--tooth) * 2) var(--tooth) repeat-x;
}
.clip__mast { margin: 18px 20px 0; padding-bottom: 8px; border-bottom: 3px double #161616; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; line-height: 1.1; text-align: center; text-transform: uppercase; }
.clip--print .clip__meta { color: #6b675c; }
.clip--print .clip__meta .clip__outlet { display: none; }
.clip--print .clip__title { font-family: var(--serif); font-size: 1.3rem; letter-spacing: 0; }
.clip--print .clip__text { font-family: var(--serif); color: #3b3a35; }
.clip--print .clip__foot { padding-bottom: 6px; border-top-color: rgba(0, 0, 0, .18); }
.clip--print .clip__type { color: #6b675c; }
.clip--print .clip__lang { color: #0a6d5c; }

/* radio : le cadran d'un vieux poste, la lampe « à l'antenne » s'allume au survol */
.clip--radio .clip__link { background: linear-gradient(160deg, #1d1813, #0b0a08 75%); box-shadow: inset 0 0 0 1px rgb(var(--gold-rgb) / .22); }
.clip__tuner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 18px 20px 2px; }
.clip__dial {
    position: relative;
    grid-column: 1 / -1;
    height: 36px;
    border-radius: 8px;
    background:
        repeating-linear-gradient(90deg, rgb(var(--gold-rgb) / .8) 0 1px, transparent 1px 30px) left 6% bottom 6px / 88% 14px no-repeat,
        repeating-linear-gradient(90deg, rgb(var(--gold-rgb) / .45) 0 1px, transparent 1px 6px) left 6% bottom 6px / 88% 7px no-repeat,
        linear-gradient(180deg, #120f0b, #0a0907);
    box-shadow: inset 0 0 0 1px rgb(var(--gold-rgb) / .3), inset 0 8px 16px rgba(0, 0, 0, .6);
}
.clip__needle {
    position: absolute; top: 5px; bottom: 5px;
    left: calc(6% + var(--f, .5) * 88%);
    width: 2px;
    border-radius: 2px;
    background: #ff5a3c;
    box-shadow: 0 0 10px rgba(255, 90, 60, .85);
}
.clip--radio:hover .clip__needle { animation: tune 1.2s var(--ease-in-out); }
@keyframes tune { 0% { translate: 0 0; } 30% { translate: -18px 0; } 60% { translate: 9px 0; } 100% { translate: 0 0; } }
.clip__freq { font-size: .92rem; font-weight: 800; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--gold-ink); }
.clip__onair { display: inline-flex; align-items: center; gap: 7px; font-size: .64rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); transition: color .3s; }
.clip__onair::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #4a2a24; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background-color .3s, box-shadow .3s; }
.clip--radio:hover .clip__onair { color: #ff8a73; }
.clip--radio:hover .clip__onair::before { background: #ff5a3c; box-shadow: 0 0 12px #ff5a3c; }

/* télévision : un écran, avec ses lignes de balayage */
.clip--tv .clip__link { background: linear-gradient(165deg, #151517, #0a0a0b 70%); box-shadow: inset 0 0 0 1px var(--line); }
.clip__screen {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    margin: 12px 12px 0;
    overflow: hidden;
    border-radius: 14px;
    background: radial-gradient(circle at 50% 42%, rgb(var(--tq-rgb) / .35), #050506 72%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
.clip__screen img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.clip__scan { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 3px); box-shadow: inset 0 0 40px rgba(0, 0, 0, .7); pointer-events: none; }
.clip__report { position: absolute; top: 10px; left: 10px; padding: 4px 8px; border-radius: 4px; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #02140f; background: var(--tq); }
.clip__play {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    width: 56px; height: 56px;
    margin: auto;
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6);
    transition: transform .45s var(--ease-spring), background-color .3s, color .3s;
}
.clip__play .icon { width: 22px; height: 22px; fill: currentColor; }
.clip--tv:hover .clip__play { transform: scale(1.1); color: #140d02; background: var(--gold); box-shadow: none; }
.clip--tv:hover .clip__screen img { transform: scale(1.05); }

/* web : une fenêtre de navigateur */
.clip--web .clip__link { background: linear-gradient(165deg, #141417, #0b0b0d 70%); box-shadow: inset 0 0 0 1px var(--line); }
.clip__browser { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .04); }
.clip__dots { display: flex; gap: 6px; }
.clip__dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.clip__dots i:nth-child(2) { background: #febc2e; }
.clip__dots i:nth-child(3) { background: #28c840; }
.clip__url { flex: 1; display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 5px 12px; overflow: hidden; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); background: rgba(0, 0, 0, .45); }
.clip__url .icon { flex: none; width: 13px; height: 13px; color: var(--tq-ink); }
@media (min-width: 700px) {
    .clips__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 26px; align-items: start; }
    .clip { rotate: var(--tilt, 0deg); }
}
@media (min-width: 1100px) {
    .clips__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; }
}

/* Espace presse */
.room__grid { display: grid; gap: 16px; }
.room__card { padding: 24px 22px; border-radius: 26px; }
.room__title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.room__title .icon { width: 20px; height: 20px; color: var(--gold-ink); }
.room__text { margin-top: 12px; line-height: 1.65; color: var(--muted); }
.room__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.room__about { color: #161616; background: var(--newsprint); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.room__about .room__title .icon { color: #a36c0d; }
.room__boiler { margin: 16px 0 18px; padding-left: 16px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1.05rem; line-height: 1.7; color: #262521; }
.copyrow__btn.room__copy { color: #161616; background: rgba(0, 0, 0, .08); }
.copyrow__btn.room__copy:hover { background: rgba(0, 0, 0, .14); }
.copyrow__btn.room__copy.is-copied { color: #02140f; background: var(--tq); }
.room__list { margin-top: 8px; }
.room__file { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.room__list li:last-child .room__file { border-bottom: 0; padding-bottom: 0; }
.room__file-text strong { display: block; font-weight: 700; }
.room__file-text small { display: block; margin-top: 2px; font-size: .8rem; color: var(--faint); }
.room__file-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color .3s, color .3s, box-shadow .3s, transform .5s var(--ease-out); }
.room__file-icon .icon { width: 18px; height: 18px; }
@media (hover: hover) {
    .room__file:hover .room__file-icon { color: #000; background: var(--gold); box-shadow: none; transform: translateY(2px); }
}
@media (min-width: 700px) {
    .room__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
    .room__about { grid-column: 1 / -1; order: -1; }
}
@media (min-width: 1100px) {
    /* trois colonnes de même hauteur : la présentation (papier), le contact, les fichiers */
    .room__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
    .room__about { grid-column: auto; padding: 32px 30px 28px; rotate: -.8deg; }
    .room__contact, .room__files { padding: 28px 26px 26px; }
}

/* ==========================================================================
   EN VIDÉO (mobile d'abord)
   ========================================================================== */
@media (min-width: 1100px) {
    .page-videos .phero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 64px; }
}

/* À l'affiche : un écran dans son cadre, qui s'allume comme un vieux téléviseur */
.page-videos .phero__aside { position: relative; isolation: isolate; }
.page-videos .phero__aside::before {
    content: ''; position: absolute; z-index: -1; left: 50%; top: 42%;
    width: 130%; aspect-ratio: 1;
    translate: -50% -50%;
    background: radial-gradient(closest-side, rgb(var(--tq-rgb) / .2), transparent);
    pointer-events: none;
}
.screen { margin: 0; }
.screen__button {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 24px;
    background: linear-gradient(170deg, #202024, #0b0b0c 70%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px var(--line), 0 40px 80px -34px rgba(0, 0, 0, .95);
    cursor: pointer;
}
.screen__glass { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 15px; background: #000; transform-origin: 50% 50%; }
.screen__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.screen__scan {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 3px);
    box-shadow: inset 0 0 70px rgba(0, 0, 0, .6);
    pointer-events: none;
}
.screen__play {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    width: 84px; height: 84px;
    margin: auto;
    border-radius: 50%;
    color: #140d02;
    background: linear-gradient(180deg, #e9ab3b, var(--gold) 55%, #b67a12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 40px -12px rgb(var(--gold-rgb) / .9);
    transition: transform .5s var(--ease-spring);
}
.screen__play .icon { position: relative; width: 32px; height: 32px; margin-left: 5px; fill: currentColor; }
.screen__ring { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgb(var(--gold-rgb) / .7); animation: ring 2.2s var(--ease-out) infinite; }
.screen__time { position: absolute; right: 14px; bottom: 12px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; background: rgba(0, 0, 0, .65); }
.screen__button:hover .screen__img { transform: scale(1.04); }
.screen__button:hover .screen__play { transform: scale(1.08); }
.screen__button:focus-visible { outline: 2px solid var(--tq); outline-offset: 4px; }
.screen__caption { display: grid; gap: 6px; margin-top: 18px; padding-inline: 6px; }
.screen__label { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.screen__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgb(var(--gold-rgb) / .9); }
.screen__title { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; text-wrap: balance; }
.screen__text { font-size: .95rem; line-height: 1.6; color: var(--muted); }

/* La vidéothèque : des morceaux de pellicule, les images arrivent en négatif */
.reel__grid { display: grid; gap: 22px; }
.reel__item[hidden] { display: none; }
.frame {
    display: flex; flex-direction: column;
    width: 100%; height: 100%;
    overflow: hidden;
    border-radius: 18px;
    text-align: left;
    color: inherit;
    background: linear-gradient(165deg, #151517, #0a0a0b 70%);
    box-shadow: inset 0 0 0 1px var(--line);
    cursor: pointer;
    transition: translate .5s var(--ease-out), box-shadow .4s;
}
.frame:focus-visible { outline: 2px solid var(--tq); outline-offset: 3px; }
.frame__film {
    position: relative;
    display: block;
    padding: 20px 12px;
    background: #070707;
}
.frame__film::before, .frame__film::after {
    /* perforations de la pellicule */
    content: ''; position: absolute; left: 6px; right: 6px; height: 7px;
    background: linear-gradient(90deg, transparent 5px, rgba(244, 242, 236, .78) 5px 15px, transparent 15px) 0 0 / 22px 100% repeat-x;
    opacity: .9;
}
.frame__film::before { top: 7px; }
.frame__film::after { bottom: 7px; }
.frame__pic { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: #111; }
.frame__pic img { width: 100%; height: 100%; object-fit: cover; transition: filter 1.8s var(--ease-out), transform .9s var(--ease-out); }
/* le révélateur : négatif orangé de pellicule couleur → l'image émerge d'un gris neutre → couleurs */
.reel--live .reel__item:not(.is-developed) .frame__pic img { filter: invert(1) sepia(.65) saturate(1.5) contrast(1.1) brightness(.9); }
.frame__play {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    width: 54px; height: 54px;
    margin: auto;
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6);
    transition: transform .45s var(--ease-spring), background-color .3s, color .3s, box-shadow .3s;
}
.frame__play .icon { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
.frame__time { position: absolute; right: 20px; bottom: 26px; padding: 3px 8px; border-radius: 999px; font-size: .74rem; font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; background: rgba(0, 0, 0, .7); }
.frame__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.frame__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.frame__cat { color: var(--tq-ink); }
.frame__title { font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.frame__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: .92rem; line-height: 1.55; color: var(--muted); }
.frame__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .82rem; }
.frame__src { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--muted); }
.frame__src .icon { width: 16px; height: 16px; }
.frame__watch { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.frame__watch .icon { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
@media (hover: hover) {
    .frame:hover { translate: 0 -6px; box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 50px -28px rgba(0, 0, 0, .95); }
    .frame:hover .frame__pic img { transform: scale(1.05); }
    .frame:hover .frame__play { transform: scale(1.1); color: #140d02; background: var(--gold); box-shadow: none; }
    .frame:hover .frame__watch .icon { transform: translateX(4px); }
}
@media (min-width: 700px) {
    .reel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-items: start; }
}
@media (min-width: 1100px) {
    .reel__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
}

/* À vous de tourner : le clap se referme */
.action__art { display: grid; place-items: center; padding: 10px 0; }
.clap { position: relative; width: min(78%, 300px); aspect-ratio: 1.15; rotate: -4deg; }
.clap__board {
    position: absolute; left: 0; right: 0; top: 27%; bottom: 0;
    display: flex; flex-direction: column; gap: 7%;
    padding: 9% 8% 8%;
    container-type: inline-size;
    border-radius: 4px 4px 12px 12px;
    color: var(--paper);
    background: linear-gradient(170deg, #1d1d20, #0d0d0e);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .07), 0 34px 60px -30px rgba(0, 0, 0, .95);
}
.clap__base, .clap__stick {
    position: absolute; left: 0; right: 0;
    height: 12%;
    background: repeating-linear-gradient(-55deg, var(--paper) 0 16px, #111113 16px 32px);
    box-shadow: inset 0 0 0 2px #111113;
}
.clap__base { top: 15%; border-radius: 4px 4px 0 0; }
.clap__stick {
    top: 2%;
    border-radius: 6px 6px 3px 3px;
    background: repeating-linear-gradient(55deg, var(--paper) 0 16px, #111113 16px 32px);
    transform-origin: 3% 100%;
    box-shadow: inset 0 0 0 2px #111113, 0 8px 14px rgba(0, 0, 0, .45);
    transition: rotate .2s cubic-bezier(.6, 0, 1, .7);
}
.clap--live:not(.is-clapped) .clap__stick { rotate: -24deg; }
.clap.is-clapped .clap__board { animation: clap-hit .4s .12s ease-out; }
@keyframes clap-hit { 0% { translate: 0 0; } 30% { translate: 0 4px; } 65% { translate: 0 -1px; } 100% { translate: 0 0; } }
.clap__row { display: flex; align-items: baseline; gap: 4%; padding-bottom: 4%; border-bottom: 1px solid rgba(255, 255, 255, .22); font-size: 6cqi; }
.clap__row small { font-size: .78em; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 242, 236, .55); }
.clap__row b { font-family: var(--font-display); font-size: 1.45em; font-weight: 400; line-height: 1; color: var(--gold); }
.clap__row b + small { margin-left: auto; }
.clap__title { margin-top: auto; font-family: var(--font-display); font-size: 12cqi; line-height: 1; color: var(--tq); rotate: -3deg; }
@media (min-width: 1000px) {
    .action .report__box { align-items: center; }
}

/* ==========================================================================
   NOS PARTENAIRES (mobile d'abord)
   ========================================================================== */
@media (min-width: 1100px) {
    .page-partners .phero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 64px; }
}

/* Portrait en bec de plume, pointe en bas : le motif du logo, prêt à écrire */
.nibp { position: relative; display: block; width: 100%; aspect-ratio: 72 / 100; container-type: inline-size; }
.nibp__shape {
    position: absolute; inset: 0;
    overflow: hidden;
    background: linear-gradient(160deg, #1d1d20, #0b0b0c);
    clip-path: polygon(50% 100%, 46.7% 92.2%, 42.5% 84.8%, 37.5% 77.9%, 31.7% 71.5%, 25% 65.5%, 17.5% 60%, 9.2% 55%, 0% 50.4%, 14.6% 0%, 85.4% 0%, 100% 50.4%, 90.8% 55%, 82.5% 60%, 75% 65.5%, 68.3% 71.5%, 62.5% 77.9%, 57.5% 84.8%, 53.3% 92.2%);
}
.nibp__shape img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: filter .6s var(--ease-out), transform .9s var(--ease-out); }
.nibp--initials .nibp__shape {
    display: grid; place-items: start center;
    padding-top: 26%;
    background:
        radial-gradient(circle at 50% 30%, rgb(var(--tq-rgb) / .28), transparent 62%),
        linear-gradient(160deg, #1d1d20, #0b0b0c);
}
.nibp__initials { font-family: var(--font-display); font-size: 30cqi; line-height: 1; color: var(--gold-display); }
.nibp__lines { position: absolute; left: -3%; top: -3%; width: 106%; max-width: none; height: 106%; overflow: visible; pointer-events: none; }
/* masqué : décalé ET transparent (sinon le bout arrondi d'un trait de
   longueur nulle laisse un point doré au bout du tracé) */
.nibp__outline, .nibp__slit {
    fill: none;
    stroke: var(--gold);
    stroke-width: .7;
    stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    opacity: 0;
    transition: stroke-dashoffset 1s var(--ease-out), opacity .2s;
}
.nibp__slit { transition-delay: .35s; }

/* L'éventail de l'en-tête : trois plumes tenues par la pointe */
.fan { position: relative; display: block; width: min(88vw, 480px); aspect-ratio: 1.3; margin: 0 auto; }
.fan__pen {
    position: absolute; left: 50%; bottom: 4%;
    width: 37%;
    translate: -50% 0;
    transform-origin: 50% 100%;
    rotate: calc((var(--i) - 1) * 33deg);
    transition: rotate .9s var(--ease-spring) calc(var(--i) * 90ms), opacity .5s calc(var(--i) * 90ms);
    filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .7));
}
.fan__pen:nth-child(2) { z-index: 2; translate: -50% -5%; }
.fan .nibp__outline, .fan .nibp__slit { stroke-dashoffset: 0; opacity: 1; transition-delay: calc(.5s + var(--i) * .15s); }
.motion.js-ready .fan:not(.is-open) .fan__pen { rotate: 0deg; opacity: 0; }
.motion.js-ready .fan:not(.is-open) .nibp__outline, .motion.js-ready .fan:not(.is-open) .nibp__slit { stroke-dashoffset: 1; opacity: 0; }
@media (hover: hover) {
    .fan.is-open:hover .fan__pen, .fan:not(.is-open):hover .fan__pen { rotate: calc((var(--i) - 1) * 38deg); transition-delay: 0s; }
}
.fan:focus-visible { outline: 2px solid var(--tq); outline-offset: 8px; border-radius: 20px; }

/* Nos partenaires : chaque logo entouré à la plume */
.pwall__grid { display: grid; gap: 16px; }
.pcard { display: flex; }
.pcard__in {
    display: flex; flex-direction: column;
    width: 100%;
    overflow: hidden;
    border-radius: 26px;
    background: linear-gradient(165deg, #151517, #0a0a0b 70%);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: translate .5s var(--ease-out), box-shadow .4s;
}
.pcard__logo {
    display: grid; place-items: center;
    height: 180px;
    padding: 24px 20px;
    border-bottom: 1px solid var(--line);
    background: radial-gradient(ellipse at 50% 55%, rgba(255, 255, 255, .06), transparent 70%);
}
.pcard__mark { position: relative; display: inline-grid; place-items: center; padding: 20px 30px; }
.pcard__mark img { display: block; height: var(--h, 48px); width: auto; max-width: min(220px, 60vw); object-fit: contain; transition: filter .5s, opacity .5s; }
.pcard__circle { position: absolute; left: -4px; top: -2px; width: calc(100% + 8px); height: calc(100% + 4px); max-width: none; overflow: visible; pointer-events: none; }
.pcard__circle path {
    fill: none;
    stroke: var(--gold-display);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    opacity: .9;
    transition: stroke-dashoffset 1.2s var(--ease-out), stroke .4s, opacity .2s;
}
.motion .pwall--live .pcard:not(.is-circled) .pcard__circle path { stroke-dashoffset: 1; opacity: 0; }
.pcard__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.pcard__cat { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tq-ink); }
.pcard__name { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.pcard__text { font-size: .95rem; line-height: 1.6; color: var(--muted); }
.pcard__visit { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; font-size: .9rem; font-weight: 700; }
.pcard__visit .icon { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
@media (hover: hover) {
    .pcard__mark img { filter: grayscale(1) brightness(1.6); opacity: .88; }
    .pcard:hover .pcard__mark img { filter: none; opacity: 1; }
    .pcard:hover .pcard__circle path { stroke: var(--tq-display); }
    a.pcard__in:hover { translate: 0 -6px; box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 50px -28px rgba(0, 0, 0, .95); }
    a.pcard__in:hover .pcard__visit .icon { transform: translate(2px, -2px); }
}
a.pcard__in:focus-visible { outline: 2px solid var(--tq); outline-offset: 3px; }
@media (min-width: 700px) {
    .pwall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1100px) {
    .pwall__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

/* Nos collaborateurs : rangées centrées, qui s'emboîtent comme des briques */
.people__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 16px; }
.plume { display: flex; flex-direction: column; align-items: center; width: calc(50% - 8px); max-width: 190px; text-align: center; }
.plume .nibp { width: 80%; }
.plume__name { margin-top: 14px; font-size: 1rem; font-weight: 700; line-height: 1.3; transition: color .3s; }
.plume__role { margin-top: 4px; font-size: .84rem; line-height: 1.45; color: var(--muted); }
@media (hover: hover) {
    /* portraits en noir et blanc, leurs couleurs et le contour doré au survol */
    .plume .nibp__shape img { filter: grayscale(1) contrast(1.05); }
    .plume:hover .nibp__shape img { filter: none; transform: scale(1.05); }
    .plume:hover .nibp__outline, .plume:hover .nibp__slit { stroke-dashoffset: 0; opacity: 1; }
    .plume:hover .plume__name { color: var(--gold-ink); }
}
@media (hover: none) {
    .plume .nibp__outline { stroke-dashoffset: 0; opacity: .55; }
}
@media (min-width: 700px) {
    .people__grid { gap: 44px 24px; }
    .plume { width: 170px; max-width: none; }
}
@media (min-width: 1240px) {
    .people__grid { max-width: 1240px; margin-inline: auto; }
    .plume { width: 150px; }
}

/* ==========================================================================
   PAGES LÉGALES (mobile d'abord)
   ========================================================================== */
/* En-tête : le cachet d'Andika, en verre (grand écran seulement : sur
   mobile, le texte passe d'abord) */
.page-legal .phero__aside { display: none; }
@media (min-width: 1100px) {
    .page-legal .phero { min-height: min(86svh, 800px); }
    .page-legal .phero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 64px; }
    .page-legal .phero__aside { display: grid; place-items: center; }
}

/* Cachet : nom et ville en couronne, icône de la page au centre */
.lseal { position: relative; isolation: isolate; display: grid; place-items: center; width: 100%; aspect-ratio: 1; }
.lseal__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lseal__line { fill: none; stroke: currentColor; stroke-width: 2.2; }
.lseal__line--thin { stroke-width: .9; }
.lseal__text { font-family: var(--font-sans); font-size: 13px; font-weight: 700; fill: currentColor; }
.lseal__core { position: relative; display: grid; place-items: center; width: 44%; aspect-ratio: 1; border-radius: 50%; }
.lseal__core .icon { width: 40%; height: auto; stroke-width: 1.3; }

.lseal--glass { width: min(100%, 400px); color: var(--gold-display); }
.lseal--glass::before {
    /* disque de verre */
    content: '';
    position: absolute; inset: 1.5%;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .13), rgba(255, 255, 255, .025) 62%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .28), 0 50px 100px -50px rgb(var(--gold-rgb) / .5);
}
.lseal--glass::after {
    /* encre diffuse derrière le verre */
    content: '';
    position: absolute; inset: 16%; z-index: -1;
    border-radius: 50%;
    background: conic-gradient(from 200deg, var(--tq), var(--gold), var(--tq-deep), var(--tq));
    filter: blur(46px);
    opacity: .42;
}
.lseal--glass .lseal__core {
    color: var(--tq-display);
    background: rgb(var(--tq-rgb) / .07);
    box-shadow: inset 0 0 0 1px rgb(var(--tq-rgb) / .35), 0 0 70px -12px rgb(var(--tq-rgb) / .55);
}
.motion .lseal--glass .lseal__ring { animation: lseal-spin 60s linear infinite; }
.motion .lseal--glass::after { animation: lseal-spin 22s linear infinite; }
@keyframes lseal-spin { to { rotate: 360deg; } }

/* « En bref » */
.lbrief { padding-bottom: clamp(44px, 6vw, 80px); }
.lbrief__grid { display: grid; gap: 12px; }
.lbrief__item {
    display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; align-content: start;
    column-gap: 16px; row-gap: 3px;
    padding: 18px;
    border-radius: 22px;
}
.lbrief__icon {
    grid-row: span 2;
    display: grid; place-items: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    color: var(--tq-ink);
    background: rgb(var(--tq-rgb) / .1);
    box-shadow: inset 0 0 0 1px rgb(var(--tq-rgb) / .3);
    transition: color .35s, background-color .35s;
}
.lbrief__icon .icon { width: 22px; height: 22px; }
.lbrief__title { padding-top: 2px; font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.lbrief__text { font-size: .9rem; line-height: 1.55; color: var(--muted); }
@media (hover: hover) {
    .lbrief__item:hover .lbrief__icon { color: #000; background: var(--tq); }
}
@media (min-width: 700px) {
    .lbrief__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
    .lbrief__grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
    .lbrief__item { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 26px 22px 24px; }
    .lbrief__icon { grid-row: auto; width: 54px; height: 54px; margin-bottom: 12px; }
}

/* Le document : sommaire + feuille */
.ldoc { position: relative; padding: 8px 0 clamp(72px, 9vw, 132px); }
.ldoc__grid { display: grid; gap: 20px; }

.ltoc { min-width: 0; }
.ltoc__box { border-radius: 22px; }
.ltoc__summary {
    display: flex; align-items: center; gap: 12px;
    min-height: 56px; padding: 12px 20px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
    -webkit-user-select: none; user-select: none;
}
.ltoc__summary::-webkit-details-marker { display: none; }
.ltoc__summary:focus-visible { outline: 2px solid var(--tq); outline-offset: -4px; border-radius: 20px; }
.ltoc__count { font-size: .8rem; font-weight: 500; color: var(--faint); }
.ltoc__chev { margin-left: auto; color: var(--muted); transition: rotate .35s var(--ease-out); }
.ltoc__box[open] .ltoc__chev { rotate: 180deg; }

/* Le fil du sommaire : l'encre descend jusqu'à la section en cours, le stylo au bout */
.ltoc__track { position: relative; padding: 0 12px 18px 34px; }
.ltoc__track::before, .ltoc__track::after {
    content: '';
    position: absolute; left: 21px; top: var(--t0, 22px);
    width: 2px; height: var(--tl, 0);
    border-radius: 2px;
}
.ltoc__track::before { background: rgba(255, 255, 255, .1); }
.ltoc__track::after {
    background: linear-gradient(var(--gold), var(--tq));
    transform: scaleY(var(--k, 0)); transform-origin: top;
}
.ltoc__list { display: grid; gap: 2px; }
.ltoc__link {
    position: relative;
    display: flex; gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: .92rem; line-height: 1.35;
    color: var(--muted);
    transition: color .3s, background-color .3s;
}
.ltoc__link::before {
    content: '';
    position: absolute; left: -17px; top: 50%;
    width: 10px; height: 10px; margin-top: -5px;
    border-radius: 50%;
    background: #0c0c0d;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .24);
    transition: background-color .3s, box-shadow .3s;
}
.ltoc__link:hover { color: var(--fg-strong); background: rgba(255, 255, 255, .05); }
.ltoc__link:focus-visible { outline: 2px solid var(--tq); outline-offset: 0; }
.ltoc__link.is-read::before { background: var(--gold); box-shadow: none; }
.ltoc__link.is-active { color: var(--fg-strong); background: rgba(255, 255, 255, .06); }
.ltoc__link.is-active::before { background: var(--tq); box-shadow: 0 0 0 4px rgb(var(--tq-rgb) / .2); }
.ltoc__num { flex: none; padding-top: .12em; font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--gold-ink); }
.ltoc__pen {
    position: absolute; left: 22px; top: 0;
    width: 9px; height: auto; margin-left: -4.5px;
    color: var(--fg);
    transform-origin: 50% .35%; /* la pointe */
    translate: 0 var(--y, 22px); rotate: 162deg;
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}
.ltoc__pen .pen__nib { fill: var(--gold); }
.ltoc__track.is-writing .ltoc__pen { opacity: 1; }

/* La feuille de cahier */
.lsheet {
    position: relative;
    min-width: 0;
    padding: 30px 20px 34px;
    border-radius: 10px;
    font-size: 1rem; line-height: 1.75;
    color: #2a2822;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .5 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
        linear-gradient(172deg, #fdfcf8, #f4f0e6 55%, #ebe5d6);
    /* une seconde feuille dépasse dessous */
    box-shadow: 7px 9px 0 -1px rgba(214, 206, 188, .28), 0 60px 110px -40px rgba(0, 0, 0, .95);
}
.lsheet__head {
    display: grid; gap: 14px;
    margin-bottom: 26px; padding-bottom: 20px;
    border-bottom: 3px double rgba(0, 0, 0, .14);
}
.lsheet__brand { font-family: var(--font-display); font-size: 2rem; line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: #111; }
.lsheet__brand small {
    display: block; margin-top: 8px;
    font-family: var(--font-sans); font-size: .7rem; font-weight: 700; line-height: 1.4;
    letter-spacing: .12em;
    color: #8a8069;
}
.lsheet__meta { display: grid; gap: 2px; font-size: .84rem; color: #6d6552; }
.lsheet__meta strong { font-size: .96rem; color: #111; }

.lsheet__body > * + * { margin-top: 14px; }
.lsheet__body > .lsheet__h { margin-top: 40px; }
.lsheet__body > .lsheet__h:first-child { margin-top: 0; }
.lsheet__h + * { margin-top: 10px; }
.lsheet__h { position: relative; font-size: 1.28rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; color: #111; text-wrap: balance; }
.lsheet__num { display: inline-block; margin-right: 10px; font-family: var(--font-display); font-weight: 400; font-size: 1.15em; line-height: 1; color: #b27812; }
.lsheet strong { font-weight: 700; color: #111; }
.lsheet a {
    font-weight: 600;
    color: #0b6b5b;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: rgb(var(--gold-rgb) / .55);
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
    transition: color .25s, text-decoration-color .25s;
}
.lsheet a:hover { color: #054a3f; text-decoration-color: var(--gold); }
.lsheet a:focus-visible { outline: 2px solid #0b6b5b; outline-offset: 2px; border-radius: 3px; }
.lsheet__list { display: grid; gap: 8px; }
.lsheet__list li { position: relative; padding-left: 24px; }
.lsheet__list li::before { content: ''; position: absolute; left: 3px; top: .82em; width: 11px; height: 2px; border-radius: 2px; background: #b27812; }

/* [[à compléter]] : surligné au feutre (le trait passe quand il arrive à l'écran) */
.lsheet mark.todo {
    padding: .05em .22em;
    margin-inline: -.16em;
    border-radius: .4em .25em .45em .3em;
    color: inherit;
    background: linear-gradient(100deg, rgb(255 204 72 / .25), rgb(255 204 72 / .8) 5%, rgb(255 204 72 / .6) 94%, rgb(255 204 72 / .25)) no-repeat 0 0 / 100% 100%;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.motion.js-ready .lsheet mark.todo { background-size: 0 100%; transition: background-size 1.1s var(--ease-out) .15s; }
.motion.js-ready .lsheet mark.todo.is-lit { background-size: 100% 100%; }

/* Signature et cachet */
.lsheet__foot {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
    gap: 18px;
    margin-top: 40px; padding-top: 24px;
    border-top: 1px dashed rgba(0, 0, 0, .16);
}
.lsheet__sign { font-size: .9rem; line-height: 1.5; color: #6d6552; }
.lsheet__signed { font-weight: 700; color: #111; }
.lsheet__scribble { display: block; width: 150px; height: 40px; margin: 6px 0 4px; overflow: visible; }
.lsheet__scribble path {
    fill: none;
    stroke: #b27812; stroke-width: 3.2;
    stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 1;
}
.lseal--ink {
    /* tampon encreur, un peu usé */
    flex: none;
    width: 112px;
    color: #0b8a73;
    opacity: .86;
    rotate: -14deg;
    mix-blend-mode: multiply;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -4 3.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -4 3.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
}
.lseal--ink .lseal__line { stroke-width: 3.4; }
.lseal--ink .lseal__line--thin { stroke-width: 1.6; }
.lseal--ink .lseal__core .icon { stroke-width: 1.9; }
.motion.js-ready .lsheet__scribble path { stroke-dashoffset: 1; }
.motion.js-ready .lseal--ink { opacity: 0; }
.lsheet__foot.is-signed .lsheet__scribble path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s var(--ease-in-out) .1s; }
.lsheet__foot.is-signed .lseal--ink { animation: lstamp .5s cubic-bezier(.55, 0, .85, .3) 1.35s both; }
@keyframes lstamp {
    0% { opacity: 0; transform: scale(2); filter: blur(3px); }
    72% { opacity: .95; transform: scale(.94); filter: blur(0); }
    100% { opacity: .86; transform: scale(1); }
}

/* Contact et page voisine */
.ldoc__after { display: grid; gap: 14px; margin-top: 12px; }
.lnext { position: relative; display: grid; align-content: start; gap: 8px; padding: 24px 22px; border-radius: var(--r); }
.lnext__eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.lnext__title { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.lnext__text { font-size: .95rem; line-height: 1.6; color: var(--muted); }
.lnext__btn { justify-self: start; margin-top: 10px; }
.lnext--link { padding-right: 64px; }
.lnext__arrow { position: absolute; right: 22px; top: 24px; width: 22px; height: 22px; color: var(--gold-display); transition: translate .45s var(--ease-out); }
.lnext--link:hover .lnext__arrow { translate: 4px -4px; }
.lnext--link:focus-visible { outline: 2px solid var(--tq); outline-offset: 3px; }

@media (min-width: 700px) {
    .lsheet { padding: 48px 52px 52px 100px; }
    .lsheet::before {
        /* la marge du cahier */
        content: '';
        position: absolute; top: 0; bottom: 0; left: 76px;
        width: 2px;
        background: rgb(222 110 110 / .5);
    }
    .lsheet__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
    .lsheet__meta { text-align: right; }
    .lsheet__num { position: absolute; left: -100px; top: 0; width: 76px; margin: 0; text-align: center; font-size: 1.5rem; line-height: 1.1; }
    .lsheet__h { font-size: 1.42rem; }
    .lseal--ink { width: 132px; }
    .lsheet__scribble { width: 180px; height: 48px; }
    .ldoc__after { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1100px) {
    .ldoc__grid { grid-template-columns: 270px minmax(0, 860px); justify-content: center; align-items: start; column-gap: 56px; row-gap: 24px; }
    .ltoc { grid-row: 1 / span 2; position: sticky; top: calc(var(--header-h) + 28px); }
    .ltoc__summary { cursor: default; padding-top: 18px; }
    .ltoc__chev { display: none; }
    .lsheet, .ldoc__after { grid-column: 2; }
    .lsheet { padding: 60px 64px 64px 112px; font-size: 1.04rem; }
    .lsheet::before { left: 84px; }
    .lsheet__num { left: -112px; width: 84px; }
}
@media (min-width: 1100px) and (max-height: 760px) {
    .ltoc__link { padding-block: 5px; font-size: .86rem; }
}

/* --------------------------------------------------------------------------
   États initiaux des animations (seulement si JS + mouvement accepté)
   Filet de sécurité : si le script ne prend pas la main, tout réapparaît.
   -------------------------------------------------------------------------- */
.motion [data-hero-fade] { opacity: 0; transform: translateY(24px); animation: failsafe .8s 3.2s forwards; }
.motion .hero__title, .motion .soon__title { visibility: hidden; animation: failsafe-v .1s 3.2s forwards; }
.motion.js-ready [data-hero-fade], .motion.js-ready .hero__title, .motion.js-ready .soon__title { animation: none; }
.motion.js-ready .hero__title, .motion.js-ready .soon__title { visibility: visible; }
@keyframes failsafe { to { opacity: 1; transform: none; } }
@keyframes failsafe-v { to { visibility: visible; } }
.motion [data-stamp] { opacity: 0; } /* le tampon s'abat au chargement (initReceipt) */
.motion [data-welcome-card] .mcard { opacity: 0; } /* la carte arrive (initWelcomeCard) */
/* le cachet d'un article s'abat au chargement (playArticleHero) */
.motion .ahero [data-postmark-seal] { opacity: 0; animation: failsafe .8s 3.2s forwards; }
.motion .ahero [data-postmark-wave] { stroke-dashoffset: 1; animation: failsafe-draw .8s 3.2s forwards; }
.motion.js-ready .ahero [data-postmark-seal], .motion.js-ready .ahero [data-postmark-wave] { animation: none; }
@keyframes failsafe-draw { to { stroke-dashoffset: 0; } }

/* Transitions entre pages (Chrome, Edge, Safari récents) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; filter: blur(8px); transform: scale(.985); } }
@keyframes vt-in { from { opacity: 0; filter: blur(8px); transform: scale(1.015); } }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
    .hero__badge { display: none; }
    .mainnav__link { padding: 0 12px; font-size: .9rem; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
    .footer-col--contact { grid-column: 1 / -1; }
    .footer-contact { display: flex !important; flex-wrap: wrap; gap: 14px 36px !important; }
}

@media (max-width: 1100px) {
    .mainnav, .mainnav__pill { display: none; }
    .burger { display: grid; }
    .site-header__bar { justify-content: space-between; padding-left: 20px; }
    .brand img { height: 36px; }

    .hero__latest { position: relative; right: auto; bottom: auto; margin: 36px var(--gutter) 0; width: auto; max-width: 420px; }
    .hero { padding-bottom: 120px; }

    .manifesto__grid { grid-template-columns: 1fr; }
    .manifesto__aside { position: relative; top: 0; order: 2; max-width: 460px; }

    .stats { grid-template-columns: repeat(2, 1fr); }

    .media__grid { grid-template-columns: 1fr; }
    .video-card { min-height: 0; aspect-ratio: 16 / 10; }

    .act__grid { grid-template-columns: 1fr 1fr; }
    .act-card--gold { grid-column: 1 / -1; }
    .act-card__link { min-height: 380px; }

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

@media (max-width: 900px) {
    .news__grid { grid-template-columns: 1fr 1fr; }
    .news-card--lead { grid-column: 1 / -1; }
    .news-card--lead .news-card__media { aspect-ratio: 16 / 9; }

    .xp__link { grid-template-columns: 48px 1fr 48px; gap: 10px 18px; padding: 26px 0; }
    .xp__text { grid-column: 2 / 3; }
    .xp__go { grid-row: 1; grid-column: 3; width: 48px; height: 48px; }
    .xp__thumb {
        display: block; grid-column: 2 / 4;
        height: 180px; border-radius: 18px; overflow: hidden; order: 5;
    }
    .xp__thumb img { width: 100%; height: 100%; object-fit: cover; }

    .press-row { grid-template-columns: 1fr 44px; gap: 6px 16px; }
    .press-row__outlet { grid-column: 1; }
    .press-row__title { grid-column: 1; }
    .press-row__date { grid-column: 1; }
    .press-row__go { grid-column: 2; grid-row: 1 / span 3; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1023px), (hover: none) {
    .real__drag { display: inline-flex; }
}

@media (max-width: 640px) {
    :root { --header-h: 60px; }
    body { font-size: 1rem; }
    .site-header { top: 10px; }
    .site-header__bar { padding: 0 6px 0 16px; gap: 8px; }
    .brand img { height: 30px; }
    .site-header__actions { gap: 6px; }
    .site-header .lang { display: none; }
    .lg-only { display: none; }
    .sm-only { display: inline; }
    .site-header__donate { --h: 40px; padding: 0 .95em; }
    .burger { width: 42px; height: 42px; }

    .hero { padding-top: calc(var(--header-h) + 50px); }
    .hero__title { font-size: clamp(2.4rem, 12.4vw, 3.6rem); line-height: 1.08; }
    .hero__foot { margin-top: 26px; }
    .hero__ctas { width: 100%; }
    .hero__ctas .btn { flex: 1 1 auto; }
    .hero__latest { margin-inline: var(--gutter); }
    .hero__scroll { display: none; }

    .sec-head--row { flex-direction: column; align-items: flex-start; }
    .sec-title { font-size: clamp(2.1rem, 10vw, 2.9rem); }

    .stats { gap: 10px; }
    .stat { padding: 22px 18px; }
    .stat__value { font-size: clamp(2rem, 10vw, 2.6rem); }
    .stat__label { font-size: .88rem; }

    .real__head { flex-direction: column; align-items: flex-start; }
    .real-card { width: 82vw; height: 480px; }
    .real-card__body { transform: none; }
    .real-card__text { opacity: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .real__foot { gap: 16px; }
    .real__drag { display: none; }

    .marquee__word { font-size: 3.4rem; }

    .video-mini { grid-template-columns: 96px 1fr 40px; gap: 12px; }
    .episode { grid-template-columns: 42px 1fr; }
    .episode__wave { display: none; }

    .news__grid { grid-template-columns: 1fr; }
    .news-card__body { margin-inline: 10px; }

    .act__grid { grid-template-columns: 1fr; }
    .act-card--gold { grid-column: auto; }
    .act-card__link { min-height: 0; padding: 28px 24px 24px; }

    .logo-tile { width: 190px; height: 86px; }

    .nl { border-radius: 28px; }
    .nl__field { height: auto; flex-wrap: wrap; padding: 8px; border-radius: 26px; }
    .nl__icon { display: none; }
    .nl__field input { height: 52px; padding: 0 14px; flex-basis: 100%; }
    .nl__field .btn { width: 100%; }
    .nl__msg, .nl__consent { margin-left: 6px; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-giant { font-size: 18.6vw; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   Mouvement réduit : tout est visible, rien ne bouge
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .logos__track { animation: none; }
    .ambience__blob, .grain { animation: none; }
    .real-card__body { transform: none; }
    .real-card__text { opacity: 1; }
    .waffle__pen, .ticket, .fbar__fill, .fbar__value { transition-delay: 0s !important; }
    @view-transition { navigation: none; }
}

/* ==========================================================================
   MODE CLAIR — proposé page par page (config andika.light_pages). Les couleurs
   de base passent par les jetons (--bg, --fg, --muted, --line, --tq-ink…) ;
   cette partie reprend les composants qui demandent davantage : verre,
   ombres, voiles, logos. En fin de fichier pour l'emporter à égalité.
   ========================================================================== */
:root[data-theme="light"] {
    --bg: #f5f2ea;
    --fg: #141311;
    --fg-rgb: 20 19 17;
    --fg-strong: #000;
    --muted: rgba(20, 19, 17, .7);
    --faint: rgba(20, 19, 17, .58);
    --line: rgba(20, 19, 17, .11);
    --line-strong: rgba(20, 19, 17, .19);
    --tq-ink: #0a7563;
    --gold-ink: #935f05;
    --tq-display: #0e9c83;
    --gold-display: #b8790f;
    color-scheme: light;
}

/* Bascule : l'ancienne apparence reste en place, la nouvelle s'étend en cercle */
.theme-switching::view-transition-old(root),
.theme-switching::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* Bouton soleil / lune (en-tête) et choix clair / sombre (menu mobile) */
.theme-toggle {
    position: relative;
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    color: var(--fg);
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: background-color .3s, color .3s, box-shadow .3s;
}
.theme-toggle .icon { grid-area: 1 / 1; width: 19px; height: 19px; transition: transform .7s var(--ease-spring), opacity .35s; }
.theme-toggle__moon { opacity: 0; transform: rotate(-120deg) scale(.3); }
.theme-toggle:hover { color: #000; background: var(--gold); box-shadow: 0 10px 26px -10px rgb(var(--gold-rgb) / .8); }
.theme-toggle:hover .theme-toggle__sun { transform: rotate(60deg); }
:root[data-theme="light"] .theme-toggle { background: rgba(20, 19, 17, .05); }
:root[data-theme="light"] .theme-toggle:hover { color: #fff; background: var(--fg); box-shadow: 0 10px 26px -12px rgba(20, 19, 17, .6); }
:root[data-theme="light"] .theme-toggle__sun { opacity: 0; transform: rotate(120deg) scale(.3); }
:root[data-theme="light"] .theme-toggle__moon { opacity: 1; transform: none; }
:root[data-theme="light"] .theme-toggle:hover .theme-toggle__moon { transform: rotate(-24deg); }
.theme-switch .lang__opt { min-width: 52px; }
.theme-switch .icon { width: 18px; height: 18px; }
@media (max-width: 640px) {
    .site-header .theme-toggle { display: none; }
}

/* Logos : version encre en clair */
.brand__img--ink { display: none; }
:root[data-theme="light"] .brand__img:not(.brand__img--ink) { display: none; }
:root[data-theme="light"] .brand__img--ink { display: block; }

/* Fond : encres pastel, grain sombre */
:root[data-theme="light"] .ambience__blob--1 { background: radial-gradient(closest-side, rgb(var(--tq-rgb) / .3), rgb(var(--tq-rgb) / .08) 55%, transparent); }
:root[data-theme="light"] .ambience__blob--2 { background: radial-gradient(closest-side, rgb(var(--gold-rgb) / .28), rgb(var(--gold-rgb) / .07) 55%, transparent); }
:root[data-theme="light"] .ambience__blob--3 { background: radial-gradient(closest-side, rgb(var(--tq-rgb) / .14), transparent); }
:root[data-theme="light"] .grain {
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="light"] :focus-visible { outline-color: var(--tq-ink); }

/* Verre liquide clair : voile blanc laiteux, liseré lumineux, ombre chaude */
:root[data-theme="light"] .glass {
    background:
        radial-gradient(420px circle at var(--mx, 20%) var(--my, 0%), rgba(255, 255, 255, .8), transparent 60%),
        linear-gradient(150deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .48) 45%, rgba(255, 255, 255, .62));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .95),
        inset 0 -1px 0 rgba(20, 19, 17, .04),
        inset 0 0 0 1px rgba(255, 255, 255, .5),
        0 1px 2px rgba(70, 52, 20, .06),
        0 24px 60px -32px rgba(70, 52, 20, .34);
}
:root[data-theme="light"] .glass::before {
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, .3) 28%, rgba(20, 19, 17, .07) 55%, rgba(255, 255, 255, .7));
}

/* Îlots restés sombres : textes et verre posés sur une photo ou une vidéo */
:root[data-theme="light"] :is(.film__frame, .real-card__link, .video-card, .vmodal__box, .op-card__media, .ophero) {
    --fg: #f4f2ec;
    --fg-rgb: 244 242 236;
    --fg-strong: #fff;
    --muted: rgba(244, 242, 236, .66);
    --faint: rgba(244, 242, 236, .42);
    --line: rgba(255, 255, 255, .1);
    --line-strong: rgba(255, 255, 255, .18);
    --tq-ink: var(--tq);
    --gold-ink: var(--gold);
    --tq-display: var(--tq);
    --gold-display: var(--gold);
    color: var(--fg);
}
:root[data-theme="light"] :is(.film__frame, .real-card__link, .video-card, .op-card__media, .ophero) .glass {
    background:
        radial-gradient(420px circle at var(--mx, 20%) var(--my, 0%), rgba(255, 255, 255, .09), transparent 60%),
        linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025) 45%, rgba(255, 255, 255, .045));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .2),
        inset 0 -1px 0 rgba(255, 255, 255, .04),
        inset 0 0 0 1px rgba(255, 255, 255, .07),
        0 24px 60px -30px rgba(0, 0, 0, .8);
}
:root[data-theme="light"] :is(.film__frame, .real-card__link, .video-card, .op-card__media, .ophero) .glass::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .06) 28%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .22));
}

/* Boutons et liens */
:root[data-theme="light"] .btn--glass {
    background: linear-gradient(150deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .66));
    box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(20, 19, 17, .1), 0 14px 34px -18px rgba(70, 52, 20, .45);
}
:root[data-theme="light"] .btn--glass::after { background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .95) 48%, transparent 66%); }
:root[data-theme="light"] .btn--glass:hover { background: linear-gradient(150deg, #fff, rgba(255, 255, 255, .85)); }
:root[data-theme="light"] .btn--gold { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -3px 8px rgba(80, 45, 0, .22), 0 14px 30px -14px rgb(var(--gold-rgb) / .65); }
:root[data-theme="light"] .link-arrow .icon { background: rgba(20, 19, 17, .05); }
:root[data-theme="light"] .chip--tq { background: rgb(var(--tq-rgb) / .14); box-shadow: inset 0 0 0 1px rgb(var(--tq-rgb) / .5); }

/* En-tête */
:root[data-theme="light"] .site-header__glass {
    background: linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(250, 247, 240, .62));
    box-shadow:
        inset 0 1px 0 #fff,
        inset 0 -1px 0 rgba(20, 19, 17, .04),
        inset 0 0 0 1px rgba(20, 19, 17, .06),
        0 16px 44px -18px rgba(70, 52, 20, .28);
}
:root[data-theme="light"] .site-header.is-scrolled .site-header__glass { background: linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(250, 247, 240, .8)); }
:root[data-theme="light"] .mainnav__pill { background: rgba(20, 19, 17, .055); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 0 0 1px rgba(20, 19, 17, .05); }
:root[data-theme="light"] .lang { background: rgba(20, 19, 17, .05); }
:root[data-theme="light"] .lang__thumb { background: linear-gradient(180deg, #2b2a27, #100f0e); box-shadow: 0 4px 12px rgba(20, 19, 17, .28); }
:root[data-theme="light"] .lang__opt.is-active { color: #fff; }
:root[data-theme="light"] .burger { background: rgba(20, 19, 17, .06); }

:root[data-theme="light"] .mega__panel {
    background: linear-gradient(160deg, rgba(255, 255, 255, .95), rgba(248, 245, 238, .93));
    box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(20, 19, 17, .07), 0 40px 80px -30px rgba(70, 52, 20, .38);
}
:root[data-theme="light"] .mega__intro { background: rgba(20, 19, 17, .035); }
:root[data-theme="light"] .mega__link:hover, :root[data-theme="light"] .mega__link:focus-visible { background: rgba(20, 19, 17, .045); }
:root[data-theme="light"] .mega__icon { background: rgba(20, 19, 17, .045); }
:root[data-theme="light"] .mega__sub a { background: rgba(20, 19, 17, .05); }

:root[data-theme="light"] .menu-mobile {
    background:
        radial-gradient(60vmax 60vmax at 110% -10%, rgb(var(--tq-rgb) / .24), transparent 60%),
        radial-gradient(50vmax 50vmax at -20% 110%, rgb(var(--gold-rgb) / .22), transparent 60%),
        #f7f4ed;
}
:root[data-theme="light"] .mm__plus { background: rgba(20, 19, 17, .06); }

/* Intro : le logo s'assemble à l'encre sur le papier */
:root[data-theme="light"] .intro__piece:not(.intro__piece--pen) { filter: brightness(0) invert(.08); }
:root[data-theme="light"] .intro__skip { background: rgba(20, 19, 17, .05); }

/* Curseur */
:root[data-theme="light"] .cursor__dot { background: var(--tq-display); box-shadow: 0 0 10px rgb(var(--tq-rgb) / .6); }
:root[data-theme="light"] .cursor__ring { box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .45); }
:root[data-theme="light"] .cursor.is-link .cursor__ring { background: rgba(20, 19, 17, .06); box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .3); }

/* ---- Accueil ---- */
:root[data-theme="light"] .hero__ink { mix-blend-mode: multiply; }
:root[data-theme="light"] .hero__pill { box-shadow: 0 0 0 .045em #fff, 0 .14em .34em rgba(70, 52, 20, .3); }
:root[data-theme="light"] .hero__latest-go { background: rgba(20, 19, 17, .06); }
:root[data-theme="light"] .hero__badge {
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4) 60%);
    box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(20, 19, 17, .07), 0 20px 50px -22px rgba(70, 52, 20, .4);
}
:root[data-theme="light"] .hero__pen { filter: drop-shadow(0 6px 10px rgba(70, 52, 20, .3)); }

:root[data-theme="light"] .xp-float__inner { box-shadow: 0 0 0 1px rgba(255, 255, 255, .8), 0 30px 70px -24px rgba(70, 52, 20, .5); }

:root[data-theme="light"] .film::before { opacity: .3; }
:root[data-theme="light"] .film__frame { box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .08), 0 50px 100px -44px rgba(70, 52, 20, .6); }

:root[data-theme="light"] .real-end { border-color: rgba(20, 19, 17, .2); }
:root[data-theme="light"] .real-end:hover { border-color: var(--tq-display); }
:root[data-theme="light"] .real__rail { background: rgba(20, 19, 17, .1); }
:root[data-theme="light"] .real__pen { filter: drop-shadow(0 4px 8px rgba(70, 52, 20, .3)); }

:root[data-theme="light"] .marquee__word.is-outline { -webkit-text-stroke-color: rgba(20, 19, 17, .82); }

:root[data-theme="light"] .video-mini__play { background: rgba(20, 19, 17, .06); }
:root[data-theme="light"] .episode__wave i { background: rgba(20, 19, 17, .2); }
:root[data-theme="light"] .vmodal__backdrop { background: rgba(20, 19, 17, .6); }

:root[data-theme="light"] .news-card__body {
    background: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(250, 247, 240, .86));
    box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(20, 19, 17, .06), 0 24px 50px -26px rgba(70, 52, 20, .42);
}
:root[data-theme="light"] .press-row::before { background: rgba(20, 19, 17, .035); }

:root[data-theme="light"] .act-card__link {
    background: linear-gradient(160deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .56) 55%, rgb(var(--tone-rgb) / .1));
    box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgb(var(--tone-rgb) / .32), 0 30px 60px -34px rgba(70, 52, 20, .42);
}
:root[data-theme="light"] .act-card--gold .act-card__link { box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgb(var(--gold-rgb) / .55), 0 30px 80px -34px rgb(var(--gold-rgb) / .55); }
/* La carte neutre s'encre de noir (et non de papier) : textes en blanc au survol */
:root[data-theme="light"] .act-card--light { --tone: #141311; --tone-rgb: 20 19 17; }
:root[data-theme="light"] .act-card--light .act-card__icon,
:root[data-theme="light"] .act-card--light .act-card__cta .icon { color: #fff; }
:root[data-theme="light"] .act-card--light .act-card__link:hover,
:root[data-theme="light"] .act-card--light .act-card__link:focus-visible { color: #fff; }
:root[data-theme="light"] .act-card--light .act-card__link:hover .act-card__text,
:root[data-theme="light"] .act-card--light .act-card__link:focus-visible .act-card__text { color: rgba(255, 255, 255, .78); }
:root[data-theme="light"] .act-card--light .act-card__link:hover .act-card__icon { background: #fff; color: var(--tone); }
:root[data-theme="light"] .act-card--light .act-card__link:hover .act-card__cta { border-color: rgba(255, 255, 255, .2); }
:root[data-theme="light"] .act-card--light .act-card__link:hover .act-card__cta .icon { background: #fff; color: var(--tone); }

/* Logos partenaires : silhouettes à l'encre */
:root[data-theme="light"] .logo-tile img { filter: brightness(0); opacity: .58; }
:root[data-theme="light"] .logo-tile:hover img { filter: brightness(0); opacity: .9; }

/* ---- Pied de page ---- */
:root[data-theme="light"] .nl__field {
    background: rgba(255, 255, 255, .8);
    box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .12), inset 0 2px 6px rgba(70, 52, 20, .06);
}
:root[data-theme="light"] .nl__field:focus-within { box-shadow: inset 0 0 0 1.5px var(--tq-display), 0 0 0 6px rgb(var(--tq-rgb) / .16); }
:root[data-theme="light"] .nl__msg.is-error { color: #b93a1c; }
:root[data-theme="light"] .socials__link { background: rgba(20, 19, 17, .045); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 0 0 1px var(--line); }
:root[data-theme="light"] .footer-giant__word { color: rgba(20, 19, 17, .05); }
:root[data-theme="light"] .to-top__icon { background: rgba(20, 19, 17, .05); }
/* Le grand « Andika » s'éclaire à l'or sous le pointeur (le mélange turquoise-or virerait au kaki sur fond clair) */
:root[data-theme="light"] .footer-giant__word--lit { background: linear-gradient(100deg, #e2a63c, var(--gold) 50%, var(--gold-display)); opacity: 1; }
/* Écrans tactiles : pas de pointeur pour promener la lumière, le mot reste doré, très pâle */
@media (hover: none) {
    :root[data-theme="light"] .footer-giant__word { color: rgb(var(--gold-rgb) / .16); }
    :root[data-theme="light"] .footer-giant__word--lit { display: none; }
}

/* ---- Qui sommes-nous ---- */
:root[data-theme="light"] .approach__rail { stroke: rgba(20, 19, 17, .22); }
:root[data-theme="light"] .approach__pen { filter: drop-shadow(0 4px 8px rgba(70, 52, 20, .3)); }
:root[data-theme="light"] .step__dot { box-shadow: inset 0 0 0 2px rgba(20, 19, 17, .25); }
:root[data-theme="light"] .step.is-on .step__dot { box-shadow: inset 0 0 0 2px var(--gold), 0 0 18px rgb(var(--gold-rgb) / .45); }
:root[data-theme="light"] .step__num { color: rgba(20, 19, 17, .2); }
:root[data-theme="light"] .step.is-on .step__num,
:root[data-theme="light"]:not(.motion) .step__num { color: var(--gold-display); }
:root[data-theme="light"] .member__photo {
    background:
        radial-gradient(circle at 30% 18%, rgb(var(--tq-rgb) / .2), transparent 58%),
        radial-gradient(circle at 80% 90%, rgb(var(--gold-rgb) / .18), transparent 55%),
        linear-gradient(160deg, #fcfaf5, #ece6d8);
}
:root[data-theme="light"] .member__join { border-color: rgba(20, 19, 17, .2); }
:root[data-theme="light"] .member__join:hover { border-color: var(--tq-display); }
:root[data-theme="light"] .join__title { -webkit-text-stroke-color: rgba(20, 19, 17, .16); }

/* ---- Notre expertise ---- */
:root[data-theme="light"] .toc__link { background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px var(--line), 0 6px 16px -12px rgba(70, 52, 20, .4); }
:root[data-theme="light"] .toc__link:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
:root[data-theme="light"] .toc__link.is-active { background: var(--tq); box-shadow: none; }
/* Pages du cahier : papier blanc, marge dorée, lignes à peine tracées */
:root[data-theme="light"] .dcard {
    background: linear-gradient(165deg, #fffdf8, #f3eee2 70%);
    box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(20, 19, 17, .07), 0 30px 70px -36px rgba(70, 52, 20, .45);
}
:root[data-theme="light"] .dcard__body {
    background-image:
        linear-gradient(90deg, transparent 25px, rgb(var(--gold-rgb) / .55) 25px 26px, transparent 26px),
        repeating-linear-gradient(180deg, transparent 0 33px, rgba(20, 19, 17, .055) 33px 34px);
}
@media (min-width: 900px) {
    :root[data-theme="light"] .dcard__body {
        background-image:
            linear-gradient(90deg, transparent 47px, rgb(var(--gold-rgb) / .55) 47px 48px, transparent 48px),
            repeating-linear-gradient(180deg, transparent 0 33px, rgba(20, 19, 17, .055) 33px 34px);
    }
}
:root[data-theme="light"] .dcard__shade { background: #b3a88f; } /* page recouverte : papier dans l'ombre, pas noirci */

/* ---- Nos opérations ---- */
:root[data-theme="light"] :is(.zlegend, .fchip) { background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px var(--line), 0 6px 16px -12px rgba(70, 52, 20, .4); }
:root[data-theme="light"] :is(.zlegend, .fchip):hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
:root[data-theme="light"] .zlegend.is-active { background: var(--tq); box-shadow: none; }
:root[data-theme="light"] .fchip.is-active { background: var(--fg); color: #fff; box-shadow: none; }
/* La carte, comme sur du papier : provinces grisées, frontières dorées, lacs turquoise */
:root[data-theme="light"] .zmap {
    background: radial-gradient(70% 55% at 72% 35%, rgb(var(--tq-rgb) / .12), transparent 70%), #fbf8f1;
    box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -44px rgba(70, 52, 20, .45);
}
:root[data-theme="light"] .zmap__context path { fill: rgba(20, 19, 17, .03); stroke: rgba(20, 19, 17, .13); }
:root[data-theme="light"] .zmap__provinces path { fill: rgba(20, 19, 17, .055); }
:root[data-theme="light"] .zmap__borders path { stroke: var(--gold-display); }
:root[data-theme="light"] .zmap__lakes path { fill: rgb(var(--tq-rgb) / .3); stroke: var(--tq-display); }
:root[data-theme="light"] .zmap__label--province { color: rgba(20, 19, 17, .2); }
:root[data-theme="light"] .zmap__label--lake { color: var(--tq-ink); }
:root[data-theme="light"] .zmap__label--country { color: rgba(20, 19, 17, .42); }
:root[data-theme="light"] .zpin__name { color: var(--fg); background: rgba(255, 255, 255, .88); box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .1), 0 4px 12px -6px rgba(70, 52, 20, .4); }
:root[data-theme="light"] .zpin.is-active .zpin__name { background: var(--tq); color: #000; box-shadow: none; }
:root[data-theme="light"] .op-card__link {
    background: linear-gradient(165deg, #fffdf8, #f4efe4 70%);
    box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(20, 19, 17, .07), 0 30px 60px -38px rgba(70, 52, 20, .45);
}
@media (hover: hover) {
    :root[data-theme="light"] .op-card__link:hover { box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgb(var(--tq-rgb) / .45), 0 40px 80px -38px rgba(70, 52, 20, .5); }
}
/* Page d'une réalisation : la couverture reste une photo sombre, arrondie en bas */
:root[data-theme="light"] .ophero { border-radius: 0 0 clamp(26px, 4vw, 44px) clamp(26px, 4vw, 44px); }
:root[data-theme="light"] .ophero__shade { background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .5) 62%, rgba(0, 0, 0, .86) 100%); }

/* ---- Nos actions pour les droits humains ---- */
:root[data-theme="light"] .cycle--live .cstep:not(.is-on) .cstep__node { background: #fbf8f1; box-shadow: 0 0 0 6px var(--bg), inset 0 0 0 2px rgba(20, 19, 17, .2); }
@media (min-width: 1100px) {
    :root[data-theme="light"] .cycle__rail { stroke: rgba(20, 19, 17, .22); }
    :root[data-theme="light"] .cycle__pen { filter: drop-shadow(0 4px 8px rgba(70, 52, 20, .3)); }
}
@media (hover: hover) {
    :root[data-theme="light"] a.alert-row__in:hover { background: rgba(20, 19, 17, .03); }
}

/* ---- Transparence financière ---- */
:root[data-theme="light"] .yearpick { background: rgba(20, 19, 17, .05); }
:root[data-theme="light"] .yearpick__thumb { background: linear-gradient(180deg, #2b2a27, #100f0e); box-shadow: 0 4px 12px rgba(20, 19, 17, .28); }
:root[data-theme="light"] .yearpick__opt.is-active { color: #fff; }
/* Gaufre : l'or du poste mis en avant, deux gris bien séparés (palette validée :
   écart ≥ 17 en vision normale et daltonienne ; le tableau sert de relais) */
:root[data-theme="light"] .waffle__pen.c0 { --c: var(--gold-display); }
:root[data-theme="light"] .waffle__pen.c1 { --c: #57544c; }
:root[data-theme="light"] .waffle__pen.c2 { --c: #bab4a6; }
/* poste mis en avant : sur papier, il fonce au lieu de s'éclaircir */
:root[data-theme="light"] .waffle[data-hl="1"] .waffle__pen.c1 { filter: none; }
:root[data-theme="light"] .waffle[data-hl="2"] .waffle__pen.c2 { filter: brightness(.62); }
:root[data-theme="light"] .wtip { background: rgba(255, 255, 255, .97); box-shadow: inset 0 0 0 1px var(--line), 0 12px 30px -12px rgba(70, 52, 20, .45); }
:root[data-theme="light"] .ftable__row:hover { background: rgba(20, 19, 17, .03); }
:root[data-theme="light"] .fbar__fill { background: var(--tq-display); }
/* Reçus et documents : papier blanc */
:root[data-theme="light"] .ticket { background: linear-gradient(180deg, #fffdf8, #f3eee2); box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .09); }
:root[data-theme="light"] .ticket__cut { border-top-color: rgba(20, 19, 17, .2); }
:root[data-theme="light"] .doc__sheet { background: linear-gradient(170deg, #fffdf8, #f4efe3 70%); box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .08); }
:root[data-theme="light"] .doc__sheet::before { background: linear-gradient(225deg, transparent 50%, #e2dac7 50%); filter: drop-shadow(-3px 3px 4px rgba(70, 52, 20, .22)); }

/* ---- Recherches et publications ---- */
/* Couvertures : des objets, elles gardent leurs couleurs ; un liseré et une
   ombre les détachent du papier (la couverture crème surtout) */
:root[data-theme="light"] .cover { box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .08), 0 14px 28px -16px rgba(70, 52, 20, .5); }
:root[data-theme="light"] .cover--ink { box-shadow: inset 0 0 0 1px rgb(var(--gold-rgb) / .4), 0 14px 28px -16px rgba(70, 52, 20, .5); }
:root[data-theme="light"] .feat__visual::before { background: radial-gradient(closest-side, rgb(var(--tq-rgb) / .14), transparent); }
:root[data-theme="light"] .book__shadow { background: radial-gradient(closest-side, rgba(70, 52, 20, .38), transparent); }
/* La charte : page de cahier blanche, qui se détache du fond crème */
:root[data-theme="light"] .charter {
    background-color: #fffdf8;
    box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .06), 0 40px 80px -46px rgba(70, 52, 20, .5);
}

/* ---- Faire un don ---- */
:root[data-theme="light"] .gform__errors ul { color: #b3261e; }
:root[data-theme="light"] .gform__recap { background: rgba(20, 19, 17, .045); }
:root[data-theme="light"] .gfreq { background: rgba(20, 19, 17, .05); }
:root[data-theme="light"] .gfreq__thumb { background: linear-gradient(180deg, #2b2a27, #100f0e); box-shadow: 0 4px 12px rgba(20, 19, 17, .28); }
:root[data-theme="light"] .gfreq input:checked + .gfreq__opt { color: #fff; }
:root[data-theme="light"] :is(.gamount, .gother__box, .gmethod, .mtier, .mstep, .vchip) { background: rgba(255, 255, 255, .62); }
:root[data-theme="light"] .gmethod__icon { background: rgba(20, 19, 17, .05); }
:root[data-theme="light"] .gfield__input { background: rgba(255, 255, 255, .8); }
:root[data-theme="light"] .gfield__error { color: #b3261e; }
:root[data-theme="light"] :is(.gfield__input, .gother input)[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #d4412f; }
/* Merci : le reçu en papier blanc, son ombre suit le bord déchiré */
:root[data-theme="light"] .receipt-wrap { filter: drop-shadow(0 20px 28px rgba(70, 52, 20, .2)) drop-shadow(0 2px 3px rgba(70, 52, 20, .1)); }
:root[data-theme="light"] .receipt { background: linear-gradient(180deg, #fffefb, #f7f3ea); }
:root[data-theme="light"] .copyrow { background: rgba(20, 19, 17, .04); }
:root[data-theme="light"] .copyrow__btn { background: rgba(20, 19, 17, .07); }
:root[data-theme="light"] .copyrow__btn:hover { background: rgba(20, 19, 17, .12); }

/* ---- Devenir membre ---- */
/* Cartes de membre : des objets, elles gardent leur teinte ; ombre chaude,
   liseré pour la carte crème */
:root[data-theme="light"] .mcard__face { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(20, 19, 17, .08), 0 24px 44px -24px rgba(70, 52, 20, .55); }
:root[data-theme="light"] .tier {
    background: linear-gradient(165deg, #fffdf8, #f4efe4 70%);
    box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(20, 19, 17, .07), 0 30px 60px -38px rgba(70, 52, 20, .45);
}
:root[data-theme="light"] .tier--featured { box-shadow: inset 0 0 0 1.5px var(--gold), 0 30px 60px -32px rgb(var(--gold-rgb) / .5); }
:root[data-theme="light"] .mtier__swatch { box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .16); }

/* ---- Devenir bénévole ---- */
/* Les annonces : papier blanc, ombre chaude ; sur grand écran, le panneau
   perforé devient un panneau clair */
:root[data-theme="light"] .note { background: linear-gradient(180deg, #fffefb, #f6f2e8); box-shadow: 0 18px 36px -20px rgba(70, 52, 20, .5), 0 0 0 1px rgba(20, 19, 17, .05); }
@media (hover: hover) {
    :root[data-theme="light"] .note:hover { box-shadow: 0 30px 50px -24px rgba(70, 52, 20, .55), 0 0 0 1px rgba(20, 19, 17, .05); }
}
:root[data-theme="light"] .board__free { border-color: rgba(20, 19, 17, .2); }
@media (min-width: 1000px) {
    :root[data-theme="light"] .board {
        background-color: #ebe5d6;
        background-image: radial-gradient(rgba(20, 19, 17, .14) 1.2px, transparent 1.6px);
        box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .06), inset 0 2px 10px rgba(70, 52, 20, .08);
    }
}
/* Le badge : un objet, il garde ses couleurs ; la fente laisse voir le fond */
:root[data-theme="light"] .vbadge__card { box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .06), 0 30px 60px -30px rgba(70, 52, 20, .6); }
:root[data-theme="light"] .vbadge__hole { background: var(--bg); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .35); }
:root[data-theme="light"] .vbadge__clip { box-shadow: 0 2px 5px rgba(70, 52, 20, .4); }
:root[data-theme="light"] .vmission__icon { background: rgba(20, 19, 17, .05); }

/* ---- Écoutez-nous ---- */
/* Pochette et disque : des objets (le vinyle reste noir), ombres chaudes */
:root[data-theme="light"] .player__cover { box-shadow: 0 24px 50px -26px rgba(70, 52, 20, .6); }
:root[data-theme="light"] .player__disc { box-shadow: 0 0 0 1px rgba(20, 19, 17, .12), 0 20px 40px -22px rgba(70, 52, 20, .6); }
:root[data-theme="light"] .player__skip { background: rgba(20, 19, 17, .05); }
:root[data-theme="light"] .player__skip:hover { background: rgba(20, 19, 17, .09); }
:root[data-theme="light"] .wave__bars i { background: rgba(20, 19, 17, .17); }
:root[data-theme="light"] .ep__play { background: rgba(20, 19, 17, .05); }
@media (min-width: 900px) {
    :root[data-theme="light"] .ep__num { color: rgba(20, 19, 17, .16); }
    :root[data-theme="light"] .ep.is-current .ep__num { color: var(--gold-display); }
}
:root[data-theme="light"] .mic__art img { box-shadow: 0 30px 60px -30px rgba(70, 52, 20, .6); }

/* États (survol, choix, lecture, copie) : ils l'emportent aussi sur les fonds
   posés plus haut pour le mode clair */
:root[data-theme="light"] .btn--gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -3px 8px rgba(80, 45, 0, .22), 0 18px 40px -12px rgb(var(--gold-rgb) / .8); }
:root[data-theme="light"] .link-arrow:hover .icon { background: var(--tq); }
:root[data-theme="light"] .hero__latest:hover .hero__latest-go { background: var(--tq); }
:root[data-theme="light"] .video-mini:hover .video-mini__play { background: var(--gold); }
:root[data-theme="light"] .mega__link:hover .mega__icon { background: var(--tq); }
:root[data-theme="light"] .mega__sub a:hover { background: var(--tq); }
:root[data-theme="light"] .mm__toggle[aria-expanded="true"] .mm__plus { background: var(--tq); }
:root[data-theme="light"] .to-top:hover .to-top__icon { background: var(--gold); }
:root[data-theme="light"] .socials__link:hover { background: var(--tq); box-shadow: 0 12px 30px -10px rgb(var(--tq-rgb) / .8); }
:root[data-theme="light"] .copyrow__btn.is-copied { background: var(--tq); }
:root[data-theme="light"] .cursor.has-label .cursor__ring { box-shadow: none; }
:root[data-theme="light"] .cursor.is-pen .cursor__ring { box-shadow: 0 0 18px var(--gold); }
:root[data-theme="light"] .film.is-sound [data-film-sound] { background: var(--tq); }
:root[data-theme="light"] :is(.ep__play:hover, .ep.is-playing .ep__play) { background: var(--gold); box-shadow: none; }

/* ---- Les médias parlent de nous ---- */
/* Papier journal un peu plus jauni, pour se détacher du fond crème */
:root[data-theme="light"] { --newsprint: #ece5d4; }
:root[data-theme="light"] .frontpage { box-shadow: 0 40px 80px -36px rgba(70, 52, 20, .55), inset 0 0 0 1px rgba(0, 0, 0, .06); }
:root[data-theme="light"] .clip--print { filter: drop-shadow(0 18px 22px rgba(70, 52, 20, .28)); }
:root[data-theme="light"] .room__about { box-shadow: 0 30px 60px -34px rgba(70, 52, 20, .5); }
/* Les objets : un poste de radio en bakélite crème (le cadran reste allumé
   dans le noir), un téléviseur et une fenêtre de navigateur clairs */
:root[data-theme="light"] .clip--radio .clip__link {
    background: linear-gradient(160deg, #fcf6ea, #efe3c8 75%);
    box-shadow: inset 0 0 0 1px rgb(var(--gold-rgb) / .38), 0 24px 44px -28px rgba(70, 52, 20, .5);
}
:root[data-theme="light"] .clip--radio:hover .clip__onair { color: #c23a1e; }
:root[data-theme="light"] :is(.clip--tv, .clip--web) .clip__link {
    background: linear-gradient(165deg, #fffdf8, #f4efe4 70%);
    box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .08), 0 24px 44px -28px rgba(70, 52, 20, .45);
}
:root[data-theme="light"] .clip__screen { box-shadow: 0 0 0 1px rgba(20, 19, 17, .12); }
:root[data-theme="light"] .clip__browser { background: rgba(20, 19, 17, .035); }
:root[data-theme="light"] .clip__url { background: rgba(20, 19, 17, .06); }

/* ---- Sur le terrain et la page d'un article ---- */
/* La carte postale : un objet, papier blanc cassé ; liseré et ombre chaude
   pour la détacher du fond crème */
:root[data-theme="light"] .postcard__link { box-shadow: 0 44px 80px -46px rgba(70, 52, 20, .55), 0 0 0 1px rgba(20, 19, 17, .07); }
:root[data-theme="light"] .news-card__media--empty {
    background:
        radial-gradient(circle at 30% 18%, rgb(var(--tq-rgb) / .2), transparent 58%),
        linear-gradient(160deg, #fcfaf5, #ece6d8);
}

/* ---- En vidéo ---- */
/* À l'affiche : un téléviseur au cadre clair, l'écran reste noir */
:root[data-theme="light"] .screen__button {
    background: linear-gradient(170deg, #fffdf8, #ebe5d6 70%);
    box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(20, 19, 17, .08), 0 40px 80px -40px rgba(70, 52, 20, .55);
}
/* La vidéothèque : la pellicule reste noire, collée sur une fiche claire */
:root[data-theme="light"] .frame {
    background: linear-gradient(165deg, #fffdf8, #f4efe4 70%);
    box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .08), 0 18px 36px -28px rgba(70, 52, 20, .4);
}
@media (hover: hover) {
    :root[data-theme="light"] .frame:hover { box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .12), 0 30px 50px -30px rgba(70, 52, 20, .5); }
}
:root[data-theme="light"] .clap__board { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .07), 0 34px 60px -34px rgba(70, 52, 20, .6); }

/* ---- Nos partenaires ---- */
:root[data-theme="light"] .pcard__in {
    background: linear-gradient(165deg, #fffdf8, #f4efe4 70%);
    box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .08), 0 18px 36px -28px rgba(70, 52, 20, .35);
}
:root[data-theme="light"] .pcard__logo { background: radial-gradient(ellipse at 50% 55%, rgb(var(--gold-rgb) / .08), transparent 70%); }
/* Logos repeints en clair pour le noir : en clair, silhouettes à l'encre
   (comme le bandeau de l'accueil), sur tous les écrans */
:root[data-theme="light"] .pcard__mark img { filter: brightness(0); opacity: .78; }
@media (hover: hover) {
    :root[data-theme="light"] .pcard:hover .pcard__mark img { opacity: 1; }
    :root[data-theme="light"] a.pcard__in:hover { box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .12), 0 30px 50px -30px rgba(70, 52, 20, .5); }
}
:root[data-theme="light"] .nibp__shape { background: linear-gradient(160deg, #fcfaf5, #ece6d8); }
:root[data-theme="light"] .nibp--initials .nibp__shape {
    background:
        radial-gradient(circle at 50% 30%, rgb(var(--tq-rgb) / .24), transparent 62%),
        linear-gradient(160deg, #fcfaf5, #ece6d8);
}
:root[data-theme="light"] .fan__pen { filter: drop-shadow(0 22px 26px rgba(70, 52, 20, .4)); }

/* ---- Pages légales ---- */
/* Le cachet de l'en-tête : un disque de verre laiteux */
:root[data-theme="light"] .lseal--glass::before {
    background: radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .5) 62%);
    box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .08), inset 0 1px 0 #fff, 0 50px 100px -50px rgb(var(--gold-rgb) / .5);
}
:root[data-theme="light"] .lseal--glass::after { opacity: .3; }
/* Le sommaire */
:root[data-theme="light"] .ltoc__track::before { background: rgba(20, 19, 17, .1); }
:root[data-theme="light"] .ltoc__link::before { background: #fbf8f1; box-shadow: inset 0 0 0 2px rgba(20, 19, 17, .24); }
:root[data-theme="light"] .ltoc__link:hover { background: rgba(20, 19, 17, .04); }
:root[data-theme="light"] .ltoc__link.is-active { background: rgba(20, 19, 17, .05); }
:root[data-theme="light"] .ltoc__link.is-read::before { background: var(--gold); box-shadow: none; }
:root[data-theme="light"] .ltoc__link.is-active::before { background: var(--tq); box-shadow: 0 0 0 4px rgb(var(--tq-rgb) / .2); }
/* La feuille de cahier : papier blanc, la seconde feuille se voit dessous */
:root[data-theme="light"] .lsheet {
    box-shadow: 7px 9px 0 -1px #e2dac8, 7px 9px 0 0 rgba(20, 19, 17, .06), 0 0 0 1px rgba(20, 19, 17, .06), 0 44px 90px -48px rgba(70, 52, 20, .5);
}
.soon__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

/* ---- Bandeau de l'équipe connectée (page masquée au public) ---- */
.team-notice { position: fixed; left: 50%; bottom: 16px; z-index: 200; display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px); padding: 10px 12px 10px 18px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: #140d02; background: #d1921e; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7); transform: translateX(-50%); }
.team-notice a { flex: none; padding: 6px 12px; border-radius: 999px; font-weight: 700; color: #fff; background: #140d02; }
@media (max-width: 639px) { .team-notice { border-radius: 18px; font-size: .78rem; } }

/* ---- Site fermé (page d'entretien) ---- */
.page-maintenance { min-height: 100vh; min-height: 100svh; margin: 0; display: grid; place-items: center; color: #f4f2ec; background: radial-gradient(ellipse at 50% 0%, rgba(40, 214, 183, .16), transparent 60%), #000; }
.maint { display: grid; justify-items: center; gap: 22px; max-width: 640px; padding: 48px 24px; text-align: center; }
.maint__logo { width: 180px; height: auto; }
.maint__title { margin: 0; font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.maint__title em { font-family: var(--font-display, 'Comic Queens Andika', cursive); font-style: normal; font-weight: 400; color: #d1921e; }
.maint__text { margin: 0; font-size: 1.1rem; line-height: 1.7; color: rgba(244, 242, 236, .76); }
.maint__contact { margin: 0; font-size: .92rem; color: rgba(244, 242, 236, .56); }
.maint__contact a { color: #28d6b7; }
