/* GDD Occasion — feuille de style unique (site public + plateforme de gestion).
   Idée de mise en page : l'univers du parc. Bandeaux noirs, rouge de l'enseigne,
   étiquettes de prix jaunes comme celles posées derrière les pare-brise. */
@font-face { font-family: "Anton"; src: url("fonts/anton.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --encre: #151311;
  --papier: #ffffff;
  --fond: #f4f2ee;
  --rouge: #f22416;            /* décor (points, barres, logo) ; tout texte blanc sur rouge prend --rouge-fonce (contraste 5,8:1) */
  --rouge-fonce: #c81a0e;
  --jaune: #f7c647;
  --gris: #6a655f;
  --trait: #e2ded7;
  --vert: #1c7c45;
  --ambre: #b86a00;
  --titre: Impact, "Anton", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --texte: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 10px;
  --sortie: cubic-bezier(.23, 1, .32, 1);
  --feuille: cubic-bezier(.32, .72, 0, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--texte); font-size: 16px; line-height: 1.5; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 2px; }
.s-hero :focus-visible, .s-sec.noir :focus-visible, .s-pied :focus-visible, .s-board :focus-visible { outline-color: var(--jaune); }   /* visible sur fond noir */
.g-i { flex: none; }
.g-sil { display: block; width: 100%; height: 100%; }
.g-hide { display: none !important; }
.g-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Boutons communs */
.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 2px solid var(--encre); border-radius: 999px; background: var(--papier); color: var(--encre); font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .08s, background .15s; }
.g-btn:active { transform: scale(.97); }
.g-btn.rouge { background: var(--rouge-fonce); border-color: var(--rouge-fonce); color: #fff; }
.g-btn.rouge:hover { background: var(--rouge-fonce); border-color: var(--rouge-fonce); }
.g-btn.noir { background: var(--encre); color: #fff; }
.g-btn.jaune { background: var(--jaune); border-color: var(--jaune); }
.g-btn.fin { border-color: var(--trait); font-weight: 600; }
.g-btn.petit { min-height: 40px; padding: 0 14px; font-size: 14px; }
.g-btn[disabled] { opacity: .5; cursor: default; }
.g-btn.large { width: 100%; }

/* Étiquette de prix */
.g-prix { display: inline-block; background: var(--jaune); color: var(--encre); font-family: var(--titre); font-size: 26px; line-height: 1; padding: 8px 12px 7px; border-radius: 4px; letter-spacing: .01em; font-variant-numeric: tabular-nums; box-shadow: 0 1px 0 rgba(0, 0, 0, .18); white-space: nowrap; }
.g-prix.vide { background: var(--fond); font-family: var(--texte); font-size: 14px; font-weight: 600; color: var(--gris); box-shadow: none; }

/* Pastilles d'état */
.g-pas { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.500px; font-weight: 700; letter-spacing: .02em; background: var(--encre); color: #fff; white-space: nowrap; }
.g-pas.nouveau { background: var(--rouge-fonce); }
.g-pas.reserve { background: var(--jaune); color: var(--encre); }
.g-pas.vendu { background: var(--encre); }
.g-pas.bientot { background: #fff; color: var(--encre); box-shadow: inset 0 0 0 2px var(--encre); }
.g-pas.dispo { background: var(--vert); }
.g-pas.baisse { background: var(--jaune); color: var(--encre); box-shadow: inset 0 0 0 2px var(--encre); }
.g-pas.exemple { background: #ece8ff; color: #3d2f8f; }

/* =====================================================================
   SITE PUBLIC
   ===================================================================== */
.gdd-site { position: relative; background: var(--fond); }
.s-page { container: site / inline-size; }
.s-in { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Bandeau du haut */
.s-top { background: var(--papier); color: var(--encre); border-bottom: 1px solid var(--trait); position: sticky; top: 0; z-index: 20; }
.g-logo { display: block; height: 52px; width: auto; }
.s-logo:has(.g-logo) { align-items: center; }
.s-top .s-in { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.s-logo { display: inline-flex; align-items: stretch; text-decoration: none; font-family: var(--titre); font-size: 22px; line-height: 1; letter-spacing: .02em; }
.s-logo b { background: var(--rouge); color: #fff; padding: 7px 8px 5px; font-weight: 400; }
.s-logo span { background: var(--jaune); color: var(--encre); padding: 7px 8px 5px; }
.s-nav { display: none; gap: 22px; margin-left: 14px; font-weight: 600; font-size: 15px; }
.s-nav a { text-decoration: none; opacity: .85; }
.s-nav a { padding: 6px 0; background: linear-gradient(var(--jaune), var(--jaune)) no-repeat 0 100% / 0 3px; transition: background-size .25s var(--sortie), opacity .15s; }
.s-nav a:hover { opacity: 1; background-size: 100% 3px; }
.s-top-r { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.s-direct { display: none; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--gris); }
.s-dot { width: 9px; height: 9px; border-radius: 50%; background: #23b866; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: s-pulse 2s infinite; }
.s-direct.off .s-dot { background: var(--jaune); animation: none; }
@keyframes s-pulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.s-top .g-btn { min-height: 42px; padding: 0 16px; border-color: var(--jaune); background: var(--jaune); }
.s-top .g-btn .lib { display: none; }

/* Ouverture */
.s-hero { background: var(--encre); color: #fff; padding: 28px 0 40px; }
.s-hero-g { display: grid; gap: 28px; }
.s-kicker { display: inline-block; font-size: 16px; font-weight: 600; color: var(--jaune); margin: 0; line-height: 1.5; }
.s-h1 { font-family: var(--titre); font-weight: 400; font-size: clamp(40px, 9.5cqi, 76px); line-height: 1.12; text-transform: uppercase; margin: 10px 0 20px; text-wrap: balance; letter-spacing: .005em; }
.s-h1 em { display: inline-block; font-style: normal; color: var(--encre); background: var(--jaune); padding: .12em .14em 0; margin-top: .08em; }
.s-lead { font-size: 18px; max-width: 34em; color: #e6e2db; margin: 0 0 22px; }
.s-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.s-hero .g-btn:not(.rouge) { background: transparent; color: #fff; border-color: #fff; }
.s-ouv { margin-top: 18px; display: flex; align-items: center; gap: 8px; font-size: 14.500px; color: #cfcac2; }
.s-ouv i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; }
.s-ouv.ferme i { background: #8b867f; }

/* Photo ou vidéo d'ouverture (facultative, réglée dans config.json) */
.s-hero { position: relative; overflow: hidden; }
.s-hero .s-in { position: relative; z-index: 1; }
.s-hero-media { position: absolute; inset: 0; }
.s-hero-media picture { display: block; width: 100%; height: 100%; }
.s-hero-media video, .s-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; display: block; }
.s-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 19, 17, .9) 0%, rgba(21, 19, 17, .72) 50%, rgba(21, 19, 17, .45) 100%); }
.s-hero.avec-media .s-board { background: rgba(11, 10, 9, .86); backdrop-filter: blur(4px); }

/* Tableau des arrivées et des départs */
.s-board { background: #0b0a09; border: 1px solid #34302b; border-radius: var(--r); padding: 16px 16px 8px; align-self: start; }
.s-board h2 { margin: 0 0 4px; font-family: var(--titre); font-weight: 400; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; color: var(--jaune); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.s-board h2 small { font-family: var(--texte); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #9c968e; }
.s-board ul { list-style: none; margin: 0; padding: 0; }
.s-board li { display: grid; grid-template-columns: 78px 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px dashed #34302b; font-size: 15px; }
.s-board li:first-child { border-top: 0; }
.s-board .sens { font-size: 11.500px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 0; text-align: center; border-radius: 3px; }
.s-board .arr .sens { background: #3ddc84; color: #06210f; }
.s-board .dep .sens { background: #34302b; color: #d9d5ce; }
.s-board .att .sens { background: var(--jaune); color: var(--encre); }
.s-board button { background: none; border: 0; padding: 0; color: #fff; text-align: left; font-weight: 600; text-decoration: underline; text-decoration-color: #5d5750; text-underline-offset: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-board .dep button { color: #9c968e; text-decoration: line-through; cursor: default; }
.s-board time { font-size: 13px; color: #9c968e; white-space: nowrap; }
.s-board .vide { color: #9c968e; padding: 14px 0 16px; font-size: 15px; }
.s-board li.flash { animation: s-flash 1.600s ease-out; }
@keyframes s-flash { 0% { background: rgba(247, 198, 71, .35); } 100% { background: transparent; } }

/* Sections */
.s-sec { padding: 44px 0; }
.s-sec.blanc { background: var(--papier); }
.s-sec.noir { background: var(--encre); color: #fff; }
.s-h2 { font-family: var(--titre); font-weight: 400; font-size: clamp(30px, 6.500cqi, 46px); line-height: 1; text-transform: uppercase; margin: 0 0 8px; text-wrap: balance; }
.s-sous { color: var(--gris); margin: 0 0 22px; max-width: 46em; }
.s-sec.noir .s-sous { color: #cfcac2; }
.s-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 6px 20px; }
.s-compte { font-weight: 700; }

/* Filtres */
.s-filtres { display: flex; gap: 8px; overflow-x: auto; padding: 4px 20px 14px; margin: 0 -20px; scrollbar-width: none; }
.s-filtres::-webkit-scrollbar { display: none; }
.s-chip { flex: none; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--trait); background: var(--papier); font-weight: 600; font-size: 14.500px; white-space: nowrap; }
.s-chip[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }
.s-chip.sep { margin-left: 0; }
.s-tri { flex: none; min-height: 42px; border-radius: 999px; border: 2px solid var(--trait); background: var(--papier); padding: 0 14px; font-weight: 600; font-size: 14.500px; margin-left: 10px; }

/* Recherche */
.s-cherche { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 10px; }
.s-cherche .champ { position: relative; flex: 1 1 260px; }
.s-cherche .champ > .g-i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--gris); pointer-events: none; }
.s-cherche input { width: 100%; min-height: 52px; border: 2px solid var(--encre); border-radius: 999px; background: var(--papier); padding: 0 48px 0 50px; font-size: 16px; font-weight: 600; appearance: none; -webkit-appearance: none; }
.s-cherche input::placeholder { color: var(--gris); font-weight: 500; }
.s-cherche input::-webkit-search-cancel-button { display: none; }
.s-cherche input:focus { outline: none; box-shadow: 0 0 0 4px var(--jaune); }
.s-cherche .champ button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--fond); display: grid; place-items: center; }
.s-marque { flex: 1 1 200px; max-width: 100%; min-height: 52px; border: 2px solid var(--encre); border-radius: 999px; background: var(--papier); padding: 0 18px; font-weight: 700; font-size: 16px; }
.s-chip.raz { display: inline-flex; align-items: center; gap: 6px; border-color: var(--rouge); color: var(--rouge-fonce); }

.s-suite { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 0; color: var(--gris); font-size: 14.500px; }

.s-alerte { max-width: 460px; margin: 18px auto 0; text-align: left; color: var(--encre); }
.s-alerte label { display: block; font-weight: 700; margin-bottom: 8px; }
.s-alerte div { display: flex; gap: 8px; flex-wrap: wrap; }
.s-alerte input { flex: 1 1 180px; min-height: 48px; border: 2px solid var(--trait); border-radius: 999px; padding: 0 16px; background: #fff; }
.s-alerte .ok { background: #e7f5ec; color: #0f4d2a; border-radius: 8px; padding: 14px; font-weight: 600; margin: 0; }
.mini { font-size: 13px; color: var(--gris); margin: 10px 0 0 !important; }
.s-avant { color: var(--gris); font-size: 15px; margin-left: 8px; white-space: nowrap; }
.s-partage { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; font-weight: 600; font-size: 14.500px; }
.s-partage span { flex: 1 1 100%; }
.s-sim { padding: 8px 20px 28px; }
.s-sim h2 { font-family: var(--titre); font-weight: 400; font-size: 26px; text-transform: uppercase; margin: 0 0 14px; }
.s-conf { padding: 8px 20px 40px; max-width: 70ch; }
.s-conf h1 { font-family: var(--titre); font-weight: 400; font-size: 40px; text-transform: uppercase; margin: 8px 0 12px; }
.s-conf h2 { font-size: 18px; margin: 22px 0 6px; }
.s-conf p { margin: 0; }

/* Grille de voitures */
.s-grille { display: grid; grid-template-columns: 1fr; gap: 18px; }
.s-carte { text-decoration: none; color: inherit; position: relative; display: flex; flex-direction: column; background: var(--papier); border-radius: var(--r); overflow: hidden; text-align: left; border: 0; padding: 0; box-shadow: 0 1px 2px rgba(21, 19, 17, .08); transition: transform .15s, box-shadow .15s; }
.s-carte:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(21, 19, 17, .12); }
.s-carte .ph { position: relative; aspect-ratio: 4 / 3; background: #e9e6e0; overflow: hidden; }
.s-carte .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-carte .pas { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.s-carte .nbp { position: absolute; right: 10px; bottom: 10px; background: rgba(21, 19, 17, .75); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; display: inline-flex; gap: 5px; align-items: center; }
.s-carte .tx { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.s-carte h3 { margin: 0; font-family: var(--titre); font-weight: 400; font-size: 25px; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
.s-carte .ver { color: var(--gris); font-size: 14.500px; min-height: 1.5em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-carte .sp { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14.500px; font-weight: 600; margin-top: 6px; }
.s-carte .sp span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--rouge); margin-right: 12px; vertical-align: middle; }
.s-carte .bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.s-carte .voir { font-weight: 700; font-size: 14.500px; display: inline-flex; align-items: center; gap: 6px; }
.s-carte.vendu .ph::after { content: "VENDUE"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(21, 19, 17, .62); color: #fff; font-family: var(--titre); font-size: 44px; letter-spacing: .06em; }
.s-carte.vendu { cursor: default; }
.s-carte.vendu:hover { transform: none; box-shadow: 0 1px 2px rgba(21, 19, 17, .08); }
.s-carte.entre { animation: s-entre .7s cubic-bezier(.2, .8, .2, 1); }
@keyframes s-entre { from { opacity: .2; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.s-vide { background: var(--papier); border: 2px dashed var(--trait); border-radius: var(--r); padding: 32px 20px; text-align: center; color: var(--gris); }
.s-vide b { display: block; color: var(--encre); font-size: 18px; margin-bottom: 4px; }

/* Elles arrivent */
.s-rail { display: flex; gap: 14px; overflow-x: auto; padding: 4px 20px 12px; margin: 0 -20px; scroll-snap-type: x proximity; }
.s-rail .s-carte { flex: 0 0 min(78%, 300px); scroll-snap-align: start; background: #23201d; color: #fff; box-shadow: none; }
.s-rail .s-carte .ver { color: #b9b3aa; }
.s-rail .s-carte .ph { filter: saturate(.85); }

/* Le parc en images, l'équipe */
.s-galerie { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.s-galerie figure, .s-equipe figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: #e9e6e0; }
.s-galerie img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.s-galerie figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; color: #fff; font-weight: 700; font-size: 14.500px; background: linear-gradient(transparent, rgba(21, 19, 17, .78)); }
.s-equipe { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.s-equipe .vide { aspect-ratio: 4 / 5; background: #e4e1db; display: grid; align-items: end; }
.s-equipe .vide svg { display: block; width: 100%; fill: #c9c5bd; }
.s-apropos { font-size: 18px; max-width: 62ch; margin: 0 0 24px; }
@container site (min-width: 560px) { .s-equipe { grid-template-columns: repeat(3, 1fr); } }
.s-equipe figure { background: var(--papier); }
.s-equipe img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.s-equipe figcaption { padding: 12px 14px 14px; display: grid; gap: 2px; }
.s-equipe b { font-family: var(--titre); font-weight: 400; font-size: 24px; text-transform: uppercase; }
.s-equipe span { color: var(--rouge-fonce); font-weight: 700; font-size: 14px; }
.s-equipe p { margin: 6px 0 0; color: var(--gris); font-size: 15px; }
.s-lieu { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r); margin-bottom: 22px; }

/* Reprise et financement */
.s-services { display: grid; gap: 18px; max-width: 980px; }
.s-services .s-form { margin-top: 14px; }
.s-form .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.s-form .coche { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-top: 14px; }
.s-form .coche input { width: 22px; height: 22px; min-height: 0; flex: none; accent-color: var(--rouge); }
.s-fin { background: var(--papier); border-radius: var(--r); padding: 18px; align-self: start; margin-top: 14px; }
.s-fin h3 { margin: 0 0 6px; font-family: var(--titre); font-weight: 400; font-size: 24px; text-transform: uppercase; }
.s-fin p { margin: 0 0 12px; color: var(--gris); }
.s-fin .legal { color: var(--encre); font-weight: 800; font-size: 18px; }
@container site (min-width: 860px) { .s-services:has(.s-fin):has(.s-reprise) { grid-template-columns: 1.2fr 1fr; } .s-services:not(:has(.s-fin)) { max-width: 620px; } }

/* Compris avec chaque voiture */
.s-compris { display: grid; gap: 14px; grid-template-columns: 1fr; }
.s-compris article { background: var(--fond); border-radius: var(--r); padding: 18px; border-left: 6px solid var(--rouge); }
.s-compris h3 { margin: 0 0 4px; font-size: 18px; }
.s-compris p { margin: 0; color: var(--gris); }
.s-groupe { margin-top: 18px; color: var(--gris); font-size: 15px; }

/* Étapes */
.s-etapes { display: grid; gap: 18px; counter-reset: e; list-style: none; padding: 0; margin: 0; }
.s-etapes li { counter-increment: e; display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
.s-etapes li::before { content: counter(e); font-family: var(--titre); font-size: 34px; line-height: 52px; text-align: center; background: var(--jaune); color: var(--encre); border-radius: 6px; }
.s-etapes h3 { margin: 2px 0 2px; font-size: 19px; }
.s-etapes p { margin: 0; color: #cfcac2; }

/* Avis Google */
.s-etoiles { color: #f5a400; letter-spacing: 2px; font-size: 18px; white-space: nowrap; }
.s-etoiles i { font-style: normal; color: var(--trait); }
.s-avis-tete { display: flex; align-items: center; gap: 16px; margin: 6px 0 22px; }
.s-avis-tete b { font-family: var(--titre); font-weight: 400; font-size: 64px; line-height: 1; }
.s-avis-tete div { display: flex; flex-direction: column; gap: 2px; font-weight: 600; }
.s-avis-tete .s-etoiles { font-size: 24px; }
.s-avis { display: grid; gap: 14px; margin-bottom: 22px; }
.s-avis figure { margin: 0; background: var(--fond); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.s-avis blockquote { margin: 0; font-size: 16.500px; }
.s-avis figcaption { margin-top: auto; color: var(--gris); font-size: 14px; font-weight: 600; }
a.s-note { text-decoration: none; }

/* Questions */
.s-faq { display: grid; gap: 10px; }
.s-faq details { background: var(--papier); border-radius: var(--r); padding: 0 18px; }
.s-faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 700; font-size: 17px; list-style: none; position: relative; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-family: var(--titre); font-size: 28px; color: var(--rouge); }
.s-faq details[open] summary::after { content: "–"; }
.s-faq p { margin: 0 0 18px; color: #3b3733; max-width: 62ch; }
.s-faq { interpolate-size: allow-keywords; }
.s-faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s var(--sortie), content-visibility .3s allow-discrete; }
.s-faq details[open]::details-content { block-size: auto; }
.s-faq summary::after { transition: transform .25s var(--sortie); }
.s-faq details[open] summary::after { transform: rotate(180deg); }

/* Nous trouver */
.s-infos { display: grid; gap: 22px; }
.s-carton { background: var(--fond); border-radius: var(--r); padding: 20px; }
.s-carton h3 { margin: 0 0 10px; font-family: var(--titre); font-weight: 400; font-size: 22px; text-transform: uppercase; }
.s-carton address { font-style: normal; font-size: 18px; margin-bottom: 14px; }
.s-telgros { font-family: var(--titre); font-size: 34px; line-height: 1.1; display: block; text-decoration: none; margin-bottom: 12px; }
.s-hor { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.s-hor td { padding: 6px 0; border-top: 1px solid var(--trait); }
.s-hor td:last-child { text-align: right; font-weight: 600; }
.s-hor tr.auj td { font-weight: 800; }
.s-zone { color: var(--gris); font-size: 15px; margin: 14px 0 0; }

/* Pied */
.s-pied { background: var(--encre); color: #b9b3aa; padding: 28px 0; font-size: 14.500px; }
.s-pied .s-in { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; }
.s-pied a { color: #fff; }
.s-pied .s-credit { flex-basis: 100%; font-size: 13.500px; color: #9c968e; }
.s-pied .s-credit a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Barre d'appel collée en bas (téléphone) */
.s-barre { position: sticky; bottom: 0; z-index: 30; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--trait); }
.s-barre .g-btn { flex: 1; padding: 0 10px; }

/* Fiche véhicule */
.s-fiche { position: fixed; inset: 0; z-index: 50; background: var(--fond); overflow-y: auto; overscroll-behavior: contain; animation: s-monte .42s var(--feuille); }
@keyframes s-monte { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
.s-fiche-in { container: fiche / inline-size; max-width: 1180px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; }
.s-fiche-g { flex: 1; padding-bottom: 28px; }
.s-fiche-top .g-pas { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.s-fiche-top { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: rgba(244, 242, 238, .94); backdrop-filter: blur(6px); }
.s-fiche-g { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.s-gal { position: relative; background: #e9e6e0; }
.s-gal-piste { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.s-gal-piste::-webkit-scrollbar { display: none; }
.s-gal-piste > * { flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: center; }
.s-gal-piste img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-gal-n { position: absolute; right: 12px; bottom: 12px; background: rgba(21, 19, 17, .75); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.s-vign { display: flex; gap: 8px; padding: 8px 14px 0; overflow-x: auto; }
.s-vign button { flex: 0 0 76px; aspect-ratio: 4 / 3; border: 2px solid transparent; border-radius: 6px; padding: 0; overflow: hidden; background: #e9e6e0; }
.s-vign button[aria-current="true"] { border-color: var(--rouge); }
.s-vign img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-det { padding: 0 20px; }
.s-det h1 { font-family: var(--titre); font-weight: 400; font-size: clamp(34px, 9cqi, 52px); line-height: 1; text-transform: uppercase; margin: 10px 0 4px; }
.s-det .ver { color: var(--gris); font-size: 17px; margin: 0 0 14px; }
.s-det .g-prix { font-size: 40px; padding: 10px 16px 8px; transform: rotate(-1.500deg); }
.s-det .mention { font-size: 13.500px; color: var(--gris); margin: 10px 0 0; }
.s-cles { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--trait); border: 1px solid var(--trait); border-radius: var(--r); overflow: hidden; margin: 20px 0; }
.s-cles div { background: var(--papier); padding: 12px 14px; }
.s-cles dt { font-size: 12.500px; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); font-weight: 700; }
.s-cles dd { margin: 2px 0 0; font-weight: 700; font-size: 17px; }
.s-atouts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 20px; list-style: none; }
.s-atouts li { background: var(--papier); border-radius: 999px; padding: 6px 12px 6px 8px; font-weight: 600; font-size: 14.500px; display: inline-flex; gap: 6px; align-items: center; }
.s-atouts svg { color: var(--vert); }
.s-det h2 { font-size: 18px; margin: 22px 0 8px; }
.s-det .desc { white-space: pre-line; max-width: 62ch; margin: 0; font-size: 17px; line-height: 1.55; overflow-wrap: anywhere; }
.s-det .desc.plus { margin-top: 10px; font-weight: 600; }
.s-inclus { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.s-inclus li { display: flex; gap: 10px; align-items: start; }
.s-inclus svg { color: var(--vert); margin-top: 2px; }
.s-form { background: var(--papier); border-radius: var(--r); padding: 18px; margin-top: 22px; border-top: 6px solid var(--rouge); }
.s-form h2 { margin: 0 0 4px; font-family: var(--titre); font-weight: 400; font-size: 24px; text-transform: uppercase; }
.s-form p { margin: 0 0 14px; color: var(--gris); }
.s-form label { display: block; font-weight: 700; font-size: 14.500px; margin: 12px 0 4px; }
.s-form input, .s-form textarea { width: 100%; min-height: 50px; border: 2px solid var(--trait); border-radius: 8px; padding: 10px 12px; background: #fff; }
.s-form input:focus, .s-form textarea:focus { border-color: var(--encre); outline: none; }
.s-form .err { color: var(--rouge-fonce); font-weight: 600; font-size: 14.500px; margin: 10px 0 0; }
.s-form .ok { background: #e7f5ec; color: #0f4d2a; border-radius: 8px; padding: 14px; font-weight: 600; }
.s-form .g-btn { margin-top: 16px; }
.s-form .hp { position: absolute; left: -9999px; }
.s-part { background: var(--encre); color: #fff; border-radius: var(--r); padding: 16px; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; }

/* Mise en page large (mesurée sur le conteneur, pas sur l'écran) */
@container site (min-width: 560px) {
  .s-grille { grid-template-columns: 1fr 1fr; }
  .s-compris { grid-template-columns: 1fr 1fr; }
  .s-top .g-btn .lib { display: inline; }
}
@container site (min-width: 880px) {
  .s-nav { display: flex; }
  .s-direct { display: inline-flex; }
  .s-hero { padding: 48px 0 60px; }
  .s-hero-g { grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; }
  .s-grille { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .s-compris { grid-template-columns: repeat(4, 1fr); }
  .s-etapes { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .s-galerie { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .s-equipe { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .s-equipe b { font-size: 21px; }
  .s-avis { grid-template-columns: repeat(3, 1fr); }
  .s-infos { grid-template-columns: 1fr 1fr; }
  .s-sec { padding: 64px 0; }
  .s-page > .s-barre { display: none; }
  .s-filtres { flex-wrap: wrap; overflow: visible; }
  .s-cherche .champ { flex: 1 1 100%; }
  .s-marque { flex: 1 1 0; }
}
@container site (min-width: 1100px) { .s-grille { grid-template-columns: repeat(4, 1fr); } }
@container fiche (min-width: 620px) { .s-sim .s-grille { grid-template-columns: repeat(3, 1fr); } }
@container fiche (min-width: 880px) {
  .s-fiche-g { grid-template-columns: minmax(0, 1.150fr) minmax(0, 1fr); gap: 36px; padding: 10px 20px 0; align-items: start; }
  .s-gal { border-radius: var(--r); overflow: hidden; }
  .s-vign { padding: 8px 0 0; }
  .s-det { padding: 0; }
}

/* =====================================================================
   PLATEFORME DE GESTION
   ===================================================================== */
.gdd-admin { position: relative; height: 100%; min-height: 0; background: var(--fond); display: flex; flex-direction: column; overflow: hidden; }
.a-page { container: adm / inline-size; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.a-tete { background: var(--encre); color: #fff; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.a-tete .s-logo { font-size: 18px; }
.a-tete .g-logo { height: 38px; background: #fff; border-radius: 6px; padding: 3px 8px; }
.a-acces .g-logo { height: 64px; }
.a-tete h1 { margin: 0; font-size: 15px; font-weight: 600; color: #cfcac2; display: none; white-space: nowrap; }
.a-tete .dr, .a-tete .dr * { white-space: nowrap; }
.a-tete .dr { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.a-tete a, .a-tete button.lien { color: #fff; font-size: 14px; font-weight: 600; background: none; border: 0; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; padding: 8px; }
.a-etat { font-size: 12.500px; font-weight: 700; color: #3ddc84; display: inline-flex; align-items: center; gap: 6px; }
.a-etat.off { color: var(--jaune); }
.a-corps { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 16px 120px; }
.a-large { max-width: 820px; margin: 0 auto; }

/* Recherche dans le parc */
.a-cherche { position: relative; margin-bottom: 12px; }
.a-cherche .g-i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gris); pointer-events: none; }
.a-cherche input { width: 100%; min-height: 52px; border: 2px solid var(--trait); border-radius: 999px; background: var(--papier); padding: 0 16px 0 46px; font-size: 16px; font-weight: 600; appearance: none; -webkit-appearance: none; }
.a-cherche input:focus { outline: none; border-color: var(--encre); }

.a-moi { background: #34302b; color: #fff; border: 0; border-radius: 999px; min-height: 36px; padding: 0 14px; font-weight: 700; font-size: 14px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.a-info { background: #e7f5ec; color: #0f4d2a; border-radius: 10px; padding: 12px 14px; font-weight: 600; margin-bottom: 14px; }
.a-jl { padding: 8px 0; border-top: 1px solid var(--trait); font-size: 14.500px; }
.a-jl:first-of-type { border-top: 0; }
.a-jl small { display: block; color: var(--gris); }

.a-info.err { background: #fde8e6; color: #8d140a; }
.a-pers { padding: 12px 0; border-top: 1px solid var(--trait); display: grid; gap: 4px; }
.a-pers:first-of-type { border-top: 0; }
.a-pers.off { opacity: .6; }
.a-pers .l1 { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.a-pers small { color: var(--gris); overflow-wrap: anywhere; }
.a-pers .act { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.a-pers select { min-height: 40px; border: 2px solid var(--trait); border-radius: 999px; background-color: #fff; padding: 0 12px; font-weight: 700; font-size: 14px; }
.a-inviter { margin-top: 16px; border-top: 2px solid var(--encre); padding-top: 14px; }
.a-inviter h3 { margin: 0 0 12px; font-size: 16px; }

/* Résumé */
.a-resume { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.a-resume button { background: var(--papier); border: 2px solid transparent; border-radius: var(--r); padding: 10px 8px; text-align: center; }
.a-resume button[aria-pressed="true"] { border-color: var(--encre); }
.a-resume b { display: block; font-family: var(--titre); font-weight: 400; font-size: 30px; line-height: 1; }
.a-resume span { font-size: 12.500px; font-weight: 700; color: var(--gris); }

.a-dort { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; background: #fff4dc; color: #6b4300; border: 2px solid transparent; border-radius: var(--r); padding: 12px 14px; font-weight: 700; font-size: 14.500px; margin-bottom: 12px; }
.a-dort[aria-pressed="true"] { border-color: var(--ambre); }
.a-compteurs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.a-compteurs div { background: var(--fond); border-radius: 8px; padding: 10px 12px; }
.a-compteurs b { display: block; font-family: var(--titre); font-weight: 400; font-size: 28px; line-height: 1.1; }
.a-compteurs span { font-size: 13px; font-weight: 700; color: var(--gris); }

/* Lignes de véhicules */
.a-liste { display: grid; gap: 10px; }
.a-ligne { background: var(--papier); border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 2px rgba(21, 19, 17, .06); }
.a-ligne .haut { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 10px; width: 100%; background: none; border: 0; text-align: left; align-items: center; }
.a-ligne .ph { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: #e9e6e0; }
.a-ligne .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.a-ligne h3 { margin: 0; font-size: 17px; line-height: 1.2; }
.a-ligne .sp { color: var(--gris); font-size: 13.500px; margin: 2px 0 6px; }
.a-ligne .meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.a-ligne .px { font-weight: 800; font-variant-numeric: tabular-nums; }
.a-age { font-size: 12.500px; font-weight: 700; color: var(--gris); }
.a-age.long { color: var(--ambre); }
.a-age.tres { color: var(--rouge-fonce); }
.a-actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 1px solid var(--trait); }
.a-actions button { min-height: 50px; background: none; border: 0; border-left: 1px solid var(--trait); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.a-actions button:first-child { border-left: 0; }
.a-actions .vendre { background: var(--encre); color: #fff; }
.a-actions .arrivee { background: var(--vert); color: #fff; }
.a-ligne.manque .haut { box-shadow: inset 4px 0 0 var(--jaune); }
.a-manque { font-size: 12.500px; font-weight: 700; color: var(--ambre); }
.a-videbloc { text-align: center; padding: 36px 16px; color: var(--gris); background: var(--papier); border-radius: var(--r); border: 2px dashed var(--trait); }
.a-videbloc b { display: block; font-size: 18px; color: var(--encre); margin-bottom: 4px; }

/* Bouton principal + barre du bas */
.a-fab { position: absolute; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 5; min-height: 58px; padding: 0 22px 0 18px; border-radius: 999px; border: 0; background: var(--rouge-fonce); color: #fff; font-weight: 800; font-size: 16.500px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 8px 22px rgba(242, 36, 22, .4); }
.a-fab:active { transform: scale(.97); }
.a-bas { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: var(--papier); border-top: 1px solid var(--trait); padding-bottom: env(safe-area-inset-bottom); }
.a-bas button { position: relative; min-height: 64px; background: none; border: 0; font-size: 12.500px; font-weight: 700; color: var(--gris); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.a-bas button[aria-current="page"] { color: var(--encre); }
.a-bas button[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 4px; background: var(--rouge); border-radius: 0 0 4px 4px; }
.a-bas .bul { position: absolute; top: 8px; left: calc(50% + 8px); min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--rouge-fonce); color: #fff; font-size: 12px; line-height: 20px; }

/* Demandes */
.a-dem { background: var(--papier); border-radius: var(--r); padding: 14px; display: grid; gap: 8px; }
.a-dem.fait { opacity: .6; }
.a-dem .l1 { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.a-dem h3 { margin: 0; font-size: 17px; }
.a-dem time { font-size: 13px; color: var(--gris); white-space: nowrap; }
.a-dem p { margin: 0; color: #3b3733; }
.a-dem .quoi { font-size: 13.500px; font-weight: 700; color: var(--gris); }
.a-dem .act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.a-dem .num { font-family: var(--titre); font-size: 24px; letter-spacing: .02em; }

/* Ventes */
.a-obj { background: var(--encre); color: #fff; border-radius: var(--r); padding: 18px; margin-bottom: 16px; }
.a-obj .gros { font-family: var(--titre); font-size: 56px; line-height: 1; }
.a-obj .gros small { font-size: 24px; color: #9c968e; }
.a-obj p { margin: 4px 0 12px; color: #cfcac2; }
.a-jauge { height: 12px; background: #34302b; border-radius: 6px; overflow: hidden; }
.a-jauge i { display: block; height: 100%; background: var(--jaune); border-radius: 6px; min-width: 4px; }
.a-bloc { background: var(--papier); border-radius: var(--r); padding: 16px; margin-bottom: 16px; }
.a-bloc h2 { margin: 0 0 4px; font-size: 17px; }
.a-bloc .aide { margin: 0 0 12px; color: var(--gris); font-size: 14px; }
.a-src { display: grid; grid-template-columns: minmax(96px, auto) 1fr 28px; gap: 10px; align-items: center; padding: 5px 0; font-size: 14.500px; font-weight: 600; }
.a-src i { display: block; height: 14px; background: var(--rouge); border-radius: 3px; min-width: 3px; }
.a-src b { text-align: right; font-variant-numeric: tabular-nums; }
.a-vente { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--trait); }
.a-vente:first-of-type { border-top: 0; }
.a-vente small { display: block; color: var(--gris); }
.a-pied { text-align: center; margin-top: 22px; display: grid; gap: 10px; justify-items: center; color: var(--gris); font-size: 14px; }

/* Feuilles (formulaire, choix) */
.a-voile { position: fixed; inset: 0; z-index: 60; background: rgba(21, 19, 17, .55); display: flex; align-items: flex-end; justify-content: center; animation: a-fondu .15s; }
@keyframes a-fondu { from { opacity: 0; } }
.a-feuille { container: feuille / inline-size; background: var(--fond); width: 100%; max-width: 640px; max-height: 100%; border-radius: 18px 18px 0 0; display: flex; flex-direction: column; animation: a-monte .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes a-monte { from { transform: translateY(40px); opacity: .4; } }
.a-feuille.pleine { height: 100%; border-radius: 0; }
.a-f-tete { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--trait); background: var(--papier); border-radius: inherit; }
.a-f-tete h2 { margin: 0; font-size: 18px; flex: 1; }
.a-rond { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--fond); display: grid; place-items: center; }
.a-f-corps { overflow-y: auto; padding: 16px; flex: 1; min-height: 0; }
.a-f-pied { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--trait); background: var(--papier); display: flex; gap: 10px; }
.a-f-pied .g-btn { flex: 1; min-height: 54px; font-size: 17px; }
.a-q { margin: 0 0 22px; }
.a-q > label, .a-q > .lab { display: block; font-weight: 800; font-size: 15.500px; margin-bottom: 8px; }
.a-q .opt { font-weight: 500; color: var(--gris); font-size: 13.500px; }
.a-q input[type="text"], .a-q input[type="tel"], .a-q input[type="number"], .a-q input[type="password"], .a-q select, .a-q textarea { width: 100%; min-height: 54px; border: 2px solid var(--trait); border-radius: 10px; padding: 10px 14px; background-color: #fff; font-size: 17px; }
.a-q input:focus, .a-q select:focus, .a-q textarea:focus { border-color: var(--encre); outline: none; }
.a-q.erreur input, .a-q.erreur .a-choix { border-color: var(--rouge); }
.a-q .msg { color: var(--rouge-fonce); font-weight: 700; font-size: 14px; margin-top: 6px; }
.a-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.a-choix button { min-height: 46px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--trait); background: #fff; font-weight: 700; font-size: 15px; }
.a-choix button[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }
.a-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.a-deux button { min-height: 76px; border-radius: 12px; border: 2px solid var(--trait); background: #fff; font-weight: 800; font-size: 16px; padding: 8px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; }
.a-deux button small { font-weight: 500; color: var(--gris); font-size: 12.500px; }
.a-deux button[aria-pressed="true"] { border-color: var(--encre); background: var(--encre); color: #fff; }
.a-deux button[aria-pressed="true"] small { color: #cfcac2; }
.a-cote { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.a-suffixe { position: relative; }
.a-suffixe span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--gris); font-weight: 700; pointer-events: none; }
.a-suffixe input { padding-right: 48px !important; }
.a-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.a-photos .p { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #e9e6e0; }
.a-photos .p img { width: 100%; height: 100%; object-fit: cover; display: block; }
.a-photos .p .suppr { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(21, 19, 17, .78); color: #fff; display: grid; place-items: center; }
.a-photos .p .princ { position: absolute; left: 4px; bottom: 4px; border: 0; border-radius: 999px; font-size: 11.500px; font-weight: 800; padding: 4px 8px; background: rgba(255, 255, 255, .92); }
.a-photos .p.un .princ { background: var(--jaune); }
.a-photos .p.attente::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='14' fill='none' stroke='%23151311' stroke-width='4' stroke-dasharray='60 30'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 20 20' to='360 20 20' dur='.9s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") center / 36px no-repeat; }
.a-ajout { aspect-ratio: 4 / 3; border: 2px dashed var(--gris); border-radius: 8px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-weight: 700; font-size: 13.500px; text-align: center; padding: 4px; cursor: pointer; }
.a-photos.vide { grid-template-columns: 1fr; }
.a-photos.vide .a-ajout { aspect-ratio: auto; min-height: 120px; font-size: 16px; }
.a-plus { width: 100%; min-height: 50px; background: none; border: 0; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); font-weight: 700; display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding: 0 2px; }
.a-plus svg { transition: transform .2s; }
.a-plus[aria-expanded="true"] svg { transform: rotate(90deg); }
.a-bascule { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 2px solid var(--trait); border-radius: 10px; padding: 12px 14px; font-weight: 700; margin-bottom: 10px; width: 100%; text-align: left; }
.a-bascule i { flex: none; width: 50px; height: 30px; border-radius: 15px; background: var(--trait); position: relative; transition: background .15s; }
.a-bascule i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.a-bascule[aria-pressed="true"] i { background: var(--vert); }
.a-bascule[aria-pressed="true"] i::after { transform: translateX(20px); }
.a-danger { background: none; border: 0; color: var(--rouge-fonce); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; padding: 12px 0; }
.a-bravo { text-align: center; padding: 6px 0 14px; }
.a-bravo b { display: block; font-family: var(--titre); font-weight: 400; font-size: 32px; text-transform: uppercase; }
.a-bravo span { color: var(--gris); }
.a-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a-sources button { min-height: 56px; border-radius: 12px; border: 2px solid var(--trait); background: #fff; font-weight: 700; font-size: 15px; padding: 6px 10px; }
.a-sources button:active { background: var(--encre); color: #fff; border-color: var(--encre); }

.a-qr { width: min(240px, 70%); margin: 0 auto; background: #fff; border-radius: 12px; padding: 10px; }
.a-qr svg { display: block; width: 100%; height: auto; }
.s-note { margin-top: 8px; color: var(--jaune); }
.s-note b { color: #fff; }

/* Message en bas d'écran avec « Annuler » */
.a-toast { position: fixed; left: 12px; right: 12px; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 80; margin: 0 auto; max-width: 520px; background: var(--encre); color: #fff; border-radius: 12px; padding: 12px 12px 12px 16px; display: flex; align-items: center; gap: 12px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); animation: a-monte .2s; }
.a-toast span { flex: 1; }
.a-toast button { background: var(--jaune); color: var(--encre); border: 0; border-radius: 999px; min-height: 40px; padding: 0 16px; font-weight: 800; }
.a-toast.err { background: var(--rouge-fonce); }

/* Accès */
.a-acces { flex: 1; display: grid; place-items: center; padding: 24px; overflow-y: auto; }
.a-acces form { width: 100%; max-width: 380px; background: var(--papier); border-radius: 16px; padding: 24px; }
.a-acces h1 { font-family: var(--titre); font-weight: 400; font-size: 30px; text-transform: uppercase; margin: 14px 0 6px; line-height: 1; }
.a-acces p { color: var(--gris); margin: 0 0 18px; }

@container adm (min-width: 520px) { .a-tete h1 { display: block; } }
@container adm (min-width: 700px) {
  .a-corps { padding: 24px 24px 120px; }
  .a-fab { right: calc(50% - 394px); }
}
@container feuille (min-width: 520px) { .a-photos { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 700px) { .a-voile { align-items: center; padding: 24px; } .a-feuille, .a-feuille.pleine { border-radius: 18px; height: auto; max-height: 100%; } .a-feuille.pleine { height: 100%; } }

/* =====================================================================
   HABILLAGE DE LA DÉMO (uniquement sur la page de démonstration)
   ===================================================================== */
html.demo, html.demo body { height: 100%; }
html.demo body { display: flex; flex-direction: column; overflow: hidden; }
.d-barre { flex: none; background: #2a1f6b; color: #fff; display: flex; align-items: center; gap: 12px; padding: 8px 12px; font-size: 14px; }
.d-barre b { font-weight: 800; white-space: nowrap; }
.d-barre .info { color: #cfc8f5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.d-seg { display: inline-flex; background: #1b1350; border-radius: 999px; padding: 3px; flex: none; }
.d-seg button { border: 0; background: none; color: #cfc8f5; font-weight: 700; font-size: 13.500px; padding: 7px 12px; border-radius: 999px; }
.d-seg button[aria-pressed="true"] { background: #fff; color: #2a1f6b; }
.d-seg .duo { display: none; }
.d-panes { flex: 1; min-height: 0; display: flex; }
.d-pane { flex: 1; min-width: 0; position: relative; overflow: hidden; contain: layout; }
.d-pane + .d-pane { border-left: 4px solid #2a1f6b; }
.d-scroll { height: 100%; overflow-y: auto; }
.d-pane.adm { flex: 0 0 420px; }
.d-panes.site .adm, .d-panes.gestion .pub { display: none; }
.d-panes.gestion .adm { flex: 1; }
@media (min-width: 1000px) { .d-seg .duo { display: inline-block; } }
@media (max-width: 999px) { .d-panes.duo .adm { display: none; } .d-barre .info { display: none; } .d-barre { justify-content: space-between; } }

[data-moncode] .g-btn { margin: 0 6px 8px 0; }


/* ============ Mouvement ============
   Un seul moment orchestré : l'ouverture (titre, puis le tableau qui se pose ligne par ligne).
   Le reste ne bouge qu'en réponse à un geste. Tout est coupé par prefers-reduced-motion (règle en tête de fichier). */
.s-h1 .l { display: block; overflow: hidden; padding-top: .14em; margin-top: -.14em; }
.s-h1 .l > span { display: inline-block; animation: s-ligne .8s var(--sortie) both; }
.s-h1 .l + .l > span { animation-delay: .12s; }
@keyframes s-ligne { from { transform: translateY(108%); } }
.s-kicker, .s-lead, .s-hero .s-cta, .s-ouv, .s-board { animation: s-fondu .6s var(--sortie) both; }
.s-lead { animation-delay: .3s; }
.s-hero .s-cta { animation-delay: .38s; }
.s-ouv { animation-delay: .46s; }
.s-board { animation-delay: .25s; }
@keyframes s-fondu { from { opacity: 0; transform: translateY(10px); } }
.s-hero-media img, .s-hero-media video { animation: s-recul 1.8s var(--sortie) both; }
@keyframes s-recul { from { transform: scale(1.07); } }
.s-board ul { perspective: 700px; }
.s-board li.volet { transform-origin: 50% 0; backface-visibility: hidden; animation: s-volet .5s var(--sortie) both; animation-delay: calc(.45s + var(--i, 0) * 70ms); }
.s-board li.volet.flash { animation: s-volet .5s var(--sortie) both, s-flash 1.6s ease-out; }
@keyframes s-volet { from { opacity: 0; transform: rotateX(-85deg); } }
.s-board time, .s-carte .prix { font-variant-numeric: tabular-nums; }

.s-top { transition: box-shadow .25s; }
.s-top .s-in { transition: min-height .25s var(--sortie); }
.s-top { margin-bottom: 0; transition: box-shadow .25s, margin-bottom .25s var(--sortie); }
.g-logo { transition: height .25s var(--sortie); }
.s-top.defile { box-shadow: 0 10px 30px -18px rgba(21, 19, 17, .45); }
.s-top.defile .s-in { min-height: 58px; }
.s-top.defile { margin-bottom: 12px; }   /* la barre rétrécit de 12 px : cette marge garde la page à la même hauteur, sinon le défilement oscille */
.s-top.defile .g-logo { height: 42px; }

.g-btn { transition: transform .14s var(--sortie), background .15s, border-color .15s, color .15s; }
.s-chip { transition: background .15s, border-color .15s, color .15s, transform .14s var(--sortie); }
.s-chip:active { transform: scale(.97); }
.s-carte .ph img { transition: transform .6s var(--sortie); }
.s-carte .voir svg { transition: transform .25s var(--sortie); }
@media (hover: hover) {
  .s-carte:not(.vendu):hover .ph img { transform: scale(1.04); }
  .s-carte:hover .voir svg { transform: translateX(4px); }
  .s-galerie figure:hover img { transform: scale(1.04); }
}
.s-galerie img { transition: transform .7s var(--sortie); }
.s-galerie.attend figure { clip-path: inset(100% 0 0 0); }
.s-galerie.attend img { transform: scale(1.12); }
.s-galerie.vu figure { clip-path: inset(0); transition: clip-path .9s var(--feuille); transition-delay: calc(var(--n, 0) * 90ms); }
.s-galerie.vu img { transform: none; transition: transform 1.2s var(--sortie); transition-delay: calc(var(--n, 0) * 90ms); }
.s-galerie figure:nth-child(2) { --n: 1; } .s-galerie figure:nth-child(3) { --n: 2; } .s-galerie figure:nth-child(4) { --n: 3; }


/* ============ Reprise en deux colonnes, équipe compacte, carte ============ */
.s-duo { display: grid; gap: 22px; }
.s-duo-t .s-sous { max-width: 46ch; }
.s-pas { list-style: none; counter-reset: pas; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; max-width: 46ch; }
.s-pas li { counter-increment: pas; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; }
.s-pas li::before { content: counter(pas); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--jaune); color: var(--encre); display: grid; place-items: center; font-family: var(--titre); font-size: 20px; }
.s-pas b { font-size: 17px; }
.s-pas span { color: var(--gris); font-size: 15.500px; }
.s-duo .s-services { max-width: none; }
.s-duo .s-services .s-form, .s-duo .s-fin { margin-top: 0; }
@container site (min-width: 860px) {
  .s-duo { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .s-duo .s-services, .s-duo .s-services:has(.s-fin):has(.s-reprise) { grid-template-columns: 1fr; }
}
.s-sec.suite { padding-top: 0; }
.s-equipe { display: flex; gap: 14px; overflow-x: auto; padding: 0 20px 8px 0; margin: 0 -20px 0 0; scroll-snap-type: x proximity; grid-template-columns: none; }
.s-equipe figure { flex: 0 0 38%; max-width: 190px; scroll-snap-align: start; background: none; border-radius: 0; overflow: visible; }
.s-equipe img, .s-equipe .vide { border-radius: var(--r); overflow: hidden; }
.s-equipe figcaption { padding: 10px 0 0; }
.s-equipe b { font-size: 20px; }
@container site (min-width: 860px) { .s-equipe { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; overflow: visible; padding: 0; margin: 0; } .s-equipe figure { max-width: none; } }
.s-plan { border-radius: var(--r); overflow: hidden; margin-bottom: 24px; height: 200px; background: #e9e6e0 repeating-linear-gradient(45deg, transparent 0 22px, rgba(21, 19, 17, .035) 22px 23px); display: grid; place-items: center; text-align: center; }
.s-plan > div { display: grid; gap: 12px; justify-items: center; padding: 20px; }
.s-plan b { font-size: 18px; }
.s-plan span { color: var(--gris); font-size: 13.500px; }
.s-plan iframe { width: 100%; height: 100%; border: 0; display: block; }
.s-plan.charge { display: block; height: clamp(320px, 44cqi, 480px); }

.s-plan.img { position: relative; background-size: cover; background-position: center; place-items: end start; height: clamp(260px, 44cqi, 480px); }
.s-plan.img > div { background: var(--papier); border-radius: var(--r); margin: 14px; padding: 14px 16px; justify-items: start; text-align: left; box-shadow: 0 6px 24px -10px rgba(21, 19, 17, .5); }
.s-plan.img small { position: absolute; right: 8px; bottom: 6px; font-size: 11px; background: rgba(255, 255, 255, .8); padding: 1px 6px; border-radius: 4px; }
.s-plan .epingle { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -26px 0 0 -13px; background: var(--rouge); border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 3px 8px rgba(0, 0, 0, .35); }
.s-plan.charge { background-image: none !important; }
.s-cookies { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70; max-width: 560px; margin-left: auto; background: var(--papier); border-radius: 14px; padding: 16px; box-shadow: 0 12px 40px -8px rgba(21, 19, 17, .45); display: grid; gap: 12px; animation: s-fondu .4s var(--sortie) both; }
.s-cookies p { margin: 0; font-size: 14.500px; color: #3b3733; }
.s-cookies div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s-cookies .g-btn { min-height: 44px; }
@container site (max-width: 859px) { .s-cookies { bottom: calc(84px + env(safe-area-inset-bottom)); } }

.gdd-site { overflow-x: clip; }


/* ============ Filtres, tri, cartes, ancres ============ */
.s-filtres { align-items: center; }
.s-marque { appearance: none; -webkit-appearance: none; padding: 0 48px 0 20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151311' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 18px; text-overflow: ellipsis; }
.s-ordre { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: 2px 0 14px; font-size: 14.500px; color: var(--gris); }
.s-ordre label { display: inline-flex; align-items: center; gap: 6px; }
.s-ordre select { appearance: none; -webkit-appearance: none; border: 0; border-bottom: 2px solid var(--encre); border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151311' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0 center / 14px; padding: 4px 20px 4px 0; font-weight: 700; color: var(--encre); cursor: pointer; }
.s-carte .voir { background: var(--encre); color: #fff; border-radius: 999px; padding: 9px 14px; transition: background .15s; }
.s-rail .s-carte .voir { background: var(--jaune); color: var(--encre); }
@media (hover: hover) { .s-carte:hover .voir { background: var(--rouge-fonce); } .s-rail .s-carte:hover .voir { background: #fff; } }
.s-carte .bas { flex-wrap: wrap; }
[data-ancre] { scroll-margin-top: 58px; }
.s-reseau { width: 20px; height: 20px; display: block; }


/* ============ Page stock, vitrine d'accueil, cartes ============ */
.page-accueil .s-outils, .page-accueil .s-ordre { display: none; }
.page-stock .s-hero, .page-stock .s-sec:not([data-ancre="stock"]), .page-stock [data-zone-avis] { display: none; }
.page-stock [data-ancre="stock"] { min-height: 70vh; }
.s-nav a.ici { opacity: 1; background-size: 100% 3px; }
.s-suite.fort { margin-top: 26px; }
.s-suite.fort .g-btn { min-height: 60px; padding: 0 30px; font-size: 18px; gap: 10px; }
.s-carte .bas { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 12px; }
.s-carte .bas .g-prix, .s-carte .bas > :first-child { align-self: flex-start; }
.s-carte .voir { justify-content: center; padding: 11px 14px; }
@container site (min-width: 960px) {
  .page-stock .s-stock { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; }
  .page-stock .s-outils { position: sticky; top: 76px; background: var(--papier); border-radius: var(--r); padding: 16px; max-height: calc(100vh - 92px); overflow-y: auto; }
  .page-stock .s-cherche { flex-direction: column; margin: 0 0 12px; }
  .page-stock .s-cherche .champ, .page-stock .s-marque { flex: none; width: 100%; }
  .page-stock .s-filtres { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .page-stock .s-chip { min-height: 38px; padding: 0 13px; font-size: 14px; }
  .page-stock .s-grille { grid-template-columns: repeat(2, 1fr); }
}
@container site (min-width: 1180px) { .page-stock .s-grille { grid-template-columns: repeat(3, 1fr); } }

/* Fiche : description sous les photos sur ordinateur, dans le détail sur mobile */
.s-mots.g { display: none; }
.s-mots h2 { font-size: 18px; margin: 0 0 8px; }
.s-mots .desc { max-width: 62ch; margin: 0; font-size: 17px; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-line; }
.s-mots .desc.plus { margin-top: 10px; font-weight: 600; }
@container fiche (min-width: 880px) {
  .s-mots.g { display: block; margin-top: 22px; padding: 22px 24px; background: var(--papier); border-radius: var(--r); }
  .s-mots.d { display: none; }
}
@media (min-height: 900px) { @container fiche (min-width: 880px) { .s-galcol { position: sticky; top: 70px; } } }
/* Filtres groupés dans la colonne de la page stock */
.s-gr { display: none; }
@container site (min-width: 960px) {
  .page-stock .s-gr { display: block; flex: 0 0 100%; margin: 12px 0 0; font-size: 13px; font-weight: 700; color: var(--gris); }
  .page-stock .s-gr:first-child { margin-top: 4px; }
}

/* Champ mot de passe avec bouton Afficher */
.a-mdp { position: relative; }
.a-mdp input { padding-right: 96px !important; }
.a-oeil { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 42px; padding: 0 12px; border: 0; border-radius: 8px; background: none; font-size: 14px; font-weight: 700; color: var(--gris); text-decoration: underline; text-underline-offset: 3px; }
.a-oeil:hover, .a-oeil:focus-visible { color: var(--encre); }

/* ============ Gestion : rubrique Utilisateurs ============ */
.a-u-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin: 4px 0 16px; }
.a-u-tete h2 { font-family: var(--titre); font-weight: 400; font-size: 30px; line-height: 1; text-transform: uppercase; margin: 0 0 4px; }
.a-u-tete p { margin: 0; color: var(--gris); font-size: 15px; }
.a-pers { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 14px 0; border-top: 1px solid var(--trait); align-items: start; }
.a-pers:first-of-type { border-top: 0; }
.a-pers.off { opacity: 1; }
.a-pers.off .av { background: var(--trait); color: var(--gris); }
.a-pers .av { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--encre); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.a-pers .qui h4 { margin: 0; font-size: 17px; line-height: 1.25; }
.a-pers .qui .vous { font-size: 12px; font-weight: 700; color: var(--gris); border: 1.500px solid var(--trait); border-radius: 999px; padding: 1px 8px; vertical-align: 2px; }
.a-pers .qui p { margin: 2px 0 0; color: var(--gris); font-size: 14px; overflow-wrap: anywhere; }
.a-pers .qui .etat { margin-top: 6px; }
.a-pers .role { grid-column: 2; display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.a-pers .role label { font-size: 14px; font-weight: 700; }
.a-pers .role select { min-height: 42px; border: 2px solid var(--trait); border-radius: 10px; background-color: #fff; padding: 0 12px; font-weight: 700; font-size: 15px; }
.a-pers .act { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.a-pers .act .couper { color: var(--rouge-fonce); border-color: #f1c4bf; }
@container (min-width: 620px) {
  .a-pers { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .a-pers .role { grid-column: 3; grid-row: 1; margin-top: 0; }
  .a-pers .act { grid-column: 2 / -1; }
}
.a-util { container-type: inline-size; }
.a-inviter { margin-top: 0; border-top: 0; padding-top: 16px; border: 2px solid var(--encre); }
.a-inviter h3 { margin: 0 0 4px; font-size: 17px; }
.a-roles { display: grid; gap: 8px; }
.a-roles button { text-align: left; background: #fff; border: 2px solid var(--trait); border-radius: 10px; padding: 12px 14px; display: grid; gap: 2px; }
.a-roles button b { font-size: 16px; }
.a-roles button span { font-size: 14px; color: var(--gris); }
.a-roles button[aria-pressed="true"] { border-color: var(--encre); box-shadow: inset 0 0 0 1px var(--encre); }
.a-droits { margin: 8px 0 0; display: grid; gap: 10px; }
.a-droits div { display: grid; gap: 2px; }
.a-droits dt { font-weight: 700; }
.a-droits dd { margin: 0; color: var(--gris); font-size: 14.500px; }
.a-pers .act .g-btn { max-width: 100%; white-space: normal; text-align: left; }

.a-ia-msg { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--gris); }

.a-soustitre { margin: 6px 0 16px; padding-top: 18px; border-top: 2px solid var(--encre); font-size: 18px; }
.a-soustitre span { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--gris); }

/* ============ Gestion : fiche d'une voiture, en rubriques ============ */
.a-rail { position: sticky; top: -16px; z-index: 2; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: -16px -16px 14px; padding: 10px 16px; background: var(--fond); border-bottom: 1px solid var(--trait); }
.a-rail::-webkit-scrollbar { display: none; }
.a-rail button { flex: none; min-height: 36px; padding: 0 12px 0 10px; border-radius: 999px; border: 1.500px solid var(--trait); background: var(--papier); font-size: 13.500px; font-weight: 700; color: var(--gris); display: inline-flex; align-items: center; gap: 6px; }
.a-rail button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--trait); }
.a-rail button.fait { color: var(--encre); border-color: var(--encre); }
.a-rail button.fait::before { background: var(--vert); border-color: var(--vert); }
.a-sec { background: var(--papier); border-radius: var(--r); padding: 18px 16px 2px; margin-bottom: 14px; scroll-margin-top: 54px; }
.a-sec > header { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.a-sec > header .n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--jaune); color: var(--encre); display: grid; place-items: center; font-family: var(--titre); font-size: 19px; }
.a-sec > header h3 { margin: 0; font-family: var(--titre); font-weight: 400; font-size: 23px; line-height: 1.05; text-transform: uppercase; }
.a-sec > header p { margin: 3px 0 0; font-size: 14px; color: var(--gris); }
.a-sec > header > div { flex: 1; min-width: 0; }
.a-sec > header .ok { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--trait); color: transparent; }
.a-sec.fait > header .ok { background: var(--vert); border-color: var(--vert); color: #fff; }
.a-sec.fait > header .n { background: var(--encre); color: #fff; }
.a-sec .a-bascule { background: var(--fond); border-color: transparent; }
.a-sec .a-bascule:last-of-type { margin-bottom: 22px; }
.a-sec.discret { background: var(--papier); box-shadow: inset 0 0 0 2px var(--trait); }   /* même carte que les rubriques, sans numéro */
.a-ia { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.a-ia .g-btn.noir { min-height: 48px; gap: 8px; }

/* ============ Gestion : ventes par vendeur et objectifs ============ */
.a-vend { padding: 12px 0; border-top: 1px solid var(--trait); }
.a-vend:first-of-type { border-top: 0; }
.a-vend .l { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.a-vend .l b { font-size: 16px; }
.a-vend .vous { font-size: 12px; font-weight: 700; color: var(--gris); border: 1.500px solid var(--trait); border-radius: 999px; padding: 1px 8px; vertical-align: 1px; }
.a-vend .c { font-family: var(--titre); font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.a-vend .c small { font-family: var(--corps, inherit); font-size: 14px; color: var(--gris); }
.a-vend .a-jauge { margin: 8px 0 0; }
.a-vend p { margin: 6px 0 0; font-size: 13.500px; color: var(--gris); }
.a-vend.atteint .a-jauge i { background: var(--vert); }
.a-vend.atteint p { color: var(--vert); font-weight: 700; }
.a-vente .dr { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; align-items: center; }
.a-vente select { min-height: 38px; border: 2px solid var(--trait); border-radius: 999px; background-color: #fff; padding: 0 10px; font-weight: 700; font-size: 13.500px; max-width: 150px; }
.a-pers .obj { grid-column: 2 / -1; display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; }
.a-pers .obj label { font-weight: 700; }
.a-pers .obj input { width: 64px; min-height: 42px; border: 2px solid var(--trait); border-radius: 10px; background: #fff; text-align: center; font-weight: 700; font-size: 16px; }
.a-pers .obj input:focus { border-color: var(--encre); outline: none; }
.a-pers .obj span { color: var(--gris); }

/* ---------- Atelier : prise de rendez-vous (site public) ---------- */

.s-fiche-top a.g-btn { text-decoration: none; }
.s-rdv { width: 100%; max-width: 720px; margin: 0 auto; padding: 8px 16px 48px; }
.s-rdv h1 { font-family: var(--titre); font-weight: 400; font-size: clamp(34px, 8vw, 48px); line-height: 1; text-transform: uppercase; margin: 14px 0 8px; }
.s-rdv > .s-sous { margin: 0; }
.s-rdv-form fieldset { border: 0; margin: 0 0 8px; padding: 0 0 18px; min-width: 0; border-bottom: 1px solid var(--trait); }
.s-rdv-form fieldset + fieldset { padding-top: 16px; }
.s-rdv-form legend { display: flex; align-items: center; gap: 10px; padding: 0; font-family: var(--titre); font-size: 22px; text-transform: uppercase; }
.s-rdv-form legend span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: var(--jaune); font-size: 18px; }
.s-rdv-form .aide { margin: 6px 0 10px; color: var(--gris); font-size: 14.500px; }
.s-rdv-form .opt { font-weight: 500; color: var(--gris); }
.s-rdv-form select, .s-rdv-form input[type="email"] { width: 100%; }
.s-rdv-serv { display: grid; gap: 8px; grid-template-columns: 1fr; }
@container fiche (min-width: 560px) { .s-rdv-serv { grid-template-columns: 1fr 1fr; } }
.s-rdv-carte { position: relative; display: block !important; margin: 0 !important; cursor: pointer; }
.s-rdv-carte input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0 !important; }
.s-rdv-carte span { display: block; height: 100%; border: 2px solid var(--trait); border-radius: var(--r); padding: 12px 14px 12px 46px; background: #fff; position: relative; }
.s-rdv-carte span::before { content: ""; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border: 2px solid var(--gris); border-radius: 5px; background: #fff; }
.s-rdv-carte b { display: block; font-size: 16px; }
.s-rdv-carte small { display: block; color: var(--gris); font-weight: 500; font-size: 13.500px; line-height: 1.35; margin-top: 2px; }
.s-rdv-carte input:checked + span { border-color: var(--encre); background: #fbfaf7; }
.s-rdv-carte input:checked + span::before { background: var(--rouge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.500' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.500l4.500 4.500L19 7.500'/%3E%3C/svg%3E") center / 15px no-repeat; border-color: var(--rouge); }
.s-rdv-carte input:focus-visible + span { outline: 3px solid var(--jaune); outline-offset: 1px; }
.s-jours { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.s-jours button { flex: none; scroll-snap-align: start; width: 64px; padding: 8px 0; border: 2px solid var(--trait); border-radius: var(--r); background: #fff; display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.s-jours button b { font-family: var(--titre); font-weight: 400; font-size: 26px; }
.s-jours button small { font-size: 12.500px; font-weight: 700; color: var(--gris); text-transform: capitalize; }
.s-jours button[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }
.s-jours button[aria-pressed="true"] small { color: #cfcac2; }
.s-heures { margin-top: 12px; }
.s-heures > span { display: block; font-weight: 700; font-size: 14px; color: var(--gris); margin-bottom: 6px; }
.s-heures > div { display: flex; flex-wrap: wrap; gap: 8px; }
.s-heures button { min-width: 76px; min-height: 46px; border: 2px solid var(--trait); border-radius: 999px; background: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }
.s-heures button[aria-pressed="true"] { background: var(--rouge-fonce); border-color: var(--rouge-fonce); color: #fff; }
.s-rdv-recap:not(:empty) { margin-top: 16px; background: var(--encre); color: #fff; border-radius: var(--r); padding: 14px 16px; display: grid; gap: 2px; }
.s-rdv-recap b { font-size: 17px; }
.s-rdv-recap b::first-letter { text-transform: uppercase; }
.s-rdv-recap span { color: #cfcac2; font-size: 14.500px; }
@media (hover: hover) { .s-jours button:hover, .s-heures button:hover, .s-rdv-carte:hover span { border-color: var(--encre); } }

/* ---------- Atelier (gestion) ---------- */
.a-jour { margin-bottom: 18px; }
.a-jour h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 8px; font-size: 15px; }
.a-jour h3 span { font-size: 13px; color: var(--gris); }
.a-rdv { background: var(--papier); border-radius: var(--r); display: grid; grid-template-columns: 62px 1fr; overflow: hidden; box-shadow: 0 1px 2px rgba(21, 19, 17, .06); }
.a-rdv .h { background: var(--encre); color: #fff; font-family: var(--titre); font-size: 22px; display: grid; place-items: start center; padding-top: 14px; }
.a-rdv.neuf .h { background: var(--jaune); color: var(--encre); }
.a-rdv.fait { opacity: .55; }
.a-rdv .c { padding: 12px 14px; display: grid; gap: 6px; min-width: 0; }
.a-rdv .l1 { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.a-rdv h3 { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.a-rdv p { margin: 0; color: #3b3733; font-size: 14.500px; overflow-wrap: anywhere; }
.a-rdv .serv { display: flex; flex-wrap: wrap; gap: 6px; }
.a-rdv .serv span { background: var(--fond); border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 700; }
.a-rdv .achat { color: var(--vert); font-weight: 700; }
.a-rdv .msg { font-style: italic; }
.a-rdv .note { color: var(--ambre); font-weight: 600; }
.a-rdv .org { color: var(--gris); font-size: 13px; }
.a-rdv .act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.a-creneaux button { min-height: 42px; padding: 0 14px; font-variant-numeric: tabular-nums; }
.a-creneaux button.plein:not([aria-pressed="true"]) { background: var(--fond); color: var(--gris); border-style: dashed; }
.a-creneaux small { font-weight: 600; font-size: 11.500px; }
.a-q input[type="date"], .a-q input[type="time"] { width: 100%; min-height: 54px; border: 2px solid var(--trait); border-radius: 10px; padding: 10px 14px; background: #fff; font-size: 16px; -webkit-appearance: none; appearance: none; }

/* ---------- Bons de commande (gestion) ---------- */
.a-bons-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.a-bons-tete .g-btn { flex: none; }
.a-vente.off { opacity: .55; }
.a-feuille section.a-bloc { border: 1px solid var(--trait); }        /* sections du bon de commande (pas « Mon compte ») */
.a-bligne { display: grid; grid-template-columns: 1fr 128px 44px; gap: 8px; align-items: center; margin-bottom: 8px; }
.a-bligne input { width: 100%; min-height: 50px; border: 2px solid var(--trait); border-radius: 10px; padding: 10px 12px; background: #fff; font-size: 16px; }
.a-bligne .a-suffixe input { padding-right: 34px !important; }
.a-totaux { background: var(--encre); color: #fff; border-radius: var(--r); padding: 14px 16px; display: grid; gap: 6px; }
.a-totaux div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.a-totaux span { color: #cfcac2; font-size: 14.500px; }
.a-totaux b { font-family: var(--titre); font-weight: 400; font-size: 26px; font-variant-numeric: tabular-nums; }
.a-totaux p { margin: 4px 0 0; color: var(--jaune); font-weight: 700; font-size: 14px; }
.a-apercu { display: flex; flex-direction: column; }
.a-apercu .aide { margin: 0 0 10px; color: var(--gris); font-size: 14px; }
.a-apercu iframe { width: 100%; flex: 1; min-height: 70vh; border: 0; border-radius: 8px; background: #e9e6e0; }
.a-f-pied a.g-btn { flex: 1; min-height: 54px; text-decoration: none; }

/* ---------- État du véhicule en 113 points (gestion) ---------- */
.a-etat-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin: 6px 0 10px; }
.a-etat-g { background: #fff; border: 1px solid var(--trait); border-radius: 10px; margin-bottom: 8px; }
.a-etat-g summary { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 12px 14px; font-weight: 800; cursor: pointer; list-style: none; }
.a-etat-g summary::-webkit-details-marker { display: none; }
.a-etat-g summary small { font-weight: 700; color: var(--gris); white-space: nowrap; }
.a-etat-g.fini summary small { color: var(--vert); }
.a-etat-l { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 8px 14px; border-top: 1px solid var(--trait); font-size: 14.500px; }
.a-etat-l.u { background: #fff7e6; }
.a-etat-l.r { background: #fdecea; }
.a-etat-l > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.a-etat-l button { min-height: 38px; border: 2px solid var(--trait); border-radius: 8px; background: #fff; font-weight: 700; font-size: 13px; padding: 0 4px; }
.a-etat-l button[data-v="b"][aria-pressed="true"] { background: var(--vert); border-color: var(--vert); color: #fff; }
.a-etat-l button[data-v="u"][aria-pressed="true"] { background: var(--ambre); border-color: var(--ambre); color: #fff; }
.a-etat-l button[data-v="r"][aria-pressed="true"] { background: var(--rouge-fonce); border-color: var(--rouge-fonce); color: #fff; }
.a-etat-l button[data-v="n"][aria-pressed="true"] { background: var(--gris); border-color: var(--gris); color: #fff; }
@container feuille (min-width: 560px) { .a-etat-l { grid-template-columns: 1fr 260px; align-items: center; } }
.a-etat-bon > summary { cursor: pointer; font-weight: 700; padding: 10px 0; }
.a-on { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--trait); font-weight: 700; }
.a-on > span { flex: 1; min-width: 0; }
.a-on .a-choix { flex: none; flex-wrap: nowrap; }
.a-on .a-choix button { min-height: 40px; padding: 0 14px; }

/* Rappel des relevés à faire (onglet Le parc) et bouton du relevé dans la fiche */
.a-rappel { background: #fff4dc; border-radius: var(--r); padding: 12px; margin-bottom: 14px; }
.a-rappel h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 15.500px; color: #6b4300; }
.a-rappel button { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 10px; text-align: left; background: #fff; border: 0; border-radius: 8px; padding: 10px 12px; margin-top: 6px; }
.a-rappel button b { font-size: 15.500px; }
.a-rappel button span { grid-column: 1; color: var(--gris); font-size: 13.500px; }
.a-rappel button .g-i { grid-row: 1 / span 2; grid-column: 2; color: var(--ambre); }
.a-releve-etat { margin: 14px 0 16px; padding: 10px 12px; border-radius: 10px; background: #fdf3dc; font-size: 14px; font-weight: 600; }
.a-releve-etat.complet { background: #e6f2ea; color: var(--vert); }
/* Blocs repliés du bon de commande (conditions habituelles, reprise) */
.a-habituel { border-top: 1px solid var(--trait); margin-top: 6px; }
.a-habituel > summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0 4px; cursor: pointer; list-style: none; }
.a-habituel > summary::-webkit-details-marker { display: none; }
.a-habituel > summary span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.a-habituel > summary small { color: var(--gris); font-weight: 500; font-size: 13.500px; line-height: 1.35; }
.a-habituel > summary em { font-style: normal; font-weight: 700; font-size: 14px; color: var(--rouge-fonce); flex: none; }
.a-habituel[open] > summary em { color: var(--gris); }

/* ---------- Menu (refait le 23/11/2026) ----------
   Ordinateur : Le stock · Reprise · Nous trouver · [Atelier] mis en évidence.
   Téléphone : avant, aucun menu ; maintenant une rangée compacte sous le logo, toujours visible
   (la masquer au défilement ferait sauter la page, l'en-tête rétrécissant déjà). */
.s-nav { align-items: center; }
.s-nav a.s-nav-atelier { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; background: var(--encre); color: #fff; opacity: 1; }
.s-nav a.s-nav-atelier:hover, .s-nav a.s-nav-atelier.ici { background: var(--rouge-fonce); }
.s-nav-atelier .lib { display: none; }
@container site (min-width: 1100px) { .s-nav-atelier .lib { display: inline; } }
/* En-tête sur téléphone et tablette : une seule ligne (logo, Atelier, Menu) ; les rubriques se déplient sous l'en-tête */
.s-top-atelier, .s-burger, .s-nav-tel { display: none; }
@container site (max-width: 879px) {
  .s-top .s-in { min-height: 62px; gap: 10px; }
  .s-top .g-logo { height: 44px; }
  .s-top [data-tel-tete] { display: none; }
  .s-top-r { gap: 8px; }
  .s-top-atelier { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--encre); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
  .s-top-atelier.ici { background: var(--rouge-fonce); }
  .s-burger { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 2px solid var(--trait); border-radius: 999px; background: #fff; color: var(--encre); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
  .s-top.menu-ouvert .s-burger { border-color: var(--encre); }
  .s-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 4px 20px 16px; background: var(--papier); border-bottom: 1px solid var(--trait); box-shadow: 0 22px 30px -22px rgba(21, 19, 17, .5); font-size: 18px; }
  .s-top.menu-ouvert .s-nav { display: flex; }
  .s-nav a, .s-nav a.s-nav-atelier { display: flex; align-items: center; gap: 10px; padding: 15px 2px; border-radius: 0; border-bottom: 1px solid var(--trait); background: none; color: var(--encre); opacity: 1; }
  .s-nav a.ici, .s-nav a.s-nav-atelier.ici { background: none; color: var(--rouge-fonce); }
  .s-nav-atelier .lib { display: inline; font-weight: 500; color: var(--gris); }
  .s-nav a.s-nav-tel { border-bottom: 0; margin-top: 10px; justify-content: center; border-radius: 999px; background: var(--jaune); font-weight: 700; padding: 13px 16px; }
}
@container site (max-width: 359px) { .s-top .g-logo { height: 38px; } .s-burger span { display: none; } .s-burger { padding: 0 11px; } }
}

/* ---------- Page Atelier (/atelier/) et bandeau d'accueil ----------
   Le formulaire vient tout de suite après un en-tête court ; sur ordinateur, l'atelier (adresse, horaires, déroulé)
   reste visible dans une colonne à droite. */
.page-atelier .s-hero, .page-atelier .s-sec:not([data-page-atelier]), .page-atelier [data-zone-avis] { display: none; }
.page-accueil [data-page-atelier], .page-stock [data-page-atelier] { display: none; }
.s-atelier { padding-top: 28px; }
.s-atelier .s-kicker { color: var(--rouge-fonce); }
.s-atelier-tete { max-width: 760px; }
.s-atelier-h1 { font-size: clamp(34px, 6cqi, 54px); margin: 4px 0 10px; }
.s-atelier-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 12px 0 0; font-weight: 600; color: var(--gris); }
.s-atelier-ligne > span { display: inline-flex; align-items: flex-start; gap: 6px; }
.s-atelier-ligne .g-i { flex: none; margin-top: 3px; color: var(--rouge); }
.s-atelier-ligne a { display: inline-flex; align-items: center; gap: 6px; color: var(--encre); text-decoration: none; border-bottom: 2px solid var(--jaune); }
.s-atelier-g { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 22px; }
.s-atelier-g > * { min-width: 0; }                     /* la bande des jours défile, elle ne doit pas élargir la page */
.s-atelier .s-rdv { max-width: none; margin: 0; padding: 0; }
.s-atelier .s-rdv .s-form { margin-top: 0; }
.s-atelier-cote { display: grid; gap: 16px; align-content: start; }
.s-atelier-cote .s-carton h3 + .s-hor, .s-atelier-cote .g-btn + h3 { margin-top: 18px; }
.s-atelier-cote .s-telgros { margin-bottom: 10px; }
.s-atelier-etapes ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.s-atelier-etapes li::marker { font-weight: 800; color: var(--rouge); }
@container site (min-width: 560px) { .s-atelier .s-rdv-serv { grid-template-columns: 1fr 1fr; } }
@container site (min-width: 880px) {
  .s-atelier { padding-top: 40px; }
  .s-atelier-g { grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 32px; align-items: start; }
  .s-atelier-cote { position: sticky; top: 92px; }
}
/* Bandeau : collé à la fin du stock (dont il prolonge la marge basse), puis la marge normale d'une section : même vide dessus et dessous */
.s-bandeau-atelier { padding-top: 0 !important; }
.s-bandeau { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: var(--encre); color: #fff; text-decoration: none; }
.s-bandeau b { display: block; font-size: 17px; }
.s-bandeau > span > span { color: #cfcac2; font-size: 14.500px; }
.s-bandeau > .g-i:first-child { color: var(--jaune); }
.s-bandeau > .g-i:last-child { color: var(--jaune); transition: transform .2s var(--sortie); }
@media (hover: hover) { .s-bandeau:hover > .g-i:last-child { transform: translateX(4px); } }
/* L'en-tête fixe ne doit jamais recouvrir la rubrique ciblée */
.gdd-site [data-ancre], .s-rdv-form fieldset { scroll-margin-top: 84px; }

/* Listes déroulantes : une seule flèche, dessinée par le site et toujours à la même place. La flèche du navigateur se place
   différemment selon le système (Safari la colle au texte ou au bord) : elle n'est jamais utilisée. Un style qui fixe
   le fond d'une liste doit utiliser background-color (pas « background », qui effacerait la flèche). */
select:not([multiple]):not([size]) { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151311' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-right: 40px !important; text-overflow: ellipsis; }
.s-ordre select:not([multiple]):not([size]) { background-position: right 0 center; padding-right: 20px !important; }

/* Bon de commande : la voiture choisie, la feuille de vente */
.a-bveh { box-shadow: none; border: 2px solid var(--trait); margin-bottom: 16px; }
.a-bveh .haut { cursor: default; }
.a-bveh-info { margin: 0; padding: 0 12px 10px; color: var(--gris); font-size: 14px; }
.a-bveh-vide { margin-bottom: 16px; }
.a-bveh-vide .aide { margin: 8px 0 0; }
.a-ligne.choisie { box-shadow: inset 0 0 0 2px var(--encre); }
.a-vresume { margin: 0 0 14px; color: var(--gris); font-size: 14.500px; }
.a-lien { background: none; border: 0; padding: 0; font-weight: 700; color: var(--encre); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.a-bascule small { display: block; font-weight: 500; color: var(--gris); font-size: 14px; margin-top: 2px; }
.a-sources button[aria-pressed="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }

/* Demandes : petit CRM (une fiche par personne, étapes, relances, notes) */
.a-resume.a-resume4 { grid-template-columns: repeat(4, 1fr); }
.a-resume4 b { font-size: 26px; }
.a-types { margin: -6px 0 14px; }
.a-types button { font-size: 13.500px; min-height: 36px; }
.a-filtre-veh { display: flex; justify-content: space-between; gap: 10px; align-items: center; background: #fff4dc; border-radius: var(--r); padding: 10px 14px; margin-bottom: 12px; }
.a-contact { padding: 0; gap: 0; overflow: hidden; }
.a-contact .haut { display: grid; gap: 6px; width: 100%; padding: 14px 14px 10px; background: none; border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.a-contact .quoi .plus { font-weight: 600; color: var(--encre); }
.a-contact .meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.a-contact .dn { margin: 0; font-size: 14px; color: var(--gris); }
.a-contact .act { padding: 0 14px 14px; margin: 0; }
.a-rel { font-size: 13.500px; font-weight: 700; color: var(--gris); margin: 0; }
.a-rel.due { color: var(--rouge-fonce, #b3180b); }
.a-ct-tel { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.a-ct-tel .num { font-family: var(--titre); font-size: 28px; letter-spacing: .02em; }
.a-demande .l1 { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.a-demande .l1 h2 { margin: 0; }
.a-demande .l1 time { font-size: 13px; color: var(--gris); white-space: nowrap; }
.a-demande > p { margin: 8px 0 0; }
.a-demande .veh { font-weight: 700; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.a-etapes { margin-top: 12px; }
.a-relance { margin-top: 10px; display: grid; gap: 8px; }
.a-relance .lab { font-size: 14px; font-weight: 700; }
.a-relance input[type="date"] { min-height: 44px; border: 2px solid var(--trait); border-radius: 10px; padding: 0 12px; background-color: #fff; max-width: 220px; }
.a-notes { margin-top: 14px; display: grid; gap: 8px; }
.a-note { background: var(--fond); border-radius: 10px; padding: 8px 12px; }
.a-note small { color: var(--gris); font-weight: 600; }
.a-note p { margin: 2px 0 0; white-space: pre-wrap; }
.a-notes textarea { width: 100%; border: 2px solid var(--trait); border-radius: 10px; padding: 10px 12px; background-color: #fff; font-size: 16px; resize: vertical; }
.a-notes textarea:focus { border-color: var(--encre); outline: none; }
.a-notes .g-btn { justify-self: start; }

/* Le parc : tri, filtres, vue compacte, personnes intéressées */
.a-outils-parc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; align-items: center; }
.a-outils-parc select { min-height: 40px; border: 2px solid var(--trait); border-radius: 999px; background-color: var(--papier); padding-left: 14px; font-weight: 700; font-size: 14px; max-width: 100%; }
.a-compact-btn { min-height: 40px; border: 2px solid var(--trait); border-radius: 999px; background: var(--papier); padding: 0 14px; font-weight: 700; font-size: 14px; }
.a-compact-btn[aria-pressed="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }
.a-interesses { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; border-top: 1px solid var(--trait); background: #fff4dc; color: #6b4300; font-weight: 700; font-size: 14px; padding: 9px 12px; text-align: left; }
.a-liste.compacte { gap: 6px; }
.a-liste.compacte .a-ligne .haut { grid-template-columns: 48px 1fr; gap: 10px; padding: 5px 10px; }
.a-liste.compacte .a-ligne .meta { gap: 4px; }
.a-liste.compacte .a-ligne .g-pas { padding: 2px 8px; font-size: 11.500px; }
.a-liste.compacte .a-interesses { padding: 6px 12px; font-size: 13px; }
.a-liste.compacte .a-ligne h3 { font-size: 15.500px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-liste.compacte .a-ligne .sp { margin: 0 0 3px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-liste.compacte .a-ligne .a-age { display: none; }
.a-liste.compacte .a-actions button { min-height: 36px; font-size: 14px; }

/* Ventes : objectif du parc réglable par un responsable */
.a-objparc { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 0; font-size: 14px; color: #cfc9c1; }
.a-objparc label { font-weight: 700; color: #fff; }
.a-objparc input { width: 64px; min-height: 36px; border-radius: 8px; border: 0; padding: 0 10px; font-weight: 700; font-size: 16px; text-align: center; color: var(--encre); background: #fff; }

/* Fiche d'une personne : la voiture concernée, en accès direct */
.a-ct-vehs { margin: -4px 0 16px; display: grid; gap: 8px; }
.a-ct-vehs h3 { margin: 0; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--gris); }
.a-ct-veh { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; background: var(--papier); border: 2px solid var(--trait); border-radius: var(--r); padding: 8px 12px 8px 8px; text-align: left; color: inherit; text-decoration: none; font: inherit; cursor: pointer; }
.a-ct-veh:hover { border-color: var(--encre); }
.a-ct-veh .ph { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: #e9e6e0; }
.a-ct-veh .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.a-ct-veh b { display: block; font-size: 16px; }
.a-ct-veh small { display: block; color: var(--gris); font-size: 13px; margin: 2px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-ct-veh .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.a-ct-veh .px { font-weight: 800; }
.a-ct-veh > .g-i { color: var(--gris); }

/* Ventes : le parc et la personne connectée, côte à côte */
.a-objs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 10px; margin-bottom: 16px; }
.a-objs .a-obj { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.a-obj .lab { font-size: 12.500px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #cfcac2; }
.a-obj p { margin: 0; }
.a-obj.perso { background: var(--papier); color: var(--encre); box-shadow: inset 0 0 0 2px var(--encre); }
.a-obj.perso .lab, .a-obj.perso p { color: var(--gris); }
.a-obj.perso .gros small { color: var(--gris); }
.a-obj.perso .a-jauge { background: var(--trait); }
.a-obj.atteint .a-jauge i { background: var(--vert); }
.a-obj .a-objparc { margin: 2px 0 0; }
.a-obj.perso .a-objparc label { color: var(--encre); }
.a-obj.perso .a-objparc input { border: 2px solid var(--trait); }

/* Atelier : liste, semaine ou mois */
.a-vues { display: inline-grid; grid-auto-flow: column; gap: 4px; background: var(--papier); border-radius: 999px; padding: 4px; margin-bottom: 14px; }
.a-vues button { border: 0; background: none; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14.500px; min-height: 38px; }
.a-vues button[aria-pressed="true"] { background: var(--encre); color: #fff; }
.a-cal-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.a-cal-nav b { font-size: 17px; min-width: 0; flex: 1 1 auto; text-align: center; }
.a-cal-nav [data-cal-pas="-1"] .g-i { transform: rotate(180deg); }
.a-cal-sem { display: grid; gap: 8px; margin-bottom: 18px; }
.a-cal-j { background: var(--papier); border-radius: var(--r); padding: 8px; display: grid; gap: 6px; align-content: start; border: 2px solid transparent; }
.a-cal-j.auj { border-color: var(--rouge); }
.a-cal-j.sel { box-shadow: inset 0 0 0 2px var(--encre); }
.a-cal-j.ferme { background: repeating-linear-gradient(135deg, var(--papier) 0 8px, var(--fond) 8px 16px); }
.a-cal-j.passe { opacity: .7; }
.a-cal-j .t { display: flex; align-items: baseline; gap: 6px; background: none; border: 0; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.a-cal-j .t span { font-size: 12.500px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--gris); }
.a-cal-j .t b { font-family: var(--titre); font-weight: 400; font-size: 22px; line-height: 1; }
.a-cal-j .t em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 800; background: var(--encre); color: #fff; border-radius: 999px; padding: 1px 8px; }
.a-cal-j .fm { margin: 0; font-size: 12.500px; color: var(--gris); font-weight: 600; }
.a-cal-rdv { display: block; width: 100%; text-align: left; border: 0; border-left: 4px solid var(--vert); background: var(--fond); border-radius: 6px; padding: 5px 8px; font: inherit; font-size: 13.500px; line-height: 1.3; color: inherit; cursor: pointer; }
.a-cal-rdv.neuf { border-left-color: var(--jaune); background: #fff6d9; }
.a-cal-rdv.fait { border-left-color: var(--trait); text-decoration: line-through; color: var(--gris); }
.a-cal-rdv small { display: block; color: var(--gris); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container adm (min-width: 760px) {
  .a-cal-sem { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
  .a-cal-j { min-height: 180px; }
}
.a-cal-mois { margin-bottom: 18px; }
.a-cal-mois .e, .a-cal-mois .g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.a-cal-mois .e span { text-align: center; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--gris); padding-bottom: 4px; }
.a-cal-c { background: var(--papier); border: 2px solid transparent; border-radius: 8px; min-height: 58px; padding: 4px 5px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font: inherit; color: inherit; text-align: left; cursor: pointer; min-width: 0; overflow: hidden; }
.a-cal-c b { font-size: 14px; }
.a-cal-c.hors { opacity: .4; }
.a-cal-c.auj { border-color: var(--rouge); }
.a-cal-c.sel { border-color: var(--encre); }
.a-cal-c.ferme { background: repeating-linear-gradient(135deg, var(--papier) 0 6px, var(--fond) 6px 12px); }
.a-cal-c .n { font-size: 12px; font-weight: 800; background: var(--vert); color: #fff; border-radius: 999px; padding: 0 7px; }
.a-cal-c .n.neuf { background: var(--jaune); color: var(--encre); }
.a-cal-c .h { display: none; font-size: 11.500px; line-height: 1.3; color: var(--gris); white-space: nowrap; }
@container adm (min-width: 760px) { .a-cal-c { min-height: 96px; } .a-cal-c .h { display: block; } }
.a-cal-detail { scroll-margin-top: 12px; }

/* Utilisateurs : cartes par personne */
.a-uchiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-bottom: 18px; }
.a-uchiffres div { background: var(--papier); border-radius: var(--r); padding: 12px 14px; }
.a-uchiffres b { display: block; font-family: var(--titre); font-weight: 400; font-size: 30px; line-height: 1; }
.a-uchiffres span { font-size: 13px; font-weight: 700; color: var(--gris); }
.a-ugroupe { margin-bottom: 20px; }
.a-ugroupe > .aide { margin: -2px 0 10px; }
.a-ugrille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.a-ucarte { background: var(--papier); border-radius: var(--r); padding: 14px; display: grid; gap: 12px; align-content: start; box-shadow: 0 1px 2px rgba(21, 19, 17, .06); }
.a-ucarte.off { opacity: .75; }
.a-ucarte.attente { box-shadow: inset 0 0 0 2px var(--jaune); }
.a-ucarte .tete { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.a-ucarte .av, .a-jl .av { width: 52px; height: 52px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 19px; letter-spacing: .02em; }
.a-ucarte h4 { margin: 0; font-size: 18px; line-height: 1.2; }
.a-ucarte .qui p { margin: 2px 0 0; color: var(--gris); font-size: 13.500px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-ucarte .vous { font-size: 12px; font-weight: 700; color: var(--gris); border: 1.500px solid var(--trait); border-radius: 999px; padding: 1px 8px; vertical-align: 2px; }
.a-ucarte .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a-ucarte .stats .v { background: var(--fond); border-radius: 10px; padding: 10px 12px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.a-ucarte .stats span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--gris); }
.a-ucarte .stats b { font-family: var(--titre); font-weight: 400; font-size: 28px; line-height: 1; }
.a-ucarte .stats b small { font-size: 16px; color: var(--gris); }
.a-ucarte .stats .a-jauge { height: 8px; background: var(--trait); }
.a-ucarte .stats p { margin: 0; font-weight: 700; font-size: 14px; }
.a-ucarte .stats p small { display: block; font-weight: 500; color: var(--gris); font-size: 12.500px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.a-ucarte .alerte { margin: 0; font-size: 13.500px; color: #6b4300; background: #fff4dc; border-radius: 8px; padding: 8px 10px; }
.a-ucarte .reglages { border-top: 1px solid var(--trait); padding-top: 10px; display: grid; gap: 10px; }
.a-ucarte details.reglages > summary { cursor: pointer; font-weight: 700; font-size: 14.500px; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.a-ucarte details.reglages > summary::-webkit-details-marker { display: none; }
.a-ucarte details.reglages > summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--gris); }
.a-ucarte details.reglages[open] > summary::after { content: "−"; }
.a-ucarte details.reglages[open] { gap: 12px; }
.a-ucarte .role, .a-ucarte .obj { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.a-ucarte .role label, .a-ucarte .obj label { font-weight: 700; }
.a-ucarte .role select { min-height: 42px; border: 2px solid var(--trait); border-radius: 10px; background-color: #fff; padding-left: 12px; font-weight: 700; font-size: 15px; }
.a-ucarte .obj input { width: 64px; min-height: 42px; border: 2px solid var(--trait); border-radius: 10px; background: #fff; text-align: center; font-weight: 700; font-size: 16px; }
.a-ucarte .obj span { color: var(--gris); }
.a-ucarte .act { display: flex; flex-wrap: wrap; gap: 6px; }
.a-ucarte .act .couper { color: var(--rouge-fonce); border-color: #f1c4bf; }
.a-ucarte .depuis { margin: 0; font-size: 13px; color: var(--gris); }
.a-uroles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 8px; }
.a-uroles div { background: var(--papier); border-radius: var(--r); padding: 12px 14px; }
.a-uroles p { margin: 8px 0 0; font-size: 14px; color: var(--gris); }
.a-journal h4 { margin: 14px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--gris); }
.a-journal h4:first-of-type { margin-top: 6px; }
.a-journal .a-jl { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: start; border-top: 0; padding: 6px 0; }
.a-journal .a-jl .av { width: 32px; height: 32px; font-size: 12.500px; }
.a-journal .a-jl small { display: inline; margin-left: 6px; }
.a-udef { display: grid; gap: 8px; }
.a-udef label { font-weight: 700; }
.a-udef span { display: flex; align-items: center; gap: 8px; color: var(--gris); font-size: 14px; }
.a-udef input { width: 64px; min-height: 42px; border: 2px solid var(--trait); border-radius: 10px; background: #fff; text-align: center; font-weight: 700; font-size: 16px; }

/* Aujourd'hui (en tête du parc) */
.a-aujourdhui { margin-bottom: 16px; }
.a-aujourdhui h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-family: var(--titre); font-weight: 400; font-size: 24px; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.a-aujourdhui h2::after { content: ""; flex: 1; min-width: 16px; height: 2px; background: var(--trait); }
.a-aujourdhui h2 span { font-family: inherit; font-size: 14px; text-transform: none; color: var(--gris); font-family: var(--corps, inherit); font-weight: 600; }
.a-aujourdhui .g { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 8px; }
.a-aujourdhui button { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 8px; text-align: left; background: var(--papier); border: 2px solid transparent; border-radius: var(--r); padding: 12px 14px; font: inherit; color: inherit; cursor: pointer; }
.a-aujourdhui button:hover { border-color: var(--encre); }
.a-aujourdhui button b { font-family: var(--titre); font-weight: 400; font-size: 28px; line-height: 1; }
.a-aujourdhui button span { font-size: 14px; font-weight: 600; line-height: 1.3; }
.a-aujourdhui button.chaud { background: #fff4dc; }
.a-aujourdhui button .g-i { color: var(--gris); }

/* Livraisons à préparer */
.a-livr { border-top: 1px solid var(--trait); padding: 12px 0; display: grid; gap: 8px; }
.a-livr:first-of-type { border-top: 0; }
.a-livr .l1 { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.a-livr small { display: block; color: var(--gris); }
.a-livr .quand { font-weight: 700; font-size: 14px; white-space: nowrap; }
.a-livr.retard .quand { color: var(--rouge-fonce); }
.a-livr .a-choix button { font-size: 13px; min-height: 34px; }
.a-livr .act { display: flex; gap: 8px; flex-wrap: wrap; }
.a-exports { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.a-exports a { text-decoration: none; }

/* Vente : la demande d'origine ; fiche client */
.a-vleads { display: grid; gap: 6px; margin-top: 6px; }
.a-vlead { display: grid; text-align: left; background: var(--fond); border: 2px solid transparent; border-radius: 10px; padding: 8px 12px; font: inherit; color: inherit; cursor: pointer; }
.a-vlead:hover { border-color: var(--encre); }
.a-vlead small { color: var(--gris); font-size: 13px; }
.a-ct-client { margin: -4px 0 16px; background: var(--papier); border-radius: var(--r); padding: 6px 14px; }
.a-ct-client h3 { margin: 8px 0 2px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--gris); }
.a-notif { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; background: #eef4ff; border: 2px solid transparent; border-radius: var(--r); padding: 12px 14px; margin-bottom: 12px; font: inherit; color: inherit; cursor: pointer; }
.a-notif span { display: grid; gap: 2px; font-size: 14px; color: var(--gris); }
.a-notif b { color: var(--encre); font-size: 15px; }

/* Ventes : trois parties titrées, blocs bien séparés */
.a-partie { margin: 26px 0 10px; font-family: var(--titre); font-weight: 400; font-size: 24px; line-height: 1; text-transform: uppercase; letter-spacing: .01em; color: var(--encre); display: flex; align-items: center; gap: 12px; }
.a-partie::after { content: ""; flex: 1; height: 2px; background: var(--trait); }
.a-objs + .a-partie { margin-top: 22px; }
.a-partie .nb { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 13px; background: var(--papier); box-shadow: inset 0 0 0 1px var(--trait); font-family: var(--corps, inherit); font-weight: 700; font-size: 13px; line-height: 26px; text-align: center; color: var(--gris); text-transform: none; letter-spacing: 0; }
.a-uchiffres + .a-ugroupe > .a-partie, .a-info + .a-ugroupe > .a-partie { margin-top: 10px; }
.a-corps .a-bloc { border: 1px solid var(--trait); box-shadow: 0 1px 2px rgba(21, 19, 17, .05); padding: 18px; }
.a-corps .a-bloc > h2 { font-size: 18px; margin-bottom: 4px; }
.a-corps .a-bloc .a-vente { padding: 12px 0; }
.a-livr { background: var(--fond); border: 0; border-radius: 10px; padding: 12px 14px; margin-top: 10px; }
.a-livr:first-of-type { margin-top: 0; }
.a-livr.retard { box-shadow: inset 4px 0 0 var(--rouge); }
.a-vend { padding: 14px 0; }

/* Relevé 113 points : les quatre choix tiennent sur une ligne, ou deux lignes égales sur un petit écran */
.a-etat-l > div { grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); }
.a-etat-l button { line-height: 1.15; padding: 4px 6px; white-space: nowrap; font-size: 13px; }

/* Atelier, vue semaine : la pastille du nombre reste dans sa colonne */
.a-cal-j { min-width: 0; }
.a-cal-j .t { flex-wrap: wrap; min-width: 0; row-gap: 2px; width: 100%; }
.a-cal-j .t em { margin-left: auto; flex: none; }
@container adm (min-width: 760px) { .a-cal-j .t { flex-direction: column; align-items: flex-start; gap: 0; position: relative; } .a-cal-j .t em { position: absolute; top: 0; right: 0; margin: 0; } }
.a-cal-rdv { overflow: hidden; text-overflow: ellipsis; }
.a-ct-email { margin: -8px 0 12px; color: var(--gris); font-weight: 600; overflow-wrap: anywhere; }

/* Fichier clients : alerte de doublon, fiche */
.a-doublons { background: #fff4dc; border-radius: 10px; padding: 10px 12px; margin: -4px 0 14px; display: grid; gap: 8px; font-size: 14px; }
.a-doublons > b { color: #6b4300; }
.a-doublons .l { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.a-doublons small { display: block; color: var(--gris); }
.a-types .n { font-weight: 600; color: var(--gris); margin-left: 2px; }
.a-types button[aria-pressed="true"] .n { color: inherit; }
.a-ct-fiche { background: var(--papier); border: 1px solid var(--trait); border-radius: var(--r); padding: 12px 14px; margin: -4px 0 14px; }
.a-ct-fiche.vide { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.a-ct-fiche.vide p { margin: 0; color: var(--gris); font-size: 14px; flex: 1 1 220px; }
.a-ct-fiche .l1 { display: flex; justify-content: space-between; align-items: baseline; }
.a-ct-fiche h3 { margin: 0; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--gris); }
.a-ct-fiche dl { margin: 8px 0 0; display: grid; gap: 6px; }
.a-ct-fiche dl div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; font-size: 14.500px; }
.a-ct-fiche dt { color: var(--gris); font-weight: 600; }
.a-ct-fiche dd { margin: 0; overflow-wrap: anywhere; }

/* Double authentification */
.a-a2f { align-items: flex-start; overflow-y: auto; }
.a-a2f-in { max-width: 460px; width: 100%; margin: 0 auto; padding: 28px 0; display: grid; gap: 12px; }
.a-a2f-in h1 { margin: 0; }
.a-a2f-in p { margin: 0; color: var(--gris); }
.a-a2f-etapes { margin: 4px 0 0; padding-left: 20px; display: grid; gap: 14px; }
.a-a2f-qr { width: 200px; max-width: 100%; margin: 10px 0 6px; background: #fff; border-radius: 10px; padding: 6px; }
.a-a2f-qr svg { display: block; width: 100%; height: auto; }
.a-a2f-etapes small { display: block; color: var(--gris); overflow-wrap: anywhere; }
.a-a2f-form { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.a-a2f-form input { flex: 1 1 140px; min-height: 50px; border: 2px solid var(--trait); border-radius: 10px; padding: 0 14px; font-size: 22px; letter-spacing: .2em; font-variant-numeric: tabular-nums; background-color: #fff; }
.a-a2f-codes { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--papier); border-radius: 10px; font: 700 17px/1.3 ui-monospace, Menlo, monospace; letter-spacing: .06em; }
.a-ucarte .qui .a2f { margin-top: 4px; font-size: 12.500px; font-weight: 700; color: #6b4300; }
.a-ucarte .qui .a2f.ok { color: var(--vert); }
.a-contact h3 .nf { text-transform: uppercase; letter-spacing: .02em; }

/* Étiquette secondaire, toujours encadrée (à côté des pastilles de statut) */
.a-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; border: 1.500px solid var(--trait); background: var(--papier); font-size: 12.500px; font-weight: 700; color: var(--gris); letter-spacing: .01em; white-space: nowrap; }
.a-tag.due { border-color: var(--rouge); color: var(--rouge-fonce); }
.a-contact .dn { font-size: 14px; }

/* Fiche d'un client : contact en tête, sections titrées, secondaire en bas */
.a-ct-contact { background: var(--papier); border: 1px solid var(--trait); border-radius: var(--r); padding: 12px 14px; margin-bottom: 16px; display: grid; gap: 0; }
.a-ct-contact .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.a-ct-contact .tags:empty { display: none; }
.a-ct-contact .ligne { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--trait); }
.a-ct-contact .tags + .ligne { border-top: 0; }
.a-ct-contact .val { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; min-width: 0; user-select: all; -webkit-user-select: all; }
.a-ct-contact .val.num { font-family: var(--titre); font-weight: 400; font-size: 26px; letter-spacing: .02em; }
.a-ct-contact .val small { font-weight: 500; color: var(--gris); font-size: 13px; user-select: none; }
.a-ct-contact .dr { display: flex; gap: 6px; flex-wrap: wrap; }
.a-ct-contact .dr a { text-decoration: none; }
.a-ct-contact .actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--trait); }
.a-ct-titre { margin: 4px 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--gris); }
.a-ct-finies { margin: 4px 0 16px; }
.a-ct-finies > summary { cursor: pointer; font-weight: 700; font-size: 14.500px; color: var(--gris); padding: 8px 0; }
.a-ct-bloc { background: var(--papier); border: 1px solid var(--trait); border-radius: var(--r); padding: 12px 14px; margin-bottom: 14px; }
.a-ct-bloc h3 { margin: 0 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--gris); }
.a-ct-details dl { margin: 0; display: grid; gap: 6px; }
.a-ct-details dl div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; font-size: 14.500px; }
.a-ct-details dt { color: var(--gris); font-weight: 600; }
.a-ct-details dd { margin: 0; }

/* Coordonnées copiables d'un clic (numéro, e-mail, adresse), côte à côte */
.a-coords { display: flex; flex-wrap: wrap; gap: 6px; }
.a-copie { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 36px; padding: 4px 10px; border: 1.500px solid var(--trait); border-radius: 999px; background: var(--fond); color: var(--encre); font: inherit; font-size: 14px; font-weight: 700; cursor: copy; text-align: left; }
.a-copie span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.a-copie .g-i { flex: none; color: var(--gris); }
.a-copie:hover { border-color: var(--encre); }
.a-contact .act.a-coords { padding: 0 14px 14px; }
.a-ct-contact .a-coords { padding: 4px 0 10px; }
.a-ct-contact .a-coords .a-copie:first-child { font-size: 16px; }
.a-ct-contact .contacter { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--trait); }
.a-ct-contact .contacter a { text-decoration: none; }
.a-coords { align-items: center; }
.a-coords > a.g-btn { text-decoration: none; }
.a-ct-contact .a-coords .a-copie { min-height: 44px; }

/* Équipement hors liste (fiche véhicule) */
.a-ajout-atout { display: flex; gap: 8px; margin-top: 10px; }
.a-ajout-atout input { flex: 1; min-width: 0; }
[data-atouts-autres]:empty { display: none; }

/* Lien vers une voiture vendue ou retirée */
.s-indispo { background: var(--jaune); color: var(--encre); }
.s-indispo .s-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-top: 12px; padding-bottom: 12px; }
.s-indispo p { margin: 0; font-size: 15px; }

/* Erreur sous le champ concerné (formulaires du site) */
.s-errc { margin: 4px 0 10px; color: var(--rouge-fonce); font-size: 14px; font-weight: 700; }
[aria-invalid="true"] { border-color: var(--rouge-fonce) !important; box-shadow: 0 0 0 1px var(--rouge-fonce); }

/* Écrans tactiles : 44 px minimum pour tout ce qui se touche (sur ordinateur, les versions compactes restent) */
@media (pointer: coarse) {
  .g-btn.petit, .a-toast button, .a-moi, .a-rail button, .a-types button, .a-vues button, .a-compact-btn,
  .a-etat-l button, .a-livr .a-choix button, .a-copie, .a-liste.compacte .a-actions button, .a-on .a-choix button,
  .a-pers select, .a-vente select, .a-outils-parc select, .a-objparc input, .page-stock .s-chip { min-height: 44px; }
  .s-cherche .champ button { width: 44px; height: 44px; }
}

/* Écran de connexion : deux liens côte à côte (« Renvoyer un code », « Retour à la connexion ») */
.a-acces form .a-danger + .a-danger { margin-left: 20px; }

/* Fiche client : historique (du plus récent au plus ancien), nom incomplet ; nouvelle demande : critères de la recherche */
.a-histo ol { list-style: none; margin: 4px 0 0 6px; padding: 0 0 0 16px; border-left: 2px solid var(--trait); display: grid; gap: 14px; }
.a-histo li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 0 10px; }
.a-histo li::before { content: ""; position: absolute; left: -23px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--papier); border: 2px solid var(--gris); }
.a-histo time { grid-column: 1 / -1; font-size: 12.500px; font-weight: 700; color: var(--gris); }
.a-histo b { display: block; }
.a-histo p { margin: 2px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.a-histo li > .g-btn { grid-column: 2; grid-row: 2; }
.a-incomplet { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--rouge-fonce); }
.a-crit { background: var(--papier); border: 2px solid var(--trait); border-radius: 10px; padding: 12px 12px 0; margin-bottom: 14px; }
.a-crit > .lab { font-weight: 700; margin-bottom: 8px; }
.a-crit select { width: 100%; }
