/* Can Auto 95 — feuille de style
   Charte : #D40000, #111111, #FFFFFF, #F4F4F2, #6B6B6B, #DADADA ; Plus Jakarta Sans ; coupe à 12° */

@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --rouge: #D40000;
  --noir: #111111;
  --blanc: #FFFFFF;
  --atelier: #F4F4F2;
  --acier: #6B6B6B;
  --filet: #DADADA;
  --filet-sombre: rgba(255, 255, 255, .14);
  --police: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --angle: -12deg;
  --pente: 16%;
  --entete: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 24px); }
body { margin: 0; background: var(--blanc); color: var(--noir); font-family: var(--police); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1; letter-spacing: -.03em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
dd { margin: 0; }
button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; }
::selection { background: var(--rouge); color: var(--blanc); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
.evitement { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--noir); color: var(--blanc); padding: 10px 16px; font-weight: 700; }
.evitement:focus { top: 12px; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* La barre oblique rouge : signature graphique (coupe à 12°) */
.barre { display: inline-block; flex: none; width: 12px; height: .78em; background: var(--rouge); transform: skewX(var(--angle)); margin-right: .32em; }

/* ---------- Boutons : rectangle net au repos, parallélogramme au survol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; margin: 0; padding: 0; background: var(--rouge); color: var(--blanc); font: inherit; cursor: pointer; border-radius: 0; transform: skewX(0); transition: transform .38s var(--ease), background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.btn > span { display: inline-flex; align-items: center; gap: 10px; padding: 17px 28px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; transform: skewX(0); transition: transform .38s var(--ease); }
.btn .i { width: 17px; height: 17px; stroke-width: 2.2; }
.btn:hover, .btn:focus-visible { transform: skewX(var(--angle)); }
.btn:hover > span, .btn:focus-visible > span { transform: skewX(calc(var(--angle) * -1)); }
.btn:active { transform: skewX(var(--angle)) scale(.98); }
.btn.noir { background: var(--noir); }
.btn.blanc { background: var(--blanc); color: var(--noir); }
.btn.contour { background: transparent; color: var(--noir); box-shadow: inset 0 0 0 2px var(--noir); }
.btn.contour:hover, .btn.contour:focus-visible { background: var(--noir); color: var(--blanc); }
.btn.contour-clair { background: transparent; color: var(--blanc); box-shadow: inset 0 0 0 2px var(--blanc); }
.btn.contour-clair:hover, .btn.contour-clair:focus-visible { background: var(--blanc); color: var(--noir); }
.btn.petit > span { padding: 12px 20px; font-size: 13px; }

.lien { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid currentColor; padding-bottom: 4px; transition: color .2s ease; }
.lien .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.lien:hover { color: var(--rouge); }
.lien:hover .i { transform: translateX(4px); }

/* ---------- Logo ---------- */
.logo { display: inline-grid; grid-template-columns: auto auto; gap: 3px; padding: 4px; background: var(--blanc); box-shadow: 0 0 0 2.5px var(--noir); transform: skewX(var(--angle)); }
.logo .can { background: var(--rouge); color: var(--blanc); padding: 6px 12px; font-size: 20px; line-height: 1; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.logo .num { background: var(--noir); color: var(--blanc); padding: 6px 9px; font-size: 20px; line-height: 1; font-weight: 800; }
.logo .multi { grid-column: 1 / span 2; background: var(--noir); color: var(--blanc); padding: 4px 6px; font-size: 7px; line-height: 1; font-weight: 600; letter-spacing: .48em; text-align: center; white-space: nowrap; }
.logo.inverse { box-shadow: none; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 30; background: var(--blanc); border-bottom: 1px solid var(--filet); }
.entete .wrap { display: flex; align-items: center; gap: 48px; height: var(--entete); }
.logo-lien { flex: none; padding: 4px; }
.nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav ul { display: flex; gap: 32px; }
.nav ul a { position: relative; display: block; padding: 6px 0; font-size: 15px; font-weight: 600; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--rouge); transform: scaleX(0); transform-origin: left; transition: transform .32s var(--ease); }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav .droite { display: flex; align-items: center; gap: 28px; }
.nav .tel { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; line-height: 1.2; }
.nav .tel a { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; transition: color .2s ease; }
.nav .tel a:hover { color: var(--rouge); }
.statut { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--acier); white-space: nowrap; }
.statut:empty { display: none; }
.statut::before { content: ""; width: 7px; height: 9px; background: var(--filet); transform: skewX(var(--angle)); }
.statut.ouvert::before { background: var(--noir); }
.statut.ferme::before { background: var(--rouge); }
.burger { display: none; border: 0; background: none; width: 44px; height: 44px; padding: 11px 10px; cursor: pointer; margin: 0 -10px 0 auto; }
.burger span { display: block; height: 2px; background: var(--noir); margin: 6px 0; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Emplacements photo, cadre coupé à 12° ---------- */
.photo { position: relative; display: flex; align-items: flex-end; background: var(--atelier) repeating-linear-gradient(-78deg, transparent 0 26px, rgba(17,17,17,.045) 26px 27px); }
.photo .legende { margin: 20px; padding: 6px 12px; background: var(--blanc); color: var(--acier); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.coupe { clip-path: polygon(var(--pente) 0, 100% 0, 100% 100%, 0 100%); }
.coupe .legende { margin-left: auto; }

/* ---------- Accueil : ouverture ---------- */
.ouverture .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0 48px; align-items: stretch; padding-block: clamp(48px, 6vw, 88px); }
.ouverture .texte { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.ouverture h1 { font-size: clamp(40px, 5.6vw, 84px); text-transform: uppercase; line-height: .9; letter-spacing: -.05em; }
.ouverture h1 .rouge { color: var(--rouge); }
.ouverture .bas { display: flex; flex-direction: column; gap: 28px; }
.ouverture .metiers { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16px; font-weight: 600; }
.ouverture .metiers li { display: flex; align-items: center; gap: 10px; }
.ouverture .metiers li::before { content: ""; width: 5px; height: 14px; background: var(--rouge); transform: skewX(var(--angle)); }
.ouverture .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ouverture .photo { min-height: 460px; }

/* ---------- Bande pratique (adresse, horaires, téléphone) ---------- */
.pratique { background: var(--noir); color: var(--blanc); }
.pratique .wrap { display: grid; grid-template-columns: 1.1fr 1fr 1fr; }
.pratique .case { padding: 32px 32px 32px 0; display: flex; flex-direction: column; gap: 8px; }
.pratique .case + .case { padding-left: 32px; border-left: 1px solid var(--filet-sombre); }
.pratique .etiquette { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--filet); display: flex; align-items: center; gap: 16px; }
.pratique .valeur { font-size: 20px; font-weight: 700; line-height: 1.35; font-variant-numeric: tabular-nums; }
.pratique a.valeur { transition: color .2s ease; }
.pratique a.valeur:hover { color: var(--rouge); }
.pratique .statut { color: var(--filet); letter-spacing: 0; text-transform: none; }
.pratique .statut.ouvert::before { background: var(--blanc); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 10vw, 136px); }
.section.gris { background: var(--atelier); }
.section.sombre { background: var(--noir); color: var(--blanc); }
.titre { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 24px; border-bottom: 2px solid currentColor; }
.titre h2 { font-size: clamp(36px, 4.8vw, 64px); text-transform: uppercase; display: flex; align-items: center; }

/* Liste des métiers : une ligne par métier */
.metier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 40px; gap: 32px; align-items: center; padding-block: 28px; border-bottom: 1px solid var(--filet); position: relative; isolation: isolate; transition: color .3s ease; }
.metier::before { content: ""; position: absolute; z-index: -1; inset: 0 -32px; background: var(--noir); clip-path: inset(0 100% 0 0); transition: clip-path .5s var(--ease); }
.metier h3 { font-size: clamp(26px, 2.8vw, 38px); text-transform: uppercase; display: flex; align-items: center; }
.metier h3 .barre { width: 0; margin-right: 0; transition: width .35s var(--ease), margin .35s var(--ease); }
.metier p { color: var(--acier); font-size: 16px; transition: color .3s ease; }
.metier .i { width: 26px; height: 26px; justify-self: end; transition: transform .35s var(--ease), color .3s ease; }
a.metier:hover, a.metier:focus-visible { color: var(--blanc); }
a.metier:hover::before, a.metier:focus-visible::before { clip-path: inset(0 0 0 0); }
a.metier:hover p, a.metier:focus-visible p { color: var(--filet); }
a.metier:hover h3 .barre, a.metier:focus-visible h3 .barre { width: 12px; margin-right: .4em; }
a.metier:hover .i, a.metier:focus-visible .i { transform: translateX(6px); color: var(--rouge); }


/* Cartes des métiers */
.grille-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--filet); border-left: 1px solid var(--filet); margin-top: 48px; }
.service-carte { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 36px 30px 30px; border-right: 1px solid var(--filet); border-bottom: 1px solid var(--filet); background: var(--blanc); overflow: hidden; transition: background-color .35s ease; }
.service-carte::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--rouge); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-carte:hover::before, .service-carte:focus-visible::before { transform: scaleX(1); }
.service-carte:hover { background: var(--atelier); }
.pictogramme { width: 56px; height: 56px; display: grid; place-items: center; background: var(--noir); color: var(--blanc); transform: skewX(var(--angle)); transition: background-color .3s ease; margin-bottom: 10px; }
.pictogramme .i { width: 26px; height: 26px; stroke-width: 1.8; transform: skewX(12deg); }
.service-carte:hover .pictogramme { background: var(--rouge); }
.service-carte h3 { font-size: 20px; text-transform: uppercase; }
.service-carte p { color: var(--acier); font-size: 15px; }
.service-carte .fleche { margin-top: auto; padding-top: 10px; color: var(--rouge); }
.service-carte .fleche .i { transition: transform .3s var(--ease); }
.service-carte:hover .fleche .i { transform: translateX(6px); }

/* Vente & reprise, en deux volets */
.volets { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 48px; }
.volet { background: var(--blanc); padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; min-height: 300px; position: relative; overflow: hidden; }
.volet::after { content: ""; position: absolute; top: 0; right: 0; width: 64px; height: 6px; background: var(--rouge); transform: skewX(var(--angle)); transform-origin: top right; }
.volet h3 { font-size: clamp(28px, 3vw, 40px); text-transform: uppercase; }
.volet p { color: var(--acier); font-size: 17px; max-width: 24em; }
.volet .compte { margin-top: auto; font-size: 15px; font-weight: 600; color: var(--acier); display: flex; align-items: baseline; gap: 10px; }
.volet .compte b { font-size: clamp(32px, 3.2vw, 46px); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--noir); font-variant-numeric: tabular-nums; }
.volet .compte b.ph { font-size: clamp(28px, 2.6vw, 36px); color: var(--rouge); }
.volet .compte + .lien { margin-top: 0; }
.volet .lien { margin-top: auto; }

/* Bloc contact final */
.final { background: var(--noir); color: var(--blanc); position: relative; overflow: hidden; isolation: isolate; }
.final::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: 6%; width: 18px; background: var(--rouge); transform: skewX(var(--angle)); }
.final .wrap { padding-block: clamp(80px, 9vw, 128px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.final .gauche { display: flex; flex-direction: column; gap: 28px; }
.final .etiquette { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--filet); }
.final .numero { font-size: clamp(36px, 5.6vw, 80px); font-weight: 800; line-height: .9; letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .2s ease; }
.final .numero:hover { color: var(--rouge); }
.final .droite { display: flex; flex-direction: column; gap: 28px; color: var(--filet); font-size: 17px; padding-right: 10%; }
.final .droite strong { display: block; color: var(--blanc); }
.final .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- En-tête des pages intérieures ---------- */
.page-tete .wrap { padding-block: clamp(48px, 6vw, 88px) clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 22px; }
.page-tete h1 { font-size: clamp(52px, 8vw, 120px); text-transform: uppercase; line-height: .9; letter-spacing: -.05em; display: flex; align-items: center; }
.page-tete h1 .barre { width: .2em; }
.fil { font-size: 13px; color: var(--acier); }
.fil ol { display: flex; gap: 8px; flex-wrap: wrap; }
.fil li + li::before { content: "/"; margin-right: 8px; }
.fil a { text-decoration: underline; text-underline-offset: 3px; }
.fil a:hover { color: var(--noir); }
.page-tete + .section { padding-top: 0; }
.page-tete + .section > .wrap { border-top: 2px solid var(--noir); padding-top: clamp(48px, 6vw, 80px); }

/* ---------- Services détaillés ---------- */
.sommaire { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 56px; }
.sommaire a { padding: 10px 18px; border: 1px solid var(--filet); font-size: 14px; font-weight: 600; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.sommaire a:hover { border-color: var(--noir); background: var(--noir); color: var(--blanc); }
.prestation { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 2fr); gap: 48px; padding-block: 52px; border-top: 1px solid var(--filet); scroll-margin-top: calc(var(--entete) + 24px); }
.prestation:last-of-type { border-bottom: 1px solid var(--filet); }
.tete-prestation { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; align-self: start; position: sticky; top: calc(var(--entete) + 32px); }
.prestation h2 { font-size: clamp(28px, 3vw, 40px); text-transform: uppercase; }
.groupes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 36px 40px; }
.groupes h3 { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rouge); margin-bottom: 12px; }
.groupes li { padding-block: 9px; border-bottom: 1px solid var(--filet); font-size: 15px; font-weight: 500; }
.groupes li:first-child { border-top: 1px solid var(--filet); }
.note { margin-top: 32px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rouge); }

.devis-bas .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; }
.devis-bas h2 { font-size: clamp(30px, 3.6vw, 48px); text-transform: uppercase; }
.devis-bas .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Vente & reprise ---------- */
.stock { display: flex; justify-content: space-between; align-items: center; gap: 24px 32px; flex-wrap: wrap; }
.stock p { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; max-width: 22em; }
.vehicules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.vehicule .photo { aspect-ratio: 4 / 3; }
.vehicule .corps { padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.vehicule h3 { font-size: 20px; letter-spacing: -.01em; }
.vehicule .carac { color: var(--acier); font-size: 14px; }
.vehicule .prix { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; margin-top: 4px; }

/* ---------- Formulaires ---------- */
.formulaire { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.formulaire h2 { font-size: clamp(36px, 4.6vw, 64px); text-transform: uppercase; line-height: .92; letter-spacing: -.045em; }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.champ { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.champ.large { grid-column: 1 / -1; }
label, legend { font-size: 13px; font-weight: 700; }
label .opt { font-weight: 500; color: var(--acier); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--noir); background: var(--blanc); border: 1px solid var(--filet); border-radius: 0; padding: 13px 14px; width: 100%; min-height: 52px; transition: border-color .2s ease, box-shadow .2s ease; -webkit-appearance: none; appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111111' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
textarea { min-height: 140px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--acier); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--noir); box-shadow: 0 0 0 3px rgba(212,0,0,.16); }
input[aria-invalid="true"] { border-color: var(--rouge); }
::placeholder { color: var(--acier); opacity: .8; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 8px; }
.segments { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--filet); }
.segments label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 50px; cursor: pointer; font-weight: 600; font-size: 15px; transition: background-color .2s ease, color .2s ease; }
.segments label + label { border-left: 1px solid var(--filet); }
.segments input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; }
.segments label:has(input:checked) { background: var(--noir); color: var(--blanc); }
.segments label:has(input:focus-visible) { outline: 2px solid var(--rouge); outline-offset: -2px; }
.envoi { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.message-form { grid-column: 1 / -1; font-size: 14px; font-weight: 600; padding: 14px 16px; background: var(--atelier); color: var(--noir); border-left: 3px solid var(--rouge); }
.carte-form { background: var(--blanc); color: var(--noir); padding: clamp(28px, 4vw, 44px); border: 1px solid var(--filet); }
.carte-form > h2 { font-size: 22px; text-transform: uppercase; margin-bottom: 26px; display: flex; align-items: center; }
.piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Le garage ---------- */
.garage { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; align-items: stretch; }
.garage .photo { min-height: 420px; }
.garage .texte { display: flex; flex-direction: column; justify-content: flex-end; gap: 32px; }
.garage .texte > p { font-size: 22px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.garage dl { display: grid; grid-template-columns: auto 1fr; border-top: 2px solid var(--noir); font-size: 16px; }
.garage dt, .garage dd { padding-block: 14px; border-bottom: 1px solid var(--filet); }
.garage dt { color: var(--acier); padding-right: 32px; }
.garage dd { font-weight: 700; text-align: right; }
.equipe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 8px; }
.membre { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 32px; border-bottom: 1px solid var(--filet); }
.membre h3 { font-size: clamp(32px, 3.4vw, 48px); text-transform: uppercase; display: flex; align-items: center; }
.membre a { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; transition: color .2s ease; white-space: nowrap; }
.membre a:hover { color: var(--rouge); }

.histoire-texte { display: flex; flex-direction: column; gap: 16px; font-size: 18px; max-width: 40em; }
.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.galerie .photo { aspect-ratio: 4 / 3; }
.galerie .photo:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 96px; align-items: start; }
.coord > div { padding-block: 20px; border-bottom: 1px solid var(--filet); display: flex; flex-direction: column; gap: 6px; }
.coord > div:first-child { padding-top: 0; }
.coord dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--acier); display: flex; justify-content: space-between; gap: 12px; }
.coord dt .statut { letter-spacing: 0; text-transform: none; }
.coord dd { font-size: 19px; font-weight: 700; line-height: 1.4; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.coord dd a { transition: color .2s ease; }
.coord dd a:hover { color: var(--rouge); }
.coord .horaires { display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: 4px 24px; font-size: 17px; }
.coord .horaires span:nth-child(even) { text-align: right; }
.coord .horaires .aujourdhui { color: var(--rouge); }
.contact .btn { margin-top: 32px; }
.contact h2 { font-size: clamp(32px, 3.6vw, 48px); text-transform: uppercase; margin-bottom: 32px; display: flex; align-items: center; }

/* ---------- Mentions légales ---------- */
.legal > * { max-width: 860px; }
.legal h2 { font-size: 26px; text-transform: uppercase; margin: 64px 0 20px; display: flex; align-items: center; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: 14px; color: var(--acier); }
.legal dl { display: grid; grid-template-columns: minmax(150px, 260px) 1fr; border-top: 2px solid var(--noir); font-size: 15px; }
.legal dt, .legal dd { padding: 13px 0; border-bottom: 1px solid var(--filet); }
.legal dt { font-weight: 700; }
.legal dd { color: var(--acier); }
.legal .ph { color: var(--rouge); font-weight: 700; }

/* ---------- 404 ---------- */
.introuvable .wrap { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 32px; padding-block: 80px; }
.introuvable h1 { font-size: clamp(56px, 9vw, 128px); text-transform: uppercase; line-height: .9; letter-spacing: -.05em; display: flex; align-items: center; }

/* ---------- Pied de page ---------- */
.pied { background: var(--noir); color: var(--filet); font-size: 15px; border-top: 1px solid var(--filet-sombre); }
.pied .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: center; padding-block: 44px; }
.pied ul { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; }
.pied a { transition: color .2s ease; }
.pied a:hover { color: var(--blanc); }
.pied .mentions { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 13px; color: var(--acier); text-align: right; }
.pied .mentions a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Barre d'actions mobile ---------- */
.barre-mobile { display: none; }

/* ---------- Bandeau maquette (version locale uniquement) ---------- */
.maquette { background: var(--atelier); border-bottom: 1px solid var(--filet); font-size: 13px; color: var(--acier); }
.maquette .wrap { padding-block: 8px; text-align: center; }
.maquette b { color: var(--rouge); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; margin-right: 8px; }

/* ---------- Apparition au défilement ---------- */
.revele { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .revele.attente { opacity: 0; transform: translateY(24px); }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .entete .wrap { gap: 32px; }
  .nav ul { gap: 22px; }
  .nav .tel { display: none; }
}
@media (max-width: 960px) {
  :root { --entete: 68px; }
  .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
  .burger { display: block; }
  .nav { position: fixed; top: var(--entete); left: 0; right: 0; height: calc(100dvh - var(--entete)); overflow-y: auto; background: var(--blanc); padding: 8px 24px calc(32px + env(safe-area-inset-bottom, 0px)); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 32px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .3s var(--ease), visibility 0s .3s; }
  .nav.ouvert { transform: none; opacity: 1; visibility: visible; transition: opacity .25s ease, transform .3s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul li { border-bottom: 1px solid var(--filet); }
  .nav ul a { padding: 18px 0; font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; }
  .nav ul a::after { display: none; }
  .nav ul a[aria-current="page"] { color: var(--rouge); }
  .nav .droite { flex-direction: column; align-items: stretch; gap: 20px; }
  .nav .tel { display: flex; align-items: flex-start; }
  .nav .tel a { font-size: 24px; }
  .nav .btn { width: 100%; }
  body.menu-ouvert { overflow: hidden; }
  .ouverture .wrap, .final .wrap, .formulaire, .garage, .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ouverture .photo { min-height: 0; aspect-ratio: 16 / 10; }
  .garage .photo { min-height: 0; aspect-ratio: 4 / 3; }
  .pratique .wrap { grid-template-columns: minmax(0, 1fr); }
  .pratique .case, .pratique .case + .case { padding: 22px 0; border-left: 0; }
  .pratique .case + .case { border-top: 1px solid var(--filet-sombre); }
  .metier { grid-template-columns: minmax(0, 1fr) 32px; gap: 6px 16px; padding-block: 24px; }
  .metier p { grid-column: 1; grid-row: 2; font-size: 15px; }
  .metier .i { grid-column: 2; grid-row: 1 / span 2; }
  .metier::before { inset: 0 -24px; }
  .volets { grid-template-columns: minmax(0, 1fr); }
  .grille-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerie .photo:first-child { grid-row: auto; aspect-ratio: 16 / 9; }
  .volet { min-height: 0; }
  .final::after { right: -2px; width: 12px; }
  .final .droite { padding-right: 0; }
  .prestation { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tete-prestation { position: static; flex-direction: row; align-items: center; }
  .vehicules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equipe { grid-template-columns: minmax(0, 1fr); }
  .pied .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; justify-items: start; }
  .pied ul { justify-content: flex-start; }
  .pied .mentions { align-items: flex-start; text-align: left; }
  .barre-mobile { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; background: var(--noir); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .barre-mobile a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; color: var(--blanc); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  .barre-mobile a + a { border-left: 1px solid var(--filet-sombre); }
  .barre-mobile a.principal { background: var(--rouge); }
  .barre-mobile .i { width: 18px; height: 18px; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 600px) {
  .wrap { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
  .nav { padding-left: 18px; padding-right: 18px; }
  .logo .can, .logo .num { font-size: 17px; }
  .ouverture .actions .btn, .final .actions .btn, .stock .btn { flex: 1 1 100%; }
  .final .numero { font-size: clamp(32px, 10.5vw, 52px); }
  .titre { flex-direction: column; align-items: flex-start; gap: 16px; }
      .vehicules, form, .grille-services { grid-template-columns: minmax(0, 1fr); }
  .service-carte { padding: 32px 24px; }
  .galerie { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .galerie .photo:first-child { grid-column: auto; }
  .membre { flex-direction: column; align-items: flex-start; gap: 8px; }
  .legal dl { grid-template-columns: minmax(0, 1fr); }
  .legal dt { padding-bottom: 0; border-bottom: 0; }
  .legal dd { padding-top: 2px; }
}
@media (hover: none) {
  .btn:hover { transform: none; }
  .btn:hover > span { transform: none; }
  .btn:active { transform: skewX(var(--angle)); }
  .btn:active > span { transform: skewX(calc(var(--angle) * -1)); }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.stock .compte-stock { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; font-size: 18px; font-weight: 600; color: var(--acier); }
.stock .compte-stock b { font-size: clamp(32px, 3.2vw, 46px); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--noir); }
.stock .compte-stock b.ph { font-size: clamp(28px, 2.6vw, 36px); color: var(--rouge); }
.stock p:not(.compte-stock) { font-size: 17px; font-weight: 500; color: var(--acier); letter-spacing: 0; }
.gris .photo { background-color: var(--blanc); }

/* ---------- Vitrine des véhicules ---------- */
a.vehicule { display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--filet); transition: border-color .3s ease, transform .35s var(--ease); }
a.vehicule:hover { border-color: var(--noir); transform: translateY(-4px); }
.vehicule .visuel { position: relative; aspect-ratio: 4 / 3; background: var(--atelier); overflow: hidden; display: grid; place-items: center; }
.vehicule .visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.vehicule:hover .visuel img { transform: scale(1.03); }
.vehicule .sans-photo { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--acier); }
a.vehicule .corps { padding: 18px 20px 22px; }
.vehicule .version { color: var(--acier); font-size: 14px; }
.vehicule.vendu .visuel img { filter: grayscale(1); opacity: .55; }
.vehicule.vendu .corps { opacity: .6; }
.vehicule.vendu .prix { color: var(--rouge); }
.plaque-vendu { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%) skewX(var(--angle)); background: var(--rouge); color: var(--blanc); padding: 10px 26px; font-size: 20px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 0 0 4px var(--blanc), 0 0 0 6px var(--rouge); }
.vehicules .vide { grid-column: 1 / -1; padding: 32px 0; color: var(--acier); font-size: 17px; }

/* ---------- Fiche véhicule ---------- */
.titre-vehicule { font-size: clamp(36px, 5.6vw, 80px) !important; }
.fiche { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px 56px; align-items: start; }
.galerie-vehicule .principale { position: relative; aspect-ratio: 4 / 3; background: var(--atelier); overflow: hidden; }
.galerie-vehicule .principale img { width: 100%; height: 100%; object-fit: cover; }
.galerie-vehicule .principale.photo { display: flex; }
.vendu-fiche img, .fiche:has(.infos-vehicule.vendu) .galerie-vehicule img { filter: grayscale(1); opacity: .6; }
.vignettes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.vignettes button { padding: 0; border: 0; background: var(--atelier); aspect-ratio: 4 / 3; cursor: pointer; overflow: hidden; outline-offset: 2px; opacity: .65; transition: opacity .2s ease; }
.vignettes button:hover, .vignettes button[aria-current="true"] { opacity: 1; }
.vignettes button[aria-current="true"] { outline: 2px solid var(--rouge); }
.vignettes img { width: 100%; height: 100%; object-fit: cover; }
.infos-vehicule { position: sticky; top: calc(var(--entete) + 24px); display: flex; flex-direction: column; gap: 14px; }
.infos-vehicule .prix { font-size: clamp(34px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.infos-vehicule.vendu .prix { color: var(--rouge); text-transform: uppercase; }
.infos-vehicule .carac { color: var(--acier); font-weight: 600; }
.infos-vehicule dl { display: grid; grid-template-columns: auto 1fr; border-top: 2px solid var(--noir); margin-top: 8px; font-size: 15px; }
.infos-vehicule dt, .infos-vehicule dd { padding-block: 11px; border-bottom: 1px solid var(--filet); }
.infos-vehicule dt { color: var(--acier); padding-right: 24px; }
.infos-vehicule dd { font-weight: 700; text-align: right; }
.infos-vehicule .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.deja-vendu { font-weight: 600; padding: 14px 16px; background: var(--atelier); border-left: 3px solid var(--rouge); }
.description-vehicule { grid-column: 1 / 2; max-width: 46em; }
.description-vehicule h2 { font-size: 26px; text-transform: uppercase; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--noir); }
.description-vehicule p { font-size: 17px; line-height: 1.7; margin-bottom: 14px; }
@media (max-width: 960px) {
  .fiche { grid-template-columns: minmax(0, 1fr); }
  .infos-vehicule { position: static; }
  .description-vehicule { grid-column: auto; }
}

/* Emplacements photo remplis depuis l'interface de gestion */
.photo.a-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
