/* ============================================================
   2L 2D Auto — feuille de style du site public
   Thème sombre, accent rouge, typographie condensée (Oswald)
   ============================================================ */

:root {
  --noir: #0d0d0f;
  --noir-2: #141418;
  --noir-3: #1c1c22;
  --gris-800: #26262e;
  --gris-700: #33333d;
  --gris-500: #6b6b78;
  --gris-300: #b8b8c2;
  --gris-100: #ececf0;
  --blanc: #ffffff;
  --creme: #f6f3ee;
  --rouge: #d7263d;
  --rouge-sombre: #a81c2e;
  --rouge-clair: #ff4d61;
  --bleu: #1f4e8c;
  --vert: #1f9d55;
  --orange: #e08a1e;
  --police-titre: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --police-texte: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max: 1280px;
  --radius: 6px;
  --ombre: 0 10px 30px rgba(0, 0, 0, 0.35);
  --transition: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--police-texte);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gris-100);
  background: var(--noir);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rouge-clair); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--police-titre);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--blanc);
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--rouge); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; }
.champ-piege { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px;
  font-family: var(--police-titre);
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: all var(--transition); line-height: 1.3; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--rouge); color: #fff; border-color: var(--rouge); }
.btn-primary:hover { background: var(--rouge-sombre); border-color: var(--rouge-sombre); color: #fff; box-shadow: 0 6px 18px rgba(215, 38, 61, 0.4); }
.btn-outline { background: transparent; color: var(--blanc); border-color: var(--gris-500); }
.btn-outline:hover { border-color: var(--blanc); color: var(--blanc); }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.3); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); color: #fff; }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }

/* ---------- Annonce ---------- */
.annonce { padding: 10px 0; font-weight: 500; font-size: 0.95rem; }
.annonce-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.annonce-info { background: var(--bleu); color: #fff; }
.annonce-warning { background: var(--orange); color: #1a1200; }
.annonce-danger { background: var(--rouge); color: #fff; }
.annonce-fermer { background: none; border: 0; color: inherit; font-size: 1.4rem; cursor: pointer; line-height: 1; }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 13, 15, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gris-800);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--police-titre); font-size: 1.45rem; letter-spacing: 0.06em; text-transform: uppercase; }
.brand-text small { font-size: 0.72rem; color: var(--gris-300); letter-spacing: 0.04em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 10px; color: var(--gris-300); white-space: nowrap;
  font-family: var(--police-titre); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase;
  border-bottom: 2px solid transparent; transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: #fff; border-bottom-color: var(--rouge); text-decoration: none; }
.nav-tel {
  margin-left: 10px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 14px; background: var(--rouge); color: #fff; border-radius: var(--radius);
  font-family: var(--police-titre); letter-spacing: 0.06em; font-size: 1rem;
}
.brand-text small { white-space: nowrap; }
.nav-tel:hover { background: var(--rouge-sombre); text-decoration: none; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.menu-btn span { display: block; height: 2px; width: 26px; background: #fff; margin: 0 auto; transition: transform var(--transition), opacity var(--transition); }
.menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 78vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.02); }
img.hero-bg { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,13,15,0.95) 0%, rgba(13,13,15,0.78) 45%, rgba(13,13,15,0.35) 100%);
}
.hero-inner { position: relative; padding-top: 90px; padding-bottom: 60px; max-width: var(--max); }
.sur-titre, .hero-sur-titre {
  font-family: var(--police-titre); text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.8rem;
  color: var(--rouge-clair); margin: 0 0 10px;
}
.hero-titre { max-width: 14ch; font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 700; margin-bottom: 18px; }
.hero-texte { max-width: 56ch; font-size: 1.12rem; color: var(--gris-300); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-chiffres {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.15); padding: 24px 20px;
  background: linear-gradient(to top, rgba(13,13,15,0.9), transparent);
}
.hero-chiffres div { display: flex; flex-direction: column; }
.hero-chiffres strong { font-family: var(--police-titre); font-size: 2rem; color: #fff; line-height: 1; }
.hero-chiffres span { font-size: 0.82rem; color: var(--gris-300); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Bandeau marques ---------- */
.bandeau-marques { background: var(--rouge); padding: 10px 0; overflow: hidden; }
.bandeau-marques .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 30px; }
.bandeau-marques a { color: #fff; font-family: var(--police-titre); font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.15em; opacity: 0.9; }
.bandeau-marques a:hover { opacity: 1; text-decoration: none; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-sombre { background: var(--noir-2); border-top: 1px solid var(--gris-800); border-bottom: 1px solid var(--gris-800); }
.section-gris { background: var(--noir-3); }
.section-titre { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-titre h2 { margin: 0; }
.vide { text-align: center; color: var(--gris-300); padding: 40px 20px; background: var(--noir-3); border-radius: var(--radius); }

/* ---------- Grilles & cartes ---------- */
.grille { display: grid; gap: 24px; }
.grille-3 { grid-template-columns: repeat(3, 1fr); }
.grille-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--noir-3); border: 1px solid var(--gris-800); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--ombre); border-color: var(--gris-700); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--gris-800); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-vendu .card-media img { filter: grayscale(0.6) brightness(0.8); }
.card-sans-photo { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--gris-500); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }
.badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: 3px;
  font-family: var(--police-titre); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff;
}
.badge-stock { background: var(--vert); }
.badge-reserve { background: var(--orange); color: #1a1200; }
.badge-vendu { background: var(--rouge); }
.badge-arrivage { background: var(--bleu); }
.badge-affaire { background: #f5c518; color: #1a1200; left: auto; right: 12px; }
.card-nb-photos { position: absolute; bottom: 10px; right: 12px; background: rgba(0,0,0,0.65); color: #fff; font-size: 0.75rem; padding: 3px 8px; border-radius: 3px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-marque { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--rouge-clair); margin: 0; }
.card-titre { font-size: 1.2rem; margin: 0; }
.card-titre a { color: #fff; }
.card-titre a:hover { color: var(--rouge-clair); text-decoration: none; }
.card-specs { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.85rem; color: var(--gris-300); }
.card-specs li::before { content: '•'; color: var(--gris-500); margin-right: 6px; }
.card-specs li:first-child::before { content: none; }
.card-pied { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--gris-800); }
.card-prix { font-family: var(--police-titre); font-size: 1.5rem; color: #fff; }
.card-vendu .card-prix { color: var(--gris-500); }
.card-lien { font-family: var(--police-titre); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; }

/* ---------- Présentation ---------- */
.presentation-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.presentation p { color: var(--gris-300); font-size: 1.05rem; }
.presentation .btn { margin-top: 10px; }
.arguments { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.arguments li { display: flex; gap: 18px; padding: 20px; background: var(--noir-3); border-left: 3px solid var(--rouge); border-radius: 0 var(--radius) var(--radius) 0; }
.argument-num { font-family: var(--police-titre); font-size: 1.8rem; color: var(--rouge); line-height: 1; }
.arguments h3 { font-size: 1.1rem; margin-bottom: 4px; }
.arguments p { margin: 0; color: var(--gris-300); font-size: 0.95rem; }
.arguments-ligne { grid-template-columns: repeat(4, 1fr); }

/* ---------- Appel à l'action ---------- */
.cta { background: var(--rouge); padding: 48px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h2 { margin-bottom: 6px; }
.cta p { margin: 0; color: rgba(255,255,255,0.85); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-primary { background: #fff; color: var(--rouge); border-color: #fff; }
.cta .btn-primary:hover { background: var(--creme); border-color: var(--creme); box-shadow: none; }

/* ---------- En-tête de page ---------- */
.page-entete { padding: 56px 0 36px; border-bottom: 1px solid var(--gris-800); position: relative; overflow: hidden; }
.page-entete h1 { margin-bottom: 8px; }
.page-entete-texte { color: var(--gris-300); max-width: 60ch; margin: 0; font-size: 1.05rem; }
.page-entete-photo { padding: 100px 0 60px; }
.page-entete-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.25; }
img.page-entete-bg { width: 100%; height: 100%; object-fit: cover; }
.page-entete-photo .container { position: relative; }

/* ---------- Filtres & pagination ---------- */
.filtres { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; padding: 18px; background: var(--noir-3); border-radius: var(--radius); margin-bottom: 30px; }
.filtre { display: flex; flex-direction: column; gap: 4px; }
.filtre label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gris-300); }
.filtre select { padding: 10px 12px; min-width: 160px; background: var(--noir); color: #fff; border: 1px solid var(--gris-700); border-radius: var(--radius); font-family: inherit; }
.filtres-reset { font-size: 0.9rem; color: var(--gris-300); margin-left: auto; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 40px; color: var(--gris-300); }

/* ---------- Fiche véhicule ---------- */
.fiche { padding: 30px 0 60px; }
.fil { font-size: 0.85rem; color: var(--gris-500); margin-bottom: 20px; }
.fil a { color: var(--gris-300); }
.fiche-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.galerie-principale { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--gris-800); border-radius: var(--radius); overflow: hidden; }
.galerie-principale img { width: 100%; height: 100%; object-fit: cover; }
.galerie-vignettes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.galerie-vignettes a { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--gris-800); border: 2px solid transparent; transition: border-color var(--transition); }
.galerie-vignettes a:hover { border-color: var(--rouge); }
.galerie-vignettes img { width: 100%; height: 100%; object-fit: cover; }
.galerie-vide { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: var(--gris-800); color: var(--gris-500); text-transform: uppercase; letter-spacing: 0.1em; border-radius: var(--radius); }
.fiche-resume { position: sticky; top: 96px; background: var(--noir-3); border: 1px solid var(--gris-800); border-radius: var(--radius); padding: 26px; }
.fiche-resume h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.fiche-prix { font-family: var(--police-titre); font-size: 2.4rem; color: var(--rouge-clair); margin: 0 0 12px; line-height: 1; }
.fiche-prix-vendu { color: var(--gris-500); text-decoration: line-through; }
.fiche-note { font-size: 0.85rem; color: var(--gris-300); background: var(--noir); padding: 10px 12px; border-left: 3px solid var(--rouge); border-radius: 0 4px 4px 0; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 18px 0; padding: 18px 0; border-top: 1px solid var(--gris-800); border-bottom: 1px solid var(--gris-800); }
.specs div { display: flex; flex-direction: column; }
.specs dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gris-500); }
.specs dd { margin: 0; font-weight: 600; color: #fff; }
.fiche-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.partage { display: flex; gap: 14px; align-items: center; font-size: 0.85rem; color: var(--gris-500); margin-top: 16px; flex-wrap: wrap; }
.fiche-details { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; margin-top: 40px; }
.fiche-description p { color: var(--gris-300); font-size: 1.02rem; }
.fiche-equipements ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fiche-equipements li { padding: 8px 12px; background: var(--noir-3); border-radius: 4px; border-left: 3px solid var(--vert); font-size: 0.95rem; }

/* Visionneuse */
.visionneuse { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.visionneuse::backdrop { background: rgba(0,0,0,0.92); }
.visionneuse[open] { display: flex; align-items: center; justify-content: center; }
.visionneuse-image { max-width: 94vw; max-height: 90vh; object-fit: contain; box-shadow: var(--ombre); }
.visionneuse-fermer, .visionneuse-nav {
  position: fixed; background: rgba(255,255,255,0.1); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.visionneuse-fermer:hover, .visionneuse-nav:hover { background: var(--rouge); }
.visionneuse-fermer { top: 16px; right: 16px; }
.visionneuse-prec { left: 16px; top: 50%; transform: translateY(-50%); }
.visionneuse-suiv { right: 16px; top: 50%; transform: translateY(-50%); }
.visionneuse-compteur { position: fixed; bottom: 16px; left: 0; right: 0; text-align: center; color: var(--gris-300); font-size: 0.85rem; margin: 0; }

/* ---------- Le garage ---------- */
.garage-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: start; }
.garage-texte p { color: var(--gris-300); font-size: 1.05rem; }
.garage-texte h2 { margin-top: 30px; }
.etapes { counter-reset: etape; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.etapes li { counter-increment: etape; display: flex; gap: 16px; padding: 16px; background: var(--noir-3); border-radius: var(--radius); color: var(--gris-300); }
.etapes li::before { content: counter(etape, decimal-leading-zero); font-family: var(--police-titre); font-size: 1.6rem; color: var(--rouge); line-height: 1; }
.etapes strong { color: #fff; }
.garage-infos, .contact-infos { display: grid; gap: 16px; }
.info-box { background: var(--noir-3); border: 1px solid var(--gris-800); border-radius: var(--radius); padding: 22px; }
.info-box h3 { font-size: 1.05rem; color: var(--rouge-clair); margin-bottom: 10px; }
.info-box p { margin-bottom: 10px; color: var(--gris-100); }
.info-box .btn { margin-top: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.contact-vehicule { background: var(--noir-3); border-left: 3px solid var(--rouge); padding: 12px 16px; margin-bottom: 20px; border-radius: 0 4px 4px 0; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.contact-vehicule a { margin-left: auto; font-size: 0.9rem; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gris-300); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; background: var(--noir-3); color: #fff;
  border: 1px solid var(--gris-700); border-radius: var(--radius); font-family: inherit; font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--rouge); box-shadow: 0 0 0 3px rgba(215,38,61,0.2); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.82rem; color: var(--gris-500); margin-top: 14px; }
.carte { height: 260px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gris-800); background: var(--gris-800); }
.carte .leaflet-container { filter: grayscale(0.3) brightness(0.9); }

/* ---------- Flash ---------- */
.flash { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 500; border: 1px solid; }
.flash-success { background: rgba(31,157,85,0.15); color: #6fdc9a; border-color: var(--vert); }
.flash-error { background: rgba(215,38,61,0.15); color: #ff8a97; border-color: var(--rouge); }
.flash-info { background: rgba(31,78,140,0.2); color: #8fb8f0; border-color: var(--bleu); }
.flash-compact { padding: 8px 12px; font-size: 0.85rem; margin-bottom: 10px; }

/* ---------- Pages message / légales ---------- */
.message-page { text-align: center; max-width: 620px; padding: 60px 20px; }
.message-page .hero-actions { justify-content: center; }
.message-icone { font-family: var(--police-titre); font-size: 4rem; line-height: 1; margin-bottom: 10px; color: var(--gris-500); }
.message-ok { color: var(--vert); }
.message-ko { color: var(--rouge); }
.texte-legal { max-width: 820px; color: var(--gris-300); }
.texte-legal h2 { font-size: 1.3rem; margin-top: 32px; }

/* ---------- Pied de page ---------- */
.footer { background: var(--noir-2); border-top: 1px solid var(--gris-800); padding: 56px 0 0; color: var(--gris-300); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr 1.3fr; gap: 40px; }
.footer h3 { font-size: 1rem; color: #fff; margin-bottom: 14px; }
.footer a { color: var(--gris-300); }
.footer a:hover { color: #fff; }
.brand-footer { margin-bottom: 16px; }
.footer-adresse { margin-bottom: 8px; }
.footer-tel { font-family: var(--police-titre); font-size: 1.3rem; color: #fff !important; letter-spacing: 0.04em; }
.reseaux { display: flex; gap: 12px; margin-top: 14px; align-items: center; }
.reseaux a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; background: var(--gris-800); border-radius: 50%; color: #fff; transition: background var(--transition); }
.reseaux a:hover { background: var(--rouge); }
.reseaux .reseau-texte { width: auto; padding: 0 14px; border-radius: 19px; font-weight: 600; font-size: 0.85rem; }
.footer-horaires { list-style: none; margin: 0; padding: 0; }
.footer-horaires li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--gris-800); }
.footer-horaires li span:last-child { color: #fff; text-align: right; }
.footer-note { font-size: 0.8rem; color: var(--gris-500); margin: 10px 0 0; }
.footer-liens { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.newsletter-form input { flex: 1; min-width: 0; padding: 11px 14px; background: var(--noir); color: #fff; border: 1px solid var(--gris-700); border-radius: var(--radius); font-family: inherit; }
.newsletter-form input:focus { outline: none; border-color: var(--rouge); }
.footer-bottom { margin-top: 48px; padding: 18px 0; border-top: 1px solid var(--gris-800); font-size: 0.82rem; color: var(--gris-500); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--gris-500); }

/* ---------- Apparition au défilement ---------- */
/* Les éléments masqués réapparaissent d'eux-mêmes au bout de 2 s si
   l'observateur n'a pas joué (onglet en arrière-plan, impression…). */
.js .reveal { opacity: 0; transform: translateY(18px); animation: reveal 0.6s ease 2s forwards; }
.js .reveal.is-visible { animation: reveal 0.6s ease forwards; }
@keyframes reveal { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grille-4 { grid-template-columns: repeat(3, 1fr); }
  .arguments-ligne { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-link { padding: 8px 9px; font-size: 0.9rem; }
}
@media (max-width: 900px) {
  .menu-btn { display: flex; }
  /* Le backdrop-filter de l'en-tête en fait le bloc de référence des
     descendants fixés : on positionne donc le panneau par rapport à lui. */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 76px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--noir); padding: 16px 20px;
    transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto;
  }
  /* overflow-x: clip ne crée pas de conteneur de défilement (l'en-tête reste
     collant) mais empêche le panneau fermé de déborder à droite. */
  .header { overflow-x: clip; overflow-y: visible; }
  .nav { visibility: hidden; transition: transform 0.3s ease, visibility 0s linear 0.3s; }
  .nav.open { transform: none; visibility: visible; transition: transform 0.3s ease; }
  .nav-link { padding: 14px 8px; font-size: 1.2rem; border-bottom: 1px solid var(--gris-800); }
  .nav-tel { margin: 20px 0 0; justify-content: center; padding: 14px; font-size: 1.2rem; }
  .grille-3, .grille-4 { grid-template-columns: repeat(2, 1fr); }
  .presentation-grid, .fiche-grid, .fiche-details, .garage-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .fiche-resume { position: static; }
  .hero-chiffres { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero { min-height: 0; }
  .galerie-vignettes { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .section { padding: 44px 0; }
  .grille-3, .grille-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .brand-text small { display: none; }
  .hero-inner { padding-top: 60px; }
  .arguments-ligne { grid-template-columns: 1fr; }
  .filtre, .filtre select { width: 100%; }
  .filtres .btn { width: 100%; }
  .specs { grid-template-columns: 1fr 1fr; }
}

/* ---------- Concours ---------- */
.nav-link-concours { color: var(--rouge-clair); }
.bandeau-concours { display: block; background: var(--noir-2); border-bottom: 1px solid var(--gris-800); }
.bandeau-concours img { display: block; width: 100%; max-width: var(--max); margin: 0 auto; height: auto; }
.bandeau-concours:hover img { opacity: 0.92; }
.concours-visuel { background: var(--noir-2); padding: 30px 0; border-bottom: 1px solid var(--gris-800); }
.concours-visuel img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.concours-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: start; }
.concours-texte p { color: var(--gris-300); font-size: 1.05rem; }
.concours-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.concours-date { margin-top: 18px; font-family: var(--police-titre); text-transform: uppercase; letter-spacing: 0.1em; color: var(--rouge-clair); }
.concours-lots { counter-reset: lot; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.concours-lots li { counter-increment: lot; display: flex; gap: 12px; align-items: baseline; color: var(--gris-100); }
.concours-lots li::before { content: counter(lot, decimal-leading-zero); font-family: var(--police-titre); font-size: 1.3rem; color: var(--rouge); line-height: 1; }
.concours-fin { text-align: center; max-width: 60ch; }
.concours-fin p { color: var(--gris-300); font-size: 1.1rem; }
.concours-fin .btn { margin-top: 16px; }
.concours-reglement { max-width: 80ch; margin: 0 auto; }
.concours-reglement summary { cursor: pointer; font-family: var(--police-titre); text-transform: uppercase; letter-spacing: 0.1em; font-size: 1.05rem; color: #fff; padding: 12px 0; }
.concours-reglement p { color: var(--gris-300); margin-top: 14px; }
@media (max-width: 900px) {
  .concours-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Contenu composé dans l'éditeur visuel */
.concours-contenu > * + * { margin-top: 24px; }
.concours-contenu img { max-width: 100%; height: auto; }
.concours-contenu h2, .concours-contenu h3 { margin-top: 0; }
.concours-contenu p { color: var(--gris-300); }
.concours-contenu .info-box p, .concours-contenu .etapes li { color: var(--gris-100); }
.concours-figure { margin: 0; }
.concours-figure figcaption { color: var(--gris-300); font-size: 0.9rem; margin-top: 8px; text-align: center; }
.concours-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: var(--radius); }
.concours-separateur { border: 0; border-top: 1px solid var(--gris-800); margin: 30px 0; }
.concours-contenu .concours-reglement { margin-top: 30px; }

/* ---------- Pages composées dans l'éditeur visuel ---------- */
.page-composee img { max-width: 100%; height: auto; }
.page-composee .bloc-auto { display: none; } /* placeholder non rendu : jamais visible */
.page-composee .texte-legal p { color: var(--gris-300); }
.figure-contenu { margin: 0; }
.figure-contenu figcaption { color: var(--gris-300); font-size: 0.9rem; margin-top: 8px; text-align: center; }
.video-contenu iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: var(--radius); }
.separateur-contenu { border: 0; border-top: 1px solid var(--gris-800); margin: 30px 0; }
.page-composee .section > .container > p { color: var(--gris-300); }


/* ============================================================
   Couche « américaine » : mêmes couleurs (noir, rouge, blanc),
   formes plus franches (angles coupés, filets rouges, étiquettes),
   titres plus massifs, rythme plus affirmé.
   ============================================================ */
:root {
  --filet: linear-gradient(90deg, var(--rouge), var(--rouge-sombre));
  --coupe: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  --coupe-sm: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  --radius: 2px;
}
h1, h2 { font-weight: 700; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }

/* Sur-titres étoilés */
.sur-titre::before, .hero-sur-titre::before { content: '\2605'; margin-right: 8px; font-size: 0.9em; }
.section-titre h2 { position: relative; padding-bottom: 12px; }
.section-titre h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; background: var(--rouge); clip-path: var(--coupe-sm); }

/* Boutons : angles coupés sur les pleins, carrés sur les contours */
.btn { border-radius: 0; font-weight: 600; letter-spacing: 0.1em; }
.btn-primary, .nav-tel { clip-path: var(--coupe); border: 0; padding-left: 26px; padding-right: 26px; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-lg.btn-primary { padding-left: 34px; padding-right: 34px; }
.btn-outline, .btn-ghost { border-width: 2px; }
.btn-outline:hover { background: #fff; color: var(--noir); border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--noir); border-color: #fff; }

/* En-tête : liseré rayé, bouton « Regarder en ligne » */
.header::after { content: ''; display: block; height: 2px; background: var(--filet); }
.nav-link { font-weight: 500; font-size: 1rem; border-bottom-width: 3px; }
.nav-regarder {
  margin-left: 12px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 14px; color: #fff; border: 2px solid rgba(255,255,255,0.7);
  font-family: var(--police-titre); letter-spacing: 0.06em; font-size: 0.95rem; text-transform: uppercase;
  transition: all var(--transition);
}
.nav-regarder svg { color: var(--rouge-clair); transition: color var(--transition); }
.nav-regarder:hover { background: #fff; color: var(--noir); border-color: #fff; text-decoration: none; }
.nav-regarder:hover svg { color: var(--rouge); }
.nav-tel { margin-left: 8px; font-weight: 600; }
.brand-text strong { font-weight: 700; letter-spacing: 0.08em; }

/* Grande bannière : filet rouge en pied, lueur rouge, titre massif */
.hero { min-height: 82vh; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--filet); z-index: 2; }
.hero-overlay {
  background:
    radial-gradient(60% 80% at 15% 60%, rgba(215,38,61,0.28), transparent 70%),
    linear-gradient(100deg, rgba(13,13,15,0.96) 0%, rgba(13,13,15,0.8) 45%, rgba(13,13,15,0.3) 100%);
}
.hero-titre { font-size: clamp(2.8rem, 8vw, 6rem); line-height: 1; max-width: 13ch; text-shadow: 0 8px 30px rgba(0,0,0,0.5); }
.hero-texte { font-size: 1.18rem; }
.hero-chiffres { grid-template-columns: repeat(4, auto); justify-content: start; gap: 40px; border-top: 0; padding: 28px 20px 34px; }
.hero-chiffres div { position: relative; padding-left: 16px; border-left: 3px solid var(--rouge); }
.hero-chiffres strong { font-size: 2.6rem; font-weight: 700; }

/* Étiquette (sticker) */
.etiquette {
  display: inline-block; margin: 0 0 18px; padding: 7px 16px;
  background: var(--rouge); color: #fff; font-family: var(--police-titre); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2;
  outline: 2px dashed rgba(255,255,255,0.75); outline-offset: -6px;
  transform: rotate(-3deg); box-shadow: 0 10px 24px rgba(215,38,61,0.35);
}

/* Bandeau défilant */
.bandeau-defilant { position: relative; overflow: hidden; background: var(--noir-2); border-top: 1px solid var(--gris-800); border-bottom: 1px solid var(--gris-800); padding: 12px 0; }
.bandeau-defilant p {
  margin: 0; white-space: nowrap; display: inline-block; padding-left: 100%;
  font-family: var(--police-titre); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.18em; text-transform: uppercase; color: #fff;
  animation: defiler 38s linear infinite;
}
.bandeau-defilant p:hover { animation-play-state: paused; }
@keyframes defiler { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .bandeau-defilant p { animation: none; padding-left: 20px; white-space: normal; }
}

/* Bandeau des marques : noir, séparé d'étoiles rouges */
.bandeau-marques { background: var(--noir); border-bottom: 1px solid var(--gris-800); padding: 16px 0; }
.bandeau-marques .container { gap: 8px 0; }
.bandeau-marques a { font-size: 1.3rem; font-weight: 600; letter-spacing: 0.18em; opacity: 1; color: #fff; }
.bandeau-marques a:hover { color: var(--rouge-clair); }
.bandeau-marques a + a::before { content: '\2605'; color: var(--rouge); font-size: 0.8rem; margin: 0 26px; vertical-align: middle; }

/* Sections : séparations fines et texture */
.section-sombre { border-top: 0; border-bottom: 0; position: relative; }
.section-sombre::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gris-800); }
.section-gris { background: var(--noir-3) repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,0.025) 22px 23px); }

/* Cartes : angles nets, liseré rouge au survol, tampon VENDU */
.card { border-radius: 0; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--rouge); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; z-index: 2; }
.card { position: relative; }
.card:hover::before { transform: scaleX(1); }
.card:hover { border-color: var(--rouge); box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.badge { border-radius: 0; clip-path: var(--coupe-sm); padding: 5px 14px; font-weight: 600; }
.card-prix { font-weight: 700; font-size: 1.6rem; color: var(--rouge-clair); }
.card-vendu .card-prix { color: var(--gris-500); }
.card-vendu .card-media::after {
  content: 'Vendu'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-14deg);
  padding: 6px 22px; border: 4px solid var(--rouge); color: var(--rouge);
  font-family: var(--police-titre); font-weight: 700; font-size: 2.2rem; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.9; mix-blend-mode: screen;
}
.card-vendu .badge-vendu { display: none; }
.card-lien { font-weight: 600; }
.card-lien:hover { text-decoration: none; color: #fff; }

/* Arguments et étapes : numéros plus massifs */
.arguments li { border-radius: 0; border-left-width: 4px; }
.argument-num { font-size: 2.2rem; font-weight: 700; }
.etapes li { border-radius: 0; border-left: 4px solid var(--rouge); }
.etapes li::before { font-size: 2rem; font-weight: 700; }
.info-box { border-radius: 0; border-top: 3px solid var(--rouge); }
.info-box h3::before { content: '\2605'; margin-right: 8px; font-size: 0.8em; }

/* Appel à l'action rouge */
.cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }

/* En-têtes de page : filigrane USA */
.page-entete::after {
  content: 'USA'; position: absolute; right: -10px; top: -30px; font-family: var(--police-titre); font-weight: 700;
  font-size: clamp(8rem, 22vw, 18rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.06);
  pointer-events: none; user-select: none;
}
.page-entete-photo::after { -webkit-text-stroke-color: rgba(255,255,255,0.1); }
.page-entete { border-bottom: 0; }
.page-entete::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gris-800); z-index: 1; }

/* Formulaires : angles nets */
.form-group input, .form-group select, .form-group textarea, .filtres, .filtre select, .newsletter-form input, .vide, .fiche-resume, .galerie-principale { border-radius: 0; }

/* Pied de page : filet rouge, signature */
.footer { border-top: 0; padding-top: 0; }
.footer-stripes { height: 3px; background: var(--filet); margin-bottom: 56px; }
.footer-signature { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 0 0 10px !important; font-family: var(--police-titre); text-transform: uppercase; letter-spacing: 0.2em; color: #fff; font-size: 0.95rem; }
.footer-fleche { color: var(--rouge); font-size: 1.3rem; }
.footer-bottom { text-align: center; }
.reseaux a { border-radius: 0; clip-path: var(--coupe-sm); }
.reseaux .reseau-texte { border-radius: 0; }

/* Bannière du concours : liseré rayé */

@media (max-width: 900px) {
  .nav-regarder { margin: 16px 0 0; justify-content: center; padding: 14px; font-size: 1.1rem; }
  .hero-chiffres { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .page-entete::after { font-size: 7rem; top: -10px; }
}
@media (max-width: 560px) {
  .hero-titre { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .bandeau-marques a { font-size: 1.05rem; }
  .bandeau-marques a + a::before { margin: 0 12px; }
  .card-vendu .card-media::after { font-size: 1.6rem; }
}

/* En-tête chargé (8 liens + 2 boutons) : le conteneur plafonne à 1280 px,
   l'espace ne grandit donc pas sur grand écran. Téléphone en icône seule. */
@media (min-width: 901px) {
  .nav-link { padding: 8px 8px; font-size: 0.92rem; }
  .nav-regarder { padding: 8px 12px; font-size: 0.9rem; margin-left: 8px; }
  .nav-tel { width: 42px; height: 42px; padding: 0; justify-content: center; clip-path: none; border-radius: 50%; margin-left: 6px; }
  .nav-tel svg { width: 18px; height: 18px; }
  .nav-tel-texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 1540px) and (min-width: 901px) {
  .brand-text small { display: none; }
}
@media (max-width: 1180px) and (min-width: 901px) {
  .brand-text { display: none; }
  .nav-link { padding: 8px 7px; font-size: 0.86rem; letter-spacing: 0.04em; }
  .nav-regarder { font-size: 0.82rem; padding: 7px 10px; }
}
.card-vendu .card-media::after { mix-blend-mode: normal; opacity: 1; background: rgba(13, 13, 15, 0.45); color: #fff; border-color: var(--rouge); }
@media (min-width: 1540px) { .header-inner { max-width: 1400px; } }

/* Menu réglable : quand les entrées ne tiennent plus sur une ligne (menu long
   réglé dans l'administration), main.js pose la classe nav-condense sur <html>
   et l'en-tête passe en menu « burger », comme sur mobile. */
@media (min-width: 901px) {
  .brand { flex-shrink: 0; }
  .brand-text strong { white-space: nowrap; }
  .nav { flex-shrink: 0; }
  .nav-link, .nav-regarder { white-space: nowrap; }
  html.nav-condense .menu-btn { display: flex; }
  html.nav-condense .header { overflow-x: clip; overflow-y: visible; }
  html.nav-condense .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 76px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--noir); padding: 16px 20px;
    transform: translateX(100%); visibility: hidden; overflow-y: auto;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
  }
  html.nav-condense .nav.open { transform: none; visibility: visible; transition: transform 0.3s ease; }
  html.nav-condense .nav-link { padding: 14px 8px; font-size: 1.2rem; border-bottom: 1px solid var(--gris-800); }
  html.nav-condense .nav-regarder { margin: 16px 0 0; justify-content: center; padding: 14px; font-size: 1.1rem; }
  html.nav-condense .nav-tel { margin: 20px 0 0; justify-content: center; padding: 14px; font-size: 1.2rem; width: auto; height: auto; border-radius: 0; clip-path: var(--coupe); }
  html.nav-condense .nav-tel-texte { position: static; width: auto; height: auto; clip: auto; }
  html.nav-condense .brand-text { display: flex; }
}
html.nav-mesure .nav, html.nav-mesure .menu-btn span { transition: none !important; }
