/* Refinamento de conversão e acabamento visual */
.hero {
  padding-top: clamp(76px, 8vw, 118px);
  padding-bottom: clamp(78px, 8vw, 112px);
}

.hero-copy {
  max-width: 1320px;
}

.hero .lead {
  max-width: 900px;
  margin-bottom: 0;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 58px;
  margin-top: 36px;
  padding: 0 28px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}

.hero-cta:hover {
  background: #b2ff16;
  transform: translateY(-2px);
}

.hero-cta span {
  font-size: 22px;
  line-height: 1;
}

.steps-summary {
  max-width: 880px;
  margin-top: 64px;
}

.form-section {
  grid-template-columns: minmax(260px, 360px) minmax(0, 820px);
  align-items: start;
  gap: clamp(54px, 7vw, 108px);
  padding-top: clamp(72px, 8vw, 108px);
  padding-bottom: clamp(72px, 8vw, 108px);
}

.form-section aside {
  position: sticky;
  top: 36px;
}

.form-section aside h2 {
  max-width: 350px;
}

#lead-form {
  width: 100%;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(9, 11, 14, .08);
}

#lead-form .panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#lead-form .panel > .kicker {
  margin-top: 30px;
}

#lead-form .actions {
  align-items: center;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

#lead-form .actions button {
  min-width: 150px;
  min-height: 52px;
  transition: transform .18s ease, opacity .18s ease;
}

#lead-form .actions button:hover {
  transform: translateY(-1px);
}

#lead-form #next,
#lead-form #submit {
  margin-left: auto;
}

#lead-form .error:empty {
  display: none;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
  font-size: 13px;
}

footer a {
  color: var(--ink);
  font-weight: 800;
  text-underline-offset: 4px;
}

@media (max-width: 850px) {
  header p {
    max-width: 120px;
    text-align: right;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 72px);
  }

  .hero-cta {
    width: 100%;
  }

  .steps-summary {
    margin-top: 52px;
    padding-left: 22px;
    font-size: 17px;
  }

  .form-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
    padding-right: 20px;
    padding-left: 20px;
    scroll-margin-top: 18px;
  }

  .form-section aside {
    position: static;
  }

  #lead-form {
    padding: 22px;
    border-radius: 20px;
  }

  #lead-form .form-head h3 {
    font-size: 27px;
  }

  #lead-form .actions {
    flex-direction: column-reverse;
  }

  #lead-form .actions button {
    width: 100%;
  }

  #lead-form #next,
  #lead-form #submit {
    margin-left: 0;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
