/* =========================================================================
   Strukt — vitrine : SOCLE COMMUN des pages (landing + pages piliers).
   Tokens, nav, hero, boutons, sections, timeline, factu/fpoint, auto-more,
   FAQ, CTA final, footer, animations. Les styles SPÉCIFIQUES à la landing
   (mock veille, bandeau chiffres, mock situation, autoflow, pricing) restent
   dans le <style> de landing/index.html, chargé APRÈS ce fichier.
   ========================================================================= */

/* =========================================================================
   Tokens hérités du design system produit (styles.css du portail) :
   sombre par défaut + mode clair via [data-theme="light"] posé sur <html>
   par landing.js (localStorage « strukt-theme », partagé avec le portail).
   Données affichées : fictives, à but de démonstration.
   ========================================================================= */
:root,
[data-theme="dark"] {
  --bg:        #09090A;
  --bg-2:      #100F0C;
  --surface:   #161512;
  --surface-2: #1D1B16;
  --elevated:  #221F19;
  --accent:    #C4973A;
  --accent-2:  #DCB45C;
  --accent-soft: rgba(196,151,58,0.15);
  --accent-line: rgba(196,151,58,0.34);
  --accent-ink: #120D02;
  --text:      #F3EEE2;
  --text-2:    #A89E8F;
  --text-3:    #635B4F;
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(255,255,255,0.14);
  --hairline:  rgba(255,255,255,0.05);
  --specular:  rgba(255,255,255,0.05);
  --glass-bar: rgba(9,9,10,0.55);
  --glass-bar-solid: rgba(9,9,10,0.84);
  --positive:  #74B57F;
  --positive-soft: rgba(116,181,127,0.12);
  --positive-line: rgba(116,181,127,0.28);
  --negative: #CD8473;
  --grid-fine: rgba(255,255,255,0.024);
  --factu-top: #14110A;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow:    0 1px 2px rgba(0,0,0,0.4), 0 12px 32px -12px rgba(0,0,0,0.6);
  --shadow-lg: 0 2px 6px rgba(0,0,0,0.45), 0 18px 48px -16px rgba(0,0,0,0.7);
  --ease:      cubic-bezier(.32,.72,0,1);
  --ease-out-strong: cubic-bezier(.23,1,.32,1);
  --dur:       .2s;
  --r-card:    16px;
  --r-btn:     12px;
  --display:   "Space Grotesk", "Manrope", system-ui, sans-serif;
  /* Plus AUCUNE fonte mono visible (rendu « ligne de code » refusé) : les
     étiquettes et chiffres utilisent la grotesque des titres, en tabulaire. */
  --mono:      "Space Grotesk", "Manrope", system-ui, sans-serif;
  --z-nav:     50;
  --z-toast:   10;
  color-scheme: dark;
}

/* Mode clair — mêmes valeurs que le portail client (styles.css), l'or passe
   en version encre (#7A5E10) pour rester lisible sur fond clair. */
[data-theme="light"] {
  --bg:        #F4F1E9;
  --bg-2:      #ECE8DD;
  --surface:   #FFFFFF;
  --surface-2: #F4F1E8;
  --elevated:  #FFFFFF;
  --accent:    #7A5E10;
  --accent-2:  #9A7818;
  --accent-soft: rgba(122,94,16,0.11);
  --accent-line: rgba(122,94,16,0.28);
  --accent-ink: #FCF8EC;
  --text:      #19140C;
  --text-2:    #6E6557;
  --text-3:    #9E9482;
  --border:    rgba(35,28,12,0.12);
  --border-2:  rgba(35,28,12,0.18);
  --hairline:  rgba(35,28,12,0.06);
  --specular:  rgba(255,255,255,0.9);
  --glass-bar: rgba(244,241,233,0.6);
  --glass-bar-solid: rgba(244,241,233,0.88);
  --positive:  #3E7A4A;
  --positive-soft: rgba(62,122,74,0.12);
  --positive-line: rgba(62,122,74,0.28);
  --negative: #A65442;
  --grid-fine: rgba(35,28,12,0.05);
  --factu-top: #EBE4D3;
  --shadow-sm: 0 1px 2px rgba(60,48,20,0.07);
  --shadow:    0 1px 2px rgba(60,48,20,0.07), 0 12px 30px -14px rgba(60,48,20,0.16);
  --shadow-lg: 0 2px 6px rgba(60,48,20,0.08), 0 18px 44px -16px rgba(60,48,20,0.2);
  color-scheme: light;
}

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

html {
  scroll-padding-top: 92px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -0.022em; line-height: 1.12; text-wrap: balance; font-weight: 700;
}
h1 { letter-spacing: -0.028em; }
p  { text-wrap: pretty; }

a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease); }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
:focus:not(:focus-visible) { outline: none; }

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: 0;
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  padding: 13px 24px; border-radius: var(--r-btn); border: none; cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              filter var(--dur) var(--ease);
}
.btn-gold {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 8px 20px -10px color-mix(in srgb, var(--accent) 55%, transparent);
}
/* Reflet qui balaie le CTA à l'entrée du survol (une passe, transform only) */
.btn-gold::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,0.32) 50%, transparent 68%);
  transform: translateX(-130%);
}
@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover::after { transform: translateX(130%); transition: transform .65s var(--ease-out-strong); }
}
.btn-gold:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 12px 26px -10px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-2);
  box-shadow: inset 0 1px 0 var(--specular);
}
.btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); transform: translateY(-1px); }
/* Déclaré APRÈS les :hover : au clic, hover+active sont simultanés et, à
   spécificité égale, c'est l'ordre source qui tranche — sinon press invisible. */
.btn:active { transform: translateY(1px) scale(.97); }
.btn svg { flex-shrink: 0; transition: transform .2s var(--ease-out-strong); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover svg { transform: translateX(3px); }
}

/* ---------- Icônes ---------- */
.ic { display: block; flex-shrink: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  background: var(--glass-bar);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
          backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-scrolled {
  background: var(--glass-bar-solid);
  border-bottom-color: var(--border);
  box-shadow: inset 0 1px 0 var(--specular), var(--shadow);
}
.nav-in {
  height: 68px; display: flex; align-items: center; gap: 34px;
  max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo .word { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.nav-links a { position: relative; font-size: 14.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left center;
  transition: transform .25s var(--ease-out-strong);
}
.nav-links a:hover { color: var(--text); }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover::after { transform: scaleX(1); }
}
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-cta .login { font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.nav-cta .login:hover { color: var(--text); }
.nav-cta .btn { padding: 10px 18px; font-size: 14px; }
@media (max-width: 860px) {
  .nav-links, .nav-cta .login { display: none; }
}
/* Sous 560 px, le CTA de la barre migre dans le tiroir (place au menu). */
@media (max-width: 560px) {
  .nav-cta > .btn-gold { display: none; }
}

/* ---------- Menu mobile : bouton (burger → X) ---------- */
.menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px; cursor: pointer;
  background: transparent; border: 1px solid var(--border-2);
  color: var(--text-2); box-shadow: inset 0 1px 0 var(--specular);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.menu-btn:hover { color: var(--text); border-color: var(--accent-line); }
.menu-btn svg path {
  transform-box: fill-box; transform-origin: center;
  transition: transform .25s var(--ease-out-strong);
}
[data-menu-open] .menu-btn .mb-top { transform: translateY(4.5px) rotate(45deg); }
[data-menu-open] .menu-btn .mb-bot { transform: translateY(-4.5px) rotate(-45deg); }
/* APRÈS la règle de base display:none ci-dessus : l'ordre source tranche. */
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
}

/* ---------- Menu mobile : tiroir latéral ----------
   Sous la barre de nav (z 49 < 50) : le burger reste cliquable pour fermer.
   Courbe de tiroir iOS (--ease), liens en cascade à l'ouverture seulement. */
.drawer-back {
  position: fixed; inset: 0; z-index: 48;
  background: rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
[data-menu-open] .drawer-back { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 49;
  width: min(330px, 88vw);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 100px 26px 30px;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform .38s var(--ease), visibility 0s .38s;
}
[data-menu-open] .drawer {
  transform: none; visibility: visible;
  transition: transform .38s var(--ease);
}
[data-menu-open] { overflow: hidden; } /* verrou de défilement */
.drawer-nav { display: grid; }
.drawer-nav a {
  font-family: var(--display); font-weight: 500; font-size: 21px;
  letter-spacing: -0.015em; color: var(--text);
  padding: 13px 2px;
  border-bottom: 1px solid var(--hairline);
  opacity: 0; transform: translateX(16px);
  transition: opacity .4s var(--ease-out-strong), transform .4s var(--ease-out-strong),
              color var(--dur) var(--ease);
}
.drawer-nav a:active { color: var(--accent-2); }
[data-menu-open] .drawer-nav a { opacity: 1; transform: none; }
[data-menu-open] .drawer-nav a:nth-child(2) { transition-delay: .04s; }
[data-menu-open] .drawer-nav a:nth-child(3) { transition-delay: .08s; }
[data-menu-open] .drawer-nav a:nth-child(4) { transition-delay: .12s; }
[data-menu-open] .drawer-nav a:nth-child(5) { transition-delay: .16s; }
[data-menu-open] .drawer-nav a:nth-child(6) { transition-delay: .2s; }
.drawer-foot { display: grid; gap: 18px; }
.drawer-foot .login { font-size: 15px; font-weight: 600; color: var(--text-2); }
.drawer-foot .login:active { color: var(--text); }
.drawer-foot .btn { width: 100%; }
@media (min-width: 861px) {
  .drawer, .drawer-back { display: none; }
}
/* Nav compacte sur petits mobiles : sans quoi le bouton de thème (36 px)
   pousse le CTA or hors écran (nav ~421 px > 375 px, overflow-x hidden). */
@media (max-width: 480px) {
  .nav-in { gap: 14px; padding: 0 16px; }
  .nav-cta { gap: 10px; }
  .nav-cta .btn { padding: 10px 12px; font-size: 13px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding: 120px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 44% at 78% 30%, rgba(196,151,58,0.11), transparent 68%),
    radial-gradient(40% 38% at 12% 82%, rgba(196,151,58,0.05), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-fine) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-fine) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(60% 55% at 70% 35%, #000 0%, transparent 78%);
          mask-image: radial-gradient(60% 55% at 70% 35%, #000 0%, transparent 78%);
}
.hero-grid > * { min-width: 0; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.86fr);
  gap: clamp(40px, 5vw, 64px); align-items: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em;
  color: var(--accent-2);
  border: 1px solid var(--accent-line); border-radius: 999px;
  padding: 7px 14px; margin-bottom: 26px;
  background: var(--accent-soft);
}
.hero h1 {
  /* Empilement 4 lignes courtes (poster) : permet une taille supérieure —
     chaque segment entre <br> tient dans la colonne, mesuré au rendu réel. */
  font-size: clamp(2.05rem, 2.6vw + 0.9rem, 3.4rem);
  font-weight: 700;
  line-height: 1.06;
  margin-bottom: 22px;
}
.hero h1 .grad { white-space: nowrap; } /* la ligne dorée ne se coupe jamais */
/* Mot-clé en or dégradé (lisible dans les deux thèmes : tokens adaptés).
   Repli : sans support de background-clip:text, on garde l'or uni — jamais
   de texte transparent invisible. */
.grad { color: var(--accent-2); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .grad {
    background: linear-gradient(115deg, var(--accent-2) 15%, var(--accent) 85%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}
.hero h1 br { display: none; }
@media (min-width: 981px) { .hero h1 br { display: inline; } }
.hero h1 .dim { color: var(--text-3); }
.hero-sub {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--text-2); max-width: 46ch; margin-bottom: 34px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* entrée du hero : translate + fade, une fois, au chargement */
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js .hero-copy > * { animation: riseIn .7s var(--ease) both; }
.js .hero-copy > *:nth-child(1) { animation-delay: .05s; }
.js .hero-copy > *:nth-child(2) { animation-delay: .13s; }
.js .hero-copy > *:nth-child(3) { animation-delay: .21s; }
.js .hero-copy > *:nth-child(4) { animation-delay: .29s; }
.js .hero-visual { animation: riseIn .8s var(--ease) .25s both; }


/* ---------- Ajouts socle (pages intérieures) ---------- */
/* Bouton compact : CTA secondaires des piliers et liens croisés entre pages */
.btn-sm { padding: 10px 18px; font-size: 14px; }
.step-more { margin-top: 14px; }
.hero-pill a:hover { color: var(--text); }
/* Segment insécable : empêche la césure aux traits d'union (Île-de-France) */
.nb { white-space: nowrap; }

@media (max-width: 980px) {
  .hero { padding-top: 104px; }
  .hero-grid { grid-template-columns: 1fr; }
}
/* Hero réduit des pages intérieures (pas de visuel produit à droite).
   Déclaré APRÈS la média 980px ci-dessus : à spécificité égale, son padding
   l'emporte à toutes les largeurs (sinon padding-top retombait à 104px). */
.hero--sub { min-height: auto; padding: 150px 0 56px; }
.hero--sub h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); }

/* Bascule de thème (soleil/lune) — même mécanisme que le portail client :
   data-theme sur <html>, persistance localStorage « strukt-theme ». */
.theme-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px; cursor: pointer;
  background: transparent; border: 1px solid var(--border-2);
  color: var(--text-2); box-shadow: inset 0 1px 0 var(--specular);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}
.theme-btn:hover { color: var(--text); border-color: var(--accent-line); background: var(--accent-soft); }
.theme-btn .ic-sun { display: none; }
.theme-btn .ic-moon { display: block; }
[data-theme="light"] .theme-btn .ic-sun { display: block; }
[data-theme="light"] .theme-btn .ic-moon { display: none; }

/* ---------- Illustration vectorielle (pages piliers) ----------
   Carte de démonstration dans la section différenciante : lignes + jauges,
   même matériau que les mocks de la landing. Jauges animées via [data-reveal]
   sur le conteneur (la classe .in vient de l'observer de landing.js). */
.illus {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 var(--specular), var(--shadow-lg);
  overflow: hidden;
}
.illus-head { padding: 18px 22px 15px; border-bottom: 1px solid var(--hairline); background: var(--bg-2); }
.illus-head .t { font-weight: 700; font-size: 15.5px; }
.illus-head .s { font-family: var(--mono); font-size: 13px; color: var(--text-3); margin-top: 3px; }
.illus-rows { padding: 14px 22px 8px; }
.illus-row { padding: 10px 0 12px; box-shadow: inset 0 -1px 0 var(--hairline); }
.illus-row:last-child { box-shadow: none; }
.illus-row .k { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font-size: 14px; color: var(--text-2); }
.illus-row .v { font-family: var(--mono); font-size: 13.5px; color: var(--accent-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.illus-bar { margin-top: 8px; height: 5px; border-radius: 999px; background: var(--accent-soft); overflow: hidden; position: relative; }
.illus-bar i {
  position: absolute; inset: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: left center; transform: scaleX(calc(var(--pct) / 100));
}
.js .illus-bar i { transform: scaleX(0); transition: transform .9s var(--ease) .35s; }
.js .in .illus-bar i { transform: scaleX(calc(var(--pct) / 100)); }
.illus-foot {
  display: flex; align-items: center; gap: 9px;
  margin: 8px 22px 20px; padding: 11px 15px; border-radius: 11px;
  background: var(--positive-soft); border: 1px solid var(--positive-line);
  color: var(--positive); font-size: 14px; font-weight: 600;
}

/* ---------- Bandeau métiers défilant ----------
   Deux copies identiques du contenu, espacement par margin (pas de gap flex)
   → translateX(-50%) boucle sans couture. Motion réduit : gelé (contenu
   identique des deux moitiés, rien ne manque). */
.ticker { overflow: hidden; border-top: 1px solid var(--hairline); background: var(--bg); padding: 14px 0; }
.ticker-track {
  display: flex; align-items: center; width: max-content;
  font-family: var(--display); font-size: 15px; font-weight: 500;
  letter-spacing: 0.01em; color: var(--text-2); white-space: nowrap;
  animation: tickerScroll 38s linear infinite;
}
.ticker-track span { margin-right: 36px; }
.ticker-track .tick-dot { color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .ticker:hover .ticker-track { animation-play-state: paused; }
}
@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* ---------- Sections communes ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.sec-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 16px; }
.sec-head p { color: var(--text-2); font-size: clamp(1rem, 1.3vw, 1.1rem); }

/* révélation au scroll : enrichit un défaut visible (sans JS, tout est visible) */
.js [data-reveal] { opacity: 0; transform: translateY(14px); filter: blur(5px);
  transition: opacity .65s var(--ease-out-strong), transform .65s var(--ease-out-strong),
              filter .65s var(--ease-out-strong); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ---------- Chaîne de valeur (timeline) ---------- */
.chain { position: relative; }
.chain-list { position: relative; max-width: 880px; }
.chain-list::before {
  content: ""; position: absolute; left: 27px; top: 30px; bottom: 60px;
  width: 1px; background: linear-gradient(180deg, var(--accent-line), var(--border) 70%, transparent);
}
.step {
  position: relative;
  display: grid; grid-template-columns: 56px minmax(0, 1fr);
  gap: 0 clamp(20px, 3vw, 36px);
  padding: clamp(22px, 3vw, 34px) 0;
}
.chain-list { counter-reset: etape; }
.step { counter-increment: etape; }
/* Numéral typographique à la place du carré à icône (langage éditorial,
   pas de « boîte à logo ») ; fond = fond de page pour masquer la ligne. */
.step-n {
  position: relative; z-index: 1;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  color: var(--accent-2);
}
.step-n::before {
  content: counter(etape, decimal-leading-zero);
  font-family: var(--display); font-weight: 700; font-size: 24px;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.step-n svg { display: none; }
.step-body h3 .idx { display: none; }
.step-body h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); margin: 6px 0 10px; }
.step-body p { color: var(--text-2); font-size: 15.5px; max-width: 58ch; }
.step-tag {
  display: inline-block; margin-top: 12px;
  font-family: var(--mono); font-size: 13px; color: var(--text-3);
  border: 1px solid var(--hairline); border-radius: 7px; padding: 4px 10px;
  background: var(--bg-2);
}
@media (max-width: 560px) {
  .chain-list::before { left: 21px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); }
  .step-n { width: 44px; height: 44px; }
}

/* ---------- Facturation (différenciant) ---------- */
.factu {
  position: relative;
  border-top: 1px solid var(--accent-line);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(70% 90% at 18% 0%, rgba(196,151,58,0.14), transparent 60%),
    linear-gradient(180deg, var(--factu-top), var(--bg-2));
  overflow: hidden;
}
.factu::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(90deg,
    transparent 0, transparent 119px, rgba(196,151,58,0.05) 119px, rgba(196,151,58,0.05) 120px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.factu-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(44px, 6vw, 84px);
  align-items: center;
}
.factu-kicker {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 18px;
}
.factu h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 18px; max-width: 20ch; }
.factu-lead { color: var(--text-2); font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 52ch; margin-bottom: 34px; }
.factu-lead strong { color: var(--text); font-weight: 600; }
.factu-points { display: grid; gap: 4px; }
.fpoint {
  display: grid; grid-template-columns: 42px minmax(0, 1fr);
  gap: 0 16px; padding: 16px 0;
  box-shadow: inset 0 -1px 0 var(--hairline);
}
.fpoint:last-child { box-shadow: none; }
.fpoint .fi {
  width: 42px; height: 42px;
  display: flex; align-items: flex-start; justify-content: center;
  color: var(--accent-2); padding-top: 3px;
}
.fpoint .fi svg { width: 26px; height: 26px; }
.fpoint h3 { font-size: 1.05rem; margin: 2px 0 5px; }
.fpoint p { color: var(--text-2); font-size: 14.5px; max-width: 52ch; }

@media (max-width: 980px) {
  .factu-grid { grid-template-columns: 1fr; }
}

.auto-more {
  display: flex; align-items: flex-start; gap: 14px;
  max-width: 720px;
  padding: 18px 22px;
  border: 1px dashed var(--border-2);
  border-radius: var(--r-card);
  color: var(--text-2); font-size: 14.5px;
}
.auto-more svg { color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }
.auto-more strong { color: var(--text); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px;
  font-size: clamp(1rem, 1.4vw, 1.12rem); font-weight: 700; letter-spacing: -0.015em;
  transition: color var(--dur) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-2); }
.faq-item summary svg {
  flex-shrink: 0; color: var(--text-3);
  transition: transform .3s var(--ease), color var(--dur) var(--ease);
}
.faq-item[open] summary svg { transform: rotate(45deg); color: var(--accent); }
.faq-a { padding: 0 4px 24px; color: var(--text-2); font-size: 15px; max-width: 64ch; }
/* Ouverture fluide des FAQ — navigateurs récents uniquement (progressif) */
@supports (interpolate-size: allow-keywords) {
  html { interpolate-size: allow-keywords; }
  .faq-item::details-content {
    opacity: 0; block-size: 0; overflow: hidden;
    transition: block-size .32s var(--ease-out-strong), opacity .32s var(--ease-out-strong),
                content-visibility .32s allow-discrete;
  }
  .faq-item[open]::details-content { opacity: 1; block-size: auto; }
}
.faq-a strong { color: var(--text); font-weight: 600; }

/* ---------- CTA final ---------- */
.final {
  position: relative;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(56% 70% at 50% 110%, rgba(196,151,58,0.16), transparent 70%);
}
.final .wrap { position: relative; z-index: 1; }
.final h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); max-width: 21ch; margin: 0 auto 16px; }
.final p { color: var(--text-2); font-size: clamp(1rem, 1.3vw, 1.15rem); margin-bottom: 34px; }
.final .mark-big { margin: 0 auto 28px; width: 54px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 56px 0 36px;
}
.foot-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-bottom: 44px;
}
.foot-brand .word { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.03em; }
.foot-brand p { margin-top: 14px; font-size: 14px; color: var(--text-3); max-width: 30ch; }
.foot-col h4 {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-3); margin-bottom: 16px;
}
.foot-col ul { list-style: none; display: grid; gap: 11px; }
.foot-col a { font-size: 14.5px; color: var(--text-2); }
.foot-col a:hover { color: var(--text); }
.foot-base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono); font-size: 13px; color: var(--text-3);
}
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

/* ---------- Accessibilité : motion réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .js .illus-bar i { transform: scaleX(calc(var(--pct) / 100)); transition: none; }
}
@media print {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
}
