/* ==========================================================================
   steps.css
   Seção "Como funciona em 3 passos" — componente modular, mobile-first.
   Reaproveita tokens de cor de style.css (--lime, --purple, --card, etc.).
   ========================================================================== */

.steps-section {
  padding: 70px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.steps-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.steps-heading h2 {
  margin-bottom: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.85rem, 6vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.steps-heading p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* Grid de passos */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 960px;
  margin-inline: auto;
}

/* Cada passo (card) */
.step-card {
  position: relative;
  padding: 32px 26px 30px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(28, 33, 45, 0.7), rgba(14, 16, 22, 0.85));
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.step-card:hover {
  border-color: rgba(199, 255, 56, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

/* Número grande em destaque */
.step-number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--purple-light);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* Ícone dentro do card */
.step-icon {
  position: absolute;
  top: 28px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(199, 255, 56, 0.3);
  border-radius: 12px;
  color: var(--lime);
  background: rgba(199, 255, 56, 0.08);
  font-size: 1.3rem;
}

/* Título do passo */
.step-card h3 {
  margin-bottom: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* Texto do passo */
.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Destaque dentro do texto (termos técnicos) */
.step-card p strong {
  color: var(--text);
}

/* Rodapé da seção — micro-CTA */
.steps-footer {
  max-width: 640px;
  margin: 40px auto 0;
  padding: 20px 22px;
  border: 1px solid rgba(199, 255, 56, 0.22);
  border-radius: 14px;
  background: rgba(199, 255, 56, 0.04);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.steps-footer strong {
  color: var(--lime);
}

/* Telas maiores */
@media (min-width: 700px) {
  .steps-section {
    padding: 100px 0;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .step-card {
    padding: 36px 28px 34px;
  }

  .step-number {
    font-size: 2.4rem;
  }
}