@font-face {
  font-family: 'Press Start 2P';
  src: url('/marketing/fonts/press-start-2p-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --navy: #0c0a14;
  --navy-deep: #080612;
  --ink: #e8e0d4;
  --muted: #9a90a8;
  --gold: #e8a84a;
  --gold-deep: #b8862e;
  --cyan: #67e8f9;
  --yellow: #ffc857;
  --orange: #f97316;
  --bronze: #cd7f32;
  --silver: #c0c0c0;
  --platinum: #9ec5e8;
  --line: #3a3050;
  --focus: #67e8f9;
  --max: 44rem;
  --tap: 2.75rem;
}

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

html {
  scroll-behavior: smooth;
  background: var(--navy-deep);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--navy-deep);
  color: var(--ink);
  min-height: 100vh;
}

body.marketing-scenery {
  position: relative;
  isolation: isolate;
  background: transparent;
  min-height: 100vh;
  min-height: 100dvh;
}

/* iOS-safe fixed layer (no background-attachment: fixed on body) */
body.marketing-scenery::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--navy-deep);
  background-image: url('/images/marketing/bg/bg-marseille-mobile.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

@media (min-width: 920px) {
  body.marketing-scenery::before {
    background-image: url('/images/marketing/bg/bg-marseille-desktop.jpg');
  }
}

.marketing-scenery__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.marketing-scenery__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.marketing-scenery__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.site-header {
  background: rgba(8, 6, 18, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.brand--wordmark {
  display: flex;
  justify-content: center;
  width: 100%;
  text-decoration: none;
}

.site-wordmark {
  display: block;
  width: min(640px, 92vw);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.lang-switch-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-left: auto;
  padding-left: 0.5rem;
  border-left: 1px solid var(--line);
}

.lang-switch {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
  min-height: 2rem;
  display: inline-flex;
  align-items: center;
}
.lang-switch[aria-current="true"] {
  color: var(--gold);
  font-weight: 700;
}

.footer-legal {
  font-size: 0.82rem;
  line-height: 1.55;
  max-width: 42rem;
}

.char-grid {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.char-grid--cast {
  grid-template-columns: 1fr;
}

.char-grid--friends {
  grid-template-columns: 1fr;
}

.char-grid--roster {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 36rem) {
  .char-grid--cast {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .char-grid--friends {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .char-grid--roster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .char-grid--roster {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.page-intro {
  margin: 0 0 1.25rem;
  text-align: center;
}

.page-intro h1,
.og-page-title {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.55rem, 2.8vw, 0.72rem);
  line-height: 1.55;
  color: var(--cyan);
  margin: 0;
  font-weight: 400;
}

.cast-lead {
  margin: 0 0 1rem;
}

.char-card--roster {
  background: transparent;
  border: none;
  padding: 0.35rem 0.25rem;
  margin: 0;
  list-style: none;
}

.char-card--roster h3 {
  margin: 0.35rem 0 0.15rem;
  font-size: 1rem;
  color: var(--yellow);
}

.char-species {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.char-role,
.char-desc {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #d4ccbe;
}

.hub-teasers {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 2rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hub-teasers {
    grid-template-columns: 1fr 1fr;
  }
}

.hub-teasers h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.hub-teasers h2 a {
  color: var(--yellow);
  text-decoration: none;
}

.hub-teasers h2 a:hover {
  text-decoration: underline;
}

.footer-wordmark {
  margin: 0 0 1rem;
  text-align: center;
}

.site-wordmark--compact {
  width: min(320px, 78vw);
}

.char-card {
  margin: 0;
  text-align: center;
}

.char-portrait-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  margin: 0 auto 0.75rem;
}

.char-portrait {
  width: auto;
  max-width: min(280px, 100%);
  max-height: min(320px, 42vw);
  height: auto;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.char-card--roster picture.char-portrait-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  min-height: 8.5rem;
  margin: 0 auto 0.5rem;
}

.char-card--roster .char-portrait {
  width: 90%;
  max-width: 90%;
  height: auto;
  max-height: 90%;
  object-fit: contain;
  object-position: center bottom;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.og-logo-slot {
  text-align: center;
  padding: 0.75rem 1rem 1rem;
}

.og-logo-slot.card {
  background: rgba(12, 10, 20, 0.88);
}

.og-logo-art-wrap {
  display: block;
  margin: 0 auto 0.75rem;
  max-width: min(240px, 72vw);
  width: 100%;
}

@media (min-width: 640px) {
  .og-logo-art-wrap {
    max-width: min(320px, 88vw);
  }
}

.og-logo-art {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  display: block;
  margin: 0 auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.og-page-lead {
  text-align: center;
  margin: 0;
  color: var(--muted);
}

.pitch-lead {
  font-size: 1.1rem;
  line-height: 1.55;
  color: #d4ccbe;
  margin: 0 0 1rem;
}

.pitch-cta {
  margin: 2rem 0 2.5rem;
}

.gameplay-line {
  font-size: 1.05rem;
  margin-top: 1.25rem;
}

.concept-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.og-wordmark-slot {
  text-align: center;
  padding: 1.5rem 1rem;
}

.og-wordmark-text {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.55rem, 2.5vw, 0.75rem);
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
  letter-spacing: 0.06em;
}

.card,
.hero {
  background: rgba(12, 10, 20, 0.88);
  backdrop-filter: blur(4px);
}

a { color: var(--cyan); }
a:hover { color: #a5f3fc; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--yellow);
  color: #000;
  font-weight: 700;
}
.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
  outline: 3px solid var(--focus);
}

.site-header, .site-main, .site-footer {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.site-main--wide {
  max-width: min(72rem, 100%);
}

.site-header {
  border-bottom: 1px solid var(--line);
  padding-top: 1.25rem;
}

.brand {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.65rem, 2.5vw, 0.85rem);
  letter-spacing: 0.04em;
  color: var(--yellow);
  text-decoration: none;
  line-height: 1.5;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  align-items: center;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.lang-switch { margin-left: auto; font-size: 0.85rem; }

.hero {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem;
  border: 2px solid var(--gold);
  background: rgba(18, 16, 28, 0.85);
  border-radius: 6px;
}

.hero h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.85rem, 3.2vw, 1.15rem);
  line-height: 1.45;
  margin: 0 0 1rem;
  color: var(--yellow);
}

.hero-lead {
  font-size: 1.1rem;
  color: #d4ccbe;
  margin: 0 0 1.25rem;
}

h2 {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.7rem, 2.8vw, 0.85rem);
  line-height: 1.5;
  margin: 2rem 0 0.75rem;
  color: var(--cyan);
}

h3 {
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--yellow);
}

p, li { color: #d4ccbe; }
.muted { color: var(--muted); font-size: 0.92rem; }

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  min-width: 12rem;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: #0c0a14;
  text-decoration: none;
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.55rem, 2.2vw, 0.7rem);
  border: 3px solid var(--yellow);
  box-shadow: 4px 4px 0 #000;
  border-radius: 4px;
}
.cta-primary:hover { filter: brightness(1.08); color: #0c0a14; }
.cta-primary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1rem; }

.cta-secondary {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0.65rem 1rem;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
}
.cta-secondary:hover { background: rgba(103, 232, 249, 0.08); }

.card {
  border: 1px solid var(--line);
  background: rgba(18, 16, 28, 0.9);
  padding: 1rem 1.1rem;
  margin: 1rem 0;
  border-radius: 6px;
}

.card--gold { border-color: var(--gold); }
.card--cyan { border-color: var(--cyan); }
.card--yellow { border-color: var(--yellow); }
.card--orange { border-color: var(--orange); }
.card--bronze { border-color: var(--bronze); }
.card--silver { border-color: var(--silver); }
.card--platinum { border-color: var(--platinum); }

.og-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
  list-style: none;
  padding: 0;
}

/* 4 cartes : jamais d’orphelin — 1 col mobile, 2×2 tablette, 4 colonnes grand desktop */
@media (min-width: 36rem) {
  .og-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .og-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .og-card-art {
    max-width: 100%;
  }
}

.og-card-grid > li {
  padding: 0.75rem;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 10, 20, 0.92);
}

.og-card-art {
  display: block;
  margin: 0 auto 0.75rem;
  max-width: 220px;
}

.og-card-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 750 / 1047;
  display: block;
  border-radius: 4px;
  image-rendering: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.og-card-stars {
  margin: 0;
}

.og-card-rank {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.5rem, 2vw, 0.62rem);
  line-height: 1.45;
  margin: 0 0 0.35rem;
  text-align: center;
  color: var(--yellow);
}

.og-card-sub {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  text-align: center;
  margin: 0 0 0.75rem;
}

.og-card-desc {
  font-size: 0.88rem;
  color: #d4ccbe;
  margin: 0;
  line-height: 1.55;
}

.og-program-banner { text-align: center; margin: 1.25rem 0; }

.video-wrap {
  margin: 1.25rem 0;
}
.video-wrap video {
  width: 100%;
  max-width: 960px;
  height: auto;
  aspect-ratio: 1080 / 608;
  background: #000;
  border: 2px solid var(--line);
  border-radius: 4px;
}
.video-wrap figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.faq-item { margin: 1.25rem 0; }
.faq-item h2 {
  font-size: 0.75rem;
  margin: 0 0 0.4rem;
  color: var(--yellow);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding-bottom: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

ul { padding-left: 1.2rem; }

.grid-2 {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
