.hero-header--video {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    will-change: width, border-radius;
}

.hero-background-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    z-index: 0;
}

.hero-header--video .hero-container {
    position: relative;
    z-index: 1;
}

@media (min-width: 576px) {
     /* sm */ 

}
@media (min-width: 768px) { 
    /* md */
    .trail-button {
        bottom: -26px;
        left: 16px;
        right: 16px;
        font-size: 1rem;
        padding: 14px;
    }
}
@media (min-width: 992px) { 
    /* lg */ 
    .entry-header {
        padding-top: 255px;
    }
    .entry-header .page-header-title .title_h1 {
        font-size: 3rem;
    }

    .site-footer {
        margin-top: 50px;
    }
    .footer-top .footer-top-text {
        flex-direction: row;
        font-size: 2.5rem;
        line-height: 45px;
    }
    .footer-top .footer-top-text img {
        width: 56px;
        height: auto;
    }
    .footer-menu-list {
        flex-direction: row;
        gap: 25px;
    }
    .countdown-inner {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        gap: 35px;
    }
    .discipline-card {
        margin-bottom: 0;
    }
    .album-card {
        border-bottom: none;
    }
    .pagination-wrapper {
        margin-bottom: 0;
    }
    .social-share {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    .share-list {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    .title-section {
        font-size: 50px;
        padding-left: 0;
    }
    .title-section::before {
        font-size: 22px;
        bottom: 25px;
    }
    .title-section-centered {
        font-size: 50px;
        padding-top: 0;
    }
    .menu-homepage {
        padding: 160px 0;
    }
    .photos-section {
        padding: 100px 0;
    }
    .apropos-section .container .row div:nth-child(2) {
        padding: 45px 0px 0 50px;
    }
    .footer-info {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }
    .image_du_menu {
        width: auto;
        margin-top: -25px;
    }
    .agenda-section {
        display: flex;
    }
    .agenda-section .agenda-top {
        width: 400px;
        padding: 210px 100px 150px 10px;
        -webkit-clip-path: polygon(0 -54px, calc(100% - 138px) -54px, 100% 100%, 0 100%);
        clip-path: polygon(0 -54px, calc(100% - 138px) -54px, 100% 100%, 0 100%);
    }
    .agenda-section .agenda-main {
        width: calc(100vw - 400px);
        padding-right: 16px;
    }

    .agenda-section .agenda-main .agenda-wrapper {
        width: 100%;
    }

    .agenda-section .agenda-top h2 {
        font-size: 3rem;
        line-height: 1.1636em;
    }
}
@media (min-width: 1200px) {
    /* xl */ 
    /* ================================
        MENU - Styles desktop supprimés
        Voir menu.css pour les styles desktop
    ================================= */
    
    #nav-main {
        display: none !important;
    }

    /* FOOTER DESKTOP */
    .footer-header {
        padding: 40px 40px 10px;
    }
    .footer-logo {
        max-width: 200px;
    }
    .footer-bottom .row {
        align-items: center;
    }
    .footer-copyright {
        text-align: left;
    }
    .footer-socials-wrapper {
        justify-content: center;
    }
    .footer-legal {
        justify-content: flex-end;
    }
    .agenda-section .agenda-top {
        width: 445px;
        padding: 210px 130px 150px 35px;
    }
    .agenda-section .agenda-top h2 {
        font-size: 4rem;
    }
    .agenda-section .agenda-main {
        width: auto;
        padding-right: calc((100vw - 117rem) / 2 + 16px);
    }
    .agenda-section .agenda-main .agenda-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }
    .agenda-section .agenda-main .agenda-wrapper .agenda-item {
        flex: 1 1 0;
        min-width: 280px;
    }
    .teaser-agenda:hover figure::after {
        clip-path: circle(100% at 50% 50%);
    }
    .teaser-agenda .teaser-agenda-infos .teaser-agenda-dates {
        width: 96px;
    }
    .teaser-agenda .teaser-agenda-infos .teaser-agenda-dates time .jour {
        font-size: 2rem;
    }
    .teaser-agenda .teaser-agenda-infos .teaser-agenda-dates time .mois {
        font-size: 1.2rem;
    }
    .teaser-agenda .teaser-agenda-infos .teaser-agenda-title {
        font-size: 1rem;
    }
}
@media (min-width: 1400px) {
    /* xxl */ 

}


@media (max-width: 1024px) {
    .hero-container {
        padding: 0 2rem;
    }

    .hero-decoration {
        display: none;
    }
}

@media (max-width: 991px) {
    .agenda-section .agenda-top {
        padding-left: 10px;
        padding-right: 10px;
    }

    .about-section {
        margin-bottom: 40px;
    }

    .row-reverse-mobile {
        flex-direction: column-reverse;
        gap: 50px;
    }

    .cours-grid {
        flex-direction: column;
    }
    
    .cours-card {
        min-height: 300px !important;
        width: 100%;
        margin-top: 0 !important;
    }

    .about-section .title-section {
        margin-top: 50px;
    }

    .apropos-image-wrapper img {
        width: 100%;
    }

    /* Photos section */
    .photos-intro {
        margin-bottom: 25px;
    }

    /* Photos section tablette/mobile - grille uniforme et propre */
    .photos-section .photo-item {
        aspect-ratio: 1 / 1 !important;
        margin-top: 0 !important;
        margin-bottom: 15px !important;
    }

    .photos-section .row.first .col-6 {
        padding: 0 7.5px;
    }

    .photos-section .row.mt-4 {
        margin-top: 0 !important;
    }

    .photos-section .row.mt-4 .col-6 {
        padding: 0 7.5px;
    }
}

@media (max-width: 768px) {
    html,
    body,
    #page,
    .site-main {
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero-header {
        min-height: 0;
        height: 95vh;
        width: 100%;
        max-width: 100vw;
    }

    .hero-container,
    .hero-container .container {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        padding: 2rem 1.5rem 1.5rem;
    }

    .hero-container .row {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
        line-height: 0.98;
        margin-bottom: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.35;
    }

    .hero-eyebrow {
        font-size: 0.875rem;
        letter-spacing: 0.2em;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }

    .scroll-indicator {
        display: none;
    }
}
@media (max-width: 900px) {
    /* About Section */
    .about-year {
        font-size: 5rem;
    }

    .about-right {
        flex-direction: row;
        gap: 2rem;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #ddd;
        padding-top: 1.5rem;
        margin-top: 2rem;
    }
}
