/* Style pour le bandeau "Comment ça marche ?" */
.how-it-works {
    background-color: #004ee3;
    color: white;
    padding: 60px 20px;
    text-align: center;
    width: 100%;
    margin: 0 auto 40px;
}

.how-it-works h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 50px;
}

.steps {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step-icon {
    background-color: white;
    color: #004ee3;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.separator {
    height: 2px;
    background-color: white;
    flex: 1;
    max-width: 100px;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 768px) {
    .how-it-works {
        padding: 40px 15px;
    }

    .how-it-works h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .steps {
        flex-direction: column;
        /* steps empilés */
        gap: 20px;
    }

    .step {
        min-width: unset;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .separator {
        width: 2px;
        /* devient vertical */
        height: 40px;
        max-width: none;
        margin: 0 auto;
    }
}