/* Éclat Mobile — maquette approuvée du 2026-11-27
   Noir profond et anthracite, titres blanc cassé, gris lisible pour les descriptions,
   vert Éclat réservé aux actions et à quelques repères. Bordures fines, arrondis discrets. */
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}
:root {
  --noir: #070809;
  --anthracite: #0f1213;
  --anthracite-2: #15191a;
  --anthracite-3: #1b2021;
  --trait: #252b2d;
  --trait-2: #353c3f;
  --titre: #f3f2ee;
  --texte: #c3c9c7;
  --doux: #99a29f;
  --vert: #64dc22;
  --vert-vif: #7bf037;
  --rouge: #ff7b70;
  --entete: 72px;
  --large: 1240px;
  --marge: clamp(20px, 5vw, 48px);
  --rayon: 8px;
  --rayon-p: 6px;
  --sortie: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--noir); color: var(--texte); font: 400 1rem/1.6 "Instrument Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.fige { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, picture { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
h1, h2, h3 { color: var(--titre); text-wrap: balance; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--vert-vif); outline-offset: 3px; border-radius: 3px; }
.sprite { position: absolute; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.large { width: min(100%, calc(var(--large) + 2 * var(--marge))); margin-inline: auto; padding-inline: var(--marge); }
.evitement { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--vert); color: #000; padding: 12px 18px; border-radius: var(--rayon-p); font-weight: 600; }
.evitement:focus { top: 12px; }
.insecable { white-space: nowrap; }
.lien { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color .2s, color .2s; }
.lien:hover { text-decoration-color: var(--vert); }

/* Titres de section : trait vert, titre court */
.surtitre { color: #c9cfcd; font-size: .8125rem; font-weight: 600; letter-spacing: .2em; line-height: 1.5; text-transform: uppercase; }
/* Titres : la largeur étroite d’Instrument Sans donne aux titres une allure automobile, sans seconde police */
.hero h1, .titre-sec, .apercu__tete h1, .vue__tete h1, .appel h2, .vedette__titre, .avap__titre, .aide-choix h2 { font-stretch: 84%; }
.titre-sec { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.04; }

/* Boutons et liens d'action */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--rayon-p); font-weight: 600; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.btn--vert { background: var(--vert); color: #050605; }
.btn--vert:hover { background: var(--vert-vif); }
.btn--contour { border-color: var(--vert); color: var(--vert); }
.btn--contour:hover { background: rgb(100 220 34 / .1); }
.btn--ligne { border-color: rgb(243 242 238 / .34); color: var(--titre); }
.btn--ligne:hover { border-color: var(--titre); background: rgb(243 242 238 / .06); }
.btn--clair { background: var(--titre); color: #050605; }
.btn--clair:hover { background: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--titre); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; text-decoration-color: var(--trait-2); transition: text-decoration-color .2s; }
.lien-fleche span { transition: transform .25s var(--sortie); }
.lien-fleche:hover { text-decoration-color: var(--vert); }
.lien-fleche:hover span { transform: translateX(3px); }
.rond { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--trait-2); border-radius: 50%; color: var(--titre); background: rgb(7 8 9 / .6); transition: border-color .2s, background-color .2s; }
.rond:hover { border-color: var(--texte); }
.rond[disabled] { opacity: .35; cursor: default; }

/* ------------------------------------------------ En-tête compact */
/* Le flou est porté par une couche décorative : posé sur l'en-tête, il enfermerait le menu mobile (position fixe) dans ses 64 px. */
.entete { position: sticky; top: 0; z-index: 50; isolation: isolate; border-bottom: 1px solid transparent; transition: border-color .3s; }
.entete::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(7 8 9 / .82); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); transition: background-color .3s; }
.entete[data-defile] { border-bottom-color: var(--trait); }
.entete[data-defile]::before, .entete:has(.nav[data-ouvert])::before { background: rgb(7 8 9 / .96); }
.entete__rang { display: flex; align-items: center; gap: 28px; height: var(--entete); }
.entete__logo { flex: none; display: block; width: 52px; border-radius: 50%; }
.entete__logo img { width: 100%; }
.nav { display: flex; align-items: center; flex: 1; min-width: 0; }
.nav__liens { display: flex; align-items: center; gap: 30px; padding-left: 28px; border-left: 1px solid var(--trait-2); }
.nav__liens a { position: relative; display: block; padding: 10px 0; color: var(--texte); text-decoration: none; font-weight: 500; transition: color .2s; }
.nav__liens a:hover, .nav__liens a[aria-current] { color: var(--titre); }
.nav__liens a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: var(--vert); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--sortie); }
.nav__liens a[aria-current]::after { transform: scaleX(1); }
.nav__plus { display: none; }
.entete__action { margin-left: auto; min-height: 42px; padding: 9px 20px; font-size: .95rem; }
.burger { display: none; position: relative; width: 44px; height: 44px; color: var(--titre); }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .3s var(--sortie), top .3s var(--sortie); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span { top: 21.5px; }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* ------------------------------------------------ Accueil : texte à gauche, Audi à droite */
.hero { position: relative; display: grid; align-items: center; min-height: clamp(560px, calc(100svh - var(--entete) - 110px), 780px); overflow: hidden; isolation: isolate; }
.hero__photo { position: absolute; top: 0; right: 0; bottom: 0; z-index: -1; width: min(66%, 1440px); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 26% 60%; }
/* Fondu vers le noir du côté du texte et en bas seulement : la porte de garage et le trottoir s'effacent, la carrosserie reste claire */
.hero__photo::before, .hero__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero__photo::before { background: linear-gradient(90deg, var(--noir) 0%, rgb(7 8 9 / .82) 8%, rgb(7 8 9 / .35) 19%, rgb(7 8 9 / 0) 30%); }
.hero__photo::after { background: radial-gradient(55% 48% at 0% 0%, rgb(7 8 9 / .72) 0%, rgb(7 8 9 / 0) 100%), linear-gradient(180deg, rgb(7 8 9 / .45) 0%, rgb(7 8 9 / 0) 16%, rgb(7 8 9 / 0) 80%, var(--noir) 100%); }
.hero__texte { position: relative; display: grid; gap: 20px; width: min(100%, calc((100vw - var(--large)) / 2 + 560px)); padding: 56px 24px 72px max(var(--marge), calc((100vw - var(--large)) / 2)); }
.hero h1 { font-size: clamp(2.75rem, 5vw, 4.75rem); font-weight: 600; letter-spacing: -.035em; line-height: .98; max-width: 13ch; }
.hero__intro { max-width: 34ch; color: var(--texte); font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 10px; }
.hero__actions .btn { min-height: 52px; padding-inline: 26px; }

/* Bande d'informations */
.bande { border-block: 1px solid var(--trait); background: var(--anthracite); }
.bande__rang { display: grid; grid-template-columns: repeat(3, 1fr); }
.bande li { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 20px 16px; color: var(--titre); }
.bande__texte { display: grid; gap: 1px; line-height: 1.35; }
.bande__texte strong { font-weight: 600; }
.bande__texte span { color: var(--doux); font-size: .9375rem; }
.bande__note { padding: 0 0 14px; color: var(--doux); font-size: .875rem; text-align: center; }
.bande li + li { border-left: 1px solid var(--trait-2); }
.bande .ico { width: 26px; height: 26px; color: var(--texte); }

/* ------------------------------------------------ Services : cartes photographiques */
.services { padding-block: clamp(64px, 8vw, 112px) clamp(56px, 7vw, 96px); }
.cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(28px, 3vw, 40px); }
.carte { position: relative; display: block; color: inherit; text-decoration: none; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--anthracite-2); text-align: left; isolation: isolate; transition: border-color .3s; }
.carte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--sortie); }
.carte::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / 0) 38%, rgb(0 0 0 / .55) 64%, rgb(0 0 0 / .88) 100%); }
.carte__texte { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 3px; padding: 18px 20px 16px; }
.carte__titre { color: var(--titre); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.carte__desc { color: #d2d7d5; font-size: .95rem; line-height: 1.4; }
.carte__lien { display: inline-flex; gap: 6px; margin-top: 6px; color: var(--titre); font-size: .95rem; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .32em; text-decoration-color: rgb(255 255 255 / .35); }
.carte:hover { border-color: var(--trait-2); }
.carte:hover img { transform: scale(1.035); }
.carte:hover .carte__lien { text-decoration-color: var(--vert); }
.carte:focus-visible { outline-offset: 3px; }
.services__pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; margin-top: 26px; color: var(--doux); font-size: .95rem; }

/* ------------------------------------------------ Accueil : l'esthétique automobile en vedette, les autres expertises en liste */
.vitrine { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3.2vw, 48px); margin-top: clamp(28px, 3vw, 40px); align-items: start; }
.vedette { display: grid; overflow: hidden; border-radius: 14px; background: var(--anthracite); }
.vedette__photo { display: block; overflow: hidden; }
.vedette__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--sortie); }
.vedette:hover .vedette__photo img { transform: scale(1.02); }
.vedette__texte { display: grid; gap: 8px; padding: 22px 24px 24px; }
.vedette__titre { font-size: clamp(1.625rem, 2.4vw, 2.125rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
.vedette__phrase { color: var(--texte); }
.vedette__liens { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
@media (max-width: 559px) { .vedette__liens { display: grid; grid-template-columns: 1fr 1fr; } .vedette__liens a { justify-content: center; } }
.vedette__liens a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--anthracite-2); color: var(--titre); font-size: .9375rem; font-weight: 500; text-decoration: none; transition: background-color .2s, color .2s; }
.vedette__liens a:hover { background: var(--titre); color: #050605; }
.expertises { display: grid; align-content: start; border-top: 1px solid var(--trait); }
.expertise { display: grid; grid-template-columns: 58px minmax(0, 1fr) 20px; align-items: center; gap: 16px; min-height: 84px; padding: 14px 2px; border-bottom: 1px solid var(--trait); color: inherit; text-decoration: none; }
.expertise__dessin { display: grid; place-items: center; height: 44px; color: #66706d; transition: color .2s; }
.expertise__dessin svg { width: 56px; aspect-ratio: 72 / 30; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.expertise__dessin .teinte { fill: currentColor; stroke: none; opacity: .5; }
.expertise__texte { display: grid; gap: 2px; min-width: 0; }
.expertise__titre { color: var(--titre); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.expertise__phrase { color: var(--doux); font-size: .9375rem; line-height: 1.4; }
.expertise__fleche { width: 20px; height: 20px; color: var(--doux); transition: transform .2s var(--sortie), color .2s; }
.expertise:hover .expertise__dessin, .expertise:hover .expertise__fleche { color: var(--titre); }
.expertise:hover .expertise__fleche { transform: translateX(3px); }
.services__pied { margin-top: clamp(28px, 3vw, 40px); }

/* ------------------------------------------------ Accueil : familles de services
   Quatre familles photographiées, trois en texte seul (aucune photo de métaux, de meubles ni d'atelier). */
.cartes--familles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cartes--familles .carte { aspect-ratio: 16 / 9; }
.familles-texte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.famille-lien { display: grid; gap: 4px; align-content: start; height: 100%; padding: 22px 22px 18px; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--anthracite); color: inherit; text-decoration: none; transition: border-color .3s; }
.famille-lien:hover { border-color: var(--trait-2); }
.famille-lien:hover .carte__lien { text-decoration-color: var(--vert); }
.famille-lien__titre { color: var(--titre); font-size: 1.1875rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.famille-lien__desc { color: var(--texte); font-size: .95rem; line-height: 1.45; }
.famille-lien .carte__lien { text-decoration-color: var(--trait-2); }

/* ------------------------------------------------ Page « Services » : vue d'ensemble, puis une page par catégorie
   Sobre : fonds plutôt que bordures. Le vert ne sert qu'aux prix, au service retenu et à l'action. */
.fil ol { display: flex; flex-wrap: wrap; align-items: center; color: var(--doux); font-size: .875rem; }
.fil li + li::before { content: "/"; margin: 0 10px; color: var(--trait-2); }
.fil a { display: inline-flex; align-items: center; min-height: 44px; color: var(--texte); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; text-decoration-color: rgb(255 255 255 / .3); }
.fil a:hover { color: var(--titre); text-decoration-color: var(--vert); }
.tarifs__zone { max-width: 64ch; color: var(--doux); font-size: .9375rem; line-height: 1.5; }

/* Une vue à la fois : le script de tête choisit avant l'affichage */
.js-categories .vue { display: none; }
.js-categories[data-vue="apercu"] #vue-apercu, .js-categories[data-vue="interieur"] #vue-interieur,
.js-categories[data-vue="exterieur"] #vue-exterieur, .js-categories[data-vue="forfaits"] #vue-forfaits,
.js-categories[data-vue="polissage"] #vue-polissage, .js-categories[data-vue="pellicules"] #vue-pellicules,
.js-categories[data-vue="camions"] #vue-camions, .js-categories[data-vue="metaux"] #vue-metaux,
.js-categories[data-vue="meubles"] #vue-meubles, .js-categories[data-vue="atelier"] #vue-atelier,
.js-categories[data-vue="flottes"] #vue-flottes { display: block; }
.js-categories[data-vue="apercu"] .categories { display: none; }
[tabindex="-1"]:focus { outline: none; }

/* Vue d'ensemble : les dix catégories en cartes, regroupées */
.vue--apercu { padding-bottom: clamp(56px, 7vw, 96px); }
.apercu__tete { display: grid; gap: 14px; padding-top: clamp(20px, 3vw, 36px); }
.apercu__tete h1 { max-width: 16ch; font-size: clamp(2.375rem, 5vw, 4rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.apercu__intro { max-width: 52ch; color: var(--texte); font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.55; }
.apercu__groupe { margin-top: clamp(40px, 5vw, 64px); }
.apercu__titre { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; color: var(--titre); font-size: clamp(1.125rem, 1.6vw, 1.3125rem); font-weight: 600; letter-spacing: -.01em; }
.apercu__titre::before { content: ""; width: 26px; height: 2px; background: var(--vert); }
.apercus { display: grid; gap: 16px; }
.apercus--quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.apercus--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.apercu { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 14px; background: var(--anthracite); color: inherit; text-decoration: none; isolation: isolate; transition: background-color .25s; }
.apercu__media { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--anthracite-2); transition: transform .7s var(--sortie); }
.apercu__media--dessin, .vue__media--dessin { display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 100%, #1a1f20 0%, var(--anthracite-2) 60%); color: #59625f; }
.apercu__media--dessin svg { width: 42%; max-width: 150px; aspect-ratio: 72 / 30; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; transition: color .25s; }
.apercu__texte { display: grid; flex: 1; gap: 6px; align-content: start; padding: 18px 20px 20px; }
.apercu__nom { color: var(--titre); font-size: 1.1875rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.apercu__phrase { color: var(--texte); font-size: .9375rem; line-height: 1.5; }
.apercu__lien { align-self: end; margin-top: 8px; color: var(--titre); font-size: .9375rem; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .32em; text-decoration-color: var(--trait-2); transition: text-decoration-color .2s; }
.apercu:hover { background: var(--anthracite-2); }
.apercu:hover .apercu__lien { text-decoration-color: var(--vert); }
.apercu:hover img.apercu__media { transform: scale(1.03); }
.apercu:hover .apercu__media--dessin { color: #7b8582; }
.apercu:focus-visible { outline-offset: 3px; }

/* Barre des pages détaillées, collée sous l'en-tête : retour à la vue d'ensemble, autres catégories */
.categories { position: sticky; top: var(--entete); z-index: 40; border-bottom: 1px solid var(--trait); background: rgb(7 8 9 / .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.categories__rang { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.retour-apercu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--titre); font-weight: 500; text-decoration: none; }
.retour-apercu .ico { width: 18px; height: 18px; transition: transform .25s var(--sortie); }
.retour-apercu span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .32em; text-decoration-color: var(--trait-2); transition: text-decoration-color .2s; }
.retour-apercu:hover span { text-decoration-color: var(--vert); }
.retour-apercu:hover .ico { transform: translateX(-3px); }
.familles { position: relative; }
.familles summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 16px; border-radius: 999px; background: var(--anthracite-2); color: var(--titre); font-size: .9375rem; font-weight: 500; cursor: pointer; list-style: none; white-space: nowrap; }
.familles summary::-webkit-details-marker { display: none; }
.familles summary:hover { background: var(--anthracite-3); }
.familles summary .ico { width: 18px; height: 18px; transition: transform .25s var(--sortie); }
.familles[open] summary .ico { transform: rotate(180deg); }
.familles__liste { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; display: grid; gap: 2px; width: min(360px, calc(100vw - 2 * var(--marge))); max-height: calc(100svh - var(--entete) - 96px); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid var(--trait-2); border-radius: 14px; background: #111516; box-shadow: 0 22px 44px rgb(0 0 0 / .6); }
.familles__liste a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 6px 14px; border-radius: 10px; color: var(--texte); font-size: .9688rem; font-weight: 500; text-decoration: none; }
.familles__liste a:hover { background: var(--anthracite-3); color: var(--titre); }
.familles__liste a[aria-current] { background: var(--anthracite-3); color: var(--titre); font-weight: 600; }
.familles__liste .ico { flex: none; width: 18px; height: 18px; color: var(--vert); stroke-width: 2.4; opacity: 0; }
.familles__liste a[aria-current] .ico { opacity: 1; }

/* Page d'une catégorie : titre, présentation et photo (ou dessin), puis les services */
.vue:not(.vue--apercu) { padding: clamp(28px, 4vw, 52px) 0 clamp(56px, 7vw, 96px); }
.vue__tete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.vue__texte { display: grid; gap: 14px; align-content: center; }
.vue__tete h1 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.06; }
.vue__presentation { max-width: 54ch; color: var(--texte); font-size: 1.0625rem; line-height: 1.55; }
.vue__media { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.vue__media--dessin svg { width: 46%; max-width: 230px; aspect-ratio: 72 / 30; fill: none; stroke: currentColor; stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; }
.vue__tete--dessin .vue__media { aspect-ratio: 16 / 7; }
.vue__services { margin-top: clamp(32px, 4vw, 48px); }
.categorie__aide { color: var(--doux); font-size: .875rem; line-height: 1.45; }
.vehicule-commun { display: grid; gap: 10px; max-width: 640px; margin-top: clamp(28px, 3.5vw, 44px); }
.vehicule-commun + .vue__services { margin-top: clamp(28px, 3vw, 40px); }

/* Choix à segments : véhicule, pose, gamme, formule, taille de flotte */
.segments legend { padding: 0; margin-bottom: 10px; color: var(--titre); font-size: .9375rem; font-weight: 600; }
.segments__rang { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 3px; border-radius: 999px; background: var(--anthracite-2); }
.segments label { position: relative; min-width: 0; cursor: pointer; }
.segments input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.segments span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 12px; border-radius: 999px; color: var(--texte); font-size: .9375rem; font-weight: 500; line-height: 1.15; text-align: center; white-space: nowrap; transition: background-color .2s, color .2s; }
.segments label:hover span { color: var(--titre); }
.segments input:checked + span { background: var(--titre); color: #050605; font-weight: 600; }
.segments input:focus-visible + span { outline: 2px solid var(--vert-vif); outline-offset: 2px; }
/* Fréquences : libellés longs, toujours en 2 × 2 */
.segments--deux .segments__rang { grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0; border-radius: 0; background: none; }
.segments--deux span { min-height: 48px; border-radius: 12px; background: var(--anthracite-2); color: var(--titre); }

/* Cartes : nom, prix tout de suite, courte description, puis le choix.
   Sur plusieurs colonnes, une sous-grille aligne ces rangées d'une carte à l'autre. */
.forfaits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
@media (min-width: 900px) {
  .forfaits[data-n="3"], .forfaits[data-n="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .forfaits[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) and (max-width: 1179px) { .forfaits[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.forfait { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 22px; border-radius: 14px; background: var(--anthracite); transition: box-shadow .25s; }
@media (min-width: 700px) {
  .forfait { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 10px; }
  .forfait > .btn--choisir { align-self: end; margin-top: 10px; }
}
.forfait__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.forfait__nom { color: var(--titre); font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.forfait__choisi { display: inline-flex; align-items: center; gap: 7px; color: var(--vert); font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.forfait__choisi::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.forfait[data-choisi], .rangee[data-choisi] { box-shadow: inset 0 0 0 1.5px var(--vert); }
.forfait__pour { color: var(--doux); font-size: .9375rem; line-height: 1.5; }
.forfait__pour:empty { display: none; }
.forfait__corps { display: grid; gap: 8px; align-content: start; }
.forfait__plus { color: var(--titre); font-size: .875rem; font-weight: 600; }
.forfait__note { color: var(--doux); font-size: .875rem; }
.forfait__corps:empty { display: none; }
.coches { display: grid; gap: 7px; }
.coches li { position: relative; padding-left: 18px; color: var(--texte); font-size: .9375rem; line-height: 1.45; }
.coches li::before { content: ""; position: absolute; left: 3px; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--trait-2); }
.js-categories .coches:not([data-ouvert]) .inclus__suite { display: none; }
.inclus__tout { display: none; align-items: center; justify-self: start; gap: 6px; min-height: 44px; margin: -6px 0 -8px; color: var(--titre); font-size: .9375rem; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; text-decoration-color: var(--trait-2); transition: text-decoration-color .2s; }
.js-categories .inclus__tout { display: inline-flex; }
.inclus__tout:hover { text-decoration-color: var(--texte); }
.inclus__tout .ico { width: 18px; height: 18px; transition: transform .25s var(--sortie); }
.inclus__tout[aria-expanded="true"] .ico { transform: rotate(180deg); }

/* Prix : même place partout. Montant en vert ; « Sur estimation » en blanc, avec ce que cela veut dire. */
.prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; line-height: 1.2; }
.prix__de { color: var(--doux); font-size: .875rem; }
.prix__montant { color: var(--titre); font-size: 1.625rem; font-weight: 600; font-stretch: 92%; letter-spacing: -.015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prix__pour { color: var(--texte); font-size: .875rem; }
.prix__de:empty, .prix__pour:empty { display: none; }
.prix--estimation .prix__montant { color: var(--titre); font-size: 1.0625rem; font-weight: 500; font-stretch: 100%; letter-spacing: 0; }
.prix--estimation .prix__pour { flex-basis: 100%; color: var(--doux); font-size: .8125rem; }

/* « Choisir » : neutre au repos, vert au survol et pour le service déjà retenu */
.btn--choisir { width: 100%; margin-top: auto; border-color: rgb(243 242 238 / .28); color: var(--titre); }
.btn--choisir:hover, [data-choisi] .btn--choisir { background: var(--vert); border-color: var(--vert); color: #050605; }

/* Listes : services à la carte, à l'unité ou sur estimation. Nom à gauche, prix et choix à droite. */
.groupes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 40px); align-items: start; }
.groupe { margin-top: clamp(36px, 4.5vw, 56px); }
.groupe__titre { color: var(--titre); font-size: 1.1875rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.groupe__aide { max-width: 64ch; margin-top: 4px; color: var(--doux); font-size: .9375rem; line-height: 1.5; }
.groupe .forfaits, .rangees { margin-top: 14px; }
.rangees { border-radius: 14px; background: var(--anthracite); overflow: hidden; }
.rangee { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 6px 18px; min-height: 66px; padding: 12px 14px 12px 18px; border-radius: 14px; }
.rangee + .rangee { border-top: 1px solid var(--trait); border-radius: 0; }
.rangee__texte { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; min-width: 0; }
.rangee__nom { flex-basis: 100%; color: var(--titre); font-size: 1rem; font-weight: 500; line-height: 1.35; }
.rangee__texte:has(.forfait__choisi:not([hidden])) .rangee__nom { flex-basis: auto; }
.rangee__desc { flex-basis: 100%; color: var(--doux); font-size: .875rem; line-height: 1.4; }
.prix--ligne { justify-content: flex-end; text-align: right; }
.prix--ligne .prix__montant { font-size: 1.0625rem; font-stretch: 100%; letter-spacing: 0; }
.prix--ligne .prix__de, .prix--ligne .prix__pour { font-size: .8125rem; }
.prix--ligne.prix--estimation .prix__montant { font-size: .9375rem; }
.prix--ligne.prix--estimation .prix__pour { display: none; }
.rangee__choisir { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1px solid rgb(243 242 238 / .28); border-radius: 999px; color: var(--titre); font-size: .9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s; }
.rangee__choisir:hover, .rangee[data-choisi] .rangee__choisir { background: var(--vert); border-color: var(--vert); color: #050605; }

/* Options et suppléments : repliés sous les services, à cocher */
.categorie__bas { display: grid; gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
.supplements { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 14px clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(36px, 4.5vw, 56px); padding-top: 24px; border-top: 1px solid var(--trait); }
.supplements__tete { display: grid; gap: 4px; }
.aide-choix { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; margin-top: clamp(40px, 5vw, 64px); padding: clamp(22px, 3vw, 32px); border-radius: 14px; background: var(--anthracite); }
.aide-choix h2 { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.aide-choix p { max-width: 56ch; margin-top: 6px; color: var(--texte); }
.aide-choix__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.aide-choix__actions .btn { min-height: 50px; }
.apercu__zone { margin-top: clamp(32px, 4vw, 48px); }
.categorie__bas:empty { display: none; }
.options { border-block: 1px solid var(--trait); }
.options summary { display: flex; align-items: center; gap: 12px; min-height: 60px; cursor: pointer; list-style: none; }
.options summary::-webkit-details-marker { display: none; }
.options__titre { color: var(--titre); font-size: 1.0625rem; font-weight: 600; }
.options__compte { color: var(--doux); font-size: .9375rem; }
.options summary .ico { margin-left: auto; width: 20px; height: 20px; color: var(--texte); transition: transform .25s var(--sortie); }
.options summary:hover .ico { color: var(--titre); }
.options[open] summary .ico { transform: rotate(180deg); }
.options__corps { display: grid; gap: 12px; padding-bottom: 18px; }
.options__aide { color: var(--doux); font-size: .875rem; line-height: 1.45; }
.note { max-width: 75ch; color: var(--doux); font-size: .875rem; line-height: 1.55; }
.notes { display: grid; gap: 8px; margin-top: clamp(28px, 3.5vw, 44px); }

/* Configurateurs : pellicules et flottes */
.config { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(36px, 4vw, 52px); }
.config__choix, .config__resultat, .config [data-portee] { display: grid; gap: 22px; }
.config [data-portee][hidden], .config [data-mode][hidden] { display: none; }
.lignes legend { padding: 0; margin-bottom: 10px; color: var(--titre); font-size: .9375rem; font-weight: 600; }
.lignes__liste { border-radius: 14px; background: var(--anthracite); overflow: hidden; }
.ligne { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 54px; padding: 10px 18px; cursor: pointer; transition: background-color .2s; }
.ligne + .ligne { border-top: 1px solid var(--trait); }
.ligne input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ligne::before { content: ""; width: 20px; height: 20px; border: 1.6px solid var(--trait-2); border-radius: 50%; transition: border-color .2s, background-color .2s; }
.ligne:has(input[type="checkbox"])::before { border-radius: 5px; }
.ligne:hover::before { border-color: var(--doux); }
.ligne__nom { color: var(--titre); font-weight: 500; }
.ligne__prix { color: var(--titre); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.ligne:has(input:checked) { background: var(--anthracite-3); }
.ligne:has(input:checked)::before { border-color: var(--vert); background: var(--vert); box-shadow: inset 0 0 0 4px var(--anthracite-3); }
.ligne:has(input[type="checkbox"]:checked)::before { box-shadow: none; }
.ligne:has(input[type="checkbox"]:checked)::after { content: ""; position: absolute; left: 24px; top: 50%; width: 9px; height: 5px; margin-top: -4px; border: solid #000; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.ligne:has(input:focus-visible) { outline: 2px solid var(--vert-vif); outline-offset: -2px; }
.config__total { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: 14px; background: var(--anthracite); }
.config__total .prix { display: grid; justify-items: end; gap: 2px; text-align: right; }
.config__resume { color: var(--texte); line-height: 1.45; }
.config__resultat--carte { gap: 14px; padding: 26px 24px 24px; border-radius: 14px; background: var(--anthracite); }
.config__resultat--carte > .config__resume { color: var(--doux); font-size: .9375rem; }
.config__resultat .btn--choisir { margin-top: 4px; }

/* Appel final : estimation et retour à l'accueil */
.appel { border-top: 1px solid var(--trait); background: var(--anthracite); }
.appel__rang { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 48px; padding-block: clamp(36px, 5vw, 56px); }
.appel h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.appel p { margin-top: 8px; max-width: 52ch; color: var(--texte); }
.appel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* Formulaire : sous-groupes de services, prix de référence, mention de réservation */
.sous-legende { margin: 16px 0 8px; color: var(--f-doux); font-size: .875rem; font-weight: 500; }
legend + .sous-legende { margin-top: 0; }
.reference { padding: 14px 16px; border-radius: var(--rayon-p); background: var(--f-champ); color: var(--f-texte); line-height: 1.5; white-space: pre-line; }
.reference b { display: block; margin-bottom: 2px; color: var(--f-doux); font-size: .875rem; font-weight: 500; }
.devis__reservation { color: var(--f-doux); font-size: .875rem; line-height: 1.5; }

/* Réalisations : une courte sélection en carrousel, puis l’avant/après */
.realisations__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; }
.realisations__tete p { color: var(--doux); }
/* Carrousel : aligné sur le texte, ouvert à droite. La photo active en pleine lumière, la suivante en retrait.
   Défilement natif (doigt, pavé tactile) avec arrêt sur chaque photo ; flèches et clavier en plus. Aucun défilement automatique. */
.carrousel { --gauche: max(var(--marge), calc((100% - var(--large)) / 2)); --diapo: min(68vw, 900px, calc((100svh - 250px) * 1.5)); --ecart: clamp(12px, 1.6vw, 22px); margin-top: clamp(28px, 3.4vw, 44px); }
.carrousel__piste { position: relative; display: flex; gap: var(--ecart); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline-start: var(--gauche); padding: 6px 0 6px var(--gauche); scrollbar-width: none; clip-path: inset(0 0 0 calc(var(--gauche) - 6px)); }
.carrousel__piste::-webkit-scrollbar { display: none; }
.carrousel__piste::after { content: ""; flex: 0 0 calc(100% - var(--diapo) - var(--ecart)); }
.carrousel__diapo { flex: 0 0 var(--diapo); scroll-snap-align: start; }
.carrousel__photo { position: relative; display: block; overflow: hidden; border-radius: 14px; background: #000; transition: opacity .6s var(--sortie); }
.carrousel__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--sortie); }
.carrousel[data-pret] .carrousel__diapo:not([data-actif]) .carrousel__photo { opacity: .32; }
.carrousel[data-pret] .carrousel__diapo:not([data-actif]) .carrousel__photo:hover { opacity: .5; }
.carrousel__diapo[data-actif] .carrousel__photo { cursor: zoom-in; }
.carrousel__diapo[data-actif] .carrousel__photo:hover img { transform: scale(1.015); }
.carrousel__photo:focus-visible { outline-offset: 3px; }
.carrousel__agrandir { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgb(7 8 9 / .6); color: var(--titre); opacity: 0; transition: opacity .3s; }
.carrousel__agrandir .ico { width: 18px; height: 18px; }
.carrousel__diapo[data-actif] .carrousel__agrandir { opacity: 1; }
.carrousel__pied { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 260px) auto auto; align-items: center; gap: 12px 28px; margin-top: 16px; }
.carrousel__legende { color: var(--titre); font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 600; font-stretch: 84%; letter-spacing: -.01em; line-height: 1.2; }
.carrousel__progres { position: relative; height: 2px; overflow: hidden; border-radius: 2px; background: var(--trait-2); }
.carrousel__progres span { position: absolute; inset: 0 auto 0 0; width: calc(100% / var(--n, 5)); background: var(--titre); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .6s var(--sortie); }
.carrousel__compte { color: var(--doux); font-size: .9375rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.carrousel__fleches { display: flex; gap: 8px; }
.rond[aria-disabled="true"] { opacity: .35; cursor: default; }
.rond[aria-disabled="true"]:hover { border-color: var(--trait-2); }
.lecteur { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { .carrousel__photo, .carrousel__photo img, .carrousel__progres span { transition: none; } }
.avap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(56px, 7vw, 100px); }
.avap__cote { display: grid; gap: 14px; align-content: center; }
.avap__titre { font-size: clamp(1.625rem, 2.6vw, 2.25rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
.avap__aide { max-width: 44ch; color: var(--doux); }
.avap .avap__choix { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }

/* Bascule avant/après des réalisations */
.bascule { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; justify-self: start; padding: 3px; border: 1px solid var(--trait-2); border-radius: 999px; background: var(--noir); }
.bascule label { position: relative; cursor: pointer; }
.bascule input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.bascule span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border-radius: 999px; font-weight: 500; white-space: nowrap; transition: background-color .2s, color .2s; }
.bascule input:checked + span { background: var(--titre); color: #000; font-weight: 600; }
.bascule input:focus-visible + span { outline: 2px solid var(--vert-vif); outline-offset: 2px; }

/* ------------------------------------------------ Réalisations : avant/après et galerie */
.realisations { padding-block: clamp(64px, 8vw, 112px); background: var(--anthracite); border-block: 1px solid var(--trait); }
.realisations__grille { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.avap, .details { display: grid; align-content: start; gap: 18px; min-width: 0; }
.avap__scene { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid var(--trait); border-radius: var(--rayon); background: #000; }
.comp { --x: 50%; position: absolute; inset: 0; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.comp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.comp__avant { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.comp__ligne { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.comp__poignee { position: absolute; left: var(--x); top: 50%; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: #0b0c0c; box-shadow: 0 4px 18px rgb(0 0 0 / .35); pointer-events: none; }
.comp__poignee .ico { width: 16px; height: 16px; stroke-width: 2.2; }
.comp__poignee .ico + .ico { margin-left: -2px; }
.comp__marque { position: absolute; bottom: 14px; z-index: 1; padding: 5px 12px; border-radius: 4px; font-size: .85rem; font-weight: 600; line-height: 1.2; pointer-events: none; transition: opacity .2s; }
.comp__marque--avant { left: 14px; background: rgb(7 8 9 / .82); color: var(--titre); }
.comp__marque--apres { right: 14px; background: var(--vert); color: #050605; }
.comp[data-bord="gauche"] .comp__marque--avant, .comp[data-bord="droite"] .comp__marque--apres { opacity: 0; }
.comp__curseur { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.avap__scene:has(.comp__curseur:focus-visible) { outline: 2px solid var(--vert-vif); outline-offset: 3px; }
.duo { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #000; }
.duo__photo { position: relative; overflow: hidden; }
.duo__photo img { width: 100%; height: 100%; object-fit: cover; }
.duo__bascule { display: none; }
.avap__scene[data-mode="glisser"] .duo, .avap__scene[data-mode="duo"] .comp { display: none; }
.avap__legende, .galerie__legende { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.avap__legende strong, .galerie__legende strong { color: var(--titre); font-weight: 600; }
.avap__legende span, .galerie__legende span { color: var(--doux); }
.avap__choix { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; }
.avap__choix::-webkit-scrollbar { display: none; }
.vig { flex: none; display: grid; gap: 7px; width: 76px; text-align: left; color: var(--doux); font-size: .8125rem; line-height: 1.25; transition: color .2s; }
.vig img { width: 76px; height: 58px; object-fit: cover; border-radius: 5px; border: 1px solid var(--trait); transition: border-color .2s; }
.vig[aria-pressed="true"] { color: var(--titre); }
.vig[aria-pressed="true"] img { border-color: var(--vert); box-shadow: 0 0 0 1px var(--vert); }
.vig:hover { color: var(--titre); }
.galerie__scene { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--trait); border-radius: var(--rayon); background: #000; }
.galerie__piste { display: flex; height: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.galerie__piste::-webkit-scrollbar { display: none; }
.galerie__diapo { flex: 0 0 100%; scroll-snap-align: start; }
.galerie__diapo a { display: block; height: 100%; }
.galerie__diapo img { width: 100%; height: 100%; object-fit: cover; }
.galerie__diapo a:focus-visible { outline-offset: -4px; }
.galerie__fleche { position: absolute; top: 50%; margin-top: -22px; }
.galerie__fleche--prec { left: 12px; }
.galerie__fleche--suiv { right: 12px; }
.galerie__bas { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.galerie__compte { color: var(--doux); font-variant-numeric: tabular-nums; white-space: nowrap; }
.details__note { color: var(--doux); font-size: .9rem; }
@media (hover: hover) and (pointer: fine) { .galerie__piste { cursor: grab; } .galerie__piste[data-glisse] { cursor: grabbing; scroll-snap-type: none; } }

/* ------------------------------------------------ Parcours et flottes */
.parcours { padding-block: clamp(64px, 8vw, 112px); }
.parcours__etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(28px, 3vw, 40px); counter-reset: etape; }
.parcours__etapes li { counter-increment: etape; display: grid; gap: 8px; padding-top: 22px; border-top: 1px solid var(--trait-2); }
.parcours__etapes li::before { content: counter(etape); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 6px; border: 1px solid var(--vert); border-radius: 50%; color: var(--titre); font-weight: 600; font-size: .95rem; }
.parcours__etapes h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.parcours__etapes p { color: var(--doux); max-width: 34ch; }
.flotte { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: clamp(48px, 6vw, 80px); overflow: hidden; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--anthracite); }
.flotte__texte { display: grid; gap: 16px; align-content: center; padding: clamp(24px, 3.4vw, 44px); }
.flotte__texte h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -.02em; }
.flotte__faits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.flotte__faits dt { color: var(--doux); font-size: .875rem; }
.flotte__faits dd { color: var(--titre); line-height: 1.45; }
.flotte__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 4px; }

/* ------------------------------------------------ Demande d'estimation */
.devis {
  --f-champ: #191e1f; --f-survol: #1f2526; --f-bord: #6d7679; --f-trait: #2a3133; --f-texte: #f1f2ef; --f-doux: #aab2b0;
  --f-erreur: #ff7b70; --f-choisi: #17240f;
  color-scheme: dark; padding-block: clamp(64px, 8vw, 112px); background: var(--anthracite); border-top: 1px solid var(--trait);
}
.devis__rang { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.devis__tete { position: sticky; top: calc(var(--entete) + 32px); display: grid; gap: 14px; }
#t-estimation { outline: none; }
.devis__sous { color: var(--titre); font-size: 1.125rem; }
.devis__note, .devis__appel { color: var(--doux); }
.devis__appel .lien { display: inline-block; padding-block: 10px; margin-block: -10px; color: var(--titre); font-weight: 600; white-space: nowrap; }
/* Mode de paiement accepté : simple information, discrète (aucun paiement en ligne) */
.paiement { display: flex; align-items: center; gap: 10px; justify-self: start; color: var(--doux); font-size: .9375rem; line-height: 1.45; }
.paiement .ico { width: 20px; height: 20px; stroke-width: 1.5; }
.pied-page__contact .paiement { margin-top: 8px; }
.devis__carte { min-width: 0; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--trait); border-radius: 10px; background: var(--anthracite-2); color: var(--f-texte); }
.devis :focus-visible { outline-color: var(--vert-vif); }
/* Progression : quatre étapes reliées */
.prog { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 30px; }
.prog li { position: relative; }
.prog li + li::before { content: ""; position: absolute; top: 15px; right: calc(50% + 22px); left: calc(-50% + 22px); height: 1px; background: var(--trait-2); }
.prog li:has(button[data-fait]) + li::before { background: var(--vert); }
.prog button { display: grid; justify-items: center; gap: 8px; width: 100%; min-height: 44px; color: var(--f-doux); font-size: .875rem; font-weight: 500; line-height: 1.2; text-align: center; }
.prog b { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--trait-2); border-radius: 50%; background: var(--anthracite-2); font-weight: 600; font-size: .875rem; color: var(--f-doux); transition: background-color .25s, border-color .25s, color .25s; }
.prog button[aria-current] { color: var(--f-texte); }
.prog button[aria-current] b { background: var(--vert); border-color: var(--vert); color: #050605; }
.prog button[data-fait] b { border-color: var(--vert); color: var(--vert); }
.prog button[disabled] { cursor: default; }
.prog button:not([disabled]):not([aria-current]):hover { color: var(--f-texte); }

.etape { display: grid; gap: 28px; }
.etape > h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.2; outline: none; }
.champ { min-width: 0; }
.champ > label:not(.accord):not(.sr), .champ legend, .etiquette { display: block; padding: 0; margin-bottom: 10px; font-weight: 600; line-height: 1.3; color: var(--f-texte); }
.opt { font-weight: 400; color: var(--f-doux); margin-left: 4px; }
.aide { margin-top: 8px; color: var(--f-doux); font-size: .97rem; line-height: 1.45; }
.aide--seule { margin-top: -16px; }
.champ input[type="text"], .champ input[type="tel"], .champ input[type="email"], .champ textarea { display: block; width: 100%; min-height: 54px; padding: 13px 16px; border: 1px solid var(--f-bord); border-radius: var(--rayon-p); background: var(--f-champ); color: var(--f-texte); caret-color: var(--vert); font-size: 1.0625rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none; }
.champ textarea { resize: vertical; min-height: 116px; field-sizing: content; max-height: 320px; }
.champ input:hover, .champ textarea:hover { border-color: #a3aca9; background: var(--f-survol); }
.champ input[type="text"]:focus, .champ input[type="tel"]:focus, .champ input[type="email"]:focus, .champ textarea:focus { outline: 0; border-color: var(--vert); background: var(--f-survol); box-shadow: 0 0 0 3px rgb(100 220 34 / .22); }
.champ input:-webkit-autofill { -webkit-text-fill-color: var(--f-texte); box-shadow: 0 0 0 100px var(--f-survol) inset; caret-color: var(--vert); }
.champ [aria-invalid="true"] { border-color: var(--f-erreur) !important; }
.champ [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgb(255 123 112 / .2) !important; }
.champ input::placeholder { color: #8f9895; opacity: 1; }
.sous-champ { margin-top: 10px; }
.erreur { margin-top: 9px; color: var(--f-erreur); font-weight: 500; font-size: .97rem; line-height: 1.4; }
.erreur p + p { margin-top: 4px; }
.erreur--bloc { margin: 0; padding: 14px 16px; border-left: 3px solid var(--f-erreur); border-radius: 4px; background: rgb(255 123 112 / .09); color: #ffd3ce; outline: none; }
.suggestion { margin-top: 6px; min-height: 44px; text-align: left; color: var(--vert); font-weight: 600; text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.rang { display: grid; gap: 22px 18px; }
.champ--court { max-width: 260px; }
.tuiles { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tuiles--libre { display: flex; flex-wrap: wrap; gap: 8px; }
.tuile { position: relative; display: block; cursor: pointer; min-width: 0; }
.tuile input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tuile__c { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 54px; padding: 10px 16px; border: 1px solid var(--f-bord); border-radius: var(--rayon-p); background: var(--f-champ); color: var(--f-texte); line-height: 1.25; font-weight: 500; transition: background-color .15s, border-color .15s, box-shadow .15s; }
.tuile__t { min-width: 0; overflow-wrap: anywhere; }
.tuile__ok { width: 20px; margin-left: auto; color: var(--vert); stroke-width: 2.6; opacity: 0; transform: scale(.5); transition: opacity .15s, transform .25s var(--sortie); }
.tuile:hover .tuile__c { border-color: #a3aca9; background: var(--f-survol); }
.tuile input:checked + .tuile__c { background: var(--f-choisi); border-color: var(--vert); box-shadow: inset 0 0 0 1px var(--vert); }
.tuile input:checked + .tuile__c .tuile__ok { opacity: 1; transform: none; }
.tuile input:focus-visible + .tuile__c { outline: 2px solid var(--vert-vif); outline-offset: 2px; }
.tuile--photo .tuile__c { padding: 6px 14px 6px 6px; min-height: 68px; }
.tuile__img { flex: none; width: 76px; height: 56px; object-fit: cover; border-radius: 4px; background: #000; }
.tuile__img--dessin { display: grid; place-items: center; color: #a3aca9; }
.tuile__img--dessin svg { width: 54px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.tuile__img--dessin .teinte { fill: #000; stroke: none; }
.tuile--type .tuile__c { flex-direction: column; justify-content: center; gap: 8px; min-height: 98px; padding: 14px 8px 12px; text-align: center; }
.tuile__v { width: 72px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; color: #a3aca9; transition: color .15s; }
.tuile__v circle { fill: var(--f-champ); }
.tuile:hover .tuile__v circle { fill: var(--f-survol); }
.tuile input:checked + .tuile__c .tuile__v { color: var(--vert); }
.tuile input:checked + .tuile__c .tuile__v circle { fill: var(--f-choisi); }
.tuile--type .tuile__ok { position: absolute; right: 8px; top: 6px; }
.tuile--puce .tuile__c { min-height: 46px; padding: 9px 16px; border-radius: 999px; }
.tuile--puce .tuile__ok { display: none; }
[data-groupe][data-erreur] .tuile__c { border-color: var(--f-erreur); }
.photos { border-top: 1px solid var(--f-trait); padding-top: 26px; }
.photos__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.photos .etiquette { margin: 0; }
.photos__compte { color: var(--f-doux); font-variant-numeric: tabular-nums; }
.photos__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.photos__liste:not(:empty) { margin-top: 16px; }
.photo { position: relative; aspect-ratio: 1; background: var(--f-champ); border-radius: var(--rayon-p); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo button { position: absolute; right: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; background: rgb(0 0 0 / .78); color: #fff; border-bottom-left-radius: var(--rayon-p); }
.photo button .ico { width: 18px; stroke-width: 2.2; }
.photo button:hover { background: #8f1d17; }
.photo button:focus-visible { outline-offset: -4px; }
.photo--attente { display: grid; place-items: center; color: var(--f-doux); font-size: .92rem; text-align: center; padding: 8px; }
.photos__depot { position: relative; margin-top: 16px; padding: 22px 18px 18px; border: 1px dashed var(--f-bord); border-radius: var(--rayon-p); background: #151a1b; text-align: center; transition: background-color .2s, border-color .2s; }
.photos[data-survol] .photos__depot { border: 1px solid var(--vert); background: var(--f-choisi); }
.photos__depot[data-plein] { display: none; }
.photos__boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.photos__glisser { margin-top: 12px; color: var(--f-doux); }
.photos__formats { margin-top: 6px; color: var(--f-doux); font-size: .94rem; }
#b-camera { display: none; }
@media (pointer: coarse) { #b-camera { display: inline-flex; } .photos__glisser { display: none; } .photos__formats { margin-top: 14px; } }
.recap { display: grid; border-top: 1px solid var(--f-trait); }
.recap__groupe { padding: 16px 0; border-bottom: 1px solid var(--f-trait); }
.recap__tete { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.recap__tete h4 { font-size: 1rem; font-weight: 600; color: var(--f-texte); }
.recap__tete button { min-height: 44px; padding: 0 4px; font-weight: 600; color: var(--vert); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.recap dl { display: grid; gap: 6px; }
.recap dl > div { display: grid; grid-template-columns: minmax(110px, 160px) 1fr; gap: 14px; }
.recap dt { color: var(--f-doux); }
.recap dd { overflow-wrap: anywhere; white-space: pre-line; }
.recap__photos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.recap__photos img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }
.accord { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; min-height: 44px; padding: 8px 0; cursor: pointer; }
.accord input { width: 24px; height: 24px; margin: 0; accent-color: var(--vert); }
.miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.avis { padding: 12px 14px; border-radius: var(--rayon-p); background: var(--f-champ); color: var(--f-doux); font-size: .95rem; line-height: 1.45; }
.pied { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.pied .btn:only-child { margin-left: auto; }
.pied .btn--vert { min-width: 200px; }
.devis .btn--contour { border-color: var(--f-bord); color: var(--f-texte); }
.devis .btn--contour:hover { border-color: var(--f-texte); background: var(--f-survol); }
.btn--envoi { position: relative; overflow: hidden; }
.btn--envoi > span { position: relative; }
.btn--envoi .btn__jauge { position: absolute; inset: 0; background: var(--vert-vif); transform: scaleX(0); transform-origin: left; }
.btn--envoi[data-envoi] { opacity: 1; background: #b9e89c; cursor: progress; }
.form__bas { margin-top: 16px; color: var(--f-doux); }
.texte { min-height: 44px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.fin { display: grid; gap: 20px; }
.fin h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; outline: none; }
.fin .pied { justify-content: flex-start; }
.fin__ref { font-weight: 600; }
.fin .pied .btn:only-child { margin-left: 0; }

/* ------------------------------------------------ Pied de page */
.pied-page { padding-block: clamp(56px, 7vw, 88px) 32px; border-top: 1px solid var(--trait); }
.pied-page__rang { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pied-page__marque { display: grid; gap: 14px; }
.pied-page__marque img { width: 96px; height: 96px; }
.pied-page__marque p { color: var(--doux); max-width: 28ch; }
.pied-page h2 { font-size: .9rem; font-weight: 500; color: var(--doux); }
.pied-page__tel { display: inline-block; margin: 6px 0 6px; color: var(--titre); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.02em; text-decoration: none; transition: color .2s; }
.pied-page__tel:hover { color: var(--vert); }
.pied-page__contact li a { display: inline-block; padding-block: 10px; overflow-wrap: anywhere; }
.pied-page__note { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; margin-top: clamp(40px, 5vw, 64px); color: var(--doux); font-size: .875rem; }
.pied-page__note::before { content: ""; flex: 1 0 100%; height: 1px; margin-bottom: 12px; background: var(--trait); }
.pied-page__credit { display: inline-flex; align-items: center; min-height: 44px; color: var(--titre); font-weight: 500; }

/* Visionneuse */
.visio { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: var(--texte); }
.visio[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.visio::backdrop { background: #000; }
.visio__scene { display: grid; place-items: center; min-height: 0; touch-action: pan-y pinch-zoom; overflow: hidden; }
.visio__scene img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.visio__bas { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px 22px; padding: 14px var(--marge) max(14px, env(safe-area-inset-bottom)); }
#visio-legende { color: var(--titre); }
.visio__compte { color: var(--doux); font-variant-numeric: tabular-nums; }
.visio__boutons { display: flex; gap: 8px; }

/* ------------------------------------------------ Tablette */
@media (max-width: 1023px) {
  .cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .realisations__grille { grid-template-columns: 1fr; }
  .flotte__faits { grid-template-columns: 1fr; gap: 10px; }
}

/* ------------------------------------------------ Téléphone */
@media (max-width: 899px) {
  :root { --entete: 64px; }
  .entete__rang { gap: 12px; }
  .entete__logo { width: 46px; }
  .entete__action { min-height: 44px; padding: 8px 16px; }
  .burger { display: block; margin-right: -10px; }
  .nav { position: fixed; inset: var(--entete) 0 0; flex-direction: column; align-items: stretch; gap: 20px; padding: 8px var(--marge) max(24px, env(safe-area-inset-bottom)); background: var(--noir); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .22s, visibility .22s; }
  .nav[data-ouvert] { visibility: visible; opacity: 1; }
  .nav__liens { flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 0; }
  .nav__liens li { border-bottom: 1px solid var(--trait); }
  .nav__liens a { padding: 18px 0; color: var(--titre); font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
  .nav__liens a::after { display: none; }
  .nav__plus { display: grid; gap: 10px; margin-top: 8px; }
  .nav__tel { display: flex; align-items: center; gap: 10px; min-height: 48px; color: var(--titre); font-weight: 600; text-decoration: none; }
  .nav__plus .btn { min-height: 54px; }

  /* Accueil composé pour le téléphone : la proposition et l'action d'abord, la photo juste dessous */
  .hero { display: block; min-height: 0; }
  .hero__photo { position: relative; width: 100%; }
  .hero__photo img { aspect-ratio: 4 / 3; height: auto; object-position: 40% 50%; }
  .hero__photo::before { display: none; }
  .hero__photo::after { background: radial-gradient(75% 55% at 0% 0%, rgb(7 8 9 / .6) 0%, rgb(7 8 9 / 0) 100%), linear-gradient(180deg, rgb(7 8 9 / .2) 0%, rgb(7 8 9 / 0) 14%, rgb(7 8 9 / 0) 50%, rgb(7 8 9 / .8) 80%, var(--noir) 100%); }
  .hero .surtitre { font-size: .75rem; letter-spacing: .14em; }
  .hero__texte { width: auto; gap: 14px; margin-top: -76px; padding: 0 var(--marge) 34px; }
  .hero h1 { font-size: clamp(2.5rem, 11.4vw, 3.25rem); max-width: 11ch; }
  .hero__intro { font-size: 1.0625rem; }
  .hero__actions { display: grid; gap: 10px; margin-top: 6px; }
  .hero__actions .btn { width: 100%; min-height: 54px; }

  .bande__rang { grid-template-columns: 1fr; padding-block: 4px; }
  .bande li { justify-content: flex-start; padding: 14px 0; }
  .bande__note { text-align: left; padding-top: 2px; }
  .bande li + li { border-left: 0; border-top: 1px solid var(--trait); }
  .bande .ico { width: 24px; height: 24px; }

  .titre-sec { font-size: clamp(1.875rem, 8.6vw, 2.375rem); }
  .services__pied { flex-direction: column; align-items: stretch; gap: 14px; }
  .services__pied .btn { width: 100%; min-height: 52px; }
  .services__pied .lien-fleche { align-self: center; }

  /* Services : cartes compactes en une colonne (photo à gauche), une catégorie par page ; véhicules en 2 × 2 */
  .apercus--quatre, .apercus--trois { grid-template-columns: 1fr; gap: 10px; }
  .apercu { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: stretch; min-height: 116px; border-radius: 12px; }
  .apercu__media { height: 100%; aspect-ratio: auto; }
  .apercu__media--dessin svg { width: 70%; }
  .apercu__texte { gap: 3px; padding: 14px 16px 14px; }
  .apercu__nom { font-size: 1.0625rem; }
  .apercu__phrase { font-size: .875rem; line-height: 1.42; }
  .apercu__lien { margin-top: 4px; font-size: .875rem; }
  .categories__rang { min-height: 56px; }
  .vue__tete { grid-template-columns: 1fr; gap: 18px; }
  .vue__media { order: -1; aspect-ratio: 5 / 2; }
  .vue__tete--dessin .vue__media { display: none; }
  .vehicule-commun { max-width: none; }
  .vitrine { grid-template-columns: 1fr; }
  .vedette__texte { padding: 18px 18px 20px; }
  .expertise { grid-template-columns: 48px minmax(0, 1fr) 18px; gap: 14px; min-height: 76px; }
  .expertise__dessin svg { width: 46px; }
  .carrousel { --diapo: calc(100vw - 2 * var(--marge) - 20px); }
  .carrousel__photo { border-radius: 12px; }
  .carrousel__agrandir { right: 10px; bottom: 10px; width: 36px; height: 36px; }
  .carrousel__pied { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; margin-top: 12px; }
  .carrousel__legende { grid-area: 1 / 1; }
  .carrousel__fleches { grid-area: 1 / 2; }
  .carrousel__progres { grid-area: 2 / 1; }
  .carrousel__compte { grid-area: 2 / 2; justify-self: end; font-size: .875rem; }
  .avap { grid-template-columns: 1fr; gap: 14px; }
  .avap__cote { display: contents; }
  .avap__titre { order: 1; } .avap__aide { order: 2; } .avap__scene { order: 3; } .avap__legende { order: 4; } .avap .avap__choix { order: 5; flex-wrap: nowrap; overflow-x: auto; }
  .supplements { grid-template-columns: 1fr; }
  .aide-choix__actions { width: 100%; }
  .aide-choix__actions .btn { flex: 1 1 auto; }
  .segments--grille .segments__rang { grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0; border-radius: 0; background: none; }
  .segments--grille span { min-height: 50px; border-radius: 12px; background: var(--anthracite-2); color: var(--titre); font-size: 1rem; }
  .forfaits { gap: 12px; }
  .forfait { padding: 22px 20px 20px; }
  .prix__montant { font-size: 1.5rem; }
  .prix--ligne .prix__montant { font-size: 1.0625rem; }
  .groupes { grid-template-columns: 1fr; }
  .config { grid-template-columns: 1fr; }
  .familles-texte { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }

  .avap__scene { aspect-ratio: 4 / 3; }
  .avap__scene[data-mode="duo"] { aspect-ratio: 4 / 5; }
  .duo { grid-template-columns: 1fr; }
  .duo__bascule { display: inline-grid; position: absolute; left: 50%; top: 12px; z-index: 2; transform: translateX(-50%); background: rgb(7 8 9 / .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .duo__photo { grid-area: 1 / 1; }
  .duo:has(input[value="avant"]:checked) .duo__photo--apres, .duo:has(input[value="apres"]:checked) .duo__photo--avant { visibility: hidden; }
  .galerie__scene { aspect-ratio: 3 / 2; }
  .galerie__fleche { display: none; }

  .parcours__etapes { grid-template-columns: 1fr; gap: 18px; }
  .flotte { grid-template-columns: 1fr; }
  .flotte__actions .btn { width: 100%; min-height: 52px; }

  .devis__rang { grid-template-columns: 1fr; gap: 26px; }
  .devis__tete { position: static; }
  .devis__carte { margin-inline: calc(-1 * var(--marge)); border-inline: 0; border-radius: 0; padding: 24px var(--marge) 28px; }
  .prog { position: sticky; top: var(--entete); z-index: 5; margin: -24px calc(-1 * var(--marge)) 26px; padding: 14px var(--marge) 10px; background: var(--anthracite-2); border-bottom: 1px solid var(--f-trait); }
  .etape > h3 { scroll-margin-top: 160px; }
  .rang--vehicule { grid-template-columns: 1fr 1fr; }
  .rang--vehicule .champ:last-child { grid-column: 1 / -1; max-width: calc(50% - 9px); }
  .tuiles:has(.tuile--photo) { grid-template-columns: 1fr; gap: 8px; }
  .pied { flex-wrap: nowrap; }
  .pied .btn { padding-inline: 18px; }
  .pied .btn--vert { flex: 1; min-width: 0; }
  .fin .pied { flex-direction: column; }
  .photos__boutons .btn { flex: 1 1 100%; }
  .recap dl > div { grid-template-columns: 1fr; gap: 0; }
  .recap dl { gap: 10px; }

  .pied-page__rang { grid-template-columns: 1fr; gap: 28px; }
  .pied-page__fin .btn { width: 100%; min-height: 52px; }
  .visio__bas { grid-template-columns: 1fr auto; }
  .visio__boutons { grid-column: 1 / -1; justify-content: space-between; }
}
@media (min-width: 700px) and (max-width: 1179px) {
  .apercus--quatre, .apercus--trois { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 560px) {
  .tuiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rang { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .cartes { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 559px) { .carrousel__photo img { aspect-ratio: 4 / 3; } }
@media (min-width: 560px) and (max-width: 899px) {
  .hero__actions { grid-template-columns: auto auto; justify-content: start; gap: 24px; }
  .hero__actions .btn { width: auto; }
  .tuiles:has(.tuile--photo) { grid-template-columns: 1fr 1fr; }
  .photos__boutons .btn { flex: 0 1 auto; }
  .devis__carte { margin-inline: 0; border: 1px solid var(--trait); border-radius: 10px; padding: 28px; }
  .prog { margin: 0 0 28px; padding-inline: 0; position: static; border: 0; background: none; }
}
@media (max-width: 699px) {
  /* Lignes : le nom sur toute la largeur, puis le prix et « Choisir » côte à côte */
  .rangee { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 14px 14px 16px; }
  .rangee__texte { grid-column: 1 / -1; }
  .prix--ligne { justify-content: flex-start; text-align: left; }
}
@media (max-width: 400px) {
  .segments:not(.segments--grille) span { padding-inline: 4px; }
}
@media (max-width: 380px) {
  .entete__action { padding-inline: 12px; font-size: .9rem; }
  .prog button span { font-size: .8rem; }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .nav__liens { gap: 22px; padding-left: 22px; }
  .entete__rang { gap: 22px; }
  .hero { grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); }
  .devis__rang { grid-template-columns: 1fr; }
  .devis__tete { position: static; }
}
@media (min-width: 900px) {
  .rang--vehicule { grid-template-columns: 1.1fr 1.1fr .8fr; }
}

/* ------------------------------------------------ Mouvement : léger, jamais d'attente pour lire */
@keyframes etape { from { opacity: 0; transform: translateX(var(--sens, 18px)); } }
@keyframes monte { from { opacity: 0; transform: translateY(10px); } }
@keyframes apparait { from { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .etape[data-entre] { animation: etape .3s var(--sortie); }
  .js-categories .vue { animation: apparait .35s var(--sortie); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------ Texte agrandi (zoom du texte jusqu'à 200 %) : rien ne déborde */
.prog li { min-width: 0; }
.prog button span { overflow-wrap: anywhere; }
.categories__rang { flex-wrap: wrap; row-gap: 4px; }
.familles summary { white-space: normal; }
.nav { max-width: 100vw; }
.nav__liens a, .familles__liste a span { overflow-wrap: anywhere; }
.segments span { white-space: normal; }
/* Le menu des catégories s'ouvre sur toute la largeur de la barre (et reste en place si la barre passe sur deux lignes) */
.categories__rang { position: relative; }
.familles { position: static; margin-left: auto; }
.familles__liste { right: var(--marge); }
@media (max-width: 559px) { .familles__liste { left: var(--marge); width: auto; } }
.familles__court { display: none; }
@media (max-width: 420px) { .familles__long { display: none; } .familles__court { display: inline; } }
