:root {
  --navy: #0d2340;
  --navy-2: #143e6b;
  --blue: #1f5db8;
  --indigo: #5d4dd6;
  --purple: #7b5af7;
  --green: #39b778;
  --gold: #f4cc52;
  --amber: #f9d782;
  --pink: #ef4d6d;
  --cream: #fffaf0;
  --white: #ffffff;
  --text: #1c2c3d;
  --muted: #586e85;
  --line: rgba(13, 35, 64, 0.12);
  --shadow: 0 18px 45px rgba(13, 35, 64, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.wrap {
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 18px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 10px;
  font-weight: 700;
}
.skip-link:focus { top: 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(13, 35, 64, 0.08);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand img {
  width: auto;
  height: 52px;
  max-width: 200px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  color: rgba(13, 35, 64, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--amber));
  box-shadow: 0 14px 26px rgba(244, 204, 82, 0.18);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(13, 35, 64, 0.12);
  border-radius: 12px;
  background: rgba(13, 35, 64, 0.02);
  color: var(--navy);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  border-radius: 2px;
}

.section-tight {
  padding-top: 24px;
  padding-bottom: 16px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.trust-card {
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 10px 30px rgba(13, 35, 64, 0.06);
}

.trust-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(93, 77, 214, 0.08);
  color: var(--purple);
  font-size: 24px;
}

.trust-card h3 {
  margin: 16px 0 8px;
  font-size: 22px;
  line-height: 1.2;
  color: var(--navy);
}

.trust-card p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 54px;
  color: var(--white);
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 46%, var(--blue) 100%);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::before {
  width: 360px;
  height: 360px;
  right: -80px;
  bottom: -120px;
  background: rgba(244, 204, 82, 0.12);
  border: 28px solid rgba(244, 204, 82, 0.08);
}

.page-hero::after {
  width: 230px;
  height: 230px;
  left: -40px;
  top: 40px;
  background: rgba(57, 183, 120, 0.08);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.94;
  letter-spacing: -1.2px;
}

.eyebrow-tag {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid rgba(244, 204, 82, 0.7);
  border-radius: 999px;
  background: rgba(13, 35, 64, 0.25);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy p {
  max-width: 620px;
  margin: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.hero-card {
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.card-kicker {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin: 0 0 18px;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(28px, 3vw, 38px);
}

.hero-card ol {
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.82);
}

.mini-price {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mini-price span,
.mini-price small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
}

.mini-price strong {
  display: block;
  margin: 6px 0 0;
  font-size: 30px;
  color: var(--gold);
}

.section {
  padding: 82px 0;
}

.section-alt {
  background: rgba(128, 105, 238, 0.04);
}

.section-head {
  margin-bottom: 28px;
}

.section-head.centered {
  text-align: center;
}

.kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  color: var(--navy);
}

.requirements-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.info-panel {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.info-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}

.info-panel li + li {
  margin-top: 10px;
}

.highlight-panel {
  display: grid;
  align-content: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(93, 77, 214, 0.1), rgba(57, 183, 120, 0.08));
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.plan-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.plan-card.featured {
  border-color: rgba(57, 183, 120, 0.45);
  background: linear-gradient(180deg, rgba(57, 183, 120, 0.08), rgba(255, 255, 255, 1));
}

.plan-label {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(93, 77, 214, 0.08);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-price {
  display: block;
  margin: 18px 0 10px;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  color: var(--navy);
}

.plan-card p {
  margin: 0;
  color: var(--muted);
}

.form-layout {
  display: grid;
  gap: 20px;
}

.assinatura-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field-group label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #dfe7f0;
  border-radius: 12px;
  background: white;
  color: var(--text);
  outline: none;
}

.field-group textarea {
  min-height: 110px;
  resize: vertical;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 93, 184, 0.12);
}

.signature-box {
  padding: 12px;
  border: 1px solid #dfe7f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f9fbff);
}

#signature-pad {
  display: block;
  width: 100%;
  height: 220px;
  border: 2px dashed rgba(13, 35, 64, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  cursor: crosshair;
}

.signature-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.btn-ghost-light {
  border: 1px solid rgba(13, 35, 64, 0.12);
  color: var(--navy);
  background: rgba(13, 35, 64, 0.03);
}

.plan-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.plan-option {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 16px 14px;
  border: 1px solid #dfe7f0;
  border-radius: 14px;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.plan-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-option span {
  font-weight: 700;
  color: var(--navy);
}

.plan-option strong {
  color: var(--purple);
  font-size: 15px;
}

.plan-option.selected {
  border-color: var(--green);
  background: rgba(57, 183, 120, 0.1);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.regulation-list {
  display: grid;
  gap: 16px;
  padding-left: 20px;
  font-size: 16px;
  color: var(--text);
}

.regulation-list li {
  padding-left: 8px;
}

.regulation-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.site-footer {
  padding: 48px 0 62px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.84);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.site-footer h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 18px;
}

.site-footer p,
.site-footer a {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 860px) {
  .hero-inner,
  .requirements-grid,
  .plans-grid,
  .trust-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .nav-cta { display: none; }
  .menu-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: var(--navy);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.82);
  }

  .nav-links a.active::after,
  .nav-links a:hover::after {
    display: none;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 24px), 1180px); }
  .page-hero { padding-top: 64px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .plan-selector { grid-template-columns: 1fr; }
  .assinatura-form { padding: 18px; }
}
