/* VANWORTH — feuille de style principale */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --night: #0F0F12;
  --gold: #EBA60D;
  --gold-dark: #8A5E00;
  --ivory: #F5F3EE;
  --white: #FFFFFF;
  --ink: #16161A;
  --muted: #4A4950;
  --muted-on-dark: #B8B8BF;
  --line: #E3E0D8;
  --line-dark: #26262C;
  --radius: 14px;
  --container: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--black); padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 12px; top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-dark); }
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--gold); }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 60ch; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-size: 0.98rem; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: #F5BA2E; }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #26262C; }
.btn-ghost { background: transparent; color: var(--white); border-color: #3A3A42; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn svg { flex-shrink: 0; }

/* Barre supérieure */
.topbar { background: var(--black); color: var(--muted-on-dark); font-size: 0.82rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.topbar .tb-right { display: flex; gap: 22px; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); border-bottom: 1px solid var(--line-dark); }
.site-header .container { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 200px; height: auto; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a { color: var(--white); text-decoration: none; font-size: 0.92rem; font-weight: 600; padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--gold); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 8px; border: 1px solid #3A3A42; background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center; }

/* Héros */
.hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: 0 0 0 auto; width: 66%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--black) 0%, rgba(0,0,0,.55) 22%, rgba(0,0,0,0) 48%); z-index: 1; }
.hero .container { position: relative; z-index: 2; padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(150px, 16vw, 210px); }
.hero-content { max-width: 600px; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; }
.hero p { font-size: clamp(1rem, 1.6vw, 1.2rem); color: #D7D7DC; max-width: 46ch; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 0.92rem; color: #E8E8EC; }
.hero-points li { display: flex; align-items: center; gap: 8px; }

/* Module de réservation */
.booking { position: relative; z-index: 5; margin-top: -112px; }
.booking-card { background: var(--white); border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.24); overflow: hidden; }
.booking-tabs { display: flex; gap: 4px; padding: 6px 22px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.booking-tabs button { min-height: 48px; padding: 0 16px; border: 0; border-bottom: 3px solid transparent; background: transparent; font: inherit; font-size: 0.95rem; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap; }
.booking-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--gold); }
.booking-form { padding: 24px 26px 26px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.45fr; gap: 14px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field select, .field input { height: 54px; border: 1px solid #CFCCD4; border-radius: 8px; padding: 0 12px; font: inherit; font-size: 0.98rem; font-weight: 600; color: var(--ink); background: var(--white); width: 100%; }
.booking-note { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; color: var(--muted); }

/* Engagements */
.pledges { padding-top: 56px; }
.pledges .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pledge { display: flex; gap: 16px; }
.pledge h3 { font-size: 1.05rem; margin-bottom: 4px; }
.pledge p { color: var(--muted); font-size: 0.95rem; }

/* Sections */
.section { padding-top: var(--section); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head > div { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }

/* Formules */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.offer-media { height: 220px; overflow: hidden; background: var(--black); }
.offer-media img { width: 100%; height: 100%; object-fit: cover; }
.offer-tag { position: absolute; left: 16px; top: 16px; background: var(--gold); color: var(--black); font-size: 0.78rem; font-weight: 700; padding: 6px 12px; border-radius: 6px; }
.offer-body { padding: 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.offer h3 { font-size: 1.3rem; }
.offer p { color: var(--muted); font-size: 0.95rem; }
.offer ul { display: flex; flex-direction: column; gap: 9px; font-size: 0.95rem; }
.offer li { display: flex; gap: 10px; align-items: center; }
.offer .price { font-size: 0.95rem; color: var(--ink); font-weight: 600; padding-top: 6px; border-top: 1px solid var(--line); }
.offer .btn { margin-top: auto; }
.offer.featured { background: var(--night); color: var(--white); border-color: var(--gold); }
.offer.featured p, .offer.featured li { color: #D7D7DC; }
.offer.featured .price { color: var(--white); border-top-color: var(--line-dark); }

/* Fiche véhicule */
.vehicle { background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: 1.45fr 1fr; }
.vehicle-media { background: #120d08; display: flex; align-items: center; }
.vehicle-media img { width: 100%; height: auto; }
.vehicle-info { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 22px; }
.vehicle-info h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.vehicle-info .sub { color: var(--muted); font-size: 0.95rem; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.specs li { display: flex; gap: 12px; align-items: center; font-weight: 500; font-size: 0.97rem; }
.price-box { background: var(--ivory); border-radius: 12px; padding: 18px 20px; }
.price-box strong { display: block; font-size: 1.3rem; }
.price-box span { font-size: 0.9rem; color: var(--muted); }

/* Bloc image + texte */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-media img { width: 100%; height: clamp(300px, 42vw, 540px); object-fit: cover; border-radius: 22px; }
.split-text { display: flex; flex-direction: column; gap: 18px; }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { margin-top: 4px; flex-shrink: 0; }

/* Bandeau électrique */
.electric { position: relative; background: var(--black); color: var(--white); border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: 0.85fr 1.15fr; min-height: 500px; }
.electric-text { position: relative; z-index: 2; padding: clamp(32px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.electric-text p { color: #D7D7DC; }
.electric-text .check-list { color: #E8E8EC; }
.electric-media { position: relative; }
.electric-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.electric-media::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 30%; background: linear-gradient(90deg, var(--black), rgba(0,0,0,0)); z-index: 1; }

/* Étapes */
.steps-band { margin-top: var(--section); background: var(--black); color: var(--white); padding: var(--section) 0; position: relative; overflow: hidden; }
.steps-band .monogram { position: absolute; right: -110px; bottom: -70px; width: 560px; opacity: .06; pointer-events: none; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 44px; position: relative; }
.step { border-top: 2px solid var(--gold); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.step-num { font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted-on-dark); font-size: 0.95rem; }

/* Pièces */
.docs { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.docs-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.docs-card h3, .pro-card h3 { font-size: 1.6rem; }
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.docs-grid li { display: flex; gap: 10px; align-items: center; }
.pro-card { background: var(--gold); color: var(--black); border-radius: 18px; padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; gap: 16px; }
.pro-card .eyebrow { color: var(--black); }
.pro-card .btn { margin-top: auto; align-self: flex-start; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(28px, 5vw, 64px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 1.05rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold-dark); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { margin-top: 12px; color: var(--muted); max-width: 70ch; }

/* SEO */
.seo { padding: var(--section) 0; }
.seo h2 { font-size: 1.5rem; margin-bottom: 14px; }
.seo p { color: var(--muted); max-width: 80ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chips a { text-decoration: none; padding: 9px 14px; border: 1px solid #CFCCD4; border-radius: 999px; background: var(--white); font-size: 0.9rem; font-weight: 500; }
.chips a:hover { border-color: var(--gold); }

/* Appel final */
.cta-band { background: var(--night); color: var(--white); padding: clamp(56px, 7vw, 88px) 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band p { color: var(--muted-on-dark); margin-top: 10px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Pied de page */
.site-footer { background: var(--black); color: var(--muted-on-dark); border-top: 4px solid var(--gold); padding: 64px 0 30px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h2 { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand img { width: 210px; margin-bottom: 16px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.8rem; }
.footer-bottom a { text-decoration: none; margin-right: 18px; }

/* Bouton WhatsApp flottant */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.wa-float:hover { transform: scale(1.05); }

/* Pages légales */
.legal { padding: clamp(48px, 7vw, 88px) 0; }
.legal .container { max-width: 860px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--gold-dark); }

/* Responsive */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta .btn-ghost { display: none; }
  .main-nav.open { display: block; position: absolute; top: 80px; left: 0; right: 0; background: var(--night); border-bottom: 1px solid var(--line-dark); }
  .main-nav.open ul { flex-direction: column; gap: 0; padding: 10px var(--pad) 20px; }
  .main-nav.open a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .booking-form { grid-template-columns: 1fr 1fr; }
  .offers { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .topbar .tb-left { display: none; }
  .topbar .container { justify-content: center; }
  .site-header .container { height: 68px; }
  .main-nav.open { top: 68px; }
  .brand img { width: 150px; }
  .hero-media { position: relative; width: 100%; height: 260px; }
  .hero-media::before { background: linear-gradient(180deg, rgba(0,0,0,0) 60%, var(--black) 100%); }
  .hero-media img { object-position: 78% center; }
  .hero .container { padding-top: 10px; padding-bottom: 120px; }
  .booking { margin-top: -84px; }
  .booking-form { grid-template-columns: 1fr; padding: 18px; }
  .booking-tabs { padding: 6px 8px 0; }
  .pledges .container, .offers, .vehicle, .split, .docs, .faq, .electric { grid-template-columns: 1fr; }
  .electric-media { order: -1; height: 240px; }
  .electric-media::before { display: none; }
  .electric { min-height: 0; }
  .split-media { order: -1; }
  .specs, .docs-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
