/**
 * Sonnette : landing de vente. Sections.
 *
 * Règle de composition : aucune section ne partage sa structure avec une autre.
 * Escalier, pleine largeur, liste, colonne étroite, accordéon, plein cadre sombre.
 */

/* ------------------------------------------------------------ Étapes */

.etapes {
  max-width: var(--colonne);
  margin: 0 auto;
  padding: 64px 20px 30px;
}

.etapes h2 {
  margin-bottom: 8px;
}

.etape {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 34px 0 26px 26px;
  /* La ligne pointillée relie les étapes comme une note griffonnée. */
  border-left: 2px dotted rgba(46, 36, 26, 0.4);
}

.etape:last-child {
  border-left-color: transparent;
}

.etape__numero {
  position: absolute;
  left: -19px;
  top: 34px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 800 1.05rem var(--titres);
  background: var(--sable);
  border-radius: 50%;
  transform: rotate(-4deg);
}

.etape h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.etape__photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 16px 18px 44px -16px rgba(46, 36, 26, 0.4);
}

.etape__photo img {
  filter: saturate(0.92);
}

.etape__photo--haute {
  max-width: 340px;
  transform: rotate(1.4deg);
}

.etape__photo--mobile {
  overflow: visible;
  box-shadow: none;
}

.etape__photo--mobile .telephone {
  transform: rotate(-2deg);
}

@media (min-width: 880px) {
  .etape {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: 48px;
    padding-left: 34px;
  }

  /* Le texte reste dans la colonne de gauche, avec son numéro sur la ligne
     pointillée : inverser le texte laissait le numéro seul à 573 px de son
     paragraphe. L'asymétrie vient des photos, qui varient de taille, de
     décalage et d'inclinaison d'une étape à l'autre. */
  .etape__photo {
    justify-self: start;
  }

  .etape--inverse .etape__photo {
    justify-self: end;
    max-width: 400px;
    transform: translateY(28px) rotate(1.4deg);
  }

  .etape:last-child .etape__photo--mobile {
    justify-self: center;
    margin-top: -24px;
  }
}

/* ------------------------------------------------------------ Référence réelle */

.reference {
  margin-top: 44px;
}

.reference__photo {
  aspect-ratio: 21 / 9;
  /* Sans plafond, le 21/9 sur un écran large occupait 69 % de la hauteur
     visible : l'image d'ambiance passait devant l'argument. */
  max-height: 62vh;
  overflow: hidden;
}

.reference__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
}

/* Carte kraft posée sur la photo, légèrement de travers. */
.reference__carte {
  position: relative;
  z-index: 2;
  /* La rotation ajoute quelques pixels de chaque côté : la marge les absorbe. */
  max-width: min(560px, calc(100% - 28px));
  margin: -70px 14px 0 auto;
  background: var(--ticket);
  border: 1.5px solid rgba(46, 36, 26, 0.25);
  border-radius: 6px;
  padding: 26px 28px;
  transform: rotate(-1deg);
  box-shadow: 18px 22px 50px -18px rgba(46, 36, 26, 0.45);
}

.reference__carte h2 {
  font-size: 1.45rem;
  margin: 12px 0 10px;
}

.reference__carte p {
  margin-bottom: 14px;
}

@media (min-width: 880px) {
  .reference__carte {
    margin-right: max(20px, calc((100vw - var(--colonne)) / 2));
    margin-top: -110px;
  }
}

/* Galerie de captures : le débord à droite dit qu'on peut faire défiler. */
.galerie {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 40px 20px 26px max(20px, calc((100vw - var(--colonne)) / 2 + 20px));
  /* Barre toujours visible plutôt que masquée : au bureau, un rail sans barre
     ne se devine pas. Sur mobile le geste est acquis, le débord suffit. */
  scrollbar-width: thin;
  scrollbar-color: rgba(46, 36, 26, 0.35) transparent;
}

.galerie::-webkit-scrollbar {
  height: 8px;
}

.galerie::-webkit-scrollbar-thumb {
  background: rgba(46, 36, 26, 0.32);
  border-radius: 999px;
}

.galerie::-webkit-scrollbar-track {
  background: rgba(46, 36, 26, 0.08);
  border-radius: 999px;
}

/* Au-delà de cette largeur, les quatre captures tiennent côte à côte : le rail
   devient une rangée fixe et la mention du geste disparaît, puisqu'il n'y a
   plus rien à faire défiler. Annoncer un geste inutile est pire que se taire. */
@media (min-width: 1024px) {
  .galerie {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow-x: visible;
    max-width: var(--colonne);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  .galerie figure {
    flex: none;
  }

  .galerie-titre span {
    display: none;
  }
}

/* Le libellé annonce le geste, ce qu'aucune barre ne fait vraiment. */
.galerie-titre {
  display: flex;
  align-items: baseline;
  gap: 10px;
  max-width: var(--colonne);
  margin: 0 auto;
  padding: 34px 20px 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(46, 36, 26, 0.6);
}

.galerie-titre span {
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}

.galerie figure {
  flex: 0 0 232px;
  scroll-snap-align: start;
}

.galerie img {
  border: 6px solid var(--encre);
  border-radius: 22px;
  background: var(--encre);
}

.galerie figcaption {
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 10px;
  color: rgba(46, 36, 26, 0.8);
}

.galerie figure:nth-child(2n) {
  transform: translateY(14px);
}

/* ------------------------------------------------------------ Rubriques */

.rubriques {
  max-width: var(--colonne);
  margin: 0 auto;
  padding: 70px 20px 40px;
  display: grid;
  gap: 36px;
}

.rubriques__intro {
  margin: 12px 0 8px;
}

.rubriques__liste li {
  display: flex;
  flex-direction: column;
  padding: 13px 0;
  border-bottom: 2px dotted rgba(46, 36, 26, 0.25);
}

.rubriques__liste strong {
  font-family: var(--titres);
  font-size: 1.06rem;
}

.rubriques__liste span {
  color: rgba(46, 36, 26, 0.75);
  font-size: 0.94rem;
}

.rubriques__telephone {
  justify-self: center;
}

.rubriques__telephone .telephone {
  transform: rotate(2deg);
}

@media (min-width: 880px) {
  .rubriques {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }

  .rubriques__telephone {
    position: sticky;
    top: 40px;
    justify-self: end;
  }
}

/* ------------------------------------------------------------ L'addition */

.addition {
  background: var(--sable);
  padding: 70px 20px 76px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.addition h2 {
  transform: rotate(-1deg);
}

@media (min-width: 880px) {
  /* Alignée sur la colonne du reste de la page : centrer cette seule section
     cassait le parti pris du calage à gauche. Le ticket, lui, se décale à
     droite pour éviter la colonne unique bien sage. */
  .addition {
    padding-left: max(20px, calc((100vw - var(--colonne)) / 2 + 20px));
    padding-right: max(20px, calc((100vw - var(--colonne)) / 2 + 20px));
  }

  .addition .ticket {
    margin-left: 26%;
  }

  .addition > .bouton {
    margin-left: 26%;
  }
}

/* Le ticket de caisse : bords dentelés, points de conduite, total franc. */
.ticket {
  position: relative;
  width: min(100%, 390px);
  background: var(--ticket);
  padding: 30px 26px 34px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 18px 46px -16px rgba(46, 36, 26, 0.4);
  --dent: 14px;
  clip-path: polygon(0 8px, 3.5% 0, 7% 8px, 10.5% 0, 14% 8px, 17.5% 0, 21% 8px,
    24.5% 0, 28% 8px, 31.5% 0, 35% 8px, 38.5% 0, 42% 8px, 45.5% 0, 49% 8px,
    52.5% 0, 56% 8px, 59.5% 0, 63% 8px, 66.5% 0, 70% 8px, 73.5% 0, 77% 8px,
    80.5% 0, 84% 8px, 87.5% 0, 91% 8px, 94.5% 0, 98% 8px, 100% 4px,
    100% calc(100% - 8px), 96.5% 100%, 93% calc(100% - 8px), 89.5% 100%,
    86% calc(100% - 8px), 82.5% 100%, 79% calc(100% - 8px), 75.5% 100%,
    72% calc(100% - 8px), 68.5% 100%, 65% calc(100% - 8px), 61.5% 100%,
    58% calc(100% - 8px), 54.5% 100%, 51% calc(100% - 8px), 47.5% 100%,
    44% calc(100% - 8px), 40.5% 100%, 37% calc(100% - 8px), 33.5% 100%,
    30% calc(100% - 8px), 26.5% 100%, 23% calc(100% - 8px), 19.5% 100%,
    16% calc(100% - 8px), 12.5% 100%, 9% calc(100% - 8px), 5.5% 100%,
    2% calc(100% - 8px), 0 100%);
}

.ticket__enseigne {
  font: 800 1.5rem var(--titres);
  text-align: center;
}

.ticket__sous {
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(46, 36, 26, 0.65);
  margin: 4px 0 20px;
  border-bottom: 1.5px dashed rgba(46, 36, 26, 0.35);
  padding-bottom: 16px;
}

.ticket li,
.ticket__total {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
}

/* Points de conduite entre la prestation et son prix, comme sur une vraie note. */
.ticket li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.9em;
  border-bottom: 2px dotted rgba(46, 36, 26, 0.35);
}

.ticket li span {
  position: relative;
  background: var(--ticket);
}

.ticket li span:first-child {
  padding-right: 0.4em;
}

.ticket li span:last-child {
  padding-left: 0.4em;
  font-weight: 600;
}

.ticket__total {
  border-top: 2px solid var(--encre);
  margin-top: 14px;
  padding-top: 14px;
  font: 700 1.25rem var(--titres);
}

.ticket__note {
  font-size: 0.88rem;
  color: rgba(46, 36, 26, 0.7);
  margin-top: 14px;
}

.ticket .tampon {
  display: block;
  width: max-content;
  margin: 16px 0 2px auto;
}

/* ------------------------------------------------------------ Questions */

.questions {
  max-width: var(--colonne);
  margin: 0 auto;
  padding: 70px 20px 60px;
}

/* La largeur de lecture reste courte, mais la colonne suit celle de la page. */
.questions details {
  max-width: 720px;
}

.questions h2 {
  margin-bottom: 22px;
}

.questions details {
  border-bottom: 2px dotted rgba(46, 36, 26, 0.3);
}

.questions summary {
  font: italic 500 1.12rem var(--titres);
  padding: 18px 40px 18px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  min-height: 44px;
}

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

.questions summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  translate: 0 -50%;
  font: 700 1.5rem var(--texte);
  color: var(--tomette);
  transition: rotate 0.2s ease;
}

.questions details[open] summary::after {
  rotate: 45deg;
}

.questions details p {
  padding: 0 0 20px;
}

/* ------------------------------------------------------------ Contact */

.contact {
  background: var(--encre);
  color: var(--papier);
  display: grid;
}

.contact__photo {
  min-height: 240px;
}

.contact__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
}

.contact__form {
  padding: 54px 20px 60px;
  max-width: 560px;
}

.contact__form h2 {
  font-size: var(--h2);
  margin-bottom: 10px;
}

.contact__form > p {
  color: rgba(245, 240, 230, 0.8);
  margin-bottom: 28px;
}

.contact__form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.contact__form .optionnel {
  font-weight: 400;
  color: rgba(245, 240, 230, 0.6);
}

.contact__form input,
.contact__form select,
.contact__form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  font: 400 1rem var(--texte);
  color: var(--encre);
  background: var(--ticket);
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 13px 14px;
  min-height: 48px;
}

.contact__form textarea {
  resize: vertical;
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--tomette);
}

.contact__duo {
  display: grid;
  gap: 0 14px;
}

.contact__statut {
  margin-top: 14px;
  font-weight: 600;
  min-height: 1.5em;
}

.contact__statut.est-erreur {
  color: #F2B8A0;
}

/* Champ piège : invisible et hors du flux, sans sortir de la boîte du document
   (une position à -9999px élargit la zone de défilement horizontal). Le
   sélecteur double la spécificité de .contact__form input, qui impose 100 %. */
/* Le champ piège, partout où il apparaît. Le sélecteur ne visait que le
   formulaire de contact : ailleurs, il s'affichait en clair. */
input.hp,
.contact__form input.hp {
  position: absolute;
  width: 1px;
  min-height: 0;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 880px) {
  .contact {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .contact__photo {
    order: 2;
  }

  .contact__form {
    order: 1;
    justify-self: end;
    /* Aligné sur la colonne des autres sections : le calcul précédent ajoutait
       le décalage de la grille à celui de la colonne, d'où 200 au lieu de 160. */
    width: 100%;
    max-width: none;
    padding-left: max(20px, calc((100vw - var(--colonne)) / 2 + 20px));
    padding-right: 48px;
  }

  .contact__duo {
    grid-template-columns: 1fr 1fr;
  }
}

/* ------------------------------------------------------------ Pied */

.pied {
  padding: 44px 20px 54px;
  max-width: var(--colonne);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.pied__signature {
  font: italic 500 1.05rem var(--titres);
}

.pied__liens {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.pied__liens a {
  color: var(--encre);
  font-size: 0.92rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ------------------------------------------------------------ Page introuvable */

.erreur {
  max-width: var(--colonne);
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.erreur h1 {
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 18px 0 14px;
  max-width: 16em;
}

.erreur > p {
  font-size: 1.1rem;
  margin-bottom: 34px;
}

/* Quatre portes plutôt qu'un bouton unique : celui qui se perd ne cherchait
   pas forcément la page d'accueil. */
.erreur__portes {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.erreur__porte {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: var(--encre);
  background: var(--ticket);
  border: 1.5px solid rgba(46, 36, 26, 0.2);
  border-radius: 10px;
  padding: 16px 18px;
  min-height: 44px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.erreur__porte:hover {
  border-color: var(--brique);
  transform: translateX(3px);
}

.erreur__porte strong {
  font-family: var(--titres);
  font-size: 1.06rem;
}

.erreur__porte span {
  font-size: 0.92rem;
  color: rgba(46, 36, 26, 0.75);
}

@media (min-width: 720px) {
  .erreur__portes {
    grid-template-columns: 1fr 1fr;
  }

  /* La première porte tient sur toute la largeur : c'est la sortie principale. */
  .erreur__porte:first-child {
    grid-column: 1 / -1;
  }
}

/* ------------------------------------------------------------ Trouver son établissement */

.entete__nav--simple {
  display: flex;
  gap: 20px;
}

.chercher {
  max-width: 620px;
  margin: 0 auto;
  padding: 56px 20px 70px;
}

.chercher h1 {
  font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.chercher__lede {
  font-size: 1.08rem;
  margin-bottom: 30px;
}

.chercher__form {
  position: relative;
}

.chercher__champ {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.chercher__champ input {
  display: block;
  width: 100%;
  margin-top: 6px;
  font: 400 1.15rem var(--texte);
  color: var(--encre);
  background: var(--ticket);
  border: 2px solid rgba(46, 36, 26, 0.25);
  border-radius: 12px;
  padding: 15px 16px;
  min-height: 56px;
}

.chercher__champ input:focus {
  outline: none;
  border-color: var(--tomette);
}

/* Les propositions se posent sous le champ, comme un tiroir de fiches. */
.chercher__suggestions {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 20;
  margin-top: -6px;
  background: var(--ticket);
  border: 1.5px solid rgba(46, 36, 26, 0.25);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 12px 18px 40px -14px rgba(46, 36, 26, 0.4);
}

.chercher__suggestions[hidden] {
  display: none;
}

.chercher__suggestions li {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 12px 16px;
  min-height: 52px;
  cursor: pointer;
  border-bottom: 1px solid rgba(46, 36, 26, 0.12);
}

.chercher__suggestions li:last-child {
  border-bottom: none;
}

.chercher__suggestions li.est-actif,
.chercher__suggestions li:hover {
  background: var(--sable);
}

.chercher__suggestions strong {
  font-family: var(--titres);
  font-size: 1.02rem;
}

.chercher__suggestions span {
  font-size: 0.86rem;
  color: rgba(46, 36, 26, 0.7);
}

.chercher__form .bouton {
  width: 100%;
  margin-top: 16px;
}

.chercher__statut {
  margin-top: 12px;
  font-weight: 600;
  color: var(--brique);
  min-height: 1.4em;
}

.chercher__liste {
  margin-top: 30px;
  display: grid;
  gap: 10px;
}

.chercher__compte {
  font-weight: 600;
  margin-bottom: 4px;
}

.chercher__aide {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 2px dotted rgba(46, 36, 26, 0.25);
  color: rgba(46, 36, 26, 0.75);
}

/* ------------------------------------------------------------ Contact direct */

.contact__tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  font: 700 clamp(1.3rem, 1rem + 1.4vw, 1.7rem) var(--titres);
  color: var(--papier);
  text-decoration: none;
  min-height: 48px;
}

.contact__tel svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--tomette);
}

.contact__tel-note {
  display: block;
  font: 400 0.86rem var(--texte);
  color: rgba(245, 240, 230, 0.65);
  margin: -18px 0 26px;
}

.addition__note {
  font-size: 0.88rem;
  color: rgba(46, 36, 26, 0.7);
  margin-top: -18px;
}

@media (min-width: 880px) {
  .addition__note {
    margin-left: 26%;
  }
}

/* ------------------------------------------------------------ Les portes

   Une porte est nommée par la personne qui la pousse, pas par ce qu'elle fait.
   « Mon compte » et « Trouver un établissement » posaient exactement la même
   question, le nom d'un établissement, et rien ne disait laquelle était la
   sienne. */

.porte {
  margin: 22px 0;
  padding: 22px 20px;
  border: 1.5px solid rgba(46, 36, 26, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
}

/* Le gérant est celui qui vient le plus souvent : sa porte est la grande. */
.porte--principale {
  border-color: var(--tomette, #b4593a);
  border-width: 2px;
  background: #fff;
  box-shadow: 8px 12px 30px -18px rgba(46, 36, 26, 0.45);
}

.porte__qui {
  font-family: var(--titres, Georgia, serif);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
}

.porte__quoi {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(46, 36, 26, 0.72);
  margin-bottom: 16px;
}

.porte__note {
  margin-top: 14px;
  font-size: 0.86rem;
  color: rgba(46, 36, 26, 0.7);
}

.porte .bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

/* La console est à moi : elle se trouve quand on la cherche, sans occuper la
   place d'une porte que personne d'autre ne pousserait. */
.chercher__console {
  margin-top: 34px;
  text-align: center;
  font-size: 0.8rem;
}

.chercher__console a {
  color: rgba(46, 36, 26, 0.5);
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 36, 26, 0.22);
  padding-bottom: 2px;
}

.chercher__console a:hover {
  color: var(--encre, #2e241a);
}

/* Liste des établissements proposés sur la page de connexion. Le gérant
   reconnaît sa maison à son adresse web : la ville n'est pas conservée, mais
   personne ne confond son propre sous-domaine. */
.chercher__champ--suggest {
  position: relative;
}

.chercher__champ--suggest > label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.chercher__suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  margin-top: 4px;
  list-style: none;
  padding: 0;
  background: #fff;
  border: 1.5px solid rgba(46, 36, 26, 0.25);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 10px 16px 34px -16px rgba(46, 36, 26, 0.45);
}

.chercher__suggestions[hidden] {
  display: none;
}

.chercher__suggestions li {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 11px 14px;
  /* Une proposition se choisit au doigt : jamais moins de 48 px. */
  min-height: 50px;
  justify-content: center;
  cursor: pointer;
  border-bottom: 1px solid rgba(46, 36, 26, 0.1);
}

.chercher__suggestions li:last-child {
  border-bottom: none;
}

.chercher__suggestions li.est-actif,
.chercher__suggestions li:hover {
  background: var(--sable, #f3ede3);
}

.chercher__suggestions strong {
  font-family: var(--titres, Georgia, serif);
  font-size: 1rem;
  line-height: 1.25;
}

.chercher__suggestions span {
  font-size: 0.8rem;
  color: rgba(46, 36, 26, 0.6);
}

/* La preuve : le nom du camping est un lien, pas une affirmation. */
.reference__lien {
  color: inherit;
  text-decoration-color: rgba(46, 36, 26, 0.35);
  text-underline-offset: 4px;
}

.reference__lien:hover {
  text-decoration-color: currentColor;
}

.reference__carte .bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-right: 14px;
}

.reference__demo {
  font-size: 0.9rem;
  white-space: nowrap;
}

/* L'ancrage : le problème chiffré avant le prix. */
.addition__ancrage {
  max-width: 44ch;
  margin: 0 auto 26px;
  text-align: center;
  font-family: var(--titres, Georgia, serif);
  font-size: 1.18rem;
  line-height: 1.45;
}

/* ==========================================================================
   Pages légales
   ========================================================================== */

/* Une colonne de lecture, pas une page de vente. Ces pages avaient gardé les
   classes d'avant la refonte, qui n'existaient plus : elles répondaient 200
   en affichant un logo géant sur une page blanche. Les boutiques vérifient
   l'adresse de la politique de confidentialité, un dossier s'y refuse. */
.legal {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 20px 70px;
}

.legal h1 {
  font-family: var(--titres);
  font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.legal__lede {
  font-size: 1.08rem;
  color: color-mix(in srgb, var(--encre) 76%, transparent);
  margin: 0 0 34px;
}

.legal h2 {
  font-family: var(--titres);
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 36px 0 8px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--encre) 12%, transparent);
}

.legal h2:first-of-type { border-top: 0; padding-top: 0; }

.legal p,
.legal li {
  font-size: 1.02rem;
  line-height: 1.62;
  margin: 0 0 12px;
}

.legal ul {
  margin: 0 0 12px;
  padding-left: 1.15em;
  /* La feuille de base retire les puces partout : sur une page de texte, une
     liste sans marqueur ne se distingue plus de paragraphes indentés. */
  list-style: disc;
}

.legal li { margin-bottom: 6px; }

.legal a {
  color: var(--brique);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal__note {
  margin-top: 40px;
  padding: 16px 18px;
  border-left: 3px solid var(--olivier);
  background: color-mix(in srgb, var(--olivier) 7%, transparent);
  border-radius: 0 8px 8px 0;
  font-size: 0.97rem;
}
