/* ===========================================================
   STAND INDUS — DEMO METICS MEDIA
   Design system partagé : variables, layout, composants
   Palette reprise du site source : marine #162B6F + turquoise #6EC0D6
   =========================================================== */

:root {
  --fond: #FFFFFF;
  --fond-soft: #F2F6FA;
  --fond-card: #FFFFFF;
  --navy: #162B6F;
  --navy-deep: #0F1F4D;
  --accent: #6EC0D6;
  --accent-hover: #4FA8C2;
  --accent-pale: rgba(110, 192, 214, 0.16);
  --texte: #16213B;
  --texte-dim: #5B6478;
  --gris: #8993A4;
  --border: rgba(22, 43, 111, 0.12);
  --border-accent: rgba(110, 192, 214, 0.55);
  --shadow-card: 0 10px 30px -14px rgba(22, 43, 111, 0.18);

  --font-titre: 'Bebas Neue', sans-serif;
  --font-corps: 'Instrument Sans', sans-serif;

  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--font-corps);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-titre);
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 0.5em 0;
  text-transform: uppercase;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

p { margin: 0 0 1em 0; color: var(--texte-dim); }

a { color: var(--navy); text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 90px 0; position: relative; }

@media (max-width: 768px) {
  section { padding: 56px 0; }
}

.section-soft { background: var(--fond-soft); }

.section-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(255, 255, 255, 0.85);
}
.section-navy h2, .section-navy h3, .section-navy h4 { color: #FFFFFF; }
.section-navy p { color: rgba(255, 255, 255, 0.75); }
.section-navy .eyebrow { color: #FFFFFF; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-corps);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-pale);
  animation: pulse-dot 2.2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(110, 192, 214, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(110, 192, 214, 0); }
  100% { box-shadow: 0 0 0 0 rgba(110, 192, 214, 0); }
}

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* ===== Boutons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-family: var(--font-corps);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-accent {
  position: relative;
  background: var(--accent);
  color: var(--navy-deep);
  overflow: hidden;
  box-shadow: 0 8px 24px -8px rgba(110, 192, 214, 0.55);
}
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-accent::after {
  content: '';
  position: absolute;
  top: 0; left: -150%;
  width: 60%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
  animation: shine-sweep 3.2s ease-in-out infinite;
}
@keyframes shine-sweep {
  0% { left: -150%; }
  45% { left: 150%; }
  100% { left: 150%; }
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--border-accent); background: var(--accent-pale); }

.btn-outline-light {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline-light:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, 0.12); }

.btn-ghost {
  background: transparent;
  color: var(--texte-dim);
  padding: 8px 0;
}
.btn-ghost:hover { color: var(--navy); }

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.nav-brand img {
  width: 38px; height: 38px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
}
.nav-brand span {
  font-family: var(--font-titre);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: var(--texte-dim);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.88rem; }
.nav-phone { display: none; }
@media (min-width: 1024px) {
  .nav-phone { display: inline; color: var(--texte-dim); font-size: 0.88rem; }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 78px 0 0 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  gap: 26px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a {
  color: #FFFFFF;
  font-family: var(--font-titre);
  font-size: 1.6rem;
  text-transform: uppercase;
}
.mobile-menu .btn { margin-top: 10px; width: 100%; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.08);
  transition: transform 0.2s linear;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,31,77,0.55) 0%, rgba(15,31,77,0.88) 60%, var(--navy-deep) 100%),
    linear-gradient(90deg, rgba(15,31,77,0.92) 0%, rgba(15,31,77,0.45) 55%);
}
.hero-content { position: relative; z-index: 1; padding: 100px 0 60px; }
.hero-content h1 { max-width: 820px; color: #FFFFFF; }
.hero-content .eyebrow { color: #FFFFFF; }
.hero-content .subtitle { font-size: 1.15rem; max-width: 580px; margin-bottom: 36px; color: rgba(255,255,255,0.82); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-small { min-height: 52vh; }
.hero-small .hero-content { padding: 70px 0 50px; }
.hero-small h1 { font-size: clamp(2rem, 5vw, 3.4rem); }

/* ===== Bandeau différenciant ===== */
.banner {
  background: var(--fond-soft);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.banner p { color: var(--texte); margin: 0; font-size: 0.98rem; }
.banner p strong { color: var(--navy); }
.banner a.link-arrow { white-space: nowrap; font-weight: 600; }
.link-arrow::after { content: ' \2192'; transition: margin 0.2s ease; }
.link-arrow:hover::after { margin-left: 4px; }

/* ===== Compteurs ===== */
.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.counter-card {
  background: var(--fond-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.counter-number {
  font-family: var(--font-titre);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--navy);
  line-height: 1;
}
.counter-label {
  color: var(--texte-dim);
  font-size: 0.88rem;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .counters { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Cards domaines ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1024px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-5 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } }

.card {
  background: var(--fond-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: 0 16px 34px -14px rgba(22, 43, 111, 0.28);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--navy);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; text-transform: none; }
.card p { font-size: 0.95rem; margin-bottom: 0; }

.card-sm { padding: 22px 20px; text-align: center; }
.card-sm .card-icon { margin: 0 auto 14px; }
.card-sm h4 { font-family: var(--font-corps); text-transform: none; font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.card-sm p { font-size: 0.85rem; margin: 0; }

/* ===== Timeline process ===== */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute;
  left: 27px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border);
}
.timeline-fill {
  position: absolute;
  left: 27px; top: 8px;
  width: 2px;
  background: var(--accent);
  height: 0%;
  transition: height 0.2s ease-out;
}
.timeline-step {
  position: relative;
  display: flex;
  gap: 26px;
  padding-bottom: 46px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-num {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--fond-card);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-titre);
  font-size: 1.3rem;
  color: var(--texte-dim);
  z-index: 1;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.timeline-step.is-active .timeline-num {
  border-color: var(--accent);
  color: var(--navy);
  background: var(--accent-pale);
}
.timeline-body { padding-top: 8px; }
.timeline-body h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 6px; letter-spacing: 0.03em; }
.timeline-body p { margin: 0; font-size: 0.92rem; }

.section-navy .timeline::before { background: rgba(255, 255, 255, 0.25); }
.section-navy .timeline-num {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
}
.section-navy .timeline-step.is-active .timeline-num {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy-deep);
}
.section-navy .timeline-body h4 { color: #FFFFFF; }
.section-navy .timeline-body p { color: rgba(255, 255, 255, 0.75); }

/* ===== Départements ===== */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.dept-badge {
  background: var(--fond-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--texte-dim);
}
.dept-badge strong { color: var(--navy); display: block; font-size: 0.92rem; margin-bottom: 2px; }

/* ===== Testimonials ===== */
.testi-wrap { max-width: 760px; margin: 0 auto; position: relative; }
.testi-track { overflow: hidden; }
.testi-slide {
  display: none;
  background: var(--fond-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.testi-slide.active { display: block; animation: fade-in 0.5s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.testi-quote { font-size: 1.15rem; color: var(--texte); font-style: italic; margin-bottom: 22px; }
.testi-author { color: var(--navy); font-weight: 600; font-size: 0.9rem; }
.testi-nav { display: flex; justify-content: center; gap: 14px; margin-top: 26px; }
.testi-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.testi-dot.active { background: var(--accent); transform: scale(1.3); }
.testi-arrows { display: flex; justify-content: space-between; position: absolute; top: 50%; left: -56px; right: -56px; transform: translateY(-50%); pointer-events: none; }
.testi-arrow {
  pointer-events: auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--fond-card);
  border: 1px solid var(--border);
  color: var(--navy);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-card);
}
.testi-arrow:hover { border-color: var(--border-accent); background: var(--accent-pale); }
@media (max-width: 900px) { .testi-arrows { display: none; } }

/* ===== CTA final ===== */
.cta-final {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 24px;
  padding: 70px 50px;
  text-align: center;
}
.cta-final h2 { margin-bottom: 16px; color: #FFFFFF; }
.cta-final p { max-width: 520px; margin: 0 auto 32px; font-size: 1.05rem; color: rgba(255,255,255,0.78); }
.cta-final .eyebrow { color: #FFFFFF; }
.cta-final .hero-actions { justify-content: center; }
@media (max-width: 640px) { .cta-final { padding: 46px 24px; } }

/* ===== Contenu éditorial (entreprise, etc.) ===== */
.editorial { max-width: 760px; }
.editorial h2 { margin-top: 1.4em; }
.editorial ul { color: var(--texte-dim); padding-left: 22px; }
.editorial li { margin-bottom: 8px; }
.founder-card {
  display: flex;
  gap: 28px;
  align-items: center;
  background: var(--fond-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 32px 0;
  box-shadow: var(--shadow-card);
}
.founder-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-accent); }
.founder-card h4 { margin: 0 0 4px; font-family: var(--font-corps); text-transform: none; font-size: 1.05rem; color: var(--navy); }
.founder-card span { color: var(--texte-dim); font-size: 0.88rem; }
@media (max-width: 600px) { .founder-card { flex-direction: column; text-align: center; } }

.decorative-banner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 30px 0;
}
.decorative-banner .line-wrap { flex-shrink: 0; width: 90px; }
.decorative-banner .line-wrap img { width: 100%; height: auto; display: block; }
.decorative-banner p { color: var(--texte-dim); font-size: 1.05rem; max-width: 480px; }
@media (max-width: 768px) {
  .decorative-banner { flex-direction: column; gap: 20px; text-align: center; }
  .decorative-banner .line-wrap { width: 56px; }
}

.values-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.value-pill {
  background: var(--accent-pale);
  border: 1px solid var(--border-accent);
  color: var(--navy);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ===== Forms ===== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-size: 0.85rem; color: var(--texte-dim); margin-bottom: 8px; }
input, textarea, select {
  width: 100%;
  background: var(--fond-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--texte);
  font-family: var(--font-corps);
  font-size: 0.95rem;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--border-accent); background: var(--fond-card); }
textarea { resize: vertical; min-height: 120px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .ico { color: var(--navy); flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; color: var(--navy); font-size: 0.95rem; margin-bottom: 3px; }
.contact-info-item span, .contact-info-item a { color: var(--texte-dim); font-size: 0.92rem; }

/* ===== Footer ===== */
.footer {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 70px 0 30px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: #FFFFFF; }
.footer-brand img { width: 36px; height: 36px; border-radius: 8px; }
.footer-brand span { font-family: var(--font-titre); font-size: 1.2rem; }
.footer p { font-size: 0.88rem; max-width: 280px; color: rgba(255,255,255,0.65); }
.footer h5 { font-family: var(--font-corps); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.82rem; color: rgba(255,255,255,0.55); flex-wrap: wrap; gap: 14px;
}
.back-top { color: rgba(255,255,255,0.7); font-size: 0.85rem; cursor: pointer; border: none; background: none; }
.back-top:hover { color: var(--accent); }
.footer-wave {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

/* ===== Accordéon conceptions sur mesure ===== */
.accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 4px;
  color: var(--navy);
  font-family: var(--font-titre);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  text-align: left;
  text-transform: uppercase;
}
.accordion-trigger .num { color: var(--accent-hover); font-size: 0.95rem; margin-right: 14px; font-family: var(--font-corps); font-weight: 700; }
.accordion-trigger .plus { color: var(--accent-hover); font-size: 1.4rem; transition: transform 0.3s ease; flex-shrink: 0; }
.accordion-item.open .accordion-trigger .plus { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-item.open .accordion-panel { max-height: 200px; }
.accordion-panel p { padding: 0 4px 24px; font-size: 0.95rem; max-width: 640px; }

/* ===== Scroll-driven video ===== */
.scroll-video-section {
  height: 400vh;
  position: relative;
}
.scroll-video-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
#scroll-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ---- text overlay ---- */
.scroll-text-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(10, 20, 58, 0.75) 0%,
    rgba(10, 20, 58, 0.40) 40%,
    transparent 68%);
  pointer-events: none;
}
.scroll-scene {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(0px);
  margin-top: -160px;
  max-width: 580px;
  opacity: 0;
  will-change: opacity, transform;
  pointer-events: none;
}
.scroll-scene.sv-has-cta { pointer-events: auto; }
.sv-label {
  display: inline-block;
  font-family: var(--font-corps);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.sv-h2 {
  font-family: var(--font-titre);
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: 0.96;
  color: #FFFFFF;
  margin: 0 0 22px 0;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.sv-sub {
  font-family: var(--font-corps);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.80);
  margin: 0 0 32px 0;
  max-width: 460px;
}
.sv-cta {
  pointer-events: auto;
  display: inline-flex;
}

/* ---- scroll hint arrow ---- */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-corps);
  pointer-events: none;
  animation: bounce-hint 1.8s ease-in-out infinite;
}
.scroll-hint svg { width: 20px; height: 20px; }
@keyframes bounce-hint {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 768px) {
  .scroll-scene { left: 5%; max-width: 88vw; margin-top: -140px; }
  .sv-h2 { font-size: clamp(2.4rem, 10vw, 3.6rem); }
}

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Utils ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-accent {
  display: inline-block;
  background: var(--accent-pale);
  border: 1px solid var(--border-accent);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}
