/* =====================================================================
   public.css — site public GarageManager v3
   SSR Django, 0 bundle JS visiteur, Geist self-hosted, tokens v3
   Source unique pour : /, /a-propos/, /aide/, /legal/
   ===================================================================== */

/* ========== Geist self-hosted ============================== */

@font-face {
  font-family: 'Geist';
  src: url('/static/fonts/Geist-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('/static/fonts/GeistMono-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('/static/fonts/GeistMono-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('/static/fonts/GeistMono-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

/* ========== Tokens v3 (mirror de frontend/styles/tokens.css) ===== */

:root {
  --bg-app:        #fafafa;
  --bg-surface:    #ffffff;
  --bg-subtle:     #f4f4f5;
  --bg-muted:      #e4e4e7;
  --bg-inverse:    #0a0a0a;
  --bg-inverse-2:  #18181b;

  --text-primary:    #0a0a0a;
  --text-secondary:  #52525b;
  --text-tertiary:   #71717a; /* zinc-500 — AA 4.5:1, aligné tokens.css app 2026-04-24 */
  --text-on-dark:    #fafafa;
  --text-on-accent:  #ffffff;

  --border-subtle:  #e4e4e7;
  --border-default: #d4d4d8;

  --accent:        oklch(0.42 0.14 25);
  --accent-hover:  oklch(0.36 0.14 25);
  --accent-soft:   oklch(0.42 0.14 25 / 0.08);

  --info:    #2563eb;
  --success: #059669;
  --warning: #d97706;

  --sans:  'Geist', -apple-system, system-ui, sans-serif;
  --mono:  'Geist Mono', ui-monospace, monospace;

  --t-display: 56px;
  --t-h1:      40px;
  --t-h2:      28px;
  --t-h3:      20px;
  --t-h4:      16px;
  --t-body:    16px;
  --t-small:   14px;
  --t-caption: 13px;

  --s-1:  4px;  --s-2:  8px;  --s-3:  12px; --s-4:  16px;
  --s-5:  20px; --s-6:  24px; --s-8:  32px; --s-10: 40px;
  --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;

  --r-sm:   6px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-xl:   16px;
  --r-full: 9999px;

  --sh-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --sh-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --sh-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);

  --max-w-prose: 720px;
  --max-w-page:  1200px;
  --nav-h:       64px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 120ms;
  --dur-med:  220ms;
  --dur-slow: 380ms;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur-med: 0ms; --dur-slow: 0ms; }
  *, *::before, *::after { animation-duration: 0ms !important; transition-duration: 0ms !important; }
}

/* ========== Reset minimal ================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--text-primary);
  background: var(--bg-app);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0 0 var(--s-4);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }
h4 { font-size: var(--t-h4); font-weight: 500; }

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

code, kbd, .mono { font-family: var(--mono); font-size: 0.92em; }

ul, ol { margin: 0 0 var(--s-4); padding-left: var(--s-6); }
li { margin-bottom: var(--s-2); }

/* ========== Layout ========================================= */

.container {
  width: 100%;
  max-width: var(--max-w-page);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.container-prose {
  max-width: var(--max-w-prose);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

/* Prose readability — texte large mais paragraphes contraints */
.content-section { margin-bottom: var(--s-16); }
.content-section > p,
.content-section > .lead,
.content-section > ul:not(.feature-list):not(.grid-2):not(.grid-3) {
  max-width: 70ch;
}
.content-section > h2 {
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--border-subtle);
}
.text-muted { color: var(--text-tertiary); font-size: var(--t-small); }

main {
  min-height: calc(100vh - var(--nav-h) - 200px);
  padding-top: var(--nav-h);
}

/* ========== Navbar ========================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 50;
  transition: box-shadow var(--dur-fast) var(--ease-out);
}
.nav.scrolled { box-shadow: var(--sh-sm); }
.nav-inner {
  max-width: var(--max-w-page);
  margin: 0 auto;
  padding: 0 var(--s-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  color: var(--text-primary);
  flex-shrink: 0;
}
.nav-brand img { display: block; height: 22px; width: auto; }
.nav-brand:hover { opacity: 0.85; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a:not(.btn) {
  display: inline-block;
  padding: var(--s-2) var(--s-3);
  font-size: var(--t-small);
  color: var(--text-secondary);
  border-radius: var(--r-sm);
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.nav-links a:not(.btn):hover {
  color: var(--text-primary);
  background: var(--bg-subtle);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: var(--s-2);
  color: var(--text-primary);
  border-radius: var(--r-sm);
}

/* Language switcher public — pills 24x compactes FR/DE/IT.
   `aria-current="true"` marque la langue active visuellement. POST forms
   appellent /i18n/setlang/ avec next=request.path → Django pose le cookie
   django_language puis redirige sur next. */
.nav-langswitch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding-left: var(--s-2);
  margin-left: var(--s-2);
  border-left: 1px solid var(--border-subtle);
}
.nav-langswitch form { margin: 0; padding: 0; }
.lang-pill {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: var(--t-tiny);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 6px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.lang-pill:hover { color: var(--text-primary); background: var(--bg-subtle); }
.lang-pill--active {
  color: var(--text-primary);
  background: var(--bg-muted);
  border-color: var(--border-subtle);
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--s-4);
    gap: var(--s-1);
    box-shadow: var(--sh-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: var(--s-3) var(--s-4); }
  .nav-langswitch {
    border-left: 0;
    border-top: 1px solid var(--border-subtle);
    margin-left: 0;
    margin-top: var(--s-2);
    padding-left: 0;
    padding-top: var(--s-3);
    justify-content: flex-start;
  }
}

/* ========== Buttons ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  font-size: var(--t-small);
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--accent);
  color: var(--text-on-accent);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--text-on-accent); }
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-default);
}
.btn-ghost:hover { background: var(--bg-subtle); color: var(--text-primary); }
.btn-lg { padding: var(--s-4) var(--s-6); font-size: var(--t-body); }

/* ========== Hero ========================================== */

.hero {
  padding: var(--s-24) 0 var(--s-20);
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  margin-bottom: var(--s-4);
  padding: var(--s-1) var(--s-3);
  font-family: var(--mono);
  font-size: var(--t-caption);
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
}
.hero h1 {
  font-size: clamp(40px, 6vw, var(--t-display));
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin: 0 auto var(--s-6);
}
.hero h1 .accent { color: var(--accent); font-style: italic; }
.hero-sub {
  max-width: 56ch;
  margin: 0 auto var(--s-8);
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.hero-cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
}
.hero-trust {
  margin-top: var(--s-6);
  font-size: var(--t-small);
  color: var(--text-tertiary);
}

/* ========== Sections génériques ============================ */

.section {
  padding: var(--s-20) 0;
}
.section-head {
  text-align: center;
  margin-bottom: var(--s-12);
}
.section-head h2 {
  font-size: var(--t-h1);
  letter-spacing: -0.025em;
}
.section-head p {
  max-width: 56ch;
  margin: var(--s-3) auto 0;
  color: var(--text-secondary);
}

/* ========== Page header (pages institutionnelles) ========== */

.page-hero {
  padding: var(--s-16) 0 var(--s-12);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, var(--t-h1));
  margin-bottom: var(--s-3);
}
.page-hero .lede {
  max-width: 64ch;
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 0;
}
.page-meta {
  margin-top: var(--s-4);
  font-family: var(--mono);
  font-size: var(--t-caption);
  color: var(--text-tertiary);
}

/* ========== Hero éditorial (about, landing future) ========= */

.hero-editorial {
  padding: var(--s-20) 0 var(--s-16);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}
.hero-editorial .eyebrow {
  display: inline-block;
  margin-bottom: var(--s-5);
  padding: var(--s-1) var(--s-4);
  font-family: var(--mono);
  font-size: var(--t-caption);
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  letter-spacing: 0.02em;
}
.hero-editorial h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 22ch;
  margin: 0 0 var(--s-6);
}
.hero-editorial h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.hero-editorial .lede {
  max-width: 56ch;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Capture hero : framée plate (pas de perspective 3D — registre artisan
   suisse, pas startup tech ; verdict Graphic Designer 2026-05). */
.hero-screenshot {
  max-width: 1040px;
  margin: var(--s-12) auto 0;
  padding: 0 var(--s-4);
}
.hero-screenshot picture {
  display: block;
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow: var(--sh-lg);
  transition: box-shadow var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out);
}
.hero-screenshot:hover picture {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -16px rgb(0 0 0 / 0.18);
}
.hero-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 720px) {
  .hero-screenshot { margin-top: var(--s-8); }
}

/* ========== Section bands (alternating bg pour rythme) ===== */

.section-band {
  padding: var(--s-16) 0;
  background: var(--bg-app);
}
.section-band--alt {
  background: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
}
.section-band > .container > h2 {
  font-size: clamp(24px, 3vw, var(--t-h1));
  letter-spacing: -0.025em;
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--border-subtle);
}
.section-band .section-prose {
  max-width: 70ch;
}

/* ========== Timeline (parcours, milestones) ================ */

.timeline {
  list-style: none;
  padding: 0;
  margin: var(--s-10) 0;
  position: relative;
  max-width: 720px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 88px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--border-default);
}
.timeline > li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--s-8);
  padding: var(--s-4) 0;
  position: relative;
  margin-bottom: 0;
}
.timeline > li::before {
  content: '';
  position: absolute;
  left: 81px;
  top: var(--s-5);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-app);
  border: 3px solid var(--accent);
  z-index: 1;
}
.section-band--alt .timeline > li::before { background: var(--bg-surface); }
.timeline-year {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  font-feature-settings: 'tnum';
  text-align: right;
  padding-right: var(--s-3);
  align-self: start;
  padding-top: var(--s-1);
}
.timeline-body h4 {
  margin: 0 0 var(--s-1);
  font-size: var(--t-h4);
  font-weight: 600;
}
.timeline-body p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--t-small);
  line-height: 1.55;
}

/* ========== CTA band (peak-end, fullwidth dark) ============ */

.cta-band {
  padding: var(--s-20) 0;
  background: var(--bg-inverse);
  color: var(--text-on-dark);
  text-align: center;
}
.cta-band h2 {
  color: var(--text-on-dark);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin: 0 auto var(--s-5);
}
.cta-band p {
  max-width: 56ch;
  margin: 0 auto var(--s-8);
  color: var(--text-tertiary);
  font-size: 17px;
  line-height: 1.55;
}
.cta-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
  align-items: center;
}
.cta-band .btn-ghost {
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.2);
}
.cta-band .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ========== Sections signature (différenciateurs déployés) ====
   Tête d'affiche : 1 capture réelle + preuve factuelle. Le socle
   (features attendues) vit plus bas en liste compacte. Principe
   éditorial : mettre en avant = hiérarchiser, pas accumuler. */

.signature { padding: var(--s-20) 0; background: var(--bg-app); }
.signature--alt {
  background: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
}

.signature-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s-12);
  align-items: center;
}
.signature-split--reverse .signature-text { order: 2; }
@media (max-width: 880px) {
  .signature-split { grid-template-columns: 1fr; gap: var(--s-8); }
  .signature-split--reverse .signature-text { order: 0; }
}

.signature-eyebrow {
  display: inline-block;
  margin-bottom: var(--s-3);
  font-family: var(--mono);
  font-size: var(--t-caption);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.signature-text h2 {
  font-size: clamp(24px, 3vw, var(--t-h2));
  letter-spacing: -0.025em;
  margin-bottom: var(--s-4);
}
.signature-lede {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: var(--s-6);
  max-width: 50ch;
}
.signature-points { list-style: none; padding: 0; margin: 0; }
.signature-points li {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-2) 0;
  font-size: var(--t-small);
  color: var(--text-primary);
  align-items: flex-start;
}
.signature-points [data-lucide],
.signature-points svg.lucide { color: var(--accent); margin-top: 2px; flex-shrink: 0; }

/* Plans visuels : intro centrée + 2 captures côte à côte */
.signature-stack { text-align: center; }
.signature-stack .signature-lede { margin-left: auto; margin-right: auto; }
/* Captures empilées pleine largeur : parc puis hangar. Évite la bagarre de ratios
   (deux plans larges) — chacun s'affiche à sa hauteur naturelle, sans vide. */
.shot-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  margin-top: var(--s-10);
  text-align: left;
}

/* Capture framée plate réutilisable (signature) — zéro perspective */
.shot {
  margin: 0;
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow: var(--sh-lg);
}
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption {
  padding: var(--s-2) var(--s-4);
  font-family: var(--mono);
  font-size: var(--t-caption);
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
}

/* Aperçu illustratif d'une fonction (immatriculation, annonce AutoScout24).
   Pas une capture : reflète le FORMAT réel du parcours, avec des données
   d'exemple. Toujours `aria-hidden` — le texte à côté porte le sens. */
.demo-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-6);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  box-shadow: var(--sh-lg);
  max-width: 460px;
  width: 100%;
  justify-self: center;
}
.demo-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--border-subtle);
}
.demo-card-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  font-family: var(--mono);
  font-size: var(--t-caption);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.demo-card-tag svg.lucide,
.demo-card-tag [data-lucide] { width: 14px; height: 14px; }
.demo-card-status {
  font-size: var(--t-caption);
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 2px var(--s-2);
  border-radius: var(--r-full);
  white-space: nowrap;
}
.demo-card-status--ok { color: var(--success); }
.demo-card-choice {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  font-size: var(--t-small);
  color: var(--text-secondary);
}
.demo-card-choice svg.lucide,
.demo-card-choice [data-lucide] { width: 16px; height: 16px; flex-shrink: 0; }
.demo-card-choice--active {
  border-color: var(--accent);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--accent);
}
.demo-card-choice--active svg.lucide,
.demo-card-choice--active [data-lucide] { color: var(--accent); }
.demo-card-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.demo-card-label { font-size: var(--t-small); color: var(--text-secondary); min-width: 0; }
.demo-card-value {
  font-family: var(--mono);
  font-size: var(--t-small);
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.demo-card-note {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-small);
  color: var(--text-primary);
}
.demo-card-note svg.lucide,
.demo-card-note [data-lucide] { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.demo-card-foot {
  padding-top: var(--s-3);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--mono);
  font-size: var(--t-caption);
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
}

/* Bandeau preuve sociale — chiffres en consensus (mimétisme). Fond sombre =
   rupture visuelle + autorité ; chiffres mono tabular, gros. */
.proof-band {
  padding: var(--s-10) 0;
  background: var(--bg-inverse);
  color: var(--text-on-dark);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6) var(--s-8);
  text-align: center;
}
.proof-stat {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.proof-num {
  font-family: var(--mono);
  font-size: clamp(26px, 4vw, var(--t-display));
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text-on-dark);
}
.proof-label {
  font-size: var(--t-small);
  line-height: 1.4;
  color: var(--text-on-dark);
  opacity: 0.72;
}
@media (max-width: 720px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== Socle (features attendues, liste compacte) ======== */

.socle { padding: var(--s-16) 0; }
.socle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-1) var(--s-10);
  margin-top: var(--s-8);
}
.socle-item {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: flex-start;
}
.socle-item [data-lucide],
.socle-item svg.lucide { color: var(--text-secondary); margin-top: 3px; flex-shrink: 0; }
.socle-item .socle-body { min-width: 0; }
.socle-item h3 { font-size: var(--t-h4); margin: 0 0 2px; }
.socle-item p { font-size: var(--t-small); color: var(--text-secondary); margin: 0; }

/* ========== Section « En 3 gestes » (preuve de simplicité) ===== */

.steps > .container > h2 {
  font-size: clamp(24px, 3vw, var(--t-h1));
  letter-spacing: -0.025em;
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--border-subtle);
}
.step--feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s-10);
  align-items: center;
  margin-top: var(--s-10);
}
@media (max-width: 880px) {
  .step--feature { grid-template-columns: 1fr; gap: var(--s-8); }
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  margin-top: var(--s-8);
}
@media (max-width: 640px) {
  .steps-grid { grid-template-columns: 1fr; }
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: var(--s-3);
  font-family: var(--mono);
  font-size: var(--t-h4);
  font-weight: 600;
  color: var(--text-on-accent);
  background: var(--accent);
  border-radius: var(--r-full);
}
.step h3 { font-size: var(--t-h3); margin-bottom: var(--s-2); }
.step p { font-size: var(--t-small); color: var(--text-secondary); margin: 0; max-width: 46ch; }

/* ========== Certifications (pills factuelles) ================= */

.cert-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: var(--s-5) 0 0;
  padding: 0;
  list-style: none;
}
.cert-pills li {
  margin: 0;
  padding: var(--s-1) var(--s-3);
  font-family: var(--mono);
  font-size: var(--t-caption);
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
}

/* ========== Items icône + texte (points « notre garage ») ================= */
.swiss-item {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
}
.swiss-item [data-lucide],
.swiss-item svg.lucide { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.swiss-item .swiss-body { min-width: 0; }
.swiss-item h3 { font-size: var(--t-h4); margin: 0 0 2px; }
.swiss-item p { font-size: var(--t-small); color: var(--text-secondary); margin: 0; }

/* ========== FAQ (objections — 2 colonnes) ================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--s-8) var(--s-10);
  margin-top: var(--s-8);
}
.faq-item h3 { font-size: var(--t-h4); margin: 0 0 var(--s-2); }
.faq-item p {
  font-size: var(--t-small);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
  max-width: 60ch;
}

/* ========== Home — refonte 2026-09-29 ========================
   Grilles à nombre d'éléments pair / carré : aucune carte orpheline
   (4 → 2×2, 9 → 3×3, 6 FAQ → 3×2). Repli en 1 colonne sur mobile. */

.hero-editorial--center .container { text-align: center; }
.hero-editorial--center h1,
.hero-editorial--center .lede { margin-left: auto; margin-right: auto; }
.hero-editorial--center .hero-cta-row { margin-top: var(--s-8); }
.hero-editorial--center .hero-trust { margin-top: var(--s-5); }

.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6);
  margin-top: var(--s-8);
}
.grid-2x2 > .info-card { margin-bottom: 0; }
@media (max-width: 720px) {
  .grid-2x2 { grid-template-columns: 1fr; }
}

.socle-grid--3x3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 880px) {
  .socle-grid--3x3 { grid-template-columns: 1fr; }
}
.socle-item--swiss [data-lucide],
.socle-item--swiss svg.lucide { color: var(--accent); }

.faq-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 880px) {
  .faq-grid--3 { grid-template-columns: 1fr; }
}

/* Cartes IA : le plan concerné est dit d'emblée (honnêteté sur l'accès) */
.ia-card { display: flex; flex-direction: column; gap: var(--s-2); }
.ia-card h3 { display: flex; align-items: center; gap: var(--s-2); margin-bottom: 0; }
.ia-card h3 svg.lucide,
.ia-card h3 [data-lucide] { color: var(--accent); flex-shrink: 0; }
.ia-card-plan {
  align-self: flex-start;
  padding: 2px var(--s-2);
  font-family: var(--mono);
  font-size: var(--t-caption);
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
}

/* Notre garage : citation + trois points, côte à côte */
.garage-proof {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-10);
  align-items: start;
  margin-top: var(--s-8);
}
@media (max-width: 880px) {
  .garage-proof { grid-template-columns: 1fr; gap: var(--s-8); }
}
.garage-quote {
  margin-bottom: 0;
  padding: var(--s-8);
  border-left: 3px solid var(--accent);
}
.garage-quote h3 { display: flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-4); }
.garage-quote .garage-quote-text {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-primary);
  margin-bottom: var(--s-6);
}
.garage-quote .garage-quote-caption {
  font-size: var(--t-caption);
  color: var(--text-tertiary);
  margin: 0;
}
.garage-quote .cert-pills { margin-top: var(--s-2); }
.garage-points { display: flex; flex-direction: column; gap: var(--s-6); }

/* Tarifs */
.billing-toggle-wrap { text-align: center; margin: var(--s-8) 0; }
.billing-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--border-default);
  border-radius: var(--r-full);
  background: var(--bg-surface);
}
.toggle-btn {
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  padding: var(--s-2) var(--s-5);
  border-radius: var(--r-full);
  font-size: var(--t-small);
  font-weight: 500;
  cursor: pointer;
}
.toggle-btn.is-active { background: var(--text-primary); color: var(--text-on-dark); }
.toggle-save { color: var(--success); font-family: var(--mono); font-size: var(--t-caption); }
.toggle-btn.is-active .toggle-save { color: var(--text-on-dark); }
.price-card .price-card-desc {
  color: var(--text-tertiary);
  font-size: var(--t-small);
  margin-bottom: var(--s-4);
}
.price-card .price[hidden] { display: none; }
.price-card .price-highlight {
  margin: var(--s-4) 0 0;
  padding: var(--s-3) var(--s-4);
  font-size: var(--t-small);
  color: var(--text-primary);
  background: var(--bg-subtle);
  border-radius: var(--r-md);
  line-height: 1.45;
}
/* Même hauteur sur les 3 cartes côte à côte : les listes démarrent alignées. */
@media (min-width: 881px) {
  .price-card .price-highlight { min-height: calc(3 * 1.45em + 2 * var(--s-3)); }
}
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6);
  max-width: 980px;
  margin: var(--s-8) auto 0;
}
@media (max-width: 720px) {
  .options-grid { grid-template-columns: 1fr; }
}
.option-card {
  margin-bottom: 0;
  padding: var(--s-6);
  border-left: 3px solid var(--accent);
}
.option-card h3 { margin: var(--s-2) 0 var(--s-3); }
.option-card h3 small { font-weight: 400; color: var(--text-secondary); }
.pricing-reassurance {
  text-align: center;
  margin-top: var(--s-6);
  font-size: var(--t-small);
  color: var(--text-tertiary);
}
.pricing-reassurance svg.lucide,
.pricing-reassurance [data-lucide] { width: 16px; height: 16px; vertical-align: -3px; }

.cta-band .cta-band-note { font-size: var(--t-small); margin-top: calc(-1 * var(--s-4)); }
/* Import gratuit pendant l'essai : levier de conversion (essayer avec SES
   données) — plus contrasté que la note, juste avant les boutons. */
.cta-band .cta-band-import {
  display: flex;
  width: fit-content;
  margin: 0 auto var(--s-6);
  align-items: center;
  gap: var(--s-2);
  max-width: 100%;
  padding: var(--s-2) var(--s-4);
  font-size: var(--t-small);
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-full);
}
.cta-band .cta-band-import svg.lucide,
.cta-band .cta-band-import [data-lucide] { width: 16px; height: 16px; flex-shrink: 0; }

/* Micro-délice : halo oxblood au focus clavier du CTA primaire */
.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--accent-soft);
}

/* ========== Cards & content blocks ========================= */

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: box-shadow var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.card:hover { box-shadow: var(--sh-md); border-color: var(--border-default); }
.card h3 { font-size: var(--t-h3); margin-bottom: var(--s-2); }
.card p { font-size: var(--t-small); color: var(--text-secondary); margin: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-6); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-6); }

/* ========== Pricing (depuis context processor) ============= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-6);
  max-width: 980px;
  margin: 0 auto;
}
.price-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.price-card .badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--s-1) var(--s-3);
  font-family: var(--mono);
  font-size: var(--t-caption);
  background: var(--accent);
  color: var(--text-on-accent);
  border-radius: var(--r-full);
}
.price-card h3 { font-size: var(--t-h3); }
.price-card .price {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-feature-settings: 'tnum';
}
.price-card .price small {
  font-size: var(--t-small);
  font-weight: 400;
  color: var(--text-tertiary);
}
.price-card ul { list-style: none; padding: 0; margin: var(--s-6) 0; }
.price-card li {
  display: flex;
  gap: var(--s-2);
  padding: var(--s-2) 0;
  font-size: var(--t-small);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
.price-card li::before { content: '✓'; color: var(--success); font-weight: 600; }
.price-card li:last-child { border-bottom: 0; }
.price-card .btn { margin-top: auto; }

/* ========== Accordion (FAQ / Aide) ========================= */

.accordion details {
  border-bottom: 1px solid var(--border-subtle);
}
.accordion details:last-of-type { border-bottom: 0; }
.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: var(--s-5) 0;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: '+';
  font-family: var(--mono);
  font-size: 20px;
  color: var(--text-tertiary);
  transition: transform var(--dur-med) var(--ease-out);
}
.accordion details[open] summary::after { content: '−'; transform: rotate(180deg); }
.accordion .acc-body {
  padding: 0 0 var(--s-5);
  color: var(--text-secondary);
}

/* ========== Table of Contents (sticky, pages legales) ====== */

.toc {
  position: sticky;
  top: calc(var(--nav-h) + var(--s-4));
  align-self: start;
  border-left: 2px solid var(--border-subtle);
  padding: var(--s-1) 0 var(--s-1) var(--s-4);
}
.toc h4 {
  font-size: var(--t-caption);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: var(--s-3);
}
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: var(--s-2); }
.toc a {
  display: block;
  padding: var(--s-1) 0;
  font-size: var(--t-small);
  color: var(--text-secondary);
}
.toc a:hover, .toc a.active { color: var(--text-primary); }

.layout-with-toc {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--s-12);
  align-items: start;
}
@media (max-width: 900px) {
  .layout-with-toc { grid-template-columns: 1fr; }
  .toc { position: static; border-left: 0; padding-left: 0; border-bottom: 1px solid var(--border-subtle); padding-bottom: var(--s-4); margin-bottom: var(--s-6); }
}

/* ========== Footer ========================================= */

.footer {
  margin-top: var(--s-24);
  padding: var(--s-16) 0 var(--s-8);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-12);
  margin-bottom: var(--s-12);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
.footer h4 {
  font-size: var(--t-caption);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: var(--s-4);
}
.footer-col p {
  font-size: var(--t-small);
  color: var(--text-secondary);
  max-width: 32ch;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: var(--s-2); }
.footer-col a {
  font-size: var(--t-small);
  color: var(--text-secondary);
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--t-caption);
  color: var(--text-tertiary);
  font-family: var(--mono);
}

/* ========== Scroll-margin pour anchors ===================== */

[id] { scroll-margin-top: calc(var(--nav-h) + var(--s-4)); }

/* ========== Compat shims (pages legacy en attente refonte) = */
/* À supprimer après Vague C — anciennes classes Bootstrap-era */

/* Mini grid Bootstrap-like — assure que les pages héritées restent lisibles */
.row { display: flex; flex-wrap: wrap; gap: var(--s-6); margin: 0; }
.row > [class*="col-"] { flex: 1 1 280px; min-width: 0; padding: 0; }
.col-lg-8, .col-md-8 { flex: 2 1 480px; }
.col-lg-4, .col-md-4 { flex: 1 1 240px; }
.col-lg-6, .col-md-6 { flex: 1 1 320px; }
.col-lg-10, .col-md-10 { flex: 1 1 720px; }
.col-lg-12, .col-12 { flex: 1 1 100%; }
.mb-3 { margin-bottom: var(--s-3); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-5 { margin-bottom: var(--s-6); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-6); }
.text-center { text-align: center; }
.lead { font-size: 17px; color: var(--text-secondary); }
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-size: clamp(32px, 5vw, var(--t-display));
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.fw-bold { font-weight: 600; }
.text-decoration-none { text-decoration: none; }
.btn-primary-gradient { background: var(--accent); color: var(--text-on-accent); padding: var(--s-3) var(--s-5); border-radius: var(--r-md); display: inline-flex; gap: var(--s-2); }
.btn-primary-gradient:hover { background: var(--accent-hover); color: var(--text-on-accent); }
.text-accent { color: var(--accent); }


.page-header {
  padding: var(--s-16) 0 var(--s-12);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}
.page-header h1 {
  font-size: clamp(32px, 4vw, var(--t-h1));
  margin-bottom: var(--s-3);
}
.page-header .lead {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 64ch;
}

.highlight-box {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: var(--s-4) var(--s-5);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: var(--s-6) 0;
}
.highlight-box p:last-child { margin: 0; }

.info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid transparent;
  border-radius: var(--r-lg);
  padding: var(--s-6);
  margin-bottom: var(--s-4);
  transition: border-color var(--dur-fast) var(--ease-out);
}
/* Micro-délice : liseré oxblood révélé au hover (Pentagram editorial) */
.info-card:hover { border-color: var(--border-default); border-left-color: var(--accent); }
.info-card h3, .info-card h4 { font-size: var(--t-h4); margin-bottom: var(--s-2); }
.info-card p { font-size: var(--t-small); color: var(--text-secondary); margin: 0; }

.feature-list { list-style: none; padding: 0; }
.feature-list li {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: flex-start;
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before {
  content: '✓';
  color: var(--success);
  font-weight: 600;
  margin-top: 2px;
}

.alert-info {
  padding: var(--s-3) var(--s-4);
  background: rgba(37, 99, 235, 0.06);
  border-left: 3px solid var(--info);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--t-small);
  color: var(--text-secondary);
}

/* ========== Lucide icons (data-lucide) ===================== */

[data-lucide], svg.lucide {
  display: inline-block;
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
  vertical-align: -3px;
  flex-shrink: 0;
}
h1 [data-lucide], h2 [data-lucide], h3 [data-lucide], h4 [data-lucide],
h1 svg.lucide, h2 svg.lucide, h3 svg.lucide, h4 svg.lucide {
  display: inline-block;
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
  color: var(--accent);
  margin-right: var(--s-2);
  vertical-align: -5px;
}
.feature-list [data-lucide], .feature-list svg.lucide {
  width: 18px;
  height: 18px;
  color: var(--success);
  margin-top: 4px;
}
.info-card [data-lucide], .info-card svg.lucide {
  color: var(--accent);
}
.btn [data-lucide], .btn svg.lucide {
  width: 16px;
  height: 16px;
}

/* ========== Animations subtiles ============================ */

.fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ─── Catalogue public ─── */
.public-garage-hero { padding: var(--s-12) 0 var(--s-8); border-bottom: 1px solid var(--bg-muted); }
.public-garage-logo { max-height: 56px; width: auto; margin-bottom: var(--s-3); }

/* .public-accent-scope : simple hook de scope, pas de règle propre — la couleur */
/* de marque du garage est posée en style inline (--accent) sur cet élément et */
/* redescend par cascade sur tous les usages de var(--accent) qu'il contient. */

.public-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--s-3);
  align-items: end;
  padding: var(--s-6) 0;
}
.public-filter { display: flex; flex-direction: column; gap: var(--s-1); }
.public-filter > span { font-size: var(--t-caption); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-tertiary); }
.public-filter select, .public-filter input {
  padding: var(--s-2) var(--s-3);
  border: 1px solid var(--bg-muted);
  border-radius: var(--r-sm);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: var(--t-body);
}
/* Halo neutre fixe (pas color-mix, non utilisé ailleurs dans public.css) : */
/* l'outline porte déjà l'accent scopé par garage, le halo reste neutre. */
.public-filter select:focus-visible,
.public-filter input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.12);
}
.public-filter-search { grid-column: 1 / -1; }

.public-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-6);
  padding: var(--s-6) 0 var(--s-16);
  list-style: none;
  margin: 0;
}

.public-card {
  background: var(--bg-surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.public-card:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.public-card-link { display: block; color: inherit; text-decoration: none; }

.public-card-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-subtle); }
.public-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.public-card-noimg { width: 100%; height: 100%; display: block; }
.public-card-badge {
  position: absolute; top: 10px; left: 10px; padding: 3px 9px;
  background: var(--accent); color: var(--text-on-accent);
  font-size: 11px; font-weight: 600; border-radius: 999px; z-index: 1;
}
/* Diff vitrine (spec 2026-07-24 § 5) : véhicule réservé visible 48h avec ce
   badge honnête au lieu de disparaître silencieusement du catalogue. */
.public-card-badge-reserve { background: var(--accent-soft); color: var(--accent); }
/* Diff vitrine (spec 2026-07-24 § 5) : badge « Réservé » INLINE pour le teaser
   accueil, qui n'a pas de conteneur photo (.public-card-badge est absolute). */
.public-card-reserve {
  align-self: flex-start; padding: 2px 8px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 11px; font-weight: 600; border-radius: 999px;
}

.public-card-body { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); }
.public-card-title { font-size: var(--t-h3); font-weight: 600; margin: 0; }
/* Diff vitrine (Task 3, 2026-07-24) : ancien prix barré si baisse réelle ≤30j
   (cf. core.services.price_drop, règle honnête Biais E-114). */
.public-card-price-old { font-size: var(--t-small); font-weight: 500; color: var(--text-tertiary); margin: 0; font-family: var(--mono); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.public-card-price { font-size: var(--t-h2); font-weight: 600; color: var(--accent); margin: 0; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.public-card-trust {
  display: inline-block; align-self: flex-start; padding: 2px 8px;
  background: var(--bg-subtle); color: var(--accent); border: 1px solid var(--accent);
  font-size: 11px; font-weight: 600; border-radius: 999px;
}
.public-card-meta { display: flex; flex-wrap: wrap; gap: var(--s-2); color: var(--text-tertiary); font-size: var(--t-small); margin: 0; }
.public-card-meta span:not(:last-child)::after { content: " · "; margin-left: var(--s-2); }

.public-empty { padding: var(--s-12) 0; text-align: center; color: var(--text-secondary); }

/* ─── Galerie showroom (vehicle_detail) ─── */
.public-back { display: inline-block; color: var(--text-secondary); text-decoration: none; margin: var(--s-6) 0; }
.public-back:hover { color: var(--accent); }

.public-gallery { margin-bottom: var(--s-8); }
.public-gallery-hero {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.public-gallery-hero img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; display: block; }
.public-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.public-gallery-prev { left: var(--s-3); }
.public-gallery-next { right: var(--s-3); }
.public-gallery-counter {
  position: absolute;
  bottom: var(--s-3);
  right: var(--s-3);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-full);
  font-size: var(--t-small);
  font-variant-numeric: tabular-nums;
}
.public-gallery-strip {
  display: flex;
  gap: var(--s-2);
  margin-top: var(--s-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--s-2);
}
.public-gallery-thumb {
  flex: 0 0 96px;
  aspect-ratio: 4 / 3;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-subtle);
  cursor: pointer;
  padding: 0;
  scroll-snap-align: start;
}
.public-gallery-thumb.active { border-color: var(--accent); }
.public-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.public-detail { padding-top: var(--s-6); padding-bottom: var(--s-16); }
.public-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--s-8);
}
@media (max-width: 768px) {
  .public-detail-grid { grid-template-columns: 1fr; }
}

.public-detail-title { font-size: var(--t-display); margin: 0 0 var(--s-2); }
/* Diff vitrine (Task 3, 2026-07-24) : ancien prix barré si baisse réelle ≤30j
   (cf. core.services.price_drop, règle honnête Biais E-114). */
.public-detail-price-old { font-size: var(--t-h3); font-weight: 500; color: var(--text-tertiary); margin: 0 0 var(--s-1); font-family: var(--mono); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.public-detail-price { font-size: var(--t-h1); color: var(--accent); font-weight: 600; margin: 0 0 var(--s-4); font-family: var(--mono); font-variant-numeric: tabular-nums; }

.public-detail-trust { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-6); }
/* Pas de color-mix (non utilisé ailleurs dans public.css) : fond neutre générique */
/* + texte/bordure accent, pour rester lisible même si l'accent scopé est très clair. */
.public-trust-badge {
  display: inline-block; padding: 4px 10px;
  background: var(--bg-subtle); color: var(--accent); border: 1px solid var(--accent);
  font-size: 13px; font-weight: 600; border-radius: 999px;
}
/* Diff vitrine (spec 2026-07-24 § 5) : même badge honnête que la carte liste. */
.public-trust-badge-reserve { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }

.public-detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2) var(--s-6);
  padding: var(--s-4);
  background: var(--bg-subtle);
  border-radius: var(--r-md);
  margin: 0 0 var(--s-8);
}
@media (max-width: 640px) { .public-detail-specs { grid-template-columns: 1fr; } }
.public-detail-spec dt {
  display: block;
  color: var(--text-tertiary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 2px;
}
.public-detail-spec dd {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.public-detail-desc { margin: 0 0 var(--s-8); }
.public-detail-desc h2 { font-size: var(--t-h3); margin: 0 0 var(--s-3); }
.public-detail-desc p { color: var(--text-secondary); }

.public-detail-options h2 { font-size: var(--t-h3); margin: 0 0 var(--s-3); }
.public-detail-options ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s-2); margin: 0 0 var(--s-8); }
.public-detail-options li { font-size: var(--t-small); color: var(--text-secondary); }
.public-detail-options li em { color: var(--text-tertiary); font-style: normal; }

.public-detail-side { position: sticky; top: var(--s-6); align-self: start; }
.public-detail-card { background: var(--bg-surface); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--sh-sm); }
.public-detail-card h3 { margin: 0 0 var(--s-3); font-size: var(--t-h3); }
.public-detail-card p { margin: 0 0 var(--s-3); color: var(--text-secondary); font-size: var(--t-small); }
.public-detail-cta { width: 100%; justify-content: center; display: inline-flex; }

.public-detail-related { margin-top: var(--s-12); border-top: 1px solid var(--bg-muted); padding-top: var(--s-8); }
.public-detail-related h2 { font-size: var(--t-h2); margin: 0 0 var(--s-6); }

.public-lightbox {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
}
.public-lightbox[hidden] { display: none; }
.public-lightbox img { max-width: 95vw; max-height: 95vh; object-fit: contain; }
.public-lightbox button {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}

/* ─── Réservation en ligne — gestion visiteur (E-184 PR6) ─── */
.reservation-recap {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}

.reservation-statut {
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  border-left: 3px solid var(--border-default);
  background: var(--bg-subtle);
}
.reservation-statut strong { display: block; font-size: var(--t-h4); margin-bottom: var(--s-1); color: var(--text-primary); }
.reservation-statut p { margin: 0; color: var(--text-secondary); font-size: var(--t-small); }
.reservation-statut--attente { border-left-color: var(--info); }
.reservation-statut--acceptee { border-left-color: var(--success); background: rgba(5, 150, 105, 0.06); }
.reservation-statut--refusee { border-left-color: var(--warning); background: rgba(217, 119, 6, 0.06); }
.reservation-statut--neutre { border-left-color: var(--text-tertiary); }

.reservation-recap__details {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.reservation-recap__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--bg-muted);
}
.reservation-recap__row:last-child { border-bottom: 0; padding-bottom: 0; }
.reservation-recap__row dt {
  flex: 0 0 160px;
  font-size: var(--t-caption);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
}
.reservation-recap__row dd { margin: 0; flex: 1 1 240px; color: var(--text-primary); font-size: var(--t-small); }
.reservation-recap__erreur { border-left-color: var(--warning); }

.reservation-actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--bg-muted);
}
.reservation-actions__modifier, .reservation-actions__annuler {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: flex-start;
}
.reservation-actions__field { display: flex; flex-direction: column; gap: var(--s-1); }
.reservation-actions__field label { font-size: var(--t-small); color: var(--text-secondary); }
.reservation-actions__field input[type="date"] {
  padding: var(--s-2) var(--s-3);
  border: 1px solid var(--bg-muted);
  border-radius: var(--r-sm);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: var(--t-body);
}
.reservation-actions__plages { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-1); }
.reservation-actions__plages legend { font-size: var(--t-small); color: var(--text-secondary); padding: 0; margin-bottom: var(--s-1); }
.reservation-actions__plages label { display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-body); color: var(--text-primary); }
.reservation-actions__hint { margin: 0; font-size: var(--t-caption); color: var(--text-tertiary); }

/* ========== Consentement mesure publicitaire (pixel Meta) ======
   Bandeau bas de page, non bloquant (la page reste lisible), deux boutons
   de même poids : aucun « Refuser » caché ou grisé. */
.consent-banner {
  position: fixed;
  left: var(--s-4);
  right: var(--s-4);
  bottom: var(--s-4);
  z-index: 60;
  max-width: 760px;
  margin: 0 auto;
  padding: var(--s-4) var(--s-5);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}
.consent-banner[hidden] { display: none; }
.consent-inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.consent-text {
  margin: 0;
  flex: 1;
  font-size: var(--t-small);
  color: var(--text-secondary);
  line-height: 1.5;
}
.consent-text a { color: var(--text-primary); text-decoration: underline; }
.consent-actions { display: flex; gap: var(--s-2); flex-shrink: 0; }
@media (max-width: 640px) {
  .consent-inner { flex-direction: column; align-items: stretch; }
  .consent-actions > .btn { flex: 1; justify-content: center; }
}
