/* SECTION BASE */
.how-it-works {
  background: radial-gradient(circle at top, #0f0f25, #050510);
  text-align: center;
}

/* TÍTULOS */
.section-title {
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.section-subtitle {
  max-width: 680px;
  margin: 0 auto 60px;
  color: #b5b5d6;
  font-size: 1.05rem;
}

/* GRID */
.how-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* CARD */
.how-card {
  position: relative;
  padding: 35px 28px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  border: 1px solid rgba(124, 58, 237, 0.15);
  backdrop-filter: blur(6px);
  transition: all 0.45s ease;
  cursor: default;
}

/* NÚMERO */
.how-card .step {
  font-size: 2.4rem;
  font-weight: 800;
  color: #7c3aed;
  opacity: 0.8;
  display: block;
  margin-bottom: 12px;
}

/* TEXTOS */
.how-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.how-card p {
  font-size: 0.95rem;
  color: #c9c9e8;
  line-height: 1.6;
  
}

/* HOVER */
.how-card:hover {
  transform: translateY(-12px) scale(1.03);
  border-color: #7c3aed;
  box-shadow: 0 0 35px rgba(124, 58, 237, 0.25);
}

/* RESPONSIVO */
@media (max-width: 1024px) {
  .how-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .how-cards {
    grid-template-columns: 1fr;
  }
}

/* ESTADO INICIAL */
.reveal-section {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 1s ease, transform 1s ease;
}

/* QUANDO ATIVA */
.reveal-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ANIMAÇÃO EM CASCATA DOS CARDS */
.reveal-section.visible .how-card {
  animation: cardFade 0.9s ease forwards;
}

.reveal-section.visible .how-card:nth-child(1) { animation-delay: 0.1s; }
.reveal-section.visible .how-card:nth-child(2) { animation-delay: 0.25s; }
.reveal-section.visible .how-card:nth-child(3) { animation-delay: 0.4s; }
.reveal-section.visible .how-card:nth-child(4) { animation-delay: 0.55s; }

@keyframes cardFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

