/* Refino de fluxo / home — carregado só na página inicial */

html {
  scroll-behavior: smooth;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero: mantém padding do home.scss; botões ocupam largura do .wrapper */

#page-home .section-hero .hero-heading {
  margin: 0 0 24rem;
  color: #fff;
  font-size: 40rem;
  font-weight: 800;
  line-height: 1.15;
}

@media (max-width: 1023px) {
  #page-home .section-hero .hero-heading {
    font-size: 30rem;
  }
}

#page-home .section-hero .hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14rem;
  margin-top: 40rem;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1024px) {
  #page-home .section-hero .hero-ctas {
    max-width: 485rem;
  }
}

#page-home .section-hero .btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8rem;
  box-sizing: border-box;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: 50px;
  background-color: #56e33a;
  color: #353535;
  font-size: 15rem;
  font-weight: 700;
  padding: 12rem 20rem;
  letter-spacing: -0.03em;
  width: 100%;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

#page-home .section-hero .btn-hero-primary:hover {
  background-color: #fff;
  border-color: #56e33a;
  color: #353535;
}

#page-home .section-hero .btn-hero-ghost {
  border: 2px solid rgba(255, 255, 255, 0.85);
  cursor: pointer;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 15rem;
  font-weight: 600;
  padding: 12rem 20rem;
  width: 100%;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

#page-home .section-hero .btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

#page-home .section-proof {
  position: relative;
  z-index: 3;
  padding: 42rem 0 34rem;
  background: #011a2e;
}

#page-home .section-proof .proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12rem;
  max-width: 980rem;
  margin: 0 auto;
}

#page-home .prova-social .proof-grid {
  display: flex;
  justify-content: space-around;
  text-align: center;
  font-weight: 700;
  margin: 40rem 0;
}

#page-home .section-proof .proof-item {
  margin: 0;
  text-align: center;
  color: #c5dff3;
  font-size: 22rem;
  font-weight: 700;
  line-height: 1.35;
}

#page-home .section-identification {
  padding: 52rem 0;
  background: #f4f8fc;
}

#page-home .section-identification .identification-inner {
  max-width: 920rem;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  padding: 28rem 30rem;
  box-shadow: 0 14rem 40rem rgba(0, 40, 80, 0.08);
}

#page-home .section-identification .identification-title {
  margin: 0 0 18rem;
  color: #00477d;
  font-size: 28rem;
  font-weight: 800;
  line-height: 1.2;
}

#page-home .section-identification .identification-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#page-home .section-identification .identification-list li {
  position: relative;
  padding-left: 28rem;
  color: #36556a;
  font-size: 19rem;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 12rem;
}

#page-home .section-identification .identification-list li:last-child {
  margin-bottom: 0;
}

#page-home .section-identification .identification-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: #56e33a;
}

@media (max-width: 767px) {
  #page-home .section-proof .proof-grid {
    grid-template-columns: 1fr;
    gap: 8rem;
  }
  #page-home .section-proof .proof-item {
    font-size: 18rem;
  }
}

#page-home .section-how-it-works {
  padding-top: 24rem;
}

/* Bloco CTA: o margin negativo era para encaixar após "Como funciona"; com Benefícios no fluxo, volta ao empilhamento normal. */
#page-home .section-cta {
  margin-top: 0 !important;
  padding-top: 48rem;
}

@media (max-width: 1023px) {
  #page-home .section-cta {
    margin-top: 0 !important;
    padding-top: 40rem;
  }
}

#page-home .section-how-it-works .how-it-works-body {
  max-width: 900rem;
  margin-left: auto;
  margin-right: auto;
}

#page-home .section-how-it-works .how-it-works-body p {
  margin-bottom: 1em;
  font-size: 22rem;
  line-height: 1.45;
}

@media (max-width: 767px) {
  #page-home .section-how-it-works .how-it-works-body p {
    font-size: 18rem;
  }
}

#page-home .section-benefits {
  padding: 100rem 0 80rem;
  background: #011a2e;
  position: relative;
  z-index: 2;
}

#page-home .section-benefits .benefits-title {
  text-align: center;
  color: #00c8ff;
  font-size: 28rem;
  font-weight: 800;
  margin: 0 0 40rem;
  letter-spacing: -0.02em;
}

#page-home .section-benefits .benefits-list {
  max-width: 640rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

#page-home .section-benefits .benefits-list li {
  position: relative;
  padding-left: 28rem;
  margin-bottom: 18rem;
  color: #e8f4fc;
  font-size: 20rem;
  font-weight: 500;
  line-height: 1.35;
}

#page-home .section-benefits .benefits-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: #56e33a;
}

#page-home .section-benefits .benefits-cta {
  text-align: center;
  margin-top: 48rem;
}

#page-home .section-benefits .btn-benefits-lead {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8rem;
  border: 1px solid transparent;
  border-radius: 50px;
  background: #56e33a;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 16rem;
  padding: 14rem 28rem;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

#page-home .section-benefits .btn-benefits-lead:hover {
  background: #fff;
  border-color: #56e33a;
}

#page-home .section-lead {
  padding: 100rem 0 120rem;
  background: #f4f8fc;
  position: relative;
  z-index: 2;
}

#page-home .section-lead .lead-inner {
  max-width: 900rem;
  margin: 0 auto;
}

#page-home .section-lead .lead-heading {
  color: #00477d;
  font-size: 26rem;
  text-align: center;
  margin: 0 0 12rem;
  font-weight: 800;
  line-height: 1.25;
}

#page-home .section-lead .lead-sub {
  text-align: center;
  color: #4a6678;
  font-size: 16rem;
  margin: 0 0 28rem;
  line-height: 1.4;
}

#page-home .section-lead .wrapper-form {
  margin-top: 8rem;
  border-radius: 21px;
  padding: 28rem 30rem 32rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18rem 50rem rgba(0, 40, 80, 0.08);
  width: 100%;
}

#page-home .section-lead .wrapper-form .form-title {
  margin-bottom: 18rem;
  color: #00477d;
  font-size: 18rem;
  font-weight: 700;
  text-align: left;
}

#page-home .section-lead .wrapper-form .form-success {
  margin: 0 0 16rem;
  padding: 12rem 14rem;
  border-radius: 10px;
  background: #e8fff1;
  border: 1px solid #56e33a;
  color: #1b5e20;
  font-size: 14rem;
  line-height: 1.4;
}

#page-home .section-lead .wrapper-form .field-group {
  width: 100%;
}

#page-home .section-lead .wrapper-form .step-copy {
  color: #4a6678;
  font-size: 14rem;
  line-height: 1.4;
}

#page-home .section-lead .wrapper-form .step-copy-main {
  margin: 0 0 16rem;
}

#page-home .section-lead .wrapper-form .step-copy-secondary {
  margin: 0 0 20rem;
}

#page-home .section-lead .wrapper-form .form-step {
  display: none;
}

#page-home .section-lead .wrapper-form .form-step.is-active {
  display: block;
}

#page-home .section-lead .wrapper-form .field-group:not(:last-child) {
  margin-bottom: 16rem;
}

#page-home .section-lead .wrapper-form .form-flex .field-group {
  margin-bottom: 0;
}

#page-home .section-lead .wrapper-form .field-group .field {
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
  min-height: 48rem;
  padding: 12rem;
  border: 1px solid #e0e8ef;
  border-radius: 6px;
  color: #3976ba;
  font-size: 16rem;
  font-weight: 500;
  outline: none;
  appearance: none;
  transition: border-color 0.2s ease;
}

#page-home .section-lead .wrapper-form .field-group select.field {
  color: #7e7e7e;
}

#page-home .section-lead .wrapper-form .field-group select.field:valid,
#page-home .section-lead .wrapper-form .field-group select.field:focus {
  color: #3976ba;
}

#page-home .section-lead .wrapper-form .field-group textarea.field {
  height: auto;
  min-height: 120rem;
  padding: 12rem 14rem;
  resize: vertical;
}

#page-home .section-lead .wrapper-form .field-group .field:focus {
  border-color: #3976ba;
}

#page-home .section-lead .wrapper-form .field-group .field::placeholder {
  color: #7e7e7e;
}

#page-home .section-lead .wrapper-form .terms-option {
  width: 100%;
  max-width: 100%;
  margin-top: 8rem;
}

#page-home .section-lead .wrapper-form .terms-option button {
  background-color: transparent;
  border: none;
  position: relative;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

#page-home .section-lead .wrapper-form .terms-option button::before {
  content: '';
  border-radius: 4px;
  border: 2px solid #353535;
  background-color: transparent;
  position: absolute;
  top: 3rem;
  left: 0;
  width: 8rem;
  height: 8rem;
  z-index: 1;
}

#page-home .section-lead .wrapper-form .terms-option button span {
  position: relative;
  left: 20rem;
  color: #353535;
  font-size: 10rem;
  font-weight: 500;
  line-height: 1.15;
  display: block;
}

#page-home .section-lead .wrapper-form .terms-option.active button::before {
  background-color: #353535;
}

#page-home .section-lead .wrapper-form .terms-option .terms-label {
  display: flex;
  align-items: flex-start;
  gap: 10rem;
  cursor: pointer;
}

#page-home .section-lead .wrapper-form .terms-option .terms-checkbox {
  margin-top: 2rem;
  width: 16rem;
  height: 16rem;
  accent-color: #00477d;
  flex: 0 0 auto;
}

#page-home .section-lead .wrapper-form .terms-option .terms-label span {
  color: #353535;
  font-size: 10rem;
  font-weight: 500;
  line-height: 1.25;
}

#page-home .section-lead .wrapper-form .form-actions {
  margin-top: 20rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12rem;
}

#page-home .section-lead .wrapper-form .form-actions .form-submit button {
  border-radius: 8px;
  background-color: #00477d;
  min-height: 48rem;
  padding: 0 24rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

#page-home .section-lead .wrapper-form .form-actions .form-submit button span {
  color: #fff;
  font-size: 16rem;
  font-weight: 700;
}

#page-home .section-lead .wrapper-form .form-actions .form-submit-secondary button {
  background-color: #fff;
  border-color: #00477d;
}

#page-home .section-lead .wrapper-form .form-actions .form-submit-secondary button span {
  color: #00477d;
}

#page-home .section-lead .wrapper-form .form-actions .form-submit button:hover {
  background-color: #fff;
  border-color: #00477d;
}

#page-home .section-lead .wrapper-form .form-actions .form-submit button:hover span {
  color: #00477d;
}

#page-home .section-final-cta {
  padding: 72rem 0 88rem;
  background: linear-gradient(135deg, #00477d 0%, #012a4a 100%);
  text-align: center;
}

#page-home .section-final-cta .final-cta-title {
  color: #fff;
  font-size: 28rem;
  font-weight: 800;
  margin: 0 0 12rem;
}

#page-home .section-final-cta .final-cta-text {
  color: #b8d9f0;
  font-size: 18rem;
  margin: 0 0 28rem;
  line-height: 1.4;
  max-width: 520rem;
  margin-left: auto;
  margin-right: auto;
}

#page-home .section-final-cta .btn-final-lead {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8rem;
  background: #56e33a;
  color: #222;
  font-weight: 800;
  font-size: 17rem;
  min-height: 44rem;
  padding: 12rem 32rem;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, filter 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

#page-home .section-hero .btn-hero-primary,
#page-home .section-hero .btn-hero-ghost,
#page-home .section-benefits .btn-benefits-lead,
#page-home .section-cta .right-cta button,
#page-home .section-testimonials .left-cta button {
  min-height: 44rem;
}

#page-home .section-final-cta .btn-final-lead:hover {
  filter: brightness(1.05);
  background: #fff;
  border-color: #56e33a;
  transform: translateY(-2px);
}

#main-footer .footer-cta-block {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28rem 24rem;
  text-align: center;
}

#main-footer .footer-cta-block h3 {
  color: #fff;
  font-size: 20rem;
  margin: 0 0 10rem;
  font-weight: 700;
}

#main-footer .footer-cta-block p {
  color: #b8d4ea;
  font-size: 14rem;
  margin: 0 0 20rem;
  line-height: 1.4;
}

#main-footer .footer-cta-block .footer-lead-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #56e33a;
  color: #222;
  font-weight: 700;
  font-size: 15rem;
  padding: 12rem 22rem;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

#main-footer .footer-cta-block .footer-lead-btn:hover {
  background: #fff;
  border-color: #56e33a;
}

#page-home .section-partners {
  padding-top: 48rem;
}

#page-home .section-how-it-works .wrapper-cards .card-description p {
  font-size: 17rem;
  line-height: 1.45;
}

#page-home .section-how-it-works .how-cta {
  margin-top: 28rem;
  display: flex;
  justify-content: center;
}

#page-home .section-how-it-works .btn-how-lead {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44rem;
  padding: 12rem 28rem;
  border-radius: 50px;
  background: #56e33a;
  color: #222;
  font-size: 17rem;
  font-weight: 800;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

#page-home .section-how-it-works .btn-how-lead:hover {
  background: #fff;
  border-color: #56e33a;
}
