/* MarcaVez — sistema visual */
:root {
  --bg: #fafafa; --surface: #ffffff; --surface-2: #f4f4f5; --text: #18181b; --text-2: #3f3f46; --muted: #71717a;
  --line: #e4e4e7; --line-strong: #d4d4d8;
  --brand: #0f766e; --brand-hover: #115e59; --brand-soft: #f0fdfa; --brand-line: #99f6e4; --on-brand: #ffffff;
  --danger: #dc2626; --danger-soft: #fef2f2; --danger-line: #fecaca;
  --ok: #15803d; --ok-soft: #f0fdf4; --ok-line: #bbf7d0;
  --wa: #16a34a;
  --accent: #f59e0b; --accent-hover: #d97706; --on-accent: #451a03;
  --radius: 10px; --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-lg: 0 12px 32px -8px rgba(16, 24, 40, .14), 0 4px 8px -4px rgba(16, 24, 40, .06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09090b; --surface: #111113; --surface-2: #18181b; --text: #fafafa; --text-2: #d4d4d8; --muted: #a1a1aa;
    --line: #27272a; --line-strong: #3f3f46;
    --brand: #2dd4bf; --brand-hover: #5eead4; --brand-soft: #0b2826; --brand-line: #134e4a; --on-brand: #042f2e;
    --danger: #f87171; --danger-soft: #2a1215; --danger-line: #4c1d1d;
    --ok: #4ade80; --ok-soft: #0f2418; --ok-line: #14532d;
    --wa: #4ade80;
    --shadow-sm: none; --shadow: none; --shadow-lg: 0 16px 40px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3 { color: var(--text); letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: 1.5rem; line-height: 1.25; margin: 0 0 6px; }
h2 { font-size: 1.05rem; margin: 0 0 4px; }
h3 { font-size: .95rem; margin: 20px 0 8px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hidden { display: none !important; }
.ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.ico.i-sm { width: 15px; height: 15px; vertical-align: -2px; }

/* Layout */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 560px; }
.page { padding-top: 24px; padding-bottom: 48px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid2 > button, .grid2 > .btn { min-width: 0; white-space: normal; text-align: center; line-height: 1.2; padding: 6px 10px; }
.grid2.keep { gap: 8px; }

/* Card */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.card-head p { margin: 2px 0 0; }
.section-title { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 10px; }

/* Formulários */
label { display: block; font-size: .85rem; font-weight: 500; color: var(--text-2); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 9px 12px; min-height: 42px;
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder { color: var(--muted); opacity: .8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
input[type=time], input[type=date] { min-width: 0; }
.field { margin-bottom: 14px; }
.hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.pkg-notes { margin-top: 8px; }
.pkg-notes textarea { width: 100%; }
.pkg-note { display: flex; gap: 6px; align-items: flex-start; background: var(--surface-2); border-radius: var(--radius-sm); padding: 8px 10px; margin: 0 0 4px; font-size: .85rem; color: var(--text-2); white-space: pre-line; }
.pkg-note .ico { margin-top: 2px; color: var(--muted); }
.stat-lines { border-top: 1px solid var(--line); margin-bottom: 12px; }
.stat-lines > div { padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: nowrap; align-items: flex-start; line-height: 1.35; }
.stat-lines .warn-line b { color: #b45309; }
@media (prefers-color-scheme: dark) { .stat-lines .warn-line b { color: #fbbf24; } }
.input-unit { display: flex; gap: 8px; align-items: center; }
.input-unit input { flex: 1; min-width: 0; }
.input-unit select { width: auto; flex: none; min-width: 108px; }
.input-unit .unit { color: var(--muted); font-size: .9rem; white-space: nowrap; }

/* Botões */
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: .9rem; font-weight: 500; line-height: 1;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  border-radius: var(--radius-sm); padding: 0 14px; min-height: 40px; cursor: pointer; text-decoration: none !important;
  transition: background .15s, border-color .15s, color .15s; box-shadow: var(--shadow-sm); white-space: nowrap;
}
button:hover, .btn:hover { background: var(--surface-2); }
button:focus-visible, .btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
button:disabled { opacity: .5; cursor: not-allowed; }
.primary { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.danger { color: var(--danger); }
.danger:hover { background: var(--danger-soft); border-color: var(--danger-line); }
.ghost { border-color: transparent; background: transparent; box-shadow: none; }
.wa .ico { color: var(--wa); }
.block { width: 100%; }
.sm { min-height: 32px; padding: 0 10px; font-size: .82rem; gap: 6px; }
.lg { min-height: 48px; padding: 0 22px; font-size: 1rem; }
.link { background: none; border: none; color: var(--brand); padding: 0; min-height: 0; font-weight: 500; box-shadow: none; font-size: inherit; }
.link:hover { background: none; text-decoration: underline; }
.icon-btn { width: 32px; padding: 0; min-height: 32px; }

/* Mensagens */
.msg { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); margin: 12px 0; font-size: .9rem; border: 1px solid; }
.msg.err { background: var(--danger-soft); color: var(--danger); border-color: var(--danger-line); }
.msg.ok { background: var(--ok-soft); color: var(--ok); border-color: var(--ok-line); }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); color: var(--text-2); font-weight: 500; border: 1px solid var(--line); white-space: nowrap; }
.tag.green { background: var(--ok-soft); color: var(--ok); border-color: var(--ok-line); }
.tag.red { background: var(--danger-soft); color: var(--danger); border-color: var(--danger-line); }
.tag.teal { background: var(--brand-soft); color: var(--brand); border-color: var(--brand-line); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: var(--radius-sm); z-index: 50; max-width: calc(100% - 32px); font-size: .9rem; box-shadow: var(--shadow-lg); }

/* Marca */
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; font-size: 1.05rem; text-decoration: none !important; }
.brand-mark { width: 30px; height: 30px; flex: none; display: block; }
.wordmark { font-family: "Plus Jakarta Sans", var(--font); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.03em; color: var(--text); line-height: 1; }
.wordmark b { font-weight: 800; color: var(--brand); }

/* Topo / navegação */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { border: none; background: none; box-shadow: none; color: var(--muted); padding: 0 12px; min-height: 48px; border-radius: 0; white-space: nowrap; border-bottom: 2px solid transparent; }
.tabs button:hover { color: var(--text); background: none; }
.tabs button.on { color: var(--text); border-bottom-color: var(--brand); }
.subnav { background: var(--surface); border-bottom: 1px solid var(--line); }
.user-chip { display: flex; align-items: center; gap: 10px; min-width: 0; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 600; font-size: .8rem; flex: none; border: 1px solid var(--brand-line); }
.avatar.has-img { background: #fff; border-color: var(--line); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.big { width: 56px; height: 56px; font-size: 1.15rem; }

/* Painel: layout */
.dash { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
.dash > * { min-width: 0; }
.dash .card { margin-bottom: 0; }
.aside { display: grid; gap: 16px; }
@media (min-width: 920px) { .dash { grid-template-columns: 300px 1fr; } .aside { position: sticky; top: 132px; } }
.narrow-panel { max-width: 720px; }
.link-box { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; font-size: .85rem; word-break: break-all; margin-bottom: 12px; }
.link-box a { color: var(--text); font-weight: 500; }

/* Alternar visão */
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 3px; gap: 2px; }
.seg button { border: none; background: none; min-height: 30px; padding: 0 12px; color: var(--muted); font-size: .85rem; border-radius: 6px; box-shadow: none; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

/* Seleção de serviço */
.option { display: flex; width: 100%; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; margin-bottom: 8px; min-height: 0; line-height: 1.4; font-size: .95rem; box-shadow: none; }
.option:hover { border-color: var(--text-2); background: var(--surface); }
.option .radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; display: grid; place-items: center; }
.option.on { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--brand); }
.option.on .radio { border-color: var(--brand); }
.option.on .radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.option .name { font-weight: 600; display: block; }
.option .desc { display: block; font-size: .82rem; color: var(--text-2); margin-top: 4px; white-space: pre-line; line-height: 1.4; }
.desc-line { white-space: pre-line; }
.option .meta { font-size: .82rem; color: var(--muted); display: flex; gap: 6px; align-items: center; margin-top: 2px; }
.option .price { font-weight: 600; white-space: nowrap; }

/* Dias e horários */
.days { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.day { flex: 0 0 58px; flex-direction: column; gap: 2px; padding: 8px 0; min-height: 0; scroll-snap-align: start; font-weight: 500; line-height: 1.15; box-shadow: none; }
.day small { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 500; }
.day b { font-size: 1.1rem; font-weight: 600; }
.day:disabled { opacity: .35; }
.day.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.day.on small { color: inherit; opacity: .75; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 4px; }
.slots button { font-weight: 500; font-variant-numeric: tabular-nums; box-shadow: none; }
.slots button:hover { border-color: var(--brand); color: var(--brand); background: var(--surface); }
.slots button.on { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.date-label { font-size: .85rem; color: var(--muted); margin: 6px 0 8px; font-weight: 500; }

/* Etapas do agendamento */
.step { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: .78rem; font-weight: 600; color: var(--text-2); flex: none; }
.step h2 { margin: 0; }
.summary { display: flex; gap: 10px; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 16px; font-size: .9rem; }
.summary b { display: block; }

/* Perfil público */
.pro-head { display: flex; gap: 16px; align-items: center; }
.pro-head h1 { margin: 0 0 4px; font-size: 1.35rem; }
.meta-list { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; color: var(--muted); }
.meta-list span, .meta-list a { display: inline-flex; gap: 6px; align-items: center; }

/* Detalhes da reserva */
.detail { display: grid; gap: 12px; margin: 16px 0 4px; }
.detail-row { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.detail-row .ico { color: var(--muted); margin-top: 2px; }
.detail-row b { display: block; font-weight: 600; }
.success-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; border: 1px solid var(--ok-line); margin-bottom: 12px; }
.success-icon .ico { width: 22px; height: 22px; stroke-width: 2.2; }

/* Listas */
.pay-pkg { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.pay-pkg .pay-phone { display: inline-flex; align-items: center; gap: 5px; color: var(--wa); font-weight: 500; margin-top: 2px; width: fit-content; }
.pay-pkg-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.pay-pkg-actions > * { min-width: 0; justify-content: center; }
.bk { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; }
.bk:first-of-type { border-top: none; padding-top: 4px; }
.bk .t { font-weight: 600; min-width: 48px; font-variant-numeric: tabular-nums; }
.bk.cancel { opacity: .55; }
.bk.cancel .t { text-decoration: line-through; }
.day-head { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 4px; font-size: .85rem; font-weight: 600; color: var(--text-2); }
.empty { text-align: center; padding: 28px 12px; color: var(--muted); font-size: .9rem; }
.empty .ico { width: 28px; height: 28px; margin-bottom: 8px; color: var(--line-strong); }

/* Agenda do dia */
.day.off:not(.on) { opacity: .4; }
.day .count { font-size: .62rem; font-weight: 600; color: var(--brand); min-height: .8em; }
.day.on .count { color: inherit; }
#calDays .day { flex-basis: 62px; }
.day-summary { font-size: .85rem; color: var(--muted); margin: 2px 0 12px; line-height: 1.7; }
.day-summary b { color: var(--text-2); font-weight: 600; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .75rem; color: var(--muted); margin-bottom: 10px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.timeline { display: flex; flex-direction: column; gap: 6px; }
.tl { display: grid; grid-template-columns: 48px 1fr; gap: 12px; width: 100%; text-align: left; font-weight: 400; font-size: .9rem; line-height: 1.45;
      padding: 0; border: none; background: none; min-height: 0; border-radius: 0; align-items: stretch; color: var(--text); box-shadow: none; }
.tl:hover { background: none; }
.tl-time { font-weight: 600; font-size: .85rem; padding-top: 9px; font-variant-numeric: tabular-nums; color: var(--text-2); }
.tl-time small { display: block; color: var(--muted); font-weight: 400; font-size: .72rem; }
.tl-body { border-radius: var(--radius-sm); padding: 9px 12px; min-width: 0; }
.tl-book .tl-body { background: var(--brand-soft); border: 1px solid var(--brand-line); border-left: 3px solid var(--brand); }
.tl-free .tl-body { border: 1px dashed var(--line-strong); color: var(--muted); display: flex; justify-content: space-between; align-items: center; transition: border-color .15s, background .15s; }
.tl-free:hover:not(:disabled) .tl-body { border-color: var(--brand); border-style: solid; background: var(--brand-soft); }
.tl-free .add { font-weight: 500; color: var(--brand); font-size: .8rem; display: inline-flex; gap: 4px; align-items: center; opacity: 0; transition: opacity .15s; }
.tl-free:hover .add, .tl-free:focus-visible .add { opacity: 1; }
@media (hover: none) { .tl-free .add { opacity: 1; } }
.tl-block .tl-body { background: repeating-linear-gradient(-45deg, var(--surface-2) 0 6px, transparent 6px 12px); color: var(--muted); border: 1px solid var(--line); font-weight: 500; }
.tl-gap .tl-body { color: var(--muted); font-size: .75rem; padding: 2px 12px; text-align: center; border-top: 1px dashed var(--line); border-radius: 0; margin-top: 8px; }
.tl.past { opacity: .4; }
.tl-free.past { cursor: default; }

/* Horários de trabalho */
.wd { border-top: 1px solid var(--line); padding: 14px 0; }
.wd:first-child { border-top: none; padding-top: 0; }
.interval { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 8px; align-items: center; margin-top: 8px; }
.switch { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: .92rem; font-weight: 500; margin: 0; cursor: pointer; }
.switch input { width: 18px; height: 18px; min-height: 0; accent-color: var(--brand); margin: 0; }
.steps { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.steps li { display: flex; gap: 10px; align-items: center; font-size: .9rem; }
.steps li .dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; flex: none; }
.steps li.done { color: var(--muted); }
.steps li.done .dot { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.steps li.done .dot .ico { width: 12px; height: 12px; stroke-width: 3; }

/* Página inicial */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.hero { display: grid; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 64px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr 1fr; padding-top: 72px; padding-bottom: 88px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 500; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px 4px 6px; margin-bottom: 20px; }
.eyebrow .tag { padding: 1px 8px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.08; letter-spacing: -0.035em; margin-bottom: 18px; font-weight: 700; }
.hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 520px; margin-bottom: 28px; }
.signup { display: flex; gap: 8px; max-width: 460px; }
.signup input { min-height: 48px; }
@media (max-width: 520px) { .signup { flex-direction: column; } }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: .82rem; color: var(--muted); }
.trust span { display: inline-flex; gap: 6px; align-items: center; }
.trust .ico { color: var(--brand); }

.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mock-body { padding: 20px; }
.mock .option { pointer-events: none; }
.mock .slots button { pointer-events: none; }

.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 560px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -0.03em; margin-bottom: 8px; font-weight: 700; }
.section-head p { color: var(--muted); font-size: 1.02rem; }
.feature-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .feature-grid { grid-template-columns: 1fr 1fr 1fr; } }
.feature { background: var(--surface); padding: 24px; }
.feature .ico-wrap { width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; border: 1px solid var(--brand-line); }
.feature h3 { margin: 0 0 6px; font-size: .98rem; }
.feature p { margin: 0; color: var(--muted); font-size: .9rem; }
.how { display: grid; gap: 24px; counter-reset: how; }
@media (min-width: 760px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how li { list-style: none; counter-increment: how; }
.how li::before { content: "0" counter(how); display: block; font-size: .8rem; font-weight: 600; color: var(--brand); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.how h3 { margin: 0 0 6px; }
.how p { color: var(--muted); font-size: .92rem; margin: 0; }
.how ol { padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 6px 14px; font-size: .88rem; color: var(--text-2); }
.cta { text-align: center; padding: 72px 0; border-top: 1px solid var(--line); }
.cta h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: -0.03em; font-weight: 700; margin-bottom: 10px; }
.cta p { color: var(--muted); margin-bottom: 24px; }
.footer { border-top: 1px solid var(--line); padding: 24px 0; font-size: .82rem; color: var(--muted); }
.footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 420px) {
  .card { padding: 16px; }
  .grid2:not(.keep):not(:has(input[type=time])) { grid-template-columns: 1fr; }
}
#qDays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; background: none; border: none; padding: 0; }
#qDays button { min-width: 0; font-size: .8rem; min-height: 36px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted); padding: 0 6px; }
#qDays button.on { background: var(--brand-soft); color: var(--brand); border-color: var(--brand); box-shadow: none; font-weight: 600; }
@media (max-width: 520px) { #bizName { display: none; } }

/* ---------- Planos ---------- */
.pro-btn { background: var(--accent); color: var(--on-accent); border: none; box-shadow: 0 1px 2px rgba(180,83,9,.25); font-weight: 600; }
.pro-btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.pro-btn .ico { color: var(--on-accent); }
.meter-row { display: flex; align-items: baseline; gap: 6px; }
.meter-row b { font-size: 1.6rem; letter-spacing: -0.03em; }
.meter { height: 8px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; margin-top: 8px; }
.meter span { display: block; height: 100%; border-radius: 99px; background: var(--brand); transition: width .3s; }
.meter.warn span { background: #f59e0b; }
.meter.full span { background: var(--danger); }
.stat-big { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.stat-grid div { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; }
.stat-grid b { display: block; font-size: 1.15rem; }
.stat-grid span { font-size: .78rem; color: var(--muted); }
.up { color: var(--ok); } .down { color: var(--danger); }
.pro-banner { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 14px;
  background: linear-gradient(135deg, var(--brand-soft), color-mix(in srgb, var(--brand-soft) 60%, var(--surface))); border: 1px solid var(--brand-line); font-size: .88rem; }
.pro-banner > .ico { color: var(--brand); }
.pro-banner b { display: block; }
.pro-banner span { color: var(--text-2); }
.plan-hero { text-align: center; max-width: 640px; margin: 8px auto 28px; }
.plan-hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.12; margin: 14px 0 12px; font-weight: 700; }
.plan-hero .hl { background: linear-gradient(135deg, #0f766e, #0891b2); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: dark) { .plan-hero .hl { background-image: linear-gradient(135deg, #2dd4bf, #22d3ee); } }
.plan-hero p { color: var(--muted); font-size: 1.05rem; margin-bottom: 20px; }
.plan-cards { display: grid; gap: 16px; max-width: 820px; margin: 0 auto 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 760px) { .plan-cards { grid-template-columns: 1fr 1.1fr; } }
.plan-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; position: relative; box-shadow: var(--shadow-sm); }
.plan-card h3 { margin: 0 0 2px; font-size: 1.1rem; }
.plan-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.ribbon { position: absolute; top: -12px; right: 20px; background: var(--brand); color: var(--on-brand); font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.plan-price { font-size: 2.3rem; font-weight: 700; letter-spacing: -0.04em; margin: 14px 0 12px; }
.plan-price small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.feat { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; font-size: .9rem; }
.feat li { position: relative; padding-left: 26px; }
.feat li::before { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: var(--brand-soft) no-repeat center / 11px;
  border: 1px solid var(--brand-line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.feat li.no { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.feat li.no::before { background-image: none; background-color: var(--surface-2); border-color: var(--line); }
.feat li.soon { color: var(--text-2); }
.value-grid { display: grid; gap: 16px; max-width: 820px; margin: 0 auto 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .value-grid { grid-template-columns: repeat(3, 1fr); } }
.value-grid .card { margin: 0; }
.value-grid h3 { margin: 12px 0 6px; font-size: .95rem; }
.value-grid p { margin: 0; }
.ico-wrap { width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; border: 1px solid var(--brand-line); }
details { border-top: 1px solid var(--line); padding: 12px 0; }
details:first-of-type { border-top: none; }
summary { cursor: pointer; font-weight: 500; font-size: .92rem; }
details p { margin: 8px 0 0; }
.client { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.client:first-child { border-top: none; }
.client .avatar { width: 36px; height: 36px; }
@media (max-width: 520px) { #goPro span { display: none; } }

/* ---------- Pacotes ---------- */
select.use-svc { width: auto; min-height: 32px; padding: 0 28px 0 10px; font-size: .85rem; }
.mypkg-head { display: flex; align-items: center; gap: 12px; }
.mypkg-head .ico-box { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.mypkg-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-top: 12px; }
.mypkg-card .option .left { font-size: .8rem; color: var(--brand); font-weight: 600; white-space: nowrap; }
.option .check { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-strong); flex: none; display: grid; place-items: center; }
.option.on .check { background: var(--brand); border-color: var(--brand); }
.option.on .check::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--on-brand); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.option[disabled] { opacity: .5; cursor: not-allowed; }
.pkg-hint { display: flex; gap: 8px; align-items: flex-start; background: var(--brand-soft); border: 1px solid var(--brand-line); color: var(--text); border-radius: var(--radius-sm); padding: 10px 12px; font-size: .85rem; margin: -4px 0 12px; }
.pkg-hint .ico { color: var(--brand); margin-top: 1px; }
.qty-list { display: grid; gap: 6px; margin-bottom: 14px; }
.qty-row { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .9rem; }
.qty-row.on { border-color: var(--brand); background: var(--brand-soft); }
.qty-row .grow small { display: block; color: var(--muted); font-size: .78rem; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); flex: none; }
.stepper button { border: none; background: none; box-shadow: none; min-height: 34px; width: 34px; padding: 0; font-size: 1.1rem; color: var(--text); }
.stepper input { width: 40px; min-height: 34px; border: none; text-align: center; padding: 0; background: none; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pkg-items { font-size: .82rem; color: var(--text-2); margin: 4px 0 2px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.pkg-items b { font-weight: 600; }
.check-list { display: grid; gap: 6px; }
.check-list label { display: flex; align-items: center; gap: 10px; font-weight: 400; color: var(--text); margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-size: .9rem; }
.check-list input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--brand); }
.check-list label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.pkg { padding: 14px 0; border-top: 1px solid var(--line); }
.pkg:first-child { border-top: none; }
.pkg-top { display: flex; gap: 12px; align-items: flex-start; }
.pkg .dots { display: flex; gap: 4px; margin: 10px 0 6px; flex-wrap: wrap; }
.pkg .dots i { width: 22px; height: 8px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line-strong); }
.pkg .dots i.on { background: var(--brand); border-color: var(--brand); }
.pkg-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pkg-uses { margin-top: 8px; font-size: .82rem; color: var(--muted); display: grid; gap: 4px; }
.pkg-uses div { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--surface-2); border-radius: 6px; padding: 4px 4px 4px 10px; }
.tag.amber { background: #fffbeb; color: #b45309; border-color: #fde68a; }
@media (prefers-color-scheme: dark) { .tag.amber { background: #2a1f08; color: #fbbf24; border-color: #4a3510; } }
.pkg-badge { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 600; color: var(--brand); background: var(--surface); border: 1px solid var(--brand-line); border-radius: 99px; padding: 1px 8px; margin-top: 4px; }

/* ---------- App no celular ---------- */
.install-card { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--brand-line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 16px; box-shadow: var(--shadow); }
.install-card img { border-radius: 10px; flex: none; }
.install-card b { display: block; font-size: .92rem; }
.install-card span { font-size: .8rem; color: var(--muted); line-height: 1.35; display: block; }
.install-actions { display: flex; align-items: center; gap: 2px; }
.bottom-nav { display: none; }
.menu-list { padding: 6px; }
.menu-list > button, .menu-list > a { width: 100%; justify-content: flex-start; gap: 14px; border: none; box-shadow: none; background: none; min-height: 52px; padding: 0 12px; font-size: .95rem; color: var(--text); border-radius: var(--radius-sm); }
.menu-list > button:hover, .menu-list > a:hover { background: var(--surface-2); }
.menu-list > .danger { color: var(--danger); }
.menu-list .ico { color: var(--muted); }
.menu-list .i-sm { opacity: .5; }
.sheet-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--surface); width: 100%; max-width: 480px; border-radius: 18px 18px 0 0; padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-lg); }
.ios-steps { padding-left: 20px; margin: 12px 0 20px; display: grid; gap: 10px; font-size: .95rem; }
.ios-steps .ico { color: #0a84ff; }

@media (max-width: 720px) {
  .subnav { display: none; }
  .bottom-nav {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
  }
  .bottom-nav button { flex-direction: column; gap: 3px; border: none; background: none; box-shadow: none; min-height: 54px; padding: 4px 0; color: var(--muted); font-size: .68rem; font-weight: 500; border-radius: 10px; }
  .bottom-nav button .ico { width: 22px; height: 22px; }
  .bottom-nav button.on { color: var(--brand); }
  .bottom-nav button.on .ico { stroke-width: 2.2; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .page { padding-top: 16px; }
  .topbar .wrap { min-height: 54px; }
  #goPro { padding: 0 10px; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .card-head .primary.sm { min-height: 36px; }
  .aside .card:first-child { padding: 14px 16px; }
}
@media (display-mode: standalone) { .topbar { padding-top: env(safe-area-inset-top); } }

.menu-list .grow { text-align: left; }
.plan-cards > *, .value-grid > * { min-width: 0; }
.plan-cards { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .plan-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
#billing { flex-wrap: wrap; justify-content: center; }

/* ---------- Pagamentos ---------- */
.pay-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 6px 6px 10px; border-radius: var(--radius-sm); font-size: .8rem; font-weight: 600; border: 1px solid; }
.pay-row .sm { min-height: 28px; font-size: .78rem; }
.pay-row.warn { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.pay-row.ok { background: var(--ok-soft); color: var(--ok); border-color: var(--ok-line); }
@media (prefers-color-scheme: dark) { .pay-row.warn { background: #2a1f08; color: #fbbf24; border-color: #4a3510; } }
.pay-mark { display: inline-block; margin-top: 6px; font-size: .78rem; }
.pix-box { border: 1px solid var(--brand-line); background: var(--brand-soft); border-radius: var(--radius); padding: 16px; }
.pix-amount { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; }
.pix-code { font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 10px; color: var(--text-2); max-height: 76px; overflow: hidden; margin: 10px 0; }
.pix-qr { display: grid; place-items: center; padding: 12px; background: #fff; border-radius: var(--radius-sm); margin: 10px auto; width: fit-content; }
.pix-steps { margin: 6px 0 12px; padding-left: 18px; font-size: .85rem; color: var(--text-2); display: grid; gap: 4px; }
.pkg-offer { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); align-items: flex-start; }
.pkg-offer .meta { display: block; }
