/* ═══════════════════════════════════════════════════════════════════════
   MÉTRIKS3D — main.css
   Design system complet — tokens → composants → sections → responsive
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── 1. DESIGN TOKENS ──────────────────────────────────────────────── */
:root {
  /* Couleurs */
  --c-bg:          #F4F6F8;
  --c-white:       #FFFFFF;
  --c-ink:         #1A1D21;
  --c-ink2:        #2C3138;
  --c-grey-mid:    #8A98A6;
  --c-grey-light:  #E5E9ED;
  --c-grey-ultra:  #F0F2F5;
  --c-blue:        #1D7AE8;
  --c-blue-light:  #E8F1FD;
  --c-point:       #C5CDD6;   /* points du nuage au repos */

  /* Typographie */
  --f-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --f-mono:  'IBM Plex Mono', 'Courier New', monospace;

  /* Échelle typographique */
  --fs-xs:   11px;
  --fs-sm:   13px;
  --fs-base: 16px;
  --fs-md:   18px;
  --fs-lg:   22px;
  --fs-xl:   28px;
  --fs-2xl:  36px;
  --fs-3xl:  48px;
  --fs-hero: clamp(40px, 6vw, 72px);

  /* Espacements (multiples de 8) */
  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  40px;
  --sp-6:  48px;
  --sp-8:  64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-16: 128px;

  /* Marges latérales */
  --mx:    clamp(20px, 5vw, 96px);

  /* Rayon de bordure */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-pill:24px;

  /* Transitions */
  --tr-fast:   150ms ease;
  --tr-mid:    300ms ease;
  --tr-slow:   500ms ease;

  /* Z-index */
  --z-nav:     900;
  --z-modal:   1000;

  /* Ombres */
  --sh-sm:  0 1px 4px rgba(26,29,33,.06);
  --sh-md:  0 4px 16px rgba(26,29,33,.08);
  --sh-lg:  0 8px 32px rgba(26,29,33,.12);
}

/* ─── 2. RESET & BASE ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
input, textarea, select { font-family: inherit; }

/* ─── 3. UTILITAIRES ────────────────────────────────────────────────── */
.u-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--mx);
  padding-right: var(--mx);
}

.u-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Reveal au scroll */
.u-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.u-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.u-reveal-delay-1 { transition-delay: 0.08s; }
.u-reveal-delay-2 { transition-delay: 0.16s; }
.u-reveal-delay-3 { transition-delay: 0.24s; }
.u-reveal-delay-4 { transition-delay: 0.32s; }
.u-reveal-delay-5 { transition-delay: 0.40s; }
.u-reveal-delay-6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .u-reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── 4. TYPOGRAPHIE GLOBALE ────────────────────────────────────────── */
.t-eyebrow {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-blue);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-2);
}

.t-section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  line-height: 1.1;
  margin-bottom: var(--sp-2);
}

.t-section-sub {
  font-size: var(--fs-md);
  font-weight: 300;
  color: var(--c-grey-mid);
  line-height: 1.7;
  max-width: 680px;
}

.t-mono {
  font-family: var(--f-mono);
}

/* ─── 5. BOUTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  transition: background var(--tr-fast), color var(--tr-fast), border-color var(--tr-fast), transform var(--tr-fast);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 3px;
}

/* Primaire */
.btn--primary {
  background: var(--c-ink);
  color: var(--c-white);
  border: 1.5px solid var(--c-ink);
}
.btn--primary:hover {
  background: var(--c-blue);
  border-color: var(--c-blue);
}

/* Secondaire / ghost */
.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border: 1.5px solid var(--c-grey-light);
}
.btn--ghost:hover {
  border-color: var(--c-ink);
}

/* Sur fond sombre */
.btn--light {
  background: var(--c-white);
  color: var(--c-ink);
  border: 1.5px solid var(--c-white);
}
.btn--light:hover {
  background: var(--c-grey-ultra);
}

/* Lien texte avec flèche */
.btn--text {
  padding: 0;
  color: var(--c-ink);
  font-weight: 500;
  font-size: 14px;
  border: none;
  background: none;
  gap: 6px;
}
.btn--text .arrow {
  display: inline-block;
  transition: transform var(--tr-fast);
}
.btn--text:hover .arrow { transform: translateX(4px); }
.btn--text:hover { color: var(--c-blue); }

/* ─── 6. NAVIGATION ─────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 var(--mx);
  transition: background var(--tr-mid), box-shadow var(--tr-mid);
}

/* État transparent sur le hero */
.site-nav--transparent {
  background: transparent;
}

/* État opaque après scroll */
.site-nav--opaque {
  background: rgba(244, 246, 248, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(26,29,33,0.08);
}

/* État inversé sur fond sombre */
.site-nav--dark {
  background: rgba(26, 29, 33, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-nav--dark .nav-logo__text,
.site-nav--dark .nav-links__item {
  color: rgba(255,255,255,0.9);
}
.site-nav--dark .nav-links__item:hover { color: var(--c-white); }
.site-nav--dark .btn--ghost {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.2);
}
.site-nav--dark .btn--ghost:hover {
  color: var(--c-white);
  border-color: rgba(255,255,255,0.5);
}
.site-nav--dark .btn--primary {
  background: var(--c-white);
  color: var(--c-ink);
  border-color: var(--c-white);
}

.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;
}
.nav-logo__text {
  font-family: var(--f-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  transition: color var(--tr-fast);
}
.nav-logo__accent { color: var(--c-blue); }

/* Liens */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.nav-links__item {
  font-size: 14px;
  font-weight: 400;
  color: var(--c-grey-mid);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: color var(--tr-fast), background var(--tr-fast);
  text-decoration: none;
}
.nav-links__item:hover {
  color: var(--c-ink);
  background: rgba(26,29,33,0.04);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--c-grey-mid);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: color var(--tr-fast), background var(--tr-fast);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.nav-dropdown__toggle:hover { color: var(--c-ink); background: rgba(26,29,33,0.04); }
.nav-dropdown__chevron {
  width: 14px; height: 14px;
  transition: transform var(--tr-fast);
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-dropdown.is-open .nav-dropdown__chevron { transform: rotate(180deg); }

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--c-white);
  border: 1px solid var(--c-grey-light);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  min-width: 240px;
  padding: var(--sp-1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--tr-mid), transform var(--tr-mid), visibility var(--tr-mid);
}
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown__link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  transition: background var(--tr-fast);
  text-decoration: none;
}
.nav-dropdown__link:hover { background: var(--c-grey-ultra); }
.nav-dropdown__link-title { font-size: 14px; font-weight: 500; color: var(--c-ink); }
.nav-dropdown__link-sub { font-size: var(--fs-xs); color: var(--c-grey-mid); }

/* Actions nav */
.nav-actions { display: flex; align-items: center; gap: var(--sp-1); flex-shrink: 0; }

/* Burger mobile */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--c-ink);
  transition: transform var(--tr-mid), opacity var(--tr-mid);
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Drawer mobile */
.nav-drawer {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--c-bg);
  z-index: calc(var(--z-nav) - 1);
  padding: var(--sp-4) var(--mx);
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.nav-drawer.is-open { display: flex; }
.nav-drawer__item {
  font-size: 22px;
  font-weight: 400;
  color: var(--c-grey-mid);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--c-grey-light);
  text-decoration: none;
  transition: color var(--tr-fast);
}
.nav-drawer__item:hover { color: var(--c-ink); }
.nav-drawer__cta {
  margin-top: var(--sp-4);
  padding: 16px;
  background: var(--c-ink);
  color: var(--c-white);
  text-align: center;
  font-weight: 500;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background var(--tr-fast);
}
.nav-drawer__cta:hover { background: var(--c-blue); }

/* ─── 7. HERO (BLOC 1) ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--c-bg);
  padding-top: 72px;
  overflow: hidden;
}

/* Halo discret en arrière-plan (statique, pas d'animation) */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 480px;
  max-width: 140%;
  background: radial-gradient(ellipse, rgba(29, 122, 232, 0.09), rgba(29, 122, 232, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--sp-10) var(--mx);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

/* Colonne texte */
.hero__copy {}

.hero__pretitle {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-blue);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-3);
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}
.hero__pretitle::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--c-blue);
  flex-shrink: 0;
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--c-ink);
  line-height: 1.05;
  margin-bottom: var(--sp-3);
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}

.hero__subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 300;
  color: var(--c-grey-mid);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: var(--sp-5);
  opacity: 0;
  animation: fadeUp 0.5s ease 0.35s forwards;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-4);
  opacity: 0;
  animation: fadeUp 0.5s ease 0.45s forwards;
}

.hero__reassurance {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  color: var(--c-grey-mid);
  letter-spacing: 0.06em;
  opacity: 0;
  animation: fadeIn 0.5s ease 0.6s forwards;
}

/* Colonne médias */
.hero__media {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  opacity: 0;
  animation: fadeScale 0.7s ease 0.3s forwards;
}

.hero__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

.hero__thumb {
  background: var(--c-white);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-grey-light);
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--tr-mid), transform var(--tr-mid);
}
.hero__thumb:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }

.hero__thumb-media {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--c-grey-ultra);
  position: relative;
  overflow: hidden;
}
/* Placeholder visite virtuelle */
.hero__thumb-media--visit {
  background: linear-gradient(135deg, #1A2A40 0%, #1D4A7A 100%);
}
/* Placeholder plan coté */
.hero__thumb-media--plan {
  background: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__thumb-label {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero__thumb-name {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-ink);
}
.hero__thumb-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--c-grey-mid);
  letter-spacing: 0.08em;
}

/* SVG plan placeholder */
.plan-svg {
  width: 100%; height: 100%;
  padding: var(--sp-2);
}
.plan-svg line, .plan-svg rect, .plan-svg path {
  stroke: var(--c-ink);
  stroke-width: 1.5;
  fill: none;
}
.plan-svg .plan-dim {
  stroke: var(--c-blue);
  stroke-width: 1;
}
.plan-svg text {
  font-family: var(--f-mono);
  font-size: 7px;
  fill: var(--c-blue);
}

/* Indicateur de scroll */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--sp-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  opacity: 0;
  animation: fadeIn 0.5s ease 1.2s forwards;
}
.hero__scroll-hint span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-grey-mid);
}
.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--c-grey-mid), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

/* ─── 7b. HERO V3 — Titre → Sous-titre → Visuel connecté → CTA ────── */

/* Surcharge : hero V3 centré verticalement */
.hero--v3 {
  align-items: flex-start;
  min-height: 100svh;
}

.hero__inner--v3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: calc(72px + var(--sp-8)) var(--mx) var(--sp-8);
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  grid-template-columns: unset;
}

/* Bloc texte centré */
.hero__copy--v3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--sp-6);
}

/* Pretitle avec dot pulsant */
.hero__pretitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-blue);
  background: rgba(29, 122, 232, 0.08);
  border: 0.5px solid rgba(29, 122, 232, 0.2);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: var(--sp-4);
  opacity: 0;
  animation: fadeUp 0.5s ease 0.1s forwards;
}
.hero__pretitle-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-blue);
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}

/* Titre V3 : grand, centré, deux lignes nettes */
.hero__title--v3 {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.1;
  color: var(--c-ink);
  margin-bottom: var(--sp-3);
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}
.hero__title-accent {
  display: block;
  color: var(--c-blue);
}

/* Sous-titre V3 : centré, max-width resserré */
.hero__subtitle--v3 {
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 400;
  color: var(--c-grey-mid);
  line-height: 1.7;
  max-width: 520px;
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.5s ease 0.35s forwards;
}

/* ── Bloc visuel connecté ── */
.hero__visual {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin-bottom: var(--sp-6);
  opacity: 0;
  animation: fadeScale 0.7s ease 0.45s forwards;
}

/* Cartes communes */
.hero__card {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-md);
}
.hero__card--visit {
  background: #111827;
}
.hero__card--plan {
  background: var(--c-white);
  border: 0.5px solid var(--c-grey-light);
}

.hero__card-media {
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.hero__card-media--light {
  background: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 0.5px solid rgba(255,255,255,0.08);
}
.hero__card--plan .hero__card-label {
  border-top-color: var(--c-grey-light);
}
.hero__card-name {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.88);
}
.hero__card--plan .hero__card-name {
  color: var(--c-ink);
}
.hero__card-sub {
  font-family: var(--f-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
}
.hero__card--plan .hero__card-sub {
  color: var(--c-grey-mid);
}

/* ── Connecteur central ── */
.hero__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0 8px;
}

.hero__connector-line {
  width: 1px;
  flex: 1;
  min-height: 32px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(29, 122, 232, 0.5) 40%,
    rgba(29, 122, 232, 0.5) 60%,
    transparent
  );
}

.hero__connector-point {
  position: relative;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 4px 0;
}
.hero__connector-ring {
  position: absolute;
  border-radius: 50%;
}
.hero__connector-ring--outer {
  width: 40px; height: 40px;
  background: rgba(29, 122, 232, 0.08);
  border: 1px solid rgba(29, 122, 232, 0.25);
  animation: connectorPulse 2.5s ease-in-out infinite;
}
.hero__connector-ring--inner {
  width: 26px; height: 26px;
  background: rgba(29, 122, 232, 0.15);
  border: 1px solid rgba(29, 122, 232, 0.45);
}
.hero__connector-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c-blue);
  position: relative;
  z-index: 1;
}

.hero__connector-label {
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--c-blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.5;
  margin: 6px 0;
}

@keyframes connectorPulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(1.15); opacity: 0.6; }
}

/* ── CTA V3 ── */
.hero__actions--v3 {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--sp-2);
  opacity: 0;
  animation: fadeUp 0.5s ease 0.6s forwards;
}

/* Réassurance centrée */
.hero__reassurance {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  color: var(--c-grey-mid);
  letter-spacing: 0.06em;
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.5s ease 0.75s forwards;
}

/* ── Responsive V3 ── */
@media (max-width: 768px) {
  .hero__inner--v3 {
    padding-top: calc(72px + var(--sp-6));
  }
  .hero__visual {
    grid-template-columns: 1fr 56px 1fr;
  }
  .hero__connector-point {
    width: 32px; height: 32px;
  }
  .hero__connector-ring--outer {
    width: 32px; height: 32px;
  }
  .hero__connector-ring--inner {
    width: 20px; height: 20px;
  }
}

@media (max-width: 560px) {
  .hero__visual {
    grid-template-columns: 1fr 44px 1fr;
    gap: 0;
  }
  .hero__card-label { padding: 8px 10px; }
  .hero__card-name { font-size: 11px; }
  .hero__card-sub  { display: none; }
  .hero__connector-label { font-size: 8px; }
  .hero__actions--v3 { flex-direction: column; align-items: stretch; }
  .hero__actions--v3 .btn { text-align: center; justify-content: center; }
}

/* ─── 8. DÉMONSTRATION (BLOC 2) ─────────────────────────────────────── */
.section-demo {
  position: relative;
  background: var(--c-bg);
  overflow: hidden;
}

/* Zone sticky pour scroll-linked */
.demo__sticky-container {
  position: relative;
  height: 250vh; /* Espace pour l'animation scroll-linked */
}

.demo__sticky {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6) var(--mx);
}

.demo__header {
  text-align: center;
  margin-bottom: var(--sp-6);
  flex-shrink: 0;
}

.demo__canvas-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Conteneur de l'animation (géré par hero-canvas.js) */
#demo-canvas {
  width: 100%;
  height: 100%;
  max-height: 500px;
}

/* Étiquettes résultats (visibles en fin d'animation) */
.demo__results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  width: 100%;
  max-width: 900px;
  opacity: 0;
  transition: opacity 0.5s ease;
  flex-shrink: 0;
  margin-top: var(--sp-3);
}
.demo__results.is-visible { opacity: 1; }

.demo__result {
  text-align: center;
  padding: var(--sp-2) var(--sp-3);
  background: var(--c-white);
  border-radius: var(--r-md);
  border: 1px solid var(--c-grey-light);
}
.demo__result-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 4px;
}
.demo__result-sub {
  font-size: var(--fs-xs);
  color: var(--c-grey-mid);
  line-height: 1.5;
}
.demo__result-cta {
  display: inline-block;
  margin-top: var(--sp-1);
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--c-blue);
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: opacity var(--tr-fast);
}
.demo__result-cta:hover { opacity: 0.7; }

/* ─── 9. RÉALISATIONS (BLOC 3) ──────────────────────────────────────── */
.section-realisations {
  padding: var(--sp-12) 0;
  background: var(--c-white);
}

.realisations__header {
  margin-bottom: var(--sp-8);
}

.realisations__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

.realisation-card {
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-grey-light);
  transition: box-shadow var(--tr-mid), transform var(--tr-mid);
  text-decoration: none;
  color: inherit;
}
.realisation-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.realisation-card__img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  background: linear-gradient(135deg, var(--c-grey-ultra) 0%, var(--c-grey-light) 100%);
  position: relative;
  overflow: hidden;
}
/* Placeholder image par catégorie */
.realisation-card__img--immo { background: linear-gradient(135deg, #E8EFF5 0%, #D0DCE8 100%); }
.realisation-card__img--bureau { background: linear-gradient(135deg, #EEF0F5 0%, #DDE0E8 100%); }
.realisation-card__img--commerce { background: linear-gradient(135deg, #F5F0E8 0%, #E8DDCC 100%); }
.realisation-card__img--indus { background: linear-gradient(135deg, #F0F0EE 0%, #E0E0DC 100%); }

.realisation-card__body {
  padding: var(--sp-2) var(--sp-3) var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}
.realisation-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.3;
}
.realisation-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-family: var(--f-mono);
  font-size: 10px;
  padding: 3px 8px;
  background: var(--c-white);
  border: 1px solid var(--c-grey-light);
  border-radius: 4px;
  color: var(--c-grey-mid);
  white-space: nowrap;
}

.realisations__cta {
  margin-top: var(--sp-6);
  text-align: center;
}

/* ─── 10. DEUX USAGES (BLOC 4) ──────────────────────────────────────── */
.section-poles {
  padding: var(--sp-16) 0;
  background: var(--c-bg);
}

.poles__header {
  text-align: center;
  margin-bottom: var(--sp-10);
}
.poles__header .t-section-sub {
  margin: var(--sp-2) auto 0;
}

.poles__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.pole-card {
  display: block;
  background: var(--c-white);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-grey-light);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--tr-mid), transform var(--tr-mid), background var(--tr-mid);
}
.pole-card:hover {
  background: var(--c-blue-light);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

.pole-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  position: relative;
  overflow: hidden;
}
.pole-card__img--valo { background: linear-gradient(135deg, #1A3054 0%, #1D5A8E 100%); }
.pole-card__img--data { background: linear-gradient(135deg, #1A2040 0%, #3A4A70 100%); }
.pole-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.3));
}

.pole-card__body {
  padding: var(--sp-5) var(--sp-6);
}
.pole-card__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: var(--sp-2);
}
.pole-card__text {
  font-size: 14px;
  font-weight: 300;
  color: var(--c-grey-mid);
  line-height: 1.75;
  margin-bottom: var(--sp-4);
}
.pole-card__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--sp-4);
}
.pole-card__item {
  font-size: var(--fs-sm);
  color: var(--c-grey-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pole-card__item::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-blue);
  flex-shrink: 0;
}
.pole-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-blue);
  transition: gap var(--tr-fast);
}
.pole-card:hover .pole-card__link { gap: 10px; }

/* ─── 11. CAS D'USAGE (BLOC 5) ──────────────────────────────────────── */
.section-usages {
  padding: var(--sp-16) 0;
  background: var(--c-white);
}

.usages__header {
  margin-bottom: var(--sp-10);
}

.usages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.usage-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-5);
  background: var(--c-bg);
  border-radius: var(--r-md);
  border: 1px solid var(--c-grey-light);
  transition: background var(--tr-mid), box-shadow var(--tr-mid), transform var(--tr-mid);
  text-decoration: none;
  color: inherit;
}
.usage-card:hover {
  background: var(--c-blue-light);
  box-shadow: var(--sh-sm);
  transform: translateY(-2px);
}

.usage-card__icon {
  width: 40px; height: 40px;
  margin-bottom: var(--sp-3);
  color: var(--c-blue);
}
.usage-card__icon svg {
  width: 100%; height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.usage-card__title {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: var(--sp-2);
}
.usage-card__text {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--c-grey-mid);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--sp-3);
}
.usage-card__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap var(--tr-fast);
}
.usage-card:hover .usage-card__link { gap: 10px; }

/* ─── 12. POURQUOI MÉTRIKS3D (BLOC 6) ──────────────────────────────── */
.section-why {
  padding: var(--sp-16) 0;
  background: var(--c-bg);
}

.why__header {
  margin-bottom: var(--sp-10);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4);
}

.why-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.why-item__num {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  color: var(--c-grey-mid);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.why-item.is-visible .why-item__num { opacity: 1; }
.why-item__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.3;
  margin-bottom: 6px;
}
.why-item__text {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--c-grey-mid);
  line-height: 1.7;
}

/* ─── 13. CHIFFRES CLÉS (BLOC 7) ────────────────────────────────────── */
.section-stats {
  padding: var(--sp-12) 0;
  background: var(--c-white);
  border-top: 1px solid var(--c-grey-light);
  border-bottom: 1px solid var(--c-grey-light);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  border-right: 1px solid var(--c-grey-light);
}
.stat-item:last-child { border-right: none; }

.stat-item__value {
  font-family: var(--f-mono);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1;
  margin-bottom: var(--sp-1);
  display: block;
}
.stat-item__label {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--c-grey-mid);
  line-height: 1.4;
}

/* ─── 14. PROCESS (BLOC 8) ──────────────────────────────────────────── */
.section-process {
  padding: var(--sp-16) 0;
  background: var(--c-bg);
}

.process__header { margin-bottom: var(--sp-10); }

.process__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

/* Ligne SVG animée */
.process__line-svg {
  position: absolute;
  top: 28px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  overflow: visible;
  z-index: 0;
}
.process__line-path {
  stroke: var(--c-grey-light);
  stroke-width: 1.5;
  fill: none;
}
.process__line-active {
  stroke: var(--c-blue);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.2s ease;
}
.process__line-svg.is-animated .process__line-active {
  stroke-dashoffset: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  padding: var(--sp-5) var(--sp-4) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-step__dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-white);
  border: 2px solid var(--c-grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  transition: border-color var(--tr-mid), background var(--tr-mid);
  flex-shrink: 0;
}
.process-step.is-lit .process-step__dot {
  border-color: var(--c-blue);
  background: var(--c-blue-light);
}
.process-step__dot-icon {
  width: 24px; height: 24px;
  stroke: var(--c-grey-mid);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--tr-mid);
}
.process-step.is-lit .process-step__dot-icon { stroke: var(--c-blue); }

.process-step__tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-white);
  background: var(--c-blue);
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: var(--sp-2);
}
.process-step__title {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: var(--sp-1);
}
.process-step__text {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--c-grey-mid);
  line-height: 1.65;
}

/* ─── 15. RÉASSURANCE TECHNIQUE (BLOC 9) ────────────────────────────── */
.section-tech {
  padding: var(--sp-16) 0;
  background: var(--c-ink);
}

.tech__header {
  margin-bottom: var(--sp-10);
}
.tech__header .t-section-title { color: var(--c-white); }
.tech__header .t-section-sub { color: rgba(255,255,255,0.45); }
.tech__header .t-eyebrow { color: rgba(255,255,255,0.35); }
.tech__header .t-eyebrow::before { background: rgba(255,255,255,0.3); }

.tech__equip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.equip-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  transition: background var(--tr-mid);
}
.equip-card:hover { background: rgba(255,255,255,0.07); }

.equip-card__badge {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-blue);
  border: 1px solid rgba(29,122,232,0.3);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: var(--sp-3);
}
.equip-card__icon {
  width: 40px; height: 40px;
  margin-bottom: var(--sp-3);
  stroke: rgba(255,255,255,0.5);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.equip-card__name {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 4px;
}
.equip-card__sub {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--sp-4);
  font-style: italic;
}
.equip-card__spec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.equip-card__spec:first-of-type { border-top: 1px solid rgba(255,255,255,0.06); }
.equip-card__spec-l {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.equip-card__spec-v {
  font-family: var(--f-mono);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-white);
}
.equip-card__desc {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  margin-top: var(--sp-3);
}

.tech__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--sp-6);
}

.tech__meta-item {}
.tech__meta-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: var(--sp-1);
}
.tech__meta-value {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ─── 16. CONTACT (BLOC 10) ─────────────────────────────────────────── */
.section-contact {
  padding: var(--sp-16) 0;
  background: var(--c-bg);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--sp-12);
  align-items: start;
}

.contact__aside {}
.contact__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--sp-3);
}
.contact__intro {
  font-size: var(--fs-md);
  font-weight: 300;
  color: var(--c-grey-mid);
  line-height: 1.75;
  margin-bottom: var(--sp-6);
}
.contact__promises {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--sp-6);
}
.contact__promise {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--c-grey-mid);
  line-height: 1.4;
}
.contact__promise::before {
  content: '✓';
  color: var(--c-blue);
  font-weight: 600;
  font-size: var(--fs-xs);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact__coords {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--c-grey-light);
}
.contact__coord {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--c-grey-light);
  text-decoration: none;
  color: inherit;
  transition: opacity var(--tr-fast);
}
.contact__coord:hover { opacity: 0.65; }
.contact__coord-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--c-grey-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact__coord-icon svg {
  width: 14px; height: 14px;
  stroke: var(--c-grey-mid);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact__coord-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-grey-mid);
  margin-bottom: 1px;
}
.contact__coord-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
}

/* Formulaire */
.contact__form-wrap {
  background: var(--c-white);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-grey-light);
  padding: var(--sp-6);
}

/* Qualification */
.form-qualify {
  margin-bottom: var(--sp-5);
}
.form-qualify__label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-ink);
  margin-bottom: var(--sp-2);
  display: block;
}
.form-qualify__options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
}
.qualify-btn {
  font-size: var(--fs-sm);
  font-weight: 400;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-grey-light);
  background: var(--c-bg);
  color: var(--c-grey-mid);
  cursor: pointer;
  transition: all var(--tr-fast);
  font-family: var(--f-sans);
}
.qualify-btn:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
  background: var(--c-blue-light);
}
.qualify-btn.is-selected {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: var(--c-white);
}

/* Champs */
.form-field {
  margin-bottom: var(--sp-2);
}
.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-ink);
  margin-bottom: 6px;
}
.form-label span { color: var(--c-grey-mid); font-weight: 300; }
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 14px;
  background: var(--c-bg);
  border: 1.5px solid var(--c-grey-light);
  border-radius: var(--r-sm);
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--c-ink);
  outline: none;
  transition: border-color var(--tr-fast), background var(--tr-fast);
  appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--c-blue);
  background: var(--c-white);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--c-grey-mid); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}
.form-submit {
  width: 100%;
  margin-top: var(--sp-3);
  padding: 15px;
  background: var(--c-ink);
  color: var(--c-white);
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background var(--tr-fast);
}
.form-submit:hover { background: var(--c-blue); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Message de succès */
.form-success {
  display: none;
  text-align: center;
  padding: var(--sp-8);
}
.form-success.is-visible { display: block; }
.form-success__icon {
  width: 48px; height: 48px;
  background: var(--c-blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-3);
  color: var(--c-blue);
  font-size: 24px;
}
.form-success__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: var(--sp-1);
}
.form-success__sub { font-size: var(--fs-sm); color: var(--c-grey-mid); }

/* ─── 17. FOOTER ────────────────────────────────────────────────────── */
.site-footer {
  background: var(--c-ink);
  padding: var(--sp-10) 0 0;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-4);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer__brand {}
.footer__logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-2);
  display: inline-block;
}
.footer__logo span { color: #4A93F0; }
.footer__desc {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-bottom: var(--sp-3);
  max-width: 220px;
}
.footer__contacts { display: flex; flex-direction: column; gap: 6px; }
.footer__contact-link {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--tr-fast);
}
.footer__contact-link:hover { color: rgba(255,255,255,0.75); }
.footer__contact-link svg {
  width: 12px; height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  flex-shrink: 0;
}

.footer__col {}
.footer__col-head {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer__col-links { display: flex; flex-direction: column; gap: 8px; }
.footer__col-link {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  transition: color var(--tr-fast);
}
.footer__col-link:hover { color: rgba(255,255,255,0.7); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) 0;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.footer__legal {
  font-family: var(--f-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.04em;
}
.footer__legal-links { display: flex; gap: var(--sp-3); }
.footer__legal-link {
  font-family: var(--f-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  text-decoration: none;
  transition: color var(--tr-fast);
}
.footer__legal-link:hover { color: rgba(255,255,255,0.5); }

/* ─── 18. KEYFRAMES ─────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeScale {
  from { opacity: 0; transform: scale(0.97) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}
@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

/* ─── 19. RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .why__grid { grid-template-columns: repeat(3, 1fr); }
  .realisations__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; padding-top: var(--sp-8); }
  .hero__media { display: none; }

  .poles__grid { grid-template-columns: 1fr; }
  .usages__grid { grid-template-columns: 1fr 1fr; }
  .tech__equip { grid-template-columns: 1fr; }
  .tech__meta { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --mx: 20px; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--c-grey-light); }
  .stat-item:last-child, .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(2n-1) { border-right: 1px solid var(--c-grey-light); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .process__track { grid-template-columns: 1fr 1fr; }
  .process__line-svg { display: none; }

  .usages__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr 1fr; }

  .footer__main { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .demo__sticky-container { height: auto; }
  .demo__sticky { position: relative; top: 0; height: auto; padding: var(--sp-8) var(--mx); }
  #demo-canvas { max-height: 280px; }

  .form-row-2 { grid-template-columns: 1fr; }
  .realisations__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .realisations__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .process__track { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
  .stat-item:nth-child(2n-1) { border-right: none; }

  .hero__title { font-size: clamp(32px, 9vw, 48px); }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .form-qualify__options { flex-direction: column; }
  .qualify-btn { text-align: center; }
}

/* ─── 20. PAGES SECONDAIRES (templates par défaut) ──────────────────── */
.page-content {
  padding-top: calc(72px + var(--sp-10));
  padding-bottom: var(--sp-16);
  min-height: 60vh;
}
.page-content .u-container { max-width: 800px; }
.page-content h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: var(--sp-4); }
.page-content h2 { font-size: var(--fs-xl); margin-top: var(--sp-6); margin-bottom: var(--sp-2); }
.page-content p { margin-bottom: var(--sp-3); color: var(--c-grey-mid); font-weight: 300; line-height: 1.75; }
.page-content a { color: var(--c-blue); text-decoration: underline; }
/* ─── 21. MOBILE : RYTHME VERTICAL & CARROUSELS ─────────────────────────
 *
 * L'accueil héritait tel quel du rythme desktop : 128 px de respiration
 * au-dessus et au-dessous de chaque section et 80 px sous chaque en-tête,
 * soit 2 088 px de vide cumulé — 2,6 écrans de défilement sans rien à lire.
 *
 * Deux paliers, volontairement distincts :
 *   • ≤ 768 px (tablettes comprises) : on resserre le rythme vertical.
 *   • ≤ 600 px (téléphones seuls)    : on passe les séries de cartes en
 *     carrousels. Au-dessus, la tablette affiche encore deux ou trois
 *     colonnes confortablement — y mettre un carrousel gâcherait la place.
 *
 * Dans tous les cas le contenu reste intégralement dans le DOM, donc
 * indexable : il occupe la largeur au lieu de la hauteur.
 * ------------------------------------------------------------------- */

/* ── 21.1 — Rythme vertical (tablettes et téléphones) ─────────────────── */
@media (max-width: 768px) {

  .section-realisations,
  .section-usages,
  .section-why,
  .section-process,
  .section-tech,
  .section-contact { padding-top: var(--sp-8); padding-bottom: var(--sp-8); }
  .section-stats,
  .m3d-faq { padding-top: var(--sp-6); padding-bottom: var(--sp-6); }
  .hs__in { padding-top: var(--sp-8); padding-bottom: var(--sp-8); }

  .usages__header,
  .realisations__header,
  .why__header,
  .process__header,
  .tech__header { margin-bottom: var(--sp-4); }
  .hs__head { margin-bottom: var(--sp-4); }

  .t-section-title { font-size: clamp(26px, 6.6vw, 34px); }
  .t-section-sub   { font-size: 15px; }

  .contact__inner    { gap: var(--sp-5); }
  .contact__form-wrap{ padding: var(--sp-4); }
  .contact__intro,
  .contact__promises { margin-bottom: var(--sp-4); }
  .contact__title    { font-size: clamp(26px, 6.6vw, 34px); }

  .tech__equip { gap: var(--sp-3); margin-bottom: var(--sp-5); }
  .tech__meta  { padding-top: var(--sp-4); }

  .why__grid  { gap: var(--sp-3); }
  .usage-card { padding: var(--sp-4); }

  /* Libellé et valeur se touchaient dès que la valeur passait à la ligne. */
  .equip-card__spec   { gap: var(--sp-2); }
  .equip-card__spec-v { text-align: right; }
}

/* ── 21.2 — Carrousels tactiles (téléphones uniquement) ───────────────── */
@media (max-width: 600px) {

  .hs__grid,
  .realisations__grid,
  .usages__grid,
  .tech__equip,
  .process__track {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 76%;
    gap: var(--sp-2);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* on déborde jusqu'aux bords de l'écran pour récupérer la marge */
    margin-left: calc(var(--mx) * -1);
    margin-right: calc(var(--mx) * -1);
    padding-left: var(--mx);
    padding-right: var(--mx);
    scroll-padding-left: var(--mx);
    padding-bottom: var(--sp-1);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .hs__grid::-webkit-scrollbar,
  .realisations__grid::-webkit-scrollbar,
  .usages__grid::-webkit-scrollbar,
  .tech__equip::-webkit-scrollbar,
  .process__track::-webkit-scrollbar { display: none; }

  .hs__grid > *,
  .realisations__grid > *,
  .usages__grid > *,
  .tech__equip > *,
  .process__track > * { scroll-snap-align: start; }

  /* Une carte hors écran n'intersecte pas la fenêtre : sans cette règle,
     l'observateur ne la révélerait jamais et elle resterait à opacité 0,
     donnant l'impression d'une carte vide. */
  .hs__grid > .u-reveal,
  .realisations__grid > .u-reveal,
  .usages__grid > .u-reveal,
  .tech__equip > .u-reveal,
  .process__track > .u-reveal { opacity: 1; transform: none; transition: none; }

  .tech__equip    { grid-auto-columns: 86%; }
  .process__track { grid-auto-columns: 72%; }
  .equip-card     { padding: var(--sp-4); }
  .process-step   { padding: var(--sp-3) var(--sp-2) 0; }

  /* Cinq atouts courts : deux colonnes valent mieux qu'une pile. */
  .why__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-3); }

  /* Les chiffres clés gardaient une valeur en clamp(36px…) dans une
     colonne de 155 px : « ±20 mm » et « 48–72h » se cassaient en deux
     lignes. On réduit le corps et on interdit la césure. */
  .stat-item        { padding: var(--sp-4) var(--sp-2); }
  .stat-item__value { font-size: 30px; white-space: nowrap; }
  .stat-item__label { font-size: 13px; }
}

@media (max-width: 480px) {
  .hs__grid,
  .realisations__grid,
  .usages__grid  { grid-auto-columns: 82%; }
  .tech__equip   { grid-auto-columns: 88%; }
  .process__track{ grid-auto-columns: 78%; }
  .why__grid     { grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
}

/* ─── 22. MOBILE : LES TROIS BLOCS LES PLUS HAUTS ────────────────────────
 *
 * Après le passage en carrousels, trois blocs restaient longs :
 * le contact (1 585 px), les équipements (1 208 px) et les atouts
 * (1 037 px). On les traite ici, toujours sans retirer un mot.
 * ------------------------------------------------------------------- */

/* ── 22.1 — Atouts : le balisage est passé en <details> ───────────────────
 * Au-dessus de 600 px, l'élément reste en flex et l'attribut « open » est
 * conservé : le rendu est strictement celui d'avant. On rétablit
 * simplement l'écart de 16 px que le <summary>, en regroupant le numéro
 * et le titre, faisait disparaître. */
.why-item__head { list-style: none; cursor: default; }
.why-item__head::-webkit-details-marker { display: none; }
.why-item__head .why-item__title { margin-top: calc(var(--sp-2) + 4px); }

@media (max-width: 600px) {
  /* En liste dépliable, une seule colonne se lit mieux que deux. */
  .why__grid { display: block; }
  .why-item  { display: block; border-bottom: 1px solid var(--c-grey-light); }
  .why-item:first-child { border-top: 1px solid var(--c-grey-light); }

  .why-item__head {
    cursor: pointer;
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 15px 34px 15px 0;
    position: relative;
  }
  .why-item__head::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 11px;
    font-size: 21px;
    font-weight: 400;
    color: var(--c-blue);
    line-height: 1;
  }
  .why-item[open] .why-item__head::after { content: '−'; }

  .why-item__head .why-item__num   { margin: 0; flex-shrink: 0; }
  .why-item__head .why-item__title { margin: 0; font-size: 15px; }
  .why-item__text { margin: 0; padding: 0 34px 16px 0; }
}

/* ── 22.2 — Contact ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Quatre coordonnées à 72 px de haut chacune : on resserre sans rien ôter,
     l'adresse et les horaires restant lisibles pour le référencement local. */
  .contact__coord      { padding: 10px 0; gap: 12px; }
  .contact__coord-icon { width: 30px; height: 30px; }

  /* Les quatre choix de qualification s'empilaient en colonne. */
  .form-qualify__options { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-1); }
  .form-qualify__options .qualify-btn { width: auto; padding: 9px 10px; text-align: center; }
  .form-qualify { margin-bottom: var(--sp-3); }

  .form-textarea { min-height: 92px; }
  .form-field    { margin-bottom: var(--sp-2); }
}

/* ── 22.3 — Équipements ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  .equip-card__name { font-size: 22px; line-height: 1.2; }
  .equip-card__sub  { margin-bottom: var(--sp-3); }
  .equip-card__spec { padding: 7px 0; }
  .equip-card__desc { font-size: 13px; margin-top: var(--sp-2); }
  .tech__meta-value { font-size: 13px; }
}

/* ─── COOKIES : BANDEAU DE CONSENTEMENT ──────────────────────────────── */
.m3d-cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  background: #0A0E16; color: rgba(255,255,255,.82);
  padding: 18px var(--mx); border-top: 1px solid rgba(255,255,255,.08);
  transform: translateY(110%); transition: transform .35s ease;
}
.m3d-cookie-banner.is-visible { transform: translateY(0); }
.m3d-cookie-banner__in {
  max-width: 1100px; margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.m3d-cookie-banner p { font-size: 13.5px; line-height: 1.6; margin: 0; max-width: 640px; }
.m3d-cookie-banner a { color: #fff; text-decoration: underline; }
.m3d-cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.m3d-cookie-banner .btn--ghost { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.25); }
.m3d-cookie-banner .btn--ghost:hover { color: #fff; border-color: rgba(255,255,255,.55); }
.m3d-cookie-banner .btn--primary { background: #fff; color: #0A0E16; border-color: #fff; }
.m3d-cookie-banner .btn--primary:hover { background: rgba(255,255,255,.88); }
@media (max-width: 640px) {
  .m3d-cookie-banner__in { flex-direction: column; align-items: stretch; }
  .m3d-cookie-banner__actions { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .m3d-cookie-banner { transition: none; }
}
