/* ==========================================================================
   ATELIER CARDAN — feuille de style de la démonstration
   --------------------------------------------------------------------------
   1. Variables (le design system)     6. Prestations
   2. Base et accessibilité            7. Méthode (le devis qui s'écrit)
   3. Typographie                      8. Engagements et marques
   4. Composants (boutons, champs...)  9. Rendez-vous et devis
   5. En-tête, menu, accueil          10. Avis, accès, pied de page
                                      11. Animations, aperçu KOVA, mouvement réduit
   Règle : on n'anime que « transform » et « opacity » (et le tracé des coches).
   ========================================================================== */

/* 1. VARIABLES ============================================================ */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs : le blanc de l'atelier, l'encre, et un seul accent (le bleu de travail) */
  --blanc: #f1f3f1; /* fond */
  --pur: #ffffff; /* surfaces */
  --brume: #e1e6e2; /* aplats, emplacements photo */
  --filet: #c9d0cb; /* filets */
  --encre: #0c1116; /* texte, section sombre */
  --encre-2: #47525a; /* texte secondaire */
  --nuit-2: #161d24; /* surfaces sur fond sombre */
  --nuit-filet: #2c363f; /* filets sur fond sombre */
  --clair-2: #a9b3ba; /* texte secondaire sur fond sombre */
  --bleu: #1e46d2; /* accent : l'action principale et les états importants */
  --bleu-clair: #7d97ff; /* le même accent, éclairci pour rester lisible sur fond sombre */
  --alerte: #b3261e; /* erreurs de formulaire uniquement */
  --blanc-pur: #ffffff; /* reflet des boutons au survol, fond du QR code (il doit rester blanc pour être lisible) */
  --kova-encre: #0b0b0c; /* bandeau « Site de démonstration » : les couleurs de KOVA, volontairement hors palette */
  --kova-papier: #f3f0ea;

  /* Typographie : Archivo (large pour les titres), IBM Plex Mono pour les données chiffrées */
  --texte: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --t-1: clamp(1.85rem, 1rem + 3.3vw, 3.6rem);
  --t-2: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  --t-3: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem);
  --t-txt: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --t-s: 0.9375rem;
  --t-xs: 0.8125rem;

  /* Espacements */
  --e-1: 0.25rem;
  --e-2: 0.5rem;
  --e-3: 0.75rem;
  --e-4: 1rem;
  --e-5: 1.5rem;
  --e-6: 2rem;
  --e-7: 3rem;
  --e-8: 4rem;
  --e-9: 6rem;
  --s-y: clamp(4.5rem, 2.5rem + 7.5vw, 9.5rem);
  --marge: clamp(1.25rem, 0.5rem + 3.6vw, 4.5rem);
  --gout: clamp(1rem, 0.6rem + 1.4vw, 2rem);
  --max: 86rem;
  --tete-h: 4rem;
  --kova-h: 2.75rem;

  /* Rayons : presque droits. Un bloc de rayon R et de marge M contient des éléments de rayon R − M */
  --r-m: 0.375rem; /* cartes */
  --r-s: 0.25rem; /* boutons, champs */
  --r-xs: 0.125rem; /* éléments placés à 0.25rem du bord d'une carte */

  /* Mouvement : net et rapide */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);
  --d-1: 0.15s;
  --d-2: 0.35s;
  --d-3: 0.7s;
}

/* 2. BASE ET ACCESSIBILITÉ ================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--tete-h) + 1rem);
  background: var(--blanc);
}
html.lenis,
html.lenis body {
  height: auto;
}
html.lenis {
  scroll-behavior: auto;
}
.lenis.lenis-stopped {
  overflow: clip;
}
html.en-attente body {
  visibility: hidden;
}
body {
  margin: 0;
  padding-bottom: var(--kova-h);
  font-family: var(--texte);
  font-size: var(--t-txt);
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.55;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--encre);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.menu-ouvert {
  overflow: hidden;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote,
fieldset {
  margin: 0;
  padding: 0;
}
h3 {
  font-size: inherit;
  font-weight: inherit;
}
ul,
ol {
  list-style: none;
}
fieldset {
  border: 0;
  min-width: 0;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  font-stretch: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
::selection {
  color: var(--pur);
  background: var(--bleu);
}
:focus-visible {
  outline: 2px solid var(--bleu);
  outline-offset: 3px;
}
main:focus,
[tabindex="-1"]:focus {
  outline: none;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.evite {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--pur);
  background: var(--encre);
  border-radius: var(--r-s);
  transform: translateY(-200%);
}
.evite:focus {
  transform: none;
}
.icones {
  position: absolute;
}
.i {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.w {
  width: min(100% - 2 * var(--marge), var(--max));
  margin-inline: auto;
}
.s {
  padding-block: var(--s-y);
}
.prest__g > *,
.meth__g > *,
.rdv__g > *,
.acces__g > *,
.hero__g > * {
  min-width: 0;
}

/* 3. TYPOGRAPHIE ========================================================== */

.t-1,
.t-2,
.hero__t,
.marque,
.pied__nom,
.fiche__n {
  font-weight: 700;
  font-stretch: 112%;
  text-wrap: balance;
}
.t-1 {
  font-size: var(--t-1);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.t-2 {
  font-size: var(--t-2);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.t-3 {
  font-size: var(--t-3);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.chapo {
  font-size: clamp(1.1rem, 1.03rem + 0.35vw, 1.3rem);
  line-height: 1.45;
  color: var(--encre-2);
}
p {
  text-wrap: pretty;
}
/* La police à chasse fixe ne sert qu'aux données : immatriculation, montants, horaires */
.mono {
  font-family: var(--mono);
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: -0.01em;
}
@media (min-width: 48em) {
  .t-1,
  .t-2,
  .hero__t,
  .marque,
  .pied__nom,
  .fiche__n {
    font-stretch: 125%;
  }
}

/* 4. COMPOSANTS =========================================================== */

/* Boutons : un seul bouton « accent » par écran, pour l'action principale */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  color: var(--pur);
  background: var(--encre);
  border: 0;
  border-radius: var(--r-s);
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--blanc-pur);
  opacity: 0;
  transition: opacity var(--d-1) linear;
}
.btn .i {
  transition: transform var(--d-2) var(--ease);
}
.btn--accent {
  background: var(--bleu);
}
.btn--trait {
  color: var(--encre);
  background: none;
  box-shadow: inset 0 0 0 1px var(--encre);
}
.btn--trait::before {
  background: var(--encre);
}
.btn--s {
  min-height: 2.5rem;
  padding-inline: 1rem;
  font-size: var(--t-s);
}
.btn--l {
  min-height: 3.5rem;
}
.btn:active {
  transform: translateY(1px);
}
@media (hover: hover) {
  .btn:hover::before {
    opacity: 0.14;
  }
  .btn--trait:hover::before {
    opacity: 0.07;
  }
  .btn:hover .i {
    transform: translateX(0.25rem);
  }
}
.btn__charge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.25rem;
  height: 1.25rem;
  margin: -0.625rem 0 0 -0.625rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0;
}
.btn.is-charge {
  cursor: progress;
}
.btn.is-charge .btn__t {
  opacity: 0;
}
.btn.is-charge .btn__charge {
  opacity: 1;
  animation: tourne 0.7s linear infinite;
}
@keyframes tourne {
  to {
    transform: rotate(360deg);
  }
}

.lien {
  position: relative;
  display: inline-block;
  padding: 0;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  background: none;
  border: 0;
}
.lien::after {
  content: "";
  position: absolute;
  inset: auto 0 -0.12em;
  height: 1.5px;
  background: currentColor;
  transform-origin: right;
  transition: transform var(--d-2) var(--ease);
}
.lien--i {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
}
.lien--i::after {
  bottom: 0.6rem;
}
.lien--i .i {
  transition: transform var(--d-2) var(--ease);
}
@media (hover: hover) {
  .lien:hover::after {
    transform: scaleX(0);
  }
  .lien--i:hover .i {
    transform: translateX(0.25rem);
  }
}

/* Emplacements photo : un aplat de la palette et un grain léger en attendant la photo */
.ph {
  position: relative;
  overflow: hidden;
  background: var(--brume);
  border-radius: var(--r-xs);
}
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("../assets/grain.png");
  opacity: 0.45;
  pointer-events: none;
}
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--cadrage, 50% 50%);
}

/* CADRAGE DES PHOTOS — une ligne par fichier (voir PHOTOS.md).
   Quand l'emplacement recadre la photo, ces deux chiffres disent quelle partie reste visible :
   le premier va de la gauche (0%) à la droite (100%), le second du haut (0%) au bas (100%). */
.ph img[src$="hero.jpg"] {
  --cadrage: 50% 55%;
}
.ph img[src$="atelier.jpg"] {
  --cadrage: 50% 50%;
}
.ph img[src$="detail-1.jpg"] {
  --cadrage: 50% 50%;
}
.ph img[src$="detail-2.jpg"] {
  --cadrage: 50% 50%;
}
/* Mode repérage (?photos=1) : le nom du fichier attendu s'affiche sur chaque emplacement */
.ph__nom {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 6;
  padding: 0.2rem 0.5rem;
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--pur);
  background: var(--encre);
  border-radius: var(--r-xs);
}

/* Champs de formulaire */
.f {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}
.f + .f,
.f2 + .f,
.f + .f2,
.f + .mod__bloc {
  margin-top: var(--e-4);
}
.f2 {
  display: grid;
  gap: var(--e-4);
}
.f2 > .f + .f {
  margin-top: 0;
}
@media (min-width: 36em) {
  .f2 {
    grid-template-columns: 1fr 1fr;
  }
}
.f label {
  font-size: var(--t-s);
  font-weight: 500;
}
.f__opt {
  font-weight: 400;
  color: var(--encre-2);
}
.f input,
.f textarea,
.f select {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  color: var(--encre);
  background: var(--pur);
  border: 1px solid var(--filet);
  border-radius: var(--r-s);
}
.f select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--encre) 50%), linear-gradient(135deg, var(--encre) 50%, transparent 50%);
  background-position:
    calc(100% - 1.25rem) 50%,
    calc(100% - 0.9rem) 50%;
  background-size:
    0.36rem 0.36rem,
    0.36rem 0.36rem;
  background-repeat: no-repeat;
}
.f textarea {
  resize: vertical;
}
.f input::placeholder,
.f textarea::placeholder {
  color: var(--encre-2);
  opacity: 1;
}
.f input:focus-visible,
.f textarea:focus-visible,
.f select:focus-visible {
  outline: 2px solid var(--bleu);
  outline-offset: 1px;
  border-color: var(--bleu);
}
.f.est-faux input,
.f.est-faux textarea {
  border-color: var(--alerte);
}
.f__err,
.mod__err {
  font-size: var(--t-s);
  color: var(--alerte);
}
.plaque {
  text-transform: uppercase;
}

/* Message bref, en bas de l'écran */
.msg {
  position: fixed;
  left: 50%;
  bottom: calc(var(--kova-h) + 1rem);
  z-index: 60;
  width: max-content;
  max-width: min(34rem, 100% - 2rem);
  padding: 0.85rem 1.1rem;
  font-size: var(--t-s);
  color: var(--pur);
  background: var(--encre);
  border-radius: var(--r-s);
  opacity: 0;
  transform: translate(-50%, 0.75rem);
  pointer-events: none;
  transition:
    opacity var(--d-2) var(--ease),
    transform var(--d-2) var(--ease);
}
.msg.is-vu {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Bandeau KOVA */
.kova {
  position: fixed;
  inset: auto 0 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: var(--kova-h);
  padding: 0.3rem 1rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  font-stretch: 100%;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  color: var(--kova-papier);
  background: var(--kova-encre);
}
.kova svg:first-child {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 7;
}
.kova .i {
  width: 1rem;
  height: 1rem;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}
.kova b {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* 5. EN-TÊTE, MENU, ACCUEIL =============================================== */

.tete {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
}
.tete::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--blanc);
  border-bottom: 1px solid var(--filet);
  opacity: 0;
  transition: opacity var(--d-2) var(--ease);
}
.tete.is-solide::before {
  opacity: 1;
}
.tete__in {
  display: flex;
  align-items: center;
  gap: var(--e-4);
  height: var(--tete-h);
}
.marque {
  font-size: 0.95rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: uppercase;
}
.tete__nav {
  display: none;
  gap: var(--e-6);
  margin-inline: auto;
  font-size: var(--t-s);
  font-weight: 500;
}
.tete__nav a {
  position: relative;
  padding-block: 0.75rem;
  text-decoration: none;
}
.tete__nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0.5rem;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--d-2) var(--ease);
}
@media (hover: hover) {
  .tete__nav a:hover::after {
    transform: none;
  }
}
.tete__act {
  display: flex;
  align-items: center;
  gap: var(--e-2);
  margin-left: auto;
}
.langue {
  display: flex;
  padding: 0.125rem;
  border: 1px solid var(--filet);
  border-radius: var(--r-s);
}
.langue button {
  min-width: 2.25rem;
  min-height: 2.1rem;
  padding: 0 0.4rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--encre-2);
  background: none;
  border: 0;
  border-radius: var(--r-xs); /* 0.25rem − 0.125rem */
}
.langue button[aria-pressed="true"] {
  color: var(--pur);
  background: var(--encre);
}
/* Le bouton de l'en-tête ne prend l'accent que s'il est le seul bouton principal à l'écran */
.tete__rdv::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--bleu);
  transition: opacity var(--d-1) linear;
}
.tete.sans-accent .tete__rdv {
  color: var(--encre);
  background: none;
  box-shadow: inset 0 0 0 1px var(--encre);
}
.tete.sans-accent .tete__rdv::after {
  opacity: 0;
}
.tete.sans-accent .tete__rdv::before {
  background: var(--encre);
}
.tete__menu {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.5rem;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
}
.tete__menu .i {
  width: 1.5rem;
  height: 1.5rem;
}
@media (max-width: 26em) {
  .marque {
    max-width: 4.5rem;
  }
}
/* Petits téléphones (360 et 375 px) : l'en-tête se resserre pour que tout tienne dans les marges */
@media (max-width: 23.9375em) {
  .tete__in {
    gap: var(--e-3);
  }
  .tete__act {
    gap: var(--e-1);
  }
  .tete__rdv {
    padding-inline: 0.625rem;
  }
  .langue button {
    min-width: 2rem;
    padding: 0 0.25rem;
  }
}
/* En dessous de 352 px, le bouton de l'en-tête laisse la place : celui de l'accueil et celui du menu suffisent */
@media (max-width: 21.9375em) {
  .tete__rdv {
    display: none;
  }
}
@media (min-width: 64em) {
  .tete__nav {
    display: flex;
  }
  .tete__act {
    margin-left: 0;
    gap: var(--e-3);
  }
  .tete__menu {
    display: none;
  }
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--kova-h) + var(--e-5));
  background: var(--blanc);
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  transition:
    opacity var(--d-2) var(--ease),
    visibility 0s linear var(--d-2);
}
.menu.is-ouvert {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.menu__tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--tete-h);
}
.menu__nav {
  display: grid;
  margin-block: auto;
  padding-block: var(--e-6);
}
.menu__nav a {
  padding-block: 0.6rem;
  font-size: clamp(1.75rem, 8.5vw, 2.75rem);
  font-weight: 700;
  font-stretch: 112%;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-decoration: none;
  border-top: 1px solid var(--filet);
  opacity: 0;
  transform: translateX(-1rem);
  transition:
    opacity var(--d-3) var(--ease),
    transform var(--d-3) var(--ease);
}
.menu.is-ouvert .menu__nav a {
  opacity: 1;
  transform: none;
}
.menu.is-ouvert .menu__nav a:nth-child(2) {
  transition-delay: 0.04s;
}
.menu.is-ouvert .menu__nav a:nth-child(3) {
  transition-delay: 0.08s;
}
.menu.is-ouvert .menu__nav a:nth-child(4) {
  transition-delay: 0.12s;
}
.menu.is-ouvert .menu__nav a:nth-child(5) {
  transition-delay: 0.16s;
}
.menu__bas {
  display: grid;
  gap: var(--e-2);
  justify-items: start;
  padding-top: var(--e-5);
  color: var(--encre-2);
  border-top: 1px solid var(--filet);
}
.menu__bas .lien {
  font-family: var(--mono);
  font-size: 1.2rem;
  color: var(--encre);
}

/* Accueil */
.hero {
  padding-top: calc(var(--tete-h) + var(--e-5));
}
.hero__g {
  display: grid;
  gap: var(--e-6) var(--gout);
}
.hero__txt {
  display: grid;
  gap: var(--e-5);
  align-content: center;
  justify-items: start;
}
.etat {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--t-s);
  font-weight: 500;
}
.etat__pt {
  width: 0.5rem;
  height: 0.5rem;
  border: 1.5px solid var(--encre);
}
.etat.est-ouvert .etat__pt {
  background: var(--encre);
}
.hero__t {
  font-size: clamp(2.2rem, 10vw, 3.75rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.hero__chapo {
  max-width: 33rem;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.45;
  color: var(--encre-2);
}
.hero__act {
  display: grid;
  gap: var(--e-2);
  width: 100%;
}
.hero__creneau {
  font-size: var(--t-s);
  color: var(--encre-2);
}
.hero__creneau strong {
  font-weight: 600;
  color: var(--encre);
}
.hero__photo {
  aspect-ratio: 4 / 3;
}

/* La fiche : quatre chiffres clés */
.fiche {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: var(--e-7);
  border-top: 1px solid var(--encre);
}
.fiche div {
  padding: var(--e-4) var(--e-4) var(--e-4) 0;
  border-bottom: 1px solid var(--filet);
}
.fiche div:nth-child(even) {
  padding-left: var(--e-4);
  border-left: 1px solid var(--filet);
}
.fiche__n {
  display: block;
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.fiche dd {
  margin-top: var(--e-2);
  font-size: var(--t-s);
  line-height: 1.35;
  color: var(--encre-2);
}

@media (min-width: 36em) {
  .hero__act {
    display: flex;
    flex-wrap: wrap;
    width: auto;
  }
}
@media (min-width: 48em) {
  .hero__t {
    font-size: 8vw;
  }
  .fiche {
    grid-template-columns: repeat(4, 1fr);
  }
  .fiche div,
  .fiche div:nth-child(even) {
    padding: var(--e-5) var(--e-4) var(--e-5) 0;
    border-left: 0;
  }
  .fiche div + div,
  .fiche div:nth-child(even) {
    padding-left: var(--e-5);
    border-left: 1px solid var(--filet);
  }
}
@media (min-width: 64em) {
  .hero {
    padding-top: calc(var(--tete-h) + var(--e-6));
  }
  .hero__g {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: stretch;
  }
  .hero__txt {
    grid-column: 1 / 8;
    padding-block: var(--e-5);
  }
  .hero__t {
    font-size: clamp(3rem, 5.2vw, 4.75rem);
  }
  .hero__photo {
    grid-column: 8 / 13;
    aspect-ratio: 4 / 5;
    max-height: calc(100svh - var(--tete-h) - var(--kova-h) - 11rem);
    min-height: 26rem;
    width: 100%;
    justify-self: end;
  }
}

/* 6. PRESTATIONS ========================================================== */

.prest__g {
  display: grid;
  gap: var(--e-7) var(--gout);
}
.prest__intro {
  display: grid;
  gap: var(--e-4);
  align-content: start;
}
.prest__col,
.ligne button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 1.25rem;
  gap: 0.15rem var(--e-4);
  align-items: baseline;
}
.prest__col {
  padding-bottom: var(--e-3);
  font-size: var(--t-xs);
  color: var(--encre-2);
  border-bottom: 1px solid var(--encre);
}
.prest__col span:nth-child(2) {
  display: none;
}
.prest__col span:last-child {
  grid-column: 2;
  text-align: right;
}
.ligne {
  border-bottom: 1px solid var(--filet);
}
.ligne button {
  position: relative;
  width: 100%;
  padding: var(--e-4) 0;
  text-align: left;
  background: none;
  border: 0;
}
.ligne button::before {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * var(--e-3));
  z-index: -1;
  background: var(--pur);
  opacity: 0;
  transition: opacity var(--d-1) linear;
}
.ligne__n {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.ligne__d {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--encre-2);
}
.ligne__p {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--mono);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  font-weight: 500;
  text-align: right;
}
.ligne__i {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  transition: transform var(--d-2) var(--ease);
}
.ligne button[aria-expanded="true"] .ligne__i {
  transform: rotate(45deg);
}
.ligne__c {
  display: grid;
  gap: var(--e-1);
  justify-items: start;
  max-width: 34rem;
  padding-bottom: var(--e-4);
  color: var(--encre-2);
  animation: ouvre var(--d-2) var(--ease);
}
.ligne__c .lien {
  color: var(--encre);
}
@keyframes ouvre {
  from {
    opacity: 0;
    transform: translateY(-0.4rem);
  }
}
@media (hover: hover) {
  .ligne button:hover::before {
    opacity: 1;
  }
}
.prest__note {
  margin-top: var(--e-5);
  color: var(--encre-2);
}
.prest__note .lien {
  color: var(--encre);
}
@media (min-width: 40em) {
  .prest__col,
  .ligne button {
    grid-template-columns: minmax(0, 1fr) 9.5rem 5.5rem 1.25rem;
  }
  .prest__col span:nth-child(2) {
    display: block;
  }
  .prest__col span:last-child {
    grid-column: 3;
  }
  .ligne__d {
    grid-column: 2;
    grid-row: 1;
    font-size: var(--t-s);
  }
  .ligne__p {
    grid-column: 3;
  }
  .ligne__i {
    grid-column: 4;
  }
}
@media (min-width: 64em) {
  .prest__g {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
  }
  .prest__intro {
    grid-column: 1 / 6;
    position: sticky;
    top: calc(var(--tete-h) + var(--e-6));
  }
  .prest__l {
    grid-column: 6 / 13;
  }
}

/* 7. MÉTHODE : le devis qui s'écrit ======================================= */

.meth {
  padding-block: var(--s-y);
  color: var(--pur);
  background: var(--encre);
}
.meth :focus-visible {
  outline-color: var(--bleu-clair);
}
.meth__g {
  display: grid;
  gap: var(--e-7) var(--gout);
}
.meth__txt {
  display: grid;
  gap: var(--e-6);
  align-content: center;
}
.etapes {
  display: grid;
  counter-reset: etape;
}
.etapes li {
  position: relative;
  display: grid;
  gap: 0.1rem;
  padding: var(--e-3) 0 var(--e-3) 2.75rem;
  border-top: 1px solid var(--nuit-filet);
  counter-increment: etape;
  transition: opacity var(--d-2) var(--ease);
}
.etapes li::before {
  content: "0" counter(etape);
  position: absolute;
  top: var(--e-3);
  left: 0;
  font-family: var(--mono);
  font-size: var(--t-s);
  color: var(--clair-2);
}
.etapes strong {
  font-weight: 600;
}
.etapes span {
  font-size: var(--t-s);
  color: var(--clair-2);
}
.devis {
  align-self: center;
  padding: clamp(1.25rem, 0.8rem + 2vw, 2.25rem);
  color: var(--encre);
  background: var(--pur);
  border-radius: var(--r-m);
}
.devis :focus-visible {
  outline-color: var(--bleu);
}
.devis__tete {
  display: grid;
  gap: 0.2rem;
  padding-bottom: var(--e-4);
  border-bottom: 1px solid var(--encre);
}
.devis__t {
  font-size: var(--t-2);
  font-weight: 700;
  font-stretch: 112%;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.devis__t .mono {
  font-size: 0.7em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--encre-2);
}
.devis__v {
  font-size: var(--t-s);
  color: var(--encre-2);
}
.devis__l li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 var(--e-4);
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--filet);
}
.devis__l li > span:first-child {
  font-weight: 500;
}
.devis__q {
  grid-column: 1;
  grid-row: 2;
  font-size: var(--t-xs);
  color: var(--encre-2);
}
.devis__l li > span:last-child {
  grid-column: 2;
  grid-row: 1;
  text-align: right;
}
.devis__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--e-4);
  padding-block: var(--e-4);
  font-weight: 600;
  border-bottom: 1px solid var(--encre);
}
.devis__total strong {
  font-size: var(--t-2);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.devis__ok,
.devis__suite {
  display: flex;
  gap: var(--e-3);
  margin-top: var(--e-4);
  font-size: var(--t-s);
  line-height: 1.4;
}
.devis__ok {
  align-items: center;
  padding: var(--e-3);
  color: var(--pur);
  background: var(--bleu);
  border-radius: var(--r-s);
}
.devis__ok strong {
  display: block;
  font-size: 1rem;
}
.devis__suite {
  color: var(--encre-2);
}
.devis__suite .i {
  margin-top: 0.1em;
  color: var(--encre);
}
.devis__suite strong {
  font-weight: 500;
  color: var(--encre);
}
.coche {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: square;
}
@media (min-width: 40em) {
  .devis__l li {
    grid-template-columns: minmax(0, 1fr) 5.5rem 6.5rem;
  }
  .devis__q {
    grid-column: 2;
    grid-row: 1;
    align-self: baseline;
    text-align: right;
  }
  .devis__l li > span:last-child {
    grid-column: 3;
  }
}
/* Sur ordinateur, la section est épinglée pendant que le devis s'écrit : elle occupe un écran */
.meth.est-epinglee {
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--tete-h) + var(--e-4)) calc(var(--kova-h) + var(--e-4));
}
@media (min-width: 64em) {
  .meth__g {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .meth__txt {
    grid-column: 1 / 7;
  }
  .devis {
    grid-column: 8 / 13;
  }
}

/* 8. ENGAGEMENTS ET MARQUES =============================================== */

.eng__t {
  max-width: 14em;
}
.eng__photo {
  margin-top: var(--e-7);
  aspect-ratio: 16 / 9;
}
.eng__l {
  display: grid;
  margin-top: var(--e-6);
}
.eng__l li {
  display: grid;
  gap: var(--e-2);
  align-content: start;
  padding-block: var(--e-5);
  border-top: 1px solid var(--encre);
}
.eng__l .i {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: var(--e-2);
}
.eng__l p {
  color: var(--encre-2);
}
.eng__duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gout);
  align-items: end;
  margin-top: var(--e-7);
}
/* Les deux photos de détail : même format, côte à côte */
.eng__duo .ph {
  aspect-ratio: 4 / 5;
}
.marques {
  grid-column: 1 / -1;
  display: grid;
  gap: var(--e-4);
  padding-top: var(--e-5);
}
.marques__l {
  font-size: var(--t-3);
  font-weight: 500;
  line-height: 1.6;
  color: var(--encre-2);
}
.marques__n {
  font-size: var(--t-xs);
  color: var(--encre-2);
}
@media (min-width: 40em) {
  .eng__l {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--gout);
  }
}
@media (min-width: 64em) {
  .eng__photo {
    aspect-ratio: 2 / 1;
  }
  .eng__l {
    grid-template-columns: repeat(4, 1fr);
  }
  .eng__duo {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .eng__duo .ph:nth-child(1) {
    grid-column: 1 / 5;
  }
  .eng__duo .ph:nth-child(2) {
    grid-column: 5 / 9;
  }
  .marques {
    grid-column: 9 / 13;
    align-self: end;
    padding-top: 0;
  }
}

/* 9. RENDEZ-VOUS ET DEVIS ================================================= */

.rdv {
  background: var(--pur);
}
.rdv__g {
  display: grid;
  gap: var(--e-7) var(--gout);
}
.rdv__intro {
  display: grid;
  gap: var(--e-5);
  align-content: start;
}
.gages {
  display: grid;
  gap: var(--e-3);
}
.gages li {
  display: flex;
  gap: var(--e-3);
}
.gages .i {
  margin-top: 0.15em;
}

.mod {
  padding: clamp(1rem, 0.7rem + 1.6vw, 2rem);
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-radius: var(--r-m);
}
/* Les onglets : rendez-vous ou devis */
.onglets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  margin-bottom: var(--e-5);
  padding: 0.25rem;
  background: var(--brume);
  border-radius: var(--r-m);
}
.onglets button {
  min-height: 2.75rem;
  padding: 0 0.5rem;
  font-weight: 600;
  color: var(--encre-2);
  background: none;
  border: 0;
  border-radius: var(--r-xs); /* 0.375rem − 0.25rem */
}
.onglets button[aria-selected="true"] {
  color: var(--pur);
  background: var(--encre);
}
.mod__etapes {
  display: flex;
  gap: var(--e-2) var(--e-5);
  margin-bottom: var(--e-5);
  padding-bottom: var(--e-4);
  font-size: var(--t-s);
  font-weight: 500;
  color: var(--encre-2);
  border-bottom: 1px solid var(--filet);
  counter-reset: etape;
}
.mod__etapes li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  counter-increment: etape;
}
.mod__etapes li::before {
  content: counter(etape);
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  font-family: var(--mono);
  font-size: var(--t-xs);
  border: 1px solid currentColor;
}
.mod__etapes li.est-actif {
  color: var(--encre);
}
.mod__etapes li.est-fait::before {
  color: var(--pur);
  background: var(--encre);
  border-color: var(--encre);
}
.mod__etapes li:not(.est-actif) span {
  display: none;
}
@media (min-width: 30em) {
  .mod__etapes li:not(.est-actif) span {
    display: inline;
  }
}
.mod__note {
  color: var(--encre-2);
}
.mod__bloc {
  margin-top: var(--e-5);
}
.mod__bloc legend {
  margin-bottom: var(--e-3);
  font-size: var(--t-s);
  font-weight: 500;
}
.jours {
  display: flex;
  gap: var(--e-2);
  margin-inline: calc(-1 * var(--e-2));
  padding: 0.25rem var(--e-2);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.jours::-webkit-scrollbar {
  display: none;
}
.jour {
  position: relative;
  flex: none;
  scroll-snap-align: start;
}
.jour input,
.creneau input,
.opt input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.jour__c {
  display: grid;
  justify-items: center;
  gap: 0.1rem;
  width: 4rem;
  padding: 0.6rem 0.25rem;
  font-size: var(--t-xs);
  color: var(--encre-2);
  background: var(--pur);
  border: 1px solid var(--filet);
  border-radius: var(--r-s);
  transition: transform var(--d-1) var(--ease);
}
.jour__n {
  font-family: var(--mono);
  font-size: 1.3rem;
  line-height: 1.15;
  color: var(--encre);
}
.jour input:checked + .jour__c,
.creneau input:checked + .creneau__c {
  color: var(--pur);
  background: var(--encre);
  border-color: var(--encre);
}
.jour input:checked + .jour__c .jour__n {
  color: var(--pur);
}
.jour input:focus-visible + .jour__c,
.creneau input:focus-visible + .creneau__c,
.opt input:focus-visible + .opt__c {
  outline: 2px solid var(--bleu);
  outline-offset: 3px;
}
.jour input:active + .jour__c,
.creneau input:active + .creneau__c {
  transform: translateY(1px);
}
.jour input:disabled,
.creneau input:disabled {
  cursor: not-allowed;
}
.jour input:disabled + .jour__c {
  background: none;
  opacity: 0.5;
}
.creneaux {
  display: grid;
  gap: var(--e-3);
  min-height: 7rem;
}
.creneaux__t {
  font-size: var(--t-xs);
  color: var(--encre-2);
}
.creneaux__l {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr));
  gap: var(--e-2);
}
.creneau {
  position: relative;
}
.creneau__c {
  display: grid;
  place-items: center;
  min-height: 2.75rem;
  font-family: var(--mono);
  background: var(--pur);
  border: 1px solid var(--filet);
  border-radius: var(--r-s);
  transition: transform var(--d-1) var(--ease);
}
.creneau input:disabled + .creneau__c {
  color: var(--encre-2);
  text-decoration: line-through;
  background: none;
  border-style: dashed;
  opacity: 0.65;
}
.mod__err {
  margin-top: var(--e-4);
}
.mod__p .btn--l,
[data-devis] .btn--l {
  width: 100%;
  margin-top: var(--e-5);
}
.mod__recap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--e-2) var(--e-4);
  margin-bottom: var(--e-5);
  padding: var(--e-3) var(--e-4);
  font-weight: 600;
  background: var(--pur);
  border: 1px solid var(--filet);
  border-radius: var(--r-s);
}
.mod__recap .lien {
  font-size: var(--t-s);
  font-weight: 500;
  color: var(--encre-2);
}
.opts {
  display: grid;
  margin-top: var(--e-5);
  border-top: 1px solid var(--filet);
}
.opt {
  position: relative;
  display: flex;
  gap: var(--e-3);
  padding: var(--e-4) 0;
  border-bottom: 1px solid var(--filet);
}
.opt__c {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  color: var(--pur);
  background: var(--pur);
  border: 1px solid var(--encre-2);
  border-radius: var(--r-xs);
}
.opt__c .i {
  width: 1.1rem;
  height: 1.1rem;
  stroke-width: 2.4;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset var(--d-2) var(--ease);
}
.opt input:checked + .opt__c {
  background: var(--encre);
  border-color: var(--encre);
}
.opt input:checked + .opt__c .i {
  stroke-dashoffset: 0;
}
.opt__t {
  display: grid;
  gap: 0.15rem;
  font-size: var(--t-s);
  color: var(--encre-2);
}
.opt__t strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--encre);
}
.mod__rgpd {
  margin-top: var(--e-4);
  font-size: var(--t-xs);
  color: var(--encre-2);
}
.mod__ok {
  display: grid;
  gap: var(--e-4);
  justify-items: start;
}
.coche--l {
  width: 3rem;
  height: 3rem;
  padding: 0.55rem;
  color: var(--pur);
  background: var(--bleu);
  border-radius: var(--r-s);
}
.coche--l path,
.devis__ok .coche path {
  stroke-dasharray: 1;
}
.anim .mod__ok:not(.est-vu) .coche--l path {
  stroke-dashoffset: 1;
}
.anim .mod__ok .coche--l path {
  transition: stroke-dashoffset 0.5s var(--ease-io) 0.1s;
}
.mod__lignes {
  display: grid;
  width: 100%;
}
.mod__lignes li {
  display: flex;
  gap: var(--e-3);
  padding-block: var(--e-3);
  border-top: 1px solid var(--filet);
}
.mod__lignes .i {
  margin-top: 0.15em;
}
.mod__demo,
.mod__retour {
  font-size: var(--t-s);
  color: var(--encre-2);
}
.mod__retour {
  margin-top: var(--e-4);
  padding: var(--e-4);
  color: var(--encre);
  background: var(--pur);
  border: 1px solid var(--encre);
  border-radius: var(--r-s);
}
.mod__fin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--e-3) var(--e-5);
}
.mod__fin .lien {
  font-size: var(--t-s);
}
@media (min-width: 64em) {
  .rdv__g {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
  }
  .rdv__intro {
    grid-column: 1 / 6;
    position: sticky;
    top: calc(var(--tete-h) + var(--e-6));
  }
  .mod {
    grid-column: 7 / 13;
  }
}

/* 10. AVIS, ACCÈS, PIED DE PAGE =========================================== */

.avis__tete {
  display: grid;
  gap: var(--e-3);
}
.avis__note {
  display: flex;
  align-items: center;
  gap: var(--e-3);
  font-weight: 600;
}
.etoiles {
  display: flex;
  gap: 0.1rem;
}
.etoiles .i {
  fill: currentColor;
  stroke: none;
}
.avis__fictif {
  max-width: 34rem;
  font-size: var(--t-s);
  color: var(--encre-2);
}
.avis__l {
  display: grid;
  margin-top: var(--e-7);
}
.avis__i {
  display: grid;
  gap: var(--e-4);
  align-content: space-between;
  padding-block: var(--e-5);
  border-top: 1px solid var(--encre);
}
.avis__i blockquote {
  font-size: var(--t-3);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.avis__qui {
  font-size: var(--t-s);
  color: var(--encre-2);
}
.avis__qui strong {
  font-weight: 600;
  color: var(--encre);
}
.avis__qui span::before {
  content: "· ";
}
@media (min-width: 56em) {
  .avis__l {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gout);
  }
}
.qr {
  display: grid;
  gap: var(--e-5);
  align-items: center;
  margin-top: var(--e-7);
  padding: var(--e-5);
  background: var(--pur);
  border: 1px solid var(--filet);
  border-radius: var(--r-m);
}
.qr__code {
  width: 9rem;
  aspect-ratio: 1;
}
.qr__code svg {
  width: 100%;
  height: 100%;
  fill: var(--encre);
}
.qr__txt {
  display: grid;
  gap: var(--e-2);
  justify-items: start;
}
.qr__txt p {
  max-width: 32rem;
  color: var(--encre-2);
}
.qr__vu {
  font-weight: 600;
  color: var(--encre) !important;
}
@media (min-width: 40em) {
  .qr {
    grid-template-columns: auto 1fr;
    gap: var(--e-6);
  }
}

.acces {
  padding-top: 0;
}
.acces__g {
  display: grid;
  gap: var(--e-7) var(--gout);
}
.acces__txt {
  display: grid;
  gap: var(--e-5);
  align-content: start;
}
.acces__txt > p {
  color: var(--encre-2);
}
.acces__act {
  display: flex;
  flex-wrap: wrap;
  gap: var(--e-3);
}
.horaires {
  width: 100%;
  border-collapse: collapse;
}
.horaires th,
.horaires td {
  padding-block: 0.8rem;
  font-weight: 400;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--filet);
}
.horaires tr:first-child th,
.horaires tr:first-child td {
  border-top-color: var(--encre);
}
.horaires th {
  color: var(--encre-2);
}
.horaires td {
  text-align: right;
}
.horaires__l {
  display: block;
}
.horaires .est-aujourdhui th,
.horaires .est-aujourdhui td {
  font-weight: 600;
  color: var(--encre);
}
.horaires .est-aujourdhui th::after {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.5rem;
  vertical-align: 0.12em;
  background: var(--bleu);
}
.plan {
  border: 1px solid var(--filet);
  border-radius: var(--r-xs);
  overflow: hidden;
}
.plan svg {
  width: 100%;
  height: auto;
}
.plan__fond {
  fill: var(--pur);
}
.plan__ilot path {
  fill: var(--brume);
}
.plan__rail {
  fill: none;
  stroke: var(--encre-2);
  stroke-width: 6;
}
.plan__rail2 {
  fill: none;
  stroke: var(--pur);
  stroke-width: 3;
  stroke-dasharray: 12 10;
}
.plan__gare {
  fill: var(--encre-2);
}
.plan__nom text {
  font-family: var(--texte);
  font-size: 13px;
  font-weight: 500;
  fill: var(--encre-2);
}
.plan__ici rect {
  fill: var(--bleu);
}
.plan__ici text {
  font-family: var(--texte);
  font-size: 17px;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  fill: var(--encre);
}
@media (min-width: 30em) {
  .horaires__l {
    display: inline;
  }
  .horaires__l::before {
    content: "  ·  ";
    white-space: pre;
    color: var(--encre-2);
  }
}
@media (min-width: 64em) {
  .acces__g {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
  }
  .acces__txt {
    grid-column: 1 / 7;
  }
  .plan {
    grid-column: 8 / 13;
  }
}

.pied {
  padding-block: var(--e-8) var(--e-7);
  font-size: var(--t-s);
  color: var(--clair-2);
  background: var(--encre);
}
.pied :focus-visible {
  outline-color: var(--bleu-clair);
}
.pied__g {
  display: grid;
  gap: var(--e-6) var(--gout);
}
.pied__nom {
  grid-column: 1 / -1;
  padding-bottom: var(--e-6);
  font-size: clamp(2rem, 1rem + 6.4vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--pur);
  border-bottom: 1px solid var(--nuit-filet);
}
.pied__t {
  margin-bottom: var(--e-2);
  font-weight: 600;
  color: var(--pur);
}
.pied a {
  text-underline-offset: 0.2em;
}
.pied__demo {
  display: grid;
  gap: var(--e-3);
  align-content: start;
}
@media (min-width: 48em) {
  .pied__g {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 64em) {
  .pied__g {
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
  }
}

/* 11. ANIMATIONS, APERÇU KOVA, MOUVEMENT RÉDUIT =========================== */

/* Titres : les mots montent derrière un cache, ligne après ligne, vite et net */
.mot {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.1em 0.05em 0.16em;
  margin: -0.1em -0.05em -0.16em;
}
.mot__i {
  display: inline-block;
}
.anim .mot__i {
  transition: transform 0.75s var(--ease);
  transition-delay: calc(var(--l, 0) * 70ms + var(--i, 0) * 50ms);
}
.anim [data-decoupe]:not(.is-vu) .mot__i {
  transform: translateY(108%);
}
.anim .rv {
  transition:
    opacity var(--d-3) var(--ease),
    transform var(--d-3) var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.anim .rv:not(.is-vu) {
  opacity: 0;
  transform: translateY(0.75rem);
}
/* Photos : un rideau glisse sur le côté */
.anim [data-balayage]::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  background: var(--blanc);
  transition: transform 1s var(--ease-io);
}
.anim [data-balayage].is-vu::before {
  transform: translateX(101%);
}
.anim [data-balayage] img {
  transition: transform 1.3s var(--ease);
}
.anim [data-balayage]:not(.is-vu) img {
  transform: scale(1.12);
}
.anim [data-parallaxe] img {
  top: -8%;
  height: 116%;
}
/* Accueil */
.anim .hero :is(.etat, .hero__chapo, .hero__act, .hero__creneau) {
  transition:
    opacity var(--d-3) var(--ease),
    transform var(--d-3) var(--ease);
}
.anim .hero:not(.est-pret) :is(.etat, .hero__chapo, .hero__act, .hero__creneau) {
  opacity: 0;
  transform: translateY(0.75rem);
}
.anim .hero .hero__chapo {
  transition-delay: 0.3s;
}
.anim .hero .hero__act {
  transition-delay: 0.4s;
}
.anim .hero .hero__creneau {
  transition-delay: 0.5s;
}
/* Le devis s'écrit : chaque élément apparaît quand son étape est atteinte */
.anim .meth [data-de] {
  transition:
    opacity var(--d-2) var(--ease),
    transform var(--d-2) var(--ease);
  transition-delay: calc(var(--n, 0) * 90ms);
}
.anim .meth [data-de]:not(.est-la) {
  opacity: 0;
  transform: translateY(0.5rem);
}
.anim .meth .etapes li:not(.est-la) {
  opacity: 0.7; /* assez pour rester lisible (contraste AA), assez peu pour marquer l'étape à venir */
}
.anim .meth .etapes li.est-actif strong {
  color: var(--bleu-clair);
}
.anim .meth .etapes li.est-actif::before {
  color: var(--bleu-clair);
}
.anim .devis__ok .coche path {
  transition: stroke-dashoffset 0.5s var(--ease-io) 0.15s;
}
.anim .devis__ok:not(.est-la) .coche path {
  stroke-dashoffset: 1;
}

/* Aperçu dans un écran du site KOVA : tout est visible, rien ne bouge, pas de bandeau */
.embed,
.embed body {
  height: auto;
  overflow: hidden;
  scroll-behavior: auto;
}
.embed body {
  padding-bottom: 0;
}
.embed .kova,
.embed .msg {
  display: none;
}
.embed .tete {
  position: absolute;
}
.embed .prest__intro,
.embed .rdv__intro {
  position: static;
}
.embed .hero__photo {
  max-height: none; /* jamais de hauteur en « vh » ici : l'aperçu peut avoir la hauteur de la page entière */
}

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