.nombre__etape {
    font-size: 1.5rem;
    font-weight: 700;
}
.title__etape {
    font-size: 1.25rem;
    font-weight: 700;
}
.etape__texte p:last-child {
    margin-bottom: 0;
}

/* Espacement des CTA sur mobile */
@media (max-width: 767px) {
  .parcours__etapes .etape__texte
  a.bouton__yellow + a.bouton__blue,
  .parcours__etapes .etape__texte
  a.bouton__blue + a.bouton__yellow,
  .parcours__etapes .etape__texte
  a.bouton__cta + a.bouton__cta {
    margin-top: 9px;
  }
}

/* Correction du débordement des étapes sur mobile */
@media (max-width: 767px) {

  .parcours__etapes .etape {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .parcours__etapes .nombre__etape {
    flex-shrink: 0;
  }

  .parcours__etapes .etape__texte {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .parcours__etapes .etape__texte a {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Étapes : texte en pleine largeur sur mobile */
@media (max-width: 47.99rem) {

  .parcours__etapes .etape {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 1rem !important;
    align-items: start;
  }

  .parcours__etapes .nombre__etape {
    grid-column: 1;
    grid-row: 1;
  }

  .parcours__etapes .etape__texte {
    display: contents;
  }

  .parcours__etapes .etape__texte > .title__etape {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0 !important;
  }

  .parcours__etapes .etape__texte > :not(.title__etape) {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }
}