/* Identidade visual: verde-petróleo (confiança) + coral (ação). Mobile-first. */
:root {
  --brand: #0f766e; --brand-dark: #115e59; --brand-soft: #e6f4f2;
  --accent: #f26b4f; --accent-dark: #d9553a;
  --ink: #1f2933; --muted: #5f6b76; --line: #e3e7eb; --bg: #f7f8fa; --card: #fff;
  --ok: #15803d; --warn: #b45309; --bad: #b91c1c;
  --radius: 12px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 4px 12px rgba(16,24,40,.06);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); line-height: 1.5; font-size: 16px; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 480px; margin: 32px auto; padding: 0 16px; }
.muted { color: var(--muted); } .small { font-size: .875rem; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pill { display: inline-block; background: #fff4e5; color: #8a4b00; border: 1px solid #f5c98a; border-radius: 999px; padding: 4px 12px; font-size: .85rem; font-weight: 600; margin: 0 0 12px; }
.checks { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 6px; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.hero .checks { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); color: var(--muted); font-size: .95rem; }
.steps { list-style: none; padding: 0; display: grid; gap: 14px; margin: 16px 0 20px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.steps .step-num { flex: none; margin-top: 2px; }
.wa-mock { background: #e5ddd5; }
.wa-mock .bubble { background: #dcf8c6; border-radius: 10px 10px 2px 10px; padding: 10px 12px; font-size: .95rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.12); }
.table.compare td:last-child, .table.compare th:last-child { background: var(--brand-soft); }
.sticky-cta { display: none; }
@media (max-width: 640px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid #d7dde3; z-index: 40; }
  body:has(.sticky-cta) .footer { padding-bottom: 80px; }
}
/* Página de vendas: herói com a tela real ao lado, públicos atendidos, painel de demonstração. */
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.audience { list-style: none; padding: 0; margin: 10px 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.audience li { background: #fff; border: 1px solid #d7e6e3; color: var(--brand-dark); border-radius: 999px; padding: 4px 12px; font-size: .9rem; font-weight: 600; }
.grid.panel-demo { grid-template-columns: 1fr 1fr; align-items: start; }
.panel-demo h3 { margin: 0 0 8px; }
.grid.stats-mini { grid-template-columns: 1fr 1fr; margin-top: 12px; }
.steps-row { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) {
  .hero-grid, .grid.panel-demo, .steps-row { grid-template-columns: 1fr; }
  .hero { padding: 28px 0 24px; }
  .hero .phone-mock { max-width: 320px; margin: 0 auto; }
  .section { padding: 28px 0; }
  .section h2 { margin-top: 0; }
  .grid { gap: 12px; }
  .hero .checks { grid-template-columns: 1fr 1fr; font-size: .85rem; gap: 4px 10px; }
}
.slot-radio { display: block; }
.slot-radio input { position: absolute; opacity: 0; pointer-events: none; }
.slot-radio .slot { display: block; text-align: center; }
.slot-radio input:checked + .slot { background: var(--brand); color: #fff; }
.slot-radio input:focus-visible + .slot { outline: 2px solid var(--brand); outline-offset: 2px; }
.demo-note { background: #fff4e5; color: #8a4b00; border: 1px solid #f5c98a; border-radius: 8px; padding: 8px 12px; font-size: .9rem; }
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid #d7dde3; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.15); padding: 14px 16px; font-size: .9rem; }
.cookie-banner p { margin: 0 0 10px; }
.cookie-banner .row { justify-content: flex-end; }
.spread { justify-content: space-between; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stack > * + * { margin-top: 12px; }

/* Topo */
.topbar { background: var(--card); border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 1.25rem; color: var(--brand); text-decoration: none; letter-spacing: -.02em; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 10px; border-radius: 8px; font-size: .95rem; }
.nav a:hover, .nav a.active { background: var(--brand-soft); color: var(--brand-dark); }
.nav form { display: inline; }

/* Cartões e tabelas */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.stat { font-size: 1.75rem; font-weight: 700; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.table-wrap { overflow-x: auto; }

/* Formulários */
label { display: block; font-weight: 600; margin-bottom: 4px; font-size: .95rem; }
input, select, textarea { width: 100%; padding: 11px 12px; border: 1px solid #cbd2d9; border-radius: 8px; font: inherit; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
input[type=checkbox] { width: auto; margin-right: 6px; }
.check { display: flex; align-items: flex-start; gap: 6px; font-weight: 400; }
.field { margin-bottom: 14px; }
.err { color: var(--bad); font-size: .875rem; margin-top: 4px; }
.hint { color: var(--muted); font-size: .85rem; margin-top: 4px; }

.btn { display: inline-block; border: 0; border-radius: 8px; padding: 11px 18px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; background: var(--brand); color: #fff; }
.btn:hover { background: var(--brand-dark); }
.btn.accent { background: var(--accent); } .btn.accent:hover { background: var(--accent-dark); }
.btn.ghost { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
.btn.danger { background: #fff; color: var(--bad); border: 1px solid #f1c0c0; }
.btn.small { padding: 6px 10px; font-size: .85rem; }
.btn.block { display: block; width: 100%; }
.linkbtn { background: none; border: 0; color: var(--brand); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }

.alert { padding: 12px 14px; border-radius: 8px; margin: 16px 0; }
.alert.ok { background: #e8f6ec; color: #14532d; }
.alert.bad { background: #fdecec; color: #7f1d1d; }
.alert.warn { background: #fff5e6; color: #7c2d12; }

.badge { display: inline-block; font-size: .75rem; padding: 2px 8px; border-radius: 99px; font-weight: 600; background: #eef0f3; color: var(--muted); }
.badge.confirmed, .badge.active { background: #e8f6ec; color: var(--ok); }
.badge.pending, .badge.trialing { background: #fff5e6; color: var(--warn); }
.badge.cancelled, .badge.canceled, .badge.no_show, .badge.past_due, .badge.suspended { background: #fdecec; color: var(--bad); }
.badge.completed { background: var(--brand-soft); color: var(--brand-dark); }

/* Agenda */
.week { display: grid; grid-template-columns: repeat(7, minmax(130px, 1fr)); gap: 8px; overflow-x: auto; }
.day-col { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px; min-height: 120px; }
.month { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.month .cell { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 6px; min-height: 64px; font-size: .85rem; text-decoration: none; color: var(--ink); }
.month .cell.out { opacity: .4; }
.appt { border-left: 3px solid var(--brand); padding: 6px 8px; background: #fbfcfd; border-radius: 6px; margin-bottom: 6px; font-size: .9rem; }
.appt.cancelled { border-color: #ccc; opacity: .6; text-decoration: line-through; }
.tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.tabs a { padding: 8px 14px; text-decoration: none; color: var(--ink); }
.tabs a.active { background: var(--brand); color: #fff; }

/* Página pública */
.public-head { background: var(--brand); color: #fff; padding: 28px 0 22px; }
.public-head h1 { margin: 0; }
.choice-list { display: grid; gap: 8px; }
.choice { display: flex; justify-content: space-between; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; cursor: pointer; font-weight: 400; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.choice input { width: auto; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot { border: 1px solid var(--brand); color: var(--brand); background: #fff; border-radius: 8px; padding: 10px 0; font: inherit; font-weight: 600; cursor: pointer; }
.slot.selected { background: var(--brand); color: #fff; }
.step { display: none; } .step.show { display: block; }
.step-title { display: flex; gap: 8px; align-items: center; }
.step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-grid; place-items: center; font-size: .85rem; }

/* Site */
.hero { padding: 56px 0 40px; background: linear-gradient(180deg, var(--brand-soft), var(--bg)); }
.hero h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: -.02em; max-width: 760px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.section { padding: 48px 0; }
.price-card { max-width: 380px; margin: 0 auto; text-align: center; }
.price { font-size: 2.6rem; font-weight: 800; color: var(--brand-dark); }
.footer { border-top: 1px solid var(--line); padding: 28px 0; margin-top: 48px; color: var(--muted); font-size: .9rem; }
.footer a { color: var(--muted); margin-right: 14px; }
.phone-mock { max-width: 300px; margin: 0 auto; border: 10px solid #1f2933; border-radius: 32px; background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.phone-mock .bar { background: var(--brand); color: #fff; padding: 14px; font-weight: 700; }
.phone-mock .body { padding: 12px; font-size: .9rem; }
details { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; margin-bottom: 8px; }
summary { cursor: pointer; font-weight: 600; }
.legal h2 { margin-top: 1.5em; }

@media (max-width: 640px) {
  h1 { font-size: 1.35rem; }
  .card { padding: 16px; }
  .hide-sm { display: none; }
}
