/* MSP Core — Menu mobile ([msp_mobile_menu]) */
/* Variables globales */
    :root {
        --main-color: #009289;
        --dark-color: #333332;
        --pink-color: #dc277e;
    }

    /* CONTAINER PRINCIPAL */
    .msp-burger-container {
        padding: 7px 0;
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: space-evenly;
    }

    /* ICÔNE BURGER */
    .msp-burger-icon {
        width: 30px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .msp-burger-icon div {
        height: 3px;
        background: var(--main-color);
        margin: 2px 0;
        border-radius: 2px;
        transition: all 0.1s linear;
    }

    .msp-burger-icon div:nth-child(1) {
        width: 30px;
    }

    .msp-burger-icon div:nth-child(2) {
        width: 20px;
    }

    .msp-burger-icon div:nth-child(3) {
        width: 8px;
    }

    .msp-burger-icon:hover div:nth-child(1) {
        width: 8px;
    }

    .msp-burger-icon:hover div:nth-child(3) {
        width: 30px;
    }

    /* MENU MOBILE */
    .msp-mobile-menu {
        position: absolute;
        margin-top: 10px;
        border-radius: 20px;
        border: 0px solid transparent;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: white;
        transition: max-height 0.4s ease;
        z-index: 99;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 0 5%;
    }

    .msp-mobile-menu.open {
        max-height: 88vh;
        border: 1px solid var(--main-color);
        padding: 5%;
    }

    .msp-mobile-menu .scroll-container {
        width: 100%;
    }

    .msp-mobile-logo {
        width: 60%;
        max-width: 6vw;
        margin: 20px auto;
        display: block;
    }

    /* LISTE DU MENU */
    .msp-mobile-menu .menu {
        list-style: none;
        padding: 0;
        margin: 20px 0;
        text-align: center;
        max-height: 61vh;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .msp-mobile-menu .menu li {
        border-bottom: 1px solid var(--main-color);
        margin: 0 auto;
        width: 80%;
        max-width: 300px;
    }

    .msp-mobile-menu .menu li a {
        display: flex;
        text-decoration: none;
        color: var(--dark-color);
        font-weight: 500;
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.1vw;
        padding: 20px 0;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .msp-mobile-menu .menu li a:hover {
        box-shadow: 0px 0px 10px #d7d7d7;
    }

    /* SOUS-MENUS */
    .msp-mobile-menu .msp-menu-item.has-submenu .menu-link {
        display: flex;
        justify-content: center;
        gap: 10px;
        align-items: center;
    }

    .msp-mobile-menu .submenu-toggle {
        font-size: 18px;
        font-weight: bold;
        transition: transform 0.3s ease;
    }

    .msp-mobile-menu .msp-menu-item.has-submenu.open .submenu-toggle {
        transform: rotate(45deg);
    }

    .msp-mobile-menu .submenu {
        display: none;
        list-style: none;
        padding-left: 20px;
        margin: 10px 0 0 0;
    }

    .msp-mobile-menu .msp-menu-item.has-submenu.open .submenu {
        display: block;
    }

    .msp-mobile-menu .submsp-menu-item {
        margin-bottom: 10px;
    }

    .msp-mobile-menu .submenu-link {
        color: var(--dark-color);
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease;
    }

    .msp-mobile-menu .submenu-link:hover {
        color: var(--main-color);
    }

    /* BOUTON FERMER */
    .msp-close-btn {
        cursor: pointer;
        font-size: 14px;
        background: #ffffff;
        color: var(--main-color);
        border-radius: 75px;
        box-shadow: 0px 0px 10px #c4c0c0;
        text-align: center;
        width: 50px;
        display: flex;
        float: inline-end;
        height: 50px;
        justify-content: center;
        align-items: center;
    }

    /* PICTOS */
    .msp-burger-container a.picto-link {
        color: var(--main-color);
        display: flex;
        align-items: center;
    }

    .msp-burger-container .rotatefix {
        transform: rotate(-90deg) !important;
    }

    .msp-burger-container .picto-link svg {
        max-width: 30px;
    }

    /* PANNEAUX (INFO & CALENDRIER) */
    .msp-panel {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: white;
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 35px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 0 5%;
        transition: max-height 0.4s ease;
        z-index: 98;
    }

    .msp-info-panel {
        border-color: var(--main-color);
    }

    .msp-panel.open {
        max-height: 100vh;
        padding: 5%;
        border: 1px solid var(--main-color);
    }

    .msp-info-panel.open {
        padding: 5% 5% 10%;
    }

    /* CUSTOM BLURBS (dans panneau info) */
    .msp-panel .custom-blurb {
        margin: 0 0 5vh;
    }

    .msp-panel .custom-blurb a {
        display: flex;
        gap: 20px;
    }

    .msp-panel .custom-blurb .custom-blurb-pict {
        color: var(--main-color);
        width: 87px;
        height: 87px;
    }

    .msp-panel .custom-blurb .custom-blurb-content {
        position: relative;
    }

    .msp-panel .custom-blurb .custom-blurb-content,
    .msp-panel .custom-blurb-title {
        color: white;
    }

    .msp-panel .custom-blurb-title {
        font-size: 1rem !important;
        text-transform: uppercase;
        letter-spacing: 0.1vw;
    }

    .msp-panel .custom-blurb-text {
        font-size: 1.1rem;
        letter-spacing: 0.1vw;
    }

    .msp-panel .custom-blurb-round {
        background-color: white;
        border-radius: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--pink-color);
        width: 80px;
        height: 80px;
        position: absolute;
        left: 150px;
        bottom: -25px;
    }

    .msp-panel .custom-blurb-round-big {
        font-size: 2rem;
    }

    .msp-panel .custom-blurb-round-medium {
        font-size: 1.2rem;
    }

    .msp-panel .custom-blurb-round-small {
        text-align: center;
        line-height: 0.8rem;
    }

    /* Animations */
    @keyframes fadeInLeft {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes fadeInRight {
        from {
            opacity: 0;
            transform: translateX(20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .msp-panel .custom-blurb-pict {
        opacity: 0;
        transform: translateX(-20px);
        animation: fadeInLeft 0.6s ease-out forwards;
    }

    .msp-panel .custom-blurb-round {
        opacity: 0;
        transform: translateX(20px);
        animation: fadeInRight 0.6s ease-out forwards;
        animation-delay: 0.3s;
    }

    /* Couleurs spécifiques panneau info */
    .msp-info-panel .custom-blurb-title,
    .msp-info-panel .custom-blurb-text {
        color: var(--dark-color);
    }

    .msp-info-panel .custom-blurb-round {
        border: 1px solid var(--main-color);
    }

    /* RESPONSIVE - TABLETTE */
    @media screen and (max-width: 1024px) {
        .msp-mobile-menu.open,
        .msp-panel.open,
        .msp-info-panel.open {
            max-height: 71vh;
            max-width: 520px;
            height: fit-content;
            min-width: 60vw;
            width: 95vw;
            left: initial;
            top: 103% !important;
           
        }

        .msp-panel .custom-blurb {
            margin: 0 0 4vh;
        }

        .msp-panel .custom-blurb .custom-blurb-pict {
            width: 57px;
            height: 57px;
        }

        .msp-panel .custom-blurb-round {
            width: 60px;
            height: 60px;
        }

        .msp-panel .custom-blurb-round-big {
            font-size: 1.5rem;
        }

        .msp-burger-container {
            min-width: 60vw;
        }

        .msp-mobile-logo {
            max-width: 160px;
        }
    }

    /* RESPONSIVE - MOBILE */
    @media screen and (max-width: 767px) {
        .msp-mobile-menu.open,
        .msp-panel.open,
        .msp-info-panel.open {
            max-height: 85vh;
        }

        .msp-mobile-menu {
            transition: max-height 0.2s ease;
        }

        .msp-close-btn {
            position: relative;
            bottom: 10px;
        }

        .msp-mobile-menu .menu li a {
            padding: 2vh 0;
        }

        .msp-panel .custom-blurb {
            padding-left: 6vw;
            margin-bottom: 7vh !important;
        }
    }
