/*
 * DMN Prestige — feuille de style du site public et de l'espace client.
 * Direction « atelier premium » : scène sombre et photographique, feuilles papier issues
 * des illustrations, coutures en damier reprises de la bannière.
 */
/* Anton n'existe qu'en 400 : la plage 400-900 évite tout faux gras quand une règle demande 800 ou 900. */
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/anton-latin.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/archivo-text-latin.woff2") format("woff2"); }
@font-face { font-family: "Yellowtail"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/yellowtail-latin.woff2") format("woff2"); }
:root {
  /* Palette DMN : Noir Garage, Surface sur noir, Blanc Atelier, Rouge DMN, Marine Atelier, Crème Garage, Gris technique. */
  --ink: #0f0e0d;
  --ink-2: #1c1a18;
  --ink-3: #26231f;
  --navy: #06274a;
  --navy-2: #0b3460;
  --paper: #f1e9da;
  --paper-2: #e6dbc6;
  --paper-text: #0f0e0d;
  --paper-muted: #5c544b;
  --text: #fefcf8;
  /* Texte secondaire : Blanc Atelier atténué (lisible sur noir et sur surface). */
  --muted: #b3b0aa;
  --red: #c40f11;
  --red-deep: #9c0c0e;
  /* Gris technique : libellés, placeholders, états désactivés. */
  --grey: #7d8796;
  --ok: #7cc293;
  --warn: #e3b45d;
  --line: rgba(254, 252, 248, 0.1);
  --line-2: rgba(254, 252, 248, 0.2);
  /* Gris acier : traits techniques (fiche d'intervention). */
  --steel: #7d8796;
  --paper-line: rgba(27, 23, 20, 0.14);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Archivo", "Segoe UI", system-ui, sans-serif;
  --script: "Yellowtail", "Brush Script MT", cursive;
  --wrap: 76rem;
  --gutter: clamp(16px, 4vw, 48px);
  --r-sm: 6px;
  --r-md: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 1.0625rem/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* height: auto : une image réduite par max-width garde ses proportions (jamais étirée par l'attribut height). */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p, h1, h2, h3, h4, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); letter-spacing: 0.02em; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--red); color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--muted); max-width: 38rem; }
.script { font-family: var(--script); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; color: var(--red); font-weight: 400; }
.muted { color: var(--muted); }
.fine { font-size: 0.82rem; color: var(--muted); }
.todo { display: inline-block; padding: 0.05rem 0.45rem; border: 1px dashed var(--warn); border-radius: 4px; color: var(--warn); font-size: 0.85em; font-weight: 600; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.wrap > *, .head > *, .copy > *, .feature-copy > *, .prose > * { min-width: 0; }
.head.flush { margin: 0; }
.tag-l { left: 1rem; }
.tag-r { right: 1rem; }
.paper .crumbs, .paper .crumbs a { color: var(--paper-muted); }

/* Boutons */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 50px; padding: 0 1.5rem; border-radius: var(--r-sm); border: 1px solid transparent; font: 700 0.95rem/1 var(--body); text-decoration: none; cursor: pointer; transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.15s; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary::before { background: var(--red-deep); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost::before { background: var(--text); }
.btn-ghost:hover { color: var(--ink); border-color: var(--text); }
.btn-sm { min-height: 40px; padding: 0 1rem; font-size: 0.85rem; }
.btn-danger { border-color: rgba(196, 15, 17, 0.55); color: #ff9a9e; background: transparent; }
.btn-danger::before { background: var(--red); }
.btn-danger:hover { color: #fff; }
.link { color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.link:hover { color: var(--red); }


/* En-tête */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(15, 14, 13, 0.82); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); min-height: 76px; }
.brand { display: block; margin-right: auto; flex-shrink: 0; }
/* Logo horizontal (11:1) : piloté par la largeur, jamais sous 180 px (taille mini du kit). */
.brand img { width: clamp(210px, 22vw, 290px); height: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.8rem); }
.nav a { position: relative; text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--muted); padding-block: 0.5rem; transition: color 0.2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.account-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.6rem; text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--text); }
.account-link svg { width: 20px; height: 20px; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: transparent; color: var(--text); cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; transition: transform 0.3s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Couture en damier (reprise de la bannière) */
/* Ligne de carrosserie entre deux sections : un filet clair, comme le reflet sur une arête de tôle. */
.seam { position: relative; z-index: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(254, 252, 248, 0.16) 18%, rgba(254, 252, 248, 0.7) 50%, rgba(254, 252, 248, 0.16) 82%, transparent); }
.seam.thin { opacity: 0.55; }

/* Pages et transitions */
.page { display: block; }
.wipe { position: fixed; inset: 0; z-index: 90; pointer-events: none; background: var(--ink-2); transform: scaleX(0); transform-origin: left; display: grid; place-items: center; }
.wipe::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 6px; background: var(--red); }
/* Arrivée depuis un lien du site : le rideau est fermé dès le premier affichage et s'ouvre une seule fois. */
.is-entering .wipe { transform-origin: right center; animation: wipe-open 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both; }
@keyframes wipe-open { from { transform: scaleX(1); } to { transform: scaleX(0); } }
/* Éléments animés : masqués jusqu'à ce que leur animation soit prête (affichés d'office après 2,5 s). */
.motion-pending :is([data-split], [data-reveal], [data-hero]) { visibility: hidden; animation: motion-failsafe 0s 2.5s forwards; }
@keyframes motion-failsafe { to { visibility: visible; } }

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section.tight { padding-block: clamp(3rem, 6vw, 5rem); }
.alt { background: var(--ink-2); }
.paper { background: var(--paper); color: var(--paper-text); }
.paper .lead, .paper .muted, .paper .fine { color: var(--paper-muted); }
.head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.head-row > div { display: grid; gap: 1rem; max-width: 40rem; }

/* Bandeau des pages intérieures */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(120% 140% at 85% 30%, var(--ink-3) 0%, var(--ink) 60%); border-bottom: 1px solid var(--line); }
.page-hero .wrap { position: relative; display: grid; gap: 1.1rem; padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 4.5rem); }
.page-hero h1 { max-width: 14ch; }
.page-hero .art { position: absolute; z-index: -1; right: max(-6rem, -8vw); bottom: -12%; width: min(62vw, 760px); opacity: 0.16; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000 35%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); }
.page-hero.compact .wrap { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.page-hero.compact h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: none; }
.crumbs { font-size: 0.85rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }

/* Accueil : hero */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(86vh, 820px); display: grid; align-items: end; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 115%; object-fit: cover; object-position: 62% 55%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 14, 13, 0.95) 0%, rgba(15, 14, 13, 0.78) 38%, rgba(15, 14, 13, 0.08) 72%), linear-gradient(0deg, var(--ink) 0%, rgba(15, 14, 13, 0) 30%); }
.hero-sheen { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(254, 252, 248, 0.16) 48%, rgba(254, 252, 248, 0.04) 54%, transparent 62%); transform: translateX(-120%); mix-blend-mode: screen; }
.hero .wrap { display: grid; gap: 1.4rem; padding-block: clamp(6rem, 14vw, 10rem) clamp(7.5rem, 12vw, 9rem); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.6rem); max-width: 16ch; line-height: 1.05; text-wrap: balance; }
.hero .lead { color: #e8e4dd; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.facts { position: relative; z-index: 2; margin-top: clamp(-5.5rem, -7vw, -4rem); }
.facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: rgba(28, 26, 24, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); border-radius: var(--r-md); box-shadow: var(--shadow); }
.facts li { display: grid; gap: 0.3rem; padding: clamp(1.1rem, 2.4vw, 1.7rem); border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.facts strong { font-family: var(--display); font-weight: 900; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.facts span { font-size: 0.9rem; color: var(--muted); }

/* Cartes photo (services) */
.shine { position: relative; overflow: hidden; }
.shine::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(254, 252, 248, 0.22) 47%, rgba(254, 252, 248, 0.05) 53%, transparent 62%); transform: translateX(-130%); transition: transform 1s var(--ease); }
.shine:hover::after { transform: translateX(130%); }

/* Étapes sur papier */
/* Pastille numérotée centrée sur la première ligne du titre (et non sur tout le bloc) */

/* Avant / après mis en avant */
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ba-frame { position: relative; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); max-width: 100%; }
.ba-frame img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ba-tag { position: absolute; top: 1rem; z-index: 4; padding: 0.35rem 0.75rem; border-radius: 99px; font-weight: 700; font-size: 0.85rem; background: rgba(15, 14, 13, 0.82); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.ba-tag.after { background: var(--red); border-color: var(--red); color: #fff; }
.ba-glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(100deg, transparent 40%, rgba(254, 252, 248, 0.28) 49%, transparent 58%); transform: translateX(-120%); }
.feature-copy { display: grid; gap: 1.2rem; }
.checks { display: grid; gap: 0.7rem; }
.checks li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: 0.7rem; }
.checks li::before { content: ""; width: 1.1rem; height: 1.1rem; margin-top: 0.25rem; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }

/* Aperçu des formules (accueil) */
.formula-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.formula-strip a { display: grid; gap: 0.6rem; padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1rem, 2vw, 1.6rem); text-decoration: none; border-right: 1px solid var(--line); transition: background 0.3s; }
.formula-strip a:last-child { border-right: 0; }
.formula-strip a:hover { background: var(--ink-3); }
.formula-strip h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); text-transform: uppercase; }
.formula-strip .from { font-variant-numeric: tabular-nums; color: var(--muted); }
.formula-strip .from b { font: 900 clamp(1.6rem, 3vw, 2.4rem)/1 var(--display); color: var(--text); }

/* Bandeau final */
.cta-final { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-3); }
.cta-final .art { position: absolute; z-index: -1; right: -4%; top: 50%; width: min(60vw, 720px); transform: translateY(-50%); opacity: 0.12; }
.cta-final .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding-block: clamp(4rem, 8vw, 6rem); }
.badge-logo { width: clamp(150px, 20vw, 230px); aspect-ratio: 1; border-radius: 50%; background: var(--paper); display: grid; place-items: center; box-shadow: 0 0 0 6px var(--ink-3), 0 0 0 7px var(--line-2); }
.badge-logo img { width: 86%; height: auto; }
.cta-final .copy { display: grid; gap: 1.2rem; justify-items: start; }

/* Pied de page */

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); }
.svc { display: grid; gap: 1rem; align-content: start; }
.svc-media { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--r-md); overflow: hidden; background: var(--ink-3); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.svc:hover .svc-media img { transform: scale(1.05); }
.svc-icon { position: absolute; left: 1rem; top: 1rem; z-index: 4; width: 3rem; height: 3rem; border-radius: 50%; background: rgba(15, 14, 13, 0.8); backdrop-filter: blur(6px); display: grid; place-items: center; border: 1px solid var(--line-2); }
.svc-icon img { width: 1.7rem; height: 1.5rem; object-fit: contain; filter: invert(1) sepia(0.15); }
.svc-body { display: grid; gap: 0.55rem; }
.svc-media .pill { position: absolute; right: 1rem; top: 1.25rem; z-index: 4; background: rgba(15, 14, 13, 0.82); backdrop-filter: blur(6px); }
.svc p { color: var(--muted); }
.svc .in { font-size: 0.85rem; color: var(--muted); }
.svc .in b { color: var(--text); font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 700; border-radius: 99px; padding: 0.25rem 0.7rem; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.pill::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; }
.pill.ok { color: var(--ok); border-color: rgba(124, 194, 147, 0.4); }
.pill.warn { color: var(--warn); border-color: rgba(227, 180, 93, 0.45); }
.pill.red { color: #ff9a9e; border-color: rgba(196, 15, 17, 0.55); }
.onsite { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.onsite-list { display: grid; gap: 1rem; }
.onsite-list li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; align-items: start; padding-bottom: 1rem; border-bottom: 1px solid var(--paper-line); }
.onsite-list svg { width: 2.4rem; height: 2.4rem; }
.onsite-list strong { display: block; font-size: 1.05rem; }


/* Tarifs */
.size-switch { display: inline-flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.4rem; border-radius: var(--r-md); background: var(--ink-2); border: 1px solid var(--line); }
.size-switch a { display: grid; justify-items: center; gap: 0.2rem; min-width: 7.5rem; padding: 0.6rem 1rem; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 600 0.9rem var(--body); cursor: pointer; transition: background 0.3s, color 0.3s; }
.size-switch img { width: 64px; height: 64px; object-fit: contain; opacity: 0.55; transition: opacity 0.3s; }
.size-switch a[aria-current="true"] { background: var(--ink-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.size-switch a[aria-current="true"] img { opacity: 1; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2rem, 4vw, 3rem); align-items: stretch; }
.plan { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 1.3rem; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--r-md); background: var(--ink-2); border: 1px solid var(--line); transform-style: preserve-3d; }
.plan h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); text-transform: uppercase; }
.plan .price { display: flex; align-items: baseline; gap: 0.5rem; }
.plan .price b { font: 900 clamp(2.8rem, 5vw, 4rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.plan .price span { color: var(--muted); font-size: 0.9rem; }
.plan ul { display: grid; gap: 0.55rem; align-content: start; }
.plan li { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: 0.7rem; font-size: 0.95rem; }
.plan li::before { content: ""; width: 0.55rem; height: 0.55rem; margin-top: 0.5rem; border-radius: 50%; background: var(--red); }
.plan li.plus { font-weight: 700; }
.plan li.plus::before { background: transparent; border: 2px solid var(--red); }
.plan.is-top { background: var(--paper); color: var(--paper-text); border-color: var(--paper); box-shadow: var(--shadow); }
.plan.is-top .price span { color: var(--paper-muted); }
.plan .flag { position: absolute; top: -0.85rem; right: 1.4rem; padding: 0.15rem 0.7rem; border-radius: 99px; background: var(--red); color: #fff; font-family: var(--script); font-size: 1.15rem; line-height: 1.2; }
.price-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.table-wrap { overflow-x: auto; max-width: 100%; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
caption { text-align: left; font: 800 1.1rem/1.2 var(--display); padding-bottom: 0.8rem; }
th, td { text-align: left; padding: 0.75rem 0.6rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
th { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
td:not(:first-child), th:not(:first-child) { text-align: right; }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.note { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 1rem; }
.note svg { width: 2.2rem; height: 2.2rem; color: var(--red); }
.note h3 { margin-bottom: 0.4rem; }
.note p { color: var(--paper-muted); font-size: 0.95rem; }

/* Réalisations */
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(196, 15, 17, 0.3); } 50% { box-shadow: 0 0 0 10px rgba(196, 15, 17, 0); } }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.8rem; }
.filters button { min-height: 42px; padding: 0 1.1rem; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 600 0.9rem var(--body); cursor: pointer; transition: all 0.25s; }
.filters button:hover { color: var(--text); border-color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(11rem, 20vw, 16rem); grid-auto-flow: dense; gap: clamp(0.6rem, 1.2vw, 1rem); }
.shot { position: relative; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--ink-3); color: var(--text); text-align: left; }
.shot.is-out { display: none; }
.shot.big { grid-column: span 2; grid-row: span 2; }
.shot.tall { grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.5s; }
.shot:hover img { transform: scale(1.05); }
.shot .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 2.5rem 1rem 0.9rem; background: linear-gradient(0deg, rgba(15, 14, 13, 0.9), transparent); display: flex; justify-content: space-between; align-items: end; gap: 0.6rem; font-weight: 700; transform: translateY(0.4rem); opacity: 0.92; transition: transform 0.4s var(--ease), opacity 0.4s; }
.shot .cap small { font-weight: 500; color: var(--muted); font-size: 0.8rem; }
.shot:hover .cap, .shot:focus-visible .cap { transform: none; opacity: 1; }
.lightbox { width: min(1100px, 94vw); max-width: none; max-height: 92vh; padding: 0; border: 0; border-radius: var(--r-md); background: var(--ink-2); color: var(--text); overflow: hidden; }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgba(8, 7, 6, 0.9); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; min-height: 0; max-height: calc(92vh - 4.5rem); object-fit: contain; background: #000; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 1rem; }
.lb-bar p { font-weight: 600; min-width: 0; }
.lb-bar small { color: var(--muted); font-variant-numeric: tabular-nums; margin-left: 0.6rem; }
.lb-ctrl { display: flex; gap: 0.4rem; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; transition: background 0.2s; }
.icon-btn:hover { background: var(--ink-3); }
.icon-btn svg { width: 18px; height: 18px; }
.compare { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--r-md); overflow: hidden; user-select: none; }
.compare .cmp-layer { position: absolute; inset: 0; }
.compare .cmp-layer.after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: var(--red); z-index: 3; pointer-events: none; }
.compare .handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 60% no-repeat; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5); }
.compare:has(input:focus-visible) .handle::after { outline: 2px solid var(--text); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.compare input { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .ba-tag { top: auto; bottom: 1rem; }
.compare-wrap h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.compare-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }

/* À propos */
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 6rem); }
.about-hero .copy { display: grid; gap: 1.2rem; }
.about-hero h1 { font-size: min(clamp(2.6rem, 6vw, 5rem), 12cqi); }
.about-logo { justify-self: center; width: min(100%, 460px); }
.about-logo img { width: 100%; height: auto; }
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.story .portrait { aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--r-md); overflow: hidden; }
.prose { display: grid; gap: 1.1rem; }
.prose p { color: var(--muted); }
.values-row { margin-top: clamp(3rem, 6vw, 5rem); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.value { display: grid; gap: 0.7rem; padding-top: 1.3rem; border-top: 2px solid var(--text); }
.value p { color: var(--muted); }
.zone { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

/* Formulaires */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form > * { min-width: 0; }
.form .full { grid-column: 1 / -1; }
.form label, .field { display: grid; gap: 0.4rem; font-size: 0.88rem; font-weight: 600; color: var(--text); }
/* Libellé et précision « (facultatif) » sur la même ligne ; le champ et son message en dessous, sur toute la largeur. */
.form label:not(.check), .field { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.35rem; row-gap: 0.4rem; }
.form label:not(.check) > :not(span), .field > :not(span) { flex: 0 0 100%; min-width: 0; }
.form input, .form textarea, .form select, .field input { width: 100%; min-height: 50px; padding: 0.75rem 0.95rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--ink); color: var(--text); font: 400 1rem var(--body); transition: border-color 0.2s, box-shadow 0.2s; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus, .field input:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(254, 252, 248, 0.12); }
.form input[readonly] { background: var(--ink-2); color: var(--muted); }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0.75rem; align-items: start; font-weight: 400; line-height: 1.5; }
.form label.check { display: grid; font-weight: 400; }
.check input, .form .check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--red); }
.card { display: grid; gap: 1.2rem; align-content: start; padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--r-md); background: var(--ink-2); border: 1px solid var(--line); }

/* Rendez-vous */
.booking { display: grid; grid-template-columns: minmax(0, 1fr) clamp(18rem, 26vw, 21rem); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; margin-bottom: 1.2rem; counter-reset: s; }
.stepper li { counter-increment: s; display: grid; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.stepper li::before { content: ""; height: 4px; border-radius: 4px; background: var(--line-2); transition: background 0.4s; }
.stepper li.on, .stepper li.done { color: var(--text); }
.stepper li.on::before, .stepper li.done::before { background: var(--red); }
.login-hint { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.9rem 1.1rem; border-radius: var(--r-sm); background: var(--ink); border: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.login-hint.on { border-color: rgba(124, 194, 147, 0.45); color: var(--text); }
.step-panel { display: grid; gap: 1.2rem; }
.step-panel h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: 0.6rem; }
.tile { display: grid; justify-items: center; align-content: start; gap: 0.3rem; padding: 0.9rem 0.6rem; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--ink); color: var(--text); font: 600 0.9rem var(--body); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.tile img { width: 56px; height: 56px; object-fit: contain; }
.tile span { font-weight: 400; font-size: 0.8rem; line-height: 1.3; text-align: center; color: var(--muted); }
.tile:hover { border-color: var(--text); }
.tile[aria-pressed="true"], .tile:has(input:checked) { border-color: var(--red); background: rgba(196, 15, 17, 0.1); }
.choices { display: grid; gap: 1.6rem; }
.choice-group { display: grid; gap: 0.7rem; }
.choice-group-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; padding-bottom: 0.55rem; border-bottom: 1px solid var(--line); font: 800 1rem/1.2 var(--display); }
.choice-group-title span { font: 600 0.82rem var(--body); color: var(--muted); }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); gap: 0.6rem; }
.choice { display: grid; gap: 0.15rem; text-align: left; padding: 0.9rem 1rem; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--ink); color: var(--text); font: 400 0.9rem var(--body); cursor: pointer; }
.choice { position: relative; }
.choice small { color: var(--muted); }
.choice .choice-time { margin-top: 0.2rem; font: 600 0.8rem var(--body); }
.choice-flag { position: absolute; top: -0.7rem; right: 0.7rem; padding: 0.05rem 0.55rem; border-radius: 99px; background: var(--red); color: #fff; font: 400 0.95rem/1.3 var(--script); font-style: normal; }
.choice strong { font-size: 1rem; }
.choice span { font-weight: 700; font-variant-numeric: tabular-nums; }
.choice[aria-pressed="true"], .choice:has(input:checked) { border-color: var(--red); background: rgba(196, 15, 17, 0.1); }
.days { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.4rem; scroll-snap-type: x mandatory; }
.day { flex: 0 0 4.4rem; display: grid; justify-items: center; gap: 0.1rem; padding: 0.6rem 0; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--ink); color: var(--text); font: 400 0.8rem var(--body); cursor: pointer; scroll-snap-align: start; }
.day strong { font: 800 1.3rem/1.1 var(--display); }
.day small { color: var(--muted); }
.day[aria-pressed="true"] { border-color: var(--red); background: rgba(196, 15, 17, 0.12); }
.slots { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.slot { min-height: 46px; padding: 0 1.1rem; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--ink); color: var(--text); font: 600 0.9rem var(--body); cursor: pointer; }
.slot[aria-pressed="true"] { border-color: var(--red); background: rgba(196, 15, 17, 0.12); }
.slot:disabled { text-decoration: line-through; opacity: 0.4; cursor: not-allowed; }
.step-nav { display: flex; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; }
.gate { display: grid; gap: 1rem; padding: 1.3rem; border-radius: var(--r-sm); background: var(--ink); border: 1px solid var(--line-2); }
.summary { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: grid; gap: 1rem; padding: 1.5rem; border-radius: var(--r-md); background: var(--paper); color: var(--paper-text); }
.summary h3 { text-transform: uppercase; }
.summary dl { display: grid; gap: 0.6rem; }
.summary dl div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.92rem; border-bottom: 1px solid var(--paper-line); padding-bottom: 0.55rem; }
.summary dt { color: var(--paper-muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.summary dd small { display: block; margin-top: 0.15rem; font-size: 0.8rem; font-weight: 400; color: var(--paper-muted); }
.summary dl .total { border-bottom: 0; padding-top: 0.2rem; font-size: 1rem; }
.summary dl .total dt { color: var(--paper-text); font-weight: 700; }
.summary dl .total dd { font: 800 1.15rem var(--display); }
.summary .travel-note:empty { display: none; }
.deposit { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.deposit strong { font: 900 2rem/1 var(--display); color: var(--red); font-variant-numeric: tabular-nums; }
.deposit strong.is-empty { font-size: 1.1rem; color: var(--paper-muted); }
.summary .fine { color: var(--paper-muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.kv { display: grid; gap: 1.2rem; }
.kv li { display: grid; gap: 0.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.kv small { color: var(--muted); font-size: 0.85rem; }
.kv span { font-weight: 600; }

/* Connexion */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(760px, 88vh); }
.auth-media { position: relative; overflow: hidden; }
.auth-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 14, 13, 0.9), rgba(15, 14, 13, 0.1) 60%); }
.auth-media p { position: absolute; z-index: 2; left: clamp(1.5rem, 4vw, 3rem); bottom: clamp(1.5rem, 4vw, 3rem); right: 1.5rem; font: 800 clamp(1.4rem, 2.6vw, 2.2rem)/1.1 var(--display); text-transform: uppercase; max-width: 16ch; }
.auth-panel { display: grid; place-items: center; padding: clamp(2rem, 6vw, 4rem) var(--gutter); }
.auth-panel > div { width: min(100%, 26rem); display: grid; gap: 1.4rem; }
.tabs { display: inline-flex; gap: 0.25rem; padding: 0.3rem; border: 1px solid var(--line-2); border-radius: 99px; justify-self: start; }
.tabs a, .tabs button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 1.1rem; border: 0; border-radius: 99px; background: transparent; color: var(--muted); font: 600 0.9rem var(--body); cursor: pointer; }
.tabs a[aria-current="page"], .tabs button[aria-pressed="true"] { background: var(--text); color: var(--ink); }
.auth .form, .form.one-col { grid-template-columns: minmax(0, 1fr); }
.auth-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-size: 0.9rem; color: var(--muted); }
.security-note { font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }

/* Espace client et admin */
.app { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); align-items: start; }
.side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: grid; gap: 0.2rem; }
.who { display: grid; gap: 0.2rem; padding: 0 0.8rem 1rem; margin-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.who strong { font-size: 1.05rem; }
.who span { font-size: 0.82rem; color: var(--muted); overflow-wrap: anywhere; }
.side a, .side button { display: flex; align-items: center; gap: 0.75rem; min-height: 44px; padding: 0 0.8rem; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--muted); font: 600 0.92rem var(--body); text-align: left; cursor: pointer; transition: background 0.2s, color 0.2s; }
.side a svg, .side button svg { width: 19px; height: 19px; flex-shrink: 0; }
.side a:hover, .side button:hover { color: var(--text); background: var(--ink-2); }
.side a[aria-current="page"] { color: var(--text); background: var(--ink-3); box-shadow: inset 3px 0 0 var(--red); }
.view { display: grid; gap: 1.5rem; }
.view-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }
.view-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.view h3.label { font: 700 0.85rem var(--body); color: var(--muted); }
.next { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.3rem; align-items: center; padding: 1.3rem; border-radius: var(--r-md); background: var(--paper); color: var(--paper-text); }
.next .muted { color: var(--paper-muted); }
.date-block { display: grid; justify-items: center; min-width: 4.6rem; padding: 0.6rem 0.4rem; border-radius: var(--r-sm); background: var(--paper-text); color: var(--paper); }
.date-block strong { font: 900 2rem/1 var(--display); }
.date-block small { font-size: 0.75rem; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.kpi { display: grid; gap: 0.6rem; padding: 1.2rem; border-radius: var(--r-md); background: var(--ink-2); border: 1px solid var(--line); }
.kpi span { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.88rem; }
.kpi span svg { width: 18px; height: 18px; }
.kpi strong { font: 800 1.8rem/1 var(--display); font-variant-numeric: tabular-nums; }
.rows { display: grid; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); background: var(--ink-2); }
.row:last-child { border-bottom: 0; }
.row strong { display: block; }
.row small { color: var(--muted); }
.data-table { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--ink-2); }
.data-table th, .data-table td { padding: 0.9rem 1rem; }
.data-table tr:last-child td { border-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.danger-zone { display: grid; gap: 1rem; padding: 1.4rem; border-radius: var(--r-md); border: 1px solid rgba(196, 15, 17, 0.45); }
.auth-solo { display: grid; place-items: center; padding: clamp(3rem, 8vw, 6rem) var(--gutter); }
.auth-solo .card { width: min(100%, 27rem); }

/* Pages légales */
.legal { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(2.5rem, 5vw, 4rem); }
.legal nav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: grid; gap: 0.2rem; align-self: start; }
.legal nav a { padding: 0.6rem 0.8rem; border-radius: var(--r-sm); text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.legal nav a[aria-current="page"] { color: var(--text); background: var(--ink-2); box-shadow: inset 3px 0 0 var(--red); }
.legal article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; max-width: 46rem; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.legal h2 { font-size: 1.45rem; margin-top: 1rem; }
.legal dl { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 0.6rem 1.5rem; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
.legal ul { display: grid; gap: 0.5rem; list-style: disc; padding-left: 1.2rem; }
.legal p, .legal li { color: #e8e4dd; }
.legal h3 { font-size: 1.08rem; margin-top: 0.4rem; }
.legal-form { display: grid; gap: 0.8rem; border: 1px dashed rgba(232, 228, 221, 0.35); border-radius: var(--r-sm); padding: 1rem 1.2rem; }
.legal-form ul { list-style: none; padding-left: 0; }
.notice { border: 1px solid rgba(227, 180, 93, 0.45); border-radius: var(--r-sm); padding: 1rem 1.2rem; font-size: 0.92rem; color: var(--warn) !important; }
.optout { margin-top: 0.5rem; padding: 1rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); }
.data td:not(:first-child), .data th:not(:first-child) { text-align: left; }

/* Responsive */
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: calc(76px + env(safe-area-inset-top, 0px)) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) 1.5rem; background: var(--ink); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.25s, transform 0.25s, visibility 0.25s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding-block: 0.95rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a::after { display: none; }
}
@media (max-width: 900px) {
  .booking { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .feature, .onsite, .compare-wrap, .about-hero, .story, .zone, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-grid, .price-tables { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Formules : une colonne dans l'ordre Essentiel, Prestige, Concession, pour lire la progression. */
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 36rem; margin-inline: auto; gap: 1.6rem; }
  .svc-grid > .svc:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .svc-grid > .svc:last-child:nth-child(odd) .svc-media { aspect-ratio: 16 / 9; }
  .notes, .values { grid-template-columns: minmax(0, 1fr); }
  .formula-strip { grid-template-columns: minmax(0, 1fr); }
  .formula-strip a { border-right: 0; border-bottom: 1px solid var(--line); }
  .auth { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  /* Bandeau photo au-dessus du formulaire : proportions proches de la photo, sans bande trop fine. */
  .auth-media { min-height: 0; aspect-ratio: 16 / 9; max-height: 22rem; }
  /* Photos « hautes » de la galerie : sur deux colonnes étroites, elles seraient trop recadrées. */
  .shot.tall { grid-row: span 1; }
  .app, .legal { grid-template-columns: minmax(0, 1fr); }
  .side, .legal nav { position: static; display: flex; overflow-x: auto; gap: 0.3rem; padding-bottom: 0.4rem; }
  .side .who { display: none; }
  .side a, .side button { white-space: nowrap; flex-shrink: 0; }
  .side a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red); }
  .legal nav a { white-space: nowrap; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .brand img { width: 200px; }
  .header .btn-primary { display: none; }
  .hero { min-height: 0; align-items: stretch; }
  .hero-media { position: relative; height: 62vw; }
  .hero-media img { height: 100%; }
  .hero::before { background: linear-gradient(180deg, rgba(15, 14, 13, 0) 0, rgba(15, 14, 13, 0) calc(62vw - 7rem), var(--ink) calc(62vw - 1.75rem), var(--ink) 100%); }
  .hero .wrap { margin-top: -2rem; padding-block: 0 2rem; }
  .facts { margin-top: 0; }
  .svc-grid, .plans, .price-tables, .kpis, .grid-2, .form { grid-template-columns: minmax(0, 1fr); }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .shot.big { grid-column: span 2; }
  .shot.fill { grid-column: span 2; }
  .shot .cap small { display: none; }
  .formula-strip a { padding-inline: 0; }
  .center-actions .btn { flex: 1 1 0; min-width: 0; padding-inline: 0.8rem; }
  .svc-media { aspect-ratio: 4 / 3; }
  .cta-final .wrap { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .stepper li { font-size: 0; }
  .next { grid-template-columns: auto minmax(0, 1fr); }
  .next .pill { grid-column: 1 / -1; justify-self: start; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .row .pill, .row .btn { justify-self: start; }
  .legal dl { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  .legal dd { margin-bottom: 0.8rem; }
  .size-switch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .size-switch a { min-width: 0; padding: 0.5rem 0.3rem; font-size: 0.8rem; }
  .size-switch img { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Composants du site en production (formulaires, espace client, messages)
   ===================================================================== */
/* Éléments utiles seulement avec ou sans script (la classe « js » est posée par le script) */
html:not(.js) .js-only { display: none !important; }
.js .no-js-only { display: none !important; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.h2 { font-family: var(--display); font-weight: 800; line-height: 1; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.h3 { font-family: var(--display); font-weight: 800; line-height: 1.1; font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
.size-switch a, .tabs a, .side a { text-decoration: none; }
main:focus { outline: none; }
[tabindex="-1"]:focus { outline: none; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.7rem 1.1rem; border-radius: var(--r-sm); background: var(--red); color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.nav-account { display: none; }

/* Messages */
.flashes { display: grid; gap: 0.6rem; padding-block: 1rem; }
.flash { display: flex; gap: 0.75rem; align-items: flex-start; margin: 0; padding: 0.9rem 1.1rem; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--ink-2); font-size: 0.95rem; }
.flash .icon { margin-top: 0.2rem; }
.flash.success { border-color: rgba(124, 194, 147, 0.5); }
.flash.success .icon { color: var(--ok); }
.flash.error { border-color: rgba(196, 15, 17, 0.6); }
.flash.error .icon { color: #ff9a9e; }
.flash.info .icon { color: var(--warn); }
.field-error { margin: 0; color: #ff9a9e; font-size: 0.86rem; font-weight: 500; }
.form [aria-invalid="true"], .field [aria-invalid="true"] { border-color: var(--red); }
.check [aria-invalid="true"] { outline: 2px solid var(--red); outline-offset: 2px; }
.hint { font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.field-label { font-size: 0.88rem; font-weight: 600; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.radio-row { display: grid; gap: 0.6rem; }
.form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.inline-form { display: inline-block; }
.actions form { display: inline-flex; }
.empty { display: grid; gap: 0.8rem; justify-items: start; padding: 1.4rem; border: 1px dashed var(--line-2); border-radius: var(--r-md); color: var(--muted); }
.notice { margin: 0; }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: clamp(2rem, 4vw, 3rem); }
.narrow { max-width: 44rem; }
.quote { padding: 1rem 1.2rem; border-left: 3px solid var(--red); background: var(--ink-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 0; }
.code { overflow-x: auto; padding: 1rem; border-radius: var(--r-sm); background: var(--ink); border: 1px solid var(--line); font-size: 0.85rem; }

/* Services */
.svc-media .pill { position: absolute; right: 1rem; top: 1.25rem; z-index: 4; background: rgba(15, 14, 13, 0.82); backdrop-filter: blur(6px); }
.svc-name { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.svc { scroll-margin-top: 110px; }

/* Réalisations */
.shot { display: block; text-decoration: none; }
.compare .cmp-layer img { width: 100%; height: 100%; object-fit: cover; }
.compare { touch-action: pan-y; }

/* Zone d'intervention */
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* Réservation */
.booking-form { gap: 1.6rem; }
.step-panel { margin: 0; padding: 0; border: 0; min-width: 0; }
.step-panel legend { padding: 0; margin-bottom: 1.2rem; font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.8rem); text-transform: uppercase; }
.step-panel > * + * { margin-top: 1.1rem; }
/* Avec script, la mise en page en étapes est posée dès le premier affichage (classe « js » mise dans <head>) : aucun saut. */
.js .step-num { display: none; }
.js .booking-form:not(.is-stepped) .step-panel:not([data-step="1"]) { display: none; }
.js [data-hidden-js] { display: none !important; }
.js .slot-select { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html:not(.js) .booking-form .step-panel + .step-panel { padding-top: 1.6rem; border-top: 1px solid var(--line); }
/* Véhicule : marque | modèle, la saisie libre (« Autre ») sous la liste concernée, puis l'immatriculation */
.new-vehicle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.new-vehicle .v-brand { grid-column: 1; grid-row: 1; }
.new-vehicle .v-brand-other { grid-column: 1; grid-row: 2; }
.new-vehicle .v-model { grid-column: 2; grid-row: 1; }
.new-vehicle .v-model-other { grid-column: 2; grid-row: 2; }
html:not(.js) .new-vehicle .v-model-other { grid-row: 1; }
.new-vehicle .v-plate { grid-row: 3; }
.new-vehicle .v-plate input { text-transform: uppercase; letter-spacing: 0.04em; }
.new-vehicle .v-plate input::placeholder { text-transform: none; letter-spacing: 0; }
.form select:disabled { opacity: 0.5; cursor: not-allowed; }
/* Liste avec recherche (remplace visuellement la liste native, qui reste dans le formulaire) */
.combo-native { display: none !important; }
.combo { position: relative; }
.combo-btn { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; width: 100%; min-height: 50px; padding: 0.75rem 0.95rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--ink); color: var(--text); font: 400 1rem var(--body); text-align: left; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.combo-btn::after { content: ""; flex: none; width: 0.55rem; height: 0.55rem; margin-top: -0.25rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: 0.7; transition: transform 0.2s; }
.combo.is-open .combo-btn::after { transform: translateY(0.25rem) rotate(-135deg); }
.combo-btn:hover { border-color: var(--text); }
.combo-btn:focus-visible, .combo.is-open .combo-btn { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(254, 252, 248, 0.12); }
.combo-btn.is-placeholder .combo-value { color: var(--muted); }
.combo-btn:disabled { opacity: 0.5; cursor: not-allowed; border-color: var(--line-2); }
.combo-btn[aria-invalid="true"] { border-color: var(--red); }
.combo-value { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.combo-pop { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); max-height: min(22rem, 60vh); padding: 0.5rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--ink-2); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.form .combo-search { min-height: 44px; margin-bottom: 0.4rem; padding: 0.55rem 0.8rem; font-size: 0.95rem; background: var(--ink); }
.combo-list { overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 0; list-style: none; }
.combo-option { padding: 0.65rem 0.75rem; border-radius: 6px; font-weight: 400; font-size: 0.95rem; color: var(--text); cursor: pointer; }
.combo-option.is-active { background: var(--ink-3); }
.combo-option[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--red); font-weight: 600; }
.combo-option.is-other { margin-top: 0.3rem; border-top: 1px solid var(--line); border-radius: 0 0 6px 6px; color: var(--muted); }
.combo-group { padding: 0.7rem 0.75rem 0.3rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.combo-none { padding: 0.65rem 0.75rem; font-weight: 400; font-size: 0.9rem; color: var(--muted); }
.login-hint { margin: 0; }
.tile:has(input:focus-visible), .choice:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
.tile strong { font-size: 0.95rem; }
.vehicle-choice .tile { justify-items: start; text-align: left; }
.vehicle-choice .tile span { text-align: left; }
.new-vehicle, .address-fields { padding: 1rem; border-radius: var(--r-sm); background: var(--ink); border: 1px solid var(--line); }
.day:disabled { opacity: 0.35; cursor: not-allowed; }
.slot-select select { max-width: 28rem; }
.step-error { margin-top: 0.4rem; }
/* Le libellé « Taille du véhicule » reste collé à ses choix, comme les autres libellés (l’étape espace ses blocs de 1,2 rem). */
.step-panel > .field-label + .tiles { margin-top: -0.6rem; }

/* Espace client */
.recap { display: grid; gap: 0.55rem; margin: 0; }
.recap div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.55rem; border-bottom: 1px solid var(--line); }
.recap dt { color: var(--muted); }
.recap dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.recap.compact div { padding-bottom: 0.4rem; font-size: 0.92rem; }
.recap-card { gap: 1.5rem; }
.booking-list { display: grid; gap: 1rem; }
.booking-card { display: grid; gap: 1rem; padding: 1.2rem 1.3rem; border-radius: var(--r-md); background: var(--ink-2); border: 1px solid var(--line); }
.booking-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.booking-card h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.disclosure summary { cursor: pointer; font-weight: 600; color: var(--muted); padding-block: 0.5rem; }
.disclosure[open] summary { margin-bottom: 1rem; }
.view h2.label, .view h3.label, h2.label { font: 700 0.75rem var(--body); color: var(--grey); text-transform: uppercase; letter-spacing: 0.14em; margin: 0; }
a.kpi { text-decoration: none; color: inherit; transition: border-color 0.2s; }
a.kpi:hover { border-color: var(--line-2); }
.side form { display: contents; }
.side button { width: 100%; }
.auth .sent { display: grid; gap: 1rem; }
.data-table { width: 100%; }
.table-wrap .data-table { min-width: 34rem; }
.grid-2 > * { min-width: 0; }

@media (max-width: 1080px) {
  .nav-account { display: block; }
}
@media (max-width: 640px) {
  .form-pair { grid-template-columns: minmax(0, 1fr); }
  .recap div { flex-direction: column; gap: 0.15rem; }
  .recap dd { text-align: left; }
  .booking-card-head .pill { order: -1; }
  .new-vehicle { grid-template-columns: minmax(0, 1fr); }
  .new-vehicle > label { grid-column: 1 !important; grid-row: auto !important; }
}

/* Les éléments masqués visuellement restent contenus dans les zones défilantes (tableaux) */
.table-wrap { position: relative; }
.sr-only { top: 0; left: 0; }
/* Titres : un mot plus long que l'écran est coupé proprement plutôt que de déborder */
h1, h2, h3, h4, .h2, .h3 { overflow-wrap: break-word; hyphens: auto; }

/* =====================================================================
   Finitions : alignements et titres qui tiennent dans leur colonne
   ===================================================================== */
/* Colonnes de texte mesurables : un titre y est réduit si son mot le plus long ne tiendrait pas. */
.about-hero > *, .zone > *, .feature-copy, .page-hero .wrap { container-type: inline-size; }
.feature-copy h2 { font-size: min(clamp(1.65rem, 4vw, 3.2rem), 10.5cqi); }
.zone h2 { font-size: min(clamp(1.65rem, 4vw, 3.2rem), 7.6cqi); }
/* Titres de page composés d'un mot très long (12 ou 15 lettres) : réduits sur les petits écrans seulement. */
.page-hero h1.fit-l { font-size: min(clamp(2.1rem, 6vw, 5.2rem), 9.4cqi); }
.page-hero h1.fit-xl { font-size: min(clamp(2.1rem, 6vw, 5.2rem), 7.6cqi); }
.legal article { container-type: inline-size; }
.legal h1.fit-xl { font-size: min(clamp(2rem, 4.5vw, 3.2rem), 7.6cqi); }
/* Chiffres clés et formules : contenus alignés en haut de chaque case, quelle que soit la longueur du texte. */
.facts li, .formula-strip a { align-content: start; }
/* Cartes photo : titres alignés d'une carte à l'autre (descriptions sur deux lignes réservées). */
/* « Ce qu'il faut sur place » : le titre démarre à la hauteur de la liste. */
/* Pastille du logo : son anneau reste dans les marges de la page. */
.badge-logo { margin: 7px; }
/* Pied de page : le filet s'arrête aux marges du contenu, comme le reste de la page. */
.view > *, .stack > *, .detail-grid > *, .dash-grid > *, .card > * { min-width: 0; }
@media (max-width: 420px) {
  .legal h1 { font-size: clamp(1.6rem, 8vw, 2rem); }
  .brand img { width: 184px; }
  /* Petit écran : l'icône de compte suffit, le libellé reste lu par les lecteurs d'écran. */
  .account-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Prestations à venir : une seule ligne discrète. */
.svc-soon { margin-top: clamp(1.4rem, 3vw, 2rem); font-size: 0.9rem; color: var(--muted); text-align: center; }
/* Tarifs : contenu des formules intérieur ou extérieur seules, sous leur tableau. */
.table-notes { display: grid; gap: 0.7rem; margin-top: 1rem; font-size: 0.86rem; }
.table-notes dt { font-weight: 700; }
.table-notes dd { margin: 0.15rem 0 0; color: var(--muted); }
.paper .table-notes dd { color: var(--paper-muted); }
/* Formule conseillée (accueil). */
.formula-strip a { position: relative; }
.formula-strip a.is-advice { background: var(--ink-2); }
.formula-strip a.is-advice .advice { position: absolute; top: -0.8rem; left: clamp(1rem, 2vw, 1.6rem); }
.formula-strip .advice { justify-self: start; padding: 0.1rem 0.65rem; border-radius: 99px; background: var(--red); color: #fff; font-family: var(--script); font-size: 1.05rem; line-height: 1.25; }
/* Tarifs : type de véhicule sous chaque taille, comparatif des formules complètes. */
.size-switch small { font-size: 0.72rem; font-weight: 400; color: var(--muted); text-align: center; line-height: 1.25; }
.size-models { margin-top: 0.8rem; }
.plan-copy { display: grid; gap: 0.5rem; align-content: start; }
.plan.is-top .plan-copy .fine { color: var(--paper-muted); }
caption small { margin-left: 0.4rem; font: 400 0.82rem var(--body); color: var(--muted); }
/* Prestations : prix de départ et durée de chaque famille. */
.svc-meta { color: var(--muted); font-size: 0.92rem; }
.svc-meta b { color: var(--text); font: 800 1.15rem var(--display); }
@media (max-width: 640px) {
  .size-switch small { font-size: 0.65rem; }
}
/* ---------- Pied de page ---------- */
.footer { position: relative; background: var(--ink); overflow: hidden; }
/* Fin liseré rouge en haut, et reflet discret derrière le bloc marque. */
.footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--red) 30%, var(--red) 70%, transparent); opacity: 0.55; }
.footer::after { content: ""; position: absolute; left: -10rem; top: -12rem; width: 34rem; height: 34rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(196, 15, 17, 0.09), transparent); pointer-events: none; }
.footer > .wrap { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 3.5rem); }
.footer-brand { display: grid; gap: 0.9rem; align-content: start; justify-items: start; }
.footer-logo { display: block; margin-bottom: 0.4rem; }
.footer-logo img { width: 200px; height: auto; }
.footer-brand .script { font-size: 1.45rem; }
.footer-pitch { font: 800 clamp(1.15rem, 1.6vw, 1.35rem)/1.25 var(--display); max-width: 22ch; }
.footer-sub { color: var(--muted); font-size: 0.92rem; max-width: 34ch; }
.footer-title { margin-bottom: 1.1rem; font: 800 1rem/1.2 var(--display); color: var(--text); }
.footer-links { display: grid; gap: 0.2rem; }
.footer-links a { display: inline-flex; padding-block: 0.4rem; color: var(--text); text-decoration: none; font-size: 0.95rem; transition: color 0.25s, transform 0.25s var(--ease); }
.footer-links a:hover { color: var(--red); transform: translateX(3px); }
.contact-lines { display: grid; gap: 1.1rem; }
.contact-lines li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0.8rem; align-items: start; }
.contact-lines .icon { width: 2.4rem; height: 2.4rem; padding: 0.6rem; border-radius: 50%; border: 1px solid var(--line-2); background: var(--ink-2); color: var(--red); }
.contact-lines div { display: grid; gap: 0.15rem; padding-top: 0.15rem; min-width: 0; }
.contact-lines small { font-size: 0.8rem; color: var(--muted); }
.contact-lines a, .contact-lines span { color: var(--text); font-size: 0.93rem; line-height: 1.5; overflow-wrap: anywhere; }
.contact-lines a { display: inline-block; padding-block: 0.2rem; text-decoration: none; transition: color 0.25s; }
.contact-lines a:hover { color: var(--red); }
/* Réseaux : pastilles avec icône et nom, cliquables sur toute leur surface. */
.socials { display: grid; grid-template-columns: repeat(2, minmax(0, 11rem)); gap: 0.6rem; margin-top: 0.8rem; }
.social { display: flex; align-items: center; gap: 0.65rem; min-height: 48px; padding: 0 1rem 0 0.45rem; border-radius: 99px; border: 1px solid var(--line-2); background: var(--ink-2); color: var(--text); font: 600 0.9rem var(--body); text-decoration: none; transition: border-color 0.25s, background 0.25s, color 0.25s; }
.social .icon { width: 2.2rem; height: 2.2rem; padding: 0.5rem; border-radius: 50%; background: var(--ink-3); color: var(--text); transition: background 0.25s, color 0.25s; }
.social:hover { border-color: rgba(196, 15, 17, 0.6); background: var(--ink-3); }
.social:hover .icon { background: var(--red); color: #fff; }
.social:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
/* Bandeau de réservation, puis mentions de bas de page. */
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding: clamp(1.4rem, 3vw, 1.9rem) clamp(1.2rem, 3vw, 2.2rem); border: 1px solid var(--line-2); border-radius: var(--r-md); background: linear-gradient(120deg, var(--ink-3), var(--ink-2)); }
.footer-cta p { display: grid; gap: 0.25rem; }
.footer-cta strong { font: 800 clamp(1.1rem, 1.8vw, 1.35rem)/1.2 var(--display); }
.footer-cta span { color: var(--muted); font-size: 0.92rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-top: clamp(2rem, 4vw, 2.8rem); padding-block: 1.4rem 1.6rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 1.5rem; }
  .footer-contact { grid-column: 1 / -1; }
  .socials { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .footer-cta { flex-direction: column; align-items: stretch; }
  .footer-cta .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-links a:hover { transform: none; }
}
/* Voix technique : durées, prix de départ, types de véhicule, dans la variante étroite de la police des titres. */
.svc-meta, .plan-copy .fine, .size-switch small, caption small, .tile span, .facts span { font-family: var(--body); font-weight: 600; letter-spacing: 0.01em; }
/* Lampe d'inspection : autour du pointeur la surface s'éclaire, le reste de la photo s'assombrit légèrement. */
.ba-frame[data-inspect] { touch-action: pan-y; }
.inspect-light { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 0.35s var(--ease); }
.inspect-light::before, .inspect-light::after { content: ""; position: absolute; inset: 0; }
.inspect-light::before { background: radial-gradient(circle 14rem at var(--lx, 50%) var(--ly, 50%), transparent 30%, rgba(10, 9, 8, 0.7) 100%); }
.inspect-light::after { mix-blend-mode: screen; background: radial-gradient(circle 7rem at var(--lx, 50%) var(--ly, 50%), rgba(254, 252, 248, 0.5), rgba(254, 252, 248, 0.12) 55%, transparent 100%); }
.ba-frame.is-inspecting .inspect-light { opacity: 1; }
.inspect-hint .on-touch { display: none; }
@media (hover: none) {
  .inspect-hint .on-hover { display: none; }
  .inspect-hint .on-touch { display: inline; }
}
html:not(.js) .inspect-hint { display: none; }
@media (prefers-reduced-motion: reduce) {
  .inspect-hint, .inspect-light { display: none; }
}
/* Fiche d'intervention (Tarifs) : vue de dessus du véhicule.
   Trois états : ajouté par la formule affichée (rouge vif), déjà inclus au niveau précédent (rouge clair), non inclus (pointillé acier). */
.sheet { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.sheet-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.2rem 2rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.sheet-head h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.sheet-tabs { display: inline-flex; gap: 0.3rem; padding: 0.3rem; border-radius: 99px; border: 1px solid var(--line-2); background: var(--ink-2); }
.sheet-tabs a { padding: 0.55rem 1.1rem; border-radius: 99px; color: var(--muted); font: 800 0.92rem var(--body); text-decoration: none; transition: background 0.25s, color 0.25s; }
.sheet-tabs a:hover { color: var(--text); }
.sheet-tabs a[aria-current="true"] { background: var(--red); color: #fff; }
.sheet-body { display: grid; grid-template-columns: minmax(11rem, 16rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.sheet-visual { position: sticky; top: 7rem; display: grid; gap: 1.2rem; justify-items: center; }
.car-plan { width: 100%; height: auto; overflow: hidden; }
.car-plan .cp-zone, .car-plan .car-line { fill: transparent; stroke: var(--steel); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.car-plan .cp-zone { stroke-dasharray: 4 3; transition: fill 0.35s var(--ease), stroke 0.35s var(--ease), stroke-width 0.35s var(--ease); }
.car-plan .car-line { opacity: 0.55; }
.car-plan .cp-zone.is-on { stroke-dasharray: none; fill: rgba(196, 15, 17, 0.1); stroke: rgba(196, 15, 17, 0.6); }
.car-plan .cp-zone.has-new { fill: rgba(196, 15, 17, 0.34); stroke: var(--red); stroke-width: 2.2; }
.car-plan .cp-zone.is-focus { stroke: #fff6e8; stroke-width: 2.6; }
/* La carrosserie couvre toute la voiture : un aplat plus léger pour laisser lire l'habitacle et le moteur. */
.car-plan [data-zone="carrosserie"].is-on { fill: rgba(196, 15, 17, 0.05); }
.car-plan [data-zone="carrosserie"].has-new { fill: rgba(196, 15, 17, 0.12); }
.car-plan.is-scanning .cp-zone.has-new { animation: zone-pop 0.9s var(--ease) 0.35s both; }
.car-plan .scan-beam { stroke: none; opacity: 0; pointer-events: none; }
.car-plan.is-scanning .scan-beam { animation: scan-beam 1.1s ease-in-out both; }
@keyframes scan-beam { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 1; transform: translateY(480px); } }
@keyframes zone-pop { 0% { stroke-width: 4; } 100% { stroke-width: 2.2; } }
.sheet-legend { display: grid; gap: 0.45rem; font-size: 0.85rem; color: var(--muted); }
.sheet-legend li { display: flex; align-items: center; gap: 0.6rem; }
.sheet-legend li::before { content: ""; flex: 0 0 auto; width: 0.85rem; height: 0.85rem; border-radius: 3px; }
.sheet-legend .lg-new { color: var(--text); }
.sheet-legend .lg-new::before { background: rgba(196, 15, 17, 0.55); border: 2px solid var(--red); }
.sheet-legend .lg-in::before { background: rgba(196, 15, 17, 0.12); border: 1.5px solid rgba(196, 15, 17, 0.6); }
.sheet-legend .lg-out::before { border: 1.5px dashed var(--steel); }
.sheet-zones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.sheet-zone { padding: 1.1rem 1.2rem 1.2rem; border-radius: var(--r-md); border: 1px solid var(--line); transition: border-color 0.3s, background 0.3s; }
.sheet-zone.is-on { background: var(--ink-2); }
.sheet-zone.has-new { border-color: rgba(196, 15, 17, 0.45); }
.sheet-zone.is-focus { border-color: var(--text); }
.sheet-zone h3 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.85rem; font-size: 1.05rem; color: var(--muted); transition: color 0.3s; }
.sheet-zone h3::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 2px; border: 1.5px dashed var(--steel); }
.sheet-zone.is-on h3 { color: var(--text); }
.sheet-zone.is-on h3::before { border: 1.5px solid rgba(196, 15, 17, 0.6); background: rgba(196, 15, 17, 0.15); }
.sheet-zone.has-new h3::before { border-color: var(--red); background: var(--red); }
.zone-new { margin-left: auto; padding: 0.1rem 0.5rem; border-radius: 99px; background: var(--red); color: #fff; font: 700 0.75rem var(--body); }
.sheet-zone ul { display: grid; gap: 0.45rem; }
.sheet-zone li { position: relative; padding-left: 1.4rem; font-size: 0.93rem; transition: color 0.3s; }
.sheet-zone li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.75rem; height: 1.5px; background: var(--steel); }
.sheet-zone li.is-in::before, .sheet-zone li.is-new::before { top: 0.35em; width: 0.45rem; height: 0.75rem; background: none; border: solid rgba(196, 15, 17, 0.7); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.sheet-zone li.is-new { font-weight: 700; }
.sheet-zone li.is-new::before { border-color: var(--red); }
.sheet-zone li.is-out { color: var(--muted); }
@media (max-width: 760px) {
  .sheet-body { grid-template-columns: minmax(0, 1fr); }
  .sheet-visual { position: static; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); align-items: center; justify-items: start; }
  .sheet-zones { grid-template-columns: minmax(0, 1fr); }
}
/* Réalisations : nom de la comparaison affichée et vignettes des autres avant/après. */
.cmp-name { font: 800 clamp(1.1rem, 1.8vw, 1.35rem)/1.2 var(--display); color: var(--text); }
.cmp-thumbs { display: flex; gap: 0.8rem; margin-top: clamp(1.6rem, 3vw, 2.2rem); padding-bottom: 0.6rem; overflow-x: auto; scroll-snap-type: x proximity; }
.cmp-thumbs li { flex: 0 0 auto; scroll-snap-align: start; }
.cmp-thumbs a { display: grid; gap: 0.45rem; width: 10.5rem; color: var(--muted); font-size: 0.85rem; text-decoration: none; }
.cmp-thumbs img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-sm); border: 2px solid transparent; opacity: 0.7; transition: opacity 0.25s, border-color 0.25s; }
.cmp-thumbs a:hover img { opacity: 1; }
.cmp-thumbs a[aria-current="true"] { color: var(--text); }
.cmp-thumbs a[aria-current="true"] img { opacity: 1; border-color: var(--red); }
/* Mention « Photo d'illustration » tant que les photos ne sont pas de vraies interventions (config illustration_photos). */
.illus-tag { position: absolute; left: 1rem; bottom: 1rem; z-index: 4; padding: 0.25rem 0.6rem; border-radius: 99px; background: rgba(15, 14, 13, 0.78); color: var(--muted); font: 600 0.75rem var(--body); }
/* « Vous réservez, je m'occupe du reste » : remonté sous les formules, avec les quatre points qui rassurent. */
.care .wrap { align-items: start; }
.care .copy { gap: 1rem; }
.care h2 { font-size: clamp(1.9rem, 4.2vw, 3.4rem); margin-top: -0.4rem; }
.care .script { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.care-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.6rem; margin-block: 0.6rem 0.8rem; width: 100%; }
.care-list li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.85rem; align-items: start; padding: 1rem 1.1rem; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(15, 14, 13, 0.45); }
.care-list .icon { width: 2.6rem; height: 2.6rem; padding: 0.65rem; border-radius: 50%; background: rgba(196, 15, 17, 0.14); color: var(--red); }
.care-list div { display: grid; gap: 0.2rem; }
.care-list strong { font: 800 1rem/1.25 var(--display); }
.care-list span { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
@media (max-width: 900px) {
  .care-list { grid-template-columns: minmax(0, 1fr); }
}
/* À propos : carte de la zone d'intervention, style « carte routière » clair (unités du dessin = kilomètres). */
.zone-map { margin: 0; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); background: #efe9df; }
.zone-map svg { display: block; width: 100%; height: auto; }
.zone-map text { font: 600 1.5px var(--body); fill: #3d3631; }
.map-land { fill: #efe9df; }
.map-lu { fill: #e1dccf; }
.map-be { fill: #e8e2d6; }
.map-border { fill: none; stroke: #8f857b; stroke-width: 0.25; stroke-dasharray: 1.2 0.7; }
.map-river { fill: none; stroke: #9fc1d8; stroke-width: 0.9; stroke-linecap: round; stroke-linejoin: round; }
.map-road { fill: none; stroke: #e2b45a; stroke-width: 0.6; stroke-linecap: round; }
.map-free { fill: rgba(196, 15, 17, 0.13); stroke: var(--red); stroke-width: 0.3; }
.zone-map .map-free-label { fill: #b51116; font-weight: 800; font-size: 1.6px; }
.zone-map .map-country { fill: #a39a90; font-weight: 800; font-size: 1.4px; letter-spacing: 0.25px; }
.zone-map .map-water { fill: #5f8cab; font-style: italic; font-size: 1.3px; }
.zone-map .map-roadname { fill: #9a7a2c; font-weight: 800; font-size: 1.15px; }
.map-town circle { fill: #2d2723; }
.map-home path { fill: var(--red); }
.map-home circle { fill: #fff; }
.zone-map .map-home text { fill: #1d1916; font-weight: 800; font-size: 2px; }
.map-scale line { stroke: #3d3631; stroke-width: 0.25; }
.zone-map .map-scale text { font-size: 1.2px; }
.zone-copy { display: grid; gap: 1.1rem; align-content: start; }
.zone-distances { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.6rem; }
.zone-distances li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 0.55rem; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.zone-distances b { font: 700 0.93rem var(--body); font-variant-numeric: tabular-nums; color: var(--text); }
@media (max-width: 640px) {
  .zone-map text { font-size: 2.1px; }
  .zone-map .map-home text { font-size: 2.6px; }
  .map-town.minor { display: none; }
  .zone-distances { grid-template-columns: minmax(0, 1fr); }
}
.zone-map .map-region { fill: #8f857b; font-style: italic; font-size: 1.3px; }

/* ==========================================================================
   Typographie et palette DMN (octobre 2026)
   Anton : titres, chiffres et prix, toujours en capitales, interlignage 1 à 1,05.
   Archivo 400-700 : texte, interface, formulaires, prix détaillés.
   Yellowtail : signatures courtes (4 mots au plus), jamais en capitales, jamais sous 18 px.
   ========================================================================== */
.h2, .h3, .facts strong, .formula-strip .from b, .plan .price b, caption, .choice-group-title,
.day strong, .summary dl .total dd, .deposit strong, .auth-media p, .date-block strong, .kpi strong,
.step-panel legend, .svc-meta b, .footer-pitch, .footer-title, .footer-cta strong, .cmp-name, .care-list strong {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05;
}
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: 0.01em; }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
/* Chiffres et prix : Anton plus grand, le chiffre porte la marque. */
.facts strong { font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1; }
.formula-strip .from b { font-size: clamp(2.1rem, 3.6vw, 3rem); line-height: 1; }
.plan .price b { font-size: clamp(3.2rem, 5.6vw, 4.6rem); line-height: 1; }
.deposit strong, .date-block strong { font-size: 2.3rem; line-height: 1; }
.kpi strong { font-size: 2.2rem; line-height: 1; }
.day strong { font-size: 1.5rem; line-height: 1; }
.summary dl .total dd { font-size: 1.4rem; line-height: 1; }
.svc-meta b { font-size: 1.4rem; line-height: 1; }
.care-list strong { font-size: 1.15rem; line-height: 1.08; }
.footer-title { font-size: 1.05rem; letter-spacing: 0.06em; }
.footer-pitch { font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.05; }
.footer-cta strong { font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.05; }
.auth-media p { font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.05; }
@media (max-width: 640px) { .auth-media p { font-size: clamp(1.5rem, 6.4vw, 1.9rem); max-width: 20ch; } }
.step-panel legend { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
/* Capitales accentuées (É, À, Ç) : un peu d'air au-dessus de chaque ligne pour qu'elles ne touchent pas la ligne précédente. */
h1, h2, .hero h1, .about-hero h1, .page-hero h1 { padding-top: 0.04em; }

/* Texte courant et interface en Archivo */
.lead { font-weight: 500; line-height: 1.5; }
.nav a { font-weight: 500; letter-spacing: 0.01em; }
.account-link { font-weight: 600; }
.btn { font: 700 0.875rem/1 var(--body); text-transform: uppercase; letter-spacing: 0.08em; }
.btn-sm { font-size: 0.78rem; }
.btn-primary, .btn-primary:hover { color: var(--text); }
.form label, .field, .field-label { font-weight: 600; }
.form input::placeholder, .form textarea::placeholder, .field input::placeholder { color: var(--grey); opacity: 1; }
.form input, .form textarea, .form select, .field input { background: var(--ink-2); }
.card .form input, .card .form textarea, .card .form select, .card .field input, .card input:not([type="checkbox"]):not([type="radio"]) { background: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus, .field input:focus { border-color: var(--text); box-shadow: 0 0 0 3px rgba(196, 15, 17, 0.28); }
.form select:disabled, .combo-btn:disabled, .btn:disabled { color: var(--grey); }
th { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--grey); }
.fine { color: var(--grey); }
.crumbs, .crumbs a { color: var(--grey); }
.paper .fine, .paper .crumbs, .paper .crumbs a { color: var(--paper-muted); }

/* Badges et étiquettes : Archivo 700 en capitales espacées (Yellowtail réservé aux signatures). */
.plan .flag, .choice-flag, .formula-strip .advice, .ba-tag, .illus-tag, .zone-new, .pill {
  font-family: var(--body); font-weight: 700; font-size: 0.7rem; line-height: 1.6; text-transform: uppercase; letter-spacing: 0.12em;
}
.plan .flag, .choice-flag, .formula-strip .advice { color: var(--text); background: var(--red); }
.illus-tag { font-size: 0.65rem; color: var(--text); }
/* Signatures : jamais en capitales, jamais sous 18 px. */
.script, .atelier-art figcaption { text-transform: none; letter-spacing: 0; }
.footer-brand .script { font-size: 1.5rem; }


/* Surfaces : cartes, champs et pied de page sur Surface sur noir. */
.footer { background: var(--ink-2); }
.footer-cta { background: var(--ink); }

/* Formule la plus haut de gamme (Concession) : liseré rouge et étiquette en contour, distincte de « La plus choisie ». */
.plan.is-premium { border-color: var(--red); background: linear-gradient(180deg, rgba(196, 15, 17, 0.1), rgba(196, 15, 17, 0) 55%), var(--ink-2); }
.plan .flag.flag-premium, .choice-flag.flag-premium, .formula-strip .advice.flag-premium { background: var(--ink); color: var(--text); border: 1px solid var(--red); }
/* Accueil : chaque formule garde sa couleur (gris, rouge, crème) en liseré haut. */
.formula-strip a[class*="tier-"] { box-shadow: inset 0 3px 0 var(--tier); }
.formula-strip a.is-premium .advice { position: absolute; top: -0.8rem; left: clamp(1rem, 2vw, 1.6rem); }

/* Réservation en attente (Connexion / Créer un compte) : bloc fixe, identique sur les deux onglets. */
.auth-note { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: 0.75rem; align-items: start; padding: 0.95rem 1.1rem; border-radius: var(--r-sm); border: 1px solid rgba(196, 15, 17, 0.5); background: var(--ink-2); font-size: 0.93rem; line-height: 1.45; }
.auth-note svg { width: 1.3rem; height: 1.3rem; margin-top: 0.1rem; color: var(--red); }
.auth-note strong { display: block; color: var(--text); }
/* Sur place, obligatoire (réservation) */
.form .onsite-check, .onsite-check { display: grid; gap: 0.7rem; margin: 0; padding: 1.1rem 1.2rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); min-width: 0; }
.onsite-check legend { padding: 0 0.4rem; margin-left: -0.4rem; }
.onsite-check .fine { color: var(--muted); }


/* Bandeau des cookies : carte flottante en bas d'écran, hors du flux (aucun décalage de la page). */
.consent { position: fixed; z-index: 80; left: clamp(12px, 3vw, 32px); bottom: clamp(12px, 3vw, 32px); width: min(calc(100% - 24px), 34rem); display: grid; gap: 1rem; padding: 1.3rem 1.4rem; border-radius: var(--r-md); border: 1px solid var(--line-2); border-top: 3px solid var(--red); background: var(--ink-2); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.85); opacity: 0; transform: translateY(16px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.consent.is-open { opacity: 1; transform: none; }
.consent-title { font-size: 1.35rem; margin-bottom: 0.45rem; }
.consent p { font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.6rem; }
.consent-actions .btn { min-width: 8.5rem; }
@media (max-width: 480px) { .consent-actions .btn { flex: 1 1 0; min-width: 0; } }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }
.footer-linkbtn { display: inline-flex; padding: 0.4rem 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 0.95rem; cursor: pointer; transition: color 0.25s; }
.footer-linkbtn:hover { color: var(--red); }
.consent-state { font-weight: 600; color: var(--text); }

/* ==========================================================================
   Couleur propre à chaque niveau de formule complète
   Essentiel : gris technique · Prestige : rouge DMN · Concession : crème garage (sur marine)
   ========================================================================== */
.tier-1 { --tier: var(--grey); --tier-soft: rgba(125, 135, 150, 0.22); }
.tier-2 { --tier: var(--red); --tier-soft: rgba(196, 15, 17, 0.24); }
.tier-3 { --tier: var(--paper); --tier-soft: rgba(241, 233, 218, 0.22); }

/* Prestations : le besoin d'abord */
.needs-label { margin-bottom: 1.1rem; }
.needs { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); gap: clamp(0.8rem, 2vw, 1.2rem); }
.need { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; grid-template-areas: "icon name go" "icon text go" "icon from go"; column-gap: 1rem; row-gap: 0.2rem; height: 100%; padding: 1.3rem 1.4rem; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--ink-2); color: var(--text); text-decoration: none; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s; }
.need svg { grid-area: icon; width: 2rem; height: 2rem; color: var(--red); }
.need-name { grid-area: name; font: 400 1.4rem/1.05 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.need-text { grid-area: text; font-size: 0.9rem; color: var(--muted); }
.need-from { grid-area: from; margin-top: 0.35rem; font-size: 0.85rem; color: var(--muted); }
.need-from b { font: 400 1.35rem/1 var(--display); color: var(--text); }
.need-go { grid-area: go; align-self: center; font-size: 1.3rem; color: var(--muted); transition: transform 0.3s var(--ease), color 0.3s; }
.need:hover { border-color: var(--text); transform: translateY(-2px); }
.need:hover .need-go { transform: translateX(4px); color: var(--text); }
.need.is-main { border-color: rgba(196, 15, 17, 0.65); background: linear-gradient(135deg, rgba(196, 15, 17, 0.16), rgba(196, 15, 17, 0) 62%), var(--ink-2); }

/* Prestations : formules complètes en vedette */
.svc-feature-wrap { scroll-margin-top: 90px; }
.svc-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.svc-feature-media { position: sticky; top: 7rem; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--ink-3); }
.svc-feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.svc-feature-copy { display: grid; gap: 1.15rem; min-width: 0; }
.svc-feature-copy h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.tier-list { display: grid; gap: 0.8rem; margin-top: 0.4rem; }
.tier-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 1.5rem; align-items: center; padding: 1.1rem 1.25rem 1.15rem 1.4rem; border: 1px solid var(--line); border-left: 4px solid var(--tier); border-radius: var(--r-sm); background: var(--ink); transition: border-color 0.3s, background 0.3s; }
.tier-row:hover { background: var(--ink-3); }
.tier-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; font: 700 0.7rem/1.4 var(--body); text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.tier-kicker::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 2px; background: var(--tier); }
.tier-flag { padding: 0.1rem 0.5rem; border-radius: 99px; background: var(--red); color: var(--text); font-size: 0.62rem; letter-spacing: 0.12em; }
.tier-flag.is-premium { background: transparent; border: 1px solid var(--paper); color: var(--paper); }
.tier-row h3 { margin: 0.25rem 0; font-size: 1.65rem; }
.tier-text { font-size: 0.92rem; color: var(--muted); }
.tier-side { display: grid; justify-items: end; gap: 0.6rem; }
.tier-price { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.tier-price b { font: 400 2rem/1 var(--display); color: var(--text); }
.compare-link { justify-self: start; font-weight: 600; }

/* Prestations seules : deux cartes, photo en tête et titre posé dessus */
.singles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2rem); }
.single { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--ink-2); scroll-margin-top: 100px; }
.single-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); }
.single-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.single:hover .single-media img { transform: scale(1.04); }
.single-media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, rgba(15, 14, 13, 0.88) 0%, rgba(15, 14, 13, 0) 55%); pointer-events: none; }
.single-title { position: absolute; z-index: 3; left: 1.4rem; bottom: 1.1rem; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.single-media .illus-tag { top: 1rem; right: 1rem; left: auto; bottom: auto; }
.single-body { display: grid; gap: 1.1rem; align-content: start; padding: 1.4rem 1.4rem 1.6rem; }
.single-body > p { color: var(--muted); }
.single-time { color: var(--text); font-weight: 600; }
.single-levels li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--line); }
.single-levels strong { display: block; font-weight: 700; }
.single-levels span { display: block; font-size: 0.88rem; color: var(--muted); }
.single-levels b { font: 400 1.3rem/1 var(--display); white-space: nowrap; }
.single-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; }
.req { display: inline-block; margin-left: 0.45rem; padding: 0.05rem 0.5rem; border-radius: 99px; background: var(--red); color: var(--text); font: 700 0.62rem/1.6 var(--body); text-transform: uppercase; letter-spacing: 0.1em; vertical-align: 0.15em; }
.onsite .head .btn { margin-top: 0.4rem; }
@media (max-width: 900px) {
  .needs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .svc-feature { grid-template-columns: minmax(0, 1fr); }
  .svc-feature-media { position: relative; top: auto; aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  .singles { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .tier-row { grid-template-columns: minmax(0, 1fr); }
  .tier-side { grid-auto-flow: column; justify-content: space-between; align-items: center; justify-items: start; }
}

/* Tarifs : une carte, une identité. Essentiel sobre (gris), Prestige crème et rouge, Concession marine et crème. */
.plan { display: flex; flex-direction: column; gap: 1.05rem; border-top-width: 3px; border-top-color: var(--tier); }
.plan .price span { font-size: 0.82rem; }
.plan-level { display: flex; align-items: center; gap: 0.65rem; font: 700 0.7rem/1.4 var(--body); text-transform: uppercase; letter-spacing: 0.14em; color: var(--tier); }
.level-dots { display: inline-flex; gap: 0.25rem; }
.level-dots i { width: 0.55rem; height: 0.55rem; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0.55; }
.level-dots i.on { background: currentColor; opacity: 1; }
.plan-pitch { font-size: 0.95rem; }
.plan-points { display: grid; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.plan .plan-points li { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: 0.55rem; font-size: 0.92rem; line-height: 1.4; }
.plan .plan-points li::before { content: ""; width: 0.42rem; height: 0.72rem; margin: 0.1rem 0 0 0.2rem; border: solid var(--tier); border-width: 0 2px 2px 0; border-radius: 0; background: none; transform: rotate(40deg); }
.plan .plan-points li.plan-inherit { font-weight: 700; }
.plan .plan-points li.plan-inherit::before { content: "+"; width: auto; height: auto; margin: 0; border: 0; transform: none; font-weight: 700; color: var(--tier); }
.plan .plan-points li.plan-more { font-size: 0.85rem; color: var(--muted); }
.plan .plan-points li.plan-more::before { content: ""; border: 0; }
.plan-actions { display: grid; gap: 0.75rem; margin-top: auto; padding-top: 0.4rem; }
.plan-detail { justify-self: center; font-size: 0.85rem; font-weight: 600; color: inherit; text-decoration: underline; text-decoration-color: var(--tier); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.plan.tier-1 { background: var(--ink-2); }
.plan.tier-2 { background: var(--paper); color: var(--paper-text); border-color: var(--paper); border-top-color: var(--red); }
.plan.tier-2 .plan-pitch, .plan.tier-2 .price span, .plan.tier-2 .plan-more { color: var(--paper-muted); }
.plan.tier-2 .plan-points { border-top-color: var(--paper-line); }
.plan.tier-2 .btn-ghost { color: var(--paper-text); border-color: rgba(15, 14, 13, 0.35); }
.plan.tier-3, .plan.tier-3.is-premium { background: var(--navy); color: var(--text); border-color: rgba(241, 233, 218, 0.28); border-top-color: var(--paper); }
.plan.tier-3 .plan-pitch, .plan.tier-3 .price span, .plan.tier-3 .plan-more { color: rgba(254, 252, 248, 0.75); }
.plan.tier-3 .plan-points { border-top-color: rgba(241, 233, 218, 0.2); }
.plan.tier-3 .flag.flag-premium { background: var(--navy); border-color: var(--paper); color: var(--paper); }
.btn-cream { background: var(--paper); color: var(--navy); }
.btn-cream::before { background: var(--text); }
.btn-cream:hover { color: var(--navy); }

/* Fiche zone par zone : la voiture prend la couleur de la formule, chaque zone s'allume selon sa couverture. */
.sheet { --tier: var(--red); }
.sheet.tier-1 { --tier: var(--grey); --tier-ink: var(--ink); }
.sheet.tier-2 { --tier: var(--red); --tier-ink: var(--text); }
.sheet.tier-3 { --tier: var(--paper); --tier-ink: var(--navy); }
.sheet-head > div { display: grid; gap: 0.5rem; }
.sheet-tabs a.tier-1[aria-current="true"] { background: var(--grey); color: var(--ink); }
.sheet-tabs a.tier-2[aria-current="true"] { background: var(--red); color: var(--text); }
.sheet-tabs a.tier-3[aria-current="true"] { background: var(--paper); color: var(--navy); }
.sheet-cover { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.6rem 1.2rem; margin: -0.8rem 0 clamp(1.6rem, 3vw, 2.4rem); font-size: 0.9rem; color: var(--muted); }
.sheet-cover b { color: var(--text); font-weight: 700; }
.sheet-meter { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border: 0; border-radius: 99px; background: var(--ink-3); overflow: hidden; color: var(--tier); }
.sheet-meter::-webkit-progress-bar { background: var(--ink-3); border-radius: 99px; }
.sheet-meter::-webkit-progress-value { background: var(--tier); border-radius: 99px; transition: width 0.6s var(--ease), background-color 0.4s; }
.sheet-meter::-moz-progress-bar { background: var(--tier); border-radius: 99px; }
.sheet .car-plan .cp-zone { transition: fill 0.45s var(--ease), fill-opacity 0.45s var(--ease), stroke 0.45s var(--ease), stroke-width 0.35s var(--ease); }
.sheet .car-plan .cp-zone.is-on { fill: var(--tier); stroke: var(--tier); stroke-opacity: 0.75; fill-opacity: 0.16; }
.sheet .car-plan .cp-zone.is-on.cov-2 { fill-opacity: 0.26; }
.sheet .car-plan .cp-zone.is-on.cov-3 { fill-opacity: 0.38; }
.sheet .car-plan .cp-zone.is-on.cov-4 { fill-opacity: 0.52; }
.sheet .car-plan [data-zone="carrosserie"].is-on { fill-opacity: 0.07; }
.sheet .car-plan [data-zone="carrosserie"].is-on.cov-3, .sheet .car-plan [data-zone="carrosserie"].is-on.cov-4 { fill-opacity: 0.14; }
.sheet .car-plan .cp-zone.has-new { stroke-opacity: 1; stroke-width: 2.6; }
.sheet .car-plan .cp-zone.is-focus { stroke: var(--text); stroke-width: 2.8; }
.sheet .sheet-legend .lg-new::before { background: var(--tier); border: 2px solid var(--tier); }
.sheet .sheet-legend .lg-in::before { background: var(--tier-soft, rgba(196, 15, 17, 0.2)); border: 1.5px solid var(--tier); opacity: 0.8; }
.sheet.tier-1 { --tier-soft: rgba(125, 135, 150, 0.25); }
.sheet.tier-2 { --tier-soft: rgba(196, 15, 17, 0.25); }
.sheet.tier-3 { --tier-soft: rgba(241, 233, 218, 0.22); }
.sheet .sheet-zone.has-new { border-color: var(--tier); }
.sheet .sheet-zone.is-on h3::before { border-color: var(--tier); background: var(--tier-soft); }
.sheet .sheet-zone.has-new h3::before { background: var(--tier); }
.sheet .sheet-zone li.is-in::before { border-color: var(--tier); opacity: 0.7; }
.sheet .sheet-zone li.is-new::before { border-color: var(--tier); }
.sheet .zone-new { background: var(--tier); color: var(--tier-ink, var(--text)); }
@media (max-width: 640px) {
  .sheet-cover { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
}

/* Petit intitulé au-dessus d'un titre (« À la carte », « Comparer les formules »…) : Archivo 700, capitales espacées. */
/* Gris technique sur fond sombre (lisible en petit), rouge seulement sur le crème. */
p.label { font: 700 0.72rem/1.4 var(--body); text-transform: uppercase; letter-spacing: 0.16em; color: var(--grey); }
.paper p.label { color: var(--red); }
.plan-time { display: flex; align-items: center; gap: 0.45rem; margin-top: -0.4rem; font-size: 0.85rem; font-weight: 600; }
.plan-time svg { width: 1rem; height: 1rem; color: var(--tier); }
.sheet { scroll-margin-top: 96px; }
@media (max-width: 560px) {
  th, td { padding: 0.7rem 0.4rem; font-size: 0.88rem; }
  th { letter-spacing: 0.06em; font-size: 0.68rem; }
}
/* Libellés de groupes à l'intérieur d'une étape (adresse, sur place) : pas le style du titre d'étape. */
.step-panel legend.field-label { margin-bottom: 0.5rem; font: 600 0.88rem/1.4 var(--body); text-transform: none; letter-spacing: 0; color: var(--text); }
.onsite-check legend.field-label { padding: 0 0.4rem; margin-bottom: 0; }

/* Réservation : options (suppléments). Sélection en rouge DMN ; option indisponible en gris technique, non cliquable. */
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.opt { position: relative; display: grid; align-content: start; gap: 0.35rem; padding: 1rem 1.1rem 1.05rem 2.9rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--ink); cursor: pointer; transition: border-color 0.25s, background 0.25s, box-shadow 0.25s; }
.opt::before { content: ""; position: absolute; left: 1.05rem; top: 1.15rem; width: 1.1rem; height: 1.1rem; border: 1.5px solid var(--line-2); border-radius: 4px; transition: background 0.2s, border-color 0.2s; }
.opt::after { content: ""; position: absolute; left: 1.45rem; top: 1.32rem; width: 0.32rem; height: 0.6rem; border: solid var(--text); border-width: 0 2px 2px 0; transform: rotate(40deg) scale(0); transition: transform 0.2s var(--ease); }
.opt:hover { border-color: var(--text); }
.opt:has(input:checked) { border-color: var(--red); background: linear-gradient(135deg, rgba(196, 15, 17, 0.14), rgba(196, 15, 17, 0) 65%), var(--ink); box-shadow: inset 0 0 0 1px var(--red); }
.opt:has(input:checked)::before { background: var(--red); border-color: var(--red); }
.opt:has(input:checked)::after { transform: rotate(40deg) scale(1); }
.opt:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
.opt-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; }
.opt-head strong { font-weight: 700; }
.opt-text { font-size: 0.87rem; line-height: 1.45; color: var(--muted); }
.opt-price { font-size: 0.85rem; color: var(--muted); }
.opt-price b { font: 400 1.35rem/1 var(--display); color: var(--text); }
.opt-note { font-size: 0.78rem; color: var(--grey); }
.opt-included { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.opt.is-included { cursor: default; opacity: 0.7; }
.opt.is-included .opt-price { text-decoration: line-through; }
.opt.is-off { cursor: not-allowed; border-style: dashed; border-color: rgba(125, 135, 150, 0.45); background: var(--ink-2); }
.opt.is-off:hover { border-color: rgba(125, 135, 150, 0.45); }
.opt.is-off::before { border-color: rgba(125, 135, 150, 0.45); }
.opt.is-off strong, .opt.is-off .opt-price b { color: var(--grey); }
.opt-badge { padding: 0.08rem 0.5rem; border-radius: 99px; border: 1px solid var(--grey); color: var(--grey); font: 700 0.62rem/1.6 var(--body); font-style: normal; text-transform: uppercase; letter-spacing: 0.12em; }
@media (max-width: 640px) { .opts { grid-template-columns: minmax(0, 1fr); } }

/* Tarifs : liste des options */
.opt-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); border-top: 1px solid var(--line-2); }
.opt-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1.2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.opt-row strong { font-weight: 700; }
.opt-row span { display: block; margin-top: 0.2rem; font-size: 0.88rem; color: var(--muted); }
.opt-row-price { flex: 0 0 auto; text-align: right; font-size: 0.85rem; color: var(--muted); white-space: nowrap; }
.opt-row-price b { font: 400 1.5rem/1 var(--display); color: var(--text); }
.opt-row-price small { display: block; margin-top: 0.3rem; font-size: 0.75rem; }
.opt-row.is-off strong, .opt-row.is-off .opt-row-price b { color: var(--grey); }
@media (max-width: 760px) { .opt-list { grid-template-columns: minmax(0, 1fr); } }

/* Autocomplétion d'adresse : même liste que les menus marque / modèle, posée sous le champ. */
.address-field { position: relative; }
.address-pop { grid-template-rows: minmax(0, 1fr); }
.address-pop .combo-option { line-height: 1.35; }

/* Contrastes (WCAG AA) : signature en Crème Garage sur fond sombre ; « + N autres prestations » lisible sur chaque carte. */
.care .script { color: var(--paper); }
.plan.tier-2 .plan-points li.plan-more { color: var(--paper-muted); }
.plan.tier-3 .plan-points li.plan-more { color: rgba(254, 252, 248, 0.75); }
