.home_banner {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: #024343;
}

.home_banner_top {
    display: flex;
    width: calc(100% - 260px);
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.home_banner_logo {
    display: block;
}

.home_banner_logo img {
    width: 128px;
    height: auto;
}

.home_banner_menu {
    display: block;
}

.home_banner_menu img,
.home_banner_search img {
    width: 83px;
    height: auto;
}

.banner_title {
    display: flex;
    width: calc(100% - 260px);
    justify-content: center;
    align-items: flex-end;
    margin: 100px 0 0 0;
    padding: 0;
}

.banner_title span:nth-child(1),
.banner_title span:nth-child(2) {
    text-shadow: 0 10px 20px #00000029;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 95px;
    letter-spacing: 0;
    line-height: 1;
}

.banner_title span:nth-child(1) {
    color: #E61B46;
}

.banner_title span:nth-child(2) {
    color: #FFFFFF;
}

.banner_title span:nth-child(3) {
    color: #FFFFFF;
    text-shadow: 0 10px 20px #00000029;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 74px;
    letter-spacing: 0;
    line-height: 1;
}

.banner_sub_title {
    color: #FFFFFF;
    text-shadow: 0 10px 20px #00000029;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 30px;
    letter-spacing: 0;
    line-height: 1;
    margin: 0 0 240px 0;
    padding: 0;
}


.mk_ws_internal .banner_title span:nth-child(1),
.mk_ws_internal .banner_title span:nth-child(2),
.mk_ws_internal .banner_title span:nth-child(3),
.mk_ws_internal .banner_sub_title {
    text-shadow: unset !important;
}


.home_menu {
    display: flex;
    width: 100%;
    justify-content: center;
}

.home_menu_sz {
    display: flex;
    width: calc(100% - 20px);
    max-width: 1000px;
    margin: 50px 0;
}

.home_menu_sz > .custom-menu-wrapper {
    display: flex;
    width: 100%;
}

.home_menu_sz > .custom-menu-wrapper > ul#menu-menu-principal {
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.home_menu_sz > .custom-menu-wrapper > ul#menu-menu-principal > li {
    display: block;
}

.home_menu_sz > .custom-menu-wrapper > ul#menu-menu-principal > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    padding: 20px 40px;
    margin: 10px 20px;
    background: #024343;
    color: #FFFFFF;
    text-shadow: 0 10px 20px #00000029;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 24px;
    letter-spacing: 0;
    line-height: 1;
    text-decoration: none;
}

.home_menu_sz > .custom-menu-wrapper > ul#menu-menu-principal > li > a:hover,
.home_menu_sz > .custom-menu-wrapper > ul#menu-menu-principal > li#menu-item-12 > a {
    background: #17B3B3;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .home_banner_top {
        width: calc(100% - 100px);
        margin-top: 24px;
    }

    .banner_title {
        width: calc(100% - 100px);
        margin-top: 60px;
    }

    .banner_title span:nth-child(1),
    .banner_title span:nth-child(2) {
        font-size: 72px;
    }

    .banner_title span:nth-child(3) {
        font-size: 56px;
    }

    .banner_sub_title {
        font-size: 24px;
        margin-bottom: 180px;
    }

    .home_menu_sz {
        max-width: 800px;
    }

    .home_menu_sz > .custom-menu-wrapper > ul#menu-menu-principal > li > a {
        padding: 16px 32px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .home_banner_top {
        width: calc(100% - 60px);
        margin-top: 20px;
    }

    .home_banner_logo img {
        width: 100px;
    }

    .home_banner_menu img {
        width: 60px !important;
        height: 60px !important;
    }

    .home_banner_search img {
        width: 54px !important;
        height: 54px !important;
    }

    .banner_title {
        width: calc(100% - 60px);
        flex-direction: column;
        align-items: center;
        margin-top: 40px;
    }

    .banner_title span:nth-child(1),
    .banner_title span:nth-child(2),
    .banner_title span:nth-child(3) {
        font-size: 48px;
        text-align: center;
    }

    .banner_sub_title {
        font-size: 20px;
        margin-bottom: 120px;
        text-align: center;
    }

    .home_menu_sz {
        margin: 30px 0;
    }

    .home_menu_sz > .custom-menu-wrapper > ul#menu-menu-principal > li > a {
        padding: 12px 24px;
        margin: 8px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .home_banner_top {
        width: calc(100% - 40px);
    }

    .home_banner_logo img {
        width: 52px;
    }

    .home_banner_menu img {
        width: 52px !important;
        height: 52px !important;
    }

    .banner_title {
        flex-direction: row;
        width: calc(100% - 40px);
        margin-top: 130px;
    }

    .banner_title span:nth-child(1),
    .banner_title span:nth-child(2),
    .banner_title span:nth-child(3) {
        font-size: 41px;
    }

    .banner_sub_title {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 180px;
    }

    .home_menu_sz > .custom-menu-wrapper > ul#menu-menu-principal > li > a {
        border-radius: 30px;
    }
}


/* form de recherche */
.home_search {
    display: flex;
    width: 100%;
    justify-content: center;
    position: relative;
    top: -50px;
}

.home_search_sz {
    display: flex;
    width: calc(100% - 100px);
    max-width: calc(900px - 4px);
    height: 96px;
    background: #FFFFFF;
    border-radius: 50px;
    border: 2px solid #054343;
    overflow: hidden;
}

.home_search_form_c {
    display: flex;
    width: calc(100% - 110px);
    height: 100%;
    justify-content: center;
    align-items: center;
}

.home_search_form_c form,
.home_search_form_c > form > label,
.home_search_form_c > form > label > input {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: unset !important;
    text-indent: 40px;
}

.home_search_form_c > form > label input.is-search-input,
.home_search_form_c > form > label input.is-search-input::placeholder {
    color: #024343 !important;
    font-family: "Montserrat", serif !important;
    font-optical-sizing: auto !important;
    font-weight: 700 !important;
    font-style: normal !important;
    font-size: 22px !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    border: unset !important;
}

.home_search_btn_c {
    display: flex;
    width: 110px;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.home_search_btn {
    display: flex;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #024343;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Responsive styles - Tablet */
@media (max-width: 992px) {
    .home_search_sz {
        height: 80px;
    }

    .home_search_form_c > form > label input.is-search-input,
    .home_search_form_c > form > label input.is-search-input::placeholder {
        font-size: 24px !important;
    }

    .home_search_btn {
        width: 45px;
        height: 45px;
    }
}

/* Responsive styles - Mobile */
@media (max-width: 768px) {
    .home_search {
        top: -30px;
    }

    .home_search_sz {
        width: calc(100% - 40px);
        height: 70px;
        border-radius: 35px;
    }

    .home_search_form_c {
        width: calc(100% - 80px);
    }

    .home_search_form_c > form > label input.is-search-input,
    .home_search_form_c > form > label input.is-search-input::placeholder {
        font-size: 20px !important;
        text-indent: 30px !important;
    }

    .home_search_btn_c {
        width: 80px;
    }

    .home_search_btn {
        width: 40px;
        height: 40px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .home_search_sz {
        height: 60px;
        border-radius: 30px;
    }

    .home_search_form_c > form > label input.is-search-input,
    .home_search_form_c > form > label input.is-search-input::placeholder {
        font-size: 18px !important;
        text-indent: 20px !important;
    }

    .home_search_btn {
        width: 36px;
        height: 36px;
    }
}


@media (min-width: 1024px) {
    #is-ajax-search-result-118 {
        width: 900px !important;
    }
}


#is-ajax-search-result-118,
#is-ajax-search-result-118 a,
#is-ajax-search-result-118 div {
    font-family: "Montserrat", serif !important;
    font-size: 18px !important;
    line-height: 1.375 !important;
}

#is-ajax-search-result-118 .is-title a {
    color: #17B3B3;
    font-weight: 700;
}


/* ============ */
.page_with_top_image .banner_title {
    display: flex;
    width: calc(100% - 260px);
    justify-content: center;
    align-items: flex-end;
    margin: 60px 0 100px 0;
    padding: 0;
}

@media (max-width: 1024px) {
    .page_with_top_image .banner_title {
        width: calc(100% - 20px);
        margin: 40px 0 70px 0;
        text-align: center;
        align-items: center;
    }
}

.page_with_top_image .banner_title span:nth-child(2) {
    text-shadow: 0 10px 20px #00000029;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 76px;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
}


#menu-item-46 {
    width: 100%;
    height: 0px;
    overflow: hidden;
    visibility: hidden;
}


body.with_sticky_menu .home_banner_top {
    position: fixed;
    top: 20;
    z-index: var(--z-index-max);
}

body.with_sticky_menu .home_banner_top {
    justify-content: flex-end;
}

body.with_sticky_menu .home_banner_top .home_banner_logo {
    display: none;
}




@media (max-width: 1024px) {
    .page_with_top_image .banner_title span:nth-child(2) {
        font-size: 40px;
    }
}

.lateral_navigation_menu #menu-menu-principal li.current-menu-item {
    background: #17B3B3 !important;
}


.home_banner_menu_c {
    display: flex;
    gap: 10px;
}

.home_banner_search,
.home_banner_menu {
    height: 83px;
    display: block;
    cursor: pointer;
    border: unset;
    background: unset;
}

.home_banner_search img {
    height: 100%;
}

.home_banner_menu img {
    height: calc(100% - 3px);
}

.floating_search_bar {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    background: rgba(2, 67, 67, 0.7);
    z-index: var(--z-index-max);
}

body.with_floating_search_bar .floating_search_bar {
    display: flex;
}

.floating_search_bar_sz {
    display: block;
    width: calc(100% - 20px);
    max-width: 1280px;
}

.floating_search_bar_close {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    margin-top: 40px;
}

.floating_search_bar_close svg {
    height: 40px;
    fill: #FFFFFF;
    cursor: pointer;
}

.floating_search_bar_close svg:hover {
    fill: #17B3B3;
}

.floating_search_bar_form {
    display: block;
    width: 100%;
    margin-top: 10px;
}

/* Niveau 1 - Desktop (style par défaut) */
.floating_search_bar_form input#is-search-input-223 {
    color: #024343 !important;
    font-family: "Montserrat", serif !important;
    font-optical-sizing: auto !important;
    font-weight: 700 !important;
    font-style: normal !important;
    font-size: 22px !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    border: unset !important;
    height: 80px;
    border-radius: 30px;
    text-indent: 30px;
}

/* Niveau 2 - Tablette (écrans < 1024px) */
@media screen and (max-width: 1024px) {
    .floating_search_bar_form input#is-search-input-223 {
        height: 70px;
        font-size: 20px !important;
        border-radius: 25px;
        text-indent: 25px;
    }
}

/* Niveau 3 - Mobile (écrans < 768px) */
@media screen and (max-width: 768px) {
    .floating_search_bar_form input#is-search-input-223 {
        height: 60px;
        font-size: 18px !important;
        border-radius: 20px;
        text-indent: 20px;
    }
}

/* Optionnel - Très petits écrans (écrans < 480px) */
@media screen and (max-width: 480px) {
    .floating_search_bar_form input#is-search-input-223 {
        height: 50px;
        font-size: 16px !important;
        border-radius: 15px;
        text-indent: 15px;
    }
}

#is-ajax-search-result-223 {
    z-index: var(--z-index-max);
}



/* nav redirect */
.lien-echappement {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 1000;
}

.lien-echappement:focus {
  top: 0;
}

.mk_ws_internal .home_banner_top {
    padding-bottom: 30px;
}


.single_page_title_bloc {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
}

.single_page_title_bloc .banner_title {
    max-width: 1280px;
    margin: 40px 0px 10px 0px;
}

.single_page_title_bloc .banner_title span {
    color: #024343 !important;
    font-size: 60px;
}

/* Tablettes (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .single_page_title_bloc .banner_title span {
        font-size: 48px;
    }
}

/* Tablettes plus petites (max-width: 768px) */
@media screen and (max-width: 768px) {
    .single_page_title_bloc .banner_title span {
        font-size: 36px;
    }
}

/* Mobiles (max-width: 480px) */
@media screen and (max-width: 480px) {
    .single_page_title_bloc .banner_title span {
        font-size: 28px;
        line-height: 1.2; /* Ajout pour améliorer la lisibilité sur mobile */
    }
}

/* Très petits mobiles (max-width: 320px) */
@media screen and (max-width: 320px) {
    .single_page_title_bloc .banner_title span {
        font-size: 24px;
    }
}

.mk_ws_internal .single_page {
    display: flex;
    width: 100%;
    justify-content: center;
}

.mk_ws_internal .single_page_sz {
    display: block;
    width: calc(100% - 20px);
    max-width: 1280px;
    font-size: 1.2em;
}
