/* Site vitrine. Bleu électrique et blanc, sans dépendance.
   Signature : la ligne de craie tendue, qui trace droit. */

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/PlusJakartaSans_500Medium.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/PlusJakartaSans_600SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/PlusJakartaSans_700Bold.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/PlusJakartaSans_800ExtraBold.ttf") format("truetype"); }

:root {
  /* Couleurs (contrastes vérifiés par test/check.mjs) */
  --blue: #2152ff;
  --bright: #4d7cff;
  --ink: #1a3fd6;
  --navy: #0b1b3a;
  --navy2: #13264d;
  --bg: #f4f7ff;
  --pale: #e6edff;
  --line: #dce4f5;
  --surface: #ffffff;
  --text: #0b1b3a;
  --muted: #4a5a7a;
  --onnavy: #c3cee8;
  --bluenavy: #a9c0ff;
  --onblue: #f0f4ff;
  --success: #12b76a;
  --successtext: #067647;
  --successsoft: #e7f8ef;
  --danger: #f04438;
  --dangertext: #b42318;
  --dangersoft: #feeceb;
  --warntext: #8a5300;
  --warnsoft: #fef4e2;

  --font: "Plus Jakarta Sans", ui-sans-serif, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 2px 4px rgba(11, 27, 58, 0.04), 0 12px 32px rgba(11, 27, 58, 0.08);
  --shadow-lg: 0 6px 12px rgba(11, 27, 58, 0.06), 0 30px 60px rgba(11, 27, 58, 0.16);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--navy); }
svg { display: block; }
strong { font-weight: 700; }
.num, .tab { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: #ffffff; }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }

/* ------------------------------------------------------------ Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  background: var(--blue); color: #fff; border: 2px solid var(--blue);
  box-shadow: 0 4px 10px rgba(33, 82, 255, 0.18), 0 10px 24px rgba(33, 82, 255, 0.2);
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-light { background: #fff; color: var(--blue); border-color: #fff; box-shadow: 0 10px 30px rgba(11, 27, 58, 0.25); }
.btn-light:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--surface); color: var(--blue); border-color: var(--blue); }
.btn-small { min-height: 42px; padding: 9px 18px; font-size: 0.95rem; box-shadow: none; }

/* ------------------------------------------------------------ En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; color: var(--navy); text-decoration: none; }
.brand:hover { color: var(--blue); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.nav ul { display: flex; flex-wrap: wrap; gap: 2px 20px; margin: 0; padding: 0; list-style: none; }
.nav ul a { display: inline-block; padding: 8px 0; color: var(--navy); font-weight: 600; font-size: 0.97rem; text-decoration: none; border-bottom: 2px solid transparent; }
.nav ul a:hover { color: var(--blue); }
.nav ul a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.menu-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  font: inherit; font-weight: 700; color: var(--navy); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
}
.menu-toggle-bars { position: relative; width: 18px; height: 12px; }
.menu-toggle-bars::before, .menu-toggle-bars::after, .menu-toggle-bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-toggle-bars::before { top: 0; }
.menu-toggle-bars span { top: 5px; }
.menu-toggle-bars::after { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 899px) {
  .js .menu-toggle:not([hidden]) { display: inline-flex; }
  .js .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
  .js .site-header.menu-open .nav { display: flex; }
  .js .nav ul { flex-direction: column; gap: 0; }
  .js .nav ul a { display: block; padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .js .nav ul a[aria-current="page"] { border-bottom-color: var(--line); }
  .js .nav .btn { margin-top: 12px; }
  .nav ul { gap: 0 16px; }
}

/* ------------------------------------------------------------ Ligne de craie */
.chalk {
  display: block; height: 3px; width: 100%; border-radius: 2px;
  background: repeating-linear-gradient(90deg, currentColor 0 14px, transparent 14px 22px);
  color: var(--blue); opacity: 0.55; transform-origin: left center;
}
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.eyebrow .chalk { flex: 1; max-width: 160px; }
.eyebrow-n { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--pale); color: var(--ink); letter-spacing: 0.04em; }
.on-dark .eyebrow { color: var(--bluenavy); }
.on-dark .eyebrow-n { background: rgba(169, 192, 255, 0.14); color: var(--bluenavy); }
.on-dark .chalk { color: var(--bluenavy); }

/* ------------------------------------------------------------ Sections */
.section { padding: 88px 0; }
.section-title { font-size: clamp(2rem, 5.2vw, 3.6rem); max-width: 16em; margin-bottom: 20px; }
.section-lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40em; }
.on-dark { background: var(--navy); color: #fff; }
.on-dark .section-lede, .on-dark p { color: var(--onnavy); }
.on-dark h2, .on-dark h3 { color: #fff; }

/* ------------------------------------------------------------ Héros */
.hero { position: relative; padding: 48px 0 0; background: var(--surface); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-status {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 14px 7px 10px;
  border-radius: 999px; background: var(--navy); color: #fff; font-size: 0.85rem; font-weight: 700;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex: none; box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.22); }
.hero h1 { font-size: clamp(2.5rem, 9vw, 4.75rem); line-height: 0.98; letter-spacing: -0.05em; margin: 0 0 26px; }
.hero h1 .accent { color: var(--blue); position: relative; white-space: nowrap; }
.hero h1 .accent .chalk { position: absolute; left: 0; right: 0; bottom: -0.04em; height: 0.07em; min-height: 3px; opacity: 0.9; }
.hero-lede { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--muted); max-width: 33em; margin-bottom: 32px; }
.hero-lede strong { color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.hero-note { font-size: 0.92rem; color: var(--muted); margin: 0; }

.hero-stage {
  position: relative; margin: 0 calc(var(--gutter) * -1); padding: 52px 0 0;
  min-height: 560px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 100% 100%, rgba(77, 124, 255, 0.9), rgba(77, 124, 255, 0) 60%),
    var(--blue);
}
.hero-stage::before {
  /* lignes de craie tendues derrière les téléphones */
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 14px, transparent 14px 24px) 0 30% / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 14px, transparent 14px 24px) 0 74% / 100% 2px no-repeat;
}
.stage-phones { position: relative; height: 560px; max-width: 520px; margin: 0 auto; }
.stage-phones .phone { position: absolute; }
.stage-phones .phone-back { --pw: 236px; left: 50%; top: 40px; transform: translateX(-98%) rotate(-7deg); opacity: 0.98; }
.stage-phones .phone-front { --pw: 262px; left: 50%; top: 0; transform: translateX(-28%); }
.stage-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px; background: #fff; color: var(--navy);
  font-size: 0.82rem; font-weight: 700; line-height: 1.25; box-shadow: var(--shadow-lg);
}
.stage-chip small { display: block; font-weight: 600; color: var(--muted); font-size: 0.74rem; }
.stage-chip-1 { left: 4%; bottom: 92px; }
.stage-chip-2 { right: 3%; top: 64px; }
.chip-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--successsoft); color: var(--successtext); flex: none; }
.chip-icon svg { width: 16px; height: 16px; }
.chip-icon-warn { background: var(--warnsoft); color: var(--warntext); }
.stage-caption { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 4; text-align: center; font-size: 0.78rem; font-weight: 600; color: var(--onblue); margin: 0; }
.parallax { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

@media (min-width: 900px) {
  .hero { padding-top: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; min-height: min(calc(100vh - 68px), 820px); }
  .hero-copy { padding: 72px 0 96px; }
  .hero-stage { margin: 0 calc((100vw - min(100vw, 1200px)) / -2 - var(--gutter)) 0 0; height: 100%; min-height: 680px; padding-top: 0; display: grid; align-items: center; }
  .stage-phones { height: 640px; width: 100%; max-width: 560px; margin: 0 0 0 4%; }
  .stage-phones .phone-back { --pw: 264px; top: 96px; }
  .stage-phones .phone-front { --pw: 296px; top: 30px; }
  .stage-chip-1 { left: 0; bottom: 110px; }
  .stage-chip-2 { right: auto; left: 2%; top: 34px; }
}

/* ------------------------------------------------------------ Maquettes de téléphone */
.phone {
  --pw: 260px;
  width: var(--pw); aspect-ratio: 9 / 19; padding: calc(var(--pw) * 0.036);
  border-radius: calc(var(--pw) * 0.17); background: var(--navy);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, var(--shadow-lg);
  margin: 0; container-type: inline-size;
}
.screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: calc(var(--pw) * 0.135); background: var(--bg); color: var(--text);
  font-size: 12px; line-height: 1.3;
}
@supports (font-size: 1cqi) { .screen { font-size: 4.3cqi; } }
.screen * { letter-spacing: 0; }
.sb { display: flex; justify-content: space-between; align-items: center; padding: 0.9em 1.6em 0.3em; font-size: 0.82em; font-weight: 700; }
.sb-icons { display: flex; gap: 0.35em; align-items: center; }
.sb-icons i { display: block; width: 1.1em; height: 0.62em; border-radius: 0.18em; background: var(--navy); }
.sb-icons i:first-child { width: 0.9em; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 0; }
.notch { position: absolute; top: 0.55em; left: 50%; width: 30%; height: 1.55em; transform: translateX(-50%); border-radius: 1em; background: var(--navy); }
.scr-body { padding: 0.5em 1em 1em; }
.scr-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5em; margin: 0.4em 0 0.8em; }
.scr-title { font-size: 1.75em; font-weight: 800; letter-spacing: -0.03em; }
.scr-sub { font-size: 0.85em; color: var(--muted); font-weight: 600; }
.back { font-size: 0.95em; font-weight: 700; color: var(--blue); }
.pill { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.28em 0.7em; border-radius: 999px; font-size: 0.74em; font-weight: 700; white-space: nowrap; }
.pill::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: currentColor; }
.pill-ok { background: var(--successsoft); color: var(--successtext); }
.pill-late { background: var(--dangersoft); color: var(--dangertext); }
.pill-blue { background: var(--pale); color: var(--ink); }
.pill-grey { background: #eef1f7; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 1.1em; padding: 0.85em 0.95em; margin-bottom: 0.6em; }
.kv { display: flex; justify-content: space-between; gap: 0.6em; }
.kv b { font-weight: 800; }
.small { font-size: 0.8em; color: var(--muted); font-weight: 600; }
.scr-btn { display: flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.9em; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 800; font-size: 0.92em; margin-top: 0.7em; }
.scr-btn-ghost { background: var(--surface); color: var(--blue); border: 1px solid var(--line); }
.scr-row { display: flex; gap: 0.5em; }
.scr-row > * { flex: 1; }

/* Suivi */
.collect { position: relative; overflow: hidden; border-radius: 1.3em; padding: 1.1em 1.1em 1em; color: #fff; background: linear-gradient(135deg, var(--blue), #3767ff 60%, var(--bright)); margin-bottom: 0.8em; }
.collect-eyebrow { font-size: 0.7em; font-weight: 800; letter-spacing: 0.1em; color: var(--onblue); }
.collect-amount { font-size: 2.35em; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin: 0.12em 0 0.4em; font-variant-numeric: tabular-nums; }
.late-chip { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.32em 0.7em; border-radius: 999px; background: rgba(255, 255, 255, 0.18); font-size: 0.74em; font-weight: 700; }
.late-chip::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 0.25em rgba(240, 68, 56, 0.3); }
.minis { display: flex; gap: 0.5em; margin-top: 0.8em; }
.minis div { flex: 1; padding: 0.55em 0.7em; border-radius: 0.8em; background: rgba(255, 255, 255, 0.14); }
.minis b { display: block; font-size: 1.3em; font-weight: 800; }
.minis span { font-size: 0.72em; color: var(--onblue); font-weight: 600; }
.filters { display: flex; gap: 0.4em; margin-bottom: 0.7em; }
.filters span { padding: 0.35em 0.8em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.74em; font-weight: 700; }
.filters span:first-child { background: var(--navy); border-color: var(--navy); color: #fff; }
.doc-row { display: flex; justify-content: space-between; align-items: center; gap: 0.6em; }
.doc-row b { display: block; font-size: 0.92em; font-weight: 800; }
.doc-row .amt { text-align: right; font-weight: 800; font-size: 0.92em; font-variant-numeric: tabular-nums; }
.doc-row .amt .pill { margin-top: 0.3em; }

/* Devis */
.q-line { display: grid; grid-template-columns: 1fr auto; gap: 0.15em 0.6em; padding: 0.6em 0; border-bottom: 1px solid var(--line); }
.q-line:last-child { border-bottom: 0; }
.q-line b { font-size: 0.86em; font-weight: 700; line-height: 1.25; }
.q-line .tot { font-weight: 800; font-size: 0.86em; font-variant-numeric: tabular-nums; }
.q-line .small { grid-column: 1 / -1; font-variant-numeric: tabular-nums; }
.totals .kv { font-size: 0.86em; padding: 0.15em 0; }
.totals .kv.ttc { font-size: 1.15em; margin-top: 0.3em; padding-top: 0.45em; border-top: 1px solid var(--line); }
.totals .kv.ttc b { color: var(--blue); }
.check { display: flex; gap: 0.6em; align-items: flex-start; border-radius: 1em; padding: 0.7em 0.8em; background: var(--warnsoft); color: var(--warntext); font-size: 0.78em; font-weight: 700; line-height: 1.3; margin-bottom: 0.6em; }
.check::before { content: "!"; display: grid; place-items: center; flex: none; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--warntext); color: #fff; font-weight: 800; }

/* Nouveau devis */
.field-label { font-size: 0.74em; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0.7em 0 0.35em; }
.trade-chips { display: flex; flex-wrap: wrap; gap: 0.35em; }
.trade-chips span { padding: 0.35em 0.75em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.78em; font-weight: 700; }
.trade-chips span.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.photo { position: relative; height: 7.5em; border-radius: 1em; overflow: hidden; background: #d9e1f3; }
.photo svg { width: 100%; height: 100%; }
.photo-tag { position: absolute; left: 0.6em; bottom: 0.6em; padding: 0.25em 0.6em; border-radius: 999px; background: rgba(11, 27, 58, 0.78); color: #fff; font-size: 0.7em; font-weight: 700; }
.dictation { position: relative; background: var(--surface); border: 1.5px solid var(--blue); border-radius: 1em; padding: 0.75em 0.85em 2.2em; font-size: 0.84em; line-height: 1.4; box-shadow: 0 0 0 0.3em rgba(33, 82, 255, 0.12); }
.dictation .caret { display: inline-block; width: 0.1em; height: 1.05em; margin-left: 0.1em; vertical-align: -0.15em; background: var(--blue); animation: caret 1s steps(1) infinite; }
.mic { position: absolute; right: 0.6em; bottom: 0.5em; display: flex; align-items: center; gap: 0.35em; font-size: 0.8em; font-weight: 800; color: var(--blue); }
.mic svg { width: 1.3em; height: 1.3em; }
.wave { display: flex; gap: 0.15em; align-items: center; height: 1em; }
.wave i { display: block; width: 0.16em; height: 40%; border-radius: 1em; background: var(--blue); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: 0.15s; }
.wave i:nth-child(3) { animation-delay: 0.3s; }
.wave i:nth-child(4) { animation-delay: 0.45s; }

/* Prix */
.price-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.6em; padding: 0.55em 0; border-bottom: 1px solid var(--line); font-size: 0.84em; }
.price-row:last-child { border-bottom: 0; }
.box { width: 1.3em; height: 1.3em; border-radius: 0.35em; border: 1.5px solid #c5d1ec; display: grid; place-items: center; }
.box.on { background: var(--blue); border-color: var(--blue); }
.box.on::after { content: ""; width: 0.6em; height: 0.32em; border-left: 0.14em solid #fff; border-bottom: 0.14em solid #fff; transform: translateY(-0.08em) rotate(-45deg); }
.price-row b { font-weight: 700; line-height: 1.25; }
.price-input { padding: 0.3em 0.55em; border-radius: 0.55em; border: 1px solid #c5d1ec; background: var(--bg); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-input.edit { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 0.22em rgba(33, 82, 255, 0.14); }

/* PDF et partage */
.pdf { background: #fff; border-radius: 0.6em; box-shadow: var(--shadow); overflow: hidden; margin: 0.3em 0.4em 0.9em; }
.pdf-band { background: var(--blue); color: #fff; padding: 0.7em 0.8em; display: flex; justify-content: space-between; font-size: 0.72em; font-weight: 800; }
.pdf-body { padding: 0.7em 0.8em; }
.bar { height: 0.45em; border-radius: 1em; background: #e3e9f6; margin: 0.4em 0; }
.bar.w60 { width: 60%; } .bar.w80 { width: 80%; } .bar.w40 { width: 40%; }
.pdf-total { display: flex; justify-content: flex-end; gap: 0.6em; margin-top: 0.6em; font-size: 0.8em; font-weight: 800; }
.pdf-total b { color: var(--blue); }
.sign { margin-top: 0.6em; border: 1px dashed #c5d1ec; border-radius: 0.4em; padding: 0.6em; font-size: 0.62em; color: var(--muted); font-weight: 700; }
.share { background: var(--surface); border-radius: 1.2em 1.2em 0 0; padding: 0.9em 1em 1.2em; box-shadow: 0 -0.5em 1.5em rgba(11, 27, 58, 0.08); }
.share-apps { display: flex; justify-content: space-around; margin-top: 0.7em; }
.share-apps div { display: grid; justify-items: center; gap: 0.35em; font-size: 0.72em; font-weight: 700; }
.app-ico { display: grid; place-items: center; width: 3.2em; height: 3.2em; border-radius: 0.9em; color: #fff; }
.app-ico svg { width: 1.6em; height: 1.6em; }
.ico-wa { background: #128c4a; }
.ico-mail { background: var(--blue); }
.ico-more { background: #eef1f7; color: var(--navy); }

/* Relance */
.tones { display: grid; gap: 0.45em; margin-bottom: 0.7em; }
.tone { display: flex; gap: 0.7em; align-items: center; padding: 0.65em 0.8em; border-radius: 1em; background: var(--surface); border: 1.5px solid var(--line); }
.tone b { display: block; font-size: 0.88em; font-weight: 800; }
.tone span { font-size: 0.74em; color: var(--muted); font-weight: 600; }
.tone i { flex: none; width: 1.3em; height: 1.3em; border-radius: 50%; border: 1.5px solid #c5d1ec; }
.tone.on { border-color: var(--blue); box-shadow: 0 0 0 0.25em rgba(33, 82, 255, 0.12); }
.tone.on i { border: 0.38em solid var(--blue); }
.message { background: var(--surface); border-radius: 1em; border: 1px solid var(--line); padding: 0.8em 0.9em; font-size: 0.8em; line-height: 1.45; }
.message p { margin: 0 0 0.5em; color: var(--text); }

/* Animation d'entrée des lignes du devis (héros) */
.js .phone-front .q-line, .js .phone-front .totals { animation: line-in 0.7s var(--ease) backwards; }
.js .phone-front .q-line:nth-child(1) { animation-delay: 0.5s; }
.js .phone-front .q-line:nth-child(2) { animation-delay: 0.75s; }
.js .phone-front .q-line:nth-child(3) { animation-delay: 1s; }
.js .phone-front .q-line:nth-child(4) { animation-delay: 1.25s; }
.js .phone-front .totals { animation-delay: 1.5s; }
.js .stage-chip { animation: chip-in 0.7s var(--ease) backwards; }
.js .stage-chip-1 { animation-delay: 1.9s; }
.js .stage-chip-2 { animation-delay: 2.3s; }
.float { animation: float 7s ease-in-out infinite; }
.float-slow { animation: float 9s ease-in-out infinite reverse; }

/* Animations d’entrée sans opacité : le contenu reste lisible même si l’animation ne joue pas. */
@keyframes line-in { from { transform: translateX(-0.6em); } to { transform: none; } }
@keyframes chip-in { from { transform: translateY(14px) scale(0.94); } to { transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes wave { 0%, 100% { height: 30%; } 50% { height: 100%; } }

.figcap { margin: 14px 0 0; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.on-dark .figcap { color: var(--onnavy); }

/* ------------------------------------------------------------ 02 Le problème */
.problem { background: var(--bg); }
.problem-grid { display: grid; gap: 48px; }
.clock { font-size: clamp(4.6rem, 18vw, 11rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.85; color: var(--blue); margin: 0 0 18px; font-variant-numeric: tabular-nums; }
.clock-cap { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; max-width: 13em; margin: 0; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: repeating-linear-gradient(180deg, var(--blue) 0 10px, transparent 10px 18px); opacity: 0.45; }
.timeline li { position: relative; padding: 0 0 30px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--blue); }
.timeline li.late::before { border-color: var(--danger); }
.timeline time, .timeline .when { display: block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.timeline li.late .when { color: var(--dangertext); }
.timeline h3 { font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.timeline p { color: var(--muted); margin: 0; max-width: 34em; }
.problem-answer { margin-top: 56px; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; }
.problem-answer p { margin: 0; font-size: 1.15rem; }
.problem-answer strong { color: var(--blue); }
@media (min-width: 900px) {
  .problem-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
  .problem-clock { position: sticky; top: 120px; }
  .problem-answer { grid-template-columns: auto 1fr; align-items: center; gap: 28px; padding: 32px 40px; }
}

/* ------------------------------------------------------------ 03 Comment ça marche */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 72px; counter-reset: step; }
.step { display: grid; gap: 28px; align-items: center; }
.step-n { font-size: clamp(4rem, 10vw, 7rem); font-weight: 800; line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 2px var(--blue); margin: 0 0 14px; }
.step h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 14px; }
.step p { color: var(--muted); max-width: 32em; }
.step ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.step li { position: relative; padding-left: 26px; font-weight: 600; }
.step li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 14px; height: 3px; border-radius: 2px; background: var(--blue); }
.step-visual { display: flex; justify-content: center; padding: 36px 0 0; border-radius: var(--r-lg); background: var(--pale); overflow: hidden; }
.step:nth-child(even) .step-visual { background: var(--navy); }
.phone-crop { --pw: 270px; aspect-ratio: auto; height: 400px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; box-shadow: var(--shadow-lg); }
.phone-crop .screen { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
@media (min-width: 900px) {
  .step { grid-template-columns: 1fr 1fr; gap: 72px; }
  .step:nth-child(even) .step-copy { order: 2; }
  .step-visual { padding-top: 48px; }
  .phone-crop { --pw: 300px; height: 450px; }
}

/* ------------------------------------------------------------ 04 Métiers */
.trades { background: var(--surface); }
.trades-head { display: grid; gap: 20px; margin-bottom: 40px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--r); background: var(--warnsoft); color: var(--warntext); font-weight: 600; font-size: 0.95rem; max-width: 46em; margin: 0; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.trade-ui { display: grid; gap: 24px; }
.trade-tabs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trade-tab {
  display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); color: var(--navy); font-weight: 700; font-size: 0.95rem; text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.trade-tab:hover { border-color: var(--blue); color: var(--blue); }
.trade-tab-n { font-size: 0.72rem; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.trade-tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.trade-tab[aria-selected="true"] .trade-tab-n { color: var(--onblue); }
.trade-panels { display: grid; gap: 24px; }
.trade-panel { border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); padding: 24px; }
.trade-panel[hidden] { display: none; }
.js .trade-panel.is-entering { animation: panel-in 0.45s var(--ease) backwards; }
@keyframes panel-in { from { transform: translateY(10px); } to { transform: none; } }
.trade-panel-head h3 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 8px; }
.trade-panel-head p { color: var(--muted); margin-bottom: 8px; }
.trade-panel-head .trade-meta { font-size: 0.92rem; }
.trade-meta strong { color: var(--text); }
.price-list { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.price-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pl-label { font-weight: 700; line-height: 1.35; }
.pl-price { font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-unit, .pl-vat { font-size: 0.88rem; color: var(--muted); }
.pl-vat { text-align: right; white-space: nowrap; }
.trade-more { margin: 18px 0 0; font-weight: 700; }
@media (min-width: 640px) {
  .price-list li { grid-template-columns: 1fr 9.5em 7.5em 6.5em; align-items: baseline; }
  .pl-unit { order: 0; }
}
@media (min-width: 1000px) {
  .trades-head { grid-template-columns: 1fr auto; align-items: end; }
  .trade-ui { grid-template-columns: 290px 1fr; gap: 40px; align-items: start; }
  .js .trade-tabs { flex-direction: column; flex-wrap: nowrap; gap: 4px; }
  .js .trade-tab { border-radius: 12px; border-color: transparent; background: transparent; }
  .js .trade-tab:hover { background: var(--bg); }
  .js .trade-tab[aria-selected="true"] { background: var(--blue); }
  .trade-panel { padding: 36px 40px; }
}
@media (max-width: 999px) {
  .js .trade-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .js .trade-tab { flex: none; scroll-snap-align: start; }
}

/* ------------------------------------------------------------ 05 Suivi et relances */
.followup-grid { display: grid; gap: 56px; }
.pipeline { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0; }
.pipeline li { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 0 0 22px; }
.pipeline li::before { content: ""; position: absolute; left: 14px; top: 26px; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, rgba(169, 192, 255, 0.6) 0 8px, transparent 8px 14px); }
.pipeline li:last-child::before { display: none; }
.pip { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(169, 192, 255, 0.14); color: var(--bluenavy); font-weight: 800; font-size: 0.8rem; }
.pipeline li.paid .pip { background: rgba(18, 183, 106, 0.2); color: #6ce9a6; }
.pipeline li.late .pip { background: rgba(240, 68, 56, 0.2); color: #fda29b; }
.pipeline b { display: block; color: #fff; font-size: 1.08rem; }
.pipeline span { color: var(--onnavy); font-size: 0.95rem; }
.tone-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.tone-list li { padding: 16px 18px; border-radius: var(--r); background: var(--navy2); border: 1px solid rgba(169, 192, 255, 0.16); }
.tone-list b { color: #fff; display: block; }
.tone-list span { color: var(--onnavy); font-size: 0.95rem; }
.followup-phones { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.followup-phones .phone { --pw: 250px; }
.followup-phones figure { margin: 0; }
@media (min-width: 900px) {
  .followup-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .followup-phones { flex-wrap: nowrap; justify-content: flex-start; }
  .followup-phones figure:nth-child(2) { margin-top: 90px; }
  .followup-phones .phone { --pw: 252px; }
}
@media (min-width: 1100px) { .followup-phones .phone { --pw: 268px; } }

/* ------------------------------------------------------------ 06 Confiance */
.trust { background: var(--surface); }
.ledger { margin: 48px 0 0; display: grid; gap: 0; border-top: 3px solid var(--navy); }
.ledger-row { display: grid; gap: 10px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.ledger-key { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.ledger-key svg { width: 26px; height: 26px; color: var(--blue); flex: none; }
.ledger-row p { margin: 0; color: var(--muted); }
.ledger-row ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ledger-row li { padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-weight: 700; font-size: 0.92rem; }
.ledger-row.never li { background: var(--dangersoft); border-color: #f9cfcb; color: var(--dangertext); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.review-block { margin-top: 64px; display: grid; gap: 24px; padding: 32px; border-radius: var(--r-lg); background: var(--pale); }
.review-block h3 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.04em; }
.review-block h3 span { color: var(--blue); }
.review-block p { margin: 0; max-width: 40em; }
.review-block .more { font-weight: 700; margin-top: 12px; }
@media (min-width: 900px) {
  .ledger-row { grid-template-columns: 300px 1fr 1.1fr; gap: 32px; align-items: center; }
  .review-block { grid-template-columns: 1fr 1.2fr; padding: 48px; gap: 48px; align-items: center; }
}

/* ------------------------------------------------------------ FAQ */
.faq-grid { display: grid; gap: 40px; }
.faq-list { border-top: 1px solid var(--line); }
details.qa { border-bottom: 1px solid var(--line); }
details.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.015em; color: var(--navy);
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 12px 2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 2px 12px no-repeat,
    var(--pale);
  transition: transform 0.3s var(--ease);
}
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa summary:hover { color: var(--blue); }
.qa-body { padding: 0 0 24px; max-width: 46em; color: var(--muted); }
.qa-body p:last-child { margin-bottom: 0; }
.qa-body strong { color: var(--text); }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--warnsoft); color: var(--warntext); font-size: 0.8rem; font-weight: 800; margin-right: 6px; vertical-align: 1px; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
  .faq-aside { position: sticky; top: 120px; }
}

/* ------------------------------------------------------------ Appel final */
.cta-final { padding: 0 0 88px; background: var(--surface); }
.cta-box {
  position: relative; overflow: hidden; border-radius: 32px; padding: 56px 28px; color: #fff;
  background: radial-gradient(90% 120% at 100% 100%, rgba(77, 124, 255, 0.95), rgba(77, 124, 255, 0) 60%), var(--blue);
}
.cta-box::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 40px; height: 3px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0 14px, transparent 14px 24px);
}
.cta-box h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); letter-spacing: -0.045em; max-width: 12em; margin-bottom: 20px; color: #fff; }
.cta-box p { color: var(--onblue); font-size: 1.12rem; max-width: 36em; }
.cta-box .btn { margin: 10px 0 22px; }
.cta-box small { display: block; max-width: 40em; color: var(--onblue); font-size: 0.9rem; padding-bottom: 28px; }
@media (min-width: 900px) { .cta-box { padding: 88px 80px; } }

/* ------------------------------------------------------------ Pages intérieures */
.page-hero { padding: 64px 0 48px; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 7vw, 4.8rem); letter-spacing: -0.05em; line-height: 1; max-width: 13em; margin-bottom: 20px; }
.page-hero .section-lede { margin: 0; }
.feature { display: grid; gap: 32px; padding: 72px 0; border-bottom: 1px solid var(--line); align-items: center; }
.feature:last-child { border-bottom: 0; }
.feature h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.feature p { color: var(--muted); }
.feature dl { margin: 24px 0 0; display: grid; gap: 16px; }
.feature dt { font-weight: 800; }
.feature dd { margin: 2px 0 0; color: var(--muted); }
.feature-visual { display: flex; justify-content: center; }
.feature-visual .phone { --pw: 264px; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1.1fr 0.9fr; gap: 80px; }
  .feature:nth-child(even) .feature-copy { order: 2; }
}
.limits { padding: 72px 0; }
.limits-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.limits-list li { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.limits-list b { font-size: 1.1rem; }
.limits-list span { color: var(--muted); }
@media (min-width: 900px) { .limits-list li { grid-template-columns: 320px 1fr; gap: 32px; } }

.trade-index { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trade-index a { display: inline-flex; min-height: 42px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--navy); font-weight: 700; text-decoration: none; }
.trade-index a:hover { border-color: var(--blue); color: var(--blue); }
.trade-sheet { padding: 56px 0; border-bottom: 1px solid var(--line); }
.trade-sheet-head { display: grid; gap: 16px; }
.trade-sheet-n { margin: 0; font-size: 3.4rem; font-weight: 800; line-height: 0.85; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--blue); }
.trade-sheet h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.trade-sheet-head p { color: var(--muted); margin: 0; }
.trade-facts { display: flex; gap: 12px; margin: 0; flex-wrap: wrap; }
.trade-facts div { padding: 12px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.trade-facts dt { font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.trade-facts dd { margin: 0; font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.price-list-compact { margin-top: 24px; }
.trade-table { margin-top: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.trade-table summary { cursor: pointer; padding: 16px 20px; font-weight: 800; color: var(--blue); min-height: 48px; }
.trade-table .table-wrap { padding: 0 12px 12px; }
.trade-table table { font-size: 0.93rem; }
.trade-table caption { text-align: left; padding: 4px 8px 12px; color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.trade-table tbody th { font-weight: 600; }
.cat-row th { background: var(--pale); color: var(--ink); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
th.num, td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .trade-sheet-head { grid-template-columns: 90px 1fr auto; gap: 32px; align-items: start; }
}

/* Contenus longs (légal, support) */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.08; letter-spacing: -0.04em; margin: 0 0 12px; }
.doc h2 { font-size: 1.4rem; margin: 44px 0 10px; letter-spacing: -0.02em; }
.doc h3 { font-size: 1.12rem; margin: 26px 0 6px; }
.doc p, .doc li { max-width: 68ch; }
.doc .meta { color: var(--muted); margin: 0 0 24px; }
.doc .summary { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: var(--r); padding: 18px 22px; margin: 24px 0; }
.doc .summary p { margin: 0 0 8px; }
.doc .summary p:last-child { margin: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; margin: 24px 0; }
.panel h2 { margin-top: 0; }
.note { color: var(--muted); font-size: 0.97rem; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; background: var(--surface); font-size: 0.97rem; }
th, td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
thead th { color: var(--muted); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.04em; border-bottom: 2px solid var(--navy); }
.doc table th, .doc table td { border: 1px solid var(--line); }
.doc thead th { background: var(--bg); color: var(--navy); font-size: 0.95rem; letter-spacing: 0; }
.faq-group { margin-top: 56px; }
.faq-group h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 12px; }

/* ------------------------------------------------------------ Pied de page */
.site-footer { background: var(--navy); color: var(--onnavy); font-size: 0.95rem; }
.footer-grid { display: grid; gap: 36px; padding-top: 56px; padding-bottom: 36px; }
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: var(--bluenavy); }
.site-footer p { margin: 14px 0 0; max-width: 28em; }
.site-footer h2 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bluenavy); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--bluenavy); text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(169, 192, 255, 0.18); padding-top: 22px; padding-bottom: 28px; font-size: 0.88rem; }
.footer-legal p { margin: 0; max-width: none; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ------------------------------------------------------------ Révélations au défilement (si JS) */
.js [data-reveal] { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(28px); }
.js [data-reveal] .chalk, .js .hero .chalk { transform: scaleX(0); transition: transform 1.1s cubic-bezier(0.3, 1.4, 0.5, 1) 0.25s; }
.js [data-reveal].is-visible .chalk, .js .hero.is-visible .chalk { transform: scaleX(1); }
.js [data-stagger] > * { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-stagger]:not(.is-visible) > * { opacity: 0; transform: translateY(18px); }
.js [data-stagger] > :nth-child(2) { transition-delay: 0.08s; }
.js [data-stagger] > :nth-child(3) { transition-delay: 0.16s; }
.js [data-stagger] > :nth-child(4) { transition-delay: 0.24s; }
.js [data-stagger] > :nth-child(5) { transition-delay: 0.32s; }

/* ------------------------------------------------------------ Petits écrans */
@media (max-width: 599px) {
  :root { --gutter: 16px; }
  body { font-size: 1rem; }
  .section { padding: 64px 0; }
  .btn { width: 100%; }
  .hero-actions .btn-ghost { width: 100%; }
  .site-header .btn { width: auto; }
  .stage-phones .phone-back { --pw: 200px; transform: translateX(-96%) rotate(-7deg); top: 56px; }
  .stage-phones .phone-front { --pw: 232px; transform: translateX(-30%); }
  .stage-phones { height: 520px; }
  .hero-stage { min-height: 540px; }
  .stage-chip-2 { top: 20px; right: 4%; }
  .stage-chip-1 { bottom: 64px; left: 4%; }
  .phone-crop { --pw: 250px; height: 370px; }
  .trade-panel { padding: 20px 16px; }
  .cta-box { border-radius: 24px; }
  .review-block, .problem-answer { padding: 24px 20px; }
}
@media (max-width: 380px) {
  .stage-phones .phone-back { display: none; }
  .stage-phones .phone-front { transform: translateX(-50%); }
  .stage-chip { font-size: 0.75rem; padding: 8px 10px; }
  .followup-phones .phone { --pw: 236px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal]:not(.is-visible), .js [data-stagger]:not(.is-visible) > * { opacity: 1; transform: none; }
  .js [data-reveal] .chalk, .js .hero .chalk { transform: none; }
  .parallax { transform: none; }
}

@media print {
  .site-header, .hero-stage, .cta-final, .menu-toggle { display: none; }
  body { background: #fff; }
}

.page-hero .notice { margin: 28px 0 0; }
.screen p { color: var(--text); }
.screen .scr-sub { color: var(--muted); }
.ledger-row .ledger-key { color: var(--text); }
.hero-grid > *, .trade-ui > *, .followup-grid > *, .problem-grid > *, .faq-grid > *, .step > *, .feature > *, .trades-head > * { min-width: 0; }
@media (max-width: 599px) {
  .stage-chip-2 { display: none; }
  .trade-ui { gap: 8px; }
}
.stage-caption { left: 50%; right: auto; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 4px 12px; border-radius: 999px; background: rgba(11, 27, 58, 0.6); color: #fff; }
.on-dark .limits-list span { color: var(--onnavy); }
.on-dark .limits-list, .on-dark .limits-list li { border-color: rgba(169, 192, 255, 0.22); }
