/* Le Fauteuil vert : barbier (fictif), quartier Graslin, Nantes. Le carrelage blanc du salon, le cuir vert
   bouteille des fauteuils, le laiton des pieds et des miroirs, et le rouge des chiffres de l'afficheur au-dessus
   du comptoir. Bodoni Moda pour l'enseigne et les titres, comme les lettres dorées d'une vitrine ; Libre
   Franklin pour le texte et le tableau des tarifs. Le moment fort : la file en direct, « nous servons le
   numéro », et le numéro qu'on prend depuis chez soi. */

@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin-opsz-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("/fonts/libre-franklin-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --carreau: #f2f4f1;
  --carreau-2: #e5ebe7;
  --papier: #fbfcfa;
  --ligne: #d0d9d3;
  --encre: #131b18;
  --gris: #4b5852;
  --cuir: #17402f;
  --cuir-2: #0f2e22;
  --cuir-3: #215640;
  --sur-cuir: #eef3ef;
  --sur-cuir-2: #bcd0c5;
  --laiton: #c9a14f;
  --laiton-texte: #75550f;
  --led: #ff3d2e;
  --ecran: #0b0d0c;
  --ok: #1e7044;
  --ok-texte: #165a35;
  --alerte: #b3352a;
  --ph-fond: #d9e0db;
  --ombre: 0 28px 54px -36px rgba(10, 30, 22, 0.55);

  --kit-bg: var(--carreau);
  --kit-surface: var(--papier);
  --kit-fg: var(--encre);
  --kit-line: var(--ligne);
  --kit-accent: var(--cuir);
  --muted: var(--gris);
  --kit-radius: 8px;
  --champ-rayon: 4px;
  --pastille-rayon: 4px;
  --pastille-choisie: var(--cuir);
  --pastille-choisie-texte: var(--sur-cuir);
  --erreur: var(--alerte);

  --titre: "Bodoni Moda", "Didot", Georgia, serif;
  --texte: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gouttiere: clamp(16px, 4vw, 44px);
}
:root[data-theme="dark"] {
  --carreau: #0c1210;
  --carreau-2: #111a17;
  --papier: #131d19;
  --ligne: #253630;
  --encre: #e3ebe6;
  --gris: #9dafa6;
  --cuir: #1a4535;
  --cuir-2: #10291f;
  --cuir-3: #235a45;
  --laiton: #dcb96c;
  --laiton-texte: #dcb96c;
  --ok: #6fcf97;
  --ok-texte: #82dba8;
  --alerte: #f28d82;
  --ph-fond: #18241f;
  --ombre: 0 28px 60px -30px rgba(0, 0, 0, 0.85);
  --pastille-choisie: #cfe3d7;
  --pastille-choisie-texte: #10291f;
  --erreur-sombre: var(--alerte);
}

/* ---------- Base ---------- */
html {
  font-family: var(--texte);
  font-size: 16.5px;
  line-height: 1.6;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--titre);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  line-height: 1.04;
}
h1 {
  font-size: clamp(2.6rem, 1.8rem + 3.4vw, 4.6rem);
}
h2 {
  font-size: clamp(2rem, 1.5rem + 1.9vw, 3.1rem);
}
h3 {
  font-size: 1.45rem;
  line-height: 1.15;
}
[tabindex="-1"]:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--cuir-3);
  outline-offset: 3px;
}
:root[data-theme="dark"] :focus-visible {
  outline-color: var(--laiton);
}
.conteneur {
  width: min(1240px, 100% - 2 * var(--gouttiere));
  margin-inline: auto;
}
.lien {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--cuir-3);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}
:root[data-theme="dark"] .lien {
  color: var(--laiton);
}
.lien:hover {
  text-decoration-thickness: 2px;
}
.aide {
  color: var(--gris);
  font-size: 0.9rem;
}
.section__tete {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 56px;
  align-items: end;
  margin-bottom: clamp(26px, 4vw, 44px);
}
.section__tete p {
  color: var(--gris);
  max-width: 50ch;
}
@media (max-width: 820px) {
  .section__tete {
    grid-template-columns: 1fr;
  }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}
.btn--plein {
  background: var(--cuir);
  color: var(--sur-cuir);
}
.btn--plein:hover {
  background: var(--cuir-3);
}
.btn--ligne {
  border-color: color-mix(in srgb, var(--encre) 38%, transparent);
  color: var(--encre);
  background: transparent;
}
.btn--ligne:hover {
  border-color: var(--encre);
}
.btn--laiton {
  background: var(--laiton);
  color: #1d1505;
}
.btn--laiton:hover {
  background: #d9b465;
}
.btn--vitre {
  border-color: color-mix(in srgb, var(--sur-cuir) 45%, transparent);
  color: var(--sur-cuir);
  background: transparent;
}
.btn--vitre:hover {
  border-color: var(--sur-cuir);
}
.btn--large {
  min-height: 54px;
  padding: 0 28px;
  font-size: 1rem;
}
.btn--bloc {
  width: 100%;
}
.btn--petit {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.88rem;
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn.is-attente {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn.is-attente::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--sur-cuir);
  border-right-color: transparent;
  animation: tourne 0.8s linear infinite;
}
@keyframes tourne {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- En-tête ---------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--carreau) 90%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.entete.is-compact {
  border-bottom-color: var(--ligne);
}
.entete__in {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 74px;
  transition: min-height 0.3s var(--kit-ease);
}
.entete.is-compact .entete__in {
  min-height: 62px;
}
.marque {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--encre);
}
.marque__signe {
  width: 40px;
  height: 40px;
  flex: none;
}
.marque__rond {
  fill: var(--cuir);
}
.marque__lame {
  fill: var(--laiton);
}
.marque__manche {
  stroke: var(--sur-cuir);
  stroke-width: 3;
  stroke-linecap: round;
}
.marque__nom {
  display: grid;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1;
}
.marque__nom small {
  font-family: var(--texte);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gris);
  margin-top: 4px;
}
.nav {
  margin-left: auto;
}
.nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: block;
  padding: 8px 11px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.nav a:hover {
  background: color-mix(in srgb, var(--encre) 7%, transparent);
}
.nav a[aria-current="page"] {
  background: color-mix(in srgb, var(--cuir) 14%, transparent);
}
.entete__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.entete__cta {
  min-height: 42px;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 1px solid var(--ligne);
  background: var(--papier);
  color: var(--encre);
  cursor: pointer;
  place-items: center;
  align-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--kit-ease);
}
.menu-ouvert .burger span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.menu-ouvert .burger span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}
.menu-mobile {
  border-top: 1px solid var(--ligne);
  padding: 8px var(--gouttiere) 24px;
}
.menu-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.menu-mobile a {
  display: block;
  padding: 11px 0;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.55rem;
  text-decoration: none;
  border-bottom: 1px solid var(--ligne);
}
@media (max-width: 1140px) {
  .nav {
    display: none;
  }
  .burger {
    display: grid;
  }
  .entete__actions {
    margin-left: auto;
  }
}
@media (max-width: 560px) {
  .entete__cta {
    display: none;
  }
}

/* ---------- La vitrine ---------- */
.vitrine {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  min-height: min(860px, calc(100vh - 106px));
}
.vitrine__photo .ph {
  height: 100%;
  min-height: 380px;
}
.vitrine__vitre {
  position: relative;
  display: grid;
  align-items: center;
  padding: clamp(36px, 5vw, 72px) clamp(22px, 4.5vw, 72px);
  background: var(--cuir);
  color: var(--sur-cuir);
  isolation: isolate;
  overflow: hidden;
}
.vitrine__vitre::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0 18%, transparent 18% 22%, rgba(255, 255, 255, 0.04) 22% 30%, transparent 30%),
    url("/img/grain.webp") center / 260px;
  mix-blend-mode: soft-light;
  opacity: 0.35;
}
.vitrine__texte {
  display: grid;
  gap: 18px;
  justify-items: start;
  max-width: 620px;
}
.vitrine__lieu {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--laiton);
  letter-spacing: 0.02em;
}
.enseigne {
  font-size: clamp(3.2rem, 2.1rem + 4.6vw, 6.2rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--laiton);
  text-shadow:
    0 1px 0 #6d5014,
    0 2px 0 #4c370b,
    0 10px 30px rgba(0, 0, 0, 0.35);
}
.vitrine__chapo {
  max-width: 46ch;
  font-size: 1.08rem;
  color: var(--sur-cuir-2);
}
.vitrine__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.vitrine__note {
  font-size: 0.95rem;
  color: var(--sur-cuir);
}
.vitrine__note:empty {
  display: none;
}
.vitrine__note a {
  color: var(--laiton);
  font-weight: 600;
}
.motion .vitrine__texte > * {
  animation: kit-rise 0.9s var(--kit-ease) backwards;
}
.motion .vitrine__texte > :nth-child(2) {
  animation-delay: 0.08s;
}
.motion .vitrine__texte > :nth-child(3) {
  animation-delay: 0.16s;
}
.motion .vitrine__texte > :nth-child(4) {
  animation-delay: 0.26s;
}
.motion .vitrine__texte > :nth-child(5) {
  animation-delay: 0.34s;
}
@media (max-width: 900px) {
  .vitrine {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .vitrine__photo .ph {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}

/* ---------- L'afficheur ---------- */
.afficheur {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px 22px;
  align-items: center;
  width: 100%;
  padding: 16px 22px 18px 18px;
  border-radius: 10px;
  background: var(--ecran);
  border: 1px solid #000;
  box-shadow:
    inset 0 2px 10px rgba(0, 0, 0, 0.8),
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 40px -30px rgba(0, 0, 0, 0.7);
  color: #e9ece9;
}
.afficheur__ecran {
  display: grid;
  gap: 6px;
}
.afficheur__legende {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ff8e84;
}
.afficheur__chiffres {
  width: 150px;
  height: 75px;
}
.segments {
  display: block;
  width: 100%;
  height: 100%;
}
.seg {
  fill: rgba(255, 61, 46, 0.08);
  transition:
    fill 0.35s ease,
    filter 0.35s ease;
}
.seg.is-allume {
  fill: var(--led);
  filter: drop-shadow(0 0 5px rgba(255, 61, 46, 0.6));
}
.afficheur.is-ferme .seg.is-allume {
  fill: #8a2b24;
  filter: none;
}
.afficheur__infos {
  display: grid;
  gap: 4px;
}
.afficheur__attente {
  font-weight: 600;
  font-size: 1.02rem;
}
.afficheur__estimation {
  font-size: 0.92rem;
  color: #b8c2bd;
}
.afficheur > * {
  transition: opacity 0.6s ease;
}
.motion .afficheur:not(.is-pret) > * {
  opacity: 0;
}
@media (max-width: 520px) {
  .afficheur {
    grid-template-columns: 1fr;
  }
}

/* ---------- Les fauteuils ---------- */
.fauteuils {
  padding: clamp(60px, 8vw, 110px) 0;
  scroll-margin-top: 60px;
}
.fauteuils__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--cuir);
}
.fauteuil {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 26px 6px 0;
}
.fauteuil + .fauteuil {
  padding-left: 26px;
  border-left: 1px solid var(--ligne);
}
.monogramme {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--cuir);
  color: var(--laiton);
  font-family: var(--titre);
  font-style: italic;
  font-weight: 600;
  font-size: 2.1rem;
  line-height: 1;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--laiton) 45%, transparent);
}
.monogramme--petit {
  width: 26px;
  height: 26px;
  font-size: 0.95rem;
  box-shadow: none;
}
.monogramme--tous {
  font-style: normal;
  font-family: var(--texte);
  font-size: 1.3rem;
}
.fauteuil__texte {
  display: grid;
  gap: 8px;
  align-content: start;
}
.fauteuil__specialite {
  color: var(--gris);
}
.fauteuil__etat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}
.point {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gris);
  transform: translateY(-1px);
}
.fauteuil__etat--libre .point {
  background: var(--ok);
}
.fauteuil__etat--occupe .point {
  background: var(--laiton);
}
.fauteuil__etat--rdv .point {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--gris);
}
.fauteuil__libre {
  font-size: 0.9rem;
  color: var(--gris);
  padding-top: 10px;
  border-top: 1px dashed var(--ligne);
}
@media (max-width: 900px) {
  .fauteuils__liste {
    grid-template-columns: 1fr;
  }
  .fauteuil,
  .fauteuil + .fauteuil {
    padding: 22px 0;
    border-left: 0;
    border-bottom: 1px solid var(--ligne);
  }
}

/* ---------- Prestations : le tableau à lettres ---------- */
.prestations {
  padding: clamp(60px, 8vw, 110px) 0;
  background: var(--papier);
  border-top: 1px solid var(--ligne);
  scroll-margin-top: 60px;
}
.prestations__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.prestations__texte {
  display: grid;
  gap: 16px;
}
@media (min-width: 861px) {
  .prestations__texte {
    position: sticky;
    top: 100px;
  }
}
.prestations__texte > p {
  color: var(--gris);
  max-width: 46ch;
}
.tableau {
  margin-top: 10px;
  padding: 22px clamp(16px, 3vw, 30px) 24px;
  border: 12px solid #6a4826;
  border-radius: 6px;
  background: repeating-linear-gradient(to bottom, #1c201e 0 6px, #131615 6px 7px);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.6),
    inset 0 8px 18px rgba(0, 0, 0, 0.5),
    0 26px 40px -30px rgba(0, 0, 0, 0.6);
  color: #f1f0ea;
}
.tableau__titre {
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 10px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
.tableau__lignes {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tableau__ligne {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px 18px;
  align-items: baseline;
  padding: 6px 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  transition: color 0.2s ease;
}
.tableau__ligne:hover {
  color: #e4c27c;
}
.tableau__duree {
  font-size: 0.78rem;
  color: #b9bdb8;
}
.tableau__prix {
  min-width: 4.5ch;
  text-align: right;
}
.prestations__photos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
}
.prestation .ph {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  margin-bottom: 10px;
}
.prestation__nom {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.15;
}
.prestation__detail {
  font-size: 0.9rem;
  color: var(--gris);
}
@media (max-width: 860px) {
  .prestations__in {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  .tableau__ligne {
    grid-template-columns: minmax(0, 1fr) auto;
    letter-spacing: 0.08em;
  }
  .tableau__duree {
    grid-column: 1;
    grid-row: 2;
  }
  .tableau__prix {
    grid-row: 1 / span 2;
  }
}

/* ---------- Avec ou sans rendez-vous ---------- */
.facons {
  padding: clamp(60px, 8vw, 110px) 0;
}
.facons__in {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.facon {
  display: grid;
  gap: 18px;
  align-content: start;
  justify-items: start;
  padding-top: 22px;
  border-top: 2px solid var(--cuir);
}
.facon__etapes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: etape;
}
.facon__etapes li {
  position: relative;
  padding-left: 46px;
  counter-increment: etape;
  color: var(--gris);
}
.facon__etapes li strong {
  color: var(--encre);
}
.facon__etapes li::before {
  content: counter(etape);
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cuir);
  color: var(--laiton);
  font-family: var(--titre);
  font-weight: 600;
  font-style: italic;
}
@media (max-width: 760px) {
  .facons__in {
    grid-template-columns: 1fr;
  }
}

/* ---------- La fidélité ---------- */
.fidelite {
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--cuir);
  color: var(--sur-cuir);
}
.fidelite__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.fidelite__in > div:first-child {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.fidelite__in p {
  color: var(--sur-cuir-2);
  max-width: 46ch;
}
.fidelite .lien {
  color: var(--laiton);
}
.carte-tampons {
  padding: 22px;
  border-radius: 10px;
  background: #f7f6f0;
  box-shadow: 0 30px 50px -34px rgba(0, 0, 0, 0.7);
  transform: rotate(-2deg);
  --cuir: #17402f;
  --ligne: #cfd7d1;
  --laiton-texte: #75550f;
}
@media (max-width: 760px) {
  .fidelite__in {
    grid-template-columns: 1fr;
  }
}
.tampons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.tampon {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px dashed var(--ligne);
}
.tampon.is-plein {
  border: 1.5px solid color-mix(in srgb, var(--cuir) 40%, transparent);
}
.tampon svg {
  width: 78%;
  height: 78%;
}
.tampon:nth-child(3n + 1) svg {
  transform: rotate(-14deg);
}
.tampon:nth-child(3n + 2) svg {
  transform: rotate(9deg);
}
.tampon__rond {
  fill: color-mix(in srgb, var(--cuir) 8%, transparent);
  stroke: var(--cuir);
  stroke-width: 2;
  opacity: 0.85;
}
.tampon__lame {
  fill: var(--cuir);
}
.tampon__manche {
  stroke: var(--laiton-texte);
  stroke-width: 3;
  stroke-linecap: round;
}
.tampon.is-offert {
  border-color: var(--laiton-texte);
}
.tampon small {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--laiton-texte);
}
.motion .tampon.is-nouveau svg {
  animation: tamponne 0.6s var(--kit-ease) 0.4s backwards;
}
@keyframes tamponne {
  from {
    opacity: 0;
    transform: scale(1.5) rotate(-20deg);
  }
}

/* ---------- Le salon ---------- */
.salon {
  padding: clamp(60px, 8vw, 110px) 0;
  scroll-margin-top: 60px;
}
.salon__in {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.salon__photo .ph {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
}
.salon__texte {
  display: grid;
  gap: 18px;
}
.salon__texte > p {
  color: var(--gris);
  max-width: 52ch;
}
.salon__infos {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}
.salon__infos dt {
  font-weight: 600;
}
.salon__infos dd {
  margin: 2px 0 0;
  color: var(--gris);
}
.horaires {
  width: 100%;
  max-width: 520px;
  border-collapse: collapse;
}
.horaires th,
.horaires td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--ligne);
  font-weight: 500;
}
.horaires td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.horaires tr.is-aujourdhui {
  background: color-mix(in srgb, var(--cuir) 10%, transparent);
}
.horaires tr.is-aujourdhui th,
.horaires tr.is-aujourdhui td {
  font-weight: 700;
}
@media (max-width: 860px) {
  .salon__in {
    grid-template-columns: 1fr;
  }
  .salon__photo .ph {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- En-tête des pages ---------- */
.page-tete {
  padding: clamp(32px, 5vw, 64px) 0 clamp(20px, 3vw, 36px);
}
.page-tete__in {
  display: grid;
  gap: 24px 56px;
}
.page-tete h1 {
  font-size: clamp(2.5rem, 1.8rem + 3vw, 4.2rem);
}
.page-tete p {
  max-width: 60ch;
  margin-top: 14px;
  color: var(--gris);
  font-size: 1.04rem;
}
.page-tete--afficheur .page-tete__in {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
}
.page-tete .afficheur p {
  margin: 0;
  max-width: none;
}
.page-tete .afficheur .afficheur__legende {
  font-size: 0.74rem;
  color: #ff8e84;
}
.page-tete .afficheur .afficheur__attente {
  font-size: 1.02rem;
  color: #e9ece9;
}
.page-tete .afficheur .afficheur__estimation {
  font-size: 0.92rem;
  color: #b8c2bd;
}
@media (max-width: 900px) {
  .page-tete--afficheur .page-tete__in {
    grid-template-columns: 1fr;
  }
}
.page-tete--photo {
  padding-top: 0;
}
.page-tete__photo .ph {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 340px;
  margin-bottom: clamp(24px, 4vw, 44px);
}

/* ---------- Formulaires ---------- */
.numero,
.reserver {
  padding-bottom: clamp(60px, 8vw, 110px);
}
.reserver__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.bloc {
  border: 0;
  margin: 0;
  padding: 26px 0 30px;
  border-top: 1px solid var(--ligne);
  min-width: 0;
}
.bloc__titre {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 16px;
  font-family: var(--titre);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
}
.bloc__titre + * {
  clear: both;
}
.champs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.champs .champ {
  align-content: start;
}
.champ--large {
  grid-column: 1 / -1;
}
@media (max-width: 560px) {
  .champs {
    grid-template-columns: 1fr;
  }
}
.erreur-bloc {
  color: var(--alerte);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 10px;
}
.liste-prestations {
  display: grid;
  border-top: 1px solid var(--ligne);
}
.ligne-choix {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto 70px;
  gap: 4px 14px;
  align-items: center;
  padding: 13px 12px;
  border-bottom: 1px solid var(--ligne);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.ligne-choix:hover {
  background: color-mix(in srgb, var(--cuir) 5%, transparent);
}
.ligne-choix:has(input:checked) {
  background: color-mix(in srgb, var(--cuir) 10%, transparent);
}
.ligne-choix input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--cuir);
  cursor: pointer;
}
.ligne-choix__texte {
  display: grid;
}
.ligne-choix__texte strong {
  font-weight: 600;
}
.ligne-choix__texte small {
  color: var(--gris);
  font-size: 0.85rem;
}
.ligne-choix__duree {
  font-size: 0.85rem;
  color: var(--gris);
  white-space: nowrap;
}
.ligne-choix__prix {
  text-align: right;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.2rem;
}
@media (max-width: 480px) {
  .ligne-choix {
    grid-template-columns: 22px minmax(0, 1fr) auto;
  }
  .ligne-choix__duree {
    grid-column: 2;
    grid-row: 2;
  }
  .ligne-choix__prix {
    grid-row: 1 / span 2;
    grid-column: 3;
  }
}
.choix-barbiers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}
.choix-barbier {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--ligne);
  border-radius: 6px;
  background: var(--papier);
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.choix-barbier input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.choix-barbier .monogramme {
  width: 44px;
  height: 44px;
  font-size: 1.45rem;
}
.choix-barbier__texte {
  display: grid;
  line-height: 1.3;
}
.choix-barbier__texte small {
  color: var(--gris);
  font-size: 0.85rem;
}
.choix-barbier:has(input:checked) {
  border-color: var(--cuir);
  box-shadow: 0 0 0 1.5px var(--cuir);
}
:root[data-theme="dark"] .choix-barbier:has(input:checked) {
  border-color: var(--laiton);
  box-shadow: 0 0 0 1.5px var(--laiton);
}
.choix-barbier:has(input:focus-visible) {
  outline: 2px solid var(--cuir-3);
  outline-offset: 3px;
}
.choix-barbier.is-complet {
  opacity: 0.5;
  cursor: not-allowed;
}
.pastille--barbier span {
  gap: 8px;
}
.jours-pastilles .pastille span {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1.25;
  padding: 8px 14px;
}
.pastille__nb {
  font-size: 0.76rem;
  color: var(--gris);
  font-weight: 500;
}
.pastille input:checked + span .pastille__nb {
  color: inherit;
  opacity: 0.85;
}
.creneaux {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.creneau {
  position: relative;
}
.creneau input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.creneau > span {
  display: grid;
  gap: 1px;
  padding: 9px 12px 10px;
  border: 1px solid var(--ligne);
  border-radius: 4px;
  background: var(--papier);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.creneau strong {
  font-family: var(--titre);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.15;
}
.creneau small {
  font-size: 0.78rem;
  color: var(--gris);
}
.creneau:hover input:not(:disabled) + span {
  border-color: var(--cuir-3);
}
.creneau input:checked + span {
  background: var(--cuir);
  border-color: var(--cuir);
  color: var(--sur-cuir);
}
.creneau input:checked + span small {
  color: inherit;
}
.creneau input:focus-visible + span {
  outline: 2px solid var(--cuir-3);
  outline-offset: 3px;
}
.creneau input:disabled {
  cursor: not-allowed;
}
.creneau input:disabled + span {
  background: var(--carreau-2);
  border-style: dashed;
  color: var(--gris);
  cursor: not-allowed;
}
.creneaux__vide {
  grid-column: 1 / -1;
  padding: 16px;
  border-radius: 6px;
  background: var(--carreau-2);
  color: var(--gris);
}
.avis {
  margin-bottom: 22px;
  padding: 12px 16px;
  border-left: 3px solid var(--laiton);
  background: var(--papier);
  border-radius: 0 6px 6px 0;
}
.avis--merci {
  border-left-color: var(--ok);
}
.avis--petit {
  margin: 0;
  font-size: 0.9rem;
}

/* ---------- Récapitulatif ---------- */
.recap {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--papier);
  border: 1px solid var(--ligne);
  border-radius: 8px;
  box-shadow: var(--ombre);
}
.recap h2 {
  font-size: 1.8rem;
}
.recap dl {
  margin: 0;
}
.recap__ligne {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--ligne);
}
.recap__ligne dt {
  color: var(--gris);
}
.recap__ligne dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.recap__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.recap__total strong {
  font-family: var(--titre);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
}
.apercu__numero {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 5rem;
  line-height: 0.9;
  color: var(--cuir);
  font-variant-numeric: lining-nums;
}
:root[data-theme="dark"] .apercu__numero {
  color: var(--laiton);
}
@media (max-width: 960px) {
  .reserver__in {
    grid-template-columns: 1fr;
  }
  .recap {
    position: static;
  }
}

/* ---------- Suivre son numéro ---------- */
.suivi {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-top: 10px;
}
.ticket {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 34px 26px 32px;
  background: #fbfaf5;
  color: #1a1a17;
  text-align: center;
  box-shadow: 0 30px 50px -32px rgba(0, 0, 0, 0.55);
  transform: rotate(-1.5deg);
  transition: box-shadow 0.5s ease;
}
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background: radial-gradient(circle at 8px 0, var(--carreau) 5.5px, transparent 6px) 0 0 / 16px 10px repeat-x;
}
.ticket::before {
  top: 0;
}
.ticket::after {
  bottom: 0;
  transform: rotate(180deg);
}
.ticket__maison {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.05rem;
  color: #17402f;
}
.ticket__titre {
  font-family: var(--texte);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #545a55;
  margin-top: 10px;
}
.ticket__numero {
  font-family: var(--titre);
  font-weight: 800;
  font-size: 7.2rem;
  line-height: 0.95;
  color: #17402f;
  font-variant-numeric: lining-nums;
}
.ticket__quoi {
  font-weight: 600;
}
.ticket__pris {
  font-size: 0.82rem;
  color: #545a55;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px dashed #c9ccc6;
}
.ticket.is-appel {
  box-shadow:
    0 0 0 3px #1e7044,
    0 30px 50px -32px rgba(0, 0, 0, 0.55);
}
.suivi__etat {
  display: grid;
  gap: 16px;
}
.suivi__titre {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.progression {
  height: 8px;
  border-radius: 4px;
  background: var(--carreau-2);
  overflow: hidden;
  margin-top: 14px;
}
.progression span {
  display: block;
  height: 100%;
  background: var(--cuir);
  transform-origin: left;
  transform: scaleX(0.04);
  transition: transform 1s var(--kit-ease);
}
:root[data-theme="dark"] .progression span {
  background: var(--laiton);
}
.suivi__passage {
  color: var(--gris);
  margin-top: 12px;
  font-size: 1.05rem;
}
.distance {
  border: 0;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--ligne);
}
.distance legend {
  float: left;
  width: 100%;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0;
}
.distance .pastilles {
  clear: both;
}
.suivi__depart {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.2;
}
.suivi__depart:empty {
  display: none;
}
.suivi__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding-top: 12px;
  border-top: 1px solid var(--ligne);
}
@media (max-width: 860px) {
  .suivi {
    grid-template-columns: 1fr;
  }
  .ticket {
    max-width: 340px;
    width: 100%;
    margin-inline: auto;
  }
}

/* ---------- Confirmation ---------- */
.confirmation {
  padding: 10px 0 clamp(60px, 8vw, 110px);
}
.confirmation__in {
  max-width: 760px;
}
.bon {
  border: 1px solid var(--ligne);
  border-radius: 8px;
  overflow: hidden;
  background: var(--papier);
  box-shadow: var(--ombre);
}
.bon__tete {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 26px;
  background: var(--cuir);
  color: var(--sur-cuir);
}
.bon__tete h2 {
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem);
  color: var(--laiton);
}
.bon__ref {
  font-weight: 600;
  letter-spacing: 0.08em;
}
.bon__corps {
  display: grid;
  gap: 16px;
  padding: 22px 26px 26px;
}
.bon__corps > p {
  color: var(--gris);
}
.bon__qui {
  display: flex;
  gap: 16px;
  align-items: center;
}
.bon__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

/* ---------- Mes passages ---------- */
.passages {
  padding: 8px 0 clamp(60px, 8vw, 110px);
}
.passages__grille {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.passages__colonne {
  display: grid;
  gap: 40px;
  align-content: start;
}
.espace__bloc {
  display: grid;
  gap: 14px;
}
.espace__bloc h2 {
  font-size: 2rem;
}
.espace__sous-titre {
  font-family: var(--texte);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gris);
  margin-top: 10px;
}
.numero-en-cours {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--ecran);
  color: #e9ece9;
  text-decoration: none;
}
.numero-en-cours__chiffre {
  font-family: var(--titre);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: var(--led);
  text-shadow: 0 0 10px rgba(255, 61, 46, 0.5);
  min-width: 2ch;
  text-align: center;
}
.numero-en-cours strong {
  color: #fff;
}
.fidelite-carte {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 8px;
  background: #f7f6f0;
  color: #1a1a17;
  box-shadow: var(--ombre);
  --cuir: #17402f;
  --ligne: #cfd7d1;
  --laiton-texte: #75550f;
}
.passage {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--ligne);
  border-radius: 8px;
  background: var(--papier);
}
.passage .monogramme {
  width: 52px;
  height: 52px;
  font-size: 1.6rem;
}
.passage.is-passe {
  background: transparent;
}
.passage.is-passe .monogramme {
  opacity: 0.6;
}
.passage__texte {
  display: grid;
  gap: 8px;
}
.passage__tete {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.passage__tete h3 {
  font-size: 1.3rem;
}
.passage__texte > p {
  color: var(--gris);
}
.passage__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.statut {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--carreau-2);
  white-space: nowrap;
}
.statut--ok {
  background: color-mix(in srgb, var(--ok) 16%, var(--papier));
  color: var(--ok-texte);
}
.vide {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 28px;
  border: 1.5px dashed var(--ligne);
  border-radius: 8px;
}
.vide h2 {
  font-size: 1.8rem;
}
.vide p {
  color: var(--gris);
  max-width: 52ch;
}
.vide__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 4px;
}
@media (max-width: 900px) {
  .passages__grille {
    grid-template-columns: 1fr;
  }
}

/* ---------- Fenêtres ---------- */
dialog.kit-dialog.fenetre {
  background: var(--papier);
  border-radius: 10px;
  max-width: min(520px, calc(100vw - 32px));
  overflow: auto;
}
.fenetre__tete {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 6px;
}
.fenetre__tete h2 {
  font-size: 1.7rem;
}
.fenetre__fermer {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--ligne);
  background: transparent;
  color: inherit;
  cursor: pointer;
  flex: none;
}
.fenetre__corps {
  padding: 12px 24px 24px;
  display: grid;
  gap: 18px;
}
.fenetre__corps > p {
  color: var(--gris);
}
.fenetre__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
@media (max-width: 480px) {
  .fenetre__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
}

/* ---------- Page introuvable ---------- */
.egare {
  padding: clamp(40px, 7vw, 100px) 0 clamp(70px, 9vw, 120px);
}
.egare__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.egare__texte {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.egare__texte p {
  color: var(--gris);
  max-width: 42ch;
}
.egare__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}
.egare__photo .ph {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  max-height: 620px;
}
@media (max-width: 860px) {
  .egare__in {
    grid-template-columns: 1fr;
  }
}

/* ---------- Pied ---------- */
.pied {
  padding: clamp(52px, 7vw, 84px) 0 26px;
  border-top: 1px solid var(--ligne);
}
.pied__in {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
}
.pied__marque {
  display: grid;
  gap: 14px;
  align-content: start;
}
.pied p {
  color: var(--gris);
  margin-bottom: 8px;
}
.pied__titre {
  font-family: var(--texte);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: 0;
}
.pied__liens {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.pied__liens a {
  color: var(--gris);
}
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--ligne);
  font-size: 0.9rem;
}
.pied__bas p {
  margin: 0;
}
.pied .signe-binuxlabs {
  opacity: 1;
  color: var(--gris);
}
@media (max-width: 900px) {
  .pied__in {
    grid-template-columns: 1fr 1fr;
  }
  .pied__marque {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .pied__in {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  .entete .marque__nom {
    font-size: 1.25rem;
    white-space: nowrap;
  }
}
.pastille span.monogramme {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cuir);
  color: var(--laiton);
  justify-content: center;
}
