/* ==========================================================================
   La Maison Siko — feuille de style
   Direction : arches de hammam, vert cèdre & laiton, typographie gravée.
   Mobile d'abord. Aucune dépendance.
   ========================================================================== */

:root {
  --cedar: #1F302D;      /* texte, fonds sombres */
  --tile: #2B4A44;       /* vert zellige */
  --mineral: #EEF0EB;    /* fond de page */
  --paper: #F7F8F4;      /* surfaces claires */
  --stone: #D9D6CC;      /* filets */
  --brass: #A57C45;      /* accent, boutons */
  --brass-ink: #7E5A28;  /* laiton lisible sur fond clair */
  --muted: #5B6864;
  --danger: #9B2C2C;
  --ok: #2F6F4F;

  --display: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.33rem;
  --step-2: 1.66rem;
  --step-3: clamp(1.9rem, 4.2vw, 2.6rem);
  --step-4: clamp(2.6rem, 7.5vw, 5.4rem);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1240px;
  --radius: 3px;
  --arch: 999px 999px var(--radius) var(--radius);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--mineral); color: var(--cedar);
  font: 400 var(--step-0)/1.6 var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: 72px; /* barre mobile */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, video, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .005em; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 8px; left: 8px; background: var(--paper); padding: .5rem 1rem; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.empty { color: var(--muted); padding: 1.5rem 0; }

/* --------------------------------------------------------------------------
   Boutons & liens
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem; border: 1px solid transparent; border-radius: var(--radius);
  font: 500 var(--step-0)/1.2 var(--text); text-decoration: none; letter-spacing: .01em;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--brass { background: var(--brass); color: var(--cedar); }
.btn--brass:hover { background: #B88E55; }
.btn--line { border-color: currentColor; background: transparent; }
.btn--line:hover { background: var(--cedar); color: var(--mineral); border-color: var(--cedar); }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: var(--step--1); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-quiet {
  background: none; border: 0; padding: 0; color: var(--brass-ink);
  text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
}
.link-quiet:hover { text-decoration-color: currentColor; }

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */
.masthead { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--mineral) 92%, transparent);
  backdrop-filter: blur(8px); transition: box-shadow .2s; }
.masthead.is-scrolled { box-shadow: 0 1px 0 var(--stone); }
.masthead__inner { max-width: var(--max); margin: auto; padding: .75rem var(--gutter); display: flex; align-items: center; gap: 1.5rem; }
.wordmark { display: inline-flex; flex-direction: column; line-height: .9; text-decoration: none; font-family: var(--display); margin: 0; }
.wordmark__small { font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; padding-left: .1em; }
.wordmark__big { font-size: 2rem; letter-spacing: .06em; }
.wordmark--light { color: var(--mineral); }
.masthead__actions { margin-left: auto; display: flex; align-items: center; gap: .75rem; }
.bag { position: relative; padding: .5rem; }
.bag__count { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--cedar);
  color: var(--mineral); font-size: 11px; line-height: 18px; text-align: center; padding: 0 4px; }
.masthead__book { display: none; }

.burger { width: 44px; height: 44px; background: none; border: 0; display: grid; place-content: center; gap: 6px; }
.burger span:not(.sr) { display: block; width: 22px; height: 1.5px; background: var(--cedar); transition: transform .25s var(--ease); }
.nav-open .burger span:nth-of-type(2) { transform: translateY(3.75px) rotate(45deg); }
.nav-open .burger span:nth-of-type(3) { transform: translateY(-3.75px) rotate(-45deg); }

.nav { position: fixed; inset: 64px 0 0; background: var(--mineral); padding: 1.5rem var(--gutter) 6rem; overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .25s var(--ease), visibility .2s; }
.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
.nav-open { overflow: hidden; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: .7rem 0; font-family: var(--display); font-size: var(--step-2); text-decoration: none; border-bottom: 1px solid var(--stone); }
.nav__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; }
.lang button { background: none; border: 1px solid var(--stone); border-radius: var(--radius); padding: .4rem .8rem; font-size: var(--step--1); }
.nav__account { font-size: var(--step--1); letter-spacing: .08em; text-decoration: none; font-weight: 600; }

@media (min-width: 1080px) {
  .burger { display: none; }
  .masthead__book { display: inline-flex; }
  .nav { position: static; inset: auto; padding: 0; background: none; opacity: 1; visibility: visible; transform: none;
    display: flex; align-items: center; gap: 1.75rem; overflow: visible; margin-left: 1rem; }
  .nav__list { display: flex; gap: 1.5rem; }
  .nav__list a { font-family: var(--text); font-size: .95rem; padding: .25rem 0; border: 0; }
  .nav__list a:hover { text-decoration: underline; }
  .nav__meta { margin: 0; gap: 1rem; }
}

/* --------------------------------------------------------------------------
   Messages
   -------------------------------------------------------------------------- */
.toasts { position: fixed; z-index: 60; top: 76px; left: 50%; transform: translateX(-50%); width: min(560px, calc(100% - 2rem)); display: grid; gap: .5rem; }
.toast { margin: 0; padding: .9rem 1.1rem; background: var(--cedar); color: var(--mineral); border-radius: var(--radius);
  border-left: 4px solid var(--brass); transition: opacity .4s, transform .4s; }
.toast--error { border-left-color: #E07A6E; }
.toast.is-gone { opacity: 0; transform: translateY(-8px); pointer-events: none; }

/* --------------------------------------------------------------------------
   Arches & médias
   -------------------------------------------------------------------------- */
.media { position: relative; overflow: hidden; background: var(--tile); aspect-ratio: 4 / 5; border-radius: var(--radius); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media__pattern, .hero__arch .media__pattern { position: absolute; inset: 0; background: var(--tile) url("../img/zellige.svg") center / 80px; }
.media--arch { border-radius: var(--arch); aspect-ratio: 3 / 4; }
.media--small { width: 96px; flex: none; }
.media--tall { aspect-ratio: 3 / 4.4; }
.media--product { aspect-ratio: 1; background: var(--paper); }
.media--product .media__pattern { opacity: .9; }
.media--thumb { width: 72px; aspect-ratio: 1; flex: none; }

/* --------------------------------------------------------------------------
   Accueil
   -------------------------------------------------------------------------- */
.hero { max-width: var(--max); margin: auto; padding: 1.5rem var(--gutter) 3rem; display: grid; gap: 2rem; }
.hero__title { font-size: var(--step-4); line-height: 1.02; margin-bottom: .35em; max-width: 11ch; }
.hero__lede { font-size: var(--step-1); line-height: 1.5; max-width: 34ch; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__arch { position: relative; border-radius: var(--arch); overflow: hidden; background: var(--tile);
  aspect-ratio: 3 / 3.6; width: min(100%, 480px); justify-self: center;
  animation: rise 1.1s var(--ease) both; }
.hero__arch img, .hero__arch video { width: 100%; height: 100%; object-fit: cover; }
@keyframes rise { from { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); } to { clip-path: inset(0 0 0 0 round 999px 999px 0 0); } }
@media (prefers-reduced-motion: reduce) { .hero__arch { animation: none; } html { scroll-behavior: auto; } }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr .95fr; align-items: end; padding-top: 3rem; padding-bottom: 5rem; min-height: calc(100svh - 72px); }
  .hero__text { padding-bottom: 3rem; }
  .hero__arch { width: 100%; max-width: none; aspect-ratio: auto; height: min(78svh, 760px); }
}

.section-title { font-size: var(--step-3); }
.sub-title { font-family: var(--display); font-size: var(--step-1); margin: 2rem 0 .75rem; }

.universes { padding-block: 3rem 4rem; }
.universes .section-title { max-width: 18ch; margin-bottom: 2rem; }
.universes__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
.universe a { text-decoration: none; display: block; }
.universe__name { font-size: var(--step-1); margin: 1rem 0 .35rem; }
.universe p { font-size: var(--step--1); color: var(--muted); margin: 0; }
.universe a:hover .universe__name { text-decoration: underline; text-decoration-thickness: 1px; }
@media (min-width: 900px) { .universes__list { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } }

.band { padding-block: clamp(3rem, 8vw, 6rem); }
.band--ink { background: var(--cedar); color: var(--mineral); }
.band--ink .link-quiet { color: #D2B07C; }
.band--mineral { background: var(--paper); }
.split { display: grid; gap: 2rem; }
.split__head p { color: color-mix(in srgb, currentColor 75%, transparent); max-width: 36ch; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }

/* Carte des prestations : présentation "menu" avec points de conduite */
.menu { list-style: none; margin: 0; padding: 0; }
.menu__item { padding: 1.1rem 0; border-bottom: 1px solid var(--stone); }
.menu--light .menu__item { border-color: color-mix(in srgb, var(--mineral) 18%, transparent); }
.menu__line { display: flex; align-items: baseline; gap: .6rem; }
.menu__name { font-family: var(--display); font-size: var(--step-1); margin: 0; }
.menu__leader { flex: 1; border-bottom: 1px dotted currentColor; opacity: .45; transform: translateY(-.3em); min-width: 1.5rem; }
.menu__price { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 500; }
.menu__from { font-weight: 400; font-size: var(--step--1); opacity: .8; }
.menu__sub { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-top: .3rem; }
.menu__desc { margin: 0; font-size: var(--step--1); color: var(--muted); max-width: 52ch; }
.menu--light .menu__desc { color: color-mix(in srgb, var(--mineral) 70%, transparent); }
.menu__dur { white-space: nowrap; }
.menu__dur::before { content: "— "; }
.menu__book { flex: none; font-size: var(--step--1); font-weight: 600; letter-spacing: .02em; color: var(--brass-ink); text-decoration: none;
  padding: .35rem .8rem; border: 1px solid currentColor; border-radius: var(--radius); }
.menu--light .menu__book { color: #D2B07C; }
.menu__book:hover { background: var(--brass); color: var(--cedar); border-color: var(--brass); }
.menu--compact .menu__item { padding: .6rem 0; }

.promos { display: grid; gap: 1rem; padding-block: 3rem 0; }
.promo { display: grid; gap: 1rem; background: var(--paper); border: 1px solid var(--stone); padding: 1.5rem; border-radius: var(--radius); }
.promo img { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; }
.promo__title { font-size: var(--step-2); }
.promo__code strong { font-family: var(--display); letter-spacing: .08em; border: 1px dashed var(--brass); padding: .1rem .5rem; }
@media (min-width: 900px) { .promos { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } }

.shelf { padding-block: 4rem; }
.shelf__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; }
.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }
@media (min-width: 900px) { .products { grid-template-columns: repeat(4, 1fr); gap: 2.5rem 1.5rem; } }
.product__link { text-decoration: none; display: block; }
.product__name { font-family: var(--text); font-weight: 500; font-size: var(--step-0); margin: .8rem 0 .2rem; line-height: 1.35; }
.product__meta { font-size: var(--step--1); color: var(--muted); margin: 0; }
.product__price { color: var(--cedar); font-weight: 500; }
.product__meta s { margin-left: .35rem; }
.product__oos { font-size: var(--step--1); color: var(--danger); margin: .25rem 0 0; }
.product__link:hover .product__name { text-decoration: underline; }

.quotes { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.quote blockquote { margin: 0 0 .8rem; font-family: var(--display); font-size: var(--step-1); line-height: 1.4; }
.quote__stars { color: var(--brass); letter-spacing: .15em; margin-bottom: .5rem; }
.quote__by { font-size: var(--step--1); color: var(--muted); }

.mosaic { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.mosaic .media { aspect-ratio: 1; }
.mosaic li:nth-child(1) .media { border-radius: var(--arch); }
.mosaic video { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--cedar); }
.mosaic__cap { font-size: var(--step--1); color: var(--muted); margin: .4rem 0 1rem; }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(3, 1fr); gap: 1rem; } .mosaic--full { grid-template-columns: repeat(4, 1fr); } }

.visit { display: grid; gap: 2rem; padding-block: 4rem; }
.visit__address { font-style: normal; font-family: var(--display); font-size: var(--step-2); line-height: 1.3; margin-bottom: 1.25rem; }
.visit__actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.map { border-radius: var(--radius); overflow: hidden; background: var(--paper); aspect-ratio: 4/3; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(1.05); }

.hours { margin: 0; max-width: 340px; }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); font-variant-numeric: tabular-nums; }
.hours__row dt { font-weight: 400; } .hours__row dd { margin: 0; }
.hours__row.is-today { font-weight: 600; }

/* --------------------------------------------------------------------------
   Pages intérieures
   -------------------------------------------------------------------------- */
.page-head { padding-block: clamp(2rem, 6vw, 4rem) 1.5rem; }
.page-title { font-size: var(--step-3); max-width: 22ch; }
.page-lede { font-size: var(--step-1); color: var(--muted); max-width: 46ch; }

.chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: 1rem; scrollbar-width: none; position: sticky; top: 64px; z-index: 5;
  background: var(--mineral); padding-top: .5rem; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: .45rem 1rem; border: 1px solid var(--stone); border-radius: 999px; text-decoration: none; font-size: var(--step--1); background: var(--paper); }
.chip:hover, .chip.is-on { background: var(--cedar); color: var(--mineral); border-color: var(--cedar); }

.pricelist { padding-block: 2.5rem 1rem; }
.pricelist__head { display: flex; gap: 1.25rem; align-items: center; margin-bottom: 1rem; }
.pricelist__head p { color: var(--muted); margin: 0; max-width: 50ch; }
.pricelist__head .section-title { margin-bottom: .25rem; }

.note { margin: 3rem 0; padding: 1.5rem; border: 1px solid var(--stone); background: var(--paper); border-radius: var(--radius); }
.note__title { font-family: var(--display); font-size: var(--step-1); }

.prose { max-width: 62ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.about { display: grid; gap: 2.5rem; padding-bottom: 4rem; }
@media (min-width: 900px) { .about { grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; } .about__media { position: sticky; top: 96px; } }
.pillars { display: grid; gap: 2rem; margin: 0; }
.pillars dt { font-family: var(--display); font-size: var(--step-2); color: #D2B07C; margin-bottom: .5rem; }
.pillars dd { margin: 0; font-size: var(--step-1); line-height: 1.45; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.founder { display: flex; gap: 2rem; align-items: flex-start; padding-block: 4rem; }
.founder .media--small { width: 140px; }
.team { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.team h3 { font-size: var(--step-1); margin: .75rem 0 0; } .team p { color: var(--muted); font-size: var(--step--1); }
@media (min-width: 900px) { .team { grid-template-columns: repeat(4, 1fr); } }
.cta-line { padding-block: 2rem 4rem; }

.contact { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.3fr; gap: 4rem; } }
.contact__list { list-style: none; padding: 0; margin: 0 0 1rem; }
.contact__list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--stone); }
.contact__list span { color: var(--muted); }
.contact__map { display: grid; gap: 1rem; justify-items: start; }
.contact__map .map { width: 100%; }

/* --------------------------------------------------------------------------
   Formulaires
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label, .field legend { font-size: var(--step--1); font-weight: 500; }
.field fieldset { border: 0; margin: 0; padding: 0; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date],
input:not([type]), select, textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; font: inherit; color: var(--cedar);
  background: var(--paper); border: 1px solid #C5C2B6; border-radius: var(--radius);
  transition: border-color .15s;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--cedar); outline: 2px solid color-mix(in srgb, var(--brass) 55%, transparent); outline-offset: 0; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.field__error, .form__error { color: var(--danger); font-size: var(--step--1); margin: 0; }
.form__error { padding: .8rem 1rem; border: 1px solid currentColor; border-radius: var(--radius); background: #FBF1EF; }
.field__help { font-size: var(--step--1); color: var(--muted); margin: 0; }
.field--check label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: var(--step-0); }
.field--check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--cedar); flex: none; }
.field--radio ul, .field--radio > div { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.field--radio label { display: flex; gap: .6rem; align-items: center; font-weight: 400; font-size: var(--step-0); }
input[type=radio], input[type=checkbox] { accent-color: var(--cedar); }
.choice { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border: 1px solid #C5C2B6; border-radius: var(--radius); background: var(--paper); cursor: pointer; }
.choice span { flex: 1; } .choice strong { font-weight: 500; }
.choice:has(input:checked) { border-color: var(--cedar); box-shadow: inset 0 0 0 1px var(--cedar); }
.codes { border-top: 1px solid var(--stone); padding-top: .8rem; }
.codes summary { cursor: pointer; color: var(--brass-ink); font-size: var(--step--1); }
.codes[open] .field { margin-top: .8rem; }
.segmented { display: grid !important; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--cedar); border-radius: var(--radius); overflow: hidden; }
.segmented label { justify-content: center; padding: .7rem .5rem; font-size: var(--step--1); cursor: pointer; border-right: 1px solid var(--cedar); }
.segmented label:last-child { border-right: 0; }
.segmented input { position: absolute; opacity: 0; }
.segmented label:has(input:checked) { background: var(--cedar); color: var(--mineral); }
.segmented label:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: -4px; }
.presets { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; }
.inline-form { display: flex; gap: .5rem; }
.qty input { width: 84px; text-align: center; }

/* --------------------------------------------------------------------------
   Réservation
   -------------------------------------------------------------------------- */
.booker { display: grid; gap: 1rem; padding-bottom: 6rem; }
.step { border-top: 1px solid var(--stone); padding-top: 1.5rem; margin-top: 1rem; }
.step__title { display: flex; align-items: center; gap: .8rem; font-size: var(--step-2); }
.step__n { display: inline-grid; place-items: center; width: 2rem; height: 2.3rem; border-radius: var(--arch); background: var(--cedar); color: var(--mineral); font-size: 1rem; padding-top: .2rem; }
.step__hint { color: var(--muted); font-size: var(--step--1); }

.svc-group { border-bottom: 1px solid var(--stone); }
.svc-group summary { cursor: pointer; padding: 1rem 0; font-family: var(--display); font-size: var(--step-1); list-style: none; display: flex; justify-content: space-between; }
.svc-group summary::after { content: "+"; font-family: var(--text); color: var(--brass-ink); }
.svc-group[open] summary::after { content: "–"; }
.svc-group summary::-webkit-details-marker { display: none; }
.svc-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.svc { display: grid; grid-template-columns: auto 1fr; gap: .1rem .8rem; padding: .85rem 1rem; border: 1px solid #C5C2B6; border-radius: var(--radius); background: var(--paper); cursor: pointer; align-items: center; }
.svc input { width: 20px; height: 20px; grid-row: span 2; }
.svc__name { font-weight: 500; }
.svc__meta { font-size: var(--step--1); color: var(--muted); grid-column: 2; }
.svc:has(input:checked) { border-color: var(--cedar); box-shadow: inset 0 0 0 1px var(--cedar); }

.staff-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; }
.staff { position: relative; display: grid; gap: .2rem; padding: .9rem; border: 1px solid #C5C2B6; border-radius: var(--radius); background: var(--paper); cursor: pointer; }
.staff input { position: absolute; opacity: 0; }
.staff__photo { width: 48px; height: 56px; object-fit: cover; border-radius: var(--arch); margin-bottom: .3rem; }
.staff__name { font-weight: 500; }
.staff__title { font-size: var(--step--1); color: var(--muted); }
.staff:has(input:checked) { border-color: var(--cedar); box-shadow: inset 0 0 0 1px var(--cedar); }
.staff:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: 2px; }

.days { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem .1rem 1rem; scroll-snap-type: x proximity; }
.day { flex: none; width: 64px; display: grid; justify-items: center; gap: .1rem; padding: .6rem 0; background: var(--paper); border: 1px solid #C5C2B6;
  border-radius: 999px 999px var(--radius) var(--radius); scroll-snap-align: start; }
.day__wd, .day__m { font-size: .75rem; color: var(--muted); }
.day__n { font-family: var(--display); font-size: 1.4rem; line-height: 1.1; }
.day[aria-selected=true] { background: var(--cedar); color: var(--mineral); border-color: var(--cedar); }
.day[aria-selected=true] .day__wd, .day[aria-selected=true] .day__m { color: color-mix(in srgb, var(--mineral) 75%, transparent); }
.day:disabled { opacity: .4; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; min-height: 3rem; }
.slots > p { grid-column: 1 / -1; }
.slot { min-height: 44px; background: var(--paper); border: 1px solid #C5C2B6; border-radius: var(--radius); font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--cedar); }
.slot[aria-pressed=true] { background: var(--cedar); color: var(--mineral); border-color: var(--cedar); }

.recap { margin: 1.5rem 0; padding: 1.25rem; background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); }
.recap__title { font-size: var(--step-1); }
.recap__items { list-style: none; padding: 0; margin: 0 0 .75rem; }
.recap__items li, .recap__totals div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; }
.recap__when { font-weight: 500; }
.recap__totals { margin: 0; border-top: 1px solid var(--stone); padding-top: .5rem; font-variant-numeric: tabular-nums; }
.recap__totals dd { margin: 0; }
.recap__due { font-weight: 600; font-size: var(--step-1); }
.recap__note { font-size: var(--step--1); color: var(--muted); margin: .5rem 0 0; }

.booker__bar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom)); background: var(--cedar); color: var(--mineral); }
.booker__bar p { margin: 0; }
.page-book .dock, .page-book .wa-float { display: none; }

/* Tickets (récapitulatifs de réservation / commande) */
.ticket { background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); padding: 1.5rem; margin: 1.5rem 0; position: relative; }
.ticket::before { content: ""; position: absolute; inset: -1px auto -1px -1px; width: 6px; background: var(--brass); border-radius: var(--radius) 0 0 var(--radius); }
.ticket__ref { font-size: var(--step--1); color: var(--muted); }
.ticket__when { font-family: var(--display); font-size: var(--step-2); line-height: 1.25; }
.ticket__when span { font-size: var(--step-1); }
.ticket__items { list-style: none; margin: 0; padding: 0; }
.ticket__items li, .ticket__totals div { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--stone); }
.ticket__items em { color: var(--muted); font-style: normal; }
.ticket__totals { margin: 0; font-variant-numeric: tabular-nums; } .ticket__totals dd { margin: 0; }
.ticket__due { font-weight: 600; border-bottom: 0 !important; }
.ticket__addr { margin: 1rem 0 0; color: var(--muted); font-size: var(--step--1); }
.status { font-weight: 600; } .status--confirmed { color: var(--ok); } .status--pending { color: #8a5a00; } .status--cancelled, .status--expired { color: var(--danger); }
.done { padding-block: 3rem 4rem; }
.done__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Paiement */
.pay { display: grid; gap: 1.25rem; padding-bottom: 4rem; }
.pay fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; }
.pay legend { font-weight: 500; margin-bottom: .5rem; }
.pay__amount { font-size: var(--step-1); } .pay__amount strong { font-family: var(--display); font-size: var(--step-2); font-weight: 400; }
.method { display: grid; grid-template-columns: auto 1fr; gap: .1rem .8rem; padding: 1rem; border: 1px solid #C5C2B6; border-radius: var(--radius); background: var(--paper); cursor: pointer; }
.method input { grid-row: span 2; width: 20px; height: 20px; margin-top: .15rem; }
.method__name { font-weight: 600; } .method__help { font-size: var(--step--1); color: var(--muted); grid-column: 2; }
.method:has(input:checked) { border-color: var(--cedar); box-shadow: inset 0 0 0 1px var(--cedar); }
.method--test { border-style: dashed; }
.method__extra { padding: 0 0 .5rem 2.2rem; }
.hold { font-size: var(--step--1); color: var(--muted); }
.waiting { text-align: center; padding-block: 4rem; }
.waiting .page-title, .waiting .page-lede { margin-inline: auto; }
.waiting__pulse { width: 64px; height: 76px; margin: 0 auto 1.5rem; border-radius: var(--arch); background: var(--brass); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.88); opacity: .55; } }

/* Boutique */
.pdp { display: grid; gap: 2rem; padding-block: 2rem 3rem; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr .9fr; gap: 4rem; } .pdp__info { position: sticky; top: 96px; align-self: start; } }
.pdp__gallery { display: grid; gap: .75rem; }
.pdp__price { font-size: var(--step-1); font-weight: 500; } .pdp__price s { color: var(--muted); font-weight: 400; margin-left: .5rem; }
.pdp__lede { font-size: var(--step-1); line-height: 1.5; }
.pdp__buy { display: flex; gap: .75rem; margin: 1.5rem 0 .5rem; }
.pdp__buy .btn { flex: 1; }
.pdp__more { margin-top: 2rem; }
.pdp__more details { border-top: 1px solid var(--stone); padding: .9rem 0; }
.pdp__more summary { cursor: pointer; font-weight: 500; }
.crumbs { font-size: var(--step--1); color: var(--muted); } .crumbs a { color: inherit; }
.lines { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.line { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--stone); align-items: flex-start; }
.line__info { flex: 1; } .line__name { font-weight: 500; text-decoration: none; }
.line__actions { display: flex; gap: 1rem; align-items: center; }
.line__total { margin: 0; font-variant-numeric: tabular-nums; }
.totals { margin: 0 0 1rem; } .totals div { display: flex; justify-content: space-between; font-size: var(--step-1); } .totals dd { margin: 0; }
.checkout { padding-bottom: 4rem; display: grid; gap: 2rem; }
@media (min-width: 900px) { .checkout { grid-template-columns: 1.3fr 1fr; column-gap: 4rem; } .checkout .page-head { grid-column: 1 / -1; } .checkout__recap { align-self: start; position: sticky; top: 96px; margin: 0; } }

/* Carte cadeau */
.giftcard { background: var(--cedar) url("../img/zellige.svg") center / 80px; color: var(--mineral); padding: 2.5rem 2rem; border-radius: var(--arch);
  text-align: center; display: grid; justify-items: center; gap: .5rem; max-width: 420px; margin: 0 auto 2rem;
  box-shadow: inset 0 0 0 9999px color-mix(in srgb, var(--cedar) 82%, transparent); }
.giftcard__value { font-family: var(--display); font-size: var(--step-2); line-height: 1.3; margin: 1rem 0 0; }
.giftcard__msg { font-style: italic; max-width: 30ch; margin: .5rem 0; }
.giftcard__qr { background: #fff; padding: .5rem; width: 150px; border-radius: var(--radius); margin-top: 1rem; }
.giftcard__qr svg { width: 100%; height: auto; }
.giftcard__code { font-family: var(--display); letter-spacing: .12em; font-size: var(--step-1); margin: .5rem 0 0; }
.giftcard__meta, .giftcard__to, .giftcard__from { font-size: var(--step--1); opacity: .85; margin: 0; }

/* Espace client */
.auth { padding-block: 2rem 4rem; max-width: 520px; }
.auth__links { font-size: var(--step--1); margin: 1rem 0 0; }
.dash { padding-block: 2rem 4rem; }
.dash__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; }
.dash__links { display: flex; gap: 1.25rem; align-items: center; font-size: var(--step--1); }
.dash__links form { display: inline; }
.dash__block { margin-top: 2rem; max-width: 820px; }
.dash__title { display: flex; justify-content: space-between; align-items: center; }
.row-card { display: grid; grid-template-columns: 6.5rem 1fr auto; gap: 1rem; align-items: center; padding: 1rem; margin-bottom: .5rem;
  background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); text-decoration: none; }
.row-card:hover { border-color: var(--cedar); }
.row-card__date { font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.row-card__main small { display: block; color: var(--muted); font-size: var(--step--1); }
.row-card__side { font-size: var(--step--1); text-align: right; }
.points__n { font-family: var(--display); font-size: var(--step-4); line-height: 1; margin: 0 0 .5rem; color: var(--brass-ink); }

/* --------------------------------------------------------------------------
   Pied de page & accès rapides
   -------------------------------------------------------------------------- */
.footer { background: var(--cedar); color: var(--mineral); padding-block: 4rem 2rem; margin-top: 2rem; }
.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand p:not(.wordmark) { color: color-mix(in srgb, var(--mineral) 70%, transparent); max-width: 30ch; margin-top: 1rem; }
.footer__h { font-family: var(--text); font-size: var(--step--1); font-weight: 600; margin-bottom: 1rem; color: #D2B07C; }
.footer address { font-style: normal; margin-bottom: 1rem; }
.footer a { text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.footer .hours { font-size: var(--step--1); }
.footer__links, .social { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.social { grid-auto-flow: column; justify-content: start; gap: 1.25rem; margin-top: 1.5rem; }
.footer__legal { font-size: .8rem; opacity: .6; margin-top: 3rem; }

.wa-float { display: none; }
@media (min-width: 900px) {
  .wa-float { position: fixed; z-index: 50; right: 1.5rem; bottom: 1.5rem; display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.1rem; border-radius: 999px; background: #25D366; color: #0B3B24; text-decoration: none; font-weight: 600;
    box-shadow: 0 6px 20px rgba(31, 48, 45, .25); }
  .wa-float:hover { background: #2EE372; }
}
.dock { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: 1px;
  background: var(--cedar); padding-bottom: env(safe-area-inset-bottom); }
.dock a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 56px; text-decoration: none; font-weight: 600; }
.dock__wa { background: #25D366; color: #0B3B24; }
.dock__book { background: var(--brass); color: var(--cedar); }
@media (min-width: 900px) { .dock { display: none; } }

@media print {
  .masthead, .footer, .dock, .wa-float, .done__actions, .toasts { display: none !important; }
  body { background: #fff; }
}
.pricelist, .chips + .wrap .note { max-width: 880px; }
/* Correctifs : empêcher les zones défilantes d'élargir la page, prix sur une ligne */
.booker > *, .step, .form > *, .checkout > * { min-width: 0; }
.ticket__items li > span:last-child, .ticket__totals dd, .recap__items li > span:last-child, .recap__totals dd { white-space: nowrap; }
body { overflow-x: clip; }
