/* =========================================================
   Beyond The Dark: Nightwatch — site.css
   Unité de design : --u = 1px de la maquette 1920×1080,
   mise à l'échelle selon l'écran (composition « affiche »).
   ========================================================= */

@font-face { font-family: "VCR"; src: url("../fonts/vcr-mono.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Facundo"; src: url("../fonts/facundo-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Facundo"; src: url("../fonts/facundo-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Facundo"; src: url("../fonts/facundo-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Facundo"; src: url("../fonts/facundo-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --u: clamp(0.75px, min(calc(100vw / 1920), calc(100vh / 1080)), 1.6px);
  --green: #42fb43;
  --green-dark: #395e29;
  --green-social: #395e25;
  --green-ink: #23a523;
  --footer: rgba(2, 15, 3, 0.74);
  --trailer-back: rgba(10, 24, 38, 0.8);
  --white: #fff;
  --paper: #f2f2ef;
  --mono: "VCR", ui-monospace, "Courier New", monospace;
  --sans: "Facundo", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-move: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: calc(56 * var(--u));
  --glow-green: 0 0 calc(10 * var(--u)) rgba(66, 251, 67, 0.55);
  --glow-white: 0 0 calc(12 * var(--u)) rgba(255, 255, 255, 0.45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: #071107; color: var(--white);
  font-family: var(--sans); font-size: max(13px, calc(15 * var(--u))); line-height: 1.2;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--green); color: #000; padding: 8px 14px; font-family: var(--mono); transition: top 160ms var(--ease-out); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

/* ---------- Fond ---------- */
.bg {
  position: fixed; inset: 0; z-index: -1;
  background: #0c1d0c url("../img/bg-2560.webp") center bottom / cover no-repeat;
}
@media (max-width: 1440px) { .bg { background-image: url("../img/bg-1440.webp"); } }
@media (max-width: 800px)  { .bg { background-image: url("../img/bg-800.webp"); background-position: 30% bottom; } }

.page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.stage {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: calc(34 * var(--u)) 0 calc(40 * var(--u));
}
.page-home .stage { justify-content: center; }
.page-game .stage { padding-bottom: calc(10 * var(--u)); }
.page-preorder .stage { padding-bottom: calc(24 * var(--u)); }
.page-preorder .release { margin-top: calc(22 * var(--u)); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 calc(25 * var(--u)) 0 calc(25 * var(--u));
  background: linear-gradient(rgba(6, 9, 6, 0.92), rgba(6, 9, 6, 0.86));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 calc(6 * var(--u)) calc(18 * var(--u)) rgba(0, 0, 0, 0.35);
  view-transition-name: site-header;
}
.site-nav { height: 100%; }
.site-nav ul { display: flex; height: 100%; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.site-nav li { border-right: 1px solid rgba(255, 255, 255, 0.1); }
.site-nav a {
  position: relative; display: flex; align-items: center; height: 100%;
  padding: 0 calc(37 * var(--u)); padding-bottom: calc(4 * var(--u));
  font-family: var(--mono); font-size: max(12px, calc(15.5 * var(--u))); text-transform: uppercase; letter-spacing: 0.02em;
  transition: color 160ms ease, background-color 160ms ease;
}
.site-nav a[aria-current="page"] { color: var(--green); background: rgba(255, 255, 255, 0.035); text-shadow: var(--glow-green); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: calc(10 * var(--u));
  width: calc(9 * var(--u)); height: calc(9 * var(--u)); min-width: 7px; min-height: 7px;
  border-left: 2px solid currentColor; border-top: 2px solid currentColor;
  transform: translate(-50%, 50%) rotate(45deg);
}
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover { color: var(--green); }
}

/* Langue */
.lang { position: relative; justify-self: start; font-size: max(10px, calc(11 * var(--u))); }
.lang summary {
  list-style: none; display: flex; align-items: center; gap: calc(6 * var(--u));
  height: calc(22 * var(--u)); min-height: 22px; padding: 0 calc(8 * var(--u)) 0 calc(6 * var(--u));
  border-radius: 5px; background: rgba(255, 255, 255, 0.07); cursor: pointer; user-select: none;
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:active { transform: scale(0.97); }
.flag { width: 12px; height: 12px; border-radius: 50%; overflow: hidden; flex: none; }
.flag svg { width: 100%; height: 100%; object-fit: cover; transform: scale(1.6); }
.lang .caret { width: 8px; transition: transform 200ms var(--ease-out); }
.lang[open] .caret { transform: rotate(180deg); }
.lang__menu {
  position: absolute; left: 0; top: calc(100% + 6px); min-width: 120px; padding: 4px;
  background: #0b130b; border: 1px solid rgba(66, 251, 67, 0.25); border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform-origin: top left; transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out);
}
@starting-style { .lang[open] .lang__menu { opacity: 0; transform: scale(0.96) translateY(-4px); } }
.lang__menu a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 4px; font-size: 13px; transition: background-color 140ms ease, color 140ms ease; }
@media (hover: hover) and (pointer: fine) {
  .lang summary:hover { background: rgba(255, 255, 255, 0.12); }
  .lang__menu a:hover { background: rgba(66, 251, 67, 0.12); color: var(--green); }
}

/* ---------- Boutons ---------- */
.btn-preorder, .btn-green {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 900; text-transform: uppercase; color: #fff; letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(20, 60, 10, 0.55); border-radius: calc(6 * var(--u));
  transition: transform 160ms var(--ease-out);
}
.btn-preorder::before, .btn-preorder::after, .btn-green::before, .btn-green::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: url("../img/frame_135x57_base.png") center / 100% 100%;
}
.btn-preorder::after, .btn-green::after {
  background-image: url("../img/frame_135x57_hover.png");
  box-shadow: inset 0 0 0 2px var(--green), 0 0 calc(10 * var(--u)) rgba(66, 251, 67, 0.45);
  opacity: 0; transition: opacity 200ms ease;
}
.btn-preorder:active, .btn-green:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn-preorder:hover::after, .btn-green:hover::after { opacity: 1; }
}
.btn-preorder--sm { justify-self: end; width: calc(168 * var(--u)); min-width: 128px; height: calc(24 * var(--u)); min-height: 22px; font-size: max(11px, calc(15 * var(--u))); margin-right: calc(17 * var(--u)); }
.btn-preorder--lg { width: calc(270 * var(--u)); height: calc(40 * var(--u)); min-height: 36px; font-size: max(16px, calc(23 * var(--u))); margin-top: calc(14 * var(--u)); }

/* Boutons à cadre (Discover / Discord / L'Atelier) */
.fbtn {
  position: relative; isolation: isolate; display: flex; align-items: center;
  color: #fff; text-shadow: 0 1px 2px rgba(10, 40, 10, 0.5);
  transition: transform 160ms var(--ease-out);
}
.fbtn::before, .fbtn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: center / 100% 100% no-repeat; transition: opacity 200ms ease; }
.fbtn::after { opacity: 0; }
.fbtn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .fbtn:hover::after { opacity: 1; } .fbtn:hover::before { opacity: 0; } }
.fbtn .mono { font-family: var(--mono); text-transform: uppercase; }
.fbtn .sans { font-family: var(--sans); font-weight: 600; text-transform: uppercase; }

.ctas { display: grid; grid-template-columns: calc(225 * var(--u)) calc(135 * var(--u)); gap: calc(13 * var(--u)) calc(14 * var(--u)); margin-top: calc(34 * var(--u)); }
.fbtn--studio { height: calc(57 * var(--u)); padding: 0 calc(13 * var(--u)) 0 calc(16 * var(--u)); justify-content: space-between; }
.fbtn--studio::before { background-image: url("../img/frame_225x57_base.png"); }
.fbtn--studio::after { background-image: url("../img/frame_225x57_hover.png"); }
.fbtn__txt { display: flex; flex-direction: column; line-height: 1; gap: calc(3 * var(--u)); }
.fbtn--studio .mono { font-size: calc(18 * var(--u)); letter-spacing: 0.04em; }
.fbtn--studio .sans { font-size: calc(14 * var(--u)); letter-spacing: 0.02em; }
.fbtn__logo { width: calc(90 * var(--u)); }
.fbtn--discord { height: calc(57 * var(--u)); flex-direction: column; justify-content: center; gap: calc(5 * var(--u)); }
.fbtn--discord::before { background-image: url("../img/frame_135x57_base.png"); }
.fbtn--discord::after { background-image: url("../img/frame_135x57_hover.png"); }
.fbtn--discord .mono { font-size: calc(14 * var(--u)); letter-spacing: 0.06em; }
.discord-word { display: flex; align-items: center; gap: calc(5 * var(--u)); font-weight: 900; font-size: calc(16 * var(--u)); letter-spacing: -0.01em; }
.discord-word .ico { width: calc(20 * var(--u)); fill: #fff; }
.fbtn--atelier {
  grid-column: 1 / -1; height: calc(30 * var(--u)); justify-content: center; gap: calc(5 * var(--u));
  font-size: calc(14.5 * var(--u)); text-transform: uppercase; letter-spacing: 0.01em; white-space: nowrap;
}
.fbtn--atelier::before { background-image: url("../img/frame_367x30_base.png"); }
.fbtn--atelier::after { background-image: url("../img/frame_367x30_hover.png"); }
.fbtn--atelier > span:last-child { margin-left: calc(-5 * var(--u)); }
.atelier-logo { width: calc(70 * var(--u)); margin-top: calc(-2 * var(--u)); }
.atelier-logo img { width: 100%; }

.btn-outline {
  display: inline-flex; align-items: center; padding: calc(5 * var(--u)) calc(10 * var(--u));
  border: 1.5px solid var(--green); border-radius: 4px; font-family: var(--mono); font-size: max(13px, calc(15.5 * var(--u)));
  color: var(--green-ink); text-transform: uppercase; letter-spacing: 0.02em;
  transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out);
}
.btn-outline:active { transform: scale(0.97); }
.btn-outline--dark { color: var(--green); }
@media (hover: hover) and (pointer: fine) { .btn-outline:hover { background: var(--green); color: #000; } }

/* ---------- Hero ---------- */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tagline { font-family: var(--mono); font-size: max(13px, calc(16.5 * var(--u))); color: var(--green); text-transform: uppercase; letter-spacing: 0.02em; text-shadow: var(--glow-green); }
.brand { position: relative; margin-top: calc(18 * var(--u)); }
.brand img { width: 100%; height: auto; }
.brand--hero { width: calc(640 * var(--u)); }
.page-preorder .brand--hero { width: calc(600 * var(--u)); margin-top: calc(14 * var(--u)); }
.brand--sm { width: calc(390 * var(--u)); margin: calc(2 * var(--u)) 0 0; }

/* Glitch discret sur « NIGHTWATCH » (décoratif) */
.brand::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/logo-btd-nightwatch-800.webp") center / 100% 100% no-repeat;
  clip-path: inset(58% 0 0 0); mix-blend-mode: screen; opacity: 0;
  animation: glitch 7s steps(1, end) 2.5s infinite;
}
@keyframes glitch {
  0%, 93%, 100% { opacity: 0; transform: none; clip-path: inset(58% 0 0 0); }
  94% { opacity: 0.9; transform: translateX(calc(-6 * var(--u))); clip-path: inset(62% 0 22% 0); filter: hue-rotate(60deg); }
  95% { opacity: 0.8; transform: translateX(calc(5 * var(--u))); clip-path: inset(76% 0 8% 0); filter: hue-rotate(-40deg); }
  96% { opacity: 0.9; transform: translateX(calc(-3 * var(--u))); clip-path: inset(66% 0 16% 0); }
  97% { opacity: 0; }
}

.release { display: flex; flex-direction: column; align-items: center; margin-top: calc(26 * var(--u)); }
.release__label { font-size: max(10px, calc(13.5 * var(--u))); font-weight: 600; text-transform: uppercase; color: var(--green); letter-spacing: 0.01em; }
.release__date { font-family: var(--mono); font-size: max(24px, calc(34 * var(--u))); line-height: 1; margin-top: calc(6 * var(--u)); text-transform: uppercase; text-shadow: var(--glow-white); }

/* ---------- Carrousel ---------- */
.carousel {
  --w: calc(633 * var(--u));
  position: relative; width: var(--w); margin-top: calc(27 * var(--u));
}
.page-preorder .carousel { --w: calc(673 * var(--u)); margin-top: calc(34 * var(--u)); }
.carousel__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(225, 235, 225, 0.85);
  background: #050a07; box-shadow: 0 calc(10 * var(--u)) calc(40 * var(--u)) rgba(0, 0, 0, 0.45);
  touch-action: pan-y;
}
.carousel__track { display: flex; height: 100%; transition: transform 520ms var(--ease-move); will-change: transform; }
.carousel.is-dragging .carousel__track { transition: none; }
.slide { flex: 0 0 100%; height: 100%; }
.slide__btn { position: relative; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.slide__btn img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.slide--video .slide__btn { cursor: pointer; }
.slide--video .slide__btn::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(8, 14, 20, 0.55); transition: background-color 220ms ease; }
.play {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: calc(85 * var(--u)); height: calc(85 * var(--u)); min-width: 56px; min-height: 56px;
  display: grid; place-items: center; border-radius: 50%; translate: -50% -50%;
  background: var(--trailer-back); color: var(--green); box-shadow: 0 0 0 1px rgba(66, 251, 67, 0.15);
  transition: background-color 200ms ease, color 200ms ease, scale 200ms var(--ease-out);
}
.play svg { width: 44%; margin-left: 8%; filter: drop-shadow(0 0 6px rgba(66, 251, 67, 0.5)); }
.slide__caption {
  position: absolute; z-index: 2; left: 0; right: 0; top: calc(50% + 55 * var(--u));
  font-family: var(--mono); font-size: max(13px, calc(21 * var(--u))); text-transform: uppercase; letter-spacing: 0.02em; text-shadow: 0 2px 8px #000;
}
.slide__caption span { color: var(--green); margin-right: calc(8 * var(--u)); }
.slide--video .slide__btn:active .play { scale: 0.95; }
@media (hover: hover) and (pointer: fine) {
  .slide--video .slide__btn:hover .play { background: var(--green); color: #000; }
  .slide--video .slide__btn:hover .play svg { filter: none; }
  .slide--video .slide__btn:hover::before { background: rgba(8, 14, 20, 0.4); }
}
.carousel__arrow {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 3;
  width: calc(40 * var(--u)); height: calc(70 * var(--u)); display: grid; place-items: center;
  color: var(--green); filter: drop-shadow(0 0 calc(6 * var(--u)) rgba(66, 251, 67, 0.55));
  transition: transform 160ms var(--ease-out);
}
.carousel__arrow svg { width: calc(20 * var(--u)); min-width: 12px; }
.carousel__arrow--prev { right: calc(100% + 8 * var(--u)); }
.carousel__arrow--next { left: calc(100% + 8 * var(--u)); }
.carousel__arrow:active { transform: scale(0.9); }
@media (hover: hover) and (pointer: fine) {
  .carousel__arrow--prev:hover { transform: translateX(calc(-3 * var(--u))); }
  .carousel__arrow--next:hover { transform: translateX(calc(3 * var(--u))); }
}
.carousel__dots { display: flex; justify-content: center; gap: calc(5.5 * var(--u)); margin-top: calc(13 * var(--u)); }
.dot { position: relative; width: calc(12 * var(--u)); height: calc(12 * var(--u)); min-width: 9px; min-height: 9px; border-radius: 50%; border: 1.5px solid rgba(205, 225, 205, 0.7); transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); }
.dot::before { content: ""; position: absolute; inset: -6px; }
.dot[aria-current="true"] { background: var(--green); border-color: var(--green); box-shadow: 0 0 6px rgba(66, 251, 67, 0.6); }
.dot:active { transform: scale(0.85); }
@media (hover: hover) and (pointer: fine) { .dot:hover { border-color: var(--green); } }

.wb86 {
  position: absolute; z-index: 4; left: calc(-40 * var(--u)); top: calc(-8 * var(--u));
  width: calc(80 * var(--u)); height: auto; pointer-events: none;
  transform-origin: 70% 100%;
}

/* ---------- Panneau (histoire / formulaire) ---------- */
.panel {
  position: relative; margin-top: calc(20 * var(--u));
  background: linear-gradient(rgba(14, 30, 15, 0.7), rgba(10, 24, 11, 0.62));
  border-radius: calc(8 * var(--u)); box-shadow: 0 calc(8 * var(--u)) calc(30 * var(--u)) rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  --c: calc(7 * var(--u)); --ci: calc(9 * var(--u)); --cc: rgba(230, 240, 230, 0.75);
  background-image:
    linear-gradient(var(--cc), var(--cc)), linear-gradient(var(--cc), var(--cc)),
    linear-gradient(var(--cc), var(--cc)), linear-gradient(var(--cc), var(--cc)),
    linear-gradient(var(--cc), var(--cc)), linear-gradient(var(--cc), var(--cc)),
    linear-gradient(var(--cc), var(--cc)), linear-gradient(var(--cc), var(--cc)),
    linear-gradient(rgba(14, 30, 15, 0.7), rgba(10, 24, 11, 0.62));
  background-repeat: no-repeat;
  background-size: var(--c) 1px, 1px var(--c), var(--c) 1px, 1px var(--c), var(--c) 1px, 1px var(--c), var(--c) 1px, 1px var(--c), 100% 100%;
  background-position:
    left var(--ci) top var(--ci), left var(--ci) top var(--ci),
    right var(--ci) top var(--ci), right var(--ci) top var(--ci),
    left var(--ci) bottom var(--ci), left var(--ci) bottom var(--ci),
    right var(--ci) bottom var(--ci), right var(--ci) bottom var(--ci), 0 0;
}
.panel::after {
  content: "//////////"; position: absolute; left: 50%; bottom: calc(6 * var(--u)); translate: -50% 0;
  font-family: var(--mono); font-size: calc(9 * var(--u)); letter-spacing: -0.05em; color: rgba(230, 240, 230, 0.7);
}
.panel--story {
  width: calc(454 * var(--u)); padding: calc(22 * var(--u)) calc(12 * var(--u)) calc(32 * var(--u)); text-wrap: pretty;
  text-align: center; font-size: max(12.5px, calc(14.2 * var(--u))); line-height: 1.1; letter-spacing: -0.005em;
}
.panel--story p + p { margin-top: calc(16 * var(--u)); }
.story__intro { font-weight: 600; font-size: max(14px, calc(16.5 * var(--u))); }
.story__intro + p { margin-top: calc(14 * var(--u)) !important; }
.story__outro { color: var(--green); font-weight: 700; font-size: max(14px, calc(17.5 * var(--u))); line-height: 0.95; text-shadow: 0 0 8px rgba(66, 251, 67, 0.25); }

/* Collage photos (page Le jeu) */
.collage { position: relative; width: calc(530 * var(--u)); height: calc(318 * var(--u)); margin-top: calc(4 * var(--u)); }
.photo {
  position: absolute; background: #f4f3ee; padding: calc(7 * var(--u)); box-shadow: 0 calc(6 * var(--u)) calc(18 * var(--u)) rgba(0, 0, 0, 0.5);
  transition: transform 260ms var(--ease-out);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::before { /* scotch */
  content: ""; position: absolute; width: calc(56 * var(--u)); height: calc(18 * var(--u));
  background: rgba(235, 238, 240, 0.72); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.photo--1 { left: calc(8 * var(--u)); top: calc(6 * var(--u)); width: calc(290 * var(--u)); height: calc(185 * var(--u)); rotate: -4deg; z-index: 1; }
.photo--1::before { left: calc(-12 * var(--u)); top: calc(4 * var(--u)); rotate: -28deg; }
.photo--2 { left: calc(278 * var(--u)); top: calc(16 * var(--u)); width: calc(248 * var(--u)); height: calc(180 * var(--u)); rotate: 5deg; z-index: 2; }
.photo--2::before { display: none; }
.photo--3 {
  left: calc(92 * var(--u)); top: calc(126 * var(--u)); width: calc(236 * var(--u)); height: calc(192 * var(--u)); rotate: 4deg; z-index: 3; padding: 0;
  clip-path: polygon(0% 6%, 6% 3%, 11% 7%, 19% 1%, 27% 5%, 35% 0%, 44% 6%, 52% 2%, 60% 7%, 69% 1%, 77% 6%, 86% 2%, 93% 8%, 100% 4%, 97% 16%, 100% 27%, 96% 39%, 100% 52%, 97% 64%, 100% 76%, 96% 88%, 100% 100%, 88% 96%, 76% 100%, 63% 95%, 51% 99%, 38% 95%, 25% 100%, 13% 95%, 0% 99%, 4% 86%, 0% 72%, 4% 59%, 0% 45%, 3% 31%, 0% 18%);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}
.photo--3::before { display: none; }
.photo--4 { left: calc(330 * var(--u)); top: calc(152 * var(--u)); width: calc(140 * var(--u)); height: calc(140 * var(--u)); padding-bottom: calc(18 * var(--u)); rotate: -6deg; z-index: 4; }
.photo--4::before { right: calc(-16 * var(--u)); top: calc(48 * var(--u)); rotate: 70deg; width: calc(40 * var(--u)); }
@media (hover: hover) and (pointer: fine) { .photo:hover { transform: scale(1.04); z-index: 5; } }

/* ---------- Actus ---------- */
.page-title { text-align: center; margin-top: calc(8 * var(--u)); }
.glow-title { font-family: var(--mono); font-weight: 400; font-size: max(26px, calc(37 * var(--u))); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; text-shadow: var(--glow-white), 0 0 2px #fff; }
.page-title p { margin-top: calc(8 * var(--u)); color: var(--green); font-size: max(11px, calc(13.5 * var(--u))); font-weight: 600; text-transform: uppercase; text-shadow: var(--glow-green); }
.news-grid { display: grid; grid-template-columns: repeat(3, calc(238 * var(--u))); gap: calc(28 * var(--u)) calc(29 * var(--u)); margin-top: calc(33 * var(--u)); }
.polaroid {
  display: flex; flex-direction: column; min-height: calc(288 * var(--u)); padding: calc(15 * var(--u)) calc(14 * var(--u)) calc(12 * var(--u));
  color: #1d1d1b;
  background: radial-gradient(120% 90% at 30% 20%, #f5f4ef, #e7e5dd 70%, #dcd9cf);
  box-shadow: 0 calc(3 * var(--u)) calc(10 * var(--u)) rgba(0, 0, 0, 0.35);
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease;
}
.polaroid__img { display: block; flex: none; aspect-ratio: 210 / 213; overflow: hidden; background: #111; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); }
.polaroid__img img { width: 100%; height: 100%; object-fit: cover; }
.polaroid__title { margin-top: calc(15 * var(--u)); padding-left: calc(3 * var(--u)); font-weight: 700; font-size: max(13px, calc(19 * var(--u))); text-transform: uppercase; line-height: 1; letter-spacing: -0.005em; }
.polaroid__date { margin-top: calc(4 * var(--u)); padding-left: calc(3 * var(--u)); font-size: max(11px, calc(13.5 * var(--u))); color: #6f6e69; }
.polaroid:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .polaroid:hover { transform: translateY(calc(-4 * var(--u))) rotate(-0.8deg); box-shadow: 0 0 calc(22 * var(--u)) rgba(255, 255, 240, 0.55), 0 calc(10 * var(--u)) calc(24 * var(--u)) rgba(0, 0, 0, 0.35); }
}
.news-card__excerpt { margin-top: calc(13 * var(--u)); padding: 0 calc(17 * var(--u)); font-size: max(12px, calc(12.5 * var(--u))); line-height: 1.15; color: rgba(225, 238, 225, 0.85); }

/* ---------- Papier (article / légal) ---------- */
.page-paper .stage { padding: 0; }
.paper {
  width: calc(778 * var(--u)); flex: 1; padding: calc(36 * var(--u)) calc(50 * var(--u)) calc(30 * var(--u));
  color: #232323;
  background:
    radial-gradient(140% 60% at 50% 0%, rgba(255, 255, 255, 0.7), transparent 60%),
    repeating-linear-gradient(97deg, rgba(0, 0, 0, 0.012) 0 2px, transparent 2px 7px),
    var(--paper);
  box-shadow: 0 0 calc(40 * var(--u)) rgba(0, 0, 0, 0.35);
}
.article__date { display: block; padding-left: calc(4 * var(--u)); color: #3cbf3d; font-size: max(13px, calc(17 * var(--u))); }
.article__title { margin-top: calc(6 * var(--u)); max-width: calc(440 * var(--u)); font-weight: 900; font-size: max(28px, calc(40.5 * var(--u))); line-height: 0.93; text-transform: uppercase; letter-spacing: -0.005em; color: #121212; text-wrap: balance; }
.article__hero {
  position: relative; margin-top: calc(22 * var(--u)); aspect-ratio: 680 / 290; overflow: hidden; background: #111;
}
.article__hero-bg { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); max-width: none; object-fit: cover; filter: blur(22px) brightness(0.7) saturate(1.2); }
.article__hero-img { position: relative; height: 100%; width: auto; margin: 0 auto; object-fit: cover; box-shadow: 0 0 30px rgba(0, 0, 0, 0.45); }
.article__body { margin-top: calc(22 * var(--u)); padding: 0 calc(3 * var(--u)); font-size: max(15px, calc(17 * var(--u))); line-height: 1.18; }
.article__body p + p { margin-top: calc(20 * var(--u)); }
.article__links { display: flex; justify-content: center; flex-wrap: wrap; gap: calc(8 * var(--u)); margin-top: calc(28 * var(--u)); }
.article__links a {
  display: grid; place-items: center; width: calc(172 * var(--u)); min-width: 120px; height: calc(60 * var(--u)); min-height: 48px;
  background: #000; color: #fff; border-radius: calc(6 * var(--u)); font-weight: 700; font-size: max(13px, calc(16 * var(--u)));
  transition: transform 160ms var(--ease-out), background-color 180ms ease, color 180ms ease;
}
.article__links a:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .article__links a:hover { background: #0f1a10; color: var(--green); } }
.article__back { margin-top: calc(60 * var(--u)); text-align: center; }
.article__share { display: flex; gap: calc(12 * var(--u)); margin-top: calc(12 * var(--u)); padding: calc(16 * var(--u)) calc(6 * var(--u)) 0; border-top: 1px solid #c9c9c4; }
.article__share a { display: grid; place-items: center; width: 28px; height: 28px; margin: -6px; color: #111; transition: color 160ms ease, transform 160ms var(--ease-out); }
.article__share .ico { width: calc(16 * var(--u)); min-width: 14px; fill: currentColor; }
.article__share a:active { transform: scale(0.9); }
@media (hover: hover) and (pointer: fine) { .article__share a:hover { color: var(--green-ink); } }
.article__nav {
  position: absolute; top: calc(50vh - var(--header-h)); translate: 0 -50%; z-index: 3; color: var(--green);
  display: grid; place-items: center; width: calc(44 * var(--u)); height: calc(70 * var(--u));
  filter: drop-shadow(0 0 calc(6 * var(--u)) rgba(66, 251, 67, 0.5)); transition: transform 160ms var(--ease-out);
}
.article__nav svg { width: calc(15 * var(--u)); min-width: 11px; }
.article__nav--prev { right: calc(50% + 389 * var(--u) + 8 * var(--u)); }
.article__nav--next { left: calc(50% + 389 * var(--u) + 8 * var(--u)); }
.article__nav:active { transform: scale(0.9); }
.article--legal .article__title { max-width: none; }

/* ---------- Contact ---------- */
.contact-title { margin-top: calc(36 * var(--u)); font-family: var(--mono); font-weight: 400; font-size: max(24px, calc(31 * var(--u))); line-height: 1; color: var(--green); text-transform: uppercase; text-shadow: var(--glow-green); }
.panel--form { width: calc(434 * var(--u)); margin-top: calc(11 * var(--u)); padding: calc(16 * var(--u)) calc(29 * var(--u)) calc(30 * var(--u)) calc(25 * var(--u)); }
.field { display: flex; flex-direction: column; }
.field + .field, .field-row + .field, .field + .field-row { margin-top: calc(10 * var(--u)); }
.field-row .field { margin-top: 0 !important; }
.field-row { display: grid; grid-template-columns: calc(148 * var(--u)) 1fr; gap: calc(13 * var(--u)); }
.field label, .field .label { font-family: var(--mono); font-size: max(12px, calc(16 * var(--u))); color: var(--green); text-transform: uppercase; margin-bottom: calc(4 * var(--u)); text-shadow: 0 0 6px rgba(66, 251, 67, 0.35); }
.field input, .field select, .field textarea {
  width: 100%; height: calc(28 * var(--u)); min-height: 28px; padding: 0 calc(12 * var(--u)); border: 1px solid transparent; border-radius: 2px;
  background: #fff; color: #111; font: inherit; font-size: max(14px, calc(12 * var(--u)));
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { height: calc(162 * var(--u)); min-height: 120px; padding-top: calc(8 * var(--u)); resize: vertical; line-height: 1.3; }
.field ::placeholder { color: #a7a7a7; font-style: italic; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--green); }
.field [aria-invalid="true"] { border-color: #ff7a6b; box-shadow: 0 0 0 1px #ff7a6b; }
.field__err { min-height: 0; font-size: max(12px, calc(12 * var(--u))); color: #ffb3a8; margin-top: 3px; }
.field__err:empty { display: none; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 32px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; border-right: 2px solid #111; border-bottom: 2px solid #111; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.captcha { min-height: calc(54 * var(--u)); background: rgba(70, 70, 70, 0.85); border-radius: 2px; display: grid; place-items: center; }
.captcha:empty { background: rgba(60, 60, 60, 0.75); }
.form__status { margin-top: calc(10 * var(--u)); text-align: center; font-size: max(13px, calc(14 * var(--u))); }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--green); }
.form__status.is-err { color: #ffb3a8; }
.form__status a { text-decoration: underline; }
.btn-green--submit { display: flex; margin: calc(17 * var(--u)) auto 0; width: calc(168 * var(--u)); min-width: 130px; height: calc(31 * var(--u)); min-height: 36px; font-size: max(16px, calc(20 * var(--u))); }
.btn-green[disabled] { opacity: 0.7; cursor: progress; }
.contact-socials { margin-top: calc(26 * var(--u)); text-align: center; }
.contact-socials h2 { font-family: var(--mono); font-weight: 400; font-size: max(14px, calc(18.5 * var(--u))); line-height: 1.2; text-transform: uppercase; letter-spacing: 0.03em; }
.contact-socials__icons { display: flex; justify-content: center; gap: calc(22 * var(--u)); margin-top: calc(10 * var(--u)); }
.contact-socials__icons a { color: #37c936; transition: color 180ms ease, transform 160ms var(--ease-out), filter 180ms ease; }
.contact-socials__icons .ico { height: calc(28 * var(--u)); min-height: 22px; width: auto; fill: currentColor; }
.contact-socials__icons a:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .contact-socials__icons a:hover { color: var(--green); filter: drop-shadow(0 0 6px rgba(66, 251, 67, 0.6)); } }

/* ---------- Logos bas de page (plateformes / PEGI) ---------- */
.platforms { position: absolute; left: calc(30 * var(--u)); bottom: calc(20 * var(--u)); width: calc(445 * var(--u)); }
.platforms__logos { display: flex; align-items: center; gap: calc(25 * var(--u)); }
.logo-switch { width: calc(51 * var(--u)); margin-left: calc(3 * var(--u)); }
.logo-eshop { width: calc(177 * var(--u)); transition: transform 160ms var(--ease-out); }
.logo-eshop:active { transform: scale(0.97); }
.legal-nintendo { margin-top: calc(12 * var(--u)); font-size: max(7px, calc(6.4 * var(--u))); line-height: 1.25; color: rgba(215, 230, 215, 0.42); }
.ratings { position: absolute; right: calc(30 * var(--u)); bottom: calc(24 * var(--u)); display: flex; align-items: flex-end; gap: calc(10 * var(--u)); }
.logo-pegi { width: calc(44 * var(--u)); }
.logo-unreal { width: calc(60 * var(--u)); }
.logo-switch img, .logo-eshop img, .logo-pegi img, .logo-unreal img { width: 100%; height: auto; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; z-index: 2; min-height: calc(128 * var(--u));
  background: var(--footer); view-transition-name: site-footer;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(-20 * var(--u)); height: calc(40 * var(--u));
  background: url("../img/bar.png") center / 100% 100% no-repeat; pointer-events: none;
}
.site-footer__inner {
  display: grid; grid-template-columns: auto auto auto; justify-content: center; align-items: center;
  column-gap: calc(45 * var(--u)); padding: calc(23 * var(--u)) calc(20 * var(--u)) calc(14 * var(--u));
  font-size: max(10px, calc(11 * var(--u)));
}
.f-brand { display: flex; flex-direction: column; align-items: center; gap: calc(14 * var(--u)); }
.f-atlantis { display: block; width: calc(135 * var(--u)); transition: transform 160ms var(--ease-out), opacity 180ms ease; }
.f-atlantis img { width: 100%; height: auto; }
.f-atlantis:active { transform: scale(0.97); }
.f-brand small, .f-oka { font-size: max(9px, calc(9.5 * var(--u))); color: var(--green-dark); }
.f-mid { display: flex; flex-direction: column; gap: calc(44 * var(--u)); padding-top: calc(12 * var(--u)); }
.f-press { display: flex; flex-direction: column; gap: calc(44 * var(--u)); padding-top: calc(12 * var(--u)); }
.f-socials { display: flex; align-items: center; gap: calc(16 * var(--u)); }
.f-socials span { margin-right: calc(4 * var(--u)); }
.f-socials a { display: grid; place-items: center; color: var(--green-social); transition: color 160ms ease, transform 160ms var(--ease-out); }
.f-socials a::before { content: ""; position: absolute; width: 32px; height: 32px; }
.f-socials a { position: relative; }
.f-socials .ico { height: calc(16 * var(--u)); min-height: 13px; width: auto; fill: currentColor; }
.f-socials a:active { transform: scale(0.9); }
.f-links { display: flex; gap: calc(34 * var(--u)); font-size: max(9px, calc(9.5 * var(--u))); color: #d2d6d2; }
.f-press p { font-size: max(10px, calc(12 * var(--u))); }
.f-press strong { font-weight: 700; }
.f-press p a { color: var(--green); transition: color 160ms ease; }
.f-oka { padding-left: calc(16 * var(--u)); transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) {
  .f-socials a:hover { color: var(--green); }
  .f-links a:hover, .f-oka:hover { color: var(--green); }
  .f-press p a:hover { color: #fff; }
}
.f-links a { transition: color 160ms ease; }

/* ---------- Modale (trailer / lightbox) ---------- */
.modal {
  width: min(92vw, calc(92vh * 16 / 9), 1400px); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: #fff; overflow: visible;
  opacity: 1; transform: none;
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), display 240ms allow-discrete, overlay 240ms allow-discrete;
}
.modal::backdrop { background: rgba(0, 4, 0, 0.88); transition: opacity 240ms ease, display 240ms allow-discrete, overlay 240ms allow-discrete; opacity: 1; }
@starting-style { .modal[open] { opacity: 0; transform: scale(0.96); } .modal[open]::backdrop { opacity: 0; } }
.modal.is-closing { opacity: 0; transform: scale(0.98); transition-duration: 150ms; }
.modal.is-closing::backdrop { opacity: 0; transition-duration: 150ms; }
.modal__body { aspect-ratio: 16 / 9; background: #000; border: 1px solid rgba(225, 235, 225, 0.6); box-shadow: 0 0 60px rgba(66, 251, 67, 0.15); display: grid; place-items: center; }
.modal__body iframe, .modal__body img { width: 100%; height: 100%; border: 0; object-fit: contain; }
.modal__body p { font-family: var(--mono); font-size: clamp(14px, 2vw, 24px); color: var(--green); text-transform: uppercase; text-align: center; padding: 20px; text-shadow: var(--glow-green); }
.modal__close { position: absolute; right: 0; bottom: calc(100% + 10px); width: 40px; height: 40px; display: grid; place-items: center; color: #fff; border-radius: 50%; transition: color 160ms ease, transform 160ms var(--ease-out); }
.modal__close svg { width: 18px; }
.modal__close:active { transform: scale(0.9); }
@media (hover: hover) and (pointer: fine) { .modal__close:hover { color: var(--green); } }

/* 404 */
.notfound { padding: 30px 20px 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* ---------- Apparition au premier chargement ---------- */
.js-intro .reveal { opacity: 0; transform: translateY(calc(14 * var(--u))); }
.js-intro.is-ready .reveal {
  opacity: 1; transform: none;
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js-intro .wb86 { opacity: 0; transform: translateX(calc(26 * var(--u))) rotate(10deg); }
.js-intro.is-ready .wb86 { opacity: 1; transform: none; transition: opacity 300ms ease 900ms, transform 700ms cubic-bezier(0.34, 1.45, 0.64, 1) 900ms; }

/* Transitions entre pages (navigateurs compatibles) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; animation-timing-function: ease; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 820px) {
  :root { --u: clamp(0.48px, calc(100vw / 700), 0.62px); --header-h: auto; }
  .site-header { grid-template-columns: 1fr 1fr; grid-template-rows: 46px 42px; height: auto; padding: 0 12px; }
  .lang { grid-column: 1; grid-row: 1; }
  .btn-preorder--sm { grid-column: 2; grid-row: 1; margin-right: 0; width: auto; padding: 0 14px; height: 30px; font-size: 13px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; margin: 0 -12px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
  .site-nav ul { border: 0; justify-content: space-between; }
  .site-nav li { flex: 1; border-right: 0; }
  .site-nav li + li { border-left: 1px solid rgba(255, 255, 255, 0.08); }
  .site-nav a { justify-content: center; padding: 0 4px 3px; font-size: 13px; }
  .site-nav a[aria-current="page"]::after { bottom: 6px; }

  .stage { padding: 26px 16px 24px; }
  .page-home .stage { justify-content: flex-start; }
  .tagline { font-size: 14px; }
  .brand--hero, .page-preorder .brand--hero { width: min(100%, 440px); margin-top: 14px; }
  .brand--sm { width: min(78%, 330px); }
  .release { margin-top: 18px; }
  .release__label { font-size: 11px; }
  .release__date { font-size: 28px; }
  .btn-preorder--lg { width: 230px; height: 44px; font-size: 18px; margin-top: 16px; }
  .carousel, .page-preorder .carousel { --w: calc(100vw - 72px); margin-top: 26px; }
  .carousel__arrow { width: 28px; height: 56px; }
  .carousel__arrow--prev { right: calc(100% + 2px); }
  .carousel__arrow--next { left: calc(100% + 2px); }
  .carousel__dots { gap: 8px; margin-top: 14px; }
  .slide__caption { top: calc(50% + 40px); font-size: 14px; }
  .wb86 { width: 54px; left: -26px; top: -6px; }

  .ctas { grid-template-columns: 1fr 0.62fr; width: min(100%, 420px); gap: 10px; margin-top: 26px; }
  .fbtn--studio, .fbtn--discord { height: 54px; }
  .fbtn--studio .mono { font-size: 15px; }
  .fbtn--studio .sans { font-size: 12px; }
  .fbtn__logo { width: 76px; }
  .fbtn--discord .mono { font-size: 11.5px; }
  .discord-word { font-size: 14px; gap: 4px; }
  .discord-word .ico { width: 17px; }
  .fbtn--atelier { height: 36px; font-size: 11px; }
  .atelier-logo { width: 56px; }

  .panel--story { width: 100%; max-width: 480px; padding: 22px 18px 34px; font-size: 15px; line-height: 1.3; }
  .panel--story p + p { margin-top: 14px; }
  .story__intro { font-size: 17px; }
  .story__outro { font-size: 17px; line-height: 1.15; }
  .collage { --u: calc((100vw - 32px) / 530); width: calc(530 * var(--u)); height: calc(318 * var(--u)); margin-top: 18px; }
  .panel::after { font-size: 9px; }

  .page-title p { font-size: 12px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 520px; gap: 22px 14px; margin-top: 24px; }
  .polaroid { height: auto; padding: 9px 9px 14px; }
  .polaroid__title { margin-top: 10px; font-size: 14px; }
  .polaroid__date { font-size: 12px; }
  .news-card__excerpt { padding: 0 4px; font-size: 13px; margin-top: 10px; }

  .paper { width: 100%; padding: 26px 18px 24px; }
  .article__title { font-size: 28px; max-width: none; }
  .article__date { font-size: 14px; }
  .article__hero { margin-top: 16px; }
  .article__body { font-size: 16px; line-height: 1.4; margin-top: 18px; }
  .article__body p + p { margin-top: 14px; }
  .article__links { margin-top: 20px; }
  .article__back { margin-top: 34px; }
  .article__share { margin-top: 18px; padding-top: 14px; gap: 18px; }
  .article__nav { display: none; }
  .page-paper .stage { padding: 0; }

  .contact-title { margin-top: 22px; font-size: 26px; }
  .panel--form { width: 100%; max-width: 480px; padding: 16px 18px 32px; margin-top: 12px; }
  .field-row { grid-template-columns: 1fr; gap: 10px; }
  .field label, .field .label { font-size: 14px; margin-bottom: 5px; }
  .field input, .field select { height: 42px; }
  .captcha { min-height: 64px; }
  .contact-socials { margin-top: 26px; }
  .contact-socials h2 { font-size: 15px; }
  .contact-socials__icons { gap: 20px; margin-top: 12px; }

  .platforms, .ratings { position: static; }
  .platforms { order: 10; width: 100%; max-width: 520px; margin-top: 34px; display: flex; flex-direction: column; align-items: center; }
  .platforms__logos { gap: 16px; }
  .logo-switch { width: 40px; margin: 0; }
  .logo-eshop { width: 140px; }
  .legal-nintendo { text-align: center; font-size: 8px; margin-top: 12px; }
  .ratings { order: 11; margin-top: 14px; gap: 12px; }
  .logo-pegi { width: 34px; }
  .logo-unreal { width: 46px; }
  .page-paper .platforms { padding: 0 16px; margin-bottom: 0; }
  .page-paper .ratings { margin-bottom: 24px; }

  .site-footer { min-height: 0; }
  .site-footer::before { top: -14px; height: 28px; }
  .site-footer__inner { grid-template-columns: 1fr; justify-items: center; row-gap: 22px; padding: 28px 16px 30px; font-size: 12px; text-align: center; }
  .f-brand { order: 1; gap: 10px; }
  .f-atlantis { width: 110px; }
  .f-mid, .f-press { display: contents; }
  .f-socials { order: 2; gap: 18px; flex-wrap: wrap; justify-content: center; }
  .f-socials .ico { height: 18px; }
  .f-press p { order: 3; font-size: 13px; }
  .f-links { order: 4; gap: 18px; flex-wrap: wrap; justify-content: center; font-size: 11.5px; }
  .f-oka { order: 5; padding: 0; font-size: 11px; }
  .f-brand small { font-size: 11px; }
}

/* Écrans larges mais peu hauts : on laisse respirer */
@media (min-width: 821px) and (max-height: 700px) {
  .page-home .stage { justify-content: flex-start; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .js-intro .reveal, .js-intro .wb86 { transform: none !important; }
  .js-intro.is-ready .reveal, .js-intro.is-ready .wb86 { transition: opacity 300ms ease !important; }
  .carousel__track { transition-duration: 0ms; }
  .polaroid, .photo, .carousel__arrow { transition-property: box-shadow, color !important; }
  @view-transition { navigation: none; }
}

/* ---------- Pages légales ---------- */
.legal__updated { margin-top: calc(10 * var(--u)); padding-left: calc(3 * var(--u)); font-size: max(12px, calc(13 * var(--u))); color: #6f6e69; }
.legal { margin-top: calc(14 * var(--u)); font-size: max(14px, calc(15.5 * var(--u))); line-height: 1.35; }
.legal section + section { margin-top: calc(24 * var(--u)); }
.legal h2 { font-weight: 900; font-size: max(16px, calc(19 * var(--u))); text-transform: uppercase; line-height: 1.05; color: #121212; margin-bottom: calc(8 * var(--u)); }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: calc(10 * var(--u)); }
.legal ul { list-style: none; padding: 0; }
.legal li { position: relative; padding-left: 16px; }
.legal li + li { margin-top: 4px; }
.legal li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 6px; height: 6px; background: var(--green-ink); }
.legal a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 2px; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .legal a:hover { color: #111; } }
.article--legal .article__back { margin-top: calc(40 * var(--u)); }

/* Mobile sans bouton précommande : langue + menu sur une seule ligne */
@media (max-width: 820px) {
  .site-header:not(:has(.btn-preorder)) { grid-template-columns: auto 1fr; grid-template-rows: 48px; padding-right: 0; }
  .site-header:not(:has(.btn-preorder)) > span:empty { display: none; }
  .site-header:not(:has(.btn-preorder)) .site-nav { grid-column: 2; grid-row: 1; margin: 0 0 0 12px; border-top: 0; }
  .site-header:not(:has(.btn-preorder)) .site-nav li:first-child { border-left: 1px solid rgba(255, 255, 255, 0.08); }
}
