/* Taxi Fabrice : site de production.
   Charte (kit/4-Charte) : encre, crème, vert réservé au point « disponible » ; accompagnement bleu,
   terracotta, bordeaux, bleu ciel, sable. Typos : Inter Tight (titres, textes), IBM Plex Mono (horaires, mentions). */

:root {
  --creme: #F9F8F4;
  --papier: #FFFFFF;
  --encre: #1C252C;
  --bleu: #375A92;
  --bleu-fonce: #2B4775;
  --terracotta: #C96F54;
  --bordeaux: #854754;
  --ciel: #7A98CA;
  --sable: #EDD4C0;
  --terracotta-clair: #E2A48D; /* écrans de la scène « Disponible. » : teintes claires de la terracotta */
  --brique-clair: #D58A71;
  --vert: #289E6C; /* le point du logo et les indicateurs « disponible », jamais une surface */

  --texte-doux: rgba(28, 37, 44, 0.8);
  --trait: rgba(28, 37, 44, 0.16);
  --trait-fort: rgba(28, 37, 44, 0.34);
  --creme-doux: rgba(249, 248, 244, 0.82);
  --trait-creme: rgba(249, 248, 244, 0.28);

  --police: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --marge: clamp(16px, 5vw, 72px);
  --largeur: 1320px;
  --entete: 68px;
  --barre: 0px;
  --bas: env(safe-area-inset-bottom, 0px);
  --glisse: cubic-bezier(0.2, 0.7, 0, 1);
  --section: clamp(72px, 10vw, 140px);

  color-scheme: light;
}

@media (max-width: 760px) {
  :root {
    --entete: 58px;
    --barre: 72px;
  }
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--entete) + 8px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font: 450 17px/1.55 var(--police);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(var(--barre) + var(--bas));
}

@media (min-width: 1100px) {
  body {
    font-size: 18px;
  }
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--bleu);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.cache {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cache input {
  font-size: 16px;
}

.evitement {
  position: absolute;
  left: var(--marge);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--encre);
  color: var(--creme);
  text-decoration: none;
}

.evitement:focus {
  top: 12px;
}

/* ---------------------------------------------------------------- éléments communs */

.etiquette {
  font: 500 13px/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.titre-section {
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.point {
  position: relative;
  display: inline-block;
  flex: none;
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--vert);
}

.point::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .point::after {
    animation: pouls 2.6s var(--glisse) infinite;
  }
}

@keyframes pouls {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  70%,
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

html:not(.js) .statut__heure {
  display: none;
}

.statut {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
  font: 500 clamp(13px, 1.05vw, 15px)/1.35 var(--mono);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 54px;
  padding: 0 1.5em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--bleu);
  color: #fff;
  font: 600 16px/1.1 var(--police);
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--glisse);
}

.bouton:hover {
  background: var(--bleu-fonce);
}

.bouton:active {
  transform: scale(0.98);
}

.bouton[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.bouton--ligne {
  background: transparent;
  color: var(--encre);
  border-color: var(--trait-fort);
}

.bouton--ligne:hover {
  background: rgba(28, 37, 44, 0.06);
  border-color: var(--encre);
}

.bouton--creme {
  background: var(--creme);
  color: var(--encre);
}

.bouton--creme:hover {
  background: #fff;
}

.bouton--ligne-creme {
  background: transparent;
  color: var(--creme);
  border-color: var(--trait-creme);
}

.bouton--ligne-creme:hover {
  background: rgba(249, 248, 244, 0.08);
  border-color: var(--creme);
}

.bouton--petit {
  min-height: 44px;
  padding: 0 1.2em;
  font-size: 15px;
}

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}

.lien-fleche::after {
  content: "→";
  transition: transform 0.2s var(--glisse);
}

.lien-fleche:hover::after {
  transform: translateX(3px);
}

/* ---------------------------------------------------------------- en-tête */

.entete {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--creme);
  transition: box-shadow 0.2s ease;
}

.entete.est-defile {
  box-shadow: 0 1px 0 var(--trait);
}

.entete__barre {
  max-width: calc(var(--largeur) + 2 * var(--marge));
  height: var(--entete);
  margin: 0 auto;
  padding: 0 var(--marge);
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
}

.entete__logo {
  margin-right: auto;
  border-radius: 6px;
}

.entete__logo img {
  width: auto;
  height: 32px;
  margin-left: -6px;
}

.entete__nav {
  display: flex;
  gap: clamp(16px, 2.2vw, 30px);
}

.entete__nav a {
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.entete__nav a:hover {
  opacity: 1;
}

.entete__etat {
  display: none;
  align-items: center;
  gap: 8px;
  font: 500 13px/1 var(--mono);
}

@media (max-width: 960px) {
  .entete__nav {
    display: none;
  }
}

@media (max-width: 760px) {
  .entete__appel {
    display: none;
  }

  .entete__etat {
    display: inline-flex;
  }

  .entete__logo img {
    height: 27px;
  }
}

/* ---------------------------------------------------------------- 1. hero : scène « Disponible. » */

.scene__fixe {
  position: relative;
  background: var(--creme);
}

.scene__fonds {
  display: none;
}

.scene__contenu {
  position: relative;
  z-index: 1;
  padding-top: clamp(20px, 4svh, 48px);
}

.statut,
.mot,
.etapes {
  width: 100%;
  max-width: calc(var(--largeur) + 2 * var(--marge));
  margin-inline: auto;
  padding-inline: var(--marge);
}

.mot {
  margin-top: clamp(6px, 1.4svh, 18px);
  margin-bottom: 0;
  font-weight: 800;
  font-size: clamp(60px, min(16.2vw, 23svh), 250px);
  line-height: 0.86;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.mot__point {
  color: var(--vert);
}

.hero__titre {
  margin-top: clamp(12px, 2svh, 24px);
  max-width: 24ch;
  font-weight: 700;
  font-size: clamp(26px, 3.3vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero__intro {
  max-width: 52ch;
  margin-top: clamp(12px, 1.8svh, 20px);
  color: var(--texte-doux);
  font-size: clamp(16px, 1.2vw, 19px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(18px, 2.8svh, 30px);
}

.etape__suite {
  margin: 0;
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.etape__titre {
  margin: 0 0 10px;
  font: 500 13px/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.etape__liste {
  list-style: none;
  padding: 0;
  margin-top: clamp(16px, 3svh, 34px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 44px);
  max-width: 900px;
}

.etape__liste li {
  padding-top: 12px;
  border-top: 1px solid var(--trait-fort);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.45;
}

.etape__liste strong {
  display: block;
  margin-bottom: 6px;
  font: 500 13px/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Façades de l'Agout : aplats de la charte, la photo en fenêtre */

.facades {
  display: flex;
  align-items: flex-end;
  gap: clamp(4px, 0.55vw, 10px);
  height: clamp(170px, 30svh, 360px);
  margin-top: clamp(28px, 5svh, 64px);
}

.facade {
  flex: var(--l) 1 0;
  min-width: 0;
  height: calc(var(--h) * 1%);
  background: var(--c);
}

.facade--photo {
  position: relative;
  overflow: hidden;
  background: var(--sable);
}

.facade--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.reperes {
  display: none;
}

/* Sans animation (sans JavaScript ou mouvements réduits) : les écrans s'empilent en aplats */

.scene:not(.scene--active) .etape:not([data-etape="0"]) {
  max-width: none;
  margin-inline: calc(-1 * var(--marge));
  padding: 40px var(--marge) 56px;
  background: var(--c);
}

.scene:not(.scene--active) .etape:last-child {
  margin-bottom: 0;
}

.scene:not(.scene--active) .etape[data-etape="1"] {
  margin-top: 40px;
}

.scene:not(.scene--active) .etape:not([data-etape="0"]) .etape__suite::before {
  content: "Disponible ";
}

.scene:not(.scene--active) .etapes {
  max-width: none;
}

/* Animé : la scène reste collée sous l'en-tête, seul le contenu change */

.scene--active {
  height: 520vh;
  height: 520svh;
}

.scene--active .scene__fixe {
  --reperes-bas: clamp(14px, 3.6svh, 40px);
  position: sticky;
  top: var(--entete);
  height: calc(100vh - var(--entete) - var(--barre) - var(--bas));
  height: calc(100svh - var(--entete) - var(--barre) - var(--bas));
  overflow: hidden;
}

.scene--active .scene__fonds {
  display: block;
  position: absolute;
  inset: 0;
}

.scene--active .fond {
  position: absolute;
  inset: 0;
  background: var(--c);
  opacity: 0;
  transition: opacity 0.9s var(--glisse);
}

.scene--active .scene__fixe[data-etape="1"] .fond[data-pour="1"],
.scene--active .scene__fixe[data-etape="2"] .fond[data-pour="2"],
.scene--active .scene__fixe[data-etape="3"] .fond[data-pour="3"],
.scene--active .scene__fixe[data-etape="4"] .fond[data-pour="4"] {
  opacity: 1;
}

.scene--active .scene__contenu {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: clamp(14px, 3.2svh, 40px);
}

.scene--active .etapes {
  display: grid;
  margin-top: clamp(10px, 2.2svh, 28px);
}

.scene--active .etape {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--glisse), visibility 0s linear 0.4s;
}

.scene--active .etape.est-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s var(--glisse) 0.12s;
}

.scene--active .etape__titre {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.scene--active .etape__suite,
.scene--active .etape__anime {
  transform: translateY(16px);
  transition: transform 0.8s var(--glisse);
}

.scene--active .etape.est-active .etape__suite,
.scene--active .etape.est-active .etape__anime {
  transform: none;
  transition-delay: calc(0.1s + var(--i, 0) * 70ms);
}

.scene--active .mot__point {
  transition: opacity 0.4s var(--glisse);
}

.scene--active .scene__fixe:not([data-etape="0"]) .mot__point {
  opacity: 0;
}

/* Les détails de chaque client prennent la place des façades, en bas de l'écran */
.scene--active .etape__liste {
  position: absolute;
  left: max(var(--marge), calc((100% - var(--largeur)) / 2));
  right: var(--marge);
  bottom: calc(var(--reperes-bas) + 38px + clamp(20px, 5svh, 64px));
  margin: 0;
}

.scene--active .facades {
  flex: 1 1 0;
  min-height: 0;
  height: auto;
  margin-top: clamp(16px, 3svh, 40px);
  transition: transform 0.9s var(--glisse), opacity 0.6s var(--glisse);
}

.scene--active .scene__fixe:not([data-etape="0"]) .facades {
  transform: translateY(35%);
  opacity: 0;
}

.scene--active .reperes {
  position: absolute;
  z-index: 2;
  left: max(var(--marge), calc((100% - var(--largeur)) / 2));
  right: max(var(--marge), calc((100% - var(--largeur)) / 2));
  bottom: var(--reperes-bas);
  display: flex;
  gap: clamp(8px, 1.4vw, 20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.5s var(--glisse), transform 0.6s var(--glisse), visibility 0s linear 0.5s;
}

.scene--active .scene__fixe:not([data-etape="0"]) .reperes {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.5s var(--glisse), transform 0.6s var(--glisse);
}

.repere {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 12px 0 4px;
  border: 0;
  border-top: 2px solid var(--trait-fort);
  background: none;
  color: var(--encre);
  font: 500 13px/1.25 var(--mono);
  letter-spacing: 0.02em;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.repere:hover,
.repere[aria-current="true"] {
  border-top-color: var(--encre);
}

.repere__court {
  display: none;
}

@media (max-width: 760px) {
  .hero__actions .bouton {
    flex: 1 1 100%;
  }

  .etape__liste {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .etape__liste li {
    padding-top: 9px;
    font-size: 15px;
    line-height: 1.4;
  }

  .etape__liste strong {
    display: inline;
    margin: 0 0.4em 0 0;
    font-size: 12px;
  }

  .facade[data-mobile="non"] {
    display: none;
  }

  .facade--photo {
    flex-grow: 34;
  }

  .repere__long {
    display: none;
  }

  .repere__court {
    display: inline;
  }

  .scene--active .reperes {
    gap: 6px;
  }

  .repere {
    font-size: 11px;
  }
}

/* Geste signature : les façades se lèvent depuis le sol à l'ouverture, puis les aplats du site
   se lèvent pareil à leur arrivée à l'écran. Une seule fois, transform et opacity seulement. */

@media (prefers-reduced-motion: no-preference) {
  html.js .facades {
    overflow: hidden;
  }

  html.js .facade {
    animation: facade-leve 0.9s var(--glisse) both;
    animation-delay: calc(0.1s + var(--n, 0) * 70ms);
  }

  html.js .facade:nth-child(1) { --n: 0; }
  html.js .facade:nth-child(2) { --n: 2; }
  html.js .facade:nth-child(3) { --n: 1; }
  html.js .facade:nth-child(4) { --n: 5; } /* la photo en dernier */
  html.js .facade:nth-child(5) { --n: 3; }
  html.js .facade:nth-child(6) { --n: 1; }
  html.js .facade:nth-child(7) { --n: 4; }
  html.js .facade:nth-child(8) { --n: 2; }

  html.js .a-lever {
    opacity: 0;
    transform: translateY(48px);
  }

  html.js .a-lever.est-leve {
    opacity: 1;
    transform: none;
    transition: transform 0.9s var(--glisse), opacity 0.6s var(--glisse);
    transition-delay: calc(var(--n, 0) * 80ms);
  }
}

@keyframes facade-leve {
  from { transform: translateY(101%); }
  to { transform: none; }
}

/* ---------------------------------------------------------------- 2. assistance et assurances */

.assistance {
  background: var(--bordeaux);
  color: var(--creme);
  padding: clamp(48px, 7vw, 96px) var(--marge);
}

.assistance > * {
  max-width: var(--largeur);
}

.assistance {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}

.assistance__titre {
  margin-top: 14px;
  font-weight: 800;
  font-size: clamp(30px, 4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.assistance__corps p:first-child {
  color: var(--creme-doux);
}

.assistance__corps .bouton {
  margin-top: 22px;
}

.assistance__note {
  margin-top: 18px;
  color: var(--creme-doux);
  font: 400 14px/1.5 var(--mono);
}

.assistance :focus-visible,
.forfait :focus-visible,
.reservation :focus-visible,
.pied :focus-visible,
.barre-appel :focus-visible {
  outline-color: var(--creme);
}

@media (min-width: 1400px) {
  .assistance {
    padding-left: calc((100vw - var(--largeur)) / 2);
    padding-right: calc((100vw - var(--largeur)) / 2);
  }
}

@media (max-width: 860px) {
  .assistance {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ---------------------------------------------------------------- sections claires communes */

.services,
.clients,
.calcul,
.vehicule,
.faq,
.local,
.local-bloc,
.local-liens,
.texte-legal {
  max-width: calc(var(--largeur) + 2 * var(--marge));
  margin: 0 auto;
  padding: var(--section) var(--marge) 0;
}

/* ---------------------------------------------------------------- 2. services : grandes lignes */

/* Respiration avant le bloc bordeaux « Assistance et assurances » */
.services {
  padding-bottom: clamp(48px, 7vw, 88px);
}

.res__texte + .res__texte {
  margin-top: 12px;
}

.res__texte a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.services__liste {
  margin-top: 22px;
  list-style: none;
  padding: 0;
  border-bottom: 1px solid var(--trait);
}

.service {
  display: grid;
  grid-template-columns: 8px minmax(0, 5fr) minmax(0, 6fr);
  column-gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-top: 1px solid var(--trait);
}

/* La barre de couleur : une façade de l'Agout par service */
.service::before {
  content: "";
  align-self: stretch;
  min-height: 48px;
  background: var(--c);
  transform-origin: bottom center;
}

.service h3 {
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.service p {
  max-width: 46ch;
  color: var(--texte-doux);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
}

@media (max-width: 760px) {
  .service {
    grid-template-columns: 6px minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 8px;
    align-items: start;
  }

  .service::before {
    grid-row: 1 / span 2;
  }

  .service h3,
  .service p {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.js .service.a-lever {
    transform: translateY(24px);
  }

  html.js .service.a-lever::before {
    transform: scaleY(0);
  }

  html.js .service.a-lever.est-leve::before {
    transform: none;
    transition: transform 0.9s var(--glisse), scale 0.35s var(--glisse);
    transition-delay: calc(0.15s + var(--n, 0) * 80ms), 0s;
  }
}

/* ---------------------------------------------------------------- 4. clients */

.clients__liste {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.client {
  min-height: 240px;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: 18px;
  background: var(--c);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.client h3 {
  font-weight: 800;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.client p {
  font-size: 16.5px;
  line-height: 1.45;
}

.client--sombre {
  color: var(--creme);
}

@media (max-width: 1060px) {
  .clients__liste {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .clients__liste {
    grid-template-columns: 1fr;
  }

  .client {
    min-height: 0;
  }
}

/* Le carré qui grandit : chaque carte arrive en petit carré de couleur, qui remplit la carte, puis le texte.
   Au toucher, la carte s'enfonce et la couleur pulse. Transform et opacity seulement. */

.client {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.client > * {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  html.js .client.a-carre {
    background: none;
    box-shadow: inset 0 0 0 1px var(--trait);
  }

  html.js .client.a-carre::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--c);
    transform-origin: 0 0;
    transform: translate(var(--pad, 24px), var(--pad, 24px)) scale(var(--sx, 0.1), var(--sy, 0.1));
  }

  html.js .client.a-carre > * {
    opacity: 0;
    transform: translateY(12px);
  }

  html.js .client.a-carre.est-rempli::before {
    transform: none;
    transition: transform 0.85s var(--glisse);
    transition-delay: calc(var(--n, 0) * 90ms);
  }

  html.js .client.a-carre.est-rempli > * {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s var(--glisse), transform 0.7s var(--glisse);
    transition-delay: calc(0.5s + var(--n, 0) * 90ms);
  }

  html.js .client.a-carre.est-rempli > p {
    transition-delay: calc(0.6s + var(--n, 0) * 90ms);
  }

  .client {
    transition: transform 0.25s var(--glisse);
  }

  .client.est-presse {
    transform: scale(0.97);
  }

  .client::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
  }

  .client.est-pulse::after {
    animation: client-pulse 0.6s var(--glisse);
  }
}

@keyframes client-pulse {
  30% { opacity: 0.22; }
  to { opacity: 0; }
}

/* ---------------------------------------------------------------- 5. forfait */

.forfait {
  margin-top: var(--section);
  padding: clamp(56px, 8vw, 110px) var(--marge);
  background: var(--encre);
  color: var(--creme);
  display: grid;
  justify-items: start;
}

.forfait > * {
  max-width: var(--largeur);
}

@media (min-width: 1400px) {
  .forfait {
    padding-left: calc((100vw - var(--largeur)) / 2);
    padding-right: calc((100vw - var(--largeur)) / 2);
  }
}

.forfait__trajet {
  margin-top: 16px;
  font-weight: 800;
  font-size: clamp(38px, 6.4vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.forfait__lieux {
  margin-top: 14px;
  color: var(--creme-doux);
  font: 500 14px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.forfait__prix {
  margin-top: clamp(22px, 3vw, 40px);
  display: flex;
  align-items: baseline;
  gap: 0.35em;
  font-weight: 800;
  font-size: clamp(64px, 11vw, 176px);
  line-height: 0.85;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}

.forfait__prix span {
  font: 500 clamp(14px, 1.2vw, 18px)/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.forfait__note {
  margin-top: 16px;
  font-size: clamp(18px, 1.6vw, 22px);
}

.forfait .lien-fleche {
  margin-top: 26px;
}

/* ---------------------------------------------------------------- 6. calcul de trajet */

.calcul__corps {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  border: 1px solid var(--trait);
  border-radius: 24px;
  background: var(--papier);
}

/* Pas d'overflow caché sur la carte : la liste de suggestions doit pouvoir en sortir */
.calcul__resultat {
  border-radius: 0 23px 23px 0;
}

@media (max-width: 900px) {
  .calcul__resultat {
    border-radius: 0 0 23px 23px;
  }
}

@media (max-width: 520px) {
  .calcul__resultat {
    border-radius: 0 0 19px 19px;
  }
}

.calcul__form {
  padding: clamp(20px, 3vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 16px;
  align-content: start;
}

.champ {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.champ--large {
  grid-column: 1 / -1;
}

.champ label {
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

.champ select,
.champ input,
.champ textarea {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--trait-fort);
  border-radius: 12px;
  background: var(--papier);
  color: var(--encre);
  font: 450 16px/1.3 var(--police);
  appearance: none;
  -webkit-appearance: none;
}

.champ textarea {
  padding: 14px;
  min-height: 96px;
  resize: vertical;
}

.champ select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231C252C' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.champ input::-webkit-date-and-time-value {
  text-align: left;
}

.champ select:hover,
.champ input:hover,
.champ textarea:hover {
  border-color: var(--encre);
}

.champ [aria-invalid="true"] {
  border-color: var(--bordeaux);
  box-shadow: 0 0 0 1px var(--bordeaux);
}

.calcul__aide {
  grid-column: 1 / -1;
  color: var(--texte-doux);
  font-size: 15px;
}

.champ--lieu {
  position: relative;
}

.champ--lieu input {
  text-overflow: ellipsis;
}

.suggestions {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: min(320px, 50svh);
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--trait-fort);
  border-radius: 14px;
  background: var(--papier);
  box-shadow: 0 18px 40px -18px rgba(28, 37, 44, 0.35);
  overscroll-behavior: contain;
}

.suggestion {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 11px 12px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.3;
}

.suggestion[aria-selected="true"],
.suggestion:hover {
  background: var(--creme);
}

.suggestion small {
  flex: none;
  color: var(--texte-doux);
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.04em;
}

.suggestion--autre {
  color: var(--bleu);
  font-weight: 600;
}

@media (prefers-reduced-motion: no-preference) {
  .suggestions:not([hidden]) {
    animation: suggestions-ouvre 0.22s var(--glisse) both;
  }
}

@keyframes suggestions-ouvre {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.calcul__trajet {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 10px;
}

.inverser {
  width: 54px;
  height: 54px;
  border: 1px solid var(--trait-fort);
  border-radius: 50%;
  background: var(--creme);
  color: var(--encre);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.3s var(--glisse);
}

.inverser:hover {
  border-color: var(--encre);
}

.inverser:active {
  transform: rotate(180deg);
}

.inverser svg {
  width: 20px;
  height: 20px;
}

.calcul__resultat {
  padding: clamp(24px, 3vw, 40px);
  background: var(--bleu);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calcul__etiquette {
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.calcul__valeur {
  font-weight: 800;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.calcul__valeur--texte {
  font-weight: 700;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.calcul__detail {
  font-size: 17px;
  opacity: 0.9;
}

.calcul__resultat .bouton {
  margin-top: auto;
  align-self: stretch;
}

.calcul__mention {
  margin-top: 16px;
  max-width: 90ch;
  color: var(--texte-doux);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .calcul__corps {
    grid-template-columns: 1fr;
  }

  .calcul__resultat .bouton {
    margin-top: 12px;
  }
}

@media (max-width: 520px) {
  .calcul__form {
    grid-template-columns: 1fr;
  }

  .calcul__trajet {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "depart inverser"
      "arrivee inverser";
  }

  .calcul__trajet > .champ:first-child {
    grid-area: depart;
  }

  .calcul__trajet > .champ:last-child {
    grid-area: arrivee;
  }

  .inverser {
    grid-area: inverser;
    align-self: center;
    margin-top: 22px;
  }

  .calcul__corps {
    border-radius: 20px;
  }
}

/* Le trajet se dessine du départ à l'arrivée, puis le prix compte (transform et opacity seulement) */

.trajet {
  margin-bottom: 8px;
}

.trajet[hidden] {
  display: none;
}

.trajet__ligne {
  position: relative;
  display: flex;
  align-items: center;
  height: 14px;
}

.trajet__point {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--creme);
}

.trajet__point--arrivee {
  background: none;
  box-shadow: inset 0 0 0 3px var(--creme);
}

.trajet__trait {
  flex: 1 1 auto;
  height: 2px;
  margin: 0 6px;
  background: var(--creme);
  transform-origin: left center;
}

.trajet--loin .trajet__trait {
  background: repeating-linear-gradient(90deg, var(--creme) 0 8px, transparent 8px 14px);
}

.trajet__noms {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  font: 500 12px/1.35 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trajet__noms span {
  max-width: 50%;
}

.trajet__noms span:last-child {
  text-align: right;
}

.calcul__meta {
  font: 500 14px/1.3 var(--mono);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
}

@media (prefers-reduced-motion: no-preference) {
  .trajet--trace .trajet__trait {
    animation: trajet-trait 0.75s var(--glisse) both;
  }

  .trajet--trace .trajet__point--arrivee {
    animation: trajet-point 0.45s var(--glisse) 0.6s both;
  }

  .trajet--trace .trajet__noms span:last-child,
  .calcul__resultat.est-maj .calcul__meta,
  .calcul__resultat.est-maj .calcul__etiquette,
  .calcul__resultat.est-maj .calcul__valeur,
  .calcul__resultat.est-maj .calcul__detail {
    animation: trajet-apparait 0.5s var(--glisse) both;
  }

  .calcul__resultat.est-maj .calcul__meta {
    animation-delay: 0.35s;
  }

  .calcul__resultat.est-maj .calcul__etiquette {
    animation-delay: 0.45s;
  }

  .calcul__resultat.est-maj .calcul__valeur {
    animation-delay: 0.5s;
  }

  .calcul__resultat.est-maj .calcul__detail {
    animation-delay: 0.6s;
  }

  .trajet--trace .trajet__noms span:last-child {
    animation-delay: 0.55s;
  }

  .inverser svg {
    transition: transform 0.45s var(--glisse);
  }

  .inverser.est-tourne svg {
    transform: rotate(180deg);
  }
}

@keyframes trajet-trait {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes trajet-point {
  from { transform: scale(0.2); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes trajet-apparait {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* ---------------------------------------------------------------- 7. zone */

.zone {
  margin-top: var(--section);
  background: var(--sable);
  padding: var(--section) var(--marge);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}

@media (min-width: 1400px) {
  .zone {
    padding-left: calc((100vw - var(--largeur)) / 2);
    padding-right: calc((100vw - var(--largeur)) / 2);
  }
}

.compteur {
  font-variant-numeric: tabular-nums;
}

.zone__reservation {
  margin-top: 28px;
}

.zone__listes {
  margin-top: 12px;
  display: grid;
}

.zone__listes div {
  padding: 14px 0;
  border-top: 1px solid var(--trait-fort);
}

.zone__listes dt {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.zone__listes dd {
  margin-top: 4px;
  color: var(--texte-doux);
}

.carte {
  position: relative;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 1;
  margin-left: auto;
}

.carte canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.carte__etiquette {
  position: absolute;
  transform: translate(10px, -50%);
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--sable);
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--encre);
  white-space: nowrap;
  pointer-events: none;
}

.carte__castres {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(14px, -50%);
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--encre);
  color: var(--creme);
  font: 600 13px/1 var(--police);
  pointer-events: none;
}

@media (max-width: 900px) {
  .zone {
    grid-template-columns: 1fr;
  }

  .carte {
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .carte__etiquette {
    font-size: 10px;
    padding: 2px 5px;
    transform: translate(7px, -50%);
  }

  .carte__castres {
    font-size: 12px;
    padding: 5px 8px;
    transform: translate(10px, -50%);
  }
}

/* ---------------------------------------------------------------- 8. véhicule */

.vehicule__points {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.vehicule__points li {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 24px;
  border-top: 2px solid var(--encre);
  font-weight: 650;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.vehicule__points svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--bleu);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 960px) {
  .vehicule__points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .vehicule__points li {
    padding: 18px 4px 6px;
    font-size: 17px;
  }
}

/* ---------------------------------------------------------------- 9. pourquoi */

.pourquoi {
  margin-top: var(--section);
  padding: var(--section) var(--marge);
  background: var(--ciel);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}

@media (min-width: 1400px) {
  .pourquoi {
    padding-left: calc((100vw - var(--largeur)) / 2);
    padding-right: calc((100vw - var(--largeur)) / 2);
  }
}

.pourquoi__texte p {
  margin-top: 22px;
  max-width: 46ch;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
}

.engagements li {
  padding: 10px 0 12px;
  border-top: 1.5px solid var(--encre);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 68px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.engagements li::after {
  content: ".";
}

@media (max-width: 860px) {
  .pourquoi {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ---------------------------------------------------------------- 10. réservation */

.reservation {
  background: var(--encre);
  color: var(--creme);
  padding: var(--section) var(--marge);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}

@media (min-width: 1400px) {
  .reservation {
    padding-left: calc((100vw - var(--largeur)) / 2);
    padding-right: calc((100vw - var(--largeur)) / 2);
  }
}

.reservation__titre {
  margin-top: 22px;
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.reservation__intro {
  margin-top: 20px;
  max-width: 40ch;
  color: var(--creme-doux);
  font-size: clamp(17px, 1.4vw, 20px);
}

.reservation__mention {
  margin-top: 20px;
  max-width: 44ch;
  color: var(--creme-doux);
  font: 400 14px/1.6 var(--mono);
}

.reservation__mention a {
  color: var(--creme);
  white-space: nowrap;
}

.reservation__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.reservation .champ label {
  color: var(--creme-doux);
}

.reservation .champ input,
.reservation .champ select,
.reservation .champ textarea {
  border-color: transparent;
  background-color: var(--creme);
}

.reservation .champ input:hover,
.reservation .champ select:hover,
.reservation .champ textarea:hover {
  border-color: var(--ciel);
}

.reservation .champ [aria-invalid="true"] {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 2px var(--terracotta);
}

.form__erreur {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(201, 111, 84, 0.18);
  border: 1px solid var(--terracotta);
  font-size: 15px;
  line-height: 1.45;
}

.reservation__rgpd {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  opacity: 0.85;
}

.reservation__rgpd a,
.res__rgpd a {
  color: inherit;
  text-decoration: underline;
}

.reservation__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.reservation__actions .bouton[type="submit"] {
  flex: 1 1 260px;
}

.reservation__merci {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--trait-creme);
  border-radius: 20px;
}

.merci__texte {
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

@media (max-width: 900px) {
  .reservation {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .reservation__form {
    grid-template-columns: 1fr;
  }

  .reservation__actions .bouton {
    flex: 1 1 100%;
  }
}

/* ---------------------------------------------------------------- 11. avis (masqués) et 12. FAQ */

.avis__liste {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 14px;
}

.faq {
  padding-bottom: var(--section);
}

.faq__liste {
  margin-top: 18px;
  max-width: 920px;
  border-bottom: 1px solid var(--trait-fort);
}

.faq__item {
  border-top: 1px solid var(--trait-fort);
}

.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  font-weight: 650;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--trait-fort);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 400 20px/1 var(--mono);
  transition: transform 0.3s var(--glisse);
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item p {
  padding: 0 48px 22px 0;
  color: var(--texte-doux);
}

/* ---------------------------------------------------------------- pages locales */

.local {
  padding-top: clamp(40px, 6vw, 88px);
}

.local__titre {
  margin-top: 18px;
  max-width: 18ch;
  font-weight: 800;
  font-size: clamp(40px, 6.6vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.local__intro {
  margin-top: clamp(22px, 3vw, 36px);
  max-width: 62ch;
  display: grid;
  gap: 14px;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--texte-doux);
}

.local__intro a {
  color: var(--encre);
  font-weight: 600;
  white-space: nowrap;
}

.local__actions {
  margin-top: clamp(22px, 3vw, 34px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 560px) {
  .local__actions .bouton {
    flex: 1 1 100%;
  }
}

.liste-aplats {
  margin-top: clamp(22px, 3vw, 36px);
  display: grid;
  gap: 10px;
  max-width: 920px;
}

.liste-aplats li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--papier);
  border: 1px solid var(--trait);
  font-weight: 600;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.4;
}

.liste-aplats li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 0.3em;
  border-radius: 4px;
  background: var(--c);
}

.local-bloc--forfait {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.forfait--page {
  margin-top: 0;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 24px;
}

.forfait--page .forfait__trajet {
  margin-top: 0;
  font-size: clamp(30px, 3.4vw, 48px);
}

.forfait--page .forfait__prix {
  font-size: clamp(64px, 8vw, 128px);
}

@media (max-width: 900px) {
  .local-bloc--forfait {
    grid-template-columns: 1fr;
  }
}

.local-liens {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  padding-bottom: var(--section);
}

/* ---------------------------------------------------------------- pages légales */

.texte-legal {
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: var(--section);
}

.legal {
  margin-top: clamp(28px, 4vw, 48px);
  max-width: 920px;
  display: grid;
}

.legal div {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 8px 32px;
  padding: 18px 0;
  border-top: 1px solid var(--trait-fort);
}

.legal dt {
  font: 500 13px/1.5 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-doux);
  padding-top: 2px;
}

.legal a {
  font-weight: 600;
}

@media (max-width: 640px) {
  .legal div {
    grid-template-columns: 1fr;
  }
}

mark.todo {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--sable);
  color: var(--encre);
}

mark.todo::after {
  content: "TODO";
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--bordeaux);
  color: var(--creme);
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.06em;
  vertical-align: 1px;
}

/* ---------------------------------------------------------------- pied de page */

.pied {
  background: var(--encre);
  color: var(--creme-doux);
  padding: clamp(48px, 6vw, 80px) var(--marge) calc(40px + var(--bas));
  display: grid;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
}

.pied a {
  color: var(--creme);
}

.pied__logo {
  width: auto;
  height: 34px;
  margin: 0 0 14px -7px;
}

.pied__dispo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--creme);
  font: 500 14px/1.4 var(--mono);
}

.pied__liens {
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--trait-creme);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.pied__liens a {
  text-decoration: none;
}

.pied__liens a:hover {
  text-decoration: underline;
}

@media (min-width: 1400px) {
  .pied {
    padding-left: calc((100vw - var(--largeur)) / 2);
    padding-right: calc((100vw - var(--largeur)) / 2);
  }
}

/* ---------------------------------------------------------------- barre d'appel mobile */

.barre-appel {
  display: none;
}

@media (max-width: 760px) {
  .barre-appel {
    position: fixed;
    inset: auto 0 0;
    z-index: 45;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 8px;
    padding: 10px 16px calc(10px + var(--bas));
    background: var(--encre);
    box-shadow: 0 -1px 0 rgba(249, 248, 244, 0.08);
  }

  .barre-appel .bouton {
    min-height: 52px;
  }
}

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

/* ---------------------------------------------------------------- corrections de recette (2 octobre) */

html {
  scroll-padding-bottom: calc(var(--barre) + var(--bas) + 16px);
}

.calcul__resultat :focus-visible {
  outline-color: var(--creme);
}

.entete__nav a {
  padding: 12px 0;
}

.carte__etiquette--gauche {
  transform: translate(calc(-100% - 10px), -50%);
}

.forfait__actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.forfait__actions .lien-fleche {
  margin-top: 0;
}

.champ__erreur {
  color: var(--terracotta);
  font-size: 14px;
  line-height: 1.4;
}

.reservation .champ__erreur {
  color: #F2B7A6;
}

.assistance__note a {
  color: var(--creme);
}

/* ---------------------------------------------------------------- bandeau permanent : Réserver une course / Appeler */

.barre-appel {
  position: fixed;
  z-index: 45;
  display: flex;
  gap: 8px;
  background: var(--encre);
}

.barre-appel .bouton {
  min-height: 52px;
}

.barre-appel__reserver {
  flex: 1.5;
}

.barre-appel .bouton--ligne-creme {
  flex: 1;
}

@media (max-width: 760px) {
  .barre-appel {
    inset: auto 0 0;
    padding: 10px 16px calc(10px + var(--bas));
    box-shadow: 0 -1px 0 rgba(249, 248, 244, 0.08);
  }
}

@media (min-width: 761px) {
  .barre-appel {
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    padding: 8px;
    border-radius: 999px;
    box-shadow: 0 16px 44px -14px rgba(28, 37, 44, 0.55);
  }

  .barre-appel .bouton {
    min-height: 48px;
    padding: 0 1.7em;
    white-space: nowrap;
  }

  .pied {
    padding-bottom: 104px;
  }
}

/* ---------------------------------------------------------------- fenêtre de réservation */

html.res-ouvert,
html.res-ouvert body {
  overflow: hidden;
}

.res {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--vv-top, 0px);
  height: var(--vv-h, 100dvh);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.res[hidden] {
  display: none;
}

.res__voile {
  position: absolute;
  inset: 0;
  background: rgba(28, 37, 44, 0.58);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.res--ouvert .res__voile {
  opacity: 1;
}

.res__fenetre {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: calc(100% - 12px);
  background: var(--creme);
  color: var(--encre);
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.38s var(--glisse);
}

.res--ouvert .res__fenetre {
  transform: none;
}

@media (min-width: 761px) {
  .res {
    align-items: center;
  }

  .res__fenetre {
    width: min(580px, calc(100% - 48px));
    height: min(760px, calc(100% - 48px));
    border-radius: 24px;
    opacity: 0;
    transform: translateY(56px);
    transition: transform 0.38s var(--glisse), opacity 0.3s ease;
  }

  .res--ouvert .res__fenetre {
    opacity: 1;
    transform: none;
  }
}

.res__tete {
  flex: none;
  padding: 16px 20px 0;
}

.res__jauge {
  display: flex;
  gap: 6px;
}

.res__jauge span {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--trait);
  transition: background-color 0.3s ease;
}

.res__jauge span.est-fait {
  background: var(--encre);
}

.res__ligne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}

.res__etat {
  margin: 0;
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

.res__fermer {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--encre);
  cursor: pointer;
}

.res__fermer:hover {
  background: rgba(28, 37, 44, 0.08);
}

.res__fermer svg {
  width: 22px;
  height: 22px;
}

.res__corps {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 8px 20px 28px;
}

.res__corps > .res__etape:first-child {
  min-height: 400px;
}

.res__etape[hidden] {
  display: none;
}

.res__q {
  margin: 0 0 22px;
  font: 700 clamp(28px, 7vw, 36px) / 1.08 var(--police);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.res__q:focus {
  outline: none;
}

.res__pied {
  flex: none;
  display: flex;
  gap: 10px;
  padding: 12px 20px calc(12px + var(--bas));
  border-top: 1px solid var(--trait);
  background: var(--creme);
}

.res__pied[hidden] {
  display: none;
}

.res__suivant {
  flex: 1;
}

.res__retour-bouton {
  flex: none;
}

.res__trajet {
  position: relative;
  display: grid;
  gap: 14px;
}

.res__trajet .champ input {
  padding-right: 64px;
}

.res__inverser {
  position: absolute;
  z-index: 2;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--trait-fort);
  border-radius: 50%;
  background: var(--creme);
  color: var(--encre);
  cursor: pointer;
}

.res__inverser svg {
  width: 20px;
  height: 20px;
}

.res__trajet .champ--lieu:focus-within {
  z-index: 3;
}

.res__meta {
  min-height: 1.5em;
  margin: 14px 0 0;
  font: 500 14px/1.4 var(--mono);
  color: var(--texte-doux);
}

.res__rappel {
  margin: -8px 0 20px;
  font: 500 14px/1.4 var(--mono);
  color: var(--texte-doux);
}

.puces {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.puce {
  min-height: 46px;
  padding: 0 18px;
  border: 1.5px solid var(--trait-fort);
  border-radius: 999px;
  background: var(--papier);
  color: var(--encre);
  font: 550 16px/1 var(--police);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.puce:active {
  transform: scale(0.97);
}

.puce[aria-pressed="true"] {
  background: var(--encre);
  border-color: var(--encre);
  color: var(--creme);
}

.etiquette-mini {
  margin: 20px 0 8px;
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

.quand .champ {
  margin-bottom: 4px;
}

.quand__heure .etiquette-mini {
  margin-top: 8px;
}

.res__alerte {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  background: var(--encre);
  color: var(--creme);
}

.res__alerte[hidden],
.res__note[hidden],
.res__erreur[hidden] {
  display: none;
}

.res__alerte .bouton {
  background: var(--creme);
  color: var(--encre);
}

.res__alerte p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--creme-doux);
}

.res__note {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--texte-doux);
}

.res__note a {
  color: var(--encre);
  font-weight: 600;
}

.res__note--douce {
  margin: 10px 0 22px;
}

.res__erreur {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(201, 111, 84, 0.16);
  color: #7A3322;
  font-size: 15px;
  line-height: 1.45;
}

.res__erreur a {
  color: inherit;
  font-weight: 600;
}

.curseur {
  margin-bottom: 4px;
}

.curseur__tete {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.curseur__tete label {
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

.curseur output {
  font: 700 24px/1 var(--police);
}

.curseur input[type="range"] {
  --p: 0%;
  display: block;
  width: 100%;
  height: 44px;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.curseur input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--encre) var(--p), rgba(28, 37, 44, 0.16) var(--p));
}

.curseur input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  margin-top: -11px;
  border: 3px solid var(--creme);
  border-radius: 50%;
  background: var(--encre);
  box-shadow: 0 0 0 1px var(--encre);
}

.curseur input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background: rgba(28, 37, 44, 0.16);
}

.curseur input[type="range"]::-moz-range-progress {
  height: 8px;
  border-radius: 4px;
  background: var(--encre);
}

.curseur input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 3px solid var(--creme);
  border-radius: 50%;
  background: var(--encre);
  box-shadow: 0 0 0 1px var(--encre);
}

.res__retour {
  margin: 4px 0 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(28, 37, 44, 0.05);
}

.res__retour .puces {
  margin-bottom: 14px;
}

.res__message {
  margin-top: 8px;
}

.res__message summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  cursor: pointer;
}

.res__etape .champ + .champ {
  margin-top: 16px;
}

.res__etape .champ__erreur {
  color: #A8432B;
}

/* La roue des heures : deux colonnes qui s'accrochent, pas de 5 minutes */

.roue {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(240px, 100%);
  height: 132px;
  margin: 0 0 4px;
  border: 1px solid var(--trait-fort);
  border-radius: 16px;
  background: var(--papier);
  overflow: hidden;
}

.roue__col {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 84px;
  height: 132px;
  padding: 44px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent);
  mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent);
}

.roue__col::-webkit-scrollbar {
  display: none;
}

.roue__it {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  scroll-snap-align: center;
  font: 600 24px/1 var(--police);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.roue__sep {
  position: relative;
  z-index: 2;
  font: 600 24px/1 var(--police);
}

.roue__bande {
  position: absolute;
  z-index: 1;
  left: 10px;
  right: 10px;
  top: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(28, 37, 44, 0.08);
  pointer-events: none;
}

/* Récapitulatif */

.res__chemin {
  position: relative;
  padding-left: 30px;
}

.res__lieux {
  display: grid;
  gap: 22px;
}

.res__lieux strong {
  font: 700 20px/1.2 var(--police);
  letter-spacing: -0.01em;
}

.res__point {
  position: absolute;
  left: 1px;
  top: 5px;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border: 2px solid var(--encre);
  border-radius: 50%;
  background: var(--creme);
}

.res__point--arrivee {
  top: auto;
  bottom: 5px;
  background: var(--encre);
}

.res__trait {
  position: absolute;
  left: 7px;
  top: 21px;
  bottom: 21px;
  width: 2px;
  background: var(--encre);
  opacity: 0.55;
  transform-origin: top;
  animation: res-trait 0.7s var(--glisse) both;
}

@keyframes res-trait {
  from {
    transform: scaleY(0);
  }
}

.res__liste {
  margin: 18px 0 0;
}

.res__liste > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--trait);
}

.res__liste dt {
  font: 500 12px/1.5 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

.res__liste dd {
  margin: 0;
  font-weight: 550;
  overflow-wrap: anywhere;
}

.res__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.res__options li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--encre);
  color: var(--creme);
  font-size: 14px;
  font-weight: 550;
}

.res__prix {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--bleu);
  color: #fff;
}

.res__prix p {
  margin: 0;
}

.res__prix-valeur {
  font: 700 24px/1.2 var(--police);
  letter-spacing: -0.01em;
}

.res__prix-note {
  margin-top: 4px !important;
  font-size: 15px;
}

.res__prix-note:empty {
  display: none;
}

.res__texte {
  margin: 0;
  font-size: 18px;
}

.res__actions {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.barre-appel .bouton {
  white-space: nowrap;
  padding: 0 1em;
}

.barre-appel__reserver {
  flex: 1.7;
}

/* Section Réservation : avec JavaScript, un bouton ouvre la fenêtre ; le formulaire reste pour le cas sans JavaScript */
.reservation__ouvrir {
  display: none;
}

.js .reservation__ouvrir {
  display: grid;
  gap: 20px;
  justify-items: start;
  align-content: center;
}

.reservation__ouvrir p {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
  color: var(--creme-doux);
}

.js .reservation__form,
.js .reservation__merci {
  display: none;
}

.bouton--grand {
  min-height: 64px;
  padding: 0 2.2em;
  font-size: 19px;
}

.reservation__ouvrir .reservation__duree {
  margin: -8px 0 0;
  font: 500 13px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--creme-doux);
  opacity: 0.75;
}

/* ---------------------------------------------------------------- Taxi Fabrice Pro (/pro/) : gros boutons, une main */

.page-pro {
  background: var(--encre);
  color: var(--creme);
  padding-bottom: 0;
}

.pro {
  min-height: 100svh;
  padding: calc(20px + env(safe-area-inset-top, 0px)) 20px calc(28px + var(--bas));
  max-width: 560px;
  margin: 0 auto;
}

.pro__nom {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--creme-doux);
}

.pro__titre {
  margin: 0 0 12px;
  font: 700 clamp(34px, 9vw, 46px) / 1.05 var(--police);
  letter-spacing: -0.03em;
}

.pro__aide {
  min-height: 1.6em;
  margin: 0 0 20px;
  font-size: 19px;
  color: var(--creme-doux);
}

.pro__code {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 8px 0 28px;
}

.pro__code span {
  width: 20px;
  height: 20px;
  border: 2px solid var(--creme);
  border-radius: 50%;
}

.pro__code span.est-plein {
  background: var(--creme);
}

.pro__clavier {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pro__clavier button {
  min-height: 78px;
  border: 1.5px solid var(--trait-creme);
  border-radius: 20px;
  background: rgba(249, 248, 244, 0.06);
  color: var(--creme);
  font: 600 32px/1 var(--police);
  cursor: pointer;
}

.pro__clavier button:active {
  background: rgba(249, 248, 244, 0.2);
}

.pro__form {
  display: grid;
  gap: 18px;
}

.pro__form .champ label,
.pro__types legend {
  color: var(--creme-doux);
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pro__form .champ input {
  min-height: 64px;
  font-size: 20px;
  border-radius: 16px;
}

.pro__duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pro__types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.pro__types legend {
  grid-column: 1 / -1;
  padding: 0;
  margin-bottom: 8px;
}

.pro__types label {
  position: relative;
}

.pro__types input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.pro__types span {
  display: grid;
  place-items: center;
  min-height: 64px;
  border: 1.5px solid var(--trait-creme);
  border-radius: 16px;
  font: 600 19px/1 var(--police);
}

.pro__types input:checked + span {
  background: var(--creme);
  border-color: var(--creme);
  color: var(--encre);
}

.pro__types input:focus-visible + span {
  outline: 3px solid var(--creme);
  outline-offset: 3px;
}

.pro__retour {
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(242, 183, 166, 0.16);
  color: #F2B7A6;
  font-size: 18px;
}

.pro__retour.est-bon {
  background: rgba(40, 158, 108, 0.2);
  color: var(--creme);
}

.pro__retour[hidden] {
  display: none;
}

.pro__envoyer {
  min-height: 76px;
  font-size: 22px;
}

/* ---------------------------------------------------------------- effets de survol et de toucher (2 octobre)
   Un seul geste : ça s'enfonce au toucher, ça se soulève au survol. Propriétés individuelles
   translate et scale pour ne pas se battre avec les transform des scènes. Rien ne retarde un clic. */

@media (prefers-reduced-motion: no-preference) {
  .bouton,
  .puce,
  .inverser,
  .suggestion,
  .lien-fleche,
  .entete__nav a,
  .pied__liens a,
  .repere {
    transition-property: background-color, border-color, color, transform, translate, scale;
    transition-duration: 0.2s;
    transition-timing-function: var(--glisse);
  }

  .bouton:active,
  .puce:active,
  .inverser:active,
  .suggestion:active,
  .lien-fleche:active,
  .entete__nav a:active,
  .pied__liens a:active,
  .repere:active {
    scale: 0.97;
  }

  .service:active h3,
  .service:active p {
    translate: 6px 0;
  }

  .service h3,
  .service p {
    transition: translate 0.35s var(--glisse);
  }

  .service::before {
    transition: scale 0.35s var(--glisse);
  }

  .forfait__prix {
    transition: translate 0.35s var(--glisse);
  }

  .forfait:active .forfait__prix {
    translate: 0 -3px;
  }

  .lien-fleche:active::after {
    transform: translateX(3px);
  }

  .entete__nav a,
  .pied__liens a {
    display: inline-block;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .bouton:hover,
  .puce:hover {
    translate: 0 -2px;
  }

  .bouton:active,
  .puce:active {
    translate: 0 0;
  }

  .service:hover h3,
  .service:hover p {
    translate: 6px 0;
  }

  .service:hover::before {
    scale: 1 1.12;
    transform-origin: bottom center;
  }

  .forfait:hover .forfait__prix {
    translate: 0 -3px;
  }

  .lien-fleche:hover {
    border-bottom-width: 3px;
    padding-bottom: 1px;
  }

  .entete__nav a:hover,
  .pied__liens a:hover {
    translate: 0 -1px;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .client {
    transition: transform 0.25s var(--glisse), translate 0.25s var(--glisse);
  }

  .client:hover {
    translate: 0 -3px;
  }
}

.services__appel {
  margin-top: 18px;
  color: var(--texte-doux);
  font-size: clamp(16px, 1.2vw, 19px);
}

.services__appel a {
  color: var(--encre);
  font-weight: 600;
}

.hero__forfait {
  margin-top: 14px;
}

/* ---------------------------------------------------------------- l'appli (installation sur l'écran d'accueil) */

.appli__cas {
  display: none;
  margin-top: 18px;
}

[data-appli="tous"] .appli__cas--ios,
[data-appli="tous"] .appli__cas--android,
[data-appli="ordi"] .appli__cas--ordi,
[data-appli="ordi"] .appli__cas--ios,
[data-appli="ordi"] .appli__cas--android,
[data-appli="ios"] .appli__cas--ios,
[data-appli="android"] .appli__cas--android,
[data-appli="invite"] .appli__cas--invite,
[data-appli="installee"] .appli__cas--installee {
  display: block;
}

.appli__titre {
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
  margin: 8px 0 10px;
}

.appli__etapes {
  margin: 0;
  padding-left: 1.4em;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
}

.appli__etapes li + li {
  margin-top: 8px;
}

.appli__fait {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(18px, 1.4vw, 21px);
  font-weight: 600;
}

.appli-bloc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.appli-bloc__texte {
  margin-top: 10px;
  max-width: 46ch;
  color: var(--texte-doux);
  font-size: clamp(17px, 1.3vw, 20px);
}

.appli-bloc[data-appli="installee"] {
  display: none;
}

.appli-icone {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  flex: none;
  box-shadow: 0 6px 18px rgba(28, 37, 44, 0.18);
}

.appli-bloc__corps {
  flex: 1 1 280px;
}

.appli__carte {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.appli__carte p {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.appli__carte span {
  color: var(--texte-doux);
  font-size: 15px;
}

/* ---------------------------------------------------------------- livret de livraison (/bienvenue) */

.livret {
  --livret-largeur: 980px;
}

.livret__hero,
.livret__section,
.livret__fin {
  max-width: calc(var(--livret-largeur) + 2 * var(--marge));
  margin: 0 auto;
  padding: var(--section) var(--marge) 0;
}

.livret__hero {
  padding-top: clamp(40px, 7vw, 96px);
}

.livret__sur-titre {
  font: 500 14px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

.livret__titre {
  margin: 14px 0 0;
  font-size: clamp(48px, 9vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.livret__point {
  color: var(--vert);
}

.livret__intro,
.livret__texte {
  max-width: 60ch;
  margin-top: 22px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--texte-doux);
}

.livret__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.livret__sommaire {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--trait);
}

.livret__sommaire a {
  padding: 8px 14px;
  border: 1px solid var(--trait-fort);
  border-radius: 999px;
  color: var(--encre);
  text-decoration: none;
  font-size: 15px;
}

.livret__sommaire a:hover {
  background: var(--encre);
  color: var(--creme);
}

.livret-cartes {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.livret-cartes li {
  position: relative;
  padding: 22px 22px 24px 26px;
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: 18px;
  overflow: hidden;
}

.livret-cartes li::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--c);
}

.livret-cartes h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.livret-cartes p {
  margin: 8px 0 0;
  color: var(--texte-doux);
  line-height: 1.5;
}

.livret-offert {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--sable);
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.livret-etapes {
  counter-reset: etape;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.livret-etapes li {
  counter-increment: etape;
  position: relative;
  padding: 18px 20px 18px 68px;
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: 18px;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.5;
}

.livret-etapes li::before {
  content: counter(etape);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--encre);
  color: var(--creme);
  font: 600 16px/1 var(--police);
}

.livret-astuce {
  max-width: 70ch;
  margin-top: 20px;
  padding: 16px 20px;
  border-left: 4px solid var(--ciel);
  background: rgba(122, 152, 202, 0.12);
  border-radius: 0 12px 12px 0;
  line-height: 1.55;
}

.livret__section--fonce {
  max-width: none;
  margin-top: var(--section);
  padding: var(--section) max(var(--marge), calc((100% - var(--livret-largeur)) / 2)) var(--section);
  background: var(--encre);
  color: var(--creme);
}

.livret__section--fonce .etiquette,
.livret__section--fonce .livret__texte {
  color: var(--creme-doux);
}

.livret-etapes--creme li {
  background: rgba(249, 248, 244, 0.06);
  border-color: var(--trait-creme);
}

.livret-etapes--creme li::before {
  background: var(--creme);
  color: var(--encre);
}

.livret-message {
  margin: 24px 0 0;
  padding: 22px;
  border-radius: 18px;
  background: rgba(249, 248, 244, 0.08);
  border: 1px solid var(--trait-creme);
}

.livret-message figcaption {
  font: 500 13px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}

.livret-message blockquote {
  margin: 12px 0 16px;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
}

.livret-message--clair {
  background: var(--papier);
  border-color: var(--trait);
}

.livret-messages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

.livret-regles {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--trait-creme);
}

.livret-regles h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.livret-regles ul {
  margin: 0;
  padding-left: 1.2em;
  line-height: 1.6;
  color: var(--creme-doux);
}

.livret-regles li + li {
  margin-top: 6px;
}

.livret-telechargements {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.livret-telechargements a {
  display: grid;
  gap: 4px;
  padding: 20px 64px 20px 22px;
  position: relative;
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: 18px;
  color: var(--encre);
  text-decoration: none;
}

.livret-telechargements a::after {
  content: "↓";
  position: absolute;
  right: 22px;
  top: 50%;
  translate: 0 -50%;
  font-size: 22px;
}

.livret-telechargements strong {
  font-size: 19px;
}

.livret-telechargements span {
  color: var(--texte-doux);
  line-height: 1.45;
}

.livret-calendrier {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-left: 2px solid var(--trait-fort);
}

.livret-calendrier li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, 170px) 1fr;
  gap: 4px 20px;
  padding: 0 0 22px 24px;
  line-height: 1.5;
}

.livret-calendrier li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--creme);
  border: 2px solid var(--encre);
}

.livret-calendrier li.fait::before {
  background: var(--vert);
  border-color: var(--vert);
}

.livret-calendrier__date {
  font: 500 14px/1.6 var(--mono);
  color: var(--texte-doux);
}

.livret-calendrier em {
  color: var(--texte-doux);
}

@media (max-width: 560px) {
  .livret-calendrier li {
    grid-template-columns: 1fr;
  }
}

.livret-controle {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px 24px;
}

.livret-controle li {
  position: relative;
  padding-left: 30px;
  line-height: 1.45;
}

.livret-controle li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--encre);
  color: var(--creme);
  font-size: 12px;
}

.livret__fin {
  max-width: none;
  margin-top: var(--section);
  padding: var(--section) max(var(--marge), calc((100% - var(--livret-largeur)) / 2));
  background: var(--bleu);
  color: var(--creme);
}

.livret__fin-titre {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.livret__fin p {
  max-width: 56ch;
  margin-top: 16px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
}

.livret__signature {
  margin-top: 40px !important;
  font-weight: 700;
  font-size: 20px;
}

.livret__signature span {
  font-weight: 400;
  opacity: 0.8;
  font-size: 16px;
}

/* ---------------------------------------------------------------- carte de visite numérique (/carte) */

.carte-visite {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 96px) var(--marge) var(--section);
  text-align: center;
}

.carte-visite__icone {
  display: block;
  margin: 0 auto 24px;
}

.carte-visite__nom {
  margin: 0;
  font-size: clamp(44px, 10vw, 72px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.carte-visite__point {
  color: var(--vert);
}

.carte-visite__signature {
  margin-top: 10px;
  font: 500 15px/1.4 var(--mono);
  letter-spacing: 0.08em;
}

.carte-visite__texte {
  margin-top: 18px;
  color: var(--texte-doux);
  font-size: 18px;
  line-height: 1.5;
}

.carte-visite__actions {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.carte-visite__actions .bouton {
  width: 100%;
}

.carte-visite__pied {
  margin-top: 28px;
  font-size: 15px;
  color: var(--texte-doux);
}

.carte-visite__pied a {
  color: inherit;
}

/* Le livret s'adresse à Fabrice : pas de barre « Réserver / Appeler » destinée aux clients */
.page-livret .barre-appel {
  display: none;
}

/* ---------------------------------------------------------------- livret : marché, concurrents, prescripteurs */

.livret-chiffres {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.livret-chiffres p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 18px;
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: 16px;
}

.livret-chiffres strong {
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1;
}

.livret-chiffres span {
  font-size: 14px;
  color: var(--texte-doux);
}

.livret-table-zone {
  margin-top: 24px;
  overflow-x: auto;
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: 18px;
}

.livret-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.livret-table th {
  padding: 14px 18px;
  text-align: left;
  font: 500 12px/1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texte-doux);
  border-bottom: 1px solid var(--trait);
}

.livret-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--trait);
  vertical-align: top;
  line-height: 1.4;
}

.livret-table tr:last-child td {
  border-bottom: 0;
}

.livret-table td:first-child {
  font-weight: 600;
}

.livret-table td span {
  display: block;
  margin-top: 2px;
  font-weight: 400;
  font-size: 14px;
  color: var(--texte-doux);
}

.livret-table td:not(:first-child),
.livret-table th:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}

.livret-table--contacts td a {
  color: var(--encre);
  font-weight: 600;
}

.livret-table__toi td {
  background: rgba(40, 158, 108, 0.1);
  font-weight: 700;
}

.livret-deux {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.livret-encart {
  padding: 22px;
  border-radius: 18px;
  background: var(--papier);
  border: 1px solid var(--trait);
  border-top: 6px solid var(--c, var(--encre));
}

.livret-encart--rouge {
  --c: var(--terracotta);
}

.livret-encart--vert {
  --c: var(--bleu);
}

.livret-encart h3 {
  margin: 0 0 10px;
  font-size: 19px;
  letter-spacing: -0.015em;
}

.livret-encart ul {
  margin: 0;
  padding-left: 1.2em;
  line-height: 1.55;
}

.livret-encart li + li {
  margin-top: 6px;
}

.livret-encart p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--texte-doux);
}

.livret-question {
  margin-top: 28px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 20px;
  background: var(--creme);
  color: var(--encre);
}

.livret-question__etiquette {
  font: 500 13px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

.livret-question__texte {
  margin-top: 10px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.livret-question__pourquoi {
  margin-top: 12px;
  line-height: 1.55;
  color: var(--texte-doux);
}

.livret-groupe {
  margin: 44px 0 0;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em;
}

.livret-groupe span {
  display: block;
  margin-top: 4px;
  font: 500 13px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

.livret-note {
  margin-top: 14px;
  max-width: 70ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--texte-doux);
}

.livret-note--haut {
  margin-top: 10px;
}

.livret-liste {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.livret-liste li {
  padding: 16px 18px;
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: 14px;
  line-height: 1.5;
}

#prescripteurs .livret-message {
  margin-top: 16px;
}

@media (max-width: 560px) {
  .livret-table--contacts thead {
    display: none;
  }

  .livret-table--contacts tr {
    display: block;
    padding: 14px 18px;
    border-bottom: 1px solid var(--trait);
  }

  .livret-table--contacts tr:last-child {
    border-bottom: 0;
  }

  .livret-table--contacts td {
    display: block;
    padding: 0;
    border: 0;
    text-align: left !important;
  }

  .livret-table--contacts td + td {
    margin-top: 6px;
  }
}
