:root {
  --royal: #004bd4;
  --secondary: #0b3787;
  --tertiary: #53b4f2;
  --page: #004bd4;
  --panel: #06245f;
  --panel-deep: #031846;
  --panel-soft: #0a3b96;
  --panel-line: rgba(83, 180, 242, 0.38);
  --brand: #004bd4;
  --brand-2: #53b4f2;
  --accent: #ffffff;
  --text: #ffffff;
  --muted: #d7eaff;
  --ink: #111827;
  --white: #ffffff;
  --line: #d9e2ef;
  --shadow: 0 32px 85px rgba(0, 23, 84, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(83, 180, 242, 0.2) 0%, transparent 32%),
    linear-gradient(215deg, rgba(255, 255, 255, 0.16) 0%, transparent 18%),
    linear-gradient(180deg, var(--royal) 0%, var(--secondary) 54%, #031843 100%);
  font-family: Montserrat, Arial, sans-serif;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.floating-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 74px;
  background: rgba(3, 24, 70, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 38px rgba(0, 18, 68, 0.24);
}

.floating-brand {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 12px 26px rgba(0, 24, 82, 0.28);
}

.floating-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-stage {
  position: relative;
  display: grid;
  gap: 18px;
  width: 100%;
  min-height: 100vh;
  padding: 92px 16px 20px;
  justify-items: center;
  align-items: start;
  overflow: hidden;
}

body.is-quiz-mode .landing-stage {
  align-items: center;
  padding-top: 86px;
  padding-bottom: 86px;
}

.landing-stage::before {
  position: absolute;
  inset: 7% auto auto 50%;
  width: min(840px, 82vw);
  height: 78%;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 54%),
    linear-gradient(135deg, rgba(83, 180, 242, 0.22), rgba(0, 75, 212, 0));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateX(-50%) skewX(-8deg);
  pointer-events: none;
}

.landing-stage::after {
  position: absolute;
  right: -18vw;
  bottom: -28vh;
  width: 74vw;
  height: 64vh;
  content: "";
  background: linear-gradient(135deg, transparent 0%, rgba(83, 180, 242, 0.2) 48%, rgba(255, 255, 255, 0.06) 100%);
  transform: rotate(-14deg);
  pointer-events: none;
}

.hero-card {
  position: relative;
  z-index: 1;
  width: calc(100vw - 32px);
  max-width: 380px;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-card {
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(83, 180, 242, 0.2), transparent 42%),
    linear-gradient(150deg, var(--panel) 0%, var(--panel-deep) 100%);
  transition:
    width 0.28s ease,
    max-width 0.28s ease,
    min-height 0.28s ease,
    transform 0.28s ease;
}

.hero-card.is-quiz-active {
  min-height: 0;
}

.hero-copy {
  padding: 46px 24px 20px;
  text-align: center;
}

.eyebrow,
.step-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin: 0 0 24px;
  padding: 0 14px;
  color: #06111f;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  background: var(--white);
  border-radius: 999px;
}

h1 {
  max-width: 12.5ch;
  margin: 0 auto 16px;
  color: var(--white);
  font-size: 1.92rem;
  line-height: 1.02;
  letter-spacing: 0;
  text-align: center;
}

h1 span {
  display: block;
  color: var(--tertiary);
  text-shadow: 0 10px 28px rgba(83, 180, 242, 0.16);
}

.hero-text {
  max-width: 23rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
  text-align: center;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px 18px 22px;
}

.trust-strip article {
  display: grid;
  place-items: center;
  min-height: 106px;
  padding: 16px 10px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(83, 180, 242, 0.26), rgba(255, 255, 255, 0.055)),
    var(--panel-soft);
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 34px rgba(0, 18, 68, 0.2);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  color: var(--brand-2);
}

.card-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-strip strong,
.trust-strip span:not(.card-icon) {
  display: block;
}

.trust-strip strong {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1.05;
}

.trust-strip span:not(.card-icon) {
  margin-top: 2px;
  color: var(--white);
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.1;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.primary-button {
  color: var(--white);
  background: linear-gradient(135deg, var(--tertiary), var(--royal));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 18px 40px rgba(0, 75, 212, 0.36);
}

.primary-button:hover,
.choice:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.button-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}

.primary-button:hover .button-icon {
  transform: translateX(3px);
}

.whatsapp-button img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.hero-cta {
  width: calc(100% - 48px);
  margin: 16px 24px 24px;
  font-size: 1rem;
}

.full {
  width: 100%;
}

.quiz-panel {
  padding: 42px 24px 48px;
  text-align: center;
}

.progress-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.progress-dots span {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  transition:
    width 0.2s ease,
    background 0.2s ease;
}

.progress-dots span.is-active {
  width: 24px;
  background: var(--white);
}

.quiz-icon {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 22px;
  color: var(--brand-2);
}

.quiz-icon svg {
  width: 74px;
  height: 74px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step {
  display: none;
}

.step.is-active {
  display: block;
}

.step h2 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.48rem;
  line-height: 1.05;
  letter-spacing: 0;
  text-align: center;
}

.step p {
  max-width: 27rem;
  margin-inline: auto;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 30px;
}

.choice-grid.stacked {
  grid-template-columns: 1fr;
}

.choice {
  min-height: 58px;
  padding: 0 14px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--tertiary), var(--royal));
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(0, 75, 212, 0.28);
}

.choice:not(:first-child),
.secondary-choice {
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border-color: var(--panel-line);
}

.choice:focus,
.choice:hover {
  border-color: var(--brand);
  outline: 3px solid rgba(83, 180, 242, 0.2);
}

.month-year-picker {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 10px;
  width: 100%;
  max-width: 440px;
  margin: 26px auto 12px;
}

.select-field {
  position: relative;
  display: grid;
}

.select-field span {
  position: absolute;
  left: 18px;
  top: 50%;
  z-index: 1;
  color: var(--white);
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.select-field select {
  width: 100%;
  min-height: 58px;
  padding: 0 44px 0 18px;
  color: transparent;
  font-weight: 900;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--brand-2) 50%) calc(100% - 22px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, rgba(83, 180, 242, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(11, 55, 135, 0.7);
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  outline: 0;
  cursor: pointer;
}

.select-field.has-value select {
  color: var(--white);
}

.select-field.has-value span {
  display: none;
}

.select-field:focus-within select {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(83, 180, 242, 0.2);
}

.select-field option {
  color: #ffffff;
  background: #111827;
}

.field-error {
  min-height: 20px;
  margin: 0 auto 14px;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
}

.field {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  color: var(--white);
  font-weight: 800;
  text-align: left;
}

.field input {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(11, 55, 135, 0.72);
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  outline: 0;
}

.money-field {
  position: relative;
}

.money-field::before {
  position: absolute;
  left: 14px;
  bottom: 15px;
  color: var(--white);
  content: "R$";
  font-weight: 900;
  pointer-events: none;
}

.money-field input {
  padding-left: 44px;
  font-weight: 900;
}

.field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(83, 180, 242, 0.2);
}

.secondary-button {
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  border: 1px solid var(--panel-line);
}

.faq-band {
  position: relative;
  width: min(980px, calc(100% - 32px));
  padding: 64px 0 70px;
  color: var(--white);
  margin-inline: auto;
  background: transparent;
}

.faq-band h2 {
  max-width: 12ch;
  margin-bottom: 26px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: 0;
}

details {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(83, 180, 242, 0.14), rgba(255, 255, 255, 0.035)),
    rgba(3, 24, 70, 0.54);
  border: 1px solid rgba(83, 180, 242, 0.24);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 48px rgba(0, 18, 68, 0.18);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

details:hover,
details[open] {
  border-color: rgba(83, 180, 242, 0.52);
  background:
    linear-gradient(135deg, rgba(83, 180, 242, 0.2), rgba(255, 255, 255, 0.05)),
    rgba(3, 24, 70, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 24px 56px rgba(0, 18, 68, 0.24);
  transform: translateY(-1px);
}

.faq-band p {
  color: var(--muted);
  line-height: 1.55;
}

details + details {
  margin-top: 12px;
}

summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 20px 22px;
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--tertiary), var(--royal));
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(0, 75, 212, 0.28);
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 760px;
  padding: 0 22px 22px;
}

.site-footer {
  position: relative;
  padding: 44px 16px 36px;
  color: rgba(255, 255, 255, 0.82);
  background: #031843;
}

.site-footer::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(83, 180, 242, 0.44), transparent);
}

.footer-inner {
  width: min(1328px, 100%);
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  gap: 34px;
}

.footer-about,
.footer-block {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-logo {
  display: block;
  width: min(260px, 78vw);
  height: auto;
  margin-bottom: 8px;
}

.site-footer h2 {
  width: fit-content;
  margin: 0 0 6px;
  padding-bottom: 10px;
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.1;
  border-bottom: 2px solid rgba(83, 180, 242, 0.35);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
}

.site-footer strong,
.footer-lead {
  color: var(--white);
  font-weight: 800;
}

.footer-social {
  padding-top: 24px;
  margin-top: 22px;
  border-top: 1px solid rgba(83, 180, 242, 0.36);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.social-links a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: linear-gradient(135deg, var(--tertiary), var(--royal));
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 75, 212, 0.34);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 75, 212, 0.42);
}

.social-links img,
.social-links svg {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.social-links svg {
  fill: currentColor;
}

.footer-bar {
  display: grid;
  gap: 12px;
  padding-top: 22px;
  margin-top: 34px;
  border-top: 1px solid rgba(83, 180, 242, 0.42);
}

.footer-legal {
  margin-top: 24px !important;
  font-size: 0.78rem !important;
  line-height: 1.7 !important;
}

@media (min-width: 760px) {
  .floating-header {
    height: 104px;
  }

  .floating-brand {
    width: 66px;
    height: 66px;
  }

  .landing-stage {
    align-items: center;
    justify-content: center;
    padding: 130px 42px 42px;
  }

  .hero-card {
    width: 100%;
    max-width: 440px;
    margin-inline: 0;
  }

  h1 {
    font-size: 2.12rem;
  }

  .step h2 {
    font-size: 1.6rem;
  }

  .faq-band {
    padding-block: 78px 84px;
  }

  .site-footer {
    padding: 54px 40px 42px;
  }

  .footer-grid {
    grid-template-columns: 1.1fr 1fr 1.25fr;
    gap: clamp(48px, 8vw, 120px);
  }

  .footer-bar {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .intro-panel {
    padding: 0;
  }

  .quiz-panel {
    width: min(540px, 100%);
    margin: 0 auto;
    padding: 74px 36px 78px;
  }

  .step h2 {
    font-size: 2rem;
  }

  .hero-card.is-quiz-active {
    min-height: 0;
    background:
      radial-gradient(circle at 50% 0%, rgba(83, 180, 242, 0.22), transparent 46%),
      linear-gradient(150deg, rgba(6, 36, 95, 0.94) 0%, rgba(3, 24, 70, 0.98) 100%);
  }

  .hero-card.is-quiz-active .choice-grid {
    max-width: 440px;
    margin-inline: auto;
  }
}

@media (min-width: 1080px) {
  .landing-stage {
    padding: 138px 52px 58px;
  }

  .hero-card {
    width: min(980px, calc(100vw - 104px));
    max-width: 980px;
    min-height: 560px;
    display: grid;
    align-items: center;
    overflow: visible;
    background:
      linear-gradient(135deg, rgba(83, 180, 242, 0.2), transparent 46%),
      linear-gradient(150deg, rgba(6, 36, 95, 0.88) 0%, rgba(3, 24, 70, 0.94) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .intro-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    align-items: center;
    gap: 38px;
    padding: 54px;
  }

  .hero-copy {
    padding: 0;
    text-align: left;
  }

  .hero-copy .eyebrow {
    margin-bottom: 24px;
  }

  h1 {
    max-width: 11.5ch;
    margin-inline: 0;
    font-size: 3.3rem;
    text-align: left;
  }

  .hero-text {
    max-width: 30rem;
    margin-inline: 0;
    font-size: 1.08rem;
    text-align: left;
  }

  .trust-strip {
    padding: 0;
    gap: 14px;
  }

  .trust-strip article {
    min-height: 134px;
  }

  .card-icon,
  .card-icon svg {
    width: 34px;
    height: 34px;
  }

  .hero-cta {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 460px;
    min-height: 60px;
    margin: 0;
    justify-self: center;
    font-size: 1.08rem;
  }

  .hero-card.is-quiz-active {
    width: min(760px, calc(100vw - 104px));
    max-width: 760px;
    min-height: 0;
    overflow: hidden;
  }
}

@media (min-width: 1120px) {
  .landing-stage {
    padding-block: 140px 58px;
  }

  .hero-card {
    transform: translateY(-4px);
  }
}
