/* ═══════════════════════════════════════════════════════════════
   TRENDYCAR — feuille de style du site public
   Direction « Clair & premium » : fond lumineux, beaucoup d'air,
   boutons en pastille, cartes posées sur une ombre douce, et le
   rouge de la marque réservé aux accents.
   Écrite d'un bloc : elle remplace les anciennes couches empilées.
   ═══════════════════════════════════════════════════════════════ */

:root {
  color-scheme: light;

  --paper:  #ffffff;
  --page:   #fbfaf8;
  --soft:   #f5f4f1;
  --line:   #edece7;
  --line-2: #ddd9d1;

  --ink:    #1a1a17;
  --muted:  #6c6a61;
  --dim:    #8d8b82;

  --accent:      #d10f1f;
  --accent-dark: #a60c18;
  --accent-soft: #fdf2f3;

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --rad:    14px;
  --rad-lg: 20px;
  --pill:   999px;

  --shadow:    0 3px 16px rgba(26, 26, 23, .07);
  --shadow-up: 0 10px 30px rgba(26, 26, 23, .11);

  --gut:  clamp(18px, 4vw, 60px);
  --band: clamp(56px, 8vw, 110px);
  --head: 132px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
section[id] { scroll-margin-top: var(--head); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px;
  font-size: 13px; font-weight: 700; text-decoration: none; border-radius: 0 0 var(--rad) 0;
}
.skip:focus { left: 0; }

/* ── Primitives ──────────────────────────────────────────── */
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gut); }
.band { padding-block: var(--band); }
.band--tight { padding-block: clamp(36px, 5vw, 68px); }
.rule-top { border-top: 1px solid var(--line); }

.ink-band { background: var(--ink); color: #fff; }
.ink-band .eyebrow { color: #b3b0a6; }
.ink-band .lede { color: #c9c6bd; }

.eyebrow {
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 16px;
}
.eyebrow b { color: var(--accent); font-weight: 700; }
.ink-band .eyebrow b { color: #ff6b74; }

h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-weight: 800; letter-spacing: -.035em; }
h1 { font-size: clamp(2.2rem, 5.6vw, 3.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); line-height: 1.1; letter-spacing: -.032em; }
h3 { font-size: 1.1rem; line-height: 1.3; letter-spacing: -.022em; }
h4 { font-size: 1rem; letter-spacing: -.02em; }

.lede { font-size: clamp(1rem, 1.4vw, 1.08rem); line-height: 1.72; color: var(--muted); max-width: 58ch; margin: 18px 0 0; }
.data, .mono { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* ── Boutons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 28px; border-radius: var(--pill);
  font-size: 13.5px; font-weight: 700; letter-spacing: .005em;
  text-decoration: none; border: 1px solid transparent;
  background: var(--ink); color: #fff; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { background: #000; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--paper); border-color: var(--ink); }
.btn--sm { padding: 11px 20px; font-size: 12.5px; }
.ink-band .btn { background: #fff; color: var(--ink); }
.ink-band .btn:hover { background: #fff; }
.ink-band .btn--ghost { background: transparent; color: #fff; border-color: #44433c; }
.ink-band .btn--ghost:hover { border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }

/* ═══════════════ EN-TÊTE ═══════════════ */
.utility { background: var(--ink); color: #b3b0a6; font-size: 12px; }
.utility-in { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; justify-content: space-between; padding-block: 10px; }
.utility a { color: #fff; text-decoration: none; font-weight: 600; }
.utility a:hover { text-decoration: underline; }
.utility-set { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; }

.masthead { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.masthead-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 15px; }
.masthead-cta { display: flex; gap: 9px; align-items: center; }

.wordmark { font-size: 1.22rem; font-weight: 800; letter-spacing: -.055em; text-transform: lowercase; text-decoration: none; white-space: nowrap; }
.wordmark span { font-weight: 400; color: var(--dim); }
.ink-band .wordmark { color: #fff; }
.ink-band .wordmark span { color: #7d7b72; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); white-space: nowrap; transition: color .14s ease; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }

.burger { display: none; width: 42px; height: 42px; padding: 0; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--rad); cursor: pointer; }
.burger i { display: block; width: 17px; height: 2px; background: var(--ink); margin: 3.5px auto; border-radius: 2px; }

.mobnav { border-bottom: 1px solid var(--line); background: var(--paper); }
.mobnav ul { list-style: none; margin: 0; padding: 0; }
.mobnav li + li { border-top: 1px solid var(--line); }
.mobnav a { display: block; padding: 15px var(--gut); font-size: 15px; font-weight: 600; text-decoration: none; }

@media (max-width: 1060px) { .nav, .masthead-cta { display: none; } .burger { display: block; } }

/* ═══════════════ ACCUEIL ═══════════════ */
.hero {
  padding-block: clamp(44px, 6vw, 84px) clamp(30px, 4vw, 52px);
  text-align: center;
  background: radial-gradient(120% 95% at 50% 0%, #ffffff 0%, var(--page) 70%);
  position: relative;
}
.hero-grid { display: block; }
.hero h1 { margin-inline: auto; max-width: 18ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin-inline: auto; text-align: center; max-width: 50ch; }
.hero .btn-row { justify-content: center; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; justify-content: center; }
.tag-row li {
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  background: var(--paper); border: 1px solid var(--line);
  padding: 8px 15px; border-radius: var(--pill);
}

/* Plaque — discrète, en signature */
.plate { display: inline-grid; grid-template-columns: 30px 1fr; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; margin: 26px auto 0; }
.plate-band { background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.plate-no { font-size: 1.1rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 9px 18px; }
.plate-cap { font-size: 12px; color: var(--dim); text-align: center; margin: 9px 0 0; }

/* ── Recherche rapide ────────────────────────────────────── */
.finder { margin-top: clamp(32px, 4vw, 52px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--rad-lg); box-shadow: var(--shadow); overflow: hidden; }
.finder-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 10px; padding: 12px; align-items: end; }
@media (max-width: 860px) { .finder-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .finder-in { grid-template-columns: 1fr; } }

.fld { text-align: left; background: var(--soft); border: 1px solid transparent; border-radius: var(--rad); padding: 10px 14px; min-width: 0; transition: border-color .15s ease, background .15s ease; }
.fld:focus-within { background: var(--paper); border-color: var(--line-2); }
.fld label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.fld input, .fld select { width: 100%; border: 0; padding: 0; background: transparent; font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--ink); appearance: none; }
.fld input:focus, .fld select:focus { outline: none; }
.fld input::placeholder { color: var(--dim); font-weight: 500; }

.finder button { border: 0; background: var(--ink); color: #fff; font-family: var(--font); font-size: 13.5px; font-weight: 700; padding: 16px 28px; border-radius: var(--pill); cursor: pointer; transition: background .15s ease; }
.finder button:hover { background: #000; }

.finder-note, .inline-note { margin: 0; background: var(--accent-soft); border-top: 1px solid var(--line); padding: 13px 18px; font-size: 13.5px; line-height: 1.6; color: var(--ink); }

/* ── Bandeau défilant ────────────────────────────────────── */
.ticker { border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; margin-top: clamp(32px, 4vw, 52px); }
.ticker-track { display: flex; width: max-content; animation: slide 52s linear infinite; }
.ticker-track span { font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 13px 0; white-space: nowrap; }
.ticker-track span::after { content: "•"; margin: 0 24px; color: var(--accent); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ── Chiffres clés ───────────────────────────────────────── */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(32px, 4vw, 52px); }
@media (max-width: 760px) { .figures { grid-template-columns: repeat(2, 1fr); } }
.fig { background: var(--paper); border: 1px solid var(--line); border-radius: var(--rad); padding: 22px 20px; text-align: center; }
.fig b { display: block; font-size: clamp(1.7rem, 3.6vw, 2.3rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.fig span { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }

/* ═══════════════ EN-TÊTES DE SECTION ═══════════════ */
.sec-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(26px, 3.5vw, 44px); }
.sec-head > div { min-width: 0; }
.sec-link { font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; white-space: nowrap; }
.sec-link:hover { color: var(--accent-dark); text-decoration: underline; }
.ink-band .sec-link { color: #ff6b74; }

/* ═══════════════ FICHES VÉHICULE ═══════════════ */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr)); gap: 22px; }

.car {
  display: flex; flex-direction: column; background: var(--paper);
  border-radius: var(--rad-lg); overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
a.car:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.car--sold { opacity: .62; }
.car--sold .car-price { text-decoration: line-through; }

.car-shot { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(140deg, #f8f7f5 0%, #eeece7 100%); display: grid; place-items: center; overflow: hidden; }
.car-shot img { width: 100%; height: 100%; object-fit: cover; }
.car-shot .ph, .veh-shot .ph, .veh-shot > span { display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; color: #b2afa5; text-align: center; }
.car-shot .ph::before, .veh-shot .ph::before, .veh-shot > span::before {
  content: ""; width: 30px; height: 24px; border: 2px solid currentColor; border-radius: 5px;
  background:
    radial-gradient(circle at 9px 8px, currentColor 2.2px, transparent 2.4px),
    linear-gradient(to top right, transparent 48%, currentColor 48%, currentColor 56%, transparent 56%);
}
.car-shot .flag { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; padding: 5px 11px; border-radius: var(--pill); }
.car-shot .lot { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.92); color: var(--muted); font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: var(--pill); }

.car-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.car-name { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.car-name b { font-size: 1.06rem; font-weight: 800; letter-spacing: -.028em; }
.car-name i { font-style: normal; font-weight: 600; color: var(--muted); }
.car-ver { font-size: 13px; color: var(--dim); margin-top: 2px; }

.spec { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.spec li { display: flex; gap: 6px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.spec li span { display: none; }
.spec li em { font-style: normal; font-weight: 600; }

.car-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.car-price { font-size: 1.3rem; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.car-price del { display: block; font-size: .62em; font-weight: 600; color: var(--dim); }
.car-go { font-size: 13px; font-weight: 700; color: var(--accent); }

.note-block { margin-top: 20px; font-size: 13.5px; line-height: 1.7; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--rad); padding: 14px 18px; }
.note-block strong { color: var(--ink); font-weight: 700; }

.empty-state { background: var(--paper); border: 1px solid var(--line); border-radius: var(--rad-lg); padding: clamp(34px, 6vw, 62px) var(--gut); text-align: center; }
.empty-state p { margin: 0 auto; max-width: 48ch; color: var(--muted); }
.empty-state .eyebrow { margin-bottom: 12px; }
.empty-state a { color: var(--accent); font-weight: 700; text-decoration: none; }
.empty-state a:hover { text-decoration: underline; }

/* ═══════════════ COLONNES & ÉTAPES ═══════════════ */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: flex; flex-direction: column; gap: 4px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-size: 13px; font-weight: 800; color: var(--accent);
  background: var(--accent-soft); border-radius: var(--pill);
  width: 32px; height: 32px; display: grid; place-items: center;
}
.steps b { display: block; font-size: 1.02rem; font-weight: 800; letter-spacing: -.025em; }
.steps p { margin: 5px 0 0; color: var(--muted); font-size: .96rem; }
.ink-band .steps li { border-color: #2e2d27; }
.ink-band .steps p { color: #b3b0a6; }
.ink-band .steps li::before { background: rgba(255,107,116,.14); color: #ff6b74; }

/* ═══════════════ SERVICES ═══════════════ */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.svc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 26px 24px; display: flex; flex-direction: column; gap: 11px; transition: box-shadow .18s ease, transform .18s ease; }
.svc:hover { box-shadow: var(--shadow-up); transform: translateY(-2px); }
.svc-no { font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: .08em; }
.svc p { margin: 0; color: var(--muted); font-size: .96rem; }
.svc ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.svc ul li { font-size: 13.5px; color: var(--muted); padding-left: 18px; position: relative; }
.svc ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ═══════════════ URGENCE ═══════════════ */
.pulse-tag { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; border: 1px solid #3a3933; border-radius: var(--pill); padding: 7px 15px; margin-bottom: 18px; }
.pulse-tag i { width: 7px; height: 7px; border-radius: 50%; background: #ff6b74; display: block; animation: blink 1.9s steps(1, end) infinite; }
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .2; } }

.call-box { display: inline-flex; flex-direction: column; gap: 2px; background: #fff; color: var(--ink); border-radius: var(--rad); padding: 13px 24px; text-decoration: none; }
.call-box small { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.call-box b { font-size: 1.22rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ═══════════════ TARIFS ═══════════════ */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tabs button { background: var(--paper); border: 1px solid var(--line); border-radius: var(--pill); padding: 11px 20px; font-family: var(--font); font-size: 13.5px; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .15s ease; }
.tabs button:hover { border-color: var(--line-2); color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.table-scroll { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--rad-lg); }
.table-scroll > table { min-width: 620px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table thead th { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding-block: 14px; }
.price-table tbody th { font-size: 1.02rem; font-weight: 800; letter-spacing: -.025em; width: 30%; }
.price-table tbody th small { display: block; font-size: .87rem; font-weight: 500; color: var(--muted); margin-top: 3px; letter-spacing: 0; }
.price-table .amount { font-size: 1.24rem; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table .amount em { display: block; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--dim); margin-top: 3px; }
.price-table .incl { font-size: 13.5px; line-height: 1.8; color: var(--muted); }

.pause { display: flex; flex-wrap: wrap; gap: 13px 20px; align-items: center; background: var(--accent-soft); border: 1px solid #f6dcde; border-radius: var(--rad); padding: 18px 22px; margin-bottom: 28px; }
.pause b { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 5px 12px; border-radius: var(--pill); }
.pause p { margin: 0; font-size: .95rem; color: var(--muted); flex: 1 1 320px; min-width: 0; }

/* ═══════════════ RÉSEAU ═══════════════ */
.net { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.net li { display: grid; grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: 18px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--rad); padding: 18px 22px; }
@media (max-width: 820px) { .net li { grid-template-columns: 30px 1fr; gap: 6px 14px; } .net li > :nth-child(3), .net li > :nth-child(4) { grid-column: 2; } }
.net-no { font-size: 12px; font-weight: 800; color: var(--accent); }
.net-name { font-size: 1.04rem; font-weight: 800; letter-spacing: -.025em; }
.net-desc { color: var(--muted); font-size: .95rem; }
.net-tag { font-size: 12px; font-weight: 700; color: var(--dim); background: var(--soft); padding: 6px 13px; border-radius: var(--pill); white-space: nowrap; }

/* ═══════════════ AVIS ═══════════════ */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 26px 24px; display: flex; flex-direction: column; gap: 15px; }
.quote blockquote { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--ink); }
.quote figcaption { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.quote figcaption b { display: block; font-size: .98rem; font-weight: 800; letter-spacing: -.02em; }
.quote figcaption span { font-size: 12.5px; color: var(--dim); }
.stars { font-size: 14px; letter-spacing: .18em; color: var(--accent); }

/* ═══════════════ CONTACT & FORMULAIRES ═══════════════ */
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: baseline; background: var(--paper); border: 1px solid var(--line); border-radius: var(--rad); padding: 14px 18px; }
.contact-list .k { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.contact-list .v { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; word-break: break-word; }
.contact-list .v a { text-decoration: none; color: var(--accent); }
.contact-list .v a:hover { text-decoration: underline; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.ff { background: var(--paper); border: 1px solid var(--line); border-radius: var(--rad); padding: 11px 16px; min-width: 0; transition: border-color .15s ease, box-shadow .15s ease; }
.ff:focus-within { border-color: var(--line-2); box-shadow: var(--shadow); }
.ff--full { grid-column: 1 / -1; }
.ff label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.ff input, .ff select, .ff textarea { width: 100%; border: 0; background: transparent; padding: 0; font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--ink); resize: vertical; appearance: none; }
.ff input:focus, .ff select:focus, .ff textarea:focus { outline: none; }
.ff ::placeholder { color: var(--dim); }
.form-send { grid-column: 1 / -1; }
.form-send button { width: 100%; border: 0; background: var(--ink); color: #fff; padding: 17px; border-radius: var(--pill); font-family: var(--font); font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s ease; }
.form-send button:hover { background: #000; }

.fset { border: 1px solid var(--line); background: var(--paper); border-radius: var(--rad-lg); padding: 0 0 18px; margin: 0 0 18px; min-width: 0; }
.fset legend { margin-left: 20px; padding: 5px 14px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: var(--pill); }
.fset-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); gap: 12px; padding: 14px 20px 0; }
.fset-in .ff--full { grid-column: 1 / -1; }
.fset-in .ff { background: var(--soft); border-color: transparent; }
.fset-in .ff:focus-within { background: var(--paper); border-color: var(--line-2); }

.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 8px; padding: 14px 20px 0; }
.opt { background: var(--soft); border: 1px solid transparent; border-radius: var(--rad); display: flex; align-items: center; gap: 10px; padding: 11px 15px; cursor: pointer; font-size: .93rem; font-weight: 500; transition: all .14s ease; }
.opt:hover { background: var(--paper); border-color: var(--line-2); }
.opt input { appearance: none; width: 17px; height: 17px; border: 1.5px solid var(--line-2); border-radius: 5px; flex: none; margin: 0; cursor: pointer; transition: all .14s ease; }
.opt input:checked { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px #fff; }

.upload-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 10px; padding: 14px 20px 0; }
.upload { background: var(--soft); border: 1.5px dashed var(--line-2); border-radius: var(--rad); padding: 20px 16px; display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; text-align: center; transition: all .15s ease; }
.upload:hover { background: var(--paper); border-color: var(--accent); }
.upload em { font-style: normal; font-size: 20px; font-weight: 300; color: var(--accent); }
.upload strong { font-size: .95rem; font-weight: 800; letter-spacing: -.02em; }
.upload span { font-size: 12px; color: var(--dim); }
.upload input { display: none; }

.consent { display: flex; align-items: flex-start; gap: 11px; font-size: .94rem; color: var(--muted); margin: 0 0 20px; cursor: pointer; }
.consent input { appearance: none; width: 18px; height: 18px; border: 1.5px solid var(--line-2); border-radius: 5px; flex: none; margin-top: 2px; cursor: pointer; }
.consent input:checked { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3.5px #fff; }
.consent a { color: var(--accent); font-weight: 700; }

.help { font-size: .9rem; color: var(--dim); margin: 14px 20px 0; }

/* ═══════════════ PIED DE PAGE ═══════════════ */
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7d7b72; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.foot-grid ul a, .foot-grid ul li { font-size: .95rem; color: #c9c6bd; text-decoration: none; }
.foot-grid ul a:hover { color: #fff; }
.foot-note { color: #a09e95; font-size: .95rem; max-width: 38ch; margin: 14px 0 0; }
.colophon { border-top: 1px solid #2e2d27; margin-top: clamp(34px, 4.5vw, 58px); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; font-size: 13px; color: #7d7b72; }
.colophon a { color: #a09e95; text-decoration: none; }
.colophon a:hover { color: #fff; }
.colophon div { display: flex; flex-wrap: wrap; gap: 10px 20px; }

/* ═══════════════ PAGES INTÉRIEURES ═══════════════ */
.page-head { padding-block: clamp(32px, 5vw, 64px); background: radial-gradient(110% 100% at 50% 0%, #ffffff 0%, var(--page) 72%); border-bottom: 1px solid var(--line); }
.page-head .tag-row { justify-content: flex-start; }
.crumbs { font-size: 13px; color: var(--dim); margin: 0 0 16px; }
.crumbs a { text-decoration: none; color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 8px; color: var(--line-2); }

/* Barre de filtres */
.toolbar { display: grid; grid-template-columns: 2fr repeat(4, 1fr) auto; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 12px; box-shadow: var(--shadow); }
@media (max-width: 1000px) { .toolbar { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px) { .toolbar { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .toolbar { grid-template-columns: 1fr; } }
.toolbar .reset { background: var(--soft); border: 0; border-radius: var(--rad); cursor: pointer; padding: 12px 20px; font-family: var(--font); font-size: 13px; font-weight: 700; color: var(--muted); }
.toolbar .reset:hover { background: var(--ink); color: #fff; }

.count-row { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 13.5px; color: var(--muted); }
.count-row b { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.sold-toggle { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 13.5px; font-weight: 600; }
.sold-toggle input { appearance: none; width: 17px; height: 17px; border: 1.5px solid var(--line-2); border-radius: 5px; margin: 0; cursor: pointer; flex: none; }
.sold-toggle input:checked { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px #fff; }

/* Fiche véhicule détaillée */
.veh-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 54px); align-items: start; }
@media (max-width: 920px) { .veh-grid { grid-template-columns: 1fr; } }
.veh-shot { aspect-ratio: 16 / 10; background: linear-gradient(140deg, #f8f7f5 0%, #eeece7 100%); border-radius: var(--rad-lg); display: grid; place-items: center; overflow: hidden; }
.veh-shot img { width: 100%; height: 100%; object-fit: cover; }
.veh-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.veh-thumbs div { aspect-ratio: 4 / 3; background: var(--soft); border-radius: var(--rad); overflow: hidden; display: grid; place-items: center; font-size: 12px; color: var(--dim); }
.veh-thumbs img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.veh-thumbs img:hover { opacity: .85; }

.veh-price { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; line-height: 1; }
.veh-price del { display: block; font-size: .32em; font-weight: 600; color: var(--dim); letter-spacing: -.02em; margin-bottom: 6px; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-variant-numeric: tabular-nums; }
.spec-table th { font-weight: 600; color: var(--muted); width: 45%; }
.spec-table td { font-weight: 700; }
.spec-table caption { text-align: left; }

.equip { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.equip li { font-size: 13px; font-weight: 600; color: var(--muted); background: var(--soft); padding: 8px 14px; border-radius: var(--pill); }

/* Pages légales */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.22rem; font-weight: 800; letter-spacing: -.025em; margin: 40px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.prose h2:first-of-type { margin-top: 28px; }
.prose p { margin: 0 0 13px; color: var(--muted); }
.prose p strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--accent); text-decoration: none; font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose .lede { color: var(--ink); font-size: 1.06rem; max-width: none; }
.prose .meta { font-size: 13px; color: var(--dim); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 38px; }
.prose .callout { background: var(--accent-soft); border: 1px solid #f6dcde; border-radius: var(--rad); padding: 15px 18px; font-size: 14px; line-height: 1.7; color: var(--muted); margin: 16px 0; }

/* 404 */
.oops { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.oops .lede { text-align: center; }
.oops-code { font-size: clamp(5rem, 20vw, 11rem); font-weight: 800; line-height: .9; letter-spacing: -.06em; color: var(--accent); font-variant-numeric: tabular-nums; }


/* ═══════════════════════════════════════════════════════════════
   VEHICULES RECHERCHES — cartes repetables & choix multiples
   Meme vocabulaire que le reste du site : pastilles, grands
   arrondis, ombre douce, accent rouge par touches seulement.
   ═══════════════════════════════════════════════════════════════ */
.veh-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--rad-lg); margin: 0 0 14px; overflow: hidden; }
.veh-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 20px; background: var(--soft); border-bottom: 1px solid var(--line); }
.veh-no { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.veh-no b { color: var(--ink); }
.veh-del { border: 1px solid var(--line-2); background: var(--paper); color: var(--muted); border-radius: var(--pill); padding: 7px 15px; font-family: var(--font); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: all .14s ease; }
.veh-del:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.veh-card--only .veh-del { display: none; }
.veh-body { padding: 17px 20px 19px; display: grid; gap: 17px; }
.vf { min-width: 0; }
.vf > label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 9px; }
.vf-hint { font-size: 12.5px; color: var(--dim); margin: 8px 0 0; }
.veh-err { font-size: 13px; font-weight: 600; color: var(--accent); margin: 7px 0 0; }
.veh-err:empty { display: none; }
.veh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.veh-grid .ff { background: var(--soft); border-color: transparent; }
.veh-grid .ff:focus-within { background: var(--paper); border-color: var(--line-2); }
.veh-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 17px; }

/* Pastilles a choix multiple */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; display: inline-flex; align-items: center; background: var(--soft); border: 1px solid transparent; border-radius: var(--pill); padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .14s ease, color .14s ease, border-color .14s ease; -webkit-user-select: none; user-select: none; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pill:hover { background: var(--paper); border-color: var(--line-2); color: var(--ink); }
.pill.on, .pill:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill.on:hover, .pill:has(input:checked):hover { background: #000; border-color: #000; color: #fff; }
.pill input:focus-visible ~ span { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

/* Modeles : etiquettes libres */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 9px; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 9px; background: var(--ink); color: #fff; border-radius: var(--pill); padding: 8px 9px 8px 16px; font-size: 14px; font-weight: 600; }
.chip button { border: 0; background: rgba(255, 255, 255, .2); color: #fff; width: 20px; height: 20px; border-radius: var(--pill); font-size: 14px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.chip button:hover { background: var(--accent); }
.chip-add { display: flex; gap: 8px; }
.chip-in { flex: 1 1 auto; min-width: 0; background: var(--soft); border: 1px solid transparent; border-radius: var(--pill); padding: 12px 18px; font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--ink); }
.chip-in::placeholder { color: var(--dim); }
.chip-in:focus { outline: none; background: var(--paper); border-color: var(--line-2); }
.chip-btn { flex: none; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); border-radius: var(--pill); padding: 12px 20px; font-family: var(--font); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: all .14s ease; }
.chip-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Equipements, replies par defaut */
.veh-opts { border-top: 1px solid var(--line); padding-top: 15px; }
.veh-opts > summary { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); cursor: pointer; }
.veh-opts > summary:hover { color: var(--ink); }
.veh-optn { color: var(--accent); }
.veh-optgrid { padding: 15px 0 0; }

/* Ajouter un vehicule */
.veh-add-wrap { margin: 0 0 18px; }
.veh-add { width: 100%; border: 1.5px dashed var(--line-2); background: var(--paper); color: var(--ink); border-radius: var(--rad-lg); padding: 16px; font-family: var(--font); font-size: 13.5px; font-weight: 700; letter-spacing: .03em; cursor: pointer; transition: all .14s ease; }
.veh-add:hover { border-color: var(--ink); background: var(--soft); box-shadow: var(--shadow); }
.veh-add span { color: var(--accent); font-size: 17px; margin-right: 5px; }
.veh-add[hidden] { display: none; }

@media (max-width: 560px) {
  .veh-hd { padding: 12px 15px; }
  .veh-body { padding: 15px 15px 17px; gap: 15px; }
  .chip-add { flex-wrap: wrap; }
  .chip-btn { width: 100%; }
}

/* Accuse de reception de la demande : c'est le seul retour que le
   client obtient, il doit donc se remarquer. */
.inline-note.form-ok { display: block; margin-top: 16px; background: var(--paper); border: 1px solid var(--line-2); border-left: 3px solid var(--accent); border-radius: var(--rad); padding: 15px 18px; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.5; }
