/* ==========================================================
   DELTA CARS HÉRITAGE — refonte 2026
   Cartes arrondies, boutons pilule, sur-titres manuscrits,
   dans l'identité Delta Cars : noir obsidienne et or héritage.

   La page n'a qu'un seul fond, sombre, du haut en bas : aucune
   section ne pose sa propre couleur.

   1. Variables                8. Chiffres clés
   2. Bases, boutons           9. Approche
   3. Navigation              10. L'équipe (polaroïds)
   4. Hero, marques           11. Panneau d'appel
   5. Compte-tours (signature) 12. Contact
   6. Sélection du moment     13. Pied de page, bouton flottant 
   7. Engagement, maison,     14. Responsive
      services               15 à 19. Pages intérieures
   ========================================================== */

/* ==========================================================
   1. VARIABLES
   ========================================================== */
:root{
  /* Couleurs de marque */
  --nuit:      #0d0c0a;   /* noir obsidienne */
  --carbone:   #1a1814;   /* noir chaud */
  --graphite:  #2b2721;   /* reflet des dégradés sombres */
  --or:        #c4a45a;   /* or héritage du logo : boutons, accents */
  --or-clair:  #dfc888;   /* or lisible sur fond sombre */

  /* Rôles : ce sont eux que les composants utilisent, jamais les couleurs ci-dessus directement
     quand il s'agit du fond, des surfaces ou du texte. */
  --fond:       #0d0c0a;                    /* fond unique de la page */
  --surface:    #191713;                    /* cartes et panneaux */
  --surface-2:  #221f1a;                    /* pastilles, cases à choisir */
  --texte:      #f3f0e9;
  --texte-2:    rgba(243,240,233,.72);      /* texte secondaire */
  --accent:     var(--or-clair);            /* or en texte */
  --filet:      rgba(255,255,255,.12);      /* traits fins */
  --bord:       rgba(255,255,255,.09);      /* contour des cartes */
  --ombre:      0 16px 38px rgba(0,0,0,.45);
  --ombre-forte:0 28px 56px rgba(0,0,0,.6);
  /* Cartes services et panneau d'appel */
  --panneau:    linear-gradient(155deg, #2e2a23 0%, #1f1c17 50%, #15130f 100%);
  --panneau-bord: rgba(196,164,90,.28);

  /* Spectral ne contient que les dix chiffres (voir le <head>) : le navigateur y prend les chiffres,
     et tout le reste dans Marcellus, dont le 1 se lit « I » et le 0 « O ». */
  --display: 'Spectral', 'Marcellus', serif;
  --body:    'Outfit', -apple-system, system-ui, sans-serif;
  --script:  'Caveat', cursive;

  --maxw: 1180px;
  --radius: 18px;
  --transition: .45s cubic-bezier(.22,.61,.36,1);
}

/* Tout bloc posé sur une photo ou un panneau : texte blanc pur */
.dark{
  --texte:   #ffffff;
  --texte-2: rgba(255,255,255,.8);
  --accent:  var(--or-clair);
  --filet:   rgba(255,255,255,.14);
  color:var(--texte);
}

/* ==========================================================
   2. BASES, BOUTONS
   ========================================================== */
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; color-scheme:dark; }
body{
  font-family:var(--body);
  color:var(--texte);
  background:var(--fond);
  line-height:1.65;
  font-weight:400;
  overflow-x:hidden; overflow-x:clip;   /* clip : ne crée pas de zone de défilement, sinon position:sticky ne tient pas (colonne des pages légales) */
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul, ol{ list-style:none; }
::selection{ background:rgba(196,164,90,.35); }

.skip{ position:absolute; left:16px; top:-60px; z-index:200; background:#fff; color:var(--nuit); padding:10px 18px; border-radius:999px; box-shadow:0 8px 22px rgba(13,12,10,.2); transition:top .2s ease; }
.skip:focus{ top:12px; }

h1,h2,h3{ font-family:var(--display); font-weight:400; line-height:1.15; }
h1{ font-size:clamp(2.4rem, 5.5vw, 4.6rem); }
h2{ font-size:clamp(1.9rem, 3.6vw, 2.9rem); text-wrap:balance; }
h3{ font-size:1.3rem; }
/* Le mot mis en valeur dans un titre passe en or (Marcellus n'a pas d'italique) */
h1 em, h2 em{ font-style:normal; color:var(--accent); }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
section{ position:relative; }
section[id]{ scroll-margin-top:96px; }
/* Une seule règle d'espacement pour toutes les sections : c'est le blanc, pas la couleur, qui les sépare */
.sec{ padding:64px 0; }

/* Sur-titre manuscrit */
.eyebrow{ font-family:var(--script); font-weight:600; font-size:1.6rem; line-height:1.2; color:var(--accent); display:block; margin-bottom:.35rem; }

.lead{ color:var(--texte-2); max-width:62ch; }
.section-head{ max-width:700px; margin-bottom:40px; }
.section-head h2 + .lead{ margin-top:.8rem; }
.section-head.center{ text-align:center; margin-left:auto; margin-right:auto; }
.section-head.center .lead{ margin-left:auto; margin-right:auto; }
.section-more{ text-align:center; margin-top:38px; }

/* Boutons pilule */
.btn{
  display:inline-flex; align-items:center; gap:.6rem;
  padding:.95rem 2rem; border-radius:999px;
  font-family:var(--body); font-weight:500; font-size:.95rem; letter-spacing:.03em;
  transition:transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  cursor:pointer; border:none; white-space:nowrap;
}
.btn-primary{ background:var(--or); color:var(--nuit); box-shadow:0 10px 28px rgba(196,164,90,.36); }
.btn-primary:hover{ transform:translateY(-3px); background:var(--or-clair); box-shadow:0 16px 36px rgba(196,164,90,.48); }
.btn-ghost{ background:rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.42); backdrop-filter:blur(6px); }
.btn-ghost:hover{ background:rgba(255,255,255,.22); transform:translateY(-3px); }
.btn-line{ background:transparent; color:var(--texte); border:1.5px solid var(--texte); }
.btn-line:hover{ background:var(--texte); color:var(--fond); transform:translateY(-3px); }

.text-link{
  display:inline-flex; align-items:center; gap:8px; margin-top:14px;
  color:var(--accent); font-weight:500; font-size:.92rem; border-bottom:1px solid var(--filet);
  transition:gap .3s ease, border-color .3s ease;
}
.text-link::after{ content:"→"; }
.text-link:hover{ gap:14px; border-color:var(--accent); }

/* Apparition au défilement */
.reveal{ opacity:0; transform:translateY(34px); transition:opacity .8s ease, transform .8s ease; }
.reveal.visible{ opacity:1; transform:none; }
.reveal.d1{ transition-delay:.12s; } .reveal.d2{ transition-delay:.24s; } .reveal.d3{ transition-delay:.36s; }

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

/* ==========================================================
   3. NAVIGATION (toujours sur fond sombre : photo du hero, puis barre noire)
   ========================================================== */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  transition:background .4s ease, box-shadow .4s ease, padding .4s ease;
  padding:18px 0;
}
.nav.scrolled{
  background:rgba(13,12,10,.88);
  backdrop-filter:blur(14px);
  box-shadow:0 4px 24px rgba(0,0,0,.28);
  padding:9px 0;
}
.nav-inner{ max-width:var(--maxw); margin:0 auto; padding:0 24px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.nav-logo{ display:flex; align-items:center; gap:12px; color:#fff; transition:transform var(--transition); }
.nav-logo:hover{ transform:scale(1.03); }
/* Logo V2 : l'emblème (delta et voiture) en image, le nom en texte pour rester net à petite taille */
.nav-logo img{ height:52px; width:auto; transition:height .4s ease; }
.nav.scrolled .nav-logo img{ height:42px; }
.nav-logo span{ display:flex; flex-direction:column; line-height:1; }
.nav-logo b{ font-family:var(--body); font-weight:500; font-size:1.02rem; letter-spacing:.2em; text-transform:uppercase; }
.nav-logo b em{ font-style:normal; color:var(--or); }
.nav-logo i{ font-family:var(--body); font-style:normal; font-weight:400; font-size:.66rem; letter-spacing:.5em; text-transform:uppercase; color:rgba(255,255,255,.88); margin-top:7px; padding-left:.1em; }

.nav-links{ display:flex; align-items:center; gap:30px; }
.nav-links > a:not(.btn){ color:#fff; font-size:.92rem; font-weight:400; letter-spacing:.04em; position:relative; padding:4px 0; }
.nav-links > a:not(.btn)::after{ content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background:var(--or); transition:width var(--transition); }
.nav-links > a:not(.btn):hover::after, .nav-links > a[aria-current="page"]::after{ width:100%; }
.nav-links .btn{ padding:.62rem 1.4rem; font-size:.85rem; box-shadow:none; }

.burger{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; z-index:120; }
.burger span{ width:26px; height:2px; background:#fff; border-radius:2px; transition:transform .35s ease, opacity .35s ease; }
.burger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* Le menu est sous la barre (z-index 90 contre 100) : la croix de fermeture reste cliquable */
.mobile-menu{
  position:fixed; inset:0; z-index:90;
  background:linear-gradient(160deg, var(--nuit), var(--graphite));
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px;
  opacity:0; pointer-events:none; transition:opacity .4s ease;
}
.mobile-menu.open{ opacity:1; pointer-events:auto; }
.mobile-menu a{
  color:#fff; font-family:var(--display); font-size:clamp(1.3rem, 3.6svh, 1.7rem); padding:.36em 8px;
  opacity:0; transform:translateY(16px); transition:opacity .4s ease, transform .4s ease;
}
.mobile-menu.open a{ opacity:1; transform:none; }
.mobile-menu.open a:nth-child(2){ transition-delay:.05s; }
.mobile-menu.open a:nth-child(3){ transition-delay:.1s; }
.mobile-menu.open a:nth-child(4){ transition-delay:.15s; }
.mobile-menu.open a:nth-child(5){ transition-delay:.2s; }
.mobile-menu.open a:nth-child(6){ transition-delay:.25s; }
.mobile-menu a.btn{ font-family:var(--body); font-size:.95rem; color:var(--nuit); margin-top:18px; padding:.95rem 2rem; }
body.menu-open .nav{ background:transparent; box-shadow:none; backdrop-filter:none; }
body.menu-open .fab{ opacity:0; pointer-events:none; }

/* ==========================================================
   4. HERO (photo fixe) ET MARQUES
   ========================================================== */
.hero{
  position:relative; min-height:clamp(560px, 78svh, 740px);
  display:flex; align-items:center; background:var(--nuit); overflow:hidden;
}
.hero-photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 32%; }
/* Deux voiles : un horizontal sous le texte, à gauche, un vertical pour la nav et le bas du bandeau */
.hero::before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(96deg, rgba(13,12,10,.95) 0%, rgba(13,12,10,.84) 28%, rgba(13,12,10,.5) 54%, rgba(13,12,10,.12) 80%, rgba(13,12,10,0) 100%),
    linear-gradient(180deg, rgba(13,12,10,.55) 0%, rgba(13,12,10,0) 24%, rgba(13,12,10,0) 60%, rgba(13,12,10,.5) 100%);
}
/* Le bas de la photo se fond dans le fond de la page */
.hero::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:38%; z-index:1; pointer-events:none;
  background:linear-gradient(180deg, rgba(13,12,10,0), var(--fond));
}
.hero-content{ position:relative; z-index:3; width:100%; padding-top:130px; padding-bottom:76px; }
.hero .eyebrow{ font-size:1.9rem; text-shadow:0 2px 12px rgba(0,0,0,.5); }
.hero h1{ text-shadow:0 4px 30px rgba(0,0,0,.5); margin-bottom:1.1rem; max-width:11em; text-wrap:balance; font-size:clamp(2.3rem, 4.8vw, 4.1rem); }
.hero p{ font-size:1.08rem; max-width:56ch; margin-bottom:2rem; color:rgba(255,255,255,.92); text-shadow:0 2px 10px rgba(0,0,0,.45); }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; align-items:center; }

@keyframes pulse{ 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.4; transform:scale(.7); } }

.scroll-hint{ margin-top:50px; pointer-events:none; color:rgba(255,255,255,.75); font-size:.72rem; letter-spacing:.22em; text-transform:uppercase; display:flex; align-items:center; gap:14px; }
.scroll-hint::after{ content:""; width:54px; height:1px; background:linear-gradient(to right, var(--or-clair), transparent); animation:drop 1.8s ease-in-out infinite; transform-origin:left; }
@keyframes drop{ 0%,100%{ transform:scaleX(.2); opacity:.4; } 50%{ transform:scaleX(1); opacity:1; } }

/* Les marques défilent directement sur le fond de la page, estompées aux deux bords */
.marques{
  padding:34px 0 6px; overflow:hidden; color:var(--texte-2);
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
          mask-image:linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee{ display:flex; width:max-content; animation:defile 44s linear infinite; }
.marquee span{ font-family:var(--display); font-size:1.05rem; letter-spacing:.2em; text-transform:uppercase; padding:0 24px; white-space:nowrap; }
.marquee span::after{ content:"◆"; font-size:.45rem; color:var(--or); margin-left:48px; vertical-align:middle; }
.marques:hover .marquee{ animation-play-state:paused; }
@keyframes defile{ to{ transform:translateX(-50%); } }

/* ==========================================================
   5. SIGNATURE : COMPTE-TOURS (0 à 9 000 tr/min au fil de la page)
   ========================================================== */
.rev-gauge{
  position:fixed; right:22px; top:50%; transform:translateY(-50%); z-index:90;
  display:flex; flex-direction:column; align-items:center; gap:10px;
  font-size:.72rem; letter-spacing:.12em; color:var(--texte);
  pointer-events:none; opacity:0; transition:opacity .6s ease, color .4s ease;
}
.rev-gauge.on{ opacity:1; }
.rev-gauge.sur-photo{ color:#fff; }
.rev-track{ width:2px; height:140px; border-radius:2px; background:var(--filet); position:relative; }
.rev-gauge.sur-photo .rev-track{ background:rgba(255,255,255,.25); }
/* La jauge se remplit de bas en haut ; le dernier cinquième est la zone rouge */
.rev-fill{ position:absolute; bottom:0; left:0; width:100%; height:0%; border-radius:2px; background:var(--or); transition:background .3s ease; }
.rev-gauge.zone-rouge .rev-fill{ background:linear-gradient(to top, var(--or) 0%, var(--or) 78%, #d0402b 100%); }
.rev-gauge.zone-rouge .rev-value{ color:#d0402b; }
.rev-value{ font-family:var(--display); font-size:1.15rem; letter-spacing:.02em; font-variant-numeric:tabular-nums; transition:color .3s ease; }
.rev-label{ writing-mode:vertical-rl; text-transform:uppercase; font-size:.6rem; opacity:.7; }

/* ==========================================================
   6. LA SÉLECTION DU MOMENT (cartes véhicules)
   ========================================================== */
.offers{ display:grid; grid-template-columns:repeat(3, 1fr); gap:26px; }
.offer{
  background:var(--surface); border:1px solid var(--bord); border-radius:var(--radius); overflow:hidden;
  display:flex; flex-direction:column; box-shadow:var(--ombre);
  transition:transform var(--transition), box-shadow var(--transition);
}
.offer:hover{ transform:translateY(-8px); box-shadow:var(--ombre-forte); }
.offer-img{ display:block; position:relative; aspect-ratio:3/2; overflow:hidden; background:linear-gradient(140deg, var(--graphite), var(--nuit)); }
.offer-img img{ width:100%; height:100%; object-fit:cover; transition:transform 1s ease; }
.offer:hover .offer-img img{ transform:scale(1.07); }
/* Véhicule sans photo : le logo en filigrane sur fond sombre */
.offer-img.vide{ display:grid; place-items:center; align-content:center; gap:10px; }
.offer-img.vide img{ width:130px; height:auto; opacity:.5; object-fit:contain; }
.offer-img.vide span{ font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; color:rgba(255,255,255,.5); }
.offer-flag{
  position:absolute; top:14px; left:14px; z-index:2;
  background:var(--or); color:var(--nuit); font-size:.7rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  padding:5px 12px; border-radius:999px;
}
.offer-flag.reserve{ background:#fff; }
.offer-flag.vendu{ background:var(--nuit); color:#fff; border:1px solid rgba(255,255,255,.25); }
.offer-body{ padding:24px 26px 26px; display:flex; flex-direction:column; flex:1; }
.offer .marque{ display:block; font-size:.72rem; font-weight:500; letter-spacing:.16em; text-transform:uppercase; color:var(--accent); }
.offer-nom{ display:block; font-family:var(--display); font-weight:400; font-size:1.35rem; line-height:1.15; margin:.25rem 0 .9rem; }
.offer-details{ display:flex; flex-wrap:wrap; gap:7px; margin-bottom:1.4rem; }
.offer-details span{ font-size:.8rem; padding:4px 12px; border-radius:999px; background:var(--surface-2); border:1px solid var(--filet); }
.offer-foot{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:16px; border-top:1px solid var(--filet); }
.price{ font-family:var(--display); font-size:1.4rem; line-height:1; }
.price small{ font-family:var(--body); font-size:.72rem; color:var(--texte-2); margin-left:6px; letter-spacing:.06em; }
.price.demande{ font-size:1.05rem; color:var(--texte-2); }
.offer-go{ font-size:.85rem; font-weight:500; letter-spacing:.04em; color:var(--accent); display:inline-flex; gap:6px; white-space:nowrap; transition:gap .3s ease; }
.offer:hover .offer-go{ gap:12px; }
.offer[data-statut="vendu"] .offer-img img{ filter:grayscale(.7); }

/* ==========================================================
   7. ENGAGEMENT, LA MAISON, SERVICES
   ========================================================== */
.panel{
  background:var(--surface); border:1px solid var(--bord); border-radius:24px; box-shadow:var(--ombre);
  transition:background .5s ease;
}
.engagement-inner{ display:grid; grid-template-columns:auto 1fr; gap:30px; align-items:center; padding:34px 40px; }
.engagement-mark{
  width:84px; height:84px; border-radius:50%; display:grid; place-items:center;
  background:linear-gradient(140deg, var(--graphite), var(--nuit)); border:1px solid rgba(196,164,90,.35);
  box-shadow:0 14px 30px rgba(13,12,10,.28);
}
.engagement-mark svg{ width:40px; height:40px; fill:none; stroke:var(--or-clair); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.engagement h3{ font-size:1.5rem; margin-bottom:.3rem; }
.engagement p{ color:var(--texte-2); max-width:72ch; }
.pills{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.pills span{ font-size:.8rem; padding:5px 13px; border-radius:999px; background:var(--surface-2); border:1px solid var(--filet); }

.maison-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center; }
.maison h2{ margin-bottom:1.2rem; }
.maison p{ color:var(--texte-2); }
.maison p + p{ margin-top:1rem; }
.points{ margin-top:1.8rem; display:grid; gap:14px; }
.points li{ display:flex; gap:14px; align-items:flex-start; }
.points li::before{ content:""; flex:0 0 10px; width:10px; height:10px; border-radius:50%; background:var(--or); margin-top:8px; }
.maison-cta{ margin-top:1.9rem; }
/* Montage de cinq photos du catalogue : une grande, deux petites, puis une petite et une large */
.mosaic{
  display:grid; gap:12px; aspect-ratio:1/1.04;
  grid-template-columns:repeat(3, 1fr); grid-template-rows:repeat(3, 1fr);
  grid-template-areas:"a a b" "a a c" "d e e";
}
.mosaic-secours{ grid-area:1 / 1 / -1 / -1; width:100%; height:100%; object-fit:cover; object-position:38% 62%; border-radius:var(--radius); box-shadow:var(--ombre-forte); }
.tile{
  position:relative; display:block; overflow:hidden; border-radius:14px; background:var(--surface);
  border:1px solid var(--bord); box-shadow:var(--ombre);
  opacity:0; transform:scale(.94); transition:opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1), box-shadow var(--transition);
}
.tile:nth-child(1){ grid-area:a; } .tile:nth-child(2){ grid-area:b; } .tile:nth-child(3){ grid-area:c; }
.tile:nth-child(4){ grid-area:d; } .tile:nth-child(5){ grid-area:e; }
/* Les tuiles arrivent l'une après l'autre quand le montage entre à l'écran */
.mosaic.visible .tile{ opacity:1; transform:none; }
.mosaic.visible .tile:nth-child(2){ transition-delay:.1s; }
.mosaic.visible .tile:nth-child(3){ transition-delay:.2s; }
.mosaic.visible .tile:nth-child(4){ transition-delay:.3s; }
.mosaic.visible .tile:nth-child(5){ transition-delay:.4s; }
.tile img{ width:100%; height:100%; object-fit:cover; transition:transform 1.1s ease; }
.tile:hover{ box-shadow:var(--ombre-forte); }
.tile:hover img{ transform:scale(1.08); }
.tile span{
  position:absolute; left:0; right:0; bottom:0; padding:34px 14px 12px; color:#fff; font-size:.82rem; letter-spacing:.04em; line-height:1.3;
  background:linear-gradient(to top, rgba(13,12,10,.88), transparent);
  opacity:0; transform:translateY(8px); transition:opacity .45s ease, transform .45s ease;
}
.tile span b{ display:block; font-weight:500; font-size:.66rem; letter-spacing:.16em; text-transform:uppercase; color:var(--or-clair); }
.tile:hover span, .tile:focus-visible span{ opacity:1; transform:none; }
/* La grande tuile garde sa légende visible : elle donne le ton du montage */
.tile:nth-child(1) span{ opacity:1; transform:none; font-size:.95rem; padding:48px 18px 16px; }

/* Quatre services, au même niveau */
.cards{ display:grid; grid-template-columns:repeat(4, 1fr); gap:22px; }
.card{
  position:relative; border-radius:var(--radius); overflow:hidden; min-height:390px;
  display:flex; align-items:flex-end;
  background:var(--panneau); border:1px solid var(--panneau-bord);
  box-shadow:var(--ombre);
  transition:transform var(--transition), box-shadow var(--transition);
}
.card:hover{ transform:translateY(-10px); box-shadow:var(--ombre-forte); }
/* Halo or derrière le pictogramme, qui s'ouvre au survol */
.card::before{
  content:""; position:absolute; left:-70px; top:-80px; width:280px; height:280px; border-radius:50%;
  background:radial-gradient(circle, rgba(196,164,90,.3), rgba(196,164,90,0) 68%);
  transition:transform .9s ease;
}
.card:hover::before{ transform:scale(1.45); }
/* Pictogramme au trait, en dégradé or (le dégradé est porté par l'attribut stroke du svg) */
.card-ico{
  position:absolute; left:24px; top:26px; width:104px; height:104px;
  fill:none; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round;
  transition:transform var(--transition);
}
.card:hover .card-ico{ transform:translateY(-4px) scale(1.05); }
.card-body{ position:relative; z-index:2; padding:26px; width:100%; }
.card-tag{ display:inline-block; font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.3); border-radius:999px; padding:4px 12px; margin-bottom:12px; }
.card h3{ font-size:1.4rem; margin-bottom:.55rem; }
.card p{ font-size:.92rem; color:var(--texte-2); margin-bottom:1rem; }
.card-link{ font-size:.85rem; font-weight:500; letter-spacing:.06em; color:var(--or-clair); display:inline-flex; align-items:center; gap:6px; }
.card-link::after{ content:"→"; transition:transform var(--transition); }
.card:hover .card-link::after{ transform:translateX(6px); }

/* ==========================================================
   8. CHIFFRES CLÉS (posés sur le fond, séparés par de simples filets)
   ========================================================== */
.stats-grid{ display:grid; grid-template-columns:repeat(4, 1fr); text-align:center; }
.stat{ padding:6px 20px; }
.stat + .stat{ border-left:1px solid var(--filet); }
.stat strong{ font-family:var(--display); font-weight:400; font-size:clamp(2.2rem, 4vw, 3.2rem); line-height:1.15; display:block; color:var(--accent); white-space:nowrap; }
.stat span{ font-size:.92rem; color:var(--texte-2); }

/* ==========================================================
   9. NOTRE APPROCHE (4 fiches)
   ========================================================== */
.infocards{ display:grid; grid-template-columns:repeat(4, 1fr); gap:22px; }
.infocard{
  background:var(--surface); border:1px solid var(--bord); border-top:4px solid var(--or);
  border-radius:var(--radius); padding:26px 24px 28px; box-shadow:var(--ombre);
  transition:transform var(--transition), box-shadow var(--transition);
}
.infocard:hover{ transform:translateY(-8px); box-shadow:var(--ombre-forte); }
.infocard .num{ font-family:var(--display); font-size:1.15rem; letter-spacing:.08em; color:var(--accent); }
.infocard h3{ font-size:1.3rem; margin:.3rem 0 .7rem; }
.infocard p{ font-size:.93rem; color:var(--texte-2); }

/* ==========================================================
   10. L'ÉQUIPE (panneau, polaroïds en éventail)
   ========================================================== */
.equipe-panel{ position:relative; overflow:hidden; display:grid; grid-template-columns:.92fr 1.08fr; gap:60px; align-items:center; padding:52px 56px; }
.equipe-panel::before{
  content:""; position:absolute; left:-140px; top:-160px; width:460px; height:460px; border-radius:50%;
  background:radial-gradient(circle, rgba(196,164,90,.2), rgba(196,164,90,0) 70%); pointer-events:none;
}
.polaroids{ position:relative; aspect-ratio:480/400; }
/* Le papier photo reste blanc */
.polaroid{
  position:absolute; width:40%; background:#fff; padding:2% 2% 0; border-radius:4px;
  box-shadow:0 14px 34px rgba(13,12,10,.3), 0 0 0 1px rgba(13,12,10,.05);
  transition:transform .6s cubic-bezier(.22,.61,.36,1);
}
.polaroid img{ width:100%; aspect-ratio:4/5; object-fit:cover; object-position:50% 22%; border-radius:2px; }
.polaroid figcaption{ font-family:var(--script); font-weight:500; font-size:clamp(1.1rem, 1.7vw, 1.5rem); color:#17181a; text-align:center; padding:.2em 0 .35em; }
/* Le bout de ruban adhésif qui tient la photo */
.polaroid::before{ content:""; position:absolute; top:-10px; left:50%; width:34%; height:20px; margin-left:-17%; background:rgba(196,164,90,.6); transform:rotate(-4deg); }
.polaroid.p1{ left:0; top:9%; transform:rotate(-8deg); z-index:1; }
.polaroid.p2{ left:30%; top:0; transform:rotate(3deg); z-index:3; }
.polaroid.p3{ right:0; top:14%; transform:rotate(9deg); z-index:2; }
.polaroid.p1::before{ background:rgba(120,112,98,.45); transform:rotate(5deg); }
.polaroid.p3::before{ background:rgba(223,200,136,.75); transform:rotate(-7deg); }
.equipe-panel:hover .p1{ transform:rotate(-12deg) translate(-3%, -2%); }
.equipe-panel:hover .p2{ transform:rotate(0deg) translateY(-3%); }
.equipe-panel:hover .p3{ transform:rotate(13deg) translate(3%, -2%); }
.equipe-text{ position:relative; }
.equipe-text h2{ font-size:clamp(1.6rem, 2.8vw, 2.2rem); }
.equipe-text > p{ color:var(--texte-2); margin-top:.8rem; max-width:50ch; }
.equipe-text .text-link{ margin-top:22px; }
.rows{ margin-top:1.6rem; border-top:1px solid var(--filet); }
.rows a{
  display:grid; grid-template-columns:1fr auto; gap:16px; align-items:center;
  padding:16px 8px; border-bottom:1px solid var(--filet); transition:background .3s ease, padding .3s ease;
}
.rows a:hover, .rows a:focus-visible{ background:var(--surface-2); padding-left:16px; padding-right:16px; }
.r-name strong{ display:block; font-family:var(--display); font-weight:400; font-size:1.15rem; line-height:1.25; }
.r-name small{ font-size:.86rem; color:var(--accent); }
.r-go{ font-size:.82rem; font-weight:500; letter-spacing:.06em; color:var(--accent); display:inline-flex; gap:6px; white-space:nowrap; transition:gap .3s ease; }
.rows a:hover .r-go{ gap:12px; }

/* ==========================================================
   11. PANNEAU D'APPEL (un panneau arrondi dans la page, pas une bande pleine largeur)
   ========================================================== */
.cta-panel{
  position:relative; overflow:hidden; text-align:center; border-radius:28px; padding:72px 40px;
  background:radial-gradient(ellipse at 28% 0%, #3a342a 0%, var(--carbone) 46%, var(--nuit) 100%);
  border:1px solid var(--panneau-bord); box-shadow:var(--ombre-forte);
}
.cta-panel h2{ max-width:17em; margin:0 auto 1rem; }
.cta-panel p{ max-width:62ch; margin:0 auto 2rem; color:var(--texte-2); }
.cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ==========================================================
   12. CONTACT
   ========================================================== */
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; align-items:start; }
.contact-info{ display:grid; gap:20px; margin-top:1.8rem; }
.c-line{ display:flex; gap:16px; align-items:flex-start; }
.c-ico{ flex:0 0 46px; width:46px; height:46px; border-radius:50%; background:var(--surface); border:1px solid var(--bord); box-shadow:var(--ombre); display:grid; place-items:center; }
.c-ico svg{ width:20px; height:20px; fill:none; stroke:var(--accent); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.c-line strong{ display:block; font-weight:500; transition:color .3s ease; }
.c-line a:hover strong{ color:var(--accent); }
.c-line span{ color:var(--texte-2); font-size:.92rem; }

.projet-card{ padding:36px 38px 38px; }
.projet-card h3{ font-size:1.5rem; margin-bottom:.3rem; }
.projet-card > p{ color:var(--texte-2); font-size:.93rem; margin-bottom:1.4rem; }
.q-options{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.q-opt{
  display:flex; align-items:center; gap:14px; padding:16px; border-radius:14px;
  border:1.5px solid var(--filet); background:var(--surface-2); font-size:.95rem; font-weight:500;
  transition:border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.q-opt svg{ flex:0 0 38px; width:38px; height:38px; fill:none; stroke:var(--accent); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.q-opt small{ display:block; font-size:.78rem; color:var(--texte-2); font-weight:400; }
.q-opt:hover{ border-color:var(--or); transform:translateY(-2px); box-shadow:var(--ombre); }
.projet-foot{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-top:24px; padding-top:22px; border-top:1px solid var(--filet); }
.projet-foot span{ font-size:.82rem; color:var(--texte-2); max-width:30ch; }

/* ==========================================================
   13. PIED DE PAGE ET BOUTON FLOTTANT
   ========================================================== */
/* Même fond que la page : un simple filet l'annonce */
footer{ color:var(--texte-2); padding:20px 0 18px; }
.footer-grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1.3fr; gap:34px; padding-top:46px; border-top:1px solid var(--filet); }
.footer-logo{ display:inline-block; margin:-6px 0 14px -6px; }
.footer-logo img{ width:190px; height:auto; }
.footer-baseline{ font-family:var(--script); font-weight:500; font-size:1.5rem; line-height:1.2; color:var(--accent); max-width:24ch; }
footer h4{ font-family:var(--display); font-weight:400; color:var(--texte); font-size:1.05rem; margin-bottom:.7rem; letter-spacing:.04em; }
footer ul{ display:grid; gap:7px; font-size:.9rem; }
footer a{ transition:color .3s ease; }
footer a:hover{ color:var(--accent); }
.socials{ display:flex; gap:10px; margin-top:16px; }
.socials a{ width:38px; height:38px; border-radius:50%; border:1px solid var(--filet); color:var(--texte); display:grid; place-items:center; transition:background .3s ease, transform .3s ease, border-color .3s ease, color .3s ease; }
.socials a svg{ width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.7; }
.socials a:hover{ background:var(--or); border-color:var(--or); color:var(--nuit); transform:translateY(-3px); }
.footer-bottom{ margin-top:34px; padding-top:16px; border-top:1px solid var(--filet); display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.8rem; }
.footer-bottom nav{ display:flex; gap:18px; flex-wrap:wrap; }

.fab{
  position:fixed; right:22px; bottom:22px; z-index:95;
  display:inline-flex; align-items:center; gap:10px;
  background:var(--or); color:var(--nuit); padding:14px 22px; border-radius:999px; font-weight:600; font-size:.9rem;
  box-shadow:0 14px 34px rgba(13,12,10,.32);
  transition:transform var(--transition), box-shadow var(--transition), opacity .4s ease;
}
.fab:hover{ transform:translateY(-4px) scale(1.03); box-shadow:0 20px 44px rgba(13,12,10,.4); }
.fab.fab-hidden{ opacity:0; transform:translateY(24px) scale(.9); pointer-events:none; }
.fab svg{ width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.fab .pulse{ width:9px; height:9px; border-radius:50%; background:var(--nuit); animation:pulse 1.8s ease-in-out infinite; }

/* ==========================================================
   14. RESPONSIVE
   ========================================================== */
/* Le compte-tours a besoin d'une marge libre à droite du contenu (1180 px) */
@media (max-width: 1300px){
  .rev-gauge{ display:none; }
}
@media (max-width: 1100px){
  .cards, .infocards{ grid-template-columns:1fr 1fr; }
  .card{ min-height:310px; }
}
@media (max-width: 980px){
  section[id]{ scroll-margin-top:84px; }
  .nav-links{ display:none; }
  .burger{ display:flex; }
  .maison-grid, .contact-grid{ grid-template-columns:1fr; gap:44px; }
  .offers{ grid-template-columns:1fr 1fr; }
  .stats-grid{ grid-template-columns:1fr 1fr; row-gap:30px; }
  .stat:nth-child(3){ border-left:none; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .mosaic{ aspect-ratio:1/.86; }
  .equipe-panel{ grid-template-columns:1fr; gap:30px; padding:44px 40px; }
  .polaroids{ width:min(100%, 440px); margin:0 auto; }
}
@media (max-width: 880px){
  .tile span{ opacity:1; transform:none; }
  .engagement-inner{ grid-template-columns:1fr; gap:16px; padding:30px 28px; }
}
@media (max-width: 620px){
  section[id]{ scroll-margin-top:76px; }
  .sec{ padding:44px 0; }
  .nav{ padding:12px 0; }
  .nav-logo img{ height:44px; }
  .nav-logo b{ font-size:.92rem; }
  .nav-logo i{ font-size:.6rem; }
  .offers, .cards, .infocards, .footer-grid, .q-options{ grid-template-columns:1fr; }
  .card{ min-height:0; }
  .card-ico{ position:relative; left:auto; top:auto; width:84px; height:84px; margin:22px 0 0 22px; }
  .card{ flex-direction:column; align-items:flex-start; }
  .fab span.txt{ display:none; }
  .fab{ padding:16px; bottom:16px; right:16px; }

  /* Hero : en portrait, la photo occupe le haut du bandeau et le texte passe dessous sur fond noir,
     plutôt que de n'afficher qu'une tranche étroite de la voiture derrière le titre. */
  .hero{ --hero-photo:clamp(250px, 72vw, 340px); min-height:0; display:block; }
  .hero-photo, .hero::before{ inset:0 0 auto 0; height:var(--hero-photo); }
  .hero-photo{ object-position:58% 50%; }
  .hero::before{ background:linear-gradient(180deg, rgba(13,12,10,.6) 0%, rgba(13,12,10,0) 34%, rgba(13,12,10,0) 56%, rgba(13,12,10,.82) 88%, var(--nuit) 100%); }
  .hero::after{ content:none; }
  .hero-content{ padding-top:calc(var(--hero-photo) - 44px); padding-bottom:48px; }
  .hero .eyebrow{ font-size:1.4rem; }
  .hero h1{ font-size:clamp(2rem, 8.8vw, 2.6rem); margin-bottom:.9rem; }
  .hero p{ font-size:1rem; margin-bottom:1.3rem; }
  .hero-actions{ gap:12px; }
  .hero-actions .btn{ flex:1 1 100%; justify-content:center; padding:.85rem 1.4rem; }
  .scroll-hint{ display:none; }
  .marques{ padding-top:26px; }
  .marquee span{ font-size:.92rem; padding:0 16px; }
  .marquee span::after{ margin-left:32px; }

  .section-head{ margin-bottom:28px; }
  .mosaic{ gap:8px; aspect-ratio:1/1.02; }
  .tile{ border-radius:10px; }
  .tile span{ font-size:.72rem; padding:26px 10px 8px; }
  .tile span b{ font-size:.58rem; letter-spacing:.1em; }
  .tile:nth-child(1) span{ font-size:.82rem; padding:34px 12px 10px; }
  .stat{ padding:4px 10px; }
  .stat strong{ font-size:1.9rem; }
  .equipe-panel{ padding:38px 22px 24px; gap:22px; border-radius:var(--radius); }
  .rows a{ gap:12px; padding:14px 4px; }
  .rows a:hover{ padding-left:8px; padding-right:8px; }
  .cta-panel{ padding:48px 22px; border-radius:var(--radius); }
  .projet-card{ padding:26px 20px 28px; border-radius:var(--radius); }
  .projet-foot .btn, .cta-actions .btn{ flex:1 1 100%; justify-content:center; }
  /* Le bouton flottant ne doit pas masquer les mentions du pied de page */
  footer{ padding-bottom:84px; }
}

/* ==========================================================
   15. PAGES INTÉRIEURES — bandeau, sommaire, texte + panneau
   ========================================================== */
[hidden]{ display:none !important; }

/* Bandeau de page : une photo sous le titre, dont le bas se fond dans le fond de la page */
.page-hero{ position:relative; min-height:clamp(380px, 52svh, 500px); display:flex; align-items:flex-end; background:var(--nuit); overflow:hidden; }
.page-hero > img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.page-hero::before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(96deg, rgba(13,12,10,.92) 0%, rgba(13,12,10,.74) 34%, rgba(13,12,10,.3) 68%, rgba(13,12,10,.1) 100%),
    linear-gradient(180deg, rgba(13,12,10,.6) 0%, rgba(13,12,10,.1) 30%, rgba(13,12,10,.35) 62%, var(--fond) 100%);
}
.page-hero-content{ position:relative; z-index:2; width:100%; padding-top:130px; padding-bottom:36px; }
.crumbs{ font-size:.8rem; letter-spacing:.06em; color:rgba(255,255,255,.7); margin-bottom:.9rem; }
.crumbs a{ border-bottom:1px solid transparent; transition:border-color .3s ease; }
.crumbs a:hover{ border-color:rgba(255,255,255,.7); }
.crumbs span{ margin:0 .5em; opacity:.6; }
.page-hero .eyebrow{ font-size:1.8rem; text-shadow:0 2px 12px rgba(0,0,0,.5); }
.page-hero h1{ font-size:clamp(2.1rem, 4.4vw, 3.6rem); max-width:15em; text-wrap:balance; text-shadow:0 4px 30px rgba(0,0,0,.5); }
.page-hero p{ max-width:62ch; margin-top:1rem; font-size:1.05rem; color:rgba(255,255,255,.9); text-shadow:0 2px 10px rgba(0,0,0,.45); }

/* Sommaire de la page : quatre pastilles vers les sections */
.anchors{ display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; }
.anchors a{
  display:flex; align-items:center; gap:14px; padding:16px 18px; border-radius:16px;
  background:var(--surface); border:1px solid var(--bord); box-shadow:var(--ombre);
  transition:transform var(--transition), border-color .3s ease;
}
.anchors a:hover{ transform:translateY(-4px); border-color:var(--panneau-bord); }
.anchors svg{ flex:0 0 40px; width:40px; height:40px; fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.anchors strong{ display:block; font-family:var(--display); font-weight:400; font-size:1.1rem; line-height:1.25; }
.anchors small{ font-size:.8rem; color:var(--texte-2); }

/* Texte d'un côté, panneau de l'autre */
.split{ display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center; }
.split.inverse > :first-child{ order:2; }
.split h2{ margin-bottom:1.1rem; }
.split p{ color:var(--texte-2); }
.split p + p{ margin-top:1rem; }
.split p strong{ color:var(--texte); font-weight:500; }
.split .btn{ margin-top:1.9rem; }
.picto{ display:block; width:76px; height:76px; margin-bottom:10px; fill:none; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.ticks{ margin-top:1.4rem; display:grid; gap:12px; }
.ticks li{ display:flex; gap:14px; align-items:flex-start; }
.ticks li::before{ content:""; flex:0 0 10px; width:10px; height:10px; border-radius:50%; background:var(--or); margin-top:8px; }

.side-panel{ padding:36px 38px 38px; position:relative; overflow:hidden; }
.side-panel::before{
  content:""; position:absolute; right:-120px; top:-140px; width:380px; height:380px; border-radius:50%;
  background:radial-gradient(circle, rgba(196,164,90,.16), rgba(196,164,90,0) 70%); pointer-events:none;
}
.side-panel > *{ position:relative; }
.kicker{ display:block; font-size:.72rem; font-weight:500; letter-spacing:.16em; text-transform:uppercase; color:var(--accent); margin-bottom:.6rem; }
.side-panel h3{ font-size:1.6rem; margin-bottom:.8rem; }
.side-panel > p{ color:var(--texte-2); }
/* Étapes numérotées */
.steps{ display:grid; gap:4px; }
.steps li{ display:grid; grid-template-columns:46px 1fr; gap:16px; align-items:center; padding:12px 0; border-bottom:1px solid var(--filet); }
.steps li:last-child{ border-bottom:none; padding-bottom:0; }
.steps b{
  width:46px; height:46px; border-radius:14px; display:grid; place-items:center;
  background:rgba(196,164,90,.12); border:1px solid rgba(196,164,90,.38);
  font-family:var(--display); font-weight:400; font-size:1.2rem; color:var(--or-clair);
}
/* Un chiffre mis en avant dans un panneau */
.fact{ display:flex; align-items:baseline; gap:14px; margin-top:1.4rem; padding-top:1.3rem; border-top:1px solid var(--filet); }
.fact strong{ font-family:var(--display); font-weight:400; font-size:2.6rem; line-height:1; color:var(--accent); white-space:nowrap; }
.fact span{ font-size:.9rem; color:var(--texte-2); }
.chips{ display:flex; flex-wrap:wrap; gap:10px; }
.chips span{ font-size:.9rem; padding:8px 16px; border-radius:999px; background:var(--surface-2); border:1px solid var(--filet); }
.chips.grandes span{ font-family:var(--display); font-size:1.05rem; letter-spacing:.1em; text-transform:uppercase; padding:10px 22px; background:var(--surface); }
.center .chips{ justify-content:center; }

/* Paragraphe d'ouverture, centré */
.intro{ max-width:780px; margin:0 auto; text-align:center; font-size:1.2rem; line-height:1.7; color:var(--texte-2); }

/* ==========================================================
   16. CATALOGUE ET FICHE VÉHICULE
   ========================================================== */
.cat-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:30px; }
.cat-head h2{ font-size:clamp(1.6rem, 2.8vw, 2.2rem); }
.cat-count{ font-size:.92rem; color:var(--texte-2); }
.cat-count b{ font-family:var(--display); font-weight:400; font-size:1.6rem; color:var(--accent); }
button.offer{ font:inherit; color:inherit; text-align:left; cursor:pointer; padding:0; }
.cat-vide{ grid-column:1 / -1; max-width:60ch; margin:10px auto 0; padding:34px 30px; text-align:center; color:var(--texte-2); background:var(--surface); border:1px solid var(--bord); border-radius:var(--radius); }
.cat-vide a{ color:var(--accent); border-bottom:1px solid var(--filet); }

.v-overlay{
  position:fixed; inset:0; z-index:150; padding:24px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(5,5,4,.8); backdrop-filter:blur(8px);
  opacity:0; pointer-events:none; transition:opacity .35s ease;
}
.v-overlay.open{ opacity:1; pointer-events:auto; }
.v-modal{
  position:relative; width:min(1140px, 100%); height:min(760px, calc(100svh - 48px));
  display:grid; grid-template-columns:1.2fr .8fr; overflow:hidden;
  background:var(--surface); border:1px solid var(--bord); border-radius:24px; box-shadow:0 40px 100px rgba(0,0,0,.7);
}
.vm-close{
  position:absolute; top:14px; right:14px; z-index:5; width:42px; height:42px; border-radius:50%;
  display:grid; place-items:center; cursor:pointer; color:#fff;
  background:rgba(13,12,10,.7); border:1px solid rgba(255,255,255,.25); backdrop-filter:blur(6px);
  transition:background .3s ease, color .3s ease, transform .3s ease;
}
.vm-close:hover{ background:var(--or); color:var(--nuit); transform:rotate(90deg); }
.vm-close svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
/* min-width:0 : sans lui, la largeur naturelle des photos élargit la colonne et chasse le texte hors de la fiche */
.vm-gallery{ display:flex; flex-direction:column; gap:12px; padding:20px; min-height:0; min-width:0; }
.vm-main{ position:relative; flex:1; min-height:0; border-radius:16px; overflow:hidden; background:#000; }
.vm-main img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.vm-nav{
  position:absolute; top:50%; transform:translateY(-50%); width:42px; height:42px; border-radius:50%;
  display:grid; place-items:center; cursor:pointer; color:#fff; font-size:1.1rem;
  background:rgba(13,12,10,.55); border:1px solid rgba(255,255,255,.3); backdrop-filter:blur(6px); transition:background .3s ease;
}
.vm-nav:hover{ background:rgba(13,12,10,.85); }
.vm-nav.prev{ left:12px; } .vm-nav.next{ right:12px; }
.vm-compteur{ position:absolute; left:14px; bottom:12px; font-size:.75rem; letter-spacing:.08em; color:#fff; background:rgba(13,12,10,.6); border-radius:999px; padding:4px 12px; }
.vm-thumbs{ display:flex; gap:8px; overflow-x:auto; padding-bottom:4px; scrollbar-width:thin; }
.vm-thumbs button{ flex:0 0 88px; height:60px; padding:0; border-radius:9px; overflow:hidden; cursor:pointer; background:#000; border:2px solid transparent; opacity:.55; transition:opacity .3s ease, border-color .3s ease; }
.vm-thumbs button:hover{ opacity:.9; }
.vm-thumbs button.active{ opacity:1; border-color:var(--or); }
.vm-thumbs img{ width:100%; height:100%; object-fit:cover; }
.vm-vide{ flex:1; display:grid; place-items:center; align-content:center; gap:12px; border-radius:16px; background:linear-gradient(140deg, var(--graphite), var(--nuit)); }
.vm-vide img{ width:180px; opacity:.5; }
.vm-vide span{ font-size:.72rem; letter-spacing:.2em; text-transform:uppercase; color:rgba(255,255,255,.5); }

.vm-info{ padding:34px 34px 28px 14px; overflow-y:auto; min-height:0; min-width:0; }
.vm-info h2{ font-size:clamp(1.6rem, 2.4vw, 2.1rem); margin:.2rem 44px .4rem 0; }
.vm-accroche{ font-family:var(--script); font-weight:500; font-size:1.45rem; line-height:1.25; color:var(--accent); margin-bottom:1.2rem; }
.vm-specs{ display:grid; grid-template-columns:repeat(3, 1fr); gap:10px; margin:1.2rem 0 1.4rem; }
.vm-specs div{ background:var(--surface-2); border:1px solid var(--filet); border-radius:12px; padding:10px 12px; }
.vm-specs span{ display:block; font-size:.66rem; letter-spacing:.12em; text-transform:uppercase; color:var(--texte-2); }
.vm-specs strong{ font-weight:500; font-size:.95rem; }
.vm-desc{ color:var(--texte-2); font-size:.95rem; }
.vm-options{ margin-top:1.4rem; }
.vm-options ul{ display:grid; grid-template-columns:1fr 1fr; gap:7px 18px; font-size:.88rem; }
.vm-options li{ display:flex; gap:9px; }
.vm-options li::before{ content:"✓"; color:var(--accent); font-weight:600; }
.vm-foot{ margin-top:1.6rem; padding-top:1.3rem; border-top:1px solid var(--filet); }
.vm-prix{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.vm-prix .price{ font-size:2rem; }
.vm-prix .offer-flag{ position:static; }
.vm-note{ color:var(--texte-2); font-size:.9rem; margin-top:1rem; }
.vm-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:1.2rem; }
.vm-actions .btn{ padding:.85rem 1.6rem; }

/* ==========================================================
   17. À PROPOS — équipe, citation
   ========================================================== */
.members{ display:grid; grid-template-columns:repeat(3, 1fr); gap:26px; }
.member{ overflow:hidden; display:flex; flex-direction:column; transition:transform var(--transition), box-shadow var(--transition); }
.member:hover{ transform:translateY(-8px); box-shadow:var(--ombre-forte); }
.member-photo{ aspect-ratio:4/4.4; overflow:hidden; background:#000; }
.member-photo img{ width:100%; height:100%; object-fit:cover; object-position:50% 18%; transition:transform 1.1s ease; }
.member:hover .member-photo img{ transform:scale(1.05); }
.member-body{ padding:24px 26px 28px; }
.member h3{ font-size:1.6rem; }
.member .role{ display:block; font-size:.76rem; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); margin:.2rem 0 .9rem; }
.member p{ font-size:.93rem; color:var(--texte-2); }
.motto blockquote{ font-family:var(--display); font-size:clamp(1.7rem, 3.4vw, 2.8rem); line-height:1.25; max-width:20em; margin:0 auto 1.2rem; text-wrap:balance; }
.motto blockquote em{ font-style:normal; color:var(--accent); }

/* ==========================================================
   18. FORMULAIRE DE CONTACT
   ========================================================== */
.form-card{ padding:36px 38px 38px; }
.form-card h2{ font-size:clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom:1.4rem; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field{ display:flex; flex-direction:column; gap:6px; }
.field.full{ grid-column:1 / -1; }
.field > span{ font-size:.8rem; font-weight:500; letter-spacing:.05em; }
.field .req, .check-row .req{ color:var(--accent); }
.field input, .field select, .field textarea{
  font-family:var(--body); font-size:.98rem; color:var(--texte); width:100%;
  background:var(--surface-2); border:1.5px solid var(--filet); border-radius:10px; padding:12px 14px;
  transition:border-color .3s ease, box-shadow .3s ease;
}
.field textarea{ resize:vertical; min-height:130px; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--or); box-shadow:0 0 0 4px rgba(196,164,90,.16); }
.check-row{ grid-column:1 / -1; display:flex; gap:12px; align-items:flex-start; font-size:.86rem; color:var(--texte-2); cursor:pointer; }
.check-row input{ flex:0 0 18px; width:18px; height:18px; margin-top:3px; accent-color:var(--or); }
.form-foot{ grid-column:1 / -1; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; padding-top:6px; }
.form-foot p{ font-size:.82rem; color:var(--texte-2); max-width:32ch; }
.form-error{ grid-column:1 / -1; font-size:.9rem; color:#ffab9a; background:rgba(208,64,43,.12); border:1px solid rgba(208,64,43,.4); border-radius:10px; padding:10px 14px; }
.form-success{ text-align:center; padding:30px 10px 10px; }
.form-success .coche{ width:64px; height:64px; border-radius:50%; margin:0 auto 1rem; display:grid; place-items:center; background:rgba(196,164,90,.14); border:1px solid rgba(196,164,90,.45); }
.form-success .coche svg{ width:28px; height:28px; fill:none; stroke:var(--or-clair); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.form-success h3{ font-size:1.6rem; margin-bottom:.5rem; }
.form-success p{ color:var(--texte-2); max-width:44ch; margin:0 auto 1.4rem; }
/* Encart « sur rendez-vous » */
.note-card{ margin-top:1.8rem; padding:20px 24px; border-radius:16px; background:rgba(196,164,90,.09); border:1px solid rgba(196,164,90,.35); }
.note-card strong{ display:block; font-family:var(--display); font-weight:400; font-size:1.25rem; }
.note-card span{ font-size:.92rem; color:var(--texte-2); }

/* ==========================================================
   19. RESPONSIVE DES PAGES INTÉRIEURES
   ========================================================== */
@media (max-width: 980px){
  .split{ grid-template-columns:1fr; gap:36px; }
  .split.inverse > :first-child{ order:0; }
  .anchors{ grid-template-columns:1fr 1fr; }
  .members{ grid-template-columns:1fr 1fr; }
  /* Fiche véhicule : une seule colonne qui défile, photos en haut */
  .v-overlay{ padding:0; }
  .v-modal{ width:100%; height:100svh; border-radius:0; border:none; display:block; overflow-y:auto; }
  .vm-close{ position:fixed; }
  .vm-gallery{ padding:14px; }
  .vm-main{ flex:none; aspect-ratio:3/2; }
  .vm-vide{ flex:none; aspect-ratio:3/2; }
  .vm-info{ padding:8px 22px 34px; overflow:visible; }
  .vm-info h2{ margin-right:0; }
}
@media (max-width: 620px){
  .page-hero{ min-height:clamp(340px, 58svh, 430px); }
  .page-hero-content{ padding-top:104px; padding-bottom:26px; }
  .page-hero .eyebrow{ font-size:1.4rem; }
  .page-hero h1{ font-size:clamp(1.9rem, 8vw, 2.4rem); }
  .page-hero p{ font-size:.98rem; }
  .anchors{ gap:10px; }
  .anchors a{ flex-direction:column; align-items:flex-start; gap:8px; padding:14px; }
  .anchors strong{ font-size:1rem; }
  .side-panel, .form-card{ padding:26px 22px 28px; border-radius:var(--radius); }
  .intro{ font-size:1.05rem; text-align:left; }
  .members, .form-grid{ grid-template-columns:1fr; }
  .member-photo{ aspect-ratio:4/3.6; }
  .vm-specs{ grid-template-columns:1fr 1fr; }
  .vm-options ul{ grid-template-columns:1fr; }
  .vm-actions .btn, .form-foot .btn, .split .btn{ width:100%; justify-content:center; }
  .fact strong{ font-size:2.1rem; }
}

/* ==========================================================
   20. PAGES LÉGALES (mentions, confidentialité, CGV, cookies)
   Pas de photo en tête : le texte commence sous la barre de navigation.
   ========================================================== */
.legal-head{ padding:150px 0 0; }
.legal-head .crumbs{ color:var(--texte-2); }
.legal-head h1{ font-size:clamp(2.1rem, 4.4vw, 3.4rem); text-wrap:balance; }
.legal-head p{ max-width:62ch; margin-top:.9rem; font-size:1.05rem; color:var(--texte-2); }
.legal-head .legal-meta{ display:inline-block; margin-top:1.2rem; padding:6px 14px; border:1px solid var(--panneau-bord); border-radius:999px; font-size:.82rem; letter-spacing:.04em; color:var(--accent); }

.legal-layout{ display:grid; grid-template-columns:230px minmax(0, 1fr); gap:56px; align-items:start; }
/* Colonne de gauche : les quatre documents, toujours à portée */
.legal-nav{ position:sticky; top:96px; display:flex; flex-direction:column; gap:4px; }
.legal-nav h2{ font-family:var(--body); font-size:.74rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--texte-2); margin-bottom:.6rem; }
.legal-nav a{ padding:9px 14px; border-radius:10px; font-size:.93rem; color:var(--texte-2); border-left:2px solid transparent; transition:background .3s ease, color .3s ease; }
.legal-nav a:hover{ background:var(--surface); color:var(--texte); }
.legal-nav a[aria-current]{ background:var(--surface); color:var(--accent); border-left-color:var(--or); }

.legal{ max-width:780px; font-size:.98rem; line-height:1.75; color:var(--texte-2); }
.legal p{ margin-bottom:.9rem; }
.legal strong{ color:var(--texte); font-weight:500; }
.legal a{ color:var(--accent); border-bottom:1px solid var(--panneau-bord); transition:border-color .3s ease; }
.legal a:hover{ border-color:var(--accent); }
.legal .legal-lead{ font-size:1.06rem; color:var(--texte); margin-bottom:1.6rem; }
.legal-art{ padding-top:2.2rem; margin-top:2.2rem; border-top:1px solid var(--filet); scroll-margin-top:90px; }
.legal > .legal-art:first-child{ padding-top:0; margin-top:0; border-top:none; }
.legal h2{ display:flex; align-items:baseline; gap:14px; font-size:clamp(1.35rem, 2.2vw, 1.65rem); color:var(--texte); margin-bottom:1rem; }
.legal-num{ flex:none; font-size:1.5em; line-height:1; color:var(--accent); }
.legal h3{ font-family:var(--body); font-size:1rem; font-weight:600; color:var(--texte); margin:1.5rem 0 .5rem; scroll-margin-top:90px; }
.legal h3 span{ color:var(--accent); margin-right:.6em; }
.legal ul{ margin:0 0 1rem; display:grid; gap:.55rem; }
.legal ul li{ position:relative; padding-left:1.2rem; }
.legal ul li::before{ content:""; position:absolute; left:0; top:.72em; width:6px; height:6px; border-radius:50%; background:var(--or); }

/* Encadrés : exceptions, médiateur, texte réglementaire */
.legal-card{ margin:1.2rem 0; padding:20px 24px; background:var(--surface); border:1px solid var(--bord); border-radius:var(--radius); }
.legal-card h4{ font-family:var(--body); font-size:.78rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--texte); margin-bottom:.7rem; }
.legal-card p:last-child{ margin-bottom:0; }
.legal-card-fine{ font-size:.88rem; line-height:1.65; }
.legal-card-fine .legal-note{ font-size:.82rem; opacity:.8; }

/* Sommaire des CGV */
.legal-toc{ padding:22px 24px; background:var(--surface); border:1px solid var(--bord); border-radius:var(--radius); }
.legal-toc h2{ font-family:var(--body); font-size:.78rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; margin-bottom:.8rem; }
.legal-toc ol{ columns:2; column-gap:32px; }
.legal-toc li{ break-inside:avoid; }
.legal-toc a{ display:flex; gap:12px; padding:5px 0; border-bottom:none; color:var(--texte-2); }
.legal-toc a:hover{ color:var(--texte); }
.legal-toc a span{ flex:none; width:1.6em; font-family:var(--display); color:var(--accent); }

/* Fiches d'identité : éditeur, hébergeur */
.legal-dl-list{ display:grid; border:1px solid var(--bord); border-radius:var(--radius); overflow:hidden; background:var(--surface); }
.legal-dl-list > div{ display:grid; grid-template-columns:230px minmax(0, 1fr); gap:16px; padding:12px 22px; border-top:1px solid var(--filet); }
.legal-dl-list > div:first-child{ border-top:none; }
.legal-dl-list dt{ font-size:.86rem; color:var(--texte-2); }
.legal-dl-list dd{ color:var(--texte); overflow-wrap:anywhere; }

/* Lien vers la politique de confidentialité dans la case du formulaire */
.check-row a{ color:var(--accent); border-bottom:1px solid var(--panneau-bord); }

@media (max-width: 900px){
  .legal-head{ padding-top:116px; }
  .legal-layout{ grid-template-columns:1fr; gap:28px; }
  /* Les documents passent en pastilles au-dessus du texte */
  .legal-nav{ position:static; flex-direction:row; flex-wrap:wrap; gap:8px; }
  .legal-nav h2{ display:none; }
  .legal-nav a{ padding:7px 14px; border:1px solid var(--bord); border-left-width:1px; border-radius:999px; font-size:.86rem; }
  .legal-nav a[aria-current]{ border-color:var(--panneau-bord); }
}
@media (max-width: 620px){
  .legal-toc ol{ columns:1; }
  .legal-dl-list > div{ grid-template-columns:1fr; gap:2px; }
  .legal-card{ padding:18px; }
}
