/* Boussole · l'actu décodée pour la HGGSP
   Monde de la pochette : jaune pop, encre noire, badge violet, aiguille rouge,
   stickers blancs à ombre franche. La page d'accueil est un croquis du monde. */

@font-face { font-family: "Archivo Black"; src: url("/assets/fonts/archivo-black-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-latin-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-latin-var.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --yellow: #FFE14D;
  --sea: #FFD43B;
  --ink: #111111;
  --ink-2: #2A2A2A;
  --cream: #FFF8E0;
  --paper: #FFFFFF;
  --white: #FFFFFF;
  --purple: #6C2BD9;
  --lilac: #EFE6FF;
  --red: #FF3D57;
  --muted: #4B4636;
  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --radius: 20px;
  --display: "Archivo Black", "Arial Black", sans-serif;
  --text: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ui: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 44px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.3, 1.5, .5, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink) var(--yellow); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 18px; line-height: 1.6; font-optical-sizing: auto; overflow-x: clip; caret-color: var(--purple); }
::selection { background: var(--purple); color: var(--white); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--ink); color: var(--yellow); padding: 10px 16px; border-radius: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
::-webkit-scrollbar { width: 12px; } ::-webkit-scrollbar-track { background: var(--yellow); } ::-webkit-scrollbar-thumb { background: var(--ink); border: 3px solid var(--yellow); border-radius: 12px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 17px/1 var(--ui); text-decoration: none; border: var(--line); border-radius: 999px; padding: 14px 22px; box-shadow: var(--shadow-sm); transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: var(--shadow-sm); }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-ink { background: var(--ink); color: var(--yellow); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-lg { font-size: 18px; padding: 18px 26px; }
.btn-sm { font-size: 15px; padding: 10px 16px; box-shadow: 3px 3px 0 var(--ink); }
.btn-sm svg { width: 16px; height: 16px; }
.link-arrow { font: 700 16px var(--ui); text-decoration: underline; text-decoration-thickness: 2px; }
.link-arrow::after { content: " →"; }

.tag-hggsp { display: inline-block; background: var(--purple); color: var(--white); border: 4px solid var(--ink); border-radius: .22em; padding: .04em .26em .12em; box-shadow: 6px 6px 0 var(--ink); transform: rotate(-4deg); margin-left: .06em; }

/* ---------- Barre du haut ---------- */
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 12px var(--gutter); background: var(--yellow); border-bottom: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; }
.brand-needle { transition: transform .9s var(--spring); transform-origin: 0 0; }
.brand:hover .brand-needle { transform: rotate(45deg); }
.brand-word { font: 400 23px/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.nav { display: flex; gap: 26px; margin-left: auto; font: 700 16px var(--ui); }
.nav a { text-decoration: none; padding: 6px 0; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 3px no-repeat; transition: background-size .25s var(--ease-out); }
.nav a:hover { background-size: 100% 3px; }

/* ---------- Hero + carte ---------- */
.hero { background: var(--yellow); border-bottom: var(--line); padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(48px, 6vw, 80px); }
.hero-grid > * { min-width: 0; }
.hero-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { font: 400 clamp(44px, 4.9vw, 76px)/.98 var(--display); letter-spacing: -.03em; margin: 0 0 24px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 32em; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { font: 500 15px var(--ui); margin: 22px 0 0; color: var(--ink-2); }
.hero-meta a { font-weight: 700; }

.map-frame { position: relative; }
.map { position: relative; background: var(--sea); border: 4px solid var(--ink); border-radius: 28px; box-shadow: 12px 12px 0 var(--ink); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.map.is-zoomed { touch-action: none; cursor: grab; }
.map.is-dragging { cursor: grabbing; }
.map.is-dragging .pin { pointer-events: none; }
.map-inner { position: relative; }
.map-svg { width: 100%; height: auto; }
.map-sea { fill: var(--yellow); }
.map-grid { fill: none; stroke: var(--ink); stroke-opacity: .16; stroke-width: 1.2; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; }
.map-land { fill: var(--white); stroke: var(--ink); stroke-width: 1.1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.map-legend-row { display: none; }
.map-legend { position: absolute; right: 14px; bottom: 14px; z-index: 3; margin: 0; padding: 10px 12px; background: var(--white); border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); font: 700 12.5px/1.3 var(--ui); }
.ml-title { margin: 0 0 6px; font: 700 11.5px var(--ui); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.map-legend ul, .map-legend-row ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ml-btn { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: 2px solid transparent; border-radius: 999px; padding: 3px 10px 3px 4px; font: inherit; text-align: left; transition: background .15s, border-color .15s, opacity .15s; }
.ml-btn:hover { border-color: var(--ink); }
.ml-btn.is-on { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.is-filtered .ml-btn:not(.is-on), .map-legend-row:has(.is-on) .ml-btn:not(.is-on) { opacity: .55; }
.ml-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--tc); border: 2px solid var(--ink); flex: none; }
.ml-btn.is-on .ml-dot { border-color: var(--yellow); }
.ml-reset { margin-top: 6px; background: none; border: 0; padding: 2px 4px; font: 700 12.5px var(--ui); text-decoration: underline; text-underline-offset: .2em; }
.ml-reset[hidden] { display: none; }
.map-legend-row { display: none; }
.map-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.region { font: 700 14px var(--ui); background: var(--white); border: 2.5px solid var(--ink); border-radius: 999px; padding: 6px 13px; box-shadow: 2px 2px 0 var(--ink); transition: transform .15s var(--ease-out), background .15s; }
.region:hover { transform: translateY(-2px); }
.region.is-on { background: var(--ink); color: var(--yellow); }
.zoom { position: absolute; right: 14px; top: 14px; z-index: 3; display: grid; background: var(--white); border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); overflow: hidden; }
.z-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; }
.z-btn + .z-btn { border-top: 2px solid var(--ink); }
.z-btn svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; fill: none; }
.z-btn:hover:not(:disabled) { background: var(--yellow); }
.z-btn:disabled { opacity: .3; cursor: default; }
.map-hint { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 5; margin: 0; background: var(--ink); color: var(--yellow); font: 700 15px var(--ui); padding: 10px 16px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.map-hint.is-on { opacity: 1; }
.map-caption { font: 500 14px/1.4 var(--ui); margin: 22px 4px 0; color: var(--ink-2); max-width: 46em; }

.pins { position: absolute; inset: 0; }
.pin[hidden] { display: none; }
.pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, calc(-100% - var(--lift, 0px))); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 44px; min-height: 44px; gap: 0; background: none; border: 0; padding: 0; z-index: 2; transition: transform .35s var(--ease-out); }
.pin-label { position: absolute; bottom: 30px; left: 50%; translate: -50% 4px; opacity: 0; pointer-events: none; transition: opacity .2s, translate .25s var(--spring), background .2s, color .2s; order: -1; font: 700 13px/1.1 var(--ui); background: var(--white); border: 2.5px solid var(--ink); border-radius: 10px; padding: 5px 9px; box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; }
.pin.is-latest .pin-label, .pin:hover .pin-label, .pin:focus-visible .pin-label, .pin.is-active .pin-label { opacity: 1; translate: -50% 0; }
.pin.is-active .pin-label { opacity: 0 !important; }
.pins:has(.pin:hover, .pin:focus-visible, .pin.is-active) .pin.is-latest:not(:hover, :focus-visible, .is-active) .pin-label { opacity: 0; }
.pin-count { margin-left: 6px; background: var(--ink); color: var(--yellow); border-radius: 999px; padding: 0 6px; font-size: 11px; }
.pin-dot { width: 24px; height: 24px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--pc); border: 2.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); position: relative; }
.pin-dot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--ink); }
.pin:hover, .pin:focus-visible, .pin.is-active { --lift: 6px; z-index: 4; }
.pin.is-grouped .pin-dot { box-shadow: 2px 2px 0 var(--ink), 5px 5px 0 -1px var(--white), 5px 5px 0 1px var(--ink); }
.pin.is-grouped .pin-label { opacity: 1; translate: -50% 0; }
.pin:hover .pin-label, .pin:focus-visible .pin-label, .pin.is-active .pin-label { background: var(--ink); color: var(--yellow); }
.pin:focus-visible { outline: none; }
.pin:focus-visible .pin-label { outline: 3px solid var(--purple); outline-offset: 2px; }
.pin.is-latest { z-index: 3; }
.pin.is-latest .pin-dot { animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { box-shadow: 2px 2px 0 var(--ink), 0 0 0 0 rgba(255,61,87,.55); } 70%, 100% { box-shadow: 2px 2px 0 var(--ink), 0 0 0 14px rgba(255,61,87,0); } }

.compass { position: absolute; left: 2%; bottom: 4%; width: clamp(48px, 11%, 124px); z-index: 3; pointer-events: none; filter: drop-shadow(4px 4px 0 var(--ink)); }
.c-ring { fill: var(--cream); stroke: var(--ink); stroke-width: 6; }
.c-ticks path { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.c-n { font: 400 15px var(--display); fill: var(--red); text-anchor: middle; }
.c-needle { transform: rotate(var(--angle, -18deg)); transition: transform 1.1s var(--spring); }
.n-red { fill: var(--red); stroke: var(--ink); stroke-width: 3.5; stroke-linejoin: round; }
.n-white { fill: var(--white); stroke: var(--ink); stroke-width: 3.5; stroke-linejoin: round; }
.c-hub { fill: var(--ink); }

.pin-card { position: absolute; z-index: 8; width: min(300px, calc(100% - 24px)); background: var(--white); border: var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 16px 18px 14px; transform-origin: var(--ox, 50%) var(--oy, 100%); }
.pin-card:not([hidden]) { animation: pop .38s var(--spring); }
@keyframes pop { from { opacity: 0; transform: scale(.85) rotate(-2deg); } }
.pin-card-close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); display: grid; place-items: center; }
.pin-card-close svg, .p-close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; fill: none; }
.pin-card .ep-meta { padding-right: 40px; }
.pin-card-title { font: 800 19px/1.2 var(--text); margin: 2px 0 6px; letter-spacing: -.01em; }
.pin-card-title a { text-decoration: none; }
.pin-card-title a:hover { text-decoration: underline; }
.pin-card-sum { font-size: 15px; line-height: 1.45; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pin-card-more { font: 500 13.5px/1.45 var(--ui); margin: -4px 0 12px; }
.pin-card-more a { font-weight: 700; }
.pin-card-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Dernier épisode ---------- */
.latest-band { background: var(--ink); color: var(--white); border-bottom: var(--line); }
.latest { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; padding-block: 34px; }
.latest-label { font: 400 26px/1.05 var(--display); color: var(--yellow); margin: 0; transform: rotate(-3deg); }
.latest-card { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.latest-card h3 { font: 400 clamp(22px, 2.4vw, 32px)/1.1 var(--display); margin: 4px 0 8px; letter-spacing: -.01em; }
.latest-card h3 a { text-decoration: none; }
.latest-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.latest-card p { margin: 0 0 10px; color: #EDEDED; max-width: 62ch; }
.latest-card .ep-meta { color: #D9D9D9; }
.latest-empty p { margin: 0; color: #EDEDED; }
.latest-empty { grid-column: 1 / -1; }
.big-play { width: 88px; height: 88px; flex: none; border-radius: 50%; border: var(--line); background: var(--red); color: var(--white); box-shadow: 5px 5px 0 var(--yellow); display: grid; place-items: center; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.latest-band .big-play { border-color: var(--yellow); }
.big-play svg { width: 38px; height: 38px; fill: currentColor; }
.big-play .i-play { margin-left: 5px; }
.big-play:hover { transform: scale(1.06) rotate(-4deg); }
.big-play .i-pause, [data-play].is-playing .i-play { display: none; }
[data-play].is-playing .i-pause { display: block; }

/* ---------- Méta et badges ---------- */
.ep-meta { font: 500 14px var(--ui); color: var(--muted); margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.badge { font: 700 12.5px/1.5 var(--ui); border: 2px solid var(--ink); border-radius: 999px; padding: 0 10px; color: var(--ink); background: var(--yellow); letter-spacing: .01em; }
.b-soir { background: var(--purple); color: var(--white); }
.b-bilan { background: var(--red); color: var(--ink); }
.b-mensuel { background: var(--white); }
.tchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.tchip { display: inline-block; font: 700 13px/1.5 var(--ui); color: var(--tt); background: var(--tc); border: 2px solid var(--ink); border-radius: 999px; padding: 1px 10px; text-decoration: none; transition: transform .15s var(--ease-out); }
a.tchip:hover { transform: translateY(-2px) rotate(-2deg); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section-ink { background: var(--ink); color: var(--white); }
.section-cream { background: var(--lilac); border-block: var(--line); }
.section-purple { background: var(--purple); color: var(--white); border-top: var(--line); }
.h2 { font: 400 clamp(36px, 4.8vw, 64px)/1.02 var(--display); letter-spacing: -.028em; margin: 0 0 18px; }
.u { background: linear-gradient(transparent 60%, var(--yellow) 60% 90%, transparent 90%); padding-inline: .08em; }
.u-yellow { color: var(--yellow); }
.section-lead { font-size: clamp(18px, 1.7vw, 21px); max-width: 36em; margin: 0 0 48px; }

/* Journée : une frise, pas une grille de cartes */
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.track::before { content: ""; position: absolute; left: 32px; right: calc(25% - 32px); top: 30px; height: 0; border-top: 4px dashed var(--ink); z-index: 0; }
.stop { position: relative; z-index: 1; padding-right: clamp(16px, 2.4vw, 36px); }
.stop-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); border: var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease-out); }
.stop:hover .stop-icon { transform: rotate(-10deg) scale(1.06); }
.stop-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.s-purple { background: var(--purple); } .s-purple svg { stroke: var(--white); }
.s-red { background: var(--red); } .s-red svg { stroke: var(--white); }
.s-ink { background: var(--ink); } .s-ink svg { stroke: var(--yellow); }
.stop h3 { font: 400 25px/1.1 var(--display); margin: 22px 0 8px; letter-spacing: -.01em; }
.stop p { margin: 0; font-size: 17px; max-width: 30ch; }

/* Légende du croquis */
.legend-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.legend-intro .section-lead { color: #E6E6E6; margin-bottom: 0; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.legend-row { width: 100%; display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; text-align: left; background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.28); border-radius: 18px; padding: 12px 18px 12px 12px; transition: background .2s, border-color .2s, transform .2s var(--ease-out); }
.legend-row:hover, .legend-row:focus-visible { background: rgba(255,255,255,.08); border-color: var(--tc); transform: translateX(6px); }
.legend-swatch { width: 56px; height: 56px; border-radius: 14px; background: var(--tc); color: var(--tt); border: 3px solid var(--white); display: grid; place-items: center; font: 400 24px var(--display); box-shadow: 4px 4px 0 rgba(255,255,255,.9); }
.legend-text strong { display: block; font: 400 22px/1.1 var(--display); letter-spacing: -.01em; }
.legend-text span { display: block; font-size: 15.5px; color: #CFCFCF; line-height: 1.35; margin-top: 3px; }
.legend-count { font: 700 14px var(--ui); background: var(--white); color: var(--ink); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }

/* Épisodes */
.eps-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.eps-head .h2 { margin: 0; }
.count { display: inline-block; vertical-align: .35em; font: 700 18px/1 var(--ui); background: var(--ink); color: var(--yellow); border-radius: 999px; padding: 6px 12px; letter-spacing: 0; }
.search { display: flex; align-items: center; gap: 10px; background: var(--white); border: var(--line); border-radius: 999px; padding: 11px 18px; box-shadow: var(--shadow-sm); width: min(100%, 380px); }
.search:focus-within { box-shadow: var(--shadow); }
.search svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; flex: none; }
.search input { border: 0; outline: 0; background: transparent; font: 500 17px var(--ui); width: 100%; color: var(--ink); }
.search input::placeholder { color: #6E6750; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.chip { font: 700 15px var(--ui); background: var(--white); border: var(--line); border-radius: 999px; padding: 8px 16px; transition: transform .15s var(--ease-out), background .15s; }
.chip:hover { transform: translateY(-2px); }
.chip.is-on { background: var(--ink); color: var(--yellow); }
.active-theme { font: 700 15px var(--ui); margin: -10px 0 24px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.active-theme button { border: 2px solid var(--ink); background: var(--white); border-radius: 999px; padding: 3px 12px; font-weight: 700; }
.ep-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ep { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; padding: 22px 24px; background: var(--white); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.ep:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.ep:target, .ep.is-target { box-shadow: 8px 8px 0 var(--purple); }
.ep[hidden] { display: none; }
.ep-play { width: 60px; height: 60px; border-radius: 50%; border: var(--line); background: var(--yellow); display: grid; place-items: center; box-shadow: 3px 3px 0 var(--ink); transition: transform .2s var(--ease-out), background .15s; }
.ep-play svg { width: 24px; height: 24px; fill: var(--ink); }
.ep-play .i-play { margin-left: 3px; }
.ep-play .i-pause { display: none; }
.ep-play:hover { transform: scale(1.08) rotate(-6deg); }
.ep-play.is-playing { background: var(--red); }
.ep-play.is-playing svg { fill: var(--white); }
.ep h3 { font: 800 clamp(19px, 1.9vw, 23px)/1.22 var(--text); margin: 2px 0 6px; letter-spacing: -.012em; }
.ep h3 a { text-decoration: none; }
.ep h3 a:hover { text-decoration: underline; }
.ep-sum { margin: 0 0 8px; font-size: 16.5px; color: var(--ink-2); max-width: 72ch; }
.ep-place { display: inline-flex; align-items: center; gap: 6px; }
.ep-place::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); border: 1.5px solid var(--ink); }
.empty { font: 500 16px var(--ui); color: var(--muted); margin: 0; }
.more { display: flex; justify-content: center; margin-top: 32px; }

/* Histoire */
.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.story-text p { font-size: 19.5px; max-width: 34em; }
.story-punch { font: 800 24px/1.3 var(--text) !important; }
.ai { background: var(--white); border: var(--line); border-radius: 22px; box-shadow: 8px 8px 0 var(--purple); padding: 30px 28px; transform: rotate(1.2deg); }
.ai h3 { font: 400 26px var(--display); margin: 0 0 10px; }
.ai p, .ai li { font-size: 16.5px; }
.ai ul { padding-left: 20px; margin: 8px 0 14px; }
.ai li::marker { color: var(--purple); }

/* FAQ */
.faq { max-width: 900px; }
.faq details { background: var(--white); border: var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); margin: 0 0 14px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 60px 18px 22px; font: 800 19px/1.3 var(--text); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; translate: 0 -50%; border-radius: 50%; border: 2px solid var(--ink); background-color: var(--yellow); background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)); background-size: 12px 2.5px, 2.5px 12px; background-position: center; background-repeat: no-repeat; transition: rotate .25s var(--ease-out); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0; padding: 0 22px 20px; max-width: 70ch; }

/* Abonnement */
.sub .section-lead { color: var(--lilac); }
.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 30px; }
.platform { display: flex; align-items: center; gap: 12px; background: var(--white); color: var(--ink); border: var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); text-decoration: none; font: 700 17px/1.15 var(--ui); transition: transform .2s var(--ease-out), box-shadow .2s; }
a.platform:hover { transform: translate(-2px, -3px) rotate(-1deg); box-shadow: 8px 9px 0 var(--ink); }
.platform svg { width: 40px; height: 40px; flex: none; }
.platform small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); margin-top: 3px; }
.platform.is-soon { box-shadow: var(--shadow-sm); }
.platform.is-soon small { color: var(--purple); font-weight: 700; }
.rss { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font: 500 16px var(--ui); }
.rss code { background: rgba(255,255,255,.12); border: 2px dashed rgba(255,255,255,.7); border-radius: 10px; padding: 6px 12px; font: 500 15px var(--ui); word-break: break-all; }

/* Pied de page */
.footer { background: var(--ink); color: #E6E6E6; padding: 56px 0 64px; }
body.has-player .footer { padding-bottom: 150px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.foot-brand { font: 400 30px var(--display); color: var(--yellow); margin: 0 0 6px; text-transform: uppercase; }
.foot p { margin: 0; }
.foot-links { display: flex; flex-direction: column; gap: 10px; font-family: var(--ui); max-width: 480px; }
.foot-links a { color: var(--white); }
.legal summary { cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.legal p { font-size: 14px; color: #BDBDBD; margin: 8px 0 0; }

/* ---------- Lecteur ---------- */
.player { position: fixed; left: 50%; bottom: 16px; translate: -50% 0; z-index: 60; width: min(calc(100% - 24px), 920px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--ink); color: var(--white); border: 3px solid var(--ink); border-radius: 22px; padding: 12px 16px; box-shadow: 6px 6px 0 var(--yellow); }
.player[hidden] { display: none; }
.player:not([hidden]) { animation: rise .5s var(--ease-out); }
@keyframes rise { from { translate: -50% 140%; } }
.p-play { width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--yellow); background: var(--yellow); display: grid; place-items: center; }
.p-play svg { width: 26px; height: 26px; fill: var(--ink); }
.p-play .i-play { margin-left: 3px; }
.p-play .i-pause, .player.is-playing .p-play .i-play { display: none; }
.player.is-playing .p-play .i-pause { display: block; }
.p-title { margin: 0 0 4px; font: 800 16px/1.3 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-title a { color: var(--white); text-decoration: none; }
.p-title a:hover { text-decoration: underline; }
.p-bar { display: flex; align-items: center; gap: 10px; font: 500 13px var(--ui); }
.p-time { font-variant-numeric: tabular-nums; min-width: 38px; }
#p-seek { flex: 1; min-width: 0; accent-color: var(--yellow); }
.p-tools { display: flex; gap: 6px; }
.p-btn { background: transparent; border: 2px solid rgba(255,255,255,.45); color: var(--white); border-radius: 999px; font: 700 14px var(--ui); padding: 7px 11px; min-width: 44px; min-height: 40px; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.p-btn:hover { border-color: var(--yellow); color: var(--yellow); }
.toast { position: fixed; left: 50%; top: 86px; translate: -50% 0; z-index: 70; background: var(--ink); color: var(--yellow); font: 700 15px var(--ui); border-radius: 999px; padding: 10px 18px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.toast.is-on { opacity: 1; }

/* ---------- Page épisode ---------- */
.ep-hero { background: var(--yellow); border-bottom: var(--line); padding-block: clamp(36px, 5vw, 72px); }
.crumbs { font: 500 15px var(--ui); margin: 0 0 18px; }
.crumbs a { text-decoration: none; border-bottom: 2px solid; }
.ep-hero .ep-meta { color: var(--ink-2); }
.ep-hero h1 { font: 400 clamp(34px, 4.8vw, 62px)/1.03 var(--display); letter-spacing: -.028em; margin: 14px 0 18px; max-width: 20em; }
.ep-hero .lead { margin-bottom: 18px; max-width: 40em; }
.ep-hero-play { display: flex; align-items: center; gap: 22px; margin-top: 8px; }
.ep-hero-listen { display: block; font: 700 17px var(--ui); margin-bottom: 6px; }
.ep-hero-play .big-play { width: 120px; height: 120px; box-shadow: 7px 7px 0 var(--ink); }
.ep-hero-play .big-play svg { width: 50px; height: 50px; }
.ep-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); padding-block: clamp(44px, 6vw, 80px); align-items: start; }
.transcript h2 { font: 400 34px var(--display); margin: 0 0 6px; }
.transcript .note { font: 500 15px var(--ui); color: var(--muted); margin: 0 0 30px; }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; margin: 0 0 16px; }
.who { font: 700 14px var(--ui); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 0; text-align: center; height: fit-content; margin-top: 4px; }
.who:empty { border: 0; }
.who-lea { background: var(--yellow); }
.who-hugo { background: var(--purple); color: var(--white); }
.line p { margin: 0; font-size: 18.5px; max-width: 68ch; }
.side { position: sticky; top: 100px; display: grid; gap: 22px; }
.card { background: var(--white); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.side h2 { font: 400 21px var(--display); margin: 0 0 12px; }
.side p { margin: 10px 0 0; font-size: 16px; }
.mini-map { position: relative; border: 3px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--sea); }
.mini-pin { position: absolute; left: var(--x); top: var(--y); width: 18px; height: 18px; translate: -50% -50%; border-radius: 50%; background: var(--red); border: 3px solid var(--ink); box-shadow: 0 0 0 6px rgba(255,61,87,.3); }
.platforms-compact { grid-template-columns: 1fr; gap: 2px; margin: 14px 0 16px; }
.platforms-compact .platform { padding: 6px 0; font-size: 15px; background: none; border: 0; border-radius: 0; box-shadow: none; gap: 10px; }
.platforms-compact a.platform:hover { transform: translateX(4px); box-shadow: none; }
.lost .platforms-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: center; }
.platforms-compact .platform svg { width: 28px; height: 28px; }
.platforms-compact .platform small { font-size: 11.5px; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.pn a { display: block; text-decoration: none; padding: 16px 18px; border: var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); background: var(--white); font-weight: 800; line-height: 1.3; transition: transform .2s var(--ease-out), box-shadow .2s; }
.pn a:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.pn small { display: block; font: 700 13px var(--ui); color: var(--muted); margin-bottom: 4px; }
.pn .next { text-align: right; grid-column: 2; }

/* 404 */
.lost { background: var(--yellow); min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.lost-inner { display: grid; justify-items: center; }
.lost-compass { width: 140px; filter: drop-shadow(6px 6px 0 var(--ink)); }
.lost-needle { animation: lost 3.2s var(--ease-out) infinite; transform-origin: 0 0; }
@keyframes lost { 0% { transform: rotate(0); } 25% { transform: rotate(160deg); } 45% { transform: rotate(80deg); } 70% { transform: rotate(250deg); } 100% { transform: rotate(360deg); } }
.lost h1 { font: 400 clamp(36px, 5vw, 64px)/1.05 var(--display); letter-spacing: -.02em; margin: 30px 0 12px; }
.lost .platforms { max-width: 720px; margin-top: 30px; }

/* ---------- Pages thèmes ---------- */
a.legend-row { text-decoration: none; }
.legend-more { color: #CFCFCF; max-width: 36em; margin: 18px 0 0; font-size: 17px; }
.foot-themes { margin-top: 22px; }
.foot-themes ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; font-family: var(--ui); font-size: 15px; }
.foot-themes a { color: var(--white); }
.th-hero { background: var(--yellow); border-bottom: var(--line); padding-block: clamp(36px, 5vw, 72px); }
.th-title { display: flex; align-items: flex-start; gap: 18px; margin: 10px 0 18px; font-size: clamp(38px, 5.4vw, 70px); }
.th-hero h1 { font: 400 1em/1 var(--display); letter-spacing: -.028em; margin: .08em 0 0; }
.th-num { flex: none; display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: 12px; background: var(--tc); color: var(--tt); border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); transform: rotate(-4deg); font-size: .8em; }
.th-long { display: block; font: 800 clamp(22px, 2.6vw, 32px)/1.2 var(--text); letter-spacing: -.01em; margin-top: 12px; max-width: 26em; }
.th-meta { font: 700 15px var(--ui); margin: 0; }
.th-body { display: grid; gap: clamp(44px, 6vw, 72px); padding-block: clamp(44px, 6vw, 80px); max-width: 980px; }
.th-block h2, .th-sub h2 { font: 400 clamp(28px, 3.4vw, 40px)/1.05 var(--display); letter-spacing: -.02em; margin: 0 0 8px; }
.th-block .note { font: 500 15px var(--ui); color: var(--muted); margin: 0 0 22px; }
.th-axes { list-style: none; counter-reset: axe; margin: 0; padding: 0; display: grid; gap: 12px; }
.th-axes li { counter-increment: axe; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; font-size: 19px; font-weight: 700; }
.th-axes li::before { content: counter(axe); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); border: var(--line); box-shadow: 3px 3px 0 var(--ink); font: 400 20px var(--display); }
.notions { margin: 0; display: grid; gap: 0; border-top: var(--line); }
.notion { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 8px 28px; padding: 18px 0; border-bottom: 2px solid #E6E0CC; }
.notion dt { font: 400 21px/1.2 var(--display); letter-spacing: -.01em; }
.notion dd { margin: 0; font-size: 17.5px; max-width: 62ch; }
.th-others { gap: 10px; }
.th-others .tchip { font-size: 15px; padding: 5px 14px; }
.th-sub { box-shadow: 8px 8px 0 var(--purple); }
.th-sub p { margin: 0 0 6px; max-width: 60ch; }
@media (max-width: 760px) {
  .notion { grid-template-columns: 1fr; }
  .th-axes li { font-size: 17px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { max-width: 760px; }
  .track { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .track::before { display: none; }
  .legend-wrap, .story { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ep-page { grid-template-columns: 1fr; }
  .side { position: static; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .topbar .btn { margin-left: auto; }
  .latest { grid-template-columns: 1fr; gap: 14px; }
  .latest-card { grid-template-columns: 1fr; gap: 16px; }
  .ep-hero-play .big-play { width: 88px; height: 88px; }
  .pin-label { font-size: 11px; padding: 3px 6px; border-width: 2px; }
  .pin-dot { width: 18px; height: 18px; }
  .pin-dot::after { inset: 4.5px; }
  .map { border-radius: 18px; box-shadow: 7px 7px 0 var(--ink); }
  .pin-card { position: fixed; left: 12px !important; right: 12px; top: auto !important; bottom: 12px; width: auto; max-height: 52vh; overflow: auto; z-index: 65; }
  .map { aspect-ratio: 4 / 3; }
  .map-inner { position: absolute; width: 175%; left: -48%; top: 0; }
  .compass { width: 54px; left: 10px; bottom: 10px; }
  .map-legend { display: none; }
  .map-legend-row { display: block; margin: 16px 0 0; font: 700 13px/1.3 var(--ui); }
  .map-legend-row ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .map-legend-row .ml-btn { width: auto; border-color: var(--ink); background: var(--white); padding: 5px 12px 5px 6px; }
  .map-legend-row .ml-btn.is-on { background: var(--ink); }
  .map-toolbar { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 14px; padding: 2px 16px 6px; scrollbar-width: none; }
  .map-toolbar::-webkit-scrollbar { display: none; }
  .region { flex: none; }
  .zoom { right: 10px; top: 10px; }
  .z-btn { width: 40px; height: 40px; }
  .ep-hero-play { gap: 16px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 56px); }
  .hero-cta .btn { width: 100%; }
  .track, .platforms { grid-template-columns: 1fr; }
  .stop { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; }
  .stop-icon { grid-row: span 2; }
  .stop h3 { margin-top: 4px; }
  .legend-row { grid-template-columns: 44px 1fr; }
  .legend-swatch { width: 44px; height: 44px; font-size: 19px; }
  .legend-count { grid-column: 2; justify-self: start; }
  .ep { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .player { grid-template-columns: auto minmax(0, 1fr); bottom: 10px; padding: 10px 12px; }
  .p-tools { grid-column: 1 / -1; justify-content: space-between; }
  .line { grid-template-columns: 1fr; gap: 4px; }
  .who { width: 64px; }
  .pn { grid-template-columns: 1fr; }
  .pn .next { grid-column: auto; }
  .platforms-compact { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
