/* =============================================================
   Site vitrine Looty — styles
   Compose avec colors_and_type.css (tokens) + Phosphor icons
   ============================================================= */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--fg1);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; font: inherit; font-size: 14px; font-weight: 600;
  border-radius: var(--r-md); border: 1px solid transparent;
  cursor: pointer; transition: background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-primary { background: var(--brand-blue); color: #fff; }
.btn-primary:hover { background: var(--brand-blue-700); }
.btn-secondary { background: #fff; color: var(--fg1); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--fg1); }
.btn-ghost:hover { background: var(--surface-3); }
.btn-onblue { background: #fff; color: var(--brand-blue-800); }
.btn-onblue:hover { background: var(--n-50); }
.btn-onblue-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-onblue-ghost:hover { background: rgba(255,255,255,0.12); }

/* bouton désactivé "Communauté" (bientôt) */
.btn-soon {
  background: transparent; color: var(--fg4); border-color: var(--border);
  cursor: not-allowed; user-select: none; gap: 8px;
}
.btn-soon i { font-size: 16px; }
.soon-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--brand-blue-700); background: var(--brand-blue-50);
  padding: 2px 7px; border-radius: var(--r-pill);
}

/* tooltip générique */
.has-tip { position: relative; }
.has-tip::after {
  content: attr(data-tip);
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px);
  background: var(--brand-gray-800); color: #fff; font-size: 12px; font-weight: 600;
  letter-spacing: 0; white-space: nowrap; padding: 6px 10px; border-radius: var(--r-sm);
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  z-index: 60;
}
.has-tip::before {
  content: ""; position: absolute; top: calc(100% + 3px); left: 50%; transform: translateX(-50%) translateY(4px);
  border: 5px solid transparent; border-bottom-color: var(--brand-gray-800);
  opacity: 0; pointer-events: none; transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  z-index: 60;
}
.has-tip:hover::after, .has-tip:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.has-tip:hover::before, .has-tip:focus-visible::before { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- HEADER ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 32px; padding: 14px 0; }
.logo { display: flex; align-items: center; }
.logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: 20px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--fg2); transition: color var(--dur-fast) var(--ease-out); }
.nav-links a:hover { color: var(--fg1); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* =============================================================
   HERO — accent piloté par body[data-hero]
   ============================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: 128px 0 96px;
  min-height: 640px;
  display: flex; align-items: center;
  --hero-fg: #fff;
  --hero-fg-muted: rgba(255,255,255,0.88);
  --hero-eyebrow-bd: rgba(255,255,255,0.35);
  --hero-em: #B7DBF0;
  --hero-scrim: linear-gradient(90deg, rgba(11,42,66,0.88) 0%, rgba(11,42,66,0.66) 46%, rgba(11,42,66,0.30) 100%);
  background: var(--brand-gray-800);
}
/* Calque image de fond — technicien en maintenance */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('assets/hero-technicien.webp');
  background-size: cover; background-position: 72% center;
  background-attachment: fixed;
  background-color: #1f2937;
}
.hero-bg-note {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55); padding: 6px 12px; border: 1px dashed rgba(255,255,255,0.35);
  border-radius: var(--r-pill); white-space: nowrap; pointer-events: none;
}
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: var(--hero-scrim); }
.hero > .wrap { position: relative; z-index: 2; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1fr; align-items: center; }
.hero-inner { text-align: left; max-width: 680px; padding-bottom: 0; }

/* Calque photo pour la disposition "à droite" — masqué en plein cadre */
.hero-photo { display: none; margin: 0; }

/* =============================================================
   HERO — disposition "photo à droite du texte" (data-herolayout="droite")
   ============================================================= */
body[data-herolayout="droite"] .hero {
  background: var(--bg);
  min-height: 0; padding: 120px 0 100px; overflow: hidden;
  --hero-fg: var(--fg1);
  --hero-fg-muted: var(--fg2);
  --hero-eyebrow-bd: var(--border-strong);
  --hero-em: var(--brand-blue);
}
body[data-herolayout="droite"] .hero-bg,
body[data-herolayout="droite"] .hero-scrim { display: none; }
body[data-herolayout="droite"] .hero-grid {
  grid-template-columns: 1.04fr 0.96fr; gap: 56px;
}
body[data-herolayout="droite"] .hero-inner { max-width: 560px; }
body[data-herolayout="droite"] .hero-logo img {
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
body[data-herolayout="droite"] .hero-photo {
  display: block; align-self: stretch;
  min-height: 480px;
  background-image: url('assets/hero-technicien.webp');
  background-size: cover; background-position: 58% center;
  border-radius: var(--r-xl); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
body[data-herolayout="droite"] .hero-cta-primary { background: var(--brand-blue); color: #fff; }
body[data-herolayout="droite"] .hero-cta-primary:hover { background: var(--brand-blue-700); }
body[data-herolayout="droite"] .hero-cta-secondary { color: var(--fg1); border-color: var(--border-strong); }
body[data-herolayout="droite"] .hero-cta-secondary:hover { background: var(--surface-2); }
.hero-logo { display: block; margin: 0 0 32px; }
.hero-logo img { width: 100%; max-width: 248px; height: auto; background: #fff; border-radius: var(--r-xl); padding: 24px 28px; box-shadow: 0 24px 60px -16px rgba(0,0,0,0.45), 0 8px 18px rgba(0,0,0,0.2); }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border: 1px solid var(--hero-eyebrow-bd); border-radius: var(--r-pill);
  margin-bottom: 26px; color: var(--hero-fg);
}
.hero h1 {
  font-size: clamp(44px, 6.2vw, 80px); font-weight: 800; line-height: 0.99;
  letter-spacing: -0.03em; margin: 0 0 22px; text-wrap: balance; color: var(--hero-fg);
}
.hero h1 em { font-family: var(--font-brand); font-style: normal; font-weight: 700; color: var(--hero-em); letter-spacing: 0; }

.hero p.lead { font-size: 20px; line-height: 1.45; max-width: 580px; margin: 0 0 32px; color: var(--hero-fg-muted); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta-primary { background: #fff; color: var(--brand-blue-800); }
.hero-cta-primary:hover { background: var(--n-50); }
.hero-cta-secondary { background: transparent; color: var(--hero-fg); border-color: var(--hero-eyebrow-bd); }
.hero-cta-secondary:hover { background: rgba(255,255,255,0.12); }

/* Hero — teinte du scrim pilotée par le tweak (texte toujours blanc sur photo) */
body[data-hero="clair"] .hero { --hero-scrim: linear-gradient(90deg, rgba(14,77,120,0.82) 0%, rgba(14,77,120,0.50) 50%, rgba(14,77,120,0.18) 100%); }
body[data-hero="sombre"] .hero { --hero-scrim: linear-gradient(90deg, rgba(17,24,33,0.92) 0%, rgba(17,24,33,0.70) 48%, rgba(17,24,33,0.34) 100%); }

/* HERO product mockup */
.hero-product { padding-bottom: 72px; }
.product-frame {
  background: #fff; border-radius: 14px; overflow: hidden; max-width: 1120px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.35), 0 12px 24px rgba(0,0,0,0.14);
}
.pf-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: #FBFAF9; }
.pf-bar .dot { width: 10px; height: 10px; border-radius: var(--r-pill); }
.pf-bar .dot:nth-child(1){background:#FB6155;} .pf-bar .dot:nth-child(2){background:#FDBC2E;} .pf-bar .dot:nth-child(3){background:#28C940;}
.pf-bar .url { margin-left: 16px; font-family: var(--font-mono); font-size: 12px; color: var(--fg3); }
.pf-body { display: grid; grid-template-columns: 232px 1fr; min-height: 440px; }
.pf-side { background: #FBFAF9; border-right: 1px solid var(--border); padding: 16px 12px; display: flex; flex-direction: column; gap: 3px; }
.pf-side .grp { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg4); padding: 14px 12px 6px; }
.pf-side .item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--fg2); }
.pf-side .item.active { background: var(--brand-blue-50); color: var(--brand-blue-800); font-weight: 600; }
.pf-side .item i { font-size: 18px; }
.pf-main { padding: 22px 26px; display: flex; flex-direction: column; gap: 18px; }
.pf-h { display: flex; align-items: center; justify-content: space-between; }
.pf-h h4 { margin: 0; font-size: 18px; font-weight: 700; color: var(--fg1); }
.pf-h .meta { font-size: 13px; color: var(--fg3); }
.pf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pf-stat { background: #FBFAF9; border: 1px solid var(--border); border-radius: 8px; padding: 14px; }
.pf-stat .k { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg3); }
.pf-stat .v { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; color: var(--fg1); }
.pf-stat .v.b { color: var(--brand-blue); }
.pf-stat .v.w { color: #8A5A0B; }
.pf-list { display: flex; flex-direction: column; gap: 6px; }
.pf-row { display: grid; grid-template-columns: 104px 1fr 1fr 96px 104px; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font-size: 13px; }
.pf-row .ref { font-family: var(--font-mono); color: var(--fg3); font-size: 12px; }
.pf-row .name { font-weight: 600; color: var(--fg1); }
.pf-row .client { color: var(--fg2); }
.pf-row .when { color: var(--fg2); font-size: 12px; }

/* ---------- BADGES ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; justify-self: end; }
.badge::before { content:""; width:6px; height:6px; border-radius:var(--r-pill); background:currentColor; }
.ok  { background:#E5F4ED; color:#0B7A52; }
.wrn { background:#FBEFD9; color:#8A5A0B; }
.info{ background:#EEF6FB; color:#0E4D78; }
.dng { background:#FAE5E1; color:#A8311F; }

/* =============================================================
   KEY FIGURES band
   ============================================================= */
.figures { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--n-25); }
.figures .grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.figure { padding: 44px 32px; text-align: left; border-right: 1px solid var(--border); }
.figure:last-child { border-right: none; }
.figure .v { font-size: 40px; font-weight: 800; color: var(--brand-blue); letter-spacing: -0.02em; line-height: 1; }
.figure .k { font-size: 14px; color: var(--fg2); margin-top: 10px; line-height: 1.4; }

/* =============================================================
   SECTION scaffolding
   ============================================================= */
section.block { padding: 104px 0; }
section.alt { background: #FBFAF9; }
.section-h { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-h.left { text-align: left; margin-left: 0; }
.eyebrow-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-blue-700); margin-bottom: 18px; }
.section-h h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.section-h h2 .accent { color: var(--brand-blue); }
.section-h p { font-size: 18px; line-height: 1.55; color: var(--fg2); margin: 20px auto 0; max-width: 600px; }
.section-h.left p { margin-left: 0; }

/* =============================================================
   4 FONCTIONS — cartes pilotées par body[data-cards]
   ============================================================= */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* fil chronologique — modèle timeline des fiches d'intervention Looty */
.flow { position: relative; }
.flow-track { position: relative; height: 48px; margin-bottom: 26px; }
.flow-line {
  position: absolute; top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%);
  background: linear-gradient(90deg, var(--border-strong) 0, var(--border-strong) 100%);
}
.flow-line::before, .flow-line::after {
  content: ""; position: absolute; top: 50%; width: 8px; height: 8px; transform: translateY(-50%) rotate(45deg);
  border: 2px solid var(--border-strong); border-left: none; border-bottom: none;
}
.flow-line::before { left: 0; }
.flow-line::after { right: 0; }
.flow-nodes { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; height: 100%; }
.flow-nodes .fn { position: relative; display: flex; align-items: center; justify-content: center; }
.flow-nodes .fn span {
  width: 44px; height: 44px; border-radius: 999px; background: var(--brand-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  box-shadow: 0 0 0 6px var(--bg), var(--shadow-sm);
}
.flow-nodes .fn::after {
  content: ""; position: absolute; bottom: -13px; left: 50%; transform: translateX(-50%);
  width: 2px; height: 13px; background: var(--border-strong);
}
/* couleurs par étape */
.flow-nodes .fn:nth-child(2) span { background: #B85C3D; }
.flow-nodes .fn:nth-child(3) span { background: #9B3A4A; }
.flow-nodes .fn:nth-child(4) span { background: #2E8B8B; }
.features .feat:nth-child(2) .ic { background: #F7E9E3; }
.features .feat:nth-child(2) .ic i { color: #B85C3D; }
.features .feat:nth-child(3) .ic { background: #F5E4E7; }
.features .feat:nth-child(3) .ic i { color: #9B3A4A; }
.features .feat:nth-child(4) .ic { background: #E1F0F0; }
.features .feat:nth-child(4) .ic i { color: #2E8B8B; }
.feat {
  padding: 28px 24px 26px; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff;
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  position: relative;
}
.feat:hover { box-shadow: var(--shadow-md); border-color: var(--brand-blue-300); }
.feat .step-no { display: none; font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--brand-blue); letter-spacing: 0.06em; margin-bottom: 14px; }
.feat .ic { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; background: var(--brand-blue-50); border-radius: 10px; margin-bottom: 18px; }
.feat .ic i { font-size: 24px; color: var(--brand-blue); }
.feat h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: var(--fg1); }
.feat p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--fg2); }

/* variante remplie */
body[data-cards="remplies"] .feat { background: var(--brand-blue-50); border-color: transparent; }
body[data-cards="remplies"] .feat:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-3px); }
body[data-cards="remplies"] .feat .ic { background: #fff; }

/* variante numérotée */
body[data-cards="numerotees"] .feat { background: #fff; border-color: var(--border); border-top: 3px solid var(--brand-blue); border-radius: 0 0 var(--r-md) var(--r-md); padding-top: 24px; }
body[data-cards="numerotees"] .feat .step-no { display: block; }
body[data-cards="numerotees"] .feat .ic { width: auto; height: auto; background: transparent; margin-bottom: 12px; }
body[data-cards="numerotees"] .feat .ic i { font-size: 26px; }

/* =============================================================
   SHOWCASE — split section avec mockup
   ============================================================= */
.showcase { padding: 96px 0; }
.sc-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.sc-grid.reverse { grid-template-columns: 1.1fr 0.9fr; }
.sc-text .ev { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-blue-700); margin-bottom: 16px; }
.sc-text h3 { margin: 0 0 16px; font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; color: var(--fg1); text-wrap: balance; }
.sc-text p { margin: 0 0 24px; font-size: 17px; line-height: 1.55; color: var(--fg2); max-width: 460px; }
.sc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.sc-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--fg2); line-height: 1.45; }
.sc-list li i { color: var(--brand-blue); font-size: 18px; margin-top: 2px; flex: none; }
.sc-list li strong { color: var(--fg1); font-weight: 600; }

/* photo produit/contexte côté droit de la section espace client */
.sc-photo {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.sc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* showcase on blue */
.showcase.on-blue { background: var(--brand-blue); }
.showcase.on-blue .sc-text .ev { color: #B7DBF0; }
.showcase.on-blue .sc-text h3 { color: #fff; }
.showcase.on-blue .sc-text p { color: rgba(255,255,255,0.85); }
.showcase.on-blue .sc-list li { color: rgba(255,255,255,0.85); }
.showcase.on-blue .sc-list li i { color: #B7DBF0; }
.showcase.on-blue .sc-list li strong { color: #fff; }

/* compatibilité plateformes (section mobile bleue) */
.compat { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.compat-item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: #fff;
  padding: 7px 13px; border: 1px solid rgba(255,255,255,0.35); border-radius: var(--r-pill);
}
.compat-item i { font-size: 16px; color: #B7DBF0; }

/* variante claire (sections fond clair) */
.compat-light .compat-item { color: var(--fg2); border-color: var(--border-strong); }
.compat-light .compat-item i { color: var(--brand-blue); }

/* webapp frame */
.webapp-frame { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.webapp-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: #FBFAF9; }
.webapp-bar .dot { width: 10px; height: 10px; border-radius: var(--r-pill); }
.webapp-bar .dot:nth-child(1){background:#FB6155;} .webapp-bar .dot:nth-child(2){background:#FDBC2E;} .webapp-bar .dot:nth-child(3){background:#28C940;}
.webapp-bar .url { margin-left: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--fg3); }
.scr { padding: 22px 24px; }
.scr-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.scr-h h5 { margin: 0; font-size: 16px; font-weight: 700; color: var(--fg1); }
.scr-h .meta { font-size: 13px; color: var(--fg3); }
.client-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.client-stat { padding: 14px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.client-stat .k { font-size: 11px; color: var(--fg3); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.client-stat .v { font-size: 24px; font-weight: 800; margin-top: 4px; }
.client-rows { display: flex; flex-direction: column; gap: 6px; }
.client-row { display: grid; grid-template-columns: 88px 1fr 110px 104px; gap: 12px; align-items: center; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font-size: 13px; }
.client-row .ref { font-family: var(--font-mono); color: var(--fg3); font-size: 12px; }
.client-row .nm { font-weight: 600; color: var(--fg1); }
.client-row .cyc { color: var(--fg2); font-size: 12px; }

/* phones */
.phones-row { display: flex; gap: 28px; justify-content: center; align-items: center; }
.phone { width: 268px; height: 544px; background: #15140F; border-radius: 36px; padding: 8px; box-shadow: 0 30px 60px rgba(0,0,0,0.28); flex: none; }
.phone .screen { width: 100%; height: 100%; border-radius: 28px; background: #FBFAF9; padding: 16px 14px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.phone-top { display: flex; justify-content: space-between; font-size: 11px; color: var(--fg2); font-weight: 600; padding: 0 4px; }
.phone-top .right { display: flex; gap: 4px; align-items: center; }
.phone h6 { margin: 4px 4px 0; font-size: 18px; font-weight: 800; color: var(--fg1); letter-spacing: -0.01em; }
.phone .sub { font-size: 12px; color: var(--fg3); padding: 0 4px; margin-bottom: 2px; }
.phone .iv { padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.phone .iv .nm { font-weight: 600; font-size: 13px; color: var(--fg1); margin-bottom: 4px; }
.phone .iv .ivmeta { color: var(--fg3); font-size: 11px; display: flex; gap: 8px; justify-content: space-between; }
.phone .iv.now { background: var(--brand-blue-50); border-color: #B7DBF0; }
.phone .iv.now .nm { color: var(--brand-blue-800); }
.phone .iv.done { opacity: 0.55; }
.phone .btn-d { margin-top: auto; background: var(--brand-blue); color: #fff; text-align: center; padding: 12px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.phone-tabs { display: flex; gap: 4px; padding: 8px 4px 0; border-top: 1px solid var(--border); margin-top: 4px; }
.phone-tabs .t { flex: 1; text-align: center; padding: 4px 0; font-size: 10px; color: var(--fg3); }
.phone-tabs .t.active { color: var(--brand-blue); font-weight: 700; }
.phone-tabs .t i { display: block; font-size: 18px; margin-bottom: 2px; }
.phone .chk { display: flex; flex-direction: column; gap: 7px; margin-top: 6px; font-size: 12px; color: var(--fg2); }
.phone .chk .ck { display: flex; gap: 8px; align-items: center; }
.phone .chk .ck i { font-size: 16px; }
.phone.tilt-l { transform: rotate(-3deg) translateY(-6px); }
.phone.tilt-r { transform: rotate(3deg) translateY(6px); }

/* mockup photo (deux smartphones) — remplace les écrans dessinés */
#mobile .sc-grid.reverse { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.phones-photo { margin: 0; display: flex; justify-content: center; align-items: center; overflow: visible; }
.phones-photo img { width: 100%; max-width: none; height: auto; display: block; }
/* l'image mange la gouttière gauche du conteneur pour gagner de l'espace */
#mobile .phones-photo { margin-left: 0; }
/* agrandi visuellement sans reflow : scale() n'affecte pas la grille,
   donc la colonne de texte garde exactement sa largeur. Origine centrée
   pour rester centré dans la colonne de gauche. */
#mobile .phones-photo img { transform: scale(1.32); transform-origin: center center; }

/* mockup navigateur (app web) — remplace le faux écran */
.webapp-photo { margin: 0; }
.webapp-photo img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
}

/* carrousel app web — vues par accès */
.wcar { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-xl); background: var(--n-50); }
.wcar-viewport { overflow: hidden; }
.wcar-track { display: flex; transition: transform 320ms cubic-bezier(0.2,0.8,0.2,1); }
.wcar-slide { flex: 0 0 100%; }
.wcar-slide img { width: 100%; height: auto; display: block; }
/* placeholder en attente des captures */
.wcar-ph {
  aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(180deg, #fff, var(--n-50));
  color: var(--brand-blue); border: 1px dashed var(--border-strong);
}
.wcar-ph i { font-size: 44px; }
.wcar-ph span { font-size: 16px; font-weight: 700; color: var(--fg1); }
.wcar-ph em { font-size: 12px; font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg3); }
.wcar-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--r-pill); background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px); color: var(--fg1); cursor: pointer; font-size: 18px;
  box-shadow: var(--shadow-sm); transition: background 200ms;
}
.wcar-nav:hover { background: #fff; }
.wcar-nav.prev { left: 12px; }
.wcar-nav.next { right: 12px; }
.wcar-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.wcar-label { font-size: 14px; font-weight: 700; color: var(--fg1); }
.wcar-dots { display: flex; gap: 8px; }
.wcar-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--r-pill); background: var(--border-strong); cursor: pointer; transition: background 200ms, width 200ms; }
.wcar-dot.is-active { width: 22px; background: var(--brand-blue); }

/* =============================================================
   TARIFS
   ============================================================= */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price {
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff;
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.price:hover { box-shadow: var(--shadow-md); }
.price.featured { border-color: var(--brand-blue); border-width: 1.5px; box-shadow: var(--shadow-lg); position: relative; }
.price.featured::before {
  content: "Socle obligatoire"; position: absolute; top: -12px; left: 24px;
  background: var(--brand-blue); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
  padding: 4px 11px; border-radius: var(--r-pill);
}
.price .pk-access { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--brand-blue-700); }
.price .pk-access i { font-size: 14px; }
.price h3 { margin: 2px 0 0; font-size: 20px; font-weight: 700; color: var(--fg1); }
.price .pk-desc { font-size: 13px; color: var(--fg2); line-height: 1.45; min-height: 38px; margin: 0; }
.price .amt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding-top: 4px; border-top: 1px solid var(--border); }
.price .amt .n { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--fg1); }
.price .amt .u { font-size: 13px; color: var(--fg3); }
.price .amt .amt-year { flex-basis: 100%; font-size: 12px; color: var(--fg3); margin-top: 2px; }
.price .add { font-size: 12px; color: var(--fg3); margin: 0; }
.price .add strong { color: var(--fg2); font-weight: 600; }
.price ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.price li { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--fg2); line-height: 1.4; }
.price li i { color: var(--brand-blue); margin-top: 1px; flex: none; font-size: 15px; }
.price li.muted { color: var(--fg4); }
.price li.muted i { color: var(--fg4); }
.price .btn { width: 100%; justify-content: center; }

/* options strip */
.options { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.opt { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: #FBFAF9; }
.opt .oic { width: 44px; height: 44px; flex: none; border-radius: 10px; background: var(--brand-blue-50); color: var(--brand-blue); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.opt h4 { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--fg1); }
.opt p { margin: 0; font-size: 13px; color: var(--fg2); line-height: 1.45; }
.opt .oprice { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--fg1); }
.opt .oprice span { font-weight: 500; color: var(--fg3); font-size: 12px; }
.pricing-note { text-align: center; margin-top: 24px; font-size: 13px; color: var(--fg3); }

/* groupes de formules : accès internes / complémentaires */
.pricing-groups { display: flex; flex-direction: column; gap: 24px; }
.pack-group + .pack-group { margin-top: 0; }
.pack-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.pack-group-title { font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--brand-blue-700); }
.pack-group-sub { font-size: 13px; color: var(--fg3); }
.pricing.pricing-3 { grid-template-columns: repeat(3, 1fr); }
.pricing.pricing-2 { grid-template-columns: repeat(3, 1fr); }

.inline-link { color: var(--fg-link); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.inline-link:hover { color: var(--brand-blue); }

/* sélecteur d'utilisateurs intégré aux cartes */
.pk-users { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--border); }
.pk-users-lbl { font-size: 13px; font-weight: 600; color: var(--fg2); display: flex; flex-direction: column; gap: 2px; }
.pk-min { font-size: 11px; font-weight: 700; color: var(--brand-blue-700); }
.socle-note { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--brand-blue-700); background: var(--brand-blue-50); padding: 7px 11px; border-radius: var(--r-sm); margin: 0; }
.socle-note i { font-size: 14px; flex: none; }
.price .add { font-size: 12px; color: var(--fg3); margin: 0; min-height: 16px; }
.est-grid-2 { grid-template-columns: 1fr 1fr; }

/* panneau « compris dans chaque abonnement » — comble la zone vide */
.est-control.est-info { grid-column: span 2; gap: 10px; background: #FAF2E1; justify-content: center; }
.est-info-title { font-size: 13px; font-weight: 700; color: var(--fg1); }
.est-info-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.est-info-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg2); }
.est-info-list i { color: var(--brand-blue); font-size: 14px; flex: none; }

/* ESTIMATEUR */
.estimator { margin-top: 24px; border: 1px solid var(--border); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.est-head { padding: 28px 32px 0; }
.est-head h3 { margin: 0 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: var(--fg1); }
.est-head p { margin: 0; font-size: 14px; color: var(--fg2); max-width: 620px; line-height: 1.5; }
.est-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); margin: 24px 0 0; border-top: 1px solid var(--border); }
.est-control { background: #fff; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.est-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; row-gap: 6px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--fg2); }
.auto-pill { font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-emerald); background: #E5F4ED; padding: 2px 8px; border-radius: var(--r-pill); }
.est-pack { font-size: 19px; font-weight: 800; color: var(--brand-blue); letter-spacing: -0.01em; }
.est-sub { font-size: 12px; color: var(--fg3); line-height: 1.4; margin-top: auto; }

/* =============================================================
   BANDE INTRO TARIFS — full-bleed photo + texte
   ============================================================= */
.price-band { position: relative; overflow: hidden; background: var(--brand-gray-800, #2f3033); }
.price-band-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('assets/bande-tarifs.webp');
  background-size: cover; background-position: right center;
  background-color: #23303b;
}
.price-band-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(21,41,68,0.94) 0%, rgba(21,41,68,0.80) 34%, rgba(21,41,68,0.30) 58%, rgba(21,41,68,0.05) 74%, rgba(21,41,68,0) 100%);
}
.price-band > .wrap { position: relative; z-index: 2; padding-top: 88px; padding-bottom: 88px; }
.price-band-inner { max-width: 720px; }
.price-band-inner h2 {
  font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.08; margin: 0 0 16px; color: #fff; text-wrap: balance;
}
.price-band-inner p {
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; margin: 0;
  color: rgba(255,255,255,0.86); max-width: 560px;
}

/* stepper */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--r-md); overflow: hidden; align-self: flex-start; }
.st-btn { appearance: none; border: none; background: #fff; color: var(--fg1); width: 38px; height: 38px; font-size: 20px; font-weight: 600; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background var(--dur-fast) var(--ease-out); }
.st-btn:hover { background: var(--surface-3); }
.st-val { min-width: 56px; text-align: center; font-size: 15px; font-weight: 700; color: var(--fg1); font-variant-numeric: tabular-nums; padding: 0 6px; border-left: 1px solid var(--border); border-right: 1px solid var(--border); height: 38px; display: inline-flex; align-items: center; justify-content: center; }
input.st-val { width: 56px; min-width: 0; box-sizing: border-box; background: #fff; appearance: none; -moz-appearance: textfield; border-top: none; border-bottom: none; border-radius: 0; outline: none; font-family: inherit; }
input.st-val:focus { background: var(--brand-blue-50, #eaf4fb); box-shadow: inset 0 0 0 2px var(--brand-blue); }
input.st-val::-webkit-outer-spin-button, input.st-val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }

/* toggle option fluide */
.twk-like-toggle { flex: none; position: relative; width: 36px; height: 20px; border: 0; border-radius: var(--r-pill); background: var(--border-strong); cursor: pointer; padding: 0; transition: background var(--dur-fast) var(--ease-out); flex: none; }
.twk-like-toggle[aria-checked="true"] { background: var(--brand-blue); }
.twk-like-toggle i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.25); transition: transform var(--dur-fast) var(--ease-out); }
.twk-like-toggle[aria-checked="true"] i { transform: translateX(16px); }

/* total */
.est-total { background: #FBFAF9; border-top: 1px solid var(--border); padding: 24px 32px; }
.est-break { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.est-break li { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--fg2); }
.est-break li .lbl { display: flex; gap: 8px; }
.est-break li .amt2 { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; white-space: nowrap; }
.est-break li .amt-m { font-weight: 700; font-size: 17px; color: var(--fg1); font-variant-numeric: tabular-nums; }
.est-break li .amt-per { font-weight: 500; font-size: 12px; color: var(--fg3); margin-left: 3px; }
.est-break li .amt-y { font-size: 12px; color: var(--fg3); font-variant-numeric: tabular-nums; margin-top: 1px; }
.est-break li.dim { color: var(--fg3); }
.est-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.est-total-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.est-total-lbl { font-size: 16px; font-weight: 700; color: var(--fg1); }
.est-amount strong { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; color: var(--brand-blue); font-variant-numeric: tabular-nums; }
.est-per { font-size: 14px; color: var(--fg3); }
.est-year { flex-basis: 100%; font-size: 14px; color: var(--fg2); font-variant-numeric: tabular-nums; }

@media (max-width: 1000px) {
  .est-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .est-grid { grid-template-columns: 1fr; }
  .est-foot { flex-direction: column; align-items: stretch; }
  .est-foot .btn { width: 100%; justify-content: center; }
}

/* =============================================================
   ROADMAP
   ============================================================= */
#evolutions.has-parallax { position: relative; overflow: hidden; background: #EEF3F6; }
#evolutions .evo-bg {
  position: absolute; left: 0; right: 0; top: -12%; height: 124%; z-index: 0;
  background-image: url('assets/evolutions-fond.webp');
  background-size: cover; background-position: center top;
  background-color: #EEF3F6;
  will-change: transform;
}
#evolutions .evo-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(238,243,246,0.82) 0%, rgba(238,243,246,0.60) 42%, rgba(238,243,246,0.70) 100%);
}
#evolutions.has-parallax > .wrap { position: relative; z-index: 2; }

.roadmap-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: stretch; }
.rm-next {
  background: var(--brand-gray-800); color: #fff; border-radius: var(--r-xl); padding: 40px;
  display: flex; flex-direction: column; gap: 18px;
}
.rm-next .when { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #15140F; background: #B7DBF0; padding: 5px 12px; border-radius: var(--r-pill); }
.rm-next h3 { margin: 0; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; color: #fff; }
.rm-next p { margin: 0; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,0.78); max-width: 520px; }
.rm-next .rm-points { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.rm-next .rm-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,0.88); }
.rm-next .rm-points li i { color: #B7DBF0; font-size: 18px; margin-top: 1px; flex: none; }
.rm-soon { display: flex; flex-direction: column; gap: 20px; }
.rm-later { flex: 1; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.rm-later .when { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--brand-blue); letter-spacing: 0.04em; }
.rm-later .rm-ic { font-size: 24px; color: var(--brand-gray); margin-bottom: 6px; }
.rm-later h4 { margin: 0; font-size: 18px; font-weight: 700; color: var(--fg1); }
.rm-later p { margin: 0; font-size: 14px; color: var(--fg2); line-height: 1.5; }

/* =============================================================
   CTA final — formulaire rappel
   ============================================================= */
.final { background: var(--brand-blue); }
.final .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.final-text h2 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.02; margin: 0 0 18px; color: #fff; text-wrap: balance; }
.final-text p { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 460px; margin: 0 0 24px; line-height: 1.5; }
.final-reassure { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.final-reassure li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: rgba(255,255,255,0.9); }
.final-reassure li i { color: #B7DBF0; font-size: 18px; }
.callback { background: #fff; border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-xl); }
.callback h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; color: var(--fg1); }
.callback .sub { margin: 0 0 22px; font-size: 14px; color: var(--fg2); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--fg2); }
.field input, .field textarea {
  font: inherit; font-size: 14px; padding: 11px 13px; border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  background: #fff; color: var(--fg1); outline: none; transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--brand-blue); box-shadow: var(--shadow-focus); }
.field textarea { resize: vertical; min-height: 64px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pref-field { border: 0; padding: 0; margin: 0 0 14px; }
.pref-field legend { padding: 0; font-size: 13px; font-weight: 600; color: var(--fg2); margin-bottom: 8px; }
.pref-choices { display: flex; gap: 20px; }
.pref-opt { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--fg1); cursor: pointer; }
.pref-opt input { width: 16px; height: 16px; accent-color: var(--brand-blue); margin: 0; cursor: pointer; }
.callback .btn { width: 100%; justify-content: center; margin-top: 4px; }
.callback .legal { margin: 14px 0 0; font-size: 11px; color: var(--fg3); line-height: 1.5; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cb-error { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--r-md); background: color-mix(in srgb, var(--accent-coral) 12%, #fff); border: 1px solid color-mix(in srgb, var(--accent-coral) 40%, #fff); color: var(--accent-coral); font-size: 13.5px; line-height: 1.5; }
.callback-done { text-align: center; padding: 24px 8px; display: none; flex-direction: column; align-items: center; gap: 12px; }
.callback-done i { font-size: 48px; color: var(--accent-emerald); }
.callback-done h3 { margin: 0; }
.callback-done p { margin: 0; font-size: 14px; color: var(--fg2); max-width: 320px; }
.callback.sent .callback-form { display: none; }
.callback.sent .callback-done { display: flex; }

/* =============================================================
   FOOTER
   ============================================================= */
footer { background: #15140F; padding: 72px 0 32px; }
footer * { color: var(--n-300); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.foot-brand img { height: 34px; }
.foot-brand p { margin: 16px 0 0; font-size: 13px; line-height: 1.55; max-width: 280px; color: var(--n-400); }
.foot-col h5 { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.foot-col a { display: block; padding: 6px 0; font-size: 13px; color: var(--n-400); transition: color var(--dur-fast) var(--ease-out); }
.foot-col a:hover { color: #fff; }
.foot-col .foot-static { display: block; padding: 6px 0; font-size: 13px; color: var(--n-400); cursor: default; }
.foot-bot { display: flex; justify-content: space-between; padding-top: 24px; font-size: 12px; color: var(--n-500); flex-wrap: wrap; gap: 8px; }

/* =============================================================
   FADE-UP (micro-animation autorisée)
   ============================================================= */
@media (prefers-reduced-motion: no-preference) {
  .fade-up { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
  .fade-up.in { opacity: 1; transform: none; }

  /* Arrivée échelonnée des 4 temps + nœuds de la timeline */
  .flow .features .feat { opacity: 0; transform: translateY(20px); transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out); }
  .flow.in .features .feat { opacity: 1; transform: none; }
  .flow.in .features .feat:nth-child(1) { transition-delay: 120ms; }
  .flow.in .features .feat:nth-child(2) { transition-delay: 240ms; }
  .flow.in .features .feat:nth-child(3) { transition-delay: 360ms; }
  .flow.in .features .feat:nth-child(4) { transition-delay: 480ms; }
  .flow.in .features .feat:hover { transition-delay: 0ms; }
  .flow .flow-nodes .fn span { opacity: 0; transform: scale(0.5); transition: opacity 420ms var(--ease-out), transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1); }
  .flow.in .flow-nodes .fn span { opacity: 1; transform: none; }
  .flow.in .flow-nodes .fn:nth-child(1) span { transition-delay: 80ms; }
  .flow.in .flow-nodes .fn:nth-child(2) span { transition-delay: 200ms; }
  .flow.in .flow-nodes .fn:nth-child(3) span { transition-delay: 320ms; }
  .flow.in .flow-nodes .fn:nth-child(4) span { transition-delay: 440ms; }
  /* Tracé du fil au moment de l'entrée */
  .flow .flow-line { transform-origin: left center; transform: translateY(-50%) scaleX(0); transition: transform 720ms var(--ease-out); }
  .flow.in .flow-line { transform: translateY(-50%) scaleX(1); }

  /* Image « flottante » — oscillation lente et discrète */
  .float-soft { animation: floaty 7s ease-in-out infinite; }
  @keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1000px) {
  .wrap { padding: 0 24px; }
  .nav-links { display: none; }
  .btn-soon { display: none; }
  .nav-cta { gap: 0; }
  .hero { min-height: 0; padding: 104px 0 72px; }
  .hero-logo img { max-width: 200px; padding: 20px 24px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(11,42,66,0.78) 0%, rgba(11,42,66,0.62) 100%); }
  body[data-herolayout="droite"] .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  body[data-herolayout="droite"] .hero-inner { max-width: none; }
  body[data-herolayout="droite"] .hero-photo { min-height: 300px; order: 2; }
  .features { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr 1fr; }
  .sc-grid, .sc-grid.reverse { grid-template-columns: 1fr; }
  #mobile .sc-grid.reverse { grid-template-columns: 1fr; gap: 8px; }
  #mobile .phones-photo { order: -1; }
  #mobile .phones-photo img { transform: none; width: 100%; max-width: 460px; margin: 0 auto; }
  .figures .grid { grid-template-columns: 1fr 1fr; }
  .figure:nth-child(2) { border-right: none; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .final .wrap { grid-template-columns: 1fr; gap: 40px; }
  .price-band > .wrap { padding-top: 60px; padding-bottom: 60px; }
  .price-band-scrim { background: linear-gradient(180deg, rgba(11,42,66,0.82) 0%, rgba(11,42,66,0.62) 100%); }
  .options { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .phones-row { gap: 16px; }
  .pf-side { display: none; }
  .pf-body { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .features, .pricing { grid-template-columns: 1fr; }
  .figures .grid { grid-template-columns: 1fr; }
  .figure { border-right: none; border-bottom: 1px solid var(--border); }
  .field-row { grid-template-columns: 1fr; }
  .phones-row { flex-direction: column; }

  /* Les 4 temps : fil vertical, un nœud par carte */
  .flow-track { display: none; }
  .flow .features { grid-template-columns: 1fr; gap: 0; counter-reset: temps; }
  .flow .features .feat { padding-left: 68px; padding-top: 22px; padding-bottom: 26px; border: none; border-radius: 0; }
  .flow .features .feat + .feat { border-top: 1px solid var(--border); }
  .flow .features .feat::before {
    counter-increment: temps;
    content: counter(temps, decimal-leading-zero);
    position: absolute; left: 12px; top: 24px;
    width: 40px; height: 40px; border-radius: 999px;
    background: var(--brand-blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-weight: 700; font-size: 14px; z-index: 1;
  }
  .flow .features .feat:not(:last-child)::after {
    content: ""; position: absolute; left: 31px; top: 60px; bottom: -4px;
    width: 2px; background: var(--border-strong); z-index: 0;
  }
  .flow .features .feat:nth-child(2)::before { background: #B85C3D; }
  .flow .features .feat:nth-child(3)::before { background: #9B3A4A; }
  .flow .features .feat:nth-child(4)::before { background: #2E8B8B; }
  .flow .features .feat:hover { box-shadow: none; }
}
