:root {
  /* Identidade visual Jonatas Andrade */
  --brand: #0F6B3A;
  --brand-2: #22C55E;
  --accent: #FFC629;
  --bg: #F8FAF7;
  --card: #ffffff;
  --text: #1F2937;
  --muted: #5b6573;
  --line: #e3e8e2;
  --selected: #eaf7ef;
  --whatsapp: #1fa855;
  --error: #c0392b;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1712;
    --card: #14221a;
    --text: #eef3ef;
    --muted: #9fb0a5;
    --line: #24372c;
    --selected: #173825;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
.topbar {
  background: var(--brand);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; }
.logo {
  width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--brand);
  display: grid; place-items: center; font-size: 1.3rem;
}
.top-right { display: flex; align-items: center; gap: 14px; }
.secure { font-size: .8rem; opacity: .85; }
.insta { color: #fff; display: grid; place-items: center; opacity: .9; }
.insta:hover { opacity: 1; }
.footer a { color: inherit; }
.wrap { width: 100%; max-width: 620px; margin: 0 auto; padding: 24px 16px 40px; flex: 1; }
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: 0 10px 30px rgba(15, 61, 62, .08);
  animation: in .25s ease;
}
@keyframes in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hidden { display: none !important; }
.center { text-align: center; }
.eyebrow { color: var(--brand-2); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; margin: 0 0 8px; }
h1 { font-size: clamp(1.6rem, 5vw, 2.1rem); line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: clamp(1.25rem, 4vw, 1.5rem); line-height: 1.25; margin: 6px 0 6px; }
.lead { color: var(--muted); font-size: 1.05rem; line-height: 1.5; }
.sub { color: var(--muted); margin: 0 0 18px; line-height: 1.45; }
.sub:empty { display: none; }
.bullets { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.bullets li { display: flex; gap: 10px; align-items: center; }
.bullets li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--selected); color: var(--brand-2); display: grid; place-items: center; font-weight: 700;
}
.hint { color: var(--muted); font-size: .85rem; text-align: center; margin: 12px 0 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 12px; padding: 14px 20px; font-size: 1rem; font-weight: 700;
  cursor: pointer; text-decoration: none; transition: transform .1s, filter .15s;
}
.btn:active { transform: scale(.98); }
.btn:hover { filter: brightness(1.05); }
.btn.big { width: 100%; padding: 17px 20px; font-size: 1.05rem; }
.btn.primary { background: var(--accent); color: #1d1a12; }
.btn.whatsapp { background: var(--whatsapp); color: #fff; }
.btn:disabled { opacity: .6; cursor: progress; }
.link { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px 0; font-size: .9rem; }
.link:hover { color: var(--text); }
.progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--brand-2), var(--accent)); transition: width .3s ease; }
.step-meta { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 8px; color: var(--muted); font-size: .85rem; }
.options { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .options.grid2 { grid-template-columns: 1fr 1fr; } }
.option {
  display: flex; align-items: center; gap: 12px; text-align: left;
  border: 2px solid var(--line); background: var(--card); color: var(--text);
  border-radius: 12px; padding: 15px 16px; font-size: 1rem; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.option:hover { border-color: var(--brand-2); }
.option[aria-checked="true"] { border-color: var(--brand-2); background: var(--selected); font-weight: 600; }
.option .icon { font-size: 1.4rem; width: 30px; text-align: center; flex: none; }
.option .arrow { margin-left: auto; color: var(--muted); }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
label small { font-weight: 400; color: var(--muted); }
input[type="text"], input:not([type]), input[type="tel"], input[type="email"] {
  font: inherit; font-weight: 400; padding: 14px; border-radius: 10px; border: 2px solid var(--line);
  background: var(--card); color: var(--text); width: 100%;
}
input:focus { outline: none; border-color: var(--brand-2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .85rem; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--brand-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { color: var(--error); margin: 0; min-height: 1em; font-size: .9rem; }
.spinner {
  width: 54px; height: 54px; margin: 10px auto 14px; border-radius: 50%;
  border: 5px solid var(--line); border-top-color: var(--brand-2); animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.checklist { list-style: none; padding: 0; margin: 18px auto 0; display: grid; gap: 10px; max-width: 360px; text-align: left; }
.checklist li { color: var(--muted); opacity: .4; transition: opacity .3s; }
.checklist li.done { opacity: 1; color: var(--text); }
.checklist li.done::before { content: "✓ "; color: var(--brand-2); font-weight: 700; }
.ok {
  width: 64px; height: 64px; margin: 4px auto 12px; border-radius: 50%; background: var(--whatsapp);
  color: #fff; display: grid; place-items: center; font-size: 2rem; font-weight: 700;
}
.footer { text-align: center; color: var(--muted); font-size: .78rem; padding: 18px 16px 26px; }
@media (max-width: 420px) { .secure { display: none; } .card { padding: 22px 16px; } }

/* ---- marca ---- */
.topbar { background: var(--card); color: var(--text); border-bottom: 4px solid var(--accent); }
.topbar .logo { width: 52px; height: auto; background: none; border-radius: 0; }
.wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.wordmark strong { color: var(--brand); text-transform: uppercase; font-weight: 800; letter-spacing: .02em; font-size: 1.05rem; }
.wordmark small { color: var(--text); text-transform: uppercase; letter-spacing: .22em; font-size: .58rem; font-weight: 600; margin-top: 3px; }
.insta { color: var(--brand); }
.secure { color: var(--muted); }
.hero { position: relative; margin: -28px -22px 22px; height: 210px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--brand); }
.hero img { position: absolute; right: 0; top: 0; height: 100%; width: 62%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--brand) 42%, rgba(15,107,58,.6) 58%, transparent 75%); z-index: 1; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--accent); z-index: 2; }
.hero p { position: absolute; z-index: 2; left: 22px; top: 50%; transform: translateY(-50%); margin: 0; max-width: 55%;
  color: #fff; font-weight: 700; font-size: 1.35rem; line-height: 1.15; }
.hero p span { display: block; color: var(--accent); }
@media (max-width: 420px) { .hero { margin: -22px -16px 18px; height: 180px; } .hero p { font-size: 1.15rem; left: 16px; } }
h1, h2 { color: var(--brand); font-weight: 800; }
@media (prefers-color-scheme: dark) { h1, h2 { color: #eef3ef; } .wordmark strong { color: var(--brand-2); } .insta { color: var(--brand-2); } }
.eyebrow { color: var(--brand); }
.bullets li::before { background: var(--selected); color: var(--brand); }
.btn.primary { background: var(--accent); color: var(--brand); }
.option[aria-checked="true"], .option:hover { border-color: var(--brand); }
.bar { background: linear-gradient(90deg, var(--brand), var(--brand-2) 70%, var(--accent)); }
.spinner { border-top-color: var(--brand); }
.footer { background: var(--brand); color: #e6f2ea; }

/* tela de análise */
.radar { position: relative; width: 110px; height: 110px; margin: 6px auto 14px; }
.radar span { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--brand-2); opacity: 0; animation: pulse 2.1s ease-out infinite; }
.radar span:nth-child(2) { animation-delay: .7s; }
.radar span:nth-child(3) { animation-delay: 1.4s; }
.radar b { position: absolute; inset: 28px; border-radius: 50%; background: var(--brand); color: var(--accent); display: grid; place-items: center; font-size: 1.8rem; }
@keyframes pulse { 0% { transform: scale(.45); opacity: .9; } 100% { transform: scale(1.15); opacity: 0; } }
.analyze-result { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--selected); color: var(--brand); font-weight: 700; }
