/* CarCall — the presentation site.
 *
 * One stylesheet, no framework, no build step, no external requests.
 *
 * ⚠ The palette here is now the SITE's, not a copy of the app's. It used to be
 * lifted verbatim from `frontend/tailwind.config.js` (the violet `brand-*`
 * ramp), and that line in the README was true. It no longer is: the two brand
 * values below — Signal Violet and Mist Gray — were chosen for the front door,
 * and the app still runs Tailwind's stock violet and slate. If the app is ever
 * brought onto them, `tailwind.config.js` is where that happens; until then,
 * changing one does not change the other, and expecting it to is the mistake
 * this paragraph exists to prevent.
 *
 * The two anchors, and where each is visible:
 *
 *   Signal Violet  #7A35FF  --b600 — every primary action, the wordmark suffix,
 *                                   the assistant's speech bubble, the step
 *                                   numbers, the CTA band. The rest of the ramp
 *                                   is derived from it: one hue (260.5°) at
 *                                   full saturation, lightness stepped.
 *   Mist Gray      #F0F2F5  --s50  — every quiet surface: tinted sections, the
 *                                   call card's head and foot, table headings,
 *                                   the secondary button's hover.
 *
 * Contrast is measured, not eyeballed — the numbers beside each pair below are
 * WCAG ratios against the surface that pair actually lands on, and every one of
 * them is a real place in this file. Signal Violet is a *lighter* violet than
 * the one it replaced (L 60.4% against 57.8%), which is why white-on-b600 is
 * checked rather than assumed: it comes out at 5.55:1, so the primary button
 * still clears AA for body text. `--s500` was darkened one notch for the same
 * reason — slate-500 on Mist Gray is 4.24:1, and `.stat span` and `.call-head`
 * are small text sitting on exactly that.
 *
 * The app loads Inter and Poppins from a webfont; this site deliberately does
 * not — a marketing page's whole job is to be on screen instantly, and a font
 * request is a render-blocking round trip to somebody else's server. The system
 * stack below is what Inter falls back to anyway on most machines.
 */

:root {
  /* Signal Violet at --b600, and the ramp derived from it: hsl(260.5, 100%, L).
     b700/b900 pull the saturation back as they darken, because a fully
     saturated dark violet reads as black-blue rather than as the brand. */
  --b50:  #f7f2ff;
  --b100: #ebe0ff;
  --b200: #d7c2ff;
  --b300: #bc99ff;   /* 7.77:1 on --s900 — the footer wordmark's suffix */
  --b400: #9e6bff;
  --b500: #8b4fff;
  --b600: #7a35ff;   /* Signal Violet. white on it: 5.55:1 */
  --b700: #5d19e1;   /* 7.80:1 on white, 7.10:1 on --b50 — links, .stat, eyebrow */
  --b900: #41119c;

  /* Mist Gray at --s50, with the two steps under it re-cut so each stays a
     visible step apart from it — s100 and s200 were slate's, 0.5% and 4.3%
     below slate-50, and against Mist Gray the first would have vanished
     (a tinted section would have lost its own border) and the second nearly.
     s300 upwards is slate untouched: those are text and strong borders, and
     the brief was the surfaces. */
  --s50:  #f0f2f5;   /* Mist Gray  L 95.1% */
  --s100: #e6e9ef;   /*            L 92.0% */
  --s200: #dae0e8;   /*            L 88.2% */
  --s300: #cbd5e1;   /*            L 83.9% */
  --s400: #94a3b8;
  --s500: #5c6a7e;   /* 4.90:1 on Mist Gray. slate-500 was 4.24:1 — see above */
  --s600: #475569;
  --s700: #334155;
  --s800: #1e293b;
  --s900: #0f172a;

  --green: #16a34a;
  --radius: 12px;
  --radius-lg: 16px;
  --maxw: 1120px;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
  --shadow: 0 4px 16px rgb(15 23 42 / 0.08);
  /* The tinted shadow is --b900's rgb, so it moved with the ramp. */
  --shadow-lg: 0 12px 40px rgb(65 17 156 / 0.12);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--s700);
  background: #fff;
  /* Nothing may push the page sideways on a phone. */
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--s900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: 0.35rem; }
a { color: var(--b700); }
a:hover { color: var(--b600); }
img, svg { max-width: 100%; height: auto; }

:focus-visible {
  outline: 3px solid var(--b500);
  outline-offset: 2px;
  border-radius: 6px;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.lead { font-size: 1.15rem; color: var(--s600); }
.center { text-align: center; }
.muted { color: var(--s500); }
.small { font-size: 0.875rem; }
.sr-only {
  position: absolute; 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: -9999px; top: 0; z-index: 100;
  background: #fff; padding: 12px 18px; border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* --- header ---------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--s200);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 16px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-word { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -0.02em; }
.brand-word b { color: var(--s900); font-weight: 700; }
.brand-word span { color: var(--b600); font-weight: 600; }

/* CarCall by Teluvio (docs/MULTI_BRAND_PLAN.md, the 2026-09-20 brand kit):
 * CarCall is a vertical of Teluvio, and this is the one place that relationship
 * is stated on a public page. `.brand-sub`'s colour is Teluvio's own Line Teal
 * DEEP, `#0B7B76` — a literal hex rather than a `--b*` variable, because this
 * page's `:root` is CarCall's Signal Violet ramp and reaching for `--b600`
 * here would print Teluvio's name in whatever hue CarCall's OWN palette
 * happens to assign that slot. `build.py::brand_lockup_html()` is the one
 * place this markup is emitted — absent for a brand with no `parent_lockup`
 * (Teluvio's own build never renders it: it IS the parent). */
.brand-lockup { display: flex; flex-direction: column; line-height: 1.1; }
.brand-sub {
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0B7B76;
  margin-top: 1px;
}
.site-footer .brand-sub { color: #6FD5CC; }  /* Line Teal 300 — readable on --s900 */

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
/* `:not(.btn)` is load-bearing, not tidiness. `.site-nav a` is (0,1,1) and
   `.btn-primary` is (0,1,0), so without it the nav's slate wins over the
   button's white and «Essayer» renders slate-600 on violet — 1.33:1, which is
   unreadable and was measured, not spotted. */
.site-nav a:not(.btn) {
  color: var(--s600); text-decoration: none; font-size: 0.94rem; font-weight: 500;
  padding: 8px 12px; border-radius: 9px;
}
.site-nav a:not(.btn):hover { background: var(--s100); color: var(--s900); }
.site-nav a:not(.btn)[aria-current="page"] { color: var(--b700); background: var(--b50); font-weight: 600; }
.site-nav .btn { margin-left: 6px; }

/* Language switch — a globe + the other language's code, at the top-right of
   the bar (after the primary CTA). A plain link to this same page in the other
   language. */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 10px; padding: 8px 11px; border-radius: 9px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--s600); text-decoration: none; border: 1px solid var(--s200);
}
.lang-switch svg { flex-shrink: 0; }
.lang-switch:hover { background: var(--s100); color: var(--s900); }
@media (max-width: 860px) {
  /* In the stacked mobile menu it reads as a full-width row like the others. */
  .lang-switch { justify-content: center; margin: 6px 0 0; }
}

/* The menu is a details/summary disclosure below `md`: no JavaScript, and it
   still opens if a script fails to load. */
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--s200);
    padding: 10px 20px 16px;
    box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav a { padding: 11px 12px; font-size: 1rem; }
  .site-nav .btn { margin: 6px 0 0; justify-content: center; }
  .nav-button {
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto; width: 42px; height: 42px;
    border: 1px solid var(--s200); border-radius: 10px; background: #fff;
    color: var(--s700); cursor: pointer;
  }
}
@media (min-width: 861px) { .nav-button { display: none; } }

.site-header .wrap { position: relative; }

/* --- buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px;
  font-weight: 600; font-size: 0.97rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn-primary { background: var(--b600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--b700); color: #fff; }
.btn-secondary { background: #fff; color: var(--s700); border-color: var(--s300); }
.btn-secondary:hover { background: var(--s50); color: var(--s900); }
.btn-ghost { color: var(--b700); padding-left: 8px; padding-right: 8px; }
.btn-ghost:hover { background: var(--b50); }
.btn-lg { padding: 15px 26px; font-size: 1.03rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }

/* --- sections -------------------------------------------------------------- */

section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.section-tinted { background: var(--s50); border-block: 1px solid var(--s100); }
/* Bounded like `.section-tinted`, not a fade. It was a `linear-gradient(180deg,
   var(--b50), #fff)` and had no callers; its first one is the agenda section on
   the integrations page, which is a full section with three cards and a footnote
   under them — a fade puts the bottom half of a section on white, so the reader
   cannot tell where it ends. The hero keeps its fade, because a fade needs an
   edge of the page to run off. */
.section-brand { background: var(--b50); border-block: 1px solid var(--b100); }

.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--b700); background: var(--b50);
  padding: 6px 12px; border-radius: 999px;
}
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; }

/* --- hero ------------------------------------------------------------------ */

.hero { padding: 76px 0 64px; background: linear-gradient(180deg, var(--b50), #fff 70%); }
.hero h1 { max-width: 16ch; }
.hero .lead { max-width: 56ch; font-size: 1.2rem; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }

.hero-points { list-style: none; padding: 0; margin: 22px 0 28px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--s600); }
.hero-points svg { flex-shrink: 0; margin-top: 4px; color: var(--green); }

/* The call transcript, which shows the product rather than describing it. */
.call-card {
  background: #fff; border: 1px solid var(--s200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.call-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--s100); background: var(--s50);
  font-size: 0.86rem; color: var(--s500);
}
.pulse {
  width: 9px; height: 9px; border-radius: 999px; background: var(--green); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgb(22 163 74 / 0.5); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgb(22 163 74 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(22 163 74 / 0); }
}
.call-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 82%; padding: 11px 15px; border-radius: 14px; font-size: 0.94rem; line-height: 1.5; }
.bubble.them { background: var(--s100); color: var(--s700); border-bottom-left-radius: 5px; }
.bubble.us {
  align-self: flex-end; background: var(--b600); color: #fff; border-bottom-right-radius: 5px;
}
.call-foot {
  border-top: 1px solid var(--s100); background: var(--s50);
  padding: 14px 18px; font-size: 0.84rem; color: var(--s500);
  display: flex; flex-wrap: wrap; gap: 8px 16px;
}
.call-foot b { color: var(--s700); font-weight: 600; }

/* --- cards / grids --------------------------------------------------------- */

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--s200); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 16px;
  background: var(--b50); color: var(--b600);
  display: flex; align-items: center; justify-content: center;
}

/* tarifs.html's "Tout est inclus": a plain dotted list, not bordered cards —
   six short facts read faster without six card outlines competing for the
   eye on a page whose main event is the offer above it. */
.feat-grid { display: grid; grid-template-columns: 1fr; gap: 26px 34px; margin-top: 8px; }
@media (min-width: 700px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat h3 { font-size: 1rem; margin-bottom: 4px; display: flex; align-items: center; }
.feat p { color: var(--s600); font-size: 0.93rem; margin-bottom: 0; }
.feat .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--b600); margin-right: 9px; flex-shrink: 0; }

.steps { counter-reset: step; display: grid; gap: 20px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { position: relative; padding-left: 60px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--b600); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 4px; }
.step p { margin-bottom: 0; color: var(--s600); }

.stat-row { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat b {
  display: block; font-family: var(--font-display); font-size: 2rem;
  font-weight: 800; color: var(--b700); line-height: 1.1;
}
.stat span { font-size: 0.9rem; color: var(--s500); }

/* --- pricing --------------------------------------------------------------- */

.plans { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; }
/* The baked cards are replaced by the live ones on load. Without a floor the
   page jumps while that happens, which is a Core Web Vitals (CLS) penalty on a
   site whose speed is otherwise its strongest search asset. */
#plans { min-height: 320px; }
@media (min-width: 900px) { #plans { min-height: 300px; } }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
  background: #fff; border: 1px solid var(--s200); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative;
}
.plan.featured { border-color: var(--b400); box-shadow: var(--shadow-lg); }
.plan-tag {
  position: absolute; top: -12px; left: 28px;
  background: var(--b600); color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.plan h3 { margin-bottom: 2px; text-transform: capitalize; }
.plan .price {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 800;
  color: var(--s900); line-height: 1.1; margin: 14px 0 2px;
}
.plan .price small { font-size: 0.95rem; font-weight: 600; color: var(--s500); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; }
.plan li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.94rem; }
.plan li svg { flex-shrink: 0; margin-top: 4px; color: var(--green); }
.plan .btn { width: 100%; justify-content: center; }

/* --- FAQ ------------------------------------------------------------------- */

.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--s200); border-radius: var(--radius);
  background: #fff; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; padding: 18px 20px; font-weight: 600; color: var(--s900);
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--b600); font-size: 1.35rem; line-height: 1; flex-shrink: 0;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 20px 18px; color: var(--s600); }
.faq details > div p:last-child { margin-bottom: 0; }

/* --- forms ----------------------------------------------------------------- */

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--s700); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 13px; font: inherit; font-size: 1rem;
  color: var(--s800); background: #fff;
  border: 1px solid var(--s300); border-radius: 10px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  /* --b500's rgb — a colour cannot be given an alpha through a var() holding a
     hex, so this is the one place the ramp is written twice. */
  outline: none; border-color: var(--b500); box-shadow: 0 0 0 3px rgb(139 79 255 / 0.25);
}
.field .hint { display: block; margin-top: 5px; font-size: 0.82rem; color: var(--s500); }

/* --- prose (legal pages) --------------------------------------------------- */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose h3 { font-size: 1.08rem; margin-top: 1.6em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; }
.prose th, .prose td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--s200); }
.prose th { color: var(--s900); font-weight: 600; background: var(--s50); }
.table-scroll { overflow-x: auto; }

.callout {
  border-left: 3px solid var(--b500); background: var(--b50);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }

/* --- CTA band + footer ----------------------------------------------------- */

.cta-band {
  background: linear-gradient(135deg, var(--b700), var(--b600) 55%, #a21caf);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgb(255 255 255 / 0.86); max-width: 56ch; margin-inline: auto; }
.cta-band .btn-primary { background: #fff; color: var(--b700); }
.cta-band .btn-primary:hover { background: var(--b50); color: var(--b900); }
.cta-band .btn-secondary {
  background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.5);
}
.cta-band .btn-secondary:hover { background: rgb(255 255 255 / 0.12); color: #fff; }

.site-footer { background: var(--s900); color: var(--s400); padding: 56px 0 28px; font-size: 0.93rem; }
.site-footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: var(--s300); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer .brand-word b { color: #fff; }
/* On slate-900 the suffix has to go the other way: b600 is 3.1:1 there. */
.site-footer .brand-word span { color: var(--b300); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 0.1);
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between;
  font-size: 0.86rem;
}

/* ============================================================================
 * Lead-management refresh (2026-08). Everything above this line is unchanged;
 * this block adds the bolder hero backdrop and the components that tell the
 * «toute la relation client, au même endroit» story on the homepage and the
 * new /gestion-demandes page.
 *
 * Palette is the SAME --b / --s ramp — no new hue. Every text/surface pair
 * below sits on one the header's table already measured: white on --b600 is
 * 5.55:1, --s700 on #fff and --s600 on --s50 clear AA, --b700 on --b50 is
 * 7.10:1. Motion is keyframes only and inherits the global
 * prefers-reduced-motion kill-switch at the top of this file, so a visitor who
 * asks for less gets a static page with every element in its final state.
 * ========================================================================= */

/* --- bolder hero ----------------------------------------------------------- */
/* Two soft brand glows over the existing top-to-bottom fade, behind the
   content and inert to the pointer. Applied to every .hero so the lift is
   consistent across the site, not just the two pages with new sections. */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40rem 28rem at 86% -12%, rgb(122 53 255 / 0.18), transparent 60%),
    radial-gradient(32rem 24rem at 4% 6%, rgb(122 53 255 / 0.10), transparent 55%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 .hl {
  /* The one word the headline turns on, in the brand. Not a gradient — a flat
     colour reads at any size and prints. */
  color: var(--b700);
}

/* The «prospect créé» proof under the call card: the whole pitch of the refresh
   in one element — an inbound call, or a message, becomes a lead. It used to be
   absolutely positioned over the card's bottom-right, where it covered the
   «Statut» and «Suite» fields of the foot (CDC 3.1). It now sits in normal flow
   below the card, right-aligned, so it can never overlap the card's content at
   any width. `.hero-visual` is the flex column that stacks them; the card keeps
   the default `stretch`, the chip opts out with `align-self`. */
.hero-visual { position: relative; display: flex; flex-direction: column; gap: 14px; }
.lead-chip {
  align-self: flex-end; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--s900); font-weight: 600; font-size: 0.9rem;
  padding: 10px 15px; border-radius: 999px;
  border: 1px solid var(--s200); box-shadow: var(--shadow-lg);
  animation: chip-in .55s 1.1s both;
}
.lead-chip svg { flex-shrink: 0; color: var(--green); }
@keyframes chip-in {
  from { opacity: 0; transform: translateY(12px) scale(0.94); }
}
@media (max-width: 640px) { .lead-chip { font-size: 0.82rem; } }

/* --- section intro variants ------------------------------------------------ */
/* A darker band for the one section that should feel like the product itself
   rather than the marketing around it. slate-900 ground, white heads. */
.section-dark { background: var(--s900); color: var(--s300); }
.section-dark h2 { color: #fff; }
.section-dark .lead { color: var(--s300); }
.section-dark .eyebrow { color: var(--b300); background: rgb(122 53 255 / 0.16); }
/* Cards inside the dark band keep their own light surface, so their text must
   be reset to the on-white colours — otherwise the section's --s300 leaks in
   and the headings (set to #fff above) go white-on-white, invisible. */
.section-dark .card h3 { color: var(--s900); }
.section-dark .card p { color: var(--s600); }
/* `.step` has no card surface of its own — only its numbered badge does — so
   its heading and body need the same on-dark reset as `.card`'s, and its
   light-violet `.callout` (tarifs.html's minute rule) needs the on-white one. */
.section-dark .step h3 { color: #fff; }
.section-dark .step p { color: var(--s300); }
.section-dark .callout { color: var(--s800); }
.section-dark .callout p { color: var(--s800); }

/* --- inbound channel flow -------------------------------------------------- */
/* Three channels → one demande. Vertical on phones, a row with a join on
   desktop. The «hub» is the brand card everything points at. */
.channel-flow {
  display: grid; gap: 18px; align-items: center; justify-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .channel-flow { grid-template-columns: 1fr auto 1.1fr; }
}
.cf-inputs { display: grid; gap: 12px; width: 100%; }
.cf-pill {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--s200); border-radius: 12px;
  padding: 14px 16px; box-shadow: var(--shadow-sm); font-weight: 600; color: var(--s800);
}
.cf-pill svg { flex-shrink: 0; color: var(--b600); }
.cf-pill small { display: block; font-weight: 400; font-size: 0.82rem; color: var(--s500); }
.cf-join { color: var(--b400); display: flex; align-items: center; justify-content: center; }
.cf-join svg { width: 40px; height: 40px; }
@media (max-width: 819px) { .cf-join { transform: rotate(90deg); } }
.cf-hub {
  width: 100%;
  background: linear-gradient(150deg, var(--b700), var(--b600) 70%);
  color: #fff; border-radius: var(--radius-lg); padding: 22px 24px;
  box-shadow: var(--shadow-lg);
}
.cf-hub b { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 6px; }
.cf-hub span { color: rgb(255 255 255 / 0.85); font-size: 0.92rem; }

/* --- the pipeline board ---------------------------------------------------- */
/* A real horizontal board, scrollable on narrow screens rather than reflowed —
   a pipeline that stacks vertically stops reading as a pipeline. The scroll
   lives inside this element, so the page body never moves sideways. */
.pipeline { display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 14px; scroll-snap-type: x proximity; }
.pl-col {
  flex: 0 0 232px; scroll-snap-align: start;
  background: var(--s50); border: 1px solid var(--s200); border-radius: var(--radius-lg);
  padding: 14px;
}
.pl-head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--s800);
  margin-bottom: 12px;
}
.pl-count {
  background: #fff; border: 1px solid var(--s200); border-radius: 999px;
  min-width: 24px; text-align: center; padding: 1px 8px; font-size: 0.8rem; color: var(--s600);
}
.pl-card {
  background: #fff; border: 1px solid var(--s200); border-radius: 11px;
  padding: 12px; margin-bottom: 10px; box-shadow: var(--shadow-sm);
}
.pl-card:last-child { margin-bottom: 0; }
.pl-card b { font-size: 0.94rem; color: var(--s900); }
.pl-card p { margin: 3px 0 9px; font-size: 0.84rem; color: var(--s500); }
.pl-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* Temperature + SLA chips, the two things a salesperson scans a board for. */
.temp { display: inline-flex; align-items: center; gap: 5px; font-size: 0.76rem; font-weight: 600; color: var(--s600); }
.temp::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--s400); }
.temp.chaud { color: #b91c1c; } .temp.chaud::before { background: #ef4444; }
.temp.tiede { color: #b45309; } .temp.tiede::before { background: #f59e0b; }
.temp.froid { color: var(--s500); } .temp.froid::before { background: var(--s400); }
.sla {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 2px 8px; border-radius: 999px;
  background: var(--s100); color: var(--s600);
}
.sla.ok { background: #dcfce7; color: #15803d; }
.sla.warn { background: #fef3c7; color: #b45309; }
.sla.late { background: #fee2e2; color: #b91c1c; }

/* --- multichannel AI reply + portal --------------------------------------- */
.portal-mock { display: grid; gap: 0; grid-template-columns: 1fr; overflow: hidden;
  border: 1px solid var(--s200); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: #fff; }
@media (min-width: 760px) { .portal-mock { grid-template-columns: 0.9fr 1.1fr; } }
.pm-car { padding: 22px; background: var(--s50); border-bottom: 1px solid var(--s200); }
@media (min-width: 760px) { .pm-car { border-bottom: 0; border-right: 1px solid var(--s200); } }
.pm-car .pm-price { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--s900); margin: 6px 0 2px; }
.pm-car dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 14px 0 0; font-size: 0.88rem; }
.pm-car dt { color: var(--s500); } .pm-car dd { margin: 0; color: var(--s800); font-weight: 600; text-align: right; }
.pm-chat { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.pm-chat .who { font-size: 0.78rem; color: var(--s500); }

/* --- campaign scenarios ---------------------------------------------------- */
.scenarios { display: flex; flex-wrap: wrap; gap: 10px; }
.scenario {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--s200); border-radius: 999px;
  padding: 9px 16px; font-weight: 600; font-size: 0.92rem; color: var(--s800);
  box-shadow: var(--shadow-sm);
}
.scenario svg { flex-shrink: 0; color: var(--b600); }

/* A slim three-step «drafted once → reviewed → sent to all» strip. */
.flow-row { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 26px; }
@media (min-width: 760px) { .flow-row { grid-template-columns: repeat(3, 1fr); } }
.flow-step {
  background: var(--b50); border: 1px solid var(--b100); border-radius: var(--radius);
  padding: 18px 20px;
}
.flow-step b { display: block; font-family: var(--font-display); color: var(--s900); margin-bottom: 4px; }
.flow-step span { font-size: 0.9rem; color: var(--s600); }

/* --- feature bullet list (weaves) ------------------------------------------ */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; color: var(--s700); }
.ticks svg { flex-shrink: 0; margin-top: 4px; color: var(--green); }

/* --- inline form feedback (contact) ---------------------------------------- */
/* The contact form now submits to the API; these are the states it shows. */
.form-note { margin-top: 14px; padding: 12px 15px; border-radius: 10px; font-size: 0.92rem; }
.form-note.ok { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.form-note.err { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* ============================================================================
 * V1 commercialisation refresh (CDC v1.1). Same brand ramp, no new hue.
 * ========================================================================= */

/* --- centred section intro (CDC 3.10) -------------------------------------- */
/* `.section-head.center` already centres its 720px box; its children kept their
   own max-width (`.hero h1` is 16ch, `.hero .lead` 56ch) with no auto margins,
   so inside that box the headline and lead hugged the LEFT edge — visibly
   off-centre on /tarifs, where the 16ch cap meets a long title. Centring the
   children fixes it, and the `.center` selector also catches the `.wrap.center`
   heros (404, merci-contact) which hit the identical trap. Non-centred heros
   (fonctionnalités, intégrations, contact) have no `.center` and are untouched. */
.hero .center h1,
.hero .center .lead { margin-inline: auto; }

/* --- call vs message markers (CDC 3.1) ------------------------------------- */
/* A retranscribed CALL used to look identical to a written chat. `.voice` and
   `.msg` tag the card head so each reads as what it is; the voice card also
   carries a static waveform that says «this was spoken». The hero of the home
   page is exempt — it is a video now, not a transcript. */
.call-kind {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.74rem; font-weight: 600; color: var(--b700); white-space: nowrap;
}
.call-kind svg { flex-shrink: 0; color: var(--b600); }
.call-card.msg .call-kind { color: var(--s600); }
.call-card.msg .call-kind svg { color: var(--s500); }

/* A flat waveform strip under a voice card's head — audio, made visible.
   Static (no animation), so it reads the same under prefers-reduced-motion. */
.wave {
  display: flex; align-items: center; gap: 3px; height: 30px;
  padding: 10px 18px 0; background: #fff;
}
.wave span { flex: 1; height: 55%; border-radius: 2px; background: var(--b200); }
.wave span:nth-child(2n) { height: 100%; background: var(--b300); }
.wave span:nth-child(3n) { height: 35%; }
.wave span:nth-child(5n) { height: 80%; background: var(--b400); }
.wave span:nth-child(7n) { height: 45%; }

/* --- «Ils nous font confiance» (CDC 3.4) ----------------------------------- */
/* Styled text wordmarks for now; give a content.json entry an `img` and it
   renders the real logo with no markup change. */
.trust { padding: 34px 0; background: #fff; border-bottom: 1px solid var(--s100); }
.trust .wrap { text-align: center; }
.trust-title {
  margin: 0 0 18px; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--s500);
}
.trust-logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 14px 40px;
}
.trust-logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: -0.01em; color: var(--s400); text-decoration: none;
}
a.trust-logo:hover { color: var(--s600); }
.trust-logo img { height: 26px; width: auto; opacity: 0.7; }

/* --- the demonstration call ------------------------------------------------ */
/* The one section of the site whose call-to-action is a `tel:` link rather than
   a form. It needs no JavaScript at all: a number, four fictitious adverts, and
   the sentence saying they are fictitious. `build.py::demo_block` emits it from
   content.json, and prints nothing when that language has no number — so the
   markup below is never on a page without a number to dial. */
.demo { padding: 56px 0; background: var(--s50); border-block: 1px solid var(--s100); }
.demo .wrap { text-align: center; }
.demo h2 { margin: 0 0 12px; }
.demo-lead { max-width: 640px; margin: 0 auto 26px; color: var(--s600); }
/* The form. ⚠ It ships `hidden` and `assets/demo.js` reveals it only once the
   platform says the demonstration is open, so there is no state in which a
   visitor can type a number into something that cannot work. */
.demo-form { margin: 0 auto 18px; max-width: 460px; text-align: left; }
.demo-label {
  display: block; margin: 0 0 6px; font-size: 0.9rem; font-weight: 600;
  color: var(--s700);
}
.demo-row { display: flex; gap: 8px; flex-wrap: wrap; }
.demo-row input {
  flex: 1 1 200px; min-width: 0; padding: 11px 13px; font: inherit;
  border: 1px solid var(--s300); border-radius: var(--radius);
  background: #fff; color: var(--s900);
}
.demo-row input:focus-visible { outline: 2px solid var(--b600); outline-offset: 1px; }
.demo-row .btn { flex: 0 0 auto; }
/* intl-tel-input (loaded lazily by assets/demo.js when the demo is live) wraps
   the phone input in a `.iti` container. The wrapper takes the flex-fill the
   bare input had, and the input fills the wrapper; the field keeps its own
   border/background from `.demo-row input`, while the widget manages the flag's
   left padding inline. */
.demo-row .iti { flex: 1 1 200px; min-width: 0; }
.demo-row .iti input { width: 100%; }
#demo-code { font-variant-numeric: tabular-nums; letter-spacing: 0.35em; }
/* ⚠ The consent line is not fine print: it says we will send a code and then
   call, which is the whole of what the visitor is agreeing to by pressing the
   button. --s500 is the lightest value that still clears 4.9:1 on Mist Gray. */
.demo-consent { margin: 8px 0 0; color: var(--s500); font-size: 0.85rem; }
.demo-form .form-note { margin: 12px 0 0; }
/* The number is the thing to tap, so it is set as a number and not as prose:
   tabular figures keep the groups aligned, and the size is what makes it
   legible across a room and readable back over a desk phone. */
.demo-call .btn {
  font-variant-numeric: tabular-nums; letter-spacing: 0.01em; font-size: 1.15rem;
}
.demo-hint { margin: 0 0 10px; color: var(--s600); font-size: 0.95rem; }
/* ⚠ The notice is not fine print. It carries the AI disclosure, the recording
   warning and the fact that the cars are not for sale — the same three claims
   the spoken greeting makes — so it stays readable rather than being greyed
   into the background: --s500 is the lightest value that still clears 4.9:1 on
   Mist Gray, and it is deliberately not smaller than the hint above it. */
.demo-notice {
  margin: 0 auto 32px; max-width: 620px; color: var(--s500); font-size: 0.9rem;
}
.demo-cars {
  display: grid; gap: 16px; grid-template-columns: 1fr;
  text-align: left; margin-top: 4px;
}
.demo-car {
  background: #fff; border: 1px solid var(--s200); border-radius: var(--radius);
  padding: 18px 20px;
}
.demo-car h3 {
  margin: 0 0 6px; font-size: 1.02rem; line-height: 1.35; color: var(--s900);
}
.demo-car-price {
  margin: 0 0 6px; font-family: var(--font-display); font-weight: 700;
  font-size: 1.25rem; color: var(--b700); font-variant-numeric: tabular-nums;
}
.demo-car-facts {
  margin: 0 0 10px; color: var(--s600); font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.demo-car-desc { margin: 0; color: var(--s600); font-size: 0.92rem; }
@media (min-width: 700px) { .demo-cars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .demo-cars { grid-template-columns: repeat(4, 1fr); } }

/* --- homepage centred hero (video as the centrepiece) ---------------------- */
/* The promo video is the main visual, so the home hero stacks: a centred
   headline and CTAs, then a large centred video — rather than the two-column
   split where the media was cramped into one narrow column. */
.hero-centered .hero-intro { max-width: 760px; margin: 0 auto; }
/* Centre the headline and lead within the intro. `.hero h1`/`.hero .lead` carry
   their own max-width with margin 0, so text-align alone leaves the box hugging
   the left; these auto margins centre the box itself. Scoped and explicit so it
   does not depend on the shared `.center` rule above. */
.hero-centered .hero-intro h1,
.hero-centered .hero-intro .lead { margin-inline: auto; }
.hero-media { max-width: 920px; margin: 44px auto 0; }

/* --- hero promotional video (CDC 3.2 / 3.11) ------------------------------- */
/* Empty `video.src` → the poster shows on its own (`.is-poster`), with no dead
   play control; a set src makes it a click-to-play <video>. */
.hero-video {
  margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--s200); box-shadow: var(--shadow-lg); background: var(--s900);
}
.hero-video img, .hero-video video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
}
/* Top, not bottom: with `controls` the browser owns the bottom bar, and a
   caption there collides with it. */
.hero-video figcaption {
  position: absolute; left: 0; right: 0; top: 0; margin: 0;
  padding: 12px 16px 24px; font-size: 0.82rem; color: #fff;
  background: linear-gradient(180deg, rgb(15 23 42 / 0.72), transparent);
}
/* On the poster-only state (no video yet) there is no control bar, so the
   caption reads fine at the bottom where it looks intended. */
.hero-video.is-poster figcaption {
  top: auto; bottom: 0; padding: 24px 16px 12px;
  background: linear-gradient(0deg, rgb(15 23 42 / 0.72), transparent);
}

/* --- founder photo (À propos, CDC 3.12) ------------------------------------ */
.founder-photo { margin: 0; }
.founder-photo img {
  width: 100%; height: auto; border-radius: var(--radius-lg);
  border: 1px solid var(--s200); box-shadow: var(--shadow-lg);
}

/* The cookie-consent banner, injected by assets/consent.js when no choice has
   been stored. Fixed to the bottom rather than a full-screen overlay: it asks
   for analytics, not for a decision that should block reading the page. The two
   buttons share `.btn.btn-primary` deliberately — a refusal that looks weaker
   than the acceptance is not the equal choice consent requires. */
.consent {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px;
  margin: 0 auto; max-width: 640px; padding: 18px 20px;
  background: #fff; color: var(--s900);
  border: 1px solid var(--s200); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}
.consent-text { margin: 0 0 14px; font-size: 0.92rem; line-height: 1.5; }
.consent-row { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-row .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .consent-row .btn { flex: 0 0 auto; } }

/* --- tarifs.html: the stock slider offer -----------------------------------
 * `assets/tarifs.js` replaces the baked `.plans` grid with ONE picker: a
 * billing toggle, a slider choosing a tier by car count, and the tier
 * described in a single card. Same shape as the reference mockup — the
 * toggle, the badge that sits on the slider's own value, the "moyenne
 * constatée" line under the minute allowance — retinted to the site's own
 * Signal Violet / Mist Gray tokens and fonts rather than the mockup's.
 */
.billing-row {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 0 auto 30px; flex-wrap: wrap;
}
.billing-switch { display: inline-flex; padding: 4px; background: var(--s50); border: 1px solid var(--s200); border-radius: 999px; }
.billing-switch button {
  border: none; background: transparent; border-radius: 999px; cursor: pointer;
  padding: 8px 20px; font: inherit; font-weight: 600; font-size: 0.9rem; color: var(--s600);
}
.billing-switch button[aria-pressed="true"] { background: #fff; color: var(--s900); box-shadow: var(--shadow-sm); }
.billing-note { color: var(--green); font-weight: 600; font-size: 0.9rem; }

.offer {
  max-width: 560px; margin: 0 auto; background: #fff;
  border: 1.5px solid var(--b500); box-shadow: 0 0 0 4px var(--b50);
  border-radius: var(--radius-lg); padding: 34px;
}
@media (max-width: 560px) { .offer { padding: 26px 20px; } }
.offer-head { text-align: center; margin-bottom: 22px; }
.offer-head h3 { font-size: 1.3rem; margin-bottom: 2px; }
.offer-head p { color: var(--s500); font-size: 0.92rem; margin: 0; }

.stock-line {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 6px 12px; margin-bottom: 8px;
}
.stock-line .label { font-weight: 700; color: var(--s800); }
.stock-line output { color: var(--b700); font-weight: 800; font-variant-numeric: tabular-nums; }
.pop-badge, .pop-hint {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  white-space: nowrap;
}
.pop-badge { background: var(--b600); color: #fff; border-radius: 999px; padding: 3px 10px; }
.pop-hint {
  border: none; background: none; padding: 0; cursor: pointer;
  color: var(--b700); text-decoration: underline; text-underline-offset: 3px;
}

/* Bigger tap target than the 1px native track, without a JS library. */
.offer input[type="range"] { width: 100%; height: 28px; margin: 2px 0 4px; accent-color: var(--b600); cursor: pointer; }
.range-marks {
  display: flex; justify-content: space-between; color: var(--s500);
  font-size: 0.78rem; margin-bottom: 20px; font-variant-numeric: tabular-nums;
}
.range-marks span.at { color: var(--b700); font-weight: 800; }
@media (max-width: 560px) { .range-marks { font-size: 0.62rem; letter-spacing: -0.02em; margin-bottom: 16px; } }

.price-line { text-align: center; margin: 10px 0 4px; }
.price-line .amount { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.02em; color: var(--s900); }
.price-line .per { color: var(--s500); font-size: 0.95rem; font-weight: 600; }
.percar-line { text-align: center; font-size: 1rem; font-weight: 700; color: var(--b700); margin: 2px 0 0; }
.annual-line { text-align: center; font-size: 0.88rem; color: var(--green); font-weight: 700; min-height: 1.3em; margin-bottom: 4px; }

.offer-details { border-top: 1px solid var(--s200); margin-top: 14px; padding-top: 16px; display: grid; gap: 10px; font-size: 0.92rem; color: var(--s600); }
.offer-details strong { color: var(--s900); }
.offer-details .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--b600); margin-right: 9px; vertical-align: 1px; }
.offer-details .avg-explain { display: block; font-size: 0.78rem; color: var(--s500); margin-top: 3px; }
.offer-cta { margin-top: 22px; }
.offer-cta .btn { width: 100%; justify-content: center; }
