/* =====================================================================
   GOLD AUTO 54 — Feuille de style principale
   Charte : NOIR & OR (premium)  |  Auteur : site sur-mesure
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* 1. Variables (couleurs de la marque, tailles, ombres)              */
/* ------------------------------------------------------------------ */
:root {
  /* Noirs / surfaces */
  --noir:        #0c0c0e;
  --noir-2:      #141418;
  --noir-3:      #1c1c22;
  --noir-4:      #26262e;
  --ligne:       rgba(255, 255, 255, 0.08);

  /* Or de la marque */
  --or:          #c99a3b;
  --or-clair:    #e8c874;
  --or-fonce:    #a97f28;
  --or-gradient: linear-gradient(135deg, #f0d488 0%, #c99a3b 55%, #a97f28 100%);

  /* Crème (panneau clair de la carte de visite) */
  --creme:       #f4efe6;
  --creme-2:     #e9e1d3;

  /* Textes */
  --txt:         #f6f5f3;
  --txt-doux:    #b7b7bf;
  --txt-sombre:  #1a1a1a;

  /* Rayons & ombres */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --ombre:      0 10px 30px rgba(0, 0, 0, 0.45);
  --ombre-or:   0 8px 26px rgba(201, 154, 59, 0.28);

  /* Container */
  --max: 1200px;

  --trans: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------ */
/* 2. Reset & base                                                    */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

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

h1, h2, h3, h4, .display {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

/* ------------------------------------------------------------------ */
/* 3. Utilitaires de mise en page                                     */
/* ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.section { padding: 92px 0; position: relative; }
.section--alt { background: var(--noir-2); }

.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--or); font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; font-size: 0.78rem; margin-bottom: 14px;
}
.section-tag::before { content: ""; width: 30px; height: 2px; background: var(--or); }

.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 16px; }
.section-title .or { color: var(--or); }
.section-intro { color: var(--txt-doux); max-width: 620px; font-size: 1.05rem; }
.section-head { margin-bottom: 52px; }
.section-head--center { text-align: center; }
.section-head--center .section-intro { margin-inline: auto; }

.text-gold { color: var(--or); }

/* ------------------------------------------------------------------ */
/* 4. Boutons                                                         */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 50px; font-weight: 700; font-size: 0.98rem;
  cursor: pointer; border: 2px solid transparent; transition: var(--trans);
  white-space: nowrap; letter-spacing: 0.01em;
}
.btn svg { width: 18px; height: 18px; }

.btn--or {
  background: var(--or-gradient); color: #1a1400;
  box-shadow: var(--ombre-or);
}
.btn--or:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(201,154,59,.42); }

.btn--ligne {
  background: transparent; color: var(--txt); border-color: rgba(255,255,255,.28);
}
.btn--ligne:hover { border-color: var(--or); color: var(--or); transform: translateY(-3px); }

.btn--sombre { background: var(--noir-3); color: var(--txt); border-color: var(--ligne); }
.btn--sombre:hover { background: var(--noir-4); border-color: var(--or); }

.btn--bloc { width: 100%; }
.btn--lg { padding: 18px 38px; font-size: 1.05rem; }

/* ------------------------------------------------------------------ */
/* 5. En-tête / navigation                                            */
/* ------------------------------------------------------------------ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0; transition: var(--trans);
  background: linear-gradient(to bottom, rgba(12,12,14,.85), transparent);
  backdrop-filter: blur(2px);
}
.header.is-stuck {
  background: rgba(12,12,14,.94); backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0,0,0,.4); padding: 12px 0;
  border-bottom: 1px solid var(--ligne);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav a { font-weight: 600; font-size: 0.96rem; color: var(--txt-doux); position: relative; transition: color .2s; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--or); transition: width .25s;
}
.nav a:hover, .nav a.actif { color: var(--txt); }
.nav a:hover::after, .nav a.actif::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-tel {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--txt);
  white-space: nowrap;
}
.header-tel .num { white-space: nowrap; }
.header-tel svg { width: 20px; height: 20px; color: var(--or); }

.burger { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--txt); transition: .3s; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.actif span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.actif span:nth-child(2) { opacity: 0; }
.burger.actif span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ------------------------------------------------------------------ */
/* 6. Logo                                                            */
/* ------------------------------------------------------------------ */
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo svg, .logo .logo-emblem { height: 40px; width: auto; display: block; }
.logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo-txt b {
  font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.14rem;
  letter-spacing: 0.02em; color: var(--txt); white-space: nowrap;
}
.logo-txt b .gold { color: var(--or); }
.logo-txt small { font-size: 0.6rem; letter-spacing: 0.32em; color: var(--txt-doux); text-transform: uppercase; margin-top: 3px; }

/* ------------------------------------------------------------------ */
/* 7. Hero                                                            */
/* ------------------------------------------------------------------ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1000px 620px at 50% 18%, rgba(201,154,59,.17), transparent 62%),
    linear-gradient(to bottom, rgba(12,12,14,.55) 0%, rgba(12,12,14,.35) 45%, var(--noir) 100%);
}
/* Silhouette centrée en fond, discrète (le contenu reste bien centré au-dessus) */
.hero-bg svg, .hero-bg img {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 5%;
  width: min(46%, 440px); opacity: .35;
}
@media (max-width: 720px) { .hero-bg img, .hero-bg svg { width: 80%; bottom: 4%; opacity: .25; } }

.hero-inner { position: relative; z-index: 2; padding: 130px 0 80px; max-width: 860px; margin: 0 auto; text-align: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 8px 16px; border: 1px solid rgba(201,154,59,.4); border-radius: 50px;
  color: var(--or-clair); font-weight: 600; font-size: 0.85rem; letter-spacing: .04em;
}
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); margin-bottom: 22px; }
.hero h1 .or { background: var(--or-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.2rem; color: var(--txt-doux); max-width: 560px; margin: 0 auto 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.hero-stats { display: flex; gap: 40px; margin-top: 54px; flex-wrap: wrap; justify-content: center; }
.hero-stat b { font-family: "Montserrat", sans-serif; font-size: 2.1rem; color: var(--txt); display: block; }
.hero-stat b .or { color: var(--or); }
.hero-stat span { color: var(--txt-doux); font-size: 0.9rem; }

/* ------------------------------------------------------------------ */
/* 8. Bandeau de confiance (étoiles Google)                           */
/* ------------------------------------------------------------------ */
.trust-bar { background: var(--noir-2); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.trust-bar .container { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 20px 24px; text-align: center; }
.trust-bar .stars { color: var(--or); font-size: 1.25rem; letter-spacing: 2px; }
.trust-bar b { color: var(--txt); }
.trust-bar span { color: var(--txt-doux); }

/* ------------------------------------------------------------------ */
/* 9. Services                                                        */
/* ------------------------------------------------------------------ */
.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--noir-2); border: 1px solid var(--ligne); border-radius: var(--r-lg);
  padding: 40px 34px; transition: var(--trans); position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--or-gradient);
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(201,154,59,.4); box-shadow: var(--ombre); }
.service-card:hover::before { transform: scaleX(1); }
.service-ico {
  width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(201,154,59,.12); color: var(--or); margin-bottom: 22px;
}
.service-ico svg { width: 32px; height: 32px; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.service-card p { color: var(--txt-doux); }

/* ------------------------------------------------------------------ */
/* 10. Cartes voiture                                                 */
/* ------------------------------------------------------------------ */
.grid-cars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.car-card {
  background: var(--noir-2); border: 1px solid var(--ligne); border-radius: var(--r-lg);
  overflow: hidden; transition: var(--trans); display: flex; flex-direction: column;
}
.car-card:hover { transform: translateY(-8px); border-color: rgba(201,154,59,.45); box-shadow: var(--ombre); }

.car-media { position: relative; aspect-ratio: 16 / 10; background: var(--noir-3); overflow: hidden; }
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.car-card:hover .car-media img { transform: scale(1.06); }
.car-media--vide { display: grid; place-items: center; color: var(--noir-4); }
.car-media--vide svg { width: 64px; height: 64px; }

.car-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(12,12,14,.82); border: 1px solid var(--ligne); backdrop-filter: blur(6px);
  color: var(--txt); font-size: 0.74rem; font-weight: 700; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 50px; text-transform: uppercase;
}
.car-badge--vendu { background: rgba(180,40,40,.85); border-color: transparent; }
.car-badge--dispo { color: var(--or-clair); border-color: rgba(201,154,59,.5); }

/* Bandeau « Vendu » en diagonale dans le coin */
.car-ribbon {
  position: absolute; top: 16px; right: -36px; z-index: 3;
  background: #c0392b; color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .1em;
  padding: 6px 42px; transform: rotate(45deg); text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,.45);
}
.car-card--vendu .car-media img { filter: grayscale(.55) brightness(.62); }
.car-card--vendu:hover { transform: translateY(-4px); }
.car-card--vendu .car-price { color: var(--txt-doux); }

.car-fav {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(12,12,14,.7); border: 1px solid var(--ligne);
}

.car-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.car-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 4px; }
.car-title { font-size: 1.18rem; font-family: "Montserrat", sans-serif; font-weight: 700; }
.car-year { color: var(--txt-doux); font-size: 0.9rem; }
.car-price { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.42rem; color: var(--or); white-space: nowrap; }
.car-price small { font-weight: 600; font-size: 0.7rem; color: var(--txt-doux); display: block; text-align: right; }

.car-specs {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px;
  margin: 18px 0; padding: 16px 0; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne);
}
.car-spec { display: flex; align-items: center; gap: 9px; color: var(--txt-doux); font-size: 0.9rem; }
.car-spec svg { width: 17px; height: 17px; color: var(--or); flex-shrink: 0; }
.car-spec b { color: var(--txt); font-weight: 600; }

.car-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.car-actions .btn { padding: 12px 16px; font-size: 0.9rem; }

/* ------------------------------------------------------------------ */
/* 11. Catalogue + filtres                                            */
/* ------------------------------------------------------------------ */
.catalog { padding-top: 130px; }
.catalog-layout { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start; }

.filters {
  background: var(--noir-2); border: 1px solid var(--ligne); border-radius: var(--r-lg);
  padding: 8px 22px 22px; position: sticky; top: 96px;
}
.filters-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0 16px; border-bottom: 1px solid var(--ligne); margin-bottom: 8px;
}
.filters-head h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.filters-head h3 svg { width: 18px; height: 18px; color: var(--or); }
.filters-reset { background: none; border: 0; color: var(--or); font-size: 0.82rem; font-weight: 600; cursor: pointer; }
.filters-reset:hover { text-decoration: underline; }

.filter-group { padding: 18px 0; border-bottom: 1px solid var(--ligne); }
.filter-group:last-child { border-bottom: 0; }
.filter-group > label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 12px; }

.field {
  width: 100%; background: var(--noir-3); border: 1px solid var(--ligne); color: var(--txt);
  padding: 12px 14px; border-radius: var(--r-sm); transition: border-color .2s; appearance: none;
}
.field:focus { outline: none; border-color: var(--or); }
select.field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23c99a3b' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;
}
.field-row { display: flex; gap: 10px; align-items: center; }
.field-row span { color: var(--txt-doux); font-size: 0.85rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px; border-radius: 50px; border: 1px solid var(--ligne); background: var(--noir-3);
  color: var(--txt-doux); font-size: 0.85rem; cursor: pointer; transition: var(--trans); user-select: none;
}
.chip:hover { border-color: rgba(201,154,59,.5); color: var(--txt); }
.chip.actif { background: var(--or-gradient); color: #1a1400; border-color: transparent; font-weight: 700; }

.catalog-main {}
.catalog-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.catalog-count { color: var(--txt-doux); }
.catalog-count b { color: var(--or); font-size: 1.2rem; }
.catalog-toolbar .toolbar-right { display: flex; align-items: center; gap: 12px; }
.catalog-toolbar label { color: var(--txt-doux); font-size: 0.9rem; }

.filters-toggle { display: none; }
.filters-close { display: none; }

.catalog-empty {
  text-align: center; padding: 80px 20px; background: var(--noir-2);
  border: 1px dashed var(--ligne); border-radius: var(--r-lg);
}
.catalog-empty svg { width: 60px; height: 60px; color: var(--noir-4); margin-bottom: 18px; }
.catalog-empty h3 { margin-bottom: 8px; }
.catalog-empty p { color: var(--txt-doux); }

/* ------------------------------------------------------------------ */
/* 12. Fiche voiture (détail)                                         */
/* ------------------------------------------------------------------ */
.detail { padding-top: 120px; }
.detail-back { display: inline-flex; align-items: center; gap: 8px; color: var(--txt-doux); margin-bottom: 24px; }
.detail-back:hover { color: var(--or); }
.detail-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
/* Colonne de gauche : les photos, puis les équipements en dessous. */
.detail-colonne { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.gallery-main {
  aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--noir-2);
  border: 1px solid var(--ligne);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); cursor: pointer; opacity: .6; border: 2px solid transparent; transition: .2s; }
.gallery-thumbs img.actif, .gallery-thumbs img:hover { opacity: 1; border-color: var(--or); }

.detail-info h1 { font-size: 2rem; margin-bottom: 6px; }
.detail-price { font-family: "Montserrat"; font-weight: 800; font-size: 2.4rem; color: var(--or); margin: 14px 0 22px; }
.detail-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 26px; }
.detail-specs .car-spec { background: var(--noir-2); border: 1px solid var(--ligne); padding: 14px 16px; border-radius: var(--r-sm); }
.detail-desc { color: var(--txt-doux); margin-bottom: 26px; }

/* ------------------------------------------------------------------ */
/* 13. Témoignages / avis                                             */
/* ------------------------------------------------------------------ */
.reviews-badge {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--noir-2); border: 1px solid var(--ligne); border-radius: var(--r-lg);
  padding: 24px 30px; margin-bottom: 46px;
}
.reviews-note { font-family: "Montserrat"; font-weight: 800; font-size: 3rem; color: var(--or); line-height: 1; }
.reviews-badge .stars { color: var(--or); font-size: 1.3rem; letter-spacing: 2px; }
.reviews-badge .meta { color: var(--txt-doux); }
.reviews-badge .g-logo { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--txt-doux); font-size: .9rem; }
.reviews-badge .g-logo svg { width: 22px; height: 22px; }

.grid-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--noir-2); border: 1px solid var(--ligne); border-radius: var(--r); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 14px; transition: var(--trans);
}
.review-card:hover { border-color: rgba(201,154,59,.35); transform: translateY(-5px); }
.review-top { display: flex; align-items: center; gap: 13px; }
.review-avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--or-gradient); color: #1a1400; font-weight: 800; font-family: "Montserrat"; flex-shrink: 0;
}
.review-name { font-weight: 700; }
.review-sub { color: var(--txt-doux); font-size: 0.8rem; }
.review-card .stars { color: var(--or); letter-spacing: 1px; }
.review-text { color: var(--txt-doux); font-size: 0.96rem; }
.review-card .g-mark { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--txt-doux); font-size: .78rem; }
.review-card .g-mark svg { width: 15px; height: 15px; }

/* ------------------------------------------------------------------ */
/* 14. Bloc "Vendez votre voiture" (accueil)                          */
/* ------------------------------------------------------------------ */
.sell-cta { position: relative; overflow: hidden; }
.sell-cta-inner {
  background: linear-gradient(120deg, var(--noir-3), var(--noir-2));
  border: 1px solid rgba(201,154,59,.3); border-radius: var(--r-lg);
  padding: 60px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.sell-cta-inner::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201,154,59,.22), transparent 70%);
}
.sell-cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.sell-cta p { color: var(--txt-doux); margin-bottom: 26px; font-size: 1.05rem; }
.sell-steps { display: flex; flex-direction: column; gap: 16px; }
.sell-step { display: flex; gap: 16px; align-items: flex-start; }
.sell-step-num {
  width: 40px; height: 40px; border-radius: 12px; background: rgba(201,154,59,.14);
  color: var(--or); display: grid; place-items: center; font-weight: 800; font-family: "Montserrat"; flex-shrink: 0;
}
.sell-step h4 { font-size: 1rem; margin-bottom: 2px; }
.sell-step p { color: var(--txt-doux); margin: 0; font-size: 0.92rem; }

/* ------------------------------------------------------------------ */
/* 15. Formulaire multi-étapes (page vendez)                          */
/* ------------------------------------------------------------------ */
.wizard { padding-top: 130px; }
.wizard-card {
  max-width: 780px; margin: 0 auto; background: var(--noir-2);
  border: 1px solid var(--ligne); border-radius: var(--r-lg); padding: 42px;
}
.wizard-progress { display: flex; align-items: center; gap: 0; margin-bottom: 38px; }
.wizard-progress .dot {
  flex: 1; height: 4px; background: var(--noir-4); position: relative; border-radius: 4px;
}
.wizard-progress .dot + .dot { margin-left: 8px; }
.wizard-progress .dot.fait { background: var(--or); }
.wizard-progress .dot.actif { background: var(--or-clair); }

.wizard-step { display: none; animation: fade .4s ease; }
.wizard-step.actif { display: block; }
/* Titre + sous-titre d'étape centrés, dans l'axe du stepper au-dessus.
   Les champs du formulaire, eux, restent alignés à gauche (un libellé centré
   au-dessus d'un champ serait illisible). */
.wizard-step h2 { font-size: 1.5rem; margin-bottom: 6px; text-align: center; }
.wizard-step .step-sub { color: var(--txt-doux); margin-bottom: 26px; text-align: center; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.92rem; }
.form-field label .req { color: var(--or); }
textarea.field { resize: vertical; min-height: 120px; }

.uploader {
  grid-column: 1 / -1; border: 2px dashed var(--ligne); border-radius: var(--r);
  padding: 34px; text-align: center; cursor: pointer; transition: var(--trans); background: var(--noir-3);
}
.uploader:hover, .uploader.drag { border-color: var(--or); background: rgba(201,154,59,.06); }
.uploader svg { width: 44px; height: 44px; color: var(--or); margin-bottom: 12px; }
.uploader b { display: block; margin-bottom: 4px; }
.uploader span { color: var(--txt-doux); font-size: 0.88rem; }
.upload-preview { grid-column: 1/-1; display: grid; grid-template-columns: repeat(auto-fill, minmax(90px,1fr)); gap: 12px; }
.upload-preview .thumb { position: relative; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--ligne); }
.upload-preview .thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload-preview .thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,.7); border: 0; color: #fff; cursor: pointer; display: grid; place-items: center; }

.wizard-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 34px; }

.wizard-done { text-align: center; padding: 30px 10px; }
.wizard-done .check {
  width: 84px; height: 84px; border-radius: 50%; background: rgba(201,154,59,.14);
  color: var(--or); display: grid; place-items: center; margin: 0 auto 22px;
}
.wizard-done .check svg { width: 44px; height: 44px; }
.wizard-done h2 { margin-bottom: 10px; }
.wizard-done p { color: var(--txt-doux); max-width: 440px; margin: 0 auto 26px; }

/* ------------------------------------------------------------------ */
/* 16. Contact                                                        */
/* ------------------------------------------------------------------ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; gap: 18px; align-items: flex-start; background: var(--noir-2);
  border: 1px solid var(--ligne); border-radius: var(--r); padding: 22px 24px; transition: var(--trans);
}
.contact-item:hover { border-color: rgba(201,154,59,.4); }
.contact-item .ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(201,154,59,.12); color: var(--or); display: grid; place-items: center; flex-shrink: 0; }
.contact-item .ico svg { width: 22px; height: 22px; }
.contact-item h4 { margin-bottom: 3px; font-size: 1rem; }
.contact-item p, .contact-item a { color: var(--txt-doux); font-size: 0.96rem; }
.contact-item a:hover { color: var(--or); }
.contact-map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--ligne); min-height: 380px; height: 100%; }
.contact-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.3) contrast(1.05); }

/* ------------------------------------------------------------------ */
/* 17. Pied de page                                                   */
/* ------------------------------------------------------------------ */
.footer { background: var(--noir-2); border-top: 1px solid var(--ligne); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.footer p { color: var(--txt-doux); font-size: 0.94rem; margin-top: 16px; max-width: 300px; }
.footer h4 { font-size: 0.85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--txt-doux); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: var(--txt-doux); font-size: 0.95rem; transition: color .2s; }
.footer-links a:hover { color: var(--or); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact div { display: flex; gap: 10px; align-items: flex-start; color: var(--txt-doux); font-size: 0.95rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--or); flex-shrink: 0; margin-top: 3px; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--ligne); background: var(--noir-3);
  display: grid; place-items: center; color: var(--txt-doux); transition: var(--trans);
}
.socials a:hover { color: var(--or); border-color: var(--or); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid var(--ligne); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--txt-doux); font-size: 0.86rem; }
.footer-bottom a { color: var(--txt-doux); }
.footer-bottom a:hover { color: var(--or); }

/* ------------------------------------------------------------------ */
/* 18. Animations                                                     */
/* ------------------------------------------------------------------ */
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.vu { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/* 19. Responsive                                                     */
/* ------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .grid-services, .grid-cars, .grid-reviews { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .sell-cta-inner { grid-template-columns: 1fr; padding: 44px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 200; border-radius: 0; overflow-y: auto;
             transform: translateX(-100%); transition: transform .35s; padding: 20px 22px; }
  .filters.ouvert { transform: none; }
  .filters-toggle { display: inline-flex; }
  .filters-close { display: block; width: 100%; margin-top: 18px; }
  /* minmax(0, 1fr) et surtout PAS 1fr : avec 1fr, la colonne refuse de
     descendre sous la largeur naturelle de son contenu, et la page déborde
     sur les téléphones (mesuré : 413 px de large sur un écran de 375). */
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  /* Tout s'empile : on veut photos → prix/boutons → équipements.
     display:contents efface la colonne de gauche pour que ses deux enfants
     deviennent des cases de la grille — sans ça, les équipements resteraient
     collés aux photos et l'acheteur croiserait 14 lignes d'options AVANT de
     voir le prix et le bouton d'appel. */
  .detail-colonne { display: contents; }
  .detail-gallery { order: 1; }
  .detail-info    { order: 2; }
  .detail-equip   { order: 3; }
  .contact-layout { grid-template-columns: 1fr; }
}
/* Le bouton d'action de l'en-tête n'apparaît que sur les grands écrans */
@media (max-width: 1300px) { .entete-cta { display: none; } }

/* Menu : bascule en burger dès les écrans moyens (évite le numéro coupé) */
@media (max-width: 1024px) {
  .nav, .entete-cta, .header-tel .num { display: none; }
  .header-tel .ico { display: inline-flex; }
  .burger { display: block; }
  .nav.ouvert {
    display: flex; flex-direction: column; position: fixed; inset: 66px 0 auto 0;
    background: rgba(12,12,14,.98); padding: 20px 24px; gap: 4px;
    border-bottom: 1px solid var(--ligne); max-height: calc(100vh - 66px); overflow-y: auto;
  }
  .nav.ouvert a { padding: 13px 0; width: 100%; font-size: 1.1rem; white-space: normal; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .grid-services, .grid-cars, .grid-reviews, .form-grid, .detail-specs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .wizard-card, .sell-cta-inner { padding: 26px; }
  .reviews-note { font-size: 2.4rem; }
}

/* Accessibilité : réduire les animations si demandé */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ */
/* 20. Champs nombre : retirer les flèches (pas d'incrément +1)       */
/* ------------------------------------------------------------------ */
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ------------------------------------------------------------------ */
/* 21. Liste déroulante recherchable (marques)                        */
/* ------------------------------------------------------------------ */
.combo { position: relative; }
.combo-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23c99a3b' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;
}
.combo-list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40;
  background: var(--noir-3); border: 1px solid var(--ligne); border-radius: var(--r-sm);
  max-height: 260px; overflow-y: auto; box-shadow: var(--ombre);
}
.combo-list[hidden] { display: none; }
.combo-opt { padding: 11px 14px; cursor: pointer; font-size: .95rem; }
.combo-opt:hover, .combo-opt.actif { background: rgba(201,154,59,.16); color: var(--or-clair); }
.combo-empty { padding: 11px 14px; color: var(--txt-doux); font-size: .9rem; }

/* ------------------------------------------------------------------ */
/* 22. Étapes du formulaire de vente (stepper)                        */
/* ------------------------------------------------------------------ */
.stepper { display: flex; max-width: 560px; margin: 0 auto 44px; }
.stepper .st { flex: 1; text-align: center; position: relative; }
/* Le trait RELIE les pastilles : il s'arrête à 24px de chaque centre (rayon 20px
   + 4px de respiration). Avant, il traversait la pastille — le fond étant
   semi-transparent, on voyait le trait au travers et le cercle semblait coupé. */
.stepper .st::before {
  content: ""; position: absolute; top: 19px;
  right: calc(50% + 24px); width: calc(100% - 48px); height: 2px;
  background: var(--noir-4); z-index: 0;
}
.stepper .st:first-child::before { display: none; }
.stepper .st.fait::before, .stepper .st.actif::before { background: var(--or); }
.stepper .st .num {
  position: relative; z-index: 1; width: 40px; height: 40px; margin: 0 auto; border-radius: 50%;
  display: grid; place-items: center; background: var(--noir-4); color: var(--txt-doux);
  font-weight: 800; font-family: "Montserrat", sans-serif; border: 2px solid transparent; transition: .3s;
}
.stepper .st .lbl { margin-top: 9px; font-size: .8rem; color: var(--txt-doux); }
.stepper .st.actif .num { background: var(--or-gradient); color: #1a1400; }
.stepper .st.actif .lbl { color: var(--txt); }
.stepper .st.fait .num { background: rgba(201,154,59,.18); color: var(--or); border-color: var(--or); }

/* Réassurance sous le formulaire */
.reassurance { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 26px; }
.reassurance span.item { display: inline-flex; align-items: center; gap: 8px; color: var(--txt-doux); font-size: .9rem; }
.reassurance .item [data-ico] { display: inline-flex; width: 18px; height: 18px; color: var(--or); }
.reassurance .item svg { width: 18px; height: 18px; }

@media (max-width: 720px) {
  .stepper .st .lbl { font-size: .72rem; }
  .reassurance { gap: 14px 22px; }
}

/* ------------------------------------------------------------------ */
/* 23. Piste de course (voiture qui descend au défilement)            */
/* ------------------------------------------------------------------ */
.race-track {
  position: fixed; top: 90px; bottom: 22px; right: 16px; width: 24px;
  z-index: 40; pointer-events: none;
}
.race-road {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%);
  background: repeating-linear-gradient(to bottom, rgba(201,154,59,.55) 0 12px, transparent 12px 26px);
  border-radius: 3px;
}
.race-car {
  position: absolute; left: 50%; top: 0;
  width: 46px;
  transform: translate(-50%, -60%);            /* AU-DESSUS de la ligne, à hauteur du défilement */
  transition: top .12s linear;
}
/* La carrosserie ondule doucement = effet de lévitation */
.race-car .rc-body {
  animation: rc-hover 2.4s ease-in-out infinite;
  filter: drop-shadow(0 5px 4px rgba(0,0,0,.55)) drop-shadow(0 0 5px rgba(201,154,59,.45));
}
.race-car .rc-body svg, .race-car .rc-body img { width: 100%; display: block; }
/* L'ombre portée reste "au sol" (sur la route) et respire à l'inverse */
.race-car .rc-shadow {
  position: absolute; left: 50%; bottom: -9px; width: 30px; height: 6px;
  border-radius: 50%; background: rgba(0,0,0,.42); filter: blur(2.5px);
  transform: translateX(-50%); z-index: -1;
  animation: rc-shadow 2.4s ease-in-out infinite;
}
@keyframes rc-hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes rc-shadow {
  0%, 100% { opacity: .42; transform: translateX(-50%) scaleX(1); }
  50% { opacity: .24; transform: translateX(-50%) scaleX(.74); }
}

@media (max-width: 1200px) { .race-track { display: none; } }

/* ------------------------------------------------------------------ */
/* 24. Blog (liste + article)                                         */
/* ------------------------------------------------------------------ */
.blog { padding-top: 130px; padding-bottom: 92px; }
.grid-blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { background: var(--noir-2); border: 1px solid var(--ligne); border-radius: var(--r-lg); overflow: hidden; transition: var(--trans); }
.blog-card:hover { transform: translateY(-8px); border-color: rgba(201,154,59,.45); box-shadow: var(--ombre); }
.blog-card > a { display: flex; flex-direction: column; height: 100%; }
.blog-cover { aspect-ratio: 16 / 9; background: var(--noir-3); overflow: hidden; }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-cover img { transform: scale(1.05); }
.blog-cover--vide { display: grid; place-items: center; color: var(--noir-4); }
.blog-cover--vide svg { width: 54px; height: 54px; }
.blog-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-date { color: var(--or); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.blog-body h2 { font-size: 1.22rem; line-height: 1.25; }
.blog-body p { color: var(--txt-doux); font-size: .95rem; flex: 1; }
.blog-more { display: inline-flex; align-items: center; gap: 6px; color: var(--or); font-weight: 700; font-size: .9rem; margin-top: 4px; }
.blog-more svg { width: 16px; height: 16px; }

.article-wrap { padding-top: 120px; padding-bottom: 80px; }
#article { max-width: 760px; margin: 0 auto; }
/* En-tête d'article et de page légale : centré, dans l'axe du reste du site.
   Le corps du texte, lui, reste aligné à gauche : un long paragraphe centré
   est pénible à lire (l'œil perd le début de chaque ligne). */
.article-head { margin-bottom: 28px; text-align: center; }
.article-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.article-lead { color: var(--txt-doux); font-size: 1.15rem; max-width: 620px; margin: 0 auto; }
.article-cover { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 30px; border: 1px solid var(--ligne); }
.article-cover img { width: 100%; display: block; }
.article-content { color: #d9d9de; font-size: 1.06rem; line-height: 1.8; }
.article-content h2 { font-size: 1.5rem; margin: 34px 0 12px; color: var(--txt); }
.article-content h3 { font-size: 1.2rem; margin: 26px 0 10px; color: var(--txt); }
.article-content p { margin-bottom: 18px; }
.article-content ul, .article-content ol { margin: 0 0 18px; padding-left: 24px; }
.article-content li { margin-bottom: 8px; }
.article-content ul li { list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content a { color: var(--or); text-decoration: underline; text-underline-offset: 3px; }
.article-content strong { color: var(--txt); }
.article-cta { max-width: 760px; margin: 50px auto 0; text-align: center; background: var(--noir-2); border: 1px solid rgba(201,154,59,.3); border-radius: var(--r-lg); padding: 40px; }
.article-cta h3 { font-size: 1.4rem; margin-bottom: 8px; }
.article-cta p { color: var(--txt-doux); margin-bottom: 20px; }

@media (max-width: 1024px) { .grid-blog { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .grid-blog { grid-template-columns: 1fr; } .article-cta { padding: 28px; } }

/* ------------------------------------------------------------------ */
/* 25. Album / Galerie + visionneuse (lightbox)                       */
/* ------------------------------------------------------------------ */
.album { padding-top: 130px; padding-bottom: 92px; }
.album-count { color: var(--txt-doux); margin-bottom: 24px; }
.album-count b { color: var(--or); font-size: 1.2rem; }
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.album-tile {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden;
  cursor: pointer; border: 1px solid var(--ligne); background: var(--noir-3); padding: 0;
  display: block; width: 100%; transition: var(--trans);
}
.album-tile:hover { transform: translateY(-6px); border-color: rgba(201,154,59,.5); box-shadow: var(--ombre); }
.album-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.album-tile:hover img { transform: scale(1.07); }
.album-tile--vide { width: 100%; height: 100%; display: grid; place-items: center; color: var(--noir-4); }
.album-tile--vide svg { width: 64px; height: 64px; }
.album-cap {
  position: absolute; inset: auto 0 0 0; padding: 34px 16px 14px; text-align: left;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
}
.album-cap b { display: block; color: #fff; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1rem; }
.album-cap span { color: var(--or-clair); font-weight: 800; font-family: "Montserrat", sans-serif; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(6,6,8,.94);
  display: none; align-items: center; justify-content: center; padding: 28px;
}
.lightbox.ouvert { display: flex; animation: fade .25s ease; }
.lb-inner { max-width: 1000px; width: 100%; }
.lb-stage { position: relative; aspect-ratio: 16 / 10; background: var(--noir-2); border: 1px solid var(--ligne); border-radius: var(--r-lg); overflow: hidden; }
.lb-stage img { width: 100%; height: 100%; object-fit: contain; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  background: rgba(0,0,0,.6); border: 1px solid var(--ligne); color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: var(--trans);
}
.lb-nav:hover { background: var(--or); color: #1a1400; border-color: transparent; }
.lb-nav svg { width: 22px; height: 22px; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-close {
  position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.6); border: 1px solid var(--ligne); color: #fff; font-size: 1.2rem; cursor: pointer;
}
.lb-close:hover { background: var(--or); color: #1a1400; }
.lb-info { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.lb-info b { display: block; font-family: "Montserrat", sans-serif; font-size: 1.2rem; }
.lb-info #lb-sous { color: var(--txt-doux); font-size: .92rem; }
.lb-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 1024px) { .album-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .album-grid { grid-template-columns: 1fr; }
  .lb-close { top: 12px; right: 14px; }
  /* Boutons du formulaire de vente : partage égal, pas de débordement */
  .wizard-nav .btn { flex: 1 1 0; min-width: 0; padding-left: 14px; padding-right: 14px; }
}

/* ------------------------------------------------------------------ */
/* 26. Corrections petits écrans / mobile                              */
/* ------------------------------------------------------------------ */
@media (max-width: 480px) {
  .container { padding-left: 16px; padding-right: 16px; }
  /* Logo compact : garde l'emblème + le nom, sans la petite accroche */
  .logo { gap: 9px; }
  .logo .logo-emblem { height: 30px; }
  .logo-txt b { font-size: 1rem; }
  .logo-txt small { display: none; }
}

/* ------------------------------------------------------------------ */
/* 27. Belles animations                                              */
/* ------------------------------------------------------------------ */
/* Entrée du hero en cascade */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-inner > * { animation: fadeUp .75s cubic-bezier(.22,1,.36,1) both; }
.hero-eyebrow { animation-delay: .05s; }
.hero h1 { animation-delay: .16s; }
.hero p { animation-delay: .3s; }
.hero-cta { animation-delay: .44s; }
.hero-stats { animation-delay: .58s; }

/* Brillance qui balaie les boutons dorés au survol */
.btn--or { position: relative; overflow: hidden; }
.btn--or::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.btn--or:hover::after { animation: shine .85s ease; }
@keyframes shine { to { left: 150%; } }

/* Apparition décalée des cartes dans les grilles à 3 colonnes */
.grid-cars > .reveal:nth-child(3n+2),
.grid-services > .reveal:nth-child(3n+2),
.grid-reviews > .reveal:nth-child(3n+2),
.grid-blog > .reveal:nth-child(3n+2) { transition-delay: .09s; }
.grid-cars > .reveal:nth-child(3n+3),
.grid-services > .reveal:nth-child(3n+3),
.grid-reviews > .reveal:nth-child(3n+3),
.grid-blog > .reveal:nth-child(3n+3) { transition-delay: .18s; }

/* Icônes de service : petit rebond au survol de la carte */
.service-card:hover .service-ico { transform: translateY(-4px) rotate(-4deg); }
.service-ico { transition: transform .35s cubic-bezier(.22,1,.36,1); }

/* Pastille dorée du tag qui pulse doucement */
.section-tag::before { animation: tagPulse 2.6s ease-in-out infinite; }
@keyframes tagPulse { 0%,100% { opacity: 1; width: 30px; } 50% { opacity: .5; width: 22px; } }

/* ------------------------------------------------------------------ */
/* 28. FAQ (accordéon)                                                */
/* ------------------------------------------------------------------ */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--noir-2); border: 1px solid var(--ligne); border-radius: var(--r); padding: 0 24px; transition: var(--trans); }
.faq-item[open] { border-color: rgba(201,154,59,.4); }
.faq-item summary {
  cursor: pointer; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.06rem;
  padding: 20px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--or); font-size: 1.7rem; font-weight: 400; line-height: 1; transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--txt-doux); padding: 0 0 22px; margin: 0; }
.faq-item a { color: var(--or); text-decoration: underline; }

/* ------------------------------------------------------------------ */
/* 29. Fiche véhicule : agencement naturel + équipements              */
/* ------------------------------------------------------------------ */
.detail-sub { color: var(--txt-doux); margin-bottom: 4px; }
.detail-trust { color: var(--txt-doux); font-size: .85rem; margin-top: 18px; display: flex; align-items: center; gap: 6px; }
.shield-mini { display: inline-flex; width: 15px; height: 15px; color: var(--or); flex-shrink: 0; }
.shield-mini svg { width: 15px; height: 15px; }

/* Cadre photo vide : joli et intentionnel (plus un gros trou) */
.gallery-empty {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  background: radial-gradient(circle at 50% 42%, rgba(201,154,59,.07), transparent 68%);
}
.gallery-empty img { width: 52%; max-width: 230px; opacity: .45; }
.gallery-empty span { color: var(--txt-doux); font-size: .9rem; letter-spacing: .03em; }

/* Bloc description + équipements sous la fiche.
   Il occupe toute la largeur de la page : ses bords gauche et droit tombent
   pile sur ceux de la galerie et des infos au-dessus. Avant, il était bridé à
   940px sans être centré : il laissait un grand vide à droite et la page
   semblait pencher d'un côté. */
.detail-extra { margin-top: 42px; display: flex; flex-direction: column; gap: 30px; }
.detail-block h3 { font-size: 1.3rem; margin-bottom: 14px; }
/* La description garde une longueur de ligne confortable à lire */
.detail-block > p { color: var(--txt-doux); line-height: 1.85; max-width: 78ch; }
/* Les équipements vivent maintenant dans la colonne de gauche (~640px) et non
   plus sur toute la largeur : les colonnes s'adaptent d'elles-mêmes à la place
   disponible, au lieu d'un nombre figé qui serait à l'étroit. */
.equip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 12px 24px; }
.equip-item { display: flex; align-items: center; gap: 10px; color: var(--txt); font-size: .96rem; }
.equip-check { display: inline-flex; width: 19px; height: 19px; color: var(--or); flex-shrink: 0; }
.equip-check svg { width: 19px; height: 19px; }
@media (max-width: 460px) { .equip-grid { grid-template-columns: 1fr; } }

/* Équipements en catégories déroulantes (accordéon) */
.detail-equip .equip-cat { border: 1px solid var(--ligne); border-radius: var(--r-sm); margin-bottom: 12px; background: var(--noir-2); overflow: hidden; transition: border-color .2s; }
.detail-equip .equip-cat[open] { border-color: rgba(201,154,59,.35); }
.detail-equip .equip-cat > summary {
  cursor: pointer; list-style: none; padding: 15px 20px; font-family: "Montserrat", sans-serif;
  font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: 12px;
}
.detail-equip .equip-cat > summary::-webkit-details-marker { display: none; }
.detail-equip .equip-cat > summary::after { content: "▾"; margin-left: auto; color: var(--or); transition: transform .3s; }
.detail-equip .equip-cat[open] > summary::after { transform: rotate(180deg); }
.equip-count { background: rgba(201,154,59,.16); color: var(--or); font-size: .78rem; font-weight: 700; padding: 2px 9px; border-radius: 50px; }
.detail-equip .equip-cat > .equip-grid { padding: 2px 20px 20px; }

/* Bouton « retour en haut » (fluidité, surtout mobile) */
.to-top {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(201,154,59,.4);
  background: rgba(20,20,24,.9); color: var(--or); cursor: pointer; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s; backdrop-filter: blur(6px);
}
.to-top.visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--or); color: #1a1400; border-color: transparent; }
.to-top svg { width: 20px; height: 20px; transform: rotate(-90deg); }
@media (min-width: 1201px) { .to-top { right: 54px; } }

/* ------------------------------------------------------------------ */
/* 30. Piste : voiture attrapable                                     */
/* ------------------------------------------------------------------ */
.race-car { pointer-events: auto; cursor: grab; }
.race-car.grabbing { cursor: grabbing; }
.race-car.grabbing .rc-body { animation: none; }
