/* Site vitrine — thème clair premium (fond blanc, texte noir, rouge MCM en accent). Couleur d'accent : --accent (rouge MCM). */
:root {
  --accent: #E60000;
  --accent-fonce: #b30000;
  --fond: #ffffff;
  --surface: #f6f6f4;
  --surface-2: #efefec;
  --ligne: #e2e2de;
  --texte: #111112;
  --muet: #5c5c62;
  --noir: #0b0b0c;
  --jaune: #ffd400;
  --rayon: 10px;
  --police-titre: "Arial Black", "Helvetica Neue", Impact, system-ui, sans-serif;
  --police: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ombre: 0 18px 40px rgba(0,0,0,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--police); color: var(--texte); background: var(--fond); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }
h1, h2, h3 { font-family: var(--police-titre); font-weight: 900; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); text-transform: uppercase; }
h3 { font-size: 1.15rem; }
.conteneur { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.surtitre { display: inline-flex; align-items: center; gap: .6rem; color: var(--accent); font-weight: 800; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 .8rem; }
.surtitre::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.intro { font-size: 1.1rem; color: var(--muet); max-width: 62ch; }
.vide { color: var(--muet); }
mark { background: var(--jaune); color: #000; padding: 0 .3em; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1.2rem;
  padding: .7rem clamp(1rem, 3.5vw, 2.5rem); background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ligne); }
.logo img { height: 44px; width: auto; }
.menu { display: flex; gap: 1.3rem; margin-left: auto; }
.menu a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--muet); padding-block: .35rem; border-bottom: 2px solid transparent; white-space: nowrap; transition: color .15s; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--texte); border-color: var(--accent); }
.recherche-entete { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--ligne); border-radius: 999px; padding: 0 .3rem 0 .9rem; }
.recherche-entete input { background: none; border: 0; color: var(--texte); font: inherit; font-size: .9rem; width: 9rem; padding: .45rem 0; outline: none; }
.recherche-entete input::placeholder { color: var(--muet); }
.recherche-entete button { background: none; border: 0; color: var(--muet); cursor: pointer; padding: .4rem; display: flex; }
.recherche-entete:focus-within { border-color: var(--accent); }
@media (max-width: 1100px) {
  .entete { flex-wrap: wrap; gap: .6rem 1rem; }
  .menu { order: 3; width: 100%; margin: 0; gap: 1.1rem; overflow-x: auto; scrollbar-width: none; }
  .recherche-entete { margin-left: auto; }
}
@media (max-width: 620px) {
  .entete .entete-tel { margin-left: auto; }
  .recherche-entete { order: 3; width: 100%; margin-left: 0; }
  .recherche-entete input { width: 100%; }
  .menu { order: 4; }
}

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s; cursor: pointer; font-size: .95rem; }
.btn:hover { transform: translateY(-1px); }
.btn-rouge { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(230,0,0,.3); }
.btn-rouge:hover { background: var(--accent-fonce); }
.btn-clair { background: #fff; color: #000; }
.btn-contour { border-color: var(--ligne); color: var(--texte); background: transparent; }
.btn-contour:hover { border-color: var(--texte); }
.entete .btn { padding: .5rem 1.1rem; font-size: .88rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--fond); }
.hero-txt { padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 3rem; }
.hero-txt p { font-size: 1.15rem; color: var(--muet); max-width: 50ch; }
.hero-txt h1 span { color: var(--accent); }
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; }
  .diaporama { grid-column: 2; grid-row: 1; }
  .hero-txt { grid-column: 1; grid-row: 1; width: auto; margin: 0; padding: 3rem clamp(1.5rem, 4vw, 4rem); position: relative; z-index: 3; }
  .hero-txt h1 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
}

/* Diaporama de l'en-tête : fondu enchaîné lent + léger zoom continu (effet « Ken Burns ») */
.diaporama { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #000; }
.diapo { position: absolute; inset: 0; display: block; z-index: 0; opacity: 0; visibility: hidden;
  transition: opacity 1.8s cubic-bezier(.4, 0, .2, 1), visibility 0s 1.8s; }
.diapo.active { z-index: 2; opacity: 1; visibility: visible; transition: opacity 1.8s cubic-bezier(.4, 0, .2, 1); }
.diapo.sortante { z-index: 1; opacity: 1; visibility: visible; transition: none; }
.diapo picture { display: block; width: 100%; height: 100%; }
.diapo .hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 1.8s ease-out; }
.diapo.active .hero-img { transform: scale(1.05); transition: transform 8s linear; }
.diapo.sortante .hero-img { transform: scale(1.05); }
.diaporama::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0) 35%); }
@media (min-width: 900px) { .diaporama::after { background: linear-gradient(90deg, var(--fond) 0%, rgba(255,255,255,0) 18%), linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 35%); } }
.diapo-legende { position: absolute; right: clamp(1rem, 3vw, 2rem); bottom: 2.6rem; z-index: 5; display: flex; flex-direction: column; align-items: flex-end; text-align: right; text-shadow: 0 2px 12px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(8px); transition: opacity .9s 1s ease-out, transform .9s 1s ease-out; }
.diapo.active .diapo-legende { opacity: 1; transform: none; }
.diapo-legende strong { font-family: var(--police-titre); font-size: clamp(1rem, 2vw, 1.4rem); text-transform: uppercase; letter-spacing: .06em; }
.diapo-legende span { color: #fff; font-weight: 600; font-size: .9rem; letter-spacing: .04em; margin-top: .35rem; padding-top: .35rem; border-top: 2px solid var(--accent); }
@media (max-width: 620px) {
  .diapo-legende { bottom: 2rem; }
  .diapo-legende strong { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .diapo, .diapo.active { transition: none; }
  .diapo .hero-img { transition: none; transform: none; }
}
.chiffres { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; }
.chiffres div strong { display: block; font-family: var(--police-titre); font-size: 1.6rem; color: var(--texte); }
.chiffres div span { color: var(--muet); font-size: .85rem; }

/* Gammes (accueil) */
.gammes { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.gamme { position: relative; display: block; min-height: 260px; border-radius: var(--rayon); overflow: hidden; text-decoration: none; background: var(--surface); border: 1px solid var(--ligne); }
.gamme picture, .gamme img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gamme::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9), rgba(0,0,0,.1) 60%); }
.gamme:hover img { transform: scale(1.04); }
.gamme-txt { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.2rem; z-index: 1; }
.gamme-txt h3 { font-size: 1.6rem; text-transform: uppercase; margin: 0; }
.gamme-txt p { margin: .2rem 0 0; color: var(--muet); }
.gamme-bientot { display: flex; align-items: flex-end; background: linear-gradient(135deg, #fbe5e5, var(--surface)); }
.gamme-bientot::after { display: none; }
.gamme-bientot .gamme-txt h3 { color: var(--texte); }
.gamme-bientot .gamme-txt p { color: var(--muet); }

/* Filtres catalogue */
.filtres { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 1.5rem 0 .5rem; }
.puce { background: var(--surface); border: 1px solid var(--ligne); color: var(--muet); border-radius: 999px; padding: .45rem 1rem; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.puce[aria-pressed="true"], .puce:hover { color: var(--texte); border-color: var(--accent); }
.puce[aria-pressed="true"] { background: rgba(230,0,0,.08); }
.tri { margin-left: auto; background: var(--surface); color: var(--texte); border: 1px solid var(--ligne); border-radius: 999px; padding: .45rem .9rem; font: inherit; font-size: .88rem; }
.compteur { color: var(--muet); font-size: .9rem; margin: .4rem 0 0; }

/* Cartes véhicules */
.titre-ligne { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.titre-ligne a { font-weight: 700; color: var(--accent); text-decoration: none; }
.grille-cartes { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 1.5rem; }
.carte { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s; }
.carte:hover { transform: translateY(-4px); border-color: rgba(230,0,0,.6); box-shadow: var(--ombre); }
.carte[hidden] { display: none; }
/* Vignette pleine : la photo est recadrée pour remplir le cadre 4:3, sans couper le véhicule (photos.cadrage). */
.carte-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.carte-img picture { display: block; width: 100%; height: 100%; }
.carte-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.carte:hover .carte-img img { transform: scale(1.03); }
.badge { position: absolute; top: .8rem; left: .8rem; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; padding: .3rem .65rem; border-radius: 999px; }
.badge-reserve { background: var(--noir); }
.badge-promo { left: auto; right: .8rem; background: var(--jaune); color: #000; }
.carte-txt { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.carte-txt h3 { margin: .1rem 0 .35rem; font-size: 1.2rem; }
.carte-cat { color: var(--muet); font-size: .8rem; margin: 0; text-transform: uppercase; letter-spacing: .08em; }
.prix { font-family: var(--police-titre); font-weight: 900; color: var(--texte); font-size: 1.4rem; margin: 0; }
.prix-avant { color: var(--muet); font-size: .7em; font-weight: 700; margin-right: .3em; }
.carte-promo { font-size: .85rem; font-weight: 700; color: var(--jaune); margin: .3rem 0 0; }
.carte-paiement { font-size: .82rem; color: var(--muet); margin: auto 0 0; padding-top: .6rem; }
.promo-encart { background: var(--jaune); color: #000; font-weight: 700; padding: .7rem 1rem; border-radius: var(--rayon); }

/* Bandes / atouts / services */
.bande { background: var(--surface); border-block: 1px solid var(--ligne); }
.grille-atouts { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 2rem; }
.atout { background: var(--surface-2); border: 1px solid var(--ligne); padding: 1.5rem; border-radius: var(--rayon); position: relative; }
.atout::before { content: ""; position: absolute; left: 1.5rem; top: 0; width: 36px; height: 3px; background: var(--accent); }
.atout h3 { margin-top: .4rem; }
.atout p { margin: 0; color: var(--muet); }
.atout .num { font-family: var(--police-titre); color: var(--accent); font-size: .85rem; }

/* Avis */
.avis-defile { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); margin-top: 2rem; }
.avis-piste { display: flex; gap: 1.2rem; width: max-content; animation: defile 60s linear infinite; }
.avis-defile:hover .avis-piste { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .avis-piste { animation: none; flex-wrap: wrap; width: auto; } }
.avis { width: 320px; background: var(--surface-2); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.3rem; }
.avis .etoiles { color: var(--jaune); letter-spacing: .1em; }
.avis p { color: var(--texte); margin: .5rem 0; }
.avis small { color: var(--muet); }
.note-globale { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.note-globale strong { font-family: var(--police-titre); font-size: 2.4rem; }

/* Magasin / horaires / contact */
.adresse { font-size: 1.2rem; font-weight: 700; }
.horaires { list-style: none; padding: 0; margin: 0; }
.horaires li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--ligne); }
.horaires li span:first-child { color: var(--muet); }
.deux-col { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .deux-col { grid-template-columns: 1fr 1fr; } }
.carte-contact { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.6rem; }
.carte-contact h3 { margin-bottom: .8rem; }
.lien-gros { font-family: var(--police-titre); font-size: 1.6rem; text-decoration: none; }

/* Fiche véhicule */
.fil { color: var(--muet); font-size: .9rem; }
.fil a { color: var(--accent); text-decoration: none; }
.fiche { padding-block: 1.5rem 4rem; }
.fiche-grille { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .fiche-grille { grid-template-columns: 3fr 2fr; } }
.galerie picture { display: block; }
.galerie-principale { display: block; width: auto; max-width: 100%; height: auto; max-height: 80vh; margin: 0 auto; border-radius: var(--rayon); }
.vignettes { display: flex; gap: .6rem; margin-top: .8rem; overflow-x: auto; }
.vignette { flex: 0 0 auto; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; opacity: .65; transition: opacity .15s; }
.vignette[aria-current="true"], .vignette:hover { border-color: var(--accent); opacity: 1; }
.vignette img { height: 64px; width: auto; max-width: none; }
.fiche-infos h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-top: .3rem; }
.prix-grand { font-size: 2.4rem; color: var(--accent); }
.paiement { display: inline-block; background: var(--surface-2); border: 1px solid var(--ligne); padding: .35rem .8rem; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.accroche { font-size: 1.1rem; font-weight: 600; }
.arguments { padding-left: 0; list-style: none; }
.arguments li { padding: .35rem 0 .35rem 1.7rem; position: relative; color: var(--texte); }
.arguments li::before { content: ""; position: absolute; left: 0; top: .85em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.fiche-bas { display: grid; gap: 2.5rem; margin-top: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .fiche-bas { grid-template-columns: 1fr 1fr; } }
.fiche-bas p { color: #333; }
.tech { width: 100%; border-collapse: collapse; }
.tech th, .tech td { text-align: left; padding: .7rem .4rem; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.tech th { width: 45%; color: var(--muet); font-weight: 600; }

/* Coloris et prix (fiche véhicule) */
.coloris-prix { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1rem 1.2rem; margin: 1rem 0; }
.coloris-prix h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muet); margin: 0 0 .5rem; }
.coloris-prix ul { list-style: none; padding: 0; margin: 0; }
.coloris-prix li { display: flex; align-items: center; gap: .7rem; padding: .45rem 0; border-bottom: 1px solid var(--ligne); }
.coloris-prix li:last-child { border-bottom: 0; }
.coloris-prix strong { margin-left: auto; }
.pastille { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(0,0,0,.15); flex: none; }

/* Tarifs (carte grise) */
.tarifs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 1.5rem 0; }
.tarif { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.2rem 1.4rem; }
.tarif strong { display: block; font-family: var(--police-titre); font-size: 2rem; color: var(--accent); }
.tarif span { color: var(--muet); }

.liste-prix { list-style: none; padding: 0; margin: .6rem 0 0; }
.liste-prix li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--ligne); }
.liste-prix li:last-child { border-bottom: 0; }
.liste-prix small { display: block; color: var(--muet); font-size: .8rem; }
.tarif .liste-prix strong { display: inline; font-family: var(--police); font-size: 1.05rem; font-weight: 800; color: var(--accent); white-space: nowrap; }
.encart-equipement { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; margin-top: 2.5rem; padding: 1rem 1.3rem;
  background: linear-gradient(90deg, rgba(230,0,0,.08), var(--surface)); border: 1px solid var(--ligne); border-radius: var(--rayon); }
.encart-equipement span { color: var(--muet); }
.encart-equipement a { margin-left: auto; color: var(--accent); font-weight: 700; text-decoration: none; }

/* Contact et formulaire */
.liste-contact { list-style: none; padding: 0; margin: 0; }
.liste-contact li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .6rem 0; border-bottom: 1px solid var(--ligne); }
.liste-contact span { color: var(--muet); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.liste-contact .lien-gros { font-size: 1.3rem; }
.liste-contact a { text-decoration: none; }
.formulaire { margin-top: 1.5rem; }
.champs { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .champs { grid-template-columns: 1fr 1fr; } .champs .large { grid-column: 1 / -1; } }
.formulaire label { display: flex; flex-direction: column; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--muet); }
.formulaire input, .formulaire select, .formulaire textarea { font: inherit; font-size: 1rem; color: var(--texte); background: var(--fond); border: 1px solid var(--ligne);
  border-radius: 8px; padding: .75rem .9rem; outline: none; transition: border-color .15s; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { border-color: var(--accent); }
.formulaire textarea { resize: vertical; }
.formulaire .consentement { flex-direction: row; align-items: flex-start; gap: .6rem; margin-top: 1.2rem; font-weight: 400; color: #333; }
.formulaire .consentement input { margin-top: .25rem; accent-color: var(--accent); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Résultats de recherche (pages et services) */
[data-recherche] .recherche-entete { margin-left: 0; width: 100%; }
.groupe-resultats { margin-top: 2rem; }
.groupe-resultats[hidden] { display: none; }
.groupe-resultats h2 { font-size: 1.1rem; color: var(--muet); letter-spacing: .08em; }
.resultats { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.resultat { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--ligne); border-left: 3px solid var(--accent); border-radius: var(--rayon); padding: 1rem 1.2rem; transition: border-color .15s; }
.resultat:hover { border-color: var(--accent); }
.resultat[hidden] { display: none; }
.resultat strong { display: block; }
.resultat span { color: var(--muet); font-size: .9rem; }

/* Carte grise : opérations dépliables */
.avertissement { display: inline-block; background: rgba(230,0,0,.07); border: 1px solid var(--accent); color: var(--texte); font-weight: 700; padding: .6rem 1rem; border-radius: var(--rayon); }
a.puce { text-decoration: none; }
.operation { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); margin-top: 1rem; scroll-margin-top: 140px; }
.operation[open] { border-color: rgba(230,0,0,.6); }
.operation summary { cursor: pointer; list-style: none; padding: 1.2rem 1.4rem; font-family: var(--police-titre); font-size: 1.15rem; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.operation summary::-webkit-details-marker { display: none; }
.operation summary::after { content: "+"; color: var(--accent); font-size: 1.6rem; line-height: 1; }
.operation[open] summary::after { content: "–"; }
.operation-corps { padding: 0 1.4rem 1.4rem; }
.operation-corps h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muet); margin-top: 1rem; }
.quand { color: #333; }
.pieces { list-style: none; padding: 0; margin: 0; }
.pieces li { padding: .55rem 0 .55rem 2rem; position: relative; border-bottom: 1px solid var(--ligne); color: var(--texte); }
.pieces li::before { content: ""; position: absolute; left: 0; top: .8rem; width: 16px; height: 16px; border: 2px solid var(--accent); border-radius: 4px; }

/* Texte (mentions légales) */
.texte { max-width: 780px; }
.texte h2 { font-size: 1.2rem; margin-top: 2rem; }
.texte p { color: #333; }

/* Pied de page */
.pied { background: var(--noir); color: #b5b5ba; padding: 3.5rem clamp(1rem, 4vw, 2.5rem) 1.5rem; border-top: 1px solid var(--ligne); }
.pied-grille { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: 1200px; margin: 0 auto; }
.pied h3 { color: var(--texte); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.pied a { color: var(--texte); }
.pied-bas { max-width: 1200px; margin: 2rem auto 0; padding-top: 1rem; border-top: 1px solid var(--ligne); font-size: .85rem; }

/* Thème clair : textes posés sur photo (gammes) et pied de page sombre */
.gamme-txt h3 { color: #fff; }
.gamme-txt p { color: rgba(255,255,255,.8); }
.carte { box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.pied h3, .pied a { color: #fff; }
.pied .horaires li { border-color: #2a2a2e; }
.pied .horaires li span:first-child { color: #b5b5ba; }
.pied-bas { border-color: #2a2a2e; }
.formulaire input, .formulaire select, .formulaire textarea { background: #fff; }
.recherche-entete { background: var(--surface); }

/* ===== Variante : page blanche, en-tête et encadrés noirs (choix de l'utilisateur, 2026-11-20) =====
   On redéfinit la palette à l'intérieur des zones noires : tout ce qu'elles contiennent passe en clair sur noir. */
.entete, .carte, .atout, .tarif, .carte-contact, .operation, .coloris-prix, .resultat, .encart-equipement, .gamme-bientot, .avis, .chiffres-boite {
  --texte: #f3f3f1; --muet: #a8a8ae; --ligne: #2a2a2e; --surface: #18181b; --surface-2: #1f1f23;
  color: var(--texte);
}
.carte, .atout, .tarif, .carte-contact, .operation, .coloris-prix, .resultat, .gamme-bientot, .avis { background: var(--noir); border-color: #1f1f23; }
.encart-equipement { background: linear-gradient(90deg, #2a0606, var(--noir)); border-color: #1f1f23; }
.carte:hover { border-color: var(--accent); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.atout { background: var(--noir); }
.operation[open] { border-color: var(--accent); }
.quand { color: #d4d4d4; }
.coloris-prix .pastille { border-color: rgba(255,255,255,.55); }
.gamme-bientot { background: linear-gradient(135deg, #2a0606, var(--noir)); }
.gamme-bientot .gamme-txt h3 { color: #fff; }
.gamme-bientot .gamme-txt p { color: #a8a8ae; }
/* En-tête noir */
.entete { background: rgba(11,11,12,.94); border-bottom-color: #1f1f23; }
.entete .menu a { color: #a8a8ae; }
.entete .menu a:hover, .entete .menu a[aria-current="page"] { color: #fff; }
.entete .recherche-entete { background: #18181b; border-color: #2a2a2e; }
.entete .recherche-entete input { color: #fff; }

/* Lisibilité du rouge sur noir : le rouge MCM (#E60000) est trop sombre pour du texte sur fond noir
   (contraste 4,1:1). Dans les zones noires, les TEXTES rouges passent en rouge clair (#FF5A5A, contraste 6,4:1).
   Les fonds rouges (boutons, badges, filets) gardent le rouge MCM d'origine. */
:root { --rouge-sur-noir: #ff5a5a; }
.entete, .carte, .atout, .tarif, .carte-contact, .operation, .coloris-prix, .resultat, .encart-equipement, .gamme-bientot, .avis, .pied, .diaporama { --rouge-texte: var(--rouge-sur-noir); }
.atout .num, .tarif strong, .tarif .liste-prix strong, .encart-equipement a, .operation summary::after,
.carte .prix, .carte-promo, .avis .etoiles, .pied a:hover { color: var(--rouge-sur-noir); }
.carte .prix-avant { color: #a8a8ae; }
.carte-contact .btn-contour, .atout .btn-contour { border-color: #3a3a40; color: #fff; }
.carte-contact .btn-contour:hover, .atout .btn-contour:hover { border-color: #fff; }

/* Légende du diaporama : toujours blanche sur la photo, quel que soit le thème */
.diapo, .diapo-legende, .diapo-legende strong { color: #fff; }
.diapo-legende strong { text-shadow: 0 2px 14px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.6); }
.diapo-legende span { color: #fff; border-top-color: var(--accent); }

/* Légende du diaporama : en bas à droite, titre blanc, trait rouge, prix blanc (épuré, sans fond) */
.diapo-legende { bottom: 2.6rem; }
.diapo-legende span { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.9); }
@media (max-width: 620px) { .diapo-legende { bottom: 2.2rem; } }

/* Petites bulles centrées en bas : passer d'une photo à l'autre */
.points { position: absolute; left: 50%; bottom: .75rem; transform: translateX(-50%); z-index: 5; display: flex; gap: .2rem; }
.point { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.point::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5);
  box-shadow: 0 1px 4px rgba(0,0,0,.5); transition: background .4s, transform .4s; }
.point:hover::before { background: rgba(255,255,255,.85); }
.point.active::before { background: #fff; transform: scale(1.35); }
.point:focus-visible { outline: 2px solid #fff; outline-offset: -2px; border-radius: 50%; }

/* Cartes véhicules : même style épuré que la légende du diaporama
   (nom en capitales espacées blanc, fin trait rouge, prix en blanc, mentions discrètes) */
.carte-txt { padding: 1.2rem 1.35rem 1.25rem; gap: 0; }
.carte-cat { order: 1; font-size: .7rem; letter-spacing: .14em; color: #8d8d93; margin: 0 0 .45rem; }
.carte-txt h3 { order: 2; font-family: var(--police-titre); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin: 0; line-height: 1.2; }
.carte-txt h3::after { content: ""; display: block; width: 44px; height: 2px; background: var(--accent); margin: .7rem 0 .6rem; transition: width .3s; }
.carte:hover .carte-txt h3::after { width: 72px; }
.carte .prix { order: 3; font-family: var(--police); font-size: 1rem; font-weight: 600; letter-spacing: .04em; color: #fff; }
.carte .prix-avant { color: #8d8d93; font-size: .9em; font-weight: 500; }
.carte-promo { order: 4; font-size: .78rem; font-weight: 600; color: var(--jaune); margin: .45rem 0 0; }
.carte-paiement { order: 5; font-size: .75rem; letter-spacing: .03em; color: #8d8d93; padding-top: .55rem; }

/* Cartes véhicules version claire : plus de bloc noir. Fond blanc, fine bordure, texte foncé,
   même mise en page que la légende du diaporama (nom en capitales, trait rouge, prix). */
.carte { --texte: #111112; --muet: #6b6b72; background: #fff; border: 1px solid #ececea; color: var(--texte);
  box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.carte:hover { border-color: #dcdcd8; box-shadow: 0 14px 34px rgba(0,0,0,.08); }
.carte-txt { padding: 1rem 1.2rem 1.15rem; }
.carte-cat { color: #8d8d93; }
.carte-txt h3 { color: #111112; }
.carte .prix { color: #111112; }
.carte .prix-avant { color: #9a9aa0; }
.carte-promo { color: #b45309; }
.carte-paiement { color: #8d8d93; }

/* ===== Encadrés en version claire et stylisée (fin 2026-11-20) =====
   Plus de blocs noirs : fond blanc, fine bordure, filet rouge MCM à gauche, titres en capitales espacées,
   rouge MCM d'origine (bien lisible sur blanc). L'en-tête et le pied de page restent noirs. */
.atout, .tarif, .carte-contact, .operation, .coloris-prix, .resultat, .encart-equipement, .gamme-bientot, .avis {
  --texte: #111112; --muet: #5f5f66; --ligne: #ececea; --surface: #f7f7f5; --surface-2: #f2f2ef;
  background: #fff; color: var(--texte); border: 1px solid #ececea; box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.atout { padding: 1.6rem 1.5rem 1.5rem; border-radius: 12px; transition: box-shadow .25s, transform .25s; }
.atout:hover { box-shadow: 0 14px 34px rgba(0,0,0,.08); transform: translateY(-2px); }
.atout::before { left: 0; top: 1.6rem; width: 3px; height: 2.2rem; background: var(--accent); border-radius: 0 2px 2px 0; }
.atout .num { display: block; font-family: var(--police-titre); font-size: 2.4rem; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.2px #d0d0cc; margin-bottom: .9rem; }
.atout h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; line-height: 1.3; margin: 0 0 .6rem; color: #111112; }
.atout p { color: #5f5f66; font-size: .95rem; line-height: 1.6; }
.atout .btn-contour { border-color: #dcdcd8; color: #111112; background: #fff; }
.atout .btn-contour:hover { border-color: #111112; }
.bande { background: #f7f7f5; border-color: #ececea; }

/* tarifs, équipements, coloris, contact */
.tarif { border-radius: 12px; }
.tarif strong, .tarif .liste-prix strong { color: var(--accent); }
.tarif h3 { text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; }
.liste-prix li { border-color: #ececea; }
.carte-contact { border-radius: 12px; }
.carte-contact .btn-contour { border-color: #dcdcd8; color: #111112; background: #fff; }
.horaires li { border-color: #ececea; }
.coloris-prix .pastille { border-color: rgba(0,0,0,.15); }
.coloris-prix li { border-color: #ececea; }

/* carte grise */
.operation { border-radius: 12px; }
.operation[open] { border-color: #dcdcd8; box-shadow: inset 3px 0 0 var(--accent); }
.operation summary::after { color: var(--accent); }
.quand { color: #3a3a40; }
.pieces li { border-color: #ececea; color: #111112; }

/* recherche, encart équipement, gamme 125cc, avis */
.resultat { border-left: 3px solid var(--accent); }
.encart-equipement { background: #fff; border-left: 3px solid var(--accent); }
.encart-equipement a { color: var(--accent); }
.gamme-bientot { background: #f7f7f5; }
.gamme-bientot .gamme-txt h3 { color: #111112; }
.gamme-bientot .gamme-txt p { color: #5f5f66; }
.avis .etoiles { color: #e0a800; }

/* Menu : groupe « Scooters » avec liste déroulante (50cc / 125cc) */
.menu { align-items: center; }
.menu-groupe { position: relative; }
.menu-titre { display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; border-bottom: 2px solid transparent; padding: .35rem 0;
  font: inherit; font-weight: 600; font-size: .92rem; color: #a8a8ae; cursor: pointer; white-space: nowrap; }
.menu-titre svg { transition: transform .2s; }
.menu-groupe:hover .menu-titre, .menu-groupe.actif .menu-titre, .menu-groupe.ouvert .menu-titre { color: #fff; }
.menu-groupe.actif .menu-titre { border-bottom-color: var(--accent); }
.menu-groupe:hover .menu-titre svg, .menu-groupe.ouvert .menu-titre svg { transform: rotate(180deg); }
.sous-menu { position: absolute; top: calc(100% + .6rem); left: -1rem; min-width: 200px; padding: .45rem; z-index: 30;
  background: #111113; border: 1px solid #26262a; border-radius: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.sous-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.8rem; height: .8rem; } /* pont pour garder le survol */
.menu-groupe:hover .sous-menu, .menu-groupe:focus-within .sous-menu, .menu-groupe.ouvert .sous-menu {
  opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.entete .menu .sous-lien { display: block; padding: .6rem .8rem; border-radius: 6px; border-bottom: 0; color: #d4d4d8; }
.entete .menu .sous-lien:hover, .entete .menu .sous-lien[aria-current="page"] { background: #1f1f23; color: #fff; }
.entete .menu .sous-lien[aria-current="page"] { box-shadow: inset 2px 0 0 var(--accent); }
/* Téléphone / tablette : le menu est une ligne qui défile, on affiche directement 50cc et 125cc */
@media (max-width: 1100px) {
  .menu-groupe { display: contents; }
  .menu-titre { display: none; }
  .sous-menu { display: contents; }
  .sous-menu::before { display: none; }
  .entete .menu .sous-lien { display: inline; padding: .35rem 0; border-radius: 0; color: #a8a8ae; background: none; box-shadow: none; border-bottom: 2px solid transparent; }
  .entete .menu .sous-lien[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); background: none; box-shadow: none; }
}
@media (max-width: 1100px) { .sous-menu { opacity: 1; visibility: visible; transform: none; } }

/* Galerie des fiches : flèches gauche / droite sur la grande photo */
.galerie-cadre { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; }
.galerie-fleche { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer; color: #111112; background: rgba(255,255,255,.85);
  box-shadow: 0 4px 14px rgba(0,0,0,.18); backdrop-filter: blur(4px); opacity: .85; transition: opacity .2s, background .2s, transform .2s; }
.galerie-fleche.precedente { left: .7rem; }
.galerie-fleche.suivante { right: .7rem; }
.galerie-cadre:hover .galerie-fleche { opacity: 1; }
.galerie-fleche:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.galerie-fleche:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.galerie-compteur { position: absolute; right: .8rem; bottom: .8rem; z-index: 2; font-size: .78rem; font-weight: 600; letter-spacing: .05em;
  color: #fff; background: rgba(11,11,12,.6); padding: .2rem .55rem; border-radius: 999px; }
@media (max-width: 620px) { .galerie-fleche { width: 36px; height: 36px; } }
