/* GTA-6.fr — feuille de style principale
   Couleurs en variables : le mode nuit (html.nuit) ne fait que les redéfinir. */

:root {
  --bg: #FFFFFF;
  --surface: #F2F3F5;
  --surface-2: #E6E8EB;
  --line: #E3E5E8;
  --line-2: #DADDE1;
  --ph: #D7DADE;
  --ink: #111214;
  --text: #2A2B2E;
  --muted: #5C6066;
  --tag-ink: #2C2E33;
  --invert: #111214;
  --on-invert: #FFFFFF;
  --pink: #E5306B;
  --hover: #C81E5B;
  --warn-bg: #FFF4D6;
  --warn-ink: #6B4E00;
  --shadow: 0 18px 40px rgba(17, 18, 20, .10);
  --radius: 22px;
  --wrap: 1320px;
  --font-title: "Unbounded", system-ui, sans-serif;
  --font-text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

html.nuit {
  --bg: #141518;
  --surface: #1F2125;
  --surface-2: #2B2D32;
  --line: #2B2D32;
  --line-2: #33363C;
  --ph: #2B2D32;
  --ink: #F2F3F5;
  --text: #D7DADE;
  --muted: #A3A8B0;
  --tag-ink: #D7DADE;
  --invert: #F2F3F5;
  --on-invert: #111214;
  --warn-bg: #3A3220;
  --warn-ink: #F3D98B;
  --shadow: 0 18px 40px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--hover); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--invert); color: var(--on-invert); padding: 10px 16px; border-radius: 999px; font-weight: 800; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
main.wrap { padding-top: 32px; }

/* ---------- Typo ---------- */
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-title); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
.h1, .h2, .h3 { display: block; color: var(--ink); font-family: var(--font-title); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
.h1 { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -0.03em; line-height: 1.03; }
.h2 { font-size: clamp(24px, 2.4vw, 32px); }
.h3 { font-size: 20px; }
.eyebrow { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 18px; line-height: 1.6; color: var(--text); margin: 0; }
.meta { font-size: 13px; color: var(--muted); }
.tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--surface-2); color: var(--tag-ink); padding: 5px 9px; border-radius: 999px; line-height: 1.3; }
.tag.dark { background: var(--invert); color: var(--on-invert); }
.tag.warn { background: var(--warn-bg); color: var(--warn-ink); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font-weight: 800; font-size: 15px; padding: 14px 22px; border-radius: 999px; background: var(--invert); color: var(--on-invert); white-space: nowrap; }
.btn:hover { color: var(--on-invert); opacity: .9; }
.btn.light { background: var(--surface); color: var(--ink); }
.btn.light:hover { background: var(--invert); color: var(--on-invert); }
.btn.sm { padding: 10px 16px; font-size: 14px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; background: var(--surface); color: var(--ink); border-radius: 999px; padding: 11px 16px; }
.chip:hover, .chip[aria-current="true"] { background: var(--invert); color: var(--on-invert); }
.more { font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Bandeau fansite ---------- */
.band { background: #111214; color: #FFFFFF; font-size: 12.5px; font-weight: 700; text-align: center; padding: 8px 16px; line-height: 1.4; }
.band b { font-weight: 900; letter-spacing: .04em; }
html.nuit .band { background: #0B0C0E; border-bottom: 1px solid var(--line); }
.band-short { display: none; }
@media (max-width: 640px) { .band-short { display: inline; } }

/* ---------- En-tête ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.hd-in { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo-word { font-family: var(--font-title); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.logo-word span { color: var(--pink); }
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--ink); font-weight: 800; font-size: 15px; padding: 10px 14px; border-radius: 999px; cursor: pointer; }
.nav-btn svg { transition: transform .2s; }
.nav-btn.active { background: var(--surface); }
.nav-btn[aria-expanded="true"] { background: var(--invert); color: var(--on-invert); }
.nav-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.hd-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 999px; border: 0; background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.icon-btn:hover { color: var(--ink); background: var(--surface-2); }
.countdown { font-family: var(--font-title); font-weight: 800; font-size: 14px; background: var(--surface); color: var(--ink); border-radius: 999px; padding: 11px 14px; white-space: nowrap; }
.theme-switch { width: 62px; height: 34px; border-radius: 999px; border: 0; background: var(--surface-2); padding: 3px; display: flex; justify-content: flex-start; cursor: pointer; flex: none; transition: background .2s; }
.theme-switch span { width: 28px; height: 28px; border-radius: 999px; background: #FFFFFF; color: #B4570B; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: transform .2s; }
html.nuit .theme-switch { background: #3A3C42; }
html.nuit .theme-switch span { transform: translateX(28px); background: #F4F5F7; color: #15161A; }
.theme-switch .i-moon { display: none; }
html.nuit .theme-switch .i-sun { display: none; }
html.nuit .theme-switch .i-moon { display: block; }
.burger { display: none; }

/* Méga menus */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(17, 18, 20, .12); }
.mega[hidden] { display: none; }
.mega-in { max-width: var(--wrap); margin: 0 auto; padding: 28px 24px 32px; display: grid; gap: 32px; }
.mega-title { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.mega-links { display: flex; flex-direction: column; }
.mega-links a { padding: 8px 0; font-weight: 800; font-size: 15px; }
.mega-big a { font-family: var(--font-title); font-weight: 800; font-size: 19px; padding: 8px 0; display: block; letter-spacing: -0.01em; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fact { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: 16px; padding: 14px; }
.fact.dark { background: var(--invert); color: var(--on-invert); }
.fact.dark b, .fact.dark small { color: var(--on-invert); }
.fact-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--bg); color: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; }
.fact.dark .fact-ic { background: rgba(255,255,255,.12); color: inherit; }
html.nuit .fact.dark .fact-ic { background: rgba(0,0,0,.08); }
.fact small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; }
.fact b { display: block; color: var(--ink); font-size: 15px; }
.tile { position: relative; border-radius: 18px; overflow: hidden; background: var(--ph); display: block; min-height: 140px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.05); }
.tile .lbl { position: absolute; left: 10px; bottom: 10px; right: 10px; background: var(--bg); color: var(--ink); border-radius: 12px; padding: 9px 12px; font-weight: 800; font-size: 14px; display: flex; justify-content: space-between; gap: 8px; }
.fade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 86%, transparent) 30%, transparent 64%); pointer-events: none; }
.mega-photo { position: relative; border-radius: 22px; overflow: hidden; background: var(--ph); min-height: 300px; }
.mega-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega-photo .fade { background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 40%, transparent) 18%, transparent 45%); }
.mega-card { position: absolute; right: 14px; bottom: 14px; left: 14px; background: var(--bg); border-radius: 16px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.avatars { display: flex; }
.avatars img { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--bg); margin-left: -10px; background: var(--ph); }
.avatars img:first-child { margin-left: 0; }

/* Menu mobile */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--bg); overflow-y: auto; padding: 18px 20px 40px; }
.mobile-menu[hidden] { display: none; }
.mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mm-sec { border-top: 1px solid var(--line); }
.mm-sec summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--font-title); font-weight: 800; font-size: 20px; color: var(--ink); }
.mm-sec summary::-webkit-details-marker { display: none; }
.mm-sec[open] summary svg { transform: rotate(180deg); }
.mm-sec a { display: block; padding: 8px 0 8px 2px; font-weight: 700; font-size: 16px; }
.mm-sec div { padding-bottom: 14px; }

/* ---------- Pied de page ---------- */
.ft { margin-top: 96px; background: #111214; color: #FFFFFF; }
html.nuit .ft { background: #0B0C0E; }
.ft a { color: #E8E9EB; }
.ft a:hover { color: #FFFFFF; }
.ft-in { max-width: var(--wrap); margin: 0 auto; padding: 64px 24px 0; display: flex; flex-wrap: wrap; gap: 56px; }
.ft-brand { flex: 1 1 320px; max-width: 400px; display: flex; flex-direction: column; gap: 22px; }
.ft-brand p { margin: 0; color: #C8CBD0; font-size: 15px; }
.ft .logo, .ft .logo:hover { color: #FFFFFF; }
.ft .logo-word span { color: #FF6F9C; }
.nl { display: flex; gap: 6px; background: #222326; border-radius: 999px; padding: 5px; }
.nl input { flex: 1; min-width: 0; background: transparent; border: 0; color: #FFFFFF; font: inherit; font-size: 15px; padding: 0 14px; outline: none; height: 42px; }
.nl button { border: 0; background: #FFFFFF; color: #111214; font-weight: 800; font-size: 14px; border-radius: 999px; padding: 0 18px; cursor: pointer; }
.socials { display: flex; gap: 8px; }
.socials a { width: 44px; height: 44px; border-radius: 999px; background: #222326; display: flex; align-items: center; justify-content: center; }
.ft-nav { flex: 3 1 640px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px 24px; }
.ft-nav div { display: flex; flex-direction: column; gap: 11px; font-size: 15px; }
.ft-nav h2 { font-family: var(--font-text); font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #989CA3; margin-bottom: 4px; text-transform: uppercase; }
.ft-bottom { max-width: var(--wrap); margin: 56px auto 0; padding: 24px 24px 32px; border-top: 1px solid #2C2E33; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.disclaimer { flex: 1 1 520px; display: flex; gap: 14px; align-items: flex-start; background: #222326; border-radius: 16px; padding: 14px 16px; }
.disclaimer span { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #111214; background: #FFFFFF; border-radius: 999px; padding: 5px 9px; }
.disclaimer p { margin: 0; font-size: 13px; line-height: 1.6; color: #C8CBD0; }

/* ---------- Composants de page ---------- */
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.crumbs a { color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 700; }
.hero { position: relative; border-radius: 32px; overflow: hidden; min-height: 500px; display: flex; align-items: center; background: var(--ph); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-body { position: relative; padding: clamp(28px, 4vw, 56px); max-width: 640px; display: flex; flex-direction: column; gap: 16px; }
.section { margin-top: 72px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 22px; }
.section-head > div { display: flex; flex-direction: column; gap: 6px; }
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }

/* Carte article */
.acard { display: flex; flex-direction: column; gap: 12px; }
.acard .ph { position: relative; aspect-ratio: 16/10; border-radius: 20px; overflow: hidden; background: var(--ph); }
.acard .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.acard:hover .ph img { transform: scale(1.04); }
.acard h3 { font-size: 18px; line-height: 1.25; }
.acard p { margin: 0; font-size: 15px; color: var(--text); }
.acard.big { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.acard.big .ph { aspect-ratio: 16/10; border-radius: 26px; }
.acard.big h3 { font-size: clamp(22px, 2.4vw, 32px); }

/* Carte personnage compacte */
.pc { display: flex; flex-direction: column; background: var(--surface); border-radius: 22px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.pc:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.pc .ph { position: relative; aspect-ratio: 4/3; background: var(--ph); overflow: hidden; }
.pc .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .5s; }
.pc:hover .ph img { transform: scale(1.04); }
.pc .bd { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc .nm { font-family: var(--font-title); font-weight: 800; font-size: 19px; line-height: 1.15; color: var(--ink); }
.pc .ds { font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc .ft2 { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 800; color: var(--ink); }

/* Contenu rédactionnel */
.layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; margin-top: 48px; }
.layout > .main { flex: 999 1 560px; min-width: 0; }
.layout > aside { flex: 1 1 280px; max-width: 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.prose { font-size: 17.5px; line-height: 1.75; color: var(--text); max-width: 760px; overflow-wrap: break-word; }
.prose a { overflow-wrap: anywhere; }
.prose > * { margin: 0 0 18px; }
.prose h2 { font-size: 26px; margin: 44px 0 16px; scroll-margin-top: 100px; }
.prose h3 { font-size: 20px; margin: 32px 0 12px; scroll-margin-top: 100px; }
.prose h4, .prose h5, .prose h6 { font-size: 17px; margin: 26px 0 10px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose figure { margin: 28px 0; }
.prose figure img { border-radius: 20px; width: 100%; }
.prose img { border-radius: 16px; }
.prose blockquote { margin: 28px 0; padding: 20px 24px; background: var(--surface); border-radius: 20px; font-size: 18px; color: var(--ink); font-weight: 600; }
.prose blockquote p { margin: 0; }
.prose .note { font-size: 14px; color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.table-wrap { overflow-x: auto; margin: 24px 0; border-radius: 18px; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th { text-align: left; background: var(--surface); color: var(--ink); font-weight: 800; }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.btn-link { display: inline-flex; gap: 8px; align-items: center; background: var(--surface); color: var(--ink); border-radius: 999px; padding: 12px 18px; font-weight: 800; text-decoration: none !important; }
.btn-link:hover { background: var(--invert); color: var(--on-invert); }
.box { background: var(--surface); border-radius: var(--radius); padding: 20px 22px; }
.toc { display: flex; flex-direction: column; gap: 2px; }
.toc a { display: block; padding: 8px 12px; border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--text); }
.toc a:hover { background: var(--surface); color: var(--ink); }
.dl { margin: 0; display: grid; grid-template-columns: auto 1fr; font-size: 15px; }
.dl dt { color: var(--muted); padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); }
.dl dd { margin: 0; padding: 11px 0; font-weight: 800; color: var(--ink); border-bottom: 1px solid var(--line); text-align: right; }
.dl dt:last-of-type, .dl dd:last-of-type { border-bottom: 0; }

/* Formulaire de recherche */
.search-box { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 999px; padding: 0 18px; }
.search-box input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); outline: none; height: 52px; }

/* Encart pointillé */
.dashed { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; border: 2px dashed var(--line-2); border-radius: 26px; padding: 26px 28px; }

/* Pagination */
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.pager a, .pager span { min-width: 42px; height: 42px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; background: var(--surface); padding: 0 14px; }
.pager [aria-current] { background: var(--invert); color: var(--on-invert); }

/* Accueil */
.cd-big { display: flex; gap: 8px; }
.cd-big span { display: flex; flex-direction: column; align-items: center; min-width: 72px; background: var(--bg); border-radius: 16px; padding: 10px 12px; box-shadow: 0 1px 0 var(--line); }
.cd-big b { font-family: var(--font-title); font-weight: 800; font-size: 28px; color: var(--ink); line-height: 1.1; }
.cd-big small { font-size: 12px; color: var(--muted); font-weight: 700; }
.game-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: stretch; background: var(--surface); border-radius: 32px; padding: clamp(22px, 3vw, 36px); }
.game-band .fact { background: var(--bg); }
.game-band .fact.dark { background: var(--invert); }
.game-band .fact-ic { background: var(--surface); }
.game-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.game-links .tile { min-height: 170px; }
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.guides .tile { aspect-ratio: 4/5; min-height: 0; }

/* Fiche personnage */
.char-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: 32px; overflow: hidden; background: var(--surface); min-height: 480px; }
.char-hero .ph { position: relative; background: var(--ph); min-height: 360px; }
.char-hero .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.char-hero .bd { padding: clamp(26px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.quote { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: 20px; line-height: 1.35; color: var(--ink); letter-spacing: -0.01em; }
.quote::before { content: "« "; color: var(--pink); }
.quote::after { content: " »"; color: var(--pink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.gallery a { position: relative; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; background: var(--ph); display: block; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.04); }

/* Résultats de recherche */
.result { display: flex; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.result img { width: 120px; height: 80px; border-radius: 14px; object-fit: cover; flex: none; background: var(--ph); }
.result h2 { font-size: 18px; }
.result p { margin: 4px 0 0; font-size: 15px; }

/* ---------- Étape 2 : pages dédiées ---------- */

/* Faits clés en grille souple */
.facts-auto { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }

/* En-tête « jeu » avec jaquette */
.game-hero { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--surface); border-radius: 32px; padding: clamp(20px, 3vw, 36px); }
.game-hero .fact { background: var(--bg); }
.game-hero .fact.dark { background: var(--invert); }
.game-hero .fact-ic { background: var(--surface); }
.game-hero .fact.dark .fact-ic { background: rgba(255,255,255,.12); }
.cover { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1; background: var(--ph); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.game-hero .cd-big span { background: var(--bg); }

/* Éditions */
.editions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px; }
.edition { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); background: var(--surface); border-radius: 28px; overflow: hidden; }
.edition.alt { background: var(--invert); color: var(--on-invert); }
.edition.alt .h2, .edition.alt .price, .edition.alt .checks li { color: var(--on-invert); }
.edition.alt .btn { background: var(--on-invert); color: var(--invert); }
.edition .ph { position: relative; background: var(--ph); min-height: 220px; }
.edition .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.edition .bd { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.price { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: 34px; color: var(--ink); letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 10px; }
.price small { font-family: var(--font-text); font-size: 13px; font-weight: 700; opacity: .7; letter-spacing: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.checks li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 999px; background: var(--bg); color: var(--ink); font-size: 12px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.edition.alt .checks li::before { background: rgba(255,255,255,.14); color: var(--on-invert); }
html.nuit .edition.alt .checks li::before { background: rgba(0,0,0,.08); }
.bonus { display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: center; background: var(--warn-bg); color: var(--warn-ink); border-radius: 24px; padding: 22px 26px; }
.bonus .h3, .bonus .eyebrow { color: var(--warn-ink); }
.bonus > div { flex: 1 1 320px; }
.bonus-ic { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; flex: none; }
html.nuit .bonus-ic { background: rgba(0,0,0,.25); }

/* Chronologie */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; counter-reset: t; }
.timeline li { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--surface); border-radius: 20px; padding: 18px 18px 20px; }
.timeline li::before { content: ""; width: 12px; height: 12px; border-radius: 999px; background: var(--ink); margin-bottom: 4px; }
.timeline li.future::before { background: transparent; border: 2px solid var(--ink); }
.timeline li:last-child { background: var(--invert); color: var(--on-invert); }
.timeline li:last-child b, .timeline li:last-child time { color: var(--on-invert); }
.timeline li:last-child::before { background: var(--pink); border-color: var(--pink); }
.timeline time { font-size: 13px; font-weight: 800; color: var(--muted); }
.timeline b { font-family: var(--font-title); font-size: 16px; line-height: 1.2; color: var(--ink); }
.timeline span { font-size: 14px; line-height: 1.5; }

/* Précommande */
.store { display: inline-flex; align-items: center; gap: 12px; background: var(--invert); color: var(--on-invert); border-radius: 16px; padding: 10px 16px 10px 12px; font-weight: 800; }
.store:hover { color: var(--on-invert); opacity: .9; }
.store img { height: 26px; width: auto; }
html.nuit .store img { filter: invert(1); }
.store span { display: flex; flex-direction: column; line-height: 1.2; font-size: 15px; }
.store small { font-size: 11px; font-weight: 700; opacity: .7; }
.shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.shop { display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 20px; padding: 12px 18px 12px 12px; transition: transform .15s, box-shadow .15s; }
.shop:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.logo-box { width: 110px; height: 60px; border-radius: 14px; background: #111214; display: flex; align-items: center; justify-content: center; flex: none; padding: 10px; }
.logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.shop-bd { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.shop-bd b { color: var(--ink); font-size: 16px; }
.shop .go { font-weight: 800; color: var(--ink); }

/* Logo */
.logo-show { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.logo-stage { border-radius: 32px; display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 64px); min-height: 380px; background: radial-gradient(circle at 50% 40%, #2A1B3D 0%, #111214 70%); }
.logo-stage img { max-height: 300px; width: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.swatch { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border-radius: 20px; padding: 12px 12px 16px; }
.swatch b { color: var(--ink); margin-top: 6px; }
.chip-c { display: block; height: 84px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }

/* Chiffres clés */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.stat-big { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border-radius: 24px; padding: 22px; }
.stat-big.dark { background: var(--invert); color: var(--on-invert); }
.stat-big small { font-size: 13px; font-weight: 800; opacity: .75; }
.stat-big b { font-family: var(--font-title); font-weight: 800; font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -0.03em; color: var(--ink); line-height: 1.05; }
.stat-big.dark b { color: var(--on-invert); }
.stat-big span { font-size: 14px; }
.stat-chip { display: inline-flex; gap: 6px; align-items: baseline; background: var(--bg); border-radius: 14px; padding: 10px 14px; font-size: 14px; color: var(--muted); font-weight: 700; }
.stat-chip b { font-family: var(--font-title); font-size: 22px; color: var(--ink); }

/* Encyclopédie et guides */
.guides-lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.guides-lg .tile { aspect-ratio: 4/3; }
.tile .soon { position: absolute; top: 10px; left: 10px; background: var(--bg); color: var(--ink); }
.soon-box { display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: center; background: var(--surface); border-radius: 24px; padding: 22px 26px; }
.soon-box > div { flex: 1 1 320px; }
.soon-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--bg); color: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; }
.cd-chip { font-family: var(--font-title); font-weight: 800; font-size: 22px; background: var(--invert); color: var(--on-invert); border-radius: 16px; padding: 12px 18px; }

/* Véhicules */
.terrains { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.terrain { position: relative; border: 0; padding: 0; cursor: pointer; border-radius: 20px; overflow: hidden; aspect-ratio: 4/5; background: var(--ph); text-align: left; outline: 3px solid transparent; outline-offset: 3px; transition: outline-color .2s; }
.terrain img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.terrain:hover img { transform: scale(1.06); }
.terrain .lbl { position: absolute; left: 10px; right: 10px; bottom: 10px; background: var(--bg); color: var(--ink); border-radius: 14px; padding: 10px 12px; display: flex; justify-content: space-between; gap: 8px; font-family: var(--font-title); font-weight: 800; font-size: 14px; }
.terrain[aria-pressed="true"] { outline-color: var(--ink); }
.group-title { display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 20px; }
.group-title .meta { font-family: var(--font-text); font-weight: 800; }

/* Galerie */
.masonry { columns: 4 260px; column-gap: 12px; }
.gitem { display: block; margin: 0 0 12px; border-radius: 16px; overflow: hidden; background: var(--ph); break-inside: avoid; }
.gitem img { width: 100%; height: auto; transition: transform .4s; }
.gitem:hover img { transform: scale(1.03); }
.chip[aria-pressed="true"] { background: var(--invert); color: var(--on-invert); }
button.chip { border: 0; cursor: pointer; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(10, 11, 13, .88); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 16px; }
.lightbox [data-lb-close] { position: absolute; right: 10px; top: 10px; }
.lb-cap { color: #E8E9EB; text-align: center; margin: 10px 0 0; font-size: 14px; }

/* Vidéos */
.vcard { display: flex; flex-direction: column; gap: 8px; }
.vcard .ph { position: relative; aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; background: var(--ph); }
.vcard .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vcard:hover .ph img { transform: scale(1.04); }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 999px; background: #FFFFFF; color: #111214; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.play svg { fill: currentColor; margin-left: 3px; }
.dur { position: absolute; right: 10px; bottom: 10px; background: rgba(17,18,20,.85); color: #FFFFFF; font-size: 12px; font-weight: 800; border-radius: 8px; padding: 4px 8px; }
.yt { position: relative; aspect-ratio: 16/9; border-radius: 28px; overflow: hidden; background: #111214; }
.yt > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; color: #FFFFFF; }
.yt-consent p { margin: 0; max-width: 460px; font-size: 14px; background: rgba(17,18,20,.75); border-radius: 12px; padding: 10px 14px; }
.yt-consent a { color: #FFFFFF; text-decoration: underline; }
.yt-consent label { font-size: 13px; font-weight: 700; display: flex; gap: 8px; align-items: center; background: rgba(17,18,20,.75); border-radius: 999px; padding: 6px 12px; }
.yt-consent.quick p, .yt-consent.quick label { display: none; }
.yt-play { width: 84px; height: 84px; border-radius: 999px; border: 0; background: #FFFFFF; color: #111214; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.yt-play svg { fill: currentColor; margin-left: 4px; }

/* Cartes d'action */
.cardx { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border-radius: 24px; padding: 22px; transition: transform .15s, box-shadow .15s; }
.cardx:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.cardx b { font-family: var(--font-title); font-size: 18px; color: var(--ink); }
.cardx .fact-ic { background: var(--bg); }
.cardx .more { margin-top: auto; color: var(--ink); }

/* Formulaires */
.form { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; background: var(--surface); border-radius: 28px; padding: clamp(20px, 3vw, 32px); max-width: 820px; scroll-margin-top: 110px; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-weight: 800; font-size: 14px; color: var(--ink); padding: 0; }
.field small { font-weight: 600; color: var(--muted); }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 14px; outline: none; width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 12%, transparent); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pill-radio { position: relative; }
.pill-radio input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.pill-radio span { display: inline-block; cursor: pointer; background: var(--bg); color: var(--ink); border-radius: 999px; padding: 10px 14px; font-weight: 700; font-size: 14px; border: 1px solid var(--line-2); }
.pill-radio input:checked + span { background: var(--invert); color: var(--on-invert); border-color: var(--invert); }
.pill-radio input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.flash { display: flex; gap: 12px; align-items: center; border-radius: 16px; padding: 14px 16px; font-weight: 700; }
.flash.ok { background: #E3F4EA; color: #1F6B43; }
.flash.error { background: #FDE3E3; color: #9B1C1C; }
html.nuit .flash.ok { background: #183526; color: #9BE0B8; }
html.nuit .flash.error { background: #3B1C1C; color: #F6B4B4; }

/* Gestion des cookies */
.consent { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; background: var(--surface); border-radius: 24px; padding: 22px 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .countdown { display: none; }
}
@media (max-width: 980px) {
  .nav, .hd-actions .btn, .mega { display: none !important; }
  .burger { display: inline-flex; }
  .acard.big { grid-template-columns: 1fr; }
  .layout > aside { position: static; max-width: none; }
  .game-band, .char-hero, .game-hero, .logo-show { grid-template-columns: 1fr; }
  .game-hero .cover { max-width: 360px; }
}
@media (max-width: 640px) {
  .wrap, .hd-in { padding: 0 16px; }
  .hd-in { height: 64px; gap: 10px; }
  .logo-word { font-size: 19px; }
  .theme-switch { width: 54px; }
  html.nuit .theme-switch span { transform: translateX(20px); }
  /* Sur mobile : image en haut, texte en dessous, pour que tout reste lisible */
  .hero { display: block; min-height: 0 !important; border-radius: 24px; background: var(--surface); }
  .hero > img { position: relative; height: 220px; }
  .hero .fade { display: none; }
  .hero-body { padding: 22px 20px 24px; }
  .cd-big span { background: var(--bg); }
  .band-long { display: none; }
  .section { margin-top: 56px; }
  .prose { font-size: 16.5px; }
  .cd-big span { min-width: 0; flex: 1; padding: 8px 6px; }
  .cd-big b { font-size: 22px; }
  .game-links { grid-template-columns: 1fr; }
  .result img { width: 84px; height: 64px; }
  .edition { grid-template-columns: 1fr; }
  .edition .ph { min-height: 180px; }
  .terrains { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .terrain { aspect-ratio: 16/10; }
  .terrain .lbl { font-size: 13px; padding: 8px 10px; left: 8px; right: 8px; bottom: 8px; }
  .masonry { columns: 2 140px; column-gap: 8px; }
  .gitem { margin-bottom: 8px; }
  .yt { border-radius: 20px; }
  .yt-consent { gap: 8px; padding: 10px; }
  .yt-consent p { font-size: 12px; padding: 6px 10px; }
  .yt-consent label { display: none; }
  .yt-play { width: 60px; height: 60px; }
  .logo-stage { min-height: 260px; }
  .ft { margin-top: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
