/** header **
------------------------------------------------------------
------------------------------------------------------------*/
body, body.scrolled {
    --header-height: 72px;
}
@media (max-width: 768px) {
    body, body.scrolled {
        --header-height: 67px;
    }
}

header {
    position: fixed!important;
    top: 0;
    width: 100%;
    z-index: 9;
    transition: .3s;
    margin-top: var(--wp-admin--admin-bar--height, 0px);
    height: var(--header-height);
    background: var(--color-light);
    border-bottom: 1px solid var(--color-black);
}
header.sticky-top {
    -opacity: 0;
}

.header-row, .header-row > *,
.header-row .header-btn-right, .header-row .header-btn-left {
    height: var(--header-height);
}
.header-row .col-6:has(.header-logo) {
    display: flex;
    align-items: center;
    justify-content: center;
}
aside {
    display: block;
    position: relative;
    margin-top: var(--header-height);
}
body:not(:has(aside)) main {
    margin-top: var(--header-height);
}
body:has(.partner-finder-map) main {
    margin-top: var(--header-height);
}

.soustitre-mega-menu {
    color:#666!important;
}
.sub-menu p:empty {
    display: none;
}
.sub-menu > .multi-cols[style*="background-image"] {
    border-radius: 0!important;
    padding: 2rem 2rem;
}
.sub-menu .base_multi_cols .btn-lien-fleche {
    font-size: 18px!important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.menu-bars {
    display: block;
    width: 36px;
    height: 2px;
    background: var(--color-primaire);
    margin: 10px 0;
}
.menu-bars:first-child {
    margin-top: 0;
}
.menu-bars:last-child {
    margin-bottom: 0;
}


/** BOUTONS HEADERTOP **
------------------------------------------------------------
------------------------------------------------------------*/
.header-btn, .header-btn-mobile, .header-close {
    display: inline-block;
    color: var(--color-dark);
    height: 28px;
    text-align: center;
    font-size: 26px;
    cursor: pointer;
    transition: .3s;
    margin-top: 1px;
}
.header-btn-mobile {
    margin-top: -3px;
}

.header-btn-search button, .header-btn-search svg {
    color: var(--color-primaire);
    padding: 0;
    font-size: 14px;
    width: 42px;
    transition: .3s;
}
.header-btn-contact {
    width: 42px;
    margin-left: 12px;
    justify-content: center;
    line-height: 18px;
}
.header-btn-search svg,
.menu-header-langue svg,
.header-btn-contact svg{
    width: 24px;
    height: 24px;
    transition: .3s;
}
.header-btn-mobile svg{
    width: 32px;
    height: 32px;
    transition: .3s;
}
.menu-header-langue svg {
    margin-left: 13.5px;
}
.header-btn-search:hover svg,
.menu-header-langue .header-btn:hover svg,
.header-btn-contact:hover svg{
    fill: var(--color-light) !important;
}


@media screen and (max-width: 782px) {
    .admin-bar .header-sticky {
        -top: 0; /* Hauteur de la barre d'admin WP sur mobile */
    }
}
.menu-account {
    position: relative;
}
header .btn, header .btn-1, header .btn-2, .wpml-ls-legacy-list-horizontal a {
    white-space: nowrap;
    transition: .3s;
}
.header-recherche {
    margin: 0 20px;
}
header svg, header i {
    cursor: pointer;
}

body.no-scroll {
    overflow: hidden;
}

a {
    transition: .3s;
}

/** LOGO **
------------------------------------------------------------
------------------------------------------------------------*/
img.custom-logo.custom-logo-regular, img.custom-logo.custom-logo-small {
    height: 100%;
}
@media only screen and (min-width: 992px) {
    img.custom-logo.custom-logo-small {
        display: none;
    }
    img.custom-logo.custom-logo-regular {
        display: inline-block;
    }
}
@media only screen and (max-width: 991px) {
    img.custom-logo.custom-logo-small {
        display: inline-block;
    }
    img.custom-logo.custom-logo-regular {
        display: none;
    }
}

/** MENU TOP **
------------------------------------------------------------
------------------------------------------------------------*/
.menu-top ul,
.menu-redirect ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu-top ul li,
.menu-redirect ul li {
    display: inline-block;
    padding: 0 0 0 20px;
}
.menu-top ul li a,
.menu-redirect ul li a {
    position: relative;
    color: var(--color-dark);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px; /* 157.143% */
}
.menu-top ul li a i,
.menu-redirect ul li a i {
    margin-right: 5px;
}
.menu-top li a::before,
.menu-redirect li a::before,
.menu-top li a::after,
.menu-redirect li a::after {
    position: absolute;
    width: 100%;
    height: 1px;
    background: currentColor;
    top: 20px;
    left: 0;
    pointer-events: none;
}

.menu-top li a::before,
.menu-redirect li a::before {
    content: '';
}
.menu-top li a::before,
.menu-redirect li a::before {
    transform-origin: 100% 50%;
    transform: scale3d(0, 1, 1);
    transition: transform 0.3s;
}

.menu-top li a:hover::before,
.menu-redirect li a:hover::before {
    transform-origin: 0% 50%;
    transform: scale3d(1, 1, 1);
}





@media (max-width: 600px) {
    .header i.fa-regular.fa-eye-low-vision {
        font-size: 19px;
    }
}
.offcanvas-header {
    position: absolute;
    right: 20px;
    top: 20px;
}
.offcanvas-header .btn-close {
    color: var(--color-dark);
    font-size: 25px;
    opacity: 1;
}
.offcanvas.offcanvas-top.offcanvas-recherche,
.banner-search.banner-search {
    background: url("/wp-content/uploads/fond-filtres.webp") no-repeat center center;
    background-size: cover;
}
.wp-block-search__inside-wrapper {
    border-radius: 4px;
    border: 1px solid var(--color-dark);
    overflow: hidden;
    background: transparent;
}
.wp-block-search__inside-wrapper input {
    padding-left: 20px;
}
.wp-block-search__inside-wrapper input,
.wp-block-search__inside-wrapper button {
    background: transparent;
    height: 70px;
}
.wp-block-search__inside-wrapper button {
    border: 0;
    font-size: 26px;
    font-weight: 400;
    color: var(--color-black);
    padding: 0;
}
.search .wp-block-search__inside-wrapper button {
    padding: 0 16px 0 0;
}
.offcanvas-body .wp-block-search__inside-wrapper input {
    background: #FFF0;
    width: calc(100% - 60px);
    border: 0;
    outline: 0;
}
.wp-block-search__button svg {
    height: 46px !important;
    width: 46px !important;
    transform: rotateY(180deg);
}
.wp-block-search__input {
    border: 0;
    outline: 0;
    width: 100%;
}

.header-close {
    font-size: 36px;
}
.header-btn-mobile a, .header-btn a {
    color: var(--color-light);
}
.header-btn:hover, .header-btn:hover a,
.header-btn:focus, .header-btn:focus a,
.header-btn:focus-within, .header-btn:focus-within a {
    color: var(--color-3);
}
.header-btn-fa,
.slick-prev::before, .slick-next::before {
    font-family: var(--font-fa) !important;
    font-weight: 600;
}
.header-btn-fa {
    white-space: nowrap;
}

.header-btn i {
    line-height: 34px;
    margin: 9px 10px;
    font-size: 18px;
}
.header-btn i.fa-globe {
    margin-right: 5px;
}
.menu-header-langue .header-menu {
    max-width: 0;
    overflow: hidden;
    transition: .6s;
}
.menu-header-langue .header-btn:hover .header-menu,
.menu-header-langue .header-btn:focus .header-menu,
.menu-header-langue .header-btn:focus-within .header-menu {
    max-width: 150px;
    overflow: visible;
}

.header-btn {
    display: flex;
    align-items: center;
    height: 52px;
    border-radius: 4px;
    transition: .6s;
}
.header-btn:hover,
.header-btn:focus,
.header-btn:focus-within {
    background: var(--color-dark);
}
.header-btn:hover svg,
.header-btn:focus svg,
.header-btn:focus-within svg {
    fill: var(--color-light);
}
.header-btn i::before {
    color: var(--color-dark);
    transition: .6s;
}

.header-btn:hover i::before,
.header-btn:focus i::before,
.header-btn:focus-within i::before,
.header-btn:hover .menu-item-has-children > a > .wpml-ls-native,
.header-btn:focus .menu-item-has-children > a > .wpml-ls-native,
.header-btn:focus-within .menu-item-has-children > a > .wpml-ls-native,
.header-btn:hover .header-menu .menu_langue ul.menu > li.menu-item-has-children > a::after,
.header-btn:focus .header-menu .menu_langue ul.menu > li.menu-item-has-children > a::after,
.header-btn:focus-within .header-menu .menu_langue ul.menu > li.menu-item-has-children > a::after {
    color: var(--color-light);
}
@media (max-width: 576px) {
    .header-btn i {
        margin: 9px 0;
    }
}

/** MENU PRINCIPAL DESKTOP **
------------------------------------------------------------
------------------------------------------------------------*/
@-webkit-keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }
    100% {
        opacity: 1;
        left: 0;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }
    100% {
        opacity: 1;
        left: 0;
    }
}

/* langue */
nav.menu_langue > ul {
    padding-left: 0;
}
.header-langue .header-menu ul ul,
.header-langue .header-menu ul .menu-wrapper {
    min-width: 100px;
}
.header-menu .menu_langue ul > li > a {
    padding: 0;
}
nav.menu_langue > ul > .menu-item {
    margin: 14px 14px 14px 4px;
}
nav.menu_langue > ul > .menu-item > a {
    color: var(--color-light);
}
    /* ====================================================================================================
        MENU CSS
    ==================================================================================================== */
.header-menu-principal {
    display: block;
}
#mobile-menu {
    display: none;
}
.mobile-menu.header-menu {
    background: var(--color-1);
    color: var(--color-light);
}
.header-menu:not(.mega-menu) {
    position: relative;
    display: block;
    text-decoration: none;
    text-align: center;
}
.header-menu .bt- {
    cursor: pointer;
}
.header-menu h3 {
    font-weight: normal;
}

.header-menu a {
    border-color: transparent;
}

.header-menu a:hover {
    color: var(--color-1);
}

.header-menu:not(.mega-menu) ul,
.header-menu:not(.mega-menu) ul li,
.header-menu:not(.mega-menu) ul li a {
    position: relative;
}

.header-menu:not(.mega-menu) ul {
    z-index: 1;
    margin-bottom: 0;
}

.header-menu:not(.mega-menu) > ul > li > a {
    border: 1px solid transparent;
    color: var(--color-light);
}
.header-menu *, .sub-menu {
    transition: .3s;
}
.header-menu ul,
.header-sub-menu ul {
    margin-bottom: 0;
}
.header-menu ul li,
.header-sub-menu ul li {
    margin: 0 10px;
}

.header-menu ul li a:not([class*="btn-cta"]),
.header-sub-menu ul li a:not([class*="btn-cta"]){
    display: block;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    color: var(--color-dark);
}
.header-menu ul > li > a,
.header-sub-menu ul > li > a {
    padding: 21px 0;
    color: var(--color-dark);
    font-weight: 400;
}
.header-menu ul li a.btn-cta-normal.btn-fullwidth {
    color: var(--color-light);
}
.header-menu:not(.mega-menu) ul.menu > li > a::before {
    position: absolute;
    width: 100%;
    height: 2px;
    background: currentColor;
    top: 45px;
    left: 0;
    pointer-events: none;
    content: '';
    transform-origin: 100% 50%;
    transform: scale3d(0, 1, 1);
    transition: transform 0.3s;
}

.header-menu:not(.mega-menu):not(:has(.menu_langue)) ul.menu > li > a:hover::before,
.header-menu:not(.mega-menu):not(:has(.menu_langue)) ul.menu > li.current-menu-item > a::before {
    transform-origin: 0% 50%;
    transform: scale3d(1, 1, 1);
}

/* Flèche pour les éléments du premier niveau qui ont des sous-menus */
.header-menu ul#menu-menu_principal.menu > li.menu-item-has-children > a {
    display: flex;
    align-items: center;
}
.header-menu ul#menu-menu_principal.menu > li.menu-item-has-children > a::after {
    content: '˄';
    font-family: var(--font-fa);
    display: inline-block;
    margin-left: 10px;
    font-size: 18px;
    color: var(--color-dark);
    font-weight: 500;
    font-family: monospace;
    height: 20px;
    transform: rotate(180deg);
    transition: .3s;
}

.header-menu ul#menu-menu_principal.menu > li.menu-item-has-children:hover > a::after {
    transform: rotate(0deg);
    -content: '\f106';
    -color: var(--color-dark);
}
.header-menu nav.menu_langue > ul > li.menu-item-has-children > a {
    margin-right: 15px;
}
.header-menu-button {
    display: none;
}

.header-menu.pos-fixed {
    position: fixed;
    top: -2px;
    left: -2px;
    right: -2px;
    z-index: 9999;
}

.header-menu a {
    white-space: nowrap;
}
.header-menu .sub-menu-tpl a {
    white-space: normal!important;
}

.header-menu .sub-menu {
    cursor: pointer;
}
.header-menu > ul {
    padding: 0 5px;
}

.header-menu ul li {
    display: inline-block;
    transition: .3s;
    flex: 1 1 min-content !important;
}

/*** submenu ***/
.header-menu:not(.mega-menu):not(:has(.menu_langue)) ul ul,
.header-menu:not(.mega-menu):not(:has(.menu_langue)) ul .menu-wrapper {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    background-color: var(--color-primaire);
    border-radius: 10px;
    padding: 10px 0;
    min-width: 250px;
    left: 0;
    top: 100%;
    transition: 0.3s;
    z-index: 100;
}
.header-menu ul ul {
    margin: 0 0 0 -40px;
}
.header-menu ul ul li a {
    font-size: 14px;
    font-weight: 400;
    padding: 2px 0 !important;
    display: block;
    position: relative;
    transition: 0.2s;
}
.menu-header-principal .header-menu ul ul li a {
    -color: var(--color-primaire) !important;
}
.menu-header-principal .header-menu ul ul li a:hover {
    -color: var(--color-secondaire) !important;
}

.menu-header-langue .sub-menu {
    position: absolute!important;
    opacity: 0;
    max-width: 0;
    max-height: 0;
    min-width: 0!important;
    overflow: hidden;
    border-radius: 0!important;
    padding: 0px!important;
    left: -1.5px !important;
    width: 91.5px;
    top: 36px !important;
    background-color: var(--color-dark);
    transition: 0.3s;
    padding-bottom: 10px !important;
    border-radius: 0 0 5px 5px !important;
}
.menu-header-langue .header-menu ul ul li {
    width: auto;
    margin: 2px;
    transition: .3s;
    padding: 4px;
    margin: 1px;
}
.menu-header-langue .header-menu ul ul li a {
    color: var(--color-light) !important;
    margin: 0 5px 0 16px;
    transition: .3s;
}
.menu-header-langue .header-menu ul ul li:hover a {
    color: var(--color-dark) !important;
    font-weight: 800;
}
.menu-header-langue .header-menu ul ul li a:hover::after {
    height: 0!important;
}
.menu-header-langue .header-menu ul ul li:hover {
    background-color: var(--color-light);
}


.menu-header-langue .header-btn:hover .sub-menu,
.menu-header-langue .header-btn:focus .sub-menu,
.menu-header-langue .header-btn:focus-within .sub-menu  {
    opacity: 1;
    max-width: 100px;
    max-height: 280px;
    z-index: 100;

}

.header-menu:not(.mega-menu) ul ul li {
    display: block;
    overflow: hidden;
    height: auto;
    padding: 5px 10px;
    transition: 0.3s;
}
.header-menu ul.sub-menu li {
    padding: 0;
    display: block;
    width: 100%;
    text-align: left;
}
.header-menu ul.sub-menu li:hover {
    color: var(--color-jaune);
}
/* Submenu icon styles */
.header-menu ul.sub-menu li a::before {
    font-family: var(--font-fa);
    content: "\f105";
    margin-right: 8px;
    font-weight: 400;
    display: inline-block;
    transition: 0.2s;
    top: 1px;
    position: relative;
}

.header-menu ul.sub-menu li:hover a::before {
    margin-right: 12px;
    color: var(--color-jaune);
}
.header-menu ul li:hover ul li {
    overflow: visible;
}
.menu-header-principal {
    flex: 1 1 auto;
    margin-top: 0px;
}
.menu-burger {
    height: 26px;
    width: 32.5px;
}
.menu-header-principal .header-menu .sub-menu .menu-item-has-children::after {
    content: "\f054"!important;
    font-family: var(--font-fa) !important;
    font-size: 16px;
    line-height: 1;
    opacity: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    right: 15px;
    top: 15px;
    position: absolute;
    font-weight: 400;
    cursor: pointer;
    color: var(--color-light);
}

.header-menu ul ul ul {
    width: 100%;
    left: 100%;
    top: -2px;
    padding: 0 !important;
    margin-top: 2px;
}

.header-menu ul .menu-wrapper {
    position: absolute;
    left: -1px;
    top: 100%;
    margin-top: -5px;
    width: 100%;
}

.header-menu ul .menu-wrapper a {
    white-space: inherit;
}

.header-menu ul .menu-wrapper .menu-col {
    position: relative;
    float: left;
    width: 23%;
    margin: 0 1%;
}

.header-menu ul .menu-wrapper h3 {
    margin: 20px 15px;
    font-size: 18px;
    line-height: 22px;
    color: var(--color-dark);
}

.header-menu ul .menu-wrapper ul {
    position: relative;
    visibility: hidden;
    height: 100%;
    border: 0;
    opacity: 1;
    background: transparent;
}

.header-menu ul li:hover > .menu-wrapper ul {
    visibility: visible;
}

.header-menu ul .menu-wrapper ul li {
    padding: 0 10px;
}

.header-menu .show-submenu {
    display: none;
}
.header-recherche {
    margin-left: 0;
}

/* RESPONSIVE
================================================== */
@media only screen and (max-width: 1400px) {
    .header-menu ul#menu-menu_principal {
        padding-left: 1rem;
    }
}
@media only screen and (max-width: 991px) {
    .menu-header-principal .header-menu {
        display: none;
    }
    input.header-menu-button {
        display: none;
    }

    label.header-menu-button {
        display: inline-block;
        text-transform: uppercase;
        background: var(--color-light);
        color: var(--color-dark);
        cursor: pointer;
        height: 80px;
        font-size: 0;
        width: 90px;
        padding: 30px 0 0 30px;
        /*border-left: 1px solid #000000;*/
    }

    label.header-menu-button:before {
        position: absolute;
        content: '\f0c9';
        font-family: var(--font-fa);
        font-size: 40px;
        z-index: 1;
    }

    .header-menu ul {
        margin: 0;
        padding: 0;
    }

    .header-menu li, .header-menu a {
        display: block;
    }

    .header-menu li {
        position: initial !important;
    }

    .header-menu ul > li {
        padding-bottom: 0;
    }

    .header-menu > ul > li:hover > a,
    .header-menu > ul > li.current > a {
        border-left: 1px solid transparent;
        border-right: 1px solid transparent;
    }

    .header-menu ul ul ul a {
        padding-left: 55px;
    }

    .header-menu ul ul ul ul a {
        padding-left: 70px;
    }

    .header-menu ul ul li a {
        font-size: 16px;
        padding-left: 40px;
    }

    .header-menu ul ul ul a {
        font-size: 16px;
        padding-left: 60px;
    }

    .header-menu ul li.menu-item-has-children > a:before,
    .header-menu ul li.menu-item-has-children > a:after {
        top: 50%;
        left: auto;
        right: 12px;
        background: var(--color-dark);
    }

    .header-menu ul li.menu-item-has-children > a:before {
        margin-top: -6px;
    }

    .header-menu ul li.menu-item-has-children > a:after {
        margin-top: 6px;
    }


    .header-menu .show-submenu {
        position: absolute;
        display: block !important;
        right: 0;
        margin: 0 21px;
        -webkit-appearance: none;
    }

    .header-menu .show-submenu:before {
        content: "\f078";
        font-family: var(--font-fa);
        font-size: 20px;
        color: var(--color-light);
        display: block;
        position: relative;
        top: -20px;
    }

    .header-menu .show-submenu + ul,
    .header-menu .show-submenu + .menu-wrapper {
        display: none;
        visibility: hidden;
    }

    .header-menu .show-submenu:checked + ul,
    .header-menu .show-submenu:checked + .menu-wrapper {
        display: block;
        visibility: visible;
        top: 1px;
    }

    .btn-header {
        display: none;
    }
    .header-recherche {
        margin-right: 0;
    }


    @-webkit-keyframes slide-left {
        0% {
            left: 100%;
        }
        100% {
            left: 0%;
        }
    }
    @keyframes slide-left {
        0% {
            left: 100%;
        }
        100% {
            left: 0%;
        }
    }

}

@media (max-width: 1200px) {
    header .header-site .col-10 {
        padding-left: 100px!important;
    }
    .header-menu .sub-menu .sub-menu {
        max-width: 250px;
        width: 100%;
    }
    .header-menu #menu-menu_principal > li > a, .header-menu .sub-menu .sub-menu a {
        white-space: normal;
    }
    .header-menu ul.sub-menu ul li {
        -padding: 15px 20px 15px 20px;
    }
    .header-btn {
        -width: 46px;
    }
    #menu-menu_principal {
        -display: flex;
        padding-right: 2rem;
    }
}

@-webkit-keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/*------------------- menu mobile -------------------*/
.message_top .btclose {
    position: absolute;
    text-align: center;
    line-height: 18px;
    cursor: pointer;
    border-radius: 50px;
    right: 10px;
    top: 20px;
    padding: 0;
    margin: 0;
    transition: .3s;
}

.message_top .btn-close {
    opacity: 1;
    cursor: pointer;
    color: var(--color-dark);
}
.message_top .btclose:hover {
    background: #fff8;
}
.acf-block-preview .message_top .btclose {
    display: none;
}
.btn-close {
    cursor: pointer;
}

@media (max-width: 768px)  {
    .message_top {
        height: auto!important;
    }
    .message_top .text-center {
        text-align: center !important;
        line-height: initial;
        padding: 10px 30px 10px 0;
    }
    .offcanvas-body .w-75 {
        width: 100% !important;
    }
    .offcanvas-body h1.style-titre-deco::after {
        margin-left: 2px!important;
    }
}


/*------------------- menu mobile -------------------*/
.menu-header-mobile {
    position: fixed;
    width: 100%;
    z-index: 999;
    left: 0;
    right: 0;
    top: 0; /* Commence en haut de l'écran */
    height: 100vh; /* Prend 100% de la hauteur de la fenêtre */
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: .3s;
    /* Ajustement pour la barre d'administration WordPress */
    padding-top: var(--wp-admin--admin-bar--height, 0px);
}

.menu-header-mobile.active {
    max-height: 100vh; /* Hauteur maximale = 100% de la hauteur de la fenêtre */
    opacity: 1;
    background: var(--color-dark);
    background: var(--color-light);
}
/* Bouton de fermeture du menu mobile */
.close-menu-mobile {
    position: absolute;
    margin-top: var(--wp-admin--admin-bar--height, 0px);
    top: 10px;
    right: 20px;
    z-index: 1000;
    background: transparent;
    border: none;
    color: var(--color-dark);
    font-size: 18px;
    cursor: pointer;
    width: auto;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.close-menu-mobile .fa-xmark-large {
    color: var(--color-dark);
    font-size: 16px;
}
.menu-header-mobile.active .close-menu-mobile {
    opacity: 1;
}
.menu-header-mobile nav.menu-mobile {
    position: relative;
    padding: 60px 0 0 0;
    overflow: auto;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    margin-top: 0;
    background: url("/wp-content/uploads/bg-membre.webp") no-repeat top center;
    background-size: auto 100vh;
}
.menu-header-mobile nav.menu-mobile.no-scroll {
    overflow: hidden !important;
    position: initial;
}
@media (min-width: 768px) {
    .menu-header-mobile,
    .menu-header-mobile nav.menu-mobile {
        width: 650px;
    }
}

.menu-header-mobile ul {
    padding: 0rem;
    border-top: 1px solid transparent;
}
.menu-header-mobile li {
    min-height: 62px;
    border-bottom: 1px solid transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.menu-header-mobile .menu-menu_top-container ul,
.menu-header-mobile .menu-menu_top-container li {
    border-top: none;
    border-bottom: none;
}
.menu-header-mobile .menu-menu_top-container li i {
    margin-right: 10px;
}
.menu-header-mobile li:has(.sub-menu)::after {
    position: absolute;
    width: 34px;
    height: 62px;
    content: '\f061';
    font-family: var(--font-fa);
    font-size: 22px;
    right: var(--rem-1);
    font-weight: 300;
    line-height: 62px;
    color: var(--color-dark);
}

.menu-header-mobile a {
    color: var(--color-dark);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    margin-left: var(--rem-2);
    display: flex;
    position: relative;
    -min-height: 62px;
    min-width: 30%;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
    height: auto;
    max-width: 80%;
}

.menu-header-mobile .menu-item-title {
    display: block;
}
.menu-header-mobile .menu-item-description {
    display: block;
    font-size: 15px;
    font-weight: 300;
    line-height: 20px;
    color: var(--color-secondaire);
    margin-top: 6px;
    opacity: 0.8;
}
.menu-header-mobile li:has(.menu-item-description) {
    min-height: auto;
}
.menu-header-mobile .parent-title {

}


@media (max-width: 768px) {
    .menu-header-mobile a {
        margin-left: var(--rem-1);
    }
    .menu-header-mobile li:has(.sub-menu)::after {
        right: 0;
    }
    .close-menu-mobile {
        right: 0;
    }
}
.menu-header-mobile li a::after {
    position: absolute;
    width: 100%;
    height: 1px;
    background: currentColor;
    top: 100%;
    left: 0;
    pointer-events: none;
}
.menu-header-mobile li a::after {
    transform-origin: 100% 50%;
    transform: scale3d(0, 1, 1);
    transition: transform 0.3s;
    content: '';
}
.menu-header-mobile li a:hover::after {
    transform-origin: 0% 50%;
    transform: scale3d(1, 1, 1);
}
.menu-header-mobile .sub-menu {
    position: absolute;
    height: calc(100vh - var(--header-height));
    top: 0;
    right: -110%;
    z-index: 1;
    width: 100%;
    background: url("/wp-content/uploads/bg-membre.webp") no-repeat top center;
    background-size: auto 100vh;
    overflow: hidden;
    transition: .3s;
    /*box-shadow: 0 0 10px #aaa;*/
    content-visibility: hidden;
}
.menu-header-mobile .sub-menu .sub-menu {
    z-index: 2;
}
.menu-header-mobile .sub-menu .sub-menu .sub-menu {
    z-index: 3;
}
.menu-header-mobile .sub-menu .sub-menu .sub-menu .sub-menu {
    z-index: 4;
}
.menu-header-mobile .sub-menu.opened {
    content-visibility: visible;
    right: 0;
}
.menu-header-mobile .retour {
    background: var(--color-light);
    color: var(--color-dark);
    padding-left: 1rem;
    border: 0;
    min-height: 65px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
}
.menu-header-mobile .parent-title {
    padding-left: 0;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    color: var(--color-dark);
    margin-left: var(--rem-2);
}
.menu-header-mobile .retour::before {
    position: relative;
    width: 34px;
    height: 42px;
    content: '\f060';
    font-family: var(--font-fa);
    font-size: 22px;
    font-weight: 300;
    line-height: 42px;
}



.menu-header-mobile:has(input#mobile-menu:checked) {
    max-height: 100vh;
    opacity: 1;
}
@media only screen and (max-width: 768px) {
    body:has(input#mobile-menu:checked) {
        overflow: hidden;
    }
}


/* MEGA MENU
================================================== */
.sub-menu-tpl {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    background: var(--color-light);
    color: var(--color-dark);
    border: 0;
    margin-top: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: .8s;
    content-visibility: hidden;
}
li > .sub-menu-tpl > .multi-cols {
    border-top: 1px solid var(--color-primaire);
    border-bottom: 1px solid var(--color-primaire);
}
#menu-menu_principal li .sub-menu-tpl li {
    display: flex;
}
li:hover > .sub-menu-tpl,
li:focus > .sub-menu-tpl,
li:focus-within > .sub-menu-tpl {
    content-visibility: visible;
    max-height: 900px;
    opacity: 1;
    z-index: 10;

    -padding-left: calc(var(--cont-margin) - var(--rem-1));
}
.sub-menu-tpl p.style-body {
    font-size: 14px;
    line-height: 18px;
}
.sub-menu-tpl li a {
}

.sub-menu-tpl li > a {
}

.sub-menu-tpl li .sub-menu li a::before,
.sub-menu-tpl li .sub-menu li a::after {
    position: absolute;
    width: 100%;
    height: 1px;
    background: currentColor;
    top: 100%;
    left: 0;
    pointer-events: none;
}

.sub-menu-tpl li .sub-menu li a::before {
    content: '';
}
.sub-menu-tpl li .sub-menu li a::before {
    transform-origin: 100% 50%;
    transform: scale3d(0, 1, 1);
    transition: transform 0.3s;
}

.sub-menu-tpl li .sub-menu li a:hover::before {
    transform-origin: 0% 50%;
    transform: scale3d(1, 1, 1);
}


.sub-menu-tpl .image-contenu, .sub-menu-img .image-contenu{
    min-width: 80%;
    min-height: 150px;
}
.header-sub-menu .acf-block-preview ul {
    padding: 0!important;
}
.header-sub-menu .acf-block-preview ul li {
    margin: 0;
}
.header-sub-menu .acf-block-preview ul li::marker {
    content: '';
}

.header-sub-menu .acf-block-preview ul li a,
.header-menu ul li .sub-menu-tpl li,
.header-menu ul li .sub-menu-tpl li a {
    padding: 0 !important;
    white-space: normal !important;
}

.ligne-menu-desktop {
    max-height: 100px;
    opacity: 1;
    overflow: hidden;
    transition: .3s;
}
@media only screen and (max-width: 768px) {
    .ligne-menu-desktop {
        max-height: 0;
        opacity: 0;
    }
}



