:root {
  --ink: #10201a;
  --ink-soft: #4a5a53;
  --bg: #fbfaf6;
  --bg-alt: #f1efe7;
  --card: #ffffff;
  --line: #e2ded2;
  --brand: #0b3d2e;
  --brand-2: #127a55;
  --accent: #f2b53a;
  --chat-bg: #ece5dd;
  --chat-in: #ffffff;
  --chat-out: #d9fdd3;
  --danger: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(16 32 26 / 6%), 0 8px 24px rgb(16 32 26 / 8%);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; }
a { color: var(--brand-2); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 760px; }
section { padding: 72px 0; scroll-margin-top: 64px; }
.section-lead { color: var(--ink-soft); font-size: 1.125rem; margin-top: -0.25em; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid var(--brand);
  background: var(--brand); color: #fff;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--small { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Topo */
.topbar { position: sticky; top: 0; z-index: 20; background: rgb(251 250 246 / 92%); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.125rem; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: var(--accent); font-weight: 800; }
.topnav { display: flex; gap: 22px; margin-left: auto; }
.topnav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.topnav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 56px 0 72px; background:
  radial-gradient(900px 400px at 85% 10%, rgb(18 122 85 / 12%), transparent 60%),
  radial-gradient(700px 300px at 0% 100%, rgb(242 181 58 / 14%), transparent 60%); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-2); background: rgb(18 122 85 / 10%); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.lead { font-size: 1.1875rem; color: var(--ink-soft); max-width: 36em; }
.lead strong { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.hero__note { font-size: .9375rem; color: var(--ink-soft); }

/* Celular de exemplo */
.hero__demo { margin: 0; justify-self: center; width: 100%; max-width: 380px; }
.phone { background: var(--chat-bg); border-radius: 28px; border: 8px solid #1b1b1b; box-shadow: 0 30px 60px rgb(16 32 26 / 22%); overflow: hidden; }
.phone__bar { display: flex; align-items: center; gap: 10px; background: var(--brand); color: #fff; padding: 12px 14px; }
.phone__bar strong { display: block; font-size: .9375rem; }
.phone__bar small { opacity: .8; font-size: .75rem; }
.phone__avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--brand); font-weight: 800; }
.phone__chat { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 18px; font-size: .875rem; line-height: 1.4; }
.phone__caption { text-align: center; font-size: .8125rem; color: var(--ink-soft); margin-top: 10px; }
.msg { position: relative; max-width: 85%; padding: 8px 10px 18px; border-radius: 10px; box-shadow: 0 1px 1px rgb(0 0 0 / 8%); }
.msg time { position: absolute; right: 8px; bottom: 3px; font-size: .6875rem; color: #667781; }
.msg--in { background: var(--chat-in); align-self: flex-start; border-top-left-radius: 2px; }
.msg--out { background: var(--chat-out); align-self: flex-end; border-top-right-radius: 2px; }
.chip { align-self: center; background: rgb(255 255 255 / 85%); color: #54656f; font-size: .75rem; padding: 5px 10px; border-radius: 8px; text-align: center; }
.chip--ok { background: var(--brand); color: #fff; font-weight: 600; }

/* Cartões */
.cards { display: grid; gap: 20px; margin-top: 28px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); margin: 0; }
.card__icon { font-size: 1.75rem; display: block; margin-bottom: 10px; }
.card--flat { box-shadow: none; }
.pain { background: var(--bg-alt); }

/* Passos */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.steps li { padding: 24px; border-left: 3px solid var(--brand-2); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; }
.steps p { color: var(--ink-soft); margin: 0; }
.steps__n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: var(--accent); font-weight: 800; margin-bottom: 12px; }

.features { background: var(--bg-alt); }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; align-items: stretch; max-width: 980px; margin-left: auto; margin-right: auto; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan li { position: relative; padding-left: 24px; margin-bottom: 8px; font-size: .9375rem; color: var(--ink-soft); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-2); font-weight: 800; }
.plan__price { margin: 4px 0 2px; }
.plan__price strong { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.plan__price span { color: var(--ink-soft); }
.plan__quota { font-size: .875rem; font-weight: 600; color: var(--brand-2); margin-bottom: 16px; }
.plan--featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan__badge { position: absolute; top: -12px; left: 20px; background: var(--accent); color: var(--brand); font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.pricing__fine { margin: 24px auto 0; font-size: .875rem; color: var(--ink-soft); max-width: 980px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--brand-2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding-right: 32px; }

/* Cadastro */
.signup { background: var(--brand); color: #fff; }
.signup__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.signup__copy p { color: rgb(255 255 255 / 85%); font-size: 1.125rem; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.form, .form-done { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 0 20px 50px rgb(0 0 0 / 25%); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 10px 14px; font: 400 1rem var(--font); color: var(--ink);
  background: #fff; border: 1px solid #c9c4b5; border-radius: 10px;
}
.field input:focus, .field select:focus { border-color: var(--brand-2); }
.field [aria-invalid="true"] { border-color: var(--danger); background: #fff6f5; }
.field--hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--ink-soft); margin: 6px 0 18px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.consent.is-invalid { color: var(--danger); }
.form__error { color: var(--danger); font-weight: 600; font-size: .9375rem; }
.form-done { text-align: center; }
.form-done__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--chat-out); color: var(--brand); font-size: 1.75rem; font-weight: 800; margin-bottom: 12px; }
.form-done p { color: var(--ink-soft); }

/* Rodapé */
.footer { padding: 28px 0; border-top: 1px solid var(--line); font-size: .875rem; color: var(--ink-soft); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { color: var(--ink-soft); }

/* Aviso de cookies */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; max-width: 560px; margin: 0 auto; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 16px 18px; display: flex; gap: 16px; align-items: center; box-shadow: 0 20px 40px rgb(0 0 0 / 30%); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: .875rem; }
.cookie__actions { display: flex; gap: 8px; flex: none; }
.cookie .btn { background: var(--accent); border-color: var(--accent); color: var(--brand); }
.cookie .btn--ghost { background: transparent; border-color: rgb(255 255 255 / 50%); color: #fff; }

/* Página de texto (privacidade) */
.doc { padding: 48px 0 72px; }
.doc h1 { font-size: 2rem; }
.doc h2 { font-size: 1.25rem; margin-top: 2em; }
.doc p, .doc li { color: var(--ink-soft); }
.doc .updated { font-size: .875rem; }

/* Responsivo */
@media (max-width: 960px) {
  .hero__grid, .signup__grid { grid-template-columns: 1fr; gap: 40px; }
  .plans { grid-template-columns: 1fr; max-width: 440px; }
  .cards--3, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .topnav { display: none; }
  .topbar__inner { justify-content: space-between; }
  .plans { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .form, .form-done { padding: 20px; }
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie__actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
