/* ============================================================
   3D PARIS EXPRESS — Design System
   Noir profond · Bleu électrique · Anthracite · Tech premium
   ============================================================ */

:root {
  /* --- Surfaces (noir profond / anthracite, légèrement froid) --- */
  --bg:        oklch(0.16 0.012 255);   /* fond profond */
  --bg-2:      oklch(0.19 0.014 255);   /* sections alternées */
  --surface:   oklch(0.22 0.016 255);   /* cartes */
  --surface-2: oklch(0.26 0.018 255);   /* cartes hover / élevé */
  --line:      oklch(0.32 0.02 255);    /* bordures */
  --line-soft: oklch(0.28 0.016 255);

  /* --- Texte --- */
  --ink:       oklch(0.97 0.005 255);   /* blanc */
  --ink-2:     oklch(0.80 0.012 255);   /* gris clair */
  --ink-3:     oklch(0.64 0.014 255);   /* gris moyen */
  --ink-4:     oklch(0.50 0.014 255);   /* labels discrets */

  /* --- Bleu électrique (accent principal) --- */
  --blue:      oklch(0.66 0.20 255);    /* bleu électrique */
  --blue-hi:   oklch(0.76 0.17 250);    /* surbrillance */
  --blue-deep: oklch(0.50 0.20 258);    /* profond */
  --blue-glow: oklch(0.66 0.20 255 / 0.45);
  --cyan:      oklch(0.80 0.13 215);    /* éclat secondaire */

  /* --- Radius / ombres --- */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow: 0 18px 50px -20px rgba(0,0,0,0.7);
  --shadow-blue: 0 10px 40px -12px var(--blue-glow);

  /* --- Type --- */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);

  --accent: var(--blue);
  --glow: 1; /* multiplicateur d'intensité lumineuse (tweakable) */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Subtle technical grid texture on body */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(oklch(0.5 0.02 255 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.5 0.02 255 / 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 25%, transparent 75%);
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); position: relative; z-index: 1; }
section { position: relative; z-index: 1; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-hi);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}
.h-sec {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.sub-sec {
  color: var(--ink-3);
  max-width: 620px;
  font-size: clamp(16px, 1.6vw, 19px);
  margin: 0;
}
.sec-head { margin-bottom: 56px; }
.sec-pad { padding-block: clamp(72px, 10vw, 130px); }

.text-blue { color: var(--blue-hi); }
.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(180deg, var(--blue-hi), var(--blue));
  color: #04122e;
  box-shadow: 0 8px 28px -8px var(--blue-glow), inset 0 1px 0 oklch(1 0 0 / 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px var(--blue-glow), inset 0 1px 0 oklch(1 0 0 / 0.4); }
.btn-ghost {
  background: oklch(1 0 0 / 0.04);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--blue); background: oklch(1 0 0 / 0.07); }
.btn-lg { padding: 18px 34px; font-size: 16px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: oklch(0.16 0.012 255 / 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 16px var(--gut);
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue), var(--blue-deep));
  box-shadow: 0 0 24px -4px var(--blue-glow), inset 0 1px 0 oklch(1 0 0 / .35);
  flex-shrink: 0;
}
.brand .logo svg { width: 22px; height: 22px; }
.brand b { font-size: 17px; white-space: nowrap; }
.brand small { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .26em; color: var(--blue-hi); margin-top: 1px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 9px 15px; border-radius: 8px; font-size: 14.5px; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: oklch(1 0 0 / 0.05); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-tel { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); }
.nav-tel:hover { color: var(--blue-hi); }
.burger { display: none; background: none; border: 0; padding: 8px; color: var(--ink); }
.burger svg { width: 26px; height: 26px; }

@media (max-width: 1080px) {
  .nav-links, .nav-tel { display: none; }
  .burger { display: block; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: oklch(0.15 0.012 255 / 0.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: var(--gut);
  transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-family: var(--font-display); font-size: 26px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 22px; justify-content: center; }
.mm-close { position: absolute; top: 20px; right: var(--gut); background: none; border: 0; color: var(--ink); }
.mm-close svg { width: 30px; height: 30px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 90px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 921px) {
  .hero { padding-right: calc(var(--hero-vid, min(40vw, 440px)) + 24px); }
}
.hero-glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 900px; height: 900px; right: -260px; top: -140px;
  background: radial-gradient(circle, var(--blue-glow), transparent 62%);
  opacity: calc(0.55 * var(--glow));
  filter: blur(20px);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: oklch(1 0 0 / 0.03);
  font-size: 13px; color: var(--ink-2); margin-bottom: 26px;
  font-family: var(--font-mono); letter-spacing: .02em;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.hero h1 {
  font-family: "Gotham", "Montserrat", var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0 0 22px;
  text-wrap: balance;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--blue-hi), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: clamp(17px, 1.9vw, 21px); color: var(--ink-3); max-width: 540px; margin: 0 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-call {
  display: flex; align-items: center; gap: 9px;
  margin: 20px 0 0; font-size: clamp(15px, 1.6vw, 17px);
  color: var(--ink-2); font-weight: 500;
}
.hero-call svg { width: 19px !important; height: 19px !important; min-width: 19px; color: var(--blue-hi); flex-shrink: 0; }
.hero-call a {
  color: var(--blue-hi); font-weight: 700; text-decoration: none;
  font-family: var(--font-mono); letter-spacing: .02em; white-space: nowrap;
  border-bottom: 1.5px solid transparent; transition: border-color .2s;
}
.hero-call a:hover { border-bottom-color: var(--blue-hi); }
.hero-stats { display: flex; gap: 36px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats .stat b { font-family: var(--font-display); font-size: 30px; display: block; letter-spacing: -0.02em; }
.hero-stats .stat span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }

/* --- Logo cadran (délais) --- */
.stat-clock { display: flex; align-items: center; gap: 16px; }
.stat-txt b { font-family: var(--font-display); font-size: 26px; display: block; letter-spacing: -0.02em; line-height: 1; }
.stat-txt span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); display: block; margin-top: 7px; }
.clock-dial {
  position: relative; flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--line);
  background:
    radial-gradient(circle at 50% 38%, oklch(0.66 0.20 255 / 0.14), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: inset 0 1px 0 oklch(1 0 0 / .10), 0 8px 26px -12px rgba(0,0,0,.7),
              0 0 0 4px oklch(0.66 0.20 255 / 0.05);
}
/* graduations sur le pourtour (12 ticks) */
.clock-ticks {
  position: absolute; inset: 5px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--ink-3) 0deg 1.3deg, transparent 1.3deg 30deg);
  -webkit-mask: radial-gradient(circle, transparent 0 78%, #000 79%);
          mask: radial-gradient(circle, transparent 0 78%, #000 79%);
  opacity: .55;
}
/* aiguille qui tourne en continu */
.clock-hand {
  position: absolute; left: calc(50% - 1.5px); bottom: 50%;
  width: 3px; height: 20px; border-radius: 3px;
  background: linear-gradient(to top, var(--blue-deep), var(--blue-hi));
  transform-origin: 50% 100%;
  box-shadow: 0 0 9px var(--blue-glow);
  animation: clock-spin 1.4s linear infinite;
}
.clock-hand--medium { animation-duration: 5s; }
.clock-hand--slow { animation-duration: 16s; }
.clock-cap {
  position: absolute; z-index: 3; width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-hi); box-shadow: 0 0 8px var(--blue-glow);
}
@keyframes clock-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .clock-hand { animation: none; transform: rotate(45deg); } }

/* --- Printer animation stage --- */
.printer-stage { position: relative; z-index: 1; display: grid; place-items: center; min-height: 460px; }
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .printer-stage { order: -1; min-height: 360px; }
  .hero-stats { gap: 26px; }
}

/* ============================================================
   "POURQUOI NOUS" — feature cards
   ============================================================ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.card:hover { transform: translateY(-5px); border-color: var(--blue); box-shadow: var(--shadow-blue); }
.card .icn {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: oklch(0.66 0.20 255 / 0.12); border: 1px solid oklch(0.66 0.20 255 / 0.3);
  color: var(--blue-hi); margin-bottom: 20px;
}
.card .icn svg { width: 24px; height: 24px; }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin: 0 0 9px; letter-spacing: -0.01em; }
.card p { color: var(--ink-3); font-size: 15px; margin: 0; }
.card .num { position: absolute; top: 20px; right: 22px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); }

/* ============================================================
   MATÉRIAUX
   ============================================================ */
.mat-row {
  display: grid;
  grid-template-columns: 130px 1.4fr repeat(3, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color .25s, background .25s, transform .25s;
}
.mat-row:hover { border-color: var(--blue); background: var(--surface-2); transform: translateX(4px); }
.mat-name { display: flex; align-items: center; gap: 14px; }
.mat-chip { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; box-shadow: inset 0 1px 0 oklch(1 0 0 / .25), 0 4px 12px -4px rgba(0,0,0,.5); }
.mat-name b { font-family: var(--font-display); font-size: 18px; }
.mat-name small { display: block; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-4); letter-spacing: .1em; }
.mat-desc { color: var(--ink-3); font-size: 14px; }
.mat-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); display: block; margin-bottom: 5px; }
.mat-val { font-size: 14px; color: var(--ink-2); }
.mat-price { font-family: var(--font-display); font-size: 17px; text-align: right; color: var(--blue-hi); }
.bars { display: inline-flex; gap: 3px; }
.bars i { width: 6px; height: 16px; border-radius: 2px; background: var(--line); }
.bars i.on { background: var(--blue); box-shadow: 0 0 8px var(--blue-glow); }
.mat-head-row { display: grid; grid-template-columns: 130px 1.4fr repeat(3, 1fr); gap: 18px; padding: 0 26px 10px; }
.mat-head-row span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); }
.mat-stack { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 880px) {
  .mat-head-row { display: none; }
  .mat-row { grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .mat-row .mat-name { grid-column: 1 / -1; }
  .mat-row .mat-desc { grid-column: 1 / -1; }
  .mat-price { text-align: left; }
}

/* ============================================================
   TIMELINE — Comment ça marche
   ============================================================ */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline.timeline-5 { grid-template-columns: repeat(5, 1fr); }
.timeline.timeline-5 .tl-step { padding: 0 16px; }
.tl-step { position: relative; padding: 0 22px; }
.tl-step::before {
  content: ""; position: absolute; top: 27px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--line) 100%);
}
.tl-step:last-child::before { background: var(--line); }
.tl-num {
  width: 56px; height: 56px; border-radius: 50%; position: relative; z-index: 2;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 22px;
  background: var(--bg); border: 2px solid var(--blue); color: var(--blue-hi);
  box-shadow: 0 0 0 6px var(--bg), 0 0 24px -4px var(--blue-glow);
  margin-bottom: 24px;
}
.tl-step h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin: 0 0 8px; }
.tl-step p { color: var(--ink-3); font-size: 14.5px; margin: 0; }
.tl-step .ic { color: var(--blue-hi); margin-bottom: 12px; }

/* --- Vidéo de fond dans la section process (comme le hero) --- */
#process.has-bg-video { position: relative; overflow: hidden; }
.process-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.process-video-el { width: 100%; height: 100%; object-fit: cover; display: block; }
.process-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, var(--bg-2) 0%, color-mix(in oklch, var(--bg-2) 58%, transparent) 26%, color-mix(in oklch, var(--bg-2) 52%, transparent) 72%, var(--bg-2) 100%);
}
#process.has-bg-video > .wrap { position: relative; z-index: 2; }
.tl-step .ic svg { width: 22px; height: 22px; }

/* Rotation des cercles "comme une pièce qu'on fait tourner" (flip 3D), en cascade */
@keyframes tlNumSpin {
  0%   { transform: perspective(440px) rotateY(0deg); }
  18%  { transform: perspective(440px) rotateY(360deg); }
  100% { transform: perspective(440px) rotateY(360deg); }
}
.timeline-5 .tl-num { backface-visibility: visible; transform-style: preserve-3d; animation: tlNumSpin 3.4s cubic-bezier(.45,.05,.25,1) infinite; }
.timeline-5 .tl-step:nth-child(1) .tl-num { animation-delay: 0s; }
.timeline-5 .tl-step:nth-child(2) .tl-num { animation-delay: .34s; }
.timeline-5 .tl-step:nth-child(3) .tl-num { animation-delay: .68s; }
.timeline-5 .tl-step:nth-child(4) .tl-num { animation-delay: 1.02s; }
.timeline-5 .tl-step:nth-child(5) .tl-num { animation-delay: 1.36s; }
@media (prefers-reduced-motion: reduce) { .timeline-5 .tl-num { animation: none; } }

/* Anneau du cercle qui se trace progressivement, même cascade que les chiffres */
@property --tlRingAng { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes tlRingSweep {
  0%   { --tlRingAng: 0deg; }
  18%  { --tlRingAng: 360deg; }
  100% { --tlRingAng: 360deg; }
}
.timeline-5 .tl-step::after {
  content: ""; position: absolute; left: 16px; top: 0; width: 56px; height: 56px;
  border-radius: 50%; z-index: 3; pointer-events: none;
  background: conic-gradient(var(--blue-hi) var(--tlRingAng), transparent 0deg);
  -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 3px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, #0000 calc(100% - 3px), #000 calc(100% - 3px));
  animation: tlRingSweep 3.4s cubic-bezier(.5,0,.3,1) infinite;
}
.timeline-5 .tl-step:nth-child(1)::after { animation-delay: 0s; }
.timeline-5 .tl-step:nth-child(2)::after { animation-delay: .34s; }
.timeline-5 .tl-step:nth-child(3)::after { animation-delay: .68s; }
.timeline-5 .tl-step:nth-child(4)::after { animation-delay: 1.02s; }
.timeline-5 .tl-step:nth-child(5)::after { animation-delay: 1.36s; }
@media (prefers-reduced-motion: reduce) { .timeline-5 .tl-step::after { animation: none; } }

/* Traits de liaison qui se tracent progressivement, en cascade avec les chiffres */
@keyframes tlLineGrowX {
  0%   { transform: scaleX(0); }
  18%  { transform: scaleX(1); }
  100% { transform: scaleX(1); }
}
.timeline-5 .tl-step::before { transform-origin: left center; transform: scaleX(0); animation: tlLineGrowX 3.4s cubic-bezier(.5,0,.3,1) infinite; }
.timeline-5 .tl-step:nth-child(1)::before { animation-delay: 0s; }
.timeline-5 .tl-step:nth-child(2)::before { animation-delay: .34s; }
.timeline-5 .tl-step:nth-child(3)::before { animation-delay: .68s; }
.timeline-5 .tl-step:nth-child(4)::before { animation-delay: 1.02s; }
.timeline-5 .tl-step:nth-child(5)::before { animation-delay: 1.36s; }
@media (prefers-reduced-motion: reduce) { .timeline-5 .tl-step::before { animation: none; transform: scaleX(1); } }
@media (max-width: 860px) {
  .timeline, .timeline.timeline-5 { grid-template-columns: 1fr; gap: 10px; }
  .timeline.timeline-5 .tl-step, .tl-step { padding: 0 0 0 80px; min-height: 86px; }
  .tl-num { position: absolute; left: 0; top: 0; margin: 0; }
  .tl-step::before { left: 27px; top: 56px; bottom: -10px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue), var(--line)); }
  .timeline-5 .tl-step::before { transform-origin: top center; transform: scaleY(0); animation-name: tlLineGrowY; }
  .timeline-5 .tl-step::after { left: 0; top: 0; }
}
@keyframes tlLineGrowY {
  0%   { transform: scaleY(0); }
  18%  { transform: scaleY(1); }
  100% { transform: scaleY(1); }
}

/* ============================================================
   GALERIE
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
  padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--line-soft); color: var(--ink-2);
  transition: all .2s;
}
.filter:hover { border-color: var(--blue); color: var(--ink); }
.filter.active { background: var(--blue); color: #04122e; border-color: var(--blue); font-weight: 600; }
.gallery { columns: 3; column-gap: 18px; }
@media (max-width: 880px) { .gallery { columns: 2; } }
@media (max-width: 560px) { .gallery { columns: 1; } }
.gal-item {
  display: block; position: relative; border-radius: var(--r-lg); overflow: hidden;
  width: 100%; margin-bottom: 18px; break-inside: avoid;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  transition: transform .35s, opacity .35s;
}
.gal-item:hover { transform: translateY(-4px); }
.gal-ph {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, oklch(0.24 0.016 255) 0 12px, oklch(0.21 0.016 255) 12px 24px);
  display: grid; place-items: center;
}
.gal-ph span { font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); letter-spacing: .1em; text-align: center; padding: 0 14px; }
.gal-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, oklch(0.14 0.012 255 / 0.92), transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.gal-item:hover .gal-overlay { opacity: 1; transform: translateY(0); }
.gal-item:hover { transform: translateY(-4px); }
.gal-overlay b { font-family: var(--font-display); font-size: 17px; }
.gal-overlay span { font-family: var(--font-mono); font-size: 11px; color: var(--blue-hi); letter-spacing: .1em; text-transform: uppercase; }
.gal-tag-corner {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em;
  padding: 5px 10px; border-radius: 6px; background: oklch(0.14 0.012 255 / 0.7);
  border: 1px solid var(--line); color: var(--ink-2); backdrop-filter: blur(6px);
}

/* ============================================================
   TÉMOIGNAGES SLIDER
   ============================================================ */
.testi-viewport { overflow: hidden; }
.testi-track { display: flex; transition: transform .55s cubic-bezier(.4,.1,.2,1); }
.testi-card { min-width: 100%; padding: 6px; }
.testi-inner {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-soft); border-radius: var(--r-xl);
  padding: clamp(30px, 5vw, 56px); position: relative;
}
.testi-quote-mark { font-family: var(--font-display); font-size: 90px; line-height: 0.6; color: var(--blue); opacity: .3; }
.testi-text { font-size: clamp(18px, 2.4vw, 27px); font-family: var(--font-display); font-weight: 500; line-height: 1.4; letter-spacing: -0.015em; margin: 10px 0 30px; text-wrap: pretty; }
.testi-who { display: flex; align-items: center; gap: 16px; }
.testi-av { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(145deg, var(--surface-2), var(--bg)); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--blue-hi); }
.testi-who b { display: block; font-size: 15px; }
.testi-who span { font-size: 13px; color: var(--ink-4); }
.testi-nav { display: flex; gap: 10px; margin-top: 30px; align-items: center; }
.testi-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); border: 0; padding: 0; transition: all .3s; }
.testi-dot.active { background: var(--blue); width: 26px; border-radius: 6px; }
.testi-arrows { margin-left: auto; display: flex; gap: 8px; }
.testi-arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; transition: all .2s; }
.testi-arrow:hover { border-color: var(--blue); background: var(--surface-2); }
.testi-arrow svg { width: 18px; height: 18px; }
.stars { color: var(--cyan); display: flex; gap: 3px; margin-bottom: 18px; }
.stars svg { width: 18px; height: 18px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  width: 100%; background: none; border: 0; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; text-align: left; font-family: var(--font-display); font-weight: 500; font-size: clamp(17px, 2vw, 21px);
}
.faq-q .pm { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .3s; color: var(--blue-hi); }
.faq-item.open .pm { background: var(--blue); color: #04122e; border-color: var(--blue); transform: rotate(180deg); }
.faq-q .pm svg { width: 16px; height: 16px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,.1,.2,1); }
.faq-a-inner { padding: 0 4px 26px; color: var(--ink-3); font-size: 16px; max-width: 680px; }

/* ============================================================
   DEVIS FORM
   ============================================================ */
.devis-wrap {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 0;
  border: 1px solid var(--line-soft); border-radius: var(--r-xl); overflow: hidden;
  background: var(--surface);
}
@media (max-width: 940px) { .devis-wrap { grid-template-columns: 1fr; } }
.devis-aside {
  background:
    radial-gradient(circle at 20% 10%, oklch(0.66 0.20 255 / 0.18), transparent 55%),
    linear-gradient(160deg, var(--surface-2), var(--bg));
  padding: clamp(32px, 4vw, 52px);
  border-right: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
}
.devis-aside h3 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); margin: 0 0 14px; letter-spacing: -0.02em; line-height: 1.1; }
.devis-aside p { color: var(--ink-3); font-size: 15px; }
.devis-points { margin-top: auto; padding-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.devis-point { display: flex; gap: 13px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.devis-point .ck { width: 24px; height: 24px; border-radius: 7px; background: oklch(0.66 0.20 255 / 0.15); border: 1px solid oklch(0.66 0.20 255 / 0.35); color: var(--blue-hi); display: grid; place-items: center; flex-shrink: 0; }
.devis-point .ck svg { width: 14px; height: 14px; }
.devis-contact-mini { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); }
.devis-contact-mini a { display: flex; align-items: center; gap: 10px; }
.devis-contact-mini svg { width: 15px; height: 15px; color: var(--blue-hi); }

.devis-form { padding: clamp(28px, 4vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.field label .req { color: var(--blue-hi); }
.field label .opt { color: var(--ink-4); font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-size: 11px; }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 14px; color: var(--ink); font-family: var(--font-body); font-size: 15px;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px oklch(0.66 0.20 255 / 0.18);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237aa2ff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field.error input, .field.error select, .field.error textarea { border-color: oklch(0.62 0.2 25); }
.field .err-msg { font-size: 12px; color: oklch(0.72 0.18 25); display: none; }
.field.error .err-msg { display: block; }

/* Dropzone */
.dropzone {
  grid-column: 1 / -1;
  border: 1.5px dashed var(--line); border-radius: var(--r); padding: 30px 24px;
  text-align: center; transition: all .25s; cursor: pointer; background: var(--bg);
}

/* SwissTransfer — note sous la dropzone (fichiers > 50 Mo) */
.swiss-note {
  grid-column: 1 / -1;
  font-size: 12.5px; color: var(--ink-4); margin: -6px 0 0; text-align: center;
}
.swiss-note a { color: var(--blue-hi); text-decoration: underline; text-underline-offset: 2px; }
.swiss-note b { color: var(--ink-3); font-family: var(--font-mono); font-size: 11.5px; }

.dropzone:hover, .dropzone.drag { border-color: var(--blue); background: oklch(0.66 0.20 255 / 0.06); }
.dropzone .dz-ic { width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 13px; background: oklch(0.66 0.20 255 / 0.12); border: 1px solid oklch(0.66 0.20 255 / 0.3); color: var(--blue-hi); display: grid; place-items: center; }
.dropzone .dz-ic svg { width: 24px; height: 24px; }
.dropzone b { font-family: var(--font-display); font-size: 16px; display: block; margin-bottom: 5px; }
.dropzone p { font-size: 13px; color: var(--ink-4); margin: 0; font-family: var(--font-mono); letter-spacing: .04em; }
.dz-files { grid-column: 1/-1; display: flex; flex-direction: column; gap: 8px; margin-top: -4px; }
.dz-file { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--r-sm); font-size: 13px; }
.dz-file .fi { width: 30px; height: 30px; border-radius: 7px; background: oklch(0.66 0.20 255 / 0.14); color: var(--blue-hi); display: grid; place-items: center; flex-shrink: 0; font-family: var(--font-mono); font-size: 9px; font-weight: 700; }
.dz-file .meta { flex: 1; min-width: 0; }
.dz-file .meta b { display: block; font-family: var(--font-body); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-file .meta span { font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); }
.dz-file .rm { margin-left: auto; background: none; border: 0; color: var(--ink-4); display: grid; place-items: center; padding: 4px; border-radius: 6px; }
.dz-file .rm:hover { color: oklch(0.7 0.18 25); background: oklch(0.62 0.2 25 / 0.12); }
.dz-file .rm svg { width: 16px; height: 16px; }

.form-foot { grid-column: 1/-1; display: flex; align-items: center; gap: 18px; margin-top: 8px; flex-wrap: wrap; }
.recaptcha-slot {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg);
  font-size: 12px; color: var(--ink-4); font-family: var(--font-mono);
}
.recaptcha-slot .box { width: 22px; height: 22px; border: 1.5px solid var(--line); border-radius: 4px; }
.form-foot .btn { margin-left: auto; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* Success state */
.devis-success {
  grid-column: 1 / -1; text-align: center; padding: clamp(40px, 7vw, 90px) 24px;
  display: none; flex-direction: column; align-items: center;
}
.devis-success.show { display: flex; animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.success-ring {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: oklch(0.66 0.20 255 / 0.14); border: 1.5px solid var(--blue); color: var(--blue-hi);
  margin-bottom: 26px; box-shadow: 0 0 40px -8px var(--blue-glow);
}
.success-ring svg { width: 40px; height: 40px; }
.devis-success h3 { font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 14px; }
.devis-success p { color: var(--ink-3); max-width: 460px; }
.devis-success .ref { font-family: var(--font-mono); margin-top: 22px; font-size: 13px; color: var(--ink-4); padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-2); padding-top: 72px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-4); margin: 0 0 18px; }
.foot-col a { display: block; color: var(--ink-3); font-size: 14.5px; padding: 6px 0; transition: color .2s; }
.foot-col a:hover { color: var(--blue-hi); }
.foot-about p { color: var(--ink-3); font-size: 14.5px; max-width: 320px; margin: 18px 0; }
.foot-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.foot-tags span { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-4); border: 1px solid var(--line-soft); padding: 4px 9px; border-radius: 6px; }
.foot-bottom { border-top: 1px solid var(--line-soft); padding: 26px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-4); font-family: var(--font-mono); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(145deg, #25d366, #128c4a);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 30px -6px rgba(18,140,74,.6); border: 0;
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #25d366; opacity: .6; animation: waring 2.4s infinite;
}
@keyframes waring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }
.wa-tip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%);
  background: var(--surface); border: 1px solid var(--line); white-space: nowrap;
  padding: 9px 14px; border-radius: 10px; font-size: 13px; color: var(--ink);
  opacity: 0; pointer-events: none; transition: opacity .25s; box-shadow: var(--shadow);
}
.wa-float:hover .wa-tip { opacity: 1; }
@media (max-width: 560px) { .wa-float { bottom: 18px; right: 18px; width: 54px; height: 54px; } }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } }

/* ============================================================
   HERO — vidéo de fond (emplacement prêt à remplir)
   ============================================================ */
.hero-scrim {
  position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100vw; pointer-events: none;
}
.hero-video {
  position: absolute; z-index: 0; top: 0; bottom: 0;
  right: max(12px, calc((100vw - var(--maxw)) / 2 + 8px));
  width: var(--hero-vid, min(37vw, 420px));
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; overflow: visible;
  transform: translateY(var(--hero-vid-y, 0px));
}
.hero-video-el {
  width: 100%; height: var(--hero-vid-h, min(84%, 760px)); object-fit: contain; display: block;
  -webkit-mask:
    linear-gradient(90deg, transparent 0, #000 30%, #000 70%, transparent 100%),
    linear-gradient(0deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask:
    linear-gradient(90deg, transparent 0, #000 30%, #000 70%, transparent 100%),
    linear-gradient(0deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.hero-video-ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px;
  text-align: center; padding: 24px;
  background:
    radial-gradient(ellipse 80% 70% at 70% 42%, oklch(0.66 0.20 255 / 0.12), transparent 60%),
    repeating-linear-gradient(135deg, oklch(0.205 0.014 255) 0 14px, oklch(0.18 0.014 255) 14px 28px);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-4); line-height: 1.8;
}
.hvp-icn {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line); color: var(--blue-hi); background: oklch(1 0 0 / 0.03);
}
.hvp-icn svg { width: 24px; height: 24px; margin-left: 3px; }
.hero-scrim {
  z-index: 1;
  background: linear-gradient(90deg, var(--bg) 26%, transparent 58%);
}
.hero-glow { z-index: 2; }
.hero-content { z-index: 3 !important; }
.printer-stage { z-index: 3; }
@media (max-width: 920px) {
  .hero-video { position: relative; right: auto; top: auto; bottom: auto; width: 100%; height: 44vh; }
  .hero-video-el { height: 100%; }
  .hero-scrim { display: none; }
}

/* CTA band */
.cta-band {
  border-radius: var(--r-xl); overflow: hidden; position: relative;
  background:
    radial-gradient(circle at 80% 20%, oklch(0.66 0.20 255 / 0.25), transparent 55%),
    linear-gradient(150deg, var(--surface-2), var(--bg));
  border: 1px solid var(--line); padding: clamp(40px, 6vw, 72px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 42px); margin: 0 0 10px; letter-spacing: -0.02em; }
.cta-band p { color: var(--ink-3); margin: 0; max-width: 460px; }
