@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/geist-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/geist-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* =====================================================================
   HEDER TORRES — Design System v3 "Apple Clean × iFood/Uber Bold"
   Base iOS (fundo agrupado #F2F2F7, cartões brancos, títulos grandes),
   energia de app de delivery (títulos pesados, CTA preto, 1 cor de marca).
   ===================================================================== */
:root {
  /* Direção B · Moderno minimal (aprovada 18/11/2026) — fonte: brand/direcoes/tokens-B.css */
  --bg: #F2F1EE; --card: #FFFFFF; --ink: #0F0F10; --ink2: #3D3C3A; --muted: #6B6A67; --faint: #8F8D88;
  --sep: rgba(15, 15, 16, .08); --fill: #E9E7E2; --fill2: #F5F4F1;
  --brand: #0F0F10; --brand-ink: #7A6240; --brand-soft: #F1E8D8; --brand-2: #D8C3A0;
  --accent: #D8C3A0; --accent-text: #7A6240; --accent-bg: #F1E8D8;
  --green: #1B6E45; --green-ink: #15573A; --green-soft: #E1F1E8;
  --amber: #A9844C; --amber-ink: #7A6240; --amber-soft: #F1E8D8;
  --blue: #4A4946; --blue-ink: #2E2D2B; --blue-soft: #E9E7E2;
  --red: #C2311F; --red-ink: #A12818; --red-soft: #FBE6E2;
  --grey-soft: #E9E7E2;
  --r-s: 12px; --r: 16px; --r-l: 24px; --r-xl: 28px; --r-btn: 999px;
  --sh-1: 0 1px 1px rgba(0, 0, 0, .03), 0 8px 24px rgba(0, 0, 0, .05);
  --sh-2: 0 1px 1px rgba(0, 0, 0, .03), 0 10px 30px rgba(0, 0, 0, .07);
  --sh-3: 0 18px 50px rgba(0, 0, 0, .18);
  --glass: rgba(255, 255, 255, .62); --glass-dark: rgba(15, 15, 16, .55);
  --line: #E4E2DD; --line-2: #D9D6CF; --fill3: #E4E2DD; --on-brand: #FFFFFF;
  --hero-grad: linear-gradient(160deg, #1B1B1D 0%, #0F0F10 100%);
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --tab-h: calc(84px + var(--safe-b));
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.35; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; letter-spacing: -.01em; -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
svg.lucide { width: 20px; height: 20px; stroke-width: 2; flex: none; }
:focus-visible { outline: 3px solid rgba(15, 15, 16, .35); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .brand { color: var(--brand); }
.small { font-size: 15px; } .tiny { font-size: 13px; } .micro { font-size: 12px; }
.b { font-weight: 700; } .num { font-variant-numeric: tabular-nums; }
.row { display: flex; align-items: center; gap: 12px; } .row-s { display: flex; align-items: center; gap: 8px; }
.between { justify-content: space-between; } .grow { flex: 1; min-width: 0; } .wrap { flex-wrap: wrap; }
.stack > * + * { margin-top: 12px; } .stack-s > * + * { margin-top: 8px; } .stack-l > * + * { margin-top: 24px; }
.mt4 { margin-top: 4px; } .mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tc { text-align: center; }

/* ---------- Layout ---------- */
.page { max-width: 560px; margin: 0 auto; padding: 0 16px calc(var(--tab-h) + 24px); min-height: 100vh; min-height: 100dvh; }
.page.no-tabs { padding-bottom: 32px; }
.page.with-bar { padding-bottom: calc(150px + var(--safe-b)); }
.page-wide { max-width: 1180px; }
.section { margin-top: 28px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 28px 4px 12px; }
.sec-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.025em; }
.sec-head .link { font-size: 15px; font-weight: 700; color: var(--brand); white-space: nowrap; }

/* ---------- Tipografia ---------- */
.lt { font-size: 34px; line-height: 1.08; font-weight: 800; letter-spacing: -.035em; }
.h1 { font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.h2 { font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.025em; }
.h3 { font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 17px; color: var(--muted); line-height: 1.4; }
.big { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- Barra superior ---------- */
.nav { position: sticky; top: 0; z-index: 40; margin: 0 -16px; padding: calc(env(safe-area-inset-top, 0px) + 8px) 16px 8px; display: flex; align-items: center; gap: 8px; background: rgba(242, 242, 247, .86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.nav .nav-t { flex: 1; text-align: center; font-size: 17px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav .nav-meta { flex: 1; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.ibtn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--card); color: var(--ink); box-shadow: var(--sh-1); position: relative; flex: none; transition: transform .15s; }
.ibtn:active { transform: scale(.92); }
.ibtn.plain { background: transparent; box-shadow: none; }
.ibtn.dark { background: #1C1C1F; color: var(--on-brand); box-shadow: none; }
.ibtn .dot { position: absolute; top: 7px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); border: 2px solid var(--card); }
.ibtn.dark .dot { border-color: #1C1C1F; }
.cnt { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--brand); color: var(--on-brand); font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); font-variant-numeric: tabular-nums; }
.topbar { display: flex; align-items: center; gap: 10px; padding: calc(env(safe-area-inset-top, 0px) + 12px) 4px 4px; }
.loc { display: flex; flex-direction: column; min-width: 0; }
.loc small { font-size: 13px; color: var(--muted); font-weight: 500; }
.loc b { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.loc b svg { width: 16px; height: 16px; color: var(--brand); }
.monogram { flex: none; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 20px; border-radius: var(--r); font-size: 17px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; transition: transform .15s var(--ease), background .2s, opacity .2s; user-select: none; -webkit-user-select: none; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--ink); color: var(--on-brand); }
.btn-brand { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 20px rgba(15, 15, 16, .28); }
.btn-secondary { background: var(--fill); color: var(--ink); }
.btn-white { background: var(--card); color: var(--ink); box-shadow: var(--sh-1); }
.btn-tinted { background: var(--brand-soft); color: var(--brand-ink); }
.btn-green { background: var(--green); color: var(--on-brand); }
.btn-danger { background: var(--red-soft); color: var(--red-ink); }
.btn-danger-solid, .btn-red-solid { background: var(--red); color: var(--on-brand); }
.btn-ghost { background: transparent; color: var(--ink2); }
.btn-link { background: none; color: var(--brand); height: auto; padding: 6px 0; font-size: 15px; }
.btn-sm { height: 40px; padding: 0 14px; font-size: 15px; border-radius: 12px; }
.btn-xl { height: 60px; font-size: 18px; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-pill { border-radius: 999px; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: gira .7s linear infinite; display: inline-block; opacity: .8; }
@keyframes gira { to { transform: rotate(360deg); } }

/* ---------- Cartões e listas agrupadas (iOS) ---------- */
.card { background: var(--card); border-radius: var(--r-l); padding: 16px; box-shadow: var(--sh-1); }
.card-l { padding: 20px; }
.group { background: var(--card); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sh-1); }
.group-title { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; margin: 24px 16px 8px; }
.group-foot { font-size: 13px; color: var(--muted); margin: 8px 16px 0; line-height: 1.4; }
.li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 52px; position: relative; width: 100%; text-align: left; background: transparent; }
.li + .li::before { content: ""; position: absolute; top: 0; right: 0; left: 16px; height: .5px; background: var(--sep); }
.group.ic-inset .li + .li::before { left: 60px; }
button.li:active, a.li:active, label.li:active { background: var(--fill2); }
.li .t { font-size: 17px; font-weight: 500; }
.li .s { font-size: 14px; color: var(--muted); margin-top: 1px; }
.li .v { font-size: 17px; color: var(--muted); white-space: nowrap; }
.li .chev { color: #C4C4C9; width: 18px; height: 18px; }
.li-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: var(--on-brand); flex: none; }
.li-ico svg { width: 18px; height: 18px; }
.li input.inline, .li select.inline { border: 0; background: transparent; outline: none; font-size: 17px; text-align: right; flex: 1; min-width: 0; padding: 4px 0; }
.li.col { flex-direction: column; align-items: stretch; gap: 6px; }
.li .lbl { font-size: 13px; font-weight: 600; color: var(--muted); }
.bg-rose { background: var(--brand); } .bg-blue { background: #0A84FF; } .bg-green { background: #30D158; } .bg-amber { background: #FF9F0A; } .bg-violet { background: #7C3AED; } .bg-grey { background: var(--faint); } .bg-ink { background: #1C1C1E; } .bg-teal { background: #0EA5A4; } .bg-red { background: var(--red); }

/* ---------- Campos ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; padding: 0 4px; }
.input { width: 100%; height: 52px; border-radius: var(--r); border: 1.5px solid transparent; background: var(--card); padding: 0 16px; font-size: 17px; outline: none; box-shadow: var(--sh-1); transition: border-color .15s, box-shadow .15s; }
textarea.input { height: auto; min-height: 96px; padding: 14px 16px; resize: vertical; line-height: 1.4; }
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(10, 10, 10, .06); }
.input.err { border-color: var(--red); }
.input::placeholder { color: #A1A1A8; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236C6C70' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field-msg { font-size: 14px; padding: 0 4px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.field-msg:empty { display: none; }
.field-msg svg { width: 16px; height: 16px; }
.field-msg.ok { color: var(--green-ink); } .field-msg.err { color: var(--red-ink); }
.ou { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--faint); margin: 4px 0; }
.ou::before, .ou::after { content: ""; flex: 1; height: 1px; background: var(--sep); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.switch { position: relative; width: 51px; height: 31px; flex: none; display: inline-block; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; width: 100%; height: 100%; }
.switch span { position: absolute; inset: 0; border-radius: 16px; background: var(--fill3); transition: background .25s; }
.switch span::after { content: ""; position: absolute; left: 2px; top: 2px; width: 27px; height: 27px; border-radius: 50%; background: var(--card); box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 1px 1px rgba(0, 0, 0, .16); transition: transform .25s var(--ease); }
.switch input:checked + span { background: #34C759; }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid rgba(15, 15, 16, .35); outline-offset: 2px; }
input[type=range].vol { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--ink) var(--p, 80%), var(--line-2) var(--p, 80%)); outline: none; }
input[type=range].vol::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--card); box-shadow: 0 3px 8px rgba(0, 0, 0, .18), 0 0 0 .5px rgba(0, 0, 0, .06); }

/* ---------- Chips, segmentado, pílulas ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--card); box-shadow: var(--sh-1); font-size: 15px; font-weight: 600; color: var(--ink2); display: inline-flex; align-items: center; gap: 6px; scroll-snap-align: start; transition: background .15s, color .15s; }
.chip.on { background: var(--ink); color: var(--on-brand); }
.chip svg { width: 16px; height: 16px; }
.chip .n { font-size: 12px; font-weight: 800; opacity: .7; }
.seg { display: flex; background: rgba(118, 118, 128, .12); border-radius: 10px; padding: 2px; }
.seg button { flex: 1; height: 34px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: background .2s; }
.seg button svg { width: 16px; height: 16px; }
.seg button.on { background: var(--card); box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 3px 1px rgba(0, 0, 0, .04); font-weight: 700; }
.seg .cnt-in { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: var(--on-brand); font-size: 11px; font-weight: 800; display: inline-grid; place-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-aguardando_pix { background: var(--amber-soft); color: var(--amber-ink); }
.st-confirmado { background: var(--green-soft); color: var(--green-ink); }
.st-a_caminho { background: var(--blue-soft); color: var(--blue-ink); }
.st-em_atendimento { background: var(--brand-soft); color: var(--brand-ink); }
.st-concluido { background: var(--grey-soft); color: #48484A; }
.st-cancelado, .st-estornado { background: var(--grey-soft); color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 7px; background: var(--brand-soft); color: var(--brand-ink); white-space: nowrap; }
.tag.ink { background: var(--ink); color: var(--on-brand); } .tag.green { background: var(--green-soft); color: var(--green-ink); } .tag.amber { background: var(--amber-soft); color: var(--amber-ink); } .tag.blue { background: var(--blue-soft); color: var(--blue-ink); } .tag.grey { background: var(--grey-soft); color: #48484A; }
.tag svg { width: 13px; height: 13px; }
.av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--on-brand); font-weight: 800; font-size: 16px; flex: none; letter-spacing: 0; }
.av.l { width: 56px; height: 56px; font-size: 20px; } .av.s { width: 36px; height: 36px; font-size: 14px; }
.av-0 { background: linear-gradient(135deg, #FF7AA2, var(--brand)); } .av-1 { background: linear-gradient(135deg, #60A5FA, #2563EB); } .av-2 { background: linear-gradient(135deg, #34D399, #059669); } .av-3 { background: linear-gradient(135deg, #FBBF24, #D97706); } .av-4 { background: linear-gradient(135deg, #A78BFA, #7C3AED); } .av-5 { background: linear-gradient(135deg, #2DD4BF, #0D9488); }

/* ---------- Abas inferiores ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: var(--tab-h); padding-bottom: var(--safe-b); background: rgba(249, 249, 249, .92); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: .5px solid rgba(0, 0, 0, .16); display: flex; justify-content: center; }
.tabbar-in { display: flex; width: 100%; max-width: 560px; }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: #7C7C80; position: relative; padding-top: 2px; }
.tab svg { width: 25px; height: 25px; stroke-width: 1.9; }
.tab.on { color: var(--ink); } .tab.on svg { stroke-width: 2.5; }
.tab .cnt { top: 4px; right: auto; left: calc(50% + 4px); border-color: #F9F9F9; }

/* ---------- Toasts (estilo Sonner) ---------- */
.toasts { position: fixed; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 10px); transform: translateX(-50%); width: min(420px, calc(100% - 24px)); z-index: 700; pointer-events: none; height: 0; }
.toast { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 14px; border-radius: 18px; background: rgba(28, 28, 30, .96); color: var(--on-brand); box-shadow: 0 12px 32px rgba(0, 0, 0, .25); font-size: 15px; font-weight: 600; line-height: 1.3; pointer-events: auto; transform: translateY(calc(var(--i, 0) * 10px)) scale(calc(1 - var(--i, 0) * .05)); opacity: calc(1 - var(--i, 0) * .25); transition: transform .4s var(--ease), opacity .3s; animation: toastIn .45s var(--ease); overflow: hidden; }
.toast > span:first-of-type { flex: 1; }
.toast svg { width: 22px; height: 22px; flex: none; }
.toast.ok svg { color: #30D158; } .toast.err svg { color: #FF6B6B; } .toast.info svg { color: var(--accent); }
.toast.sai { opacity: 0; transform: translateY(-24px) scale(.95); }
.toast .t-act { height: 34px; padding: 0 14px; border-radius: 10px; background: var(--card); color: #000; font-weight: 800; font-size: 14px; flex: none; }
.toast .t-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .15); }
.toast .t-bar i { display: block; height: 100%; background: var(--card); animation: barra var(--dur) linear forwards; }
@keyframes barra { from { width: 100%; } to { width: 0; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(-30px) scale(.96); } }

/* ---------- Folhas (bottom sheets) ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .38); display: flex; align-items: flex-end; justify-content: center; animation: fade .25s; }
.modal-backdrop.fechando { animation: fadeOut .3s forwards; }
.modal-backdrop.fechando .sheet { animation: sheetOut .3s var(--ease) forwards; }
@keyframes fade { from { opacity: 0; } } @keyframes fadeOut { to { opacity: 0; } }
.sheet { width: 100%; max-width: 560px; max-height: 92vh; max-height: 92dvh; background: var(--bg); border-radius: 22px 22px 0 0; display: flex; flex-direction: column; animation: sheetIn .45s var(--ease); outline: none; box-shadow: var(--sh-3); }
.sheet.full { max-width: 760px; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; }
@keyframes sheetIn { from { transform: translateY(100%); } } @keyframes sheetOut { to { transform: translateY(100%); } }
.grabber { width: 38px; height: 5px; border-radius: 3px; background: var(--line); margin: 8px auto 0; flex: none; }
.sheet-head { display: flex; align-items: center; gap: 10px; padding: 10px 16px 8px; flex: none; }
.sheet.full .sheet-head { padding-top: calc(env(safe-area-inset-top, 0px) + 12px); }
.sheet-head h3 { flex: 1; font-size: 20px; font-weight: 800; letter-spacing: -.02em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-head .hico { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--on-brand); display: grid; place-items: center; flex: none; }
.sheet-head .hico svg { width: 18px; height: 18px; }
.sheet-head .ibtn { width: 34px; height: 34px; background: var(--fill); box-shadow: none; }
.sheet-head .ibtn svg { width: 18px; height: 18px; }
.sheet-body { padding: 4px 16px 20px; overflow-y: auto; overscroll-behavior: contain; flex: 1; -webkit-overflow-scrolling: touch; }
.sheet-foot { padding: 12px 16px calc(12px + var(--safe-b)); display: flex; gap: 10px; flex: none; background: var(--bg); border-top: .5px solid var(--sep); }

/* ---------- Início do cliente ---------- */
.hero { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 22px 20px 20px; color: var(--on-brand); background: var(--hero-grad); box-shadow: 0 14px 34px rgba(15, 15, 16, .26); min-height: 196px; }
.hero h1 { font-size: 28px; line-height: 1.08; font-weight: 800; letter-spacing: -.03em; max-width: 232px; position: relative; z-index: 1; }
.hero p { font-size: 15px; line-height: 1.4; font-weight: 600; margin-top: 8px; max-width: 214px; position: relative; z-index: 1; }
.hero .hcta { position: relative; z-index: 1; margin-top: 16px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--card); color: var(--brand-ink); font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }
.hero .hcta svg { width: 18px; height: 18px; }
.hero .art { position: absolute; right: -18px; bottom: -14px; width: 190px; height: 190px; pointer-events: none; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.qa { background: var(--card); border-radius: var(--r-l); padding: 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--sh-1); text-align: left; transition: transform .15s; position: relative; }
.qa:active { transform: scale(.97); }
.qa .qi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.qa b { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.qa span.s { font-size: 13px; color: var(--muted); margin-top: -6px; }
.qa .cnt { top: 10px; right: 10px; border-color: var(--card); }
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-align: center; line-height: 1.15; color: var(--ink2); }
.cat .ci { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; transition: transform .15s; }
.cat:active .ci { transform: scale(.92); }
.cat .ci svg { width: 26px; height: 26px; }
.c-cortes { background: var(--brand-soft); color: var(--brand); } .c-trat { background: #E0F2FE; color: #0369A1; } .c-cor { background: var(--amber-soft); color: var(--amber-ink); } .c-alin { background: #EDE9FE; color: #6D28D9; } .c-combo { background: #DCFCE7; color: #15803D; }
.hs { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 6px; scroll-snap-type: x mandatory; }
.hs::-webkit-scrollbar { display: none; }
.pc { flex: none; width: 216px; scroll-snap-align: start; text-align: left; }
.pc .img { height: 132px; border-radius: 18px; position: relative; overflow: hidden; display: grid; place-items: center; }
.pc .img svg.lucide { width: 54px; height: 54px; color: rgba(255, 255, 255, .92); stroke-width: 1.6; }
.pc .img .b { position: absolute; top: 10px; left: 10px; background: var(--card); color: var(--ink); font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 8px; }
.pc .img .t { position: absolute; bottom: 10px; right: 10px; background: rgba(10, 10, 10, .78); color: var(--on-brand); font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 8px; display: flex; gap: 4px; align-items: center; }
.pc .img .t svg.lucide { width: 13px; height: 13px; color: var(--on-brand); stroke-width: 2.2; }
.pc h4 { font-size: 16px; font-weight: 700; margin-top: 10px; letter-spacing: -.015em; }
.pc p { font-size: 14px; color: var(--muted); margin-top: 2px; } .pc p b { color: var(--ink); font-weight: 800; }
.g-cortes { background: radial-gradient(circle at 30% 25%, #FFB4C2, var(--brand) 75%); } .g-trat { background: radial-gradient(circle at 70% 25%, #7DD3FC, #0369A1 80%); } .g-cor { background: radial-gradient(circle at 35% 30%, #FDE68A, #EA580C 80%); } .g-alin { background: radial-gradient(circle at 60% 25%, #C4B5FD, #6D28D9 80%); } .g-combo { background: radial-gradient(circle at 40% 30%, #6EE7B7, #047857 80%); }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.how > div { background: var(--card); border-radius: 16px; padding: 12px; box-shadow: var(--sh-1); }
.how .n { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: var(--on-brand); font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.how b { display: block; font-size: 14px; font-weight: 800; margin-top: 8px; }
.how span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.3; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--card); box-shadow: var(--sh-1); font-size: 15px; line-height: 1.4; }
.notice > svg { width: 22px; height: 22px; color: var(--brand); margin-top: 1px; }
.notice-amber { background: var(--amber-soft); box-shadow: none; } .notice-amber > svg { color: var(--amber-ink); }
.notice-green { background: var(--green-soft); box-shadow: none; } .notice-green > svg { color: var(--green-ink); }
.notice-red { background: var(--red-soft); box-shadow: none; } .notice-red > svg { color: var(--red-ink); }
.notice-blue { background: var(--blue-soft); box-shadow: none; } .notice-blue > svg { color: var(--blue-ink); }
.notice-ink { background: var(--ink); color: var(--on-brand); box-shadow: none; } .notice-ink > svg { color: var(--accent); }
.upnext { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tab-h) + 12px); width: min(536px, calc(100% - 24px)); z-index: 45; background: var(--ink); color: var(--on-brand); border-radius: 18px; padding: 10px 10px 10px 12px; display: flex; align-items: center; gap: 12px; box-shadow: 0 14px 34px rgba(0, 0, 0, .28); animation: subir .5s var(--ease); text-align: left; }
@keyframes subir { from { transform: translate(-50%, 30px); opacity: 0; } }
.upnext .d { width: 46px; height: 46px; border-radius: 12px; background: var(--card); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; flex: none; }
.upnext .d small { font-size: 10px; font-weight: 800; color: var(--brand); text-transform: uppercase; }
.upnext .d b { font-size: 19px; font-weight: 800; }
.upnext p { font-size: 15px; font-weight: 700; }
.upnext span.s { font-size: 13px; color: #B4B4BE; }
.upnext .go { margin-left: auto; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; gap: 4px; flex: none; }
.upnext .go svg { width: 16px; height: 16px; }
.footer { text-align: center; font-size: 13px; color: var(--muted); margin-top: 32px; line-height: 1.6; }
.footer a { font-weight: 700; color: var(--ink2); }

/* ---------- Agendamento ---------- */
.steps { display: flex; gap: 4px; margin: 6px 0 4px; }
.steps i { flex: 1; height: 4px; border-radius: 2px; background: #DADADF; overflow: hidden; position: relative; }
.steps i.on::after { content: ""; position: absolute; inset: 0; background: var(--ink); }
.steps i.now::after { animation: cresce .5s var(--ease); transform-origin: left; }
@keyframes cresce { from { transform: scaleX(0); } }
.step-title { margin: 16px 4px 18px; }
.step-title .lead { margin-top: 8px; }
.pass-r { animation: passR .38s var(--ease); } .pass-l { animation: passL .38s var(--ease); }
@keyframes passR { from { opacity: 0; transform: translateX(28px); } } @keyframes passL { from { opacity: 0; transform: translateX(-28px); } }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--card); border-radius: var(--r-l); padding: 16px; box-shadow: var(--sh-1); border: 2px solid transparent; transition: border-color .15s, transform .15s; position: relative; }
.opt + .opt { margin-top: 10px; }
.opt:active { transform: scale(.985); }
.opt.on { border-color: var(--ink); }
.opt .oi { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.opt .oi svg { width: 26px; height: 26px; }
.opt b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; display: block; }
.opt span.s { font-size: 14px; color: var(--muted); display: block; margin-top: 2px; }
.opt .price { font-size: 15px; font-weight: 800; white-space: nowrap; }
.opt .price.free { color: var(--green-ink); }
.radio { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); flex: none; transition: all .15s; }
.on > .radio, .on .radio { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px #fff; }
.check { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; color: var(--on-brand); transition: all .2s var(--ease); }
.check svg { width: 16px; height: 16px; stroke-width: 3; opacity: 0; transform: scale(.5); transition: all .2s var(--ease); }
.on .check { background: var(--brand); border-color: var(--brand); }
.on .check svg { opacity: 1; transform: none; }
.zonas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zona { background: var(--card); border-radius: 16px; padding: 14px; text-align: left; box-shadow: var(--sh-1); border: 2px solid transparent; display: flex; flex-direction: column; gap: 3px; }
.zona.on { border-color: var(--ink); }
.zona b { font-size: 15px; font-weight: 800; } .zona span { font-size: 13px; color: var(--muted); line-height: 1.3; } .zona .p { font-size: 18px; font-weight: 800; color: var(--ink); margin-top: 6px; }
.svc { display: flex; gap: 12px; width: 100%; text-align: left; background: var(--card); border-radius: var(--r-l); padding: 14px; box-shadow: var(--sh-1); border: 2px solid transparent; transition: border-color .15s, transform .15s; align-items: flex-start; }
.svc + .svc { margin-top: 10px; }
.svc:active { transform: scale(.985); }
.svc.on { border-color: var(--brand); background: var(--fill2); }
.svc .si { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex: none; color: var(--on-brand); }
.svc .si svg { width: 24px; height: 24px; }
.svc h4 { font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.svc p { font-size: 14px; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.svc .meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.svc .meta b { color: var(--ink); font-size: 16px; font-weight: 800; }
.svc .meta s { font-size: 13px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tiles.t3 { grid-template-columns: repeat(3, 1fr); }
.tile { background: var(--card); border-radius: 16px; padding: 12px 4px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; box-shadow: var(--sh-1); border: 2px solid transparent; font-size: 14px; font-weight: 700; color: var(--ink2); transition: all .15s; }
.tile svg { width: 40px; height: 40px; color: var(--ink); }
.tile.on { border-color: var(--brand); color: var(--brand-ink); background: var(--fill2); }
.tile.on svg { color: var(--brand); }
.fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.foto { aspect-ratio: 4 / 5; border-radius: 18px; border: 2px dashed var(--line); background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 700; position: relative; overflow: hidden; text-align: center; padding: 8px; }
.foto > svg { width: 28px; height: 28px; color: var(--ink); }
.foto.tem { border: 0; padding: 0; }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto .kb { position: absolute; left: 8px; bottom: 8px; background: rgba(0, 0, 0, .72); color: var(--on-brand); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 8px; }
.foto .rm { position: absolute; right: 8px; top: 8px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 0, 0, .65); color: var(--on-brand); display: grid; place-items: center; z-index: 2; }
.foto .rm svg { width: 16px; height: 16px; color: var(--on-brand); }
.foto input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* calendário */
.weekbar { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; scroll-snap-type: x proximity; }
.weekbar::-webkit-scrollbar { display: none; }
.dp { flex: none; width: 64px; height: 84px; border-radius: 18px; background: var(--card); box-shadow: var(--sh-1); border: 2px solid transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; scroll-snap-align: start; transition: transform .15s, background .2s; }
.dp:active { transform: scale(.95); }
.dp small { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.dp b { font-size: 23px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dp em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--green-ink); white-space: nowrap; }
.dp em.few { color: var(--amber-ink); } .dp em.none { color: var(--muted); }
.dp.on { background: var(--ink); color: var(--on-brand); } .dp.on small { color: var(--line); } .dp.on em { color: #86EFAC; } .dp.on em.few { color: #FCD34D; } .dp.on em.none { color: var(--line); }
.dp.off { background: transparent; box-shadow: none; border: 2px dashed var(--line-2); } .dp.off b { color: #AEAEB2; }
.cal { padding: 12px; }
.cal-h { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 12px; }
.cal-h b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.cal-h .ibtn { width: 34px; height: 34px; background: var(--fill2); box-shadow: none; }
.cal-h .ibtn svg { width: 18px; height: 18px; }
.cal-h .ibtn:disabled { opacity: .3; }
.wk, .mgrid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.wk span { font-size: 12px; font-weight: 700; color: var(--faint); padding-bottom: 6px; }
.md { height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 3px; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.md span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; transition: background .15s; }
.md.past, .md.off { color: var(--line); }
.md.today span { color: var(--brand); font-weight: 800; }
.md.sel span { background: var(--ink); color: var(--on-brand); font-weight: 800; }
.md i { width: 6px; height: 6px; border-radius: 50%; margin-top: 2px; }
.lv-ok { background: #22C55E; } .lv-few { background: var(--amber); } .lv-none { background: var(--line-2); }
.legend { display: flex; gap: 14px; justify-content: center; font-size: 12px; color: var(--muted); padding-top: 10px; margin-top: 6px; border-top: .5px solid var(--sep); flex-wrap: wrap; }
.legend span { display: flex; align-items: center; gap: 6px; } .legend i { width: 7px; height: 7px; border-radius: 50%; }
.dayhead { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 4px 0; gap: 8px; }
.dayhead b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.per { display: flex; align-items: center; gap: 8px; margin: 16px 4px 10px; }
.per .pi { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--card); box-shadow: var(--sh-1); }
.per .pi svg { width: 16px; height: 16px; }
.per h3 { font-size: 16px; font-weight: 800; }
.per span { font-size: 13px; color: var(--muted); font-weight: 600; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { height: 46px; border-radius: 13px; background: var(--card); box-shadow: var(--sh-1); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; display: grid; place-items: center; transition: transform .15s, background .15s; }
.slot:active:not(:disabled) { transform: scale(.94); }
.slot.x { background: transparent; box-shadow: none; border: 1.5px dashed var(--line-2); color: #A1A1A8; text-decoration: line-through; font-weight: 500; cursor: not-allowed; }
.slot.on { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 18px rgba(15, 15, 16, .32); }
.slot-fim { margin: 14px 4px 0; font-size: 15px; font-weight: 700; display: flex; gap: 8px; align-items: center; color: var(--green-ink); }
.slot-fim svg { width: 18px; height: 18px; }
.empty-day { text-align: center; padding: 28px 16px; color: var(--muted); font-size: 15px; }
.empty-day svg { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--line); }
.sumbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: .5px solid var(--sep); padding: 12px 16px calc(12px + var(--safe-b)); box-shadow: 0 -8px 24px rgba(0, 0, 0, .06); }
.sumbar-in { max-width: 528px; margin: 0 auto; }
.sumbar .sum { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; width: 100%; text-align: left; }
.sumbar .sum .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.sumbar .sum .ic svg { width: 20px; height: 20px; }
.sumbar .sum p { font-size: 15px; font-weight: 700; }
.sumbar .sum span.s { font-size: 13px; color: var(--muted); display: block; }
.sumbar .sum span.falta { font-size: 13px; color: var(--brand-ink); font-weight: 700; display: block; }
.sumbar .sum .pr { margin-left: auto; text-align: right; flex: none; }
.sumbar .sum .pr b { font-size: 21px; font-weight: 800; display: block; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sumbar .sum .pr span { font-size: 12px; color: var(--muted); }
.ticket { background: var(--card); border-radius: var(--r-l); box-shadow: var(--sh-1); overflow: hidden; }
.ticket .tk-top { padding: 18px 16px; background: var(--ink); color: var(--on-brand); }
.ticket .tk-top .big { font-size: 32px; }
.ticket .tk-top small { font-size: 12px; color: #B4B4BE; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.rl { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; font-size: 15px; }
.rl span { color: var(--muted); } .rl b { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.rl.tot { font-size: 17px; padding-top: 14px; border-top: .5px solid var(--sep); } .rl.tot span { color: var(--ink); font-weight: 700; } .rl.tot b { font-weight: 800; }
.rl.hl { background: var(--brand-soft); } .rl.hl span, .rl.hl b { color: var(--brand-ink); font-weight: 800; }
.aceite { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--card); box-shadow: var(--sh-1); font-size: 14px; color: var(--ink2); line-height: 1.4; text-align: left; width: 100%; }
.aceite .check { width: 26px; height: 26px; margin-top: 1px; }

/* ---------- Pedido / acompanhamento ---------- */
.status-hero { background: var(--card); border-radius: var(--r-xl); padding: 20px; box-shadow: var(--sh-1); }
.status-hero .sh-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; }
.status-hero .sh-ico svg { width: 28px; height: 28px; }
.tl-steps { display: flex; gap: 4px; margin-top: 18px; }
.tl-steps div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.tl-steps i { height: 5px; border-radius: 3px; background: var(--fill3); }
.tl-steps div.done i { background: var(--ink); }
.tl-steps div.now i { background: var(--brand); animation: pulsa 1.6s ease-in-out infinite; }
@keyframes pulsa { 50% { opacity: .45; } }
.tl-steps span { font-size: 11px; font-weight: 700; color: var(--faint); line-height: 1.15; }
.tl-steps div.done span, .tl-steps div.now span { color: var(--ink); }
.pix-card { background: var(--card); border-radius: var(--r-xl); padding: 20px; box-shadow: var(--sh-1); text-align: center; }
.pix-val { font-size: 44px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; margin-top: 6px; }
.qr-box { width: 228px; height: 228px; margin: 18px auto 0; padding: 12px; border-radius: 20px; background: var(--card); border: 1px solid var(--sep); display: grid; place-items: center; }
.qr-box svg { width: 100%; height: 100%; }
.copia { margin-top: 14px; display: flex; gap: 8px; align-items: center; background: var(--fill2); border-radius: 14px; padding: 8px 8px 8px 14px; text-align: left; }
.copia code { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.passos-pix { text-align: left; margin-top: 16px; display: grid; gap: 10px; }
.passos-pix div { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink2); line-height: 1.35; }
.passos-pix b.n { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--on-brand); font-size: 12px; display: grid; place-items: center; flex: none; }
.chat { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; }
.chat .dia { align-self: center; font-size: 12px; font-weight: 700; color: var(--muted); margin: 8px 0; }
.bolha { max-width: 80%; padding: 9px 13px; border-radius: 19px; font-size: 16px; line-height: 1.35; word-wrap: break-word; position: relative; animation: bolhaIn .3s var(--ease); }
@keyframes bolhaIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.bolha.eu { align-self: flex-end; background: var(--brand); color: var(--on-brand); border-bottom-right-radius: 6px; }
.bolha.ele { align-self: flex-start; background: var(--card); box-shadow: var(--sh-1); border-bottom-left-radius: 6px; }
.bolha.sis { align-self: center; background: var(--fill); color: var(--muted); font-size: 13px; font-weight: 600; max-width: 92%; text-align: center; border-radius: 12px; }
.bolha img { border-radius: 12px; max-height: 240px; width: auto; margin: 2px 0 4px; cursor: zoom-in; }
.bolha time { display: block; font-size: 11px; opacity: .65; margin-top: 3px; text-align: right; }
.chat-dock { position: sticky; bottom: calc(var(--tab-h) + 8px); display: flex; gap: 8px; align-items: flex-end; padding: 8px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 24px; box-shadow: var(--sh-2); margin-top: 8px; z-index: 30; }
.chat-dock.in-sheet { position: static; box-shadow: none; background: var(--card); }
.chat-in { flex: 1; border: 0; outline: none; background: var(--fill2); border-radius: 18px; padding: 10px 14px; font-size: 16px; min-height: 40px; max-height: 120px; resize: none; line-height: 1.3; }
.chat-dock .ibtn { width: 40px; height: 40px; box-shadow: none; background: var(--fill2); }
.chat-dock .ibtn.send { background: var(--brand); color: var(--on-brand); }
.chat-dock .ibtn.send:disabled { background: var(--fill3); color: #A1A1A8; }
.chat-dock label.ibtn input { display: none; }
.quick-r { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 0; }
.quick-r::-webkit-scrollbar { display: none; }
.quick-r button { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--card); box-shadow: var(--sh-1); font-size: 14px; font-weight: 600; }
.fid { display: flex; gap: 6px; margin-top: 10px; }
.fid i { flex: 1; height: 34px; border-radius: 10px; background: var(--fill); display: grid; place-items: center; color: var(--line); }
.fid i.on { background: var(--brand); color: var(--on-brand); }
.fid i svg { width: 16px; height: 16px; }

/* ---------- Painel Heder (cabeçalho escuro estilo motorista) ---------- */
.heder-body { background: var(--bg); }
.sound-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; background: #1C1C1F; color: var(--on-brand); font-size: 13px; font-weight: 800; }
.sound-btn svg { width: 16px; height: 16px; }
.sound-btn.on { background: #22C55E; color: #052e16; }
.sound-btn.ping { animation: sino .8s ease-in-out 3; }
@keyframes sino { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 14px -16px 0; padding: 2px 16px 4px; }
.days::-webkit-scrollbar { display: none; }
.days button { flex: none; min-width: 56px; height: 62px; border-radius: 16px; background: var(--card); box-shadow: var(--sh-1); display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.days button small { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.days button b { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.days button.on { background: var(--ink); color: var(--on-brand); } .days button.on small { color: var(--line); }
.days button .cnt { top: -5px; right: -5px; }
.next { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--sh-2); overflow: hidden; margin-top: 16px; }
.next .nhead { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 0; gap: 8px; }
.next .eta { font-size: 13px; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .03em; display: flex; align-items: center; gap: 6px; }
.next .eta svg { width: 15px; height: 15px; }
.next .who { display: flex; align-items: center; gap: 12px; padding: 12px 16px 0; }
.next .who h3 { font-size: 22px; font-weight: 800; letter-spacing: -.025em; }
.next .who p { font-size: 15px; color: var(--muted); margin-top: 1px; }
.next .when { margin-left: auto; text-align: right; flex: none; }
.next .when b { font-size: 24px; font-weight: 800; letter-spacing: -.03em; display: block; font-variant-numeric: tabular-nums; }
.next .when span { font-size: 13px; color: var(--muted); }
.next .addr { margin: 12px 16px 0; padding: 12px; border-radius: 14px; background: var(--fill2); display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.35; }
.next .addr > svg { width: 18px; height: 18px; color: var(--brand); margin-top: 1px; }
.next .addr .mob { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; background: var(--amber-soft); color: #92400E; font-size: 13px; font-weight: 800; padding: 4px 9px; border-radius: 8px; }
.next .addr .mob svg { width: 14px; height: 14px; }
.next .svcs { padding: 12px 16px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.next .svcs span { font-size: 13px; font-weight: 700; background: var(--fill2); padding: 5px 10px; border-radius: 8px; }
.next .qa3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 16px 0; }
.next .qa3 button, .next .qa3 a { height: 62px; border-radius: 16px; background: var(--fill2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 13px; font-weight: 800; position: relative; }
.next .qa3 svg { width: 22px; height: 22px; }
.next .qa3 .hl { background: var(--brand-soft); color: var(--brand-ink); }
.next .qa3 .cnt { top: 6px; right: calc(50% - 26px); border-color: var(--fill2); }
.next .more { display: flex; gap: 8px; padding: 10px 16px 16px; }
.next .more button { flex: 1; height: 40px; border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--muted); background: transparent; border: 1px solid var(--sep); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.next .more button svg { width: 16px; height: 16px; }
.next .more button.red { color: var(--red-ink); }
.swipe { margin: 14px 16px 0; height: 64px; border-radius: 20px; position: relative; overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: pan-y; background: var(--ink); color: var(--on-brand); }
.swipe .fill { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(255, 255, 255, .14); }
.swipe .sl { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; padding-left: 56px; letter-spacing: -.01em; pointer-events: none; }
.swipe .sl i { font-style: normal; opacity: .55; margin-left: 6px; animation: dica 1.6s ease-in-out infinite; }
@keyframes dica { 50% { transform: translateX(6px); opacity: .9; } }
.swipe .k { position: absolute; left: 6px; top: 6px; width: 52px; height: 52px; border-radius: 15px; background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: grab; z-index: 2; transition: transform .3s var(--ease); touch-action: none; }
.swipe .k svg { width: 24px; height: 24px; stroke-width: 2.5; }
.swipe.drag .k { transition: none; cursor: grabbing; }
.swipe.ok .k { background: #22C55E; color: var(--on-brand); }
.swipe.k-green { background: var(--green); } .swipe.k-green .k { color: var(--green-ink); }
.swipe.k-blue { background: var(--blue); } .swipe.k-blue .k { color: var(--blue-ink); }
.swipe.k-amber { background: #D97706; } .swipe.k-amber .k { color: #92400E; }
.swipe.k-rose { background: var(--brand); } .swipe.k-rose .k { color: var(--brand-ink); }
.stp { display: flex; align-items: center; gap: 4px; padding: 14px 16px 0; }
.stp div { flex: 1; height: 4px; border-radius: 2px; background: var(--fill3); }
.stp div.on { background: var(--ink); }
.stp div.now { background: var(--brand); }
.stp-l { display: flex; justify-content: space-between; padding: 6px 16px 0; font-size: 11px; font-weight: 700; color: var(--faint); }
.pend { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--card); border-radius: 18px; box-shadow: var(--sh-1); width: 100%; text-align: left; }
.pend + .pend { margin-top: 8px; }
.pend .tm { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; width: 52px; flex: none; }
.pend .tm small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.pend b { font-size: 16px; font-weight: 700; display: block; }
.pend span.s { font-size: 13px; color: var(--muted); display: block; }
.pend .bar { width: 4px; align-self: stretch; border-radius: 2px; flex: none; }

/* linha do tempo do dia (Apple Calendar) */
.tlc { background: var(--card); border-radius: var(--r-l); box-shadow: var(--sh-1); padding: 10px 12px 10px 0; }
.tlin { position: relative; margin-left: 54px; }
.tlin .hr { position: absolute; left: -54px; right: 0; height: 0; border-top: .5px solid var(--sep); }
.tlin .hr span { position: absolute; left: 6px; top: -8px; width: 42px; font-size: 11px; font-weight: 600; color: var(--faint); text-align: right; font-variant-numeric: tabular-nums; }
.ev { position: absolute; left: 4px; right: 0; border-radius: 8px; padding: 5px 9px; font-size: 13px; line-height: 1.2; overflow: hidden; text-align: left; border-left: 4px solid currentColor; z-index: 2; display: block; }
.ev b { display: block; font-size: 14px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev span { display: block; font-size: 12px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev.st-confirmado { background: #E9FBEF; color: var(--green); }
.ev.st-aguardando_pix { background: #FFF6DD; color: var(--amber); }
.ev.st-a_caminho { background: #E7F0FF; color: var(--blue); }
.ev.st-em_atendimento { background: #FFE9EE; color: var(--brand); }
.ev.st-concluido, .ev.st-cancelado, .ev.st-estornado { background: #F1F1F4; color: #A1A1A8; }
.ev.st-concluido b, .ev.st-cancelado b { color: var(--muted); }
.ev.st-cancelado b { text-decoration: line-through; }
.travel { position: absolute; left: 4px; right: 0; border-radius: 8px; background: repeating-linear-gradient(-45deg, var(--amber-soft) 0 6px, #FDE68A 6px 12px); color: #92400E; font-size: 11px; font-weight: 800; padding: 2px 8px; display: flex; align-items: center; gap: 4px; overflow: hidden; z-index: 1; }
.travel svg { width: 12px; height: 12px; }
.bloq { position: absolute; left: 4px; right: 0; border-radius: 8px; background: repeating-linear-gradient(-45deg, var(--fill2) 0 6px, var(--fill) 6px 12px); color: var(--muted); font-size: 12px; font-weight: 700; padding: 4px 8px; z-index: 1; overflow: hidden; }
.alm { position: absolute; left: 4px; right: 0; border-radius: 8px; background: #F7F7FA; color: var(--faint); font-size: 11px; font-weight: 700; padding: 2px 8px; z-index: 0; overflow: hidden; }
.now-l { position: absolute; left: -8px; right: 0; height: 2px; background: var(--red); z-index: 5; pointer-events: none; }
.now-l::before { content: ""; position: absolute; left: -2px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.now-l span { position: absolute; left: -50px; top: -8px; font-size: 11px; font-weight: 800; color: var(--red); background: var(--card); padding: 0 2px; font-variant-numeric: tabular-nums; }
.leg2 { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin: 10px 4px 0; }
.leg2 span { display: flex; align-items: center; gap: 5px; } .leg2 i { width: 10px; height: 10px; border-radius: 3px; }

/* ---------- Briefing (modal) ---------- */
.brief-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.brief-fotos button { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--fill); position: relative; }
.brief-fotos img { width: 100%; height: 100%; object-fit: cover; }
.brief-fotos button span { position: absolute; left: 8px; bottom: 8px; background: rgba(0, 0, 0, .7); color: var(--on-brand); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 8px; }
.brief-fotos .sem { display: grid; place-items: center; color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; padding: 12px; }
.bchips { display: flex; gap: 8px; flex-wrap: wrap; }
.bchips > div { flex: 1; min-width: 130px; background: var(--card); border-radius: 16px; padding: 12px; display: flex; align-items: center; gap: 10px; box-shadow: var(--sh-1); }
.bchips svg { width: 38px; height: 38px; color: var(--brand); flex: none; }
.bchips small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.bchips b { font-size: 17px; font-weight: 800; }
.zoom { position: fixed; inset: 0; z-index: 900; background: rgba(0, 0, 0, .94); display: grid; place-items: center; animation: fade .2s; padding: 16px; }
.zoom img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.zoom .ibtn { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 14px); right: 14px; background: rgba(255, 255, 255, .16); color: var(--on-brand); box-shadow: none; }

/* ---------- KPIs ---------- */
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { background: var(--card); border-radius: 18px; padding: 14px; box-shadow: var(--sh-1); text-align: left; }
.kpi small { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.kpi small svg { width: 15px; height: 15px; }
.kpi b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin-top: 6px; font-variant-numeric: tabular-nums; line-height: 1.05; }
.kpi span.s { font-size: 12px; color: var(--muted); display: block; margin-top: 2px; }
.kpi.ink { background: var(--ink); color: var(--on-brand); } .kpi.ink small, .kpi.ink span.s { color: #A1A1AA; }
.kpi.wide { grid-column: span 2; }
.kpi.alert b { color: var(--red); }
.copy-box { background: var(--card); border-radius: 16px; padding: 14px; box-shadow: var(--sh-1); font-size: 15px; line-height: 1.45; white-space: pre-wrap; }

/* ---------- Coach marks / onboarding ---------- */
.coach-dim { position: fixed; inset: 0; z-index: 800; pointer-events: auto; }
.coach-hole { position: fixed; z-index: 801; border-radius: 18px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .66); pointer-events: none; transition: all .4s var(--ease); }
.coach-tip { position: fixed; z-index: 802; left: 16px; right: 16px; max-width: 420px; margin: 0 auto; background: var(--card); border-radius: 22px; padding: 18px; box-shadow: var(--sh-3); animation: subirT .4s var(--ease); }
@keyframes subirT { from { opacity: 0; transform: translateY(12px); } }
.coach-tip .ct-n { font-size: 12px; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; }
.coach-tip p { font-size: 17px; font-weight: 600; line-height: 1.4; margin-top: 6px; }
.coach-tip .ct-a { display: flex; gap: 8px; margin-top: 14px; }
.stories { position: fixed; inset: 0; z-index: 850; background: var(--ink); color: var(--on-brand); display: flex; flex-direction: column; animation: fade .3s; }
.stories .bars { display: flex; gap: 4px; padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 0; }
.stories .bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.stories .bars i b { display: block; height: 100%; width: 0; background: var(--card); }
.stories .bars i.done b { width: 100%; }
.stories .bars i.now b { animation: barraS 6s linear forwards; }
@keyframes barraS { to { width: 100%; } }
.stories .top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.stories .top b { font-size: 15px; font-weight: 800; }
.stories .top button { color: var(--on-brand); font-size: 15px; font-weight: 700; opacity: .8; height: 40px; }
.stories .art { flex: 1; display: grid; place-items: center; padding: 8px 24px; }
.stories .art .ring { width: 220px; height: 220px; border-radius: 50%; display: grid; place-items: center; }
.stories .art .ring svg { width: 92px; height: 92px; color: var(--on-brand); stroke-width: 1.5; }
.stories .txt { padding: 0 24px; }
.stories .txt small { font-size: 13px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.stories .txt h2 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-top: 8px; }
.stories .txt p { font-size: 17px; line-height: 1.45; color: #D4D4D8; margin-top: 12px; }
.stories .foot { padding: 24px 24px calc(24px + var(--safe-b)); }
.stories .tapz { position: absolute; top: 80px; bottom: 140px; width: 35%; z-index: 1; }
.stories .tapz.l { left: 0; } .stories .tapz.r { right: 0; }

/* ---------- Alerta em tela cheia (7Mob / segurança) ---------- */
.fullscreen-alert { position: fixed; inset: 0; z-index: 950; background: var(--ink); color: var(--on-brand); display: flex; flex-direction: column; justify-content: center; padding: 32px 24px calc(32px + var(--safe-b)); animation: fade .25s; text-align: center; }
.fullscreen-alert.amber { background: linear-gradient(180deg, #78350F, var(--ink) 70%); }
.fullscreen-alert.red { background: linear-gradient(180deg, #7F1D1D, var(--ink) 70%); }
.fullscreen-alert.rose { background: linear-gradient(180deg, var(--accent-text), var(--ink) 70%); }
.fullscreen-alert .fa-ico { width: 104px; height: 104px; border-radius: 32px; margin: 0 auto; display: grid; place-items: center; background: rgba(255, 255, 255, .12); animation: tremor 1.2s ease-in-out infinite; }
.fullscreen-alert .fa-ico svg { width: 52px; height: 52px; }
@keyframes tremor { 0%, 100% { transform: scale(1); } 10%, 30% { transform: scale(1.06) rotate(-4deg); } 20%, 40% { transform: scale(1.06) rotate(4deg); } 50% { transform: scale(1); } }
.fullscreen-alert h2 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; margin-top: 24px; line-height: 1.1; }
.fullscreen-alert p { font-size: 18px; color: #E4E4E7; margin-top: 12px; line-height: 1.45; }
.fullscreen-alert .big { font-size: 64px; margin-top: 18px; color: #FCD34D; }
.fullscreen-alert .fa-a { margin-top: 32px; display: grid; gap: 10px; }

/* ---------- PIN ---------- */
.pin { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 24px calc(24px + var(--safe-b)); text-align: center; }
.pin .lock { width: 64px; height: 64px; border-radius: 20px; background: var(--ink); color: var(--on-brand); display: grid; place-items: center; }
.pin .lock svg { width: 28px; height: 28px; }
.pin h1 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin-top: 20px; }
.pin p { color: var(--muted); margin-top: 6px; font-size: 16px; }
.dots { display: flex; gap: 18px; margin: 30px 0 34px; height: 16px; }
.dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink); transition: background .15s, transform .15s; }
.dots i.on { background: var(--ink); transform: scale(1.1); }
.dots.err { animation: shake .4s; } .dots.err i { border-color: var(--red); }
@keyframes shake { 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }
.keypad { display: grid; grid-template-columns: repeat(3, 78px); gap: 16px 24px; }
.key { width: 78px; height: 78px; border-radius: 50%; background: var(--card); box-shadow: var(--sh-1); font-size: 30px; font-weight: 500; display: grid; place-items: center; transition: background .1s, transform .1s; font-variant-numeric: tabular-nums; }
.key:active { background: var(--line-2); transform: scale(.94); }
.key.fn { background: transparent; box-shadow: none; font-size: 15px; font-weight: 700; color: var(--muted); }
.key.fn svg { width: 26px; height: 26px; color: var(--ink); }

/* ---------- Banner de instalação ---------- */
.install-banner { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tab-h) + 12px); width: min(536px, calc(100% - 24px)); z-index: 46; background: var(--card); border-radius: 18px; padding: 12px; display: flex; align-items: center; gap: 12px; box-shadow: var(--sh-3); animation: subir .5s var(--ease); }
.install-banner .app-i { width: 48px; height: 48px; border-radius: 12px; flex: none; overflow: hidden; }
.install-banner b { font-size: 15px; font-weight: 800; display: block; }
.install-banner span.s { font-size: 13px; color: var(--muted); display: block; }

/* ---------- Central de avisos ---------- */
.nf { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; position: relative; width: 100%; text-align: left; background: transparent; }
.nf + .nf::before { content: ""; position: absolute; top: 0; left: 64px; right: 0; height: .5px; background: var(--sep); }
.nf .nfi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: var(--on-brand); flex: none; }
.nf .nfi svg { width: 18px; height: 18px; }
.nf b { font-size: 16px; font-weight: 700; display: block; }
.nf p { font-size: 14px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.nf time { font-size: 12px; color: var(--faint); white-space: nowrap; flex: none; margin-left: auto; padding-left: 8px; }
.nf.novo { background: var(--fill2); }
.nf.novo::after { content: ""; position: absolute; left: 6px; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--brand); }

/* ---------- Estados vazios / esqueleto ---------- */
.empty { text-align: center; padding: 40px 24px; }
.empty .ei { width: 72px; height: 72px; border-radius: 22px; background: var(--card); box-shadow: var(--sh-1); display: grid; place-items: center; margin: 0 auto; }
.empty .ei svg { width: 32px; height: 32px; color: var(--muted); }
.empty h3 { font-size: 20px; font-weight: 800; margin-top: 16px; letter-spacing: -.02em; }
.empty p { color: var(--muted); margin-top: 6px; font-size: 15px; line-height: 1.4; }
.skeleton { background: linear-gradient(90deg, var(--fill) 25%, var(--fill2) 50%, var(--fill) 75%); background-size: 200% 100%; animation: brilho 1.3s infinite; border-radius: 16px; }
@keyframes brilho { to { background-position: -200% 0; } }
.loading-full { min-height: 60vh; display: grid; place-items: center; }

/* ---------- Master ---------- */
.sim { display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; background: var(--card); border-radius: var(--r-l); padding: 16px; box-shadow: var(--sh-1); transition: transform .15s; }
.sim + .sim { margin-top: 10px; }
.sim:active { transform: scale(.985); }
.sim .si { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--on-brand); flex: none; }
.sim .si svg { width: 26px; height: 26px; }
.sim b { font-size: 17px; font-weight: 800; letter-spacing: -.015em; display: block; line-height: 1.25; }
.sim span.s { font-size: 14px; color: var(--muted); display: block; margin-top: 2px; }
.sim.danger b { color: var(--red-ink); }
.sim-log { margin-top: 12px; display: grid; gap: 6px; }
.sim-log div { font-size: 13px; color: var(--ink2); background: var(--card); padding: 8px 12px; border-radius: 10px; display: flex; gap: 8px; }
.sim-log time { color: var(--faint); font-variant-numeric: tabular-nums; }
.ck { display: flex; gap: 12px; align-items: center; padding: 14px 16px; width: 100%; text-align: left; position: relative; }
.ck + .ck::before { content: ""; position: absolute; top: 0; left: 58px; right: 0; height: .5px; background: var(--sep); }
.ck .cn { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--muted); flex: none; }
.ck.done .cn { background: var(--green); border-color: var(--green); color: var(--on-brand); }
.ck.done .cn svg { width: 16px; height: 16px; stroke-width: 3; }
.ck b { font-size: 16px; font-weight: 700; display: block; }
.ck.done b { color: var(--muted); text-decoration: line-through; }
.ck span.s { font-size: 13px; color: var(--muted); display: block; margin-top: 1px; }
.progress { height: 8px; border-radius: 4px; background: var(--fill3); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--green); border-radius: 4px; transition: width .5s var(--ease); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; padding: 8px 10px; }
.tbl td { padding: 10px; border-top: .5px solid var(--sep); font-variant-numeric: tabular-nums; vertical-align: top; }
.mhead { padding: calc(env(safe-area-inset-top, 0px) + 12px) 4px 4px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.banner-test { background: var(--amber-soft); color: var(--amber-ink); font-size: 13px; font-weight: 800; text-align: center; padding: 6px; border-radius: 10px; margin-top: 8px; }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  body { font-size: 16px; }
  .page { max-width: 1120px; padding-left: 32px; padding-right: 32px; }
  .nav { margin: 0 -32px; padding-left: 32px; padding-right: 32px; }
  .dhead { margin: 0 -32px; padding-left: 32px; padding-right: 32px; border-radius: 0 0 32px 32px; }
  .tabbar { top: 0; bottom: auto; height: 60px; padding: 0; border-top: 0; border-bottom: .5px solid rgba(0, 0, 0, .12); }
  .tabbar-in { max-width: 1120px; padding: 0 32px; justify-content: flex-end; gap: 4px; }
  .tab { flex: none; flex-direction: row; gap: 8px; font-size: 15px; padding: 0 16px; }
  .tab svg { width: 20px; height: 20px; }
  .tab.on { background: var(--fill); border-radius: 12px; height: 40px; align-self: center; }
  .tab .cnt { position: static; border: 0; }
  .page { padding-top: 60px; padding-bottom: 48px; }
  .heder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .client-desk { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .hero { min-height: 260px; padding: 32px; } .hero h1 { font-size: 40px; max-width: 360px; } .hero p { max-width: 320px; font-size: 17px; } .hero .art { width: 260px; height: 260px; }
  .cats { grid-template-columns: repeat(5, 1fr); }
  .upnext, .install-banner { bottom: 24px; }
  .sumbar { left: 50%; right: auto; transform: translateX(-50%); width: 600px; bottom: 16px; border-radius: 22px; border: .5px solid var(--sep); }
  .chat-dock { bottom: 16px; }
  .modal-backdrop { align-items: center; }
  .sheet { border-radius: 22px; max-height: 86vh; }
  .sheet.full { height: 92vh; border-radius: 22px; }
  .slots { grid-template-columns: repeat(6, 1fr); }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .kpi.wide { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
/* check animado (sucesso) */
.ok-check { width: 84px; height: 84px; display: block; margin: 0 auto; }
.ok-check circle { fill: var(--green); opacity: .12; stroke: var(--green); stroke-width: 4; stroke-dasharray: 240; stroke-dashoffset: 240; animation: okc .6s cubic-bezier(.65,0,.45,1) forwards; }
.ok-check path { fill: none; stroke: var(--green); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: okc .4s .45s cubic-bezier(.65,0,.45,1) forwards; }
@keyframes okc { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ok-check circle, .ok-check path { animation: none; stroke-dashoffset: 0; } }
.tag.red { background: var(--red-soft, #FEE2E2); color: var(--red-ink); }
/* rodada de crítica 1 */
.weekbar, .days { scroll-padding: 0 16px; }
.dayhead .small { white-space: nowrap; }
.next .eta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.next .nhead { gap: 8px; }

/* =====================================================================
   v4 — Cabeçalho claro do Heder, sem blocos pretos, transporte por bairro,
   políticas, pós-visita, visão geral, faixa de rede
   ===================================================================== */
/* sem blocos pretos: superfícies escuras viram claras */
.kpi.ink { background: linear-gradient(135deg, #F0FDF4, #FFFFFF 70%); color: var(--ink); box-shadow: var(--sh-1), inset 0 0 0 1px rgba(22, 163, 74, .14); }
.kpi.ink small, .kpi.ink span.s { color: var(--muted); }
.kpi.ink b { color: var(--green-ink); }
.upnext { background: var(--card); color: var(--ink); box-shadow: 0 14px 40px rgba(0, 0, 0, .16), 0 0 0 .5px var(--sep); }
.upnext .d { background: var(--brand-soft); }
.upnext span.s { color: var(--muted); }
.ticket .tk-top { background: linear-gradient(135deg, var(--accent-bg), #FFFFFF); color: var(--ink); border-bottom: .5px solid var(--sep); }
.ticket .tk-top small { color: var(--brand-ink); }
.stories { background: linear-gradient(165deg, #4C0519, #881337 55%, var(--brand-ink)); }
.fullscreen-alert.amber { background: linear-gradient(180deg, var(--amber), var(--amber-ink)); }
.fullscreen-alert.red { background: linear-gradient(180deg, #EF4444, #991B1B); }
.fullscreen-alert.rose { background: linear-gradient(180deg, #FB7185, var(--brand-ink)); }
.fullscreen-alert { background: linear-gradient(180deg, var(--brand), var(--accent-text)); }
.fullscreen-alert p { color: rgba(255, 255, 255, .92); }
.fullscreen-alert .big { color: var(--on-brand); }
.fullscreen-alert .fa-ico { background: rgba(255, 255, 255, .2); }
.sound-btn { background: var(--card); color: var(--ink2); box-shadow: var(--sh-1), inset 0 0 0 .5px var(--sep); }
.sound-btn.on { background: var(--green-soft); color: var(--green-ink); box-shadow: inset 0 0 0 1px rgba(22, 163, 74, .2); }
.notice-ink { background: var(--card); color: var(--ink); box-shadow: var(--sh-1), inset 0 0 0 1px var(--brand-soft); }
.notice-ink > svg { color: var(--brand); }

/* cabeçalho claro estilo iOS */
.hhead { padding: calc(env(safe-area-inset-top, 0px) + 10px) 0 4px; }
.hh-top { display: flex; align-items: center; gap: 8px; }
.hh-hi { font-size: 14px; font-weight: 600; color: var(--muted); text-transform: none; }
.hh-t { font-size: 34px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin-top: 2px; }
.st-pill { margin-top: 14px; width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 14px; border-radius: 16px; background: var(--card); box-shadow: var(--sh-1); text-align: left; font-size: 15px; font-weight: 700; color: var(--ink); }
.st-pill .ld { width: 10px; height: 10px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); flex: none; animation: respira 2s ease-in-out infinite; }
.st-pill.off { background: var(--amber-soft); color: var(--amber-ink); }
.st-pill.off .ld { background: var(--amber); box-shadow: 0 0 0 4px rgba(245, 158, 11, .22); animation: none; }
@keyframes respira { 50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, .05); } }
.switch.sm { width: 42px; height: 26px; pointer-events: none; }
.switch.sm span::after { width: 22px; height: 22px; }
.switch.sm input:checked + span::after { transform: translateX(16px); }
.hhead .kpis { margin-top: 12px; grid-template-columns: 1fr 1fr; }
.hhead .kpi { padding: 12px 14px; border-radius: 16px; }
.kpi small { text-transform: none; }
.kpi b span, .kpi b em { font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: 0; font-style: normal; }
.kpi.main { background: linear-gradient(135deg, var(--accent-bg), #FFFFFF 75%); box-shadow: var(--sh-1), inset 0 0 0 1px rgba(15, 15, 16, .12); }
.kpi.main b { color: var(--brand-ink); }
.kpi b.ok { color: var(--green-ink); }
.kpi.warn { background: var(--amber-soft); } .kpi.warn b { color: var(--amber-ink); }
button.kpi { width: 100%; font: inherit; color: inherit; cursor: pointer; }
.kpi em { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; font-weight: 700; font-style: normal; color: var(--muted); }
.kpi em svg { width: 14px; height: 14px; }
.kpi em.up { color: var(--green-ink); } .kpi em.down { color: var(--red-ink); }
.kpis-4 .kpi.main { grid-column: span 2; }
@media (min-width: 900px) { .kpis-4 .kpi.main { grid-column: span 1; } .hhead .kpis { grid-template-columns: repeat(4, 1fr); } }

/* linhas de alerta */
.alerta-linha { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 16px; background: var(--card); box-shadow: var(--sh-1); }
.alerta-linha > svg { width: 22px; height: 22px; flex: none; }
.alerta-linha b { display: block; font-size: 15px; font-weight: 800; }
.alerta-linha span { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.alerta-linha.red { background: var(--red-soft); } .alerta-linha.red > svg, .alerta-linha.red b { color: var(--red-ink); }
.alerta-linha.amber { background: var(--amber-soft); } .alerta-linha.amber > svg, .alerta-linha.amber b { color: var(--amber-ink); }
.alerta-linha .btn { flex: none; }

/* corrida no cartão do próximo cliente */
.corrida-a { display: flex; gap: 8px; margin-top: 8px; }
.corrida-a .btn { flex: 1; height: 38px; }
.next .addr .mob { background: var(--amber-soft); color: var(--amber-ink); }

/* busca de bairro (cliente) */
.busca-b { position: relative; }
.busca-b > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); width: 18px; height: 18px; pointer-events: none; }
.busca-b .input { padding-left: 42px; }
.bairro-li { width: 100%; text-align: left; }
.bairro-p { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 16px; }
#lista-bairros { max-height: 420px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.politicas .li .s { line-height: 1.4; }

/* contagem da reserva */
.contagem { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-ink); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.contagem svg { width: 16px; height: 16px; }
.contagem.urg { background: var(--red-soft); color: var(--red-ink); animation: pulsar 1.2s ease-in-out infinite; }
@keyframes pulsar { 50% { opacity: .65; } }

/* pós-visita e fidelidade */
.pos-visita { border-radius: var(--r-l); background: linear-gradient(135deg, var(--accent-bg), #FFFFFF 70%); box-shadow: var(--sh-1), inset 0 0 0 1px rgba(15, 15, 16, .1); padding: 16px; }
.pos-visita h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }

/* visão geral do Heder */
.barras { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding: 14px 12px 8px; background: var(--card); border-radius: var(--r-l); box-shadow: var(--sh-1); }
.bc { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; min-width: 0; }
.bc i { width: 100%; max-width: 30px; border-radius: 7px 7px 3px 3px; background: #FBCFD9; transition: height .5s var(--ease); }
.bc.hj i { background: var(--brand); }
.bc small { font-size: 11px; font-weight: 700; color: var(--muted); }
.bc.hj small { color: var(--brand-ink); }
.bc .bv { font-size: 10px; font-weight: 700; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rank { width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: none; }
.cta-card { width: 100%; margin-top: 16px; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-l); text-align: left; background: linear-gradient(135deg, var(--brand-soft), var(--fill2)); box-shadow: var(--sh-1), inset 0 0 0 1px rgba(15, 15, 16, .14); }
.cta-card b { display: block; font-size: 16px; font-weight: 800; }
.cta-card span { display: block; font-size: 13px; color: var(--ink2); margin-top: 2px; }
.btn-green { background: #25D366; color: var(--on-brand); }

/* master: bairros */
.bairro-m { gap: 10px; }
.bairro-m.off { opacity: .5; }
.taxa-in { width: 84px !important; height: 40px !important; flex: none; text-align: right; font-weight: 700; padding: 0 10px !important; box-shadow: none !important; background: var(--fill2) !important; }
.ibtn.plain { background: transparent; box-shadow: none; width: 36px; height: 36px; }
.tag.z-centro { background: var(--green-soft); color: var(--green-ink); }
.tag.z-perto { background: var(--blue-soft); color: var(--blue-ink); }
.tag.z-medio { background: var(--amber-soft); color: var(--amber-ink); }
.tag.z-longe { background: var(--brand-soft); color: var(--brand-ink); }
.tag.z-consultar { background: var(--grey-soft); color: var(--muted); }
.li.col { flex-direction: column; align-items: stretch; gap: 10px; }
.mt4 { margin-top: 4px; }

/* home: próximo horário livre (real) */
.hero .hero-livre { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: 13px; font-weight: 600; max-width: calc(100% - 40px); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero .hero-livre[hidden] { display: none; }
.hero .hero-livre b { font-weight: 800; }
.hero .hero-livre + .hcta { display: flex; width: max-content; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #86EFAC; box-shadow: 0 0 0 3px rgba(134, 239, 172, .35); flex: none; animation: respira2 1.8s ease-in-out infinite; }
@keyframes respira2 { 50% { box-shadow: 0 0 0 6px rgba(134, 239, 172, .08); } }

/* faixa de rede */
.faixa-rede { position: fixed; top: 0; left: 0; right: 0; z-index: 990; padding: calc(env(safe-area-inset-top, 0px) + 6px) 16px 6px; text-align: center; font-size: 13px; font-weight: 700; color: var(--on-brand); background: var(--amber-ink); animation: fade .2s; }
.faixa-rede.sync { background: var(--blue); }
body.com-faixa .page { padding-top: 28px; }
@media (prefers-reduced-motion: reduce) { .st-pill .ld, .contagem.urg, .pulse { animation: none; } }

/* v4 — rodada de crítica 1 */
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:active { background: var(--brand-ink); }
.sheet-head .hico { background: var(--brand-soft); color: var(--brand-ink); }
.bg-ink { background: #636366; }
.hh-hi { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpis-4 .kpi:last-child { grid-column: span 2; }
@media (min-width: 900px) { .kpis-4 .kpi:last-child { grid-column: span 1; } }
#f-formula .input { height: 46px; background: var(--fill2); box-shadow: none; }
#f-formula .lbl, #f-formula .field > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* =====================================================================
   v5 — Guia de primeira entrada: instalar o app + ativar notificações
   ===================================================================== */
.guia { position: fixed; inset: 0; z-index: 400; background: rgba(0, 0, 0, .42); display: flex; align-items: flex-end; justify-content: center; animation: fade .25s; }
.guia.saindo { animation: fadeOut .28s forwards; pointer-events: none; }
.guia.saindo .g-card { animation: sheetOut .28s var(--ease) forwards; }
.g-card { width: 100%; max-width: 520px; max-height: 94vh; max-height: 94dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; background: var(--bg); border-radius: 26px 26px 0 0; padding: 18px 16px calc(14px + var(--safe-b)); box-shadow: var(--sh-3); animation: sheetIn .45s var(--ease); outline: none; }
@media (min-width: 700px) { .guia { align-items: center; padding: 24px; } .g-card { border-radius: 26px; padding-bottom: 16px; } }
.g-top { display: flex; align-items: center; gap: 12px; }
.g-top > .monogram { flex: none; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); border-radius: 13px; }
.g-top .eyebrow { color: var(--brand); font-size: 12px; }
.g-top h2 { font-size: 22px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; margin-top: 2px; }
.g-lead { font-size: 15px; color: var(--ink2); line-height: 1.4; margin: 12px 2px 14px; }
.g-steps { display: flex; flex-direction: column; gap: 10px; }
.g-step { background: var(--card); border-radius: 18px; padding: 14px; box-shadow: var(--sh-1); transition: box-shadow .3s var(--ease); }
.g-step.atual { box-shadow: 0 0 0 2px var(--brand), var(--sh-2); }
.g-step.opcional { box-shadow: var(--sh-1); }
.g-step.travado { background: var(--fill2); box-shadow: none; }
.g-step.travado .g-head { opacity: .7; }
.g-step.feito { padding: 12px 14px; }
.g-head { display: flex; align-items: center; gap: 12px; }
.g-head b { font-size: 17px; font-weight: 800; display: block; letter-spacing: -.01em; }
.g-head small { font-size: 13px; color: var(--muted); display: block; margin-top: 1px; line-height: 1.3; }
.g-n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--on-brand); font-weight: 800; font-size: 15px; display: grid; place-items: center; flex: none; }
.g-n svg { width: 17px; height: 17px; stroke-width: 3; }
.g-step.feito .g-n { background: var(--green); }
.g-step.travado .g-n { background: var(--faint); }
.g-body { margin-top: 14px; }
.g-ios { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 0; }
.g-ios li { display: flex; align-items: center; gap: 12px; background: var(--fill2); border-radius: 14px; padding: 10px 12px; }
.g-k { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; flex: none; }
.g-pic { display: flex; gap: 4px; flex: none; }
.g-pic i { width: 40px; height: 40px; border-radius: 11px; background: var(--card); display: grid; place-items: center; color: #0A84FF; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 0 0 .5px rgba(0, 0, 0, .06); }
.g-pic i svg { width: 22px; height: 22px; }
.g-pic i.g-dots { color: var(--ink); }
.g-ios b { font-size: 15px; font-weight: 700; display: block; }
.g-ios small { font-size: 13px; color: var(--muted); display: block; line-height: 1.35; margin-top: 1px; }
.g-depois { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink2); margin-top: 12px; line-height: 1.35; }
.g-depois > .monogram { flex: none; }
.g-mini { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; line-height: 1.35; }
.g-txt { font-size: 14.5px; color: var(--ink2); margin-bottom: 10px; line-height: 1.4; }
.g-lock { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink2); line-height: 1.4; }
.g-lock svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--muted); }
.g-desk { display: flex; gap: 14px; align-items: center; }
.g-qr { width: 116px; height: 116px; flex: none; background: var(--card); border-radius: 12px; padding: 6px; box-shadow: var(--sh-1); }
.g-qr svg { width: 100%; height: 100%; display: block; }
.g-desk b { font-size: 15px; display: block; }
.g-desk small { font-size: 13px; color: var(--muted); display: block; margin-top: 2px; line-height: 1.35; }
.g-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 0 4px; min-height: 40px; }
.g-foot .g-depois-btn { color: var(--muted); margin-left: auto; font-weight: 600; }
.g-heder .g-foot .g-depois-btn { margin: 0 auto; }
.g-fim { text-align: center; padding: 18px 6px 4px; }
.g-okc { width: 76px; height: 76px; border-radius: 50%; background: var(--green); color: var(--on-brand); display: inline-grid; place-items: center; animation: popOk .5s var(--ease); box-shadow: 0 10px 24px rgba(22, 163, 74, .3); }
.g-okc svg { width: 40px; height: 40px; stroke-width: 3; }
@keyframes popOk { from { transform: scale(.4); opacity: 0; } }
.g-fim h2 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-top: 14px; }
.g-fim p { font-size: 16px; color: var(--ink2); margin-top: 6px; line-height: 1.4; }
.g-chips { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
/* CTA forte na reserva da cliente */
.g-cta { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, var(--accent-bg), var(--brand-soft)); box-shadow: inset 0 0 0 1px rgba(15, 15, 16, .16); color: var(--ink); font: inherit; cursor: pointer; }
.g-cta-i { width: 44px; height: 44px; border-radius: 13px; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; flex: none; box-shadow: 0 6px 14px rgba(15, 15, 16, .28); }
.g-cta-i svg { width: 22px; height: 22px; transform-origin: 50% 10%; animation: sino 2.6s ease-in-out infinite; }
.g-cta b { font-size: 15.5px; font-weight: 800; display: block; letter-spacing: -.01em; }
.g-cta small { font-size: 13px; color: var(--brand-ink); display: block; margin-top: 2px; line-height: 1.3; }
.g-cta .btn { flex: none; pointer-events: none; }
/* lembrete discreto no "Hoje" do Heder */
.g-lembrete { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: var(--card); box-shadow: var(--sh-1); color: var(--ink); font: inherit; cursor: pointer; }
.g-lembrete b { font-size: 15px; font-weight: 700; display: block; }
.g-lembrete small { font-size: 13px; color: var(--muted); display: block; margin-top: 1px; }
.g-lembrete .chev { color: var(--faint); width: 18px; height: 18px; flex: none; }
@media (prefers-reduced-motion: reduce) { .g-cta-i svg, .g-okc, .g-card { animation: none; } }
/* v5 — PIX pendente (home e Reservas): sempre dá para voltar ao QR Code */
.pix-pend-wrap:empty { display: none; }
.pix-pend-wrap { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.pix-pend { background: var(--card); border-radius: var(--r-l); padding: 14px; box-shadow: 0 0 0 2px var(--amber), var(--sh-2); animation: subirT .4s var(--ease); }
.pp-top { display: flex; align-items: center; gap: 12px; }
.pp-i { width: 44px; height: 44px; border-radius: 13px; background: var(--amber-soft); color: var(--amber-ink); display: grid; place-items: center; flex: none; }
.pp-i svg { width: 22px; height: 22px; }
.pp-eb { color: var(--amber-ink); font-size: 12px; }
.pp-t { font-size: 18px; font-weight: 800; letter-spacing: -.02em; display: block; margin-top: 1px; }
.pp-mid { margin-top: 10px; }
.pp-mid .tag { font-size: 12.5px; padding: 5px 9px; }
.pp-acts { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; }
.pp-acts .btn { height: 48px; }

/* ===== v5.1 — fotos dos serviços (banco gratuito, ver DESIGN.md › Fotos) ===== */
:root {
  --foto-cortes: url(/img/servicos/cortes.webp); --foto-cortes-masc: url(/img/servicos/cortes-masc.webp); --foto-trat: url(/img/servicos/trat.webp); --foto-cor: url(/img/servicos/cor.webp);
  --foto-alin: url(/img/servicos/alin.webp); --foto-combo: url(/img/servicos/combo.webp);
  --foto-veu: linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .38) 100%);
}
.pc .img.g-cortes { background: var(--foto-veu), var(--foto-cortes) center / cover, var(--ink); }
.pc .img.g-cortes.v-masc { background: var(--foto-veu), var(--foto-cortes-masc) center / cover, var(--ink); }
.pc .img.g-trat { background: var(--foto-veu), var(--foto-trat) center / cover, var(--ink); }
.pc .img.g-cor { background: var(--foto-veu), var(--foto-cor) center / cover, var(--ink); }
.pc .img.g-alin { background: var(--foto-veu), var(--foto-alin) center / cover, var(--ink); }
.pc .img.g-combo { background: var(--foto-veu), var(--foto-combo) center / cover, var(--ink); }
.pc .img > svg.lucide { display: none; }

/* ===== v5.1 — slots da marca (public/brand/brand.json) ===== */
img.monogram { object-fit: cover; background: var(--ink); }
.hero.com-foto { min-height: 236px; }
.hero.com-foto .hero-foto { position: absolute; top: 0; right: 0; bottom: 0; width: 48%; height: 100%; object-fit: cover; object-position: center top;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); pointer-events: none; }
.hero.com-foto h1, .hero.com-foto p { max-width: 58%; }
.sobre { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; background: var(--card); border-radius: var(--r-l); padding: 12px; box-shadow: var(--sh-1); }
.sobre img { width: 112px; height: 140px; object-fit: cover; object-position: center top; border-radius: 14px; background: var(--fill); }
.sobre h2 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.sobre p { font-size: 14px; line-height: 1.4; color: var(--ink2); margin-top: 6px; }
.sobre .tiny { display: block; margin-top: 8px; }
@media (min-width: 900px) { .hero.com-foto { min-height: 300px; } .sobre { grid-template-columns: 160px 1fr; } .sobre img { width: 160px; height: 200px; } }

/* =====================================================================
   v6 · DIREÇÃO B — MODERNO MINIMAL (aprovada por Marco em 18/11/2026)
   Geist, névoa #F2F1EE + cartões brancos, botões pretos em pílula com
   detalhes champanhe, vidro sobre a foto, barra de abas flutuante.
   ===================================================================== */
body { font-feature-settings: "tnum" 1; letter-spacing: -.005em; }
h1, h2, h3, .lt, .h1, .h2, .sec-head h2, .hh-t, .step-title h1, .big { font-weight: 600; letter-spacing: -.035em; }
b, strong { font-weight: 600; }
.eyebrow { font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.sec-head h2 { font-size: 22px; }
.sec-head .link { color: var(--ink); font-weight: 600; font-size: 14px; }
.glass { background: var(--glass); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); }

/* Botões */
.btn { border-radius: var(--r-btn); font-weight: 600; font-size: 16px; }
.btn-primary, .btn-brand { background: var(--ink); color: var(--on-brand); box-shadow: 0 10px 22px rgba(15, 15, 16, .16); }
.btn-primary:active, .btn-brand:active { background: #2A2A2C; }
.btn-primary svg, .btn-brand svg { color: var(--accent); }
.btn-secondary { background: var(--fill); color: var(--ink); }
.btn-tinted { background: var(--accent-bg); color: var(--accent-text); }
.btn-ghost, .btn-link { color: var(--ink); font-weight: 600; }
.btn-green { background: var(--green); color: var(--on-brand); }
.btn-danger { color: var(--red); }
.btn-sm { border-radius: var(--r-btn); }

/* Cartões, grupos, campos */
.card, .group, .qa, .how > div, .notice, .svc, .opt, .tile { box-shadow: var(--sh-1); }
.card, .group { border-radius: var(--r-l); }
.input { border-radius: 14px; }
.switch input:checked + span { background: var(--green); }
.li .chev { color: var(--line-2); }
.input::placeholder { color: var(--faint); }

/* Chips e status */
.chip { box-shadow: none; background: var(--card); font-weight: 600; font-size: 14px; height: 38px; }
.chip.on { background: var(--ink); color: var(--on-brand); }
.tag { font-weight: 600; border-radius: 999px; }
.tag.amber, .st-aguardando_pix { background: var(--accent-bg); color: var(--accent-text); }
.tag.green, .st-confirmado { background: var(--green-soft); color: var(--green); }
.tag.red, .st-cancelado, .st-estornado { background: var(--red-soft); color: var(--red); }
.st-a_caminho, .st-em_atendimento { background: var(--ink); color: var(--on-brand); }
.st-concluido { background: var(--fill); color: var(--muted); }
.badge { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-text); background: var(--accent-bg); padding: 3px 8px; border-radius: 999px; margin-bottom: 4px; }
.seg { background: var(--fill); border-radius: 999px; padding: 4px; }
.seg button { border-radius: 999px; color: var(--muted); font-weight: 600; }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .08); font-weight: 600; }
.seg .cnt-in { background: var(--ink); }
.cnt { background: var(--ink); }
.toast { background: rgba(15, 15, 16, .88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 16px; }
.toast.ok svg { color: #6FCF97; } .toast.err svg { color: #FF8A7A; }
.estrelas { color: var(--accent-text); }
.bg-rose { background: var(--ink); } .bg-blue { background: #4A4946; } .bg-green { background: var(--green); } .bg-amber { background: var(--accent-text); } .bg-ink { background: #4A4946; }
.av-0, .av-1, .av-2, .av-3, .av-4, .av-5 { background: var(--accent-bg); color: var(--accent-text); }
.steps i { background: var(--line); }
.steps i.on::after { background: var(--ink); }
.steps i.now::after { background: var(--accent); }
.nav { background: rgba(242, 241, 238, .86); }

/* Barra de abas flutuante (vidro) */
.tabbar { left: 16px; right: 16px; bottom: calc(14px + var(--safe-b)); height: 64px; padding: 0; border-radius: 32px; border: 0; background: rgba(255, 255, 255, .78); backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6); box-shadow: 0 10px 30px rgba(0, 0, 0, .12), inset 0 0 0 .5px rgba(0, 0, 0, .06); max-width: 528px; margin: 0 auto; }
.tabbar-in { height: 100%; align-items: center; }
.tab { color: var(--muted); font-size: 10.5px; font-weight: 600; gap: 2px; padding-top: 0; }
.tab svg { width: 22px; height: 22px; stroke-width: 1.8; }
.tab.on { color: var(--ink); }
.tab.on svg { background: var(--ink); color: var(--on-brand); border-radius: 999px; padding: 6px; width: 34px; height: 34px; margin: -6px 0 -2px; stroke-width: 2; }
.tab .cnt { top: 2px; border-color: #fff; background: var(--ink); }
.tab.on .cnt { background: var(--accent-text); }

/* ---------- Início da cliente ---------- */
.page-home { padding-left: 0; padding-right: 0; }
.hero2 { position: relative; min-height: 452px; padding: 0 22px 64px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: var(--hero-grad); overflow: hidden; }
.hero2 .hero-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero2::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, .08) 50%, rgba(0, 0, 0, .74) 82%, rgba(0, 0, 0, .88) 100%); pointer-events: none; }
.hero2 > * { position: relative; z-index: 1; }
.hero2 .hero-foto { position: absolute; z-index: 0; }
.topbar-hero { padding-left: 0; padding-right: 0; }
.topbar-hero .brandmark { display: grid; place-items: center; height: 40px; }
.topbar-hero .brandmark img { width: 34px; height: 26px; background: none; border-radius: 0; object-fit: contain; }
.topbar-hero .loc small { color: rgba(255, 255, 255, .72); }
.topbar-hero .loc b { color: #fff; }
.topbar-hero .loc b svg { color: var(--accent); }
.ibtn.glass { background: rgba(255, 255, 255, .18); color: #fff; box-shadow: none; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ibtn.glass .dot { background: var(--accent); border-color: transparent; }
.hero2-k { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .82); }
.hero2 h1 { font-size: 38px; line-height: 1.02; font-weight: 600; letter-spacing: -.04em; margin-top: 8px; max-width: 330px; }
.hero2-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.hchip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; color: var(--ink); }
.hchip svg { width: 14px; height: 14px; color: var(--accent-text); }
.home-sheet { position: relative; z-index: 2; margin-top: -32px; background: var(--bg); border-radius: 28px 28px 0 0; padding: 22px 20px 0; }
.cta-main { height: 60px; border-radius: var(--r-btn); background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 9px 0 24px; font-weight: 600; font-size: 17px; box-shadow: 0 12px 24px rgba(0, 0, 0, .18); transition: transform .15s var(--ease); }
.cta-main:active { transform: scale(.98); }
.cta-main i { width: 42px; height: 42px; border-radius: 999px; background: var(--accent); color: var(--ink); display: grid; place-items: center; }
.cta-main i svg { width: 20px; height: 20px; stroke-width: 2.2; }
.hero-livre { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 12px 4px 4px; }
.hero-livre[hidden] { display: none; }
.hero-livre b { color: var(--ink); font-weight: 600; }
.hero-livre .pulse, .pulse { background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.pix-pend-wrap:not(:empty) { margin-top: 14px; }
.chips-cat { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 16px -20px 0; padding: 2px 20px; }
.chips-cat::-webkit-scrollbar { display: none; }
.chips-cat .cat { flex: none; flex-direction: row; font-size: 13px; font-weight: 600; padding: 9px 15px; border-radius: 999px; background: var(--card); color: var(--ink); white-space: nowrap; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.chips-cat .cat:first-child { background: var(--ink); color: #fff; }
.chips-cat .cat:active { transform: scale(.96); }
.svc-list { display: flex; flex-direction: column; gap: 10px; overflow: visible; margin: 0; padding: 0; }
.svc-list .pc { width: auto; display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: var(--r-l); padding: 10px 16px 10px 10px; box-shadow: var(--sh-1); }
.svc-list .pc:active { transform: scale(.985); }
.svc-list .pc .img { width: 64px; height: 64px; border-radius: 16px; flex: none; display: block; }
.svc-list .pc-i { flex: 1; min-width: 0; }
.svc-list .pc h4 { font-size: 15px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
.svc-list .pc p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.svc-list .pc-p { font-size: 15px; font-weight: 600; white-space: nowrap; }
.pc .img.g-cortes, .pc .img.g-trat, .pc .img.g-cor, .pc .img.g-alin, .pc .img.g-combo { background-blend-mode: normal; }
.svc-list .pc .img.g-cortes { background: var(--foto-cortes) center / cover, var(--fill); }
.svc-list .pc .img.g-cortes.v-masc { background: var(--foto-cortes-masc) center / cover, var(--fill); }
.svc-list .pc .img.g-trat { background: var(--foto-trat) center / cover, var(--fill); }
.svc-list .pc .img.g-cor { background: var(--foto-cor) center / cover, var(--fill); }
.svc-list .pc .img.g-alin { background: var(--foto-alin) center / cover, var(--fill); }
.svc-list .pc .img.g-combo { background: var(--foto-combo) center / cover, var(--fill); }
.page-home .quick { margin-top: 14px; }
.qa .qi { background: var(--fill); color: var(--ink); }
.how .n { background: var(--ink); color: var(--accent); }
.page-home .footer { padding-bottom: 8px; }
.sobre { border-radius: var(--r-l); }
@media (min-width: 900px) {
  .page-home { max-width: 1100px; }
  .hero2 { min-height: 520px; border-radius: 0 0 32px 32px; padding: 0 40px 72px; }
  .hero2 h1 { font-size: 56px; max-width: 560px; }
  .home-sheet { margin: -32px 24px 0; }
}

/* ---------- Agendar: dia + horário (como a prancha B-3) ---------- */
.dp { width: 58px; height: 74px; border-radius: 16px; box-shadow: none; border: 1px solid var(--line); background: var(--card); }
.dp small { font-size: 11.5px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); }
.dp b { font-size: 19px; font-weight: 600; }
.dp em { font-size: 10px; font-weight: 600; color: var(--muted); }
.dp em::before { content: ""; display: block; width: 4px; height: 4px; border-radius: 2px; background: var(--accent); margin: 3px auto 1px; }
.dp em.none::before { background: transparent; }
.dp.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.dp.on small { color: var(--accent); } .dp.on em, .dp.on em.few, .dp.on em.none { color: rgba(255, 255, 255, .7); }
.dp.off { opacity: .4; border: 1px solid var(--line); } .dp.off b { color: var(--muted); text-decoration: line-through; }
.dp em.few { color: var(--accent-text); }
.per .pi { box-shadow: none; background: var(--fill); }
.per h3 { font-weight: 600; }
.slots { grid-template-columns: repeat(3, 1fr); }
.slot { height: 48px; border-radius: 14px; box-shadow: none; background: var(--card); font-weight: 600; font-size: 15px; }
.slot.x { border: 0; background: rgba(255, 255, 255, .5); color: var(--faint); opacity: .7; }
.slot.on { background: var(--ink); color: #fff; box-shadow: 0 8px 18px rgba(15, 15, 16, .2); }
.slot-fim { color: var(--green); }
.md.sel span { background: var(--ink); color: #fff; }
.md.today span { box-shadow: inset 0 0 0 1.5px var(--accent); }
.lv-ok { background: var(--green); } .lv-few { background: var(--accent); }
.sumbar { background: rgba(255, 255, 255, .94); border-top: 1px solid var(--line); box-shadow: none; }
.sumbar .sum .ic { background: var(--accent-bg); color: var(--accent-text); }
.sumbar .sum .pr b { font-weight: 600; }
.sumbar .sum span.falta { color: var(--accent-text); }
.svc.on { border-color: var(--ink); background: var(--card); }
.svc .si { border-radius: 16px; }
.opt.on, .zona.on, .tile.on { border-color: var(--ink); }
.ev.st-confirmado { background: var(--green-soft); color: var(--green); }
.ev.st-aguardando_pix { background: var(--accent-bg); color: var(--accent-text); }
.ev.st-a_caminho, .ev.st-em_atendimento { background: var(--ink); color: #fff; }
.ev.st-concluido, .ev.st-cancelado, .ev.st-estornado { background: var(--fill); color: var(--faint); }

/* ---------- PIX e reserva ---------- */
.pix-card { border-radius: var(--r-l); }
.pix-val { font-weight: 600; letter-spacing: -.04em; }
.contagem { background: var(--accent-bg); color: var(--accent-text); }
.passos-pix b.n { background: var(--ink); color: var(--accent); }
.bolha.eu { background: var(--ink); color: #fff; }
.pix-pend { border-color: var(--accent); }

/* ---------- Painel do Heder: topo escuro (prancha B-3) ---------- */
.heder-body .hhead, .hhead { margin: 0 -16px; padding: calc(env(safe-area-inset-top, 0px) + 14px) 20px 22px; background: var(--hero-grad); color: #fff; border-radius: 0 0 28px 28px; }
.hhead .hh-hi { color: rgba(255, 255, 255, .66); font-weight: 500; }
.hhead .hh-t { color: #fff; font-weight: 600; }
.hhead .ibtn { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
.hhead .ibtn .cnt { background: var(--accent); color: var(--ink); border-color: transparent; }
.hhead .st-pill { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; border: 0; }
.hhead .st-pill.off { background: rgba(194, 49, 31, .22); }
.hhead .st-pill .ld { background: #4ADE80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.hhead .kpi, .hhead .kpi.main, .hhead button.kpi { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: none; border: 0; }
.hhead .kpi small { color: rgba(255, 255, 255, .62); }
.hhead .kpi b { color: #fff; font-weight: 600; letter-spacing: -.03em; }
.hhead .kpi b span { color: rgba(255, 255, 255, .6); }
.hhead .kpi b.ok { color: #6FCF97; }
.hhead .kpi.warn { background: rgba(216, 195, 160, .18); }
.hhead .kpi.warn b { color: var(--accent); }
.hhead .sound-btn { background: rgba(255, 255, 255, .1); color: #fff; }
.hhead .sound-btn.on { background: var(--green); color: #fff; }
.hhead .g-lembrete { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: none; }
.next { border-radius: var(--r-l); box-shadow: var(--sh-2); }
.next .addr .mob { background: var(--accent-bg); color: var(--accent-text); }
.kpi.main { background: var(--card); }
.swipe .k { color: var(--ink); }
.swipe.k-amber { background: var(--accent-text); } .swipe.k-amber .k { color: var(--accent-text); }
.swipe.ok .k { background: var(--green); }
.sound-btn { background: var(--ink); }
.sound-btn.on { background: var(--green); color: #fff; }
.travel { background: repeating-linear-gradient(-45deg, var(--accent-bg) 0 6px, #EADBC0 6px 12px); color: var(--accent-text); }
.bc i { background: var(--accent); } .bc.hj i { background: var(--ink); }
.kpi.ink { background: var(--card); box-shadow: var(--sh-1); }

/* Telas cheias e PIN */
.stories { background: linear-gradient(165deg, #1B1B1D, #0F0F10 70%); }
.stories .art .ring { border-color: var(--accent); }
.fullscreen-alert.rose, .fullscreen-alert.amber { background: linear-gradient(180deg, #3A3226, #0F0F10 70%); }
.fullscreen-alert.red { background: linear-gradient(180deg, #8E2416, #0F0F10 75%); }
.fullscreen-alert .big { color: var(--accent); }
.pin .lock { background: var(--ink); color: var(--accent); }
.dots i.on { background: var(--ink); }
.key { font-weight: 500; }
.install-banner { border-radius: var(--r-l); }
.coach-tip .ct-n { background: var(--ink); color: var(--accent); }
.ticket .tk-top { background: linear-gradient(135deg, var(--accent-bg), #FFFFFF); }
.g-k, .g-n { background: var(--ink); color: var(--accent); }
.hero-livre { display: block; line-height: 1.4; }
.hero-livre .pulse { display: inline-block; vertical-align: 1px; margin-right: 8px; }
.estrelas svg { fill: currentColor; }
/* ícones de lista: paleta B (preto, grafite, champanhe, verde só para sucesso) */
.bg-rose, .bg-ink { background: var(--ink); } .bg-blue, .bg-violet, .bg-teal, .bg-grey { background: #4A4946; } .bg-green { background: var(--green); } .bg-amber { background: var(--accent-text); } .bg-red { background: var(--red); }
.li-ico { color: #fff; }
.nfi.bg-rose, .nfi.bg-ink, .nfi.bg-blue, .nfi.bg-violet, .nfi.bg-teal, .nfi.bg-grey { color: var(--accent); }
.stories .art .ring { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px var(--accent); }
.stories .art .ring svg { color: var(--accent); }
.swipe.k-blue, .swipe.k-rose { background: var(--ink); } .swipe.k-blue .k, .swipe.k-rose .k { color: var(--ink); background: var(--accent); }
.swipe.k-green { background: var(--green); }
/* catálogo com foto real */
.svc .si.foto { width: 64px; height: 64px; border-radius: 16px; background-color: var(--fill); background-size: cover; background-position: center; }
.svc .si.foto.g-cortes { background-image: var(--foto-cortes); } .svc .si.foto.g-cortes.v-masc { background-image: var(--foto-cortes-masc); }
.svc .si.foto.g-trat { background-image: var(--foto-trat); } .svc .si.foto.g-cor { background-image: var(--foto-cor); }
.svc .si.foto.g-alin { background-image: var(--foto-alin); } .svc .si.foto.g-combo { background-image: var(--foto-combo); }
.svc .badge { margin-bottom: 2px; }
.check { border-color: var(--line-2); } .on .check, .on > .check { background: var(--ink); border-color: var(--ink); }
.c-cortes, .c-trat, .c-cor, .c-alin, .c-combo { background: var(--fill); color: var(--ink); }

/* ===== v6 · Alertas insistentes do Heder (tela cheia até tocar em "Vi") ===== */
.alp { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px;
  padding-top: max(20px, env(safe-area-inset-top)); padding-bottom: max(20px, env(safe-area-inset-bottom));
  background: rgba(15, 15, 16, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: alp-in .2s ease-out; }
body.alp-on { overflow: hidden; }
.alp-card { width: 100%; max-width: 420px; background: var(--surface, #fff); color: var(--ink, #0F0F10); border-radius: 28px; padding: 28px 22px 20px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.alp-ico { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--ink, #0F0F10); color: var(--accent, #C9A96E); animation: alp-pulso 1.2s ease-in-out infinite; }
.alp-ico svg { width: 36px; height: 36px; }
.alp-k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red, #D92D20); }
.alp-t { font-size: 24px; line-height: 1.2; margin: 8px 0 6px; font-weight: 700; }
.alp-c { font-size: 16px; line-height: 1.45; color: var(--muted, #55534F); margin: 0 0 12px; }
.alp-mais { display: flex; gap: 8px; align-items: flex-start; text-align: left; font-size: 13px; background: var(--bg, #F2F1EE); border-radius: 14px; padding: 10px 12px; margin-bottom: 14px; color: var(--muted, #55534F); }
.alp-mais svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.alp-vi { min-height: 64px; font-size: 22px; font-weight: 800; background: var(--green, #1F9D55); color: #fff; border: 0; border-radius: 999px; margin-top: 6px; }
.alp-vi svg { width: 26px; height: 26px; }
.alp-nota { font-size: 12px; color: var(--muted, #55534F); margin: 12px 0 0; }
@keyframes alp-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes alp-pulso { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201,169,110,.55); } 50% { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(201,169,110,0); } }
@media (prefers-reduced-motion: reduce) { .alp-ico, .alp { animation: none; } }

/* ===== v6 · Catálogo: Infantil, "a partir de", só no studio, mínimo em casa ===== */
:root { --foto-inf: url(/img/servicos/infantil.webp); }
.g-inf { background: var(--foto-inf) center / cover, var(--fill); }
.pc .img.g-inf, .svc-list .pc .img.g-inf { background: var(--foto-inf) center / cover, var(--fill); }
.svc .si.foto.g-inf { background-image: var(--foto-inf); }
.apd { font-size: .78em; font-weight: 600; color: var(--muted); margin-right: 3px; text-transform: none; }
.svc .so-studio { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 600; color: var(--muted); }
.svc.travado { opacity: .5; }
.min-casa { display: flex; gap: 10px; align-items: center; }
.min-casa .barra { flex: 1; height: 6px; border-radius: 999px; background: var(--fill); overflow: hidden; }
.min-casa .barra i { display: block; height: 100%; background: var(--ink); border-radius: inherit; transition: width .25s; }
.min-casa.ok .barra i { background: var(--green); }

/* ===== v6 · Faixa do AMBIENTE DE TESTE (staging) — aparece nas 3 visões ===== */
#faixa-teste { position: fixed; z-index: 10000; left: 50%; transform: translateX(-50%); top: calc(env(safe-area-inset-top) + 4px);
  padding: 4px 12px; border-radius: 999px; background: #F59E0B; color: #1A1203; font: 800 11px/1.2 var(--font, system-ui); letter-spacing: .06em;
  box-shadow: 0 4px 14px rgba(0,0,0,.25); pointer-events: none; white-space: nowrap; }
html.env-teste body { box-shadow: inset 0 0 0 3px #F59E0B; }

/* ===== v6 · 30 anos de experiência (selo de confiança) ===== */
.hero2-chips { flex-wrap: wrap; }
.hchip-exp { font-weight: 700; }
.sobre-exp { display: flex; align-items: center; gap: 6px; font-weight: 600; margin: 4px 0 6px; }
.sobre-exp svg { width: 16px; height: 16px; flex: none; }

/* =====================================================================
   v7 · Heder Torres — topo do Heder claro, faixa de teste no fluxo,
   seletor de visões, roteiro de treino, foto por serviço, responsividade
   (quebras 600 / 900 / 1100 / 1200), alvos de toque ≥ 44 px, 320 px.
   ===================================================================== */

/* ---------- 1. Topo do Heder: claro e compacto (sem "HUD pretão") ---------- */
.heder-body .hhead, .hhead { margin: 0; padding: calc(env(safe-area-inset-top, 0px) + 8px) 0 4px; background: transparent; color: var(--ink); border-radius: 0; }
.hhead .hh-hi { color: var(--muted); font-weight: 500; }
.hhead .hh-t { color: var(--ink); font-weight: 600; font-size: 30px; }
.hhead .ibtn { width: 44px; height: 44px; background: var(--card); color: var(--ink); box-shadow: var(--sh-1); }
.hhead .ibtn .cnt { background: #C2311F; color: #fff; border-color: var(--bg); }
.hhead .st-pill { margin-top: 10px; min-height: 48px; background: var(--card); color: var(--ink); box-shadow: var(--sh-1); border: 0; }
.hhead .st-pill.off { background: var(--amber-soft); color: var(--amber-ink); }
.hhead .st-pill .ld { background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.hhead .st-pill.off .ld { background: var(--amber); box-shadow: 0 0 0 4px rgba(245, 158, 11, .22); }
.hhead .kpis { margin-top: 10px; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hhead .kpi, .hhead .kpi.main, .hhead button.kpi { background: var(--card); color: var(--ink); box-shadow: var(--sh-1); border: 0; padding: 9px 12px; border-radius: 14px; min-height: 56px; grid-column: auto !important; }
.hhead .kpi small { color: var(--muted); font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.hhead .kpi b { color: var(--ink); font-size: 19px; font-weight: 600; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hhead .kpi b span { color: var(--muted); font-size: 12px; }
.hhead .kpi b.ok { color: var(--green-ink); }
.hhead .kpi.warn { background: var(--accent-bg); }
.hhead .kpi.warn b { color: var(--accent-text); }
.hhead .sound-btn { min-height: 44px; background: var(--amber-soft); color: var(--amber-ink); box-shadow: none; }
.hhead .sound-btn.on { background: var(--green-soft); color: var(--green-ink); }
.hhead .g-lembrete { background: var(--card); color: var(--ink); box-shadow: var(--sh-1); padding: 10px 14px; }
.hhead .g-lembrete small { color: var(--muted); }
@media (min-width: 600px) { .hhead .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 2. Faixa do AMBIENTE DE TESTE: no fluxo, não cobre nada ---------- */
#faixa-teste { position: relative; z-index: 5; left: auto; transform: none; top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 48px; padding: calc(env(safe-area-inset-top, 0px) + 4px) 8px 4px 14px; border-radius: 0; background: #F59E0B; color: #1A1203;
  font: 600 13px/1.2 var(--font, system-ui); letter-spacing: 0; box-shadow: none; pointer-events: auto; white-space: nowrap; }
#faixa-teste .ft-t { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
#faixa-teste .ft-t b { font-weight: 800; letter-spacing: .06em; }
#faixa-teste .ft-b { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: rgba(26, 18, 3, .12); color: #1A1203; font-weight: 700; font-size: 13px; }
#faixa-teste .ft-b svg { width: 16px; height: 16px; }
html.env-teste body { box-shadow: none; }
html.env-teste .nav { top: 0; }

/* ---------- 3. Roteiro de treino ---------- */
.treino .treino-prog { height: 8px; border-radius: 999px; background: var(--fill); overflow: hidden; margin: 14px 4px 6px; }
.treino .treino-prog span { display: block; height: 100%; background: var(--green); border-radius: inherit; transition: width .3s; }
.treino .group-title { display: flex; align-items: center; gap: 8px; }
.treino .group-title svg { width: 16px; height: 16px; }
.treino-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.treino-passo { display: flex; gap: 12px; background: var(--card); border-radius: var(--r-l); padding: 14px; box-shadow: var(--sh-1); }
.treino-passo .tp-n { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.treino-passo.ok .tp-n { background: var(--green); }
.treino-passo b { font-size: 16px; font-weight: 600; display: block; }
.treino-passo p { font-size: 14px; color: var(--ink2, var(--ink)); margin-top: 4px; line-height: 1.4; }
.treino-passo .tp-ok { color: var(--green-ink); display: flex; gap: 6px; align-items: flex-start; font-size: 13px; }
.treino-passo .tp-ok svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.treino-passo .tp-acoes { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.treino-passo .tp-acoes .btn { min-height: 44px; }
.tp-feito { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; background: var(--fill); font-weight: 600; font-size: 14px; cursor: pointer; }
.tp-feito input { width: 20px; height: 20px; accent-color: var(--green); }
.treino .seg button { min-height: 44px; }
.so-print { display: none; }
@media print {
  #faixa-teste, .tabbar, .no-print, .install-banner, .upnext, #modal-root { display: none !important; }
  .so-print { display: block !important; }
  body, html { background: #fff !important; }
  .page { padding: 0 !important; max-width: none !important; min-height: 0 !important; }
  .treino-passo { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
  .treino-trilha { break-before: auto; }
  .treino-lista { display: flex !important; flex-direction: column; gap: 8px; }
  .treino-passo { padding: 10px 12px; }
  .treino-passo .tp-n { background: #fff !important; color: #111 !important; border: 1.5px solid #111; }
  .treino-passo::after { content: "☐ feito"; margin-left: auto; font-size: 13px; color: #555; white-space: nowrap; }
  .footer { margin-top: 12px; }
  .treino .group-title { break-after: avoid; page-break-after: avoid; }
  .treino-trilha + .treino-trilha { break-before: page; }
}

/* ---------- 4. Foto por serviço + folha do serviço ---------- */
.svc .si.foto[style*="background-image"], .pc .img[style*="background-image"] { background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; }
.svc .si.foto { position: relative; cursor: zoom-in; }
.svc .si.foto .zoom-i { position: absolute; right: 4px; bottom: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(15, 15, 16, .62); color: #fff; display: grid; place-items: center; font-style: normal; }
.svc .si.foto .zoom-i svg { width: 12px; height: 12px; }
.svc .si.foto::after { content: ""; position: absolute; inset: -8px; }
.serv-hero { width: 100%; aspect-ratio: 3 / 2; border-radius: 18px; background-size: cover; background-position: center; background-color: var(--fill); }
.sheet-head h3 { white-space: normal; line-height: 1.15; }

/* ---------- 5. Topo da cliente: título sem cobrir o Heder ---------- */
@media (max-width: 899px) {
  .hero2 { min-height: 560px; }
  .hero2 .hero-foto { height: 64%; bottom: auto; object-position: center 28%; }
  .hero2::after { background: linear-gradient(180deg, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0) 40%, rgba(15, 15, 16, .85) 60%, #0F0F10 66%, #0F0F10 100%); }
  .hero2 h1 { font-size: 34px; }
}
@media (max-width: 359px) { .hero2 { min-height: 540px; } .hero2 h1 { font-size: 30px; } .hero2 .hero-foto { height: 58%; } }
@media (min-width: 900px) {
  .hero2 .hero-foto { left: auto; right: 0; width: 62%; object-position: center 25%; }
  .hero2::after { background: linear-gradient(90deg, #0F0F10 0%, #0F0F10 36%, rgba(15, 15, 16, .55) 46%, rgba(15, 15, 16, 0) 60%), linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, .45) 100%); }
  .hero2 h1 { max-width: 460px; font-size: 52px; }
}

/* ---------- 6. Alvos de toque (mínimo 44 px) ---------- */
.chip, .chips-cat .cat { min-height: 44px; }
.chips-cat .cat { display: inline-flex; align-items: center; }
.sec-head .link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; margin: -12px -6px; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
.sheet-head .ibtn { width: 44px; height: 44px; }
.ibtn { min-width: 44px; min-height: 44px; }
.seg button { min-height: 40px; }
.slot { min-height: 48px; }
.quick-r button { height: 44px; }
.li { min-height: 52px; }
.install-banner .ibtn, .install-banner .btn { min-height: 44px; }

/* ---------- 7. 320 px (celular pequeno) ---------- */
@media (max-width: 359px) {
  .opt { gap: 10px; padding: 12px; }
  .opt .oi { width: 44px; height: 44px; }
  .opt b { font-size: 16px; white-space: nowrap; }
  .opt .price { font-size: 13px; }
  .svc-list .pc h4.ell { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .sumbar .sum p.ell, .sumbar .sum .falta { white-space: normal; }
  .sumbar .sum .pr b { font-size: 18px; }
  .hhead .hh-t { font-size: 26px; }
  .hhead .kpi b { font-size: 17px; }
  #faixa-teste { font-size: 12px; padding-left: 10px; }
  #faixa-teste .ft-b { padding: 0 10px; }
}

/* ---------- 8. Tablet (600+): Heder e Master em 2 colunas ---------- */
@media (min-width: 600px) {
  .page { padding-left: 24px; padding-right: 24px; }
  .heder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .m-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .m-col > .group-title:first-child, .m-col > #m-alertas:first-child > .group-title:first-child { margin-top: 24px; }
  .treino-lista { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 600px) and (max-width: 899px) {
  .page:not(.page-wide):not(.page-home) { max-width: 640px; }
}

/* ---------- 9. Computador (900+): barra de abas no topo, maior ---------- */
@media (min-width: 900px) {
  .tabbar { top: 12px; bottom: auto; left: 50%; right: auto; transform: translateX(-50%); width: auto; height: 60px; padding: 0 8px; border-radius: 30px; box-shadow: 0 10px 30px rgba(0, 0, 0, .10); border: 0; }
  html.env-teste .tabbar { top: 60px; }
  .tabbar-in { max-width: none; padding: 0; gap: 4px; justify-content: center; }
  .tab { flex: none; flex-direction: row; gap: 8px; height: 44px; padding: 0 18px; border-radius: 22px; font-size: 14px; font-weight: 600; color: var(--muted); }
  .tab svg { width: 20px; height: 20px; }
  .tab.on { background: var(--ink); color: #fff; height: 44px; align-self: center; border-radius: 22px; }
  .tab.on svg { background: none; color: inherit; padding: 0; width: 20px; height: 20px; margin: 0; }
  .tab .cnt { position: static; }
  .page { padding-top: 88px; }
  .page.page-home { padding-top: 84px; }
  .page:not(.page-wide):not(.page-home):not(.with-bar):not(.page-ped) { max-width: 680px; }
  .page.with-bar, .page.page-ped { max-width: 760px; }
  .nav { top: 0; }
  .m-cols { gap: 28px; }
}

/* ---------- 10. Computador largo (1100+): agendar com resumo ao lado; PIX ao lado do chat ---------- */
.sumbar .sum-det { display: none; }
@media (min-width: 1100px) {
  .page.with-bar { max-width: 1160px; padding-right: calc(32px + 380px); padding-bottom: 48px; }
  .page.with-bar .nav { margin-right: 0; }
  .sumbar { left: auto; right: max(32px, calc((100vw - 1160px) / 2 + 32px)); transform: none; top: 100px; bottom: auto; width: 360px; border-radius: 24px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 10px 30px rgba(0, 0, 0, .08); padding: 18px; max-height: calc(100vh - 124px); overflow: auto; }
  html.env-teste .sumbar { top: 148px; max-height: calc(100vh - 172px); }
  .sumbar-in { max-width: none; }
  .sumbar .sum-det { display: block; margin-bottom: 14px; }
  .sumbar .sum-det-h { font-size: 18px; font-weight: 600; margin: 0 2px 10px; letter-spacing: -.01em; }
  .sumbar .sum-det .ticket { box-shadow: none; background: var(--bg); }
  .sumbar .sum { display: none; }
  .page.page-ped { max-width: 1160px; }
  .ped-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .ped-cols > #painel-pag, .ped-cols > #painel-det { grid-column: 1; }
  .ped-cols > #painel-chat { grid-column: 2; grid-row: 1 / span 2; background: var(--card); border-radius: 24px; padding: 4px 16px 16px; box-shadow: var(--sh-1); position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; }
  .ped-cols > #painel-chat.hidden { display: block !important; }
  .page-ped [data-tab-pedido="chat"] { display: none; }
  .page-ped .chat-dock { bottom: 0; }
}

/* ---------- 11. Computador grande (1200+): Heder em 3 colunas ---------- */
@media (min-width: 1200px) {
  #aba:has(> .hhead) { display: grid; grid-template-columns: 340px minmax(0, 1fr); column-gap: 28px; align-items: start; }
  #aba:has(> .hhead) > .hhead { grid-column: 1; grid-row: 1 / span 30; position: sticky; top: 88px; }
  #aba:has(> .hhead) > :not(.hhead) { grid-column: 2; }
  #aba > .hhead .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-cols { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .treino-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 12. Extras: WhatsApp de dúvida, Indique uma amiga ---------- */
.zap-ajuda { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 10px; padding: 8px 14px; border-radius: 16px; background: var(--card); box-shadow: var(--sh-1); font-size: 14px; color: var(--ink); }
.zap-ajuda > svg:first-child { width: 22px; height: 22px; color: #1B6E45; flex: none; }
.zap-ajuda span { flex: 1; min-width: 0; line-height: 1.3; }
.zap-ajuda b { font-weight: 600; }
.zap-ajuda .chev { width: 18px; height: 18px; color: var(--faint); flex: none; }
.g-cta.indique small { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; font-weight: 400; }

/* =====================================================================
   v8 · Heder Torres — agendamento em 5 passos, conta sem senha,
   Pix automático, home de site no computador, SEO (bloco #seo só na home)
   Mesmos tokens da direção B (Geist, névoa, cartões brancos, pílulas pretas).
   ===================================================================== */

/* ---------- 0. Bloco SEO (renderizado no servidor) ---------- */
body:not(.rota-home) #seo, body.escopo-heder #seo, body.escopo-master #seo { display: none !important; }
.seo-home { max-width: 1100px; margin: 0 auto; padding: 8px 20px calc(var(--tab-h, 84px) + 40px); color: var(--ink2); }
.seo-home h2 { font-size: 20px; color: var(--ink); margin: 26px 0 8px; letter-spacing: -.03em; }
.seo-home h3 { font-size: 16px; color: var(--ink); margin: 14px 0 4px; }
.seo-home p, .seo-home li { font-size: 15px; line-height: 1.5; }
.seo-home ul { padding-left: 18px; margin: 6px 0; }
.seo-home a { color: var(--ink); font-weight: 600; }
.seo-home details { background: var(--card); border-radius: 16px; padding: 12px 16px; margin-top: 8px; box-shadow: var(--sh-1); }
.seo-home summary { cursor: pointer; font-weight: 600; color: var(--ink); min-height: 28px; }
@media (min-width: 900px) { .seo-home { padding-bottom: 60px; } }

/* ---------- 1. Home: topo de site (computador) ---------- */
.site-top { display: none; }
@media (min-width: 900px) {
  .v8home .site-top { display: flex; align-items: center; gap: 24px; height: 72px; padding: 0 8px; position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
  .st-logo img { height: 40px; width: auto; display: block; }
  .st-nav { display: flex; gap: 4px; flex: 1; }
  .st-nav a { color: var(--ink2); font-weight: 500; font-size: 15px; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; text-decoration: none; }
  .st-nav a:hover { background: var(--fill); color: var(--ink); }
  .st-acoes { display: flex; align-items: center; gap: 8px; }
  .st-acoes > a, .st-acoes > button { min-height: 44px; }
  .st-acoes .ibtn { background: var(--card); box-shadow: var(--sh-1); }

  /* Hero em duas colunas, claro, com textura de pontos */
  .v8home .hero2 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 48px; min-height: 0; padding: 40px 8px 56px; border-radius: 0; color: var(--ink); background: transparent; }
  .v8home .hero2::before { content: ""; position: absolute; inset: 0 -50vw; z-index: -1; background-image: radial-gradient(color-mix(in srgb, var(--ink) 10%, transparent) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%); mask-image: linear-gradient(180deg, #000 0%, transparent 92%); pointer-events: none; }
  .v8home .hero2::after { display: none; }
  .v8home .hero2 .topbar-hero { display: none; }
  .v8home .hero2 .hero-foto { position: relative; inset: auto; grid-column: 2; grid-row: 1; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 600px; border-radius: 28px; box-shadow: 0 30px 60px -24px rgba(15, 15, 16, .35); object-fit: cover; z-index: 1; }
  .v8home .hero2-txt { grid-column: 1; grid-row: 1; }
  .v8home .hero2-k { color: var(--muted); font-size: 14px; }
  .v8home .hero2 h1 { color: var(--ink); font-size: clamp(48px, 5.2vw, 68px); max-width: 600px; line-height: .98; }
  .v8home .hero2-sub { display: block; font-size: 19px; line-height: 1.45; color: var(--ink2); max-width: 520px; margin-top: 18px; }
  .v8home .hero2 .hchip.glass { background: var(--card); color: var(--ink); box-shadow: var(--sh-1); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .v8home .hero-cta-desk { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
  .v8home .hero-livre-desk { margin-top: 16px; color: var(--ink2); }
  .v8home .home-sheet { margin: 0; padding: 8px 8px 0; background: transparent; border-radius: 0; }
  .v8home .home-sheet .cta-main, .v8home #prox-livre { display: none; }
  .v8home .chips-cat { margin: 0; padding: 2px 0; flex-wrap: wrap; overflow: visible; }
  .v8home .cats-wrap::after { display: none; }
}
.hero2-sub, .hero-cta-desk, .hero-livre-desk { display: none; }
@media (min-width: 900px) { .hero-livre-desk:not([hidden]) { display: flex; } }

/* Filtros: no celular rolam com "fade" no fim mostrando que tem mais */
.cats-wrap { position: relative; }
.cats-wrap::after { content: ""; position: absolute; top: 18px; right: -20px; bottom: 2px; width: 44px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--bg) 80%); transition: opacity .2s; }
.cats-wrap.no-fim::after { opacity: 0; }

/* Casa, redes, homenagem, FAQ, galeria, rodapé */
.casa-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-l); background: var(--card); box-shadow: var(--sh-1); color: var(--ink); text-decoration: none; min-height: 72px; }
.casa-card b { display: block; font-size: 16px; }
.casa-card small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }
.casa-i, .rede-i { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--accent); }
.casa-i svg, .rede-i svg { width: 22px; height: 22px; }
.redes-l { display: grid; gap: 8px; }
.rede { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--card); box-shadow: var(--sh-1); color: var(--ink); text-decoration: none; min-height: 64px; }
.rede b { display: block; font-size: 15px; }
.rede small { display: block; color: var(--muted); font-size: 13px; }
.rede-instagram .rede-i { background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); color: #fff; }
@media (min-width: 600px) { .redes-l { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sobre .link { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
.sobre .link svg { width: 15px; height: 15px; }
.homenagem { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; margin: 12px 0 0; padding: 12px 16px 12px 12px; border-radius: var(--r-l); background: color-mix(in srgb, var(--card) 70%, var(--bg)); border: 1px solid var(--line); }
.homenagem img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; filter: saturate(.85); }
.homenagem p { font-size: 14px; line-height: 1.45; color: var(--ink2); font-style: italic; margin: 0; }
.homenagem cite { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); font-style: normal; font-weight: 600; }
.homenagem cite::before { content: "— "; }
.faq-home { padding: 0; overflow: hidden; }
.faq-i { border-bottom: 1px solid var(--sep, var(--line)); }
.faq-i:last-child { border-bottom: 0; }
.faq-i summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; min-height: 52px; font-weight: 600; font-size: 15px; cursor: pointer; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary .chev { transition: transform .2s var(--ease); flex: none; color: var(--muted); }
.faq-i[open] summary .chev { transform: rotate(180deg); }
.faq-i p { padding: 0 16px 14px; margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink2); }
.gal-hs { gap: 10px; }
.gal-i { flex: none; width: 220px; margin: 0; }
.gal-f { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--fill); }
.gal-i.ad { width: 300px; }
.gal-f img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-tag { position: absolute; bottom: 8px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(15, 15, 16, .7); color: #fff; }
.gal-tag.a { left: 8px; } .gal-tag.d { right: 8px; }
.gal-i figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 16px; justify-content: center; margin-bottom: 10px; }
.foot-links a { color: var(--ink2); font-weight: 500; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- 2. Agendar v8 ---------- */
.chips-cat-step { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 12px -16px 0; padding: 2px 16px; }
.chips-cat-step::-webkit-scrollbar { display: none; }
.chips-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 900px) { .chips-cat-step { flex-wrap: wrap; overflow: visible; margin: 12px 0 0; padding: 0; } }
.svc-grid { display: grid; gap: 10px; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.leve { border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.leve-i { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-bg); color: var(--accent-text); flex: none; }
.leve-i svg { width: 18px; height: 18px; }
.leve-l { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.leve-b { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; }
.leve-b .grow { min-width: 0; }
.leve-b:active { transform: scale(.98); }
.leve-b svg { width: 18px; height: 18px; flex: none; }
.leve-p { font-size: 14px; white-space: nowrap; }
.leve-p s { color: var(--muted); font-weight: 400; margin-right: 4px; }
.fam-p .t { font-weight: 600; }
.cot { padding: 14px 16px; }
.cot .spinner { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: v8gira .8s linear infinite; flex: none; }
@keyframes v8gira { to { transform: rotate(360deg); } }
.viz { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: var(--green-soft); color: var(--green-ink); font-size: 14px; line-height: 1.4; }
.viz svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.end-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px; }
.rua-box .busca-b { position: relative; }
.rua-box .busca-b > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.rua-box .busca-b .input { padding-left: 42px; }
.rua-box #lista-ruas { max-height: 300px; overflow-y: auto; }
.apelidos .chip { min-height: 40px; }
.desc-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); }
.ok-t { color: var(--green-ink); font-weight: 600; }
.obrig { color: var(--red-ink, #B42318); font-weight: 700; margin-left: 2px; }
.q-card .row-s b { font-size: 16px; }
.si-mini { width: 36px; height: 36px; border-radius: 10px; flex: none; background-size: cover; background-position: center; }
.q { margin-top: 16px; }
.q > .label, .q > b, .q .q-t { display: block; font-size: 15px; font-weight: 600; }
.q .aviso { margin-top: 8px; }
.seg-sn { max-width: 260px; }
.cores { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.cor { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; min-height: 80px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 12px; font-weight: 500; line-height: 1.2; text-align: center; cursor: pointer; }
.cor i { width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.cor.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); font-weight: 600; }
.ciente { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--amber-soft); color: var(--amber-ink); font-size: 14px; line-height: 1.4; cursor: pointer; }
.ciente input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--ink); }

/* ---------- 3. Pix automático ---------- */
.qr-mp { width: 220px; height: 220px; image-rendering: pixelated; display: block; margin: 0 auto; border-radius: 8px; }
.pix-auto { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 14px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); font-size: 14px; font-weight: 600; }
.pix-auto .pulse { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: v8pulsa 1.4s ease-in-out infinite; }
@keyframes v8pulsa { 50% { opacity: .3; transform: scale(.7); } }
.pix-email { text-align: left; padding-top: 14px; border-top: 1px solid var(--line); }
.pix-email .input { flex: 1; min-width: 0; }

/* ---------- 4. Minha conta ---------- */
.conta-hero { text-align: center; padding: 20px 16px; background: var(--card); border-radius: var(--r-xl, 24px); box-shadow: var(--sh-1); }
.conta-av { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--fill); color: var(--ink); }
.conta-av svg { width: 32px; height: 32px; }
.conta-hero .av.l { margin: 0 auto; }
.g-btn { min-height: 44px; display: flex; justify-content: center; }
.diario { display: grid; gap: 8px; }
.di-i { display: flex; gap: 14px; padding: 14px; border-radius: 18px; background: var(--card); box-shadow: var(--sh-1); }
.di-d { flex: none; width: 52px; text-align: center; }
.di-d b { display: block; font-size: 15px; }
.di-d small { color: var(--muted); font-size: 12px; }
.di-i .tag { display: inline-flex; align-items: center; gap: 4px; }
.di-i .tag svg, .di-i p svg { width: 14px; height: 14px; vertical-align: -2px; }
.page-conta [data-aniv] .input { flex: 1; min-width: 0; }

/* ---------- 5. Heder: briefing v2, compras, lucro ---------- */
.alerta-vermelho { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: #FDECEA; color: #8A1C12; border: 1.5px solid #E5484D; }
.alerta-vermelho > svg { width: 24px; height: 24px; flex: none; color: #D92D20; }
.alerta-vermelho b { display: block; font-size: 16px; }
.alerta-vermelho span { display: block; font-size: 15px; font-weight: 600; margin-top: 2px; }
.nav-apps { display: flex; gap: 8px; flex-wrap: wrap; padding: 4px 16px 14px; }
.nav-apps .btn { flex: 1; min-width: 92px; min-height: 44px; }
.resp-l .li { min-height: 52px; }
.brief2 label.li input[type=checkbox], .card label.row-s input[type=checkbox] { width: 22px; height: 22px; flex: none; accent-color: var(--ink); }
.card label.row-s { min-height: 36px; cursor: pointer; }
.diario-f .input { width: 100%; }

/* ---------- 6. Master v8 ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.gal-m { background: var(--card); border-radius: 16px; padding: 6px; box-shadow: var(--sh-1); }
.gal-m.off { opacity: .5; }
.gal-m img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; background: var(--fill); }
.funil { display: grid; gap: 12px; }
.fu-l i { display: block; height: 8px; border-radius: 999px; background: var(--ink); margin-top: 6px; }
.tiny.green { color: var(--green-ink); }

/* ---------- 7. Abas com 5 itens: cabem em 320 px ---------- */
@media (max-width: 380px) { .tabbar .tab span:not(.cnt) { font-size: 10.5px; } .tabbar .tab { min-width: 0; padding-left: 2px; padding-right: 2px; } }
/* Computador: a home tem topo de site; a barra de abas some só nela */
@media (min-width: 900px) { body.rota-home .tabbar { display: none; } }

/* Nada pode passar da largura da tela (no iPhone isso dá zoom e esconde a barra de baixo) */
body { overflow-x: clip; }
.page, #passo-corpo, .card, .group { min-width: 0; }
.gal-quero { margin-top: 8px; width: 100%; min-height: 44px; justify-content: center; }
/* =====================================================================
   v9 · Direção B (tokens-B): minimal, tinta #0F0F10, areia #D8C3A0, fundo #F2F1EE
   ===================================================================== */
:root { --b-bg: #F2F1EE; --b-ink: #0F0F10; --b-ink2: #3D3C3A; --b-muted: #5F5E5B; --b-line: #E4E2DD; --b-acc: #D8C3A0; --b-acc-t: #7A6240; --b-acc-bg: #F1E8D8; --b-ok: #1B6E45; --b-ok-bg: #E1F1E8; --b-err: #C2311F; --b-err-bg: #FBE6E2; }

/* pulsar: o que falta / alerta crítico */
@keyframes v9pulso { 0% { box-shadow: 0 0 0 0 rgba(194, 49, 31, .45); } 70% { box-shadow: 0 0 0 12px rgba(194, 49, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(194, 49, 31, 0); } }
@keyframes v9brilho { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.pulsar { animation: v9pulso 1.1s ease-out 2; outline: 2px solid var(--b-err); outline-offset: 3px; border-radius: 16px; }
.critico { position: relative; }
.critico::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; animation: v9pulso 1.8s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .pulsar, .critico::after, .contagem.urgente { animation: none !important; } }

/* botão principal nunca "morto": aparência apagada, mas explica ao tocar */
.btn.is-off { opacity: .55; filter: saturate(.6); }
.btn.is-off:active { transform: none; }

/* obrigatório / opcional */
.obrig { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--b-err); background: var(--b-err-bg); border-radius: 999px; padding: 2px 8px; margin-left: 8px; vertical-align: 2px; white-space: nowrap; }
.obrig.feito { color: var(--b-ok); background: var(--b-ok-bg); }
.obrig svg { width: 12px; height: 12px; }
.opc { display: inline-block; font-size: 11px; font-weight: 600; color: var(--b-muted); background: #ECEAE5; border-radius: 999px; padding: 2px 8px; margin-left: 8px; vertical-align: 2px; text-transform: none; letter-spacing: 0; }
.label .obrig, .label .opc { text-transform: uppercase; }

/* etapas */
.ag-v9 .nav-meta { font-size: 14px; color: var(--b-muted); }
.ag-v9 .nav-meta b { color: var(--b-ink); font-weight: 650; }
.steps-v9 { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 4px 0 18px; padding: 0; }
.steps-v9 li { display: flex; flex-direction: column; gap: 6px; font-size: 11px; color: var(--b-muted); font-weight: 600; min-width: 0; }
.steps-v9 li i { display: block; height: 4px; border-radius: 4px; background: var(--b-line); }
.steps-v9 li.ok i { background: var(--b-ink); }
.steps-v9 li.now i { background: linear-gradient(90deg, var(--b-ink) 50%, var(--b-line) 50%); }
.steps-v9 li.now { color: var(--b-ink); }
.steps-v9 li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 380px) { .steps-v9 li span { display: none; } .steps-v9 li.now span { display: block; } }

/* pills de categoria (agendar e home) */
.pills-v9 { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px; scrollbar-width: none; scroll-snap-type: x proximity; }
.pills-v9::-webkit-scrollbar { display: none; }
.pill-v9 { flex: none; scroll-snap-align: start; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--b-line); background: #fff; color: var(--b-ink2); font: 600 14px/1 var(--font); letter-spacing: -.005em; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pill-v9:hover { border-color: #CFCBC3; }
.pill-v9.on { background: var(--b-ink); border-color: var(--b-ink); color: #fff; }
.chips-cat .cat { min-height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: none; border: 1px solid var(--b-line); background: #fff; font-size: 14px; font-weight: 600; color: var(--b-ink2); }
.chips-cat .cat:hover { border-color: var(--b-ink); color: var(--b-ink); }

/* miniaturas: foco e enquadramento */
.si.foto, .si-mini.foto, .pc .img, .combo-f { background-size: cover; background-repeat: no-repeat; }

/* combo sugerido */
.combo-v9 { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 14px; border-radius: 20px; background: #fff; border: 1px solid var(--b-acc); box-shadow: 0 8px 24px rgba(122, 98, 64, .10); }
.combo-f { width: 64px; height: 64px; border-radius: 14px; background-color: var(--b-acc-bg); }
.combo-k { display: block; font-size: 12px; font-weight: 700; color: var(--b-acc-t); letter-spacing: .01em; }
.combo-v9 b.ell { display: block; font-size: 16px; color: var(--b-ink); margin-top: 2px; }
.combo-t { display: block; font-size: 13px; color: var(--b-muted); margin-top: 2px; line-height: 1.35; }
.combo-p { display: block; font-size: 14px; margin-top: 6px; color: var(--b-ink2); }
.combo-p s { color: var(--b-muted); }
.combo-a { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; }
.combo-a .btn-primary { flex: 1; }

/* endereço */
.sec-t { padding: 0 4px 10px; }
.end-v9 { padding: 16px; }
.cep-row { position: relative; }
.cep-in { font-size: 22px !important; letter-spacing: .06em; font-variant-numeric: tabular-nums; font-weight: 600; }
.cep-st { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.gps-v9 { color: var(--b-muted); font-weight: 600; }
.cot-conta { margin-top: 10px; border-top: 1px solid var(--b-line); padding-top: 8px; }
.cot-conta summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--b-acc-t); display: flex; gap: 6px; align-items: center; min-height: 36px; list-style: none; }
.cot-conta summary svg { width: 16px; height: 16px; }
.cot-conta .cc { display: grid; gap: 6px; margin: 6px 0 8px; font-size: 14px; }
.cot-conta .cc div { display: flex; justify-content: space-between; gap: 12px; color: var(--b-ink2); }
.cot-conta .cc .cc-t { font-weight: 700; color: var(--b-ink); border-top: 1px dashed var(--b-line); padding-top: 6px; }

/* questionário: título forte, opções claramente tocáveis */
.q-card { padding: 16px; }
.q-sv { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--b-line); font-size: 15px; }
.q-sv .si-mini { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.q { padding-top: 14px; }
.q + .q { border-top: 1px solid #EFEDE8; margin-top: 14px; }
.q-t, .q .q-t, .q-card .q-t { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; font-size: 17px; font-weight: 650; color: var(--b-ink); letter-spacing: -.015em; line-height: 1.3; }
.q-t > span:first-child { margin-right: 2px; }
.q-d { font-size: 14px; color: var(--b-muted); margin: 4px 0 0; line-height: 1.4; }
.opcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 10px; }
.opcs-2 { grid-template-columns: 1fr 1fr; }
.opcs-3 { grid-template-columns: repeat(3, 1fr); }
.opc-b { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--b-line); background: #fff; color: var(--b-ink2); font: 500 15px/1.25 var(--font); text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.opc-b:hover { border-color: #C9C4BA; }
.opc-b.on { border-color: var(--b-ink); background: #FAF8F4; color: var(--b-ink); font-weight: 600; }
.opc-b .rd { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #BDB8AE; position: relative; }
.opc-b.on .rd { border-color: var(--b-ink); }
.opc-b.on .rd::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--b-ink); }
.opc-b .cb { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #BDB8AE; display: grid; place-items: center; color: transparent; }
.opc-b .cb svg { width: 14px; height: 14px; }
.opc-b.on .cb { background: var(--b-ink); border-color: var(--b-ink); color: #fff; }
.opc-p { margin-left: auto; font-variant-numeric: tabular-nums; }
.prog-q { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--b-muted); margin: 0 2px 4px; }
.pq-bar { flex: 1; height: 6px; border-radius: 6px; background: var(--b-line); overflow: hidden; }
.pq-bar i { display: block; height: 100%; background: var(--b-ok); border-radius: 6px; transition: width .3s; }
.sec-v9 { font-size: 20px; font-weight: 650; letter-spacing: -.02em; margin: 28px 4px 4px; color: var(--b-ink); }

/* produto */
.prod-opts { display: grid; gap: 8px; }
.prod-o { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1.5px solid var(--b-line); background: #fff; text-align: left; cursor: pointer; font: inherit; color: var(--b-ink2); }
.prod-o.on { border-color: var(--b-ink); background: #FAF8F4; }
.prod-o b { display: block; font-size: 16px; color: var(--b-ink); }
.prod-o small { display: block; font-size: 13px; color: var(--b-muted); margin-top: 2px; }
.prod-o .rd { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #BDB8AE; position: relative; }
.prod-o.on .rd { border-color: var(--b-ink); }
.prod-o.on .rd::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--b-ink); }
.ter { margin: 6px 0; padding-left: 18px; }
.ter li { margin: 2px 0; }
@media (min-width: 560px) { .prod-opts { grid-template-columns: 1fr 1fr; } }

/* horário */
.prox-v9 { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; border: 1.5px solid var(--b-ink); background: #fff; text-align: left; cursor: pointer; font: inherit; color: var(--b-ink); }
.prox-v9 small { display: block; font-size: 12px; font-weight: 700; color: var(--b-acc-t); text-transform: uppercase; letter-spacing: .04em; }
.prox-v9 b { display: block; font-size: 17px; margin-top: 2px; }
.prox-v9 .pv-i { width: 40px; height: 40px; border-radius: 12px; background: var(--b-acc-bg); color: var(--b-acc-t); display: grid; place-items: center; flex: none; }
.prox-v9 .pv-ok { margin-left: auto; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--b-ink); color: #fff; display: inline-flex; }
.prox-v9.on { background: var(--b-ink); color: #fff; }
.prox-v9.on small { color: var(--b-acc); }
.prox-v9.on .pv-ok { background: #fff; color: var(--b-ink); }
.strip-w { position: relative; display: flex; align-items: center; gap: 4px; }
.strip-seta { display: none; flex: none; }
@media (min-width: 900px) and (pointer: fine) { .strip-seta { display: inline-grid; } }
.strip-v9 { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; }
.strip-v9::-webkit-scrollbar { display: none; }
.dv { flex: none; scroll-snap-align: start; width: 64px; padding: 10px 0 8px; border-radius: 16px; border: 1.5px solid var(--b-line); background: #fff; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; font: inherit; color: var(--b-ink); }
.dv small { font-size: 12px; font-weight: 600; color: var(--b-muted); text-transform: capitalize; }
.dv b { font-size: 21px; font-weight: 700; line-height: 1.1; }
.dv span { font-size: 11px; color: var(--b-muted); }
.dv em { font-style: normal; font-size: 11px; font-weight: 700; margin-top: 4px; padding: 1px 7px; border-radius: 999px; background: var(--b-ok-bg); color: var(--b-ok); }
.dv em.few { background: #FFF1D6; color: #8A5A00; }
.dv em.none { background: transparent; color: var(--b-muted); }
.dv.on { background: var(--b-ink); border-color: var(--b-ink); color: #fff; }
.dv.on small, .dv.on span { color: #D9D6CF; }
.dv.off { opacity: .45; cursor: not-allowed; }
.per-v9 { margin-top: 14px; }
.per-v9 h3 { font-size: 13px; font-weight: 700; color: var(--b-muted); text-transform: uppercase; letter-spacing: .05em; margin: 0 2px 8px; }
.slots-v9 { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.hv { min-height: 48px; border-radius: 14px; border: 1.5px solid var(--b-line); background: #fff; font: 600 16px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--b-ink); cursor: pointer; }
.hv:hover { border-color: var(--b-ink); }
.hv.on { background: var(--b-ink); border-color: var(--b-ink); color: #fff; }

/* resumo com contraste AA e sem marca d'água */
.tk-v9 { background: #fff !important; color: var(--b-ink); }
.tk-v9 .rl span { color: var(--b-ink2); }
.tk-v9 .rl b { color: var(--b-ink); }
.tk-v9 .rl s { color: var(--b-muted); font-weight: 500; }
.tk-v9 .rl small { font-weight: 500; color: var(--b-muted); }
.tk-v9 .rl.hl { background: var(--b-acc-bg); }
.tk-v9 .rl.hl span, .tk-v9 .rl.hl b { color: #4A3A22; }
.ticket.tk-top-v9 .tk-top { background: var(--b-ink) !important; color: #fff !important; position: relative; }
.ticket.tk-top-v9 .tk-top small { color: var(--b-acc) !important; }
.ticket.tk-top-v9 .tk-top .tk-loc { color: #E9E6DF; }
.tk-mudar { color: var(--b-acc) !important; padding-left: 0; margin-top: 6px; min-height: 32px; }
.tk-v9::before, .tk-v9::after, .tk-v9 .tk-top::before, .tk-v9 .tk-top::after { display: none !important; content: none !important; }
.quem-v9 { display: flex; align-items: center; gap: 12px; }
.quem-v9 .av, .perfil-v9 .av { width: 44px; height: 44px; border-radius: 50%; background: var(--b-ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; flex: none; }
.quem-v9 b, .quem-v9 .small { display: block; }
.quem-v9.entrar { border: 1.5px dashed var(--b-acc); background: #FFFCF6; }
.quem-v9.entrar .av { background: var(--b-acc-bg); color: var(--b-acc-t); }

/* conta */
.perfil-v9 { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.perfil-v9 h2 { font-size: 19px; letter-spacing: -.02em; }
.falta-t { color: var(--b-err); font-weight: 600; }
.entrar-v9 { text-align: center; padding: 28px 20px; margin-top: 12px; }
.entrar-v9 .ei { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--b-acc-bg); color: var(--b-acc-t); }
.entrar-v9 .ei svg { width: 32px; height: 32px; }
.entrar-v9 h2 { font-size: 22px; margin-top: 12px; letter-spacing: -.02em; }
.entrar-v9 p { color: var(--b-muted); margin-top: 6px; }
.entrar-mini { display: flex; align-items: center; gap: 12px; }
.login-v9 .g-btn { display: flex; justify-content: center; min-height: 44px; }
.otp { font-size: 28px !important; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }

/* reservas organizadas */
.res-l { display: grid; gap: 10px; }
.res-v9 { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; background: #fff; text-decoration: none; color: var(--b-ink); box-shadow: 0 1px 1px rgba(0, 0, 0, .03), 0 6px 18px rgba(0, 0, 0, .05); }
.res-v9.hist { box-shadow: none; background: #FAF9F6; border: 1px solid var(--b-line); }
.res-v9.hist .res-d { background: #ECEAE5; color: var(--b-muted); }
.res-d { width: 52px; height: 56px; border-radius: 14px; background: var(--b-acc-bg); color: var(--b-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; line-height: 1; }
.res-d small { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--b-acc-t); }
.res-d b { font-size: 22px; font-weight: 700; margin-top: 2px; }
.res-i { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.res-i > b { font-size: 16px; text-transform: capitalize; }
.res-i > .ell { font-size: 14px; color: var(--b-muted); }
.res-m { display: flex; align-items: center; gap: 8px; }
.res-m em { font-style: normal; font-size: 12px; color: var(--b-muted); }
.res-cta { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--b-err); color: #fff; font-weight: 700; font-size: 14px; flex: none; }
.res-cta svg { width: 16px; height: 16px; }
.res-v9.critico { border: 1.5px solid var(--b-err); }
.alerta-t { color: var(--b-err) !important; display: flex; align-items: center; gap: 6px; }
.alerta-t svg { width: 16px; height: 16px; }
.hist-v9 summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--b-muted); padding: 8px 4px; min-height: 44px; }
.hist-v9 summary .chev { margin-left: auto; transition: transform .2s; }
.hist-v9[open] summary .chev { transform: rotate(180deg); }

/* tarja da próxima reserva: dá para fechar */
.upnext-v9 { display: flex; align-items: center; gap: 4px; padding: 8px 8px 8px 10px !important; }
.upnext-v9 .upn-a { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.upnext-v9 .upn-x { flex: none; }
.upnext-v9.critico { border: 1.5px solid var(--b-err); }

/* Pix: copiar é o principal; QR menor no celular */
.pix-v9 .pix-topo { text-align: center; }
.pix-v9 .pix-copiar { margin-top: 16px; min-height: 60px; font-size: 18px; }
.pix-passos3 { list-style: none; counter-reset: p; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; text-align: left; }
.pix-passos3 li { counter-increment: p; display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--b-ink2); }
.pix-passos3 li::before { content: counter(p); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--b-ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.pix-qr-w { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--b-line); }
.pix-qr-t { font-size: 13px; color: var(--b-muted); display: flex; align-items: center; justify-content: center; gap: 6px; }
.pix-qr-t svg { width: 15px; height: 15px; }
.pix-v9 .qr-box { width: 168px; height: auto; margin: 10px auto 0; padding: 8px; }
.pix-v9 .qr-box img, .pix-v9 .qr-box svg { width: 100% !important; height: auto !important; display: block; }
@media (min-width: 900px) { .pix-v9 .qr-box { width: 240px; } .pix-v9 .pix-qr-w { border-top: 0; } }
.contagem.urgente { color: var(--b-err); animation: v9brilho 1s ease-in-out infinite; }
.page:has(#bloco-pix) { padding-bottom: calc(var(--tab-h, 84px) + env(safe-area-inset-bottom, 0px) + 32px); }

/* iPhone: guia de 1 passo */
.ios-guia { margin: 0; }
.ios-guia svg { width: 100%; height: auto; display: block; }
.ios-guia figcaption { font-size: 16px; line-height: 1.45; margin-top: 12px; color: var(--b-ink); }
.ios-guia figcaption svg { width: 16px; height: 16px; display: inline; vertical-align: -3px; }
@keyframes v9anel { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
.ios-anel { animation: v9anel 1.4s ease-in-out infinite; }

/* ajuda */
.ajuda-v9 .aj { border-bottom: 1px solid var(--b-line); }
.ajuda-v9 .aj summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 56px; cursor: pointer; font-size: 16px; }
.ajuda-v9 .aj summary .chev { margin-left: auto; transition: transform .2s; color: var(--b-muted); }
.ajuda-v9 .aj[open] summary .chev { transform: rotate(180deg); }
.ajuda-v9 .aj p { margin: 0 0 14px 48px; color: var(--b-ink2); line-height: 1.5; font-size: 15px; }
.ajuda-v9 .aj .btn { margin: 0 0 14px 48px; }

/* Sobre: homenagem com a proporção da foto (quase quadrada) */
.homenagem img { width: 88px; height: 88px; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; }
.homenagem { grid-template-columns: 88px 1fr; }
.sobre img { aspect-ratio: 4 / 5; object-fit: cover; }

/* conteúdo do servidor na home (some quando o app abre) */
#app > .seo-home { padding-top: 24px; }
#app > .seo-home .seo-cols { display: grid; gap: 4px 24px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
#app > .seo-home .seo-bairros a { display: inline-block; margin: 2px 0; }

/* computador */
@media (min-width: 900px) {
  .ag-v9 .step-title .h1 { font-size: 34px; }
  .opcs { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .res-l { grid-template-columns: 1fr 1fr; }
  .combo-v9 { grid-template-columns: 72px 1fr auto; }
  .combo-v9 .combo-f { width: 72px; height: 72px; }
  .combo-a { grid-column: auto; flex-direction: column; align-items: stretch; }
}

/* v9 ajustes pós-teste */
.opcs.opcs-1 { grid-template-columns: 1fr !important; }
.opcs.opcs-1 .opc-b { min-height: 52px; }
.opcs.opcs-1 .opc-p { margin-left: auto; white-space: nowrap; }
.end-grid .label { display: flex; align-items: center; gap: 6px; white-space: nowrap; flex-wrap: nowrap; }
.end-grid .label .obrig { margin-left: 0; font-size: 9.5px; padding: 2px 6px; letter-spacing: .02em; }
.perfil-v9 p svg, .perfil-v9 p i { display: inline-block !important; vertical-align: -2px; margin-right: 4px; }
/* agendar no computador: 2 colunas de serviço (o resumo ocupa a lateral) */
@media (min-width: 1200px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1500px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* cartão de serviço: h3 com o mesmo visual do h4 antigo (ordem de títulos correta) */
.pc h3.h4-like { font-size: 16px; font-weight: 700; margin-top: 10px; letter-spacing: -.015em; line-height: 1.25; }
.svc-list .pc h3.h4-like { font-size: 15px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
@media (max-width: 359px) { .svc-list .pc h3.h4-like.ell { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }
