/* Styles communs des pages du site de location */
:root {
  --black: #000000;
  --white: #FFFFFF;
  --red: #CC0000;
  --grey: rgba(255, 255, 255, 0.62);
  --hairline: rgba(255, 255, 255, 0.22);
  --hairline-soft: rgba(255, 255, 255, 0.1);
  --lead: rgba(255, 255, 255, 0.78);
  --panel: #0A0A0A;
  --field: rgba(255, 255, 255, 0.04);
  --pad-x: clamp(20px, 5vw, 80px);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; background: var(--black); -webkit-text-size-adjust: 100%; }

body {
  background: var(--black);
  color: var(--white);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a { color: inherit; }

/* ---------- Typographie ---------- */
h1, h2, .display {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.9;
}
h1 { font-size: clamp(3rem, 9vw, 8.5rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 14px;
  position: relative;
  top: -1px;
}

.lead {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--lead);
  max-width: 600px;
}
.muted { color: var(--grey); }

/* ---------- Structure ---------- */
.container { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad-x); }

.page-hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: calc(66px + clamp(56px, 10vh, 120px)) var(--pad-x) clamp(48px, 8vh, 88px);
}
.page-hero .lead { margin-top: 28px; }

.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(80px, 13vh, 150px) var(--pad-x);
  border-top: 1px solid var(--hairline);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 24px clamp(48px, 7vw, 120px);
  align-items: end;
  margin-bottom: clamp(48px, 8vh, 88px);
}
.section-head .lead { max-width: 560px; }
.section-foot { margin-top: clamp(40px, 6vh, 64px); }

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 17px 48px;
  font: 600 12px "Inter", system-ui, sans-serif;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  text-align: center;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 420ms var(--ease-io);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease-io);
}
.btn span { position: relative; z-index: 1; padding-left: 0.38em; }
.btn:hover, .btn:focus-visible { border-color: var(--red); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:focus-visible { outline: 1px solid var(--white); outline-offset: 4px; }
.btn[disabled] { opacity: 0.5; cursor: wait; }
.btn--solid { border-color: var(--white); background: var(--white); color: var(--black); }
.btn--solid:hover, .btn--solid:focus-visible { color: var(--white); }

.link {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  transition: border-color 300ms ease;
}
.link:hover, .link:focus-visible { border-bottom-color: var(--red); }
.link:focus-visible { outline: 1px solid var(--white); outline-offset: 4px; }

.actions-row { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }

/* ---------- Accueil ---------- */
.home-hero {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 86vh;
  min-height: 86svh;
  padding: calc(66px + 56px) var(--pad-x) clamp(48px, 8vh, 80px);
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 40px clamp(32px, 5vw, 80px);
  align-items: end;
}
.home-hero h1 { font-size: clamp(3.4rem, 10vw, 9.5rem); }
.home-hero .lead { margin: 28px 0 44px; }
.home-hero__visual { padding-bottom: 12px; }
.home-hero__visual svg { width: 100%; height: auto; }
.search { margin-bottom: clamp(80px, 12vh, 140px); }

/* ---------- Accueil : hero photo ---------- */
.script {
  font-family: "Allura", "Snell Roundhand", cursive;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--red);
}
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* Voile de lisibilité côté texte */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.05) 80%),
    linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 35%);
}
.hero.no-photo::before { display: none; }
.hero__silhouette { display: none; }
.hero.no-photo .hero__silhouette {
  display: block;
  position: absolute;
  right: var(--pad-x);
  bottom: clamp(64px, 12vh, 140px);
  width: min(46vw, 720px);
  z-index: 1;
}
.hero.no-photo .hero__silhouette svg { width: 100%; height: auto; }
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: calc(66px + 48px) var(--pad-x) clamp(36px, 6vh, 56px);
}
.hero h1 { font-size: clamp(3.6rem, 11vw, 10.5rem); line-height: 0.86; }
.hero__script {
  display: block;
  font-size: clamp(3.4rem, 12vw, 8.6rem);
  line-height: 1;
  margin: -0.12em 0 0 0.04em;
}
.hero__lead { margin-top: 28px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 40px; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: clamp(36px, 6vh, 64px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey);
}
.btn--red { background: var(--red); border-color: var(--red); }
.btn--red::before { background: var(--white); }
.btn--red:hover, .btn--red:focus-visible { color: var(--black); border-color: var(--white); }
.btn .arrow { display: inline-block; margin-left: 10px; padding: 0; transition: transform 300ms var(--ease-io); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Accueil : pourquoi K-Performance ---------- */
.why-title { font-size: clamp(2.6rem, 6.4vw, 5.6rem); margin-bottom: clamp(48px, 8vh, 80px); }
.why-title .script, .section-head h2 .script { font-size: 1.45em; line-height: 0.7; margin-left: 0.05em; }
.why-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.why-card {
  background: var(--panel);
  border: 1px solid var(--hairline-soft);
  padding: clamp(28px, 3.4vw, 52px);
  transition: border-color 400ms ease;
}
.why-card:hover { border-color: rgba(255, 255, 255, 0.32); }
.why-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.why-card__num { font-family: "Anton", Impact, sans-serif; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1; color: var(--red); }
.why-card__icon { width: 32px; height: 32px; color: var(--red); }
.why-card__top::after { content: none; }
.why-card h3 {
  margin-top: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline-soft);
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -0.01em;
  line-height: 1;
}
.why-card p { margin-top: 18px; font-size: 15px; line-height: 1.65; color: var(--lead); }

.home-chips { margin-bottom: clamp(32px, 5vh, 48px); }

/* Bouton WhatsApp flottant (affiché seulement si un numéro est configuré) */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  transition: transform 300ms var(--ease-io);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover, .wa-float:focus-visible { transform: scale(1.06); }
.wa-float:focus-visible { outline: 1px solid var(--white); outline-offset: 4px; }

/* ---------- Silhouette véhicule ---------- */
.car-visual {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--hairline-soft);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.car-visual svg { width: 82%; height: auto; }
.car-visual img { width: 100%; height: 100%; object-fit: cover; }
.car-visual__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------- Cartes véhicules ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px) clamp(20px, 2.4vw, 32px);
}
.fleet-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.car-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.car-card .car-visual { transition: border-color 400ms ease; }
.car-card:hover .car-visual, .car-card:focus-visible .car-visual { border-color: rgba(255, 255, 255, 0.4); }
.car-card:focus-visible { outline: 1px solid var(--white); outline-offset: 6px; }
.car-card__body { padding-top: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.car-card__brand { font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--grey); }
.car-card__name {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.car-card__specs { font-size: 13px; color: var(--grey); letter-spacing: 0.02em; }
.car-card__foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--hairline-soft);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.price { font-size: 14px; color: var(--lead); }
.price strong { font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: 1.6rem; color: var(--white); letter-spacing: 0.01em; }
.car-card__more {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}
.car-card__more::after { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--red); vertical-align: middle; margin-left: 10px; transition: width 400ms var(--ease-io); }
.car-card:hover .car-card__more::after { width: 30px; }

/* ---------- Fiche véhicule ---------- */
.vehicle {
  max-width: 1440px;
  margin: 0 auto;
  padding: calc(66px + clamp(40px, 7vh, 80px)) var(--pad-x) clamp(80px, 12vh, 140px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px clamp(40px, 6vw, 96px);
  align-items: start;
}
.crumbs { display: flex; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--grey); margin-bottom: 40px; }
.crumbs a { color: var(--grey); text-decoration: none; transition: color 300ms ease; }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--white); }
.vehicle h1 { font-size: clamp(3rem, 7vw, 6.4rem); }
.vehicle__price { margin: 20px 0 40px; }
.vehicle__visual .car-visual { aspect-ratio: 16 / 9; }
.vehicle__desc { margin-top: 32px; }
.vehicle__h { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: clamp(48px, 7vh, 72px) 0 20px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--hairline); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hairline-soft); }
.specs div:nth-child(odd) { padding-right: 24px; }
.specs div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--hairline-soft); }
.specs dt { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey); }
.specs dd { font-size: 15px; text-align: right; }
.included { list-style: none; border-top: 1px solid var(--hairline); }
.included li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--hairline-soft); font-size: 15px; color: var(--lead); }
.included li::before { content: ""; position: absolute; left: 0; top: 25px; width: 12px; height: 2px; background: var(--red); }
.vehicle .note a { color: var(--white); }

.vehicle__aside { position: sticky; top: calc(66px + 24px); }
.booking { border: 1px solid var(--hairline); background: var(--panel); padding: clamp(24px, 3vw, 40px); }
.booking .form-title { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; margin-bottom: 28px; }
.booking__grid { gap: 20px 16px; }
.estimate { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft); font-size: 13px; color: var(--grey); }
.estimate strong { font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: 1.5rem; color: var(--white); }

/* ---------- Filtres ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: clamp(40px, 6vh, 64px);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--grey);
  padding: 11px 18px;
  font: 600 11px "Inter", system-ui, sans-serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 300ms ease, border-color 300ms ease, background-color 300ms ease;
}
.chip:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.chip[aria-pressed="true"] { color: var(--black); background: var(--white); border-color: var(--white); }
.chip:focus-visible { outline: 1px solid var(--white); outline-offset: 3px; }
.filters__right { display: flex; align-items: center; gap: 20px; }
.count { font-size: 12px; color: var(--grey); letter-spacing: 0.1em; white-space: nowrap; }
.sort { width: auto !important; min-width: 200px; }

/* ---------- Étapes / grilles d'avantages ---------- */
.steps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hairline); }
.steps-row > div { padding: 36px clamp(20px, 3vw, 48px) 0 0; }
.steps-row > div + div { padding-left: clamp(20px, 3vw, 48px); border-left: 1px solid var(--hairline); }
.steps-row .num, .feature .num {
  display: block;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
  margin-bottom: 28px;
}
.steps-row h3, .feature h3 { margin-bottom: 14px; }
.steps-row p, .feature p { font-size: 15px; line-height: 1.6; color: var(--lead); }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.feature { padding: clamp(28px, 3vw, 44px); border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.feature .num { font-size: 15px; color: var(--grey); margin-bottom: 40px; }

/* ---------- Bandeau ---------- */
.band {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px clamp(48px, 7vw, 120px);
  align-items: end;
}
.band h2 { font-size: clamp(2.4rem, 5.4vw, 4.8rem); }
.band .lead { margin-bottom: 36px; }

/* ---------- Texte long (conditions, à propos) ---------- */
.prose-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(48px, 7vw, 120px); }
.prose-nav { position: sticky; top: calc(66px + 40px); align-self: start; list-style: none; }
.prose-nav li { border-top: 1px solid var(--hairline-soft); }
.prose-nav li:last-child { border-bottom: 1px solid var(--hairline-soft); }
.prose-nav a { display: block; padding: 14px 0; font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey); text-decoration: none; transition: color 300ms ease; }
.prose-nav a:hover, .prose-nav a:focus-visible { color: var(--white); }
.terms > section { padding: 0 0 clamp(48px, 7vh, 72px); scroll-margin-top: 100px; }
.terms > section + section { padding-top: clamp(48px, 7vh, 72px); border-top: 1px solid var(--hairline); }
.terms h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 24px; }
.terms p { font-size: 16px; line-height: 1.7; color: var(--lead); max-width: 720px; }
.terms p + p { margin-top: 14px; }
.terms ul { list-style: none; margin-top: 18px; max-width: 720px; }
.terms li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--hairline-soft); font-size: 15px; line-height: 1.6; color: var(--lead); }
.terms li:last-child { border-bottom: 1px solid var(--hairline-soft); }
.terms li::before { content: ""; position: absolute; left: 0; top: 23px; width: 12px; height: 2px; background: var(--red); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 500;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transition: transform 300ms var(--ease-io);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 1px solid var(--white); outline-offset: 4px; }
.faq details p { padding: 0 0 28px; max-width: 760px; font-size: 15px; line-height: 1.7; color: var(--lead); }
.faq-group + .faq-group { margin-top: clamp(56px, 9vh, 96px); }
.faq-group > h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 24px; }

/* ---------- Formulaires ---------- */
fieldset { border: 0; min-width: 0; }
fieldset[hidden] { display: none; }
legend { width: 100%; margin-bottom: 28px; }
legend h2, .form-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; }
.full { grid-column: 1 / -1; }

.field > label:not(.consent), .group-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 10px;
}
.optional { text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field select, .field textarea, .sort {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  background-color: var(--field);
  color: var(--white);
  color-scheme: dark;
  font: 400 16px "Inter", system-ui, sans-serif;
  padding: 14px;
  outline: none;
  transition: border-color 300ms ease, background-color 300ms ease;
}
.field select, .sort {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23FFFFFF' stroke-opacity='0.7' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.field select option, .sort option { background: #111111; color: var(--white); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.field input:focus, .field select:focus, .field textarea:focus, .sort:focus { border-bottom-color: var(--white); background-color: rgba(255, 255, 255, 0.07); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom-color: var(--red); }
.field .error { display: none; margin-top: 8px; font-size: 13px; color: var(--white); }
.field .error::before { content: ""; display: inline-block; width: 12px; height: 2px; background: var(--red); vertical-align: middle; margin-right: 8px; }
.field.is-invalid .error { display: block; }

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 13px;
  line-height: 1.55;
  color: var(--grey);
  cursor: pointer;
}
.consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0;
  margin-top: 1px;
  cursor: pointer;
  display: grid;
  place-content: center;
}
.consent input::after { content: ""; width: 10px; height: 10px; background: var(--white); transform: scale(0); transition: transform 200ms ease; }
.consent input:checked { border-color: var(--white); }
.consent input:checked::after { transform: scale(1); }
.consent input:focus-visible { outline: 1px solid var(--white); outline-offset: 3px; }
.field.is-invalid .consent input { border-color: var(--red); }

.form-actions { margin-top: 36px; }
.form-actions .btn { width: 100%; }
.note { margin-top: 18px; font-size: 12px; line-height: 1.6; color: var(--grey); }
.done[hidden] { display: none; }
.done h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 20px; }
.done .btn { margin-top: 32px; }

/* Barre de recherche (accueil) */
.search {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 0;
  border: 1px solid var(--hairline);
  background: var(--panel);
}
.search .field { padding: 18px 20px 14px; border-right: 1px solid var(--hairline-soft); }
.search .field > label { margin-bottom: 6px; }
.search .field input, .search .field select { background-color: transparent; border-bottom: 0; padding: 4px 0; }
.search .field select { background-position: right 0 center; }
.search .btn { border: 0; height: 100%; padding: 0 40px; background: var(--white); color: var(--black); }
.search .btn:hover, .search .btn:focus-visible { color: var(--white); }

/* ---------- Pied de page ---------- */
.footer {
  border-top: 1px solid var(--hairline);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 96px) var(--pad-x) 32px;
}
.footer__top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.footer__brand { font-family: "Anton", Impact, sans-serif; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 0.9; text-transform: uppercase; letter-spacing: -0.02em; }
.footer__brand + p { margin-top: 18px; font-size: 14px; line-height: 1.6; color: var(--grey); max-width: 340px; }
.footer h3 { color: var(--grey); margin-bottom: 18px; font-size: 11px; }
.footer ul { list-style: none; }
.footer li + li { margin-top: 10px; }
.footer ul a { font-size: 14px; color: var(--lead); text-decoration: none; transition: color 300ms ease; }
.footer ul a:hover, .footer ul a:focus-visible { color: var(--white); }
.footer__bottom { margin-top: clamp(48px, 8vh, 80px); padding-top: 24px; border-top: 1px solid var(--hairline-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--grey); }

/* ---------- Apparition au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms ease, transform 800ms var(--ease-io); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
  .fleet-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search .btn { grid-column: 1 / -1; padding: 18px; }
}
@media (max-width: 959px) {
  .section-head, .band, .prose-grid { grid-template-columns: minmax(0, 1fr); }
  .home-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .vehicle { grid-template-columns: minmax(0, 1fr); }
  .vehicle__aside { position: static; }
  .why-cards { grid-template-columns: minmax(0, 1fr); }
  .hero.no-photo .hero__silhouette { top: calc(66px + 32px); bottom: auto; width: min(80vw, 520px); right: 50%; transform: translateX(50%); }
  .hero.no-photo .hero__content { padding-top: calc(66px + 56px + min(30vw, 195px)); }
  .home-hero__visual { order: -1; max-width: 560px; }
  .fleet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose-nav { position: static; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .page-hero { padding: calc(66px + 48px) 20px 40px; }
  .section { padding: 72px 20px; }
  .fleet-grid, .fleet-grid--4, .features { grid-template-columns: minmax(0, 1fr); }
  .steps-row { grid-template-columns: minmax(0, 1fr); }
  .steps-row > div, .steps-row > div + div { padding: 28px 0; border-left: 0; }
  .steps-row > div + div { border-top: 1px solid var(--hairline); }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .vehicle { padding: calc(66px + 32px) 20px 72px; }
  .hero::before { background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.2) 100%); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__meta { letter-spacing: 0.18em; }
  .specs { grid-template-columns: minmax(0, 1fr); }
  .specs div:nth-child(odd), .specs div:nth-child(even) { padding: 14px 0; border-left: 0; }
  .booking { padding: 22px 18px; }
  .search { grid-template-columns: minmax(0, 1fr); }
  .search .field { border-right: 0; border-bottom: 1px solid var(--hairline-soft); }
  .filters, .filters__right { flex-direction: column; align-items: stretch; }
  .sort { min-width: 0; }
  .btn { padding: 17px 28px; }
  .actions-row { flex-direction: column; align-items: stretch; }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
}
.contact-list { margin-top: 48px; }

/* Accueil sans photo (grand écran) : texte à gauche, silhouette à droite */
@media (min-width: 960px) {
  .hero.no-photo .hero__content > * { max-width: 54%; }
  .hero.no-photo h1 { font-size: clamp(3.6rem, 7.6vw, 8.4rem); }
  .hero.no-photo .hero__script { font-size: clamp(3rem, 6.6vw, 7rem); }
  .hero.no-photo .hero__silhouette { width: min(40vw, 640px); bottom: auto; top: 50%; transform: translateY(-30%); }
}

/* Accueil avec photo : sur tablette et mobile, la photo passe au-dessus du texte */
@media (max-width: 959px) {
  .hero:not(.no-photo) { flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .hero:not(.no-photo) .hero__img { position: relative; inset: auto; height: 56vh; height: 56svh; flex: none; object-position: 62% 55%; }
  .hero:not(.no-photo)::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0, transparent 18%, transparent calc(56svh - 160px), #000000 56svh);
  }
  .hero:not(.no-photo) .hero__content { margin-top: -96px; padding-top: 0; }
}

/* Accueil avec photo (grand écran) : photo calée à droite, texte sur la partie sombre à gauche */
@media (min-width: 960px) {
  .hero:not(.no-photo) .hero__img { left: auto; right: 0; width: 74%; object-position: 70% center; }
  .hero:not(.no-photo)::before {
    background:
      linear-gradient(90deg, #000000 0%, #000000 26%, rgba(0, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0) 58%),
      linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 30%),
      linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 18%);
  }
  .hero:not(.no-photo) .hero__content > * { max-width: 48%; }
  .hero:not(.no-photo) h1 { font-size: clamp(3.6rem, 8.2vw, 9rem); }
  .hero:not(.no-photo) .hero__script { font-size: clamp(3rem, 6.8vw, 7.4rem); }
  .hero:not(.no-photo) .hero__actions { max-width: 60%; }
}

/* Photos des véhicules */
.car-visual.has-photo { background: #050505; }
.car-visual img { object-position: center 60%; }
.vehicle__visual .car-visual.has-photo { aspect-ratio: 1 / 1; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; }
.thumbs:empty { display: none; }
.thumbs button {
  width: 88px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid var(--hairline-soft);
  background: #050505;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 300ms ease, border-color 300ms ease;
}
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button:hover { opacity: 0.85; }
.thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--white); }
.thumbs button:focus-visible { outline: 1px solid var(--white); outline-offset: 3px; }
.vehicle__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
.price-note { font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--grey); }
@media (max-width: 767px) {
  .vehicle__visual .car-visual.has-photo { aspect-ratio: 4 / 5; }
  .thumbs button { width: 72px; }
}

/* Choix en tuiles (particulier / professionnel) */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: block;
  height: 100%;
  border: 1px solid var(--hairline);
  padding: 14px 16px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.4;
  color: var(--lead);
  transition: border-color 300ms ease, color 300ms ease, background-color 300ms ease;
}
.choice span strong { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.choice input:checked + span { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, 0.06); }
.choice input:checked + span strong::before { content: ""; display: inline-block; width: 12px; height: 2px; background: var(--red); vertical-align: middle; margin-right: 8px; position: relative; top: -1px; }
.choice input:focus-visible + span { outline: 1px solid var(--white); outline-offset: 3px; }
.client-type { margin-bottom: 22px; }

/* Bloc professionnel */
.pro-block { margin-bottom: 22px; padding: 18px; border: 1px solid var(--hairline-soft); background: rgba(255, 255, 255, 0.02); }
.siret-row { display: flex; gap: 8px; }
.siret-row input { flex: 1; min-width: 0; }
.siret-btn {
  flex: none;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: var(--white);
  font: 600 11px "Inter", system-ui, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 300ms ease, background-color 300ms ease;
}
.siret-btn:hover, .siret-btn:focus-visible { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }
.siret-btn:focus-visible { outline: 1px solid var(--white); outline-offset: 3px; }
.company { margin-top: 14px; padding: 14px 16px; border-left: 2px solid var(--hairline); background: rgba(255, 255, 255, 0.03); }
.company.is-ok { border-left-color: #2E9E5B; }
.company.is-ko { border-left-color: var(--red); }
.company__status { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey); }
.company.is-ok .company__status { color: #4CC27E; }
.company.is-ko .company__status { color: var(--white); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 14px; line-height: 1.5; }
.company__name { margin-top: 8px; font-size: 16px; font-weight: 600; }
.company__meta { margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--lead); }

/* Avis clients */
.stars { position: relative; display: inline-block; font-size: 18px; line-height: 1; letter-spacing: 3px; color: rgba(255, 255, 255, 0.18); white-space: nowrap; }
.stars::before { content: "★★★★★"; }
.stars__fill { position: absolute; top: 0; left: 0; overflow: hidden; color: var(--red); }
.stars__fill::before { content: "★★★★★"; }
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.rating-summary__value { font-family: "Anton", Impact, sans-serif; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 0.9; }
.rating-summary__value span { font-size: 0.4em; color: var(--grey); margin-left: 4px; }
.rating-summary .stars { font-size: 22px; }
.rating-summary__count { width: 100%; font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grey); }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.review { background: var(--panel); border: 1px solid var(--hairline-soft); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; }
.review__text { margin-top: 20px; font-size: 15px; line-height: 1.65; color: var(--lead); flex: 1; }
.review__author { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--hairline-soft); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.review__meta { margin-top: 6px; font-size: 12px; color: var(--grey); }
@media (max-width: 1099px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .reviews { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Cartes véhicules v2 (photo, titre sur deux lignes, icônes, prix + bouton) ---------- */
.ico { width: 16px; height: 16px; flex: none; }
.car-card { background: var(--panel); border: 1px solid var(--hairline-soft); transition: border-color 400ms ease, transform 400ms var(--ease-io); }
.car-card:hover, .car-card:focus-visible { border-color: rgba(255, 255, 255, 0.32); transform: translateY(-4px); }
.car-card .car-visual { border: 0; aspect-ratio: 3 / 2; }
.car-card:hover .car-visual img { transform: scale(1.04); }
.car-visual img { transition: transform 900ms var(--ease-io); }
.car-visual__tag { top: 14px; left: 14px; padding: 7px 12px; background: var(--red); color: var(--white); font-size: 10px; letter-spacing: 0.24em; z-index: 1; }
.car-card__body { padding: clamp(20px, 2.2vw, 30px); gap: 0; }
.car-card__title { display: flex; flex-direction: column; font-family: "Anton", Impact, sans-serif; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.98; font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
.car-card__make { color: var(--white); }
.car-card__model { color: var(--white); }
.car-card__icons { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--hairline-soft); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); }
.car-card__icons > span { display: inline-flex; align-items: center; gap: 7px; }
.car-card__foot { margin-top: auto; padding-top: 22px; border-top: 0; align-items: flex-end; }
.car-card__body { min-height: 0; }
.car-card__price { display: flex; flex-direction: column; gap: 4px; }
.car-card__from { font-size: 10px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grey); }
.car-card__price .price strong { font-size: 1.7rem; }
.car-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 300ms ease, color 300ms ease;
}
.car-card:hover .car-card__btn { background: var(--white); color: var(--black); }
.car-card__more { display: none; }
.car-card__body { display: flex; flex-direction: column; flex: 1; }
.car-card { display: flex; flex-direction: column; }
.car-card__icons + .car-card__foot { margin-top: 22px; }
@media (max-width: 400px) {
  .car-card__foot { flex-direction: column; align-items: stretch; gap: 16px; }
  .car-card__btn { justify-content: center; }
}

/* ---------- Fiche véhicule v2 : galerie à gauche, infos et tarifs à droite ---------- */
.vtop { max-width: 1440px; margin: 0 auto; padding: calc(66px + clamp(28px, 5vh, 56px)) var(--pad-x) clamp(48px, 8vh, 88px); }
.vtop__crumbs { margin-bottom: clamp(24px, 4vh, 40px); flex-wrap: wrap; }
.vtop__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 4.5vw, 72px); align-items: start; }
.vtop__gallery .car-visual.has-photo { aspect-ratio: 4 / 3; }
.vtop__gallery .car-visual:not(.has-photo) { aspect-ratio: 4 / 3; }
.vtop__gallery .thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.vtop__gallery .thumbs button { width: 100%; aspect-ratio: 4 / 3; }
.vtop__info { padding-top: 8px; }
.vtop__info h1 { font-size: clamp(2.6rem, 4.6vw, 4.6rem); line-height: 0.92; }
.vtop__info .vehicle__desc { margin-top: 24px; }
.stat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
.stat-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px 10px; background: var(--panel); border: 1px solid var(--hairline-soft); text-align: center; }
.stat-tile__value { font-family: "Anton", Impact, sans-serif; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1; }
.stat-tile__value small { font-size: 0.55em; margin-left: 2px; }
.stat-tile__label { font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--grey); }
.pricebox { margin-top: 14px; padding: clamp(20px, 2.4vw, 32px); background: var(--panel); border: 1px solid var(--hairline-soft); }
.pricebox__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 18px; }
.pricebox__label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--grey); margin-bottom: 10px; }
.pricebox__value { font-family: "Anton", Impact, sans-serif; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1; white-space: nowrap; }
.pricebox__note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hairline-soft); font-size: 13px; color: var(--grey); line-height: 1.5; }
.pricebox__actions { display: grid; gap: 10px; margin-top: 22px; }
.pricebox__actions .btn { width: 100%; }
.btn--wa { background: #25D366; border-color: #25D366; color: #FFFFFF; }
.btn--wa::before { background: #1EB257; }
.vehicle { padding-top: 0; }
.vehicle__h--first { margin-top: 0; }
#booking { scroll-margin-top: 90px; }
@media (max-width: 959px) {
  .vtop__grid { grid-template-columns: minmax(0, 1fr); }
  .vtop__info { padding-top: 0; }
}
@media (max-width: 767px) {
  .vtop { padding: calc(66px + 24px) 20px 48px; }
  .vtop__gallery .car-visual.has-photo { aspect-ratio: 4 / 5; }
  .vtop__gallery .thumbs { gap: 8px; }
  .vehicle { padding-top: 0; }
}
.vtop__gallery .thumbs button { opacity: 0.72; }
.vtop__gallery .thumbs button[aria-pressed="true"] { opacity: 1; }

/* Coordonnées */
.contact-list dd a, .footer__contact a { color: var(--white); text-decoration: none; border-bottom: 1px solid var(--hairline); transition: border-color 300ms ease; }
.contact-list dd a:hover, .contact-list dd a:focus-visible, .footer__contact a:hover, .footer__contact a:focus-visible { border-bottom-color: var(--red); }
.footer__contact { list-style: none; margin-top: 18px; font-size: 14px; color: var(--grey); }
.footer__contact li + li { margin-top: 8px; }
.contact-list dd { overflow-wrap: anywhere; }
