/* ─── COMO FUNCIONA ─────────────────────────────────────────── */
.hero-inline-cta {
  display: none;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .hero-inline-cta {
    display: inline-block;
  }
}

.how-it-works {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 40, 85, 0.96), rgba(11, 17, 32, 0.98)),
    var(--preto);
  padding: 104px 64px 112px;
}

.how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(70, 151, 243, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 151, 243, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.how-it-works .section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 72px;
}

.how-steps {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 31px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(70, 151, 243, 0.65), transparent);
  z-index: -1;
}

.how-step {
  min-width: 0;
  text-align: center;
}

.how-step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(70, 151, 243, 0.8);
  border-radius: 50%;
  background: var(--azul-escuro);
  box-shadow: 0 0 0 8px rgba(11, 17, 32, 0.65), 0 0 24px rgba(70, 151, 243, 0.18);
  color: var(--accent);
  font-family: 'stolzl', sans-serif;
  font-size: 22px;
  font-weight: 900;
}

.how-step-title {
  margin-bottom: 12px;
  color: var(--branco);
  font-family: 'stolzl', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1.25;
  text-transform: uppercase;
}

.how-step-desc {
  max-width: 230px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .how-it-works {
    padding: 80px 24px 88px;
  }

  .how-it-works .section-header {
    margin-bottom: 52px;
  }

  .how-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 28px;
  }

  .how-steps::before {
    display: none;
  }
}

@media (max-width: 520px) {
  .proof-bar{
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .how-it-works {
    padding: 68px 20px 76px;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .how-step-number {
    margin-bottom: 18px;
  }
}

/* ─── DEPOIMENTOS ──────────────────────────────────────────── */
.testimonials {
  position: relative;
  overflow: hidden;
  background: var(--cinza-claro);
  color: var(--preto);
  padding: 104px 64px 112px;
}

.testimonials::after {
  content: '“';
  position: absolute;
  top: 56px;
  right: 8%;
  color: rgba(0, 71, 171, 0.06);
  font-family: Georgia, serif;
  font-size: 280px;
  line-height: 1;
  pointer-events: none;
}

.testimonials .section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 64px;
}

.testimonials-grid {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 32px 28px 28px;
  background: var(--branco);
  border: 1px solid rgba(0, 40, 85, 0.1);
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(0, 40, 85, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.testimonial-card:hover {
  border-color: rgba(70, 151, 243, 0.55);
  box-shadow: 0 20px 42px rgba(0, 71, 171, 0.14);
  transform: translateY(-5px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

.testimonial-quote {
  flex: 1;
  color: var(--cinza-texto);
  font-size: 15px;
  line-height: 1.75;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 40, 85, 0.1);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  border-radius: 50%;
  background: var(--azul-escuro);
  color: var(--branco);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.testimonial-name {
  color: var(--preto);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.testimonial-role {
  margin-top: 4px;
  color: var(--cinza-texto);
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .testimonials {
    padding: 80px 24px 88px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }
}

@media (max-width: 520px) {
  .testimonials {
    padding: 68px 20px 76px;
  }

  .testimonials::after {
    top: 32px;
    right: 0;
    font-size: 190px;
  }

  .testimonials .section-header {
    margin-bottom: 44px;
  }

  .testimonial-card {
    padding: 26px 22px 24px;
  }
}
