/* NOABI MEDIA — base commune à toutes les pages : polices, remise à zéro, composants partagés
   (en-tête, menu, pied de page, boutons, états, vidéos, musique, actualités, textes, 404).
   Chaque thème fixe ses couleurs dans studio.css (studio) ou deepcore.css (univers DEEPCORE) :
   --bg, --bg-2, --bg-3, --fg, --fg-2, --fg-3, --accent, --accent-2, --on-accent, --line, --gouttiere, --large. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-regular.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-semibold.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-bold.woff") format("woff"); }
/* Inter : textes courants, une seule graisse (le gras du texte passe en Poppins 600, pas de faux gras) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-regular.woff") format("woff"); }

*, *::before, *::after { box-sizing: border-box; }
/* Pas de défilement doux : il animait aussi le défilement du focus clavier (bandeau des témoins, WCAG 2.4.11) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Inter allégée : ses variantes contextuelles (tiret entre deux chiffres, etc.) ne sont pas gardées */
  font-variant-ligatures: no-contextual;
}
h1, h2, h3, h4, b, strong, summary, .btn, .eyebrow, .chip, nav, label, button, dt {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
h1, h2, h3, h4, b, strong { font-weight: 600; }
/* En-tête fixe (et sommaire collant des archives) : ni une ancre ni un élément qui reçoit le focus au clavier ne
   passent dessous (WCAG 2.2, 2.4.11). Le bas garde la place du bouton musique et du bandeau. */
html { scroll-padding-top: 96px; scroll-padding-bottom: 88px; }
html:has(.dc-toc) { scroll-padding-top: 156px; }
img, video, svg, picture { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, figure, ol, ul, dl, dd, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.i { width: 1em; height: 1em; flex: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- En-tête ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  padding: 0 var(--gouttiere);
  padding-top: env(safe-area-inset-top);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: background-color .35s ease, border-color .35s ease;
}
.home .hdr, .dc-universe .hdr { background: transparent; border-bottom-color: transparent; }
.home .hdr.is-scrolled, .dc-universe .hdr.is-scrolled, .hdr.is-open { background: var(--bg); border-bottom-color: var(--line); }
.home .hdr:not(.is-scrolled):not(.is-open), .dc-universe .hdr:not(.is-scrolled):not(.is-open) {
  background: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent);
}
.hdr__brand { display: block; flex: none; }
.hdr__brand img { width: auto; height: 28px; }
.hdr__toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.hdr__bars, .hdr__bars::before, .hdr__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--fg);
  transition: transform .3s ease, opacity .2s ease;
}
.hdr__bars { position: relative; }
.hdr__bars::before, .hdr__bars::after { content: ""; position: absolute; left: 0; }
.hdr__bars::before { top: -7px; }
.hdr__bars::after { top: 7px; }
.hdr__toggle[aria-expanded="true"] .hdr__bars { background: transparent; }
.hdr__toggle[aria-expanded="true"] .hdr__bars::before { transform: translateY(7px) rotate(45deg); }
.hdr__toggle[aria-expanded="true"] .hdr__bars::after { transform: translateY(-7px) rotate(-45deg); }

.hdr__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--fg-2);
  transition: color .2s ease, background-color .2s ease;
}
.hdr__nav a:hover, .hdr__nav a[aria-current="page"], .hdr__nav a.is-section { color: var(--fg); }
.hdr__nav a[aria-current="page"], .hdr__nav a.is-section { background: rgba(255, 255, 255, .07); }
.hdr__nav .hdr__lang { border: 1px solid var(--line); font-size: .75rem; letter-spacing: .08em; }
.hdr__nav .hdr__lang:hover { border-color: var(--accent); color: var(--accent); }

/* Téléphone : menu plein écran (le script ouvre et ferme ; sans script, les liens restent visibles en ligne) */
@media (max-width: 899.98px) {
  .js .hdr__nav {
    position: fixed;
    inset: calc(64px + env(safe-area-inset-top)) 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px var(--gouttiere) max(32px, env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--bg);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .js .hdr.is-open .hdr__nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .hdr__nav a {
    min-height: 60px;
    padding: 0 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.5rem;
    letter-spacing: 0;
    color: var(--fg);
    background: none;
  }
  .js .hdr__nav a[aria-current="page"], .js .hdr__nav a.is-section { color: var(--accent); background: none; }
  .js .hdr__nav .hdr__lang {
    align-self: flex-start;
    min-height: 48px;
    margin-top: 20px;
    padding: 0 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .875rem;
    letter-spacing: .08em;
  }
  .menu-open, .menu-open body { overflow: hidden; }
  html:not(.js) .hdr__toggle { display: none; }
  html:not(.js) .hdr { position: absolute; height: auto; min-height: 64px; flex-wrap: wrap; padding-block: 8px; }
  html:not(.js) .hdr__nav { display: flex; flex-wrap: wrap; }
}
@media (min-width: 900px) {
  .hdr { height: 76px; }
  .hdr__brand img { height: 32px; }
  .hdr__toggle { display: none; }
  .hdr__nav { display: flex; align-items: center; gap: 2px; }
  .hdr__nav .hdr__lang { margin-left: 8px; }
}

/* ---------- Pied de page ---------- */
.ftr {
  padding: 48px var(--gouttiere) max(36px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg-3);
  font-size: .875rem;
}
.ftr__inner { max-width: var(--large); margin: 0 auto; display: grid; gap: 32px; }
.ftr__brand img { width: auto; height: 26px; }
.ftr__brand p { margin-top: 10px; }
.ftr__nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 24px; }
.ftr__nav h2 { margin-bottom: 6px; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.ftr__nav a { display: flex; align-items: center; min-height: 40px; color: var(--fg-2); text-decoration: none; }
.ftr__nav a:hover { color: var(--fg); }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; }
.ftr__legal a { display: inline-flex; align-items: center; min-height: 24px; color: var(--fg-2); }
.ftr__consent {
  min-height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fg-2);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.ftr__consent:hover { color: var(--accent); }

/* Bandeau ouvert : place réservée en bas de page et au défilement du focus ; boutons flottants au-dessus de lui */
html.consent-open { scroll-padding-bottom: calc(var(--consent-h, 230px) + 24px); }
html.consent-open body { padding-bottom: var(--consent-h, 230px); }
/* Téléphone et tablette (bandeau sur toute la largeur) : la vidéo de fond reste à l'arrêt et les boutons pause et
   musique attendent la réponse au bandeau (rien ne remonte sur le contenu, rien ne passe dessous). Ordinateur
   (bandeau en carte à gauche) : le bouton pause se place à droite de la carte ; le bouton musique n'est pas recouvert. */
@media (max-width: 1099.98px) {
  html.consent-open .clip--bg .clip__toggle, html.consent-open .player { display: none; }
}
@media (min-width: 1100px) {
  html.consent-open .clip--bg .clip__toggle { left: calc(var(--gouttiere) + var(--consent-w, 560px) + 16px); }
}
/* Menu ouvert au-dessus du bandeau (le menu se ferme d'abord) */
.hdr.is-open { z-index: 80; }

/* ---------- Bandeau de consentement (témoins de mesure) : deux boutons identiques ---------- */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: grid;
  gap: 10px;
  padding: 18px max(var(--gouttiere), env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(var(--gouttiere), env(safe-area-inset-left));
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .8);
}
.consent__title { font-size: 1rem; line-height: 1.3; }
.consent__text { max-width: 70ch; font-size: .9375rem; color: var(--fg-2); }
.consent__text a { color: var(--accent); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 420px; }
.consent__btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--fg);
  background: transparent;
  color: var(--fg);
  font: 600 .9375rem/1.2 "Poppins", system-ui, sans-serif;
  cursor: pointer;
}
.consent__btn:hover { border-color: var(--accent); color: var(--accent); }
@media (min-width: 1100px) {
  .consent {
    left: var(--gouttiere);
    right: auto;
    bottom: max(18px, env(safe-area-inset-bottom));
    width: min(560px, calc(100% - 2 * var(--gouttiere)));
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
  }
}
@media (min-width: 900px) {
  .ftr__inner { grid-template-columns: 1fr 2fr; }
  .ftr__legal { grid-column: 1 / -1; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn .i { width: 16px; height: 16px; transition: transform .3s ease; }
.btn:hover .i { transform: translateX(3px); }
.btn--or { background: var(--accent); color: var(--on-accent); }
.btn--or:hover { background: var(--accent-2); }
.btn--ligne { border-color: rgba(255, 255, 255, .28); color: var(--fg); background: rgba(0, 0, 0, .25); }
.btn--ligne:hover { border-color: var(--accent); color: var(--accent); }
.btn--texte { padding: 0 6px; color: var(--fg); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--accent); }
.btn--texte:hover { color: var(--accent); }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }

/* ---------- États (puces) et plateformes ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 2px 12px 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .45);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--fg);
  white-space: nowrap;
}
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fg-3); }
.chip--developpement .chip__dot { background: #F2B632; box-shadow: 0 0 0 3px rgba(242, 182, 50, .22); }
.chip--test .chip__dot { background: #46E3F2; }
.chip--disponible .chip__dot { background: #5CD678; }
.chip--a-venir { border-style: dashed; color: var(--fg-2); }
.platforms { display: grid; gap: 8px; }
.platforms li { display: flex; align-items: center; gap: 10px; color: var(--fg-2); font-size: .9375rem; }
.platforms .i { width: 22px; height: 22px; color: var(--accent); }
.platforms b { color: var(--fg); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.pending { color: var(--fg-3); font-size: .9375rem; }

/* ---------- Vidéos d'ambiance ---------- */
.clip { position: relative; margin: 0; }
.clip__frame { position: relative; overflow: hidden; background: var(--bg-2); isolation: isolate; }
.clip__poster, .clip video { width: 100%; height: 100%; object-fit: cover; }
.clip video { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.clip.is-playing video { opacity: 1; }
.clip__toggle {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(0, 0, 0, .5);
  color: #fff;
  cursor: pointer;
}
.clip__toggle .i { width: 20px; height: 20px; }
.clip__toggle:hover { border-color: var(--accent); color: var(--accent); }
.clip__toggle .clip__r { display: none; }
.clip__toggle[aria-pressed="true"] .clip__r { display: block; }
.clip__toggle[aria-pressed="true"] .clip__p { display: none; }
.clip figcaption { margin-top: 10px; }
.clip__tag { font-size: .75rem; letter-spacing: .08em; color: var(--fg-3); }
.clip--panel .clip__frame { aspect-ratio: 9 / 16; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .95); }
.clip--bg, .clip--bg .clip__frame, .clip--bg picture { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Fond du héros : l'image et la vidéo passent sous le dégradé du héros, le bouton pause passe dessus */
.clip--bg .clip__frame { isolation: auto; border-radius: 0; background: none; }
.clip--bg picture, .clip--bg video { z-index: -2; }
/* Héros : pause de la vidéo en bas à gauche (le bouton musique occupe le bas à droite) */
.clip--bg .clip__toggle { z-index: 3; left: var(--gouttiere); bottom: max(16px, env(safe-area-inset-bottom)); }

/* ---------- Musique ---------- */
.player {
  position: fixed;
  right: var(--gouttiere);
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
}
.player__btn, .player__stop {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(0, 0, 0, .62);
  color: var(--fg);
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color .25s ease, color .25s ease;
}
.player__btn .i, .player__stop .i { width: 22px; height: 22px; }
.player__stop { width: 40px; height: 40px; }
.player__stop .i { width: 16px; height: 16px; }
.player__btn:hover, .player__stop:hover { border-color: var(--accent); color: var(--accent); }
.player__btn .player__on { display: none; }
.player__btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.player__btn[aria-pressed="true"] .player__on { display: block; }
.player__btn[aria-pressed="true"] .player__off { display: none; }
.player__panel {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 4px 4px 4px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.player__title { max-width: 22ch; overflow: hidden; font-size: .8125rem; color: var(--fg-2); white-space: nowrap; text-overflow: ellipsis; }
.player__vol { display: flex; align-items: center; }
.player__vol input { width: 96px; height: 32px; accent-color: var(--accent); cursor: pointer; }
.player__resume {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: rgba(0, 0, 0, .72);
  color: var(--fg);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
}
.player__resume:hover { background: var(--accent); color: var(--on-accent); }
@media (max-width: 479.98px) { .player__title { display: none; } .player__vol input { width: 84px; } }
@media (max-width: 360px) { .player__btn { width: 42px; height: 42px; } .player { bottom: max(12px, env(safe-area-inset-bottom)); } }

/* ---------- Mise en page des pages simples ---------- */
.pg main { padding: calc(64px + env(safe-area-inset-top)) 0 0; }
.wrap { max-width: var(--large); margin: 0 auto; padding: 0 var(--gouttiere); }
.wrap--narrow { max-width: calc(760px + 2 * var(--gouttiere)); }
.phead { padding: 48px 0 32px; }
.phead .eyebrow { margin-bottom: 14px; }
.phead__title { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; }
.phead__lead { max-width: 54ch; margin-top: 16px; font-size: 1.0625rem; color: var(--fg-2); }
.phead__meta { margin-top: 16px; color: var(--fg-3); font-size: .875rem; line-height: 1.7; }
.phead__meta a { color: var(--accent); }
.crumb { padding-top: 32px; font-size: .8125rem; color: var(--fg-3); }
.crumb a { color: var(--fg-2); }
.sec-title { margin-bottom: 18px; font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem); line-height: 1.2; }

.prose { font-size: 1rem; line-height: 1.75; color: var(--fg-2); }
.prose h2 { margin: 44px 0 12px; font-size: 1.1875rem; line-height: 1.35; color: var(--fg); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 12px; }
.prose ul { margin-top: 10px; }
.prose li { position: relative; padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}
.prose strong { color: var(--fg); }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-2); }
.summary { margin: 24px 0 8px; padding: 22px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.summary h2 { margin-top: 0; }

/* ---------- Actualités ---------- */
.news-list { display: grid; gap: 16px; }
.news-card a {
  display: grid;
  height: 100%;
  align-content: start;
  gap: 8px;
  padding: 12px 12px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  text-decoration: none;
  transition: border-color .25s ease, transform .3s ease;
}
.news-card a:hover { border-color: var(--accent); }
.news-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: 6px; }
.news-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 0 6px; font-size: .8125rem; color: var(--fg-3); }
.news-card__game { font-family: "Poppins", sans-serif; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.news-card__title { padding: 0 6px; font-size: 1.1875rem; line-height: 1.3; color: var(--fg); }
.news-card__sum { padding: 0 6px; color: var(--fg-2); font-size: .9375rem; }
@media (min-width: 700px) { .news-list { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .news-list { grid-template-columns: repeat(3, 1fr); } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg-2);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
}
.filters button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.article { padding-bottom: 72px; }
.article__img { width: 100%; max-width: 960px; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 0 32px; border-radius: 20px; }
.article .prose { max-width: 68ch; font-size: 1.0625rem; }
.article__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ---------- Assistance, textes juridiques ---------- */
.contact-card {
  display: grid;
  gap: 16px;
  padding: 28px 22px;
  border-radius: 24px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(212, 165, 116, .16), transparent 55%), var(--bg-2);
  border: 1px solid var(--line);
}
.contact-card__icon { width: 40px; height: 40px; color: var(--accent); }
.contact-card__title { font-size: 1.375rem; line-height: 1.3; }
.contact-card__text { color: var(--fg-2); }
.contact-card .btn { justify-self: start; max-width: 100%; overflow-wrap: anywhere; }
.faq { margin: 44px 0 72px; }
.faq__title { margin-bottom: 14px; font-size: 1.1875rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 18px 40px 18px 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 20px; color: var(--fg-2); }
.faq a, .faq__more a { color: var(--accent); }
.faq__more { margin-top: 18px; color: var(--fg-2); }
.legal { padding-bottom: 80px; }
.facts-list { display: grid; gap: 0; margin-bottom: 8px; border-top: 1px solid var(--line); }
.facts-list div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts-list dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.facts-list dd { color: var(--fg-2); }
.facts-list a { color: var(--accent); }
@media (min-width: 700px) { .facts-list div { grid-template-columns: 220px 1fr; gap: 20px; } }

/* ---------- 404 ---------- */
.pg--404 main { padding-top: 0; }
.lost { display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: 96px var(--gouttiere); text-align: center; }
.lost__code {
  font-family: "Poppins", sans-serif;
  font-size: clamp(5rem, 3rem + 12vw, 10rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(180deg, var(--fg) 20%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lost__text { margin-top: 18px; color: var(--fg-2); font-size: 1.125rem; }
.lost__text span { display: block; }
.lost__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ---------- Apparition au défilement (seulement si le script tourne) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media (forced-colors: active) {
  .chip__dot, .bar__fill { forced-color-adjust: none; }
  .btn, .chip, .filters button { border: 1px solid ButtonText; }
}
