/* ─── Hamburger ─────────────────────────────────────── */
.hamburger-btn {
    display: none;          /* caché sur desktop */
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    position: absolute;
    right: 20%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.hamburger-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--vert-claire);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Animation croix à l'ouverture */
.hamburger-btn.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.is-open span:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ─── Menu mobile ────────────────────────────────────── */
.mobile-nav {
    display: none;          /* caché sur desktop */
}

/* ─── Breakpoint 1146px ──────────────────────────────── */



@media (max-width: 1200px) {
   #menu-footer li {
        flex: 0 0 auto;
        width: 46.66666667%;

    }

}


@media (max-width: 1146px) {

    /* Le header devient relatif pour positionner le hamburger */
    .site-header {
        justify-content: center !important;
        height: 131px;
    }

    /* On cache les menus gauche/droite */
    .menu-desktop {
        display: none !important;
    }

    /* Le logo prend toute la largeur et se centre */
    .logo-wrapper {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
    }

    /* Bouton hamburger visible */
    .hamburger-btn {
        display: flex;
    }

    /* Menu mobile masqué par défaut */
    .mobile-nav {
        display: block;
        position: absolute;
        Z-INDEX: 9;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        background: #ffffff;
        border-top: 1px solid rgba(127, 149, 128, 0.2);
    }

    /* Menu mobile ouvert */
    .mobile-nav.is-open {
        max-height: 80vh;
        overflow-y: auto;
    }

    .mobile-nav ul li{
        margin-bottom: 20px !important;
    }

    .mobile-nav ul li a{
        color: var(--vert-claire);
        font-family: 'Raleway', sans-serif;
        font-size: 25px !important;
        font-weight: 600 !important;
    }

    /* Liens dans le menu mobile */
    .mobile-nav .mobile-nav__list {
        margin: 0;
        padding: 0.5rem 0;
        margin-left: 10px;
    }

    .mobile-nav .nav-item {
        border-bottom: 1px solid rgba(127, 149, 128, 0.15);
    }

    .mobile-nav .nav-link {
        display: block;
        padding: 0.85rem 1.75rem !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        color: var(--vert-claire) !important;
    }

    .mobile-nav .nav-link:hover {
        background: rgba(127, 149, 128, 0.07);
        color: var(--vert-foncé) !important;
    }

    /* Sous-menus dans le menu mobile */
    .mobile-nav .dropdown-menu {
        position: static !important;
        display: none;
        box-shadow: none;
        border: none;
        background: rgba(127, 149, 128, 0.05);
        padding-left: 1rem;
    }

    .mobile-nav .dropdown-menu.show {
        display: block;
    }

    .mobile-nav .dropdown-item {
        padding: 0.6rem 1.75rem;
        font-size: 16px !important;
        color: var(--vert-claire) !important;
    }
    .Titre-groupe {
        font-size: 3rem;
    }
    .Paragraphe-groupe {
        font-size: 16px;
    }
    .Paragraphe-groupe-2 {
        font-size: 16px;
        width: auto;
    }
    .Bouton-lire-plus div a {
        font-size: 1rem;
    }
    .Bouton-lire-plus {
        width: 118px;
    }
    .Image-groupe img {

        max-width: 90%;
    }
     .taille-titre{
        width: auto;
    }
    .style-video div iframe {
        width: 800px;
        height: 400px;
    }
    .style-haut-page {
        margin-top: 150px;
    }
    .reserver {
        width: 75%;
    }
    .w-27 {
        width: 30% !important;
    }
    .carrousel-photo-wrapper {
        width: 75%;
    }
   
}



@media (max-width: 991px) {
   .Titre-groupe {
        font-size: 2rem;
    }
    .Paragraphe-groupe {
        font-size: 11px;
    }
    .block-titre-position {
        width: 80px;
    }
    .Titre-blocks {
        font-size: 14px;
    }
    #menu-footer li {
        width: 30.66666667%;
    }

}

@media (max-width: 800px) {
   .Titre-footer {
        font-size: 3rem; 
    }
    .instagram-text {
        font-size: 15px;
    }

    #menu-footer > li > a {
        font-size: 20px;
    }
    #menu-footer li ul {
        font-size: 10px;
    }
    #menu-footer li {
        width: 46.666667%;
    }



}


@media (max-width: 768px) {
    #menu-footer-bas li {
        flex: 0 0 auto;
        width: 34.66666667%;
    }
    .back-to-top{
        display: flex;
       justify-content: center;
    }
}

@media (max-width: 700px) {
   .style-video div iframe {
        width: 400px;
        height: 200px;
    }
    .fleche{
        display: flex;
       justify-content: center;
        padding: 30px 0px;
    }

}



@media (max-width: 566px) {
    .trait-custom {
        margin-right: 5%;
        margin-left: 5%;
    }
    .reserver {
        width: 100%;
    }
    .w-27 {
        width: 30% !important;
    }

}

@media (max-width: 436px) {
   main{
    width: 110%;
   }
   .Bouton-lire-plus div a {
        font-size: 10px;
    }
    .Bouton-lire-plus {
        width: 90px;
    }
    .style-video div iframe {
        width: 300px;
    }
    #menu-footer > li > a {
        font-size: 10px;
    }
    #menu-footer li {
        width: 33.666667%;
    }

}


@media (max-width: 393px) {
    #menu-footer-bas li {
        flex: 0 0 auto;
        width: 20.666667%;
    }
}