/* =============================================================
       TOKENS
       ============================================================= */
    :root {
      --bg: #15151a; --bg-2: #1a1a20;
      --card: #1e1e24; --card-hover: #25252c;
      --border: #32323a; --border-soft: #26262c;
      --text: #fafafa; --text-dim: #a3a3a3; --text-faint: #82828c;
      --accent: #6b7280; --ivory: #efe9e0; --ivory-ink: #17140f;
      --nintendo: #e60012; --playstation: #2e6cf6; --sega: #1f6fd6; --atari: #d8470f; --neogeo: #f4b21b;
      --font-display: "Sora", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
      --font-body: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
      --font-pixel: "Pixelify Sans", ui-monospace, monospace;
      --maxw: 1180px; --radius: 2px;
      --shadow: 0 10px 26px -12px rgba(0,0,0,0.65);
      --shadow-lg: 0 40px 90px -40px rgba(0,0,0,0.9);
      --ease: cubic-bezier(0.16, 1, 0.3, 1);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 76px; }
    /* tactile : pas de flash gris au tap, retour visuel via :active */
    a, button, summary { -webkit-tap-highlight-color: transparent; }
    @media (hover: none) {
      .btn:active { transform: scale(.97); }
      .rpg-q:active { background: rgba(239,233,224,.1); color: var(--text); }
      .tv-ch:active { transform: translateY(1px); }
      details.qa summary:active { background: rgba(255,255,255,.045); }
      .foot-col a:active { color: var(--text); }
    }
    body { margin: 0; padding-top: 67px; background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
    a { color: inherit; text-decoration: none; }
    .wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
    h1, h2, h3 { margin: 0; line-height: 1.08; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
    .wordmark { font-family: var(--font-pixel); font-weight: 600; letter-spacing: .5px; }
    .eyebrow { font-family: var(--font-pixel); font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-faint); font-weight: 500; margin-bottom: 14px; }

    /* SÉPARATEURS DE SECTION — règle pixel pleine largeur + label numéroté */
    .sep { display: flex; align-items: center; gap: 20px; margin: 0 0 52px; padding: 0 24px; }
    .sep .sep-line { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px); }
    .sep .sep-label { font-family: var(--font-pixel); font-size: 13px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--ivory); white-space: nowrap; display: inline-flex; align-items: center; gap: 12px; }
    .sep .sep-label::before, .sep .sep-label::after { content: "◼"; font-size: 7px; color: var(--text-faint); transform: translateY(-1px); }
    .sep .sep-num { color: var(--text-faint); }
    .sep .sep-num::after { content: " ·"; }

    /* ÉQUERRES PIXEL 16-BIT — petits carrés ivoire aux 4 coins */
    .px-corners { position: relative; }
    .px-corners::after { content: ""; position: absolute; inset: -3px; pointer-events: none; z-index: 6;
      background-image: linear-gradient(var(--ivory), var(--ivory)), linear-gradient(var(--ivory), var(--ivory)), linear-gradient(var(--ivory), var(--ivory)), linear-gradient(var(--ivory), var(--ivory));
      background-size: 6px 6px; background-repeat: no-repeat;
      background-position: top left, top right, bottom left, bottom right; }

    /* fond alterné + trame pixel très discrète */
    section.alt { background-color: var(--bg-2);
      background-image: linear-gradient(rgba(239,233,224,.013) 1px, transparent 1px), linear-gradient(90deg, rgba(239,233,224,.013) 1px, transparent 1px);
      background-size: 26px 26px; }
    body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; background: repeating-linear-gradient(0deg, rgba(0,0,0,0.16) 0px, rgba(0,0,0,0.16) 1px, transparent 1px, transparent 3px), radial-gradient(ellipse at 50% 0%, transparent 62%, rgba(0,0,0,0.5) 100%); mix-blend-mode: multiply; opacity: .18; }
    /* lueur d'ambiance très subtile pour casser l'aplat */
    body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(900px 620px at 10% -6%, rgba(239,233,224,.055), transparent 62%), radial-gradient(1100px 760px at 92% 16%, rgba(110,140,195,.06), transparent 64%); }
    [data-lucide], .lucide { width: 1em; height: 1em; stroke-width: 1.75; }

    /* BOUTONS */
    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 2px; font-family: var(--font-display); font-size: 15.5px; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: all .22s var(--ease); white-space: nowrap; user-select: none; }
    .btn .lucide { width: 18px; height: 18px; }
    .btn-primary { background: var(--ivory); color: var(--ivory-ink); box-shadow: 0 1px 2px rgba(0,0,0,.35); position: relative; overflow: hidden; }
    .btn-primary:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(255,255,255,.4); }
    /* shine sweep discret au hover */
    .btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 36%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.85), transparent); transform: translateX(-160%) skewX(-18deg); transition: transform .55s var(--ease); pointer-events: none; }
    .btn-primary:hover::after { transform: translateX(340%) skewX(-18deg); }
    .btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
    .btn-ghost:hover { border-color: #4a4a50; background: rgba(255,255,255,.05); }
    .btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
    .btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

    /* NAV */
    /* Fond quasi opaque SANS backdrop-filter : le flou se recalcule à chaque
       frame de scroll = source n°1 de saccade (surtout Windows/Chrome). Un fond
       presque plein rend le même service visuel sans le coût GPU. */
    /* Nav fixée en haut (pas `sticky` : un `transform` casse le sticky → la nav
       ne se recollait plus en haut). Le `padding-top` du body compense sa hauteur. */
    header.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(21,21,26,.92); border-bottom: 1px solid var(--border-soft); transition: transform .32s var(--ease); }
    /* Cachée quand on descend, réaffichée quand on remonte (classe pilotée en JS). */
    header.nav.nav-hidden { transform: translateY(-100%); }
    @media (prefers-reduced-motion: reduce) { header.nav { transition: none; } }
    .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
    .brand { display: flex; align-items: center; gap: 11px; }
    .brand .mark { width: 30px; height: 30px; flex: 0 0 30px; }
    .brand .name { font-size: 19px; }
    .nav-links { display: flex; align-items: center; gap: 28px; }
    .nav-links a.link { color: var(--text-dim); font-size: 15px; font-family: var(--font-display); font-weight: 500; transition: color .15s; }
    .nav-links a.link:hover { color: var(--text); }
    .nav-right { display: flex; align-items: center; gap: 14px; }
    .lang { display: inline-flex; border: 1px solid var(--border); border-radius: 2px; overflow: hidden; }
    .lang button { background: transparent; color: var(--text-dim); border: 0; cursor: pointer; font-family: var(--font-display); font-size: 13px; font-weight: 600; padding: 7px 11px; min-height: 36px; transition: all .15s; }
    .lang button[aria-pressed="true"] { background: var(--card-hover); color: var(--text); }
    .menu-only-desktop { display: flex; }
    .nav-cta-mobile { display: none; }
    /* nav compacte sur petits écrans : à 390px la rangée logo+langue+CTA
       débordait de 33px — on resserre tout, et icône seule sous 350px */
    @media (max-width: 480px) {
      .wrap { padding: 0 16px; }
      .nav-inner { height: 58px; }
      .brand { gap: 8px; }
      .brand .mark { width: 26px; height: 26px; flex: 0 0 26px; }
      .brand .name { font-size: 14px; }
      .nav-right { gap: 8px; }
      .lang button { padding: 5px 9px; min-height: 36px; font-size: 12px; }
      .nav-cta-mobile.btn-sm { min-height: 34px; padding: 0 11px; font-size: 12.5px; }
    }
    @media (max-width: 350px) {
      .nav-inner .brand .name { display: none; }
    }

    /* =============================================================
       HERO + scène parallaxe 3D (vraies images de jeux)
       ============================================================= */
    .hero { position: relative; min-height: min(92vh, 880px); display: flex; align-items: center; padding: 56px 0 90px; overflow: hidden; }
    /* glow orbs — lueur chaude ivoire derrière la copy, pointe steel derrière la scène */
    .hero::before { content: ""; position: absolute; left: 4%; top: 14%; width: 540px; height: 520px; pointer-events: none; z-index: 0; background: radial-gradient(ellipse at center, rgba(239,233,224,.085), transparent 64%); filter: blur(26px); }
    .hero::after { content: ""; position: absolute; left: 64%; top: -8%; transform: translateX(-50%); width: 880px; height: 660px; pointer-events: none; z-index: 0; background: radial-gradient(ellipse at center, rgba(110,140,195,.15), transparent 66%); filter: blur(20px); }
    /* sol-grille rétro en perspective, ancré en bas, fondu vers le haut */
    .hero-floor { position: absolute; bottom: -2px; left: -50%; width: 200%; height: 46%; pointer-events: none; z-index: 1;
      background-image:
        linear-gradient(rgba(239,233,224,.075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124,152,200,.085) 1px, transparent 1px);
      background-size: 40px 40px;
      transform: perspective(500px) rotateX(60deg);
      transform-origin: top;
      animation: floorMove 15s linear infinite;
      -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 58%);
              mask-image: linear-gradient(180deg, transparent 0%, #000 58%);
    }
    @keyframes floorMove { from { transform: perspective(500px) rotateX(60deg) translateY(0); } to { transform: perspective(500px) rotateX(60deg) translateY(40px); } }
    .hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr 1.1fr; gap: 44px; align-items: center; }
    /* badge clignotant "INSERT COIN" */
    .hero-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-pixel); font-size: 12.5px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--ivory); border: 1px solid rgba(239,233,224,.42); border-radius: 0; padding: 7px 14px 6px; margin-bottom: 20px; animation: coinblink 1.5s steps(1, end) infinite; }
    @keyframes coinblink { 0%, 49% { opacity: 1; } 50%, 84% { opacity: .25; } 85%, 100% { opacity: 1; } }
    .hero h1 { font-size: clamp(34px, 5.2vw, 62px); font-weight: 800; overflow-wrap: break-word; }
    .hero h1 .accent-word { color: var(--ivory); }
    .hero h1 .pixel-line { display: block; font-family: var(--font-pixel); font-weight: 700; color: var(--ivory); font-size: .58em; letter-spacing: 3.5px; line-height: 1.25; margin-top: 12px; }
    .hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-dim); margin: 22px 0 30px; max-width: 32ch; }
    .hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
    .hero .meta { margin-top: 22px; font-size: 13.5px; color: var(--text-faint); display: flex; flex-wrap: wrap; gap: 8px 18px; }
    .hero .meta span { display: inline-flex; align-items: center; gap: 7px; }
    .hero .meta .lucide { width: 15px; height: 15px; color: var(--text-dim); }
    .hero .meta b { color: var(--text-dim); font-weight: 600; }

    .stage { position: relative; z-index: 2; height: 540px; perspective: 1400px; animation: stageFloat 6s ease-in-out infinite; will-change: transform; }
    @keyframes stageFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
    .scene { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .25s var(--ease); will-change: transform; }
    .layer { position: absolute; will-change: transform; }

    /* DECK DE FICHES : les fiches de jeux empilées comme un paquet de cartes ;
       celle du dessus s'envole (clic / auto) et la suivante remonte en rebond */
    .hero-deck { position: absolute; inset: 0; }
    .dk-card { position: absolute; top: 50%; left: 50%; width: 545px; max-width: 96%; border-radius: 3px; overflow: hidden; background: var(--bg-2); border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow-lg); cursor: pointer; will-change: transform, opacity; }
    .dk-card:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; }
    .dk-shot { position: relative; height: 338px; background: #232a3c; overflow: hidden; }
    .dk-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .dk-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,26,32,0) 42%, rgba(26,26,32,.6) 78%, var(--bg-2) 100%); }
    .dk-play { position: absolute; top: 14px; right: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 2px; background: var(--ivory); color: var(--ivory-ink); font-family: var(--font-display); font-weight: 600; font-size: 13px; box-shadow: var(--shadow); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
    .dk-play:hover { background: #fff; transform: scale(1.05); }
    .dk-play .lucide { width: 15px; height: 15px; }
    .dk-counter { position: absolute; top: 14px; left: 14px; z-index: 3; font-family: var(--font-pixel); font-size: 11.5px; font-weight: 500; letter-spacing: 2px; color: var(--ivory); background: rgba(10,10,14,.8); border: 1px solid rgba(239,233,224,.35); padding: 4px 9px 3px; }
    .dk-body { display: flex; align-items: flex-end; gap: 17px; padding: 0 22px 20px; margin-top: -54px; position: relative; z-index: 2; }
    .dk-cover { width: 106px; aspect-ratio: 3/4; border-radius: 2px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 14px 26px -10px rgba(0,0,0,.8); background: #2a2a32; flex: 0 0 106px; }
    .dk-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .dk-info h3 { margin: 0 0 9px; font-size: 23px; line-height: 1.15; }
    .fiche-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
    .ftag { font-family: var(--font-display); font-weight: 600; font-size: 11.5px; padding: 4px 9px; border-radius: 2px; background: #2a2e38; color: var(--text-dim); display: inline-flex; align-items: center; gap: 5px; }
    .ftag.gold { color: #1a1305; background: var(--neogeo); animation: goldpulse 3s ease-in-out infinite; }
    @keyframes goldpulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
    .ftag .lucide { width: 13px; height: 13px; }
    /* toast pixel sous le deck (centré sans transform : GSAP peut le scaler) */
    .dk-toast { position: absolute; bottom: 12px; left: 0; right: 0; margin: 0 auto; width: max-content; z-index: 6; font-family: var(--font-pixel); font-weight: 500; font-size: 11.5px; letter-spacing: 2px; white-space: nowrap; color: var(--ivory); background: rgba(10,10,14,.9); border: 1px solid rgba(239,233,224,.38); padding: 7px 14px 6px; }
    /* sticker pixel incliné, coin bas-gauche du stage */
    .stage-sticker { position: absolute; left: -8px; bottom: 7%; z-index: 7; transform: rotate(-6deg); font-family: var(--font-pixel); font-weight: 700; font-size: 12.5px; letter-spacing: 2px; white-space: nowrap; color: var(--ivory-ink); background: var(--ivory); padding: 8px 13px 7px; box-shadow: var(--shadow); }
    .stage .hint { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--text-faint); display: inline-flex; align-items: center; gap: 6px; opacity: .7; z-index: 5; }
    .stage .hint .lucide { width: 14px; height: 14px; }
    @media (hover: none) { .stage .hint { display: none; } }

    /* MARQUEE */
    .marquee-section { padding: 36px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); position: relative; z-index: 2; }
    .marquee-label { text-align: center; font-family: var(--font-pixel); font-weight: 500; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 22px; }
    .marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
    .marquee-track { display: flex; gap: 12px; width: max-content; animation: scrollx 40s linear infinite; }
    .marquee:hover .marquee-track { animation-play-state: paused; }
    .chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; padding: 9px 17px; border-radius: 2px; background: var(--card); border: 1px solid var(--border); font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--text); transition: transform .22s var(--ease); }
    .chip:hover { transform: scale(1.06); }
    .chip .led { width: 9px; height: 9px; border-radius: 50%; }
    @keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

    /* SECTIONS */
    section.block { padding: 88px 0; position: relative; z-index: 2; }
    .section-head { max-width: 660px; margin: 0 auto 54px; text-align: center; }
    .section-head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
    .section-head p { color: var(--text-dim); font-size: 17px; margin-top: 16px; }
    /* titre POWER-UPS en Pixelify + machine à écrire */
    .section-head h2.pixel-title { font-family: var(--font-pixel); font-weight: 700; color: var(--ivory); font-size: clamp(30px, 5vw, 52px); letter-spacing: 3px; line-height: 1.15; }
    .pixel-title .tw-char { visibility: hidden; }
    .pixel-title .tw-char.on { visibility: visible; }
    .pixel-title .tw-cursor { display: inline-block; color: var(--ivory); margin-left: 3px; animation: coinblink 1s steps(1, end) infinite; transition: opacity .3s; }

    /* =============================================================
       SECTION #what — « Chaos → Ordre » (scène épinglée, scrub)
       ============================================================= */
    #what { padding: 56px 0 52px; }
    #what .section-head { margin-bottom: 34px; }
    /* scène : conteneur relatif à ratio fixe → les positions % tiennent à toutes les largeurs */
    .what-stage { position: relative; margin: 0 auto; max-width: clamp(560px, 216vh - 812px, 940px); aspect-ratio: 2.16 / 1; }
    /* chips fichiers : étiquettes monospace/pixel, angles droits */
    .wchip { position: absolute; z-index: 3; font-family: var(--font-pixel); font-weight: 500; font-size: 13.5px; letter-spacing: .8px; color: var(--text-dim); background: var(--card); border: 1px solid var(--border); padding: 8px 13px 7px; white-space: nowrap; box-shadow: var(--shadow); }
    .wchip.warn { color: #e0a85f; border-color: rgba(224,168,95,.42); }
    .wchip.dim { opacity: .68; filter: blur(1.2px); } /* flou statique (depth), jamais animé */
    /* MÉDIAS PHYSIQUES : chaque fichier devient sa cartouche ou son CD.
       .slot = case de bibliothèque (18 %, quasi carrée), média centré dedans. */
    .slot { position: absolute; z-index: 2; width: 18%; aspect-ratio: 1 / 0.95; display: flex; align-items: center; justify-content: center; }
    .media { position: relative; width: 100%; will-change: transform, opacity; filter: drop-shadow(0 12px 16px rgba(0,0,0,.55)); }
    .media .art { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
    .media::after { content: ""; display: block; }
    /* cartouche SNES — grise, stries, jaquette en autocollant */
    .m-snes::after { padding-top: 88%; }
    .m-snes .shell { position: absolute; inset: 0; background: linear-gradient(180deg, #8e8b94, #75727c); border-radius: 7px 7px 4px 4px; border: 1px solid #5d5a64; box-shadow: inset 0 2px 0 rgba(255,255,255,.18), inset 0 -3px 0 rgba(0,0,0,.25); }
    .m-snes .grip { position: absolute; left: 12%; right: 12%; top: 7%; height: 14%; background: repeating-linear-gradient(180deg, rgba(0,0,0,.22) 0 2px, transparent 2px 5px); border-radius: 2px; }
    .m-snes .label { position: absolute; left: 14%; right: 14%; top: 27%; bottom: 12%; border-radius: 3px; overflow: hidden; border: 1px solid rgba(0,0,0,.35); background: #111; }
    /* cartouche N64 — sombre, épaulements */
    .m-n64::after { padding-top: 80%; }
    .m-n64 .shell { position: absolute; inset: 0; background: linear-gradient(180deg, #4a4750, #36333c); border-radius: 6px 6px 10px 10px; border: 1px solid #28252e; clip-path: polygon(0 18%, 8% 18%, 8% 0, 92% 0, 92% 18%, 100% 18%, 100% 100%, 0 100%); box-shadow: inset 0 2px 0 rgba(255,255,255,.12); }
    .m-n64 .label { position: absolute; left: 16%; right: 16%; top: 26%; bottom: 14%; border-radius: 3px; overflow: hidden; border: 1px solid rgba(0,0,0,.4); background: #111; }
    /* cartouche GBA — petite */
    .m-gba { width: 74%; }
    .m-gba::after { padding-top: 104%; }
    .m-gba .shell { position: absolute; inset: 0; background: linear-gradient(180deg, #5e5a66, #46434e); border-radius: 10px 10px 5px 5px; border: 1px solid #322f3a; box-shadow: inset 0 2px 0 rgba(255,255,255,.14); }
    .m-gba .notch { position: absolute; left: 8%; right: 8%; top: 5%; height: 9%; background: rgba(0,0,0,.25); border-radius: 4px; }
    .m-gba .label { position: absolute; left: 11%; right: 11%; top: 21%; bottom: 10%; border-radius: 3px; overflow: hidden; border: 1px solid rgba(0,0,0,.35); background: #111; }
    /* cartouche Mega Drive — noire */
    .m-md { width: 92%; }
    .m-md::after { padding-top: 96%; }
    .m-md .shell { position: absolute; inset: 0; background: linear-gradient(180deg, #232228, #141318); border-radius: 8px; border: 1px solid #0c0b10; box-shadow: inset 0 2px 0 rgba(255,255,255,.08); }
    .m-md .grip { position: absolute; left: 6%; right: 6%; top: 6%; height: 10%; background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 3px, transparent 3px 7px); }
    .m-md .label { position: absolute; left: 13%; right: 13%; top: 22%; bottom: 12%; border-radius: 50% 50% 4px 4px / 14% 14% 4px 4px; overflow: hidden; border: 1px solid rgba(212,175,55,.5); background: #111; }
    /* CD PlayStation — disque, trou, reflet */
    .m-cd { width: 94%; }
    .m-cd::after { padding-top: 100%; }
    .m-cd .disc { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; border: 1px solid rgba(255,255,255,.22); box-shadow: inset 0 0 18px rgba(0,0,0,.5); }
    .m-cd .disc::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 50%; background: conic-gradient(from 210deg, transparent 0deg, rgba(255,255,255,.28) 24deg, transparent 60deg, transparent 180deg, rgba(160,200,255,.16) 215deg, transparent 250deg); }
    .m-cd .hole { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 3; width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--bg); border: 4px solid rgba(255,255,255,.35); box-shadow: 0 0 0 5px rgba(0,0,0,.35); }
    /* badge final READY ▸ */
    .what-ready-wrap { position: absolute; left: 0; right: 0; top: -17px; z-index: 5; display: flex; justify-content: center; pointer-events: none; }
    .what-ready { font-family: var(--font-pixel); font-weight: 700; font-size: 13px; letter-spacing: 2.5px; color: var(--ivory-ink); background: var(--ivory); padding: 8px 14px 7px; box-shadow: var(--shadow); }
    /* légendes pixel sous la scène */
    .what-legends { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 38px; margin-top: 34px; }
    .what-legends .wl { font-family: var(--font-pixel); font-weight: 500; font-size: 15px; letter-spacing: 1.5px; color: var(--text); }
    .what-legends .wl::before { content: "▸ "; color: var(--ivory); }
    /* fallback statique (mobile / reduced-motion / sans JS) : état rangé + petit tas de chips */
    .what-static { max-width: 720px; margin: 0 auto; }
    .what-pile { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 11px; margin-bottom: 20px; }
    .what-pile .wchip { position: static; box-shadow: none; transform: rotate(var(--rot, 0deg)); }
    .what-static-ready { text-align: center; margin-bottom: 20px; }
    .what-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: center; justify-items: center; }
    .what-grid .media { width: 100%; }
    .what-grid .m-gba { width: 74%; } .what-grid .m-md { width: 92%; } .what-grid .m-cd { width: 94%; }
    .what-stage { display: none; }
    @media (prefers-reduced-motion: no-preference) {
      html.what-anim .what-stage { display: block; }
      html.what-anim .what-static { display: none; }
    }
    /* mobile : scène plus haute (les chips ont besoin d'air autour des 2 rangées
       de tuiles) et chips compactées pour rester lisibles sans se chevaucher */
    @media (max-width: 960px) {
      .what-stage { aspect-ratio: 1.5 / 1; max-width: none; }
      .wchip { font-size: 11px; padding: 6px 9px 5px; letter-spacing: .4px; }
      .what-legends { gap: 8px 20px; margin-top: 26px; }
      .what-legends .wl { font-size: 13px; }
    }
    @media (max-width: 480px) {
      .what-stage { aspect-ratio: 1.28 / 1; }
      .wchip { font-size: 9.5px; padding: 5px 7px 4px; }
    }

    /* =============================================================
       TÉLÉ CRT — section #features (chaînes pilotées au scroll)
       ============================================================= */
    .tv-pin { padding-bottom: 26px; }
    .tv-pin .sep { margin-bottom: 32px; }
    .tv-pin .section-head { margin-bottom: 32px; }
    .tv-row { display: flex; align-items: center; justify-content: center; gap: 44px; }
    .tv-wrap { position: relative; flex: 0 1 auto; min-width: 0; }
    /* coque : bordure épaisse graphite + liseré, angles droits */
    .tv { --scrw: min(clamp(420px, (100vh - 442px) * 1.539, 680px), calc(100vw - 580px));
      display: flex; align-items: stretch; gap: 12px; padding: 14px;
      background: #2a2a32; border: 1px solid #3d3d47; border-radius: 0;
      box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.07), inset 0 -2px 0 rgba(0,0,0,.35); }
    /* écran légèrement bombé : radius interne léger toléré pour le verre */
    .tv-screen { position: relative; width: var(--scrw); aspect-ratio: 2200 / 1429; background: #0a0a0e; border-radius: 10px; overflow: hidden; border: 1px solid #15151a; box-shadow: inset 0 0 36px rgba(0,0,0,.75); }
    .tv-jolt, .tv-imgs { position: absolute; inset: 0; will-change: transform; }
    .tv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; }
    .tv-img.on { opacity: 1; }
    /* verre : reflet diagonal + vignettage radial */
    .tv-screen::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit;
      background: linear-gradient(115deg, rgba(255,255,255,.075) 0%, rgba(255,255,255,.02) 24%, transparent 40%),
                  radial-gradient(ellipse at center, transparent 56%, rgba(0,0,0,.46) 100%); }
    /* scanlines */
    .tv-screen::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.2) 0 1px, transparent 1px 3px); opacity: .55; }
    /* neige CRT (feTurbulence en data-URI) : ne bouge QUE pendant le zap (background-position jitté en JS) */
    .tv-noise { position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0;
      background-color: #0c0c11;
      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="0.9" numOctaves="2" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter><rect width="160" height="160" filter="url(%23n)" opacity="0.85"/></svg>');
      background-size: 160px 160px; }
    .tv-zapline { position: absolute; left: 0; right: 0; top: 8%; height: 2px; z-index: 7; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent); }
    /* callouts : étiquette pixel + trait 1px + pastille carrée 6px sur le point d'intérêt */
    .tv-callouts { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
    .co { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
    .co-dot { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; background: var(--ivory); box-shadow: 0 0 0 3px rgba(10,10,14,.55); transform: scale(0); transition: transform .12s ease; }
    /* trait orientable à 360° : la ligne part du point d'ancrage à l'angle
       --ang (0° = droite, 90° = bas) ; l'étiquette est posée au bout du trait
       et contre-pivotée pour rester horizontale. */
    .co-line { position: absolute; left: 0; top: -.5px; width: var(--len); height: 1px; background: rgba(239,233,224,.5); transform-origin: 0 50%; transform: rotate(var(--ang, 90deg)) scaleX(0); transition: transform .12s ease; }
    .co-tag { position: absolute; left: 0; top: 0; transform: rotate(var(--ang, 90deg)) translateX(calc(var(--len) + 16px)) rotate(calc(var(--ang, 90deg) * -1)) translate(-50%, -50%); font-family: var(--font-pixel); font-weight: 500; font-size: 11.5px; letter-spacing: .8px; white-space: nowrap; color: var(--text); background: #15151a; border: 1px solid rgba(239,233,224,.4); padding: 5px 9px 4px; opacity: 0; transition: opacity .12s ease; }
    /* état actif : le trait se dessine depuis l'étiquette vers le point, la pastille pop au bout */
    .tv-callouts.on .co-tag { opacity: 1; transition: opacity .28s var(--ease); }
    .tv-callouts.on .co-line { transform: rotate(var(--ang, 90deg)) scaleX(1); transition: transform .26s var(--ease) .08s; }
    .tv-callouts.on .co-dot { transform: scale(1); transition: transform .22s cubic-bezier(.34,1.8,.5,1) .3s; }
    .tv-callouts.on .co:nth-child(2) .co-tag { transition-delay: .13s; }
    .tv-callouts.on .co:nth-child(2) .co-line { transition-delay: .21s; }
    .tv-callouts.on .co:nth-child(2) .co-dot { transition-delay: .43s; }
    .tv-callouts.on .co:nth-child(3) .co-tag { transition-delay: .26s; }
    .tv-callouts.on .co:nth-child(3) .co-line { transition-delay: .34s; }
    .tv-callouts.on .co:nth-child(3) .co-dot { transition-delay: .56s; }
    /* panneau de contrôle à droite de l'écran */
    .tv-side { flex: 0 0 88px; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 10px 0 4px; border-left: 1px solid rgba(255,255,255,.07); }
    .tv-speaker { width: 56px; height: 46px; background: repeating-linear-gradient(0deg, rgba(0,0,0,.55) 0 2px, transparent 2px 5px); border: 1px solid rgba(0,0,0,.45); }
    .tv-knobs { display: flex; gap: 10px; }
    .tv-knob { width: 22px; height: 22px; border-radius: 50%; background: #1d1d23; border: 1px solid #45454f; position: relative; box-shadow: inset 0 2px 4px rgba(0,0,0,.6); }
    .tv-knob::after { content: ""; position: absolute; left: 50%; top: 2px; width: 2px; height: 7px; margin-left: -1px; background: var(--ivory); opacity: .55; }
    .tv-knob.k2 { transform: rotate(42deg); }
    .tv-led { width: 8px; height: 8px; border-radius: 50%; background: var(--ivory); box-shadow: 0 0 9px rgba(239,233,224,.9); animation: ledpulse 2.4s ease-in-out infinite; }
    @keyframes ledpulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
    .tv-chs { display: flex; flex-direction: column; gap: 7px; margin-top: auto; }
    .tv-ch { font-family: var(--font-pixel); font-weight: 600; font-size: 11px; letter-spacing: 1.5px; width: 56px; padding: 7px 0 6px; background: #1d1d23; color: var(--text-dim); border: 1px solid #45454f; border-radius: 0; cursor: pointer; transition: all .15s var(--ease); box-shadow: 0 2px 0 rgba(0,0,0,.5); }
    .tv-ch:hover { color: var(--text); border-color: #5d5d68; }
    /* bouton de la chaîne active = enfoncé : fond ivoire, texte encre */
    .tv-ch[aria-pressed="true"] { background: var(--ivory); color: var(--ivory-ink); border-color: var(--ivory); transform: translateY(2px); box-shadow: inset 0 1px 2px rgba(0,0,0,.3); }
    /* pieds fins */
    .tv-feet { display: flex; justify-content: space-between; padding: 0 11%; }
    .tv-feet span { width: 58px; height: 13px; background: #222229; border: 1px solid #3d3d47; border-top: 0; }
    /* panneau texte de la chaîne courante */
    .tv-text { position: relative; flex: 0 1 320px; min-width: 250px; align-self: stretch; min-height: 200px; }
    .tvt { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(12px); transition: opacity .26s var(--ease), transform .26s var(--ease); pointer-events: none; }
    .tvt.on { opacity: 1; transform: none; transition-delay: .14s; pointer-events: auto; }
    .tvt-num { font-family: var(--font-pixel); font-weight: 600; font-size: 14px; letter-spacing: 2.5px; color: var(--ivory); margin-bottom: 13px; }
    .tvt-num::after { content: ""; display: block; width: 28px; height: 4px; margin-top: 11px; background: repeating-linear-gradient(90deg, var(--ivory) 0 4px, transparent 4px 8px); opacity: .5; }
    .tvt h3 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 11px; }
    .tvt p { color: var(--text-dim); font-size: 15px; margin: 0; max-width: 38ch; }

    /* features secondaires — grille dense à lignes 1px */
    .speclist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); margin-top: 64px; }
    .speclist .si { background: var(--bg); padding: 26px 26px 28px; }
    .si .si-num { font-family: var(--font-pixel); font-size: 14px; letter-spacing: 1px; color: var(--text-faint); display: block; margin-bottom: 14px; }
    .si h3 { font-size: 16.5px; margin-bottom: 8px; display: flex; align-items: baseline; gap: 8px; }
    .si h3::before { content: "▸"; color: var(--ivory); font-size: 13px; flex: 0 0 auto; }
    .si p { color: var(--text-dim); font-size: 14px; margin: 0; }

    /* STEPS */
    .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; }
    .step .num { font-family: var(--font-pixel); font-weight: 600; font-size: 17px; color: var(--ivory-ink); background: var(--ivory); width: 36px; height: 36px; border-radius: 0; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
    .step h3 { font-size: 20px; margin-bottom: 10px; }
    .step p { color: var(--text-dim); font-size: 15px; }

    /* TIMELINE « 2 MINUTES » — barre de chargement pixel reliant les 3 étapes */
    .tl { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 26px; }
    .tl-track { position: absolute; left: calc(100% / 6); right: calc(100% / 6); top: 11px; height: 16px; padding: 3px; border: 1px solid var(--border); background: var(--bg); }
    .tl-fill { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--ivory) 0 7px, transparent 7px 10px); transition: width 1.8s steps(18, end); }
    .tl.on .tl-fill { width: 100%; }
    .tl-mark { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; }
    .tl-num { font-family: var(--font-pixel); font-weight: 600; font-size: 17px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--bg-2); border: 1px solid var(--border); color: var(--text-faint); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
    .tl-time { font-family: var(--font-pixel); font-size: 13px; font-weight: 500; letter-spacing: 1.5px; color: var(--text-faint); transition: color .25s var(--ease); }
    .tl.on .tl-num { background: var(--ivory); color: var(--ivory-ink); border-color: var(--ivory); }
    .tl.on .tl-time { color: var(--ivory); }
    .tl.on .tl-mark:nth-child(3) .tl-num, .tl.on .tl-mark:nth-child(3) .tl-time { transition-delay: .9s; }
    .tl.on .tl-mark:nth-child(4) .tl-num, .tl.on .tl-mark:nth-child(4) .tl-time { transition-delay: 1.8s; }
    /* paliers allumés individuellement par le scrub (desktop + motion) */
    .tl-mark.lit .tl-num { background: var(--ivory); color: var(--ivory-ink); border-color: var(--ivory); }
    .tl-mark.lit .tl-time { color: var(--ivory); }
    .tl-play { display: inline-block; opacity: 0; margin-left: 5px; }
    .tl.on .tl-play { opacity: 1; animation: tl-blink .55s steps(1) 2s 4; }
    .tl.done .tl-play { opacity: 1; animation: tl-blink .55s steps(1) .2s 4; }
    @keyframes tl-blink { 50% { opacity: 0; } }
    /* cartes pilotées par le scrub : cachées tant que la barre n'a pas atteint leur palier */
    .steps.js-scrub .step { opacity: 0; transform: translateY(26px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
    .steps.js-scrub .step.shown { opacity: 1; transform: none; }
    /* numéro + timestamp repris dans les cartes — mobile uniquement */
    .step-head { display: none; }
    .step-time { font-family: var(--font-pixel); font-size: 13px; font-weight: 500; letter-spacing: 1.5px; color: var(--text-faint); }

    /* FAQ */
    .faq { max-width: 760px; margin: 0 auto; }
    details.qa { border: 1px solid var(--border); border-radius: 2px; background: var(--card); margin-bottom: 12px; overflow: hidden; }
    details.qa summary { cursor: pointer; list-style: none; padding: 20px 22px; font-family: var(--font-display); font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
    details.qa summary::-webkit-details-marker { display: none; }
    details.qa summary .plus { color: var(--text-faint); transition: transform .25s var(--ease); flex: 0 0 auto; display: inline-flex; }
    details.qa summary .plus .lucide { width: 20px; height: 20px; }
    details.qa[open] summary .plus { transform: rotate(45deg); }
    details.qa .ans { padding: 0 22px 20px; color: var(--text-dim); font-size: 15px; }

    /* FAQ « DIALOGUE RPG » (desktop) — menu de sélection façon jeu rétro à
       gauche, boîte de dialogue à droite où la réponse se tape en typewriter.
       L'accordéon .faq reste le rendu mobile + le repli sans JS. */
    .faq-rpg { display: none; }
    .faq-rpg.on { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 26px; align-items: start; }
    .faq.off { display: none; }
    .rpg-side { background: var(--bg-2); border: 1px solid var(--border); padding: 16px 14px 14px; }
    .rpg-select { display: flex; align-items: center; gap: 10px; font-family: var(--font-pixel); font-size: 12.5px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-faint); padding: 4px 12px 12px; border-bottom: 1px dashed var(--border); margin-bottom: 8px; }
    .rpg-select .rpg-sq { font-size: 7px; color: var(--ivory); animation: rpg-blink 1.1s steps(1) infinite; }
    .rpg-menu { display: flex; flex-direction: column; gap: 2px; }
    .rpg-q { display: flex; align-items: baseline; gap: 10px; padding: 11px 12px; background: none; border: 0; border-radius: 2px; text-align: left; cursor: pointer; font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--text-dim); transition: color .2s var(--ease), background .2s var(--ease); }
    .rpg-q:hover { color: var(--text); background: rgba(255,255,255,.04); }
    .rpg-q .rpg-cursor { font-family: var(--font-pixel); color: var(--ivory); opacity: 0; flex: 0 0 14px; transition: opacity .15s; }
    .rpg-q:hover .rpg-cursor { opacity: .35; }
    .rpg-q.active { color: var(--text); background: rgba(239,233,224,.07); }
    .rpg-q.active .rpg-cursor { opacity: 1; animation: rpg-blink 1s steps(1) infinite; }
    @keyframes rpg-blink { 50% { opacity: .15; } }
    .rpg-box { position: relative; background: var(--bg-2); border: 2px solid var(--ivory); padding: 36px 36px 48px; min-height: 250px; box-shadow: var(--shadow); cursor: pointer; }
    .rpg-name { position: absolute; top: -13px; left: 24px; background: var(--ivory); color: var(--ivory-ink); font-family: var(--font-pixel); font-size: 13px; font-weight: 600; letter-spacing: 2px; padding: 3px 12px; white-space: nowrap; }
    .rpg-text { font-size: 16.5px; line-height: 1.8; color: var(--text); max-width: 62ch; }
    .rpg-text b { color: var(--ivory); }
    .rpg-text.typing::after { content: "▮"; color: var(--ivory); margin-left: 2px; animation: rpg-blink .8s steps(1) infinite; }
    /* bouton « Passer » : visible uniquement pendant la frappe (même coin que le ▼) */
    .rpg-skip { display: none; position: absolute; right: 14px; bottom: 9px; align-items: center; background: none; border: 1px dashed var(--border); border-radius: 2px; padding: 4px 10px; font-family: var(--font-pixel); font-size: 12.5px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-faint); cursor: pointer; transition: color .2s var(--ease), border-color .2s var(--ease); }
    .rpg-skip:hover { color: var(--ivory); border-color: var(--ivory); }
    .rpg-text.typing ~ .rpg-skip { display: inline-flex; }
    .rpg-next { position: absolute; right: 22px; bottom: 13px; font-family: var(--font-pixel); font-size: 15px; color: var(--ivory); opacity: 0; }
    .rpg-next.on { opacity: 1; animation: rpg-bob .9s steps(2) infinite; }
    @keyframes rpg-bob { 50% { transform: translateY(4px); } }

    /* FINAL CTA */
    .final-cta { text-align: center; background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--border); border-radius: 0; padding: 64px 32px; position: relative; }
    .final-cta::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.14) 0, rgba(0,0,0,.14) 1px, transparent 1px, transparent 3px); pointer-events: none; opacity: .5; }
    .final-cta > * { position: relative; }
    .final-cta h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
    .final-cta p { color: var(--text-dim); margin: 16px auto 28px; max-width: 46ch; }
    .final-cta .cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

    /* TÉLÉCHARGEMENTS MULTI-PLATEFORMES : 3 boutons primaires (macOS /
       Windows / Linux), chacun avec sa flèche qui déroule les variantes */
    .dl-drop { position: relative; display: inline-block; }
    .dl-os .os-ic { width: 16px; height: 16px; flex: 0 0 16px; shape-rendering: crispEdges; }
    .dl-os .chev { width: 16px; height: 16px; transition: transform .25s var(--ease); }
    .dl-os[aria-expanded="true"] .chev { transform: rotate(180deg); }
    .dl-menu { position: absolute; top: calc(100% + 9px); left: 50%; transform: translateX(-50%); z-index: 25; min-width: 236px; background: var(--bg-2); border: 1px solid var(--ivory); border-radius: 3px; padding: 8px; box-shadow: var(--shadow-lg); text-align: left; }
    .dl-menu::before { content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); border: 7px solid transparent; border-bottom-color: var(--ivory); }
    .dl-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 2px; transition: background .15s var(--ease); }
    .dl-opt:hover, .dl-opt:focus-visible { background: rgba(239,233,224,.08); }
    .dl-opt .o-name { flex: 1; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--text); }
    .dl-opt .b-fmt { font-family: var(--font-pixel); font-size: 11px; letter-spacing: 1px; color: var(--text-faint); border: 1px solid var(--border); border-radius: 2px; padding: 2px 7px 1px; white-space: nowrap; }
    .dl-opt .b-dl { font-family: var(--font-pixel); font-size: 14px; color: var(--ivory); }
    .dl-mnote { display: block; color: var(--text-faint); font-size: 11px; font-family: var(--font-pixel); letter-spacing: .5px; padding: 8px 12px 4px; border-top: 1px dashed var(--border); margin-top: 6px; }
    /* gros boutons : seuls sur leur ligne */
    .dl-os { min-height: 58px; padding: 0 30px; font-size: 17.5px; gap: 11px; }
    .dl-os .os-ic { width: 19px; height: 19px; flex-basis: 19px; }
    .dl-menu { min-width: 348px; }
    .dl-opt .b-arch { font-family: var(--font-pixel); font-size: 11px; letter-spacing: 1px; color: var(--text-dim); background: rgba(255,255,255,.05); border-radius: 2px; padding: 2px 7px 1px; white-space: nowrap; }
    .dl-opt .b-reco { font-family: var(--font-pixel); font-size: 10px; letter-spacing: 1px; color: var(--ivory-ink); background: var(--ivory); border-radius: 2px; padding: 2px 6px 1px; white-space: nowrap; }
    .cta-row2 { display: flex; justify-content: center; margin-top: 16px; }
    /* taille du fichier (remplie automatiquement quand le build est en ligne) */
    .o-size { color: var(--text-faint); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
    /* point info par fichier : pastille + infobulle contextuelle */
    .opt-info { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: 0 0 22px; border: 1px dashed var(--border); border-radius: 50%; color: var(--text-faint); font-family: var(--font-display); font-weight: 700; font-size: 11.5px; cursor: help; }
    .opt-info:hover, .opt-info:focus-visible, .opt-info.open { color: var(--ivory); border-color: var(--ivory); }
    .opt-tip { display: none; position: absolute; bottom: calc(100% + 9px); right: -10px; z-index: 40; width: 240px; background: var(--bg-2); border: 1px solid var(--ivory); border-radius: 3px; padding: 10px 12px; font-family: var(--font-body); font-weight: 400; font-size: 12.5px; line-height: 1.55; color: var(--text-dim); white-space: normal; box-shadow: var(--shadow-lg); cursor: auto; }
    .opt-tip::after { content: ""; position: absolute; top: 100%; right: 14px; border: 6px solid transparent; border-top-color: var(--ivory); }
    .opt-info:hover .opt-tip, .opt-info:focus-visible .opt-tip, .opt-info.open .opt-tip { display: block; }

    /* point info « quelle version choisir ? » */
    .dl-info-wrap { position: relative; display: inline-block; margin-left: 10px; vertical-align: middle; }
    .dl-info { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px dashed var(--border); border-radius: 50%; color: var(--text-dim); font-family: var(--font-display); font-weight: 700; font-size: 15px; cursor: pointer; transition: color .2s var(--ease), border-color .2s var(--ease); }
    .dl-info:hover, .dl-info[aria-expanded="true"] { color: var(--ivory); border-color: var(--ivory); }
    .dl-pop { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%); z-index: 30; width: min(460px, calc(100vw - 40px)); text-align: left; background: var(--bg-2); border: 1px solid var(--ivory); border-radius: 3px; padding: 18px 20px; box-shadow: var(--shadow-lg); }
    .dl-pop::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 7px solid transparent; border-top-color: var(--ivory); }
    .dl-pop h5 { margin: 0 0 10px; font-family: var(--font-pixel); font-weight: 600; font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--ivory); }
    .dl-pop p { margin: 0 0 9px; font-size: 13.5px; line-height: 1.6; color: var(--text-dim); }
    .dl-pop p:last-child { margin-bottom: 0; }
    .dl-pop b { color: var(--text); }
    .dl-pop .tip { color: var(--text-faint); font-size: 12.5px; border-top: 1px dashed var(--border); padding-top: 9px; margin-top: 11px; }

    /* Boutons Android / iPhone (mobile) : même gabarit que les boutons OS.
       Le bouton iPhone est masqué tant que l'admin ne l'a pas activé. */
    .dl-android, .dl-ios { min-height: 58px; padding: 0 26px; font-size: 17.5px; gap: 11px; position: relative; }
    .dl-android .os-ic, .dl-ios .os-ic { width: 19px; height: 19px; flex: 0 0 19px; shape-rendering: crispEdges; }
    .dl-ios[hidden] { display: none; }
    .dl-soon { font-family: var(--font-pixel); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--ivory-ink); background: rgba(21,21,26,.14); border: 1px solid rgba(21,21,26,.28); border-radius: 2px; padding: 3px 7px 2px; }
    /* Popup « préviens-moi » (liste d'attente de l'app mobile) */
    .rl-modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.66); }
    .rl-modal.open { display: flex; }
    .rl-modal-card { position: relative; width: min(440px, 100%); background: var(--bg-2); border: 1px solid var(--ivory); border-radius: 4px; padding: 32px 26px 26px; box-shadow: var(--shadow-lg); text-align: center; }
    .rl-modal-x { position: absolute; top: 11px; right: 13px; background: none; border: 0; color: var(--text-faint); font-size: 18px; line-height: 1; cursor: pointer; }
    .rl-modal-x:hover { color: var(--ivory); }
    .rl-modal-ic { font-size: 42px; line-height: 1; margin-bottom: 12px; }
    .rl-modal-card h3 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--text); }
    .rl-modal-card p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.6; color: var(--text-dim); }
    .rl-modal-form { display: flex; flex-direction: column; gap: 10px; }
    .rl-modal-form input[type=email] { width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 3px; color: var(--text); padding: 13px 14px; font-size: 15px; font-family: var(--font-body); }
    .rl-modal-form input[type=email]:focus { outline: none; border-color: var(--ivory); }
    .rl-modal-form .btn { width: 100%; }
    #amHp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
    .rl-modal-msg { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; }
    .rl-modal-msg.ok { color: #7dd87d; }
    .rl-modal-msg.err { color: #e6857f; }

    /* SCÈNE « CARTOUCHE » (#download) — la cartouche descend s'insérer dans le
       slot à l'entrée de la section ; LED + READY s'allument, le CTA pulse. */
    .dock-scene { position: relative; width: min(520px, 100%); height: 224px; margin: 0 auto 36px; }
    .cart { position: absolute; left: calc(50% - 75px); bottom: 38px; width: 150px; z-index: 1; will-change: transform, opacity; }
    .cart-body { position: relative; background: linear-gradient(180deg, var(--cart-a, #2c2c34), var(--cart-b, #24242c)); border: 1px solid var(--cart-edge, #3d3d46); padding: 14px 12px 0; height: 96px; transition: background .3s var(--ease), border-color .3s var(--ease);
      clip-path: polygon(0 10px, 10px 10px, 10px 0, calc(100% - 10px) 0, calc(100% - 10px) 10px, 100% 10px, 100% 100%, 0 100%); }
    .cart-grip { display: flex; flex-direction: column; gap: 3px; margin-bottom: 11px; }
    .cart-grip i { display: block; height: 2px; background: var(--cart-edge, #3d3d46); transition: background .3s var(--ease); }
    /* teintes par OS — argent Apple, bleu Windows, orange Linux/Tux, vert Android,
       bleu App Store pour l'iPhone */
    .cart.os-mac     { --cart-a: #9b98a3; --cart-b: #767380; --cart-edge: #5b5864; }
    .cart.os-win     { --cart-a: #2e72d2; --cart-b: #17498f; --cart-edge: #123a75; }
    .cart.os-linux   { --cart-a: #de9a36; --cart-b: #a96a16; --cart-edge: #855310; }
    .cart.os-android { --cart-a: #43c078; --cart-b: #2a8a51; --cart-edge: #20693e; }
    .cart.os-ios     { --cart-a: #3ea6f0; --cart-b: #1272c4; --cart-edge: #0d5a9e; }
    .cart-label { background: var(--ivory); color: var(--ivory-ink); font-family: var(--font-pixel); font-weight: 600; font-size: 12px; letter-spacing: 1px; text-align: center; padding: 8px 4px 9px; line-height: 1.4; }
    .cart-label small { display: block; font-size: 9px; letter-spacing: 2.5px; color: #6d6557; margin-bottom: 2px; }
    .cart-pins { height: 10px; margin: 0 14px; background: repeating-linear-gradient(90deg, #15151a 0 4px, #3d3d46 4px 6px); border: 1px solid #3d3d46; border-top: 0; }
    .deck { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; z-index: 2; background: linear-gradient(180deg, #23232a, #1c1c22); border: 1px solid var(--border); border-radius: 2px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
    .deck::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 172px; height: 8px; background: #101014; border: 1px solid #3d3d46; border-top-color: #101014; }
    .deck-power { display: flex; align-items: center; gap: 8px; font-family: var(--font-pixel); font-size: 10.5px; font-weight: 500; letter-spacing: 2px; color: var(--text-faint); }
    .deck-led { width: 8px; height: 8px; background: #463136; transition: background .3s var(--ease), box-shadow .3s var(--ease); }
    .deck-ready { font-family: var(--font-pixel); font-size: 12px; font-weight: 500; letter-spacing: 2px; color: var(--ivory); opacity: 0; transition: opacity .3s var(--ease); }
    .final-cta.inserted .deck-led { background: var(--ivory); box-shadow: 0 0 10px rgba(239,233,224,.8); }
    .final-cta.inserted .deck-ready { opacity: 1; animation: rpg-blink 1.1s steps(1) infinite; }
    /* message pixel révélé caractère par caractère au-dessus du dock
       (le JS le masque via clip-path ; sans JS il reste visible) */
    .dock-msg { position: absolute; top: 2px; left: 0; right: 0; text-align: center; font-family: var(--font-pixel); font-size: 19px; font-weight: 600; letter-spacing: 3.5px; color: var(--ivory); text-shadow: 0 0 18px rgba(239,233,224,.35); }
    .final-cta.inserted .dock-msg .dock-c { animation: rpg-blink 1s steps(1) infinite; }

    footer { border-top: 1px solid var(--border-soft); padding: 54px 0 28px; position: relative; z-index: 2; }
    /* Bannière cookies (RGPD) — discrète, DA du site */
    .ck-banner { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 120;
      display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
      width: min(94vw, 640px); padding: 14px 18px; border-radius: 14px;
      background: rgba(27, 27, 33, .97); border: 1px solid rgba(239, 233, 224, .16);
      box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .85); backdrop-filter: blur(12px); }
    .ck-txt { margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-dim); flex: 1 1 320px; }
    .ck-txt a { color: var(--ivory); text-decoration: underline; text-underline-offset: 2px; }
    .ck-btns { display: flex; gap: 8px; }
    .ck-btns button { font: 600 12.5px var(--font-pixel); letter-spacing: .4px; padding: 9px 14px;
      border-radius: 9px; cursor: pointer; transition: transform .12s; }
    .ck-btns button:active { transform: scale(.95); }
    .ck-ok { background: var(--ivory); color: #17140f; border: 0; }
    .ck-no { background: transparent; color: var(--text-dim); border: 1px solid rgba(239, 233, 224, .2); }
    @media (max-width: 480px) { .ck-banner { bottom: 10px; } .ck-btns { width: 100%; } .ck-btns button { flex: 1; } }

    /* Menu déroulant « Guide » (desktop) : le lien reste cliquable, le survol
       déroule les 4 pages guides. Pont invisible ::after pour ne pas perdre
       le hover entre le lien et le panneau. */
    .nav-drop { position: relative; display: inline-flex; }
    .nav-drop > .link::after { content: "▾"; margin-left: 5px; font-size: 10px; opacity: .65; }
    .nav-drop::after { content: ""; position: absolute; top: 100%; left: -10px; right: -10px; height: 16px; }
    .nav-drop-menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px); background: rgba(21,21,26,.97); border: 1px solid rgba(239,233,224,.14); border-radius: 10px; padding: 8px; min-width: 235px; display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .15s var(--ease), transform .15s var(--ease), visibility .15s; box-shadow: 0 18px 40px -18px rgba(0,0,0,.85); z-index: 60; }
    .nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
    .nav-drop-menu a { padding: 9px 12px; border-radius: 7px; color: var(--text-dim); font-family: var(--font-display); font-weight: 500; font-size: 13.5px; text-decoration: none; white-space: nowrap; transition: color .15s, background .15s; }
    .nav-drop-menu a:hover { background: rgba(239,233,224,.08); color: var(--text); }

    .foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
    .foot-grid .brand .name { font-size: 16px; }
    .foot-note { color: var(--text-faint); font-size: 13px; max-width: 52ch; margin-top: 12px; line-height: 1.65; }
    .foot-h { font-family: var(--font-pixel); font-size: 12px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
    .foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
    /* liens façon menu de jeu : curseur ▸ qui apparaît au survol */
    .foot-col a { position: relative; padding-left: 16px; color: var(--text-dim); font-family: var(--font-display); font-weight: 500; font-size: 14px; transition: color .18s var(--ease); }
    .foot-col a::before { content: "▸"; position: absolute; left: 0; top: 50%; transform: translateY(-52%); font-family: var(--font-pixel); font-size: 12px; color: var(--ivory); opacity: 0; transition: opacity .15s; }
    .foot-col a:hover { color: var(--text); }
    .foot-col a:hover::before { opacity: 1; }
    .foot-spec { position: relative; padding-left: 16px; color: var(--text-faint); font-size: 13.5px; }
    .foot-spec::before { content: "◼"; position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-size: 6px; color: var(--text-faint); }
    .foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px dashed var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--text-faint); font-size: 12.5px; }
    .foot-coin { font-family: var(--font-pixel); font-size: 11.5px; font-weight: 500; letter-spacing: 2px; }
    .foot-coin .coin-c { color: var(--ivory); animation: rpg-blink 1s steps(1) infinite; }
    /* ============ MODE ÉDITION des callouts (?edit, admin) ============ */
    body.rl-edit .tv-callouts.on { pointer-events: auto; } /* seul le groupe actif est saisissable */
    body.rl-edit .tv-callouts.on .co-tag { cursor: grab; outline: 1px dashed rgba(239,233,224,.55); outline-offset: 3px; }
    body.rl-edit .tv-callouts.on .co-tag[contenteditable="true"] { cursor: text; outline: 2px solid var(--ivory); white-space: normal; min-width: 60px; }
    body.rl-edit .co.dragging .co-tag { cursor: grabbing; outline: 2px solid var(--ivory); }
    body.rl-edit .co.selected .co-tag { outline: 2px solid var(--ivory); outline-offset: 3px; }
    body.rl-edit .co.selected .co-dot { box-shadow: 0 0 0 3px rgba(10,10,14,.55), 0 0 12px rgba(239,233,224,.9); }
    body.rl-edit .tv-callouts.on .co-dot { cursor: move; transform: scale(2.1); } /* poignée de déplacement bien visible */
    body.rl-edit .tv-callouts.on .co { touch-action: none; } /* drag tactile sans scroller la page */
    /* suivi INSTANTANÉ pendant l'édition : les transitions d'apparition
       (0,26s + délai) faisaient traîner le trait derrière la souris */
    body.rl-edit .tv-callouts .co-line,
    body.rl-edit .tv-callouts .co-tag,
    body.rl-edit .tv-callouts .co-dot { transition: none !important; }
    .rl-co-tools { display: inline-flex; align-items: center; gap: 8px; }
    .rl-editbar input[type="range"] { width: 110px; accent-color: var(--ivory); }
    .rl-editbar #rlLenVal { min-width: 44px; color: var(--ivory); }
    .rl-editbar .rl-dirs { display: inline-flex; gap: 4px; }
    .rl-editbar .rl-dirs button { padding: 6px 9px 5px; }
    .rl-editbar button.ghost.active { border-color: var(--ivory); color: var(--ivory); }
    .rl-editbar button:disabled { opacity: .35; cursor: default; }
    .rl-editbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; padding: 12px 18px; background: #0d0d11; border-top: 2px solid var(--ivory); font-family: var(--font-pixel); font-size: 12px; font-weight: 500; letter-spacing: 1.2px; color: var(--text-dim); }
    .rl-editbar strong { color: var(--ivory); font-weight: 600; }
    .rl-editbar button { font-family: var(--font-pixel); font-size: 12px; letter-spacing: 1.2px; padding: 8px 14px 7px; background: var(--ivory); color: var(--ivory-ink); border: 0; border-radius: 2px; cursor: pointer; }
    .rl-editbar button.ghost { background: transparent; color: var(--text-dim); border: 1px dashed var(--border); }
    .rl-editbar button:hover { filter: brightness(1.08); }
    .rl-editbar .rl-status { min-width: 130px; text-align: left; }
    .rl-editbar .rl-status.ok { color: #7fc97f; }
    .rl-editbar .rl-status.err { color: #e0735f; }

    /* ============ CONTACT « écris-moi » : modale RPG + enveloppe pixel ============ */
    .faq-more { text-align: center; margin-top: 30px; color: var(--text-dim); font-size: 14.5px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
    .guide-note { max-width: 720px; margin: 36px auto 0; text-align: center; color: var(--text-dim); font-size: 14.5px; line-height: 1.7; border: 1px dashed var(--border); border-radius: 14px; padding: 18px 22px; background: rgba(239,233,224,.03); }
    /* Bannière CTA vers le guide (landing) — DA du site, sans jaune. */
    .guide-banner { max-width: 820px; margin: 0 auto; display: flex; align-items: center; gap: 20px; border: 1px solid var(--border); border-radius: 16px; padding: 20px 24px; background: var(--card); transition: border-color .2s var(--ease); }
    .guide-banner:hover { border-color: #4a4a50; }
    .guide-banner .gb-ic { flex: none; width: 50px; height: 50px; border-radius: 12px; background: var(--ivory); color: var(--ivory-ink); display: grid; place-items: center; }
    .guide-banner .gb-tt { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text); }
    .guide-banner .gb-sb { color: var(--text-dim); font-size: 14px; margin-top: 3px; }
    .guide-banner .btn { margin-left: auto; flex: none; }
    @media (max-width: 620px) { .guide-banner { flex-direction: column; text-align: center; } .guide-banner .btn { margin: 4px 0 0; } }
    .ct-open-btn { background: none; border: 1px dashed var(--border); border-radius: 2px; color: var(--ivory); font-family: var(--font-pixel); font-size: 12.5px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; padding: 9px 16px 8px; cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
    .ct-open-btn:hover { border-color: var(--ivory); background: rgba(239,233,224,.06); }
    .ct-overlay { position: fixed; inset: 0; z-index: 120; background: rgba(10,10,13,.84); display: flex; align-items: center; justify-content: center; padding: 20px; }
    .ct-overlay[hidden] { display: none; }
    /* le wrapper N'EST PAS scrollable : la plaque-titre et le ✕ dépassent
       de la boîte sans jamais être rognés par l'overflow interne */
    .ct-wrap { position: relative; width: min(580px, 100%); }
    .ct-box { position: relative; max-height: calc(100vh - 88px); overflow: auto; background: var(--bg-2); border: 2px solid var(--ivory); padding: 28px 30px 24px; box-shadow: var(--shadow-lg); }
    .ct-plate { position: absolute; top: -13px; left: 24px; z-index: 3; background: var(--ivory); color: var(--ivory-ink); font-family: var(--font-pixel); font-size: 13px; font-weight: 600; letter-spacing: 2px; padding: 3px 12px; white-space: nowrap; }
    .ct-close { position: absolute; top: -14px; right: -10px; z-index: 3; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: var(--ivory); color: var(--ivory-ink); border: 0; font-family: var(--font-pixel); font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: var(--shadow); transition: transform .15s var(--ease); }
    .ct-close:hover { transform: scale(1.12); }
    .ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
    .ct-grid > div { display: flex; flex-direction: column; justify-content: flex-end; }
    .ct-box ::placeholder { color: var(--text-faint); opacity: .7; }
    @media (max-width: 560px) { .ct-grid { grid-template-columns: 1fr; } }
    .ct-count { text-align: right; font-family: var(--font-pixel); font-size: 11px; letter-spacing: 1px; color: var(--text-faint); margin-top: 6px; }
    .ct-topic .lucide { width: 14px; height: 14px; vertical-align: -2px; }
    .ct-box label { display: block; font-family: var(--font-pixel); font-size: 11.5px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-faint); margin: 15px 0 6px; }
    .ct-box input[type="text"], .ct-box input[type="email"], .ct-box textarea { width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 2px; color: var(--text); padding: 11px 12px; font-family: var(--font-body); font-size: 14.5px; outline: none; transition: border-color .2s var(--ease); }
    .ct-box input:focus, .ct-box textarea:focus { border-color: var(--ivory); }
    .ct-box textarea { min-height: 120px; resize: vertical; }
    .ct-topics { display: flex; gap: 8px; flex-wrap: wrap; }
    .ct-topic { background: none; border: 1px solid var(--border); border-radius: 2px; color: var(--text-dim); font-family: var(--font-pixel); font-size: 12px; letter-spacing: 1px; padding: 8px 14px 7px; cursor: pointer; transition: all .15s var(--ease); }
    .ct-topic[aria-pressed="true"] { background: var(--ivory); color: var(--ivory-ink); border-color: var(--ivory); }
    .ct-actions { display: flex; align-items: center; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
    .ct-status { font-family: var(--font-pixel); font-size: 12px; letter-spacing: 1px; color: var(--text-faint); min-height: 16px; }
    .ct-status.err { color: #e0735f; }
    .ct-hp { position: absolute; left: -9999px; top: -9999px; }
    /* enveloppe pixel (animation d'envoi) */
    .ct-env { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; pointer-events: none; z-index: 5; }
    .ct-env.on { display: flex; }
    .ct-env .env { position: relative; width: 124px; height: 86px; background: var(--ivory); border: 2px solid #17140f; box-shadow: var(--shadow-lg); }
    .ct-env .flap { position: absolute; left: -2px; right: -2px; top: -2px; height: 56%; background: #e3dccb; border: 2px solid #17140f; clip-path: polygon(0 0, 100% 0, 50% 100%); }
    .ct-env .stamp { position: absolute; top: 7px; right: 8px; width: 18px; height: 22px; background: var(--nintendo); border: 2px solid #17140f; }
    .ct-success { display: none; text-align: center; padding: 26px 8px 16px; }
    .ct-success.on { display: block; }
    .ct-success h4 { margin: 0 0 10px; font-family: var(--font-pixel); font-weight: 700; font-size: 18px; letter-spacing: 2px; color: var(--ivory); }
    .ct-success p { margin: 0 0 22px; color: var(--text-dim); font-size: 14.5px; }

    /* toast « trophée » façon RetroAchievements (code Konami) */
    .achv { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 160%); visibility: hidden; z-index: 90; display: flex; align-items: center; gap: 16px; background: var(--bg-2); border: 2px solid var(--ivory); padding: 14px 24px 14px 18px; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); transition: transform .45s var(--ease), visibility 0s .45s; }
    .achv.show { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--ease), visibility 0s 0s; }
    .achv-icon { font-family: var(--font-pixel); font-size: 20px; color: var(--ivory); }
    .achv-t { font-family: var(--font-pixel); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--ivory); margin-bottom: 3px; }
    .achv-d { font-size: 13.5px; color: var(--text-dim); }

    /* RESPONSIVE */
    @media (max-width: 960px) {
      /* PERFS MOBILE : ces deux calques fixes plein écran (scanlines en
         mix-blend-mode + halos d'ambiance) forcent un repaint composé à
         chaque frame de scroll — quasi invisibles à ces tailles, on coupe */
      body::before, body::after { display: none; }
      /* backdrop-filter = source n°1 de jank nav sur Android moyen de gamme */
      header.nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(21,21,26,.96); }
      .hero-grid { grid-template-columns: 1fr; gap: 30px; }
      .hero { min-height: 0; padding: 50px 0 72px; }
      .stage { height: 368px; order: -1; perspective: none; }
      .dk-toast { bottom: 26px; }
      .stage-sticker { top: 16px; bottom: auto; } /* collé sur le coin haut de la carte (évite la collision avec le toast en bas) */
      /* télé : bloc empilé, panneau texte sous la télé.
         .tv-wrap doit être étiré (align-items:center le réduirait à son
         contenu et l'écran flex:1, sans largeur intrinsèque, s'effondre).
         Section compactée : pendant le pin, tout (titre + télé + texte de la
         chaîne) doit tenir dans un viewport de téléphone (~770px utiles) */
      .tv-pin { padding-top: 24px; padding-bottom: 8px; }
      .tv-pin .sep { margin-bottom: 18px; }
      .tv-pin .section-head { margin-bottom: 12px; }
      .tv-pin .section-head h2.pixel-title { font-size: 19px; letter-spacing: 2px; } /* une seule ligne */
      .tv-pin .section-head p { font-size: 14.5px; margin-top: 6px; }
      .tv-row { flex-direction: column; gap: 12px; }
      .tvt-num { margin-bottom: 6px; }
      .tvt-num::after { margin-top: 6px; }
      .tvt h3 { margin-bottom: 6px; }
      .tvt p { font-size: 14px; }
      .tv-wrap { width: 100%; max-width: 640px; margin: 0 auto; }
      .tv { --scrw: auto; width: 100%; }
      .tv-screen { width: auto; flex: 1; }
      .tv-text { flex: 0 0 auto; width: 100%; max-width: 560px; min-height: 0; align-self: center; text-align: center; }
      .tvt { position: static; display: none; transform: none; }
      .tvt.on { display: flex; align-items: center; }
      .tvt p { max-width: 52ch; }
      .speclist { grid-template-columns: repeat(2, 1fr); }
      .steps { grid-template-columns: 1fr; }
      /* #how épinglé aussi sur mobile : barre + cartes compactées pour que
         tout (titre + barre + 3 cartes) tienne dans ~600px utiles d'iPhone */
      #how.block { padding: 30px 0 44px; }
      #how .sep { margin-bottom: 20px; }
      #how .section-head { margin-bottom: 14px; }
      #how .section-head h2 { font-size: 23px; }
      .tl { margin-bottom: 18px; }
      .tl-time { font-size: 11px; letter-spacing: 1px; }
      .steps { gap: 12px; }
      .step { padding: 14px 16px; }
      .step h3 { font-size: 16px; margin-bottom: 5px; }
      .step p { font-size: 13.5px; line-height: 1.55; }
      /* FAQ : dialogue RPG empilé — menu au-dessus, boîte de dialogue dessous */
      .faq-rpg.on { grid-template-columns: 1fr; gap: 18px; }
      .rpg-box { padding: 26px 22px 46px; min-height: 200px; }
      .rpg-text { font-size: 15px; line-height: 1.7; }
      .menu-only-desktop { display: none; }
      .nav-cta-mobile { display: inline-flex; }
    }
    @media (max-width: 700px) {
      /* trop petit pour les callouts ; panneau de contrôle passe sous l'écran */
      .tv-callouts { display: none; }
      .foot-grid { grid-template-columns: 1fr; gap: 30px; }
      .tv { flex-direction: column; gap: 10px; padding: 10px; }
      .tv-side { flex: 0 0 auto; flex-direction: row; justify-content: center; align-items: center; gap: 14px; padding: 8px 4px 2px; border-left: 0; border-top: 1px solid rgba(255,255,255,.07); }
      .tv-speaker { width: 38px; height: 22px; }
      .tv-knobs { gap: 8px; }
      .tv-chs { flex-direction: row; margin-top: 0; margin-left: 6px; }
      .tv-ch { width: 52px; padding: 12px 0 11px; } /* cible tactile ≥ 44px de haut */
      .tv-feet { padding: 0 8%; }
      .tv-feet span { width: 44px; height: 11px; }
    }
    @media (max-width: 360px) {
      /* le panneau de contrôle (haut-parleur + molettes + 4 chaînes) imposait
         ~355px : tout est compacté pour tenir dans 320px de viewport */
      .tv { padding: 8px; }
      .tv-side { gap: 8px; }
      .tv-speaker { width: 28px; height: 18px; }
      .tv-knobs { gap: 6px; }
      .tv-knob { width: 16px; height: 16px; }
      .tv-knob::after { height: 5px; }
      .tv-chs { gap: 5px; margin-left: 2px; }
      .tv-ch { width: 42px; font-size: 10px; letter-spacing: 1px; }
    }
    @media (max-width: 560px) {
      .speclist { grid-template-columns: 1fr; }
      .sep { gap: 14px; padding: 0 16px; margin-bottom: 42px; }
      .sep .sep-label { font-size: 12px; letter-spacing: 2px; }
      .hero p.lead { max-width: none; }
      section.block { padding: 62px 0; }
      .final-cta { padding: 46px 20px; }
      .stage { height: 380px; }
      .dk-card { width: 340px; }
      .dk-shot { height: 185px; }
    }
    @media (prefers-reduced-motion: reduce) {
      * { scroll-behavior: auto !important; }
      .marquee-track { animation: none !important; }
      .hero-floor { animation: none !important; }
      .hero-badge { animation: none !important; }
      .stage { animation: none !important; }
      .pixel-title .tw-cursor { animation: none !important; }
      .tl-fill { transition: none !important; }
      .tl-num, .tl-time { transition: none !important; }
      .tl-play { animation: none !important; }
      .rpg-select .rpg-sq, .rpg-q.active .rpg-cursor, .rpg-next.on { animation: none !important; }
      .rpg-text.typing::after { content: none !important; }
      .final-cta.inserted .deck-ready, .final-cta.inserted .dock-msg .dock-c { animation: none !important; }
      .foot-coin .coin-c { animation: none !important; }
      body::before { opacity: .14; }
      .scene { transition: none !important; }
      .tv-led { animation: none !important; }
      .co-dot, .co-line, .co-tag, .tvt, .tv-ch { transition: none !important; }
      .ftag.gold { animation: none !important; }
      .btn-primary::after { display: none; }
      .chip { transition: none; }
      .chip:hover { transform: none; }
    }

/* ================= Section Avis (⭐) ================= */
.rv-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: 30px; }
.rv-head h2 { font-family: var(--font-pixel); font-size: clamp(24px, 3.4vw, 34px); }
.rv-avg { display: inline-flex; align-items: center; gap: 10px; }
.rv-stars { color: #e0a85f; letter-spacing: 3px; font-size: 18px; }
.rv-avg-text { color: var(--text-dim); font-size: 14px; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.rv-card { border: 1px solid rgba(239, 233, 224, .14); border-radius: 12px; background: rgba(255, 255, 255, .02); padding: 18px 20px; display: flex; flex-direction: column; gap: 9px; }
.rv-card .rv-stars { font-size: 15px; }
.rv-card .rv-who { display: flex; align-items: baseline; gap: 10px; justify-content: space-between; }
.rv-card .rv-name { font-weight: 700; color: var(--text); font-size: 14.5px; }
.rv-card .rv-date { color: var(--text-faint); font-size: 12px; }
.rv-card .rv-body { color: var(--text-dim); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.rv-empty { color: var(--text-dim); text-align: center; padding: 16px 0 4px; }
.rv-cta { text-align: center; margin-top: 30px; }
/* sélecteur d'étoiles de la modale */
.rv-pick { display: flex; gap: 6px; margin: 4px 0 14px; }
.rv-star { appearance: none; background: none; border: 0; padding: 2px 4px; font-size: 30px; line-height: 1; color: rgba(239, 233, 224, .22); cursor: pointer; transition: transform .12s ease, color .12s ease; }
.rv-star:hover { transform: scale(1.15); }
.rv-star.on { color: #e0a85f; }
.rv-star:focus-visible { outline: 2px solid var(--ivory); outline-offset: 2px; border-radius: 6px; }
