/* Zinho do Corte — agenda do cliente (Sistema Nexus)
 * Revisão visual 2026-11-23 com a skill unslop (Damir Sokolovsky, @heydamir, CC BY 4.0).
 * Direção: firme, de bairro, caprichado · mundo: a cadeira do barbeiro à noite (couro preto, aço, luz âmbar) ·
 * momentos: o próximo horário livre e o link do horário · assinatura: o picote de ticket.
 * Superfícies em grafite neutro; o dourado da marca só na ação principal, na seleção e no destaque. */
:root {
  /* rampa neutra (grafite, levemente quente para casar com o creme da marca) */
  --bg: #0e0e0f; --bg2: #0b0b0c; --card: #161617; --card2: #1f1f21; --paper: #1a1815;
  --line: rgba(239, 233, 222, .08); --line2: rgba(239, 233, 222, .14);
  --tx: #efe9de; --tx2: #a9a39a; --mu: #85807a;
  /* marca */
  --gold: #d4a64a; --gold-ink: #15110a; --gold-soft: rgba(212, 166, 74, .1);
  /* semânticas, tons baixos */
  --ok: #4cc38a; --red: #e5484d; --warn: #d9a441;
  --r: 14px; --rc: 10px;
  --head: 'Bebas Neue', Impact, sans-serif; --body: 'Poppins', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 400 15px/1.5 var(--body); min-height: 100vh; font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.h { font-family: var(--head); letter-spacing: .01em; font-weight: 400; line-height: 1; margin: 0; }
.mu { color: var(--tx2); }
.gold { color: var(--gold); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 620px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 860px) { .wrap { padding: 0 32px; } }

/* topo */
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top)); background: rgba(14, 14, 15, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); }
.brand b { display: block; font-family: var(--head); font-size: 22px; letter-spacing: .01em; font-weight: 400; line-height: 1; }
.brand small { display: block; font-size: 12px; color: var(--tx2); margin-top: 4px; }
.brand small.on { color: var(--ok); } .brand small.off { color: var(--tx2); }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: var(--rc); display: grid; place-items: center; background: var(--card2); border: 1px solid var(--line); color: var(--tx2); cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease); }
.icon-btn:hover { color: var(--tx); }
.icon-btn .dot { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--gold); color: var(--gold-ink); font: 600 11px/18px var(--body); text-align: center; font-style: normal; padding: 0 4px; }
.top-act { display: flex; align-items: center; gap: 8px; }
.top-act .install-btn[hidden] { display: none; }
.boot { min-height: 70vh; display: grid; place-items: center; }
.boot img { width: 88px; border-radius: 50%; opacity: .6; }

/* botões: 48 de altura, cantos de 10, sem brilho */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 0; border-radius: var(--rc); padding: 0 20px; font-weight: 500; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .12s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--gold-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-gold:hover { background: #ddb15a; }
.btn-dark { background: var(--card2); border: 1px solid var(--line); color: var(--tx); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.btn-dark:hover { background: #262628; }
.btn-ghost { background: transparent; border: 1px solid var(--line2); color: var(--tx); }
.btn-red { background: transparent; border: 1px solid rgba(229, 72, 77, .35); color: #ef8c8f; }
.btn-wa { background: rgba(76, 195, 138, .1); color: #8fd8b2; border: 1px solid rgba(76, 195, 138, .28); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }

/* topo da página: texto + próximo horário (o momento) */
.hero { padding: 32px 0 40px; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; gap: 32px; }
.hero h1 { font-size: 44px; line-height: 1; max-width: 14ch; letter-spacing: 0; }
.hero p.lead { color: var(--tx2); margin: 16px 0 0; max-width: 36rem; font-size: 15px; }
.hero .addr { display: flex; align-items: center; gap: 8px; color: var(--tx2); font-size: 13px; margin-top: 12px; }
.hero .addr svg { width: 16px; height: 16px; color: var(--mu); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-cta .btn-gold { flex: 1 1 100%; }
.hero-cta .btn-dark { flex: 1 1 100%; }
.facts { margin: 16px 0 0; font-size: 13px; color: var(--mu); }
.rating-mini { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tx2); margin-bottom: 12px; }
.stars { color: var(--gold); letter-spacing: .05em; }
@media (min-width: 560px) { .hero-cta .btn-gold, .hero-cta .btn-dark { flex: 0 0 auto; } }
@media (min-width: 860px) {
  .hero { padding: 80px 0; }
  .hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
  .hero h1 { font-size: 72px; line-height: .98; }
  .hero p.lead { font-size: 17px; line-height: 1.6; }
}

/* assinatura: ticket com picote (próximo horário, resumo, link do horário) */
.slot-tk { display: flex; flex-direction: column; width: 100%; text-align: left; padding: 20px 20px 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line2);
  color: var(--tx); cursor: pointer; position: relative; transition: border-color .15s var(--ease), transform .12s var(--ease); }
.slot-tk:hover { border-color: rgba(212, 166, 74, .4); }
.slot-tk:active { transform: scale(.99); }
.tk-label { font-size: 13px; color: var(--tx2); }
.tk-time { font-family: var(--head); font-size: 88px; line-height: .9; margin-top: 8px; letter-spacing: 0; }
.tk-day { font-size: 15px; color: var(--tx2); margin-top: 8px; text-transform: none; }
.tk-day::first-letter { text-transform: uppercase; }
.tk-cut { display: block; position: relative; height: 0; border-top: 1px dashed var(--line2); margin: 20px -20px 16px; }
.tk-cut::before, .tk-cut::after { content: ''; position: absolute; top: -10px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line2); }
.tk-cut::before { left: -11px; clip-path: inset(0 0 0 50%); } .tk-cut::after { right: -11px; clip-path: inset(0 50% 0 0); }
.tk-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--mu); }
.tk-go { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 500; font-size: 14px; white-space: nowrap; }
.tk-go svg { width: 16px; height: 16px; }
@media (min-width: 860px) { .hero-slot { max-width: 400px; justify-self: end; width: 100%; } .tk-time { font-size: 104px; } }

/* seções */
section.sec { padding: 40px 0 0; }
@media (min-width: 860px) { section.sec { padding-top: 64px; } }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.sec-h .h { font-size: 32px; }
.sec-h small { color: var(--tx2); font-size: 13px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.repeat { display: flex; align-items: center; gap: 12px; padding: 16px; margin-top: 24px; transition: border-color .15s var(--ease); }
.repeat:hover { border-color: var(--line2); }
.repeat .ic { width: 40px; height: 40px; border-radius: var(--rc); background: var(--card2); display: grid; place-items: center; color: var(--tx2); flex: none; }
.repeat div { flex: 1; min-width: 0; font-size: 13px; }
.repeat b { display: block; font-size: 15px; font-weight: 500; }

/* serviços */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 8px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; height: 36px; padding: 0 16px; border-radius: var(--rc); border: 1px solid var(--line); background: var(--card); color: var(--tx2); font-size: 14px; cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease); }
.tab.on { background: var(--tx); color: #111; border-color: var(--tx); font-weight: 500; }
.svc-list { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc-list > .svc { min-width: 0; }
.svc { display: flex; align-items: center; gap: 12px; padding: 16px; cursor: pointer; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.svc:hover { border-color: var(--line2); }
.svc .ic { width: 44px; height: 44px; flex: none; border-radius: var(--rc); display: grid; place-items: center; background: var(--card2); color: var(--tx2); overflow: hidden; }
.svc .ic:has(img) { width: 56px; height: 56px; }
.svc .ic img { width: 100%; height: 100%; object-fit: cover; }
.svc .ic svg { width: 20px; height: 20px; }
.svc .info { flex: 1; min-width: 0; }
.svc .nm { font-weight: 500; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.svc .ds { color: var(--tx2); font-size: 13px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc .meta { white-space: nowrap; display: flex; gap: 8px; align-items: center; margin-top: 4px; font-size: 12px; color: var(--mu); }
.svc .meta svg { width: 14px; height: 14px; }
.svc .pop { font-size: 12px; font-weight: 500; color: var(--gold); }
.svc .pr { text-align: right; font-weight: 500; font-size: 15px; white-space: nowrap; }
.svc .add { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; flex: none; color: var(--tx2);
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease); }
.svc .add svg { width: 16px; height: 16px; stroke-width: 2; }
.svc.on { border-color: rgba(212, 166, 74, .55); background: #1a1814; }
.svc.on .add { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }

/* barra fixa de seleção */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 12px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(14, 14, 15, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
.bar.on { transform: none; }
.bar .in { max-width: 620px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.bar .sum { flex: 1; min-width: 0; font-size: 13px; color: var(--tx2); }
.bar .sum b { display: block; color: var(--tx); font-size: 16px; font-weight: 500; }
.pad-bar { height: 96px; }

/* equipe */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.barber { display: flex; gap: 12px; align-items: center; padding: 16px; }
.av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; background: var(--card2); display: grid; place-items: center; font-family: var(--head); font-size: 24px; color: var(--tx2); border: 1px solid var(--line2); }
.barber b { display: block; font-size: 15px; font-weight: 500; }
.barber small { color: var(--tx2); font-size: 13px; display: block; line-height: 1.4; }

/* clube e pacotes */
.plans { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.plan { padding: 20px; display: flex; flex-direction: column; }
.plan .tag { font-size: 13px; color: var(--tx2); }
.plan .h { font-size: 28px; margin: 8px 0 4px; }
.plan .price { font-size: 28px; font-weight: 500; margin: 16px 0 12px; }
.plan .price small { font-size: 13px; color: var(--tx2); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; font-size: 14px; color: var(--tx2); display: grid; gap: 8px; flex: 1; }
.plan li { padding-left: 20px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 8px; height: 4px; border-left: 1.5px solid var(--mu); border-bottom: 1.5px solid var(--mu); transform: rotate(-45deg); }

/* fidelidade */
.loyal { padding: 20px; display: grid; gap: 16px; }
.loyal b { font-weight: 500; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 320px; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--line2); display: grid; place-items: center; color: var(--mu); }
.stamp svg { width: 18px; height: 18px; }
.stamp.on { border: 0; background: var(--gold); color: var(--gold-ink); }
.stamp.gift { border-color: rgba(212, 166, 74, .6); color: var(--gold); }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; min-width: 0; }

/* produtos */
.prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.prod { overflow: hidden; }
.prod .ph { aspect-ratio: 1.25; background: var(--card2); display: grid; place-items: center; color: var(--mu); }
.prod .ph svg { width: 40px; height: 40px; stroke-width: 1.25; }
.prod .ph img { width: 100%; height: 100%; object-fit: cover; }
.prod .bd { padding: 12px 12px 16px; }
.prod b { display: block; font-size: 14px; font-weight: 500; line-height: 1.35; }
.prod .pr { font-weight: 500; margin-top: 4px; color: var(--tx2); }
.prod .so { font-size: 12px; color: #ef8c8f; }

/* galeria */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gal img { aspect-ratio: 1; object-fit: cover; border-radius: var(--rc); cursor: zoom-in; }
.gal .gi { margin: 0; position: relative; }
.gal .gi img { width: 100%; display: block; }
.gal figcaption { position: absolute; left: 4px; right: 4px; bottom: 4px; font-size: 12px; background: rgba(0, 0, 0, .6); border-radius: 6px; padding: 2px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bgal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; max-width: 240px; }
.bgal img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
#cortes .tabs { margin-bottom: 12px; }

/* avaliações */
.revs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.rev { padding: 16px; font-size: 14px; }
.rev b { font-size: 14px; font-weight: 500; }
.rev p { margin: 8px 0 0; color: var(--tx2); }
.rev-sum { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.rev-sum .big { font-family: var(--head); font-size: 56px; line-height: .9; }

/* onde e quando */
.info-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.hours { padding: 16px 20px; }
.hours > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--tx2); }
.hours > div:last-of-type { border: 0; }
.hours > div.today { color: var(--tx); font-weight: 500; }
.hours > div.today span:first-child::after { content: ' · hoje'; color: var(--gold); font-weight: 400; }
.info-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.info-acts .btn { min-width: 0; padding: 0 12px; }
.foot { text-align: center; color: var(--mu); font-size: 12px; padding: 40px 16px; }
.foot a { color: var(--tx2); }

/* agendamento */
.steps { display: flex; gap: 4px; margin: 20px 0 16px; }
.steps i { flex: 1; height: 4px; border-radius: 2px; background: var(--card2); }
.steps i.on { background: var(--gold); }
.book-h { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.back { width: 40px; height: 40px; border-radius: var(--rc); background: var(--card2); border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; flex: none; color: var(--tx2); }
.book-h .h { font-size: 32px; }
.book-h small { display: block; color: var(--tx2); font-size: 13px; font-family: var(--body); letter-spacing: 0; margin-top: 4px; }
.pick { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 16px; cursor: pointer; transition: border-color .15s var(--ease); }
.opt:hover { border-color: var(--line2); }
.opt.on { border-color: rgba(212, 166, 74, .55); background: #1a1814; }
.opt .any { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--card2); color: var(--tx2); flex: none; }
.opt .any svg { width: 24px; height: 24px; }
.dates { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.dates::-webkit-scrollbar { display: none; }
.date { flex: none; width: 64px; padding: 12px 0 8px; border-radius: 12px; text-align: center; background: var(--card); border: 1px solid var(--line); cursor: pointer; scroll-snap-align: start;
  transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.date small { display: block; font-size: 12px; color: var(--tx2); }
.date b { display: block; font-size: 24px; font-family: var(--head); font-weight: 400; margin: 4px 0; }
.date i { display: block; width: 16px; height: 3px; border-radius: 2px; margin: 0 auto; background: var(--ok); opacity: .8; }
.date i.few { background: var(--warn); } .date i.none { background: var(--line2); }
.date.off { opacity: .4; }
.date.on { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.date.on small { color: rgba(21, 17, 10, .7); } .date.on i { background: var(--gold-ink); opacity: .6; }
.month { font-size: 13px; color: var(--tx2); margin: 8px 0; }
.month::first-letter { text-transform: uppercase; }
.period { margin: 16px 0 8px; font-size: 13px; color: var(--tx2); display: flex; align-items: center; gap: 8px; }
.period::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (min-width: 520px) { .slots { grid-template-columns: repeat(5, 1fr); } }
.slot { padding: 12px 0; border-radius: var(--rc); text-align: center; background: var(--card); border: 1px solid var(--line); font-weight: 500; cursor: pointer; font-size: 15px;
  transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.slot:hover { border-color: var(--line2); }
.slot.on { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.empty { padding: 24px 20px; text-align: center; color: var(--tx2); }
.empty .h { color: var(--tx); font-size: 28px; margin-bottom: 8px; }
.skel { height: 48px; border-radius: 12px; background: var(--card); }

/* resumo da confirmação (picote antes do total) */
.summary { padding: 16px 20px; display: grid; gap: 12px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.summary .row.tot { border-top: 1px dashed var(--line2); padding-top: 12px; font-size: 16px; font-weight: 600; }
.summary .row.disc { color: var(--ok); }
.summary .who { display: flex; align-items: center; gap: 12px; }
.summary .who .av { width: 48px; height: 48px; font-size: 22px; }
.summary .when { font-family: var(--head); font-size: 32px; line-height: 1; }
.narrow > .card.summary { background: var(--paper); border-color: var(--line2); }
label.f { display: block; margin-top: 16px; }
label.f span { display: block; font-size: 13px; color: var(--tx2); margin-bottom: 8px; }
.inp, .inline-form input, textarea.inp, select.inp { width: 100%; min-height: 48px; padding: 12px 16px; border-radius: var(--rc); background: var(--bg2); border: 1px solid var(--line2); outline: none; font-size: 16px;
  transition: border-color .15s var(--ease); }
.inp::placeholder, .inline-form input::placeholder { color: var(--mu); }
.inp:focus, .inline-form input:focus { border-color: var(--gold); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { display: flex; align-items: center; gap: 12px; padding: 16px; margin-top: 12px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--gold); flex: none; }
.check div { flex: 1; font-size: 13px; color: var(--tx2); }
.check b { display: block; font-size: 15px; font-weight: 500; color: var(--tx); }
.note { font-size: 13px; color: var(--tx2); margin: 8px 0 0; }
.alert { padding: 12px 16px; border-radius: 12px; font-size: 14px; margin-top: 12px; display: block; line-height: 1.5;
  background: var(--card2); border: 1px solid var(--line); color: var(--tx2); }
.alert:has(> .ai) { display: flex; gap: 12px; align-items: flex-start; } /* com ícone: ícone + texto; sem ícone: texto corrido */
.alert > div { flex: 1; min-width: 0; }
.alert b { color: var(--tx); font-weight: 500; }
.alert .ai { display: inline-flex; margin-top: 2px; }
.alert .ai svg { width: 18px; height: 18px; }
.alert.ok { background: rgba(76, 195, 138, .08); border-color: rgba(76, 195, 138, .24); color: #b9e8cf; }
.alert.ok .ai { color: var(--ok); }
.alert.gold { background: var(--gold-soft); border-color: rgba(212, 166, 74, .26); color: #e9d6a8; }
.alert.gold .ai { color: var(--gold); }
.alert.err { background: rgba(229, 72, 77, .08); border-color: rgba(229, 72, 77, .3); color: #f2a7a9; }
.minis { display: grid; gap: 8px; margin-top: 8px; }
.mini { display: flex; align-items: center; gap: 12px; padding: 12px; cursor: pointer; font-size: 14px; transition: border-color .15s var(--ease); }
.mini .ic { width: 40px; height: 40px; border-radius: var(--rc); display: grid; place-items: center; background: var(--card2); color: var(--tx2); flex: none; }
.mini .ic svg { width: 18px; height: 18px; }
.mini div { flex: 1; min-width: 0; } .mini b { display: block; font-weight: 500; }
.mini.on { border-color: rgba(212, 166, 74, .55); background: #1a1814; }
.mini .tg { font-size: 13px; color: var(--tx2); font-weight: 500; white-space: nowrap; }
.mini.on .tg { color: var(--gold); }

/* link do horário: a comanda (momento 2) */
.ticket { margin-top: 16px; overflow: hidden; background: var(--paper); border-color: var(--line2); border-radius: 16px; }
.ticket .tk-top { padding: 24px 20px 20px; text-align: center; }
.st-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 500; background: var(--card2); color: var(--tx2); }
.st-agendado { background: rgba(120, 160, 230, .12); color: #a9c3f0; }
.st-confirmado { background: rgba(76, 195, 138, .12); color: #9fdcbd; }
.st-atendendo { background: var(--gold-soft); color: var(--gold); }
.st-concluido { background: rgba(76, 195, 138, .16); color: #b9e8cf; }
.st-cancelado, .st-faltou { background: rgba(229, 72, 77, .12); color: #f2a7a9; }
.ticket .big { font-family: var(--head); font-size: 80px; line-height: .9; margin: 16px 0 4px; }
.ticket .dt { font-size: 16px; color: var(--tx); }
.ticket .dt::first-letter { text-transform: uppercase; }
.ticket .cut { position: relative; height: 0; border-top: 1px dashed var(--line2); margin: 0; }
.ticket .cut::before, .ticket .cut::after { content: ''; position: absolute; top: -10px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line2); }
.ticket .cut::before { left: -11px; clip-path: inset(0 0 0 50%); } .ticket .cut::after { right: -11px; clip-path: inset(0 50% 0 0); }
.ticket .tk-bd { padding: 20px; }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.acts .btn { padding: 0 12px; font-size: 14px; }
.pix { padding: 16px; margin-top: 16px; }
.pix b { font-weight: 500; }
.pix code { display: block; word-break: break-all; font-size: 12px; background: var(--bg2); padding: 12px; border-radius: var(--rc); color: var(--tx2); margin: 12px 0; max-height: 88px; overflow: auto; }
.timeline { margin-top: 16px; display: grid; gap: 0; }
.tl { display: flex; gap: 12px; font-size: 13px; padding-bottom: 12px; position: relative; color: var(--tx2); }
.tl::before { content: ''; position: absolute; left: 4px; top: 16px; bottom: 0; width: 1px; background: var(--line2); }
.tl:last-child::before { display: none; }
.tl i { width: 9px; height: 9px; border-radius: 50%; background: var(--mu); flex: none; margin-top: 6px; }
.tl:last-child i { background: var(--gold); }
.tl small { color: var(--mu); display: block; }
.rate { display: flex; gap: 8px; justify-content: center; margin: 12px 0; }
.rate button { background: none; border: 0; font-size: 32px; color: var(--line2); cursor: pointer; padding: 0 2px; transition: color .15s var(--ease); }
.rate button.on { color: var(--gold); }
.my { display: grid; gap: 8px; }
.my a { display: flex; gap: 12px; align-items: center; padding: 16px; }
.my .d { width: 56px; text-align: center; flex: none; }
.my .d b { font-family: var(--head); font-size: 32px; line-height: 1; display: block; font-weight: 400; }
.my .d small { font-size: 12px; color: var(--tx2); }

/* sheet, toast */
.sheet { position: fixed; inset: 0; z-index: 80; }
.sheet-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); animation: fade .2s var(--ease); }
.sheet-box { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow: auto; background: var(--card); border-radius: 20px 20px 0 0; padding: 24px 20px 24px; padding-bottom: max(24px, env(safe-area-inset-bottom));
  animation: up .3s var(--ease); border-top: 1px solid var(--line2); }
@media (min-width: 700px) { .sheet-box { left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%, -50%); width: 520px; border-radius: 20px; border: 1px solid var(--line2); animation: fade .2s var(--ease); } }
.sheet-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--card2); color: var(--tx2); font-size: 22px; cursor: pointer; }
.sheet .h { font-size: 32px; margin-bottom: 8px; padding-right: 40px; }
@keyframes up { from { transform: translateY(12px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 112px; transform: translateX(-50%); z-index: 90; background: var(--tx); color: #111; padding: 12px 20px; border-radius: 12px; font-size: 14px; font-weight: 500; max-width: 90vw; text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.lb { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 20px; }
.lb img { max-height: 88vh; border-radius: 12px; }
.narrow .svc-list { grid-template-columns: minmax(0, 1fr); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.cap1::first-letter { text-transform: uppercase; }
/* 360px: valores e status não quebram no meio */
.summary .row > span:last-child { white-space: nowrap; }
.brand > span { min-width: 0; }
.brand small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
