:root {
  --navy: #061a2f;
  --navy2: #0b294a;
  --bg: #f3f7fb;
  --card: #fff;
  --ink: #13283d;
  --muted: #647b91;
  --line: #dce6ef;
  --green: #17c98d;
  --blue: #247ef0;
  --danger: #c83e53;
  --warning: #8a5a07;
  --radius: 14px;
  --shadow: 0 18px 60px rgba(24, 52, 78, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.hidden { display: none !important; }
.loading { min-height: 100vh; display: grid; place-items: center; color: var(--muted); }

.top {
  min-height: 70px;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 26px;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 8px 30px #061a2f35;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; }
.mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), #9cf7db);
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 1000;
}
.brand small { display: block; color: #b6c9da; font-weight: 650; }
.top-actions, .actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.actions.end { justify-content: flex-end; }

.main.single {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 56px;
}
.hero.simple, .result-hero {
  background: linear-gradient(135deg, var(--navy), #0b3b69);
  color: #fff;
  border-radius: 22px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.hero h1, .result-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.04em;
}
.hero p, .result-hero p { color: #c7d8ea; margin: 0 0 18px; max-width: 760px; }
.eyebrow {
  display: inline-flex;
  border: 1px solid rgba(118, 220, 255, .28);
  background: rgba(118, 220, 255, .08);
  color: #c7efff;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 850;
}
.purchase-card, .score-box {
  min-width: 220px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .1);
  border-radius: 18px;
  padding: 20px;
}
.purchase-card span, .score-box span { color: #b8cada; font-size: 12px; text-transform: uppercase; font-weight: 850; }
.purchase-card strong, .score-box strong { display: block; font-size: 40px; line-height: 1; margin: 6px 0; }
.purchase-card small, .score-box small { color: #c7d8ea; }
.promo-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .08));
  border-color: rgba(156, 247, 219, .38);
  min-width: 260px;
}
.promo-card span { color: #d9e9f7; }
.promo-card s {
  color: #ffcfcb;
  text-decoration-thickness: 2px;
}
.promo-card strong {
  color: #9cf7db;
  font-size: 54px;
}
.promo-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  border: 1px solid #bfe8d9;
  background: linear-gradient(135deg, #effcf7, #ffffff);
  border-radius: 18px;
  padding: 22px;
  margin: 18px 0;
  box-shadow: var(--shadow);
}
.promo-strip h2 {
  margin: 4px 0 8px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.08;
}
.promo-strip p { margin: 0; color: #176348; }
.promo-kicker {
  display: inline-flex;
  border-radius: 999px;
  background: #17c98d;
  color: #05261c;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.promo-actions {
  display: grid;
  gap: 9px;
  min-width: 230px;
}
.normal-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.price-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 18px;
}
.price-option {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  cursor: pointer;
}
.price-option:has(input:checked), .price-option.selected {
  border-color: var(--green);
  background: #effcf7;
  box-shadow: 0 0 0 3px rgba(23, 201, 141, .14);
}
.price-option input { margin-top: 5px; }
.price-option b {
  display: block;
  color: var(--navy);
  font-size: 13px;
}
.price-option strong {
  display: block;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.05;
  margin: 4px 0;
}
.price-option small { color: var(--muted); }

.card, .notice {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin: 16px 0;
}
.card h2, .notice h2 { margin: 0 0 12px; color: var(--navy); }
.muted { color: var(--muted); }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .question label {
  font-weight: 800;
  font-size: 13px;
  color: #2c4358;
}
.field input, .field select, .field textarea, .question input, .question select {
  width: 100%;
  border: 1px solid #cad8e5;
  border-radius: 10px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus, .question input:focus, .question select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #247ef01c;
}
.question {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px;
  background: #fbfdff;
  margin: 12px 0;
}
.question span {
  display: block;
  color: #087d59;
  font-weight: 1000;
  font-size: 12px;
  margin-bottom: 4px;
}
.question label { display: block; margin-bottom: 10px; }

.notice {
  background: #effcf7;
  border-color: #bfe8d9;
  color: #176348;
  box-shadow: none;
}
.notice.warning, .delivery.warning {
  background: #fff9ed;
  border-color: #f0d399;
  color: var(--warning);
}
.consent { display: block; }
.error-list {
  border: 1px solid #f0b8c2;
  background: #fff1f3;
  color: var(--danger);
  border-radius: 12px;
  padding: 14px;
  margin: 16px 0;
}
.error-list ul { margin: 8px 0 0; }

.btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 17px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.btn-primary { background: linear-gradient(135deg, var(--green), #9cf7db); color: #05261c; }
.btn-light { background: #edf3f8; color: var(--navy); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #ffffff; border: 1px solid rgba(255, 255, 255, .22); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.status {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}
.status.completed { background: #e9fbf4; color: #087d59; }
.delivery p { margin-top: 0; }
li { margin: 8px 0; }

@media print {
  .top, .delivery .actions { display: none; }
  body { background: #fff; }
  .main.single { width: 100%; padding: 0; }
  .card, .result-hero { box-shadow: none; break-inside: avoid; }
}

@media (max-width: 820px) {
  .top { padding: 12px 16px; align-items: flex-start; }
  .brand small { display: none; }
  .hero.simple, .result-hero, .grid-2, .form-grid, .price-options, .promo-strip { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .purchase-card, .score-box { min-width: 0; }
  .promo-card strong { font-size: 46px; }
  .promo-strip h2 { font-size: 24px; }
  .promo-actions { min-width: 0; }
  .actions .btn, .top-actions .btn { width: 100%; }
  .top-actions { justify-content: flex-end; }
}

/* Visual alinhado à landing premium */
:root {
  --navy: #061525;
  --navy2: #123e68;
  --bg: #061525;
  --card: #ffffff;
  --ink: #102033;
  --muted: #617086;
  --line: rgba(16, 32, 51, .12);
  --green: #1f7a5d;
  --blue: #123e68;
  --gold: #caa45d;
  --gold2: #e2c984;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(3, 15, 31, .18);
}

body {
  background:
    radial-gradient(circle at 80% 0%, rgba(202, 164, 93, .2), transparent 34rem),
    linear-gradient(135deg, #061525 0%, #0a2743 48%, #061525 100%);
}

.loading {
  color: rgba(255, 255, 255, .78);
}

.top {
  min-height: 76px;
  background: rgba(6, 21, 37, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: none;
}

.mark {
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #071525;
}

.brand small {
  color: rgba(255, 255, 255, .68);
}

.main.single {
  width: min(1180px, calc(100% - 40px));
  padding: 34px 0 68px;
}

.hero.simple,
.result-hero {
  background:
    radial-gradient(circle at 85% 10%, rgba(202, 164, 93, .22), transparent 28rem),
    linear-gradient(135deg, #061525 0%, #123e68 58%, #061525 100%);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 32px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .22);
  padding: 36px;
}

.eyebrow {
  border: 0;
  background: transparent;
  color: var(--gold2);
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 0;
}

.hero h1,
.result-hero h1 {
  letter-spacing: -.06em;
}

.purchase-card,
.score-box {
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .1);
  border-radius: 24px;
  backdrop-filter: blur(12px);
}

.purchase-card strong,
.score-box strong,
.promo-card strong {
  color: #fff;
}

.card,
.notice {
  border-radius: 24px;
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.card h2,
.notice h2 {
  color: var(--navy);
  letter-spacing: -.03em;
}

.field label,
.question label {
  color: #31475d;
  font-weight: 850;
}

.field input,
.field select,
.field textarea,
.question input,
.question select {
  border-radius: 14px;
  border-color: #d6e0ea;
  background: #fbfdff;
  min-height: 48px;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.question input:focus,
.question select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(202, 164, 93, .18);
}

.question {
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f7fafc);
}

.question span {
  color: var(--green);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.price-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-option {
  border-radius: 20px;
  background: #fff;
}

.price-option:has(input:checked),
.price-option.selected {
  border-color: var(--gold);
  background: #fffaf0;
  box-shadow: 0 0 0 4px rgba(202, 164, 93, .18);
}

.price-option strong {
  color: var(--navy);
}

.notice,
.promo-strip {
  background: #fffaf0;
  border-color: rgba(202, 164, 93, .36);
  color: #705316;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #071525;
  box-shadow: 0 18px 40px rgba(202, 164, 93, .28);
}

.btn-light {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
}

.card .btn-light,
.notice .btn-light,
.form .btn-light {
  background: #edf3f8;
  color: var(--navy);
  border-color: #dbe5ee;
}

.error-list {
  border-radius: 18px;
}

@media (max-width: 960px) {
  .price-options {
    grid-template-columns: 1fr;
  }
}
