/* Speakeasy — « Le Comptoir » (refonte du 03/11/2026)
   Direction B poussée : ambre sur noir, Playfair italique + Manrope + Italiana.
   Mouvement « premium » : courbe décélérée, 180 / 480 / 900 ms, entrées en cascade. */

:root {
  --bg: #070504;
  --bg-2: #0B0908;
  --sheet: #100C09;
  --ink: #F5EFE3;
  --muted: rgba(245, 239, 227, .76);
  --dim: rgba(245, 239, 227, .62);
  --gold: #F6CF8A;
  --amber: #E9A84C;
  --amber-ink: #1A1206;
  --line: rgba(246, 207, 138, .22);
  --line-soft: rgba(255, 255, 255, .07);
  --wood: #34200F;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --deco: 'Italiana', 'Playfair Display', Georgia, serif;
  --gutter: 20px;
  --nav-space: calc(104px + env(safe-area-inset-bottom));
}

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.app { position: relative; max-width: 480px; min-height: 100dvh; margin: 0 auto; overflow-x: clip; isolation: isolate; }
@media (min-width: 560px) {
  body { background: radial-gradient(60% 50% at 50% 20%, #1A120B, #050403 70%); }
  .app { box-shadow: 0 0 0 1px rgba(246, 207, 138, .1), 0 40px 120px rgba(0, 0, 0, .8); background: var(--bg); }
}
.view { position: relative; min-height: 100dvh; padding-bottom: var(--nav-space); }
.view.no-nav { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }

.grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .12; mix-blend-mode: overlay; z-index: 90; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes sheetUp { from { transform: translateY(90px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes breathe { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.25); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes sweep { 0% { transform: translateX(-180%) skewX(-20deg); } 50%, 100% { transform: translateX(560%) skewX(-20deg); } }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-2%, -2%); } }
@keyframes smoke { 0% { opacity: 0; transform: translate(0, 30px) scale(.6); } 25% { opacity: .75; } 100% { opacity: 0; transform: translate(var(--sx, 0px), -120px) scale(1.8); } }
@keyframes pop { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.18); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes neonOn { 0% { opacity: 0; } 5% { opacity: .85; } 7% { opacity: .1; } 12% { opacity: .95; } 14% { opacity: .25; } 22%, 100% { opacity: 1; } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes shake { 0% { transform: rotate(-14deg) translate(-3px, 4px); } 100% { transform: rotate(12deg) translate(4px, -6px); } }
@keyframes pour { 0%, 100% { transform: rotate(0deg); } 35%, 65% { transform: rotate(-38deg); } }
@keyframes drop { 0%, 30% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 75% { opacity: 1; transform: translateY(34px); } 80%, 100% { opacity: 0; transform: translateY(38px); } }
@keyframes ice { 0% { opacity: 0; transform: translateY(-58px) rotate(-20deg); } 35% { opacity: 1; transform: translateY(4px) rotate(8deg); } 45% { transform: translateY(-6px) rotate(4deg); } 55%, 85% { opacity: 1; transform: translateY(0) rotate(6deg); } 100% { opacity: 0; transform: translateY(0) rotate(6deg); } }
@keyframes layer { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@keyframes stir { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(10deg); } }
@keyframes frost { 0%, 100% { opacity: .25; } 50% { opacity: .8; } }

.rise { animation: rise .8s var(--ease) both; animation-delay: var(--d, 0s); }
.view.calm .rise { animation: none; }
.vitrine-item { animation: rise .6s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Commun ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(16px + env(safe-area-inset-top)) var(--gutter) 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--deco); font-size: 14px; letter-spacing: .42em; color: rgba(245, 239, 227, .86); }
.brand-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber), 0 0 22px var(--amber); animation: breathe 3.2s ease-in-out infinite; }
.icon-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; padding: 0; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .18s var(--ease), background .3s; }
.icon-btn:active { transform: scale(.94); }
.icon-btn[aria-pressed="true"] { background: rgba(233, 168, 76, .14); border-color: rgba(246, 207, 138, .5); color: var(--gold); }
.title { margin: 2px 0 0; padding: 0 var(--gutter); font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 44px; line-height: 1.05; letter-spacing: -.02em; }
.subtitle { margin: 4px 0 0; padding: 0 var(--gutter); font-size: 13px; color: var(--dim); }
.kicker { font-family: var(--deco); font-size: 14px; letter-spacing: .34em; color: var(--amber); }
.empty { margin: 32px var(--gutter); padding: 22px; border-radius: 20px; border: 1px solid var(--line-soft); color: var(--muted); text-align: center; }

.pill-cta { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 0 22px 0 26px; border-radius: 999px; border: 0; background: linear-gradient(180deg, var(--gold), var(--amber)); color: var(--amber-ink); box-shadow: 0 8px 22px rgba(233, 168, 76, .25), inset 0 1px 0 rgba(255, 255, 255, .5); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; transition: transform .18s var(--ease), opacity .3s; }
.pill-cta:active { transform: scale(.97); }
.pill-cta svg { flex: none; }
.ghost-round { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; padding: 0; background: rgba(20, 15, 11, .9); border: 1px solid rgba(246, 207, 138, .3); color: var(--muted); transition: opacity .3s, transform .18s var(--ease); }
.ghost-round:disabled { opacity: .3; cursor: default; }

/* ---------- Barre d'onglets ---------- */
.tabbar { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(14, 10, 8, .86); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); border: 1px solid rgba(246, 207, 138, .24); box-shadow: 0 22px 50px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .07); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.tabbar.hidden { opacity: 0; pointer-events: none; transform: translate(-50%, 30px); }
.tab { height: 50px; min-width: 50px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 0 14px; color: rgba(245, 239, 227, .74); transition: background .35s var(--ease), color .35s, padding .35s var(--ease); }
.tab-label { display: none; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 17px; white-space: nowrap; }
.tab[aria-current="page"] { padding: 0 20px 0 15px; background: linear-gradient(180deg, var(--gold), var(--amber)); color: var(--amber-ink); box-shadow: 0 8px 24px rgba(233, 168, 76, .42), inset 0 1px 0 rgba(255, 255, 255, .55); }
.tab[aria-current="page"] .tab-label { display: inline; }

/* ---------- Chargement ---------- */
.splash { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg); transition: opacity .6s var(--ease), filter .6s var(--ease), transform .6s var(--ease); }
.splash.out { opacity: 0; filter: blur(10px); transform: scale(1.05); pointer-events: none; }
.splash-glow { position: absolute; left: -80px; right: -80px; top: 50%; height: 360px; margin-top: -200px; background: radial-gradient(45% 45% at 50% 50%, rgba(233, 168, 76, .28), rgba(233, 168, 76, 0) 72%); animation: neonOn 1.6s ease-out both; }
.splash-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.neon { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 66px; line-height: 1; letter-spacing: -.01em; color: #FFE7BC; text-shadow: 0 0 3px #FFE1A8, 0 0 10px #F6CF8A, 0 0 24px rgba(233, 168, 76, .95), 0 0 56px rgba(233, 168, 76, .6), 0 0 110px rgba(233, 168, 76, .35); animation: neonOn 1.6s ease-out both; }
.splash-tag { font-family: var(--deco); font-size: 14px; letter-spacing: .52em; padding-left: .52em; color: rgba(245, 239, 227, .8); animation: rise .9s .5s var(--ease) both; }
.splash-bar { width: 120px; height: 1px; margin-top: 22px; background: rgba(246, 207, 138, .16); overflow: hidden; animation: rise .9s .5s var(--ease) both; }
.splash-bar span { display: block; height: 1px; background: linear-gradient(90deg, rgba(246, 207, 138, .2), var(--gold)); box-shadow: 0 0 8px var(--gold); transform-origin: left; animation: fill 1.9s .6s cubic-bezier(.4, 0, .2, 1) both; }

/* ---------- La carte ---------- */
.ambient { position: absolute; left: 0; right: 0; top: 0; height: 640px; overflow: hidden; pointer-events: none; z-index: -1; }
.ambient img { position: absolute; left: -60px; top: -40px; width: calc(100% + 120px); height: 660px; object-fit: cover; filter: blur(46px) saturate(1.3) brightness(.42); opacity: 0; transition: opacity .9s var(--ease); }
.ambient img.on { opacity: 1; }
.ambient::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7, 5, 4, .2), rgba(7, 5, 4, .75) 55%, var(--bg) 92%); }

.seg { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px var(--gutter) 0; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(246, 207, 138, .18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.seg-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: linear-gradient(180deg, var(--gold), var(--amber)); box-shadow: 0 6px 22px rgba(233, 168, 76, .45), inset 0 1px 0 rgba(255, 255, 255, .5); transition: transform .48s var(--ease); }
.seg button { position: relative; min-height: 44px; border: 0; background: transparent; color: rgba(245, 239, 227, .8); font-size: 14px; font-weight: 700; transition: color .3s; }
.seg button[aria-pressed="true"] { color: var(--amber-ink); }

.deck { position: relative; height: clamp(420px, 58dvh, 520px); margin: 52px var(--gutter) 0; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.card { position: absolute; inset: 0; display: block; transform-origin: 50% 0%; transition: transform .72s var(--ease), opacity .5s var(--ease), filter .5s; will-change: transform; }
.card.dragging { transition: none; }
.card-in { position: absolute; inset: 0; border-radius: 30px; overflow: hidden; background: #000; box-shadow: 0 30px 70px rgba(0, 0, 0, .7), 0 0 0 1px rgba(246, 207, 138, .22); animation: floaty 7s ease-in-out infinite; }
.card-in > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(to top, rgba(7, 5, 4, .97) 22%, rgba(7, 5, 4, 0)); }
.card-sweep { position: absolute; top: -20px; bottom: -20px; left: 0; width: 80px; background: linear-gradient(90deg, rgba(255, 240, 210, 0), rgba(255, 240, 210, .16), rgba(255, 240, 210, 0)); animation: sweep 6s 1.2s cubic-bezier(.4, 0, .2, 1) infinite both; }
.card-top { position: absolute; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.chip-glass { padding: 7px 12px; border-radius: 999px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(246, 207, 138, .25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12px; font-weight: 600; }
.card-num { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; color: rgba(245, 239, 227, .9); font-variant-numeric: tabular-nums; }
.card-body { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.card-name { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(40px, 12vw, 52px); line-height: .98; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
.card-desc { font-size: 14.5px; line-height: 1.45; color: rgba(245, 239, 227, .8); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.card-meta { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 600; line-height: 1.4; color: rgba(245, 239, 227, .74); }
.recette-chip { flex: none; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 7px 0 16px; border-radius: 999px; border: 1px solid rgba(246, 207, 138, .5); background: rgba(10, 7, 5, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 16px; white-space: nowrap; }
.medal { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--gold), var(--amber)); color: var(--amber-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55); }
.ready { color: var(--gold); }

.pager { display: flex; align-items: center; justify-content: space-between; margin: 14px var(--gutter) 0; }
.pager-btn { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; }
.pager-btn span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.pager-btn.prev span { border: 1px solid rgba(246, 207, 138, .5); background: rgba(10, 7, 5, .45); color: var(--gold); }
.pager-btn.next span { background: linear-gradient(180deg, var(--gold), var(--amber)); color: var(--amber-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55); }
.dots { display: flex; gap: 6px; align-items: center; }
.dot { height: 6px; width: 6px; border-radius: 3px; background: rgba(245, 239, 227, .32); transition: width .48s var(--ease), background .3s; }
.dot.on { width: 24px; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.pager-count { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; font-variant-numeric: tabular-nums; color: var(--muted); }

/* ---------- Fiche ---------- */
.hero { position: relative; height: 340px; overflow: hidden; }
.hero > img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 16s ease-in-out infinite alternate; }
.hero-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(to top, var(--bg), rgba(7, 5, 4, 0)); }
.smoke { position: absolute; left: 50%; top: 70px; width: 100px; height: 100px; margin-left: -50px; pointer-events: none; }
.smoke span { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255, 244, 228, .36), rgba(255, 244, 228, 0) 66%); filter: blur(11px); animation: smoke 7s ease-out infinite both; }
.smoke span:nth-child(2) { left: 16px; --sx: 22px; animation-delay: 2.3s; }
.smoke span:nth-child(3) { left: -10px; --sx: 6px; animation-delay: 4.6s; }
.smoke span:nth-child(1) { --sx: -18px; }
.hero-bar { position: absolute; top: calc(16px + env(safe-area-inset-top)); left: 16px; right: 16px; display: flex; justify-content: space-between; }
.hero-bar .icon-btn { background: rgba(10, 7, 5, .5); }
.fav-badge { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 7, 5, .5); border: 1px solid var(--line); color: var(--amber); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.fav-badge svg { animation: pop .5s .8s var(--ease) both; }

.sheet { position: relative; margin-top: -104px; padding: 22px 24px 32px; border-radius: 30px 30px 0 0; background: linear-gradient(180deg, #120E0B, #0A0806 40%); box-shadow: 0 -20px 50px rgba(0, 0, 0, .6); display: flex; flex-direction: column; gap: 20px; animation: sheetUp .9s .15s var(--ease) both; }
.sheet::before { content: ""; position: absolute; left: 40px; right: 40px; top: 0; height: 1px; background: linear-gradient(90deg, rgba(246, 207, 138, 0), rgba(246, 207, 138, .85), rgba(246, 207, 138, 0)); }
.fiche-name { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(42px, 13vw, 54px); line-height: 1; letter-spacing: -.02em; }
.fiche-desc { margin: 8px 0 0; font-size: 14.5px; color: var(--muted); }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.meta-chip { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(246, 207, 138, .26); font-size: 12px; font-weight: 600; color: #FBE6C2; }

.dose { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 18px; border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(246, 207, 138, .18); }
.dose-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.glasses { display: flex; align-items: flex-end; gap: 4px; height: 24px; }
.glasses svg { animation: pop .42s var(--ease) both; }
.glasses .more { font-size: 13px; font-weight: 700; color: var(--amber); }
.dose-label { font-size: 13px; font-weight: 600; color: rgba(245, 239, 227, .8); font-variant-numeric: tabular-nums; }
.step-btn { width: 48px; height: 48px; flex: none; border-radius: 16px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(246, 207, 138, .22); background: rgba(255, 255, 255, .06); color: var(--ink); transition: transform .18s var(--ease), opacity .3s; }
.step-btn.plus { border: 0; background: linear-gradient(180deg, var(--gold), var(--amber)); color: var(--amber-ink); box-shadow: 0 8px 22px rgba(233, 168, 76, .4), inset 0 1px 0 rgba(255, 255, 255, .5); }
.step-btn:active { transform: scale(.94); }
.step-btn:disabled { opacity: .35; cursor: default; }

.ings { display: flex; flex-direction: column; }
.ing { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 8px; padding: 10px 0 9px; border-bottom: 1px solid rgba(255, 255, 255, .06); animation: rise .7s var(--ease) both; animation-delay: var(--d, 0s); }
.ing-name { font-size: 15px; font-weight: 500; }
.ing-qty { font-size: 15px; font-weight: 700; color: var(--amber); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.ing-bar { grid-column: 1 / -1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.ing-bar span { display: block; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--amber), var(--gold)); transform-origin: left center; animation: grow .9s var(--ease) both; animation-delay: var(--d, 0s); }
.note { margin: 0; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, .025); font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.5; color: var(--muted); }
.note b { display: block; margin-bottom: 4px; font-family: var(--deco); font-style: normal; font-weight: 400; font-size: 12.5px; letter-spacing: .28em; color: var(--amber); }
.method { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.section-title { margin: 0 0 4px; font-family: var(--deco); font-weight: 400; font-size: 13px; letter-spacing: .3em; color: var(--amber); }

/* ---------- Pas-à-pas ---------- */
.prep { position: relative; min-height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
.prep::before { content: ""; position: absolute; left: -80px; right: -80px; top: -120px; height: 560px; background: radial-gradient(45% 50% at 50% 50%, rgba(233, 168, 76, .26), rgba(233, 168, 76, 0) 72%); animation: breathe 5s ease-in-out infinite; pointer-events: none; z-index: -1; }
.prep-head { display: flex; align-items: center; justify-content: space-between; padding: calc(18px + env(safe-area-inset-top)) var(--gutter) 0; gap: 10px; }
.prep-title { flex: 1; min-width: 0; text-align: center; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; color: rgba(245, 239, 227, .86); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prep-count { min-width: 44px; text-align: right; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--amber); }
.segs { display: grid; gap: 6px; margin: 14px var(--gutter) 0; }
.segs span { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.segs i { display: block; height: 3px; background: var(--amber); box-shadow: 0 0 10px var(--amber); transition: width .6s var(--ease); }
.ring { position: relative; width: 240px; height: 240px; margin: 24px auto 0; }
.ring svg.dial { position: absolute; inset: 0; }
.ring-core { position: absolute; inset: 22px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, rgba(246, 207, 138, .12), rgba(10, 8, 6, .9) 70%); border: 1px solid rgba(246, 207, 138, .14); }
.ring-arc { transition: stroke-dashoffset 1s linear, opacity .5s; filter: drop-shadow(0 0 8px rgba(233, 168, 76, .7)); }
.ring-icon { position: absolute; inset: 0; display: grid; place-items: center; }
.timer { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; color: #FFF3DC; }
.restart { display: flex; justify-content: center; min-height: 44px; margin-top: 12px; }
.restart button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(246, 207, 138, .3); background: rgba(255, 255, 255, .04); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.step-text { position: relative; flex: 1; display: grid; align-content: start; margin: 16px 24px 0; }
.step-card { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; gap: 12px; transition: opacity .5s var(--ease), transform .6s var(--ease), filter .5s; }
.step-verb { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(44px, 14vw, 60px); line-height: .95; letter-spacing: -.02em; }
.step-body { font-size: 17px; line-height: 1.5; color: rgba(245, 239, 227, .82); text-wrap: pretty; }
.step-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.step-chips span { padding: 8px 12px; border-radius: 999px; background: rgba(233, 168, 76, .1); border: 1px solid rgba(246, 207, 138, .3); font-size: 13px; font-weight: 600; color: #FBE6C2; }
.prep-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px var(--gutter) calc(28px + env(safe-area-inset-bottom)); }

/* ---------- Le bar ---------- */
.search { margin: 12px var(--gutter) 0; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--dim); }
.search input { flex: 1; min-width: 0; height: 46px; border: 0; outline: none; background: transparent; color: var(--ink); font: inherit; font-size: 15px; }
.search input::placeholder { color: rgba(245, 239, 227, .5); }
.shelves { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 var(--gutter); }
.shelf-name { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 19px; }
.shelf-count { margin-left: 8px; font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }
.shelf-body { position: relative; }
.plank { position: absolute; left: 0; right: 0; bottom: 14px; height: 14px; background: linear-gradient(180deg, #4A2E1A 0, var(--wood) 2px, #1E1209 100%); box-shadow: 0 -1px 0 rgba(255, 214, 150, .16), 0 10px 18px rgba(0, 0, 0, .55); }
.rail { position: relative; display: flex; align-items: flex-end; gap: 4px; padding: 0 var(--gutter); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail::after { content: ""; flex: none; width: 8px; height: 1px; }
.bottle { flex: none; width: 94px; height: 170px; padding: 0 0 6px; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; scroll-snap-align: start; }
.bottle img { height: 120px; width: auto; max-width: 84px; object-fit: contain; object-position: bottom; transition: transform .45s var(--ease); }
.bottle:active img { transform: translateY(-3px); }
.bottle-gap { display: block; height: 14px; }
.bottle-mark { display: block; margin-top: 8px; width: 0; height: 2px; border-radius: 1px; background: var(--amber); transition: width .45s var(--ease); }
.bottle[aria-pressed="true"] .bottle-mark { width: 22px; }
.drawer { position: sticky; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 5; margin: 22px 16px 0; padding: 14px 16px; border-radius: 22px; background: rgba(22, 17, 12, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(246, 207, 138, .22); display: flex; flex-direction: column; gap: 8px; animation: rise .5s var(--ease) both; }
.drawer-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.drawer-name { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 24px; line-height: 1.08; min-width: 0; }
.drawer-count { font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--amber); white-space: nowrap; }
.drawer-meta { font-size: 13px; color: var(--muted); }
.drawer-recipes { display: flex; flex-wrap: wrap; gap: 6px; }
.drawer-recipes a, .drawer-recipes span { padding: 6px 10px; border-radius: 999px; background: rgba(233, 168, 76, .1); border: 1px solid rgba(246, 207, 138, .3); font-size: 12px; font-weight: 600; color: #FBE6C2; }

/* ---------- La réserve ---------- */
.reserve-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: calc(22px + env(safe-area-inset-top)) 24px 0; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .18em; color: rgba(245, 239, 227, .7); text-transform: uppercase; }
.reserve-title { margin: 2px 0 0; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 40px; line-height: 1.05; letter-spacing: -.02em; }
.estimate { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding-bottom: 6px; }
.estimate strong { font-size: 15px; font-weight: 600; color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.vitrine { position: relative; height: 372px; margin-top: 10px; }
.vitrine::before { content: ""; position: absolute; left: -40px; right: -40px; top: -60px; height: 460px; background: radial-gradient(42% 46% at 50% 55%, rgba(246, 207, 138, .07), rgba(246, 207, 138, 0) 75%); pointer-events: none; }
.lot { position: absolute; left: 24px; top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .16em; font-variant-numeric: tabular-nums; color: rgba(245, 239, 227, .78); }
.vitrine-item { position: absolute; inset: 0; transition: opacity .6s var(--ease), transform .7s var(--ease); }
.vitrine-item > img { position: absolute; left: 0; right: 0; bottom: 30px; margin: 0 auto; height: 320px; width: auto; max-width: 80%; object-fit: contain; object-position: bottom; }
.reflect { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; overflow: hidden; opacity: .12; -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent); }
.reflect img { position: absolute; left: 0; right: 0; top: 0; margin: 0 auto; height: 320px; width: auto; max-width: 80%; object-fit: contain; object-position: bottom; transform: scaleY(-1); transform-origin: center top; }
.floor { position: absolute; left: 24px; right: 24px; bottom: 30px; height: 1px; background: linear-gradient(90deg, rgba(246, 207, 138, 0), rgba(246, 207, 138, .35), rgba(246, 207, 138, 0)); }
.lot-info { padding: 14px 24px 0; display: flex; flex-direction: column; gap: 14px; animation: rise .6s var(--ease) both; }
.lot-name { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 25px; line-height: 1.1; }
.lot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; row-gap: 12px; }
.lot-grid div { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .08); }
.lot-grid dt { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; color: rgba(245, 239, 227, .66); text-transform: uppercase; }
.lot-grid dd { margin: 0; font-size: 15px; }
.lot-grid dd.price { color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.strip { display: flex; align-items: flex-end; gap: 16px; margin-top: 22px; padding: 0 24px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-left: 24px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip::after { content: ""; flex: none; width: 8px; height: 1px; }
.thumb { flex: none; width: 52px; height: 86px; padding: 0; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; opacity: .45; scroll-snap-align: start; transition: opacity .35s var(--ease); }
.thumb img { height: 66px; width: auto; max-width: 52px; object-fit: contain; object-position: bottom; }
.thumb i { width: 0; height: 2px; border-radius: 1px; background: var(--amber); transition: width .45s var(--ease); }
.thumb[aria-pressed="true"] { opacity: 1; }
.thumb[aria-pressed="true"] i { width: 24px; }
.see-all { flex: none; width: 64px; height: 66px; margin-bottom: 10px; border-radius: 12px; border: 1px solid rgba(246, 207, 138, .28); background: rgba(255, 255, 255, .02); color: var(--gold); font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 14px; line-height: 1.15; scroll-snap-align: start; }
.sort { display: flex; gap: 8px; margin: 14px 24px 0; }
.sort button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; }
.sort button[aria-pressed="true"] { background: rgba(233, 168, 76, .14); border-color: rgba(246, 207, 138, .5); color: var(--gold); }
.lot-list { list-style: none; margin: 10px 0 0; padding: 0 16px; }
.lot-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 76px; padding: 8px 8px; border-bottom: 1px solid rgba(255, 255, 255, .06); animation: rise .6s var(--ease) both; animation-delay: var(--d, 0s); }
.lot-row img { height: 60px; width: auto; max-width: 44px; object-fit: contain; justify-self: center; }
.lot-row-name { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 17px; line-height: 1.2; }
.lot-row-meta { font-size: 12.5px; color: var(--dim); }
.lot-row-price { font-size: 13px; font-weight: 600; color: var(--gold); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.disclaimer { margin: 18px 24px 0; font-size: 12px; color: var(--dim); }
