:root {
  --fundo: #f4f6fb; --cartao: #ffffff; --texto: #030712; --corpo: #334155; --apoio: #64748b;
  --borda: #d6dde8; --linha: #e8edf4; --marca: #059669; --marca-forte: #047857; --marca-suave: #ecfdf5;
  --hero: #060912; --hero-2: #0e1422; --nao: #94a3b8;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fundo: #060912; --cartao: #0e1422; --texto: #f8fafc; --corpo: #c4cede; --apoio: #8a98b0;
    --borda: #2a354c; --linha: #1a2336; --marca: #10b981; --marca-forte: #34d399; --marca-suave: #0b2a22;
    --nao: #56637c; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fundo: #060912; --cartao: #0e1422; --texto: #f8fafc; --corpo: #c4cede; --apoio: #8a98b0;
  --borda: #2a354c; --linha: #1a2336; --marca: #10b981; --marca-forte: #34d399; --marca-suave: #0b2a22;
  --nao: #56637c; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fundo); color: var(--corpo);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { display: block; }
h1, h2, h3 { color: var(--texto); line-height: 1.15; margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* ---------- topo ---------- */
.hero {
  position: relative; overflow: hidden; color: #c4cede;
  background: radial-gradient(1200px 500px at 70% -10%, #0b3b2c 0%, transparent 60%), linear-gradient(180deg, var(--hero) 0%, var(--hero-2) 100%);
  padding-bottom: 120px;
}
.campo {
  position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: repeating-linear-gradient(100deg, transparent 0 46px, rgba(16,185,129,.16) 46px 47px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 55%, transparent 100%);
}
.topo { position: relative; display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo .nome { height: 22px; width: auto; }
.hero-txt { position: relative; padding-top: 48px; text-align: center; }
.selo { display: inline-block; margin: 0 0 18px; padding: 4px 12px; border: 1px solid rgba(16,185,129,.4); border-radius: 999px; color: #6ee7b7; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { color: #f8fafc; font-size: clamp(32px, 5.4vw, 56px); letter-spacing: -.02em; font-weight: 750; }
.hero h1 span { color: #34d399; }
.sub { max-width: 620px; margin: 18px auto 32px; font-size: 18px; color: #aab6c8; }

.periodo { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.periodo button {
  font: inherit; font-size: 15px; color: #c4cede; background: transparent; border: 0; border-radius: 999px;
  padding: 9px 18px; cursor: pointer; min-height: 40px;
}
.periodo button em { font-style: normal; font-size: 12px; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(16,185,129,.18); color: #6ee7b7; }
.periodo button.ativo { background: #f8fafc; color: #030712; font-weight: 600; }
.periodo button.ativo em { background: #d1fae5; color: #047857; }
.periodo button:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid #34d399; outline-offset: 2px; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: background .15s, border-color .15s; }
.btn-pri { background: var(--marca); color: #fff; }
.btn-pri:hover { background: var(--marca-forte); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-pri { color: #04140e; } }
:root[data-theme="dark"] .btn-pri { color: #04140e; }
.btn-sec { border: 1px solid var(--borda); color: var(--texto); background: transparent; }
.btn-sec:hover { border-color: var(--marca); }
.btn-ghost-escuro { border: 1px solid rgba(255,255,255,.18); color: #f8fafc; min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-ghost-escuro:hover { border-color: #34d399; }

/* ---------- planos ---------- */
.planos { position: relative; margin-top: -88px; display: grid; gap: 20px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .planos { grid-template-columns: repeat(3, 1fr); } }
.plano { position: relative; background: var(--cartao); border: 1px solid var(--borda); border-radius: 18px; padding: 28px 24px; box-shadow: 0 10px 30px -18px rgba(3,7,18,.35); }
.plano.destaque { border: 2px solid var(--marca); box-shadow: 0 24px 50px -24px rgba(5,150,105,.55); }
@media (min-width: 900px) { .plano.destaque { transform: translateY(-12px); } }
.fita { position: absolute; top: -13px; left: 24px; margin: 0; padding: 3px 12px; border-radius: 999px; background: var(--marca); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.plano h2 { font-size: 24px; }
.pergunta { margin: 6px 0 2px; color: var(--marca-forte); font-weight: 600; }
.para { margin: 0 0 18px; color: var(--apoio); font-size: 15px; }
.preco { display: flex; align-items: baseline; gap: 4px; margin: 0; color: var(--texto); font-variant-numeric: tabular-nums; }
.preco .rs { font-size: 18px; font-weight: 600; }
.preco .v { font-size: 44px; font-weight: 750; letter-spacing: -.02em; }
.preco .per { color: var(--apoio); }
.nota-preco { margin: 2px 0 20px; min-height: 1.5em; color: var(--apoio); font-size: 14px; }
.plano .btn { width: 100%; }
.itens { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--linha); display: grid; gap: 10px; font-size: 15px; }
.itens li { position: relative; padding-left: 28px; }
.itens li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--marca-suave) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23059669' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.itens li b { color: var(--texto); }
.itens li.tudo { padding-left: 0; font-weight: 600; color: var(--texto); }
.itens li.tudo::before { display: none; }

/* ---------- seções ---------- */
.bloco { margin-top: 88px; }
.titulo { font-size: clamp(24px, 3.2vw, 32px); letter-spacing: -.01em; margin-bottom: 24px; text-align: center; }
.rolagem { overflow-x: auto; border: 1px solid var(--borda); border-radius: 14px; background: var(--cartao); }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--linha); vertical-align: top; }
thead th { color: var(--texto); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; background: var(--fundo); }
tbody th { color: var(--texto); font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.col-destaque, th.col-destaque { background: var(--marca-suave); }
thead th.col-destaque { color: var(--marca-forte); }
td.s { color: var(--marca-forte); font-weight: 600; }
td.n { color: var(--nao); }

.cards3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
.cards3 > div { background: var(--cartao); border: 1px solid var(--borda); border-radius: 14px; padding: 22px; }
.cards3 h3 { font-size: 18px; margin-bottom: 8px; }
.cards3 p { margin: 0; font-size: 15px; }

.faq { max-width: 760px; }
details { border-bottom: 1px solid var(--borda); }
summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative; color: var(--texto); font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; color: var(--marca); }
details[open] summary::after { content: "−"; }
details p { margin: -6px 0 18px; }

.contato { margin-top: 88px; text-align: center; padding-top: 56px; padding-bottom: 56px; border-radius: 20px;
  background: radial-gradient(700px 260px at 50% 0%, #0b3b2c 0%, transparent 70%), var(--hero); color: #aab6c8; }
.contato h2 { color: #f8fafc; font-size: clamp(24px, 3.4vw, 34px); }
.contato p { margin: 12px auto 24px; max-width: 520px; }
@media (max-width: 1151px) { .contato { border-radius: 0; } }

.rodape { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 28px; padding-bottom: 36px; color: var(--apoio); font-size: 14px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
