/* ============================================================
   Démo « entreprise de rénovation » — de la pierre brute à la maison finie
   Police auto-hébergée (sous-ensemble latin) : Archivo, un seul fichier
   variable (largeur 100 à 112, graisse 400 à 600). Aucune requête externe.
   Palette résidentielle : chaux, pierre, ardoise, terre cuite. Le chantier
   ne subsiste qu'en touches : cotes de plan, filets de mesure, étapes.
   Effets : la maison du premier écran se dessine une fois (trait SVG +
   fondus) ; le reste suit le défilement quand le navigateur le permet.
   Sans prise en charge, ou en « réduire les animations », tout est affiché
   dans son état final. Angles nets partout.
   ============================================================ */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-stretch: 100% 112%;
  font-display: swap;
}

/* Contrastes mesurés (WCAG 2) :
   ardoise #24302e sur chaux #f4efe6 11,9:1 · sur pierre #e9e1d3 10,5:1
   gris #55605c sur chaux 5,7:1 · sur pierre 5,0:1
   terre cuite #a34a29 sur chaux 5,1:1 · blanc sur terre cuite 5,9:1
   chaux sur terre cuite foncée #8d3f22 6,4:1 (appel final)
   chaux sur ardoise 11,9:1 · brume #c7cfca sur ardoise 8,6:1
   terre claire #e59a73 sur ardoise 6,0:1 */
:root {
  --chaux:    #f4efe6;
  --pierre:   #e9e1d3;
  --plan:     #ece5d8;
  --sable:    #d6cab6;
  --enduit:   #fbf8f2;
  --ardoise:  #24302e;
  --ardoise-2:#2f3d3a;
  --gris:     #55605c;
  --brume:    #c7cfca;
  --terre:    #a34a29;
  --terre-d:  #8d3f22;
  --terre-c:  #e59a73;
  --brique:   #c99c84;
  --line:     rgba(36, 48, 46, .16);
  --line-d:   rgba(244, 239, 230, .16);
  --focus:    var(--terre);
  --font:     "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter:   clamp(1rem, 4vw, 3rem);
  --wrap:     80rem;
  --util-h:   2.5rem;
  --bar-h:    4.5rem;
  --ease:     cubic-bezier(.22, 1, .36, 1);
  --ease-draw:cubic-bezier(.55, .1, .25, 1);
}
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }

@view-transition { navigation: auto; }

/* ── Socle ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 1rem); scrollbar-color: var(--gris) var(--pierre); }
body {
  background: var(--chaux); color: var(--ardoise);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased; caret-color: var(--terre);
  overflow-x: clip;
}
::selection { background: var(--terre-c); color: var(--ardoise); }
img { display: block; max-width: 100%; height: auto; }
svg { flex: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 600; font-stretch: 112%; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .8rem 1.2rem; background: var(--ardoise); color: var(--chaux); font-weight: 600; }
.skip-link:focus { top: 1rem; }
.no-scroll { overflow: hidden; }
.title { font-size: clamp(1.9rem, 4vw, 3rem); }
.block-head { display: grid; gap: 1rem; max-width: var(--wrap); margin: 0 auto 2.75rem; }
.block-head p { max-width: 36rem; color: var(--gris); }
.block-head--dark p { color: var(--brume); }
@media (min-width: 900px) { .block-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; } }

/* Le filet de cote : un trait fin terminé par deux tics, la seule trace
   « chantier » répétée d'une section à l'autre. */
.cote-rule { position: relative; display: block; height: 14px; max-width: 12rem; }
.cote-rule::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: currentColor; }
.cote-rule::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(currentColor, currentColor) left / 1px 100% no-repeat, linear-gradient(currentColor, currentColor) right / 1px 100% no-repeat;
}

/* ── Boutons et liens ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem;
  padding: .7rem 1.5rem; border: 1.5px solid var(--terre); background: var(--terre); color: #fff;
  font: 600 1rem var(--font); font-stretch: 106%; letter-spacing: .005em;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: var(--terre-d); border-color: var(--terre-d); }
.btn--line { background: transparent; border-color: var(--ardoise); color: var(--ardoise); }
.btn--line:hover { background: var(--ardoise); border-color: var(--ardoise); color: var(--chaux); }
.btn--light { background: var(--chaux); border-color: var(--chaux); color: var(--ardoise); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ardoise); }
.link {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--terre);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .3em;
  transition: text-underline-offset .25s var(--ease), color .25s;
}
.link:hover { text-underline-offset: .18em; color: var(--terre-d); }

/* ── En-tête : bandeau utilitaire + barre ─────────────────────
   Le bandeau défile, la barre reste collée (top négatif). */
.top { position: sticky; top: calc(-1 * var(--util-h)); z-index: 40; }
.util {
  display: flex; align-items: center; gap: 2rem; height: var(--util-h); padding: 0 var(--gutter);
  background: var(--pierre); color: var(--ardoise); font-size: .86rem;
}
.util__item { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.util__item svg { color: var(--terre); }
.util__link { margin-left: auto; min-height: 44px; font-weight: 600; color: var(--terre); }
.util__link:hover { text-decoration: underline; text-underline-offset: .25em; }
.bar {
  display: grid; grid-template-columns: auto 1fr auto; align-items: stretch;
  height: var(--bar-h); background: var(--chaux); border-bottom: 1px solid var(--sable);
}
.brand { display: flex; align-items: center; gap: .8rem; padding: 0 1.5rem 0 var(--gutter); }
.brand__mark { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; background: var(--ardoise); color: var(--chaux); }
.brand__mark svg { width: 100%; height: 100%; }
.brand__mark path { color: var(--terre-c); }
.brand__mark text { fill: currentColor; font: 600 17px var(--font); font-stretch: 112%; }
.brand__name { font-weight: 600; font-stretch: 112%; font-size: 1.15rem; letter-spacing: -.01em; white-space: nowrap; }
.menu__list { display: flex; justify-content: center; height: 100%; }
.menu__link {
  position: relative; display: flex; align-items: center; height: 100%; padding: 0 1.25rem;
  font-weight: 500; font-size: 1rem; color: var(--gris); transition: color .25s;
}
.menu__link::after { content: ""; position: absolute; left: 1.25rem; right: 1.25rem; bottom: -1px; height: 2px; background: var(--terre); transform: scaleX(0); transition: transform .35s var(--ease); }
.menu__link:hover { color: var(--ardoise); }
.menu__link:hover::after { transform: scaleX(.4); }
.menu__link.is-active { color: var(--ardoise); font-weight: 600; }
.menu__link.is-active::after { transform: none; }
.menu__call { display: none; }
.callblock {
  display: flex; align-items: center; gap: .8rem; padding: 0 var(--gutter) 0 1.5rem;
  background: var(--ardoise); color: var(--chaux); transition: background-color .25s;
}
.callblock svg { color: var(--terre-c); }
.callblock__text { display: grid; line-height: 1.15; }
.callblock__label { font-size: .8rem; color: var(--brume); }
.callblock__num { font-weight: 600; font-stretch: 112%; font-size: 1.2rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.callblock:hover { background: var(--ardoise-2); }
.menu-btn { display: none; }

@media (max-width: 1080px) {
  .util__hours { display: none; }
  .menu__link { padding: 0 .9rem; }
  .menu__link::after { left: .9rem; right: .9rem; }
}
/* Menu mobile : volet qui se déplie sous la barre. */
@media (max-width: 900px) {
  :root { --bar-h: 4rem; }
  .bar { grid-template-columns: 1fr auto auto; }
  .callblock { padding: 0 1.1rem; }
  /* Le numéro reste lisible par les lecteurs d'écran, l'icône seule s'affiche. */
  .callblock__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .menu-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
    min-width: var(--bar-h); padding: 0 .9rem; border: 0; border-left: 1px solid var(--sable); background: var(--chaux); color: var(--ardoise);
    font: 500 .78rem var(--font); cursor: pointer;
  }
  .menu-btn__bars { display: grid; gap: 6px; width: 1.4rem; }
  .menu-btn__bars span { height: 2px; background: currentColor; transition: transform .35s var(--ease); }
  .top.is-open .menu-btn__bars span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .top.is-open .menu-btn__bars span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .menu {
    position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100svh - var(--bar-h)); overflow-y: auto;
    padding: .5rem var(--gutter) 1.5rem; background: var(--chaux); border-bottom: 1px solid var(--sable);
    box-shadow: 0 18px 30px -18px rgba(36, 48, 46, .35);
    transform: translateY(-.75rem); opacity: 0; visibility: hidden;
    transition: transform .4s var(--ease), opacity .3s, visibility 0s .4s;
  }
  .top.is-open .menu { transform: none; opacity: 1; visibility: visible; transition: transform .4s var(--ease), opacity .3s; }
  .menu__list { flex-direction: column; height: auto; }
  .menu__link {
    height: auto; min-height: 4rem; padding: 0; color: var(--ardoise);
    font-size: 1.6rem; font-weight: 600; font-stretch: 112%; letter-spacing: -.02em; border-bottom: 1px solid var(--line);
  }
  .menu__link::after { display: none; }
  .menu__link.is-active { color: var(--terre); }
  .menu__call {
    display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.5rem; margin-top: 1.25rem;
    background: var(--terre); color: #fff; font-weight: 600; font-size: 1.1rem;
  }
  html:not(.js) .menu { position: static; transform: none; opacity: 1; visibility: visible; grid-column: 1 / -1; border: 0; box-shadow: none; padding: 0 var(--gutter); }
  html:not(.js) .bar { height: auto; grid-template-columns: 1fr auto; }
  html:not(.js) .bar > .brand, html:not(.js) .callblock { min-height: var(--bar-h); }
  html:not(.js) .menu-btn, html:not(.js) .menu__call { display: none; }
  html:not(.js) .menu__list { flex-direction: row; flex-wrap: wrap; gap: 0 1.25rem; }
  html:not(.js) .menu__link { font-size: 1rem; min-height: 3rem; border: 0; }
}
@media (max-width: 720px) {
  .util__label, .util__link { display: none; }
  .util { font-size: .82rem; }
  .callblock { display: none; }
  .brand__name { font-size: 1rem; }
  .brand__mark { width: 2.25rem; height: 2.25rem; }
  .brand { padding-right: .75rem; gap: .6rem; }
}

/* ── Premier écran : le texte, et la maison qui se construit ── */
.hero {
  display: grid; gap: 2rem; align-items: center;
  max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 4.5rem) var(--gutter) clamp(2.5rem, 6vw, 4.5rem);
}
.hero__text { display: grid; gap: 1.5rem; justify-items: start; }
.hero__title { font-size: clamp(2.2rem, 4.1vw, 3.75rem); line-height: 1.04; letter-spacing: -.035em; }
.hero__line { display: block; }
.hero__line:nth-child(2) { color: var(--terre); }
.hero__lead { max-width: 34rem; color: var(--gris); font-size: 1.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
/* Sur téléphone, les boutons d'un même groupe prennent toute la largeur. */
@media (max-width: 720px) {
  .hero__actions, .order__actions, .cta__actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero__actions .btn, .order__actions .btn, .cta__actions .btn { width: 100%; }
}
@media (min-width: 960px) {
  .hero { grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 4vw, 4rem); min-height: min(46rem, calc(100svh - var(--util-h) - var(--bar-h))); }
}

/* La planche : fond de plan, dessin, légende des étapes. */
.build { position: relative; margin: 0; padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem) 1.25rem; background: var(--plan); border: 1px solid var(--sable); }
.build__legend { display: grid; gap: .6rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.stages { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; font-size: .86rem; font-weight: 500; }
.stage { position: relative; padding-bottom: .3rem; color: var(--ardoise); }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--terre); }
.build__note { color: var(--gris); font-size: .88rem; }
.build__replay {
  justify-self: start; display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none;
  color: var(--terre); font: 600 .92rem var(--font); text-decoration: underline; text-underline-offset: .3em; cursor: pointer;
}
.build__replay:hover { color: var(--terre-d); }

/* Le dessin. Couleurs des matériaux : enduit, ardoise, terre cuite, sauge. */
.house { display: block; width: 100%; height: auto; overflow: visible; }
.house .ln, .house .ln-fine, .house .ln-ground, .house .ln-wood, .house .ln-door, .house .cote path { fill: none; stroke: var(--ardoise); stroke-width: 2.2; stroke-linejoin: miter; stroke-linecap: square; }
.house .ln-fine { stroke-width: 1.3; }
.house .ln-ground { stroke-width: 2.6; }
.house .ln-wood { stroke: var(--terre); stroke-width: 2.4; }
.house .ln-door { stroke: var(--terre-d); stroke-width: 1.5; }
.house .opening { fill: var(--plan); }
.house .cote path { stroke: var(--gris); stroke-width: 1.2; }
.house .label { fill: var(--gris); font: 500 13px var(--font); text-anchor: middle; letter-spacing: .04em; }
.house .bricks line { stroke: var(--brique); stroke-width: 1.2; }
.house .earth line { stroke: var(--sable); stroke-width: 1.4; }
.house .footing { fill: var(--sable); stroke: var(--gris); stroke-width: 1; stroke-dasharray: 5 4; }
.house .scaffold { opacity: 0; }
.house .scaffold path { fill: none; stroke: #8b7b66; stroke-width: 2; }
.house .scaffold .board { stroke: var(--terre-c); stroke-width: 5; }
.house .fill-enduit { fill: var(--enduit); }
.house .fill-roof { fill: #3b4845; }
.house .fill-glass { fill: #cdd6d1; }
.house .fill-warm { fill: #efcb93; }
.house .fill-door { fill: var(--terre); }
.house .fill-sill { fill: var(--sable); }
.house .fill-plinth { fill: #e4cdbd; }
.house .lintels rect { fill: var(--sable); stroke: var(--ardoise); stroke-width: .9; }
.house .ln-light { stroke: #6d7a76; }
.house .fill-green { fill: #a9b59f; stroke: var(--ardoise); stroke-width: 1.3; }
.house .tree .ln { stroke-width: 2.4; }
/* Schéma des services : la maison finie, la partie du métier en couleur. */
.house--mini .ln { stroke-width: 4; }
.house--mini .ln-fine { stroke-width: 2.4; }
.house--mini .ln-ground { stroke-width: 4; }
.house--mini .footing { stroke-width: 2; }
.house--mini .bricks, .house--mini .ln-wood { display: none; }
.house .hl--fill { fill: var(--terre); }
.house .hl--line { fill: none; stroke: var(--terre); stroke-width: 7; }
.house .hl--soft { fill: var(--terre-c); opacity: .6; }

/* La construction : chaque élément attend son étape (--t), puis se dessine
   (`d`, trait SVG) ou apparaît en fondu (`f`). L'état caché n'existe que
   sous `.is-armed`, posé par le script en ligne quand l'animation est permise. */
.house .s0 { --t: 0s; }
.house .s1 { --t: .35s; }
.house .s2 { --t: .8s; }
.house .s3 { --t: 1.45s; }
.house .s4 { --t: 1.95s; }
.house .s5 { --t: 2.5s; }
.house .s5.fill-glass, .house .s5.fill-sill { --t: 2.85s; }
.house .s5.fill-door, .house .s5.ln-door { --t: 2.95s; }
.house .s5.fill-green, .house .tree { --t: 3.05s; }
.house .s5.fill-warm { --t: 3.35s; }
@media (prefers-reduced-motion: no-preference) {
  .build.is-armed .house .d { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
  .build.is-armed .house .f { opacity: 0; }
  .build.is-armed .house .bricks { opacity: 1; }
  .build.is-armed .house .bricks line { opacity: 0; }
  .build.is-armed .stage { color: var(--gris); }
  .build.is-armed .stage::after { transform: scaleX(0); transform-origin: left; }

  .build.is-play .house .d { animation: draw .75s var(--ease-draw) var(--t) both; }
  .build.is-play .house .f { animation: fade .7s ease-out var(--t) both; }
  .build.is-play .house .fill-enduit { animation-duration: 1s; }
  .build.is-play .house .bricks { animation: none; }
  .build.is-play .house .bricks line { animation: fade .25s ease-out both; animation-delay: calc(.95s + var(--k) * .045s); }
  .build.is-play .house .tree { transform-box: fill-box; transform-origin: 50% 100%; animation: grow .9s var(--ease) var(--t) both; }
  .build.is-play .house .scaffold { animation: scaffold 2.1s ease-in-out .95s both; }
  .build.is-play .stage { animation: stage-on .5s ease-out both; animation-delay: var(--st); }
  .build.is-play .stage::after { animation: stage-bar .6s var(--ease) both; animation-delay: var(--st); }
}
.stage:nth-child(1) { --st: 0s; }
.stage:nth-child(2) { --st: .35s; }
.stage:nth-child(3) { --st: .8s; }
.stage:nth-child(4) { --st: 1.45s; }
.stage:nth-child(5) { --st: 1.95s; }
.stage:nth-child(6) { --st: 2.5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes grow { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes scaffold { 0% { opacity: 0; } 18%, 78% { opacity: 1; } 100% { opacity: 0; } }
@keyframes stage-on { from { color: var(--gris); } to { color: var(--ardoise); } }
@keyframes stage-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ── Chiffres clés (emplacements) ─────────────────────────── */
.stats { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(3rem, 7vw, 5rem); }
.stats__list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ardoise); }
.stat { position: relative; display: grid; align-content: start; gap: .3rem; padding: 1.25rem 1rem 1.25rem 0; border-bottom: 1px solid var(--line); }
.stat::before { content: ""; position: absolute; left: 0; top: -5px; width: 1px; height: 9px; background: var(--ardoise); }
.stat__num { font-weight: 500; font-stretch: 112%; font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--gris); font-size: .95rem; }
.stats__note { margin-top: .9rem; color: var(--gris); font-size: .88rem; }
@media (min-width: 900px) {
  .stats__list { grid-template-columns: repeat(4, 1fr); }
  .stat { padding-right: 1.5rem; border-bottom: 0; }
  .stat + .stat { padding-left: 1.5rem; }
  .stat + .stat::before { left: 0; }
}

/* ── Métiers ──────────────────────────────────────────────── */
.trades { padding: clamp(3.5rem, 8vw, 6rem) var(--gutter); background: var(--pierre); }
.trades__list { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 2.5rem 1.5rem; }
.trade { display: grid; align-content: start; gap: .75rem; }
.trade__link { display: grid; gap: 1rem; }
.trade__photo { display: block; overflow: hidden; background: var(--sable); }
.trade__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.trade__link:hover .trade__img { transform: scale(1.04); }
.trade__title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--ardoise); font-weight: 600; font-stretch: 112%; font-size: 1.25rem; letter-spacing: -.015em; }
.trade__title svg { color: var(--terre); transition: transform .35s var(--ease); }
.trade__link:hover .trade__title svg { transform: translateX(.3rem); }
.trade p { color: var(--gris); font-size: .98rem; }
@media (min-width: 640px) { .trades__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .trades__list { grid-template-columns: repeat(4, 1fr); } }

/* ── Avant / après : la preuve du brut au fini ────────────── */
.ba {
  display: grid; gap: 2.5rem; align-items: center;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
}
.ba__text { display: grid; gap: 1.1rem; justify-items: start; }
.ba__text p { color: var(--gris); max-width: 32rem; }
.ba__text .ba__hint { display: inline-flex; align-items: center; gap: .5rem; color: var(--ardoise); font-weight: 500; font-size: .95rem; }
.ba__hint svg { color: var(--terre); }
@media (min-width: 900px) {
  .ba { grid-template-columns: 1fr 1.55fr; gap: 4rem; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
}
.compare {
  --pos: 50%;
  position: relative; margin: 0; overflow: hidden; aspect-ratio: 3 / 2; background: var(--sable);
  outline: 1px solid var(--ardoise); outline-offset: 6px; touch-action: pan-y;
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: var(--chaux); pointer-events: none;
}
.compare__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 3rem; height: 3rem; margin: -1.5rem 0 0 -1.5rem;
  background: var(--chaux) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324302e' stroke-width='1.8' stroke-linecap='square'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 6px 16px -6px rgba(36, 48, 46, .45);
}
.compare__tag {
  position: absolute; top: .75rem; padding: .3rem .7rem; background: var(--chaux); color: var(--ardoise);
  font-weight: 600; font-size: .85rem; pointer-events: none;
}
.compare__tag--before { left: .75rem; }
.compare__tag--after { right: .75rem; background: var(--ardoise); color: var(--chaux); }
/* Le curseur natif couvre toute l'image : glisser au doigt, flèches au clavier. */
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:has(.compare__range:focus-visible) { outline: 3px solid var(--terre); }

/* ── Étapes : le trait d'avancement ───────────────────────── */
.steps, .journey, .promise { --focus: var(--terre-c); padding: clamp(3.5rem, 8vw, 6rem) var(--gutter); background: var(--ardoise); color: var(--chaux); }
.progress { position: relative; max-width: var(--wrap); margin: 0 auto; }
.progress__bar { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--terre-c); transform-origin: top; }
.progress::before { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--line-d); }
.steps__list { display: grid; gap: 2.5rem; padding-left: 1.75rem; }
.step { position: relative; display: grid; gap: .5rem; align-content: start; }
.step::before { content: ""; position: absolute; left: calc(-1.75rem - 4px); top: 1.1rem; width: 9px; height: 9px; background: var(--terre-c); }
.step__mark { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--line-d); color: var(--terre-c); }
.step__num { font-weight: 500; font-stretch: 112%; font-size: .95rem; color: var(--brume); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.4rem; }
.step p { color: var(--brume); max-width: 22rem; }
@media (min-width: 760px) {
  .progress__bar, .progress::before { width: 100%; height: 1px; transform-origin: left; }
  .steps__list { grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 2.25rem 0 0; }
  .step::before { left: 0; top: calc(-2.25rem - 4px); }
}

/* ── Réalisations : volet d'enduit qui se lève ────────────── */
.work { padding: clamp(3.5rem, 8vw, 6rem) var(--gutter); }
.work__grid { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 1rem; }
.work__item figure { display: grid; gap: .6rem; height: 100%; margin: 0; }
.work__frame { position: relative; display: block; overflow: hidden; min-height: 14rem; background: var(--sable); }
.work__frame::after { content: ""; position: absolute; inset: 0; background: var(--enduit); transform: scaleX(0); transform-origin: right; }
.work__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work__item:hover .work__img { transform: scale(1.03); }
.work__item figcaption { color: var(--gris); font-size: .92rem; }
@media (min-width: 640px) {
  .work__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .work__frame { aspect-ratio: 3 / 2; min-height: 0; }
}
@media (min-width: 1000px) {
  .work__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1.25rem; }
  .work__item:first-child { grid-column: span 2; grid-row: span 2; }
  .work__item:first-child figure { grid-template-rows: 1fr auto; }
  .work__item:first-child .work__frame { aspect-ratio: auto; }
}
.work__more { max-width: var(--wrap); margin: 1.5rem auto 0; }

/* ── Galerie de réalisations (page Réalisations) ──────────────
   Grille régulière : le filtre change la première photo visible, une
   vignette double sauterait d'une photo à l'autre. */
.work--gallery { padding-top: 0; }
.filters { max-width: var(--wrap); margin: 0 auto 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.filters__btn {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .4rem 1rem;
  border: 1.5px solid var(--ardoise); background: transparent; color: var(--ardoise);
  font: 600 .95rem var(--font); cursor: pointer; transition: background-color .25s, color .25s;
}
.filters__btn:hover { background: var(--pierre); }
.filters__btn[aria-pressed="true"] { background: var(--ardoise); color: var(--chaux); }
.filters__n { font-weight: 500; font-variant-numeric: tabular-nums; opacity: .8; }
.filters__status { max-width: var(--wrap); margin: 0 auto 1.5rem; color: var(--gris); font-size: .95rem; min-height: 1.5em; }
.work__trade { display: block; color: var(--terre); font-weight: 600; font-size: .85rem; }
.work__item[hidden] { display: none; }
@media (min-width: 1000px) {
  .work__grid--gallery .work__item:first-child { grid-column: auto; grid-row: auto; }
  .work__grid--gallery .work__item:first-child figure { grid-template-rows: none; }
  .work__grid--gallery .work__item:first-child .work__frame { aspect-ratio: 3 / 2; }
}

/* ── L'entreprise ─────────────────────────────────────────── */
.about {
  display: grid; gap: 2.5rem; align-items: center; max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto; padding: 0 var(--gutter) clamp(3.5rem, 8vw, 6rem);
}
.about__text { display: grid; gap: 1.1rem; }
.about__text p { color: var(--gris); max-width: 36rem; }
.about__photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sable); }
.about__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.team, .proof { padding: clamp(3.5rem, 8vw, 6rem) var(--gutter); }
.team__list { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 1.5rem; }
.team__item { display: grid; gap: .5rem; padding-top: 1.25rem; border-top: 1px solid var(--ardoise); }
.team__item h3 { font-size: 1.35rem; }
.team__item p { color: var(--gris); }
@media (min-width: 900px) { .team__list { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.proof__list { max-width: var(--wrap); margin: 0 auto; display: grid; border-top: 1px solid var(--ardoise); }
.proof__list div { display: grid; gap: .4rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.proof__list dt { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: 1.15rem; }
.proof__list dt svg { color: var(--terre); flex-shrink: 0; }
.proof__list dd { color: var(--gris); max-width: 44rem; padding-left: calc(20px + .6rem); }
@media (min-width: 900px) { .proof__list div { grid-template-columns: 18rem 1fr; gap: 2rem; } .proof__list dd { padding-left: 0; } }

/* ── Zone d'intervention ──────────────────────────────────── */
.zone {
  display: grid; gap: 2rem; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--gutter) clamp(3.5rem, 8vw, 6rem);
}
.zone p { color: var(--gris); margin-top: .8rem; max-width: 30rem; }
.zone__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.5rem; align-content: start; border-top: 1px solid var(--ardoise); }
.zone__list li { display: flex; align-items: center; gap: .6rem; min-height: 3.25rem; border-bottom: 1px solid var(--line); font-weight: 500; }
.zone__list svg { color: var(--terre); }
@media (min-width: 900px) { .zone { grid-template-columns: 1fr 1.2fr; gap: 4rem; } .zone__list { grid-template-columns: repeat(3, 1fr); } }

/* ── Appel final ──────────────────────────────────────────── */
.cta {
  --focus: var(--chaux);
  display: grid; gap: 2rem; align-items: end;
  padding: clamp(3.5rem, 8vw, 5.5rem) max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  background: var(--terre-d); color: var(--chaux);
}
.cta__text { display: grid; gap: 1rem; }
.cta__title { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 18ch; }
.cta p { max-width: 34rem; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.cta__phone { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 600; font-stretch: 112%; font-size: clamp(1.5rem, 3vw, 2rem); white-space: nowrap; }
.cta__phone:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
@media (min-width: 900px) { .cta { grid-template-columns: 1.3fr 1fr; } .cta__actions { justify-content: flex-end; } }

/* ── Pages intérieures ────────────────────────────────────── */
.pagehead {
  display: grid; gap: 2rem;
  padding: clamp(3rem, 7vw, 5rem) max(var(--gutter), calc((100vw - var(--wrap)) / 2)) clamp(2.5rem, 6vw, 4rem);
  background: var(--pierre);
}
.pagehead__text { display: grid; gap: 1.25rem; }
.pagehead__title { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -.035em; }
.pagehead__title::after { content: ""; display: block; width: 7rem; height: 9px; margin-top: 1.25rem; color: var(--terre); background: linear-gradient(currentColor, currentColor) 0 4px / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) left / 1px 100% no-repeat, linear-gradient(currentColor, currentColor) right / 1px 100% no-repeat; transform-origin: left; animation: rule 1.1s var(--ease) .15s both; }
@keyframes rule { from { transform: scaleX(0); } }
.pagehead__lead { max-width: 40rem; color: var(--gris); font-size: 1.1rem; }
.pagehead__index { display: flex; flex-wrap: wrap; gap: .5rem; }
.pagehead__house { display: none; }
@media (min-width: 900px) { .pagehead__house { display: block; justify-self: end; width: min(100%, 26rem); } }
.pagehead__index a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1rem;
  border: 1px solid var(--ardoise); font-weight: 500; transition: background-color .25s, color .25s;
}
.pagehead__index a svg { color: var(--terre); transform: rotate(90deg); }
.pagehead__index a:hover { background: var(--ardoise); color: var(--chaux); }
.pagehead__index a:hover svg { color: var(--terre-c); }
@media (min-width: 900px) { .pagehead { grid-template-columns: 1.4fr 1fr; align-items: end; } .pagehead__index { justify-content: flex-end; } }

.svc { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) var(--gutter); display: grid; gap: clamp(3.5rem, 8vw, 6rem); }
.svc__item { display: grid; gap: 2rem 4rem; view-timeline: --svc block; }
.svc__visual { position: relative; padding-bottom: 3.5rem; }
.svc__photo { overflow: hidden; background: var(--sable); width: 88%; }
.svc__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc__plan { position: absolute; right: 0; bottom: 0; width: 52%; padding: .9rem; background: var(--chaux); border: 1px solid var(--sable); box-shadow: 0 14px 30px -16px rgba(36, 48, 46, .4); }
.svc__body { display: grid; gap: 1rem; align-content: start; justify-items: start; }
.svc__body > p { color: var(--gris); max-width: 36rem; }
.svc__sub { margin-top: .75rem; font-size: 1.05rem; font-stretch: 106%; letter-spacing: -.01em; }
.svc__tags { display: grid; width: 100%; border-top: 1px solid var(--ardoise); }
.svc__tags li { display: flex; align-items: center; gap: .7rem; min-height: 3rem; border-bottom: 1px solid var(--line); font-weight: 500; }
.svc__tags svg { color: var(--terre); }
@media (min-width: 640px) { .svc__tags { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }
@media (min-width: 900px) {
  .svc__item { grid-template-columns: 1fr 1.05fr; align-items: center; }
  .svc__item:nth-child(even) .svc__visual { order: 2; }
}

.promise__list { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 2rem; }
.promise__list li { display: grid; gap: .6rem; padding-top: 1.25rem; border-top: 1px solid var(--line-d); }
.promise__list svg { color: var(--terre-c); }
.promise__list h3 { font-size: 1.4rem; }
.promise__list p { color: var(--brume); }
.promise__foot { max-width: var(--wrap); margin: 3rem auto 0; }
@media (min-width: 900px) { .promise__list { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* ── Devis ────────────────────────────────────────────────── */
.order { display: grid; gap: 3rem; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) var(--gutter); }
.order__call { display: grid; gap: 1.2rem; justify-items: start; align-content: start; }
.order__phone {
  display: inline-flex; align-items: center; gap: .8rem; min-height: 44px;
  font-weight: 600; font-stretch: 112%; font-size: clamp(2rem, 7vw, 4rem); line-height: 1; letter-spacing: -.03em; white-space: nowrap;
  text-decoration: underline; text-decoration-color: var(--terre); text-decoration-thickness: 2px; text-underline-offset: .18em;
}
.order__phone svg { color: var(--terre); width: .75em; height: .75em; }
.order__hours { display: inline-flex; align-items: center; gap: .5rem; color: var(--gris); }
.order__hours svg { color: var(--terre); }
.order__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.order__mail a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gris); text-decoration: underline; text-underline-offset: .25em; overflow-wrap: anywhere; }
/* La fiche : une feuille de plan, avec ses repères de coupe aux angles. */
.sheet {
  --m: linear-gradient(var(--ardoise), var(--ardoise));
  padding: 2.25rem clamp(1.25rem, 4vw, 2.5rem) 2rem; background-color: var(--enduit);
  background-image: var(--m), var(--m), var(--m), var(--m), var(--m), var(--m), var(--m), var(--m);
  background-size: 14px 1px, 1px 14px, 14px 1px, 1px 14px, 14px 1px, 1px 14px, 14px 1px, 1px 14px;
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
  background-repeat: no-repeat; box-shadow: 0 20px 40px -28px rgba(36, 48, 46, .5);
}
.sheet__title { font-size: 1.6rem; }
.sheet > p { color: var(--gris); margin-top: .6rem; }
.sheet__list { display: grid; margin: 1.25rem 0; border-top: 1px solid var(--ardoise); }
.sheet__list li { display: flex; align-items: center; gap: .8rem; min-height: 3.1rem; border-bottom: 1px solid var(--line); font-weight: 500; }
.sheet__list svg { color: var(--terre); }
.sheet__note { color: var(--gris); font-size: .92rem; }
@media (min-width: 900px) { .order { grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: start; } }

.journey__list { position: relative; max-width: var(--wrap); margin: 0 auto; display: grid; gap: 2.25rem; padding-left: 1.75rem; view-timeline: --journey block; }
.journey__list::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: repeating-linear-gradient(var(--terre-c) 0 6px, transparent 6px 12px); transform-origin: top; }
.journey__step { position: relative; display: grid; gap: .5rem; align-content: start; }
.journey__mark { display: inline-grid; place-items: center; width: 3rem; height: 3rem; background: var(--ardoise-2); border: 1px solid var(--terre-c); color: var(--terre-c); }
.journey__step::before { content: ""; position: absolute; left: calc(-1.75rem - 4px); top: 1.2rem; width: 9px; height: 9px; background: var(--terre-c); }
.journey__step h3 { font-size: 1.3rem; }
.journey__step p { color: var(--brume); max-width: 20rem; }
@media (min-width: 760px) {
  .journey__list { grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 2.25rem 0 0; }
  .journey__list::before { right: 0; bottom: auto; width: auto; height: 1px; background: repeating-linear-gradient(90deg, var(--terre-c) 0 6px, transparent 6px 12px); transform-origin: left; }
  .journey__step::before { left: 0; top: calc(-2.25rem - 4px); }
}

/* ── Pied de page ─────────────────────────────────────────── */
.foot { --focus: var(--terre-c); background: var(--ardoise); color: var(--chaux); padding: clamp(3rem, 7vw, 4.5rem) var(--gutter) 1.5rem; }
.foot__grid { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 2.5rem; }
.foot__brand { display: flex; align-items: center; gap: .8rem; font-weight: 600; font-stretch: 112%; font-size: 1.4rem; letter-spacing: -.015em; }
.foot__brand .brand__mark { background: var(--ardoise-2); }
.foot__id > p:last-child { color: var(--brume); margin-top: .8rem; max-width: 22rem; }
.foot__facts { display: grid; border-top: 1px solid var(--line-d); }
.foot__facts div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line-d); align-items: center; min-height: 3.25rem; }
.foot__facts dt { color: var(--brume); font-size: .9rem; }
.foot__facts a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.foot__facts a:hover, .foot__nav a:hover { color: var(--terre-c); }
.foot__nav { display: grid; align-content: start; }
.foot__nav a { display: flex; align-items: center; min-height: 44px; font-weight: 500; }
.foot__nav a[aria-current] { color: var(--terre-c); }
.foot__bar { max-width: var(--wrap); margin: 2.5rem auto 0; padding-top: 1.25rem; border-top: 1px solid var(--line-d); color: var(--brume); font-size: .9rem; }
.foot__bar a { display: inline-block; padding: .7rem 0; text-decoration: underline; text-underline-offset: .25em; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1fr 1.4fr .6fr; gap: 4rem; } }

/* ── Barre d'actions mobile ───────────────────────────────── */
.actionbar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }
  .actionbar {
    --focus: var(--terre-c);
    position: fixed; inset: auto 0 0; z-index: 35; display: grid; grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom); background: var(--ardoise);
  }
  .actionbar__btn { display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 4rem; color: var(--chaux); font-weight: 600; }
  .actionbar__btn--main { background: var(--terre); color: #fff; }
}

/* ── Entrées au chargement (le titre reste visible : seul `transform` bouge) ── */
@media (prefers-reduced-motion: no-preference) {
  .hero__line { animation: lift .9s var(--ease) both; }
  .hero__line:nth-child(2) { animation-delay: .06s; }
  .hero__line:nth-child(3) { animation-delay: .12s; }
  @keyframes lift { from { transform: translateY(.35em); } }
}

/* ── Effets pilotés par le défilement ─────────────────────── */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Les chiffres comptent jusqu'à leur valeur en entrant à l'écran. */
    .stat__count { counter-reset: n var(--n); animation: count linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    .stat__count { font-size: 0; }
    .stat__count::after { content: counter(n); font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
    @keyframes count { from { --n: 0; } to { --n: var(--to); } }

    .trade { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 85%; }
    @keyframes rise { from { opacity: 0; transform: translateY(2rem); } }

    .compare__handle::after { animation: nudge linear both; animation-timeline: view(); animation-range: entry 50% cover 50%; }
    @keyframes nudge { 0%, 100% { transform: none; } 30% { transform: translateX(-1.25rem); } 65% { transform: translateX(1.25rem); } }

    /* Le trait d'avancement progresse ; chaque étape s'allume en le franchissant. */
    .progress { view-timeline: --progress block; }
    .progress__bar { animation: bar-y linear both; animation-timeline: --progress; animation-range: entry 70% cover 60%; }
    @keyframes bar-y { from { transform: scaleY(0); } }
    .step__mark, .step::before { animation: step-on linear both; animation-timeline: view(); animation-range: entry 70% cover 45%; }
    @keyframes step-on { from { opacity: .25; transform: scale(.8); } }
    .step__mark path, .step__mark circle { stroke-dasharray: 1 1; animation: icon-draw linear both; animation-timeline: --progress; animation-range: entry 70% cover 55%; }
    @keyframes icon-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

    /* Réalisations : le volet d'enduit se lève, la photo se pose. */
    .work__frame::after { animation: wipe linear both; animation-timeline: view(); animation-range: entry 15% cover 45%; }
    @keyframes wipe { from { transform: scaleX(1); } to { transform: scaleX(0); } }
    .work__img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    @keyframes settle { from { transform: scale(1.1); } }

    /* Services : la partie de la maison concernée s'allume sur le schéma. */
    .svc__plan .hl { animation: hl-on linear both; animation-timeline: --svc; animation-range: entry 55% cover 50%; }
    @keyframes hl-on { from { opacity: 0; } }
    .svc__plan .hl--soft { animation-name: hl-soft; }
    @keyframes hl-soft { from { opacity: 0; } to { opacity: .6; } }
    .svc__plan { animation: plan-in linear both; animation-timeline: --svc; animation-range: entry 30% cover 40%; }
    @keyframes plan-in { from { transform: translateY(1.5rem); } }

    /* Devis : le parcours se trace, chaque moment s'allume à son tour. */
    .journey__list::before { animation: path-x linear both; animation-timeline: --journey; animation-range: entry 60% cover 55%; }
    @keyframes path-x { from { transform: scale(0); } }
    .journey__mark, .journey__step::before { animation: step-on linear both; animation-timeline: --journey; }
    .journey__step:nth-child(1) :is(.journey__mark), .journey__step:nth-child(1)::before { animation-range: entry 60% cover 35%; }
    .journey__step:nth-child(2) :is(.journey__mark), .journey__step:nth-child(2)::before { animation-range: entry 75% cover 42%; }
    .journey__step:nth-child(3) :is(.journey__mark), .journey__step:nth-child(3)::before { animation-range: entry 90% cover 48%; }
    .journey__step:nth-child(4) :is(.journey__mark), .journey__step:nth-child(4)::before { animation-range: cover 30% cover 55%; }
  }
}
@media (min-width: 760px) {
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .progress__bar { animation-name: bar-x; }
      @keyframes bar-x { from { transform: scaleX(0); } }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
