/* ── Como funciona na prática ── */
.how-section {
  padding: 8rem 0;
  background-color: #FFFFFF;
  background-image: radial-gradient(circle at 1px 1px, rgba(15,61,76,0.06) 1px, transparent 0);
  background-size: 28px 28px;
  border-bottom: 1px solid #E5E7EB;
}

.how-it-works {
  display: flex;
  flex-direction: column;
}

.how-body {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.how-content {
  flex: 1 1 55%;
  min-width: 0;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.how-step {
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-number {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1.5px solid #0F3D4C;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #0F3D4C;
  font-weight: 600;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}

/* Icon container for step icons */
.step-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 61, 76, 0.07);
  border-radius: 12px;
  padding: 0.6rem;
}

.step-icon svg {
  width: 1.6rem;
  height: 1.6rem;
  stroke: #0F3D4C;
  fill: none;
}

.how-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.4;
  color: #0B2E3A;
}

.how-step p {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.step-badge {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #0F3D4C;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-right: 0.2rem;
}

.how-cta-section {
  background: linear-gradient(180deg, #0D3245 0%, #082C3D 100%);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.how-cta-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0.75rem 0 0;
}

/* Mockups */
.how-mockups {
  flex: 0 0 42%;
}

/* Responsive */
@media (max-width: 1024px) {
  .how-body {
    flex-direction: column;
  }

  .how-mockups {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .how-steps {
    grid-template-columns: 1fr;
  }

  .how-mockups {
    flex-direction: column;
  }
}
