/* === Section "Comment ça marche" === */

.bemuse-how__steps {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: nowrap;
}

/* Step card */

.bemuse-how__step {
  position: relative;
  flex: 1 1 0;
  background: var(--primary-lightgrey);
  border-radius: 8px; /* si la classe br-2 ne le fait pas */
}

/* Numéro / icône circulaire */

.bemuse-how__icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--pastel-orange-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

/* === Icône Font Awesome "flèche droite" entre les cartes === */
/* NOTE : Font Awesome Free utilise font-weight: 900 pour fa-solid */

.bemuse-how__step:not(.bemuse-how__step--last)::after {
  font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 500; /* SOLID pour FA Free */
  content: "\f061"; /* Unicode fa-arrow-right */
  position: absolute;

  /* Positionnement centré entre deux cartes */
  top: 50%;
  right: -19px; /* parfait pour gap:24px */
  transform: translateY(-50%);

  font-size: 30px;
  color: var(--pastel-orange-dark);
  pointer-events: none;
}

/* Pas de flèche sur la dernière carte */
.bemuse-how__step--last::after {
  content: none;
}

/* Responsive : affichage vertical + suppression des flèches */

@media (max-width: 900px) {
  .bemuse-how__steps {
    flex-direction: column;
  }

  .bemuse-how__step {
    margin-bottom: 16px;
  }

  .bemuse-how__step::after {
    display: none;
  }
}
