/* Hallmark · shape: Showroom en une rue (hero épinglé, preuve, parcours, lieu, garanties, infos) · genre: editorial · theme: custom (by request : style Minimalism imposé par le brief creation-de-site) · job: visit · idea: "une voiture d'occasion se juge sur place, sur rendez-vous, et les acheteurs le confirment" · vibe: "papier clair, trait d'encre, bande bleue de plaque"
 * paper: oklch(95.6% 0.005 95) · accent: oklch(39% 0.17 265) · display: Instrument Sans 600 · body: Instrument Sans 400 · hero: scène épinglée, une voiture au trait se dessine et roule sur place, la route s'arrête, la plaque s'allume · nav: marque à gauche, quatre liens, un bouton d'appel · footer: bande encre, coordonnées d'abord, liens légaux ensuite · imagery: dessin vectoriel du hero et une vraie photo du parc · signature: la voiture au trait qui se dessine puis roule au défilement
 * axes: light/grotesk-sans/chromatic-blue · posture: restrained · surface: tinted · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, un vendeur d'occasion ressemble à tous les autres ; ancré sur ce qui est à lui : le « 59 » de la plaque, la rue Jules Guesde, les avis qui parlent de l'annonce conforme */

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --papier: #f2f1ed;
  --pierre: #e4e2dc;
  --blanc: #ffffff;
  --encre: #15171a;
  --encre-2: #55585e;
  --accent: #1739a6;
  --accent-fonce: #0f2a7d;
  --sur-accent: #ffffff;
  --sur-encre: #f2f1ed;
  --sur-encre-2: rgba(242, 241, 237, 0.74);
  --ligne: rgba(21, 23, 26, 0.16);
  --ligne-claire: rgba(242, 241, 237, 0.2);
  --ombre: rgba(21, 23, 26, 0.22);
  --voile-papier: #f2f1ed;
  --erreur: #9b2c1f;
  --surligne: #fff1b8;
  --peinture: #e3e1db;
  --vitre: #26292e;
  --pneu: #1b1d21;
  --jante: #cfd2d6;
  --texte: "Instrument Sans", ui-sans-serif, -apple-system, "Segoe UI", system-ui, sans-serif;
  --titre: "Instrument Sans", ui-sans-serif, -apple-system, "Segoe UI", system-ui, sans-serif;
  --rayon: 4px;
  --rayon-bouton: 6px;
  --entete-h: 72px;
  --cta-mobile-h: 0px;
  --gouttiere: clamp(16px, 4vw, 48px);
  --conteneur: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  background: var(--papier);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-bottom: var(--cta-mobile-h);
  -webkit-font-smoothing: antialiased;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--titre); font-weight: 600; line-height: 1.04; letter-spacing: -0.022em; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); letter-spacing: -0.01em; line-height: 1.2; }
p { text-wrap: pretty; }
p + p { margin-top: 1em; }
.chiffre { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; transition: none; }

.lien-evitement {
  position: absolute; left: 12px; top: -60px; z-index: 500;
  background: var(--encre); color: var(--sur-encre);
  padding: 10px 16px; border-radius: var(--rayon); text-decoration: none;
}
.lien-evitement:focus { top: 12px; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.conteneur { width: min(var(--conteneur), 100%); margin-inline: auto; padding-inline: var(--gouttiere); }
.section { padding-block: clamp(72px, 9vw, 128px); }
.chapo { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--encre-2); max-width: 46ch; margin-top: 20px; line-height: 1.5; }
.petit { font-size: 0.92rem; color: var(--encre-2); }

/* ---------- Boutons : survol, pression, reflet, magnétisme au pointeur (site.js) ---------- */
.bouton {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  border-radius: var(--rayon-bouton); border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.35s ease, translate 0.35s cubic-bezier(.2,.8,.2,1), scale 0.15s ease;
}
.bouton:hover { translate: 0 -2px; box-shadow: 0 10px 24px -12px var(--ombre); }
.bouton:active { scale: 0.97; translate: 0 0; box-shadow: none; }
.bouton[aria-disabled="true"] { opacity: 0.7; pointer-events: none; }
.bouton-plein { background: var(--accent); color: var(--sur-accent); }
.bouton-plein:hover { background: var(--accent-fonce); }
.bouton-plein::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s ease;
}
.bouton-plein:hover::after { transform: translateX(120%); }
.bouton-contour { border-color: currentColor; background: transparent; }
.bouton-contour:hover { background: var(--encre); color: var(--sur-encre); border-color: var(--encre); }
.sur-encre .bouton-contour:hover { background: var(--sur-encre); color: var(--encre); border-color: var(--sur-encre); }
.groupe-boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lien-fort { font-weight: 600; color: var(--accent); text-underline-offset: 0.22em; }
.lien-fort:hover { color: var(--accent-fonce); }
.sur-encre .lien-fort { color: var(--sur-encre); }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--entete-h);
  display: flex; align-items: center;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.entete.defile, .entete.toujours { background: var(--voile-papier); box-shadow: 0 1px 0 var(--ligne); }
.marque { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.2rem; text-decoration: none; letter-spacing: -0.01em; min-height: 44px; }
.marque-bande { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 3px; background: var(--accent); color: var(--sur-accent); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.nav-principale ul { display: flex; gap: 28px; list-style: none; padding: 0; }
.nav-principale a { text-decoration: none; font-size: 0.98rem; padding-block: 10px; position: relative; display: inline-block; }
.nav-principale a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.nav-principale a:hover::after, .nav-principale a[aria-current="page"]::after { transform: scaleX(1); }
.nav-principale a[aria-current="page"] { font-weight: 600; }
.entete-actions { display: flex; align-items: center; gap: 12px; }
.entete-cta { min-height: 44px; padding: 8px 18px; }
.accueil .entete:not(.defile) .entete-cta { opacity: 0; visibility: hidden; }
.entete-cta { transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease; }
.burger { display: none; min-height: 44px; background: none; border: 1.5px solid currentColor; border-radius: var(--rayon-bouton); padding: 8px 16px; font-size: 0.95rem; }
.burger:hover { background: var(--encre); color: var(--sur-encre); border-color: var(--encre); }

@media (max-width: 899px) {
  .burger { display: inline-flex; align-items: center; }
  .entete-cta { display: none; }
  .nav-principale {
    position: fixed; inset: var(--entete-h) 0 auto 0;
    background: var(--papier); color: var(--encre);
    border-bottom: 1px solid var(--ligne);
    padding: 8px var(--gouttiere) 24px; display: none;
  }
  .nav-principale.ouverte { display: block; }
  .nav-principale ul { flex-direction: column; gap: 0; }
  .nav-principale a { display: block; padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--ligne); }
  .nav-principale a::after { display: none; }
}

/* ---------- Fil d'Ariane ---------- */
.fil-ariane { padding-top: calc(var(--entete-h) + 28px); font-size: 0.92rem; color: var(--encre-2); }
.fil-ariane ol { display: flex; flex-wrap: wrap; gap: 0 8px; list-style: none; padding: 0; }
.fil-ariane li + li::before { content: "/"; margin-right: 8px; color: var(--encre-2); }
.fil-ariane a { text-decoration: none; display: inline-block; padding-block: 12px; }
.fil-ariane a:hover { text-decoration: underline; }
.fil-ariane [aria-current="page"] { color: var(--encre); font-weight: 600; display: inline-block; padding-block: 12px; }

/* ---------- Hero dessiné (js/hero-trace.js) ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 600px;
  overflow: hidden; background: var(--papier); color: var(--encre);
}
.hero-fond { position: absolute; inset: 0; pointer-events: none; }
.hero-fond svg { width: 100%; height: 100%; }
.chiffre-fond { font-family: var(--titre); font-weight: 600; fill: none; stroke: var(--encre); stroke-opacity: 0.08; stroke-width: 2; }
.poteaux line { stroke: var(--encre); stroke-opacity: 0.14; stroke-width: 2; }
.hero-texte {
  position: absolute; left: 0; right: 0; top: calc(var(--entete-h) + clamp(28px, 9vh, 110px));
}
.hero-texte-boite { max-width: 640px; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; }
.hero .chapo { margin-top: 18px; }
.hero-adresse { font-size: 1rem; color: var(--encre-2); margin-bottom: 18px; }
.hero-appel { display: inline-block; margin-top: 22px; font-size: 1.1rem; padding-block: 10px; }
.hero-fin { position: absolute; left: 0; right: 0; top: calc(var(--entete-h) + clamp(28px, 9vh, 110px)); opacity: 0; visibility: hidden; }
.hero-fin p { font-family: var(--titre); font-weight: 600; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.05; letter-spacing: -0.022em; max-width: 15ch; }
.scene {
  position: absolute; right: max(var(--gouttiere), calc((100vw - var(--conteneur)) / 2 + var(--gouttiere)));
  bottom: clamp(20px, 6vh, 64px); width: min(62vw, 960px); transform-origin: 60% 85%;
}
.scene svg { width: 100%; height: auto; overflow: visible; }
.voiture .trait { fill: none; stroke: var(--encre); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.voiture .trait-fin { stroke-width: 1.6; }
.voiture .trait-fort { stroke-width: 6.5; }
.voiture .peinture { fill: var(--peinture); }
.voiture .vitre { fill: var(--vitre); }
.voiture .feu-avant { fill: var(--papier); }
.voiture .feu-arriere { fill: var(--encre); }
.roue .pneu { fill: var(--pneu); }
.roue .jante { fill: var(--jante); stroke: var(--encre); stroke-width: 1.6; }
.roue .moyeu { fill: var(--encre); }
.roue .rayon { stroke: var(--encre); stroke-width: 3; stroke-linecap: round; }
.roue { transform-box: fill-box; transform-origin: center; }
.sol { stroke: var(--encre); stroke-width: 2; }
.marquage rect { fill: var(--encre); fill-opacity: 0.5; }
.ombre-sol { fill: var(--encre); fill-opacity: 0.16; }
.plaque {
  position: absolute; display: flex; align-items: stretch; height: 52px;
  right: max(var(--gouttiere), calc((100vw - var(--conteneur)) / 2 + var(--gouttiere)));
  top: calc(var(--entete-h) + clamp(28px, 9vh, 110px));
  border: 2px solid var(--encre); border-radius: 6px; overflow: hidden; background: var(--blanc);
  font-variant-numeric: tabular-nums;
}
.plaque span { display: flex; justify-content: center; font-weight: 600; }
.plaque .plaque-bande { width: 30px; background: var(--accent); color: var(--sur-accent); font-size: 0.9rem; align-items: flex-end; padding-bottom: 5px; }
.plaque .plaque-bande-dpt { width: 40px; font-size: 1.05rem; }
.plaque .plaque-nom { padding: 0 22px; align-items: center; font-size: 1.7rem; letter-spacing: 0.06em; color: var(--encre); white-space: nowrap; }
.hero-defiler { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; font-size: 0.85rem; color: var(--encre-2); display: none; }

/* État initial animé : seulement quand le script prend la main (classe posée par hero-trace.js). */
.hero.anime .voiture .trait { stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; }
.hero.anime [data-peint] { opacity: 0; }
.hero.anime .plaque { opacity: 0; }
.hero.anime .hero-defiler { display: block; }

/* Téléphone et tablette en portrait : scène recomposée (texte en haut, voiture en bas, plaque dessous). */
@media (max-width: 899px), (max-aspect-ratio: 1/1) {
  .hero { min-height: 560px; }
  .hero-texte, .hero-fin { top: calc(var(--entete-h) + clamp(16px, 5vh, 56px)); }
  .hero h1 { font-size: clamp(2.3rem, 9.4vw, 3.6rem); }
  .hero-fin p { font-size: clamp(1.9rem, 8vw, 3rem); }
  .scene { left: 50%; right: auto; translate: -50% 0; width: min(112vw, 760px); bottom: clamp(84px, 17vh, 200px); transform-origin: 50% 85%; }
  .plaque { right: auto; left: 50%; top: auto; bottom: clamp(16px, 4vh, 48px); translate: -50% 0; height: 42px; }
  .plaque .plaque-nom { font-size: 1.3rem; padding: 0 16px; }
  .plaque .plaque-bande { width: 24px; font-size: 0.78rem; }
  .plaque .plaque-bande-dpt { width: 32px; font-size: 0.9rem; }
  .hero-defiler { bottom: 8px; }
}
@media (max-height: 520px) and (min-aspect-ratio: 1/1) {
  .hero { min-height: 420px; }
  .hero h1 { font-size: 2rem; }
  .hero .chapo { font-size: 1rem; margin-top: 8px; }
  .hero-appel { margin-top: 8px; }
  .scene { width: 44vw; bottom: 12px; }
  .plaque { display: none; }
}

/* ---------- Bande d'action ---------- */
.sur-encre { background: var(--encre); color: var(--sur-encre); }
.sur-encre .chapo, .sur-encre .petit { color: var(--sur-encre-2); }
.bande-action-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.bande-action .groupe-boutons { margin-top: 0; flex-direction: column; align-items: stretch; max-width: 420px; justify-self: end; width: 100%; }
.bande-action .bouton { min-height: 58px; font-size: 1.05rem; }
.bande-action .lien-fort { align-self: flex-start; padding-block: 10px; }

/* ---------- Avis ---------- */
.avis-grille { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.note-grande { font-family: var(--titre); font-weight: 600; font-size: clamp(5.5rem, 13vw, 10rem); line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.note-grande small { font-size: 0.32em; letter-spacing: -0.01em; color: var(--encre-2); margin-left: 6px; }
.note-source { margin-top: 18px; color: var(--encre-2); max-width: 30ch; }
.avis-cote h2 { margin-top: 40px; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.avis-cote .lien-fort { display: inline-block; margin-top: 18px; padding-block: 10px; }
.avis-liste { list-style: none; padding: 0; border-top: 1px solid var(--ligne); }
.avis-liste li { padding: 30px 0; border-bottom: 1px solid var(--ligne); }
.avis-liste blockquote p { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.5; max-width: 60ch; }
.avis-liste figcaption { margin-top: 12px; font-size: 0.95rem; color: var(--encre-2); }

/* ---------- Parcours (route tracée au défilement) ---------- */
.parcours-titre { max-width: 18ch; }
.parcours { position: relative; margin-top: 64px; }
.parcours-liste { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.parcours-route { position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--encre); transform-origin: left center; }
.parcours-route::after { content: ""; position: absolute; inset: 6px 0 auto 0; height: 2px; background: repeating-linear-gradient(90deg, var(--encre-2) 0 22px, transparent 22px 48px); opacity: 0.6; }
.parcours li { position: relative; padding-top: 52px; }
.parcours li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--papier); border: 2px solid var(--encre); transition: background-color 0.4s ease, border-color 0.4s ease;
}
.parcours li.atteint::before { background: var(--accent); border-color: var(--accent); }
.parcours .num { font-size: 0.95rem; color: var(--encre-2); font-variant-numeric: tabular-nums; }
.parcours h3 { margin-top: 6px; }
.parcours p { margin-top: 10px; color: var(--encre-2); font-size: 1rem; }
.parcours a { color: var(--accent); }

/* ---------- Le parc (photo réelle) ---------- */
.parc-grille { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.parc-cadre { overflow: hidden; border-radius: var(--rayon); aspect-ratio: 4 / 3; background: var(--pierre); }
.parc-cadre img { position: relative; top: -9%; width: 100%; height: 118%; max-width: none; object-fit: cover; will-change: transform; }
.parc-grille figcaption { margin-top: 12px; font-size: 0.92rem; color: var(--encre-2); }

/* ---------- Garanties ---------- */
.garanties-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.garanties-texte p { max-width: 52ch; }
.citation-forte { border-left: 3px solid var(--accent); padding-left: 24px; }
.citation-forte p { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; }
.citation-forte figcaption { margin-top: 14px; color: var(--encre-2); font-size: 0.95rem; }

/* ---------- Infos pratiques ---------- */
.infos-section { position: relative; overflow: hidden; background: var(--pierre); }
.infos-section .couche { position: absolute; pointer-events: none; font-family: var(--titre); font-weight: 600; color: transparent; -webkit-text-stroke: 2px var(--ligne); line-height: 1; font-variant-numeric: tabular-nums; }
.infos { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 48px; }
.infos h3 { margin-bottom: 12px; }
.infos address { font-style: normal; }
.infos ul { list-style: none; padding: 0; }
.infos li + li { margin-top: 4px; }
.infos a { display: inline-block; padding-block: 8px; }
.infos .lien-fort { color: var(--accent); }

/* ---------- Appel final ---------- */
.final { text-align: left; }
.final h2 { max-width: 16ch; }

/* ---------- Pages intérieures ---------- */
.page-tete { padding-top: 12px; padding-bottom: clamp(32px, 6vw, 64px); }
.page-tete h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); max-width: 18ch; }
.page-tete .chapo { max-width: 52ch; }
.bloc { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--ligne); }
.bloc-grille { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.bloc-grille h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.bloc-grille p { max-width: 60ch; }
.liste-etapes { padding-left: 1.3em; }
.liste-etapes li + li { margin-top: 12px; }
.faits { display: grid; grid-template-columns: minmax(0, 14ch) minmax(0, 1fr); gap: 0; border-top: 1px solid var(--ligne); }
.faits dt, .faits dd { padding: 14px 0; border-bottom: 1px solid var(--ligne); }
.faits dt { color: var(--encre-2); padding-right: 16px; }
.faits dd { margin: 0; }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq details:first-of-type { border-top: 1px solid var(--ligne); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 1.1rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; font-weight: 400; transition: transform 0.3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; max-width: 62ch; color: var(--encre-2); }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 2.2em 0 0.7em; }
.prose h3 { font-size: 1.15rem; margin: 1.6em 0 0.5em; }
.prose ul { padding-left: 1.2em; margin: 0.8em 0; }
.prose li + li { margin-top: 0.4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 0.97rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.a-completer { background: var(--surligne); padding: 0 4px; border-radius: 3px; }
@media (max-width: 699px) {
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .prose tr { border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 6px 14px; margin-bottom: 14px; }
  .prose td { border: 0; padding: 8px 0; }
  .prose td + td { border-top: 1px dashed var(--ligne); }
  .prose td::before { content: attr(data-label); display: block; font-size: 0.85rem; color: var(--encre-2); margin-bottom: 2px; font-weight: 600; }
}

/* ---------- Rendez-vous et formulaire ---------- */
.rdv-grille { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.tel-grand { display: inline-block; font-family: var(--titre); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.02em; text-decoration: none; color: var(--accent); font-variant-numeric: tabular-nums; padding-block: 6px; }
.tel-grand:hover { text-decoration: underline; }
.formulaire { display: grid; gap: 20px; max-width: 560px; }
.champ label { display: block; font-weight: 600; margin-bottom: 6px; }
.champ .aide { font-weight: 400; color: var(--encre-2); }
.champ input, .champ textarea {
  width: 100%; font: inherit; padding: 13px 14px; min-height: 50px;
  border: 1.5px solid var(--ligne); border-radius: var(--rayon-bouton); background: var(--blanc); color: var(--encre);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.champ input:hover, .champ textarea:hover { border-color: var(--encre-2); }
.champ input:focus-visible, .champ textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.champ input[aria-invalid="true"], .champ textarea[aria-invalid="true"] { border-color: var(--erreur); }
.champ textarea { min-height: 120px; resize: vertical; }
.champ-erreur { margin-top: 6px; color: var(--erreur); font-weight: 600; font-size: 0.95rem; }
.note-donnees { font-size: 0.92rem; color: var(--encre-2); }
.cache-robot { position: absolute; left: -9999px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--encre); color: var(--sur-encre-2); padding: 72px 0 36px; font-size: 0.98rem; }
.pied-haut { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--ligne-claire); }
.pied .marque { display: inline-flex; color: var(--sur-encre); margin-bottom: 14px; padding-block: 0; }
.pied h2 { font-family: var(--texte); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; color: var(--sur-encre); margin-bottom: 10px; }
.pied ul { list-style: none; padding: 0; }
.pied a, .pied button.lien { color: var(--sur-encre-2); text-decoration: none; display: inline-block; padding-block: 10px; min-height: 44px; }
.pied a:hover, .pied button.lien:hover { color: var(--sur-encre); text-decoration: underline; }
.pied address { font-style: normal; }
.pied-tel { font-size: 1.35rem; font-weight: 600; color: var(--sur-encre) !important; font-variant-numeric: tabular-nums; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 0.9rem; }
.pied-legal { display: flex; flex-wrap: wrap; gap: 0 22px; list-style: none; padding: 0; }
button.lien { background: none; border: 0; padding: 0; font-size: inherit; text-align: left; }

/* ---------- Barre d'action mobile ---------- */
.cta-mobile { display: none; }
@media (max-width: 899px) {
  :root { --cta-mobile-h: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .cta-mobile {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; inset: auto 0 0 0; z-index: 90;
    padding: 10px var(--gouttiere) calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--voile-papier); border-top: 1px solid var(--ligne);
    transform: translateY(0); transition: transform 0.35s ease;
  }
  .cta-mobile.cachee { transform: translateY(110%); }
  .cta-mobile .bouton { min-height: 50px; padding: 10px 14px; }
}

/* ---------- Bandeau cookies (js/consentement.js) ---------- */
.cookies {
  position: fixed; left: 16px; bottom: calc(16px + var(--cta-mobile-h)); z-index: 400;
  width: min(460px, calc(100% - 32px));
  background: var(--blanc); color: var(--encre);
  border-radius: var(--rayon); border: 1px solid var(--ligne); box-shadow: 0 18px 60px var(--ombre);
  padding: 22px; font-size: 0.95rem;
}
.cookies[hidden] { display: none; }
.cookies h2 { font-family: var(--texte); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; margin-bottom: 8px; }
.cookies p { color: var(--encre-2); }
.cookies-boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cookies-boutons .bouton { min-height: 46px; padding: 8px 12px; font-size: 0.95rem; }
.cookies-boutons .bouton-choix { background: var(--encre); color: var(--sur-encre); }
.cookies-boutons .bouton-choix:hover { background: var(--accent-fonce); }
.cookies-perso { margin-top: 14px; border-top: 1px solid var(--ligne); padding-top: 14px; }
.cookies-perso label { display: flex; gap: 10px; align-items: flex-start; }
.cookies-perso input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.cookies-lien { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.9rem; }
.cookies-lien button, .cookies-lien a { background: none; border: 0; padding: 8px 0; text-decoration: underline; min-height: 44px; }

/* ---------- Animations : états initiaux seulement si JS actif et mouvement autorisé ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(32px); }
  .js .parcours-route { transform: scaleX(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .pied-haut { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .bande-action-grille, .avis-grille, .parc-grille, .garanties-grille, .bloc-grille, .rdv-grille { grid-template-columns: minmax(0, 1fr); }
  .bande-action .groupe-boutons { justify-self: stretch; max-width: none; }
  .parcours { padding-left: 40px; }
  .parcours-liste { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .parcours-route { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: center top; }
  .parcours-route::after { display: none; }
  .js .parcours-route { transform: scaleY(0); }
  .parcours li { padding-top: 0; }
  .parcours li::before { left: -40px; top: 2px; }
  .infos { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 599px) {
  .pied-haut { grid-template-columns: minmax(0, 1fr); }
  .faits { grid-template-columns: minmax(0, 1fr); }
  .faits dt { padding-bottom: 0; border-bottom: 0; }
  .note-grande { font-size: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .entete, .cta-mobile, .cookies, .hero-fond, .hero-defiler { display: none !important; }
  body { background: var(--blanc); color: var(--encre); padding: 0; }
}
