/* Atendum · landing page
   Troque o nome do produto em BRAND_NAME (main.js) e nos textos dos HTML.
   Cores: tokens abaixo (contraste AA verificado nos pares usados). */

:root {
  --brand-name: "Atendum";

  --brand: #0B6A85;        /* branco sobre ela: 6.15:1 */
  --brand-strong: #08546A; /* hover, 8.45:1 */
  --brand-soft: #E8F3F6;
  --brand-bright: #5BC0DA; /* só sobre fundo escuro: 7.78:1 */

  --ink: #0E1A26;
  --muted: #4A5868;        /* 7.27:1 no branco */
  --line: #DCE4EA;
  --surface: #FFFFFF;
  --tint: #F4F7F9;
  --dark: #0B2230;
  --dark-2: #12303F;
  --on-dark: #FFFFFF;
  --on-dark-muted: #B7C9D5;

  --money: #9A4708;        /* 5.89:1 no âmbar claro */
  --money-soft: #FFF4E5;
  --ok: #157F3D;
  --ok-soft: #E6F4EA;
  --note: #FFF7D6;
  --danger: #B42318;

  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 20px;
  --shadow: 0 1px 2px rgb(14 26 38 / .06), 0 8px 24px rgb(14 26 38 / .08);
  --shadow-lg: 0 2px 4px rgb(14 26 38 / .06), 0 24px 48px rgb(14 26 38 / .14);

  --gutter: 20px;
  --section: 72px;
}

@media (min-width: 48rem) {
  :root { --gutter: 32px; --section: 104px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--brand); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-strong); }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}
.section-dark :focus-visible { outline-color: var(--brand-bright); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition-property: background-color, color, border-color, transform;
  transition-duration: .15s; transition-timing-function: ease-out;
}
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
.btn-ghost { background: #fff; color: var(--brand-strong); border-color: #A9C4CF; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--brand-soft); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); text-decoration: none; }
.logo-mark { width: 32px; height: 32px; flex: none; }
.logo-text { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.035em; color: var(--ink); text-transform: lowercase; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: .9375rem;
}
.main-nav a:hover { background: var(--tint); color: var(--ink); }
@media (min-width: 56rem) { .main-nav { display: block; } }

/* ---------- Tipografia de seções ---------- */
.eyebrow {
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--brand-bright); }
h1 { font-size: clamp(2rem, 1.35rem + 2.9vw, 3.25rem); font-weight: 780; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem); font-weight: 760; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; }
.lead { font-size: 1.125rem; color: var(--muted); margin-top: 20px; max-width: 36rem; }
.section-lead { font-size: 1.0625rem; color: var(--muted); margin-top: 16px; max-width: 40rem; }
.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }
@media (min-width: 48rem) { .section-head { margin-bottom: 56px; } }

.section { padding-block: var(--section); }
.section-tint { background: var(--tint); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark .section-lead { color: var(--on-dark-muted); }

/* ---------- Hero ---------- */
.hero {
  padding-block: 48px 64px;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgb(11 106 133 / .10), transparent 60%),
    radial-gradient(40rem 24rem at -10% 10%, rgb(91 192 218 / .12), transparent 60%);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 60rem) {
  .hero { padding-block: 80px 96px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 29.99rem) { .cta-row .btn { width: 100%; } }
.promise-list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: .9375rem; color: var(--muted); font-weight: 550; }
.promise-list li { display: inline-flex; align-items: center; gap: 6px; }
.promise-list svg { width: 18px; height: 18px; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { position: relative; margin: 0; padding: 8px 0 0; }
.phone {
  max-width: 380px; margin-inline: auto;
  background: #fff; border-radius: 28px; padding: 10px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.phone-top { display: flex; align-items: center; gap: 10px; padding: 8px 8px 12px; border-bottom: 1px solid var(--line); }
.phone-top div { flex: 1; min-width: 0; line-height: 1.25; }
.phone-top strong { display: block; font-size: .9375rem; }
.phone-top small { color: var(--muted); font-size: .8125rem; }
.chat {
  display: flex; flex-direction: column; gap: 8px; padding: 14px 6px 8px;
  background: linear-gradient(#F7FAFB, #EEF4F7); border-radius: 0 0 18px 18px; margin: 0 -10px -10px; padding-inline: 16px; padding-bottom: 18px;
}
.chip {
  align-self: center; font-size: .75rem; font-weight: 600; color: var(--brand-strong);
  background: var(--brand-soft); border-radius: 999px; padding: 4px 10px; text-align: center;
}
.chip-soft { color: var(--muted); background: #fff; border: 1px solid var(--line); }
.bubble {
  max-width: 86%; padding: 9px 12px 18px; border-radius: 14px; font-size: .9063rem; line-height: 1.45;
  position: relative; box-shadow: 0 1px 1px rgb(14 26 38 / .06);
}
.bubble .meta { position: absolute; right: 10px; bottom: 3px; font-size: .6875rem; color: var(--muted); }
.bubble.in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: #DDEFF4; border-top-right-radius: 4px; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow); line-height: 1.25; font-size: .875rem;
}
.float-card strong { display: block; }
.float-card small { color: var(--muted); font-size: .78rem; }
.float-1 { top: -62px; left: -24px; }
.float-2 { bottom: -26px; right: -24px; }
.float-2 strong { color: var(--ok); }
@media (max-width: 34.99rem) {
  .hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-visual .phone, .hero-visual .mock-caption { grid-column: 1 / -1; }
  .float-card { position: static; padding: 10px 12px; align-items: flex-start; }
  .float-card .dot { margin-top: 5px; }
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-amber { background: #D97706; box-shadow: 0 0 0 4px #FEF0D9; }
.dot-green { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }

.mock-caption { margin-top: 14px; text-align: center; font-size: .8125rem; color: var(--muted); }

/* ---------- Tags, avatares ---------- */
.tag {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: .75rem; font-weight: 650; padding: 3px 9px; border-radius: 999px;
  background: var(--tint); color: var(--muted); border: 1px solid var(--line);
}
.tag-brand { background: var(--brand-soft); color: var(--brand-strong); border-color: #C6E0E8; }
.tag-green { background: var(--ok-soft); color: var(--ok); border-color: #C3E3CD; }
.avatar {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  font-weight: 700; font-size: .875rem; background: #D7EBF1; color: var(--brand-strong);
}
.avatar-sm { width: 34px; height: 34px; }
.avatar.a2 { background: #F4E3D3; color: #7A3E0B; }
.avatar.a3 { background: #E5E0F5; color: #4B3A8C; }

/* ---------- Faixa ---------- */
.strip { background: var(--dark); color: var(--on-dark); }
.strip-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px;
  padding-block: 18px; font-weight: 650; font-size: .9375rem;
}
.strip-inner span { display: flex; align-items: center; gap: 8px; }
.strip-inner span::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-bright); }
@media (min-width: 48rem) { .strip-inner { display: flex; justify-content: center; gap: 12px 40px; } }

/* ---------- Problema ---------- */
.pain-grid { display: grid; gap: 16px; }
@media (min-width: 40rem) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .pain-grid { grid-template-columns: repeat(4, 1fr); } }
.pain {
  padding: 24px; border-radius: var(--r-lg); background: var(--tint);
}
.pain::before { content: ""; display: block; width: 32px; height: 4px; border-radius: 2px; background: var(--brand); margin-bottom: 16px; }
.pain h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.pain p { color: var(--muted); font-size: .9688rem; }

/* ---------- Pilares ---------- */
.pillar { display: grid; gap: 32px; align-items: center; }
.pillar + .pillar { margin-top: 72px; }
@media (min-width: 60rem) {
  .pillar { grid-template-columns: 1fr 1fr; gap: 64px; }
  .pillar + .pillar { margin-top: 112px; }
  .pillar-reverse .pillar-copy { order: 2; }
}
.pillar-kicker { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--brand); margin-bottom: 12px; }
.num {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: .875rem;
}
.pillar h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.875rem); font-weight: 750; letter-spacing: -0.02em; margin-bottom: 14px; }
.pillar-copy > p { color: var(--muted); max-width: 34rem; }

.check-list { display: grid; gap: 10px; margin-top: 20px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%230B6A85' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.check-list.compact { gap: 8px; font-size: .9375rem; }

.small-label { margin-top: 24px; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pill-list li {
  font-size: .875rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
}

.pillar-visual { margin: 0; }
.panel {
  background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); padding: 20px; max-width: 520px; margin-inline: auto;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-total { background: var(--money-soft); border-radius: var(--r); padding: 14px 16px; margin-bottom: 8px; }
.panel-total small { display: block; color: var(--money); font-weight: 600; font-size: .8125rem; }
.money { font-size: 1.75rem; font-weight: 780; letter-spacing: -0.02em; color: var(--money); font-variant-numeric: tabular-nums; }
.auto-list li {
  display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line);
}
.auto-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.auto-name { flex: 1; min-width: 0; font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.auto-name small { display: block; font-weight: 400; color: var(--muted); font-size: .8125rem; }
.auto-val { font-weight: 700; font-variant-numeric: tabular-nums; font-size: .9375rem; white-space: nowrap; }
.auto-val.muted { color: var(--muted); font-weight: 400; }
.switch { position: relative; flex: none; width: 34px; height: 20px; border-radius: 999px; background: #C9D3DB; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.switch.on { background: var(--brand); }
.switch.on::after { left: 17px; }

/* inbox */
.inbox { padding: 0; overflow: hidden; }
.tabs { display: flex; border-bottom: 1px solid var(--line); padding-inline: 8px; overflow: hidden; }
.tab { padding: 12px 10px; font-size: .8438rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tab b { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--tint); font-size: .75rem; text-align: center; }
.tab.active { color: var(--brand-strong); border-bottom-color: var(--brand); }
.tab.active b { background: var(--brand); color: #fff; }
.inbox-body { display: grid; }
@media (min-width: 30rem) { .inbox-body { grid-template-columns: 0.95fr 1.05fr; } }
.conv-list { border-bottom: 1px solid var(--line); }
@media (min-width: 30rem) { .conv-list { border-bottom: 0; border-right: 1px solid var(--line); } }
.conv-list li { display: flex; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); }
.conv-list li:last-child { border-bottom: 0; }
.conv-list li.active { background: var(--brand-soft); }
.conv-text { flex: 1; min-width: 0; line-height: 1.3; }
.conv-text strong { display: block; font-size: .875rem; }
.conv-text small { display: block; color: var(--muted); font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-open { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: #F7FAFB; }
.conv-open .bubble { max-width: 94%; padding-bottom: 9px; font-size: .8438rem; }
.note { background: var(--note); border: 1px dashed #D9B64A; color: #5C4708; border-radius: 10px; padding: 8px 10px; font-size: .8125rem; line-height: 1.4; }
.composer { margin-top: 4px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: .8125rem; color: var(--muted); }
.slash { font-weight: 700; color: var(--brand-strong); margin-right: 6px; }

/* health */
.health-main { display: flex; align-items: center; gap: 18px; padding: 4px 0 18px; }
.gauge {
  --v: 80; flex: none; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--ok) calc(var(--v) * 1%), #E3EAEF 0);
}
.gauge span { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: #fff; line-height: 1; }
.gauge b { font-size: 1.625rem; font-variant-numeric: tabular-nums; }
.gauge small { font-size: .7rem; color: var(--muted); margin-top: -10px; }
.health-label { font-weight: 700; color: var(--ok); }
.health-sub { font-size: .875rem; color: var(--muted); margin-top: 4px; }
.meter { padding-block: 10px; border-top: 1px solid var(--line); }
.meter-top { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; font-weight: 600; margin-bottom: 8px; }
.meter-top span:last-child { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.bar { height: 8px; border-radius: 999px; background: #E3EAEF; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.rotation { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 600; }
.rotation > span:first-child { margin-right: auto; }

/* ---------- Passos ---------- */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 18px;
  background: var(--brand-soft); color: var(--brand-strong); font-weight: 780; font-size: 1.125rem;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- Comparativo ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); background: var(--dark-2); border: 1px solid #1F4458; }
.compare { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 340px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #1F4458; }
.compare thead th { font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--on-dark-muted); font-weight: 700; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody th { font-weight: 600; }
.compare td { color: var(--on-dark-muted); }
.compare .col-us { background: rgb(91 192 218 / .10); color: var(--on-dark); }
.compare thead .col-us { color: var(--brand-bright); }
.yes, .no, .maybe { display: inline-flex; align-items: flex-start; gap: 6px; }
.yes::before, .no::before, .maybe::before { flex: none; font-weight: 800; width: 1em; text-align: center; }
.yes::before { content: "✓"; color: #7EE0A1; }
.no::before { content: "–"; color: var(--on-dark-muted); }
.maybe::before { content: "~"; color: #F3C677; }
.footnote { margin-top: 16px; font-size: .875rem; color: var(--on-dark-muted); }
@media (max-width: 39.99rem) {
  .compare, .compare thead, .compare tbody { display: block; min-width: 0; }
  .compare tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #1F4458; }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { border-bottom: 0; padding: 10px 14px; }
  .compare thead th:first-child { display: none; }
  .compare tbody th { grid-column: 1 / -1; padding-bottom: 2px; padding-top: 14px; }
  .compare td { padding-top: 6px; padding-bottom: 14px; }
  .compare td.col-us { border-radius: 0; }
}

/* ---------- Preços ---------- */
.billing-toggle {
  display: flex; width: fit-content; margin: 0 auto 40px; padding: 4px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--tint); gap: 4px;
}
.billing-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.billing-toggle label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px;
  font-weight: 650; cursor: pointer; color: var(--muted);
  transition-property: background-color, color; transition-duration: .15s;
}
.billing-toggle input:checked + label { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.billing-toggle input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 2px; }
.save { font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); white-space: nowrap; }

.plans { display: grid; gap: 20px; align-items: start; }
@media (min-width: 60rem) { .plans { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; } }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
}
.plan .btn { margin-top: auto; }
.plan .check-list { margin-bottom: 28px; }
.plan-featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
@media (min-width: 60rem) { .plan-featured { transform: translateY(-8px); } }
.badge {
  position: absolute; top: -13px; left: 24px; font-size: .75rem; font-weight: 700; letter-spacing: .02em;
  padding: 4px 12px; border-radius: 999px; background: var(--brand); color: #fff;
}
.plan h3 { font-size: 1.375rem; }
.plan-for { color: var(--muted); font-size: .9375rem; margin-top: 6px; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 4px; margin-top: 18px; font-variant-numeric: tabular-nums; }
.price .cur { font-weight: 700; font-size: 1.125rem; }
.price .amount { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price .per { color: var(--muted); font-weight: 600; }
.price-note { font-size: .875rem; color: var(--muted); margin-top: 6px; min-height: 1.5em; font-variant-numeric: tabular-nums; }
.plan-limits { display: flex; gap: 8px; margin-top: 18px; }
.plan-limits li { flex: 1; text-align: center; padding: 8px; border-radius: var(--r-sm); background: var(--tint); font-size: .9375rem; }
.plan-limits strong { font-size: 1.125rem; }

.extras { margin-top: 32px; text-align: center; color: var(--muted); display: grid; gap: 4px; }
.extras strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 16px 20px; cursor: pointer; font-weight: 650; font-size: 1.0625rem; list-style: none;
  border-radius: var(--r);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .15s ease-out;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--brand-strong); }
.faq-body { padding: 0 20px 20px; color: var(--muted); display: grid; gap: 12px; max-width: 68ch; }

/* ---------- CTA + formulário ---------- */
.cta-section { background: linear-gradient(180deg, var(--brand-soft), #fff 70%); }
.cta-section:focus { outline: none; }
.cta-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 60rem) { .cta-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }

.lead-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 24px 20px; display: grid; gap: 18px;
}
@media (min-width: 48rem) { .lead-form { padding: 32px; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 36rem) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .intent legend { font-weight: 650; font-size: .9375rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #B9C6D0; border-radius: 10px;
}
.field select { appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%234A5868' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center/18px no-repeat;
}
.field input::placeholder { color: #6B7886; }
.field input:hover, .field select:hover { border-color: #8FA2B0; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; border-color: var(--brand); border-radius: 10px; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.error { color: var(--danger); font-size: .875rem; font-weight: 600; }

.intent { border: 0; padding: 0; margin: 0; min-width: 0; }
.intent legend { padding: 0; margin-bottom: 8px; }
.intent-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.intent-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.intent-options label {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 8px 10px;
  border: 1.5px solid #B9C6D0; border-radius: 10px; font-weight: 600; font-size: .9375rem; cursor: pointer; line-height: 1.25;
}
.intent-options input:checked + label { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-strong); box-shadow: inset 0 0 0 1px var(--brand); }
.intent-options input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 2px; }

.field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.field-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--brand); cursor: pointer; }
.field-check label { font-weight: 500; font-size: .9375rem; color: var(--muted); cursor: pointer; }
.field-check .error { grid-column: 1 / -1; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status:empty { display: none; }
.form-status { border-radius: var(--r); padding: 14px 16px; font-weight: 600; }
.form-status.is-success { background: var(--ok-soft); color: #0F5F2D; border: 1px solid #B5DCC1; }
.form-status.is-error { background: #FDECEA; color: #8A1C12; border: 1px solid #F3C0BA; }
.form-status a { color: inherit; }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / .4); border-top-color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .spinner { animation: spin .8s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 32px; background: #fff; }
.footer-inner { display: grid; gap: 24px; }
@media (min-width: 48rem) { .footer-inner { grid-template-columns: 1fr auto; align-items: start; } }
.footer-desc { margin-top: 10px; color: var(--muted); font-size: .9375rem; max-width: 32rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { display: inline-block; padding-block: 8px; color: var(--ink); font-weight: 600; }
.legal { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }

/* ---------- Páginas legais ---------- */
.doc { padding-block: 48px 80px; }
.doc h1 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); margin-bottom: 8px; }
.doc h2 { font-size: 1.375rem; margin: 36px 0 10px; }
.doc p, .doc li { color: #2C3A48; max-width: 70ch; }
.doc p + p { margin-top: 12px; }
.doc ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 10px; }
.draft-banner {
  margin: 20px 0 28px; padding: 14px 16px; border-radius: var(--r); background: var(--money-soft); color: #6E3305;
  border: 1px solid #F1D3A8; font-weight: 700;
}

@media (forced-colors: active) {
  .btn, .plan, .panel, .faq details, .lead-form { border: 1px solid CanvasText; }
  .billing-toggle input:checked + label, .intent-options input:checked + label { outline: 2px solid Highlight; }
}

/* entrar (clientes) ao lado do teste grátis */
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-login { font-weight: 600; color: inherit; text-decoration: none; white-space: nowrap; }
.header-login:hover { text-decoration: underline; }
.header-login:focus-visible { outline: 2px solid #0E7490; outline-offset: 3px; border-radius: 4px; }
