/* JH Seven · maquette ISHTAR · feuille de style
   Système : noir tunnel, blanc craie, un seul accent (l'or du 7). Anybody (titres, axes largeur et graisse),
   Inter Tight (texte), Instrument Serif (citations, écho du monogramme). */

@font-face { font-family: "Anybody"; src: url("../fonts/anybody-latin-standard-normal.woff2") format("woff2-variations"), url("../fonts/anybody-latin-standard-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 150%; font-style: normal; font-display: swap; 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: "Anybody"; src: url("../fonts/anybody-latin-ext-standard-normal.woff2") format("woff2-variations"), url("../fonts/anybody-latin-ext-standard-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 150%; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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: "Anybody"; src: url("../fonts/anybody-latin-standard-italic.woff2") format("woff2-variations"), url("../fonts/anybody-latin-standard-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 150%; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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: "Inter Tight"; src: url("../fonts/inter-tight-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-tight-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0100-02BA,U+1E00-1E9F; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #070708;
  --bg-1: #0d0d0f;
  --bg-2: #15151a;
  --bg-3: #1d1d23;
  --line: rgba(243, 240, 232, .1);
  --line-2: rgba(243, 240, 232, .2);
  --chalk: #f3f0e8;
  --chalk-2: #d8d3c7;
  --muted: #9b968b;
  --gold: #e2b95c;
  --gold-2: #b98a3a;
  --gold-3: #f6dfa0;
  --gold-ink: #1a1408;
  --foil: linear-gradient(115deg, #7a5a22 0%, #e2b95c 20%, #fff3cf 36%, #b98a3a 52%, #f6dfa0 70%, #8a6526 100%);
  --font-display: "Anybody", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--chalk);
  font-family: var(--font-text); font-size: clamp(15px, 1.05vw + 10px, 18px); line-height: 1.55; font-weight: 400;
  overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.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; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--gold-ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }

/* grain discret sur toute la page */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* ---------- typographie ---------- */
.display { font-family: var(--font-display); font-weight: 860; font-stretch: 58%; text-transform: uppercase; line-height: .84; letter-spacing: -.005em; margin: 0; }
.eyebrow { font-family: var(--font-display); font-stretch: 100%; font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.lead { font-size: clamp(17px, 1.2vw + 10px, 22px); color: var(--chalk-2); max-width: 46ch; margin: 18px 0 0; line-height: 1.5; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.gold { color: var(--gold); }
.foil-text { background: var(--foil); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.section { position: relative; padding: clamp(84px, 10vw, 150px) var(--gutter); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.section-head { display: grid; gap: 0; margin-bottom: clamp(40px, 6vw, 80px); }
.section-title { font-size: clamp(54px, 9.6vw, 168px); }
.split-line { display: block; }
/* SplitText enveloppe chaque ligne dans un masque (overflow: clip) : on l'agrandit pour ne pas couper les accents (É, Í, Ó) */
.split-line-mask { display: block; padding: .16em 0 .06em; margin: -.16em 0 -.06em; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 120; background: var(--bg); display: grid; place-items: center; transition: opacity .7s var(--ease), visibility .7s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-inner { display: grid; justify-items: center; gap: 22px; }
.loader-logo { width: clamp(96px, 16vw, 150px); color: var(--gold); }
.loader-logo svg { width: 100%; height: auto; overflow: visible; }
.loader-logo path { fill: transparent; stroke: var(--gold); stroke-width: 30;stroke-dasharray: var(--len, 20000); stroke-dashoffset: var(--len, 20000); animation: draw 1.5s var(--ease) forwards, fill .6s 1.1s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill { to { fill: var(--gold); stroke-width: 0; } }
.loader-bar { width: 120px; height: 1px; background: var(--line-2); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .2s; }
.loader-label { font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }

/* ---------- navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--nav-h); display: flex; align-items: center; gap: 20px; padding: 0 var(--gutter); transition: background .4s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(7, 7, 8, .72); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.nav-logo { width: 38px; color: var(--gold); flex: none; }
.nav-logo svg { width: 100%; height: auto; }
.nav-links { display: flex; gap: clamp(14px, 2vw, 30px); margin-left: auto; }
.nav-links a { font-family: var(--font-display); font-stretch: 92%; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--chalk-2); position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav-links a:hover, .nav-links a.is-active { color: var(--chalk); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.langs { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.langs button { font-family: var(--font-display); font-weight: 650; font-size: 11px; letter-spacing: .12em; padding: 6px 9px; border-radius: 999px; color: var(--muted); transition: background .3s, color .3s; min-width: 34px; }
.langs button[aria-pressed="true"] { background: var(--chalk); color: var(--bg); }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--chalk-2); transition: border-color .3s, color .3s, background .3s; }
.icon-btn:hover { color: var(--gold); border-color: var(--gold); }
.icon-btn[aria-pressed="true"] { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); }
.icon-btn svg { width: 18px; height: 18px; }
.burger { display: none; }
.menu { position: fixed; inset: 0; z-index: 79; background: rgba(7, 7, 8, .97); display: grid; align-content: center; padding: 90px var(--gutter) 40px; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu a { font-family: var(--font-display); font-weight: 860; font-stretch: 58%; font-size: clamp(48px, 14vw, 96px); line-height: .95; text-transform: uppercase; }
.menu a span { color: var(--gold); font-size: .3em; vertical-align: top; margin-right: 10px; font-stretch: 100%; }
.menu .langs { justify-self: start; margin-top: 26px; }

/* minute de jeu (progression) */
.minute { position: fixed; right: var(--gutter); bottom: 18px; z-index: 70; display: flex; align-items: baseline; gap: 8px; padding: 8px 14px 7px; border-radius: 999px; background: rgba(7, 7, 8, .62); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: var(--font-display); pointer-events: none; color: var(--chalk); opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease-out); }
.minute.is-on { opacity: 1; transform: none; }
.minute b { font-weight: 800; font-stretch: 70%; font-size: 18px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--gold); min-width: 3.2ch; text-align: right; }
.minute small { font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

/* ---------- 1. le tunnel ---------- */
.tunel { position: relative; height: 430svh; background: #000; }
.tunel-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.tunel-canvas, .tunel-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tunel-poster { z-index: 0; }
.tunel-canvas { z-index: 1; }
.tunel-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 35%, rgba(0, 0, 0, .55) 75%, rgba(0, 0, 0, .92) 100%), linear-gradient(to top, rgba(0, 0, 0, .7), transparent 32%); }
.tunel-bloom { position: absolute; inset: 0; z-index: 3; background: radial-gradient(60% 55% at 50% 52%, #fff 0%, #f3f6ff 40%, rgba(240, 245, 255, .85) 100%); opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.tunel-ui { position: absolute; inset: 0; z-index: 4; display: grid; padding: calc(var(--nav-h) + 24px) var(--gutter) 64px; }
.tunel-title { align-self: end; justify-self: start; max-width: 100%; }
.tunel-title .eyebrow { color: var(--chalk-2); }
.tunel-title h1 { font-size: clamp(64px, 15.5vw, 260px); }
.tunel-title h1 .l2 { color: var(--gold); display: block; }
.tunel-title p:not(.eyebrow) { margin: 22px 0 0; max-width: 36ch; color: var(--chalk-2); font-size: clamp(15px, 1.1vw + 9px, 20px); }
.cue { position: absolute; right: var(--gutter); bottom: 34px; display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--chalk-2); }
.cue i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); display: block; position: relative; overflow: hidden; }
.cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }
.manifesto { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 0 var(--gutter); pointer-events: none; }
.manifesto p { grid-area: 1 / 1; margin: 0; text-align: center; font-family: var(--font-serif); font-style: italic; font-size: clamp(34px, 6.2vw, 104px); line-height: 1.02; max-width: 15ch; opacity: 0; text-shadow: 0 2px 40px rgba(0, 0, 0, .65); }
.manifesto p.strong { font-family: var(--font-display); font-style: normal; font-weight: 860; font-stretch: 60%; text-transform: uppercase; color: var(--gold); font-size: clamp(40px, 8vw, 132px); line-height: .9; max-width: 13ch; }
.tunel-end { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; padding: 0 var(--gutter); opacity: 0; pointer-events: none; }
.tunel-end p { margin: 0; font-family: var(--font-display); font-weight: 860; font-stretch: 58%; text-transform: uppercase; font-size: clamp(56px, 11vw, 190px); line-height: .86; color: #0b0b0c; text-align: center; text-wrap: balance; }

/* ---------- 2. la promesse ---------- */
.promesa { background: radial-gradient(90% 60% at 50% 0%, rgba(226, 185, 92, .08), transparent 60%), var(--bg); }
.promesa-quote { font-family: var(--font-serif); font-style: italic; font-size: clamp(30px, 4.4vw, 74px); line-height: 1.08; margin: 0; max-width: 24ch; color: var(--chalk); }
.promesa-quote::before { content: "\201C"; color: var(--gold); margin-right: .05em; }
.promesa-quote::after { content: "\201D"; color: var(--gold); }
.promesa-by { margin: 22px 0 0; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.promesa-by svg { width: 28px; color: var(--gold); }
.stats { margin-top: clamp(64px, 9vw, 130px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 30px 24px 0 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 24px; }
.stat b { display: block; font-family: var(--font-display); font-weight: 860; font-stretch: 62%; font-size: clamp(80px, 11vw, 190px); line-height: .82; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 14px; color: var(--chalk-2); max-width: 16ch; font-size: 15px; }
.promesa-city { margin-top: 40px; font-family: var(--font-display); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ---------- 3. los nuestros ---------- */
.jugadores { background: #050506; overflow: hidden; }
.jugadores::before { content: ""; position: absolute; inset: 0; background: url("../img/amb-estadio.webp") center 30% / cover no-repeat; opacity: .16; mask-image: linear-gradient(#000, transparent 55%); -webkit-mask-image: linear-gradient(#000, transparent 55%); pointer-events: none; }
.roster-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px; }
.controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 34px; }
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; }
.seg button { padding: 10px 18px; border-radius: 999px; font-family: var(--font-display); font-weight: 650; font-stretch: 96%; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--chalk-2); transition: background .35s var(--ease), color .35s; }
.seg button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--chalk-2); transition: border-color .3s, color .3s, background .3s; }
.chips button[aria-pressed="true"] { border-color: var(--chalk); color: var(--bg); background: var(--chalk); }
.gyro-btn { display: none; align-items: center; gap: 8px; font-size: 13px; color: var(--gold); border: 1px dashed rgba(226, 185, 92, .5); border-radius: 999px; padding: 9px 14px; }
.has-gyro .gyro-btn { display: inline-flex; }

.views { position: relative; margin-top: clamp(36px, 5vw, 64px); }
.album { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 28px); }
.album[hidden], .pizarra[hidden] { display: none; }

/* la carte JH Seven (notre format : 5/7, liseré d'or, numéro géant, reflet holographique) */
.card { --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg; --o: 0; position: relative; aspect-ratio: 5 / 7; border-radius: 18px; perspective: 900px; cursor: pointer; transition: opacity .4s, filter .4s; text-align: left; width: 100%; }
.card.is-out { opacity: .14; filter: grayscale(1); pointer-events: none; }
.card-in { position: absolute; inset: 0; border-radius: inherit; transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .6s var(--ease-out), box-shadow .6s; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(226, 185, 92, .35); overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, #2a2318 0%, #121214 45%, #0a0a0b 100%); }
.card.is-tilting .card-in { transition: transform .08s linear; }
.card-in::before { content: ""; position: absolute; inset: 9px; border-radius: 12px; border: 1px solid rgba(226, 185, 92, .45); z-index: 4; pointer-events: none; }
.card-num { position: absolute; right: -4%; top: 2%; z-index: 0; font-family: var(--font-display); font-weight: 900; font-stretch: 50%; font-size: clamp(120px, 15vw, 230px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(226, 185, 92, .45); letter-spacing: -.04em; }
.card-num.is-mono { right: 6%; top: 6%; width: 52%; -webkit-text-stroke: 0; opacity: .1; color: var(--gold); }
.card-img { position: absolute; left: 50%; bottom: 23%; z-index: 1; height: 74%; width: auto; max-width: 118%; transform: translateX(-50%) translateZ(30px); filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55)); transition: opacity .6s var(--ease); }
.card-img.color { opacity: 0; }
.card:hover .card-img.color, .card:focus-visible .card-img.color, .card.is-tilting .card-img.color { opacity: 1; }
.card.photo .card-img { left: 0; bottom: 0; top: 0; width: 100%; height: 100%; max-width: none; transform: none; object-fit: cover; object-position: 50% 22%; filter: none; mask-image: linear-gradient(to top, transparent 22%, #000 52%); -webkit-mask-image: linear-gradient(to top, transparent 22%, #000 52%); }
.card-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 36%; z-index: 2; background: linear-gradient(to top, #0a0a0b 46%, rgba(10, 10, 11, .8) 70%, transparent); }
.card-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 0 20px 20px; transform: translateZ(40px); }
.card-top { position: absolute; left: 20px; right: 20px; top: 20px; z-index: 5; display: flex; justify-content: space-between; align-items: flex-start; font-family: var(--font-display); }
.card-pos { font-weight: 800; font-stretch: 70%; font-size: 26px; line-height: .9; color: var(--gold); letter-spacing: .02em; }
.flag { width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .4); flex: none; }
.card-top .flag { width: 28px; height: 19px; margin-top: 2px; }
.card-name { font-family: var(--font-display); font-weight: 860; font-stretch: 58%; text-transform: uppercase; line-height: .86; margin: 0; }
.card-name small { display: block; font-size: clamp(12px, 1vw, 15px); font-weight: 600; font-stretch: 90%; letter-spacing: .1em; color: var(--chalk-2); margin-bottom: 4px; }
.card-name span { display: block; font-size: clamp(30px, 3.2vw, 46px); }
.card-club { margin-top: 10px; display: flex; justify-content: space-between; gap: 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line-2); padding-top: 10px; }
.card-club b { color: var(--chalk); font-weight: 600; }
.card-holo { position: absolute; inset: 0; z-index: 6; border-radius: inherit; pointer-events: none; opacity: var(--o); mix-blend-mode: color-dodge; background:
  radial-gradient(farthest-corner circle at var(--mx) var(--my), rgba(255, 245, 210, .55) 0%, rgba(255, 220, 140, .18) 26%, transparent 60%),
  repeating-linear-gradient(115deg, rgba(255, 0, 132, .0) 0%, rgba(255, 196, 80, .22) 8%, rgba(92, 255, 214, .16) 16%, rgba(120, 140, 255, .18) 24%, rgba(255, 0, 132, .0) 32%);
  background-size: 100% 100%, 260% 260%; background-position: center, var(--mx) var(--my); transition: opacity .5s; }
.card-glare { position: absolute; inset: 0; z-index: 7; border-radius: inherit; pointer-events: none; opacity: calc(var(--o) * .8); background: radial-gradient(farthest-corner circle at var(--mx) var(--my), rgba(255, 255, 255, .28), transparent 45%); mix-blend-mode: overlay; }
.card-intl { position: absolute; left: 20px; top: 56px; z-index: 5; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); background: var(--foil); padding: 4px 7px; border-radius: 4px; }

/* la pizarra */
.pizarra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: clamp(24px, 4vw, 64px); align-items: center; }
.pitch { position: relative; aspect-ratio: 68 / 100; max-height: 82svh; justify-self: center; width: min(100%, 560px); border-radius: 14px; overflow: hidden; background:
  repeating-linear-gradient(0deg, #0d1a12 0 8.33%, #0f1d14 8.33% 16.66%); box-shadow: inset 0 0 0 1px rgba(243, 240, 232, .1), 0 40px 80px -40px #000; }
.pitch svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.pitch svg.lines * { fill: none; stroke: rgba(243, 240, 232, .55); stroke-width: .35; vector-effect: non-scaling-stroke; }
.slot { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; width: 92px; text-align: center; }
.slot-face { width: 62px; height: 62px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); background: #1a1a1d; box-shadow: 0 10px 24px rgba(0, 0, 0, .5); transition: transform .4s var(--ease-out); }
.slot-face img { width: 100%; height: 160%; object-fit: cover; object-position: 50% 0; }
.slot:hover .slot-face { transform: scale(1.08); }
.slot-name { font-family: var(--font-display); font-weight: 800; font-stretch: 70%; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; line-height: 1; text-shadow: 0 2px 8px #000; }
.slot-pos { font-size: 10px; letter-spacing: .14em; color: var(--gold); font-weight: 700; }
.slot.open .slot-face { border: 2px dashed rgba(243, 240, 232, .6); background: rgba(226, 185, 92, .08); display: grid; place-items: center; color: var(--gold); font-family: var(--font-display); font-weight: 800; font-size: 28px; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(226, 185, 92, .4); } 50% { box-shadow: 0 0 0 12px rgba(226, 185, 92, 0); } }
.pizarra-side h3 { font-size: clamp(40px, 5vw, 76px); }
.pizarra-side p { color: var(--chalk-2); margin: 16px 0 26px; }

.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-family: var(--font-display); font-weight: 750; font-stretch: 90%; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; transition: transform .35s var(--ease-out), background .3s; will-change: transform; }
.btn:hover { background: var(--gold-3); }
.btn.ghost { background: transparent; color: var(--chalk); border: 1px solid var(--line-2); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn svg { width: 16px; height: 16px; }

/* ---------- la fiche joueur ---------- */
.sheet { position: fixed; inset: 0; z-index: 100; display: none; background: #060607; overflow: auto; overscroll-behavior: contain; }
.sheet.is-open { display: block; }
.sheet-close { position: fixed; top: 14px; right: var(--gutter); z-index: 3; background: rgba(6, 6, 7, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sheet-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100svh; }
.sheet-cover { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.sheet-cover img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, transparent 55%, #060607), linear-gradient(to top, rgba(6, 6, 7, .85), transparent 40%); }
.sheet-num { position: absolute; left: var(--gutter); bottom: 4svh; z-index: 2; font-family: var(--font-display); font-weight: 900; font-stretch: 50%; font-size: clamp(140px, 22vw, 360px); line-height: .78; color: transparent; -webkit-text-stroke: 2px var(--gold); }
.sheet-body { padding: calc(var(--nav-h) + 30px) var(--gutter) 80px clamp(24px, 4vw, 64px); display: grid; align-content: start; gap: 34px; }
.sheet-name { font-size: clamp(64px, 8.4vw, 150px); }
.sheet-name small { display: block; font-size: .32em; font-weight: 700; font-stretch: 90%; letter-spacing: .06em; color: var(--chalk-2); margin-bottom: .3em; }
.sheet-nick { display: inline-block; margin-top: 16px; font-family: var(--font-serif); font-style: italic; font-size: clamp(24px, 2.4vw, 36px); color: var(--gold); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.fact { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 16px 18px; }
.fact small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fact b { font-family: var(--font-display); font-weight: 760; font-stretch: 78%; font-size: 22px; line-height: 1.05; }
.fact.wide { grid-column: span 3; }
.fact .status { display: block; font-size: 14px; color: var(--chalk-2); margin-top: 4px; font-weight: 400; font-family: var(--font-text); }
.sheet h4 { margin: 0 0 14px; font-family: var(--font-display); font-weight: 700; font-stretch: 100%; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.path { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 1px solid var(--line-2); }
.path li { position: relative; padding: 0 0 16px 22px; display: flex; justify-content: space-between; gap: 16px; }
.path li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold); }
.path li:last-child::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(226, 185, 92, .18); }
.path b { font-weight: 600; }
.path span { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.path em { font-style: normal; font-size: 12px; color: var(--muted); margin-left: 8px; letter-spacing: .08em; }
.mlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mlist li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; color: var(--chalk-2); }
.mlist li::before { content: "★"; color: var(--gold); }
.voice { margin: 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.voice p { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.1; }
.voice cite { display: block; margin-top: 10px; font-style: normal; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sheet-nav { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.sheet-nav button { display: inline-flex; align-items: center; gap: 10px; color: var(--chalk-2); font-family: var(--font-display); font-weight: 700; font-stretch: 80%; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.sheet-nav button:hover { color: var(--gold); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 8px; }
::view-transition-old(player-hero), ::view-transition-new(player-hero) { animation-duration: .55s; animation-timing-function: cubic-bezier(.2, .8, .1, 1); }

/* ---------- 4. el método ---------- */
.metodo { background: var(--bg-1); padding-bottom: 0; }
.method-pin { position: relative; }
.method-track { display: flex; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter) clamp(80px, 10vw, 140px); }
.step { position: relative; flex: none; width: min(78vw, 560px); min-height: 70svh; border-radius: 22px; overflow: hidden; background: var(--bg-2); display: grid; grid-template-rows: 1fr auto; border: 1px solid var(--line); }
.step-img { position: absolute; inset: 0; }
.step-img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: grayscale(.35) contrast(1.05); transition: opacity .6s, transform 1.2s var(--ease-out); }
.step:hover .step-img img { opacity: .75; transform: scale(1.04); }
.step-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #0d0d0f 18%, rgba(13, 13, 15, .6) 52%, rgba(13, 13, 15, .2)); }
.step-n { position: relative; z-index: 1; padding: 26px 28px; font-family: var(--font-display); font-weight: 900; font-stretch: 50%; font-size: clamp(96px, 11vw, 170px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.step-body { position: relative; z-index: 1; padding: 0 28px 30px; }
.step-body small { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.step-body h3 { margin: 10px 0 12px; font-family: var(--font-display); font-weight: 860; font-stretch: 62%; text-transform: uppercase; font-size: clamp(34px, 3.6vw, 58px); line-height: .9; }
.step-body p { margin: 0; color: var(--chalk-2); max-width: 40ch; }
.step.seven .step-n { -webkit-text-stroke: 0; color: var(--gold); }

/* ---------- 5. la ruta ---------- */
.ruta { background: var(--bg); }
.map-wrap { position: relative; margin-top: 10px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(70% 70% at 30% 55%, rgba(226, 185, 92, .06), transparent 70%), #0a0a0b; }
.map { width: 100%; height: auto; }
.map .land { fill: url(#dotfill); }
.map .arc { fill: none; stroke-width: 1.3; stroke-linecap: round; }
.map .arc.now { stroke: var(--gold); stroke-width: 1.5; }
.map .arc.op { stroke: rgba(243, 240, 232, .45); stroke-dasharray: 3 4; stroke-width: 1; }
.map .pin circle.core { fill: var(--gold); }
.map .pin.op circle.core { fill: var(--chalk); }
.map .pin circle.halo { fill: none; stroke: var(--gold); stroke-width: 1; opacity: .6; transform-box: fill-box; transform-origin: center; animation: halo 2.6s ease-out infinite; }
.map .pin.op circle.halo { stroke: var(--chalk); opacity: .3; }
@keyframes halo { from { transform: scale(.6); opacity: .8; } to { transform: scale(2.6); opacity: 0; } }
.map .pin text { font-family: var(--font-display); font-weight: 700; font-stretch: 85%; font-size: 9.5px; letter-spacing: .06em; fill: var(--chalk); paint-order: stroke; stroke: #0a0a0b; stroke-width: 3px; }
.map .pin.op text { fill: var(--chalk-2); font-weight: 500; }
.map .origin circle.core { fill: #fff; }
.map .origin text { font-size: 12px; fill: var(--gold); }
.map-legend { position: absolute; left: 20px; bottom: 18px; display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--chalk-2); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 22px; height: 2px; background: var(--gold); display: inline-block; }
.map-legend i.op { background: repeating-linear-gradient(90deg, var(--chalk) 0 3px, transparent 3px 7px); opacity: .6; }

.board { margin-top: clamp(56px, 7vw, 100px); background: #050506; border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 3vw, 34px); }
.board-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.board-head h3 { font-size: clamp(48px, 6.4vw, 110px); display: flex; align-items: center; gap: 18px; }
.board-head h3 svg { width: .55em; color: var(--gold); }
.rows { display: grid; gap: 6px; }
.row { display: grid; grid-template-columns: 92px minmax(0, 1.3fr) minmax(0, 1.3fr) 64px minmax(0, 1fr); gap: 6px; align-items: stretch; }
.row.head { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.row.head > span { padding: 0 12px 6px; }
.cell { background: #111114; border-radius: 6px; padding: 12px 12px; font-family: var(--font-display); font-weight: 700; font-stretch: 80%; text-transform: uppercase; letter-spacing: .05em; font-size: 15px; line-height: 1.1; position: relative; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .04); }
.cell::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .55); }
.cell.date { color: var(--gold); font-variant-numeric: tabular-nums; }
.cell.ctry { text-align: center; color: var(--chalk-2); }
.cell.type { font-size: 12px; letter-spacing: .1em; color: var(--chalk-2); }
.cell.type.rep { color: var(--gold); }
.cell .from { color: var(--muted); font-weight: 500; }
.row.is-hidden { display: none; }
.board-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ---------- 6. momentos (cartes empilées) ---------- */
.momentos { background: var(--bg-1); }
.stack { display: grid; gap: 0; }
.moment { --dim: 0; position: sticky; top: calc(var(--nav-h) + 16px + var(--i) * 12px); min-height: 76svh; margin-bottom: 7svh; border-radius: 24px; overflow: hidden; background: #0b0b0d; border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); transform-origin: 50% 0; box-shadow: 0 -30px 60px -20px rgba(0, 0, 0, .8); }
.moment-media { position: relative; overflow: hidden; }
.moment-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.moment-media img.inset { inset: auto 22px 22px auto; width: 34%; height: auto; aspect-ratio: 4 / 5; border-radius: 12px; border: 2px solid var(--gold); box-shadow: 0 20px 40px rgba(0, 0, 0, .6); }
.moment-body { padding: clamp(26px, 4vw, 56px); display: grid; align-content: start; gap: clamp(22px, 3vw, 40px); }
.moment-year { font-family: var(--font-display); font-weight: 900; font-stretch: 50%; font-size: clamp(110px, 13vw, 220px); line-height: .78; background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.moment-body small { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.moment-body h3 { margin: 10px 0 14px; font-family: var(--font-display); font-weight: 860; font-stretch: 62%; text-transform: uppercase; font-size: clamp(38px, 4vw, 68px); line-height: .9; }
.moment-body p { margin: 0; color: var(--chalk-2); max-width: 34ch; }
.moment-idx { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--gold); }

/* ---------- 7. acompañar ---------- */
.acompanar { background: var(--bg); overflow: hidden; }
.album-bts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: 20px; }
.polaroid { margin: 0; background: #f1ece0; padding: 10px 10px 16px; border-radius: 4px; color: #1a1a1a; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); transform: rotate(var(--r, 0deg)); transition: transform .6s var(--ease-out); }
.polaroid:hover { transform: rotate(0deg) translateY(-6px); }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: sepia(.12) contrast(1.02); }
.polaroid figcaption { margin-top: 10px; font-family: var(--font-serif); font-style: italic; font-size: 18px; line-height: 1.15; }
.care-quote { margin: clamp(70px, 10vw, 140px) auto 0; max-width: 1100px; text-align: center; }
.care-quote blockquote { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(32px, 4.6vw, 78px); line-height: 1.04; }
.care-quote blockquote b { font-weight: 400; color: var(--gold); }
.care-quote cite { display: block; margin-top: 22px; font-style: normal; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.voices { margin-top: clamp(60px, 8vw, 110px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.voices h4 { grid-column: 1 / -1; margin: 22px 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.voices figure { margin: 0; padding: 22px 26px 0 0; }
.voices p { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; }
.voices figcaption { margin-top: 10px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- 8. familias ---------- */
.familias { background: linear-gradient(#0b0b0d, #070708); }
.trust { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.trust article { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 22px 32px; display: grid; align-content: start; gap: 12px; min-height: 300px; }
.trust svg { width: 34px; height: 34px; color: var(--gold); }
.trust h3 { margin: 6px 0 0; font-family: var(--font-display); font-weight: 800; font-stretch: 72%; font-size: 26px; line-height: .95; text-transform: uppercase; }
.trust p { margin: 0; font-size: 15px; color: var(--chalk-2); }
.trust .licence { margin-top: auto; font-size: 12px; color: var(--gold); letter-spacing: .06em; }
.trust-foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.trust-foot small { color: var(--muted); font-size: 13px; max-width: 70ch; }

/* ---------- 9. tu turno ---------- */
.turno { background: radial-gradient(70% 60% at 25% 40%, rgba(226, 185, 92, .1), transparent 60%), #060607; }
.turno-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.jersey { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: #0b0b0c; border: 1px solid var(--line); }
.jersey img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.jersey-name { position: absolute; left: 50%; top: 34.6%; transform: translate(-50%, -50%) perspective(400px) rotateX(4deg); width: 25%; text-align: center; font-family: var(--font-display); font-weight: 860; font-stretch: 62%; text-transform: uppercase; font-size: clamp(14px, 1.9vw, 26px); letter-spacing: .06em; line-height: 1; white-space: nowrap; background: linear-gradient(180deg, #fff1c4, #e2b95c 45%, #9a7230); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)); }
.dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.jersey-input { margin-top: 18px; display: grid; gap: 8px; }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { width: 100%; background: #0f0f12; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; color: var(--chalk); font-size: 16px; transition: border-color .3s; appearance: none; -webkit-appearance: none; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.note { font-size: 13px; color: var(--muted); }
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 26px; }
.door { padding: 18px 14px; border-radius: 14px; border: 1px solid var(--line-2); text-align: left; display: grid; gap: 10px; transition: border-color .3s, background .3s; }
.door svg { width: 24px; height: 24px; color: var(--gold); }
.door span { font-family: var(--font-display); font-weight: 760; font-stretch: 80%; font-size: 16px; line-height: 1.05; text-transform: uppercase; }
.door[aria-pressed="true"] { border-color: var(--gold); background: rgba(226, 185, 92, .08); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.form[hidden] { display: none; }
.minor { grid-column: 1 / -1; border: 1px solid rgba(226, 185, 92, .5); background: rgba(226, 185, 92, .08); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--gold-3); }
.minor[hidden] { display: none; }
.wa { margin-top: 22px; border-radius: 18px; background: #0b141a; border: 1px solid rgba(255, 255, 255, .06); padding: 18px; display: grid; gap: 14px; }
.wa-top { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #8fa3ad; }
.wa-top i { width: 30px; height: 30px; border-radius: 50%; background: #111; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(226, 185, 92, .4); }
.wa-top i svg { width: 18px; }
.bubble { justify-self: end; max-width: 92%; background: #005c4b; color: #e9edef; border-radius: 14px 14px 4px 14px; padding: 10px 14px 18px; font-size: 15px; line-height: 1.4; position: relative; white-space: pre-wrap; word-break: break-word; }
.bubble::after { content: "✓✓"; position: absolute; right: 10px; bottom: 3px; font-size: 10px; color: #53bdeb; letter-spacing: -2px; }
.wa .btn { justify-self: start; background: #25d366; color: #052e1a; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 130; transform: translate(-50%, 30px); opacity: 0; background: var(--chalk); color: var(--bg); padding: 14px 18px; border-radius: 12px; font-size: 14px; max-width: min(92vw, 520px); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transition: opacity .35s, transform .45s var(--ease-out); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- pied de page ---------- */
.footer { position: relative; padding: clamp(90px, 12vw, 170px) var(--gutter) 40px; background: #030303; border-top: 1px solid var(--line); overflow: hidden; }
.footer-big { font-size: clamp(56px, 11.5vw, 210px); }
.footer-grid { margin-top: clamp(50px, 7vw, 90px); display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: end; }
.footer-logo { width: clamp(120px, 14vw, 190px); color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; font-size: 14px; color: var(--chalk-2); }
.footer-links a:hover { color: var(--gold); }
.footer-tools { display: flex; gap: 10px; align-items: center; }
.footer-small { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.footer-small strong { color: var(--chalk-2); font-weight: 600; }

/* ---------- réactions au défilement (état caché posé seulement si le JS tourne) ---------- */
.js [data-reveal] { transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.js:not(.rm) [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); }

/* ---------- mouvement réduit (réglage système ou bouton) et page sans JavaScript ---------- */
.rm .grain { animation: none; }
.rm .tunel, .no-js .tunel { height: auto; }
.rm .tunel-stage, .no-js .tunel-stage { position: relative; height: auto; overflow: visible; }
.rm .tunel-poster, .no-js .tunel-poster { position: relative; height: 100svh; }
.rm .tunel-canvas, .no-js .tunel-canvas, .rm .tunel-bloom, .no-js .tunel-bloom, .rm .tunel-end, .no-js .tunel-end { display: none; }
.rm .tunel-shade, .no-js .tunel-shade, .rm .tunel-ui, .no-js .tunel-ui { height: 100svh; bottom: auto; }
.rm .manifesto, .no-js .manifesto { position: relative; inset: auto; display: grid; gap: clamp(26px, 4vw, 48px); padding: clamp(80px, 12vw, 160px) var(--gutter); background: #000; }
.rm .manifesto p, .no-js .manifesto p { grid-area: auto; opacity: 1; }
.rm .cue, .no-js .cue { display: none; }
.rm .cue i::after, .rm .slot.open .slot-face, .rm .map .pin circle.halo { animation: none; }
.rm .card-in, .rm .card-img, .rm .polaroid { transition: none; }
.rm .moment, .no-js .moment { position: relative; top: auto; }
.rm .loader-logo path { animation: none; fill: var(--gold); stroke-width: 0; }
/* sans épinglage horizontal : les sept étapes en grille */
.rm .method-track, .no-js .method-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.rm .step, .no-js .step { width: auto; min-height: 540px; }
.no-js .loader { display: none; }

/* moments : voile posé par le défilement quand la carte suivante passe dessus */
.moment::after { content: ""; position: absolute; inset: 0; z-index: 3; background: #000; opacity: var(--dim, 0); pointer-events: none; border-radius: inherit; }

/* méthode épinglée (ordinateur) : la piste glisse à l'horizontale, centrée dans l'écran */
.method-pin.is-pinned { height: 100svh; display: flex; align-items: center; overflow: hidden; }
.method-pin.is-pinned .method-track { padding-bottom: 0; }
.method-pin.is-pinned .step { min-height: min(72svh, 640px); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .album { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  :root { --nav-h: 58px; }
  .nav-links { display: none; }
  .nav-tools .langs { display: none; }
  .burger { display: grid; }
  .nav-tools { margin-left: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n + 3) { margin-top: 34px; border-top: 1px solid var(--line); }
  .album { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 6px var(--gutter) 18px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .album::-webkit-scrollbar { display: none; }
  .album .card { flex: none; width: min(76vw, 340px); scroll-snap-align: center; }
  .pizarra { grid-template-columns: 1fr; }
  .slot { width: 76px; }
  .slot-face { width: 50px; height: 50px; }
  .slot-name { font-size: 12px; }
  .sheet-grid { grid-template-columns: 1fr; }
  .sheet-cover { position: relative; height: 62svh; }
  .sheet-cover::after { background: linear-gradient(to top, #060607 4%, transparent 55%); }
  .sheet-body { padding-top: 10px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact.wide { grid-column: span 2; }
  .method-track { flex-direction: column; padding-bottom: 80px; }
  .step { width: 100%; min-height: 64svh; }
  .row { grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr); gap: 4px; }
  .row .cell.ctry, .row .cell.type, .row .from, .row.head > span:nth-child(4), .row.head .h-type { display: none; }
  .cell { font-size: 13px; padding: 11px 9px; }
  .moment { grid-template-columns: 1fr; grid-template-rows: 46svh auto; min-height: 0; }
  .album-bts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voices { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .turno-grid { grid-template-columns: 1fr; }
  .doors { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .trust { grid-template-columns: 1fr; }
  .trust article { min-height: 0; }
  .form { grid-template-columns: 1fr; }
  .card-pos { font-size: 22px; }
  .map-legend { position: static; padding: 0 16px 16px; }
  .cue { display: none; }
  .tunel-title h1 { font-size: clamp(60px, 19vw, 120px); }
  .moment-media img.inset { width: 40%; }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }
