/* Hallmark · theme: custom · idea: "la fin des pneus lisses : la page passe du pneu lisse au pneu neuf" · vibe: "atelier de pneus, néo-brutal, vert de l'enseigne" · paper: asphalte #111411 et craie #EEF0E7 (façade et salle d'attente du magasin) · accent: vert #5FD43C mesuré sur l'affiche du magasin · faces: Tektur 800 (titres), Figtree (texte) · posture: dark/display-heavy/chromatic-green · hero: pneu dessiné qui roule et retrouve ses rainures au défilement, scène composée dans Claude Design · signature: le pneu lisse qui redevient neuf, puis le lecteur de dimension du flanc */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R3 V4 · weakest: R, néo-brutal chargé (bordures, ombres, bandes) ; sections calmes en craie entre les sections sombres, bandes vertes seulement dans le hero et le pied */
/* Hallmark · waive 80 · pneu dessiné en SVG dans le hero (index.html, .pneu) · décision de Max du 8/11/2026 : hero animé par le code sans vidéo ; les vraies photos du magasin portent le reste de la page */
/* Hallmark · answered: noir et vert vif = couleurs réelles de l'enseigne et de l'affiche du magasin (photos de la fiche Google), pas un choix par défaut ; F15 : un seul écart (--ecart-colonnes) pour les grilles de section, les écarts restants sont internes aux composants (tableau, pied, liste d'atouts) ; footer : quatre colonnes d'infos pratiques, adresse et horaires d'abord, attendu pour un commerce local (42) ; 58 : la bande d'avis est doublée pour défiler (copie aria-hidden), le reste sert la recherche locale et les réponses citables ; F1 : apostrophes droites, règle de Max (caractères saisissables au clavier) */

@font-face {
  font-family: "Tektur";
  src: url("../fonts/tektur-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --asphalte: #111411;
  --asphalte-2: #1a1e1a;
  --asphalte-3: #262b26;
  --noir: #070807;
  --craie: #eef0e7;
  --beton: #d9dcd2;
  --encre: #111411;
  --encre-2: #3c423c;
  --clair-2: #c9cec4;
  --vert: #5fd43c;
  --vert-clair: #8be56d;
  --jante: #c7ccc3;
  --jante-2: #7e847c;
  --flanc: #7f877f;
  --voile-sombre: rgba(17, 20, 17, 0.72);
  --voile-clair: rgba(238, 240, 231, 0.14);
  --rayon: 12px;
  --rayon-petit: 8px;
  --bord: 3px;
  --titre: "Tektur", "Arial Narrow", sans-serif;
  --texte: "Figtree", ui-sans-serif, sans-serif;
  --entete-h: 72px;
  --cta-mobile-h: 0px;
  --gouttiere: clamp(16px, 4vw, 48px);
  --mesure: 1240px;
  --ecart-colonnes: clamp(32px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; background: var(--asphalte); }

body {
  background: var(--craie);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  padding-bottom: var(--cta-mobile-h);
}

img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--titre); font-weight: 800; line-height: 1; letter-spacing: -0.01em; overflow-wrap: break-word; min-width: 0; text-wrap: balance; font-variant-numeric: tabular-nums; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.1; }
p + p { margin-top: 1em; }
.penche { display: inline-block; transform: skewX(-7deg); transform-origin: left bottom; }

:focus-visible { outline: 3px solid var(--vert); outline-offset: 3px; border-radius: 4px; transition: none; }
.clair :focus-visible, .beton :focus-visible, .prose :focus-visible { outline-color: var(--encre); }

.lien-evitement { position: absolute; left: 12px; top: -60px; z-index: 500; background: var(--vert); color: var(--encre); padding: 8px 16px; border: var(--bord) solid var(--encre); border-radius: var(--rayon-petit); text-decoration: none; font-weight: 700; }
.lien-evitement:focus { top: 12px; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.conteneur { width: min(var(--mesure), 100%); margin-inline: auto; padding-inline: var(--gouttiere); }
.section { padding-block: clamp(72px, 10vw, 140px); }
.sombre { background: var(--asphalte); color: var(--craie); }
.clair { background: var(--craie); color: var(--encre); }
.beton { background: var(--beton); color: var(--encre); }
.chapo { font-size: clamp(1.1rem, 1.7vw, 1.3rem); max-width: 44ch; margin-top: 20px; }
.sombre .chapo, .sombre .discret { color: var(--clair-2); }
.discret { color: var(--encre-2); font-size: 0.95rem; }

/* ---------- Boutons néo-brutalistes : bordure, ombre dure, ils se posent à la pression ---------- */

.bouton {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 24px;
  border: var(--bord) solid var(--encre);
  border-radius: var(--rayon);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  box-shadow: 5px 5px 0 var(--encre);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s cubic-bezier(.2,.8,.2,1), translate 0.25s cubic-bezier(.2,.8,.2,1);
}
.bouton:hover { translate: -2px -2px; box-shadow: 7px 7px 0 var(--encre); }
.bouton:disabled { opacity: 0.6; cursor: not-allowed; translate: 0 0; box-shadow: 0 0 0 var(--encre); }
.bouton:active { translate: 5px 5px; box-shadow: 0 0 0 var(--encre); transition-duration: 0.06s; }
.bouton-plein { background: var(--vert); color: var(--encre); }
.bouton-plein::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, var(--voile-clair) 45%, var(--craie) 50%, var(--voile-clair) 55%, transparent 70%);
  opacity: 0.35;
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}
.bouton-plein:hover::after { transform: translateX(120%); }
.bouton-contour { background: var(--craie); color: var(--encre); }
.bouton-contour:hover { background: var(--encre); color: var(--craie); }
.sombre .bouton, .hero .bouton, .entete .bouton, .cta-mobile .bouton { box-shadow: 5px 5px 0 var(--craie); }
.sombre .bouton:hover, .hero .bouton:hover { box-shadow: 7px 7px 0 var(--craie); }
.sombre .bouton:active, .hero .bouton:active { box-shadow: 0 0 0 var(--craie); }
.groupe-boutons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

/* ---------- En-tête ---------- */

.entete { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--entete-h); display: flex; align-items: center; color: var(--craie); background: var(--asphalte); border-bottom: var(--bord) solid var(--vert); transition: background-color 0.3s ease, border-color 0.3s ease; }
.accueil .entete:not(.defile) { background: transparent; border-bottom-color: transparent; }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1320px, 100%); }
.marque { font-family: var(--titre); font-weight: 800; font-size: 1.5rem; text-decoration: none; letter-spacing: 0.01em; display: inline-flex; align-items: baseline; gap: 8px; transform: skewX(-7deg); white-space: nowrap; }
.marque .lys { color: var(--vert); }
.marque .num { font-size: 0.75em; color: var(--clair-2); }
.nav-principale ul { display: flex; gap: 28px; list-style: none; padding: 0; }
.nav-principale a { text-decoration: none; font-size: 0.98rem; font-weight: 600; padding-block: 8px; position: relative; }
.nav-principale a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--vert); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.nav-principale a:hover::after, .nav-principale a[aria-current="page"]::after { transform: scaleX(1); }
.entete-actions { display: flex; align-items: center; gap: 16px; }
.entete-cta { min-height: 44px; padding: 8px 16px; font-size: 0.95rem; }
.accueil .entete:not(.defile) .entete-cta { opacity: 0; visibility: hidden; }
.burger { display: none; min-height: 44px; background: transparent; border: var(--bord) solid var(--craie); border-radius: var(--rayon-petit); padding: 8px 16px; font-weight: 700; }

@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(--asphalte); color: var(--craie); border-bottom: var(--bord) solid var(--vert); 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: 16px 0; font-size: 1.2rem; border-bottom: 1px solid var(--asphalte-3); }
  .nav-principale a::after { display: none; }
  .nav-principale a[aria-current="page"] { color: var(--vert); }
}

/* ---------- Fil d'Ariane et tête des pages intérieures ---------- */

.page-tete { background: var(--asphalte); color: var(--craie); padding: calc(var(--entete-h) + 28px) 0 clamp(48px, 7vw, 88px); border-bottom: var(--bord) solid var(--encre); }
.fil-ariane { font-size: 0.92rem; color: var(--clair-2); }
.fil-ariane ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.fil-ariane li + li::before { content: "/"; margin-right: 8px; }
.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(--craie); font-weight: 600; display: inline-block; padding-block: 12px; }
.page-tete h1 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); margin-top: 12px; max-width: 18ch; }
.page-tete .chapo { color: var(--clair-2); }

/* ---------- Hero : le pneu lisse qui redevient neuf ---------- */

.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: radial-gradient(120% 90% at 72% 40%, var(--asphalte-2) 0%, var(--asphalte) 58%, var(--noir) 100%); color: var(--craie); }
.hero-scene { position: absolute; inset: 0; pointer-events: none; }
.sol { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, var(--asphalte-2) 0%, var(--asphalte) 100%); border-top: var(--bord) solid var(--noir); overflow: hidden; }
.traces { position: absolute; left: 0; top: 26%; width: 200%; height: 42%; opacity: 0.6; background: repeating-linear-gradient(90deg, transparent 0 18px, var(--asphalte-3) 18px 30px, transparent 30px 44px), repeating-linear-gradient(90deg, var(--noir) 0 9px, transparent 9px 44px); will-change: transform; }
.pneu-cadre { position: absolute; width: min(48vw, 78vh); aspect-ratio: 1; left: 54%; top: 50%; translate: 0 -54%; will-change: transform; }
.pneu { width: 100%; height: 100%; overflow: visible; will-change: transform; }
.pneu .pneu-corps { fill: var(--asphalte-2); }
.pneu .bande-lisse { stroke: var(--asphalte-3); }
.pneu .usure { stroke: var(--flanc); opacity: 0.25; }
.pneu .bande-neuve { stroke: var(--asphalte-3); }
.pneu .rainure { stroke: var(--noir); }
.pneu .flanc { fill: var(--asphalte-2); }
.pneu .flanc-texte { fill: var(--flanc); font-family: var(--texte); font-weight: 700; }
.pneu .jante-fond { fill: var(--noir); }
.pneu .jante-levre { stroke: var(--jante-2); }
.pneu .rayons { fill: var(--jante); stroke: var(--jante-2); }
.pneu .moyeu { fill: var(--beton); stroke: var(--jante-2); }
.pneu .moyeu-anneau, .pneu .balayage { stroke: var(--vert); }
.pneu .revele { stroke: var(--craie); }
.insecable { white-space: nowrap; }
.pneu .moyeu-centre { fill: var(--asphalte); }
.bandes span { position: absolute; display: block; background: var(--vert); width: 46px; height: 160vh; top: -40vh; transform-origin: top left; will-change: transform; }
.bandes span { opacity: 0.85; }
.bandes span:nth-child(1) { left: 62%; rotate: -24deg; }
.bandes span:nth-child(2) { left: 97%; width: 28px; rotate: 22deg; }

.hero-texte { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding-top: var(--entete-h); }
.hero-texte > * { max-width: 680px; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 4.3rem); line-height: 0.98; }
.hero-phrase { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.45; margin-top: 24px; max-width: 30ch; color: var(--clair-2); }
.hero-fin { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(48px, 9vh, 96px); opacity: 0; visibility: hidden; }
.hero-slogan { font-family: var(--titre); font-weight: 800; font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: 0.95; max-width: 12ch; }
.jauge { position: absolute; right: var(--gouttiere); bottom: clamp(24px, 5vh, 56px); width: 300px; padding: 16px 16px; background: var(--craie); color: var(--encre); border: var(--bord) solid var(--encre); border-radius: var(--rayon); box-shadow: 6px 6px 0 var(--vert); }
.jauge p { font-size: 0.95rem; font-weight: 600; }
.jauge-barre { position: relative; height: 18px; margin-top: 8px; border: var(--bord) solid var(--encre); border-radius: 6px; background: var(--beton); overflow: hidden; }
.jauge-barre span { position: absolute; inset: 0; background: var(--vert); transform-origin: left; transform: scaleX(0.2); }
.jauge-bornes { display: flex; justify-content: space-between; gap: 8px; font-size: 0.85rem; margin-top: 8px; }
.hero-defiler { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; font-size: 0.9rem; color: var(--clair-2); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-defiler::after { content: ""; width: 3px; height: 28px; background: var(--vert); animation: trait 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes trait { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); opacity: 0; } }

@media (max-width: 899px) and (orientation: portrait) {
  .pneu-cadre { width: min(80vw, 46vh); left: 50%; top: calc(var(--entete-h) + 2vh); translate: -50% 0; }
  .sol { height: 30%; bottom: auto; top: calc(var(--entete-h) + 2vh + min(80vw, 46vh) * 0.82); }
  .bandes span:nth-child(1) { left: 80%; width: 28px; rotate: -18deg; }
  .bandes span:nth-child(2) { display: none; }
  .hero-texte { justify-content: flex-end; padding-bottom: 32px; }
  .hero h1 { font-size: clamp(2.1rem, 9.6vw, 3rem); }
  .hero-phrase { margin-top: 16px; font-size: 1.05rem; }
  .hero-texte .groupe-boutons { margin-top: 20px; }
  .jauge { display: none; }
  .hero-fin { padding-bottom: 40px; }
  .hero-slogan { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .hero-defiler { display: none; }
}

@media (min-aspect-ratio: 1/1) and (max-height: 560px) {
  .hero { min-height: 100svh; }
  .hero h1 { font-size: 2.2rem; }
  .hero-phrase { display: none; }
  .hero-texte .groupe-boutons { margin-top: 16px; }
  .jauge { display: none; }
}

/* Sans JavaScript ou avec mouvement réduit : le pneu est neuf, le texte du départ reste lisible. */
.hero-statique .bande-neuve-groupe { mask: none; }
.hero-statique .balayage { display: none; }
.hero-statique .jauge-barre span { transform: scaleX(1); }

/* ---------- Sans rendez-vous ---------- */

.deux-colonnes { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--ecart-colonnes); align-items: center; }
.faits { list-style: none; padding: 0; margin-top: 36px; border-top: var(--bord) solid var(--encre); }
.faits li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 0; border-bottom: var(--bord) solid var(--encre); }
.faits svg { width: 44px; height: 44px; stroke: var(--encre); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.faits strong { display: block; font-family: var(--titre); font-weight: 800; font-size: 1.3rem; line-height: 1.15; }
.faits span { display: block; color: var(--encre-2); margin-top: 4px; }
.cadre-photo { position: relative; border: var(--bord) solid var(--encre); border-radius: var(--rayon); overflow: hidden; box-shadow: 10px 10px 0 var(--encre); background: var(--beton); }
.cadre-photo img { width: 100%; height: 100%; object-fit: cover; }
.cadre-photo figcaption, .legende { font-size: 0.92rem; color: var(--encre-2); margin-top: 16px; }
.photo-attente { aspect-ratio: 3 / 4; rotate: 2deg; }

/* ---------- Prix et lecteur de dimension ---------- */

.prix-grille { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--ecart-colonnes); align-items: start; margin-top: 48px; }
.autocollant { position: relative; background: var(--vert); color: var(--encre); border: var(--bord) solid var(--encre); border-radius: var(--rayon); box-shadow: 8px 8px 0 var(--craie); padding: clamp(24px, 3vw, 36px); rotate: -3deg; max-width: 420px; }
.autocollant p:first-child { font-weight: 700; font-size: 1.1rem; }
.autocollant .montant { font-family: var(--titre); font-weight: 800; font-size: clamp(4rem, 9vw, 7rem); line-height: 0.9; margin-top: 8px; }
.autocollant .unite { font-weight: 700; font-size: 1.2rem; margin-top: 4px; }
.autocollant .condition { font-size: 0.92rem; margin-top: 16px; }
.lecteur h3 { margin-bottom: 8px; }
.flanc-dimension { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding: 16px; background: var(--asphalte-2); border: var(--bord) solid var(--craie); border-radius: var(--rayon); }
.flanc-dimension button { min-height: 56px; min-width: 44px; padding: 8px 12px; font-family: var(--titre); font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1; background: transparent; color: var(--craie); border: var(--bord) solid transparent; border-radius: var(--rayon-petit); transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.flanc-dimension button:hover { border-color: var(--clair-2); }
.flanc-dimension button[aria-pressed="true"] { background: var(--vert); color: var(--encre); border-color: var(--encre); }
.flanc-dimension .sep { align-self: center; font-family: var(--titre); font-size: clamp(1.6rem, 3.6vw, 2.6rem); color: var(--flanc); }
.explication { margin-top: 16px; min-height: 5.6em; padding: 16px 16px; background: var(--craie); color: var(--encre); border: var(--bord) solid var(--encre); border-radius: var(--rayon); box-shadow: 6px 6px 0 var(--vert); }
.explication strong { font-family: var(--titre); font-weight: 800; font-size: 1.15rem; display: block; }

/* ---------- Scène zoom sur l'atelier ---------- */

.scene-zoom { position: relative; height: 100svh; overflow: hidden; background: var(--asphalte); color: var(--craie); display: grid; place-items: center; }
.scene-zoom-media { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; overflow: hidden; }
.scene-zoom-media img { width: 100%; height: 100%; object-fit: cover; }
.scene-zoom-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--voile-sombre) 100%); }
.scene-zoom-calque { position: relative; z-index: 2; text-align: center; padding-inline: var(--gouttiere); }
.scene-zoom-calque h2 { font-size: clamp(2.4rem, 7vw, 6rem); background: var(--asphalte); border: var(--bord) solid var(--vert); border-radius: var(--rayon); padding: 12px 24px; }
.scene-zoom-fin { position: absolute; z-index: 2; left: var(--gouttiere); right: var(--gouttiere); bottom: clamp(32px, 7vh, 72px); max-width: 520px; font-size: 1.1rem; background: var(--craie); color: var(--encre); border: var(--bord) solid var(--encre); border-radius: var(--rayon); box-shadow: 6px 6px 0 var(--vert); padding: 16px 20px; }

/* ---------- Ce qu'on fait : tableau d'affichage ---------- */

.tableau { list-style: none; padding: 0; margin-top: 44px; border: var(--bord) solid var(--encre); border-radius: var(--rayon); overflow: hidden; background: var(--craie); box-shadow: 10px 10px 0 var(--encre); }
.tableau li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 24px; padding: 24px clamp(16px, 3vw, 32px); border-top: var(--bord) solid var(--encre); align-items: baseline; transition: background-color 0.2s ease; }
.tableau li:first-child { border-top: 0; }
.tableau li:hover { background: var(--beton); }
.tableau h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-variant-numeric: tabular-nums; }
.tableau p { color: var(--encre-2); }
.vehicules { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-top: 28px; }
.vehicules li { border: var(--bord) solid var(--encre); border-radius: 999px; padding: 8px 16px; font-weight: 600; background: var(--craie); }

/* ---------- Avis Google ---------- */

.avis-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.note { font-family: var(--titre); font-weight: 800; font-size: clamp(4.4rem, 10vw, 8rem); line-height: 0.85; color: var(--vert); }
.note-detail { color: var(--clair-2); margin-top: 8px; }
.bande-avis { position: relative; margin-top: 48px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, var(--asphalte) 6%, var(--asphalte) 94%, transparent); }
.bande-avis-piste { display: flex; gap: 24px; width: max-content; animation: defile-avis 70s linear infinite; padding: 8px 12px 16px 8px; }
.bande-avis:hover .bande-avis-piste, .bande-avis.en-pause .bande-avis-piste { animation-play-state: paused; }
@keyframes defile-avis { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.avis-carte { width: min(380px, 78vw); flex: none; background: var(--craie); color: var(--encre); border: var(--bord) solid var(--encre); border-radius: var(--rayon); box-shadow: 6px 6px 0 var(--vert); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.avis-carte blockquote { font-size: 1.05rem; line-height: 1.5; }
.avis-carte figcaption { font-size: 0.92rem; color: var(--encre-2); margin-top: auto; }
.avis-carte figcaption strong { color: var(--encre); }
.avis-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 28px; }
.bouton-pause { min-height: 44px; padding: 8px 16px; background: transparent; color: var(--craie); border: var(--bord) solid var(--craie); border-radius: var(--rayon-petit); font-weight: 700; }
.avis-actions a { font-weight: 600; }

/* ---------- Infos pratiques ---------- */

.infos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); margin-top: 44px; }
.info-bloc { background: var(--craie); border: var(--bord) solid var(--encre); border-radius: var(--rayon); box-shadow: 6px 6px 0 var(--encre); padding: 24px; }
.info-bloc h3 { margin-bottom: 12px; }
.info-bloc address { font-style: normal; }
.info-bloc ul { list-style: none; padding: 0; }
.info-bloc li + li { margin-top: 8px; }
.info-bloc a { font-weight: 600; display: inline-block; padding-block: 8px; }
.horaires { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.horaires th, .horaires td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--beton); vertical-align: top; font-weight: 400; }
.horaires th { font-weight: 600; padding-right: 12px; }
.photo-facade { aspect-ratio: 3 / 4; max-width: 360px; rotate: -2deg; }
.infos-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: var(--ecart-colonnes); align-items: start; }
.infos-photo .infos { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.infos-photo .info-horaires { grid-column: 2; grid-row: 1 / span 2; }
.horaires td { white-space: nowrap; }

/* ---------- Appel final ---------- */

.final { background: var(--asphalte); color: var(--craie); position: relative; overflow: hidden; }
.final h2 { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 14ch; }
.final .chapo { color: var(--clair-2); }
.final-bande { position: absolute; right: -60px; top: -40px; width: 54px; height: 140%; background: var(--vert); rotate: 24deg; pointer-events: none; }

/* ---------- Pages intérieures ---------- */

.liste-prestations { display: grid; gap: 28px; margin-top: 8px; }
.prestation { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--ecart-colonnes); padding: clamp(24px, 3vw, 32px); background: var(--craie); border: var(--bord) solid var(--encre); border-radius: var(--rayon); box-shadow: 8px 8px 0 var(--encre); }
.prestation h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.prestation p + ul, .prestation ul { margin-top: 12px; padding-left: 1.2em; }
.prestation li + li { margin-top: 4px; }
.faq { margin-top: 28px; border-top: var(--bord) solid var(--encre); }
.faq details { border-bottom: var(--bord) solid var(--encre); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-family: var(--titre); font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.6rem; transition: rotate 0.2s ease; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 20px; max-width: 70ch; color: var(--encre-2); }
.eclate { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: 44px; perspective: 1100px; }
.eclate .cadre-photo { aspect-ratio: 3 / 4; }
.eclate .cadre-photo:nth-child(2) { translate: 0 40px; }
.atouts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 32px; border-top: var(--bord) solid var(--encre); }
.atouts li { padding: 16px 0; border-bottom: var(--bord) solid var(--encre); }
.atouts strong { font-family: var(--titre); font-weight: 800; font-size: 1.15rem; display: block; }

.prose { max-width: 72ch; }
.conteneur.prose { max-width: none; }
.conteneur.prose > * { max-width: 72ch; }
.conteneur.prose > .faq { 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; font-family: var(--texte); font-weight: 700; }
.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.95rem; }
.prose th, .prose td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--encre-2); vertical-align: top; }
.prose a { text-decoration-thickness: 1px; }
.a-completer { background: var(--vert); padding: 0 4px; border-radius: 3px; }
.prose-section { padding-block: clamp(48px, 7vw, 96px); }

@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: rect(0 0 0 0); }
  .prose tr { border: var(--bord) solid var(--encre); border-radius: var(--rayon); padding: 8px 16px; margin-bottom: 16px; }
  .prose td { border: 0; padding: 8px 0; }
  .prose td + td { border-top: 1px dashed var(--encre-2); }
  .prose td::before { content: attr(data-label); display: block; font-size: 0.85rem; color: var(--encre-2); margin-bottom: 2px; font-weight: 600; }
}

/* ---------- Formulaire ---------- */

.formulaire { display: grid; gap: 20px; max-width: 560px; }
.champ label, .champ legend { display: block; font-weight: 700; margin-bottom: 8px; }
.champ .aide { display: block; font-weight: 400; font-size: 0.92rem; color: var(--encre-2); margin-top: -2px; margin-bottom: 8px; }
.champ input, .champ select { width: 100%; min-height: 52px; font: inherit; padding: 12px 16px; border: var(--bord) solid var(--encre); border-radius: var(--rayon-petit); background: var(--craie); color: var(--encre); box-shadow: 4px 4px 0 var(--encre); }
.champ input:focus-visible, .champ select:focus-visible { outline: 3px solid var(--vert); outline-offset: 2px; }
.champ[data-erreur] input, .champ[data-erreur] select { border-color: var(--encre); box-shadow: 4px 4px 0 var(--vert); }
.erreur { display: block; margin-top: 8px; font-weight: 700; font-size: 0.95rem; }
.erreur:empty { display: none; }
.erreur::before { content: "Erreur : "; }
.note-donnees { font-size: 0.92rem; color: var(--encre-2); }
.cache-robot { position: absolute; left: -9999px; }
.etat-envoi { font-weight: 600; }
.contact-grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--ecart-colonnes); align-items: start; }

/* ---------- Pied de page ---------- */

.pied { background: var(--asphalte); color: var(--clair-2); padding: 72px 0 36px; font-size: 0.98rem; border-top: var(--bord) solid var(--vert); }
.pied-grille { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--asphalte-3); }
.pied .marque { color: var(--craie); display: inline-flex; margin-bottom: 12px; }
.pied h2 { font-family: var(--texte); font-size: 1rem; color: var(--craie); margin-bottom: 8px; font-weight: 700; }
.pied ul { list-style: none; padding: 0; }
.pied a, .pied button.lien { color: var(--clair-2); text-decoration: none; display: inline-block; padding-block: 8px; }
.pied a:hover, .pied button.lien:hover { color: var(--vert); text-decoration: underline; }
.pied address { font-style: normal; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 0.92rem; }
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(72px + env(safe-area-inset-bottom, 0px)); }
  .cta-mobile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; position: fixed; inset: auto 0 0 0; z-index: 90; padding: 8px var(--gouttiere) calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--asphalte); color: var(--craie); border-top: var(--bord) solid var(--vert); transform: translateY(0); transition: transform 0.35s ease; }
  .cta-mobile.cachee { transform: translateY(110%); }
  .cta-mobile .bouton { min-height: 48px; padding: 8px 12px; font-size: 0.95rem; box-shadow: 4px 4px 0 var(--craie); }
}

/* ---------- Bandeau cookies ---------- */

.cookies { position: fixed; left: 16px; bottom: calc(16px + var(--cta-mobile-h)); z-index: 400; width: min(460px, calc(100% - 32px)); background: var(--craie); color: var(--encre); border: var(--bord) solid var(--encre); border-radius: var(--rayon); box-shadow: 8px 8px 0 var(--vert); padding: 24px; font-size: 0.95rem; }
.cookies[hidden] { display: none; }
.cookies h2 { font-family: var(--texte); font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.cookies p { color: var(--encre-2); }
.cookies-boutons { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 16px; }
.cookies-boutons .bouton { min-height: 46px; padding: 8px 12px; font-size: 0.95rem; box-shadow: 4px 4px 0 var(--encre); }
.cookies-boutons .bouton-choix { background: var(--encre); color: var(--craie); }
.cookies-boutons .bouton-choix:hover { background: var(--asphalte-3); }
.cookies-perso { margin-top: 16px; border-top: 1px solid var(--encre-2); padding-top: 16px; }
.cookies-perso label { display: flex; gap: 8px; align-items: flex-start; }
.cookies-perso input { margin-top: 4px; width: 20px; height: 20px; flex: none; }
.cookies-lien { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.92rem; }
.cookies-lien button, .cookies-lien a { background: none; border: 0; padding: 8px 0; text-decoration: underline; }

/* ---------- Effets du gabarit utilisés ici ---------- */

[data-eclate] { transform-style: preserve-3d; perspective: 1100px; }
[data-couche] { transform-style: preserve-3d; will-change: transform; }

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(36px); }
}

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
  .pied-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .infos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 799px) {
  .deux-colonnes, .prix-grille, .infos-photo, .contact-grille { grid-template-columns: minmax(0, 1fr); }
  .tableau li, .prestation { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .photo-attente { max-width: 420px; }
  .autocollant { margin-inline: 4px; }
}

@media (max-width: 599px) {
  .infos, .infos-photo .infos, .pied-grille, .atouts { grid-template-columns: minmax(0, 1fr); }
  .infos-photo .info-horaires { grid-column: auto; grid-row: auto; }
  .horaires td { white-space: normal; }
  .eclate { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .eclate .cadre-photo:nth-child(3) { display: none; }
  .eclate .cadre-photo:nth-child(2) { translate: 0 24px; }
  .cookies-boutons { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@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; }
  .bande-avis-piste { animation: none; flex-wrap: wrap; width: auto; }
  .bande-avis-piste [aria-hidden="true"] { display: none; }
  .bande-avis { mask-image: none; }
}

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