/* =======================
   SECTION : COMMENT ÇA MARCHE
======================= */
.how-it-works {
  text-align: center;
  padding: 1rem 1rem 3rem; /* moins haut et ajoute un bas plus serré */
  background: none;
  background-color: transparent;
  /*margin-bottom: 2rem; /* réduit l’espace entre les sections */
}

.how-it-works h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem; /* réduit l’espace avec les cartes */
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes fixes */
    gap: 2rem;
}

.step-card {
    background: linear-gradient(to bottom right, #2563eb, #4f46e5); /* bleu Comment ça marche */
    color: #ffffff;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 35px rgba(0,0,0,0.2);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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