/* L’Atelier d’Axelle : la page cliente. Styles de la maquette validée (design/a-app/styles.css), repris tels quels,
   puis les compléments de l'app réelle en fin de fichier.
   Polices : Instrument Serif et Instrument Sans (SIL OFL 1.1, voir fonts/OFL-Instrument*.txt). */
@font-face { font-family: 'Instrument Serif'; src: url(/fonts/InstrumentSerif-Regular-latin.woff2) format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(/fonts/InstrumentSerif-Italic-latin.woff2) format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url(/fonts/InstrumentSans-latin.woff2) format('woff2'); font-style: normal; font-weight: 400 700; font-display: swap; }


:root {
  color-scheme: light;
  --bg: #FAF7F2;
  --bg-2: #F2ECE4;
  --surface: #FFFFFF;
  --ink: #1C1714;
  --ink-2: #5B524B;
  --ink-3: #736860;
  --line: rgba(43, 32, 27, .10);
  --line-2: rgba(43, 32, 27, .18);
  --clay: #A34A2F;
  --clay-ink: #84391F;
  --clay-soft: #F6E6DC;
  --cacao: #2B201B;
  --blush: #EFD9CE;
  --sand: #ECDFC8;
  --mist: #E0DCE8;
  --sage: #D7DECD;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 14px;
  --sh-1: 0 1px 2px rgba(43, 32, 27, .05), 0 0 0 1px rgba(43, 32, 27, .05);
  --sh-2: 0 1px 2px rgba(43, 32, 27, .04), 0 14px 34px -14px rgba(43, 32, 27, .22);
  --sh-3: 0 30px 70px -24px rgba(43, 32, 27, .45);
  /* Mouvement : 3 durées, 2 courbes, 1 ressort. Rien d'autre dans le fichier.
     t-1 : retour du toucher, couleurs. t-2 : sorties, fondus, petits changements.
     t-3 : entrées, déplacements, écrans. --step : décalage entre éléments d'une liste. */
  --t-1: 120ms;
  --t-2: 240ms;
  --t-3: 440ms;
  --step: 36ms;
  /* Ressort court, 2 % de dépassement : rapide, jamais élastique. */
  --spring: linear(0, .055 2.4%, .21 5.9%, .44 10.8%, .67 16.6%, .84 22.8%, .945 30%, .995 37%, 1.016 44.6%, 1.019 51.5%, 1.011 61.5%, 1.003 75%, 1);
  --out: cubic-bezier(.22, 1, .36, 1);
  --in: cubic-bezier(.55, 0, .75, .2);
  --serif: 'Instrument Serif', 'Iowan Old Style', 'Times New Roman', serif;
  --sans: 'Instrument Sans', -apple-system, system-ui, sans-serif;
  --gutter: 20px;
  --col: 560px;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.17 0 0 0 0 0.12 0 0 0 0 0.1 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.5 var(--sans); letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: clip; /* clip, pas hidden : ne crée pas de zone de défilement, les barres collantes restent collées sur iPhone */
}
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2.5px solid var(--clay); outline-offset: 3px; border-radius: 12px; }
main:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

.shell { max-width: var(--col); margin: 0 auto; min-height: 100dvh; position: relative; background: var(--bg); }
@media (min-width: 760px) {
  body { background: var(--bg-2); }
  .shell { box-shadow: 0 0 0 1px var(--line), 0 40px 120px -40px rgba(43,32,27,.25); }
}

/* ---------- Toucher ---------- */
.tap { transition: transform var(--t-3) var(--spring), background-color var(--t-1), box-shadow var(--t-2) var(--out), opacity var(--t-1); }
.tap:active, .tap.is-pressed { transform: scale(.965); transition-duration: var(--t-1); }

/* ---------- Typographie ---------- */
.display { font: 400 46px/1.02 var(--serif); letter-spacing: -.022em; margin: 0; }
.display em, .h1 em, .h2 em { font-style: italic; }
.h1 { font: 400 40px/1.05 var(--serif); letter-spacing: -.02em; margin: 0; }
.h2 { font: 400 34px/1.08 var(--serif); letter-spacing: -.018em; margin: 0; }
.h3 { font: 600 17px/1.3 var(--sans); letter-spacing: -.01em; margin: 0; }
.eyebrow { font: 600 12px/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.lede { font-size: 17px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.45; }
.tbc { display: inline-block; font: 600 10.5px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--clay-ink); border: 1px dashed rgba(163,74,47,.55); border-radius: 6px; padding: 4px 6px 3px; vertical-align: 2px; white-space: nowrap; }

/* ---------- Barres ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; height: 60px; padding: 0 12px;
  display: flex; align-items: center; gap: 8px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  transition: box-shadow var(--t-2);
}
.topbar.scrolled { box-shadow: 0 1px 0 var(--line); }
.topbar .brand { flex: 1; font: 400 22px/1 var(--serif); letter-spacing: -.01em; padding-left: 8px; }
.topbar .brand small { display: block; font: 500 12px/1.2 var(--sans); letter-spacing: 0; color: var(--ink-3); margin-top: 3px; }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.iconbtn svg { width: 22px; height: 22px; }
.iconbtn.soft { background: var(--surface); box-shadow: var(--sh-1); }
.steps { flex: 1; display: flex; justify-content: center; gap: 6px; }
.steps i { width: 28px; height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; position: relative; }
.steps i.on::after { content: ''; position: absolute; inset: 0; background: var(--ink); border-radius: inherit; animation: fill var(--t-3) var(--out) both; }
@keyframes fill { from { transform: translateX(-100%); } }
.steps-label { width: 44px; }

.pad { padding: 0 var(--gutter); }
section { scroll-margin-top: 116px; }

/* ---------- Boutons ---------- */
.btn { min-height: 56px; padding: 0 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 16.5px/1 var(--sans); letter-spacing: -.01em; }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px rgba(28,23,20,.6); }
.btn-primary:hover { background: #000; }
.btn-clay { background: var(--clay); color: #fff; box-shadow: 0 10px 24px -12px rgba(163,74,47,.7); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: 15.5px; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.link svg { width: 18px; height: 18px; }
.link-arrow { text-decoration: none; }
.link-arrow svg { transition: transform var(--t-3) var(--spring); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Emplacements photo ---------- */
.ph {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 80% at 18% 12%, rgba(255,255,255,.75), transparent 55%),
    radial-gradient(90% 70% at 85% 90%, color-mix(in srgb, var(--tone, var(--blush)) 60%, #b98a74), transparent 70%),
    var(--tone, var(--blush));
}
.ph::before { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .22; mix-blend-mode: multiply; z-index: -1; }
.ph::after { /* lumière qui passe, lente et discrète */
  content: ''; position: absolute; inset: -40%; z-index: -1;
  background: conic-gradient(from 200deg at 50% 50%, transparent 0 40%, rgba(255,255,255,.35) 50%, transparent 60% 100%);
  opacity: .6;
}
@keyframes drift { to { transform: rotate(1turn); } }
.ph-tag { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px 7px 9px; border-radius: 999px; background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 600 12px/1.15 var(--sans); color: var(--ink); max-width: calc(100% - 24px); }
.ph-tag svg { width: 15px; height: 15px; flex: none; }
.tone-ongles { --tone: var(--blush); }
.tone-epil { --tone: var(--sand); }
.tone-regard { --tone: var(--mist); }
.tone-modelages { --tone: var(--sage); }
.tone-cabine { --tone: #E9DDD2; }

/* ---------- Accueil ---------- */
.hero { padding: 8px var(--gutter) 0; }
.hero .display { margin-top: 18px; }
.hero .display em { color: var(--clay); }
.hero .lede { margin-top: 16px; max-width: 30ch; }
.arch { margin-top: 26px; height: 440px; border-radius: 999px 999px var(--r-xl) var(--r-xl); box-shadow: var(--sh-2); }
@supports (corner-shape: squircle) { .arch { border-radius: 50% 50% var(--r-xl) var(--r-xl) / 34% 34% var(--r-xl) var(--r-xl); } }
.arch .ph-tag { bottom: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.next-slot {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 18px; border-radius: 22px;
  background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 10px 30px -12px rgba(43,32,27,.35); text-align: left;
}
.next-slot .live { width: 8px; height: 8px; border-radius: 50%; background: #3F8A5A; box-shadow: 0 0 0 4px rgba(63,138,90,.16); flex: none; }
.next-slot b { display: block; font-weight: 600; font-size: 15.5px; }
.next-slot span { font-size: 13.5px; color: var(--ink-2); }
.next-slot .go { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.next-slot .go svg { width: 20px; height: 20px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.trust span { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); background: var(--surface); border-radius: 999px; padding: 8px 12px; box-shadow: var(--sh-1); }
.trust svg { width: 16px; height: 16px; color: var(--clay); }

.cats { position: sticky; top: 60px; z-index: 25; margin-top: 30px; padding: 10px 0; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); }
.cats .rail { padding: 0 var(--gutter); }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--sans); white-space: nowrap; background: var(--surface); box-shadow: var(--sh-1); color: var(--ink); transition: background-color var(--t-2), color var(--t-2), transform var(--t-3) var(--spring), box-shadow var(--t-2); }
.chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.chip:disabled { opacity: .45; cursor: default; }

.rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: none; }

.univ { padding-top: 40px; }
.univ-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 0 var(--gutter); }
.univ-head p { margin: 8px 0 0; color: var(--ink-2); font-size: 15.5px; max-width: 34ch; }
.univ-head .count { font-size: 13px; color: var(--ink-3); white-space: nowrap; padding-bottom: 4px; }
.univ-photo { display: block; width: calc(100% - 2 * var(--gutter)); margin: 18px var(--gutter) 0; height: 210px; border-radius: var(--r-lg); text-align: left; }
.univ .rail { padding: 12px var(--gutter) 4px; }
.svc-card {
  width: 172px; min-height: 150px; padding: 16px; border-radius: 22px; background: var(--surface); box-shadow: var(--sh-1);
  display: flex; flex-direction: column; text-align: left; gap: 6px;
}
.svc-card .name { font: 600 16px/1.25 var(--sans); letter-spacing: -.01em; }
.svc-card .meta { font-size: 14px; color: var(--ink-2); }
.svc-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 10px; }
.svc-card .price { font: 400 26px/1 var(--serif); letter-spacing: -.01em; }
.svc-card .plus { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; transition: background var(--t-1), color var(--t-1), transform var(--t-3) var(--spring); }
.svc-card .plus svg { width: 18px; height: 18px; }
.svc-card:hover .plus { background: var(--ink); color: #fff; }
.svc-card.all { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); justify-content: center; align-items: flex-start; }
.svc-card.all .name { font: 400 24px/1.1 var(--serif); }

.block { padding: 56px var(--gutter) 0; }
.axelle { display: grid; grid-template-columns: 116px 1fr; gap: 18px; align-items: end; margin-top: 18px; }
.portrait { height: 150px; border-radius: 999px 999px 20px 20px; }
.portrait .ph-tag { left: 6px; right: 6px; bottom: 8px; font-size: 11px; padding: 6px 8px; justify-content: center; }
.axelle p { margin: 0; font-size: 16.5px; line-height: 1.5; }
.gallery { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 120px 120px; gap: 8px; margin-top: 18px; }
.gallery .ph { border-radius: 18px; }
.gallery .ph:first-child { grid-row: span 2; }
.gallery .ph-tag { font-size: 11px; left: 8px; bottom: 8px; padding: 6px 8px; }

.reviews-empty { margin-top: 18px; padding: 26px 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); position: relative; overflow: hidden; }
.stars { display: flex; gap: 4px; color: var(--clay); }
.stars svg { width: 20px; height: 20px; }
.stars.hollow { color: var(--line-2); }
.stars.filled svg { fill: currentColor; stroke: none; }
.reviews-empty p { margin: 14px 0 0; color: var(--ink-2); font-size: 15.5px; }
.score { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; }
.score b { font: 400 64px/1 var(--serif); letter-spacing: -.03em; }
.quote { width: 268px; padding: 20px; border-radius: 22px; background: var(--surface); box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 14px; }
.quote q { font: 400 21px/1.25 var(--serif); quotes: '« ' ' »'; }
.quote small { color: var(--ink-3); font-size: 13.5px; }
.sample { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; font: 600 12px/1.2 var(--sans); color: var(--clay-ink); background: var(--clay-soft); padding: 7px 10px; border-radius: 8px; }

.duo { margin-top: 18px; border-radius: var(--r-lg); padding: 22px; background: var(--cacao); color: #F6EEE8; position: relative; overflow: hidden; }
.duo::before { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .35; mix-blend-mode: overlay; }
.duo > * { position: relative; }
.duo .h2 { color: #fff; font-size: 30px; }
.duo p { margin: 10px 0 0; color: #E8DCD3; font-size: 15.5px; }
.duo .pair { display: flex; gap: 6px; margin-top: 18px; }
.duo .pair span { flex: 1; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.08); font-size: 13.5px; color: #E8DCD3; }
.duo .pair b { display: block; font: 400 22px/1.1 var(--serif); color: #fff; margin-bottom: 2px; }

.info { margin-top: 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); overflow: hidden; }
.map { height: 150px; position: relative; background: #EFE8DE; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; stroke: #fff; }
.map .pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); width: 40px; height: 40px; border-radius: 50% 50% 50% 4px; rotate: -45deg; background: var(--clay); box-shadow: 0 8px 20px -6px rgba(163,74,47,.7); }
.map .pin::after { content: ''; position: absolute; inset: 13px; border-radius: 50%; background: #fff; }
.info-row { display: flex; gap: 14px; padding: 16px 18px; border-top: 1px solid var(--line); align-items: flex-start; }
.info-row svg { width: 20px; height: 20px; color: var(--ink-3); margin-top: 2px; flex: none; }
.info-row .grow { flex: 1; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: 15px; margin: 0; }
.hours dt { color: var(--ink-2); }
.hours dd { margin: 0; text-align: right; }
.hours .today { font-weight: 600; color: var(--ink); }
.reassure { display: flex; gap: 12px; align-items: center; margin: 22px 0 0; padding: 16px 18px; border-radius: 18px; background: var(--clay-soft); font-size: 15px; font-weight: 500; color: var(--clay-ink); }
.reassure svg { width: 22px; height: 22px; flex: none; }
.footer { padding: 40px var(--gutter) 120px; text-align: center; color: var(--ink-3); font-size: 13px; }
.footer .mark { font: 400 26px/1 var(--serif); color: var(--ink); display: block; margin-bottom: 6px; }

.held-banner { position: sticky; top: 60px; z-index: 26; margin: 0 var(--gutter); padding: 14px 16px; border-radius: 18px; background: var(--ink); color: #fff; display: flex; gap: 12px; align-items: center; box-shadow: var(--sh-2); }
.held-banner svg { width: 22px; height: 22px; flex: none; color: #F2C2AE; }
.held-banner b { font-weight: 600; }

/* ---------- Univers ---------- */
.u-hero { margin: 4px var(--gutter) 0; height: 180px; border-radius: var(--r-lg); }
.u-title { padding: 22px var(--gutter) 0; }
.u-title p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; }
.anchors { position: sticky; top: 60px; z-index: 20; padding: 12px var(--gutter); margin-top: 14px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.anchors::-webkit-scrollbar { display: none; }
.group-title { padding: 26px var(--gutter) 8px; display: flex; align-items: baseline; justify-content: space-between; }
.group-title h2 { font: 400 26px/1.1 var(--serif); margin: 0; }
.list { margin: 0 var(--gutter); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); overflow: hidden; }
.row { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 18px; text-align: left; border-top: 1px solid var(--line); align-items: center; }
.row:first-child { border-top: 0; }
.row .name { font: 600 16.5px/1.3 var(--sans); letter-spacing: -.01em; }
.row .desc { grid-column: 1; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.row .meta { grid-column: 1; font-size: 14px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row .meta b { color: var(--ink); font-weight: 600; font-size: 15px; }
.row .choose { grid-row: 1 / span 3; grid-column: 2; align-self: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--bg-2); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; transition: background var(--t-1), color var(--t-1); }
.row:hover .choose { background: var(--ink); color: #fff; }
.row.in-basket .choose { background: var(--ink); color: #fff; }
.note-line { margin: 10px var(--gutter) 0; font-size: 14.5px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.desc .wait { font-style: italic; color: var(--ink-3); }

/* ---------- Créneaux ---------- */
.screen-title { padding: 10px var(--gutter) 0; }
.basket { margin: 18px var(--gutter) 0; padding: 6px 0; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.b-item { display: flex; gap: 12px; align-items: center; padding: 10px 10px 10px 18px; min-height: 56px; }
.b-item + .b-item { border-top: 1px solid var(--line); }
.b-item .grow { flex: 1; min-width: 0; }
.b-item .n { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.b-item .m { font-size: 13.5px; color: var(--ink-3); }
.b-item .p { font: 400 22px/1 var(--serif); }
.b-item .x { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-3); }
.b-item .x svg { width: 18px; height: 18px; }
.b-actions { display: flex; justify-content: space-between; padding: 4px 8px 4px 18px; border-top: 1px solid var(--line); }
.b-actions .link { font-size: 14.5px; }

.sugg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px var(--gutter) 0; }
.sugg button { padding: 14px 12px; min-height: 104px; border-radius: 20px; background: var(--surface); box-shadow: var(--sh-1); text-align: left; display: flex; flex-direction: column; gap: 4px; }
.sugg .l { font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; }
.sugg .d { font-size: 14.5px; font-weight: 600; margin-top: auto; }
.sugg .t { font: 400 28px/1 var(--serif); }
.sugg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sugg button[aria-pressed="true"] .l { color: rgba(255,255,255,.7); }
.section-label { padding: 28px var(--gutter) 0; display: flex; justify-content: space-between; align-items: baseline; }

.picker { position: sticky; top: 60px; z-index: 20; margin-top: 10px; padding: 8px 0 12px; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); transition: box-shadow var(--t-2); }
.picker.stuck { box-shadow: 0 1px 0 var(--line); }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--gutter); scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters .chip { min-height: 40px; padding: 0 15px; font-size: 14.5px; }
.days { padding: 12px var(--gutter) 2px; gap: 6px; align-items: flex-end; }
.month { font: 400 15px/1 var(--serif); font-style: italic; color: var(--ink-3); writing-mode: vertical-rl; rotate: 180deg; padding: 4px 2px; align-self: center; scroll-snap-align: none !important; }
.day { width: 58px; height: 74px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: var(--surface); box-shadow: var(--sh-1); position: relative; transition: background-color var(--t-2), color var(--t-2), transform var(--t-3) var(--spring), opacity var(--t-1); }
.day .wd { font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: lowercase; }
.day .dn { font: 400 26px/1 var(--serif); }
.day .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--clay); }
.day .dot.none { background: transparent; }
.day[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: 0 10px 20px -10px rgba(28,23,20,.7); }
.day[aria-pressed="true"] .wd { color: rgba(255,255,255,.7); }
.day[aria-pressed="true"] .dot { background: #F2C2AE; }
.day.closed { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); }
.day.closed .tag { font-size: 10.5px; font-weight: 600; }
.day.empty:not([aria-pressed="true"]) { opacity: .5; }
.day.week-gap { margin-left: 8px; }

.day-head { padding: 22px var(--gutter) 0; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.day-head h2 { font: 400 28px/1.1 var(--serif); margin: 0; }
.day-head span { font-size: 13.5px; color: var(--ink-3); white-space: nowrap; }
.slot-group { padding: 16px var(--gutter) 0; }
.slot-group h3 { margin: 0 0 10px; font: 600 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); display: flex; gap: 8px; align-items: center; }
.slot-group h3 svg { width: 16px; height: 16px; }
.pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pill { height: 56px; border-radius: 16px; background: var(--surface); box-shadow: var(--sh-1); display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 600; font-size: 15.5px; position: relative; transition: background-color var(--t-2), color var(--t-2), transform var(--t-3) var(--spring), box-shadow var(--t-2); }
.pill .end { font-size: 11.5px; font-weight: 500; opacity: 0; max-height: 0; transition: opacity var(--t-2), max-height var(--t-2) var(--out); }
.pill[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: 0 12px 22px -12px rgba(28,23,20,.75); }
.pill[aria-pressed="true"] .end { opacity: .75; max-height: 16px; margin-top: 2px; }
.empty-day { margin: 18px var(--gutter) 0; padding: 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.empty-day p { margin: 0 0 4px; color: var(--ink-2); }
.rules { padding: 28px var(--gutter) 0; font-size: 13.5px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; }
.rules svg { width: 16px; height: 16px; flex: none; }

.few { margin: 14px var(--gutter) 0; display: grid; gap: 10px; }
.few-item { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 22px; background: var(--surface); box-shadow: var(--sh-1); text-align: left; transition: background-color var(--t-2), color var(--t-2), transform var(--t-3) var(--spring); }
.few-item .t { font: 400 36px/1 var(--serif); letter-spacing: -.02em; min-width: 92px; }
.few-item .d { font-weight: 600; }
.few-item .e { font-size: 14px; color: var(--ink-3); }
.few-item .radio { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; flex: none; }
.few-item[aria-pressed="true"] { background: var(--ink); color: #fff; }
.few-item[aria-pressed="true"] .e { color: rgba(255,255,255,.7); }
.few-item[aria-pressed="true"] .radio { background: #fff; color: var(--ink); box-shadow: none; }
.few-item .radio svg { width: 16px; height: 16px; stroke-width: 2.4; opacity: 0; transform: scale(.4); transition: opacity var(--t-1), transform var(--t-3) var(--spring); }
.few-item[aria-pressed="true"] .radio svg { opacity: 1; transform: none; }
.week-nav { display: flex; justify-content: space-between; padding: 8px var(--gutter) 0; }

/* Barre du bas */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; max-width: var(--col); margin: 0 auto; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 62%, color-mix(in srgb, var(--bg) 0%, transparent)); transform: translateY(110%); transition: transform var(--t-3) var(--spring); view-transition-name: dock; }
.dock.show { transform: none; }
.dock-inner { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--sh-3); }
.dock-inner .sum { flex: 1; min-width: 0; line-height: 1.25; }
.dock-inner .sum b { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-inner .sum span { font-size: 13px; color: rgba(255,255,255,.7); }
.dock-inner .btn { background: #fff; color: var(--ink); min-height: 48px; padding: 0 20px; font-size: 15.5px; box-shadow: none; }
.dock .btn-primary.btn-block { min-height: 58px; }
.spacer { height: 130px; }

/* ---------- Coordonnées ---------- */
.form { padding: 0 var(--gutter); }
.field { margin-top: 14px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin: 0 0 8px 4px; }
.field input { width: 100%; height: 58px; padding: 0 18px; border-radius: 18px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 17px; transition: box-shadow var(--t-1); }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 5px rgba(28,23,20,.07); }
.field input::placeholder { color: #A1968D; }
.field .help { margin: 8px 4px 0; font-size: 13.5px; color: var(--ink-2); display: flex; gap: 6px; }
.field .help svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--clay); }
.field.err input { box-shadow: inset 0 0 0 2px #B3261E; animation: shake var(--t-2) var(--out); }
.field .msg { margin: 8px 4px 0; font-size: 14px; color: #B3261E; font-weight: 500; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 14px 4px; min-height: 44px; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { width: 26px; height: 26px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--line-2); background: var(--surface); display: grid; place-items: center; flex: none; transition: background var(--t-1), box-shadow var(--t-1); }
.check .box svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 2.6; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset var(--t-2) var(--out); }
.check input:checked + .box { background: var(--ink); box-shadow: none; }
.check input:checked + .box svg { stroke-dashoffset: 0; }
.check input:focus-visible + .box { outline: 2.5px solid var(--clay); outline-offset: 3px; }
.check b { display: block; font-weight: 600; }
.check span { font-size: 14px; color: var(--ink-2); }

.friend { margin-top: 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); overflow: hidden; transition: box-shadow var(--t-2); }
.friend.on { box-shadow: inset 0 0 0 2px var(--ink); }
.friend-head { width: 100%; display: flex; gap: 14px; align-items: center; padding: 16px 16px 16px 18px; text-align: left; min-height: 72px; }
.friend-head .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--clay-soft); color: var(--clay); display: grid; place-items: center; flex: none; }
.friend-head .ic svg { width: 22px; height: 22px; }
.friend-head .grow { flex: 1; }
.friend-head b { display: block; font-weight: 600; font-size: 16px; }
.friend-head span { font-size: 13.5px; color: var(--ink-2); }
.switch { width: 52px; height: 32px; border-radius: 999px; background: var(--line-2); position: relative; flex: none; transition: background var(--t-2); }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform var(--t-3) var(--spring); }
[aria-checked="true"] .switch { background: var(--ink); }
[aria-checked="true"] .switch::after { transform: translateX(20px); }
.reveal-box { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-3) var(--out); }
.reveal-box > div { overflow: hidden; }
.friend.on .reveal-box { grid-template-rows: 1fr; }
.friend-body { padding: 0 18px 18px; }
.timeline { display: flex; gap: 6px; margin-top: 4px; }
.timeline .seg { flex: 45; padding: 12px; border-radius: 14px; background: var(--bg-2); font-size: 13px; line-height: 1.3; }
.timeline .seg b { display: block; font-size: 15px; font-weight: 600; }
.timeline .seg.her { background: var(--clay-soft); color: var(--clay-ink); }
.timeline .gap { flex: 0 0 18px; display: grid; place-items: center; color: var(--ink-3); font-size: 11px; }
.seg-ctl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 16px; background: var(--bg-2); margin-top: 8px; }
.seg-ctl button { min-height: 44px; border-radius: 12px; font-weight: 600; font-size: 14px; transition: background var(--t-2), box-shadow var(--t-2); }
.seg-ctl button[aria-pressed="true"] { background: var(--surface); box-shadow: 0 2px 8px -2px rgba(43,32,27,.2); }
.mini-label { margin: 16px 0 0; font-weight: 600; font-size: 14.5px; }
.reward { margin-top: 14px; display: flex; gap: 10px; font-size: 14px; color: var(--clay-ink); background: var(--clay-soft); padding: 12px 14px; border-radius: 14px; }
.reward svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

.recap { margin-top: 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); padding: 18px; }
.recap .when { font: 400 26px/1.15 var(--serif); }
.recap ul { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.recap li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.recap li span:last-child { white-space: nowrap; }
.recap .total { font-weight: 600; padding-top: 8px; border-top: 1px solid var(--line); }

/* ---------- Confirmation ---------- */
.done-head { padding: 12px var(--gutter) 0; }
.done-mark { width: 64px; height: 76px; border-radius: 999px 999px 18px 18px; background: var(--clay); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 30px -14px rgba(163,74,47,.8); animation: pop var(--t-3) var(--spring) both; }
.done-mark svg { width: 30px; height: 30px; stroke-width: 2.4; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw var(--t-3) .35s var(--out) forwards; }
@keyframes pop { from { transform: scale(.6) translateY(10px); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-head .h1 { margin-top: 20px; }
.ticket { margin: 20px var(--gutter) 0; border-radius: var(--r-xl); background: var(--cacao); color: #fff; padding: 24px 22px; position: relative; overflow: hidden; box-shadow: var(--sh-3); animation: rise var(--t-3) .1s var(--spring) both; }
.ticket::before { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .35; mix-blend-mode: overlay; pointer-events: none; }
.ticket > * { position: relative; }
@keyframes rise { from { transform: translateY(30px) scale(.98); opacity: 0; } }
.ticket .date { font-weight: 600; font-size: 15.5px; color: #F2C2AE; }
.ticket .time { font: 400 92px/.95 var(--serif); letter-spacing: -.04em; margin-top: 6px; }
.ticket .svc { margin-top: 10px; font-size: 15.5px; color: #EADFD7; }
.ticket .addr { display: flex; gap: 8px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.22); font-size: 14.5px; color: #EADFD7; }
.ticket .addr svg { width: 18px; height: 18px; flex: none; }
.ticket .her { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.08); font-size: 14.5px; }
.ticket .her b { font: 400 26px/1 var(--serif); }
.status { margin: 14px var(--gutter) 0; font-size: 14.5px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }
.status svg { width: 18px; height: 18px; color: #3F8A5A; flex: none; margin-top: 2px; }
.card { margin: 18px var(--gutter) 0; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.card .h3 + p, .card p.t { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.card .acts { display: flex; gap: 10px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.friend-offer { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), var(--sh-2); animation: rise var(--t-3) .3s var(--spring) both; }
.friend-offer .slotchip { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 14px; border-radius: 14px; background: var(--clay-soft); color: var(--clay-ink); font-weight: 600; font-size: 15px; }
.friend-offer .slotchip svg { width: 18px; height: 18px; }
.guarantee { margin-top: 12px; font-size: 13.5px; color: var(--ink-3); display: flex; gap: 6px; }
.guarantee svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px var(--gutter) 0; }
.quick button { min-height: 92px; border-radius: 20px; background: var(--surface); box-shadow: var(--sh-1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 13.5px; font-weight: 600; text-align: center; padding: 10px 6px; }
.quick svg { width: 24px; height: 24px; }
.comeback { background: var(--clay); color: #fff; position: relative; overflow: hidden; }
.comeback::before { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .3; mix-blend-mode: overlay; }
.comeback > * { position: relative; }
.comeback .big { font: 400 72px/.9 var(--serif); letter-spacing: -.04em; }
.comeback .h3 { color: #fff; font-size: 19px; margin-top: 10px; }
.comeback p { color: #F8E3D8 !important; }
.comeback .btn { background: #fff; color: var(--clay-ink); margin-top: 16px; }
.before-list { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.before-list li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.before-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); margin-top: 9px; flex: none; }
.manage { padding: 28px var(--gutter) 0; text-align: center; color: var(--ink-2); font-size: 14.5px; }
.manage .acts { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }

/* ---------- Page de l'amie, après le soin ---------- */
.invite { margin: 8px var(--gutter) 0; padding: 26px 22px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--sh-2); }
.invite .who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--clay-soft); color: var(--clay-ink); display: grid; place-items: center; font: 400 24px/1 var(--serif); flex: none; }
.invite .time { font: 400 64px/.95 var(--serif); letter-spacing: -.03em; margin-top: 18px; }
.sms { margin: 8px var(--gutter) 0; padding: 14px 16px; border-radius: 22px; background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--sh-2); display: flex; gap: 12px; animation: drop var(--t-3) .2s var(--spring) both; }
@keyframes drop { from { transform: translateY(-24px); opacity: 0; } }
.sms .app { width: 38px; height: 38px; border-radius: 10px; background: #3FB45A; color: #fff; display: grid; place-items: center; flex: none; }
.sms .app svg { width: 20px; height: 20px; }
.sms .top { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.sms .top b { color: var(--ink); }
.sms p { margin: 3px 0 0; font-size: 14.5px; line-height: 1.4; }
.sms-caption { margin: 8px var(--gutter) 0; font-size: 12.5px; color: var(--ink-3); text-align: center; }

/* ---------- Feuilles, toasts ---------- */
#layer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.scrim { position: absolute; inset: 0; background: rgba(28,23,20,.38); opacity: 0; transition: opacity var(--t-2); pointer-events: auto; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-width: var(--col); margin: 0 auto; max-height: 88dvh; display: flex; flex-direction: column; background: var(--bg); border-radius: 28px 28px 0 0; box-shadow: var(--sh-3); transform: translateY(105%); transition: transform var(--t-3) var(--spring); pointer-events: auto; padding-bottom: env(safe-area-inset-bottom); }
.open .scrim { opacity: 1; }
.open .sheet { transform: none; }
.closing .sheet { transform: translateY(105%); transition: transform var(--t-2) var(--in); }
.closing .scrim { opacity: 0; }
.grab { width: 40px; height: 5px; border-radius: 5px; background: var(--line-2); margin: 10px auto 0; flex: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px 6px var(--gutter); flex: none; }
.sheet-head h2 { font: 400 28px/1.1 var(--serif); margin: 0; }
.sheet-body { overflow-y: auto; padding: 4px 0 24px; overscroll-behavior: contain; }
.sheet .filters { padding: 6px var(--gutter) 10px; }
.sheet .list { margin-top: 4px; }
.msg-preview { margin: 6px var(--gutter) 0; padding: 16px 18px; border-radius: 22px 22px 6px 22px; background: #2F80ED; color: #fff; font-size: 15.5px; line-height: 1.4; }
.share-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px var(--gutter) 0; }
.share-row button { min-height: 80px; border-radius: 18px; background: var(--surface); box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; font-size: 13.5px; font-weight: 600; }
.share-row svg { width: 24px; height: 24px; }
.demo-row { padding: 14px var(--gutter) 0; }
.demo-row p { margin: 0 0 8px; font-weight: 600; font-size: 14px; }
.demo-row .seg-ctl { grid-template-columns: repeat(2, 1fr); margin: 0; }
.demo-links { display: grid; gap: 8px; padding: 16px var(--gutter) 8px; }
.demo-links .btn { justify-content: space-between; }

#toast { position: fixed; left: 50%; bottom: calc(110px + env(safe-area-inset-bottom)); z-index: 80; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 500; box-shadow: var(--sh-3); pointer-events: none; transition: transform var(--t-3) var(--spring), opacity var(--t-2); max-width: calc(100% - 32px); text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

.demo-fab { position: fixed; left: max(12px, calc(50% - var(--col) / 2 + 12px)); bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 50; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--sh-2); color: var(--ink-2); }
.demo-fab svg { width: 20px; height: 20px; }
body[data-screen="home"] .demo-fab { bottom: calc(16px + env(safe-area-inset-bottom)); }

/* Apparitions et transitions : voir « Système de mouvement » en fin de fichier. */

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .display { font-size: 42px; }
  .pills { gap: 6px; }
  .pill { font-size: 14.5px; }
  .sugg .t { font-size: 25px; }
}
@media (min-width: 420px) {
  .display { font-size: 50px; }
}

/* ---------- Compléments (maquette A, tour 1) ---------- */
.grow { flex: 1; min-width: 0; }
.display > span, .display > em { display: block; }
.eyebrow svg { display: inline-block; width: 15px; height: 15px; vertical-align: -3px; margin-right: 6px; }
.eyebrow.light { color: rgba(255,255,255,.72); }
.h3.big { font: 400 26px/1.12 var(--serif); letter-spacing: -.012em; margin-top: 14px; }
.card .h3 svg { display: inline-block; width: 19px; height: 19px; vertical-align: -3px; margin-right: 8px; color: var(--clay); }
.univ .rail .svc-card { width: 154px; min-height: 172px; }
.univ .rail .univ-photo { width: 128px; height: auto; min-height: 172px; margin: 0; border-radius: 22px; }
.univ .rail .univ-photo .ph-tag { left: 8px; right: 8px; bottom: 8px; font-size: 11px; padding: 6px 8px; }
.svc-card.all .meta { margin-top: 4px; }
.duo .fine { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 12px; }
.quotes { margin: 16px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 6px; }
.sample svg { width: 14px; height: 14px; }
.plain { text-decoration: none; font-weight: 600; }
.row .meta i { font-style: normal; color: var(--line-2); }
.row .desc.note { display: flex; gap: 6px; align-items: flex-start; font-size: 13.5px; color: var(--ink-3); }
.row .desc.note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.row .desc.note .tbc { margin-left: 2px; }
.row .choose svg { width: 15px; height: 15px; margin-right: 4px; stroke-width: 2.4; }
.row.in-basket { background: color-mix(in srgb, var(--clay-soft) 45%, var(--surface)); }
button.note-line { min-height: 44px; font-weight: 600; color: var(--ink); }
button.note-line svg { width: 16px; height: 16px; }
.b-total { align-self: center; font-size: 14px; color: var(--ink-2); padding-right: 10px; }
.addon { display: flex; align-items: center; gap: 10px; margin: 10px var(--gutter) 0; padding: 12px 8px 12px 16px; border-radius: 18px; background: var(--clay-soft); color: var(--clay-ink); transition: opacity var(--t-2), transform var(--t-2) var(--out); }
.addon b { display: block; font-size: 14.5px; }
.addon span { font-size: 13px; }
.addon .btn { background: #fff; color: var(--clay-ink); box-shadow: none; padding: 0 14px; }
.addon .link { font-size: 13.5px; color: var(--clay-ink); padding: 0 6px; }
.bye { opacity: 0 !important; transform: scale(.97) translateY(-4px) !important; transition: opacity var(--t-2), transform var(--t-2) var(--out) !important; }
.opt { font-weight: 500; color: var(--ink-3); font-size: 13px; margin-left: 4px; }
.picked { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 10px 0 0; font-weight: 600; }
.her-line span:first-child { color: var(--clay-ink); }
.msg-hint { margin: 10px var(--gutter) 0; font-size: 13px; color: var(--ink-3); text-align: center; }
.spacer.short { height: 60px; }
.friend-offer.sent .h3 { display: flex; align-items: center; gap: 8px; }
.friend-offer.sent .h3 svg { color: #3F8A5A; }
.friend-offer .eyebrow { color: var(--clay-ink); }
.comeback .h2 { color: #fff; margin-top: 10px; font-size: 30px; }
.demo-row .note { margin: 8px 0 0; font-weight: 400; }
.pad.guarantee { margin-top: 14px; }
.sheet .pad.muted { margin: 0 0 10px; }
.quick a { min-height: 92px; border-radius: 20px; background: var(--surface); box-shadow: var(--sh-1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 13.5px; font-weight: 600; text-align: center; padding: 10px 6px; text-decoration: none; }
.quick a svg { width: 24px; height: 24px; }
.held-banner { margin-bottom: 8px; }

/* ---------- Tour 2 ---------- */
.chip { text-decoration: none; }
.tbc { white-space: normal; }
.display { font-size: 40px; text-wrap: balance; }
@media (min-width: 420px) { .display { font-size: 44px; } }
@media (max-width: 380px) { .display { font-size: 37px; } }
.hero .display { margin-top: 10px; }
.arch { height: 300px; margin-top: 22px; }
.demo-fab { left: auto; right: max(0px, calc(50% - var(--col) / 2)); top: 46%; bottom: auto; width: 40px; height: 48px; border-radius: 14px 0 0 14px; background: rgba(28,23,20,.78); color: #fff; box-shadow: none; }
body[data-screen="home"] .demo-fab { bottom: auto; }
.screen-title .h1 { font-size: 38px; }
.basket { padding: 0; overflow: hidden; }
.b-item { padding: 14px 10px 14px 18px; }
.b-item .n { font-size: 15.5px; }
.b-actions { padding: 0 8px 0 12px; }
.b-actions .link { min-height: 48px; text-decoration: none; }
.addon { margin: 0; border-radius: 0; padding: 10px 6px 10px 18px; border-top: 1px solid rgba(163,74,47,.12); }
.addon b { font-size: 14.5px; }
.addon span { font-size: 13px; }
.addon .btn { min-height: 40px; padding: 0 14px; background: var(--clay); color: #fff; font-size: 14px; gap: 6px; }
.addon .btn svg { width: 16px; height: 16px; }
.addon .x { width: 44px; height: 44px; display: grid; place-items: center; color: var(--clay-ink); }
.addon .x svg { width: 16px; height: 16px; }
.sugg button { min-height: 0; padding: 14px 14px 16px; gap: 2px; }
.sugg .l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg .t { font-size: 30px; margin-top: 8px; }
.sugg .d { margin-top: 2px; font-size: 14px; }
.dock-inner .sum span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note-line svg { width: 16px; height: 16px; flex: none; color: var(--ink-3); }
.note-line { align-items: flex-start; font-size: 14px; margin-bottom: 10px; }
.note-line svg { margin-top: 2px; }
.section-label { padding-top: 26px; }
.section-label + .sugg { margin-top: 10px; }
.demo-fab { width: 30px; height: 46px; border-radius: 12px 0 0 12px; background: rgba(28,23,20,.42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.demo-fab svg { width: 16px; height: 16px; }
.day.new-month .wd { color: var(--clay-ink); }
.day.new-month[aria-pressed="true"] .wd { color: #F2C2AE; }

/* ---------- Critique (tour 3) ---------- */
/* Accueil : les soins dès le premier écran */
.hero-row { display: grid; grid-template-columns: 1fr 112px; gap: 16px; align-items: center; margin-top: 14px; }
.next-free { display: flex; gap: 9px; align-items: baseline; margin: 12px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.next-free .live { width: 8px; height: 8px; border-radius: 50%; background: #3F8A5A; box-shadow: 0 0 0 3px rgba(63,138,90,.16); flex: none; transform: translateY(-1px); }
.hero-row .lede { margin: 0; max-width: none; }
.hero .arch { margin: 0; height: 140px; border-radius: 999px 999px 18px 18px; box-shadow: var(--sh-2); }
@supports (corner-shape: squircle) { .hero .arch { border-radius: 999px 999px 18px 18px; } }
.hero .arch .ph-tag, .u-thumb .ph-tag { top: auto; bottom: 8px; left: 6px; right: 6px; transform: none; max-width: none; flex-direction: column; gap: 2px; padding: 5px 4px; border-radius: 10px; font-size: 10px; line-height: 1.15; text-align: center; white-space: normal; }
.hero .arch .ph-tag svg, .u-thumb .ph-tag svg { width: 12px; height: 12px; }
.next-slot { position: relative; left: auto; right: auto; bottom: auto; width: 100%; margin-top: 18px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh-1); }
.next-slot b { font-size: 14.5px; }
.next-slot b, .next-slot .grow > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cats { margin-top: 14px; }
.univ { padding-top: 34px; }
.cats + .univ { padding-top: 16px; }
.univ-head { align-items: center; justify-content: flex-start; gap: 16px; }
.univ-head .h2 { font-size: 32px; }
.univ-head p { margin-top: 4px; font-size: 15px; }
.u-thumb { width: 76px; height: 92px; flex: none; border-radius: 999px 999px 16px 16px; box-shadow: var(--sh-1); }
.top-list { margin: 14px var(--gutter) 0; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); overflow: hidden; }
.svc-row { width: 100%; display: flex; align-items: center; gap: 14px; padding: 15px 14px 15px 18px; text-align: left; border-top: 1px solid var(--line); }
.svc-row:first-child { border-top: 0; }
.svc-row .name { display: block; font: 600 16px/1.3 var(--sans); letter-spacing: -.01em; }
.svc-row .meta { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-3); }
.svc-row .price { font: 400 26px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.svc-row .plus { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; flex: none; transition: background var(--t-1), color var(--t-1); }
.svc-row .plus svg { width: 17px; height: 17px; }
.svc-row:hover .plus, .svc-row:active .plus { background: var(--ink); color: #fff; }
.svc-row:active { background: var(--bg); }
.more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 6px var(--gutter) 0; padding: 0 2px; font-weight: 600; font-size: 15px; color: var(--ink); }
.more svg { width: 16px; height: 16px; transition: transform var(--t-3) var(--spring); }
.more:hover svg { transform: translateX(3px); }
@media (max-width: 380px) {
  .display { font-size: 35px; }
  .lede { font-size: 16px; }
  .hero-row { grid-template-columns: 1fr 96px; }
  .hero .arch { height: 120px; }
  .u-thumb { width: 64px; height: 78px; }
  .univ-head .h2 { font-size: 29px; }
  .svc-row { padding-left: 16px; gap: 10px; }
  .svc-row .price { font-size: 24px; }
}
/* Venir à deux : la paire libre la plus proche */
.duo-next { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 10px 12px 16px; border-radius: 18px; background: var(--clay-soft); }
.duo-next b { display: block; font-size: 14px; color: var(--clay-ink); }
.duo-next .grow > span { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.duo-next .btn { min-height: 44px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
/* Remise de retour, bien lisible */
.offer-tag { display: inline-block; margin: 12px 0 0; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.16); color: #fff !important; font-weight: 600; font-size: 14.5px; }
.link.light { color: #fff; text-decoration-color: rgba(255,255,255,.5); margin-left: 14px; }
.comeback .btn + .link.light { vertical-align: middle; margin-top: 16px; }
.addon b { white-space: nowrap; }
.duo-next { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 14px 14px 16px; }
.duo-next .btn { width: 100%; min-height: 46px; }
.sugg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comeback .link.light { display: flex; margin: 8px 0 0; padding-left: 4px; }
.hero-rating { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; min-height: 32px; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.hero-rating b { font-weight: 600; color: var(--ink); }
.hero-rating .stars svg { width: 15px; height: 15px; }
.hero-rating + .next-free { margin-top: 4px; }
#avis .sample { margin: 12px 0 0; }
.note-line.tol { margin-top: 12px; }

/* ---------- Revue UX et business (tour 4) ---------- */
h1:focus, .invite-h:focus { outline: none; }
/* Étapes nommées */
.steps { flex-direction: column; align-items: center; gap: 6px; }
.steps .bars { display: flex; gap: 6px; }
.steps .bars i { width: 28px; height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; position: relative; }
.steps .bars i.on::after { content: ''; position: absolute; inset: 0; background: var(--ink); border-radius: inherit; animation: fill var(--t-3) var(--out) both; }
.steps-txt { font: 600 12px/1 var(--sans); color: var(--ink-3); letter-spacing: .01em; }
/* Accueil */
.univ-head .from { font: 500 14px/1 var(--sans); color: var(--ink-3); letter-spacing: 0; margin-left: 4px; white-space: nowrap; }
.ref-banner { margin: 0 var(--gutter) 6px; padding: 12px 14px; border-radius: 16px; background: var(--clay-soft); color: var(--clay-ink); display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.ref-banner svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.gift-block { margin-top: 0; padding: 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); position: relative; overflow: hidden; }
.gift-block::after { content: ''; position: absolute; right: -36px; top: -36px; width: 120px; height: 140px; border-radius: 999px 999px 24px 24px; background: var(--blush); opacity: .55; z-index: 0; }
.gift-block > * { position: relative; z-index: 1; }
.gift-block .eyebrow { color: var(--clay-ink); }
.gift-block .h2 { font-size: 30px; margin-top: 10px; max-width: 12ch; }
.gift-block p { margin: 10px 0 0; color: var(--ink-2); font-size: 15.5px; }
.gift-block .btn { margin-top: 16px; background: var(--bg-2); box-shadow: none; }
.gift-block .small.muted { margin-top: 12px; }
@media (max-width: 380px) {
  .display { font-size: 34px; }
  .hero-row { grid-template-columns: 1fr 72px; gap: 12px; }
  .hero .arch { height: 88px; }
  .hero .arch .ph-tag { font-size: 9px; padding: 4px 2px; }
  .hero .arch .ph-tag svg { display: none; }
  .cats { margin-top: 10px; }
  .univ-head .from { font-size: 13px; }
}
/* Créneau : une seule suggestion, en ligne neutre */
.tip { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 18px; border-top: 1px solid var(--line); min-height: 56px; transition: opacity var(--t-2), transform var(--t-2) var(--out); }
.tip .grow b { display: block; font-size: 14.5px; font-weight: 600; }
.tip .grow span { display: block; font-size: 13px; color: var(--ink-3); }
.tip .chip { min-height: 44px; padding: 0 14px; font-size: 14px; background: var(--bg-2); box-shadow: none; }
.tip .chip.ghost { background: transparent; color: var(--ink-2); padding: 0 12px; }
.tip-line { flex: 1; min-width: 0; min-height: 44px; display: flex; align-items: center; gap: 10px; text-align: left; font-size: 14.5px; color: var(--ink-2); margin-left: -6px; padding-left: 6px; border-radius: 12px; }
.tip-line b { color: var(--ink); font-weight: 600; }
.tip-line svg { width: 18px; height: 18px; flex: none; color: var(--ink); }
.tip .x { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-3); flex: none; }
.tip .x svg { width: 16px; height: 16px; }
/* À deux, dès le choix de l'heure */
.duo-toggle { width: calc(100% - 2 * var(--gutter)); margin: 12px var(--gutter) 0; display: flex; gap: 12px; align-items: center; padding: 10px 14px 10px 12px; min-height: 64px; border-radius: 20px; background: var(--surface); box-shadow: var(--sh-1); text-align: left; transition: box-shadow var(--t-2), transform var(--t-3) var(--spring); }
.duo-toggle[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.duo-toggle .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--clay-soft); color: var(--clay); display: grid; place-items: center; flex: none; }
.duo-toggle .ic svg { width: 20px; height: 20px; }
.duo-toggle b { display: block; font-weight: 600; font-size: 15.5px; }
.duo-toggle .grow span { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.duo-toggle + #slotzone .section-label { padding-top: 22px; }
.sugg button { padding: 14px 12px 16px; }
.sugg .l { white-space: normal; overflow: visible; line-height: 1.2; min-height: 2.4em; }
.sugg .then { font-size: 13px; font-weight: 600; color: var(--clay-ink); margin-top: 4px; }
.sugg button[aria-pressed="true"] .then { color: #F2C2AE; }
.pill.duo .end { opacity: .8; max-height: 16px; margin-top: 2px; font-size: 11px; }
.pill.duo:not([aria-pressed="true"]) .end { color: var(--clay-ink); opacity: 1; }
.ask { padding: 18px var(--gutter) 0; margin: 0; }
.ask .link { font-size: 15px; text-decoration: none; color: var(--ink-2); }
.days { padding-top: 22px; }
.day { overflow: visible; }
.day .mo { position: absolute; top: -17px; left: 50%; transform: translateX(-50%); font: italic 400 14px/1 var(--serif); color: var(--clay-ink); white-space: nowrap; }
.day .dots { display: flex; gap: 3px; height: 5px; }
.day .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--clay); }
.day[aria-pressed="true"] .dots i { background: #F2C2AE; }
.dock-inner .sum b { font-size: 14.5px; }
/* Coordonnées */
.sum-line { margin: 8px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink-2); line-height: 1.4; }
.field .msg { margin: 8px 4px 0; }
.friend-top { display: flex; gap: 12px; align-items: center; padding: 14px 10px 10px 16px; }
.friend-top .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--clay-soft); color: var(--clay); display: grid; place-items: center; flex: none; }
.friend-top .ic svg { width: 20px; height: 20px; }
.friend-top b { display: block; font-weight: 600; font-size: 16px; }
.friend-top .grow span { font-size: 13.5px; color: var(--ink-2); }
.friend-top .link { font-size: 14px; padding: 0 6px; white-space: nowrap; }
.friend .field { margin-top: 10px; }
.friend-body.pad-top { padding-top: 16px; }
.disc-line span { color: var(--clay-ink); font-weight: 600; }
/* Confirmation : pratique d'abord, remise en carte claire */
.card.manage { text-align: left; color: inherit; font-size: inherit; padding: 20px; }
.card.manage .acts { justify-content: flex-start; }
.comeback-light { display: flex; gap: 16px; align-items: flex-start; background: var(--clay-soft); box-shadow: none; }
.comeback-light .amount { margin: 0; font: 400 48px/.9 var(--serif); letter-spacing: -.03em; color: var(--clay-ink); flex: none; }
.comeback-light .h3 { color: var(--clay-ink); }
.comeback-light p.t { color: var(--clay-ink) !important; opacity: .9; font-size: 14.5px; }
/* Page de l'amie */
.invite-h { font: 600 16px/1.3 var(--sans); margin: 0; }
.invite .btn { margin-top: 6px; }
.invite-other { display: flex; justify-content: center; width: 100%; margin-top: 6px; }
.pinned { display: flex; gap: 10px; align-items: center; margin: 4px var(--gutter) 10px; padding: 12px 14px; border-radius: 16px; background: var(--ink); color: #fff; font-size: 14.5px; }
.pinned svg { width: 18px; height: 18px; flex: none; color: #F2C2AE; }
/* Après le soin */
.next-svc { margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.14); display: grid; gap: 2px; font-size: 14.5px; color: #F8E3D8; }
.next-svc b { color: #fff; font-weight: 600; font-size: 15.5px; }
.next-svc small { font-size: 13px; color: #F8E3D8; opacity: .9; margin-top: 4px; }
.comeback .t .tbc { color: #fff; border-color: rgba(255,255,255,.6); }
.perma { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--bg); display: grid; gap: 2px; }
.perma b { font-weight: 600; font-size: 15.5px; word-break: break-all; }
.card .acts .link svg { width: 16px; height: 16px; }
/* Offrir */
.lead-s { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; }
.few-item .gp { font: 400 26px/1 var(--serif); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px var(--gutter) 0; }
.amounts button { min-height: 64px; border-radius: 18px; background: var(--surface); box-shadow: var(--sh-1); font: 400 28px/1 var(--serif); transition: background-color var(--t-2), color var(--t-2), transform var(--t-3) var(--spring); }
.amounts button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.btn.is-off { opacity: .45; cursor: default; }
a.btn { text-decoration: none; }
.filters .chip { min-height: 44px; }
.hero-rating { min-height: 44px; margin-top: 6px; }
a.plain { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; }

/* ---------- Tour 5 : produit ---------- */
.dk-only { display: none; }

/* Lignes de soin : prix en serif à droite, bouton rond qui devient coche */
.row { display: flex; align-items: flex-start; gap: 16px; padding: 18px 16px 18px 18px; }
.r-main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.row .desc { font-size: 14.5px; }
.row .meta { display: inline-flex; gap: 6px; align-items: center; margin-top: 2px; font-size: 13.5px; color: var(--ink-3); }
.row .meta svg { width: 14px; height: 14px; flex: none; }
.r-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex: none; }
.row .price { font: 400 26px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.row .tog { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; transition: background-color var(--t-2), color var(--t-2), transform var(--t-3) var(--spring); }
.row .tog svg { width: 18px; height: 18px; stroke-width: 2; }
.row:hover .tog { background: var(--ink); color: #fff; }
.row.in-basket { background: color-mix(in srgb, var(--clay-soft) 55%, var(--surface)); }
.row.in-basket .tog { background: var(--clay); color: #fff; }
.row.in-basket .tog svg { stroke-width: 2.4; animation: pop var(--t-3) var(--spring); }
.row:not(:has(.desc)) { align-items: center; }
.row:not(:has(.desc)) .r-side { flex-direction: row; align-items: center; gap: 14px; }

/* Univers : une vraie page, pas une liste */
.u-head { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 18px; align-items: end; padding: 8px var(--gutter) 0; }
.u-name { margin-top: 10px; }
.u-head .lede { margin-top: 12px; font-size: 16px; }
.u-arch { height: 136px; border-radius: 999px 999px 18px 18px; box-shadow: var(--sh-2); }
.u-arch .ph-tag { top: auto; bottom: 8px; left: 6px; right: 6px; max-width: none; flex-direction: column; gap: 2px; padding: 5px 4px; border-radius: 10px; font-size: 10px; line-height: 1.15; text-align: center; white-space: normal; }
.u-arch .ph-tag svg { width: 12px; height: 12px; }
.u-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 22px var(--gutter) 0; padding: 14px 0; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--sh-1); }
.u-facts div { padding: 0 14px; border-left: 1px solid var(--line); min-width: 0; }
.u-facts div:first-child { border-left: 0; }
.u-facts dt { font: 600 11px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.u-facts dd { margin: 6px 0 0; font: 400 20px/1.1 var(--serif); }
.u-group { padding-top: 30px; scroll-margin-top: 120px; }
.u-group .group-title { padding: 0 var(--gutter) 12px; gap: 12px; }
.u-group .group-title h2 { font-size: 30px; }
.u-group .group-title span { font-size: 13.5px; color: var(--ink-3); white-space: nowrap; }
.u-group .note-line { margin-top: 0; }
.anchors { margin-top: 18px; }

/* Accueil : bon cadeau discret */
.gift-line { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line-2); }
.gift-line .gi { width: 44px; height: 44px; border-radius: 14px; background: var(--clay-soft); color: var(--clay); display: grid; place-items: center; flex: none; }
.gift-line .gi svg { width: 22px; height: 22px; }
.gift-line p { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-2); }
.gift-line .link { margin-top: 2px; text-decoration: none; }
.gift-line .tbc { display: table; margin-top: 4px; }

/* Confirmation et page du rendez-vous */
.status { gap: 12px; }
.status .ok { width: 22px; height: 22px; border-radius: 50%; background: #3F8A5A; display: grid; place-items: center; flex: none; margin-top: 1px; }
.status .ok svg { width: 13px; height: 13px; stroke-width: 2.8; color: #fff; margin: 0; }
.status b { color: var(--ink); font-weight: 600; }
.ticket.moved .time { animation: rise var(--t-3) var(--spring) both; }
.card.manage .acts .btn { min-width: 112px; }
.ami-line { display: flex; align-items: center; gap: 12px; width: calc(100% - 2 * var(--gutter)); margin: 18px var(--gutter) 0; padding: 0 14px 0 16px; min-height: 56px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line-2); text-align: left; font-size: 14.5px; color: var(--ink-2); }
.ami-line > svg { width: 18px; height: 18px; flex: none; color: var(--ink-3); }
.ami-line span { flex: 1; min-width: 0; }
.ami-line b { color: var(--ink); font-weight: 600; }

/* Déplacer */
.was { display: flex; gap: 14px; align-items: center; margin: 16px var(--gutter) 0; padding: 14px 18px; border-radius: var(--r-md); background: var(--bg-2); }
.was-l { font: 600 11px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); flex: none; }
.was b { display: block; font-weight: 600; font-size: 15.5px; }
.was .grow > span { display: block; font-size: 13.5px; color: var(--ink-3); }

/* Annuler */
.mini-ticket { margin: 18px var(--gutter) 0; padding: 20px 22px; border-radius: var(--r-lg); background: var(--cacao); color: #fff; display: grid; gap: 4px; position: relative; overflow: hidden; }
.mini-ticket::before { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .35; mix-blend-mode: overlay; pointer-events: none; }
.mini-ticket .d { color: #F2C2AE; font-weight: 600; font-size: 15px; position: relative; }
.mini-ticket .t { font: 400 56px/1 var(--serif); letter-spacing: -.03em; position: relative; }
.mini-ticket .s { color: #EADFD7; font-size: 14.5px; position: relative; }
.narrow .pad.lead-s { margin-top: 18px; }
.alt-move { margin-top: 20px; }
.done-mark.soft { background: var(--ink); box-shadow: 0 16px 30px -14px rgba(28,23,20,.6); }
.narrow .done-head .lead-s { margin-top: 12px; }
.card.later .acts { margin-top: 14px; }
.card.later > .link { margin-top: 4px; font-size: 14.5px; text-decoration: none; color: var(--ink-2); }

/* Réseau coupé, heure prise */
.net { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; padding: 14px 16px; border-radius: 20px; background: var(--surface); box-shadow: var(--sh-2), inset 0 0 0 1.5px var(--clay); animation: rise var(--t-3) var(--spring) both; }
.net-ic { width: 36px; height: 36px; border-radius: 12px; background: var(--clay-soft); color: var(--clay); display: grid; place-items: center; flex: none; }
.net-ic svg { width: 20px; height: 20px; }
.net b { display: block; font-weight: 600; font-size: 15px; }
.net .grow span { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear 24; flex: none; }
@keyframes spin { to { transform: rotate(1turn); } }
.btn.is-busy, .go.is-busy { cursor: progress; }
.btn.is-busy { opacity: .9; }
.taken-p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.sheet .section-label { padding-top: 18px; }
.sheet .few { margin-top: 10px; }
.few-item .go { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; min-height: 44px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px; flex: none; }
.few-item .go .spin { width: 14px; height: 14px; }
.sheet .few-item .t { min-width: 84px; font-size: 32px; }

/* Page de l'amie */
.inv-offer { display: flex; gap: 14px; align-items: center; margin: 20px 0 0; padding: 14px 16px; border-radius: 18px; background: var(--clay-soft); color: var(--clay-ink); }
.inv-offer b { font: 400 44px/1 var(--serif); letter-spacing: -.02em; flex: none; }
.inv-offer span { font-size: 14.5px; line-height: 1.4; }
.same-day { margin-top: 6px; }
.same-day .mini-label { margin-top: 18px; }
.inv-pills { grid-template-columns: repeat(3, 1fr); margin: 10px 0 10px; }
.expired { display: flex; gap: 10px; margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); font-size: 14.5px; color: var(--ink-2); }
.expired svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.invite .btn { margin-top: 20px; }
.lnk { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.lnk svg { width: 14px; height: 14px; }
.sms .lnk { color: #2F6FD0; }

/* Après le soin : recommandation */
.reco .eyebrow { color: var(--clay-ink); }
.reco .h3.big { margin-top: 10px; }
.perma { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; margin-top: 16px; padding: 12px 12px 12px 16px; border-radius: 18px; background: var(--bg); }
.perma .lbl { flex: 1 1 150px; display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 15px; }
.perma .lbl svg { width: 18px; height: 18px; color: var(--clay); flex: none; }
.perma .acts { display: flex; gap: 8px; margin: 0; }
.perma .btn svg { width: 17px; height: 17px; }
.fine { margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-3); }

/* Offrir */
.fmt { margin: 12px var(--gutter) 0; grid-template-columns: 1fr 1fr; }
.demo-row .seg-ctl.three { grid-template-columns: repeat(3, 1fr); }
.msg-preview .lnk { color: #fff; }

/* ---------- Ordinateur : deux colonnes, panneau à droite ---------- */
@media (min-width: 1024px) {
  :root { --col: 1200px; --gutter: 40px; }
  .shell { max-width: var(--col); }
  .topbar { height: 72px; padding: 0 28px; }
  .cats, .anchors, .picker { top: 72px; }
  .held-banner, .ref-banner { margin-left: var(--gutter); margin-right: var(--gutter); }
  .display { font-size: 64px; }
  .h1, .screen-title .h1 { font-size: 52px; }

  /* Panneau */
  .has-panel #app { padding-right: 420px; }
  .has-panel .topbar { margin-right: -420px; }
  .has-panel .dock { left: auto; right: max(32px, calc(50vw - 600px + 40px)); top: 100px; bottom: auto; width: 360px; margin: 0; max-width: none; padding: 26px; border-radius: 28px; background: var(--surface); box-shadow: var(--sh-2); transform: none; max-height: calc(100vh - 124px); overflow: auto; transition: none; }
  .has-panel .dock-inner { display: block; margin-top: 18px; padding: 0; background: none; color: inherit; box-shadow: none; border-radius: 0; }
  .has-panel .dock-inner .sum { display: none; }
  .has-panel .dock .btn { width: 100%; min-height: 56px; background: var(--ink); color: #fff; }
  .has-panel .dock > .btn { margin-top: 18px; }
  .has-panel .dock .btn.is-off { background: var(--ink); }
  .has-panel .spacer { height: 64px; }
  .dk-only { display: block; }
  .has-panel .dk-hint { display: flex; }
  .dk-head .eyebrow { margin-bottom: 14px; }
  .dk-when { display: grid; margin: 0 0 16px; }
  .dk-when span { font-weight: 600; font-size: 15px; color: var(--clay-ink); }
  .dk-when b { font: 400 64px/1 var(--serif); letter-spacing: -.03em; margin-top: 4px; }
  .dk-when small { font-size: 13.5px; color: var(--ink-3); }
  .dk-was { display: grid; gap: 2px; margin: 0 0 14px; font-size: 13.5px; color: var(--ink-3); }
  .dk-was s { font-size: 15px; color: var(--ink-2); text-decoration-color: var(--clay); }
  .dk-list { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
  .dk-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 500; }
  .dk-list li span:last-child { white-space: nowrap; }
  .dk-list small { display: block; font-size: 13px; color: var(--ink-3); font-weight: 400; }
  .dk-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 600; font-size: 15px; }
  .dk-total b { font: 400 30px/1 var(--serif); }
  .dk-empty { margin: 0; font-size: 15.5px; color: var(--ink-2); }
  .dk-note { margin: 12px 0 0; font-size: 13.5px; color: var(--ink-3); }
  .dk-big { margin: 0; font: 400 30px/1.1 var(--serif); }
  .dk-hint { gap: 10px; align-items: center; margin: 18px 0 0; padding: 14px 16px; border-radius: 16px; background: var(--bg-2); font-size: 14.5px; color: var(--ink-2); }
  .dk-hint svg { width: 18px; height: 18px; flex: none; }
  .has-panel .net { box-shadow: inset 0 0 0 1.5px var(--clay); margin-bottom: 18px; }
  body[data-screen="details"] .recap, body[data-screen="details"] .sum-line { display: none; }
  .form { max-width: 560px; }
  .pills { grid-template-columns: repeat(6, 1fr); }
  .sugg button { padding: 18px 16px; }
  .sugg .t { font-size: 34px; }

  /* Univers */
  .u-head { grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; padding-top: 24px; }
  .u-name { font-size: 76px; }
  .u-head .lede { font-size: 18px; max-width: 34ch; }
  .u-arch { height: 280px; }
  .u-arch .ph-tag { left: 50%; right: auto; bottom: 14px; transform: translateX(-50%); flex-direction: row; gap: 7px; padding: 7px 11px; border-radius: 999px; font-size: 12px; white-space: nowrap; }
  .u-facts { padding: 18px 0; }
  .u-facts div { padding: 0 22px; }
  .u-facts dd { font-size: 24px; }
  .u-group .group-title h2 { font-size: 36px; }

  /* Accueil */
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) 420px; column-gap: 72px; align-items: end; padding: 48px var(--gutter) 0; }
  .hero .display { grid-column: 1; margin: 0; font-size: 84px; }
  .hero-row { display: contents; }
  .hero-row > div:first-child { grid-column: 1; margin-top: 26px; }
  .hero .lede { font-size: 19px; max-width: 34ch; }
  .hero .arch { grid-column: 2; grid-row: 1 / span 2; height: 500px; border-radius: 999px 999px var(--r-xl) var(--r-xl); }
  .hero .arch .ph-tag { left: 50%; right: auto; bottom: 18px; transform: translateX(-50%); flex-direction: row; gap: 7px; padding: 8px 12px; border-radius: 999px; font-size: 12.5px; white-space: nowrap; }
  .hero .arch .ph-tag svg { width: 15px; height: 15px; }
  .hero .arch .ph-tag br { display: none; }
  .cats { margin-top: 56px; }
  .univs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; padding: 0 var(--gutter); }
  .univs .univ { padding-top: 44px; }
  .univs .univ:nth-child(-n+2) { padding-top: 24px; }
  .univs .univ-head { padding: 0; }
  .univs .top-list, .univs .more { margin-left: 0; margin-right: 0; }
  #axelle { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
  #axelle > .eyebrow { grid-column: 1 / -1; }
  #axelle .axelle, #axelle > .small { grid-column: 1; }
  #axelle .gallery { grid-column: 2; grid-row: 2 / span 2; margin-top: 18px; grid-template-rows: 150px 150px; }
  .pair-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; padding: 0 var(--gutter); }
  .pair-cols .block { padding-left: 0; padding-right: 0; }
  .gift-line { max-width: 640px; }

  /* Confirmation, page du rendez-vous, après le soin, amie */
  .done-grid, .after-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; align-items: start; padding: 0 var(--gutter); }
  .done-grid .done-head { padding: 24px 0 0; }
  .done-grid .ticket, .done-grid .status, .done-grid .quick, .done-grid .card, .after-grid .card { margin-left: 0; margin-right: 0; }
  .done-grid .ami-line { width: 100%; margin-left: 0; margin-right: 0; }
  .dg-b { padding-top: 110px; }
  .ticket .time { font-size: 112px; }
  .after-grid .comeback { margin-top: 18px; padding: 32px; }
  .after-grid .comeback .h2 { font-size: 40px; }
  .inv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; align-items: center; padding: 40px var(--gutter) 0; }
  .inv-grid .sms, .inv-grid .invite, .inv-grid .sms-caption { margin-left: 0; margin-right: 0; }
  .invite { padding: 36px 32px; }
  .narrow { max-width: 600px; margin: 0 auto; }
  body[data-screen="cancel"] .dock { position: static; transform: none; max-width: 600px; margin: 0 auto; padding: 24px var(--gutter) 56px; background: none; }
  body[data-screen="cancel"] .spacer { display: none; }

  /* Feuilles : fenêtre centrée */
  .sheet { top: 50%; bottom: auto; left: 50%; right: auto; width: 560px; max-height: 82vh; border-radius: 28px; transform: translate(-50%, -46%); opacity: 0; transition: transform var(--t-3) var(--spring), opacity var(--t-2); padding-bottom: 8px; }
  .open .sheet { transform: translate(-50%, -50%); opacity: 1; }
  .closing .sheet { transform: translate(-50%, -46%); opacity: 0; transition: transform var(--t-2) var(--in), opacity var(--t-1); }
  .grab { display: none; }
  .sheet-head { padding-top: 16px; }
  #toast { bottom: 40px; }
}
.cats + .univs > .univ:first-child { padding-top: 16px; }
/* Tour 5 : retouches après captures */
.status small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--ink-3); }
.ami-line small { display: block; font-size: 13px; color: var(--ink-3); }
.ami-line b { display: block; }
.narrow .rules { padding-top: 14px; }
.u-facts dd { text-wrap: balance; }
@media (max-width: 380px) { .u-facts div { padding: 0 10px; } .u-facts dd { font-size: 18px; } }
.h3.big { text-wrap: balance; }
.lost { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--sh-2), inset 0 0 0 1.5px var(--clay); font-size: 14.5px; color: var(--ink); }
.lost svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--clay); }
@media (min-width: 1024px) {
  .hero { grid-template-rows: 1fr 1fr; }
  .hero .display { align-self: end; }
  .hero-row > div:first-child { align-self: start; }
  .hero .arch .ph-tag br { display: inline; }
  .hero .arch .ph-tag { white-space: normal; text-align: left; }
  .dg-b { padding-top: 177px; }
  body[data-screen="rdv"] .dg-b { padding-top: 115px; }
  .has-panel .lost { box-shadow: inset 0 0 0 1.5px var(--clay); margin-top: 18px; margin-bottom: 0; }
  .has-panel .lost + .btn { margin-top: 12px; }
}

/* =====================================================================
   Système de mouvement
   Durées : --t-1 (120 ms), --t-2 (240 ms), --t-3 (440 ms).
   Courbes : --out (entrée, décélère), --in (sortie, accélère). Ressort : --spring.
   Seuls transform et opacity bougent. Chaque mouvement dit d'où l'on vient
   ou où va ce qu'on vient de toucher.
   ===================================================================== */

/* ---- Toucher : réponse dans la première image, retour en ressort ---- */
.tap:active, .tap.is-pressed { transform: scale(.965); transition-duration: var(--t-1); transition-timing-function: var(--out); }
.pill.tap:active, .day.tap:active, .chip.tap:active { transform: scale(.94); }
.row.tap:active, .svc-row.tap:active { transform: none; background: color-mix(in srgb, var(--bg-2) 60%, transparent); }
.row.tap:active .tog, .svc-row.tap:active .plus { transform: scale(.88); }

/* ---- Sélection : l'élément choisi se pose (une seule fois, à la sélection) ---- */
@keyframes settle { 0% { transform: scale(.94); } }
.pill[aria-pressed="true"], .day[aria-pressed="true"], .sugg button[aria-pressed="true"],
.few-item[aria-pressed="true"], .filters .chip[aria-pressed="true"], .amounts button[aria-pressed="true"] { animation: settle var(--t-3) var(--spring); }

/* L'heure de fin apparaît sous l'heure choisie, sans décaler la grille. */
.pill > span:first-child { transition: transform var(--t-3) var(--spring); }
.pill .end { position: absolute; left: 0; right: 0; bottom: 8px; max-height: none; margin: 0; text-align: center; opacity: 0; transform: translateY(5px); transition: opacity var(--t-2) var(--out), transform var(--t-3) var(--spring); }
.pill[aria-pressed="true"] > span:first-child { transform: translateY(-7px); }
.pill[aria-pressed="true"] .end { opacity: .75; max-height: none; margin: 0; transform: none; }

/* ---- Listes : apparition échelonnée, plafonnée à 8 éléments ---- */
@keyframes enter { from { opacity: 0; transform: translateY(12px); } }
@keyframes enter-next { from { opacity: 0; transform: translateX(18px); } }
@keyframes enter-prev { from { opacity: 0; transform: translateX(-18px); } }
.stagger > * { animation: enter var(--t-3) var(--spring) both; animation-delay: calc(min(var(--i, 0), 8) * var(--step) + 40ms); }
/* Changer de jour : les heures arrivent du côté où l'on va. */
#dayview[data-dir="next"] .stagger > * { animation-name: enter-next; animation-delay: calc(min(var(--i, 0), 8) * 18ms); }
#dayview[data-dir="prev"] .stagger > * { animation-name: enter-prev; animation-delay: calc(min(var(--i, 0), 8) * 18ms); }
#dayview[data-dir] .day-head h2 { animation: enter var(--t-2) var(--out) both; }
.rv { opacity: 0; transform: translateY(16px); transition: opacity var(--t-3) var(--out), transform var(--t-3) var(--spring); transition-delay: calc(min(var(--i, 0), 6) * 50ms); }
.rv.in { opacity: 1; transform: none; }

/* ---- Bande des jours : défilement fluide, accroche sur chaque jour, bords fondus ---- */
.days { scroll-behavior: smooth; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 28px), transparent); }
.days > .day { scroll-snap-align: center; }

/* ---- Barre du bas : elle monte, puis son contenu se met à jour sur place ---- */
@keyframes swap-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes bump { 40% { transform: scale(1.05); } }
.dock.swap .sum, .dock.swap .dk-when b, .dock.swap .dk-total b { animation: swap-in var(--t-2) var(--out) both; }
.dock.bump .sum b, .dock.bump .dk-list li:last-child, .dock.bump .dk-total b { animation: bump var(--t-3) var(--spring); transform-origin: left center; }
.dock .btn-primary .spin, .dock .btn .spin { animation: spin .8s linear 24; }

/* Le soin ajouté file vers la barre du bas : on voit où il est rangé. */
.fly { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; }
.fly i { display: block; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--clay); box-shadow: 0 4px 10px -2px rgba(163,74,47,.6); }

/* ---- Squelettes : la forme de ce qui arrive, jamais un écran vide ---- */
.sk { position: relative; overflow: hidden; background: var(--bg-2); border-radius: 16px; isolation: isolate; }
.sk::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%); transform: translateX(-100%); animation: sheen 1.4s var(--out) 12; }
@keyframes sheen { to { transform: translateX(100%); } }
.sk-line { height: 12px; border-radius: 6px; }
.sk-sugg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px var(--gutter) 0; }
.sk-sugg .sk { height: 104px; border-radius: 20px; }
.sk-days { display: flex; gap: 6px; padding: 12px var(--gutter) 2px; overflow: hidden; }
.sk-days .sk { width: 58px; height: 74px; flex: none; border-radius: 18px; }
.sk-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 16px var(--gutter) 0; }
.sk-pills .sk { height: 56px; }
.sk-few { display: grid; gap: 10px; margin: 14px var(--gutter) 0; }
.sk-few .sk { height: 82px; border-radius: 22px; }
.sk-wrap > * { animation: enter var(--t-2) var(--out) both; }
.loaded > * { animation: enter var(--t-3) var(--spring) both; }

/* ---- Feuilles : suivent le doigt, se referment au geste ---- */
.sheet.dragging { transition: none !important; }
.sheet .grab, .sheet .sheet-head { touch-action: none; cursor: grab; }
.sheet .grab { height: 5px; margin-top: 10px; }

/* ---- Confirmation : un seul moment, sobre ----
   0 ms : le bouton touché devient le billet. 120 ms : l'arche se pose.
   320 ms : la coche se trace, une onde part une fois. Puis le reste, dans l'ordre de lecture. */
.done-mark { position: relative; animation: pop var(--t-3) var(--spring) 120ms both; }
.done-mark svg { animation: draw var(--t-3) var(--out) 320ms forwards; }
.done-mark::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px var(--clay); opacity: 0; animation: ring calc(var(--t-3) * 2) var(--out) 360ms; pointer-events: none; }
@keyframes pop { from { transform: scale(.6) translateY(10px); opacity: 0; } }
@keyframes ring { from { opacity: .55; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }
.done-mark.soft::after { display: none; }
.cascade > * { animation: enter var(--t-3) var(--spring) both; }
.cascade > :nth-child(1) { animation-delay: var(--base, 80ms); }
.cascade > :nth-child(2) { animation-delay: calc(var(--base, 80ms) + var(--step) * 2); }
.cascade > :nth-child(3) { animation-delay: calc(var(--base, 80ms) + var(--step) * 4); }
.cascade > :nth-child(4) { animation-delay: calc(var(--base, 80ms) + var(--step) * 6); }
.cascade > :nth-child(n+5) { animation-delay: calc(var(--base, 80ms) + var(--step) * 8); }
.dg-b.cascade { --base: 200ms; }
.cascade > .done-head { animation: none; }
.done-head .h1 { animation: enter var(--t-3) var(--spring) 160ms both; }
.cascade > .ticket { animation: rise var(--t-3) var(--spring) 60ms both; }
.cascade > .ticket.from-btn { animation: none; }
.ticket.moved .time { animation: swap-in var(--t-3) var(--spring) 200ms both; }
@keyframes rise { from { transform: translateY(24px) scale(.98); opacity: 0; } }

/* ---- Transitions entre écrans ----
   Avancer : la page part à gauche, la suivante arrive de droite. Revenir : l'inverse.
   Aboutir (réservé, déplacé, annulé) : pas de côté, la page se pose. */
/* L'ancienne page s'efface vite (t-1) : jamais deux pages lisibles en même temps. La nouvelle glisse en ressort. */
::view-transition-old(root) { animation: vt-fade-out var(--t-1) var(--out) both, vt-out var(--t-2) var(--in) both; }
::view-transition-new(root) { animation: vt-fade-in var(--t-2) var(--out) 50ms both, vt-in var(--t-3) var(--spring) both; }
html[data-dir="back"]::view-transition-old(root) { animation-name: vt-fade-out, vt-out-back; }
html[data-dir="back"]::view-transition-new(root) { animation-name: vt-fade-in, vt-in-back; }
html[data-dir="land"]::view-transition-old(root) { animation: vt-fade-out var(--t-1) var(--out) both, vt-sink var(--t-2) var(--in) both; }
html[data-dir="land"]::view-transition-new(root) { animation: vt-fade-in var(--t-2) var(--out) 50ms both; }
@keyframes vt-out { to { transform: translateX(-24px); } }
@keyframes vt-in { from { transform: translateX(36px); } }
@keyframes vt-out-back { to { transform: translateX(24px); } }
@keyframes vt-in-back { from { transform: translateX(-36px); } }
@keyframes vt-sink { to { transform: scale(.985); } }
::view-transition-group(*) { animation-duration: var(--t-3); animation-timing-function: var(--spring); }
/* Éléments partagés : le texte glisse net, sans être étiré. Fondu croisé exact (même courbe des deux côtés). */
::view-transition-old(.glide), ::view-transition-new(.glide) { height: 100%; object-fit: none; object-position: left center; }
::view-transition-old(.glide) { animation: vt-fade-out var(--t-1) var(--out) both; }
::view-transition-new(.glide) { animation: vt-fade-in var(--t-2) var(--in) both; }
/* La carte qui grandit (panier → récapitulatif, bouton → billet) : le haut du contenu reste en place, la carte se déplie. */
::view-transition-group(.grow) { overflow: clip; border-radius: 28px; }
::view-transition-old(.grow), ::view-transition-new(.grow) { height: 100%; object-fit: none; object-position: center top; }
/* La carte d'arrivée devient opaque tout de suite ; le contenu de départ s'efface par-dessus. */
::view-transition-old(.grow) { animation: vt-fade-out var(--t-2) var(--out) both; z-index: 1; }
::view-transition-new(.grow) { animation: vt-fade-in var(--t-1) var(--out) both; }
::view-transition-old(.photo), ::view-transition-new(.photo) { height: 100%; object-fit: cover; }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }

/* ---- Mouvement réduit : la même chorégraphie, en fondus ---- */
@media (prefers-reduced-motion: reduce) {
  :root { --t-3: 220ms; --t-2: 180ms; --step: 0ms; }
  *, *::before, *::after { transition-property: opacity, color, background-color, box-shadow !important; scroll-behavior: auto !important; }
  .tap:active, .tap.is-pressed, .pill.tap:active, .day.tap:active, .chip.tap:active { transform: none; opacity: .72; }
  .days { scroll-behavior: auto; }
  .rv { transform: none; }
  .ph::after, .sk::after { animation: none; }
  .dock { transform: none; opacity: 0; pointer-events: none; transition: opacity var(--t-2) !important; }
  .dock.show { opacity: 1; pointer-events: auto; }
  .sheet, .closing .sheet { transform: none; opacity: 0; }
  .open .sheet { transform: none; opacity: 1; }
  #toast { transform: translate(-50%, 0); }
  .done-mark::after { display: none; }
  @keyframes enter { from { opacity: 0; } }
  @keyframes enter-next { from { opacity: 0; } }
  @keyframes enter-prev { from { opacity: 0; } }
  @keyframes settle { from { opacity: 1; } }
  @keyframes swap-in { from { opacity: 0; } }
  @keyframes bump { from { opacity: 1; } }
  @keyframes pop { from { opacity: 0; } }
  @keyframes rise { from { opacity: 0; } }
  @keyframes drop { from { opacity: 0; } }
  @keyframes fill { from { opacity: 0; } }
  @keyframes shake { from { opacity: 1; } }
  @keyframes vt-out { to { opacity: 1; } }
  @keyframes vt-in { from { opacity: 1; } }
  @keyframes vt-out-back { to { opacity: 1; } }
  @keyframes vt-in-back { from { opacity: 1; } }
  @keyframes vt-sink { to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) and (min-width: 1024px) {
  .has-panel .dock { opacity: 1; pointer-events: auto; }
  .sheet, .closing .sheet, .open .sheet { transform: translate(-50%, -50%); }
}

/* Relecture finale : titres équilibrés, pas de mot seul en fin de titre. */
.h1, .h2, .invite-h { text-wrap: balance; }

/* =====================================================================
   v6 : fin de réservation simplifiée, nouvelle offre, SMS
   ===================================================================== */

/* Accueil : l'offre d'ouverture, une ligne sous le titre */
.offer-line { display: flex; gap: 9px; align-items: flex-start; margin: 14px 0 0; font-size: 15px; line-height: 1.4; color: var(--clay-ink); }
.offer-line svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--clay); }
.offer-line b { font-weight: 600; }

/* Réserver : un récapitulatif, deux champs, le bouton sous les champs */
.bk .screen-title .h1 { font-size: 36px; }
.bk-card { margin: 16px var(--gutter) 0; padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.bk-when { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.bk-d { font: 400 24px/1.15 var(--serif); letter-spacing: -.01em; }
.bk-t { font-weight: 600; font-size: 15px; color: var(--ink-2); }
.bk-items { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.bk-items li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--ink-2); }
.bk-items li span:last-child { white-space: nowrap; }
.bk-total { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.bk-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; font-weight: 600; font-size: 15.5px; }
.bk-sum b { font: 400 26px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.bk-sum s { font: 400 18px/1 var(--sans); color: var(--ink-3); margin-right: 4px; }
.bk-offer { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 0; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--clay-ink); }
.bk-offer svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--clay); }
.bk-note { margin: 8px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.bk .form .field:first-child { margin-top: 18px; }
.bk .field .help svg { color: var(--clay); }
#bookzone { margin-top: 18px; }
#bookzone .net, #bookzone .lost { margin-bottom: 12px; }
.bk-fine { display: flex; gap: 8px; align-items: flex-start; margin: 12px 4px 0; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.bk-fine svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.bk-fine .tbc { margin-left: 4px; }
#book-btn .spin, #bookzone .btn .spin { animation: spin .8s linear 24; }

/* Confirmation : quatre éléments, rien d'autre */
.ticket .svc { margin-top: 10px; }
.ticket .pay { margin-top: 4px; font-weight: 600; font-size: 15.5px; color: #fff; }
.done .sms-note { display: flex; gap: 12px; align-items: flex-start; margin: 16px var(--gutter) 0; font-size: 14.5px; color: var(--ink-2); }
.sms-note .ok { width: 26px; height: 26px; border-radius: 50%; background: #3F8A5A; color: #fff; display: grid; place-items: center; flex: none; }
.sms-note .ok svg { width: 14px; height: 14px; stroke-width: 2.2; }
.sms-note b { display: block; color: var(--ink); font-weight: 600; line-height: 1.35; }
.sms-note small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-3); }
.done > .btn-block { display: flex; width: calc(100% - 2 * var(--gutter)); margin: 18px var(--gutter) 0; }
.manage-line { display: flex; align-items: center; justify-content: center; gap: 4px 8px; flex-wrap: wrap; margin: 8px var(--gutter) 0; font-size: 14.5px; color: var(--ink-3); }
.manage-line .link { font-size: 14.5px; color: var(--ink-2); padding: 0 4px; }
.done .ami-line { margin-top: 14px; }
.done .quick { margin-top: 16px; }
.done .card { margin-top: 14px; }

/* Page de l'amie */
.inv-from { color: var(--clay-ink); }
.invite .who .avatar { width: 40px; height: 40px; font-size: 20px; }
.inv-title { margin-top: 16px; font-size: 36px; }
.invite .lead-s { margin-top: 12px; font-size: 15.5px; line-height: 1.5; }

/* Après le soin : reprendre rendez-vous d'abord */
.after .done-head .h1 { margin-top: 8px; }
.after .comeback { margin-top: 18px; }
.after .comeback .eyebrow.light { color: #F8E3D8; }
.after .comeback .h2 { margin-top: 6px; font-size: 32px; }
.after .comeback #bookzone { margin-top: 16px; }
.after .comeback #bookzone .btn { margin-top: 0; }
.after .comeback .link.light { margin: 6px auto 0; padding: 0 8px; justify-content: center; }
.after .comeback .net { color: var(--ink); }
.after .next-svc b { font-size: 14.5px; }
.after .card .h3 svg { color: var(--clay); }
.after .card.reco .h3 { line-height: 1.35; }

/* SMS reçus : le fil de Messages, tel qu'il arrive */
.msgs { margin: 8px var(--gutter) 0; border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-2); overflow: hidden; }
.msgs-head { display: grid; justify-items: center; gap: 2px; padding: 16px 16px 12px; border-bottom: 1px solid var(--line); background: #F7F7F8; }
.msgs-av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(#B9B4AE, #8F8983); color: #fff; display: grid; place-items: center; font: 500 20px/1 -apple-system, system-ui, sans-serif; }
.msgs-head b { font: 600 14px/1.3 -apple-system, system-ui, var(--sans); margin-top: 4px; }
.msgs-head small { font-size: 11.5px; color: #8A8A8E; }
.msgs-thread { padding: 4px 14px 16px; font-family: -apple-system, system-ui, var(--sans); }
.msgs-stamp { margin: 14px 0 6px; text-align: center; font-size: 11.5px; color: #8A8A8E; }
.bubble { max-width: 84%; padding: 9px 13px; border-radius: 19px 19px 19px 6px; background: #E9E9EB; color: #000; font-size: 16px; line-height: 1.32; letter-spacing: -.01em; }
.bubble:not(.last) { opacity: .62; }
.bubble.last { animation: rise var(--t-3) var(--spring) 120ms both; }
.sms-lnk { color: #0A63D6; text-decoration: underline; text-underline-offset: 2px; padding: 13px 6px; margin: -13px -6px; border-radius: 10px; }
.sms-lnk:active { background: rgba(10, 99, 214, .12); }
.msgs-input { margin: 0 12px 12px; height: 36px; border-radius: 18px; box-shadow: inset 0 0 0 1px #D1D1D6; display: flex; align-items: center; padding: 0 14px; font: 15px/1 -apple-system, system-ui, sans-serif; color: #A1A1A6; }
.sms-seg { margin: 16px var(--gutter) 0; }
.sms-seg button { font-size: 13.5px; }
.narrow > .sms-caption { margin-top: 12px; line-height: 1.45; }

/* Côté Axelle : à envoyer */
.pro .screen-title .h1 { font-size: 36px; }
.pro .lead-s { font-size: 15px; }
.pro-notif { display: flex; gap: 12px; align-items: flex-start; margin: 18px var(--gutter) 0; padding: 12px 14px; border-radius: 22px; background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--sh-2); }
.pro-app { width: 36px; height: 36px; border-radius: 10px; background: var(--clay); color: #fff; display: grid; place-items: center; flex: none; }
.pro-app svg { width: 19px; height: 19px; }
.pro-n { margin: 2px 0 0; font-size: 14px; line-height: 1.35; color: var(--ink); }
.pro-h { padding: 24px var(--gutter) 8px; }
.pro-list { margin: 0 var(--gutter); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.pro-row { display: flex; gap: 12px; align-items: center; padding: 12px 12px 12px 14px; transition: opacity var(--t-2); }
.pro-row + .pro-row { border-top: 1px solid var(--line); }
.pro-av { width: 36px; height: 36px; border-radius: 50%; background: var(--clay-soft); color: var(--clay-ink); display: grid; place-items: center; font: 400 19px/1 var(--serif); flex: none; align-self: flex-start; margin-top: 2px; }
.pro-row .grow, .pro-notif .grow { flex: 1; min-width: 0; }
.pro-l1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin: 0; font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.pro-l1 b { font-size: 15px; font-weight: 600; color: var(--ink); }
.pro-txt { margin: 3px 0 0; font-size: 13.5px; line-height: 1.38; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pro-send { flex: none; background: var(--ink); color: #fff; padding: 0 16px; text-decoration: none; }
.pro-done { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; font-size: 14px; font-weight: 600; color: #3F8A5A; }
.pro-done svg { width: 16px; height: 16px; stroke-width: 2.4; }
.pro-row.is-sent .grow { opacity: .5; }

@media (max-width: 380px) {
  .bk .screen-title .h1, .pro .screen-title .h1, .inv-title { font-size: 32px; }
  .bk-d { font-size: 22px; }
  .after .comeback .h2 { font-size: 28px; }
  .pro-send { padding: 0 13px; }
}
@media (min-width: 1024px) {
  .hero .offer-line { grid-column: 1; font-size: 16px; margin-top: 20px; }
  .bk .screen-title { padding-top: 40px; }
  .bk .screen-title .h1, .pro .screen-title .h1 { font-size: 52px; }
  .done .done-head { padding-top: 32px; }
  .after .done-head { padding-top: 32px; }
  .narrow.after, .narrow.done { padding-bottom: 24px; }
  .inv-title { font-size: 44px; }
}
.pro-notif { align-items: center; margin-top: 0; }
.pro-notif .pro-app { align-self: flex-start; margin-top: 2px; }
.pro-notif.is-sent .grow { opacity: .5; }
.pro .screen-title + .pro-h { padding-top: 20px; }
@media (min-width: 1024px) {
  .hero:has(.offer-line) { grid-template-rows: 1fr auto 1fr; }
  .hero:has(.offer-line) .offer-line { grid-row: 2; }
  .hero:has(.offer-line) .hero-row > div:first-child { grid-row: 3; }
  .hero:has(.offer-line) .arch { grid-row: 1 / span 3; }
}
@media (min-width: 1024px) { .bk .form { max-width: none; } }

/* =====================================================================
   v8 (contrôle) : styles des éléments ajoutés en v8, et corrections de mouvement
   ===================================================================== */

/* Barres fixes : on ne lit plus le texte qui passe dessous */
.topbar { background: color-mix(in srgb, var(--bg) 94%, transparent); }
.anchors, .cats { background: color-mix(in srgb, var(--bg) 94%, transparent); }

/* Emplacements photo : plus de reflet qui tourne en boucle (ressemblait à un chargement) */
.ph::after { animation: none; }

/* Marques « à fournir » : discrètes, et masquables depuis les réglages */
.tbc, .comeback .t .tbc { font: 500 12px/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-3); border: 1px dashed var(--line-2); padding: 2px 6px; }
body.no-tbc .tbc, body.no-tbc .card.before, body.no-tbc .note-line:has(.tbc):not(:has(svg)) { display: none; }

/* Barre d'étapes : seule la barre atteinte se remplit, et seulement en avançant */
.steps .bars i.on::after { animation: none; }
.steps .bars i.on.new::after { animation: fill var(--t-3) var(--out) both; }

/* Accueil : le rendez-vous gardé sur ce téléphone */
.rdv-banner { display: flex; align-items: center; gap: 12px; width: calc(100% - 2 * var(--gutter)); margin: 6px var(--gutter) 4px; padding: 10px 12px 10px 10px; min-height: 60px; border-radius: 20px; background: var(--cacao); color: #fff; text-align: left; box-shadow: var(--sh-2); }
.rb-ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none; }
.rb-ic svg { width: 20px; height: 20px; }
.rdv-banner .grow { flex: 1; min-width: 0; }
.rdv-banner small { display: block; font-size: 12.5px; color: #EADFD7; }
.rdv-banner b { display: block; font-weight: 600; font-size: 15.5px; }
.rb-go { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--ink); display: inline-flex; align-items: center; font-weight: 600; font-size: 14.5px; }

/* Univers : prix, durée et paiement en une ligne ; l'arche réduite ; l'offre dans le flux */
.u-line { margin: 10px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.u-head { grid-template-columns: minmax(0, 1fr) 88px; align-items: start; }
.u-arch { height: 112px; margin-top: 28px; }
.u-head .lede { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.offer-line.in-flow { margin: 14px var(--gutter) 0; }
.slots .offer-line.in-flow, body[data-screen="slots"] .offer-line.in-flow { margin-top: 16px; }
@media (max-width: 380px) {
  .u-head { grid-template-columns: minmax(0, 1fr) 72px; gap: 14px; }
  .u-arch { height: 92px; margin-top: 24px; }
  .u-head .lede { display: none; }
}
@media (min-width: 1024px) {
  .u-head { grid-template-columns: minmax(0, 1fr) 220px; }
  .u-arch { height: 260px; margin-top: 0; }
  .u-line { font-size: 17px; margin-top: 14px; }
}

/* L'heure : la question du semi-permanent, deux réponses de même poids */
.tip-q { flex-wrap: wrap; padding: 12px 12px 12px 18px; row-gap: 10px; }
.tip-q .grow { flex: 1 1 100%; }
.tip .chip.q { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); padding: 0 16px; }
.tip .chip.q:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.tip-ok { gap: 12px; padding-left: 16px; }
.tip-ok .ok-ic { width: 26px; height: 26px; border-radius: 50%; background: var(--clay); color: #fff; display: grid; place-items: center; flex: none; animation: pop var(--t-3) var(--spring) both; }
.tip-ok .ok-ic svg { width: 14px; height: 14px; stroke-width: 2.4; }
.tip-ok .grow { flex: 1; min-width: 0; }
.tip-ok .link { font-size: 14.5px; padding: 0 10px; flex: none; }

/* L'heure, peu de créneaux : une flèche, comme les lignes de soin (le toucher ouvre le formulaire) */
.few-item .go-ar { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; flex: none; color: var(--ink); }
.few-item .go-ar svg { width: 16px; height: 16px; }

/* Rail des jours : le mois, un séparateur à son changement seulement */
.mo-sep { flex: none; align-self: center; writing-mode: vertical-rl; transform: rotate(180deg); font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 0 2px; }

/* Formulaire : la dépose à ajouter, un rendez-vous déjà pris */
#bk-semi:empty, #bk-extra:empty { display: none; }
.bk-semi, .bk-dup { display: flex; gap: 10px; align-items: flex-start; margin: 14px var(--gutter) 0; padding: 12px 14px; border-radius: 16px; background: var(--bg-2); font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.bk-dup { margin: 10px 0 0; }
.bk-semi > svg, .bk-dup > svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--ink-2); }
.bk-semi b { color: var(--ink); font-weight: 600; }
.bk-semi .link, .bk-dup .link { min-height: 44px; font-size: 14px; display: inline-flex; vertical-align: middle; margin: -10px 0 -12px; }

/* Coordonnées : barre d'ordinateur, offre et note */
.dk-offer { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--clay-ink); }
.dk-offer svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--clay); }
.dk-total b s, .sum s, .bk-card s, .ns-pay s, .mini-ticket s { text-decoration-thickness: 1.5px; text-decoration-color: currentColor; opacity: .55; font-size: .8em; }

/* Confirmation, rendez-vous, annulé : titre avec une pastille, pas d'arche */
.done-head.inline { display: flex; align-items: center; gap: 14px; }
.done-head.inline .done-mark { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 10px 22px -12px rgba(163,74,47,.8); flex: none; }
.done-head.inline .done-mark svg { width: 20px; height: 20px; }
.done-head.inline .h1 { margin-top: 0; }
.done-mark.soft { animation: vt-fade-in var(--t-2) var(--out) both; box-shadow: none; }
.done-mark.soft svg { animation-duration: var(--t-2); animation-delay: 120ms; }
.sms-note .link { min-height: 44px; font-size: 14px; margin-top: 2px; }
.ami-line small.gain { margin-top: 3px; color: var(--clay-ink); font-size: 13px; line-height: 1.35; }
.mini-ticket.is-off { opacity: .55; }
.mini-ticket.is-off .t s { font-size: 1em; opacity: .8; text-decoration-thickness: 2px; }
.ticket small, .mini-ticket small { display: block; font-size: 13px; opacity: .78; font-weight: 400; margin-top: 2px; }

/* Annuler : garder la réservation d'abord, annuler visible en dessous */
.alt-move { display: grid; gap: 10px; }
.alt-move #bookzone { display: grid; }
.btn-cancel { color: var(--clay-ink); box-shadow: inset 0 0 0 1px var(--line-2); background: transparent; }
.spacer.tall { height: 200px; }

/* Lien de recommandation et page de l'amie */
.ref-url { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 13.5px; color: var(--ink-3); overflow-wrap: anywhere; }
.ref-url svg { width: 16px; height: 16px; flex: none; }
.inv-date { margin: 8px 0 0; font-size: 14.5px; font-weight: 600; color: var(--clay-ink); }
.inv-facts { margin: 16px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.invite .next-free { margin-top: 10px; }

/* Après le soin : l'avis d'abord, puis la prochaine pose en cacao (l'accent reste pour la remise) */
.card.review .h3 { display: flex; gap: 8px; align-items: center; }
.card.review .btn { margin-top: 14px; }
.after .card.review { margin-top: 18px; }
.comeback { background: var(--cacao); }
.comeback p { color: #EADFD7 !important; }
.comeback .btn { color: var(--ink); }
.after .comeback .eyebrow.light { color: #F2C2AE; }
.next-svc { background: transparent; padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,.16); border-radius: 0; color: #fff; }
.next-svc .ns-pay { font-weight: 600; color: #fff; }
.next-svc .ns-pay s { opacity: .65; }
.next-svc b { color: #F2C2AE; }
.next-svc small { color: #EADFD7; opacity: 1; }

/* Écran d'Axelle : une grille, trois lignes, le bouton au même endroit */
.pro-row { align-items: center; }
.pro-av { position: relative; align-self: center; margin-top: 0; }
.pro-av.is-new::after { content: ''; position: absolute; top: -1px; right: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 2px var(--surface); }
.pro-tag { font-size: 12.5px; color: var(--clay-ink); font-weight: 600; }
.pro-meta { margin: 2px 0 0; font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.pro-txt { -webkit-line-clamp: 1; }
.pro-send { width: 96px; justify-content: center; padding: 0; }
.pro-done { width: 96px; justify-content: center; padding: 0; }
.pro-done.drawn svg { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw var(--t-2) var(--out) forwards; }
.pro-row.is-sent { transition: opacity var(--t-2) var(--out); }
.pro-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; animation: swap-in var(--t-2) var(--out) both; }
.pro-ask > span { font-weight: 600; font-size: 14.5px; color: var(--ink); margin-right: 2px; }
.pro-ask .btn { min-height: 44px; }
.pro-ask .btn:not(.btn-ghost) { background: var(--ink); color: #fff; }
.pro .pro-list + .pro-h { padding-top: 24px; }
.pro .screen-title + .pro-list { margin-top: 18px; }

/* Réseau : la carte d'échec sous le bouton, qui ne bouge plus */
#bookzone > .net { margin: 12px 0 0; }

/* Déplacer → billet : la nouvelle heure arrive tout de suite */
.ticket.moved .time { animation: swap-in var(--t-3) var(--spring) 60ms both; }

/* Ordinateur : le héros laisse voir l'offre et les premiers soins */
@media (min-width: 1024px) {
  .hero { padding-top: 24px; }
  .hero .display { font-size: 64px; }
  .hero .arch { height: 360px; }
  .rdv-banner { width: auto; max-width: 560px; margin: 12px var(--gutter) 0; }
}

/* Barre du bas pendant les transitions : sous les cartes partagées, et en fondu court */
::view-transition-group(.grow) { z-index: 3; }
::view-transition-old(dock) { animation: vt-fade-out var(--t-1) var(--out) both; }
::view-transition-new(dock) { animation: vt-fade-in var(--t-2) var(--out) 50ms both; }

/* Mouvement réduit : fondus seulement, jamais deux pages lisibles ensemble */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), html[data-dir]::view-transition-old(root) { animation: vt-fade-out var(--t-1) var(--out) both; }
  ::view-transition-new(root), html[data-dir]::view-transition-new(root) { animation: vt-fade-in var(--t-2) var(--out) 60ms both; }
  .done-head.inline .done-mark, .tip-ok .ok-ic { animation: vt-fade-in var(--t-2) var(--out) both; }
}
.ami-line { padding: 12px 14px 12px 16px; }
.next-svc .ns-pay s { font-size: 1em; }
/* iPhone SE : le billet se resserre pour que les tuiles (itinéraire, écrire, agenda) restent proches */
@media (max-height: 700px) and (max-width: 420px) {
  .ticket { padding: 18px 20px; margin-top: 14px; }
  .ticket .time { font-size: 68px; }
  .ticket .svc { margin-top: 6px; }
  .ticket .addr { margin-top: 12px; padding-top: 12px; }
  .done .sms-note { margin-top: 12px; }
  .done-head.inline .h1 { font-size: 34px; }
}
.done-head.inline .done-mark.soft { box-shadow: none; }

/* =====================================================================
   v9 : sans photos (pas encore de vraies photos) et sans remises
   ===================================================================== */
.hero-row { grid-template-columns: minmax(0, 1fr); }
.axelle { grid-template-columns: minmax(0, 1fr); }
.u-head { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 380px) { .hero-row { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1024px) {
  .hero, .hero:has(.offer-line) { display: block; max-width: 880px; padding-top: 64px; }
  .hero-row { display: block; }
  .hero-row > div:first-child { margin-top: 26px; }
  .hero .offer-line { margin-top: 20px; }
  .u-head { grid-template-columns: minmax(0, 1fr); }
  #axelle { grid-template-columns: minmax(0, 1fr); }
  #axelle .axelle { max-width: 640px; }
}
.hero-kicker { margin: 0 0 14px; }
.bk-semi-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* =====================================================================
   App réelle (v9) : ce que la maquette n'avait pas à montrer
   ===================================================================== */

/* Démonstration : une bande discrète en haut, jamais en production */
#demo-band[hidden] { display: none; }
.demo-band { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 0; padding: 8px var(--gutter); background: var(--cacao); color: #F6EEE8; font-size: 13px; font-weight: 500; line-height: 1.35; text-align: center; }
.demo-band svg { width: 15px; height: 15px; flex: none; color: #F2C2AE; }

/* Piège à robots : hors de l'écran, hors du clavier, hors des lecteurs d'écran */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Tuiles du billet : deux seulement quand il manque l'itinéraire ou le numéro */
.quick.two { grid-template-columns: repeat(2, 1fr); }

/* Pied de page : mentions, confidentialité, « Ce n'est pas vous ? » */
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; margin-top: 14px; }
.foot-links a, .foot-links .link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 500; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* Carte d'erreur : le lien « Écrire à Axelle » dans le texte */
.net .grow .link { min-height: 44px; font-size: 13.5px; }

/* Un soin « sur demande » : la ligne s'ouvre sur un message à Axelle */
a.row { text-decoration: none; color: inherit; }

/* Partage : les boutons sont des liens (Messages, WhatsApp) */
.share-row a { min-height: 80px; border-radius: 18px; background: var(--surface); box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--ink); }
.msg-preview .lnk { white-space: normal; overflow-wrap: anywhere; }

/* La vitrine : ce qui s'affiche avant le script (et pour Google), aux couleurs de la page */
.vitrine .svc-row { cursor: default; }
.vitrine .univ-head .h2 { font-size: 30px; }
.vitrine .vit-wait { margin: 28px var(--gutter) 0; font-size: 14px; color: var(--ink-3); }
.vitrine .vit-wait a { color: var(--ink); font-weight: 600; }
.vitrine .info { margin-top: 18px; }
.vitrine .group-name { padding: 18px var(--gutter) 0; margin: 0; font: 600 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.vitrine .group-name + .top-list { margin-top: 10px; }
.vitrine .vit-desc { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-2); }

@media print {
  .topbar, .dock, #toast, #layer, .demo-band { display: none !important; }
}

/* =====================================================================
   v10 : L'Atelier d'Axelle, chez elle ou chez vous
   ===================================================================== */

/* Où : deux choix de même poids, en haut de l'écran des heures */
.lieu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px var(--gutter) 0; }
.lieu-opt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 104px; padding: 14px 14px 14px 16px; border-radius: 20px; background: var(--surface); box-shadow: var(--sh-1); text-align: left; transition: background-color var(--t-2), color var(--t-2), transform var(--t-3) var(--spring), box-shadow var(--t-2); }
.lieu-opt > svg { width: 22px; height: 22px; color: var(--clay); }
.lieu-opt b { display: block; font-weight: 600; font-size: 16px; line-height: 1.25; }
.lieu-opt .grow > span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-3); line-height: 1.3; }
.lieu-opt .radio { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; }
.lieu-opt .radio svg { width: 14px; height: 14px; stroke-width: 2.4; opacity: 0; transform: scale(.4); transition: opacity var(--t-1), transform var(--t-3) var(--spring); }
.lieu-opt[aria-checked="true"] { background: var(--ink); color: #fff; box-shadow: 0 12px 22px -12px rgba(28,23,20,.7); animation: settle var(--t-3) var(--spring); }
.lieu-opt[aria-checked="true"] > svg { color: #F2C2AE; }
.lieu-opt[aria-checked="true"] .grow > span { color: rgba(255,255,255,.72); }
.lieu-opt[aria-checked="true"] .radio { background: #fff; color: var(--ink); box-shadow: none; }
.lieu-opt[aria-checked="true"] .radio svg { opacity: 1; transform: none; }
.lieu + .basket { margin-top: 12px; }
.lieu-first p { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.lieu-first svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--clay); }

/* Formulaire et panneau : le lieu choisi, rappelé */
.bk-where, .dk-where { display: flex; gap: 8px; align-items: center; margin: 8px 0 0; font-size: 14.5px; font-weight: 600; color: var(--clay-ink); }
.bk-where svg, .dk-where svg { width: 16px; height: 16px; flex: none; color: var(--clay); }
.dk-where { margin: 0 0 14px; }
.field .msg .link { min-height: 44px; font-size: 14px; color: #B3261E; text-decoration-color: currentColor; vertical-align: middle; margin: -12px 0; }

/* « C'est réservé. » d'abord, puis la carte qui porte les actions */
.done-sub { margin: 10px var(--gutter) 0; font: 400 26px/1.2 var(--serif); letter-spacing: -.01em; color: var(--ink-2); }
.done-head.inline + .done-sub { margin-top: 8px; }
.ticket .addr span { min-width: 0; }
.t-acts { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
.t-act { min-height: 76px; padding: 10px 4px; border-radius: 16px; background: rgba(255,255,255,.09); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; font: 600 12.5px/1.2 var(--sans); text-align: center; text-decoration: none; transition: background-color var(--t-1), transform var(--t-3) var(--spring); }
.t-act svg { width: 21px; height: 21px; flex: none; }
.t-act:hover { background: rgba(255,255,255,.15); }
.t-note { margin: 12px 0 0; font-size: 13.5px; line-height: 1.4; color: #EADFD7; }
.vcf-line { margin-top: 12px; }
.vcf-line .link svg { width: 16px; height: 16px; }
@media (max-width: 380px) {
  .t-act { font-size: 11.5px; min-height: 72px; }
  .done-sub { font-size: 23px; }
  .lieu-opt { padding: 12px; min-height: 98px; }
}

/* Ajouter à l'agenda : un choix par agenda, en une liste. */
.cal-list { margin: 4px var(--gutter) 0; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); overflow: hidden; }
.cal-opt { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 18px; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); }
.cal-opt:first-child { border-top: 0; }
.cal-opt b { display: block; font-size: 16px; font-weight: 600; }
.cal-opt small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-3); }
.cal-opt svg { width: 18px; height: 18px; flex: none; color: var(--ink-3); }

/* L'annonce du futur salon : une ligne discrète sous la présentation. */
.soon { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; font-size: 15px; font-weight: 500; color: var(--clay-ink); }
.soon svg { width: 16px; height: 16px; flex: none; color: var(--clay); }

/* Mentions légales et confidentialité : une page de texte, lisible, dans la même typographie. */
.legal { max-width: 680px; margin: 0 auto; padding: 28px var(--gutter) 64px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.legal h1 { font: 400 40px/1.1 var(--serif); margin: 18px 0 8px; }
.legal h2 { font: 600 17px/1.3 var(--sans); margin: 28px 0 6px; }
.legal p { margin: 6px 0; color: var(--ink-2); }
.legal a { color: var(--ink); }
.legal .todo { background: color-mix(in srgb, var(--clay) 14%, transparent); color: var(--clay-ink); border-radius: 6px; padding: 0 4px; }

/* =====================================================================
   v11 : trois lieux (institut, chez Axelle, chez vous), ouverture du planning
   ===================================================================== */

/* Trois cartes de même poids, qui tiennent côte à côte jusqu'à l'iPhone SE */
.lieu { grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); }
.lieu[style*="--n:3"] .lieu-opt { min-height: 112px; padding: 12px 10px 12px 12px; gap: 8px; }
.lieu[style*="--n:3"] .lieu-opt b { font-size: 15px; }
.lieu[style*="--n:3"] .lieu-opt .grow > span { font-size: 12.5px; }
.lieu[style*="--n:3"] .lieu-opt .radio { top: 10px; right: 10px; width: 22px; height: 22px; }
.lieu[style*="--n:3"] .lieu-opt > svg { width: 20px; height: 20px; }
@media (max-width: 380px) {
  .lieu { gap: 6px; }
  .lieu[style*="--n:3"] .lieu-opt { padding: 10px 8px 10px 10px; min-height: 108px; }
  .lieu[style*="--n:3"] .lieu-opt b { font-size: 14px; }
  .lieu[style*="--n:3"] .lieu-opt .grow > span { font-size: 12px; }
}

/* Avant l'ouverture : une ligne claire, au-dessus du choix du lieu */
.opening { display: flex; gap: 10px; align-items: flex-start; margin: 14px var(--gutter) 0; padding: 12px 14px; border-radius: 16px; background: var(--clay-soft); color: var(--clay-ink); font-size: 15px; font-weight: 600; line-height: 1.4; }
.opening svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--clay); }
.opening + .lieu { margin-top: 12px; }

/* L'institut : l'adresse sur la carte, avec Itinéraire */
.ticket .addr { flex-wrap: wrap; }
.ticket .addr span { flex: 1 1 160px; }
.t-map { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -8px 0 -8px auto; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.t-map svg { width: 16px; height: 16px; flex: none; }
