/* Servi · site servi-fr.com
   Jetons repris du système de marque Servi (refonte 2026 « 01 Lumière ») :
   Servi (particuliers) = bleu #3366FF, Servi Pro = émeraude #0B7A5A, encre #142333.
   Polices hébergées sur le site (aucun appel à Google Fonts) : Sora + Plus Jakarta Sans, licence SIL OFL 1.1.
   Courbe d'animation commune aux apps : cubic-bezier(.32, .72, 0, 1). */

/* ---------- Polices ---------- */
@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-latin.woff2") format("woff2");
  font-weight: 100 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-latin-ext.woff2") format("woff2");
  font-weight: 100 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/jakarta-latin-ext.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Polices de repli calibrées : limitent le décalage de mise en page au chargement. */
@font-face { font-family: "Sora Fallback"; src: local("Arial"); ascent-override: 85.29%; descent-override: 25.5%; line-gap-override: 0%; size-adjust: 113.73%; }
@font-face { font-family: "Jakarta Fallback"; src: local("Arial"); ascent-override: 98.88%; descent-override: 21.15%; line-gap-override: 0%; size-adjust: 104.98%; }

/* ---------- Jetons ---------- */
:root {
  color-scheme: light dark;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f4f9;
  --ink: #142333;
  --text: #1c2b3d;
  --muted: #4f5d72;
  --line: #e3e8f0;
  --line-strong: #cad3e0;
  --control-line: #7f8a9e; /* bord des champs et choix : contraste ≥ 3:1 (WCAG 1.4.11) */

  --blue: #3366ff;
  --blue-hover: #2552ec;
  --blue-text: #2347d9;
  --blue-tint: #eef2ff;
  --blue-tint-line: #d8e1ff;

  --emerald: #0b7a5a;
  --emerald-hover: #08694d;
  --emerald-text: #0a6a4e;
  --emerald-tint: #eaf5f0;
  --emerald-tint-line: #cde6da;

  --accent: var(--blue);
  --accent-hover: var(--blue-hover);
  --accent-text: var(--blue-text);
  --accent-tint: var(--blue-tint);
  --accent-tint-line: var(--blue-tint-line);

  --danger: #b42318;
  --danger-tint: #fef3f2;
  --danger-line: #f5c9c4;
  --on-accent: #ffffff;

  --shadow-float: 0 32px 72px -32px rgba(20, 35, 80, .30), 0 2px 8px rgba(20, 35, 80, .05);
  --shadow-soft: 0 14px 36px -22px rgba(35, 71, 217, .30);

  --radius-card: 20px;
  --radius-control: 14px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.32, .72, 0, 1);

  --font-display: "Sora", "Sora Fallback", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Jakarta Fallback", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 120px);
  --header-h: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a111d;
    --surface: #111a29;
    --surface-soft: #0f1724;
    --ink: #eef2f8;
    --text: #dfe5ef;
    --muted: #a3aec0;
    --line: #1f2b3e;
    --line-strong: #2d3c55;
    --control-line: #62718c;

    --blue-hover: #2a58f5;
    --blue-text: #a3b8ff;
    --blue-tint: #121d3d;
    --blue-tint-line: #243463;

    --emerald-hover: #0a6e51;
    --emerald-text: #63d2a9;
    --emerald-tint: #0c221c;
    --emerald-tint-line: #17392f;

    --danger: #ff9b91;
    --danger-tint: #2a1515;
    --danger-line: #5c2a26;

    --shadow-float: 0 32px 72px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .03);
    --shadow-soft: 0 14px 36px -22px rgba(0, 0, 0, .6);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; } /* l'attribut hidden l'emporte sur .btn (inline-flex) */
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
strong { font-weight: 700; color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--blue-tint-line); color: var(--ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -80px; z-index: 30;
  background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: var(--radius-control);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

main:focus { outline: none; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
.optional { font-weight: 500; color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mark { flex: none; fill: currentColor; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: var(--radius-control);
  background: var(--accent); color: var(--on-accent);
  font: 600 1rem/1.2 var(--font-body); letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: var(--shadow-soft);
}
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn[disabled], .btn[aria-disabled="true"] { cursor: not-allowed; opacity: .72; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-ghost {
  background: transparent; color: var(--ink); box-shadow: none;
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--surface-soft); }
.btn-pro { --accent: var(--emerald); --accent-hover: var(--emerald-hover); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--ink); text-decoration: none;
  font: 700 1.375rem/1 var(--font-display); letter-spacing: -0.025em;
}
.brand:hover { text-decoration: none; }
.brand .mark { width: 31px; height: 17px; color: var(--blue); }
.brand-pro { color: var(--emerald-text); }
.nav-links { display: none; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .9375rem;
  transition: background-color .2s var(--ease);
}
.nav-links a:hover { background: var(--surface-soft); }
.nav-cta { display: none; }
.nav-right { display: flex; align-items: center; gap: 8px; }
@media (min-width: 600px) { .nav-cta { display: inline-flex; } }
@media (min-width: 960px) { .nav-links { display: flex; } }

/* ---------- Héros ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(8px, 2vw, 24px); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; }
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--accent-tint); border: 1px solid var(--accent-tint-line); color: var(--accent-text);
  font-size: .875rem; font-weight: 600; line-height: 1.3;
}
.pill .icon { width: 16px; height: 16px; }
/* Titre sur deux lignes en bureau : la taille suit la largeur de la colonne (mesurée sur Sora 700). */
.hero h1 { margin-top: 22px; font-size: clamp(2.375rem, 1.2rem + 3.6vw, 3.5rem); line-height: 1.05; letter-spacing: -0.035em; }
@media (min-width: 1000px) { .hero h1 { font-size: clamp(2.625rem, .25rem + 3.8vw, 3.25rem); } }
.hero .lede { margin-top: 20px; max-width: 34em; color: var(--muted); font-size: clamp(1.0625rem, .95rem + .45vw, 1.25rem); line-height: 1.55; }

/* ---------- Formulaire liste d'attente ---------- */
.waitlist { margin-top: 32px; max-width: 560px; }
.waitlist[data-audience="pro"], .waitlist:has(input[value="pro"]:checked) {
  --accent: var(--emerald); --accent-hover: var(--emerald-hover); --accent-text: var(--emerald-text);
  --accent-tint: var(--emerald-tint); --accent-tint-line: var(--emerald-tint-line);
}
.field-label, .waitlist legend { display: block; font-weight: 600; font-size: .9375rem; color: var(--ink); margin-bottom: 8px; padding: 0; }
.waitlist fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choice label {
  display: flex; gap: 12px; align-items: flex-start; height: 100%;
  padding: 14px 14px 14px 16px; min-height: 64px;
  border: 1.5px solid var(--control-line); border-radius: var(--radius-control);
  background: var(--surface); cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.choice label:hover { border-color: var(--accent); }
.choice-text { display: grid; gap: 2px; }
.choice-title { font-weight: 700; color: var(--ink); line-height: 1.3; }
.choice-sub { font-size: .875rem; color: var(--muted); line-height: 1.35; }
.choice .tick {
  flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  border: 1.5px solid var(--control-line); display: grid; place-items: center;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.choice .tick .icon { width: 12px; height: 12px; stroke-width: 3.2; color: var(--on-accent); opacity: 0; transition: opacity .15s var(--ease); }
.choice input:checked + label { border-color: var(--accent); background: var(--accent-tint); }
.choice input:checked + label .tick { border-color: var(--accent); background: var(--accent); }
.choice input:checked + label .tick .icon { opacity: 1; }
.choice input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }

.field { display: grid; gap: 0; }
.field-hint { margin-top: 6px; font-size: .875rem; color: var(--muted); }
.field-error { display: none; align-items: flex-start; gap: 6px; margin-top: 8px; color: var(--danger); font-size: .9063rem; font-weight: 600; }
.field-error .icon { width: 17px; height: 17px; margin-top: 2px; }
.field.has-error .field-error { display: flex; }
.input-row { display: grid; gap: 10px; }
@media (min-width: 560px) { .input-row { grid-template-columns: minmax(0, 1fr) auto; } }
.input {
  width: 100%; min-height: 52px; padding: 0 16px;
  border: 1.5px solid var(--control-line); border-radius: var(--radius-control);
  background: var(--surface); color: var(--ink);
  font: 500 1rem/1.2 var(--font-body);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input::placeholder { color: var(--muted); opacity: 1; }
.input:hover { border-color: var(--muted); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.field.has-error .input { border-color: var(--danger); }
.field.has-error .input:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 20%, transparent); }
.input-postal { max-width: 160px; }

.waitlist-note { margin-top: 14px; font-size: .875rem; line-height: 1.55; color: var(--muted); max-width: 52ch; }
.waitlist-note a { color: inherit; }
.form-alert {
  display: none; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 14px 16px;
  border-radius: var(--radius-control); border: 1px solid var(--danger-line); background: var(--danger-tint);
  color: var(--text); font-size: .9375rem; line-height: 1.5;
}
.form-alert .icon { color: var(--danger); margin-top: 2px; }
.form-alert.is-visible { display: flex; }
.form-alert.is-info { border-color: var(--accent-tint-line); background: var(--accent-tint); }
.form-alert.is-info .icon { color: var(--accent-text); }
.form-alert a { color: var(--ink); font-weight: 600; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.noscript-note { margin-top: 12px; font-size: .9375rem; color: var(--muted); }

.btn .spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid color-mix(in srgb, var(--on-accent) 35%, transparent); border-top-color: var(--on-accent);
  display: none;
}
.btn.is-loading .spinner { display: block; }
.btn.is-loading .icon-arrow { display: none; }
@media (prefers-reduced-motion: no-preference) { .btn .spinner { animation: spin .8s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }

.waitlist-done {
  display: none; margin-top: 32px; max-width: 560px; padding: 24px;
  border: 1.5px solid var(--accent-tint-line); border-radius: var(--radius-card); background: var(--accent-tint);
}
.waitlist-done.is-visible { display: block; }
.waitlist-done[data-audience="pro"] {
  --accent: var(--emerald); --accent-hover: var(--emerald-hover); --accent-text: var(--emerald-text);
  --accent-tint: var(--emerald-tint); --accent-tint-line: var(--emerald-tint-line);
}
.done-head { display: flex; gap: 12px; align-items: center; }
.done-head .icon { width: 28px; height: 28px; color: var(--accent-text); }
.done-title { font: 700 1.375rem/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.done-title:focus { outline: none; }
.done-text { margin-top: 10px; color: var(--text); }
.done-extra { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--accent-tint-line); }
.done-extra .input-row { grid-template-columns: minmax(0, 160px) auto; justify-content: start; }
.done-saved { display: none; margin-top: 10px; font-weight: 600; color: var(--accent-text); }
.done-saved.is-visible { display: block; }
.link-btn {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; padding: 0;
  background: none; border: 0; color: var(--accent-text); font: 600 .9375rem/1.2 var(--font-body);
  text-decoration: underline; text-underline-offset: .2em; cursor: pointer;
}

/* ---------- Aperçu : suivi de mission ---------- */
.preview { position: relative; margin-inline: auto; width: 100%; max-width: 440px; }
.preview-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; box-shadow: var(--shadow-float); padding: 22px;
}
.preview-head { display: flex; align-items: center; gap: 14px; }
.tile {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--blue-tint); color: var(--blue-text);
}
.tile .icon { width: 22px; height: 22px; }
.tile-pro { background: var(--emerald-tint); color: var(--emerald-text); }
.preview-title { font: 700 1.0625rem/1.25 var(--font-display); color: var(--ink); letter-spacing: -0.015em; }
.preview-sub { font-size: .875rem; color: var(--muted); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: .75rem; font-weight: 700; line-height: 1.4; white-space: nowrap;
  background: var(--blue-tint); color: var(--blue-text);
}
.badge-neutral { background: var(--surface-soft); color: var(--muted); border: 1px solid var(--line); }
.badge-pro { background: var(--emerald-tint); color: var(--emerald-text); }
.preview-head .badge { margin-left: auto; }

.timeline { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 0; }
.step { position: relative; display: flex; align-items: center; gap: 14px; min-height: 40px; color: var(--muted); font-weight: 500; font-size: .9375rem; }
.step::before {
  content: ""; position: absolute; left: 10px; top: 30px; bottom: -10px; width: 2px; border-radius: 2px;
  background: var(--line);
}
.step:last-child::before { display: none; }
.step .dot {
  position: relative; z-index: 1; flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line-strong);
}
.step .dot .icon { width: 12px; height: 12px; stroke-width: 3.2; color: var(--bg); opacity: 0; }
.step.is-done { color: var(--ink); font-weight: 600; }
.step.is-done .dot { background: var(--ink); border-color: var(--ink); }
.step.is-done .dot .icon { opacity: 1; }
.step.is-done::before { background: var(--ink); }
.step.is-current { color: var(--blue-text); font-weight: 700; }
.step.is-current .dot { border-color: var(--blue); background: var(--surface); }
.step.is-current .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.preview-foot { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.chip { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: .875rem; font-weight: 600; }
.chip .icon { width: 17px; height: 17px; color: var(--blue-text); }

/* Notification posée sur le bord supérieur de la carte, sans masquer son contenu. */
.toast {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 12px; width: max-content; max-width: 100%;
  margin: 0 0 -18px -28px; padding: 12px 18px 12px 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-float);
}
.toast .tile { width: 36px; height: 36px; border-radius: 10px; }
.toast .tile .icon { width: 18px; height: 18px; }
.toast-title, .toast-sub { display: block; }
.toast-title { font-weight: 700; font-size: .875rem; color: var(--ink); line-height: 1.35; }
.toast-sub { font-size: .8125rem; color: var(--muted); line-height: 1.35; }
.preview .preview-card { padding-top: 36px; }
.preview-caption { margin-top: 18px; text-align: center; font-size: .8438rem; color: var(--muted); }
@media (max-width: 1099px) { .toast { margin-left: 0; } }

/* Pulsation de l'étape en cours : indique un statut vivant. Coupée si l'utilisateur réduit les animations. */
@media (prefers-reduced-motion: no-preference) {
  .step.is-current .dot { animation: pulse 2.4s var(--ease) infinite; }
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--blue) 40%, transparent); }
    70% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--blue) 0%, transparent); }
    100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--blue) 0%, transparent); }
  }
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
  .hero-in { animation: rise .8s var(--ease) both; }
  .hero-in-2 { animation-delay: .08s; } .hero-in-3 { animation-delay: .16s; } .hero-in-4 { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-head { max-width: 720px; }
.section-head h2, .h2 { font-size: clamp(1.875rem, 1.1rem + 2.6vw, 2.875rem); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; max-width: 60ch; }
.center { text-align: center; margin-inline: auto; }
.center p { margin-inline: auto; }

/* Comment ça marche : rail en trois temps */
.rail { position: relative; display: grid; gap: 32px; margin: 56px 0 0; padding: 0; list-style: none; }
.rail-item { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-content: start; }
.rail-item::before {
  content: ""; position: absolute; left: 27px; top: 64px; bottom: -32px; width: 2px;
  background: linear-gradient(var(--line-strong), var(--line));
}
.rail-item:last-child::before { display: none; }
.rail-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); color: var(--blue-text); box-shadow: var(--shadow-soft);
}
.rail-icon .icon { width: 24px; height: 24px; }
.rail-item h3 { font-size: 1.5rem; letter-spacing: -0.025em; margin-top: 12px; }
.rail-item p { margin-top: 8px; color: var(--muted); max-width: 34ch; }
@media (min-width: 900px) {
  .rail { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .rail-item { grid-template-columns: 1fr; gap: 20px; }
  .rail-item::before { left: 72px; right: -28px; top: 27px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--line-strong), var(--line)); }
  .rail-item h3 { margin-top: 0; }
}

/* Un prix qui ne bouge pas : l'équation */
.promise { background: var(--blue-tint); border-block: 1px solid var(--blue-tint-line); }
.equation { display: grid; gap: 16px; align-items: center; justify-items: center; margin: 48px auto 0; max-width: 880px; }
@media (min-width: 760px) { .equation { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 28px; } }
.eq-side {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 22px 24px;
  background: var(--surface); border: 1px solid var(--blue-tint-line); border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}
.eq-label { font: 700 1.1875rem/1.25 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.eq-sub { font-size: .9063rem; color: var(--muted); margin-top: 2px; }
.eq-mark { width: 84px; height: 46px; color: var(--blue); }
@media (max-width: 759px) { .eq-mark { width: 60px; height: 33px; } }
.promise-text { margin: 40px auto 0; max-width: 62ch; color: var(--text); font-size: 1.125rem; }
@media (min-width: 760px) { .promise-text { text-align: center; } }

.nots { display: grid; gap: 16px; margin: 64px 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .nots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.nots-title { margin-top: clamp(56px, 7vw, 88px); font-size: clamp(1.5rem, 1rem + 1.6vw, 2rem); text-align: center; }
.not { display: flex; gap: 14px; align-items: flex-start; padding-top: 18px; border-top: 2px solid var(--blue-tint-line); }
.not .icon { width: 22px; height: 22px; color: var(--blue-text); margin-top: 3px; }
.not p { font-weight: 600; color: var(--ink); font-size: 1.0625rem; line-height: 1.45; }

/* Servi Pro */
.pro-panel {
  display: grid; gap: 40px; align-items: center;
  padding: clamp(28px, 5vw, 64px) clamp(16px, 5vw, 64px); border-radius: 28px;
  background: var(--emerald-tint); border: 1px solid var(--emerald-tint-line);
}
/* Mobile : titre, aperçu, puis fonctions. Bureau : aperçu à gauche sur deux rangées. */
@media (min-width: 1000px) {
  .pro-panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "fig top" "fig bottom"; gap: 0 64px; align-items: start; }
  .pro-top { grid-area: top; align-self: end; }
  .pro-bottom { grid-area: bottom; }
  .pro-panel .today { grid-area: fig; align-self: center; }
}
.pro-brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.125rem/1 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.pro-brand .mark { width: 30px; height: 16px; color: var(--emerald); }
.pro-top h2 { margin-top: 18px; font-size: clamp(1.875rem, 1.1rem + 2.4vw, 2.75rem); }
.pro-top > p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; max-width: 52ch; }
.features { display: grid; gap: 22px; margin: 32px 0 0; padding: 0; list-style: none; }
@media (max-width: 999px) { .pro-bottom .features { margin-top: 0; } }
/* Deux colonnes seulement quand le panneau est pleine largeur (tablette) ; une colonne lisible sinon. */
@media (min-width: 620px) and (max-width: 999px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; } }
.feature { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.feature .tile { width: 40px; height: 40px; border-radius: 12px; background: var(--surface); color: var(--emerald-text); border: 1px solid var(--emerald-tint-line); }
.feature .tile .icon { width: 19px; height: 19px; }
.feature h3 { font-size: 1.0625rem; letter-spacing: -0.015em; line-height: 1.3; }
.feature p { margin-top: 4px; font-size: .9375rem; color: var(--muted); line-height: 1.5; }
.pro-offer { display: flex; gap: 12px; align-items: flex-start; margin-top: 32px; padding: 16px 18px; border-radius: var(--radius-control); background: var(--surface); border: 1px solid var(--emerald-tint-line); }
.pro-offer .icon { color: var(--emerald-text); margin-top: 2px; }
.pro-offer p { font-size: .9688rem; color: var(--text); }
.pro-cta { margin-top: 24px; }

.today { max-width: 460px; width: 100%; margin-inline: auto; }
.today .preview-card { padding: 22px; }
.today-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.today-title { font: 700 1.25rem/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.today-link { font-size: .875rem; font-weight: 600; color: var(--emerald-text); }
.jobs { list-style: none; margin: 14px 0 0; padding: 0; }
.job { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.job:first-child { border-top: 0; }
.job-time { font: 700 .9375rem/1 var(--font-display); color: var(--ink); letter-spacing: -0.01em; }
@media (max-width: 480px) {
  .job { grid-template-columns: 52px minmax(0, 1fr); row-gap: 8px; }
  .job .badge { grid-column: 2; justify-self: start; }
  .today .preview-card { padding: 18px; }
}
.job-title { font-weight: 700; color: var(--ink); font-size: .9375rem; line-height: 1.3; }
.job-sub { font-size: .8125rem; color: var(--muted); line-height: 1.3; }
.links-list { margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--line); display: grid; }
.link-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; }
.link-row .tile { width: 40px; height: 40px; border-radius: 12px; }
.link-row .tile .icon { width: 18px; height: 18px; }
.link-row + .link-row { border-top: 1px solid var(--line); }

/* Questions */
.faq { max-width: 820px; margin: 48px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 18px 4px; cursor: pointer; list-style: none;
  font: 600 1.125rem/1.35 var(--font-display); letter-spacing: -0.015em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq summary:hover { color: var(--blue-text); }
.faq .answer { padding: 0 4px 22px; color: var(--muted); max-width: 68ch; }

/* Appel final */
.final { text-align: center; }
.final-box {
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px); border-radius: 28px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-float);
}
.final-box .mark { width: 52px; height: 28px; color: var(--blue); margin: 0 auto 22px; }
.final-box h2 { font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.625rem); }
.final-box p { margin: 14px auto 0; color: var(--muted); max-width: 46ch; }
.final-box .btn { margin-top: 28px; }

/* ---------- Pied de page ---------- */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); margin-top: var(--section); }
.home .site-footer { margin-top: 0; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1.2fr) auto auto; column-gap: 56px; align-items: start; } }
.footer-about { margin-top: 14px; color: var(--muted); font-size: .9375rem; max-width: 40ch; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; font-weight: 600; }
.footer-mail .icon { width: 18px; height: 18px; }
.footer-nav { display: grid; gap: 4px 28px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .footer-nav { grid-template-columns: repeat(2, auto); } }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.footer-nav a:hover { color: var(--blue-text); text-decoration: underline; }
.footer-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8438rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Barre d'inscription mobile (zone du pouce), visible une fois le formulaire du héros dépassé */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); visibility: hidden;
}
.mobile-bar.is-visible { transform: none; visibility: visible; }
@media (prefers-reduced-motion: no-preference) { .mobile-bar { transition: transform .45s var(--ease), visibility .45s; } }
@media (min-width: 600px) { .mobile-bar { display: none; } }

/* ---------- Pages de contenu (aide, légal) ---------- */
.page-head { padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.25rem, 1.3rem + 3vw, 3.25rem); }
.page-head p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; max-width: 60ch; }
.page-head .updated { margin-top: 12px; font-size: .9063rem; color: var(--muted); }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-bottom: 12px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.back:hover { color: var(--ink); }
.back .icon { width: 18px; height: 18px; }

.help-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .help-grid .card-wide { grid-column: 1 / -1; } }
.card {
  padding: 28px; border-radius: var(--radius-card);
  background: var(--surface); border: 1px solid var(--line);
}
.card h2 { font-size: 1.375rem; letter-spacing: -0.02em; margin-top: 16px; }
.card p, .card li { color: var(--muted); }
.card p { margin-top: 10px; }
.card .btn { margin-top: 20px; }
.card ol, .card ul { margin: 12px 0 0; padding-left: 1.25em; }
.card li + li { margin-top: 6px; }
.card-links { list-style: none; padding: 0 !important; margin-top: 8px !important; }
.card-links li + li { margin-top: 0; }
.card-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.mail-big { display: inline-block; margin-top: 12px; font: 700 clamp(1.25rem, 1rem + 1vw, 1.625rem)/1.2 var(--font-display); letter-spacing: -0.02em; word-break: break-word; }

.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin-top: 48px; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 1.125rem; letter-spacing: -0.015em; margin-top: 28px; }
.prose p, .prose ul, .prose ol { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--muted); }
.prose address { font-style: normal; margin-top: 14px; }
.toc { margin-top: 8px; padding: 22px 24px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--line); max-width: 72ch; }
.toc p { font-weight: 700; color: var(--ink); }
.toc ol { margin: 10px 0 0; padding-left: 1.3em; columns: 2 16em; column-gap: 32px; }
.toc li { break-inside: avoid; }
.toc a { display: inline-block; padding: 5px 0; }
.table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 560px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap th { font-weight: 700; color: var(--ink); background: var(--surface-soft); }
.callout { margin-top: 20px; padding: 18px 20px; border-radius: var(--radius-control); background: var(--blue-tint); border: 1px solid var(--blue-tint-line); }
.callout p { margin: 0; color: var(--text); }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; }
.steps-list li { position: relative; padding-left: 44px; min-height: 32px; }
.steps-list li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--bg); font: 700 .875rem/1 var(--font-display);
}

/* ---------- Désinscription ---------- */
.leave { padding-bottom: clamp(56px, 9vw, 112px); }
.leave-box { max-width: 560px; }
.leave-note { margin-top: 20px; font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.leave .waitlist-done { margin-top: 0; }

.notfound { padding: clamp(64px, 12vw, 140px) 0; text-align: center; }
.notfound h1 { font-size: clamp(2.25rem, 1.3rem + 3vw, 3.25rem); }
.notfound p { margin: 16px auto 0; color: var(--muted); max-width: 46ch; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

@media print {
  .site-header, .mobile-bar, .site-footer nav, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Badges des stores : visuels officiels non retouchés, hauteur commune 44 px (cible tactile). */
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.store-badge { display: inline-flex; border-radius: 9px; transition: opacity .2s ease; }
.store-badge:hover { opacity: .85; }
.store-badge:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.store-badge img { display: block; height: 44px; width: auto; }
.hero-badges { margin: 22px 0 30px; }
.pro-apps { margin: 8px 0 20px; }
.pro-apps-title, .footer-apps-title { font-weight: 600; font-size: .9375rem; margin: 0 0 10px; }
.final-badges { justify-content: center; margin-top: 20px; }
.footer-apps .store-badges + .footer-apps-title { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .store-badge { transition: none; } }

/* Annuaire (/annuaire) : badges Servi Pro et formulaire de retrait par SIRET */
.page-badges { margin: 14px 0 6px; }
.retrait { margin: 6px 0 28px; max-width: 640px; }
#retrait-done { max-width: 640px; margin-bottom: 28px; }
