/* =========================================================
   VLUXE DRIVE — Feuille de style
   Palette : noir profond + or. Typographies : Cormorant (titres) / Montserrat (texte)
   ========================================================= */

:root {
  --black: #070707;
  --black-2: #101010;
  --black-3: #181818;
  --gold: #e0b44c;
  --gold-light: #f6d47c;
  --gold-dark: #a87d22;
  --gold-grad: linear-gradient(135deg, #f6d47c 0%, #e0b44c 45%, #b98a2c 100%);
  --text: #f2efe9;
  --muted: #a9a49a;
  --line: rgba(224, 180, 76, .28);
  --radius: 14px;
  --ff-title: "Cormorant Garamond", Georgia, serif;
  --ff-text: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--ff-text);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--ff-title); font-weight: 500; line-height: 1.12; margin: 0; }
p { margin: 0 0 1rem; }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* Icônes SVG au trait doré */
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(1000px, 92%); margin-inline: auto; }
.container.narrow { width: min(740px, 92%); }

.eyebrow {
  font-size: .78rem; letter-spacing: .38em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 1.1rem;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 2.1rem; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--ff-text); font-size: .95rem; font-weight: 600; letter-spacing: .02em;
  cursor: pointer; min-height: 48px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn-gold { background: var(--gold-grad); color: #1a1303; box-shadow: 0 8px 28px rgba(224,180,76,.28); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(224,180,76,.45); }
.btn-outline { border-color: var(--gold); color: var(--gold-light); background: transparent; }
.btn-outline:hover { background: rgba(224,180,76,.12); transform: translateY(-2px); }
.btn-small { padding: .7rem 1.5rem; min-height: 42px; font-size: .85rem; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 3.5rem);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7,7,7,.86); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.brand { display: inline-flex; align-items: center; gap: .85rem; }
/* Emblème V recadré depuis la bannière fournie */
.logo-mark {
  width: 64px; aspect-ratio: 250 / 170;
  background: url("../assets/banner.webp") no-repeat;
  background-size: 800% auto;
  background-position: 10.86% 5.03%;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--ff-title); font-size: 1.7rem; letter-spacing: .38em; font-weight: 500; }
.brand-sub { font-size: .62rem; letter-spacing: .6em; color: var(--gold); margin-top: .3rem; font-weight: 500; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a:not(.btn) {
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text);
  position: relative; padding: .4rem 0;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .3s ease;
}
.main-nav a:not(.btn):hover::after { width: 100%; }

.burger { display: none; background: none; border: 0; width: 46px; height: 46px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--gold-light); margin: 6px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 2rem) clamp(1rem, 5vw, 5rem) 9rem;
  background: radial-gradient(120% 90% at 20% 30%, #161208 0%, var(--black) 60%);
}
.hero-glow {
  position: absolute; width: 900px; height: 900px; right: -250px; top: -300px; border-radius: 50%;
  border: 2px solid transparent;
  background: radial-gradient(circle, rgba(224,180,76,.14), transparent 62%);
  pointer-events: none;
}
/* Voiture + Tour Eiffel : partie droite de la bannière fournie */
.hero-car {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: min(62vw, 1100px); aspect-ratio: 1060 / 667;
  background: url("../assets/banner.webp") no-repeat;
  background-size: 188.7% auto; background-position: 100% 0;
  /* Fondu sur les bords gauche, haut et bas pour fondre l'image dans le fond noir */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%),
                      linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%),
                      linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-composite: intersect;
  animation: floatIn 1.6s cubic-bezier(.2,.7,.2,1) both;
}
.hero-content { position: relative; z-index: 2; max-width: 640px; animation: riseIn 1.1s .15s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 1.4rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { color: #d6d1c7; font-size: 1.05rem; max-width: 520px; margin-bottom: 1.8rem; }

.hero-pill {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .9rem;
  justify-content: center;
  border: 1px solid var(--gold); border-radius: 999px; padding: .7rem 1.6rem;
  background: rgba(0,0,0,.45); font-weight: 500;
}
.zone-band { display: flex; justify-content: center; padding: 2rem 1rem 0; background: var(--black); }
.hero-pill li { display: inline-flex; align-items: center; gap: .55rem; }
.hero-pill svg { width: 22px; height: 22px; color: var(--gold); }
.hero-pill .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-features {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 2rem;
  display: flex; justify-content: center; gap: clamp(1rem, 3vw, 3rem); flex-wrap: wrap;
  padding: 0 1rem; font-size: .95rem;
}
.hero-features li { display: inline-flex; align-items: center; gap: .7rem; }
.hero-features li + li { padding-left: clamp(1rem, 3vw, 3rem); border-left: 1px solid var(--line); }
.hero-features svg { width: 30px; height: 30px; color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-dark { background: var(--black-2); border-block: 1px solid rgba(255,255,255,.04); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head h2, .split-text h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.section-sub { color: var(--muted); margin-top: 1.4rem; }
.gold-line { display: block; width: 90px; height: 2px; background: var(--gold-grad); margin: 1.5rem auto 0; }
.gold-line.left { margin-left: 0; margin-bottom: 1.6rem; }

/* Cartes */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card, .quote {
  background: linear-gradient(160deg, var(--black-3), #0d0d0d);
  border: 1px solid rgba(224,180,76,.16); border-radius: var(--radius);
  padding: 2.2rem 2rem;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.card:hover, .quote:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 18px 44px rgba(0,0,0,.55), 0 0 0 1px rgba(224,180,76,.12); }
.card-icon { width: 44px; height: 44px; color: var(--gold); margin-bottom: 1.4rem; }
.card h3 { font-size: 1.55rem; margin-bottom: .7rem; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.contact-cards .card { text-align: center; }
.contact-cards a { color: var(--gold-light); font-size: 1.1rem; font-weight: 500; }
.contact-cards a:hover { text-decoration: underline; }

.quote { margin: 0; }
.quote p { font-family: var(--ff-title); font-size: 1.4rem; line-height: 1.4; color: var(--text); }
.quote footer { color: var(--gold); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }

/* Split flotte */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-text p { color: #cfcabf; }
.check-list { margin: 1.4rem 0 2rem; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.frame { position: relative; border-radius: 20px; padding: 10px; border: 1px solid var(--line); background: #000; box-shadow: 0 30px 70px rgba(0,0,0,.6); }
.frame::before { content: ""; position: absolute; inset: -1px; border-radius: 20px; padding: 1px; background: var(--gold-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; pointer-events: none; }
.frame-car {
  width: 100%; aspect-ratio: 1060 / 667; border-radius: 12px;
  background: url("../assets/banner.webp") no-repeat;
  background-size: 188.7% auto; background-position: 100% 0;
}

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; text-align: center; }
.stat { padding: 2rem 1rem; border-top: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--ff-title); font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 500; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }

/* Formulaire */
.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 1.5rem;
  background: linear-gradient(160deg, var(--black-3), #0c0c0c);
  border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.5rem, 4vw, 3rem);
}
.field { display: flex; flex-direction: column; gap: .45rem; }
.field.full, .full { grid-column: 1 / -1; }
label { font-size: .82rem; letter-spacing: .06em; color: var(--gold-light); font-weight: 500; }
input, select, textarea {
  font: inherit; font-weight: 400; color: var(--text);
  background: #0a0a0a; border: 1px solid var(--gold); border-radius: 14px;
  padding: .9rem 1rem; min-height: 48px; width: 100%;
  transition: border-color .25s, box-shadow .25s;
  color-scheme: dark;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(224,180,76,.28); }
.field.invalid input, .field.invalid select { border-color: #e5686a; }
.error { color: #ff8f91; font-size: .78rem; min-height: 1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-footer { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.form-status { margin: 0; font-size: .92rem; }
.form-status.ok { color: #8fe0a6; }
.form-status.ko { color: #ff8f91; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Pied de page */
.site-footer { padding: 3.5rem 0 2.5rem; border-top: 1px solid var(--line); text-align: center; background: #040404; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.tagline { letter-spacing: .5em; font-size: .72rem; color: var(--gold); margin: 0; }
.legal { color: var(--muted); font-size: .8rem; margin: .5rem 0 0; }
.legal a { text-decoration: underline; }

.floating-cta { display: none; }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
@keyframes riseIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes floatIn { from { opacity: 0; transform: translate(40px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Grands écrans : image plus large, donc plus proche du texte */
@media (min-width: 1400px) {
  .hero-car { width: min(76vw, 1300px); }
}

/* ---------- Tablette ---------- */
@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; }
  .hero-car { width: 78vw; opacity: .75; }
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .burger { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(7,7,7,.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); padding: 1rem 0 2rem;
    transform: translateY(-120%); transition: transform .4s ease; visibility: hidden;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav a:not(.btn) { padding: 1rem; font-size: .95rem; }
  .main-nav .nav-cta { margin-top: 1rem; }

  /* Hero empilé : texte, puis voiture, puis points forts */
  .hero { flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: auto; padding: calc(var(--header-h) + 1.5rem) 1.25rem 0; }
  .hero-content { order: 1; max-width: none; text-align: center; }
  .hero-car { order: 2; }
  .hero-features { order: 3; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-lead { margin-inline: auto; font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-car {
    position: relative; right: auto; top: auto; transform: none; animation: none; opacity: 1;
    width: calc(100% + 2.5rem); margin: -1rem -1.25rem 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%);
  }
  .hero-features { position: static; flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 1.5rem; padding: 0 .5rem; font-size: .95rem; }
  .hero-features li + li { padding-left: 0; border-left: 0; }
  .hero-features svg { width: 26px; height: 26px; }

  /* Bandeau zone : colonne propre, sans puces parasites */
  .zone-band { padding: .5rem 1rem 0; }
  .hero-pill { flex-direction: column; border-radius: 22px; gap: .5rem; padding: 1rem 1.6rem; width: 100%; max-width: 340px; }
  .hero-pill .dot { display: none; }
  .form { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.35rem; }
  .logo-mark { width: 52px; }

  .floating-cta { display: inline-flex; position: fixed; right: 1rem; bottom: 1rem; z-index: 40; padding: .85rem 1.6rem; }
}
