/* ============ Polices auto-hébergées (Saira, OFL) ============ */
@font-face { font-family: "Saira Extra Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/saira-extra-condensed-600-latin-ext.woff2") format("woff2"); 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: "Saira Extra Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/saira-extra-condensed-600-latin.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: "Saira Extra Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/saira-extra-condensed-800-latin-ext.woff2") format("woff2"); 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: "Saira Extra Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/saira-extra-condensed-800-latin.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: "Saira Extra Condensed"; font-style: normal; font-weight: 900; font-display: swap; src: url("assets/fonts/saira-extra-condensed-900-latin-ext.woff2") format("woff2"); 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: "Saira Extra Condensed"; font-style: normal; font-weight: 900; font-display: swap; src: url("assets/fonts/saira-extra-condensed-900-latin.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: "Saira Semi Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/saira-semi-condensed-400-latin-ext.woff2") format("woff2"); 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: "Saira Semi Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/saira-semi-condensed-400-latin.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: "Saira Semi Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/saira-semi-condensed-500-latin-ext.woff2") format("woff2"); 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: "Saira Semi Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/saira-semi-condensed-500-latin.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: "Saira Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/saira-semi-condensed-700-latin-ext.woff2") format("woff2"); 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: "Saira Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/saira-semi-condensed-700-latin.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; }

/* ============ Tokens ============ */
:root {
  --ink: #0f0d13;         /* fond */
  --ink-2: #1a1720;       /* sections alternées */
  --ink-3: #25212c;       /* traits fins, cartes vides */
  --paper: #f6f2ec;       /* texte */
  --muted: #a39dab;       /* texte secondaire */
  --a1: #ff2e6e;          /* framboise */
  --a2: #ff7a33;          /* orange */
  --a3: #ffc23d;          /* ambre */

  --display: "Saira Extra Condensed", "Arial Narrow", sans-serif;
  --body: "Saira Semi Condensed", "Arial Narrow", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --bevel: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

:focus-visible { outline: 3px solid var(--a3); outline-offset: 3px; }

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

/* Texte lu par les lecteurs d'écran uniquement */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Lien d'évitement : caché hors écran, visible dès qu'il reçoit le focus */
.skip {
  position: fixed; top: 10px; left: 10px; z-index: 50; transform: translateY(-150%);
  padding: 10px 18px; font-family: var(--display); font-weight: 800; font-size: 1.3rem;
  color: var(--ink); background: var(--a3);
}
.skip:focus-visible { transform: none; outline: 3px solid var(--paper); outline-offset: 0; }
main:focus { outline: none; }

/* Photos de fond : un voile sombre + une teinte framboise par-dessus la photo */
.photo-bg { position: relative; isolation: isolate; }
.photo-bg::before, .photo-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.photo-bg::before { z-index: -2; background: var(--photo) center / cover no-repeat; }

/* ============ Motif signature : chevrons de vitesse ============ */
.speed { display: flex; gap: 5px; width: 170px; height: 6px; margin-top: 10px; }
.speed i { display: block; height: 100%; transform: skewX(-35deg); }
.speed i:nth-child(1) { flex: 5; background: var(--a1); }
.speed i:nth-child(2) { flex: 3; background: var(--a2); }
.speed i:nth-child(3) { flex: 1.6; background: var(--a3); }
.speed--center { margin-inline: auto; width: 240px; }
.speed--hero { width: 260px; height: 8px; margin-top: 18px; }
.speed--footer { width: min(900px, 80vw); height: 8px; margin: 0; }

/* ============ Boutons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 34px 0 26px;
  font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: .01em;
  color: var(--ink); background: var(--a2);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--bevel)) 100%, 0 100%);
  transition: background-color .15s;
}
.btn:hover { background: var(--a3); }
.btn .ext { width: .6em; height: .6em; margin-left: .35em; flex: none; }
/* Focus : clip-path rogne le contour, on signale donc la sélection par le fond + un soulignement épais */
.btn:focus-visible, .nav__links .nav__cta:focus-visible, .channel--main:focus-visible {
  outline: none; background: var(--a3); color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px;
  box-shadow: inset 0 0 0 3px var(--ink);
}
.btn--ghost { color: var(--paper); background: rgba(15,13,19,.35); box-shadow: inset 0 0 0 2px var(--paper); clip-path: none; }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--paper); color: var(--ink); }

/* ============ Cadres HUD ============ */
.hud {
  --c: 30px;
  --hud-thin: rgba(246,242,236,.55);
  background:
    linear-gradient(var(--a2), var(--a2)) right top / var(--c) 5px no-repeat,
    linear-gradient(var(--a2), var(--a2)) right top / 5px var(--c) no-repeat,
    linear-gradient(var(--a2), var(--a2)) left bottom / var(--c) 5px no-repeat,
    linear-gradient(var(--a2), var(--a2)) left bottom / 5px var(--c) no-repeat,
    linear-gradient(var(--hud-thin), var(--hud-thin)) left top / var(--c) 1px no-repeat,
    linear-gradient(var(--hud-thin), var(--hud-thin)) left top / 1px var(--c) no-repeat,
    linear-gradient(var(--hud-thin), var(--hud-thin)) right bottom / var(--c) 1px no-repeat,
    linear-gradient(var(--hud-thin), var(--hud-thin)) right bottom / 1px var(--c) no-repeat;
}
.hud--small { --c: 14px; }

/* ============ Navigation (fixe, devient opaque au défilement) ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter);
  transition: background-color .25s, padding .25s;
}
.nav.is-scrolled { background: rgba(15,13,19,.94); padding-block: 10px; box-shadow: 0 1px 0 var(--ink-3); }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1; }
.nav__logo b { font-weight: 800; color: var(--a3); }
.mark { width: 26px; height: 26px; background: linear-gradient(135deg, var(--a1), var(--a2) 55%, var(--a3)); clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-family: var(--display); font-weight: 600; font-size: 1.45rem; line-height: 1; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav__links a:hover, .nav__links a[aria-current="true"] { border-color: var(--a2); }
.nav__links .nav__cta[aria-current="true"] { background: var(--a3); }
.nav__links .nav__cta { padding: 9px 22px 9px 16px; border: 0; background: var(--a2); color: var(--ink); font-weight: 800;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.nav__links .nav__cta:hover { background: var(--a3); }
.nav__burger { display: none; }

/* ============ 1. Hero ============ */
.hero {
  --photo: image-set(url("assets/bg-hero-1920.avif") type("image/avif"), url("assets/bg-hero-1920.webp") type("image/webp")); /* PROVISOIRE, CC0 : assets/bg-hero-1920 / -960 */
  min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden;
}
.hero.photo-bg::after { background:
  linear-gradient(90deg, rgba(15,13,19,.92) 0%, rgba(15,13,19,.7) 45%, rgba(15,13,19,.25) 100%),
  linear-gradient(to bottom, rgba(15,13,19,.2) 60%, var(--ink) 100%),
  rgba(120, 20, 70, .25); }
.hero__inner {
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px);
  align-items: center; padding: 130px 0 50px;
}
.hero__logo { font-family: var(--display); font-weight: 900; line-height: .8; }
.hero__logo span { display: block; }
/* nth-child et non last-child : le H1 se termine par un texte masqué pour les moteurs */
.hero__logo span:nth-child(-n+2) { font-size: clamp(5rem, 13vw, 10.5rem); }
.hero__logo span:nth-child(2) { color: var(--a3); }
.hero__lead { margin-top: 24px; max-width: 42ch; font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.spotlight { position: relative; display: block; justify-self: end; width: min(100%, 360px); padding: 18px 18px 22px; background: rgba(15,13,19,.78); box-shadow: inset 0 0 0 1px var(--ink-3); }
.spotlight__tag { position: absolute; top: -16px; left: 18px; z-index: 1; padding: 4px 18px 4px 12px; font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.2; color: var(--ink); background: var(--a3); clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.spotlight__img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--art, none) center / cover; }
.spotlight__img svg { width: 100%; height: 100%; transition: transform .3s; }
.spotlight:hover .spotlight__img svg { transform: scale(1.04); }
.spotlight__name { display: block; margin-top: 16px; font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; }
.spotlight__meta { display: block; margin-top: 12px; color: var(--muted); font-size: 1rem; }
.has-art > svg { display: none; }

.hero__stats {
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 0 auto 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px);
}
.hero__stats li { display: flex; align-items: baseline; justify-content: center; gap: 14px; padding: 18px 16px; background-color: rgba(15,13,19,.6); }
.hero__stats b { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; }
.hero__stats span { font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1.05; color: var(--muted); }

/* Entrée orchestrée unique au chargement */
@media (prefers-reduced-motion: no-preference) {
  .hero__logo span { animation: slam .45s cubic-bezier(.2,.9,.25,1.2) both; }
  .hero__logo span:nth-child(2) { animation-delay: .05s; }
  .speed--hero i { animation: dash .3s .15s both; transform-origin: left; }
  .speed--hero i:nth-child(2) { animation-delay: .2s; }
  .speed--hero i:nth-child(3) { animation-delay: .25s; }
  .hero__lead, .hero__actions, .spotlight { animation: rise .3s .05s both; }
}
@keyframes slam { from { transform: translateX(-30px); } to { transform: none; } }
@keyframes dash { from { transform: skewX(-35deg) scaleX(0); } to { transform: skewX(-35deg) scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ============ Titres communs ============ */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.title { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 7vw, 4.6rem); line-height: .9; }
.intro { margin-top: 26px; max-width: 62ch; }

/* ============ 2. Jeu vedette (photo machine à pinces) ============ */
.feature { --photo: image-set(url("assets/bg-collection-1920.avif") type("image/avif"), url("assets/bg-collection-1920.webp") type("image/webp")); /* PROVISOIRE, CC0 : assets/bg-collection-1920 / -960 */ padding: clamp(80px, 11vw, 140px) 0 clamp(64px, 8vw, 100px); }
.feature.photo-bg::after { background:
  linear-gradient(to bottom, var(--ink) 0%, rgba(15,13,19,.55) 22%, rgba(15,13,19,.85) 58%, var(--ink) 100%),
  linear-gradient(90deg, rgba(15,13,19,.9) 0%, rgba(15,13,19,.7) 45%, rgba(15,13,19,.25) 100%); }
.feature__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature__text p { margin: 26px 0 30px; max-width: 44ch; font-size: 1.2rem; }
.feature__shot { aspect-ratio: 16 / 9; overflow: hidden; background: var(--art, none) center / cover; box-shadow: 0 0 0 3px var(--a2), 18px 18px 0 0 rgba(255,46,110,.35); }
.feature__shot svg { width: 100%; height: 100%; }

.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(56px, 8vw, 96px); counter-reset: step; }
.loop li { position: relative; padding: 26px 26px 26px 0; counter-increment: step; }
.loop li + li { padding-left: 26px; border-left: 1px solid rgba(246,242,236,.15); }
.loop li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 900; font-size: 1.1rem; color: var(--a3); }
.loop b { display: block; font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; }
.loop span { display: block; margin-top: 10px; color: var(--muted); font-size: 1.02rem; }

/* ============ 3. La roue (photo grande roue) ============ */
.wheel { --photo: image-set(url("assets/bg-roue-1920.avif") type("image/avif"), url("assets/bg-roue-1920.webp") type("image/webp")); /* PROVISOIRE, CC0 : assets/bg-roue-1920 / -960 */ padding: clamp(90px, 12vw, 150px) 0; }
.wheel.photo-bg::before { background-position: center 40%; }
.wheel.photo-bg::after { background:
  linear-gradient(to bottom, var(--ink) 0%, rgba(15,13,19,.35) 25%, rgba(15,13,19,.35) 75%, var(--ink) 100%),
  radial-gradient(ellipse at center, rgba(15,13,19,.55), rgba(15,13,19,.2) 70%); }
.wheel__inner { display: grid; justify-items: center; gap: 56px; }
.banner__box { position: relative; background: var(--a2); color: var(--ink); text-align: center; padding: 16px clamp(28px, 7vw, 90px) 20px; }
.banner__box::before, .banner__box::after { content: ""; position: absolute; height: 6px; transform: skewX(-35deg); }
.banner__box::before { left: 0; right: 30%; top: -14px; background: linear-gradient(90deg, var(--a1) 0 62%, transparent 62% 64%, var(--a3) 64%); }
.banner__box::after { left: 22%; right: 0; bottom: -14px; background: linear-gradient(90deg, var(--a3) 0 30%, transparent 30% 32%, var(--a1) 32%); }
.banner__small { font-family: var(--display); font-weight: 600; font-size: 1.4rem; line-height: 1.1; }
.banner__big { font-family: var(--display); font-weight: 900; font-size: clamp(2.8rem, 7vw, 4.6rem); line-height: .95; }
.boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); gap: clamp(16px, 3vw, 32px); }
.box { display: grid; gap: 6px; padding: 22px 22px 24px; text-align: center; background: rgba(15,13,19,.9); }
.box__price { margin-top: 8px; font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--a3); }
.box b { font-family: var(--display); font-weight: 900; font-size: 2.4rem; line-height: 1; }
.box span { color: var(--muted); font-size: 1rem; line-height: 1.35; }
.box:nth-child(1) { box-shadow: inset 0 4px 0 var(--a1); }
.box:nth-child(2) { box-shadow: inset 0 4px 0 var(--a2); }
.box:nth-child(3) { box-shadow: inset 0 4px 0 var(--a3); }

/* ============ 4. Prochains jeux : bande unique ============ */
.soon {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center;
  margin-top: 44px; padding: clamp(24px, 4vw, 44px);
  background: repeating-linear-gradient(-35deg, var(--ink-2) 0 18px, #1d1a24 18px 36px);
}
.soon__count { display: flex; align-items: baseline; gap: 14px; padding: 22px 30px; background-color: var(--ink); }
.soon__count b { font-family: var(--display); font-weight: 900; font-size: clamp(4rem, 9vw, 6rem); line-height: .9; }
.soon__count span { font-family: var(--display); font-weight: 600; font-size: 1.6rem; line-height: 1.05; color: var(--muted); max-width: 8ch; }
.soon__text p { max-width: 52ch; margin-bottom: 24px; }

/* ============ 5. Studio + équipe ============ */
.studio { background: var(--ink-2); }
.studio__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.studio__text p { margin-top: 22px; max-width: 52ch; }
.studio__text .speed + p { margin-top: 28px; }
.team { display: grid; gap: 14px; }
.member { display: flex; align-items: center; gap: 20px; padding: 14px; background: var(--ink); }
.member__avatar {
  flex: none; display: grid; place-items: center; width: 92px; aspect-ratio: 1;
  background: var(--art, none) center / cover, linear-gradient(135deg, var(--a1), var(--a2) 60%, var(--a3));
}
.member__avatar span { font-family: var(--display); font-weight: 900; font-size: 3rem; line-height: 1; color: var(--ink); }
.member__avatar.has-art span { display: none; }
.member h3 { font-family: var(--display); font-weight: 800; font-size: 1.8rem; line-height: 1; }
.member__role { margin-top: 6px; color: var(--muted); font-size: 1.02rem; }
.member--join { background: transparent; box-shadow: inset 0 0 0 1px var(--ink-3); }
.member--join .member__avatar { background: repeating-linear-gradient(-35deg, var(--ink-2) 0 12px, var(--ink-3) 12px 24px); }
.member--join .member__avatar span { color: var(--a2); }

/* ============ 6. Communauté (photo grille néon) ============ */
.community { --photo: image-set(url("assets/bg-communaute-1920.avif") type("image/avif"), url("assets/bg-communaute-1920.webp") type("image/webp")); /* PROVISOIRE, CC0 : assets/bg-communaute-1920 / -960 */ padding: clamp(96px, 13vw, 160px) 0; text-align: center; }
.community.photo-bg::before { background-position: center bottom; }
.community.photo-bg::after { background:
  linear-gradient(to bottom, var(--ink) 0%, rgba(15,13,19,.78) 30%, rgba(15,13,19,.74) 100%),
  rgba(90, 10, 50, .35); }
.community__title { font-family: var(--display); font-weight: 900; font-size: clamp(3.2rem, 9vw, 6.4rem); line-height: .9; text-wrap: balance; }
.community .speed--center { margin-top: 18px; }
.community__lead { margin: 24px auto 0; max-width: 46ch; font-size: 1.2rem; font-weight: 500; }
.channels { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 44px; }
.channel {
  display: inline-flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 30px 0 22px;
  font-family: var(--display); font-weight: 800; font-size: 1.6rem;
  color: var(--paper); background: rgba(15,13,19,.8); box-shadow: inset 0 0 0 2px var(--paper);
  transition: background-color .15s, color .15s;
}
.channel svg { width: 30px; height: 30px; flex: none; }
.channel .ext { width: 14px; height: 14px; margin-left: -4px; opacity: .8; }
.channel:hover { background: var(--paper); color: var(--ink); }
.channel--main { color: var(--ink); background: var(--a2); box-shadow: none; clip-path: polygon(0 0, 100% 0, calc(100% - var(--bevel)) 100%, 0 100%); padding-right: 38px; }
.channel--main:hover { background: var(--a3); }

/* ============ Pied de page ============ */
.footer { padding-top: 0; background: #0b0a0e; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding: 44px var(--gutter) 28px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1.2; }
.footer__nav a:hover { color: var(--a3); }
.socials { display: flex; gap: 14px; }
.socials a { display: grid; place-items: center; width: 48px; height: 48px; }
.socials svg { width: 22px; height: 22px; }
.socials a:hover { color: var(--a3); }
.footer__copy { padding: 0 var(--gutter) 28px; font-size: .95rem; color: var(--muted); }

/* ============ Barre « Jouer » collante (mobile) ============ */
.playbar { display: none; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .nav__burger {
    display: grid; gap: 6px; width: 44px; height: 44px; padding: 10px 8px;
    border: 0; background: none; cursor: pointer; position: relative; z-index: 22;
  }
  .nav__burger span { display: block; height: 3px; background: var(--paper); transition: transform .2s, opacity .2s; }
  .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; z-index: 21; display: none;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px;
    padding: 0 var(--gutter); background: var(--ink);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { display: inline-flex; align-items: center; min-height: 56px; font-size: 2.8rem; }
  .nav__links .nav__cta { margin-top: 12px; font-size: 2.2rem; }
  .nav__logo { position: relative; z-index: 22; }

  body:has(#playbar) { padding-bottom: 76px; }
  .playbar {
    display: block; position: fixed; inset: auto 0 0 0; z-index: 15;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(15,13,19,.94); box-shadow: 0 -1px 0 var(--ink-3);
    visibility: hidden; transform: translateY(110%);
    transition: transform .25s, visibility 0s .25s;
  }
  .playbar.is-visible { visibility: visible; transform: none; transition: transform .25s, visibility 0s; }
  .playbar .btn { width: 100%; }

  .hero__inner { grid-template-columns: 1fr; padding-top: 110px; }
  /* Carte « À la une » compacte : une ligne */
  .spotlight { justify-self: stretch; width: 100%; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; }
  .spotlight__tag { top: -12px; left: 12px; font-size: 1rem; }
  .spotlight__name { margin-top: 0; font-size: 1.6rem; }
  .spotlight__body .speed { display: none; }
  .spotlight__meta { margin-top: 4px; font-size: .95rem; }
  .hero__inner { padding-bottom: 32px; gap: 32px; }
  .hero.photo-bg::after { background: linear-gradient(to bottom, rgba(15,13,19,.82), rgba(15,13,19,.86) 45%, rgba(15,13,19,.6) 75%, var(--ink)); }
  .hero__stats { grid-template-columns: 1fr; gap: 10px; }
  .hero__stats li { justify-content: flex-start; }

  .feature__grid, .studio__grid { grid-template-columns: 1fr; }
  .loop { grid-template-columns: 1fr 1fr; }
  .loop li, .loop li + li { padding: 20px 16px 20px 0; border-left: 0; border-top: 1px solid rgba(246,242,236,.15); }
  .boxes, .soon { grid-template-columns: 1fr; width: 100%; }
  .soon__count { justify-self: start; }
  .soon__text .btn { width: 100%; }
  .channel { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .loop { grid-template-columns: 1fr; }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .playbar, .playbar.is-visible { transition: none; }
}

.spotlight__body { display: block; min-width: 0; }

/* ============ Page mentions légales ============ */
.nav__back {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px 0 16px;
  font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--ink); background: var(--a2);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.nav__back:hover { background: var(--a3); }
.nav__back:focus-visible { outline: none; background: var(--a3); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.legal { padding: 140px 0 100px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 8vw, 5rem); line-height: .9; }
.legal h2 { margin-top: 56px; font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; }
.legal h2 + .speed { width: 110px; height: 5px; }
.legal p, .legal ul { margin-top: 18px; }
.legal ul { display: grid; gap: 6px; }
.legal li { padding-left: 18px; position: relative; }
.legal li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 3px; background: var(--a2); }
.legal a { color: var(--a3); text-decoration: underline; text-underline-offset: 3px; }
.legal .todo { padding: 0 4px; color: var(--ink); background: var(--a3); font-weight: 700; }
.legal__updated { color: var(--muted); }

/* ============ SEO : langue et liens vers la page du jeu ============ */
.nav__links .nav__lang { display: inline-grid; place-items: center; min-width: 44px; min-height: 36px; padding: 0 8px; border: 0; box-shadow: inset 0 0 0 2px var(--muted); font-weight: 800; font-size: 1.2rem; }
.nav__links .nav__lang:hover, .nav__links .nav__lang:focus-visible { box-shadow: inset 0 0 0 2px var(--a3); color: var(--a3); }
.feature__text .feature__more { margin: -12px 0 28px; font-size: 1.05rem; }
.feature__more a { color: var(--a3); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.feature__more a:hover { color: var(--paper); }

/* ============ Page jeu (Train Brainrot) ============ */
.gamehero {
  --photo: image-set(url("assets/bg-collection-1920.avif") type("image/avif"), url("assets/bg-collection-1920.webp") type("image/webp")); /* PROVISOIRE, CC0 : assets/bg-collection-1920 / -960 */
  padding: 128px 0 56px; overflow: hidden;
}
.gamehero.photo-bg::after { background:
  linear-gradient(90deg, rgba(15,13,19,.94) 0%, rgba(15,13,19,.82) 50%, rgba(15,13,19,.5) 100%),
  linear-gradient(to bottom, rgba(15,13,19,.35) 55%, var(--ink) 100%); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 1rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a:hover { color: var(--a3); }
.crumbs a[aria-current="page"] { color: var(--paper); }
.gamehero__kicker { margin-top: 18px; font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--a3); }
.gamehero__title { margin-top: 8px; font-family: var(--display); font-weight: 900; font-size: clamp(4.2rem, 12vw, 9rem); line-height: .82; }
.gamehero__lead { margin-top: 22px; max-width: 56ch; font-size: clamp(1.1rem, 1.7vw, 1.3rem); font-weight: 500; }
.gamehero__stats { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 44px; }
.gamehero__stats li { display: flex; align-items: baseline; gap: 12px; padding: 14px 24px; background-color: rgba(15,13,19,.7); }
.gamehero__stats b { font-family: var(--display); font-weight: 900; font-size: 2.8rem; line-height: 1; }
.gamehero__stats span { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--muted); }

.section--alt { background: var(--ink-2); }
.subtitle { margin-top: clamp(56px, 8vw, 88px); font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4.5vw, 3rem); line-height: .95; }
.subtitle--small { margin-top: 0; font-size: 2rem; }
.prose p { max-width: 64ch; }
.prose p + p { margin-top: 18px; }
.game-about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.game-about .prose { font-size: 1.15rem; }
.loop--game { margin-top: 28px; }
.loop--game span { color: var(--paper); opacity: .82; }

.tiers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 40px; }
.tier { display: grid; gap: 12px; padding: 18px 14px 20px; background: var(--ink); text-align: center; }
.tier__bar { display: block; height: 8px; transform: skewX(-35deg); }
.tier b { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1; }
.tier--1 .tier__bar { background: #8d8a94; }
.tier--2 .tier__bar { background: #3d7bff; }
.tier--3 .tier__bar { background: #9b5cff; }
.tier--4 .tier__bar { background: var(--a2); }
.tier--5 .tier__bar { background: var(--a1); }
.tier--6 .tier__bar { background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3)); }
.tiers__scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: .95rem; color: var(--muted); }
.tiers__scale span:first-child::before { content: "← "; }
.tiers__scale span:last-child::after { content: " →"; }
.prose--cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 48px; margin-top: 40px; }
.prose--cols p + p { margin-top: 0; }

.bonus { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.bonus__item { display: grid; align-content: start; gap: 4px; padding: 24px 22px; background: var(--ink-2); box-shadow: inset 0 4px 0 var(--a2); }
.bonus__item b { font-family: var(--display); font-weight: 900; font-size: 2.8rem; line-height: 1; color: var(--a3); }
.bonus__label { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.1; }
.bonus__item p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.game-split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 64px); align-items: start; margin-top: clamp(48px, 7vw, 72px); }
.game-split .prose p { margin-top: 14px; }
.game-split__note { padding: 22px 24px; background: var(--ink-2); border-left: 4px solid var(--a3); }

.wheel__intro { max-width: 60ch; text-align: center; font-size: 1.15rem; font-weight: 500; padding: 18px 22px; background: rgba(15,13,19,.82); }
.box__rows { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: baseline; gap: 6px 16px; margin-top: 8px; }
.box__rows .box__price { margin-top: 0; }

.game-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 96px); align-items: start; }
.shop { width: 100%; margin-top: 28px; border-collapse: collapse; font-size: 1.1rem; }
.shop th, .shop td { padding: 12px 4px; border-bottom: 1px solid var(--ink-3); text-align: left; }
.shop thead th { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--muted); }
.shop tbody th { font-weight: 500; }
.shop td { text-align: right; font-family: var(--display); font-weight: 800; font-size: 1.45rem; color: var(--a3); }
.shop thead th:last-child { text-align: right; }
.log { display: grid; gap: 28px; margin-top: 32px; }
.log__entry { padding-left: 22px; border-left: 3px solid var(--a1); }
.log__entry h3 { font-family: var(--display); font-weight: 800; font-size: 1.8rem; line-height: 1; }
.log__entry ul { margin-top: 10px; display: grid; gap: 6px; }
.log__entry li li, .log__entry ul li { color: var(--paper); opacity: .85; }
.log__entry ul li::before { content: "+ "; color: var(--a3); font-weight: 700; }

.faq__list { display: grid; gap: 10px; margin-top: 36px; max-width: 860px; }
.faq__item { background: var(--ink); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 22px;
  font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1.15; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font-weight: 900; font-size: 1.8rem; color: var(--a2); }
.faq__item[open] summary::after { content: "–"; }
.faq__item summary:hover { color: var(--a3); }
.faq__item summary:focus-visible { outline: 3px solid var(--a3); outline-offset: -3px; }
.faq__item p { padding: 0 22px 20px; max-width: 70ch; color: var(--paper); opacity: .88; }

.disclaimer { padding: 28px 0; font-size: .95rem; color: var(--muted); }

@media (max-width: 900px) {
  .gamehero { padding-top: 100px; }
  .game-about, .game-split, .game-two, .prose--cols { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .bonus { grid-template-columns: 1fr 1fr; }
  .gamehero__stats li { padding: 10px 16px; }
}
@media (max-width: 480px) {
  .tiers, .bonus { grid-template-columns: 1fr 1fr; }
  .gamehero__stats { gap: 10px; }
}
.tips { margin-top: clamp(48px, 7vw, 72px); }
.tips__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 32px; margin-top: 20px; }
.tips__list li { position: relative; padding: 4px 0 4px 30px; max-width: 60ch; }
.tips__list li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 14px; height: 6px; background: var(--a2); transform: skewX(-35deg); }
