/* ============================================
   RESET & TOKENS
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

:root {
  --black:        #0c0c0e;
  --black-soft:   #141417;
  --card-dark:    #1a1a1e;
  --border-dark:  #2b2b30;
  --cream:        #f3f1eb;
  --cream-2:      #ececE4;
  --white:        #ffffff;
  --ink:          #17171a;
  --gray:         #6b6b70;
  --gray-light:   #9a9aa0;
  --border:       #e3e0d6;

  --red:          #c10000;
  --red-dark:     #8f0000;
  --red-tint:     #fdecec;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --radius: 2px;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 900px) { .wrap { padding: 0 32px; } }
@media (max-width: 480px) { .wrap { padding: 0 20px; } }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 800; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 20px; font-weight: 700; }
p { line-height: 1.65; color: var(--gray); margin: 0; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--red); display: inline-block; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { margin-top: 12px; font-size: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

section { padding: 88px 0; }
.bg-cream  { background: var(--cream); }
.bg-white  { background: var(--white); }
.bg-black  { background: var(--black); color: var(--white); }
.bg-black h2, .bg-black h3 { color: var(--white); }
.bg-black p { color: #b7b7bb; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 16px 26px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--black-soft); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-outline-light:hover { border-color: var(--white); }
.btn-link { text-transform: uppercase; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 3px; display: inline-flex; align-items: center; gap: 8px; }
.btn-link.on-dark { color: var(--white); border-color: var(--white); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red); outline-offset: 2px;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,12,14,0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand-logo { height: 34px; width: auto; }
.brand-sub { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-light); border-left: 1px solid var(--border-dark); padding-left: 12px; }
.footer-brand .brand-logo { height: 42px; margin-bottom: 4px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: #d8d8db; font-size: 14.5px; font-weight: 500; transition: color .15s ease; }
.nav-links a:hover { color: var(--white); }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-phone { display: flex; align-items: center; gap: 8px; color: var(--white); font-size: 14.5px; font-weight: 600; }
.nav-phone svg { width: 16px; height: 16px; color: var(--red); }
.nav-toggle { display: none; background: none; border: none; padding: 6px; cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; color: var(--white); }

@media (max-width: 980px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; top: 78px; left: 0; right: 0; background: var(--black);
    border-top: 1px solid var(--border-dark); padding: 8px 24px 20px;
  }
  .nav.open .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border-dark); }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative; background:
    radial-gradient(ellipse 70% 60% at 75% 20%, rgba(226,34,46,0.16), transparent 60%),
    linear-gradient(180deg, #101013 0%, #0a0a0c 100%);
  color: var(--white); overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 90px);
}
.hero-inner { position: relative; padding-top: 90px; } /* padding-top seul : le raccourci "90px 0 0" écrasait le padding latéral de .wrap sur mobile */
.hero h1 {
  font-size: clamp(38px, 6vw, 66px); color: var(--white); margin: 20px 0 26px;
  max-width: 780px;
}
.hero p.lead { font-size: 17px; max-width: 520px; color: #c7c7cb; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 60px; }
.hero-strip {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 20px 34px;
}
.hero-strip span { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em; color: #cfcfd3; }
.hero-strip svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; }

/* ============================================
   PRINCIPE (qu'est-ce qu'un mandataire)
   ============================================ */
.principle-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.principle-grid p + p { margin-top: 16px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 32px; }
.feature-list li { border-left: 2px solid var(--red); padding-left: 14px; }
.feature-list strong { display: block; font-size: 15px; margin-bottom: 4px; }
.feature-list span { font-size: 13.5px; color: var(--gray); }

.principle-card { background: var(--black); border-radius: var(--radius); overflow: hidden; }
.placeholder-box {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1b1b1f, #101012);
}
.placeholder-box svg { width: 56px; height: 56px; color: #3d3d43; }
.principle-card-foot { padding: 22px 26px; border-top: 1px solid var(--border-dark); }
.principle-card-foot strong { display: block; color: var(--white); font-size: 15px; margin-bottom: 4px; }
.principle-card-foot span { font-size: 13px; color: var(--gray-light); }

@media (max-width: 860px) {
  .principle-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
}

/* ============================================
   SEUL OU ACCOMPAGNÉ
   ============================================ */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 20px; }
.compare-card { padding: 30px 28px; border-radius: var(--radius); }
.compare-card.no { background: var(--white); border: 1px solid var(--border); }
.compare-card.yes { background: var(--black); color: var(--white); position: relative; }
.compare-title { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px; }
.compare-card.no .compare-title { color: var(--gray); }
.compare-card.yes .compare-title { color: var(--white); }
.badge-reco { margin-left: auto; background: var(--red); color: var(--white); font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; padding: 5px 10px; border-radius: 20px; }
.compare-card ul li { display: flex; gap: 10px; padding: 10px 0; font-size: 14px; }
.compare-card.no ul li { color: var(--gray-light); border-top: 1px solid var(--border); }
.compare-card.no li:first-child { border-top: none; }
.compare-card.yes ul li { color: #d8d8db; border-top: 1px solid var(--border-dark); }
.compare-card.yes li:first-child { border-top: none; }
.compare-card svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.compare-card.no svg { color: #c7c4b8; }
.compare-card.yes svg { color: var(--red); }
.compare-cta { text-align: center; margin-top: 34px; }
@media (max-width: 760px) { .compare-grid { grid-template-columns: 1fr; } }

/* ============================================
   4 ÉTAPES
   ============================================ */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 50px; }
.step { padding: 0 26px; border-left: 1px solid var(--border-dark); }
.step:first-child { border-left: none; padding-left: 0; }
.step-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.step-num { font-family: var(--font-serif); font-size: 40px; font-weight: 700; color: var(--red); line-height: 1; }
.step svg { width: 20px; height: 20px; color: var(--gray-light); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 13.5px; }
.steps-cta { text-align: center; margin-top: 46px; }
.steps-cta small { display: block; margin-top: 14px; color: var(--gray-light); font-size: 12.5px; letter-spacing: 0.02em; }
@media (max-width: 860px) {
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .step { border-left: none; padding-left: 0; }
}
@media (max-width: 520px) { .steps-grid { grid-template-columns: 1fr; } }

/* ============================================
   VÉHICULES DISPONIBLES
   ============================================ */
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.vehicules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.vcard { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.vcard .placeholder-box { aspect-ratio: 4/3; background: linear-gradient(135deg, #efece4, #e2ded2); }
.vcard .placeholder-box svg { color: #c7c2b3; }
.vcard-body { padding: 18px 18px 20px; }
.vcard-brand { font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.vcard-model { font-family: var(--font-serif); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.vcard-specs { font-size: 12.5px; color: var(--gray); display: flex; flex-wrap: wrap; gap: 0 8px; }
.vcard-specs span:not(:last-child)::after { content: "·"; margin-left: 8px; color: var(--border); }
.vcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.vcard-price { font-family: var(--font-serif); font-weight: 700; font-size: 19px; }
.vcard-foot .btn { padding: 10px 16px; font-size: 11px; }
.vehicules-more { text-align: center; margin-top: 36px; }
@media (max-width: 980px) { .vehicules-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vehicules-grid { grid-template-columns: 1fr; } }

/* ============================================
   NOTRE DIFFÉRENCE
   ============================================ */
.diff-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.diff-photo .placeholder-box { aspect-ratio: 4/3; border-radius: var(--radius); }
.diff-grid p + p { margin-top: 16px; }
.diff-list { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.diff-list li { display: flex; gap: 12px; font-size: 14px; color: #d8d8db; }
.diff-list svg { width: 15px; height: 15px; color: var(--red); flex-shrink: 0; margin-top: 3px; }
.diff-cta { margin-top: 30px; }
@media (max-width: 860px) { .diff-grid { grid-template-columns: 1fr; } }

/* ============================================
   TÉMOIGNAGES
   ============================================ */
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.testi-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; }
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 14px; height: 14px; color: var(--red); }
.testi-quote { font-size: 14px; color: var(--ink); font-style: italic; flex-grow: 1; }
.testi-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.testi-name { font-weight: 700; font-size: 13.5px; }
.testi-loc { font-size: 12px; color: var(--gray-light); }
.testi-car { font-size: 11px; font-weight: 800; letter-spacing: 0.03em; color: var(--red); text-align: right; white-space: nowrap; }
.testi-cta { text-align: center; margin-top: 36px; }
@media (max-width: 980px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .testi-grid { grid-template-columns: 1fr; } }

/* ============================================
   À PROPOS
   ============================================ */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.about-photo { position: relative; }
.about-photo .placeholder-box { border-radius: var(--radius); }
.about-tag {
  position: absolute; bottom: -20px; right: -20px; background: var(--white); border: 1px solid var(--border);
  padding: 18px 22px; border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.about-tag strong { font-family: var(--font-serif); font-size: 26px; display: block; }
.about-tag span { font-size: 12px; color: var(--gray); }
.about-grid p + p { margin-top: 16px; }
.stat-row { display: flex; gap: 40px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.stat strong { font-family: var(--font-serif); font-size: 30px; display: block; }
.stat span { font-size: 12.5px; color: var(--gray); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-tag { position: static; margin-top: -40px; margin-left: 20px; width: fit-content; } }

/* ============================================
   LE FONDATEUR
   ============================================ */
.founder-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; }
.founder-photo .placeholder-box { aspect-ratio: 3/4; border-left: 2px solid var(--red); }
.founder-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.founder-stats div { background: var(--card-dark); padding: 14px; border-radius: var(--radius); }
.founder-stats strong { font-family: var(--font-serif); font-size: 20px; display: block; color: var(--white); }
.founder-stats span { font-size: 10.5px; color: var(--gray-light); }
.founder-grid p + p { margin-top: 16px; }
blockquote.founder-quote { border-left: 2px solid var(--red); margin: 24px 0 0; padding-left: 16px; font-family: var(--font-serif); font-size: 17px; font-style: italic; color: var(--white); }
.founder-signoff { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-dark); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.founder-signoff strong { color: var(--white); display: block; font-size: 15px; }
.founder-signoff span { font-size: 12px; color: var(--gray-light); }
@media (max-width: 860px) { .founder-grid { grid-template-columns: 1fr; } }

/* ============================================
   FAQ
   ============================================ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-size: 15.5px; font-weight: 600; }
.faq-q svg { width: 18px; height: 18px; color: var(--gray); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { padding: 0 0 20px; font-size: 14.5px; max-width: 90%; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ============================================
   FORMULAIRES (recherche + appel)
   ============================================ */
.forms-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; }
.form-field { margin-bottom: 16px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field label { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-light); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: var(--card-dark); border: 1px solid var(--border-dark); color: var(--white);
  padding: 13px 14px; border-radius: var(--radius); font-size: 14.5px;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #6c6c72; }
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9aa0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }

.search-card, .call-card { background: var(--card-dark); border: 1px solid var(--border-dark); border-radius: var(--radius); }
.search-card { padding: 30px; }
.call-card { padding: 26px; }
.call-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.call-head svg { width: 17px; height: 17px; color: var(--red); }
.call-head strong { color: var(--white); font-size: 16px; }
.call-sub { font-size: 12.5px; color: var(--gray-light); margin-bottom: 20px; }
.pick-label { font-size: 10.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gray-light); margin: 18px 0 10px; }
.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pick-btn {
  background: var(--black-soft); border: 1px solid var(--border-dark); color: #d8d8db;
  padding: 11px 6px; border-radius: var(--radius); font-size: 13px; cursor: pointer; text-align: center;
}
.pick-btn.active { background: var(--red); border-color: var(--red); color: var(--white); font-weight: 700; }
.call-confirm { margin-top: 18px; background: var(--black-soft); border: 1px dashed var(--border-dark); color: var(--gray-light); font-size: 12.5px; padding: 12px 14px; border-radius: var(--radius); text-align: center; }

.cgv-gate { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 18px; font-size: 13px; color: #d8d8db; }
.cgv-gate input[type="checkbox"] { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--red); flex-shrink: 0; }
.cgv-gate button { background: none; border: none; padding: 0; color: var(--white); text-decoration: underline; cursor: pointer; font: inherit; }
.form-submit { width: 100%; justify-content: center; }
.forms-foot { margin-top: 16px; text-align: center; font-size: 12px; color: var(--gray-light); }
@media (max-width: 900px) { .forms-grid { grid-template-columns: 1fr; } .form-row-2 { grid-template-columns: 1fr; } .pick-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================
   CGV MODAL
   ============================================ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box { background: var(--white); color: var(--ink); max-width: 640px; width: 100%; max-height: 82vh; border-radius: var(--radius); display: flex; flex-direction: column; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 18px; }
.modal-close { background: none; border: none; cursor: pointer; padding: 4px; }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { padding: 22px 26px; overflow-y: auto; font-size: 13.5px; line-height: 1.7; color: #333; }
.modal-body h4 { font-size: 14px; margin: 18px 0 6px; }
.modal-body p { color: #333; margin-bottom: 8px; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--border); font-size: 12px; color: var(--gray); text-align: center; }
.modal-foot.ready { color: var(--red); font-weight: 700; }

/* ============================================
   FOOTER
   ============================================ */
.footer-contact { background: var(--black); border-top: 1px solid var(--border-dark); padding: 40px 0; }
.footer-contact .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fc-item svg { width: 16px; height: 16px; color: var(--red); margin-bottom: 8px; }
.fc-item span.label { display: block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-light); margin-bottom: 4px; }
.fc-item span.value { font-size: 14.5px; color: var(--white); font-weight: 600; }
@media (max-width: 760px) { .footer-contact .wrap { grid-template-columns: 1fr 1fr; } }

.site-footer { background: var(--black); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 44px; }
.footer-brand p { font-size: 13.5px; margin: 14px 0 18px; max-width: 240px; }
.social-row { display: flex; gap: 10px; }
.social-row a { width: 34px; height: 34px; border-radius: 50%; background: var(--card-dark); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--gray-light); }
.footer-col h4 { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-light); margin-bottom: 16px; font-family: var(--font-sans); font-weight: 800; }
.footer-col a, .footer-col p { display: block; font-size: 14px; color: #d8d8db; margin-bottom: 12px; }
.footer-col .muted { color: var(--gray-light); font-size: 12px; margin-top: 16px; }
.footer-bottom { border-top: 1px solid var(--border-dark); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom span { font-size: 12.5px; color: var(--gray-light); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================
   AJOUTS ÉTAPE CGV — créneaux 13h-20h, signature, modale, page légale
   ============================================ */
.pick-grid.slots { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .pick-grid.slots { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .pick-grid.slots { grid-template-columns: repeat(2, 1fr); } }

.cgv-gate a { color: var(--white); text-decoration: underline; }
.cgv-sign { margin-top: 0; }
.cgv-sign input:disabled { opacity: 0.45; cursor: not-allowed; }
.cgv-sign input:not(:disabled) { border-color: var(--red); }

.modal-body ul { padding-left: 18px; margin: 0 0 10px; list-style: disc; }
.modal-body li { margin-bottom: 3px; }
.modal-body .cgv-meta { font-size: 12px; color: var(--gray); margin-bottom: 14px; }
.modal-body .cgv-end { margin-top: 18px; font-size: 12px; color: var(--gray); text-align: center; }

/* Page légale (cgv.html, plus tard mentions légales / confidentialité) */
.legal-hero { background: var(--black); color: var(--white); padding: 70px 0 54px; border-bottom: 1px solid var(--border-dark); }
.legal-hero h1 { font-size: clamp(32px, 4.5vw, 52px); color: var(--white); max-width: 720px; }
.legal-hero p { margin-top: 16px; color: #b7b7bb; max-width: 560px; }
.legal-hero .legal-facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 30px; font-size: 13px; color: #d8d8db; }
.legal-hero .legal-facts span strong { display: block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-light); margin-bottom: 4px; font-weight: 700; }

.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 100px; border-left: 1px solid var(--border); padding-left: 18px; }
.legal-toc a { display: block; font-size: 13px; color: var(--gray); padding: 5px 0; line-height: 1.35; }
.legal-toc a:hover { color: var(--ink); }
.legal-toc a span { display: inline-block; width: 26px; color: var(--red); font-weight: 700; font-variant-numeric: tabular-nums; }

.legal-body { max-width: 720px; }
.legal-body h2 { font-size: 22px; margin: 44px 0 14px; scroll-margin-top: 100px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: #3a3a3f; font-size: 15.5px; margin-bottom: 12px; }
.legal-body ul { padding-left: 20px; margin: 0 0 14px; list-style: disc; color: #3a3a3f; font-size: 15.5px; line-height: 1.65; }
.legal-body li { margin-bottom: 4px; }
.legal-signbox { margin-top: 48px; border: 1px solid var(--border); background: var(--white); padding: 24px 26px; }
.legal-signbox p { margin-bottom: 8px; }
.legal-signbox .line { display: inline-block; min-width: 260px; border-bottom: 1px solid var(--ink); vertical-align: bottom; margin-left: 8px; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; border-left: 0; padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
}
.print-header { display: none; }
@media print {
  @page { size: A4; margin: 16mm 16mm 18mm; }
  html, body { background: #fff !important; color: #000; font-size: 10.5pt; line-height: 1.45; }
  .nav, .footer-contact, .site-footer, .legal-toc, .legal-actions, .legal-hero { display: none !important; }
  .print-header { display: flex; align-items: center; gap: 16px; background: #0c0c0e; color: #fff; padding: 12px 18px; margin-bottom: 18px;
    -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .print-header img { height: 30px; width: auto; }
  .print-header strong { display: block; font-size: 14pt; }
  .print-header span { font-size: 9pt; color: #b7b7bb; }
  section, .legal-section, .legal-body, .wrap { padding: 0 !important; background: #fff !important; }
  .wrap, .legal-grid { max-width: none; padding: 0; display: block; }
  .legal-body { max-width: none; }
  .legal-body h2 { font-size: 12.5pt; margin: 14pt 0 5pt; page-break-after: avoid; break-after: avoid; color: #000; }
  .legal-body p, .legal-body ul, .legal-body li { font-size: 10.5pt; color: #000; margin-bottom: 5pt; line-height: 1.45; orphans: 3; widows: 3; }
  .legal-body ul { margin-bottom: 7pt; }
  .legal-signbox { margin-top: 18pt; padding: 12pt 14pt; border: 1px solid #000; page-break-inside: avoid; break-inside: avoid; }
  .legal-signbox .line { border-bottom-color: #000; }
  .about-tag, .flash, .hp-field { display: none !important; }
  a { color: #000; text-decoration: none; }
}

/* Correctif nav mobile (préexistant : le bouton rouge débordait et masquait le menu burger) */
@media (max-width: 600px) {
  .nav .wrap { gap: 12px; }
  .brand-sub { display: none; }
  .nav-right .btn { padding: 12px 14px; font-size: 11px; letter-spacing: 0.05em; }
  .nav-right .btn svg { display: none; }
}

/* ============================================================
   ÉTAPE 3 — éléments dynamiques (PHP) : messages de formulaire,
   champs en erreur, piège anti-robot, photos et badges véhicules
   ============================================================ */

/* Message affiché en haut d'un formulaire après envoi (succès ou erreurs) */
.flash { margin: 0 0 20px; padding: 14px 16px; border-radius: var(--radius); font-size: 13.5px; line-height: 1.5; border: 1px solid; }
.flash p { margin: 0; font-weight: 600; }
.flash ul { margin: 8px 0 0; padding-left: 18px; font-weight: 400; }
.flash li { margin-top: 3px; }
.flash-ok { background: #10221a; border-color: #1f7a4a; color: #b8f0d0; }
.flash-err { background: #2a1113; border-color: var(--red); color: #ffd6d6; }

/* Champ signalé en erreur par le serveur */
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: var(--red); }
.form-field.has-error label { color: #ff8a8a; }
.cgv-gate.has-error label { color: #ff8a8a; }
.pick-grid.has-error .pick-btn { border-color: var(--red); }

/* Piège anti-robot : champ invisible pour un humain, rempli par les robots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Cartes véhicules alimentées par la base */
.vcard { position: relative; }
.vcard-photo { aspect-ratio: 4/3; overflow: hidden; background: #e2ded2; }
.vcard-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard-badge { position: absolute; top: 12px; left: 12px; background: var(--black); color: var(--white); font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 9px; border-radius: var(--radius); }
.vehicules-empty { margin-top: 34px; padding: 26px; background: var(--white); border: 1px dashed var(--border); border-radius: var(--radius); color: var(--gray); text-align: center; font-size: 14.5px; }

/* ============================================================
   RETOURS CLIENT 15/09/2026 — photos réelles, À propos fusionné,
   galerie des ventes, fiche véhicule
   ============================================================ */

/* Photos remplaçant les placeholders */
.photo { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius); }
.principle-card .photo, .diff-photo .photo, .about-photo .photo { aspect-ratio: 4/3; }
.principle-card .photo { border-radius: 0; }

/* À propos : texte long → la photo reste visible en défilant */
.about-grid { align-items: start; }
.about-photo { position: sticky; top: 100px; }
.about-quote { margin: 26px 0 0; padding: 18px 22px; border-left: 3px solid var(--red); background: var(--white); font-family: var(--font-serif); font-size: 20px; line-height: 1.4; color: var(--ink); }
@media (max-width: 900px) { .about-photo { position: static; } }

/* Galerie "Nos dernières ventes" */
.section-head.on-dark .eyebrow { color: var(--red); }
.section-head.on-dark .section-intro { color: #b7b7bb; }
.ventes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.vente { margin: 0; background: var(--card-dark); border-radius: var(--radius); overflow: hidden; }
.vente img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; filter: saturate(0.85); transition: filter .3s, transform .3s; }
.vente:hover img { filter: saturate(1); transform: scale(1.03); }
.vente figcaption { padding: 12px 14px; font-size: 13.5px; color: #d8d8db; }
.vente figcaption strong { color: var(--white); }
.vente figcaption span { display: block; font-size: 11.5px; color: var(--gray-light); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 900px) { .ventes-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 480px) { .ventes-grid { grid-template-columns: 1fr 1fr; } }

/* Fiche véhicule */
.page-fiche .nav { position: sticky; }
.fiche, .fiche-vide { padding-top: 130px; background: var(--cream); }
.fiche-vide h1 { font-size: clamp(30px, 4vw, 44px); margin: 14px 0 12px; }
.fiche-vide p { color: var(--gray); max-width: 560px; margin-bottom: 26px; }
.fiche-retour { display: inline-block; font-size: 13px; font-weight: 600; color: var(--gray); margin-bottom: 26px; }
.fiche-retour:hover { color: var(--ink); }
.fiche-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: start; }
.fiche-galerie { position: sticky; top: 100px; }
.fiche-main { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: #e2ded2; }
.fiche-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fiche-main.placeholder-box svg { width: 80px; height: 80px; }
.fiche-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.fiche-thumb { padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; background: none; cursor: pointer; aspect-ratio: 4/3; }
.fiche-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fiche-thumb.active { border-color: var(--red); }
.fiche-infos { position: relative; }
.fiche-badge { position: static; display: inline-block; margin-bottom: 14px; }
.fiche-infos h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; margin: 10px 0 18px; }
.fiche-prix { font-family: var(--font-serif); font-size: 34px; color: var(--red); padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.fiche-prix span { display: block; font-family: var(--font-sans); font-size: 12px; color: var(--gray); letter-spacing: 0.04em; margin-top: 4px; }
.fiche-caracs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 18px; margin: 22px 0 0; }
.fiche-caracs dt { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); }
.fiche-caracs dd { margin: 3px 0 0; font-size: 15.5px; font-weight: 600; }
.fiche-desc { margin-top: 26px; padding: 20px 22px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); font-size: 15px; line-height: 1.65; color: #3a3a3f; }
.fiche-desc h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); margin-bottom: 10px; }
.fiche-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fiche-note { margin-top: 14px; font-size: 13px; color: var(--gray); }
@media (max-width: 900px) {
  .fiche-grid { grid-template-columns: 1fr; gap: 28px; }
  .fiche-galerie { position: static; }
  .fiche-caracs { grid-template-columns: 1fr 1fr; }
  .fiche-thumbs { grid-template-columns: repeat(5, 1fr); }
}
/* ============================================================
   Barre de menu : tout sur une seule ligne, à toutes les tailles
   (le contenu de la nav est plus large que le conteneur de 1240px)
   ============================================================ */
.nav .wrap { max-width: 1440px; gap: 24px; }
.nav a, .nav span, .nav .btn { white-space: nowrap; }
.nav-links { gap: 24px; }
.brand, .nav-links, .nav-right { flex-shrink: 0; }

/* Écran moyen : on retire "La Courneuve" (il reste dans le footer) */
@media (max-width: 1360px) {
  .nav .brand-sub { display: none; }
}

/* Portable : on resserre les espacements */
@media (max-width: 1200px) {
  .nav .wrap { gap: 18px; }
  .nav-links { gap: 18px; }
  .nav-links a, .nav-phone { font-size: 14px; }
  .nav-right { gap: 16px; }
  .nav-right .btn { padding: 14px 18px; font-size: 11.5px; }
}

/* Juste avant le menu burger (980px) : le numéro devient une icône cliquable */
@media (max-width: 1100px) {
  .nav-phone { font-size: 0; }
  .nav-phone svg { width: 20px; height: 20px; }
}
/* Pied de page : icônes des réseaux */
.social-row a svg { width: 17px; height: 17px; }
.social-row a { transition: background .2s ease, color .2s ease; }
.social-row a:hover { background: var(--red); color: #fff; }
