/* ============================================================
   JLocation — Location de voitures à La Réunion
   Design system : Aurora Océan × Verre premium
   Charte : Bleu Océan #0F4C81 · Vert Lagon #20B2AA
            Lave Orange #FF5722 · Gris Asphalte #2B2D42
   Titres : Fraunces (serif éditorial) · Textes : Inter
   ============================================================ */

:root {
  --ocean:      #0F4C81;
  --ocean-deep: #0A3559;
  --ocean-light:#2E6DA8;
  --lagon:      #20B2AA;
  --lagon-light:#5FD3CB;
  --lagon-text: #0E7A73;
  --lave:       #FF5722;
  --lave-deep:  #E64A19;
  --lave-text:  #C43D14;
  --asphalte:   #2B2D42;
  --brume:      #F4F7FA;
  --gris:       #6B7280;
  --ligne:      #E3E9F0;
  --blanc:      #FFFFFF;

  --glass-bg:     rgba(255, 255, 255, .70);
  --glass-bg-2:   rgba(255, 255, 255, .88);
  --glass-border: rgba(255, 255, 255, .45);

  --grad-aurora:   linear-gradient(120deg, var(--ocean-deep) 0%, var(--ocean) 45%, var(--lagon) 100%);
  --grad-btn:      linear-gradient(135deg, var(--lagon) 0%, var(--ocean) 100%);
  --grad-cta:      radial-gradient(120% 140% at 8% 0%, rgba(255, 87, 34, .38), transparent 55%),
                    radial-gradient(100% 120% at 92% 100%, rgba(32, 178, 170, .32), transparent 50%),
                    linear-gradient(140deg, var(--ocean), var(--ocean-deep));

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 2px 14px rgba(15, 76, 129, .08);
  --shadow-md: 0 16px 40px rgba(15, 76, 129, .13);
  --shadow-lg: 0 30px 80px rgba(10, 53, 89, .22);
  --shadow-lave: 0 14px 32px rgba(255, 87, 34, .30);
  --shadow-lagon: 0 14px 32px rgba(32, 178, 170, .28);

  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--asphalte);
  background: var(--blanc);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: "Fraunces", serif;
  font-optical-sizing: auto;
  line-height: 1.08;
  letter-spacing: -.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: min(92%, var(--maxw)); margin-inline: auto; }

::selection { background: var(--lagon); color: #fff; }

:focus-visible {
  outline: 2.5px solid var(--lagon);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lagon-text);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--lave);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  padding: .95em 1.7em;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  gap: .6em;
  transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease), background .25s, filter .25s;
}
.btn-primary {
  background: var(--grad-btn);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: var(--shadow-lagon);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(32, 178, 170, .4); background-position: 100% 50%; }
.btn-primary:active { transform: translateY(-1px) scale(.98); }
.btn-lave { background: var(--lave); color: #fff; box-shadow: var(--shadow-lave); }
.btn-lave:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(255, 87, 34, .4); background: var(--lave-deep); }
.btn-lave:active { transform: translateY(-1px) scale(.98); }
.btn-ghost {
  background: transparent;
  color: var(--ocean);
  border: 2px solid var(--ligne);
}
.btn-ghost:hover { border-color: var(--lagon); background: rgba(32, 178, 170, .06); color: var(--lagon-text); transform: translateY(-3px); }
.btn-ghost:active { transform: translateY(-1px) scale(.98); }

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass-bg-2);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--ligne);
  box-shadow: 0 1px 0 rgba(15, 76, 129, .02);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav .logo { display: inline-flex; align-items: center; gap: .55rem; }
.nav .logo img { height: 44px; }
.logo-name {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
  color: var(--ocean);
}
.logo-name em { font-style: normal; color: var(--lagon-text); }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-weight: 500;
  font-size: .95rem;
}
.nav-links a { position: relative; padding: .2em 0; color: var(--asphalte); transition: color .2s; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: var(--grad-btn);
  border-radius: 2px;
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--ocean); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-phone { font-weight: 600; color: var(--ocean); display: inline-flex; align-items: center; gap: .4em; transition: color .2s; }
.nav-phone:hover { color: var(--lagon-text); }
.burger { display: none; background: none; border: none; cursor: pointer; padding: .4em; }
.burger span { display: block; width: 24px; height: 2px; background: var(--asphalte); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background:
    linear-gradient(95deg,
      rgba(10, 53, 89, .95) 0%,
      rgba(15, 76, 129, .86) 34%,
      rgba(15, 76, 129, .45) 66%,
      rgba(15, 76, 129, .20) 100%),
    url("assets/reunion-aerienne.jpg");
  background-size: cover;
  background-position: center 38%;
  color: #fff;
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(7rem, 12vw, 11rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
  animation: driftBlob 18s var(--ease) infinite alternate;
}
.hero::before {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(32, 178, 170, .35), transparent 70%);
  top: -12%; right: 4%;
}
.hero::after {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255, 87, 34, .28), transparent 70%);
  bottom: -14%; right: 22%;
  animation-delay: -6s;
}
@keyframes driftBlob {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-30px, 40px) scale(1.12); }
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 640px);
  gap: 3rem;
  align-items: center;
}
.hero-credit {
  position: absolute;
  right: 14px; bottom: 10px;
  font-size: .68rem;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .04em;
  z-index: 2;
}
.hero .eyebrow { color: #8fe9e2; }
.hero .eyebrow::before { background: #fff; }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  font-weight: 600;
  margin: 1rem 0 1.2rem;
}
.hero h1 .lave { color: #FF8A5C; font-style: italic; font-weight: 500; }
.hero p.lead {
  font-size: 1.15rem;
  max-width: 32ch;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: 1rem;
  margin-top: 2.6rem;
  flex-wrap: wrap;
}
.hero-trust div {
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: .8rem 1.2rem;
  transition: transform .25s var(--ease), background .25s;
}
.hero-trust div:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .14); }
.hero-trust b { font-family: "Fraunces", serif; font-size: 1.7rem; font-weight: 600; }
.hero-trust span { font-size: .8rem; color: rgba(255, 255, 255, .72); }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
}

/* ---------- Search widget ---------- */
.search {
  position: relative;
  z-index: 5;
  margin-top: -4.5rem;
}
.search-box {
  background: var(--glass-bg-2);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}
.field { display: flex; flex-direction: column; gap: .4rem; text-align: left; }
.field label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gris);
  font-family: "Inter";
}
.field .control {
  display: flex;
  align-items: center;
  gap: .6em;
  border: 1.5px solid var(--ligne);
  border-radius: var(--r-sm);
  padding: .7em .9em;
  min-height: 44px;
  transition: border-color .2s, box-shadow .2s;
}
.field .control:focus-within { border-color: var(--lagon); box-shadow: 0 0 0 4px rgba(32, 178, 170, .12); }
.field svg { flex: none; color: var(--lagon); }
.field input, .field select {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: .95rem;
  color: var(--asphalte);
  width: 100%;
  background: transparent;
}
.search-box .btn { height: 100%; justify-content: center; min-height: 44px; }

/* ============================================================
   SECTION basics
   ============================================================ */
section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { max-width: 620px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin: .8rem 0 .8rem;
  color: var(--ocean);
}
.section-head p { color: var(--gris); font-size: 1.05rem; }

/* ---------- Fleet ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.car-card {
  background: #fff;
  border: 1px solid var(--ligne);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  display: flex;
  flex-direction: column;
}
.car-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.car-visual {
  height: 190px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brume), #fff);
  position: relative;
  overflow: hidden;
}
.car-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform .5s var(--ease);
}
.car-card:hover .car-photo { transform: scale(1.07); }
.car-card:nth-child(2) .car-visual { background: linear-gradient(135deg, #e6f7f5, #fff); }
.car-card:nth-child(3) .car-visual { background: linear-gradient(135deg, #fff0eb, #fff); }
.car-card:nth-child(4) .car-visual { background: linear-gradient(135deg, #eaf1f9, #fff); }
.car-card:nth-child(5) .car-visual { background: linear-gradient(135deg, #e6f7f5, #fff); }
.car-visual svg { width: 130px; height: auto; }
.car-cat {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--ocean);
  color: #fff;
  font-family: "Inter";
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .08em;
  padding: .35em .8em;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(10, 53, 89, .25);
}
.car-body { padding: 1.3rem; flex: 1; display: flex; flex-direction: column; }
.car-body h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: .2rem; }
.car-ex { color: var(--gris); font-size: .85rem; margin-bottom: 1rem; }
.car-specs { display: flex; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.car-specs span { display: inline-flex; align-items: center; gap: .35em; font-size: .82rem; color: var(--asphalte); }
.car-specs svg { color: var(--lagon); }
.car-foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid var(--ligne);
  padding-top: 1rem;
}
.car-price b { font-family: "Fraunces", serif; font-size: 1.7rem; font-weight: 600; color: var(--ocean); }
.car-price span { font-size: .82rem; color: var(--gris); }
.car-foot a {
  font-family: "Inter";
  font-weight: 700;
  font-size: .85rem;
  color: var(--lave-text);
  display: inline-flex;
  align-items: center;
  gap: .3em;
}
.car-foot a:hover { gap: .6em; }

/* ============================================================
   THE ROAD — signature timeline (du lagon au volcan)
   ============================================================ */
.road {
  background: var(--asphalte);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.road .section-head h2 { color: #fff; }
.road .section-head p { color: rgba(255, 255, 255, .7); }
.road-track { position: relative; margin-top: 2rem; }
.road-line {
  position: absolute;
  left: 31px; top: 10px; bottom: 10px;
  width: 4px;
  background: repeating-linear-gradient(
    to bottom,
    var(--lave) 0 14px,
    transparent 14px 28px
  );
  border-radius: 4px;
}
.road-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.4rem;
  padding: 1.2rem 0;
  align-items: start;
}
.road-km {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--grad-btn);
  border: 3px solid var(--lave);
  box-shadow: 0 0 0 6px rgba(32, 178, 170, .12), 0 8px 24px rgba(0, 0, 0, .35);
  display: grid;
  place-items: center;
  font-family: "Inter";
  font-weight: 800;
  font-size: .8rem;
  text-align: center;
  line-height: 1;
  z-index: 2;
  transition: box-shadow .3s var(--ease);
}
.road-step:hover .road-km { box-shadow: 0 0 0 8px rgba(32, 178, 170, .2), 0 8px 24px rgba(0, 0, 0, .35); }
.road-km small { display: block; font-size: .55rem; font-weight: 600; opacity: .7; letter-spacing: .1em; }
.road-step h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: .3rem; }
.road-step p { color: rgba(255, 255, 255, .72); max-width: 52ch; }

/* ============================================================
   ATOUTS
   ============================================================ */
.atouts { background: var(--brume); }
.atouts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}
.atout {
  background: #fff;
  border-radius: var(--r-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.atout:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.atout-ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad-btn);
  box-shadow: var(--shadow-lagon);
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 1.1rem;
}
.atout h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .4rem; }
.atout p { color: var(--gris); font-size: .92rem; }

/* ============================================================
   CTA RESERVATION
   ============================================================ */
.cta {
  position: relative;
  background: var(--grad-cta);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, .06), transparent 60%);
  z-index: -1;
}
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 600; margin-bottom: .8rem; }
.cta p { color: rgba(255, 255, 255, .82); max-width: 42ch; }
.cta-actions { display: flex; flex-direction: column; gap: 1rem; }
.cta-actions .btn { justify-content: center; }
.cta-call { display: flex; align-items: center; gap: .6em; font-weight: 600; transition: color .2s; }
.cta-call:hover { color: #8fe9e2; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--asphalte); color: rgba(255, 255, 255, .75); padding: 4rem 0 2rem; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.foot-logo { background: #fff; padding: .55rem .9rem; border-radius: var(--r-sm); display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem; }
.foot-logo img { height: 34px; }
.foot-logo .logo-name { font-size: 1.02rem; }
.foot-grid h4 {
  font-family: "Inter";
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; font-size: .92rem; }
.foot-grid a { transition: color .2s; }
.foot-grid a:hover { color: var(--lagon-light); }
.foot-col p { font-size: .92rem; max-width: 32ch; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.socials { display: flex; gap: .8rem; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  display: grid; place-items: center;
  transition: .25s var(--ease-spring);
}
.socials a:hover { background: var(--lagon); border-color: var(--lagon); transform: translateY(-3px) scale(1.06); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Cartes de la flotte (photos verticales) ---------- */
#flotte .car-visual { height: 240px; }
#flotte .car-photo { object-position: center 68%; }
#flotte .car-card:nth-child(2) .car-photo { object-position: center 50%; }

/* ---------- Volet Événements ---------- */
.events { background: var(--brume); }
.event-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.event-grid .car-visual { height: 240px; }
.event-grid .car-photo { object-position: center 58%; }
.car-price.quote b { font-size: 1.35rem; color: var(--lave-text); }
.car-specs .chauffeur { color: var(--lave-text); font-weight: 600; }
.car-specs .chauffeur svg { color: var(--lave); }
.events-note {
  text-align: center;
  max-width: 640px;
  margin: 2.4rem auto 0;
  color: var(--gris);
  font-size: .95rem;
}

/* ---------- Carte véhicule en vedette (flotte 1 voiture) ---------- */
.car-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #fff;
  border: 1px solid var(--ligne);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.car-feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.car-feature-img { position: relative; min-height: 340px; background: var(--brume); }
.car-feature-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.car-feature-img .car-cat {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--ocean); color: #fff; font-family: "Inter"; font-weight: 700;
  font-size: .7rem; letter-spacing: .08em; padding: .4em .9em; border-radius: 999px;
}
.car-feature-body { padding: clamp(1.6rem, 3vw, 2.6rem); display: flex; flex-direction: column; }
.car-feature-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600; color: var(--ocean); margin-bottom: .5rem; }
.car-feature-body .car-ex { color: var(--gris); font-size: 1rem; margin-bottom: 1.4rem; }
.car-feature-body .car-specs { gap: .7rem 1.2rem; margin-bottom: 1.6rem; }
.car-feature-body .car-specs span { font-size: .9rem; }
.car-feature-body .car-foot { margin-top: auto; border-top: 1px solid var(--ligne); padding-top: 1.3rem; }

/* ---------- Photo dans les cartes flotte ---------- */
.car-visual .car-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.car-cat { z-index: 2; }
.car-link {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: var(--lave-text);
  display: inline-flex;
  align-items: center;
  gap: .3em;
  transition: gap .2s var(--ease);
}
.car-card:hover .car-link { gap: .6em; }

/* ============================================================
   PAGE VÉHICULE (clio.html et similaires)
   ============================================================ */
.vehicle { padding: 2.4rem 0 4rem; }
.breadcrumb {
  display: flex; gap: .5rem; align-items: center; flex-wrap: wrap;
  font-size: .85rem; color: var(--gris); margin-bottom: 1.8rem;
}
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--lagon-text); }
.breadcrumb b { color: var(--asphalte); }
.breadcrumb span { color: #c4ccd6; }

.vehicle-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.6rem; align-items: start; }

.gallery-main {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; background: var(--brume);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; transition: transform .5s var(--ease); }
.gallery-main:hover img { transform: scale(1.03); }

/* ---------- Lightbox (photo en grand) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  background: rgba(9, 26, 46, .97);
  backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; animation: lbfade .2s var(--ease); }
@keyframes lbfade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background .2s, transform .2s;
}
.lightbox-close {
  top: 20px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, .3); }
.lightbox-nav:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-count {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .85);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .05em;
}
@media (max-width: 560px) {
  .lightbox-nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: .6rem; margin-top: .8rem; }
.thumb {
  padding: 0; border: 2px solid transparent; border-radius: var(--r-sm);
  overflow: hidden; cursor: pointer; background: none; aspect-ratio: 1; transition: border-color .2s, transform .2s;
}
.thumb:hover { transform: translateY(-2px); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.is-active, .thumb:hover { border-color: var(--lagon); }
.thumb.is-active { box-shadow: 0 0 0 3px rgba(32, 178, 170, .18); }

.vehicle-info .car-cat { margin-bottom: 1rem; }
.vehicle-info h1 { font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 600; color: var(--ocean); margin-bottom: .8rem; }
.vehicle-tagline { color: var(--gris); font-size: 1.05rem; margin-bottom: 1.6rem; }
.vehicle-price {
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1.2rem 0; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); margin-bottom: 1.6rem;
}
.vehicle-price b { font-family: "Fraunces", serif; font-size: 2.5rem; font-weight: 600; color: var(--ocean); }
.vehicle-price > div span { color: var(--gris); }
.vehicle-price-note { font-size: .85rem; color: var(--lagon-text); font-weight: 600; }
.vehicle-cta { display: flex; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.vehicle-cta .btn { flex: 1; justify-content: center; min-width: 150px; }
.vehicle-trust { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.vehicle-trust li { display: flex; align-items: center; gap: .6em; font-size: .92rem; color: var(--asphalte); }
.vehicle-trust svg {
  color: var(--lagon-text); flex: none; background: #e6f7f5; border-radius: 50%;
  padding: 3px; box-sizing: content-box; width: 14px; height: 14px;
}

.specs-block { margin-top: 3.5rem; }
.specs-block h2 { font-size: 1.7rem; font-weight: 600; color: var(--ocean); margin-bottom: 1.6rem; }
.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.spec { display: flex; gap: 1rem; align-items: center; background: var(--brume); border-radius: var(--r-md); padding: 1.2rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.spec:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.spec svg { width: 30px; height: 30px; color: var(--lagon); flex: none; }
.spec b { display: block; font-family: "Inter"; font-weight: 700; font-size: 1rem; color: var(--asphalte); }
.spec span { font-size: .85rem; color: var(--gris); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .search-box { grid-template-columns: 1fr 1fr; }
  .search-box .btn { grid-column: 1 / -1; }
  .cta { grid-template-columns: 1fr; }
  .vehicle-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    backdrop-filter: blur(16px);
    padding: 1.5rem 6%;
    gap: 1.2rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--ligne);
  }
}
@media (max-width: 680px) {
  .nav .logo img { height: 38px; }
  .nav .logo-name { font-size: 1rem; }
  .search-box { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .car-feature { grid-template-columns: 1fr; }
  .car-feature-img { min-height: 240px; }
}
@media (max-width: 480px) {
  .nav .logo-name { display: none; }
  .nav .logo img { height: 42px; }
}
@media (max-width: 440px) {
  .foot-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .car-card:hover, .atout:hover, .hero-trust div:hover { transform: none; }
  .car-card:hover .car-photo, .gallery-main:hover img { transform: none; }
}
