/* =========================
   MEDIA QUERIES LARGE DESKTOP (entre 992px et 1200px)
============================ */
@media (min-width: 899px) and (max-width: 1200px) {

    * {
        font-family: 'Libre Baskerville', serif;
    }


    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.7rem;
    }

    h4 {
        font-size: 1.3rem;
    }

    .fs-24 {
        font-size: 2rem;
    }

    section {
        height: auto;
        padding: 70px 0;
    }

    section p {
        font-size: 1.13rem;
        line-height: 1.85;
        margin-left: 18px;
        margin-right: 18px;
    }

    hr {
        width: 25%;
    }

    .progress-container {
        margin-top: 0;
    }

    body .scroll-top-indicator {
        position: fixed;
        bottom: 15px;
        right: 15px;
        font-size: 1.2rem;
        background: #000000;
        padding: 10px;
        border-radius: 50px;
        text-decoration: none;
        color: #f5eaea;
        display: block;
    }

    body .scroll-top-indicator:hover {
        opacity: .5;
        transition: 0.7s;
    }

    /*  */

    .navbar-nav {
        gap: 12px;
        text-align: center;
        padding: 0;
    }

    header nav {
        padding: 6px 0;
    }

    header .active {
        padding: 8px 16px;
        display: inline-block;
        max-width: fit-content;
    }

    .nav-item:first-child {
        padding-top: 15px;
    }


    /* =========================
       QUI SOMMES NOUS
    ============================ */
    .tdm-carousel {
        max-width: 100%;
    }

    .tdm-carousel-inner {
        height: 100%;
    }

    .tdm-carousel-img {
        max-width: 100%;
        height: 100%;
    }

    /* =========================
       SECTION ACADEMY
    ============================ */

    #academy p {
        padding-bottom: 90px;
    }

    /* =========================
   SECTION CONTACT
========================== */
    #contact .container {
        margin-left: 20px;
        margin-right: 20px;
        padding-left: 30px;
        padding-right: 30px;
    }

    #contact .col-md-6 {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #contact .img-fluid {
        max-width: 85%;
        max-height: 340px;
        border-radius: 18px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
        object-fit: contain;
    }

    #contact .col-md-4 {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-left: 18px;
        padding-right: 0;
    }

    #contact .card {
        width: 100%;
        max-width: 370px;
        margin: 0 auto;
        border-radius: 18px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
        padding: 32px 24px;
    }

    #contact .card h3 {
        font-size: 1.45rem;
        margin-bottom: 18px;
    }

    #contact .card p {
        font-size: 1.08rem;
        margin-bottom: 22px;
    }

    #contact .btn {
        font-size: 1.08rem;
        padding: 10px 0;
        border-radius: 8px;
    }

    #contact .d-flex.gap-2 {
        gap: 12px !important;
    }

    #contact .text-center h3.mt-5 {
        font-size: 1.2rem;
        margin-top: 32px !important;
        margin-bottom: 12px;
    }

    /* Styles pour l'embed */
    .embed-map-responsive {
        max-width: 100%;
        margin-top: 10px;
        margin-bottom: 0;
        display: flex;
        justify-content: center;
    }

    .embed-map-container {
        width: 100%;
        max-width: 500px;
        height: 300px;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        position: relative;
    }

    .embed-map-frame {
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 14px;
    }

    #contact .row.align-items-center {
        align-items: flex-start !important;
    }

}