/* ==========================================================
FORMATIONS PROFESSIONNELLES
Zen Attitude
========================================================== */

/* ==========================================================
STRUCTURE GÉNÉRALE
========================================================== */

.formations-pro {
    width: 100%;
    overflow: hidden;
}

.formation-container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.formation-section {
    padding: 55px 0;
}

/* ==========================================================
HERO
========================================================== */

.formation-hero {
    padding: 45px 20px 55px;
    text-align: center;
}

.formation-hero-content {
    max-width: 1100px;
    margin: 0 auto;
}

.formation-hero h1 {
    margin: 0 0 15px;
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.15;
}

.hero-subtitle {
    margin: 0 auto 35px;
    font-family: var(--font-text);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 500;
}

.hero-image {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-image img {
    display: block;
    width: 80%;
    height: auto;
    border-radius: 12px;
}

/* ==========================================================
TEXTES
========================================================== */

.formation-section p {
    font-family: var(--font-text);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.formation-section strong {
    font-weight: 700;
}

.section-title {
    margin: 0 0 35px;
    text-align: center;
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
}

/* ==========================================================
INTRODUCTION
========================================================== */

.formation-introduction {
    padding-top: 20px;
}

.formation-introduction .formation-container {
    max-width: 900px;
}

/* ==========================================================
CARTES DE FORMATION
========================================================== */

.formation-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.formation-card-header {
    padding: 25px 30px;
    text-align: center;
}

.formation-card-header h2 {
    margin: 0;
    font-family: var(--font-title);
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    font-weight: 400;
    line-height: 1.2;
}

.formation-card-header p {
    margin: 8px 0 0;
    font-size: 1.05rem;
    font-style: italic;
}

.formation-card-content {
    padding: 35px 40px;
}

.formation-card-content h3 {
    margin: 30px 0 15px;
    font-family: var(--font-text);
    font-size: 1.35rem;
    font-weight: 700;
}

.formation-card-content h3:first-child {
    margin-top: 0;
}

/* ==========================================================
LISTES
========================================================== */

.formation-list {
    margin: 25px 0;
    padding: 0;
    list-style: none;
}

.formation-list > li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-family: var(--font-text);
    font-size: 1.05rem;
    line-height: 1.7;
}

.list-icon {
    flex-shrink: 0;
    font-size: 1.2rem;
    line-height: 1.7;
}

.sub-list {
    margin: 12px 0 0;
    padding-left: 25px;
}

.sub-list li {
    margin-bottom: 5px;
}

.simple-list {
    padding-left: 20px;
}

.simple-list li {
    display: list-item;
    list-style-type: disc;
    padding-left: 5px;
}

.simple-list li::marker {
    font-size: 0.8em;
}

/* ==========================================================
PROGRAMME
========================================================== */

.programme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.programme-card {
    padding: 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.programme-card h3 {
    margin: 0 0 20px;
    font-family: var(--font-text);
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
}

.programme-card p {
    font-size: 1rem;
}

.programme-card ul {
    margin: 0;
    padding-left: 20px;
}

.programme-card li {
    margin-bottom: 10px;
    font-family: var(--font-text);
    line-height: 1.6;
}

/* ==========================================================
BIENFAITS
========================================================== */

.bienfaits-content {
    max-width: 900px;
    margin: 0 auto;
}

.bienfaits-content .formation-list {
    margin-bottom: 30px;
}

/* ==========================================================
TARIFS
========================================================== */

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 400px));
    justify-content: center;
    gap: 30px;
}

.tarif-card {
    padding: 30px;
    text-align: center;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.tarif-card h3 {
    margin: 0 0 20px;
    font-family: var(--font-text);
    font-size: 1.3rem;
    font-weight: 700;
}

.tarif-price {
    font-family: var(--font-title);
    font-size: 3rem;
    line-height: 1.2;
}

.tarif-price span {
    font-family: var(--font-text);
    font-size: 1rem;
}

.tarif-card p {
    margin: 8px 0 0;
    font-size: 0.95rem;
}

.tarifs-info {
    margin-top: 30px;
    text-align: center;
}

/* ==========================================================
CONCLUSION
========================================================== */

.conclusion-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
    border-radius: 15px;
}

.conclusion-box h2 {
    margin: 0 0 25px;
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
}

.conclusion-box p {
    margin-bottom: 20px;
}

/* ==========================================================
BOUTONS
========================================================== */

.btn-retour-formations {
    display: inline-block;
    padding: 12px 28px;
    background-color: blueviolet;
    border: 2px solid blueviolet;
    border-radius: 25px;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.2s ease;
}

.btn-retour-formations:hover {
    background-color: white;
    border-color: white;
    color: blueviolet;
    transform: translateY(-2px);
}

.retour-formations {
    padding: 20px 20px 50px;
    text-align: center;
}

/* ==========================================================
RESPONSIVE — TABLETTE
========================================================== */

@media (max-width: 991px) {
    .formation-section {
        padding: 45px 0;
    }

    .programme-grid {
        grid-template-columns: 1fr;
    }

    .programme-card {
        max-width: 700px;
        width: 100%;
        margin: 0 auto;
    }
}
/* ==========================================================
RESPONSIVE — MOBILE
========================================================== */

@media (max-width: 767px) {
    .formation-hero {
        padding: 30px 15px 40px;
    }

    .formation-section {
        padding: 35px 0;
    }

    .formation-container {
        width: 92%;
    }

    .formation-section p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .formation-card-content {
        padding: 25px 20px;
    }

    .formation-card-header {
        padding: 22px 18px;
    }

    .formation-list > li {
        font-size: 1rem;
        line-height: 1.6;
    }

    .programme-card {
        padding: 25px 20px;
    }

    .tarifs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tarif-card {
        padding: 25px 20px;
    }

    .tarif-price {
        font-size: 2.6rem;
    }

    .conclusion-box {
        padding: 30px 20px;
    }

    .btn-retour-formations {
        padding: 11px 24px;
    }

    /* ==========================================================
PETITS ÉCRANS
========================================================== */

    @media (max-width: 480px) {
        .formation-hero {
            padding-top: 25px;
        }

        .formation-card-header h2 {
            font-size: 1.9rem;
        }

        .formation-card-content h3 {
            font-size: 1.2rem;
        }

        .section-title {
            font-size: 2rem;
        }

        .formation-list > li {
            gap: 8px;
        }
    }
}
