/* ==========================================================
   Nova Chauffeurs — feuille de style
   Changez les couleurs ici : tout le site suit.
   ========================================================== */
:root {
  --ink: #15171C;        /* graphite : fonds sombres, texte */
  --ink-2: #22252C;      /* graphite clair : cartes sur fond sombre */
  --ink-line: #343842;
  --paper: #F5F6F8;      /* fond clair */
  --white: #FFFFFF;
  --line: #E3E5EA;
  --muted: #4A505C;      /* texte secondaire sur clair */
  --muted-dark: #B9BEC8; /* texte secondaire sur sombre */
  --signal: #FF6A1A;     /* accent orange signal */
  --signal-dark: #E2560A;
  --signal-soft: #FFF0E7;

  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", Helvetica, sans-serif;
  --wrap: 1240px;
  --r-lg: 24px;
  --r: 16px;
  --r-sm: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--signal-dark); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--signal); color: var(--ink); padding: 12px 20px; font-weight: 700; z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; }

h1, h2 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(40px, 6.2vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 20px; line-height: 1.3; margin: 0; }
p { margin: 0; }
.lead { font-size: 19px; color: var(--muted); max-width: 58ch; }
.dark .lead, .dark p { color: var(--muted-dark); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-sm); border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-signal:hover { background: var(--signal-dark); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); color: var(--signal); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-light:hover { border-color: var(--signal); color: var(--signal); }
.btn-wa { background: #1F8F4E; color: var(--white); }
.btn-wa:hover { background: #18773F; color: var(--white); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 0; color: var(--ink); position: relative; }
.nav a:hover { color: var(--signal-dark); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; border-radius: 2px; background: var(--signal); }
.nav .btn { min-height: 46px; padding: 0 20px; color: var(--ink); }
.nav .btn::after { display: none; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--white); cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: 8px 24px 24px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a[aria-current="page"] { color: var(--signal-dark); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,23,28,.92) 0%, rgba(21,23,28,.75) 45%, rgba(21,23,28,.35) 100%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 96px; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: 14px; font-weight: 500; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.hero p.lead { color: #DADDE3; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); list-style: none; margin: 0; padding-left: 0; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.hero-facts span { font-size: 14px; color: #C9CDD5; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .hero-bg::after { background: rgba(21,23,28,.82); }
}

/* ---------- Carte de réservation ---------- */
.booking { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.booking h2 { font-size: 24px; }
.vehicles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border: 0; padding: 0; margin: 0; }
.vehicles legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.vehicle-opt { position: relative; }
.vehicle-opt input { position: absolute; opacity: 0; inset: 0; }
.vehicle-opt span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 64px; padding: 8px; border-radius: var(--r-sm); border: 1.5px solid var(--line); font-weight: 700; font-size: 15px; cursor: pointer; text-align: center; }
.vehicle-opt small { font-weight: 500; font-size: 12px; color: var(--muted); }
.vehicle-opt input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.vehicle-opt input:checked + span small { color: var(--muted-dark); }
.vehicle-opt input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }

.route { border: 1.5px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; }
.route .field { flex-direction: row; align-items: center; gap: 12px; padding: 10px 16px; }
.route .field + .field { border-top: 1px solid var(--line); }
.route .marker { width: 12px; height: 12px; flex: none; border: 3px solid var(--ink); border-radius: 50%; }
.route .marker.end { border-radius: 2px; background: var(--signal); }
.route .field > div { display: flex; flex-direction: column; flex: 1; }
.route label { font-size: 12px; font-weight: 600; color: var(--muted); }
.route input { border: 0; padding: 2px 0; min-height: 30px; font: inherit; font-size: 16px; color: var(--ink); background: transparent; }
.route input:focus { outline: none; }
.route .field:focus-within { background: var(--signal-soft); border-radius: 12px; }

.row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 480px) { .row-3 { grid-template-columns: 1fr 1fr; } .row-3 .field:last-child { grid-column: 1 / -1; } .row-2 { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea {
  min-height: 50px; padding: 10px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: var(--white); font: inherit; font-size: 16px; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field .error { font-size: 13px; color: #B42318; }
.field.has-error input, .field.has-error select, .field.has-error textarea, .route .field.has-error { border-color: #D92D20; }
.route .field.has-error { background: #FEF3F2; border-radius: 12px; }
.booking-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .booking-actions { grid-template-columns: 1fr; } }
.booking-note { font-size: 13px; color: var(--muted); text-align: center; }
.form-success { background: var(--signal-soft); border: 1.5px solid var(--signal); color: var(--ink); padding: 14px 16px; border-radius: var(--r-sm); font-weight: 600; }
.form-success[hidden] { display: none; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--ink); color: var(--white); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 44px; }
.section-head h2 { max-width: 18ch; }
.section-head p { max-width: 44ch; color: var(--muted); }
.dark .section-head p { color: var(--muted-dark); }

/* ---------- Photos ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--r); background: #DDE0E6; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.is-missing { background: repeating-linear-gradient(135deg, #E4E6EB 0 14px, #DADDE3 14px 28px); display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center; color: var(--muted); font-size: 14px; }
.photo.is-missing img { display: none; }

/* ---------- Services (cartes photo) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.svc { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.svc .photo { height: 220px; }
.svc p { color: var(--muted); }
.svc:hover h3 { color: var(--signal-dark); }

.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.svc-list > div { display: flex; gap: 16px; padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.svc-list svg { width: 28px; height: 28px; flex: none; color: var(--signal-dark); }
.svc-list p { color: var(--muted); }
@media (max-width: 720px) { .svc-list { grid-template-columns: 1fr; } }

/* ---------- Véhicules ---------- */
.car { display: flex; flex-direction: column; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 14px 14px 22px; }
.car .photo { height: 220px; border-radius: 12px; }
.car-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 0 8px; }
.car-head h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.car-head span { font-weight: 700; }
.car p { padding: 0 8px; color: var(--muted); }
.specs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 8px; list-style: none; margin: 0; }
.specs li { font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: var(--paper); }
.car.featured { border: 2px solid var(--signal); }

/* ---------- Tableau tarifs ---------- */
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { font-size: 13px; color: var(--muted); font-weight: 600; background: var(--paper); }
tbody tr:last-child td { border-bottom: 0; }
td.price { font-weight: 700; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.steps .n { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--signal); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; }
.steps p { color: var(--muted); }
.steps li:last-child { background: var(--ink); color: var(--white); border-color: var(--ink); }
.steps li:last-child .n { background: var(--signal); color: var(--ink); }
.steps li:last-child p { color: var(--muted-dark); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Bloc partagé ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .photo { height: 460px; border-radius: var(--r-lg); }
.split-text { display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split .photo { height: 300px; } }

.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; margin-top: 3px; color: var(--signal); }

.quote { margin: 0; padding: 30px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--ink-line); display: flex; flex-direction: column; gap: 14px; }
.quote blockquote { margin: 0; font-size: 20px; line-height: 1.5; color: var(--white); }
.quote figcaption { font-size: 14px; color: var(--muted-dark); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 0 24px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--signal-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* ---------- Bandeau CTA ---------- */
.cta { background: var(--signal); color: var(--ink); }
.cta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { font-size: clamp(26px, 3.2vw, 38px); max-width: 22ch; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- En-tête de page ---------- */
.page-hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.page-hero .hero-bg::after { background: rgba(21,23,28,.78); }
.page-hero .wrap { position: relative; padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 18px; }
.page-hero p { color: #DADDE3; font-size: 19px; max-width: 58ch; }
.crumbs { font-size: 14px; color: #C9CDD5; }
.crumbs a { color: #C9CDD5; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.info { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.info-row { display: flex; gap: 14px; align-items: center; }
.info-row .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: var(--signal); display: flex; align-items: center; justify-content: center; flex: none; }
.info-row small { display: block; font-size: 13px; color: var(--muted); }
.info-row a, .info-row strong { font-weight: 700; text-decoration: none; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-grid h3 { color: var(--white); font-size: 15px; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: var(--muted-dark); text-decoration: none; }
.footer-grid a:hover { color: var(--signal); }
.site-footer .brand { color: var(--white); margin-bottom: 14px; }
.site-footer .brand-mark { background: var(--ink-2); }
.footer-bottom { border-top: 1px solid var(--ink-line); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 24px; font-size: 13px; }
.footer-bottom a { color: var(--muted-dark); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Barre mobile ---------- */
.call-bar { display: none; }
@media (max-width: 640px) {
  .call-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--white); border-top: 1px solid var(--line); }
  .call-bar .btn { flex: 1; min-height: 50px; padding: 0 10px; }
  body { padding-bottom: 76px; }
}
