/* Cars Auction Pro — feuille de style
   Palette reprise du logo : rouge de course, noir profond, et un fond très
   clair. Conçue mobile d'abord : tout ce qui suit tient sur un écran de 320 px
   de large, et les media queries n'ajoutent que de la place quand il y en a. */

:root {
  /* Palette taken from the supplied logo: red and white on near-black. */
  --marine: #1f1b1c;          /* exactly the logo backdrop, so the badge blends in */
  --marine-2: #0d0b0c;
  --marine-clair: #4a4547;
  --or: #e61c28;              /* the red of the car in the logo */
  --or-fonce: #c4121d;
  --argent: #d2d9e0;          /* light-on-dark text: red on black is too weak to read */
  --encre: #1b2430;
  --gris: #6b7481;
  --trait: #e3e7ec;
  --fond: #f5f7fa;
  --carte: #ffffff;
  --vert: #0f7a45;
  --vert-fond: #e7f6ee;
  --rouge: #b02a2a;
  --rouge-fond: #fdeceb;
  --ambre-fond: #fff7e6;
  --rayon: 14px;
  --ombre: 0 1px 2px rgba(20, 18, 19, .06), 0 8px 24px rgba(20, 18, 19, .08);
  --ombre-forte: 0 18px 40px rgba(20, 18, 19, .18);
  --police: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--police);
  color: var(--encre);
  background: var(--fond);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.conteneur { max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.section { padding: clamp(36px, 6vw, 64px) 0; }
.muted { color: var(--gris); }
.centre { text-align: center; }

.saut-contenu {
  position: absolute; left: -9999px; background: var(--marine); color: #fff;
  padding: .7rem 1.1rem; border-radius: 0 0 8px 0; z-index: 200;
}
.saut-contenu:focus { left: 0; top: 0; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.4rem; border-radius: 999px; font: inherit; font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer; transition: .16s ease;
  min-height: 46px; text-align: center;
}
.btn-or { background: var(--or); color: #fff; }
.btn-or:hover { background: var(--or-fonce); }
.btn-marine { background: var(--marine); color: #fff; }
.btn-marine:hover { background: var(--marine-2); }
.btn-contour { border-color: var(--trait); background: #fff; color: var(--encre); }
.btn-contour:hover { border-color: var(--marine); }
.btn-bloc { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- en-tête ---------- */
.entete { position: sticky; top: 0; z-index: 60; background: var(--marine); color: #fff;
  box-shadow: 0 2px 14px rgba(13, 37, 64, .3); }
.entete-inner { display: flex; align-items: center; gap: 16px; min-height: 74px; }
/* The artwork is square with its own dark backing, so it is shown as a badge
   and the name is set beside it: shrunk to header height the wordmark inside
   the image is unreadable. */
.logo { display: flex; align-items: center; gap: .7rem; }
.logo img { height: 50px; width: 50px; object-fit: cover; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .14); flex: none; }
.logo-nom { display: flex; flex-direction: column; line-height: 1.05; }
.logo-nom b { font-size: 1.02rem; font-weight: 800; letter-spacing: .06em; color: #fff;
  text-transform: uppercase; white-space: nowrap; }
.logo-nom span { font-size: .66rem; letter-spacing: .16em; color: var(--argent);
  text-transform: uppercase; }
.logo-texte { font-size: 1.3rem; font-weight: 800; letter-spacing: .08em; color: #fff; }
.nav-contact { display: none; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.nav a { padding: .5rem .68rem; border-radius: 8px; font-size: .875rem; font-weight: 500;
  color: rgba(255, 255, 255, .84); }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav a.actif { color: #fff; }
.nav a.actif::after { content: ""; display: block; height: 2px; background: var(--or);
  border-radius: 2px; margin-top: 3px; }

.nav-bascule { display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; flex-direction: column; justify-content: space-between; }
.nav-bascule span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
.nav-bascule[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-bascule[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-bascule[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.entete-contact { display: flex; align-items: center; gap: 12px; }
.entete-contact .tel, .entete-contact .wa { display: inline-flex; align-items: center; gap: .4rem;
  font-size: .86rem; font-weight: 600; color: #fff; white-space: nowrap; }
.entete-contact .wa { background: #25d366; color: #06331a; border-radius: 999px; padding: .42rem .85rem; }
.entete-contact .wa:hover { background: #1fb857; }
@media (max-width: 1120px) { .entete-contact .tel span { display: none; } }

/* ---------- messages ---------- */
.msg { padding: .85rem 1.1rem; border-radius: 10px; margin: 16px 0; font-weight: 500; }
.msg-succes { background: var(--vert-fond); border: 1px solid #a8dcc0; color: #0c5a33; }
.msg-erreur { background: var(--rouge-fond); border: 1px solid #f3b8b5; color: #8f2020; }

.erreurs { background: var(--rouge-fond); border: 1px solid #f3b8b5; color: #8f2020;
  border-radius: 10px; padding: .9rem 1.1rem; margin-bottom: 1.2rem; }
.erreurs ul { margin: .4rem 0 0; padding-left: 1.1rem; }

/* ---------- héros ---------- */
.heros { position: relative; color: #fff; text-align: center; padding: clamp(56px, 10vw, 120px) 0;
  background: linear-gradient(180deg, rgba(13, 37, 64, .88), rgba(13, 37, 64, .74)),
              url("/uploads/seed/ford-mustang-01.jpg") center / cover no-repeat, var(--marine); }
.heros h1 { margin-bottom: .4rem; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.heros .accroche { font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255, 255, 255, .92);
  margin-bottom: 1.6rem; }
.heros-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- tuiles ---------- */
.tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: -40px;
  position: relative; z-index: 5; }
.tuile { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 22px; box-shadow: var(--ombre); }
.tuile .ico { font-size: 1.6rem; margin-bottom: .3rem; }
.tuile h3 { margin-bottom: .25rem; }
.tuile p { color: var(--gris); font-size: .92rem; margin: 0; }

/* ---------- grille d'annonces ---------- */
.grille-annonces { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 20px; }
.grille-annonces > * { min-width: 0; }

.annonce { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon);
  overflow: hidden; box-shadow: var(--ombre); display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s; }
.annonce:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); }
.annonce-media { position: relative; aspect-ratio: 4 / 3; background: #dfe3e8; }
.annonce-media img { width: 100%; height: 100%; object-fit: cover; }
.bandeau { position: absolute; left: 10px; top: 10px; padding: .24rem .6rem; border-radius: 6px;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  background: var(--marine); color: #fff; }
.bandeau.vendu { background: #6b7280; }
.bandeau.une { left: auto; right: 10px; background: var(--or); color: #fff; }
.nb-photos { position: absolute; right: 10px; bottom: 10px; background: rgba(13, 37, 64, .86);
  color: #fff; font-size: .74rem; font-weight: 600; padding: .18rem .5rem; border-radius: 6px; }
.annonce.est-vendu .annonce-media img { filter: grayscale(.85) brightness(.92); }

.annonce-corps { padding: 15px 16px 17px; display: flex; flex-direction: column; flex: 1; }
.annonce-titre { font-size: .98rem; font-weight: 600; margin: 0 0 .3rem; line-height: 1.35; }
.annonce-prix { font-size: 1.32rem; font-weight: 800; color: var(--marine); margin-bottom: .35rem; }

/* Badge d'apport : juste sous le prix, avant les caractéristiques. */
.apport { display: inline-block; align-self: flex-start; margin: 0 0 .5rem;
  padding: .18rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 700;
  border: 1px solid transparent; white-space: nowrap; }
.apport.sans { background: var(--vert-fond); color: var(--vert); border-color: #b7e3c9; }
.apport.montant { background: var(--ambre-fond); color: #8a6410; border-color: #f2dba0; }
.apport.grand { font-size: .92rem; padding: .3rem .8rem; margin-top: .5rem; }

.annonce-infos { color: var(--gris); font-size: .84rem; display: flex; gap: .45rem;
  flex-wrap: wrap; margin-top: auto; }
.annonce-infos span + span::before { content: "· "; }
.annonce-pied { display: flex; justify-content: flex-end; align-items: center;
  border-top: 1px solid var(--trait); margin-top: .8rem; padding-top: .7rem; }
.annonce-pied a { color: var(--marine-clair); font-weight: 600; font-size: .88rem; }

/* ---------- catalogue ---------- */
.catalogue-grille { display: grid; grid-template-columns: 282px 1fr; gap: 26px;
  align-items: start; padding: 28px 0 56px; }
.catalogue-grille > * { min-width: 0; }
.filtres { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon);
  box-shadow: var(--ombre); overflow: hidden; position: sticky; top: 88px; }
.filtres-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 16px; border-bottom: 1px solid var(--trait); font-weight: 700; }
.filtres-corps { padding: 4px 16px 16px; max-height: calc(100vh - 220px); overflow-y: auto; }
.filtres-pied { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--trait);
  background: #fafbfc; }
.fgroupe { border-bottom: 1px solid var(--trait); padding: 12px 0; }
.fgroupe:last-child { border-bottom: 0; }
.fgroupe > label, .fgroupe-titre { display: block; font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--gris); margin-bottom: .45rem; }
.cases { display: flex; flex-direction: column; gap: .32rem; max-height: 180px; overflow-y: auto; }
.cases label { display: flex; align-items: center; gap: .5rem; font-size: .88rem; cursor: pointer; }
.cases input { accent-color: var(--marine); }
.ligne-bornes { display: flex; gap: 8px; }
.ligne-bornes input { min-width: 0; }

.resultats-tete { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap; margin-bottom: 18px; }

/* ---------- champs ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="number"], input[type="search"], input[type="password"], select, textarea {
  width: 100%; padding: .62rem .72rem; border: 1px solid var(--trait); border-radius: 9px;
  font: inherit; font-size: .94rem; background: #fff; color: var(--encre);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--marine-clair);
  outline-offset: 1px; border-color: var(--marine-clair); }
textarea { min-height: 84px; resize: vertical; }
label { font-weight: 600; }

/* ---------- fiche véhicule ---------- */
.fiche { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: start;
  padding: 28px 0 56px; }
.fiche > * { min-width: 0; }
.galerie { border-radius: var(--rayon); overflow: hidden; background: #dfe3e8; aspect-ratio: 4/3; }
.galerie img { width: 100%; height: 100%; object-fit: cover; }
.vignettes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.vignettes img { aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; cursor: pointer;
  border: 2px solid transparent; }
.vignettes img.actif, .vignettes img:hover { border-color: var(--or); }
.prix-grand { font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 800; color: var(--marine); }
.puces { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0 1.4rem; }
.puce { background: #fff; border: 1px solid var(--trait); border-radius: 999px;
  padding: .32rem .8rem; font-size: .86rem; }
.tableau-spec { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tableau-spec td { padding: .55rem .2rem; border-bottom: 1px solid var(--trait); }
.tableau-spec td:first-child { color: var(--gris); width: 46%; }
.etiquettes { display: flex; flex-wrap: wrap; gap: .4rem; }
.etiquette { background: #fff; border: 1px solid var(--trait); border-radius: 7px;
  padding: .28rem .6rem; font-size: .84rem; }
.encart { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 22px; box-shadow: var(--ombre); position: sticky; top: 92px; }
.bandeau-vendu { display: inline-block; background: #6b7280; color: #fff; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; padding: .4rem 1rem; border-radius: 8px;
  margin-bottom: .8rem; }

/* ---------- formulaire de commande ---------- */
.form-achat { max-width: 900px; }
.f-section { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 1.4rem 1.5rem; margin-bottom: 1.2rem; box-shadow: var(--ombre); }
.f-section > h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.12rem; margin: 0 0 .25rem; }
.f-num { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; flex: none;
  background: var(--marine); color: #fff; border-radius: 50%; font-size: .85rem; font-weight: 700; }
.f-intro { color: var(--gris); font-size: .89rem; margin: 0 0 1.1rem; }
.f-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: 0 1.1rem; }
.f-grille .pleine { grid-column: 1 / -1; }
.f-champ { margin-bottom: 1rem; min-width: 0; }
.f-champ > label, .f-legende { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .32rem; }
.f-champ small { display: block; color: var(--gris); font-size: .8rem; margin-top: .28rem; }
.oblig { color: var(--rouge); }
.f-suffixe { position: relative; }
.f-suffixe input { padding-right: 2.4rem; }
.f-suffixe span { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%);
  color: var(--gris); font-size: .9rem; pointer-events: none; }

/* Choix « à cocher » : toute l'étiquette est cliquable, donc facile au pouce. */
.choix { display: flex; flex-wrap: wrap; gap: .5rem; }
.choix label { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer;
  border: 1px solid var(--trait); background: #fff; border-radius: 999px;
  padding: .5rem .9rem; font-size: .89rem; font-weight: 500; min-height: 44px;
  transition: border-color .12s, background .12s, box-shadow .12s; }
.choix label:hover { border-color: #b9c2cd; }
.choix input { accent-color: var(--marine); margin: 0; }
.choix label:has(input:checked) { border-color: var(--marine); background: #eef4fa;
  box-shadow: 0 0 0 2px rgba(18, 49, 82, .12); }

.rappel-annonce { display: flex; gap: 1rem; align-items: center; background: var(--carte);
  border: 1px solid var(--trait); border-left: 4px solid var(--or); border-radius: var(--rayon);
  padding: .9rem 1rem; margin-bottom: 1.2rem; }
.rappel-annonce img { width: 96px; height: 70px; object-fit: cover; border-radius: 9px; flex: none; }
.rappel-annonce .t { font-weight: 700; }
.rappel-annonce .p { color: var(--marine); font-weight: 800; }

.note-confidentialite { background: #fff; border-left: 3px solid var(--or); border-radius: 8px;
  padding: .8rem 1rem; font-size: .86rem; color: var(--gris); margin-top: 1rem; }

/* ---------- dossier / suivi ---------- */
.suivi-etroit { max-width: 560px; }
.dossier-entete { border-radius: var(--rayon); padding: 1.2rem 1.4rem; margin-bottom: 1.3rem; }
.dossier-entete h1 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin: 0 0 .35rem; }
.dossier-entete p { margin: 0; }
.etat-attente { background: var(--ambre-fond); border: 1px solid #f2dba0; color: #7a5810; }
.etat-etude   { background: #eef4fa; border: 1px solid #bcd3ea; color: #16456f; }
.etat-accepte { background: var(--vert-fond); border: 1px solid #a8dcc0; color: #0c5a33; }
.etat-refuse  { background: var(--rouge-fond); border: 1px solid #f3b8b5; color: #8f2020; }
.ref-encart { display: inline-block; margin-top: .6rem; background: #fff; border: 1px solid currentColor;
  border-radius: 8px; padding: .3rem .8rem; font-size: 1.05rem; font-weight: 800; letter-spacing: .05em; }
.etapes { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.etapes li { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; }
.etapes .pastille { flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%; display: grid;
  place-items: center; font-size: .74rem; font-weight: 700; background: var(--trait); color: var(--gris); }
.etapes li.faite .pastille { background: var(--vert); color: #fff; }
.etapes li.active .pastille { background: var(--or); color: #fff; }

.bloc { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 1.3rem 1.4rem; box-shadow: var(--ombre); margin-bottom: 1.2rem; }
.bloc h2 { font-size: 1.05rem; }
.recap { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: .45rem 1rem; font-size: .92rem; }
.recap dt { color: var(--gris); }
.recap dd { margin: 0; font-weight: 600; }

.rib-encart { background: #f7f9fb; border: 1px solid var(--trait); border-radius: 10px;
  padding: 1rem 1.1rem; }
.rib-encart .paire { margin-bottom: .7rem; }
.rib-encart .k { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gris); }
.rib-encart .v { font-weight: 700; font-size: 1rem; word-break: break-word; }
.rib-encart .iban { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .04em; }
.avertissement { background: var(--ambre-fond); border: 1px solid #f2dba0; border-left: 4px solid var(--or);
  border-radius: 9px; padding: .85rem 1rem; font-size: .88rem; margin-top: 1rem; }

.actions { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1.2rem 0; }

/* ---------- pied ---------- */
.pied { background: var(--marine); color: rgba(255, 255, 255, .82); padding: 44px 0 18px; margin-top: 40px; }
.pied-grille { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 30px; }
.pied-grille > * { min-width: 0; }
.pied h3 { color: #fff; font-size: .84rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .7rem; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: .38rem; font-size: .9rem; }
.pied a:hover { color: var(--argent); }
.pied-logo { font-size: 1.4rem; font-weight: 800; letter-spacing: .08em; color: #fff; }
/* Le logo porte déjà la baseline « L'automobile en toute simplicité » :
   la répéter en dessous ferait doublon. */
.pied-logo-img { height: 64px; width: 64px; object-fit: cover; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14); margin-bottom: .8rem; }
.pied-texte { font-size: .88rem; max-width: 34ch; }
.pied-coord li { color: rgba(255, 255, 255, .8); }
.pied-reseaux { display: flex; gap: .5rem; margin-top: .9rem; flex-wrap: wrap; }
.pied-reseaux a { border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
  padding: .25rem .7rem; font-size: .82rem; }
.pied-reseaux a:hover { background: var(--or); color: #fff; border-color: var(--or); }
.pied-bas { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 30px; padding-top: 14px; font-size: .82rem; }
.pied-cle { color: rgba(255, 255, 255, .25); }
.pied-cle:hover { color: rgba(255, 255, 255, .7); }

/* ---------- piège à robots ---------- */
/* Hors écran plutôt que display:none : certains robots ignorent les champs cachés. */
.piege { position: absolute !important; left: -9999px !important; width: 1px !important;
  height: 1px !important; overflow: hidden !important; }

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .catalogue-grille { grid-template-columns: 1fr; }
  .filtres { position: static; }
  .filtres-corps { max-height: none; }
  .fiche { grid-template-columns: 1fr; }
  .encart { position: static; }
  .pied-grille { grid-template-columns: 1fr 1fr; }

  /* Empilé au-dessus des résultats, le panneau de filtres ouvert représente
     plus d'un écran de contrôles avant la première voiture. Il se réduit donc
     à son en-tête, qui devient le bouton d'ouverture. */
  .filtres-corps, .filtres-pied { display: none; }
  .filtres.ouvert .filtres-corps { display: block; }
  .filtres.ouvert .filtres-pied { display: flex; }
  .filtres-tete { cursor: pointer; user-select: none; min-height: 50px; border-bottom: 0; }
  .filtres.ouvert .filtres-tete { border-bottom: 1px solid var(--trait); }
  .filtres-tete::after { content: "▾"; color: var(--gris); transition: transform .18s; }
  .filtres.ouvert .filtres-tete::after { transform: rotate(180deg); }
}

@media (max-width: 820px) {
  .nav-bascule { display: flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--marine-2);
    flex-direction: column; align-items: stretch; padding: 10px 18px 18px; gap: 2px;
    box-shadow: var(--ombre-forte);
    /* Un menu de huit entrées dépasse un petit écran : il défile en interne
       plutôt que de laisser des liens inatteignables. */
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav.ouvert { display: flex; }
  .nav a { padding: .72rem .7rem; font-size: .95rem; }
  .nav a.actif::after { display: none; }
  .nav-contact { display: flex; flex-direction: column; gap: .5rem;
    margin-top: .7rem; padding-top: .8rem; border-top: 1px solid rgba(255, 255, 255, .16); }
  .nav-contact a { border-radius: 10px; text-align: center; font-weight: 600; min-height: 46px;
    display: flex; align-items: center; justify-content: center; }
  .nav-contact .nav-tel { background: rgba(255, 255, 255, .12); color: #fff; }
  .nav-contact .nav-wa { background: #25d366; color: #06331a; }
  .entete-contact { display: none; }
  /* Sous 820 px, le verrouillage complet tombe à ~80 px de large et sa
     baseline devient illisible : on ne garde que le pictogramme. */
  .logo img { height: 42px; width: 42px; }
  .logo-nom b { font-size: .92rem; }
  .logo-nom span { font-size: .6rem; letter-spacing: .12em; }
  .tuiles { grid-template-columns: 1fr; margin-top: 22px; }
  .vignettes { grid-template-columns: repeat(4, 1fr); }
  .pied-grille { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 620px) {
  .conteneur { padding: 0 14px; }
  .f-section { padding: 1.1rem 1rem; }
  .f-section > h2 { font-size: 1.02rem; }
  /* Cibles pleine largeur : au pouce, on ne vise pas une pastille. */
  .choix label { flex: 1 1 100%; }
  .rappel-annonce { flex-direction: column; align-items: flex-start; }
  .rappel-annonce img { width: 100%; height: 150px; }
  /* Le libellé gardait sa largeur minimale et écrasait la valeur sur quelques
     dizaines de pixels : empilé, chacun dispose de toute la largeur. */
  .recap { grid-template-columns: 1fr; gap: 0; }
  .recap dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; margin-top: .6rem; }
  .recap dd { margin-bottom: .1rem; }
  .actions .btn { flex: 1 1 100%; }
  .grille-annonces { grid-template-columns: 1fr; }
  .ligne-bornes { flex-direction: column; }
}

@media print {
  .entete, .pied, .actions, .avertissement { display: none !important; }
  body { background: #fff; }
  .bloc { border: 0; box-shadow: none; padding: 0; }
}

/* ---------- fil d'Ariane ---------- */
.ariane { background: #fff; border-bottom: 1px solid var(--trait); font-size: .84rem; }
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center;
  gap: .35rem; margin: 0; padding: .7rem 0; }
.ariane li { display: flex; align-items: center; gap: .35rem; color: var(--gris); }
.ariane li + li::before { content: "›"; color: #b6bec8; }
.ariane a { color: var(--marine-clair); }
.ariane a:hover { text-decoration: underline; }
.ariane [aria-current="page"] { color: var(--encre); font-weight: 600;
  /* Le dernier maillon peut être long (titre du véhicule) : on le tronque
     plutôt que de laisser le fil passer sur trois lignes sur mobile. */
  max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 620px) {
  .ariane ol { padding: .55rem 0; gap: .25rem; font-size: .8rem; }
  /* Sur petit écran, seuls le parent direct et la page courante ont un intérêt. */
  .ariane li:not(:last-child):not(:nth-last-child(2)) { display: none; }
  .ariane li:nth-last-child(2)::before { content: "‹"; }
  .ariane [aria-current="page"] { max-width: 45vw; }
}
