/* ============================================================
   SADIS Digital — DA SynapseX
   Noir #000 / blanc / rgba-blanc · 100% Space Mono
   ============================================================ */

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

html, body {
  background: #000000;
  color: #ffffff;
}

/* Accent pôle Digital — teal.
   --teal : accent de référence (gros mots catégorie, dégradé).
   --teal-txt : variante éclaircie pour petits textes (eyebrows, micro-labels)
   afin de tenir le contraste AA (~6.6:1 sur noir) sur les tailles ~10–11px. */
:root {
  --teal: #47A1AC;
  --teal-txt: #5bbcc8;
}

html { scroll-behavior: auto; overflow-x: clip; } /* clip : neutralise la zone de scroll créée par la projection 3D (iOS inclus) */

body {
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip; /* clip (pas hidden) : évite de créer un conteneur de scroll qui casserait position:sticky */
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: rgba(255,255,255,0.9); color: #000; }

/* ---------- Couche vidéo scrubée ---------- */
.video-layer {
  position: fixed; inset: 0;
  overflow: hidden;
  background: #000;
  z-index: 1;
}
#scrub-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  will-change: transform, filter, opacity;
}
.vdim {
  position: fixed; inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

/* ---------- Brume ProgressiveBlur ---------- */
.pblur {
  position: fixed; bottom: 0; left: 0;
  width: 100%; height: 150px;
  z-index: 30;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, #000000);
  -webkit-mask-image: linear-gradient(to top, #000000 50%, transparent);
  mask-image: linear-gradient(to top, #000000 50%, transparent);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* ---------- CTA pilule (bouton texte, réutilisé section CTA) ---------- */
.pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 150ms linear, transform 150ms ease;
  will-change: transform;
}
.pill-cta:hover { background: #e2e2e6; transform: scale(1.03); }
.pill-cta:active { transform: scale(0.97); }
@media (max-width: 639px) {
  .pill-cta { height: 44px; padding: 0 20px; font-size: 14px; }
}

/* ---------- Indicateur de chapitre du film (HUD) ---------- */
.film-hud {
  position: fixed;
  left: 16px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 12px rgba(0,0,0,0.55);
  pointer-events: none;
  opacity: 0;
  transition: opacity 600ms ease-out;
}
html.js.ready .film-hud { opacity: 1; }
.fh-index { color: #47A1AC; font-weight: 700; }
.fh-sep { color: rgba(255,255,255,0.4); }
.fh-label { font-weight: 700; }
.fh-bar {
  position: relative;
  display: inline-block;
  width: 90px;
  height: 2px;
  margin-left: 6px;
  background: rgba(255,255,255,0.22);
  overflow: hidden;
  border-radius: 2px;
}
.fh-bar i {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 100%;
  background: #47A1AC;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
@media (min-width: 640px) { .film-hud { left: 32px; bottom: 28px; font-size: 12px; } }
@media (max-width: 400px) { .fh-bar { width: 60px; } }

/* ---------- Entrée : fondu court, le texte apparaît quasi immédiatement ---------- */
html.js:not(.reduced) #page {
  opacity: 0;
  transition: opacity 350ms ease-out;
}
html.js.ready #page { opacity: 1; }

html.js:not(.reduced) .hd-inner {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 450ms cubic-bezier(0.215, 0.610, 0.355, 1.000),
    transform 450ms cubic-bezier(0.215, 0.610, 0.355, 1.000);
}
html.js.ready .hd-inner { opacity: 1; transform: translateY(0); }

/* ---------- Page ---------- */
#page {
  position: relative;
  z-index: 10;
  padding: 96px 16px 144px;
}
@media (min-width: 640px) { #page { padding: 104px 32px 144px; } }

.dotgrid {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.05;
  z-index: 0;
}
#page > main, #page > footer { position: relative; z-index: 1; }

/* ---------- Hero 4 quadrants ---------- */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 118vh; /* Chapitre 1 — travelling data center */
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 64px;
  will-change: transform, opacity;
}
/* Voile sombre dégradé côté gauche : le texte y reste lisible sur les baies */
.hero::before {
  content: '';
  position: absolute;
  top: -40px; bottom: -40px; left: -32px;
  width: 66%;
  max-width: 760px;
  background: linear-gradient(90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.42) 42%, rgba(0,0,0,0.12) 72%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}
@media (max-width: 767px) {
  .hero::before { width: 100%; max-width: none; right: -32px;
    background: linear-gradient(90deg, rgba(0,0,0,0.6), rgba(0,0,0,0.3)); }
}
.hero-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.hero-empty { display: none; }
/* Les quadrants ne se déploient qu'à partir de 1024px : entre 768 et 1023,
   « & Maintenance » (Space Mono) déborderait de sa demi-colonne. */
@media (min-width: 1024px) {
  .hero-top { grid-template-columns: 1fr 1fr; }
  .hero-empty { display: block; }
}
.hero-bottom {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: end;
  padding-top: 48px;
}
@media (min-width: 1024px) { .hero-bottom { grid-template-columns: 1fr 1fr; } }

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 300;
  font-size: 50px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  user-select: none;
}
.hero-title-right { align-items: flex-end; text-align: right; }
@media (min-width: 640px) { .hero-title { font-size: 70px; } }
@media (min-width: 768px) { .hero-title { font-size: 80px; } }   /* pleine largeur (1 colonne) */
@media (min-width: 1024px) { .hero-title { font-size: 75px; } }  /* passage en 2 colonnes : demi-largeur */
@media (min-width: 1280px) { .hero-title { font-size: 100px; } }
@media (max-width: 379px) { .hero-title { font-size: 40px; } }

.hero-title .scramble {
  display: inline-block;
  transition: opacity 0.1s linear;
  white-space: pre;
  color: #6fd0dc;                 /* teal du pôle Digital — lisible sur la vidéo sombre */
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.85), 0 0 3px rgba(0, 0, 0, 0.6);
}

.hero-desc { will-change: transform, opacity; }
.hero-desc p:first-child {
  max-width: 26rem;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.94);          /* lisible sur la vidéo sombre */
  text-shadow: 0 1px 16px rgba(0,0,0,0.9), 0 0 2px rgba(0,0,0,0.7);
}
@media (min-width: 640px) { .hero-desc p:first-child { font-size: 17px; } }
.hero-status {
  margin-top: 18px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  text-shadow: 0 1px 12px rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot-teal {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: #47A1AC; /* unique micro-accent Digital */
  flex-shrink: 0;
}

/* ---------- Paragraphe cinématique 3D ---------- */
.cine-wrap {
  max-width: 1024px;
  margin: 0 auto;
  min-height: 118vh; /* Chapitre 2 — poste de dev / WEB */
  display: flex;
  align-items: center;
  padding: clamp(140px, 22vh, 300px) 0;
  pointer-events: none;
  perspective: 400px;
}
.cine3d {
  text-align: center;
  transform-style: preserve-3d;
  transform: rotateX(24deg) translateY(0px) translateZ(15px);
  will-change: transform, opacity;
}
.cine3d h2 {
  font-weight: 400;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  padding: 0 24px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.95), 0 0 3px rgba(0, 0, 0, 0.7); /* lisible sur la vidéo */
}
@media (min-width: 640px) { .cine3d h2 { font-size: 30px; padding: 0 48px; } }
@media (min-width: 768px) { .cine3d h2 { font-size: 36px; } }
@media (min-width: 1024px) { .cine3d h2 { font-size: 42px; } }

/* ---------- Coverflow cartes expertises ----------
   PILOTÉ PAR LE SCROLL sur tous les appareils : .stats est une piste de
   440vh, .coverflow s'épingle (sticky) en plein écran, et les cartes
   tournent vers la gauche au fil du scroll jusqu'à toutes les lire. */
.stats {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  margin-top: 64px;
  height: 440vh;            /* 6 cartes ≈ 5 transitions au scroll */
  display: block;
  overflow: visible;        /* indispensable au sticky */
  padding: 0;
}
.coverflow {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  perspective: 1200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  touch-action: pan-y;      /* le scroll fait tout, pas de drag */
}

.cf-track {
  position: relative;
  width: 100%;
  height: 520px;
  max-height: 80vh;
}

.cf-card {
  position: absolute;
  top: 8px;
  left: 50%;
  width: min(380px, 85vw);
  height: 480px;
  padding: 6px;
  border-radius: 28px;
  background: rgba(255,255,255,0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  user-select: none;
  will-change: transform;
}
.cf-inner {
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 23px;
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cf-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-txt); /* eyebrow de carte en teal — référence catégorie */
}
.cf-value {
  margin-top: 24px;
  font-size: 60px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  /* Grand mot catégorie : dégradé blanc → teal.
     Le sommet reste blanc (lisibilité SynapseX), la base plonge vers le teal
     de référence — le teal « monte en présence » dans le mot lui-même. */
  background-image: linear-gradient(160deg, #ffffff 0%, #ffffff 42%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
/* Filet de sécurité : navigateurs sans background-clip:text → teal plein lisible */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .cf-value {
    background-image: none;
    color: var(--teal);
    -webkit-text-fill-color: currentColor;
  }
}
@media (min-width: 768px) { .cf-value { font-size: 68px; } }
@media (min-width: 1024px) { .cf-value { font-size: 76px; } }
.cf-list {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cf-list li { display: flex; gap: 10px; align-items: flex-start; }
.cf-list i {
  display: inline-block;
  width: 6px; height: 6px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--teal); /* puce accent teal */
  flex-shrink: 0;
}
.cf-list span {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255,255,255,0.60);
}
.cf-foot {
  padding: 12px 24px 10px;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-txt); /* micro-label bas de carte en teal (variante AA) */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Fallback sans JS / reduced motion : rangée scrollable (pas de piste 440vh) */
html:not(.js) .stats, html.reduced .stats { height: auto; overflow: visible; }
html:not(.js) .coverflow, html.reduced .coverflow { position: static; height: auto; perspective: none; cursor: default; }
html:not(.js) .cf-track, html.reduced .cf-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding: 8px 24px 24px;
  height: auto;
}
html:not(.js) .cf-card, html.reduced .cf-card {
  position: static;
  flex: 0 0 auto;
  margin-left: 0 !important;
  transform: none !important;
}

/* MOBILE / tablette : le pin + scroll est déjà la règle de base —
   seules les TAILLES changent ici. */
@media (max-width: 768px) {
  .stats { margin-top: 40px; }
  .coverflow { perspective: 1000px; }
  .cf-track {
    height: 62vh;
    max-height: 440px;
    min-height: 360px;
  }
  .cf-card {
    top: 0;
    width: min(300px, 76vw);
    height: 62vh;
    max-height: 440px;
    min-height: 360px;
  }
  .cf-inner { padding: 26px 22px; }
}

/* ---------- Méthode ---------- */
.method {
  max-width: 1024px;
  margin: 0 auto;
  min-height: 118vh; /* Chapitre 4 — dashboard ERP / ODOO · SAGE */
  padding: clamp(96px, 16vh, 180px) 0 0;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
}
.method h3 {
  margin-top: 16px;
  font-weight: 400;
  font-size: clamp(24px, 4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.steps { margin-top: 48px; }
.steps li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 768px) {
  .steps li { grid-template-columns: 64px 260px 1fr; gap: 24px; }
}
.s-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.50);
  padding-top: 3px;
}
.steps b { font-size: 14px; font-weight: 700; }
.s-txt { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.60); }

/* ---------- Technologies & plateformes ---------- */
.tech {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(96px, 16vh, 180px) 0 clamp(40px, 8vh, 96px);
}
.tech-h {
  margin-top: 16px;
  font-weight: 400;
  font-size: clamp(24px, 4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.tech-intro {
  margin-top: 16px;
  max-width: 42rem;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.60);
}
.tech-group { margin-top: 56px; }
.tech-cat {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-txt); /* titre de catégorie en teal — référence SynapseX */
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tech-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.tech-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  aspect-ratio: 1 / 1;
  padding: 16px 10px;
  background: rgba(255,255,255,0.04);   /* chip sombre — esthétique SynapseX */
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  text-align: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.tech-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: none;                         /* couleurs de marque d'origine */
  opacity: 0.95;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.tech-logo span {
  font-size: 12px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);        /* label clair sur chip sombre */
  transition: color 0.25s ease;
}
.tech-logo:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--teal);
  transform: translateY(-3px);
}
.tech-logo:hover img { opacity: 1; transform: scale(1.08); }
.tech-logo:hover span { color: rgba(255,255,255,0.9); }

@media (max-width: 1023px) {
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 639px) {
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 400px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}
html.reduced .tech-logo { transition: none; }
html.reduced .tech-logo:hover { transform: none; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 1024px;
  margin: 0 auto;
  padding: clamp(80px, 12vh, 140px) 0 0;
}
.faq details { border-top: 1px solid rgba(255,255,255,0.12); }
.faq details:first-of-type { margin-top: 32px; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 32px 20px 0;
  font-size: 14px;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-weight: 400;
  color: rgba(255,255,255,0.55);
}
.faq details[open] summary::after { content: '−'; }
.faq details p {
  padding: 0 0 24px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.60);
  max-width: 44rem;
}

/* ---------- CTA ---------- */
.cta-sec {
  max-width: 1024px;
  margin: 0 auto;
  padding: clamp(110px, 18vh, 200px) 0;
  text-align: center;
}
.cta-sec h2 {
  font-weight: 400;
  font-size: clamp(28px, 5vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.cta-sub {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.60);
}
.pill-cta-big {
  margin-top: 40px;
  height: 56px;
  padding: 0 32px;
}

/* ---------- Footer ---------- */
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 56px 0 0;
}
.ft-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .ft-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
}
.ft-logo { display: inline-flex; align-items: center; gap: 8px; }
.ft-logo .logo-word { font-size: 17px; transform: none; }
.ft-brand p {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.60);
  max-width: 30rem;
}
.ft-col h4 {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.ft-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.60);
  padding: 4px 0;
  transition: color 150ms linear;
}
.ft-col a:hover { color: #ffffff; }
.ft-col a[aria-current="page"] { color: #ffffff; }
.ft-legal {
  margin-top: 48px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.40);
}

/* ============================================================
   OPTIMISATION MOBILE / PETITES TABLETTES (≤768px)
   Corps de lecture ≥16px, micro-labels ≥12px, graisse perçue
   remontée par un léger gain de contraste (opacité). La DA
   SynapseX (100% Space Mono, noir/teal) et les scrubs sont
   inchangés — seules tailles, contraste et respirations bougent.
   ============================================================ */
@media (max-width: 768px) {
  /* Micro-labels / eyebrows techniques : plancher 12px */
  .eyebrow { font-size: 12px; }
  .s-num { font-size: 12px; }
  .cf-title { font-size: 12px; }
  .cf-foot { font-size: 12px; }
  .hero-status { font-size: 12px; }
  .ft-col h4 { font-size: 12px; }
  .ft-legal { font-size: 12px; }

  /* Vrais paragraphes de lecture : plancher 16px, line-height ≥1.5,
     contraste remonté (0.60 → 0.74) pour ne plus paraître trop fins */
  .tech-intro { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.74); }
  .s-txt { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.74); }
  .cta-sub { font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.74); }
  .faq details p { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,0.74); }

  /* Sous-titres de blocs (questions FAQ, intitulés d'étapes) */
  .faq summary { font-size: 16px; padding-right: 36px; }
  .steps b { font-size: 16px; }

  /* Cartes coverflow : texte de liste lisible, la carte a la place
     (padding interne resserré pour compenser le corps plus grand) */
  .cf-inner { padding: 26px 24px; }
  .cf-list span { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,0.74); }

  /* Footer : description et liens plus lisibles */
  .ft-brand p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.74); }
  .ft-col a { font-size: 15px; }

  /* Respirations : réduire les vides géants sur petit écran sans casser la DA */
  .cta-sec { padding-top: clamp(72px, 12vh, 140px); padding-bottom: clamp(72px, 12vh, 140px); }
  .faq { padding-top: clamp(64px, 10vh, 120px); }
}

/* ---------- Reduced motion ---------- */
html.reduced .film-hud { display: none; }
html.reduced #scrub-video {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}
html.reduced .vdim { opacity: 0.55; }
html.reduced .cine3d { transform: none; opacity: 1 !important; }
html.reduced .cine-wrap { perspective: none; pointer-events: auto; }
html.reduced .hero { transform: none !important; opacity: 1 !important; }
html.reduced .hero-desc { transform: none !important; opacity: 1 !important; }
html.reduced .reveal-up { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* Focus visible */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 1.5px solid rgba(255,255,255,0.8);
  outline-offset: 3px;
  border-radius: 4px;
}
