/* ==========================================================================
   Breizhiev : feuille de style unique du site
   ========================================================================== */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --bg-raise: #101419;
  --surface: #151a20;
  --surface-2: #1c222a;
  --line: #28303a;
  --line-strong: #3a4450;
  --text: #f3efe7;
  --muted: #aaa59b;
  --faint: #767168;
  --accent: #ff6a3d;
  --accent-hover: #ff8a63;
  --on-accent: #1d0b04;
  --game: var(--accent);
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1180px;
  --gutter: 16px;
  --header-h: 64px;
  --font-display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 18px 50px -20px rgb(0 0 0 / 0.7);
}
@media (min-width: 720px) {
  :root { --gutter: 28px; }
}

/* Langue : les deux versions sont dans la page, on masque celle qui n'est pas choisie. */
html[lang="fr"] [data-lang="en"],
html:not([lang="fr"]) [data-lang="fr"] {
  display: none !important;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; 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(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 600; }
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-block;
  font: 600 0.78rem/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--game);
  margin-bottom: 14px;
}
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }

/* --- Boutons --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--on-accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 0.98rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--muted); }
.btn-game { --btn-bg: var(--game); --btn-fg: #0b0d10; }
.btn-game:hover { background: color-mix(in srgb, var(--game) 82%, white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* --- En-tête --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(11 13 16 / 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark { width: 30px; height: 30px; color: var(--text); flex: none; }
.brand-name { font: 700 1rem/1 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }

.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.lang-switch button {
  min-width: 44px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 0.8rem/1 var(--font-body);
  letter-spacing: 0.08em;
  cursor: pointer;
}
.lang-switch button:hover { color: var(--text); }
html[lang="en"] .lang-switch [data-set-lang="en"],
html[lang="fr"] .lang-switch [data-set-lang="fr"] { background: var(--text); color: var(--bg); }

.menu-toggle { display: none; }

@media (max-width: 759px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
  }
  .menu-icon, .menu-icon::before, .menu-icon::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform 0.2s ease;
  }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 12px var(--gutter) 24px;
    background: var(--bg-raise);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent); }
  .lang-switch { align-self: flex-start; }
}

/* --- Sections -------------------------------------------------------------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-alt { background: var(--bg-raise); border-block: 1px solid var(--line); }

/* Motif d'hermines en fond, très discret. */
.ermine-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'%3E%3Cg fill='%23f3efe7' fill-opacity='.045'%3E%3Cg transform='translate(12 10) scale(.5)'%3E%3Ccircle cx='24' cy='9' r='4'/%3E%3Ccircle cx='15.5' cy='14.5' r='4'/%3E%3Ccircle cx='32.5' cy='14.5' r='4'/%3E%3Cpath d='M24 19c1.4 7.4 4.6 13.6 10.6 21.2l-6-1.4L24 44l-4.6-5.2-6 1.4C19.4 32.6 22.6 26.4 24 19z'/%3E%3C/g%3E%3Cg transform='translate(60 58) scale(.5)'%3E%3Ccircle cx='24' cy='9' r='4'/%3E%3Ccircle cx='15.5' cy='14.5' r='4'/%3E%3Ccircle cx='32.5' cy='14.5' r='4'/%3E%3Cpath d='M24 19c1.4 7.4 4.6 13.6 10.6 21.2l-6-1.4L24 44l-4.6-5.2-6 1.4C19.4 32.6 22.6 26.4 24 19z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 96px 96px;
}

/* --- Accueil : hero -------------------------------------------------------- */
.home-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 120px) clamp(64px, 9vw, 110px); }
.home-hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 30%;
  height: 80%;
  background: radial-gradient(closest-side, rgb(255 106 61 / 0.18), transparent);
  pointer-events: none;
}
.home-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
@media (min-width: 960px) {
  .home-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
}
.home-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); }
.home-hero h1 span[data-lang] em { font-style: normal; color: var(--accent); }
.hero-stack { position: relative; min-height: 470px; }
.hero-card {
  position: absolute;
  width: 74%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease;
}
.hero-card img { width: 100%; aspect-ratio: 1232 / 706; object-fit: cover; }
.hero-card:nth-child(1) { top: 0; left: 0; transform: rotate(-3deg); }
.hero-card:nth-child(2) { bottom: 0; right: 0; transform: rotate(2.5deg); }
.hero-card:hover { transform: rotate(0) scale(1.02); z-index: 2; }
@media (max-width: 959px) {
  .hero-stack { min-height: 0; display: grid; gap: 16px; }
  .hero-card { position: static; width: 100%; transform: none !important; }
}
@media (min-width: 560px) and (max-width: 959px) {
  .hero-stack { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 559px) {
  .hero-stack { display: none; }
}

/* --- Cartes de jeu --------------------------------------------------------- */
.game-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 900px) { .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.game-card {
  --game: var(--accent);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.game-card:hover { border-color: color-mix(in srgb, var(--game) 55%, var(--line)); transform: translateY(-3px); }
.game-card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.game-card-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.game-card:hover .game-card-media > img { transform: scale(1.04); }
.game-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgb(11 13 16 / 0.85)); }
.game-card-logo { position: absolute; z-index: 1; left: 24px; bottom: 20px; width: min(58%, 320px); filter: drop-shadow(0 6px 18px rgb(0 0 0 / 0.6)); }
.game-card-body { display: flex; flex-direction: column; gap: 4px; padding: 24px 24px 28px; flex: 1; }
.game-card-body h3 { font-size: 1.5rem; margin: 6px 0 8px; }
.game-card-body h3 a { text-decoration: none; }
.game-card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.game-card { position: relative; }
.game-card .btn-row { position: relative; z-index: 2; margin-top: auto; padding-top: 18px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--game) 14%, transparent);
  color: var(--game);
  font: 600 0.8rem/1 var(--font-body);
  letter-spacing: 0.02em;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }

/* --- Bandeau de chiffres ----------------------------------------------------- */
.stats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat { background: var(--surface); padding: 28px 24px; }
.stat strong { display: block; font: 700 clamp(2rem, 4vw, 2.8rem)/1 var(--font-display); color: var(--accent); margin-bottom: 10px; }
.stat span[data-lang] { color: var(--muted); }

/* --- Bloc « split » (texte + image) ------------------------------------------ */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } .split.reverse > :first-child { order: 2; } }
.split-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.split-media img { width: 100%; }

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 22%, var(--surface)), var(--surface) 60%);
  border: 1px solid var(--line-strong);
}
@media (min-width: 860px) { .cta-band { grid-template-columns: minmax(0, 1fr) auto; } }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin: 0; color: var(--muted); }
.cta-band .btn-row { margin-top: 0; }

/* --- Pages de jeu ------------------------------------------------------------ */
.game-hero { position: relative; isolation: isolate; min-height: min(78vh, 720px); display: flex; align-items: flex-end; padding-block: 140px 56px; overflow: hidden; }
.game-hero > picture, .game-hero > img.game-hero-bg { position: absolute; inset: 0; z-index: -2; }
.game-hero picture img, .game-hero img.game-hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.game-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, var(--bg) 2%, rgb(11 13 16 / 0.55) 45%, rgb(11 13 16 / 0.15) 75%),
    linear-gradient(90deg, rgb(11 13 16 / 0.75), transparent 65%);
}
.game-hero-logo { width: min(460px, 80%); margin-bottom: 24px; filter: drop-shadow(0 10px 30px rgb(0 0 0 / 0.65)); }
.game-hero .lead { color: var(--text); text-shadow: 0 2px 12px rgb(0 0 0 / 0.6); }
.formerly { color: var(--muted); font-size: 0.95rem; margin-top: -8px; }

.game-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 960px) { .game-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; } }
.game-layout aside { position: sticky; top: calc(var(--header-h) + 24px); }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: #dcd7cd; }
.prose strong { color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--game); }
.prose a { color: var(--game); }
.prose .punch { font: 600 1.15rem/1.4 var(--font-display); color: var(--text); }

.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.facts h2 { font-size: 1.05rem; margin-bottom: 16px; }
.facts dl { margin: 0; display: grid; gap: 14px; }
.facts dt { font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.facts dd { margin: 0; }
.facts .btn { width: 100%; justify-content: center; margin-top: 20px; }
.facts .btn + .btn { margin-top: 10px; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list li { position: relative; padding: 18px 18px 18px 50px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); color: #dcd7cd; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 16px;
  height: 16px;
  background: var(--game);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='9' r='4'/%3E%3Ccircle cx='15.5' cy='14.5' r='4'/%3E%3Ccircle cx='32.5' cy='14.5' r='4'/%3E%3Cpath d='M24 19c1.4 7.4 4.6 13.6 10.6 21.2l-6-1.4L24 44l-4.6-5.2-6 1.4C19.4 32.6 22.6 26.4 24 19z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='9' r='4'/%3E%3Ccircle cx='15.5' cy='14.5' r='4'/%3E%3Ccircle cx='32.5' cy='14.5' r='4'/%3E%3Cpath d='M24 19c1.4 7.4 4.6 13.6 10.6 21.2l-6-1.4L24 44l-4.6-5.2-6 1.4C19.4 32.6 22.6 26.4 24 19z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* --- Galerie + visionneuse ---------------------------------------------------- */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery figure { margin: 0; }
.gallery button, .gallery a.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  cursor: zoom-in;
}
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.4s ease, opacity 0.2s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: 0.88rem; color: var(--muted); padding-top: 8px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1600px); width: 100%; color: var(--text); }
.lightbox::backdrop { background: rgb(5 6 8 / 0.92); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox figcaption { text-align: center; padding: 12px; color: var(--muted); }
.lightbox-bar { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 8px; }
.lightbox-bar button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--text); font-size: 1.2rem; cursor: pointer;
}
.lightbox-bar button:hover { background: var(--surface-2); }

/* --- Press kit ---------------------------------------------------------------- */
.asset-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.asset {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-decoration: none;
}
.asset:hover { border-color: var(--game); }
.asset-preview { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 16px; background: repeating-conic-gradient(#1a1f26 0 25%, #14181e 0 50%) 0 0 / 20px 20px; }
.asset-preview img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.asset-preview.cover { padding: 0; }
.asset-preview.cover img { width: 100%; height: 100%; object-fit: cover; }
.asset-meta { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; font-size: 0.88rem; }
.asset-meta strong { font-weight: 600; }
.asset-meta > span { color: var(--faint); font-size: 0.8rem; }

.factsheet { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
@media (min-width: 720px) { .factsheet { grid-template-columns: 1fr 1fr; } }
.factsheet > div { background: var(--surface); padding: 16px 20px; }
.factsheet > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.factsheet dt { font: 600 0.72rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.factsheet dd { margin: 0; }
.factsheet a { color: var(--game); }

.press-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.press-nav a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 0.9rem; }
.press-nav a:hover { color: var(--text); border-color: var(--muted); }

.subsection { padding-top: clamp(48px, 6vw, 72px); }
.subsection > h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }

/* --- Pages de texte (mentions, confidentialité) -------------------------------- */
.page-head { padding-block: clamp(56px, 8vw, 96px) clamp(24px, 4vw, 40px); }
.page-head .lead { margin-top: 8px; }
.doc { padding-bottom: clamp(64px, 9vw, 120px); }
.doc .prose h2 { font-size: 1.25rem; }
.doc .updated { color: var(--faint); font-size: 0.92rem; }
.todo { color: #ffb27f; background: rgb(255 106 61 / 0.12); padding: 1px 6px; border-radius: 4px; font-style: italic; }
.card-links { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 720px) { .card-links { grid-template-columns: 1fr 1fr; } }
.card-link { display: block; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.card-link:hover { border-color: var(--game); }
.card-link strong { display: block; font-family: var(--font-display); margin-bottom: 4px; }
.card-link span[data-lang] { color: var(--muted); font-size: 0.95rem; }

/* --- À propos ----------------------------------------------------------------- */
.values { display: grid; gap: 16px; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.value-num { font: 700 0.85rem/1 var(--font-display); color: var(--accent); letter-spacing: 0.1em; display: block; margin-bottom: 18px; }
.value h3 { font-size: 1.1rem; }
.value p { color: var(--muted); margin: 0; font-size: 0.98rem; }

.trio { display: flex; gap: 14px; margin-bottom: 28px; color: var(--text); }
.trio svg { width: 54px; height: 54px; }
.trio svg:nth-child(2) { color: var(--accent); transform: translateY(-8px); }

/* --- Pied de page --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-raise); padding-top: 56px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } }
.footer-brand p { color: var(--muted); max-width: 32ch; margin-top: 14px; }
.footer-title { font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.site-footer ul a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
.kenavo { font-family: var(--font-display); letter-spacing: 0.04em; }

/* --- 404 ------------------------------------------------------------------------ */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.not-found .big { font: 800 clamp(5rem, 18vw, 11rem)/1 var(--font-display); color: var(--accent); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
