/* =========================================================================
   site.css : site vitrine, direction « The dark room »
   Une pièce sombre, des objets éclairés, du verre dépoli au-dessus.
   S'appuie sur tokens.css (couleurs, polices, rayons, easing).
   ========================================================================= */

:root {
  --margin: clamp(16px, 2.2vw, 32px);
  --fs-xl: clamp(64px, 10vw, 156px);
  --fs-l: clamp(40px, 5.4vw, 80px);
  --fs-m: clamp(24px, 2.4vw, 34px);
  --fs-s: 17px;
  --fs-xs: 14px;
  --rail-h: 72px;
  --glass-bg: rgba(20, 20, 23, 0.58);
  --glass-bg-strong: rgba(18, 18, 21, 0.74);
  --glass-line: rgba(255, 255, 255, 0.14);
}

/* ---------- Base ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html { scroll-padding-top: calc(var(--rail-h) + 16px); }
body { overflow-x: clip; font-size: var(--fs-s); background: var(--bg); }
::selection { background: var(--gold); color: #17120A; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
a, button, label[for] { cursor: pointer; }
img { height: auto; }

/* Verre dépoli (demande explicite du client) : rail, wizard, affluence, panneaux */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-line); /* taste-skill-ignore : bordure claire du verre demandée par le client */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-lg);
}

/* Halo de lampe derrière les objets exposés (demandé par le client, pour que le verre ait quelque chose à flouter) */
.lamp {
  position: absolute; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(227, 200, 140, 0.20), rgba(227, 200, 140, 0)); /* taste-skill-ignore : lumière de la lampe */
}

/* Boutons : couleur unie, forme pilule, pas d'ombre */
.btn { min-height: 48px; padding: 0 24px; font-size: 16px; font-weight: 700; letter-spacing: 0; transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease-out); }
.btn-gold, .btn-gold:hover { background: var(--gold); color: #17120A; box-shadow: none; } /* taste-skill-ignore : annule l ombre de tokens.css */
.btn-gold:hover { background: var(--gold-2); }
.btn-gold:active, .btn-ghost:active { transform: scale(0.97); }
.btn-ghost { background: var(--bg-3); border: 0; color: var(--ink); backdrop-filter: none; } /* taste-skill-ignore : annule le flou de tokens.css */
.btn-ghost:hover { background: #26262b; border: 0; }
.inline-link { color: var(--gold-2); font-weight: 700; text-underline-offset: 4px; }
.inline-link:hover { color: var(--ink); }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 18px; border-radius: 999px; background: var(--gold); color: #17120A; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 16px; }

/* Curseur doré : pointeur fin uniquement */
.cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor-ring {
    display: block; position: fixed; left: 0; top: 0; z-index: var(--z-cursor); pointer-events: none;
    width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
    border: 2px solid rgba(227, 200, 140, 0.8); opacity: 0;
    transition: opacity var(--t-med), width var(--t-med) var(--ease-out), height var(--t-med) var(--ease-out), margin var(--t-med) var(--ease-out);
  }
  .has-cursor .cursor-ring.is-visible { opacity: 1; }
  .has-cursor .cursor-ring.is-hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
}

/* ---------- Photo principale ---------- */
.hero-media { position: absolute; left: 0; right: 0; top: 0; height: 100svh; overflow: hidden; z-index: 0; background: var(--bg); }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  filter: grayscale(1) brightness(0.5) contrast(1.12); opacity: 0; transition: opacity 1.6s var(--ease-in-out);
}
.hero-slide.is-on { opacity: 1; }
.hero-slide { transform: scale(1.04); }
.hero-media::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: linear-gradient(180deg, rgba(10,10,11,0), var(--bg)); /* taste-skill-ignore : scrim neutre sous le texte, sur photo */
}
.lamp-hero { width: 70vw; height: 70vw; left: 15vw; top: 10svh; }

/* ---------- Le rail ---------- */
.rail {
  position: sticky; top: 12px; z-index: var(--z-nav);
  margin: 12px var(--margin) 0;
  min-height: var(--rail-h);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 24px;
  padding: 10px 10px 10px 24px; border-radius: 999px;
  transition: background var(--t-med);
}
.rail.is-docked { background: var(--glass-bg-strong); }
.rail-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-m); line-height: 1; letter-spacing: 0.01em; white-space: nowrap; }
.rail-title a { text-decoration: none; display: inline-block; padding-top: 4px; }
.rail-line { margin: 0; max-width: 44ch; color: var(--ink-2); font-size: var(--fs-xs); line-height: 1.4; }
.rail-nav { display: flex; gap: 2px; }
.rail-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 600; transition: background var(--t-fast), color var(--t-fast); }
.rail-nav a:hover, .rail-nav a.is-active { background: rgba(255,255,255,0.08); color: var(--gold-2); }
.rail-cta { min-height: 48px; }
.rail-menu { display: none; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--bg-3); color: var(--ink); font-weight: 700; }
.rail-menu[aria-expanded="true"] { background: var(--gold); color: #17120A; }
.mobile-menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); padding: 10px; display: grid;
  background: var(--glass-bg-strong); animation: menuIn var(--t-med) var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { display: flex; align-items: center; min-height: 54px; padding: 0 16px; border-radius: 14px; text-decoration: none; font-family: var(--font-display); font-size: var(--fs-m); }
.mobile-menu a:hover { background: rgba(255,255,255,0.06); color: var(--gold-2); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero, moitié basse ---------- */
.hero { position: relative; z-index: 1; min-height: calc(100svh - var(--rail-h) - 12px); padding: 0 var(--margin) 32px; display: flex; align-items: flex-end; }
.tool-pole { position: absolute; right: calc(var(--margin) + 8px); top: clamp(40px, 12svh, 120px); z-index: -1; }
.hero-low { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: 32px; }
.hero-copy { max-width: 520px; }
.hero-lead { margin: 0 0 20px; font-size: 18px; line-height: 1.55; color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.js .hero-copy > * { opacity: 0; transform: translateY(20px); animation: rise .9s var(--ease-out) forwards; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Affluence en direct */
.live { width: min(440px, 100%); padding: 20px 22px; }
.js .live { opacity: 0; transform: translateY(20px); animation: rise .9s var(--ease-out) .16s forwards; }
.live[hidden] { display: none; }
.live-top { display: flex; align-items: center; gap: 10px; margin: 0; font-size: var(--fs-xs); font-weight: 700; color: var(--ink); }
.live-dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--lvl, var(--ok)); flex: none; }
.live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--lvl, var(--ok)); animation: ping 1.8s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }
.live-level { margin-left: auto; padding: 4px 12px; border-radius: 999px; background: var(--lvl, var(--ok)); color: #0A0A0B; font-weight: 800; }
.live-main { margin: 10px 0 0; font-size: var(--fs-s); font-weight: 600; line-height: 1.3; }
.live-main strong { display: inline-block; font-family: var(--font-display); font-size: var(--fs-l); font-weight: 400; line-height: .9; color: var(--ink); margin-right: 8px; vertical-align: -6px; }
.live-gauge { height: 6px; border-radius: 6px; background: rgba(255,255,255,0.1); overflow: hidden; margin: 12px 0; }
.live-gauge span { display: block; height: 100%; background: var(--lvl, var(--ok)); transform-origin: 0 50%; transform: scaleX(0); transition: transform .9s var(--ease-out); }
.live-sub { margin: 0; font-size: var(--fs-xs); color: var(--ink); line-height: 1.5; }
.live[data-level="modéré"] { --lvl: var(--gold-2); }
.live[data-level="chargé"] { --lvl: var(--warn); }
.live[data-level="complet"] { --lvl: var(--danger); }
.live[data-level="fermé"] { --lvl: var(--ink-2); }
.live[data-level="fermé"] .live-dot::after { animation: none; opacity: 0; }

/* Poteau de barbier */
.pole { position: relative; width: 56px; display: flex; flex-direction: column; align-items: center; }
.pole-cap { display: block; width: 56px; height: 26px; background: var(--gold); border-radius: 28px 28px 6px 6px; position: relative; }
.pole-cap-top::before { content: ''; position: absolute; left: 50%; top: -14px; width: 24px; height: 18px; margin-left: -12px; border-radius: 50% 50% 4px 4px; background: var(--gold-2); }
.pole-cap-bottom { border-radius: 6px 6px 28px 28px; background: var(--gold-deep); }
.pole-glass { position: relative; display: block; width: 44px; height: clamp(200px, 22vw, 300px); overflow: hidden; background: #F4EEE2; }
.pole-stripes {
  position: absolute; left: 0; right: 0; top: -44px; height: calc(100% + 44px);
  background-image: linear-gradient(45deg, var(--red) 0 12.5%, #F4EEE2 12.5% 25%, var(--blue) 25% 37.5%, #F4EEE2 37.5% 50%, var(--red) 50% 62.5%, #F4EEE2 62.5% 75%, var(--blue) 75% 87.5%, #F4EEE2 87.5% 100%); /* taste-skill-ignore : rayures nettes du poteau, pas un dégradé */
  background-size: 44px 44px; animation: pole 1.6s linear infinite; will-change: transform;
}
@keyframes pole { to { transform: translate3d(0, 44px, 0); } }
.pole-shine { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.5), rgba(255,255,255,0) 30%, rgba(255,255,255,.5) 42%, rgba(255,255,255,0) 56%, rgba(0,0,0,.45)); /* taste-skill-ignore : volume du cylindre dessiné */ }

/* Scène de coupe */
.cut-stage { --band: clamp(110px, 12vw, 160px); position: relative; height: calc(var(--band) + 100px); margin: 24px 0 0; overflow: hidden; }
.lamp-cut { width: 60vw; height: 60vw; left: 20vw; top: -25vw; }
.cut-fade { position: absolute; left: 0; right: 0; top: 0; height: var(--band); display: flex; align-items: flex-end; justify-content: center; padding-bottom: calc(var(--band) * .1); overflow: hidden; }
.cut-fade-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); font-family: var(--font-display); font-size: calc(var(--band) * .28); white-space: nowrap; color: #17120A; line-height: 1; }
.cut-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.clipper-track { position: absolute; left: 0; top: 0; width: clamp(210px, 24vw, 330px); will-change: transform; transform: translate3d(-200%, 0, 0); }
.clipper { width: 100%; height: auto; overflow: visible; display: block; }
.clipper-track.is-running .clipper-body, .clipper-track.is-running .clipper-wheel-wrap { animation: buzz .07s linear infinite; }
.clipper-track.is-running .clipper-cutter { animation: cutter .05s linear infinite; }
.clipper-wheel { transform-box: view-box; transform-origin: 282px 40px; }
.clipper-track.is-running .clipper-wheel { animation: spin 1.2s linear infinite; }
@keyframes buzz { 50% { transform: translate(.6px, -.5px); } }
@keyframes cutter { 0%, 100% { transform: translateY(-1.4px); } 50% { transform: translateY(1.4px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(96px, 12vw, 180px) var(--margin) 0; }
.section-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-l); line-height: .92; letter-spacing: 0; max-width: 14ch; }
.section-lead { margin: 20px 0 0; max-width: 46ch; font-size: var(--fs-s); line-height: 1.6; color: var(--ink); }

/* Entrées au scroll : jamais cachées sans script */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--rd, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- La carte : colonnes de noms ---------- */
.carte { min-height: 80svh; display: grid; align-items: center; }
.carte-photo { position: absolute; right: 0; top: clamp(40px, 8vw, 120px); width: 62vw; margin: 0; z-index: 0; }
.carte-photo img { width: 100%; filter: grayscale(1) brightness(.55) contrast(1.2); }
.carte-panel {
  position: relative; z-index: 1; padding: clamp(24px, 3vw, 44px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; row-gap: 48px;
}
.carte-title { grid-column: 1 / -1; margin: 0; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-l); line-height: .92; }
.carte-cols { grid-column: 1 / 10; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.carte-group h3 { margin: 0 0 16px; font-size: var(--fs-s); font-weight: 700; color: var(--ink); }
.carte-group ul { list-style: none; margin: 0; padding: 0; }
.carte-item {
  display: block; width: 100%; padding: 8px 0; min-height: 44px; text-align: left; border: 0; background: none;
  color: var(--ink-2); font-size: var(--fs-s); line-height: 1.3; transition: color var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.carte-item .meta { display: block; font-size: var(--fs-xs); color: var(--ink-2); }
.carte-item:hover, .carte-item:focus-visible, .carte-item[aria-pressed="true"] { color: var(--ink); transform: translateX(6px); }
.carte-item[aria-pressed="true"] .meta { color: var(--gold-2); }
.carte-group-sum { display: none; margin: 12px 0 0; font-size: var(--fs-xs); color: var(--ink-2); }
.carte-detail { grid-column: 10 / -1; align-self: start; display: grid; gap: 10px; }
.carte-detail .scissors { width: 70%; max-width: 180px; height: auto; overflow: visible; margin-bottom: 8px; }
.carte-detail-name { margin: 0; font-family: var(--font-display); font-size: var(--fs-m); line-height: 1; min-height: 1em; }
.carte-detail-desc { margin: 0; color: var(--ink); font-size: var(--fs-s); line-height: 1.5; }
.carte-detail .btn { justify-self: start; }
.blade { transform-box: view-box; transform-origin: 100px 100px; }
.blade-a { animation: snipA 2.4s var(--ease-in-out) infinite; }
.blade-b { animation: snipB 2.4s var(--ease-in-out) infinite; }
@keyframes snipA { 0%, 100% { transform: rotate(-16deg); } 40%, 52% { transform: rotate(0deg); } }
@keyframes snipB { 0%, 100% { transform: rotate(16deg); } 40%, 52% { transform: rotate(0deg); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; margin-top: clamp(96px, 12vw, 180px); padding: 18px 0; background: var(--gold); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; will-change: transform; }
.marquee-group { display: flex; flex: none; }
.marquee-item { padding-right: 40px; font-family: var(--font-display); font-size: var(--fs-m); line-height: 1; white-space: nowrap; color: #17120A; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Réservation ---------- */
.booking { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.booking-side { position: sticky; top: calc(var(--rail-h) + 40px); }
.booking-chair { position: relative; margin: 40px 0 0; max-width: 420px; }
.booking-chair img { position: relative; width: 100%; filter: invert(1) grayscale(1) brightness(.75) contrast(2.4); mix-blend-mode: screen; }
.lamp-chair { width: 140%; height: 140%; left: -20%; top: -20%; }

.wizard { position: relative; padding: clamp(20px, 3vw, 40px); min-height: 560px; }
.wz-progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; }
.wz-pstep {
  width: 100%; min-height: 44px; padding: 14px 4px 6px; border: 0; background: none; color: var(--ink-2); text-align: left;
  font-size: var(--fs-xs); font-weight: 700; position: relative; border-radius: 4px;
}
.wz-pstep::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.12); transition: background var(--t-med); }
.wz-progress li.is-done .wz-pstep::before, .wz-progress li.is-current .wz-pstep::before { background: var(--gold); }
.wz-progress li.is-current .wz-pstep, .wz-progress li.is-done .wz-pstep { color: var(--ink); }
.wz-pstep:disabled { cursor: default; opacity: 1; }
.wz-progress li.is-done .wz-pstep:not(:disabled):hover { color: var(--gold-2); }

.wz-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.wz-summary:empty { display: none; }
.wz-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; background: rgba(200,164,100,0.16); color: var(--ink); animation: rise .4s var(--ease-out) both; }
.wz-chip .ico { width: 16px; height: 16px; color: var(--gold-2); }

.wz-panel.is-enter { animation: panelIn .5s var(--ease-out); }
.wz-panel.is-enter[data-dir="back"] { animation-name: panelBack; }
@keyframes panelIn { from { opacity: 0; transform: translate3d(28px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes panelBack { from { opacity: 0; transform: translate3d(-28px, 0, 0); } to { opacity: 1; transform: none; } }
.wz-title { margin: 0 0 18px; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-m); line-height: 1; }
.wz-title:focus { outline: none; }
.wz-title:focus-visible { outline: 2px solid var(--gold-2); }
.wz-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wz-opt {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 68px; padding: 12px 16px; text-align: left;
  border-radius: var(--r-md); border: 0; background: rgba(255,255,255,0.06); color: var(--ink);
  transition: background var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.wz-opt:hover { background: rgba(255,255,255,0.11); }
.wz-opt:active { transform: scale(0.985); }
.wz-opt[aria-pressed="true"] { background: rgba(200,164,100,0.3); outline: 2px solid var(--gold); outline-offset: -2px; }
.wz-opt-body { flex: 1; min-width: 0; }
.wz-opt-name { display: block; font-weight: 700; }
.wz-opt-meta { display: block; font-size: var(--fs-xs); color: var(--ink-2); }
.wz-opt-price { font-family: var(--font-display); font-size: var(--fs-m); color: var(--gold-2); line-height: 1; }
.wz-avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-family: var(--font-display); font-size: 24px; color: #0A0A0B; background: var(--c, var(--gold)); }
.wz-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wz-avatar .ico { color: #0A0A0B; }

.wz-days { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--gold-deep) transparent; }
.wz-day {
  flex: 0 0 auto; width: 80px; min-height: 100px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-radius: var(--r-md); border: 0; background: rgba(255,255,255,0.06); color: var(--ink); transition: background var(--t-fast);
}
.wz-day:hover:not(:disabled) { background: rgba(255,255,255,0.11); }
.wz-day[aria-pressed="true"] { background: var(--gold); color: #17120A; }
.wz-day:disabled { opacity: .45; cursor: not-allowed; }
.wz-day-dow, .wz-day-mon, .wz-day-state { font-size: var(--fs-xs); font-weight: 600; }
.wz-day-num { font-family: var(--font-display); font-size: var(--fs-m); line-height: 1; }

.wz-note { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; font-size: var(--fs-xs); color: var(--ink); background: rgba(200,164,100,0.12); display: flex; gap: 10px; align-items: flex-start; }
.wz-note .ico { color: var(--gold-2); }
.wz-alert { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; font-size: var(--fs-xs); font-weight: 700; color: #FFE1DE; background: rgba(224,87,79,0.24); }
.wz-group { margin-bottom: 18px; }
.wz-group-title { margin: 0 0 10px; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); }
.wz-slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.wz-slot { min-height: 46px; border-radius: 999px; border: 0; background: rgba(255,255,255,0.07); color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; transition: background var(--t-fast); animation: rise .4s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 16ms); }
.wz-slot:hover { background: rgba(255,255,255,0.13); }
.wz-slot[aria-pressed="true"] { background: var(--gold); color: #17120A; }
.wz-empty { padding: 26px; text-align: center; border-radius: var(--r-md); background: rgba(255,255,255,0.05); color: var(--ink); }
.wz-empty strong { display: block; margin-bottom: 4px; }
.wz-empty .btn { margin-top: 14px; }
.wz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.wz-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-size: var(--fs-xs); font-weight: 700; margin-bottom: 6px; }
.req { color: var(--gold-2); }
.opt { color: var(--ink-2); font-weight: 500; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; font-size: 16px;
  border: 1px solid rgba(255,255,255,0.18); background: rgba(0,0,0,0.35); color: var(--ink);
  transition: border-color var(--t-fast);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field-hint { margin: 6px 0 0; font-size: var(--fs-xs); color: var(--ink-2); }
.field-error { margin: 6px 0 0; font-size: var(--fs-xs); font-weight: 700; color: #FF9A93; }
.field-error:empty { display: none; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(23,18,10,.3); border-top-color: #17120A; animation: spin .7s linear infinite; }
.wz-submit.is-loading .spinner { display: inline-block; }

.wz-done { text-align: center; padding: 10px 0; }
.check { width: 96px; height: 96px; margin: 0 auto 10px; display: block; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.check-ring { stroke: var(--gold); stroke-width: 3; stroke-dasharray: 264; stroke-dashoffset: 264; transform-box: view-box; transform-origin: 48px 48px; transform: rotate(-90deg); }
.check-tick { stroke: var(--gold-2); stroke-width: 5; stroke-dasharray: 60; stroke-dashoffset: 60; }
.wz-done.is-enter .check-ring { animation: draw .8s var(--ease-out) .1s forwards; }
.wz-done.is-enter .check-tick { animation: draw .5s var(--ease-out) .75s forwards; }
.wz-done:not(.is-enter) .check-ring, .wz-done:not(.is-enter) .check-tick { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.wz-done-lead { margin: 0 auto 20px; max-width: 46ch; }
.wz-recap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 560px; margin: 0 auto 18px; text-align: left; }
.wz-recap div { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,0.06); }
.wz-recap dt { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); }
.wz-recap dd { margin: 2px 0 0; font-weight: 700; }
.wz-done-note { margin: 0 auto 20px; font-size: var(--fs-xs); max-width: 52ch; }

/* Lien d'annulation sur l'écran de confirmation */
.wz-cancel { max-width: 560px; margin: 0 auto 22px; padding: 16px; border-radius: var(--r-md); background: rgba(200,164,100,0.12); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; }
.wz-cancel[hidden] { display: none; }
.wz-copy { min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--gold-2); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.wz-copy:hover { color: var(--ink); }
.wz-cancel-note { flex-basis: 100%; margin: 0; font-size: var(--fs-xs); color: var(--ink); }

/* Alerte du formulaire : message + bouton Appeler */
.wz-alert p { margin: 0; }
.wz-alert .btn { margin-top: 12px; min-height: 44px; font-size: 15px; }
/* Anti-robot : pot de miel hors écran, widget Turnstile invisible sauf vérification */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.wz-turnstile:empty { display: none; }
.wz-turnstile { min-height: 0; }

/* ---------- Équipe : titre fixé, portraits qui défilent ---------- */
.team { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.team-head { position: sticky; top: calc(var(--rail-h) + 40px); }
.team-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-xl); line-height: .85; }
.team-razor { margin: 40px 0 0; max-width: 440px; }
.team-razor img { width: 100%; filter: grayscale(1) brightness(.6) contrast(1.2); }
.team-list { display: grid; gap: clamp(48px, 10svh, 120px); padding-bottom: 40px; }
.member { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 16px; align-items: end; width: min(100%, 640px); }
.member:nth-child(even) { justify-self: end; }
.member-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: calc(var(--r-lg) - 8px); background: var(--bg-3); }
.member-media img { width: 100%; height: 100%; object-fit: cover; }
.member-ph { position: absolute; inset: 0; background: color-mix(in srgb, var(--c) 30%, #141416); }
.member-initial { position: absolute; right: 14px; top: 6px; font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1; color: rgba(255,255,255,0.16); }
.member-sil { position: absolute; left: 50%; bottom: 0; width: 80%; transform: translateX(-50%); fill: rgba(0,0,0,0.42); }
.member-ph-label { position: absolute; left: 14px; bottom: 12px; font-size: var(--fs-xs); font-weight: 700; color: var(--ink); }
.member-body { padding: 0 8px 8px 0; }
.member-name { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-m); line-height: 1; }
.member-role { margin: 6px 0 10px; font-size: var(--fs-xs); font-weight: 700; color: var(--gold-2); }
.member-bio { margin: 0 0 16px; font-size: var(--fs-s); line-height: 1.5; }
.empty-msg { padding: 28px; }

/* ---------- Galerie : photos rassemblées autour du titre ---------- */
.gallery-band { min-height: 100svh; display: grid; place-items: center; padding-bottom: clamp(40px, 6vw, 80px); }
.gallery-head { position: relative; z-index: 1; max-width: 420px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.gallery-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-l); line-height: .92; }
.gallery-head p { margin: 0; }
.gallery { position: absolute; inset: clamp(96px, 12vw, 180px) 0 0; pointer-events: none; }
.g-item { position: absolute; width: clamp(150px, 13vw, 200px); aspect-ratio: 9 / 10; margin: 0; pointer-events: auto; }
.g-item:nth-child(1) { left: 22%; top: 4%; }
.g-item:nth-child(2) { left: 42%; top: -8%; }
.g-item:nth-child(3) { left: 64%; top: 9%; }
.g-item:nth-child(4) { left: 21%; top: 56%; }
.g-item:nth-child(5) { left: 66%; top: 54%; }
.g-item:nth-child(6) { left: 34%; top: 76%; }
.g-item:nth-child(7) { left: 53%; top: 80%; }
.g-item:nth-child(n+8) { display: none; }
.g-media { width: 100%; height: 100%; will-change: transform; }
.g-media img { width: 100%; height: 100%; object-fit: cover; }
.g-ph { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; background: var(--bg-3); }
.g-ph-inner { display: grid; justify-items: center; gap: 8px; padding: 10px; color: var(--ink-2); font-size: var(--fs-xs); }
.g-ph-inner svg { width: 32px; height: 32px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Note Google sur photographie ---------- */
.rating { position: relative; min-height: 90svh; margin-top: clamp(96px, 12vw, 180px); display: flex; align-items: flex-end; overflow: hidden; }
.rating-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(1) brightness(.5) contrast(1.1); }
.rating-inner { position: relative; padding: 0 var(--margin) 64px; display: grid; gap: 16px; justify-items: start; }
.rating-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-xl); line-height: .85; }
.rating-sub { margin: 0; font-size: var(--fs-m); line-height: 1.2; max-width: 30ch; }

/* ---------- Infos pratiques ---------- */
.infos { padding-bottom: clamp(96px, 12vw, 180px); overflow: hidden; }
.infos-photo { position: absolute; right: 0; top: clamp(140px, 16vw, 240px); width: 58vw; height: 70%; object-fit: cover; filter: grayscale(1) brightness(.45) contrast(1.1); z-index: 0; }
.infos > .section-title { position: relative; z-index: 1; }
.infos-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 20px; margin-top: 48px; }
.info-card { padding: 28px; }
.info-title { margin: 0 0 12px; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-m); line-height: 1; }
.open-now { margin: 0 0 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #9FE0BD; }
.open-now::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.open-now.is-closed { color: #FFB3AD; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; }
.hours li.is-today { background: rgba(200,164,100,0.2); font-weight: 700; }
.hours .h-time { font-variant-numeric: tabular-nums; }
.hours .is-closed-day .h-time { color: var(--ink-2); }
.contact-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }
.contact-list a, .contact-list .c-row { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 6px 8px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.contact-list a:hover { background: rgba(255,255,255,0.07); }
.c-ico { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(200,164,100,0.18); color: var(--gold-2); }
.c-val { display: block; font-weight: 600; overflow-wrap: anywhere; }
.c-label { display: block; font-size: var(--fs-xs); color: var(--ink-2); }
.map { position: relative; overflow: hidden; min-height: 360px; padding: 0; }
/* Vraie carte Google, passée en sombre pour coller au site */
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.7) brightness(.95); }
.nav-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.nav-btn { flex: 1 1 auto; white-space: nowrap; padding: 0 18px; }
.nav-btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Appeler : le numéro en grand ---------- */
.call { min-height: 86svh; background: var(--ink); color: #0A0A0B; padding: calc(var(--rail-h) + 48px) var(--margin) clamp(40px, 5vw, 64px); display: grid; grid-template-rows: auto 1fr auto; gap: 24px; }
.call-title { margin: 0; max-width: 30ch; font-family: var(--font-body); font-size: clamp(20px, 1.6vw, 22px); font-weight: 600; line-height: 1.35; }
.call-number { align-self: end; font-family: var(--font-display); font-size: clamp(64px, 15.5vw, 240px); line-height: .85; color: #0A0A0B; text-decoration: none; white-space: nowrap; transition: color var(--t-med); }
.call-number:hover { color: var(--gold-deep); }
.call-number:focus-visible { outline-color: #0A0A0B; }
.call-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--fs-xs); }
.call-foot p { margin: 0; }
.call .inline-link { color: #0A0A0B; }
.call .inline-link:hover { color: var(--gold-deep); }

/* ---------- Footer : le nom sur la dernière photo ---------- */
.footer { position: relative; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--rail-h) + 48px) var(--margin) 40px; }
.footer-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.42) contrast(1.1); z-index: 0; }
.footer-top, .footer-bottom { position: relative; z-index: 1; }
.footer-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: grid; gap: 2px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; transition: color var(--t-fast); }
.footer-links a:hover { color: var(--gold-2); }
.footer-contact { text-align: right; }
.footer-contact p { margin: 0 0 6px; }
.footer-contact a { text-decoration: none; font-weight: 700; display: inline-block; min-height: 44px; padding-top: 10px; }
.footer-name { margin: 0; font-family: var(--font-display); font-size: clamp(56px, 12.5vw, 200px); line-height: .85; white-space: nowrap; }
.footer-legal { margin: 14px 0 0; font-size: 13px; color: var(--ink); max-width: 120ch; line-height: 1.5; }
.footer-legal a { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .rail-line { display: none; }
  .rail { grid-template-columns: auto 1fr auto; }
  .rail-nav { justify-self: end; }
}
@media (max-width: 1080px) {
  .infos-grid { grid-template-columns: 1fr 1fr; }
  .map { grid-column: 1 / -1; }
  .carte-cols { grid-column: 1 / -1; }
  .carte-detail { grid-column: 1 / -1; grid-template-columns: 120px 1fr; align-items: center; }
  .carte-detail .scissors { grid-row: span 3; width: 100%; }
}
@media (max-width: 900px) {
  :root { --rail-h: 64px; }
  .rail { grid-template-columns: 1fr auto; padding: 8px 8px 8px 20px; border-radius: 28px; }
  .rail-nav, .rail-cta { display: none; }
  .rail-menu { display: inline-block; }
  .rail-title { font-size: 28px; white-space: normal; }
  .booking, .team { grid-template-columns: minmax(0, 1fr); }
  .booking-side, .team-head { position: static; }
  .booking-chair { max-width: 300px; }
  .team-title { font-size: 17vw; }
  .member { grid-template-columns: 1fr; width: 82%; }
  .tool-pole { left: auto; right: var(--margin); }
}
@media (max-width: 760px) {
  .hero-low { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { flex: 1 1 auto; white-space: nowrap; padding: 0 18px; }
  .live { width: 100%; }
  .carte-photo { width: 100vw; top: 40px; opacity: .8; }
  .carte-cols { grid-template-columns: 1fr; gap: 40px; }
  .carte-item { font-size: 18px; line-height: 1.4; }
  .carte-group-sum { display: block; }
  .carte-detail { grid-template-columns: 1fr; }
  .carte-detail .scissors { display: none; }
  .wz-options, .wz-form, .wz-recap { grid-template-columns: 1fr; }
  .wz-nav .btn { flex: 1; }
  .gallery-band { display: block; min-height: 0; }
  .gallery-head { margin: 32px auto; }
  .gallery { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .g-item { position: relative; left: auto !important; top: auto !important; width: 100%; }
  .g-item:nth-child(n+6) { display: none; }
  .gallery-title { font-size: 11vw; }
  .infos-grid { grid-template-columns: 1fr; }
  .infos-photo { width: 100vw; height: 50%; }
  .call-number { font-size: 15vw; }
  .footer { min-height: 88svh; }
  .footer-contact { text-align: left; }
  .footer-name { font-size: 15vw; white-space: normal; }
  .tool-pole { top: 20px; transform: scale(.5); transform-origin: top right; }
}
@media (max-width: 420px) {
  .wz-pstep { font-size: 13px; padding-inline: 0; }
  .wz-progress { gap: 4px; }
}

/* ---------- Réservation en ligne fermée (désactivée ou pause) ---------- */
.wizard[hidden], .booking-closed[hidden] { display: none !important; }
.booking-closed {
  position: relative; padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 16px; align-content: start;
  box-shadow: 0 0 0 1px rgba(233, 162, 59, 0.45) inset;
}
.bc-kicker { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 700; color: #F3C27A; text-transform: uppercase; letter-spacing: 0.06em; }
.bc-dot { width: 10px; height: 10px; border-radius: 50%; background: #E9A23B; box-shadow: 0 0 0 5px rgba(233, 162, 59, 0.2); flex: none; }
.bc-title { margin: 0; max-width: 28ch; font-family: var(--font-body); font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.bc-title:focus { outline: none; }
.bc-dates { margin: 0; justify-self: start; padding: 8px 14px; border-radius: 999px; background: rgba(233, 162, 59, 0.16); color: var(--ink); font-size: var(--fs-s); font-weight: 700; }
.bc-walkin { margin: 0; max-width: 52ch; font-size: var(--fs-s); line-height: 1.55; color: var(--ink); }
.bc-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.bc-btns .btn { display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 760px) { .bc-btns .btn { flex: 1 1 auto; } }
.wz-day.is-paused .wz-day-state { color: #F3C27A; }
/* Fermé : l'intro parle de réservation immédiate, on la retire ; sur mobile, l'encart remonte sous le titre */
.booking.is-closed .section-lead { display: none; }
@media (max-width: 900px) { .booking.is-closed .booking-chair { display: none; } }
/* Titres modifiables depuis l'admin : jamais de débordement horizontal */
[data-text] { overflow-wrap: break-word; }

/* Squelettes discrets pendant le chargement du store */
/* Section hors écran : ses animations en boucle sont mises en pause (voir initOffscreenPause) */
.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }

.skeleton { display: inline-block; color: var(--ink-2); animation: breathe 1.4s var(--ease-in-out) infinite alternate; }
@keyframes breathe { from { opacity: .45; } to { opacity: 1; } }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .js .hero-slide.is-on, .skeleton, .pole-stripes, .marquee-track, .blade, .map-pin svg, .map-pulse, .live-dot::after { animation: none !important; }
  .js .hero-copy > *, .js .live { animation: none !important; opacity: 1 !important; transform: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .check-ring, .check-tick { stroke-dashoffset: 0 !important; }
}
