/* Ouroboros Games — feuille de style unique */

:root {
  --bg: #0b0a10;
  --bg-2: #12101a;
  --surface: #191624;
  --surface-2: #221e30;
  --line: rgba(240, 179, 90, 0.16);
  --line-strong: rgba(240, 179, 90, 0.38);
  --text: #efe8dc;
  --muted: #a8a094;
  --gold: #f0b35a;
  --gold-deep: #c9822c;
  --ember: #ff7a1a;
  --violet: #8b5cf6;
  --violet-soft: rgba(139, 92, 246, 0.18);
  --green: #6fd08c;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ffd08a; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; text-wrap: balance; }
h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: 0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: #1a1208; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  margin: 0 0 0.25em;
  background: linear-gradient(180deg, #fff6e6 0%, #f3d29b 55%, #c9822c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 24px rgba(255, 122, 26, 0.25));
}
.display span { display: block; font-size: 0.42em; letter-spacing: 0.5em; margin-top: 0.35em; padding-left: 0.5em; }

/* ---------------------------------------------------------------- Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.98rem; text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, #ffc46e, var(--gold-deep));
  color: #1d1206;
  box-shadow: 0 8px 26px rgba(255, 122, 26, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { color: #1d1206; box-shadow: 0 10px 32px rgba(255, 122, 26, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { color: var(--text); border-color: var(--gold); background: rgba(240, 179, 90, 0.08); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 0.9rem; }
.btn-discord { background: #5865f2; color: #fff; }
.btn-discord:hover { background: #6b77f5; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin 0.15s ease; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------------------------------------------------------------- En-tete */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(11, 10, 16, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.04em; }
.brand:hover { color: var(--text); }
.brand em { font-style: normal; color: var(--gold); }
.brand img { border-radius: 50%; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { white-space: nowrap;
  color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  padding: 8px 12px; border-radius: 8px;
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { color: var(--text); }
.site-nav .btn { margin-left: 8px; }
.site-nav .lang-switch { border: 1px solid var(--line-strong); margin-left: 6px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 11px; width: 20px; height: 2px; background: var(--text); border-radius: 2px; content: ""; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar { top: 50%; transform: translateY(-50%); }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px;
    background: rgba(11, 10, 16, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .site-nav a:not(.btn) { padding: 12px 8px; font-size: 1.05rem; }
  .site-nav .btn { margin: 10px 0 0; }
  .site-nav .lang-switch { margin: 10px 0 0; text-align: center; }
}

/* ---------------------------------------------------------------- Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; margin: 0; }
.note { color: var(--muted); font-size: 0.95rem; margin-top: 28px; padding-left: 14px; border-left: 2px solid var(--gold); }

/* ---------------------------------------------------------------- Hero accueil */
.hero { position: relative; overflow: hidden; }
/* La banniere porte deja le logo : elle sert d'illustration principale, le texte vient dessous */
.hero-home { padding-bottom: clamp(48px, 8vw, 88px); }
.hero-bg { position: relative; display: block; }
.hero-bg img { width: 100%; height: min(78vh, calc(100vw * 793 / 1983)); min-height: 340px; object-fit: cover; object-position: center 45%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, transparent 8%, transparent 92%, var(--bg) 100%),
    linear-gradient(180deg, rgba(11, 10, 16, 0.35) 0%, transparent 18%, transparent 72%, var(--bg) 100%);
}
/* Telephone : banniere verticale dediee (titre entier, net), a sa proportion naturelle */
@media (max-width: 700px) {
  .hero-bg img { height: auto; aspect-ratio: 1080 / 1341; max-height: 88vh; min-height: 0; object-position: center 40%; }
}
.hero-home .hero-content { position: relative; z-index: 1; text-align: center; margin-top: clamp(-56px, -4vw, -24px); }
.hero-home .actions { justify-content: center; }
.tagline { font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.45rem); color: #f6e7cc; letter-spacing: 0.04em; margin-bottom: 1.2rem; }
.platforms { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--muted); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.platforms li + li::before { content: "•"; color: var(--gold); margin-right: 22px; }

/* ---------------------------------------------------------------- Badges */
.badges { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: #e9dcc4; background: rgba(255, 255, 255, 0.03);
}
.badge-live { border-color: rgba(111, 208, 140, 0.5); color: var(--green); }
.badge-live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 8px var(--green); }
.badge-soon { border-color: rgba(139, 92, 246, 0.55); color: #c4b1ff; }

/* ---------------------------------------------------------------- Cartes de jeux */
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.game-card {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.game-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.game-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.game-card-media > img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.game-card:hover .game-card-media > img:first-child { transform: scale(1.04); }
.game-card-phone {
  position: absolute; right: 8%; bottom: -18%; width: 34%;
  border-radius: 12px; border: 3px solid #1b1622; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  transform: rotate(6deg);
}
.game-card-mystery img { width: 100%; height: 100%; object-fit: cover; animation: breathe 8s ease-in-out infinite; }
.game-card-mystery::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(14, 12, 22, 0.6) 100%); }
@keyframes breathe { 50% { transform: scale(1.05) rotate(-2deg); } }
@keyframes spin { to { transform: rotate(-360deg); } }
.game-card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.game-card-body h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; }
.game-card-body h3 a { color: var(--text); text-decoration: none; }
.game-card-body p { color: var(--muted); flex: 1; }
.game-card-next { border-style: dashed; }

/* ---------------------------------------------------------------- Univers */
.section-universe { background: radial-gradient(ellipse 60% 70% at 80% 50%, var(--violet-soft), transparent 70%); }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split-text p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.universe-banner { border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ---------------------------------------------------------------- Valeurs / fonctionnalites */
.value-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-grid { grid-template-columns: repeat(4, 1fr); }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.value, .feature {
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}
.value h3 { font-family: var(--font-display); color: var(--gold); font-size: 1.2rem; }
.value p, .feature p { color: var(--muted); margin: 0; }
.feature-icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px;
  border-radius: 12px; font-size: 1.4rem; color: var(--gold);
  background: rgba(240, 179, 90, 0.1); border: 1px solid var(--line-strong);
}

.ai-block {
  display: flex; gap: 24px; align-items: flex-start; margin-top: 20px; padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-lg); border: 1px solid rgba(139, 92, 246, 0.45);
  background: radial-gradient(ellipse 60% 140% at 0% 0%, var(--violet-soft), transparent 70%), var(--surface);
}
.ai-block h3 { font-family: var(--font-display); font-size: 1.35rem; color: #d5c6ff; }
.ai-block p { color: var(--muted); margin: 0 0 0.8em; max-width: 820px; }
.ai-block p:last-child { margin: 0; }
.ai-icon { flex: 0 0 auto; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem; color: #c4b1ff; background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.45); }
.pixel-shot { image-rendering: auto; }

/* ---------------------------------------------------------------- Bandeau d'appel */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse 60% 120% at 0% 0%, rgba(255, 122, 26, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 120% at 100% 100%, var(--violet-soft), transparent 60%),
    var(--surface);
}
.cta-band h2 { margin-bottom: 0.3em; }
.cta-band p { color: var(--muted); margin: 0; max-width: 560px; }
.cta-band .actions { margin: 0; }
.cta-band .socials { margin-top: 14px; font-size: 0.92rem; }
.socials a { display: inline-block; margin: 4px 0 0 10px; padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; }
.socials a:hover { border-color: var(--gold); color: var(--gold); }

/* ---------------------------------------------------------------- Hero page de jeu */
.hero-game { padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 8vw, 88px); }
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 45% 55% at 75% 35%, rgba(255, 122, 26, 0.2), transparent 100%),
    radial-gradient(ellipse 40% 50% at 85% 80%, var(--violet-soft), transparent 100%);
  pointer-events: none;
}
.hero-split { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero-split-video { grid-template-columns: 0.9fr 1.1fr; }
.hero-game .display { font-size: clamp(2.6rem, 7vw, 4.6rem); }
.hero-game .tagline { margin-bottom: 0.8rem; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 560px; }
.game-logo { width: 88px; height: 88px; margin-bottom: 20px; border-radius: 50%; box-shadow: 0 0 40px rgba(64, 140, 255, 0.35); }
.hero-phone { display: flex; justify-content: center; }
.hero-phone .phone { width: min(300px, 70vw); transform: rotate(3deg); }

.phone {
  position: relative; padding: 10px; border-radius: 34px;
  background: linear-gradient(160deg, #2c2638, #120f19);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.phone img { width: 100%; height: auto; border-radius: 24px; aspect-ratio: 9 / 18; object-fit: cover; object-position: top; }

.hero-video video { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); box-shadow: var(--shadow); background: #000; aspect-ratio: 16 / 9; }
.caption { color: var(--muted); font-size: 0.88rem; margin: 10px 0 0; text-align: center; }

/* ---------------------------------------------------------------- Concept marche */
.walk-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: walk; }
.walk-steps li { counter-increment: walk; }
.walk-steps img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); margin-bottom: 18px; }
.walk-steps h3::before { content: counter(walk); display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 50%; background: var(--gold); color: #1d1206; font-size: 0.95rem; vertical-align: 2px; }
.walk-steps p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- Galerie */
.gallery {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 24px;
  scrollbar-width: thin; scrollbar-color: var(--gold-deep) transparent;
}
.gallery figure { flex: 0 0 auto; width: 230px; margin: 0; scroll-snap-align: center; }
.gallery figcaption { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 12px; }
.gallery img { cursor: zoom-in; transition: filter 0.2s; }
.gallery img:hover { filter: brightness(1.08); }
.gallery img:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Visionneuse des captures */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 64px 16px 16px; background: rgba(6, 5, 10, 0.94); backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox img {
  display: block; height: min(calc(100vh - 150px), 1000px); height: min(calc(100dvh - 150px), 1000px); width: auto; max-width: calc(100vw - 32px); object-fit: contain;
  border-radius: 22px; border: 1px solid var(--line-strong); box-shadow: var(--shadow); background: #000;
}
.lightbox figcaption { color: var(--text); font-size: 1rem; margin-top: 14px; text-align: center; }
.lightbox-btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0 0 4px;
  border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(25, 22, 36, 0.85); color: var(--text);
  font-size: 2rem; line-height: 1; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.lightbox-btn:hover, .lightbox-btn:focus-visible { background: var(--gold); color: #1d1206; outline: none; }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: max(12px, calc(50% - 320px)); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: max(12px, calc(50% - 320px)); top: 50%; transform: translateY(-50%); }
body.lightbox-open { overflow: hidden; }

/* ---------------------------------------------------------------- Etapes alpha */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: 28px 26px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.steps li::before {
  content: counter(step); font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: 14px;
}
.steps p { color: var(--muted); flex: 1; }
.steps .btn { margin-top: 8px; }
.steps .step-wait { border-style: dashed; border-color: var(--line-strong); background: linear-gradient(180deg, rgba(240, 179, 90, 0.07), var(--surface)); }
.wait-badge { margin-top: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--gold); font-weight: 700; letter-spacing: 0.04em; }

/* ---------------------------------------------------------------- FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.5rem; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 20px; }

/* ---------------------------------------------------------------- Miner */
.highlight {
  display: flex; align-items: center; gap: 28px; padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  background: radial-gradient(ellipse 50% 140% at 0% 50%, rgba(240, 179, 90, 0.14), transparent 60%), var(--surface);
}
.highlight h2 { margin-bottom: 0.3em; }
.highlight p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.highlight-icon { flex: 0 0 auto; font-size: 3.4rem; line-height: 1; color: var(--gold); animation: spin 12s linear infinite reverse; }
.strata { list-style: none; padding: 0; margin: 0 0 40px; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: s; }
.strata li { counter-increment: s; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-weight: 500; }
.strata li::before { content: counter(s) " "; color: var(--gold); font-weight: 700; margin-right: 6px; }
.strata .strata-deep { background: linear-gradient(90deg, #1a1028, #07060b); border-color: rgba(139, 92, 246, 0.6); color: #c4b1ff; }
.strata .strata-deep::before { content: "6–7"; color: #c4b1ff; }
.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.shot-grid img { width: 100%; aspect-ratio: 20 / 9; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }

/* ---------------------------------------------------------------- Pages legales */
.prose h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose p, .prose li { color: #d9d1c4; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.meta { color: var(--muted); font-size: 0.92rem; }
mark.todo { background: rgba(255, 122, 26, 0.18); color: #ffb37a; border: 1px dashed rgba(255, 122, 26, 0.6); border-radius: 4px; padding: 0 4px; }

/* ---------------------------------------------------------------- Pied de page */
.site-footer { border-top: 1px solid var(--line); background: #08070c; padding: 56px 0 28px; margin-top: 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { color: var(--muted); margin: 12px 0 0; font-family: var(--font-display); }
.footer-cols { display: flex; gap: clamp(32px, 6vw, 72px); flex-wrap: wrap; }
.footer-cols h2 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-cols a { display: block; color: var(--muted); text-decoration: none; padding: 4px 0; }
.footer-cols a:hover { color: var(--text); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.06); color: #7d766c; font-size: 0.85rem; }
.footer-bottom p { margin: 0 0 6px; }
.footer-trademarks { font-size: 0.78rem; }

/* ---------------------------------------------------------------- 404 */
.notfound { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; padding: 24px; }
.notfound img { margin-bottom: 12px; animation: spin 30s linear infinite; }
.notfound p { color: var(--muted); margin: 0 0 4px; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 980px) {
  .game-grid { grid-template-columns: 1fr 1fr; }
  .game-card-next { grid-column: 1 / -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .hero-split, .hero-split-video { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero-split-video .hero-video { order: -1; }
}
@media (max-width: 700px) {
  .game-grid, .value-grid, .feature-grid, .feature-grid-3, .walk-steps, .steps { grid-template-columns: 1fr; }
  .game-card-next { grid-column: auto; }
  .hero-bg img { height: auto; min-height: 0; aspect-ratio: 4 / 4.2; object-position: 50% 50%; }
  .shot-grid { grid-template-columns: 1fr; }
  .highlight, .ai-block { flex-direction: column; align-items: flex-start; gap: 16px; }
  .gallery figure { width: 200px; }
  .platforms { letter-spacing: 0.12em; font-size: 0.74rem; gap: 6px 12px; }
  .platforms li + li::before { margin-right: 12px; }
  .walk-steps img { aspect-ratio: 4 / 3; }
  .cta-band .actions, .cta-band .btn { width: 100%; }
  .actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- Logos des reseaux (pied de page) */
.site-footer a.with-icon, .with-icon { display: flex; width: fit-content; align-items: center; gap: 9px; }
.with-icon .icon { flex: none; opacity: 0.85; }
.with-icon:hover .icon { opacity: 1; }

/* ---------------------------------------------------------------- Drapeau derriere le bouton de langue */
.site-nav .lang-switch { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9); background-size: cover; background-position: center; }
.site-nav .lang-switch[data-lang="fr"] {
  background-image: linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38)),
    linear-gradient(90deg, #0055a4 0 33.34%, #ffffff 33.34% 66.67%, #ef4135 66.67%);
}
.site-nav .lang-switch[data-lang="en"] {
  background-image: linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30' preserveAspectRatio='none'%3E%3CclipPath id='t'%3E%3Cpath d='M30,15h30v15zv15h-30zh-30v-15zv-15h30z'/%3E%3C/clipPath%3E%3Cpath d='M0,0v30h60v-30z' fill='%23012169'/%3E%3Cpath d='M0,0L60,30M60,0L0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0L60,30M60,0L0,30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30,0v30M0,15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0v30M0,15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E");
}
.site-nav .lang-switch:hover { color: #fff; border-color: var(--gold); }
