/* Hi Happiness · aperçu v3 « La main qui dit Hi »
   Même marque que v1 : papier #F5F2EC, encre #1E1A1D, rouge vernis #B3122E ; Fraunces + DM Sans.
   Ce qui change : une main dessinée d’un trait, qui dit bonjour puis suit le soin choisi. */

:root {
  --paper: #F5F2EC;
  --band: #EBE5DC;
  --ink: #1E1A1D;
  --ink-2: #544B50;
  --red: #B3122E;
  --red-deep: #8E0E25;
  --red-l: #F2849A;
  --ink-2-d: #BDB3B7;
  --mist: #DCE5E6;
  --rule: rgba(30, 26, 29, .18);
  --rule-strong: rgba(30, 26, 29, .55);
  --rule-d: rgba(245, 242, 236, .22);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --pad: clamp(16px, 4vw, 48px);
  --gap: clamp(12px, 1.8vw, 24px);
  --max: 1360px;
  --top-h: 64px;
  --focus: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; hanging-punctuation: first allow-end; scroll-padding-top: calc(var(--top-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-optical-sizing: auto; font-size: 17px; line-height: 1.55; overflow-x: clip; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input { font: inherit; color: inherit; }
button { touch-action: manipulation; cursor: pointer; }
address { font-style: normal; }
p { text-wrap: pretty; hyphens: auto; }
h1, h2, h3 { text-wrap: balance; font-weight: inherit; }
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.on-dark { --focus: var(--paper); background: var(--ink); color: var(--paper); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tnum { font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.fn { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.figno { font-family: var(--sans); font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-right: .5em; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 16px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; transform: translateY(-160%); transition: transform 200ms var(--ease-out); }
.skip:focus-visible { transform: none; outline-color: var(--red); }
.g12 { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; display: grid; grid-template-columns: [full-start] repeat(12, minmax(0, 1fr)) [full-end]; column-gap: var(--gap); }
.g12 > * { grid-column: full; min-width: 0; }
.tag { display: inline-block; padding: 1px 8px; margin-right: 4px; border: 1px solid currentColor; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 48px; padding: 12px 22px; border: 1.5px solid transparent; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn--red { background: var(--red); color: var(--paper); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--ghost { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.btn--paper { background: var(--paper); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn--red:hover { background: var(--red-deep); }
  .btn--line:hover, .btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .btn--paper:hover { background: var(--mist); }
}

/* bandeau aperçu, en-tête, menu */
.apercu { background: var(--mist); font-size: 14px; line-height: 1.45; }
.apercu__in { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; padding-block: 8px; }
.apercu__tag { font-family: var(--serif); font-style: italic; color: var(--red); font-size: 15.5px; }
.apercu__links { display: flex; flex-wrap: wrap; gap: 8px 1.25rem; }
.apercu__link { font-weight: 600; text-decoration: underline; display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 1200px) { .apercu__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 32px; } }
@media (hover: hover) and (pointer: fine) { .apercu__link:hover { color: var(--red); } }
.top { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--rule); }
.top__in { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; min-height: var(--top-h); display: flex; align-items: center; gap: 24px; }
.wm { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; margin-right: auto; padding-block: 10px; }
.wm__name { font-family: var(--serif); font-size: 24px; line-height: 1; letter-spacing: -.015em; }
.wm__name em { color: var(--red); }
.wm__sub { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.top__nav ul { display: flex; gap: 4px; }
.top__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 15px; text-decoration: none; border-radius: 999px; transition: background-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .top__nav a:hover { background: var(--band); } }
.top__menu { display: none; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; place-items: center; transition: transform 160ms var(--ease-out); }
.top__menu:active { transform: scale(.95); }
.top__menu-icon, .top__menu-icon::before { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform 220ms var(--ease-out); }
.top__menu-icon::before { content: ""; position: absolute; left: 0; top: 6px; }
.top__menu-icon { transform: translateY(-3px); }
.top__menu[aria-expanded="true"] .top__menu-icon { transform: rotate(45deg); }
.top__menu[aria-expanded="true"] .top__menu-icon::before { transform: translateY(-6px) rotate(-90deg); }
.menu { position: fixed; inset: var(--menu-top, 64px) 0 0 0; z-index: 25; background: var(--paper); padding: 20px var(--pad) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; opacity: 0; transform: translateY(-8px); transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }
.menu.is-open { opacity: 1; transform: none; }
.menu__list li { border-bottom: 1px solid var(--rule); }
.menu__list a { display: flex; align-items: center; min-height: 56px; padding: 8px 0; font-family: var(--serif); font-size: 30px; line-height: 1.1; letter-spacing: -.02em; text-decoration: none; }
.menu__foot { display: flex; flex-direction: column; gap: 4px; padding-top: 24px; color: var(--ink-2); }
.menu__foot a { font-size: 22px; font-weight: 600; color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- la main ---------- */
.hand { overflow: visible; }
.hand__line { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hand__crease { fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-linecap: round; }
.hand__cuff { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.nail { fill: var(--paper); stroke: var(--ink); stroke-width: 2; transition: fill 260ms ease, fill-opacity 260ms ease, stroke 260ms ease; }
.nail__shine { fill: none; stroke: var(--paper); stroke-width: 2.2; stroke-linecap: round; opacity: 0; transition: opacity 260ms ease; }
.hand--lacquered .nail, .hand[data-state="ongles"] .nail { fill: var(--red); }
.hand--lacquered .nail__shine, .hand[data-state="ongles"] .nail__shine { opacity: .75; }
.hand__g { transform-box: view-box; transform-origin: 150px 410px; transform: rotate(-5deg); }
.wax { opacity: 0; transform: translateX(-10px); transition: opacity 220ms var(--ease-out), transform 280ms var(--ease-out); }
.wax path { fill: none; stroke: var(--ink-2); stroke-width: 2.2; stroke-linecap: round; }
.hand[data-state="epil"] .wax { opacity: 1; transform: none; }
.hand[data-state="depose"] .nail { fill: var(--red); fill-opacity: .3; }
.calm path { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; opacity: 0; transform: scale(.96); transform-box: fill-box; transform-origin: center; transition: opacity 240ms var(--ease-out), transform 300ms var(--ease-out); }
.hand[data-state="model"] .calm path { opacity: 1; transform: none; }
.hand[data-state="model"] .calm path:nth-child(2) { transition-delay: 60ms; }
.hand[data-state="model"] .calm path:nth-child(3) { transition-delay: 120ms; }
@keyframes wave { 0% { transform: rotate(-5deg); } 22% { transform: rotate(-13deg); } 48% { transform: rotate(3deg); } 72% { transform: rotate(-9deg); } 100% { transform: rotate(-5deg); } }
.is-ready .hand--wave .hand__g { animation: wave 1400ms var(--ease-in-out) 300ms 1 both; }

/* ---------- héros ---------- */
.hero { padding-block: clamp(24px, 4vw, 56px) clamp(40px, 6vw, 80px); }
.hero__grid { align-items: center; }
.hero__hand { grid-column: 1 / 6; grid-row: 1; justify-self: center; width: min(100%, 420px); }
.hero__hand svg { width: 100%; height: auto; max-height: min(68vh, 560px); }
.hero__cap { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-2); text-align: center; }
.hero__text { grid-column: 6 / 13; grid-row: 1; align-self: end; padding-bottom: 0; }
.hero__grid > .facts { grid-column: 1 / 6; grid-row: 2; margin-top: 18px; }
.hero__kind { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.hero__kind sup { font-size: .75em; line-height: 0; text-transform: lowercase; }
.hero__h { font-family: var(--serif); font-weight: 350; font-size: clamp(3.6rem, 8.4vw, 8.8rem); line-height: .88; letter-spacing: -.03em; }
.hero__mask { display: inline-block; clip-path: inset(-.3em -.3em 0 -.3em); padding-bottom: .22em; margin-bottom: -.22em; }
.hero__l { display: inline-block; }
.hero__l em { font-style: italic; font-weight: 400; color: var(--red); }
.js .hero__l { transform: translateY(calc(100% + .3em)); }
.is-ready .hero__l { transform: none; transition: transform 700ms var(--ease-out); }
.is-ready .hero__l--2 { transition-delay: 80ms; }
.hero__lede { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.25; max-width: 30ch; }
.hero__addr { margin-top: 12px; }
.hero__addr span { display: block; color: var(--ink-2); font-size: 15px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 22px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 32px; border-top: 1px solid var(--ink); }
.facts li { padding-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.facts__k { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.facts__v { font-family: var(--serif); font-size: 20px; line-height: 1.2; }
a.facts__v { text-decoration: underline; text-decoration-color: var(--rule-strong); align-self: start; min-height: 44px; display: inline-flex; align-items: center; }
.facts sup { color: var(--red); }

/* ---------- le tableau ---------- */
.board { padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid var(--rule); background: var(--band); }
.board__aside { grid-column: 1 / 6; align-self: start; position: sticky; top: calc(var(--top-h) + 24px); display: grid; gap: 18px; }
.hand--board { width: 100%; height: auto; max-height: min(38vh, 380px); }
.sel { background: var(--paper); border: 1.5px solid var(--ink); border-radius: 6px; padding: 16px 18px 12px; }
.sel__t { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.sel__hint { margin-top: 4px; font-family: var(--serif); font-style: italic; font-size: 17px; }
.sel__row { display: grid; grid-template-columns: 6.5em 1fr; gap: 10px; align-items: baseline; padding-block: 6px; border-bottom: 1px dotted var(--rule-strong); }
.sel__row:last-child { border-bottom: 0; }
.sel__row dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.sel__row dd { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 8px; }
.sel__v { font-family: var(--serif); font-size: 17px; line-height: 1.25; }
.sel__row--price .sel__v { color: var(--red); font-weight: 500; font-variant-numeric: tabular-nums; }
.sum-edit { min-height: 44px; padding: 0 2px; border: 0; background: none; font-size: 13px; font-weight: 600; color: var(--red); text-decoration: underline; text-underline-offset: .2em; transition: transform 160ms var(--ease-out); }
.sum-edit:active { transform: scale(.97); }
.board__main { grid-column: 7 / 13; min-width: 0; display: grid; gap: clamp(64px, 8vw, 104px); }
.block__head { margin-bottom: 26px; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 4.4vw, 4.4rem); line-height: .95; letter-spacing: -.025em; display: flex; align-items: baseline; gap: .25em; }
.h2::before { content: ""; flex: none; width: .34em; height: .5em; border-radius: 50% 50% 42% 42% / 64% 64% 36% 36%; background: var(--red); transform: translateY(-.04em); }
.on-dark .h2::before { background: var(--red-l); }
.block__note { margin-top: 14px; font-size: 15px; color: var(--ink-2); max-width: 56ch; }
.block__note strong { color: var(--ink); font-weight: 600; }
.fams__nav { display: none; }
.fams__btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); font-size: 18px; transition: transform 160ms var(--ease-out), opacity 160ms ease; }
.fams__btn:active:not(:disabled) { transform: scale(.95); }
.fams__btn:disabled { opacity: .35; cursor: default; }
.famp + .famp { margin-top: 36px; }
.famp__t { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.05; padding-bottom: 6px; }
.famp__k { font-size: 14.5px; color: var(--ink-2); padding-bottom: 10px; border-bottom: 1.5px solid var(--ink); }
.famp__k a { color: var(--ink); font-weight: 600; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 16px; min-height: 60px; padding-block: 8px; border-bottom: 1px solid var(--rule); }
.item__name { font-weight: 600; font-size: 16.5px; line-height: 1.25; }
.item__meta { font-size: 15px; color: var(--ink-2); text-align: right; }
.item__price { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.item__book { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.item__book:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .item__book:hover { background: var(--ink); color: var(--paper); } }
.js [data-reveal="rows"] .item { opacity: 0; transform: translateY(6px); }
[data-reveal="rows"].is-in .item { opacity: 1; transform: none; transition: opacity 400ms var(--ease-out) calc(var(--i, 0) * 40ms), transform 500ms var(--ease-out) calc(var(--i, 0) * 40ms); }
.book__pick { display: none; }

/* ---------- réservation ---------- */
.nojs { padding: 20px; border: 1.5px dashed var(--rule-strong); border-radius: 10px; }
.steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.steps__b {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 8px; border: 1.5px solid var(--rule-strong); border-radius: 999px; background: transparent;
  font-size: 15px; font-weight: 600; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.steps__b:active:not(:disabled) { transform: scale(.97); }
.steps__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--paper); font-variant-numeric: tabular-nums; }
.steps__b[aria-current="step"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.steps__b[aria-current="step"] .steps__n { background: var(--paper); color: var(--ink); }
.steps__b:disabled { color: var(--ink-2); border-style: dashed; cursor: not-allowed; }
.panel { transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
.panel.is-enter { opacity: 0; transform: translateX(12px); transition: none; }
.panel.is-enter-back { opacity: 0; transform: translateX(-12px); transition: none; }
.panel__t { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1; letter-spacing: -.02em; margin-bottom: 10px; }
.panel__t:focus { outline: none; }
.panel__t:focus-visible { outline: 2px solid var(--focus); }
.panel__note { font-size: 14.5px; color: var(--ink-2); margin-bottom: 20px; max-width: 60ch; }
.panel__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.opts { display: grid; }
.opt__group + .opt__group { margin-top: 8px; }
.opt__fam { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 14px 4px 6px; border-bottom: 1px solid var(--rule-strong); }
.opt { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; column-gap: 14px; min-height: 56px; padding: 8px 4px; border-bottom: 1px solid var(--rule); cursor: pointer; transition: transform 160ms var(--ease-out); }
.opt:active { transform: scale(.99); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__box { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; background: var(--paper); }
.opt__box::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); transform: scale(.4); opacity: 0; transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out); }
.opt input:checked ~ .opt__box::after { transform: none; opacity: 1; }
.opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.opt__name { font-size: 16.5px; line-height: 1.3; }
.opt__name small { display: block; font-size: 13.5px; color: var(--ink-2); }
.opt__price { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .opt:hover { background: var(--band); } }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: 66px; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 6px 12px; margin-inline: -6px; }
@media (min-width: 1100px) { .days { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: visible; } }
.day { scroll-snap-align: start; position: relative; }
.day input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.day > span { display: grid; justify-items: center; gap: 2px; padding: 10px 4px 8px; min-height: 84px; border: 1.5px solid var(--rule-strong); border-radius: 14px; background: var(--paper); cursor: pointer; transition: transform 160ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.day:active > span { transform: scale(.97); }
.day__w { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.day__d { font-family: var(--serif); font-size: 26px; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.day__m { font-size: 12px; color: var(--ink-2); }
.day input:checked + span { background: var(--red); color: var(--paper); border-color: var(--red); }
.day input:checked + span .day__w, .day input:checked + span .day__m { color: var(--paper); }
.day input:disabled + span { background: transparent; border-style: dashed; cursor: not-allowed; color: var(--ink-2); }
.day input:disabled + span .day__d { text-decoration: line-through; text-decoration-thickness: 1px; }
.day input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.slots { display: grid; gap: 18px; }
.slots__g h4 { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.slot > span { display: grid; place-items: center; min-height: 46px; border: 1.5px solid var(--rule-strong); border-radius: 999px; background: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 180ms ease, color 180ms ease; }
.slot:active > span { transform: scale(.97); }
.slot input:checked + span { background: var(--red); border-color: var(--red); color: var(--paper); }
.slot input:disabled + span { background: transparent; color: var(--ink-2); border-style: dashed; text-decoration: line-through; cursor: not-allowed; font-weight: 400; }
.slot input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.slots__empty { padding: 16px; border: 1.5px dashed var(--rule-strong); border-radius: 10px; }
.fields { display: grid; gap: 18px; max-width: 440px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field input { width: 100%; min-height: 50px; padding: 12px 14px; font-size: 17px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--paper); }
.field input::placeholder { color: #6F6569; opacity: 1; }
.field input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.field input[aria-invalid="true"] { border-color: var(--red); }
.hint { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.err { font-size: 14px; font-weight: 600; color: var(--red); margin-top: 8px; }
.recap { margin-top: 24px; padding: 16px 18px; border-left: 3px solid var(--red); background: var(--paper); display: grid; gap: 2px; max-width: 440px; }
.recap:empty { display: none; }
.recap strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.recap small { color: var(--ink-2); font-size: 14px; }
.recap__price { color: var(--red); font-weight: 600; }
.done__t { font-size: clamp(2.2rem, 4vw, 3.4rem); font-style: italic; }
.done__when { font-family: var(--serif); font-size: 21px; line-height: 1.35; max-width: 34ch; margin-top: 8px; }
.done__sim { margin-top: 18px; padding: 14px 16px; border: 1.5px dashed var(--rule-strong); border-radius: 10px; font-size: 15px; max-width: 58ch; }


/* ---------- pratique : quatre blocs, quatre formes ---------- */
.plate { padding-block: clamp(56px, 8vw, 104px); }
.plate .g12 { gap: 0; border: 1px solid var(--ink); padding: 0; }
.pl { grid-column: span 6; padding: clamp(18px, 2.4vw, 32px); display: grid; gap: 14px; align-content: start; }
.pl:nth-child(odd) { border-right: 1px solid var(--ink); }
.pl:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
.pl__no { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.pl__t { font-family: var(--serif); font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1; letter-spacing: -.015em; }
.pl__t em { color: var(--ink-2); font-weight: 300; }
.pl__p { font-size: 15.5px; max-width: 52ch; }
.pl__p a { font-weight: 600; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.wk { display: grid; justify-items: center; gap: 6px; padding: 10px 2px 12px; border: 1px solid var(--rule-strong); border-radius: 10px; }
.wk__d { font-family: var(--serif); font-size: 1.6rem; line-height: 1; }
.wk__h { font-size: 12px; text-align: center; line-height: 1.35; color: var(--ink-2); }
.wk--off { border-style: dashed; }
.wk--off .wk__h { font-family: var(--serif); font-style: italic; }
.wk.is-today { background: var(--red); border-color: var(--red); color: var(--paper); }
.wk.is-today .wk__h { color: var(--paper); }
.wk.is-today::after { content: "auj."; font-size: 11px; font-weight: 600; letter-spacing: .06em; }
@media (hover: hover) and (pointer: fine) { .board .opt:hover { background: var(--paper); } }
.pl__addr { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.pl__addr span { color: var(--red); font-style: italic; }
.pl__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pl__big { font-family: var(--serif); font-weight: 300; font-size: clamp(4.5rem, 8vw, 7rem); line-height: .85; letter-spacing: -.04em; }
.pl__of { font-size: .32em; color: var(--ink-2); letter-spacing: 0; }
.pl__p sup { color: var(--red); }
.pl--note { background: var(--paper); }
.pl--rue { background: var(--mist); }
.pl__quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.3; max-width: 34ch; }

/* ---------- à compléter ---------- */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.todo__head { grid-column: 1 / 6; align-self: start; }
.todo__lede { margin-top: 16px; color: #E9E4DE; max-width: 36ch; margin-bottom: 24px; }
.check { grid-column: 7 / 13; border-top: 1px solid var(--rule-d); }
.check li { display: grid; grid-template-columns: 22px auto minmax(0, 1fr); align-items: baseline; column-gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--rule-d); }
.check__box { width: 18px; height: 18px; border: 1.5px solid var(--paper); border-radius: 3px; position: relative; top: 2px; }
.is-done .check__box { background: var(--red-l); border-color: var(--red-l); }
.is-done .check__box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check__k { font-family: var(--serif); font-size: 1.25rem; }
.check__v { font-family: var(--serif); font-style: italic; color: var(--ink-2-d); text-align: right; }
.check li:not(.is-done)::after { content: ""; grid-column: 2 / -1; height: 1.4em; border-bottom: 1.5px dotted var(--ink-2-d); }

/* ---------- questions ---------- */
.faq__h { grid-column: 1 / 5; align-self: start; }
.faq { grid-column: 5 / 13; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding-block: 14px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.2; transition: transform 160ms var(--ease-out); }
.faq summary:active { transform: scale(.99); }
.faq summary::-webkit-details-marker { display: none; }
.faq__i { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); position: relative; transition: transform 220ms var(--ease-out), background-color 200ms ease; }
.faq__i::before, .faq__i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq__i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__i { transform: rotate(45deg); }
.faq__a { padding-bottom: 20px; max-width: 62ch; color: var(--ink-2); }
.faq__a a { color: var(--ink); font-weight: 600; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover .faq__i { background: var(--band); } }

/* ---------- pied ---------- */
.foot { padding-block: clamp(48px, 7vw, 88px) calc(32px + env(safe-area-inset-bottom)); border-top: 1.5px solid var(--ink); }
.foot .g12 { row-gap: 28px; }
.foot__bye { grid-column: 1 / -1; }
.foot__link { display: inline-flex; align-items: flex-end; gap: 14px; text-decoration: none; font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 8vw, 7.5rem); line-height: .9; letter-spacing: -.04em; }
.hand--mini { width: clamp(44px, 6vw, 84px); height: auto; flex: none; }
.hand--mini .hand__g { transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .foot__link:hover .hand--mini .hand__g { transform: rotate(-16deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .foot__link:focus-visible .hand--mini .hand__g { transform: rotate(-16deg); }
}
.foot__col { grid-column: span 4; }
.foot__h { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.foot__col a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__legal { grid-column: 6 / 13; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.foot__legal strong { color: var(--ink); font-weight: 600; }
.foot__legal a { color: var(--ink); font-weight: 600; display: inline-block; padding-block: 12px; }
.foot__sep { margin-inline: 8px; }
.foot__colo { font-family: var(--serif); font-style: italic; }

.bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .top__nav a { padding: 0 9px; font-size: 14.5px; }
  .wm__sub { display: none; }
  .board__aside { grid-column: 1 / 5; }
  .board__main { grid-column: 5 / 13; }
}
@media (max-width: 899px) {
  :root { --top-h: 60px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .top__in { gap: 10px; }
  .top__nav { display: none; }
  .top__menu { display: grid; }
  .wm__name { font-size: 22px; }
  .hero__hand, .hero__text, .hero__grid > .facts { grid-column: 1 / -1; }
  .hero__hand { grid-row: 1; }
  .hero__text { grid-row: 2; padding-bottom: 0; }
  .hero__grid > .facts { grid-row: 3; margin-top: 28px; }
  .hero__hand { width: min(48vw, 190px); }
  .hero__hand svg { max-height: 270px; }
  .hero__text { margin-top: 18px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
  .board__aside { display: none; }
  .board__main { grid-column: 1 / -1; }
  .book__pick:not([hidden]) { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px; margin-bottom: 20px; padding: 10px 14px; border-left: 3px solid var(--red); background: var(--paper); font-size: 15px; line-height: 1.4; }
  .hand--pick { width: 44px; height: 62px; }
  .book__pick-t span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
  .fams__nav { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
  .fams__hint { margin-right: auto; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
  .fams { align-items: start; display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 4px 2px 14px; margin-inline: -2px; overscroll-behavior-x: contain; }
  .famp { scroll-snap-align: start; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 4px; padding: 16px 14px 8px; }
  .famp + .famp { margin-top: 0; }
  .item { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name book" "meta book"; row-gap: 0; }
  .item__name { grid-area: name; }
  .item__meta { grid-area: meta; text-align: left; }
  .item__book { grid-area: book; }
  .pl { grid-column: 1 / -1; }
  .pl:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--ink); }
  .pl:last-child { border-bottom: 0; }
  .todo__head, .check, .faq__h, .faq { grid-column: 1 / -1; }
  .todo__head { margin-bottom: 28px; }
  .faq__h { margin-bottom: 22px; }
  .foot__col, .foot__legal { grid-column: 1 / -1; }
  .bar { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule-strong); transform: translateY(110%); transition: transform 280ms var(--ease-drawer); }
  .bar.is-on { transform: none; }
  .bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; border-radius: 999px; text-decoration: none; font-weight: 600; line-height: 1.15; transition: transform 160ms var(--ease-out); }
  .bar a:active { transform: scale(.97); }
  .bar__call { border: 1.5px solid var(--ink); font-size: 14px; }
  .bar__k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
  .bar__book { background: var(--red); color: var(--paper); font-size: 17px; }
}
@media (max-width: 599px) {
  .apercu { font-size: 13px; }
  .apercu__in { padding-block: 4px; }
  .apercu__in p { padding-top: 6px; }
  .hero__h { font-size: clamp(3.4rem, 17vw, 4.4rem); }
  .hero__cta .btn { flex: 1 1 100%; }
  .h2 { font-size: clamp(2.2rem, 10vw, 2.7rem); }
  .week { gap: 4px; }
  .wk__d { font-size: 1.3rem; }
  .wk__h { font-size: 11.5px; }
  .check li { grid-template-columns: 22px minmax(0, 1fr); }
  .check__v { grid-column: 2; text-align: left; }
  .steps { gap: 8px; }
  .steps__b { padding: 6px 10px 6px 6px; gap: 6px; font-size: 14px; }
  .steps__n { width: 22px; height: 22px; }
  .panel__nav .btn { flex: 1 1 auto; }
}

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .hero__l, .is-ready .hero__l { transform: none; transition: none; }
  .is-ready .hand--wave .hand__g { animation: none; }
  .wax, .calm path, .hand--mini .hand__g { transition: opacity 160ms ease; transform: none !important; }
  .js [data-reveal="rows"] .item { opacity: 1; transform: none; transition: none; }
  .panel, .panel.is-enter, .panel.is-enter-back { transform: none; transition: opacity 160ms ease; }
  .menu { transform: none; transition: opacity 160ms ease; }
  .bar { transition: none; }
  .faq__i, .top__menu-icon, .top__menu-icon::before { transition: none; }
}
@media print {
  .apercu, .top, .menu, .bar, .book, .board__aside { display: none !important; }
  .on-dark { background: none; color: #000; }
}

/* passe 2 : liens du bandeau et du pied */
.foot__links { display: flex; flex-wrap: wrap; align-items: center; row-gap: 8px; }
@media (max-width: 599px) { .apercu__links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; } .apercu__link { line-height: 1.25; } }

/* passe 2 : les petites mains gardent un trait lisible */
.hand--pick :is(.hand__line, .hand__cuff, .nail, .wax path, .calm path),
.hand--mini :is(.hand__line, .hand__cuff, .nail) { vector-effect: non-scaling-stroke; stroke-width: 1.5px; }
.hand--pick :is(.hand__crease, .nail__shine), .hand--mini :is(.hand__crease, .nail__shine) { display: none; }

/* passe 3 : à 44 px, les ongles se lisent par leur contour rouge */
.hand--pick .nail, .hand--mini .nail { stroke: transparent; }
.hand--pick:is([data-state="ongles"], [data-state="depose"]) .nail, .hand--mini .nail { stroke: var(--red); stroke-width: 2.5px; }
.hand--pick[data-state="depose"] .nail { stroke-opacity: .35; }
