* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--app);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.nav {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; color: var(--fg-strong); text-decoration: none; }
.brand-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--brand); box-shadow: 0 0 14px color-mix(in srgb, var(--brand) 70%, transparent); }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; }
.nav-links a, .brand, .nav-cta { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 641px) { .nav-links { gap: 12px; } .nav-links a { font-size: 12px; } .nav-cta .cta-long { display: none; } .nav-cta .cta-short { display: inline; } }
.nav-links a:hover { color: var(--fg-strong); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; padding: 11px 18px; font-size: 13px; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
  border: 1px solid var(--line); color: var(--fg); background: var(--hover);
}
.btn:hover { background: var(--hover-strong); }
.btn.primary { background: var(--brand-solid); border-color: var(--brand-solid); color: var(--on-brand); }
.btn.primary:hover { background: var(--brand); transform: translateY(-1px); }
.btn.wa { background: #15803d; border-color: #15803d; color: #fff; }
.btn.wa:hover { background: #16a34a; transform: translateY(-1px); }
.btn.full { width: 100%; }

.hero {
  padding: 64px 0 44px;
  background: radial-gradient(60% 60% at 50% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 72%);
  text-align: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand);
  border-radius: 999px; padding: 6px 14px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.hero h1 {
  margin: 16px auto 0; max-width: 820px;
  font-size: clamp(28px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -0.03em; color: var(--fg-strong);
}
.hero p { margin: 16px auto 0; max-width: 650px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Seletor de Sistemas */
.selector-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 28px;
}
.sys-tab {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  border-radius: 14px; padding: 12px 20px; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all .15s ease; display: inline-flex; align-items: center; gap: 8px;
}
.sys-tab:hover { border-color: color-mix(in srgb, var(--brand) 40%, transparent); color: var(--fg-strong); }
.sys-tab.active {
  background: var(--brand-solid); border-color: var(--brand-solid); color: var(--on-brand);
  box-shadow: 0 8px 24px rgba(201,154,46,.25);
}
.dot-sm { width: 7px; height: 7px; border-radius: 999px; background: #10b981; }
.dot-sm.amber { background: #f59e0b; }

/* Detalhe do Sistema Selecionado */
.section { padding: 36px 0; }
.showcase {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 28px; display: grid; gap: 28px;
}
.showcase-head {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--line); padding-bottom: 20px;
}
.showcase-head h2 { margin: 8px 0 0; font-size: clamp(22px, 3vw, 30px); color: var(--fg-strong); letter-spacing: -0.02em; }
.showcase-head p { margin: 8px 0 0; max-width: 680px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.badge {
  display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: 4px 10px; border-radius: 999px; border: 1px solid;
}
.badge.emerald { border-color: color-mix(in srgb, var(--ok) 35%, transparent); background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok-text); }
.badge.amber { border-color: color-mix(in srgb, var(--warn) 35%, transparent); background: color-mix(in srgb, var(--warn) 12%, transparent); color: var(--warn-text); }

.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.stat-box {
  background: var(--app); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
}
.stat-box small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.stat-box strong { display: block; margin-top: 4px; font-size: 15px; color: var(--brand); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.feat-card {
  background: var(--app); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
}
.feat-card h3 { margin: 0 0 6px; font-size: 14px; color: var(--fg-strong); display: flex; align-items: center; gap: 8px; }
.feat-card h3::before { content: "✓"; color: var(--brand); font-weight: 900; }
.feat-card p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Planos & Preços */
.plans-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 18px;
}
.plans-header h2 { margin: 0; font-size: 24px; color: var(--fg-strong); }
.cycle-toggle {
  display: inline-flex; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 4px; gap: 4px;
}
.cycle-btn {
  border: none; background: transparent; color: var(--muted); padding: 8px 14px;
  border-radius: 9px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.cycle-btn.active { background: var(--brand-solid); color: var(--on-brand); }

.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.plan-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 22px; display: flex; flex-direction: column; gap: 14px; cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}
.plan-card:hover { border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.plan-card.selected {
  border-color: var(--brand);
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 10%, transparent), var(--surface) 45%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 40%, transparent);
}
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-name { margin: 0; font-size: 18px; color: var(--fg-strong); }
.plan-price { font-size: 32px; font-weight: 800; color: var(--fg-strong); letter-spacing: -0.02em; }
.plan-price span { font-size: 13px; font-weight: 500; color: var(--muted); }
.plan-sub { margin: 0; font-size: 12px; color: var(--muted); }
.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.bullets li { font-size: 13px; color: var(--fg-2); display: flex; align-items: center; gap: 8px; }
.bullets li::before { content: "•"; color: var(--brand); font-weight: 900; }

/* Simulador de Domínio + Resumo do Pedido */
.builder {
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent); border-radius: 24px;
  padding: 26px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px;
}
@media (max-width: 820px) { .builder { grid-template-columns: 1fr; } }
.builder h2 { margin: 0 0 6px; font-size: 20px; color: var(--fg-strong); }
.builder .sub { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: var(--fg-2); margin-bottom: 14px; }
.field input {
  height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--app);
  color: var(--fg-strong); padding: 0 14px; font-size: 14px; outline: none;
}
.field input:focus { border-color: var(--brand); }
.domain-opts { display: grid; gap: 10px; }
.dom-opt {
  text-align: left; background: var(--app); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; cursor: pointer; color: var(--fg); transition: border-color .15s ease;
}
.dom-opt.active { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); }
.dom-opt-head { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 700; }
.dom-opt-head span:last-child { color: var(--brand); font-size: 11px; }
.dom-opt p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }

.url-preview {
  margin-top: 12px; padding: 10px 14px; border-radius: 12px;
  background: color-mix(in srgb, var(--ok) 8%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 25%, transparent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--ok-text);
  word-break: break-all;
}

.summary-box {
  background: var(--app); border: 1px solid var(--line); border-radius: 18px; padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.summary-box h3 { margin: 0; font-size: 15px; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.sum-row span { color: var(--muted); }
.sum-row strong { color: var(--fg-strong); text-align: right; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 4px; }
.sum-total span { font-size: 13px; color: var(--muted); }
.sum-total strong { font-size: 26px; color: var(--fg-strong); }

/* Preview Visual (Mockup realista do sistema selecionado) */
.showcase-split {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; align-items: start;
}
@media (max-width: 880px) { .showcase-split { grid-template-columns: 1fr; } }

.mockup {
  background: #0d0f14; border: 1px solid rgba(255,255,255,.12); border-radius: 18px;
  overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.mockup-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 14px; background: #161922; border-bottom: 1px solid var(--line);
  font-size: 11px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots i { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.18); display: block; }
.mockup-body { padding: 16px; display: grid; gap: 12px; }
.mock-kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-kpi {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px;
}
.mock-kpi small { display: block; font-size: 10px; color: var(--muted); }
.mock-kpi strong { display: block; margin-top: 3px; font-size: 14px; color: #fff; }
.mock-list { display: grid; gap: 8px; }
.mock-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  font-size: 12px;
}
.mock-item b { color: #fff; display: block; }
.mock-item small { color: var(--muted); font-size: 11px; }
.mock-tag {
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: rgba(16,185,129,.14); color: #6ee7b7; white-space: nowrap;
}
.mock-tag.gold { background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand); }
.mock-tag.sky { background: rgba(56,189,248,.14); color: #7dd3fc; }
.mock-wa-card {
  border-radius: 12px; background: #0f291e; border: 1px solid rgba(34,197,94,.3);
  padding: 12px; font-size: 12px; color: #dcfce7;
}
.mock-wa-card small { display: block; color: #86efac; font-size: 10px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .04em; }

/* Como Funciona (3 passos) */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.step-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px;
}
.step-num {
  width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 15%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  color: var(--brand); font-weight: 800; font-size: 13px; margin-bottom: 12px;
}
.step-card h3 { margin: 0 0 6px; font-size: 15px; color: var(--fg-strong); }
.step-card p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* FAQ Acordeão */
.faq-list { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.faq-item summary {
  padding: 15px 18px; font-size: 14px; font-weight: 700; color: var(--fg-strong); cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::after { content: "+"; color: var(--brand); font-size: 18px; font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 18px 16px; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* Diferenciais / Pilares */
.pillars-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 22px;
}
.pillar-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.pillar-badge {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 14%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); color: var(--brand);
}
.pillar-card h3 { margin: 0; font-size: 15px; color: var(--fg-strong); line-height: 1.35; }
.pillar-card p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* Tabela Comparativa de Planos */
.compare-wrap {
  margin-top: 26px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; overflow-x: auto;
}
.compare-table {
  width: 100%; border-collapse: collapse; min-width: 560px; font-size: 13px;
}
.compare-table th, .compare-table td {
  padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle;
}
.compare-table thead th {
  font-size: 13px; font-weight: 700; color: var(--fg-strong); background: color-mix(in srgb, var(--fg-strong) 2%, transparent);
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { color: var(--muted); font-weight: 600; }
.compare-table .col-selected {
  background: color-mix(in srgb, var(--ok) 7%, transparent);
}
.compare-table thead .col-selected {
  color: var(--ok-text-2);
}
.compare-check { color: var(--ok-text-2); font-weight: 700; }
.compare-muted { color: var(--muted); }

/* Simulador Interativo da Barbearia (fiel ao Frontend real: theme.css + Sidebar + DashboardPage) */
.bb-shell-wrap { display: grid; gap: 16px; }
.bb-top-caption {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

.bb-app {
  --bb-bg: #f8f6f1;
  --bb-card: #ffffff;
  --bb-soft: #f3eee2;
  --bb-text: #111111;
  --bb-muted: #6b7280;
  --bb-border: #e5e7eb;
  --bb-accent: #c9a24a;
  --bb-accent-deep: #b38722;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--bb-bg);
  color: var(--bb-text);
  border: 1px solid rgba(201,162,74,.35);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 580px;
}
.bb-app.bb-dark {
  --bb-bg: #0f0f0f;
  --bb-card: #171717;
  --bb-soft: #202020;
  --bb-text: #f0ebe0;
  --bb-muted: #9ca3af;
  --bb-border: #303030;
  --bb-accent: #c9a24a;
  --bb-accent-deep: #d9b45c;
}
@media (max-width: 860px) {
  .bb-app { grid-template-columns: 1fr; }
}

.bb-sidebar {
  background: var(--bb-card);
  border-right: 1px solid var(--bb-border);
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 860px) {
  .bb-sidebar { border-right: 0; border-bottom: 1px solid var(--bb-border); padding: 14px; }
  .bb-nav { display: flex; flex-direction: row !important; overflow-x: auto; gap: 6px !important; padding-bottom: 4px; }
  .bb-plan-pill, .bb-user-row, .bb-menu-title, .bb-divider { display: none !important; }
}
.bb-brand-box { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 4px 4px; }
.bb-brand-monogram {
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, #2a2418, #111111);
  border: 1px solid rgba(201,162,74,.45);
  color: #f4dfaa; font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px; font-weight: 700; letter-spacing: .08em;
  display: grid; place-items: center; margin-bottom: 8px;
}
.bb-brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px; font-weight: 700; letter-spacing: .06em; color: var(--bb-accent-deep);
  text-transform: uppercase; line-height: 1.15;
}
.bb-brand-sub {
  font-size: 9px; font-weight: 700; letter-spacing: .24em; color: var(--bb-muted); margin-top: 2px;
}
.bb-divider { display: block; height: 1px; background: var(--bb-border); margin: 8px 0; }
.bb-menu-title {
  margin: 0 0 4px; padding: 0 8px; font-size: 10px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--bb-muted);
}
.bb-nav { display: flex; flex-direction: column; gap: 3px; }
.bb-nav-item {
  display: flex; align-items: center; gap: 9px; min-height: 36px; padding: 0 10px;
  border-radius: 8px; border: 0; background: transparent; color: var(--bb-muted);
  font-size: 13px; font-weight: 500; cursor: pointer; text-align: left; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.bb-nav-item:hover { background: var(--bb-soft); color: var(--bb-text); }
.bb-nav-item.active {
  background: rgba(201,154,46,.11); color: var(--bb-text); font-weight: 700;
}
.bb-nav-ico { width: 16px; text-align: center; font-size: 13px; }
.bb-nav-item.active .bb-nav-ico { color: #C99A2E; }
.bb-nav-dot {
  margin-left: auto; width: 6px; height: 6px; border-radius: 999px; background: #C99A2E; flex-shrink: 0;
}
.bb-nav-count {
  margin-left: auto; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 999px;
  background: rgba(201,154,46,.18); color: var(--bb-accent-deep);
}
.bb-plan-pill {
  margin-top: 10px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(201,154,46,.22); background: rgba(201,154,46,.07);
  display: flex; align-items: center; gap: 10px;
}
.bb-crown {
  width: 28px; height: 28px; border-radius: 999px; background: var(--bb-card);
  color: #C99A2E; display: grid; place-items: center; font-size: 13px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.bb-plan-pill strong { display: block; font-size: 12px; color: var(--bb-text); }
.bb-plan-pill small { display: block; font-size: 10px; font-weight: 700; color: #059669; }
.bb-user-row {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--bb-border);
  display: flex; align-items: center; gap: 10px;
}
.bb-avatar {
  width: 34px; height: 34px; border-radius: 999px; flex-shrink: 0;
  background: linear-gradient(135deg, #2a2418, #111111); color: #c9a24a;
  font-size: 11px; font-weight: 800; display: grid; place-items: center;
}
.bb-user-row strong { display: block; font-size: 12px; color: var(--bb-text); }
.bb-user-row small { display: block; font-size: 9px; letter-spacing: .12em; color: var(--bb-muted); }

/* Main area */
.bb-main { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bb-page-header {
  position: relative; overflow: hidden;
  border: 1px solid var(--bb-border); background: var(--bb-card);
  border-radius: 20px; padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(17,17,17,.04);
}
.bb-header-ring {
  pointer-events: none; position: absolute; right: -44px; top: -58px;
  width: 150px; height: 150px; border-radius: 999px;
  border: 16px solid rgba(212,175,55,.11);
}
.bb-header-top {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.bb-header-title { display: flex; align-items: center; gap: 12px; }
.bb-header-ico {
  width: 42px; height: 42px; border-radius: 14px;
  background: rgba(212,175,55,.15); color: #b38722;
  display: grid; place-items: center; font-size: 18px; flex-shrink: 0;
}
.bb-kicker {
  margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--bb-accent-deep);
}
.bb-page-header h3 { margin: 2px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--bb-text); }
.bb-header-actions { display: flex; align-items: center; gap: 8px; }
.bb-icon-btn {
  position: relative; width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid var(--bb-border); background: var(--bb-card); color: var(--bb-text);
  display: grid; place-items: center; cursor: pointer; font-size: 14px;
  transition: background .15s ease, border-color .15s ease;
}
.bb-icon-btn:hover { background: var(--bb-soft); border-color: #D4AF37; }
.bb-bell-badge {
  position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: #dc2626; color: #fff; font-size: 10px; font-weight: 800;
  display: grid; place-items: center;
}
.bb-pill-tabs {
  position: relative; margin-top: 14px; padding: 6px; border-radius: 15px;
  background: var(--bb-bg); border: 1px solid var(--bb-border);
  display: flex; gap: 6px; overflow-x: auto;
}
.bb-pill-tab {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 12px;
  border: 1px solid transparent; background: transparent; color: var(--bb-muted);
  font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all .15s ease;
}
.bb-pill-tab:hover { background: var(--bb-soft); color: var(--bb-text); }
.bb-pill-tab.active {
  background: #111111; border-color: #111111; color: #f4dfaa;
  box-shadow: inset 0 0 0 1px rgba(201,154,46,.22);
}

.bb-toast {
  padding: 10px 14px; border-radius: 12px; font-size: 12px; font-weight: 600;
}
.bb-toast.ok { background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.35); color: #047857; }
.bb-app.bb-dark .bb-toast.ok { color: #6ee7b7; }
.bb-toast.error { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.35); color: #b91c1c; }
.bb-app.bb-dark .bb-toast.error { color: #fca5a5; }

/* KPI Stat Cards com glow dourado fiel ao theme.css .stat-card */
.bb-kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 14px; }
.bb-stat-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--bb-border); background: var(--bb-card);
  border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 4px 16px rgba(17,17,17,.04);
}
.bb-stat-card::after {
  content: ""; position: absolute; right: -24px; bottom: -46px; width: 120px; height: 120px;
  border-radius: 999px; background: radial-gradient(circle, rgba(212,175,55,.16), transparent 62%);
  pointer-events: none;
}
.bb-stat-label { display: block; font-size: 11px; font-weight: 600; color: var(--bb-muted); }
.bb-stat-val { display: block; margin: 5px 0 3px; font-size: 21px; font-weight: 800; color: var(--bb-text); letter-spacing: -.02em; }
.bb-stat-sub { display: block; font-size: 11px; color: var(--bb-muted); }
.bb-pos { color: #059669 !important; }
.bb-app.bb-dark .bb-pos { color: #34d399 !important; }
.bb-gold { color: var(--bb-accent-deep) !important; }

.bb-split { display: grid; grid-template-columns: 1.3fr .9fr; gap: 14px; align-items: start; }
@media (max-width: 960px) { .bb-split { grid-template-columns: 1fr; } }
.bb-card {
  border: 1px solid var(--bb-border); background: var(--bb-card);
  border-radius: 16px; padding: 16px; box-shadow: 0 4px 16px rgba(17,17,17,.04);
}
.bb-card-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.bb-card-head h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--bb-text); }
.bb-card-head p { margin: 2px 0 0; font-size: 12px; color: var(--bb-muted); }

.bb-list { display: grid; gap: 8px; }
.bb-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--bb-border); background: var(--bb-bg);
}
.bb-row-time {
  font-size: 12px; font-weight: 800; padding: 5px 8px; border-radius: 8px;
  background: var(--bb-soft); color: var(--bb-accent-deep); border: 1px solid rgba(201,162,74,.25);
}
.bb-row-info { flex: 1; min-width: 150px; }
.bb-row-info strong { display: block; font-size: 13px; color: var(--bb-text); }
.bb-row-info span { display: block; font-size: 11px; color: var(--bb-muted); margin-top: 2px; }
.bb-row-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.bb-badge {
  font-size: 10px; font-weight: 700; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em;
}
.bb-badge.ok { background: rgba(16,185,129,.12); color: #047857; }
.bb-badge.live { background: rgba(212,175,55,.18); color: #9a731c; }
.bb-badge.done { background: rgba(59,130,246,.12); color: #1d4ed8; }
.bb-app.bb-dark .bb-badge.ok { color: #6ee7b7; }
.bb-app.bb-dark .bb-badge.live { color: #f4dfaa; }
.bb-app.bb-dark .bb-badge.done { color: #93c5fd; }

.bb-btn-dark, .bb-btn-gold, .bb-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 12px; border-radius: 10px; font-size: 12px; font-weight: 700; cursor: pointer;
  transition: transform .12s ease, opacity .15s ease, border-color .15s ease;
}
.bb-btn-dark { background: #111111; color: #f4dfaa; border: 1px solid #111111; }
.bb-app.bb-dark .bb-btn-dark { background: #c9a24a; color: #111111; border-color: #c9a24a; }
.bb-btn-gold { background: rgba(201,162,74,.16); color: var(--bb-accent-deep); border: 1px solid rgba(201,162,74,.4); }
.bb-btn-ghost { background: var(--bb-card); color: var(--bb-text); border: 1px solid var(--bb-border); }
.bb-btn-ghost:hover { border-color: #D4AF37; }
.bb-btn-dark:hover, .bb-btn-gold:hover { opacity: .92; transform: translateY(-1px); }
.bb-full { width: 100%; padding: 11px 14px; font-size: 13px; }

.bb-quick-stack { display: grid; gap: 8px; }
.bb-quick-btn {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 12px; border-radius: 12px; border: 1px solid var(--bb-border); background: var(--bb-bg);
  cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.bb-quick-btn:hover { border-color: #D4AF37; background: var(--bb-soft); }
.bb-quick-btn > span { font-size: 18px; }
.bb-quick-btn strong { display: block; font-size: 13px; color: var(--bb-text); }
.bb-quick-btn small { display: block; font-size: 11px; color: var(--bb-muted); margin-top: 2px; }

.bb-form { display: grid; gap: 11px; }
.bb-form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bb-field { display: grid; gap: 5px; }
.bb-field span { font-size: 11px; font-weight: 700; color: var(--bb-muted); }
.bb-field input, .bb-field select, .bb-close-row select {
  width: 100%; min-height: 40px; padding: 8px 11px; border-radius: 11px;
  border: 1px solid var(--bb-border); background: var(--bb-bg); color: var(--bb-text); font-size: 13px;
  outline: none;
}
.bb-field input:focus, .bb-field select:focus {
  border-color: #D4AF37; box-shadow: 0 0 0 3px rgba(212,175,55,.15);
}

.bb-empty {
  padding: 20px; border-radius: 12px; border: 1px dashed var(--bb-border);
  text-align: center; font-size: 13px; color: var(--bb-muted);
}
.bb-comanda {
  border: 1px solid rgba(201,162,74,.35); background: var(--bb-bg); border-radius: 14px;
  padding: 14px; display: grid; gap: 10px; margin-bottom: 10px;
}
.bb-comanda:last-child { margin-bottom: 0; }
.bb-comanda-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bb-comanda-top strong { display: block; font-size: 14px; color: var(--bb-text); }
.bb-comanda-top span { font-size: 11px; color: var(--bb-muted); }
.bb-comanda-total { font-size: 18px; color: #059669; }
.bb-app.bb-dark .bb-comanda-total { color: #34d399; }
.bb-comanda-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.bb-comanda-items li {
  display: flex; justify-content: space-between; font-size: 12px; padding: 7px 10px;
  border-radius: 8px; background: var(--bb-card); border: 1px solid var(--bb-border);
}
.bb-prod-strip { display: grid; gap: 6px; }
.bb-prod-strip > span { font-size: 11px; color: var(--bb-muted); font-weight: 600; }
.bb-prod-strip > div { display: flex; gap: 6px; flex-wrap: wrap; }
.bb-close-row { display: grid; grid-template-columns: 120px 1fr; gap: 8px; }
@media (max-width: 520px) { .bb-close-row { grid-template-columns: 1fr; } }

/* Portal do Cliente fiel ao tema creme/dourado */
.bb-portal-grid { display: grid; grid-template-columns: minmax(270px, 330px) 1fr; gap: 18px; align-items: start; }
@media (max-width: 860px) { .bb-portal-grid { grid-template-columns: 1fr; } }
.bb-phone {
  background: var(--bb-card); border: 3px solid #111111; border-radius: 28px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(17,17,17,.18);
}
.bb-app.bb-dark .bb-phone { border-color: #303030; }
.bb-phone-notch { width: 96px; height: 6px; border-radius: 999px; background: rgba(128,128,128,.35); margin: 10px auto 0; }
.bb-phone-head {
  padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--bb-border);
  background: linear-gradient(180deg, rgba(201,162,74,.14), transparent);
}
.bb-phone-brand {
  display: block; font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bb-accent-deep);
}
.bb-phone-head small { display: block; font-size: 9px; letter-spacing: .16em; color: var(--bb-muted); margin-top: 2px; }
.bb-phone-body { padding: 14px 16px 18px; display: grid; gap: 10px; }

/* Botão Flutuante WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  background: #16a34a; color: var(--fg-strong); text-decoration: none; font-size: 13px; font-weight: 700;
  padding: 12px 18px; border-radius: 999px; box-shadow: 0 12px 30px rgba(22,163,74,.4);
  display: inline-flex; align-items: center; gap: 8px; transition: transform .15s ease;
}
.wa-float:hover { transform: translateY(-2px); background: #16a34a; }

footer { border-top: 1px solid var(--line); padding: 28px 0 80px; text-align: center; font-size: 12px; color: var(--muted); margin-top: 24px; }
/* Cabeçalho no celular: menu de hambúrguer, botão de WhatsApp curto */
.nav-toggle { display: none; }
.cta-short { display: none; }
@media (max-width: 640px) {
  .nav-inner { height: 56px; gap: 10px; }
  .brand { min-width: 0; flex: 1; }
  .brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .nav-cta { padding: 9px 14px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px;
    width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
    border: 1px solid var(--line); background: var(--hover);
  }
  .nav-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--fg); content: ""; position: relative;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle-bars::before { position: absolute; top: -6px; left: 0; }
  .nav-toggle-bars::after { position: absolute; top: 6px; left: 0; }
  .nav.open .nav-toggle-bars { background: transparent; }
  .nav.open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav.open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 12px;
    background: var(--surface); border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 4px; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
}

/* Botão flutuante: some no topo (o cabeçalho já tem o WhatsApp) e vira só o ícone no celular */
.wa-float { transition: transform .15s ease, opacity .2s ease; }
.wa-float.wa-float-oculto { opacity: 0; pointer-events: none; transform: translateY(8px); }
@media (max-width: 640px) {
  .wa-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 52px; height: 52px; padding: 0; justify-content: center; font-size: 22px; }
  .wa-float-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .wa-float, .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { transition: none; } }

/* Títulos de seção com respiro antes do conteúdo */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 24px; }

/* Comparativo: no celular rola para o lado com a primeira coluna fixa e uma dica */
.compare-hint { display: none; margin: 18px 0 -14px; font-size: 12px; color: var(--muted); }
.compare-wrap:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 760px) {
  .compare-hint { display: block; }
  .compare-table td:first-child, .compare-table thead th:first-child {
    position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 0 var(--line);
  }
}

/* ===== Monte a cara do seu catálogo (demonstração interativa) ===== */
.cdemo { border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, var(--surface), var(--app)); padding: 28px; }
.cdemo-head { text-align: center; max-width: 640px; margin: 0 auto 24px; }
.cdemo-head h2 { margin: 12px 0 8px; font-size: clamp(24px, 3.2vw, 34px); }
.cdemo-head p { margin: 0; color: var(--muted); line-height: 1.6; }
.cdemo-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.cdemo-label { margin: 18px 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.cdemo-label:first-child { margin-top: 0; }
.cdemo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cdemo-chips button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); font: inherit; font-size: 13px; cursor: pointer; }
.cdemo-chips button i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.cdemo-chips button i + i { margin-left: -9px; }
.cdemo-chips button.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 14%, transparent); }
.cdemo-chips button:focus-visible, .cdemo-colors input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.cdemo-colors { display: flex; gap: 14px; }
.cdemo-colors label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.cdemo-colors input { width: 92px; height: 42px; padding: 3px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; }
.cdemo-note { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); min-height: 18px; }
.cdemo-gov { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--fg-2); }
.cdemo-gov li::before { content: "✓"; color: #4ade80; font-weight: 800; margin-right: 8px; }
.cdemo-stage { display: grid; place-items: center; padding: 8px 0; }
.cdemo-phone { width: min(330px, 100%); border-radius: 30px; padding: 10px; background: #050607; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }

.cd-store { --paper: #faf8f3; --card: #fff; --ink: color-mix(in srgb, var(--b) 55%, #0d0d0d); border-radius: 22px; overflow: hidden; background: var(--paper); color: var(--ink); font-family: "Manrope", system-ui, sans-serif; padding: 12px; display: grid; gap: 10px; font-size: 12px; }
.cd-top { display: flex; align-items: center; gap: 8px; }
.cd-top strong { flex: 1; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-logo { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--b); color: var(--fg-strong); font-weight: 800; }
.cd-bag { width: 26px; height: 26px; border-radius: 9px; border: 1px solid rgba(0,0,0,.12); background: var(--card); }
.cd-search { padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(0,0,0,.1); background: var(--card); color: #5f655c; }
.cd-hero { padding: 16px 14px; border-radius: 16px; color: var(--fg-strong); background: linear-gradient(135deg, var(--b), color-mix(in srgb, var(--b) 70%, #000)); display: grid; gap: 6px; justify-items: start; }
.cd-hero small { letter-spacing: .12em; opacity: .75; font-size: 9px; font-weight: 800; }
.cd-hero h4 { margin: 0; font-size: 20px; line-height: 1.1; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; }
.cd-btn { padding: 6px 12px; border-radius: 9px; background: var(--a); color: var(--on-a, #fff); font-weight: 800; font-size: 11px; }
.cd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cd-card { display: grid; gap: 3px; padding: 6px; border-radius: 12px; background: var(--card); border: 1px solid rgba(0,0,0,.07); }
.cd-photo { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 9px; background: linear-gradient(135deg, color-mix(in srgb, var(--b) 14%, #fff), color-mix(in srgb, var(--a) 20%, #fff)); }
.cd-photo svg { width: 46%; opacity: .85; }
.cd-card b { font-size: 11px; line-height: 1.2; }
.cd-card em { font-style: normal; font-weight: 800; color: var(--b); }
/* modelos */
.cd-store.tpl-luxo { --paper: #0e0f12; --card: #181a20; --ink: #f1ede4; }
.cd-store.tpl-luxo .cd-hero { background: #14161b; border: 1px solid #2a2d34; }
.cd-store.tpl-luxo .cd-hero h4 { color: var(--a); }
.cd-store.tpl-luxo .cd-card { border-color: #2a2d34; } .cd-store.tpl-luxo .cd-card em { color: var(--a); }
.cd-store.tpl-luxo .cd-search, .cd-store.tpl-luxo .cd-bag { border-color: #2a2d34; color: #a6a6b0; }
.cd-store.tpl-atacado { --paper: #f1f3f0; } .cd-store.tpl-atacado .cd-grid { grid-template-columns: repeat(3, 1fr); } .cd-store.tpl-atacado .cd-card em { color: var(--a); }
.cd-store.tpl-atacado .cd-card b { font-size: 10px; }
.cd-store.tpl-editorial { --paper: #fff; --card: #fff; } .cd-store.tpl-editorial .cd-hero { border-radius: 0; background: var(--b); } .cd-store.tpl-editorial .cd-hero h4 { text-transform: uppercase; letter-spacing: -.01em; }
.cd-store.tpl-editorial .cd-card, .cd-store.tpl-editorial .cd-photo { border-radius: 0; } .cd-store.tpl-editorial .cd-card { border: 0; border-bottom: 2px solid #111; }
@media (max-width: 860px) { .cdemo { padding: 18px; } .cdemo-grid { grid-template-columns: 1fr; } .cdemo-stage { order: -1; } }
.cd-store.tpl-atacado .cd-card:nth-child(4) { display: none; }

.mockup-note { margin: 0; padding: 8px 14px; font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); text-align: right; }
.notice-impl { margin-bottom: 18px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .08); color: #fcd9a0; font-size: 13.5px; line-height: 1.55; }
.notice-impl strong { color: #fbbf24; }

/* ===== Tem uma ideia de sistema? ===== */
.ideas { max-width: 760px; margin: 0 auto; border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: linear-gradient(180deg, var(--surface), var(--app)); }
.ideas-head { text-align: center; margin-bottom: 20px; }
.ideas-head h2 { margin: 12px 0 8px; font-size: clamp(22px, 3vw, 30px); }
.ideas-head p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14.5px; }
.ideas-form { display: grid; gap: 14px; }
.ideas-form label { display: grid; gap: 6px; font-size: 13px; color: var(--fg-2); }
.ideas-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ideas-form input[type="text"], .ideas-form textarea { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); padding: 11px 13px; font: inherit; font-size: 14px; }
.ideas-form textarea { resize: vertical; min-height: 130px; }
.ideas-form input:focus-visible, .ideas-form textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.ideas-form small { color: var(--muted); text-align: right; font-size: 11.5px; }
.ideas-consent { display: flex !important; gap: 10px; align-items: flex-start; font-size: 12.5px !important; color: var(--muted) !important; line-height: 1.5; }
.ideas-consent input { margin-top: 3px; }
.ideas-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ideas-error { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(244, 63, 94, .12); border: 1px solid rgba(244, 63, 94, .35); color: #fecdd3; font-size: 13px; }
.ideas-error a { color: var(--fg-strong); font-weight: 700; text-decoration: underline; }
.ideas-actions { display: flex; justify-content: center; }
.ideas-thanks { text-align: center; padding: 20px 0; }
.ideas-thanks h2 { margin: 0 0 10px; }
.ideas-thanks p { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .ideas { padding: 18px; } .ideas-row { grid-template-columns: 1fr; } }

/* Botão de tema */
.theme-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px;
  border-radius: 12px; cursor: pointer; border: 1px solid var(--line); background: var(--hover); color: var(--fg);
}
.theme-btn:hover { background: var(--hover-strong); }
.theme-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 640px) { .theme-btn { flex-basis: 44px; width: 44px; height: 44px; } }
