/* =====================================================
   BLY-VTC — Design system monochrome premium
   ===================================================== */

:root {
  --ink: #17171b;
  --ink-soft: #1f1f24;
  --paper: #fdfcf9;
  --gray-50: #f4f2ec;
  --gray-100: #eceae2;
  --gray-200: #dfdcd2;
  --gray-400: #a9a9b0;
  --gray-500: #85858c;
  --gray-600: #57575e;
  --line: #e6e3da;
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1160px;
  --font: Calibri, "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --shadow-sm: 0 2px 10px rgba(23, 23, 27, 0.05);
  --shadow-md: 0 14px 40px rgba(23, 23, 27, 0.10);
  --shadow-lg: 0 30px 80px rgba(23, 23, 27, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 104px; /* route animée fixée en bas */
}

img { max-width: 100%; display: block; }
svg { display: block; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

a { color: var(--ink); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--gray-600); }

::selection { background: var(--ink); color: #fff; }

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

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.16;
  margin: 0 0 20px;
}

h3, h4 {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 20px;
}

h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.15rem; }

.muted { color: var(--gray-500); }

section { padding: 110px 0; }
section.soft { background: var(--gray-50); }

/* ---- Têtes de section numérotées ---- */
.sec-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.sec-head .num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gray-400);
}
.sec-head .rule {
  width: 56px;
  height: 1px;
  background: var(--ink);
}
.sec-head .label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}

.section-intro {
  max-width: 600px;
  color: var(--gray-500);
  font-size: 1.05rem;
  margin-bottom: 56px;
}

/* ---- Boutons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn .arrow { transition: transform 0.18s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary,
.btn-accent {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 26px rgba(23, 23, 27, 0.22);
}
.btn-primary:hover,
.btn-accent:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(23, 23, 27, 0.28);
}

.btn-outline {
  background: transparent;
  border-color: var(--gray-200);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}
.btn-light:hover { background: var(--gray-100); color: #000; transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-sm { padding: 11px 24px; font-size: 0.85rem; }

/* ---- Topbar ---- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  gap: 16px;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: rgba(255, 255, 255, 0.75); }
.topbar-links { display: flex; gap: 26px; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 249, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(23, 23, 27, 0.07); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-mark {
  width: 48px;
  height: 48px;
  color: var(--ink);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-serif);
  font-size: 1.06rem;
  letter-spacing: 0.26em;
  line-height: 1.1;
  color: var(--ink);
  text-transform: uppercase;
}
.logo-text small {
  font-family: var(--font);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--gray-500);
  margin-top: 4px;
}

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  color: var(--gray-600);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 9px 15px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--gray-50); color: var(--ink); }
.main-nav a.active { background: var(--ink); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px 10px;
}

/* ---- Hero ---- */
.hero {
  padding: 96px 0 110px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 26px;
}
.overline::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--ink);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 24px;
}

.hero p.lead {
  color: var(--gray-500);
  font-size: 1.12rem;
  max-width: 480px;
  margin: 0 0 38px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 58px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-stats strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.hero-stats span { color: var(--gray-500); font-size: 0.82rem; }

/* Panneau sombre avec la berline */
.hero-art {
  position: relative;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse 90% 70% at 70% 20%, #26262d, transparent),
    linear-gradient(160deg, #17171b, #17171b);
  background-size: 56px 56px, 56px 56px, auto, auto;
  border-radius: 28px;
  padding: 64px 40px 52px;
  box-shadow: var(--shadow-lg);
}

.hero-art .art-caption {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-art .art-caption::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-art .art-car { position: relative; padding-bottom: 10px; }
.hero-art .art-car svg { width: 100%; height: auto; }

.hero-art .art-ground {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.28), transparent);
  margin-top: -6px;
}

.hero-art .art-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero-art .art-badges span {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 16px;
}

/* ---- Bande de réassurance ---- */
.assurance {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.assurance .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.assurance-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 30px 28px;
}
.assurance-item + .assurance-item { border-left: 1px solid var(--line); }
.assurance-item .ic {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.assurance-item .ic svg { width: 20px; height: 20px; }
.assurance-item strong { display: block; font-size: 0.98rem; letter-spacing: -0.01em; }
.assurance-item small { color: var(--gray-500); font-size: 0.83rem; }

/* ---- Grille de cartes ---- */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--gray-200);
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.card .icon svg { width: 21px; height: 21px; }

.card p { color: var(--gray-500); margin: 0; font-size: 0.94rem; }

/* ---- Véhicules ---- */
.vehicle-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.vehicle-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.vehicle-art {
  background:
    radial-gradient(ellipse 80% 90% at 50% 0%, #232329, transparent),
    linear-gradient(160deg, #17171b, #17171b);
  padding: 38px 28px 26px;
}
.vehicle-art svg { width: 100%; height: auto; }
.vehicle-art .art-ground {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
  margin-top: -4px;
}

.vehicle-body { padding: 26px 28px 30px; }
.vehicle-body .vehicle-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  display: block;
  margin-bottom: 8px;
}
.vehicle-body h3 { margin-bottom: 10px; }
.vehicle-body p { color: var(--gray-500); font-size: 0.93rem; margin: 0 0 16px; }
.vehicle-body .vehicle-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.vehicle-body .vehicle-meta span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-50);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
}

/* ---- Map + devis ---- */
.map-devis {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 26px;
  align-items: stretch;
}

.map-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
  filter: grayscale(1) contrast(1.04);
}

.devis-card {
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 90% 60% at 80% 0%, #26262d, transparent),
    linear-gradient(160deg, #17171b, #17171b);
  color: #fff;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
}
.devis-card h3 { color: #fff; font-size: 1.35rem; }
.devis-card .muted { color: rgba(255, 255, 255, 0.6); }
.devis-card .form-note { color: rgba(255, 255, 255, 0.5); }
.devis-card .form-note a { color: #fff; }
.devis-card .btn { margin-top: 8px; }

/* ---- Zone ---- */
.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.zone-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 22px;
  color: var(--gray-600);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--paper);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.zone-list li:hover { border-color: var(--ink); color: var(--ink); }

/* ---- Formulaire ---- */
.form-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--shadow-sm);
}

.form-row { margin-bottom: 20px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gray-600);
}

input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--gray-50);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.98rem;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

input::placeholder, textarea::placeholder { color: var(--gray-400); }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper);
  box-shadow: 0 4px 14px rgba(23, 23, 27, 0.06);
}

textarea { resize: vertical; min-height: 110px; }

.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* ---- Autocomplétion d'adresses ---- */
.ac-wrap { position: relative; }

.ac-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 60;
  list-style: none;
  margin: 0;
  padding: 6px;
  max-height: 264px;
  overflow-y: auto;
}

.ac-list li {
  padding: 11px 13px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.4;
}
.ac-list li.active,
.ac-list li:hover { background: var(--gray-50); color: var(--ink); }
.ac-list li small { display: block; color: var(--gray-400); font-size: 0.78rem; }

/* ---- Estimation de trajet ---- */
.trip-estimate {
  display: none;
  align-items: center;
  gap: 14px;
  background: var(--gray-50);
  border: 1px solid var(--line);
  border-left: 4px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  color: var(--gray-600);
}
.trip-estimate.visible { display: flex; }
.trip-estimate .ic {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trip-estimate .ic svg { width: 17px; height: 17px; }
.trip-estimate strong { color: var(--ink); }
.trip-estimate small { display: block; color: var(--gray-400); font-size: 0.78rem; }

.form-note { font-size: 0.8rem; color: var(--gray-500); margin-top: 14px; }

.alert {
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 0.95rem;
}
.alert-success { background: var(--gray-50); border: 1.5px solid var(--ink); color: var(--ink); font-weight: 600; }
.alert-success::before { content: "✓  "; }
.alert-error { background: var(--ink); border: 1.5px solid var(--ink); color: #fff; }
.alert-error::before { content: "✕  "; }

/* ---- Étapes ---- */
.steps { display: grid; gap: 16px; }
.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  background: var(--paper);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.step:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.step .num {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.step p { margin: 4px 0 0; color: var(--gray-500); font-size: 0.9rem; }
.step h3 { margin: 0; font-size: 1rem; }

/* ---- Encarts d'information ---- */
.notice {
  border: 1px solid var(--line);
  border-left: 4px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  padding: 20px 24px;
  font-size: 0.9rem;
  color: var(--gray-500);
}
.notice strong { color: var(--ink); display: block; margin-bottom: 5px; font-size: 0.95rem; }

/* ---- Page contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  background: var(--paper);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.contact-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card p { color: var(--gray-500); font-size: 0.9rem; margin: 0 0 14px; }
.contact-card a.big { font-size: 1.08rem; font-weight: 700; color: var(--ink); }
.contact-card a.big:hover { color: var(--gray-600); }

/* ---- Avis clients ---- */
.testimonial {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  position: relative;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.testimonial:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.testimonial .quote-mark {
  font-family: Georgia, serif;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--gray-200);
  position: absolute;
  top: 18px;
  right: 26px;
  pointer-events: none;
}

.testimonial .stars {
  color: var(--ink);
  letter-spacing: 3px;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.testimonial p.quote {
  color: var(--gray-600);
  font-size: 0.96rem;
  font-style: italic;
  margin: 0 0 18px;
}

.testimonial .author {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
}
.testimonial .author small {
  display: block;
  font-weight: 400;
  color: var(--gray-400);
  font-size: 0.78rem;
}

/* Formulaire "laisser un avis" */
.avis-form-card {
  margin-top: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--shadow-sm);
}
.avis-form-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.avis-form-card > p.muted { margin: 0 0 26px; font-size: 0.92rem; }

.rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
}
.rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating label {
  font-size: 1.7rem;
  line-height: 1;
  color: var(--gray-200);
  cursor: pointer;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  transition: color 0.12s ease, transform 0.12s ease;
}
.rating label:hover,
.rating label:hover ~ label,
.rating input:checked ~ label { color: var(--ink); }
.rating label:hover { transform: scale(1.15); }
.rating input:focus-visible ~ label { outline: 2px solid var(--ink); }

/* ---- CTA ---- */
.cta {
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(ellipse 80% 80% at 50% -20%, #26262d, transparent),
    linear-gradient(160deg, #17171b, #17171b);
  background-size: 56px 56px, 56px 56px, auto, auto;
  color: #fff;
  border-radius: 28px;
  padding: 84px 34px;
  box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.6); margin-bottom: 34px; font-size: 1.05rem; }

/* ---- Footer ---- */
.site-footer {
  background: var(--gray-50);
  border-top: 1px solid var(--line);
  padding: 70px 0 0;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-grid h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--gray-500); }
.footer-grid a:hover { color: var(--ink); }

.footer-logo { margin-bottom: 18px; }
.footer-logo .logo-mark { width: 42px; height: 42px; }
.footer-logo .logo-text { font-size: 0.95rem; }
.footer-grid p { margin: 0; max-width: 300px; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}

/* ---- Route + voitures animées ---- */
.car-road {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 104px;
  z-index: 90;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(to top, rgba(244, 242, 236, 0.97) 72%, rgba(244, 242, 236, 0));
}

.car-road::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--gray-200) 0 34px, transparent 34px 58px);
}

.car {
  position: absolute;
  bottom: 20px;
  left: 0;
  will-change: transform;
}

.car svg { display: block; width: 100%; }

.car-berline { width: 165px; }
.car-van { width: 185px; opacity: 0.9; bottom: 21px; }
.car-citadine { width: 115px; opacity: 0.8; bottom: 23px; }

.car .wheel { transform-box: fill-box; transform-origin: center; }

/* ---- Apparition au scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

.grid > .reveal:nth-child(2), .contact-grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.grid > .reveal:nth-child(3), .contact-grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
.grid > .reveal:nth-child(4) { transition-delay: 0.08s; }
.grid > .reveal:nth-child(5) { transition-delay: 0.16s; }
.grid > .reveal:nth-child(6) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .step, .vehicle-card, .contact-card, .btn { transition: none; }
}

/* ---- Responsive ---- */
@media (max-width: 1020px) {
  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 22px;
    gap: 6px;
    transform: translateY(calc(-100% - 140px));
    transition: transform 0.25s var(--ease);
    z-index: 99;
    box-shadow: 0 24px 40px rgba(23, 23, 27, 0.08);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 13px 16px; font-size: 0.85rem; }
  .nav-toggle { display: block; }

  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { order: -1; padding: 44px 30px 38px; }
}

@media (max-width: 900px) {
  section { padding: 80px 0; }
  .grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .form-layout { grid-template-columns: 1fr; }
  .map-devis { grid-template-columns: 1fr; }
  .map-wrap, .map-wrap iframe { min-height: 320px; }
  .assurance .container { grid-template-columns: 1fr; }
  .assurance-item + .assurance-item { border-left: none; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  body { padding-bottom: 80px; }

  .topbar .container { justify-content: center; }
  .topbar > .container > span { display: none; }

  .grid, .contact-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .form-card { padding: 30px 24px; }

  .hero { padding: 56px 0 70px; }
  .hero-stats { gap: 26px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .car-road { height: 82px; }
  .car-berline { width: 120px; }
  .car-van, .car-citadine { display: none; }
}
