/*
 * Kumikata Media — site public (phase 09).
 * Mise en page : magazine sur papier crème (grilles à filets, grands titres condensés, titres d'articles en serif),
 * une « à la une » sombre plein écran avec mot géant et défilement, affiches générées (aucune photo publiée, D-66).
 * Sans script : tout est lisible et navigable ; site.js ajoute révélations, défilement de la une, menu et compteurs.
 * Aucun style en ligne (CSP) : les variantes passent par des classes.
 */

@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
    src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
    src: url("fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
    src: url("fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
    src: url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
    src: url("fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
    src: url("fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }

:root {
    --paper: #ece9e2;
    --paper-2: #e2ded4;
    --card: #f6f4ef;
    --ink: #131313;
    --ink-2: #4b4840;
    --rule: #cbc6bb;
    --red: #d42a17;
    --red-ink: #b8200f;
    --violet: #4b3bd0;
    --violet-soft: #e5e1fb;
    --night: #0d0e11;
    --night-2: #17191e;
    --on-night: #f3f1ec;
    --on-night-2: #a9aab0;
    --gold: #c99a24; --silver: #9aa1a8; --bronze: #b0683a;
    --tone-1: #d42a17; --tone-2: #17191e; --tone-3: #2446c8; --tone-4: #1b7a52; --tone-5: #f0b02c; --tone-6: #ef5b80;
    --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
    --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wrap: 1280px;
    --gutter: clamp(16px, 3vw, 40px);
    --ease: cubic-bezier(.2, .7, .1, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    color-scheme: light;
}
@media (prefers-color-scheme: dark) {
    :root { --paper: #111215; --paper-2: #1a1c21; --card: #17191d; --ink: #f1efea; --ink-2: #a7a6a1; --rule: #2e3036;
        --red-ink: #ff6b57; --violet: #8f82ff; --violet-soft: #221d45; --night: #08090b; --night-2: #121419; color-scheme: dark; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.55; font-stretch: 100%;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--red-ink); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 999px; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.muted { color: var(--ink-2); }
.small { font-size: .85rem; }
time, .num { font-variant-numeric: tabular-nums; }

/* ---------- Barre utilitaire et en-tête ---------- */
.topbar { background: var(--night); color: var(--on-night-2); font-size: .78rem; letter-spacing: .02em; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.topbar a { color: var(--on-night); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-links { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
.topbar-date { margin: 0; }
.topbar-date::first-letter { text-transform: uppercase; }
.edition { position: relative; }
.edition summary { cursor: pointer; list-style: none; color: var(--on-night); }
.edition summary::-webkit-details-marker { display: none; }
.edition summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.edition[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.edition ul { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; min-width: 210px; margin: 0; padding: 8px; list-style: none; background: var(--night-2); border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35); animation: pop .25s var(--ease-out); }
.edition li a { display: block; padding: 6px 10px; border-radius: 6px; }
.edition li a:hover, .edition li a[aria-current] { background: rgba(255, 255, 255, .08); text-decoration: none; }
.edition li a[aria-current]::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 8px; }

.masthead { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 2px solid var(--ink); transition: box-shadow .3s; }
.masthead > .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; transition: min-height .35s var(--ease); }
.js .masthead.is-condensed > .wrap { min-height: 54px; }
.masthead.is-condensed { box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
.menu-open .masthead, .masthead:has(.megamenu[open]) { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 900; font-stretch: 75%; font-size: 1.65rem; letter-spacing: -.01em;
    text-transform: uppercase; text-decoration: none; color: var(--ink); white-space: nowrap; line-height: 1; }
.logo span { color: var(--red); }
.logo .belt { display: inline-block; width: 30px; height: 9px; background: var(--ink); border-radius: 2px; position: relative; overflow: hidden; }
.logo .belt::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 30%; background: var(--red); transition: width .5s var(--ease); }
.logo:hover { color: var(--ink); }
.logo:hover .belt::after { width: 100%; }
.primary-nav { flex: 1; min-width: 0; }
.primary-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.primary-nav ul::-webkit-scrollbar { display: none; }
.primary-nav a { position: relative; display: block; padding: 8px 9px; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.primary-nav a::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--red-ink); }
.primary-nav .nav-whatif { color: var(--violet); }
.actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-width: 40px; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: 999px;
    background: transparent; color: var(--ink); font: 700 .76rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; list-style: none; transition: background .25s, color .25s, transform .25s var(--ease); }
.icon-btn::-webkit-details-marker { display: none; }
.icon-btn:hover { background: var(--ink); color: var(--paper); }
.search-pop .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search-pop > .icon-btn { width: 40px; padding: 0; }
.icon-btn:active { transform: scale(.96); }
.i-search { width: 15px; height: 15px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.i-search::after { content: ""; position: absolute; width: 2px; height: 7px; background: currentColor; right: -4px; bottom: -6px; transform: rotate(-45deg); border-radius: 2px; }
.i-burger { width: 18px; height: 12px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; transition: border-color .2s; }
.i-burger::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
details[open] > .icon-btn .i-burger { border-color: transparent; }
details[open] > .icon-btn .i-burger::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: currentColor; transform: rotate(45deg); }
details[open] > .icon-btn .i-burger::after { transform: rotate(-45deg); }

/* Recherche déroulante */
.search-pop { position: relative; }
.search-pop form { position: absolute; right: 0; top: calc(100% + 12px); z-index: 70; display: flex; gap: 8px; width: min(440px, calc(100vw - 32px)); padding: 10px; background: var(--card);
    border: 1.5px solid var(--ink); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .18); animation: pop .3s var(--ease-out); }
.field { flex: 1; min-width: 0; font: inherit; padding: 10px 14px; border: 1.5px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); }
.field:focus { outline: none; border-color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font: 700 .8rem/1 var(--sans);
    letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), background .3s; }
.btn:hover { color: var(--paper); background: var(--red); transform: translateY(-2px); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Méga-menu plein écran */
.megamenu > .icon-btn { position: relative; z-index: 82; }
.megamenu[open] > .icon-btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.megamenu-panel { position: fixed; inset: 0; z-index: 80; overflow-y: auto; background: var(--night); color: var(--on-night); animation: curtain .55s var(--ease-out) both; }
.megamenu-panel .wrap { padding-top: 104px; padding-bottom: 56px; }
.mm-search { display: flex; gap: 10px; max-width: 720px; margin-bottom: 40px; }
.mm-search .field { background: transparent; color: var(--on-night); border-color: #3a3c43; font-size: 1.1rem; padding: 14px 20px; }
.mm-search .field:focus { border-color: var(--on-night); }
.mm-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.mm-col h2 { margin: 0 0 14px; font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-2); }
.mm-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mm-col a { display: inline-block; padding: 4px 0; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.15; text-decoration: none; color: var(--on-night);
    background: linear-gradient(var(--red), var(--red)) no-repeat left bottom / 0 2px; transition: background-size .4s var(--ease), color .2s; }
.mm-col a:hover { color: #fff; background-size: 100% 2px; }
.mm-col .mm-whatif a { color: #b9b0ff; }
.mm-col a[aria-current="page"] { color: #fff; background-size: 100% 2px; }
.mm-sub { margin-top: 28px !important; }
.mm-small a { font-family: var(--sans); font-size: 1rem; padding: 3px 0; }
.mm-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important; }
.mm-foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid #2a2c32; display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--on-night-2); font-size: .85rem; }
.mm-foot a { color: var(--on-night); }
.megamenu[open] .mm-col { animation: rise .6s var(--ease-out) both; }
.megamenu[open] .mm-col:nth-child(2) { animation-delay: .05s; } .megamenu[open] .mm-col:nth-child(3) { animation-delay: .1s; }
.megamenu[open] .mm-col:nth-child(4) { animation-delay: .15s; } .megamenu[open] .mm-col:nth-child(5) { animation-delay: .2s; }
.mm-word { position: absolute; right: -2vw; bottom: -4vw; font: 900 22vw/0.8 var(--display); font-stretch: 62%; text-transform: uppercase; color: transparent;
    -webkit-text-stroke: 1px #24262c; pointer-events: none; user-select: none; }

/* ---------- Bandeau défilant ---------- */
.ticker { background: var(--red); color: #fff; overflow: hidden; border-bottom: 2px solid var(--ink); }
.ticker-inner { display: flex; align-items: center; }
.ticker-label { flex: none; position: relative; z-index: 1; padding: 10px 18px; background: var(--ink); color: #fff; font: 800 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.ticker-viewport { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ticker-viewport::-webkit-scrollbar { display: none; }
.js .ticker-viewport { overflow: hidden; }
.ticker-track { display: flex; width: max-content; }
.ticker-track ul[aria-hidden] { display: none; }
.js .ticker-track ul[aria-hidden] { display: flex; }
.js .ticker-track { animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.is-stopped .ticker-track { animation-play-state: paused; }
.ticker-label { display: flex; align-items: center; gap: 10px; }
.ticker .pause-btn { width: 26px; height: 26px; border-color: rgba(255, 255, 255, .4); }
.ticker .i-pause { width: 7px; height: 9px; border-width: 0 2px; }
.ticker .pause-btn[aria-pressed="true"] .i-pause { border-left-width: 8px; border-top-width: 5px; border-bottom-width: 5px; }
.ticker ul { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker li { padding: 10px 28px 10px 0; white-space: nowrap; font-weight: 600; font-size: .9rem; }
.ticker li::before { content: "●"; margin-right: 12px; font-size: .55rem; vertical-align: middle; opacity: .75; }
.ticker a { color: #fff; text-decoration: none; }
.ticker a:hover { text-decoration: underline; }

/* ---------- Éléments communs ---------- */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px 3px 4px; border: 1px solid var(--red); border-radius: 999px; color: var(--red-ink);
    font: 700 .64rem/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; background: transparent; }
.pill::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4.5v7l5.5-3.5z' fill='%23fff'/%3E%3C/svg%3E") center / 16px no-repeat;
    transition: transform .4s var(--ease); }
a.pill:hover { background: var(--red); color: #fff; }
a.pill:hover::before, .card:hover .pill::before { transform: rotate(120deg); }
.pill-fiction { border-color: var(--violet); color: var(--violet); }
.pill-fiction::before { background-color: var(--violet); }
.pill-plain::before { display: none; }
.pill-plain { padding-left: 11px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.meta { margin: 6px 0 0; color: var(--ink-2); font-size: .78rem; letter-spacing: .02em; }
.meta > * + *::before { content: "·"; margin: 0 .5em; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.section-title { margin: 0; font: 900 clamp(2rem, 5vw, 3.8rem)/.86 var(--display); font-stretch: 62%; letter-spacing: -.005em; text-transform: uppercase; }
.section-title a { text-decoration: none; }
.see-all { display: inline-flex; align-items: center; gap: 8px; font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding-bottom: 6px; }
.see-all::after { content: "→"; transition: transform .3s var(--ease); }
.see-all:hover::after { transform: translateX(5px); }
.block { padding-top: clamp(40px, 6vw, 72px); }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.5; color: var(--ink-2); }

/* Titre animé : soulignement tracé au survol */
.t-link { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat left 92% / 0 1px; transition: background-size .5s var(--ease); }
.card:hover .t-link, .t-link:hover, .t-link:focus-visible { background-size: 100% 1px; color: inherit; }

/* ---------- Affiches générées ---------- */
.cover { position: relative; overflow: hidden; display: block; aspect-ratio: 4 / 3; border-radius: 3px; background: var(--tone, var(--tone-2)); color: #fff; isolation: isolate;
    container-type: inline-size; }
.cover.tone-0 { --tone: var(--violet); }
.cover.tone-1 { --tone: var(--tone-1); } .cover.tone-2 { --tone: var(--tone-2); } .cover.tone-3 { --tone: var(--tone-3); }
.cover.tone-4 { --tone: var(--tone-4); } .cover.tone-5 { --tone: var(--tone-5); color: #131313; } .cover.tone-6 { --tone: var(--tone-6); }
.cover-motif { position: absolute; inset: -10%; z-index: -1; transition: transform 1.2s var(--ease-out); opacity: .9; }
.card:hover .cover-motif, .cover:hover .cover-motif { transform: scale(1.08) rotate(-2deg); }
/* 1. cercles du dojo */
.motif-1 .cover-motif { background: repeating-radial-gradient(circle at 78% 30%, rgba(255, 255, 255, .22) 0 2px, transparent 2px 22px), radial-gradient(circle at 78% 30%, rgba(255, 255, 255, .25) 0 18%, transparent 18.5%); }
/* 2. tatamis (rectangles 2 × 1) */
.motif-2 .cover-motif { background: linear-gradient(90deg, rgba(0, 0, 0, .25) 2px, transparent 2px) 0 0 / 96px 48px, linear-gradient(rgba(0, 0, 0, .25) 2px, transparent 2px) 0 0 / 96px 48px,
    linear-gradient(90deg, transparent 47px, rgba(0, 0, 0, .16) 47px 49px, transparent 49px) 0 48px / 96px 96px; transform: rotate(-8deg) scale(1.2); }
.motif-2.cover:hover .cover-motif, .card:hover .motif-2 .cover-motif { transform: rotate(-4deg) scale(1.28); }
/* 3. ceinture */
.motif-3 .cover-motif { background: linear-gradient(160deg, transparent 0 46%, #131313 46% 62%, transparent 62%), linear-gradient(160deg, transparent 0 63%, rgba(255, 255, 255, .85) 63% 65%, transparent 65%); }
/* 4. trame de points */
.motif-4 .cover-motif { background: radial-gradient(circle, rgba(255, 255, 255, .45) 1.6px, transparent 2px) 0 0 / 14px 14px;
    -webkit-mask-image: linear-gradient(120deg, #000 10%, transparent 75%); mask-image: linear-gradient(120deg, #000 10%, transparent 75%); }
/* 5. éventail (ippon) */
.motif-5 .cover-motif { background: repeating-conic-gradient(from 200deg at 15% 110%, rgba(255, 255, 255, .2) 0 6deg, transparent 6deg 14deg); }
.cover.tone-5 .cover-motif { filter: invert(1); opacity: .55; }
.cover-word { position: absolute; left: 6%; right: 6%; bottom: 12%; font: 900 calc(var(--fs, 24) * var(--k, 1) * 1cqi)/.84 var(--display); font-stretch: 62%; text-transform: uppercase;
    letter-spacing: -.01em; overflow-wrap: normal; hyphens: manual; }
/* Taille du mot selon la longueur de son mot le plus long : jamais coupé au milieu. */
.cover.w-m { --fs: 19; } .cover.w-l { --fs: 15; } .cover.w-xl { --fs: 12; } .cover.w-xxl { --fs: 9; }
.cover-meta { position: absolute; left: 6%; top: 7%; font: 700 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.cover--round { aspect-ratio: 1; border-radius: 50%; }
.cover--round { --k: .78; }
.cover--round .cover-word { text-align: center; bottom: 50%; transform: translateY(50%); }
.cover--round .cover-meta { display: none; }
.cover--tall { aspect-ratio: 3 / 4; }
.cover--wide { aspect-ratio: 16 / 9; }

/* ---------- Cartes ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.08; letter-spacing: -.005em; }
.card .standfirst { margin: 0; color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
.card-lead h3 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1; }
.card-lead .standfirst { font-size: 1rem; }
.card-row { flex-direction: row; align-items: center; gap: 14px; }
.card-row .cover-link { flex: 0 0 34%; max-width: 132px; }
.card-row .cover { aspect-ratio: 1; }
.card-row .cover-meta { display: none; }
.card-row h3 { font-size: 1.1rem; }
.card-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cover-link { display: block; text-decoration: none; border-radius: 3px; }
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease-out); will-change: transform; }
.card-round { align-items: flex-start; }
.card-round .cover { width: 100%; }
.card-round h3 { font-size: 1.1rem; }
.card-whatif .cover { --tone: var(--violet); }

/* Grilles magazine à filets */
.grid-news { display: grid; grid-template-columns: 2fr 1.15fr 1fr; gap: 0; border-top: 0; }
.grid-news > * { padding: 18px; border-right: 1px solid var(--rule); }
.grid-news > *:first-child { padding-left: 0; }
.grid-news > *:last-child { padding-right: 0; border-right: 0; }
.stack { display: grid; gap: 18px; align-content: start; }
.stack > .card + .card { padding-top: 18px; border-top: 1px solid var(--rule); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.grid-4 > * { padding: 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.grid-4 > *:nth-child(4n) { border-right: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 36px 28px; }

/* ---------- À la une (sombre, plein écran) ---------- */
.hero { position: relative; color: var(--on-night); background: var(--night); overflow: hidden; isolation: isolate; }
.hero-slides { position: relative; min-height: clamp(560px, 82vh, 820px); }
.hero-slide { position: absolute; inset: 0; display: grid; align-content: end; padding: 120px 0 150px; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.hero-slide.is-active, .no-js .hero-slide:first-child, .hero-slide:only-child { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art .cover { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.hero-art .cover-word, .hero-art .cover-meta { display: none; }
.hero-slide.is-active .hero-art .cover-motif { animation: kenburns 16s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(90deg, rgba(8, 9, 11, .92) 0%, rgba(8, 9, 11, .6) 55%, rgba(8, 9, 11, .2) 100%), linear-gradient(0deg, rgba(8, 9, 11, .85) 0%, transparent 45%); }
.hero-word { position: absolute; left: -1vw; right: -1vw; bottom: -2.2vw; z-index: -1; font: 900 clamp(6rem, 21vw, 22rem)/.78 var(--display); font-stretch: 62%; text-transform: uppercase;
    white-space: nowrap; color: rgba(255, 255, 255, .1); -webkit-text-stroke: 1px rgba(255, 255, 255, .28); pointer-events: none; user-select: none; translate: 0 var(--py, 0); }
.hero-empty { padding: clamp(110px, 16vw, 200px) 0 clamp(110px, 14vw, 180px); background: radial-gradient(circle at 80% 20%, #2a1310 0, transparent 45%), var(--night); }
.hero-empty .hero-word { animation: drift 22s linear infinite alternate; }
.hero-slide.is-active .hero-word { animation: drift 22s linear infinite alternate; }
.hero-slide > .wrap, .hero-empty > .wrap { width: 100%; }
.hero-copy { max-width: 760px; }
.hero h2 { margin: 18px 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .96; letter-spacing: -.015em; }
.hero h2 a { text-decoration: none; }
.hero .standfirst { max-width: 620px; margin: 0 0 24px; color: #d5d4cf; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero .pill { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero .pill-fiction { border-color: #b9b0ff; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; font-size: .9rem; }
.read-btn { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; }
.read-btn .ring { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 50%; transition: background .3s, transform .4s var(--ease); }
.read-btn:hover { color: #fff; }
.read-btn:hover .ring { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }
.hero-meta { color: var(--on-night-2); }
.hero-side { position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); top: 110px; display: grid; grid-template-columns: repeat(2, 196px); gap: 14px; z-index: 2; }
.tile { position: relative; display: block; height: 250px; border-radius: 4px; overflow: hidden; color: #fff; text-decoration: none; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); transition: transform .5s var(--ease); }
.tile:hover { transform: translateY(-6px); color: #fff; }
.tile .cover { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.tile .cover-word { bottom: auto; top: 24%; opacity: .4; }
.tile .cover-meta { display: none; }
.tile-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent); font-weight: 700; line-height: 1.25; font-size: .95rem; }
.tile .pill { position: absolute; top: 12px; left: 12px; background: rgba(0, 0, 0, .35); border-color: rgba(255, 255, 255, .5); color: #fff; }
.hero-dots { position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); bottom: 150px; z-index: 3; display: flex; gap: 10px; }
.hero-dots button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); background: transparent; color: rgba(255, 255, 255, .7); font: 700 .72rem/1 var(--sans);
    cursor: pointer; position: relative; transition: color .3s, border-color .3s; }
.hero-dots button:hover { color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero-dots button[aria-current="true"] { color: #fff; border-color: rgba(255, 255, 255, .25); }
.hero-dots button[aria-current="true"]::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; pointer-events: none;
    background: conic-gradient(var(--red) calc(var(--p, 0) * 360deg), transparent 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); }
.pause-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer; }
.pause-btn:hover { border-color: #fff; }
.i-pause { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.pause-btn[aria-pressed="true"] .i-pause { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.hero.is-stopped .hero-word, .hero.is-paused .hero-word, .hero.is-stopped .cover-motif, .hero.is-paused .hero-art .cover-motif { animation-play-state: paused; }
.strip { position: relative; z-index: 4; margin-top: -96px; }
.strip-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--card); color: var(--ink); border-radius: 4px; box-shadow: 0 30px 60px rgba(0, 0, 0, .18); }
.strip .card { padding: 18px; border-right: 1px solid var(--rule); }
.strip .card:last-child { border-right: 0; }
.strip .card h3 { font-family: var(--sans); font-weight: 700; font-size: .95rem; line-height: 1.3; }
.strip .card { flex-direction: row; align-items: center; }
.strip .cover-link { flex: 0 0 76px; max-width: 76px; }
.strip .card .tags { display: none; }
.strip .meta { margin-top: 2px; }

/* Accueil sans article */
.empty-home { padding: clamp(60px, 10vw, 120px) 0; display: grid; gap: 16px; max-width: 820px; }
.empty-home .section-title { font-size: clamp(3rem, 9vw, 7rem); }

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.stat { padding: 22px 18px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 900 clamp(2.6rem, 6vw, 4.6rem)/.9 var(--display); font-stretch: 62%; }
.stat > span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

/* Grande carte rouge (portraits, analyses) */
.feature { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 24px; align-items: stretch; }
.feature-red { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 22px; background: var(--red); color: #fff; border-radius: 6px; transition: transform .5s var(--ease), box-shadow .5s; }
.feature-red:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: 0 30px 50px rgba(212, 42, 23, .3); }
.feature-red h3 { margin: 0; color: #fff; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.02; }
.feature-red .standfirst, .feature-red .meta { color: #fff; }
.feature-red .pill { color: #fff; border-color: rgba(255, 255, 255, .7); }
.feature-red .pill::before { background-color: #131313; }
.feature-red .cover-link { height: 100%; }
.feature-red .cover { height: 100%; aspect-ratio: auto; min-height: 300px; box-shadow: 0 0 0 3px #131313; }
.feature-copy { display: flex; flex-direction: column; gap: 12px; justify-content: flex-end; }
.feature-red .t-link { color: #fff; }
.feature-solo { grid-template-columns: 1fr; }
.feature-solo .feature-red { grid-template-columns: 1.2fr 1fr; }

/* Bande « Et si… » */
.whatif-band { margin-top: clamp(40px, 6vw, 72px); padding: clamp(40px, 6vw, 72px) 0; background: var(--violet); color: #fff; position: relative; overflow: hidden; }
.whatif-band::before { content: "?"; position: absolute; right: 4vw; top: -6vw; font: 900 42vw/1 var(--display); font-stretch: 62%; color: rgba(255, 255, 255, .07); animation: float 9s ease-in-out infinite; }
.whatif-band .section-head { border-color: #fff; }
.whatif-band .section-title, .whatif-band a { color: #fff; }
.whatif-band .card .standfirst, .whatif-band .meta { color: rgba(255, 255, 255, .8); }
.whatif-band .cover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.whatif-band .pill-fiction { color: #fff; border-color: rgba(255, 255, 255, .7); }
.whatif-band .pill-fiction::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4.5v7l5.5-3.5z' fill='%234b3bd0'/%3E%3C/svg%3E"); }
.fiction-note { max-width: 720px; margin: 0 0 28px; font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.3; }

/* Agenda */
.agenda-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; border-top: 1px solid var(--rule); }
.agenda-item { scroll-snap-align: start; padding: 18px 18px 18px 0; border-right: 1px solid var(--rule); text-decoration: none; display: grid; gap: 8px; }
.agenda-item + .agenda-item { padding-left: 18px; }
.agenda-date { font: 900 3.2rem/.85 var(--display); font-stretch: 62%; text-transform: uppercase; }
.agenda-date small { display: block; font: 700 .74rem/1.4 var(--sans); letter-spacing: .1em; color: var(--red-ink); }
.agenda-item strong { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.1; }
.agenda-item:hover strong { color: var(--red-ink); }

/* Appel rouge */
.cta { margin: clamp(48px, 7vw, 88px) auto 0; }
.cta-inner { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 14px; padding: clamp(40px, 6vw, 64px) 24px; border-radius: 28px; background: var(--red); color: #fff; text-align: center; }
.cta-inner::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 50% 120%, rgba(255, 255, 255, .12) 0 2px, transparent 2px 26px); animation: breathe 8s ease-in-out infinite; }
.cta-inner > * { position: relative; }
.cta small { font-weight: 600; letter-spacing: .04em; }
.cta h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1; text-transform: uppercase; }

/* ---------- Pages intérieures ---------- */
.page-head { position: relative; padding: clamp(32px, 6vw, 72px) 0 18px; border-bottom: 2px solid var(--ink); margin-bottom: 32px; overflow: hidden; }
.page-head h1 { margin: 0; font: 900 clamp(2.8rem, 8vw, 6.4rem)/.84 var(--display); font-stretch: 62%; text-transform: uppercase; letter-spacing: -.005em; }
.page-head .lead { max-width: 720px; margin: 14px 0 0; }
.page-head .ghost { position: absolute; right: -1vw; bottom: -3vw; font: 900 clamp(5rem, 16vw, 15rem)/.8 var(--display); font-stretch: 62%; text-transform: uppercase; color: transparent;
    -webkit-text-stroke: 1px var(--rule); pointer-events: none; user-select: none; white-space: nowrap; z-index: -1; }
.empty { padding: 40px 0; font-family: var(--serif); font-size: 1.5rem; color: var(--ink-2); }
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--rule); }
.pager a { padding: 9px 18px; border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .85rem; transition: background .25s, color .25s; }
.pager a:hover { background: var(--ink); color: var(--paper); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips a { display: inline-block; padding: 6px 14px; border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .85rem; transition: background .25s, color .25s; }
.chips a:hover, .chips a[aria-current] { background: var(--ink); color: var(--paper); }
.prose { max-width: 720px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.1; margin: 36px 0 10px; }
.prose p, .prose li { font-size: 1.08rem; line-height: 1.7; }
.search-page { display: flex; gap: 10px; max-width: 720px; margin-bottom: 28px; }
.search-page label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.search-page .field { font-size: 1.15rem; padding: 14px 20px; }
.name-list { columns: 3; column-gap: 32px; padding: 0; list-style: none; }
.name-list li { break-inside: avoid; padding: 5px 0; border-bottom: 1px solid var(--rule); }
.legal dl, .facts { display: grid; grid-template-columns: 220px 1fr; gap: 10px 24px; }
.legal dt, .facts dt { font-weight: 700; }
.legal dd, .facts dd { margin: 0; }

/* ---------- Article ---------- */
.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 90; height: 3px; background: var(--red); transform-origin: left; transform: scaleX(var(--read, 0)); pointer-events: none; }
.story-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; padding: clamp(28px, 5vw, 56px) 0 32px;
    border-bottom: 2px solid var(--ink); }
.story-cover { border-radius: 4px; }
.story-cover .cover { aspect-ratio: 4 / 3.4; border-radius: 4px; }
.story-head { min-width: 0; }
.story-kicker { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.story h1 { margin: 18px 0 16px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: .98; letter-spacing: -.015em; }
.story .lead { margin: 0 0 18px; }
.byline { margin: 0; color: var(--ink-2); font-size: .85rem; }
.byline strong { color: var(--ink); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 72px); padding-top: 36px; }
.story-body { max-width: 680px; font-size: 1.14rem; line-height: 1.75; }
.story-body p:first-child::first-letter { float: left; margin: 6px 10px 0 0; font: 900 4.6rem/.75 var(--display); font-stretch: 62%; color: var(--red); }
.story-aside { display: grid; gap: 22px; align-content: start; position: sticky; top: 96px; }
.factbox { padding: 18px; background: var(--card); border-top: 4px solid var(--red); border-radius: 3px; }
.factbox h2, .story-aside h2 { margin: 0 0 12px; font: 800 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.factbox dl { display: grid; gap: 4px 12px; grid-template-columns: auto 1fr; margin: 0; font-size: .92rem; }
.factbox dt { color: var(--ink-2); }
.factbox dd { margin: 0; font-weight: 600; }
.results, .mentions, .sources { margin-top: 44px; }
.results h2, .mentions h2, .sources h2, .story-more h2 { font: 900 2rem/.9 var(--display); font-stretch: 62%; text-transform: uppercase; margin: 0 0 14px; }
.table { overflow-x: auto; border-top: 2px solid var(--ink); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 11px 10px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.medal { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.medal::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--rule); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2); }
.medal-gold::before { background: var(--gold); } .medal-silver::before { background: var(--silver); } .medal-bronze::before { background: var(--bronze); }
.mentions dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px 18px; }
.mentions dt { font-weight: 700; } .mentions dd { margin: 0; }
.sources ul { padding-left: 18px; }
.sources li { margin: 6px 0; }
.notice { margin: 24px 0 0; padding: 14px 18px; border-left: 4px solid var(--gold); background: color-mix(in srgb, var(--gold) 14%, var(--paper)); border-radius: 0 6px 6px 0; }
.retracted { margin: 28px 0 0; padding: 22px; border: 2px solid var(--red); border-radius: 6px; }
.retracted h2 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: 1.8rem; }
.whatif-banner { margin: 22px 0 0; padding: 14px 18px 14px 54px; position: relative; background: var(--violet-soft); color: var(--ink); border-radius: 10px; border: 1.5px solid var(--violet); }
.whatif-banner::before { content: "?"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--violet); color: #fff;
    display: grid; place-items: center; font: 900 1rem/1 var(--display); }
.story-whatif .story-body p:first-child::first-letter { color: var(--violet); }
.story-more { margin-top: clamp(48px, 7vw, 88px); }

/* ---------- Pied de page ---------- */
.footer { margin-top: clamp(56px, 8vw, 96px); background: var(--night); color: var(--on-night-2); padding: 56px 0 32px; position: relative; overflow: hidden; }
.footer a { color: var(--on-night); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid #2a2c32; }
.footer .logo { color: var(--on-night); font-size: 2.2rem; }
.footer .logo .belt { background: var(--on-night); }
.footer h2 { margin: 0 0 12px; font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-2); }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.footer-promise { max-width: 380px; margin: 14px 0 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; color: var(--on-night); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: .8rem; }
.footer-word { font: 900 clamp(4rem, 17vw, 16rem)/.78 var(--display); font-stretch: 62%; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px #2a2c32;
    margin: 28px 0 -0.12em; white-space: nowrap; user-select: none; }
.countries a[aria-current] { color: #fff; font-weight: 700; }
.countries a[aria-current]::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 8px; }

/* ---------- Compléments des pages intérieures ---------- */
.page-kicker { margin: 0 0 12px; font: 700 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink); }
.page-whatif .page-kicker { color: var(--violet); }
.page-head { isolation: isolate; }
.count-line { margin: 0 0 18px; font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.listing-lead { margin-bottom: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--rule); }
.listing-lead .card-lead { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.listing-lead .card-lead h3 { font-size: clamp(2rem, 4vw, 3.4rem); }
.count { display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; margin-left: 6px; padding: 0 .4em; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .72rem; font-weight: 700; }
.chips a:hover .count, .chips a[aria-current] .count { background: var(--red); color: #fff; }
.chips-big a { padding: 10px 18px; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.chips-filter { margin-bottom: 32px; }
.grid-round .card { align-items: center; text-align: center; }
.grid-round .card .cover-link { width: min(100%, 200px); }
.grid-round .tags { justify-content: center; }
.agenda-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.agenda-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); transition: background .3s; }
.agenda-list li:hover { background: var(--card); }
.agenda-what { display: grid; gap: 2px; }
.agenda-what strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.agenda-list .see-all { justify-self: end; text-align: right; text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 600; }
.names-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.names-grid .name-list { columns: 1; }
.name-list li { display: flex; justify-content: space-between; gap: 12px; }
.name-list a { text-decoration: none; }
.prose-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); }
.prose-toc { position: sticky; top: 96px; align-self: start; }
.prose-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; border-left: 2px solid var(--ink); }
.prose-toc li { counter-increment: toc; }
.prose-toc a { display: block; padding: 7px 0 7px 16px; text-decoration: none; font-weight: 600; font-size: .92rem; transition: color .2s, padding .3s var(--ease); }
.prose-toc a::before { content: counter(toc, decimal-leading-zero) " "; color: var(--red-ink); font-variant-numeric: tabular-nums; }
.prose-toc a:hover { padding-left: 22px; }
.prose h2:first-child { margin-top: 0; }
.prose h2 { scroll-margin-top: 90px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.contact-card { padding: clamp(24px, 4vw, 40px); background: var(--red); color: #fff; border-radius: 22px; }
.contact-card h2 { margin: 0 0 12px; font: 900 2.6rem/.9 var(--display); font-stretch: 62%; text-transform: uppercase; }
.contact-card .btn { background: #fff; color: var(--ink); overflow-wrap: anywhere; }
.contact-card .btn:hover { background: var(--ink); color: #fff; }
.aside-block h2 { margin: 0 0 10px; }
.aside-trust { padding: 16px 18px; border: 1.5px solid var(--ink); border-radius: 12px; }
.aside-trust p { margin: 0; font-size: .92rem; }
.story-whatif .aside-trust { border-color: var(--violet); }
.footer-note { margin: 0 0 10px; font-size: .85rem; }
.footer .logo .belt::after { background: var(--red); }
code { font-size: .9em; padding: .1em .35em; border-radius: 4px; background: var(--paper-2); }

/* ---------- Pages simples (erreurs, attente) ---------- */
body.plain { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.plain main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 16px; }
.plain .card { max-width: 680px; width: 100%; }
.plain .belt { width: 84px; height: 12px; margin-bottom: 32px; display: block; background: linear-gradient(90deg, var(--ink) 70%, var(--red) 70%); border-radius: 2px; }
.plain h1 { font: 900 clamp(3rem, 10vw, 6rem)/.86 var(--display); font-stretch: 62%; text-transform: uppercase; margin: 0 0 18px; }
.plain .tagline { font-family: var(--serif); font-size: clamp(1.3rem, 3.4vw, 1.8rem); line-height: 1.2; color: var(--ink-2); margin: 0 0 28px; }
.plain .status { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.plain .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: pulse 1.8s ease-in-out infinite; }
.plain ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.plain li { padding: 5px 12px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: .85rem; font-weight: 600; }
.plain footer { padding: 20px; text-align: center; color: var(--ink-2); font-size: .8rem; }

/* ---------- Révélations et animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Marges négatives : les accents des capitales (É, À) dépassent la hauteur de ligne serrée. */
.js .wipe { clip-path: inset(-30% 100% -30% 0); transition: clip-path 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .wipe.is-in, .js .is-active .wipe { clip-path: inset(-30% -2% -30% 0); }
.js .hero-slide .hero-copy > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .hero-slide.is-active .hero-copy > * { opacity: 1; transform: none; }
.js .hero-slide.is-active .hero-copy > :nth-child(2) { transition-delay: .12s; } .js .hero-slide.is-active .hero-copy > :nth-child(3) { transition-delay: .24s; }
.js .hero-slide.is-active .hero-copy > :nth-child(4) { transition-delay: .36s; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes kenburns { from { transform: scale(1.15) translate(2%, 1%); } to { transform: scale(1) translate(0, 0); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-12%); } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes curtain { from { clip-path: circle(0 at calc(100% - 60px) 40px); } to { clip-path: circle(150vmax at calc(100% - 60px) 40px); } }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(2vw) rotate(4deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: .6; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: .5; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
    .ticker-track { animation: none; }
    .js [data-reveal], .js .wipe, .js .hero-slide .hero-copy > * { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- Adaptations ---------- */
@media (min-width: 1101px) {
    .hero:has(.hero-side) .hero-copy { max-width: min(760px, calc(100% - 440px)); }
}
@media (max-width: 1360px) {
    .primary-nav li:nth-child(3), .primary-nav li:nth-child(6) { display: none; }
}
@media (max-width: 1180px) {
    .primary-nav { display: none; }
}
@media (max-width: 1100px) {
    .hero-side { display: none; }
    .mm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-news { grid-template-columns: 1fr 1fr; }
    .grid-news > *:first-child { grid-column: 1 / -1; padding-right: 0; border-right: 0; border-bottom: 1px solid var(--rule); }
    .grid-news > *:nth-child(2) { padding-left: 0; }
    .feature { grid-template-columns: 1fr 1fr; }
    .feature-red { grid-column: 1 / -1; order: -1; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .strip .card:nth-child(2) { border-right: 0; }
    .strip .card:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
    .names-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .topbar-links { display: none; }
    .masthead > .wrap { gap: 12px; min-height: 60px; }
    .logo { font-size: 1.3rem; }
    .icon-btn .label { display: none; }
    .mm-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .hero-slides { min-height: 600px; }
    .hero-slide { padding: 90px 0 178px; }
    .hero-dots { left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: auto; bottom: 104px; }
    .hero-dots button { width: 36px; height: 36px; }
    .strip { margin-top: -70px; }
    .strip-inner { grid-template-columns: 1fr; }
    .strip .card { border-right: 0; border-bottom: 1px solid var(--rule); }
    .strip .card:last-child { border-bottom: 0; }
    .grid-news { grid-template-columns: 1fr; }
    .grid-news > * { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .grid-4 > * { padding: 12px; }
    .grid-4 > *:nth-child(2n) { border-right: 0; }
    .grid-3 { grid-template-columns: 1fr; }
    .feature, .feature-red { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .stat { border-right: 0; border-bottom: 1px solid var(--rule); }
    .story-hero, .story-grid { grid-template-columns: 1fr; }
    .story-hero .cover { order: -1; aspect-ratio: 16 / 10; }
    .story-aside { position: static; }
    .footer-top { grid-template-columns: 1fr; }
    .name-list { columns: 1; }
    .legal dl, .facts, .mentions dl { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr; }
    .listing-lead .card-lead { grid-template-columns: 1fr; gap: 16px; }
    .agenda-list li { grid-template-columns: 76px minmax(0, 1fr); }
    .agenda-list .see-all { grid-column: 2; justify-self: start; text-align: left; }
    .names-grid, .prose-grid, .contact-grid { grid-template-columns: 1fr; }
    .prose-toc { position: static; }
    .feature-solo .feature-red { grid-template-columns: 1fr; }
    .grid-round .card .cover-link { width: min(100%, 150px); }
}
