
/* Page formation */


/* Conteneur principal */
.container-formation {
    display: flex;
    gap: 60px;
    max-width: 1100px;
    width: 100%;
    align-items: flex-start;


    /* --- Colonne Gauche : Le Problème --- */
    .problem-card {
        background-color: #f0f9ff; /* Bleu très clair */
        padding: 40px;
        border-radius: 20px;
        flex: 1;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    }

    .problem-header {
        display: flex;
        align-items: center;
        margin-bottom: 30px;
        gap: 15px;
    }

    .problem-icon-badge {
        background-color: #ffe4e6; /* Fond rouge très clair */
        color: #f43f5e; /* Rouge vif */
        width: 40px;
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        font-weight: bold;
    }

    .problem-card h2 {
        font-size: 24px;
        font-weight: 800;
        color: #1e3a8a; /* Bleu foncé */
    }

    .problem-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .problem-list li {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        font-size: 16px;
        color: #334155;
        line-height: 1.5;
    }

    /* Création de l'icône X rouge en CSS/SVG */
    .icon-cross {
        flex-shrink: 0;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* SVG style pour la croix */
    .icon-cross svg {
        width: 100%;
        height: 100%;
        fill: none;
        stroke: #f43f5e; /* Rouge */
        stroke-width: 2;
    }

    /* --- Colonne Droite : La Conséquence --- */
    .consequence-section {
        flex: 1;
        padding-top: 10px;
    }

    .consequence-section h2 {
        font-size: 26px;
        font-weight: 800;
        color: #1e3a8a;
        margin-bottom: 20px;
    }

    .consequence-desc {
        color: #64748b;
        margin-bottom: 30px;
        line-height: 1.6;
        font-size: 16px;
    }

    .consequence-list {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .consequence-item {
        background-color: #f8fafc; /* Gris très clair, presque blanc */
        padding: 18px 20px;
        border-radius: 0 8px 8px 0; /* Arrondi à droite */
        position: relative;
        color: #334155;
        font-weight: 500;
        font-size: 16px;
    }

    /* La barre verticale bleue à gauche */
    .consequence-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background-color: #1e293b; /* Bleu très foncé */
        border-radius: 4px; /* Bords arrondis sur la barre */
    }

}


/* --- Responsive Mobile --- */
@media (max-width: 768px) {
    .container-formation {
        flex-direction: column;
        gap: 40px;
    }

    .problem-card, .consequence-section {
        width: 100%;
        padding: 30px;
    }
}


.wbc-page-formation-transformations {
    padding: 20px;
    text-align: center;
}

.wbc-page-formation-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}


.wbc-page-formation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    padding: 15px 20px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}


.wbc-page-formation-before {
    text-align: left;
    flex-basis: 40%;
}


.wbc-page-formation-strikethrough {
    color: #333;
    text-decoration: line-through;
    text-decoration-color: #e74c3c;
    text-decoration-thickness: 2px;
}


.wbc-page-formation-arrow-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e6f4ff;
    color: #36aaff;
    flex-shrink: 0;
}

/* Flèche à l'intérieur du cercle (par défaut : vers la droite) */
.wbc-page-formation-arrow {
    font-size: 1.5em;
    line-height: 1;
    transform: translateY(-1px);
    /* Utilise l'entité HTML pour la flèche droite par défaut */
    content: "→";
}

.wbc-page-formation-after {
    text-align: right;
    font-weight: bold;
    flex-basis: 40%;
    color: #333;
}

@media (max-width: 575px) {

    .wbc-page-formation-item {
        flex-direction: column;
        align-items: center;
        padding: 20px 10px;
    }

    .wbc-page-formation-before,
    .wbc-page-formation-after {
        width: 100%;
        text-align: center;
        flex-basis: auto;
        font-size: 1.1em;
    }

    .wbc-page-formation-arrow-circle {
        margin: 15px 0;
        width: 35px;
        height: 35px;
    }


    .wbc-page-formation-arrow i::before {
        content: "\f063";
    }
}
