/* ============================================================
   Innov Électrique — feuille de style
   Typo: Space Grotesk (titres) · IBM Plex Sans (texte) · IBM Plex Mono (étiquettes)
   ============================================================ */

:root {
  /* Surfaces & encre */
  --bg:        oklch(0.992 0.0035 60);
  --surface:   #ffffff;
  --surface-2: oklch(0.972 0.005 60);
  --surface-3: oklch(0.953 0.006 55);
  --ink:       oklch(0.235 0.014 55);
  --ink-soft:  oklch(0.46 0.013 55);
  --ink-faint: oklch(0.62 0.011 55);
  --line:      oklch(0.90 0.007 55);
  --line-soft: oklch(0.945 0.005 55);

  /* Marque — bleu de la compagnie */
  --brand:        oklch(0.53 0.152 252);
  --brand-bright: oklch(0.60 0.165 250);
  --brand-deep:   oklch(0.42 0.13 255);
  --ink-navy:     oklch(0.215 0.022 255);
  --ink-navy-2:   oklch(0.165 0.020 255);

  /* Accent secondaire */
  --accent:     oklch(0.53 0.152 252);
  --accent-deep:oklch(0.42 0.13 255);
  --logo-blue:  oklch(0.53 0.15 252);

  /* Effets */
  --radius:   14px;
  --radius-lg:22px;
  --radius-sm:9px;
  --shadow-sm: 0 1px 2px oklch(0.4 0.04 256 / 0.06), 0 2px 6px oklch(0.4 0.04 256 / 0.05);
  --shadow:    0 12px 30px -12px oklch(0.35 0.05 256 / 0.18), 0 4px 10px -6px oklch(0.35 0.05 256 / 0.12);
  --shadow-lg: 0 30px 60px -20px oklch(0.30 0.06 256 / 0.30);

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

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

section { position: relative; }

/* ----- Étiquettes mono ----- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--brand);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--accent); }
.eyebrow.on-dark::before { background: var(--accent); }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  --bg: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  padding: 0.95em 1.5em;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px -8px oklch(0.53 0.152 252 / 0.55);
}
.btn-primary:hover { background: var(--brand-bright); transform: translateY(-2px); box-shadow: 0 14px 28px -8px oklch(0.53 0.152 252 / 0.6); }
.btn-accent {
  background: var(--accent);
  color: oklch(0.30 0.06 75);
  box-shadow: 0 8px 20px -8px oklch(0.42 0.13 255 / 0.55);
}
.btn-accent:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 14px 28px -8px oklch(0.42 0.13 255 / 0.6); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost.on-dark { color: #fff; border-color: oklch(1 0 0 / 0.25); }
.btn-ghost.on-dark:hover { border-color: #fff; background: oklch(1 0 0 / 0.06); }
.btn-lg { padding: 1.1em 1.9em; font-size: 1.02rem; }

.arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(0.992 0.004 250 / 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand .wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand .wordmark b { color: var(--brand); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--ink-soft);
  padding: 0.5em 0.85em;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
}
.header-phone svg { width: 17px; height: 17px; color: var(--brand); }
.header-phone span small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1;
  margin-bottom: 2px;
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% -10%, oklch(0.53 0.152 252 / 0.10), transparent 60%),
    radial-gradient(90% 80% at -5% 110%, oklch(0.53 0.152 252 / 0.08), transparent 55%),
    var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 96px);
}
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  font-weight: 600;
  margin-top: 22px;
}
.hero h1 .grad {
  color: var(--brand);
}
.hero-lead {
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 30ch;
  margin-top: 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.trust-chip svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-stat-card {
  position: absolute;
  left: -26px;
  bottom: 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-stat-card .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--brand);
  line-height: 1;
}
.hero-stat-card .lbl { font-size: 0.86rem; color: var(--ink-soft); max-width: 14ch; line-height: 1.3; }
.hero-badge {
  position: absolute;
  top: 24px;
  right: -18px;
  background: var(--ink-navy);
  color: #fff;
  border-radius: 100px;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  box-shadow: var(--shadow);
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px oklch(0.53 0.152 252 / 0.25); }

/* ============================================================
   PLACEHOLDER IMAGES
   ============================================================ */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(135deg, var(--surface-2), var(--surface-2) 11px, var(--surface-3) 11px, var(--surface-3) 22px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: oklch(1 0 0 / 0.78);
  padding: 7px 13px;
  border-radius: 100px;
  border: 1px solid var(--line);
  text-align: center;
  max-width: 80%;
}
.ph.dark {
  background:
    repeating-linear-gradient(135deg, oklch(0.26 0.04 257), oklch(0.26 0.04 257) 11px, oklch(0.23 0.04 257) 11px, oklch(0.23 0.04 257) 22px);
}
.ph.dark::after { color: oklch(0.8 0.02 257); background: oklch(0.18 0.03 257 / 0.85); border-color: oklch(1 0 0 / 0.1); }

/* ============================================================
   VALUE BAR
   ============================================================ */
.valuebar { background: var(--ink-navy); color: #fff; }
.valuebar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: oklch(1 0 0 / 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  margin-block: -44px 0;
  position: relative;
  z-index: 5;
  box-shadow: var(--shadow-lg);
}
.value-cell {
  background: var(--ink-navy);
  padding: 26px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value-cell .ic {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(1 0 0 / 0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.value-cell .ic svg { width: 21px; height: 21px; color: var(--accent); }
.value-cell h4 { color: #fff; font-size: 1.02rem; margin-bottom: 4px; }
.value-cell p { color: oklch(0.78 0.015 257); font-size: 0.86rem; line-height: 1.45; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { max-width: 60ch; margin-bottom: clamp(38px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-top: 18px;
}
.section-head p {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin-top: 18px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card .media { aspect-ratio: 3 / 2; position: relative; }
.service-card .ic-badge {
  position: absolute;
  left: 18px; bottom: -22px;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px oklch(0.53 0.152 252 / 0.6);
  border: 3px solid var(--surface);
}
.service-card .ic-badge svg { width: 24px; height: 24px; color: #fff; }
.service-card .body { padding: 36px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.32rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.96rem; flex: 1; }
.service-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.service-tags span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 100px;
}
.service-link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brand);
}
.service-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* Secondary services (features) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature {
  background: var(--surface);
  padding: 30px 28px;
  transition: background .2s ease;
}
.feature:hover { background: var(--surface-2); }
.feature .ic {
  width: 40px; height: 40px; border-radius: 11px;
  background: oklch(0.53 0.152 252 / 0.10);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature .ic svg { width: 20px; height: 20px; color: var(--brand); }
.feature h4 { font-size: 1.06rem; margin-bottom: 7px; }
.feature p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.5; }

/* ============================================================
   ABOUT / WHY
   ============================================================ */
.about { background: var(--surface-2); }
.about-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.about-visual { position: relative; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 6; box-shadow: var(--shadow); border: 1px solid var(--line); }
.about-mini {
  position: absolute;
  right: -22px; top: 30px;
  width: 150px; aspect-ratio: 1;
  border-radius: var(--radius); overflow: hidden;
  border: 4px solid var(--surface-2);
  box-shadow: var(--shadow);
}
.why-list { display: flex; flex-direction: column; gap: 22px; margin-top: 32px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item .ic {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.why-item .ic svg { width: 22px; height: 22px; color: var(--brand); }
.why-item h4 { font-size: 1.1rem; margin-bottom: 4px; }
.why-item p { color: var(--ink-soft); font-size: 0.95rem; }

.stat-row { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 36px; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.stat .num small { color: var(--brand); }
.stat .lbl { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-top: 8px; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.step .n {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.1em;
}
.step .ic { margin: 18px 0 16px; width: 46px; height: 46px; border-radius: 12px; background: var(--ink-navy); display: flex; align-items: center; justify-content: center; }
.step .ic svg { width: 23px; height: 23px; color: var(--accent); }
.step h4 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.92rem; }
.step .connector {
  position: absolute; top: 52px; right: -13px; z-index: 2;
  color: var(--line);
}
.step .connector svg { width: 24px; height: 24px; }

/* ============================================================
   REALISATIONS
   ============================================================ */
.gallery { background: var(--ink-navy); color: #fff; }
.gallery .section-head h2 { color: #fff; }
.gallery .section-head p { color: oklch(0.78 0.015 257); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gtile { border-radius: var(--radius); overflow: hidden; position: relative; border: 1px solid oklch(1 0 0 / 0.08); }
.gtile.tall { grid-row: span 2; }
.gtile.wide { grid-column: span 2; }
.gtile .cap {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, oklch(0.16 0.03 257 / 0.85), transparent);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em;
  color: oklch(0.92 0.01 257);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex; flex-direction: column;
}
.testi .stars { display: flex; gap: 3px; margin-bottom: 16px; color: var(--accent-deep); }
.testi .stars svg { width: 17px; height: 17px; }
.testi blockquote { margin: 0; font-size: 1.04rem; color: var(--ink); line-height: 1.55; flex: 1; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.testi .ava { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.testi .who b { font-family: var(--font-display); font-size: 0.96rem; display: block; }
.testi .who span { font-size: 0.82rem; color: var(--ink-faint); }

/* ============================================================
   SOUMISSION / CTA FORM
   ============================================================ */
.quote { background: var(--ink-navy-2); color: #fff; overflow: hidden; position: relative; }
.quote::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 100% 0%, oklch(0.53 0.152 252 / 0.20), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, oklch(0.53 0.152 252 / 0.10), transparent 55%);
  pointer-events: none;
}
.quote-inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
  position: relative;
}
.quote-info h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); margin-top: 18px; }
.quote-info > p { color: oklch(0.82 0.015 257); font-size: 1.1rem; margin-top: 18px; max-width: 38ch; }
.contact-list { display: flex; flex-direction: column; gap: 4px; margin-top: 38px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid oklch(1 0 0 / 0.1);
}
.contact-item .ic {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: oklch(1 0 0 / 0.06); border: 1px solid oklch(1 0 0 / 0.1);
  display: flex; align-items: center; justify-content: center;
}
.contact-item .ic svg { width: 21px; height: 21px; color: var(--accent); }
.contact-item small { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: oklch(0.7 0.015 257); display: block; margin-bottom: 3px; }
.contact-item b { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: #fff; }

.quote-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.quote-form h3 { font-size: 1.4rem; }
.quote-form > p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 8px; margin-bottom: 24px; }
.field-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-display);
  font-weight: 500; font-size: 0.84rem;
  color: var(--ink);
}
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.78em 0.9em;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 4px oklch(0.53 0.152 252 / 0.12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }

/* segmented choice */
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label {
  flex: 1; min-width: 92px; cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7em 0.6em;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all .15s ease;
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:hover { border-color: var(--brand); color: var(--ink); }
.seg input:checked + span { }
.seg label:has(input:checked) {
  border-color: var(--brand);
  background: oklch(0.53 0.152 252 / 0.08);
  color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand) inset;
}
.form-foot { margin-top: 22px; }
.form-foot .btn { width: 100%; }
.form-note { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-faint); text-align: center; margin-top: 14px; letter-spacing: 0.02em; }
.form-success {
  display: none;
  text-align: center;
  padding: 30px 20px;
}
.form-success.show { display: block; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: oklch(0.53 0.152 252 / 0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.form-success .check svg { width: 32px; height: 32px; color: var(--brand); }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--ink-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink-navy-2); color: oklch(0.78 0.015 257); padding-block: clamp(54px, 7vw, 84px) 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand .wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: #fff; letter-spacing: -0.02em; }
.footer-brand .wordmark b { color: var(--brand-bright); }
.footer-brand p { margin-top: 16px; max-width: 34ch; font-size: 0.92rem; line-height: 1.6; }
.footer-certs { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.footer-certs span {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em;
  border: 1px solid oklch(1 0 0 / 0.14); color: oklch(0.82 0.015 257);
  padding: 6px 11px; border-radius: 8px;
}
.footer-cmeq { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.footer-cmeq .fc-label { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: oklch(0.66 0.015 257); }
.footer-cmeq img { height: 46px; width: auto; background: #fff; padding: 7px 11px; border-radius: 9px; display: block; }
.footer-col h5 { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.92rem; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid oklch(1 0 0 / 0.1);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.03em;
  color: oklch(0.66 0.015 257);
}
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }

  /* Variantes directionnelles */
  .reveal-l { opacity: 0; transform: translateX(-40px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
  .reveal-l.in { opacity: 1; transform: none; }
  .reveal-r { opacity: 0; transform: translateX(40px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
  .reveal-r.in { opacity: 1; transform: none; }
  .reveal-scale { opacity: 0; transform: scale(.92); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal-scale.in { opacity: 1; transform: none; }

  /* Apparition en cascade des enfants */
  .stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
  .stagger.in > * { opacity: 1; transform: none; }
  .stagger.in > *:nth-child(1) { transition-delay: .04s; }
  .stagger.in > *:nth-child(2) { transition-delay: .10s; }
  .stagger.in > *:nth-child(3) { transition-delay: .16s; }
  .stagger.in > *:nth-child(4) { transition-delay: .22s; }
  .stagger.in > *:nth-child(5) { transition-delay: .28s; }
  .stagger.in > *:nth-child(6) { transition-delay: .34s; }
  .stagger.in > *:nth-child(7) { transition-delay: .40s; }
  .stagger.in > *:nth-child(8) { transition-delay: .46s; }
  .stagger.in > *:nth-child(9) { transition-delay: .52s; }
  .stagger.in > *:nth-child(10) { transition-delay: .58s; }
  .stagger.in > *:nth-child(11) { transition-delay: .64s; }
  .stagger.in > *:nth-child(12) { transition-delay: .70s; }

  /* Dérive lente du schéma de fond (transform = fluide, accéléré GPU) */
  @keyframes schemaDrift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-30px, -42px, 0); } }
}
@media (prefers-reduced-motion: reduce) {
  .hero-dark .hero-bg { animation: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .about-inner, .quote-inner { grid-template-columns: 1fr; }
  .valuebar-inner { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .feature-grid, .process-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .step .connector { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .services-grid, .feature-grid, .process-grid, .testi-grid, .valuebar-inner { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gtile.wide { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stat-card { left: 0; }
  .hero-badge { right: 0; }
  .stat-row { gap: 24px; }
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 78px 0 auto 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 16px var(--gut) 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .2s ease;
  z-index: 99;
}
.mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-weight: 500; padding: 13px 8px; border-radius: 8px; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 14px; }

/* ============================================================
   V2 ADDITIONS — style « Deschênes-like »
   ============================================================ */

/* Header wordmark fallback keeps the logo blue */
.site-header .brand .wordmark b { color: var(--logo-blue); }

/* ---- Top utility bar ---- */
.topbar {
  background: var(--ink-navy-2);
  color: oklch(0.82 0.012 55);
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  padding-block: 7px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a, .topbar .ti { display: inline-flex; align-items: center; gap: 8px; color: oklch(0.85 0.012 55); transition: color .15s ease; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; color: var(--brand); }
.topbar .rbq { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: oklch(0.72 0.012 55); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.urgence-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
  padding: 6px 14px; border-radius: 100px;
}
.urgence-pill .pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 oklch(1 0 0 / 0.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 oklch(1 0 0 / 0.55);} 70%{box-shadow:0 0 0 7px oklch(1 0 0 / 0);} 100%{box-shadow:0 0 0 0 oklch(1 0 0 / 0);} }
.topbar .social { width: 30px; height: 30px; border-radius: 7px; background: oklch(1 0 0 / 0.08); justify-content: center; }
.topbar .social:hover { background: var(--brand); }
@media (max-width: 760px) {
  .topbar .rbq, .topbar .tb-mail { display: none; }
  .topbar-inner { justify-content: center; }
}

/* ---- Hero callout strip (4 icons) ---- */
.callouts { background: var(--ink-navy); }
.callouts-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: oklch(1 0 0 / 0.08);
}
.callout {
  background: var(--ink-navy);
  display: flex; align-items: center; gap: 16px;
  padding: 26px clamp(18px, 2.4vw, 30px);
}
.callout .ic {
  width: 52px; height: 52px; border-radius: 13px; flex-shrink: 0;
  background: oklch(1 0 0 / 0.06); border: 1px solid oklch(1 0 0 / 0.1);
  display: flex; align-items: center; justify-content: center;
}
.callout .ic svg { width: 26px; height: 26px; color: var(--brand); }
.callout p { color: oklch(0.88 0.012 55); font-size: 0.95rem; font-weight: 500; line-height: 1.35; }
@media (max-width: 900px) { .callouts-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .callouts-inner { grid-template-columns: 1fr; } }

/* ---- Why choose us (dark band) ---- */
.why-dark { background: var(--ink-navy); color: #fff; position: relative; overflow: hidden; }
.why-dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 90% 0%, oklch(0.53 0.152 252 / 0.16), transparent 60%);
  pointer-events: none;
}
.why-dark .section-head h2 { color: #fff; }
.why-dark .section-head p { color: oklch(0.82 0.012 55); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.why-card {
  background: oklch(1 0 0 / 0.04);
  border: 1px solid oklch(1 0 0 / 0.09);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.why-card:hover { transform: translateY(-5px); background: oklch(1 0 0 / 0.07); border-color: oklch(0.53 0.152 252 / 0.5); }
.why-card .ic {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 20px;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -10px oklch(0.53 0.152 252 / 0.7);
}
.why-card .ic svg { width: 27px; height: 27px; color: #fff; }
.why-card h4 { color: #fff; font-size: 1.18rem; margin-bottom: 10px; }
.why-card p { color: oklch(0.82 0.012 55); font-size: 0.93rem; line-height: 1.55; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---- Google reviews badge ---- */
.reviews-badge {
  display: inline-flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 100px; padding: 12px 22px 12px 16px;
  box-shadow: var(--shadow-sm); margin-top: 8px;
}
.reviews-badge .g {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
}
.reviews-badge .stars { color: var(--brand); letter-spacing: 2px; font-size: 1.05rem; line-height: 1; }
.reviews-badge b { font-family: var(--font-display); font-size: 1.05rem; }
.reviews-badge small { font-size: 0.8rem; color: var(--ink-faint); display: block; }

/* ---- Service photo cards (En savoir plus) ---- */
.svc-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Carrousel horizontal des travaux — mise en vedette */
.svc-rail {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px clamp(20px, 18vw, 240px) 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.svc-rail::-webkit-scrollbar { display: none; }
.svc-rail .svc-photo {
  flex: 0 0 clamp(280px, 42%, 460px);
  scroll-snap-align: center;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .4s ease, filter .4s ease;
  transform: scale(0.86);
  opacity: 0.45;
  filter: saturate(0.7);
}
.svc-rail .svc-photo.is-active {
  transform: scale(1);
  opacity: 1;
  filter: none;
  box-shadow: var(--shadow-lg);
}

/* Compteur + flèches de navigation */
.work-nav { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.work-nav .wn-count { font-family: var(--font-mono); font-size: 0.84rem; color: var(--ink-soft); letter-spacing: 0.04em; min-width: 52px; text-align: center; }
.work-nav .wn-count b { color: var(--brand); font-size: 1.05rem; }
.wn-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s ease;
}
.wn-btn svg { width: 20px; height: 20px; }
.wn-btn:hover { border-color: var(--brand); background: var(--brand); color: #fff; transform: translateY(-2px); }
.wn-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; border-color: var(--line); background: var(--surface); color: var(--ink); }

/* Points de progression */
.work-dots { display: flex; justify-content: center; gap: 9px; margin-top: 26px; }
.work-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
  background: var(--line); cursor: pointer; transition: all .2s ease;
}
.work-dots button.on { background: var(--brand); width: 26px; border-radius: 100px; }
.svc-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
}
.svc-photo .ph { position: absolute; inset: 0; z-index: -2; }
.svc-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, oklch(0.16 0.016 252 / 0.92) 12%, oklch(0.16 0.016 252 / 0.35) 50%, transparent 75%);
}
.svc-photo .meta { padding: 22px 20px; }
.svc-photo h4 { color: #fff; font-size: 1.15rem; margin-bottom: 10px; }
.svc-photo .more {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.84rem;
  color: #fff; opacity: 0.9;
}
.svc-photo .more svg { width: 15px; height: 15px; transition: transform .2s ease; }
.svc-photo:hover .more { color: var(--brand-bright); opacity: 1; }
.svc-photo:hover .more svg { transform: translateX(4px); }
@media (max-width: 900px) { .svc-photos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .svc-photos { grid-template-columns: 1fr; } }

/* ---- Financing banner ---- */
.finance {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 48px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  box-shadow: 0 24px 50px -22px oklch(0.53 0.152 252 / 0.6);
}
.finance .ftxt { max-width: 60ch; }
.finance h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.finance p { color: oklch(1 0 0 / 0.92); margin-top: 10px; font-size: 1.05rem; }
.finance .btn-white { background: #fff; color: var(--brand-deep); }
.finance .btn-white:hover { background: oklch(0.97 0.01 55); transform: translateY(-2px); }
.finance .ficon { display: flex; gap: 10px; align-items: center; }

/* ---- Section tints ---- */
.section.tint { background: var(--surface-2); }

/* ---- Dark image hero (Deschênes-like) ---- */
.hero-dark { position: relative; overflow: hidden; background: var(--ink-navy-2); isolation: isolate; }
.hero-dark .hero-bg { position: absolute; top: -480px; left: -480px; width: calc(100% + 960px); height: calc(100% + 960px); z-index: -2; will-change: transform; backface-visibility: hidden; transform: translateZ(0); background-color: var(--ink-navy-2); background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22260%22%20height%3D%22260%22%20viewBox%3D%220%200%20260%20260%22%3E%3Cg%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221%22%20stroke-opacity%3D%220.05%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M0%2065H80M180%2065H260%22%2F%3E%3Cpath%20d%3D%22M0%20195H120M210%20195H260%22%2F%3E%3Cpath%20d%3D%22M65%200V40M65%2090V260%22%20stroke-opacity%3D%220.04%22%2F%3E%3Cpath%20d%3D%22M195%200V150M195%20210V260%22%20stroke-opacity%3D%220.04%22%2F%3E%3C%2Fg%3E%3Cg%3E%3Ccircle%20cx%3D%2265%22%20cy%3D%2265%22%20r%3D%222.4%22%20fill%3D%22%237ea6ff%22%20fill-opacity%3D%220.10%22%2F%3E%3Ccircle%20cx%3D%22195%22%20cy%3D%22195%22%20r%3D%222.4%22%20fill%3D%22%237ea6ff%22%20fill-opacity%3D%220.10%22%2F%3E%3Ccircle%20cx%3D%22195%22%20cy%3D%22150%22%20r%3D%222.4%22%20fill%3D%22%237ea6ff%22%20fill-opacity%3D%220.10%22%2F%3E%3Ccircle%20cx%3D%22120%22%20cy%3D%22195%22%20r%3D%222.4%22%20fill%3D%22%237ea6ff%22%20fill-opacity%3D%220.10%22%2F%3E%3C%2Fg%3E%3Cg%3E%3Cpath%20d%3D%22M69.8%2041.0L45.8%2069.8L62.6%2069.8L60.2%2089.0L84.2%2060.2L67.4%2060.2L69.8%2041.0Z%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%220.05%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M199.8%20171.0L175.8%20199.8L192.6%20199.8L190.2%20219.0L214.2%20190.2L197.4%20190.2L199.8%20171.0Z%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%220.05%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M199.8%20-44.0L175.8%20-15.2L192.6%20-15.2L190.2%204.0L214.2%20-24.8L197.4%20-24.8L199.8%20-44.0Z%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%220.05%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M199.8%20216.0L175.8%20244.8L192.6%20244.8L190.2%20264.0L214.2%20235.2L197.4%20235.2L199.8%20216.0Z%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%220.05%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M-60.2%20171.0L-84.2%20199.8L-67.4%20199.8L-69.8%20219.0L-45.8%20190.2L-62.6%20190.2L-60.2%20171.0Z%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%220.05%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M133.0%20115.0L118.0%20133.0L128.5%20133.0L127.0%20145.0L142.0%20127.0L131.5%20127.0L133.0%20115.0Z%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%220.035%22%20stroke%3D%22none%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); background-size: 200px 200px; background-position: center; background-repeat: repeat; animation: schemaDrift 55s ease-in-out infinite alternate; }
.hero-dark::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, oklch(0.16 0.016 252 / 0.94) 30%, oklch(0.16 0.016 252 / 0.62) 70%, oklch(0.16 0.016 252 / 0.4)),
    radial-gradient(70% 90% at 100% 100%, oklch(0.53 0.152 252 / 0.22), transparent 60%);
}
.hero-dark .hero-inner { grid-template-columns: 1fr; padding-block: clamp(64px, 10vw, 120px); min-height: calc(100svh - 122px); align-content: center; }
.hero-watermark {
  position: absolute; z-index: -1; pointer-events: none;
  right: clamp(-40px, -2vw, 0px); bottom: -2vw; left: auto;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(7rem, 26vw, 26rem); line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px oklch(1 0 0 / 0.05);
  text-stroke: 1.5px oklch(1 0 0 / 0.05);
  background: linear-gradient(180deg, oklch(1 0 0 / 0.05), oklch(1 0 0 / 0.012));
  -webkit-background-clip: text; background-clip: text;
  user-select: none; white-space: nowrap;
}
@media (max-width: 700px) { .hero-watermark { right: 50%; transform: translateX(50%); bottom: 4vw; } }
.hero-dark .hero-copy { max-width: 62ch; }
.hero-dark h1 { color: #fff; font-size: clamp(2.7rem, 6vw, 4.8rem); }
.hero-dark h1 .grad { color: var(--brand-bright); }
.hero-dark .hero-lead { color: oklch(0.88 0.012 55); max-width: 46ch; }
.hero-dark .eyebrow { color: var(--brand-bright); }
.hero-dark .eyebrow::before { background: var(--brand-bright); }
.hero-dark .hero-trust { border-top-color: oklch(1 0 0 / 0.15); }
.hero-dark .trust-chip { color: oklch(0.86 0.012 55); }
.hero-dark .trust-chip svg { color: var(--brand-bright); }

/* ============================================================
   ASSISTANT DE SOUMISSION — modale multi-étapes
   ============================================================ */

/* Attractive primary CTA: subtle sheen + free badge */
.btn-primary.cta-glow { position: relative; overflow: hidden; }
.btn-primary.cta-glow::after {
  content: ""; position: absolute; top: 0; left: -60%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, oklch(1 0 0 / 0.35), transparent);
  transform: skewX(-18deg);
  animation: sheen 4.5s ease-in-out infinite;
}
@keyframes sheen { 0%,55%{ left:-60%; } 80%,100%{ left:130%; } }
.btn .cta-free {
  font-family: var(--font-mono); font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.04em; background: oklch(1 0 0 / 0.22);
  padding: 2px 7px; border-radius: 100px; margin-left: 2px;
}

/* Launcher card (replaces inline form) */
.quote-launch {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.4vw, 44px);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.quote-launch .ql-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand);
  background: oklch(0.53 0.152 252 / 0.09); padding: 7px 13px; border-radius: 100px;
}
.quote-launch h3 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-top: 18px; }
.quote-launch > p { color: var(--ink-soft); margin-top: 10px; font-size: 1.02rem; }
.ql-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.ql-points li { display: flex; align-items: center; gap: 12px; font-size: 0.98rem; color: var(--ink); }
.ql-points svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; }
.quote-launch .btn { width: 100%; margin-top: 28px; }
.ql-stepline {
  display: flex; align-items: center; gap: 10px; margin-top: 22px;
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-faint);
  justify-content: center;
}
.ql-stepline b { color: var(--brand); }

/* Overlay */
.sm-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: oklch(0.16 0.02 255 / 0.62);
  backdrop-filter: blur(6px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .28s ease;
  padding: 0;
}
.sm-overlay.open { opacity: 1; pointer-events: auto; }
@media (min-width: 700px) { .sm-overlay { align-items: center; padding: 24px; } }

/* Dialog */
.sm-dialog {
  background: var(--surface);
  width: 100%; max-width: 660px;
  max-height: 94vh;
  border-radius: 22px 22px 0 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: translateY(40px);
  transition: transform .32s cubic-bezier(.2,.8,.2,1);
  box-shadow: var(--shadow-lg);
}
.sm-overlay.open .sm-dialog { transform: none; }
@media (min-width: 700px) { .sm-dialog { border-radius: 22px; } }

/* Header */
.sm-head {
  position: relative;
  background: var(--ink-navy);
  color: #fff;
  padding: 24px 26px 20px;
  overflow: hidden;
  flex-shrink: 0;
}
.sm-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 120% at 100% 0%, oklch(0.53 0.152 252 / 0.35), transparent 60%);
  pointer-events: none;
}
.sm-head .sm-kicker { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-bright); position: relative; }
.sm-head h3 { color: #fff; font-size: 1.4rem; margin-top: 8px; position: relative; }
.sm-close {
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px; border-radius: 10px;
  background: oklch(1 0 0 / 0.1); border: 1px solid oklch(1 0 0 / 0.14);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s ease; z-index: 2;
}
.sm-close:hover { background: oklch(1 0 0 / 0.2); }
.sm-close svg { width: 18px; height: 18px; }

/* Progress steps */
.sm-steps { display: flex; gap: 8px; margin-top: 18px; position: relative; }
.sm-steps .st { flex: 1; }
.sm-steps .bar { height: 4px; border-radius: 4px; background: oklch(1 0 0 / 0.18); overflow: hidden; }
.sm-steps .bar i { display: block; height: 100%; width: 0; background: var(--brand-bright); border-radius: 4px; transition: width .35s ease; }
.sm-steps .st.done .bar i, .sm-steps .st.active .bar i { width: 100%; }
.sm-steps .lbl { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: oklch(0.78 0.012 255); margin-top: 7px; }
.sm-steps .st.active .lbl, .sm-steps .st.done .lbl { color: #fff; }

/* Body */
.sm-body { padding: 26px; overflow-y: auto; flex: 1; }
.sm-panel { display: none; animation: smin .3s ease; }
.sm-panel.active { display: block; }
@keyframes smin { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.sm-panel h4 { font-size: 1.18rem; }
.sm-panel .sub { color: var(--ink-soft); font-size: 0.95rem; margin-top: 6px; margin-bottom: 20px; }

/* Option grid (step 1) */
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .opt-grid { grid-template-columns: repeat(2, 1fr); } }
.opt {
  border: 1.5px solid var(--line); border-radius: 13px;
  background: var(--surface); cursor: pointer;
  padding: 16px 10px 13px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  transition: all .15s ease; font-family: var(--font-body);
}
.opt:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.opt .oic { width: 40px; height: 40px; border-radius: 10px; background: oklch(0.53 0.152 252 / 0.10); display: flex; align-items: center; justify-content: center; transition: all .15s ease; }
.opt .oic svg { width: 21px; height: 21px; color: var(--brand); }
.opt span { font-size: 0.84rem; font-weight: 500; color: var(--ink); line-height: 1.25; }
.opt.selected { border-color: var(--brand); background: oklch(0.53 0.152 252 / 0.07); box-shadow: 0 0 0 1px var(--brand) inset; }
.opt.selected .oic { background: var(--brand); }
.opt.selected .oic svg { color: #fff; }

/* Detail fields reuse .field/.seg from base */
.sm-body .field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sm-body .field.full { grid-column: 1 / -1; }
@media (max-width: 560px) { .sm-body .field-grid { grid-template-columns: 1fr; } }
.sm-autre { display: none; }
.sm-autre.show { display: flex; }

.sel-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em;
  background: oklch(0.53 0.152 252 / 0.09); color: var(--brand);
  padding: 6px 12px; border-radius: 100px; margin-bottom: 16px;
}
.sel-pill svg { width: 14px; height: 14px; }

/* Footer */
.sm-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 26px; border-top: 1px solid var(--line); flex-shrink: 0;
  background: var(--surface);
}
.sm-foot .btn { padding: 0.85em 1.5em; }
.sm-back {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 500; font-size: 0.92rem;
  color: var(--ink-soft); display: inline-flex; align-items: center; gap: 7px;
  padding: 0.6em 0.4em;
}
.sm-back:hover { color: var(--ink); }
.sm-back svg { width: 16px; height: 16px; }
.sm-back[hidden] { visibility: hidden; }
.sm-foot .reassure { font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-faint); }

/* Success */
.sm-success { display: none; text-align: center; padding: 36px 26px 30px; }
.sm-success.show { display: block; }
.sm-success .check { width: 72px; height: 72px; border-radius: 50%; background: oklch(0.53 0.152 252 / 0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.sm-success .check svg { width: 36px; height: 36px; color: var(--brand); }
.sm-success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.sm-success p { color: var(--ink-soft); max-width: 38ch; margin: 0 auto; }
.sm-success .recap { font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 22px auto 0; max-width: 360px; text-align: left; }
.sm-success .recap b { color: var(--ink); }
