:root {
    --small-margin: 40px;
    --medium-margin: 70px;
    --ltspace: 70px;
    --mdspace: 130px;
    --bigspace: 180px;
    --side-base: 7vw;
    --Noir: #020815;
    --Blanc: #FFFFFF;
    --MW-Bleu: #007DBC;
    --MW-Bleu-Clair: #1CA0E3;
    --Beige: #EBE5DB;
    --Gris: #676B73;
    --Gris-Fonce: #393E4A;
    --Img-Color: #0084FF;
    /*--Img-Color: #FF4400;*/
    /*--Img-Color: #00FFC3;*/
}

html{
    margin-top: 0 !important;
}

::selection {
    background-color: var(--MW-Bleu-Clair);
    color: var(--Blanc);
}

/* Firefox */
::-moz-selection {
    background-color: var(--MW-Bleu-Clair);
    color: var(--Blanc);
}

/* width */
::-webkit-scrollbar {
    width: 2px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--Noir);
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--Noir);
    width: 2px;
}
body{
    background: var(--Blanc);
}
#container{
    background: var(--Blanc);
    padding: 0;
}
* {
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 300;
}

h1{
    font-size: 50px;
    font-style: normal;
    font-weight: 300;
    line-height: 118%;
    color: var(--Blanc);
}

h2{
    font-size: 42px;
    font-style: normal;
    font-weight: 300;
    color: var(--Noir);
    line-height: 118%;
}

h3{
    font-size: 26px;
    font-style: normal;
    font-weight: 300;
    color: var(--Noir);
}

p, a{
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 135%;
    color: var(--Noir);
}

p{
    margin: 25px 0;
}

strong{
    font-weight: 500;
}

.fonce_claire p, .fonce_claire a, .fonce_claire a:visited,.fonce_claire li,.fonce_claire h1, .fonce_claire h2, .fonce_claire h3, .fonce_claire h4, .fonce_claire div{
    color: var(--Blanc);
}


    /*
        base composants
    */

/* super position */

.super_pose{
    display: grid;
}

.super_pose>div, .super_pose>img, .super_pose>a, .super_pose>ul{
    grid-area: 1 / 1;
}

.super_pose>div{
    z-index: 1;
}

.super_pose>img, .super_pose>.img_vdo, .super_pose .swiper{
    z-index: 0;
}

.contenu_on_semi{
    margin: auto var(--side-base) 0;
    width: calc(50% - var(--side-base));
}


/* image et video */

.img_vdo{
    width: 100%;
    height: 100svh;
    position: relative;
}

.img_vdo::after{
    content: '';
    display: block;position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 8, 21, 0.00) 0%, rgba(2, 8, 21, 0.60) 76.44%) , var(--Img-Color);
    background-blend-mode: normal, hard-light;

    /* pour que l’effet se mélange avec l’image */
    mix-blend-mode: overlay;
    opacity: 0.6;
}

.img_vdo video, .img_vdo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(78%) brightness(114%) contrast(100%);
    -webkit-filter: grayscale(78%) brightness(114%) contrast(100%);
    -moz-filter: grayscale(78%) brightness(114%) contrast(100%);
}

.swiper{
    max-width: 100%;
}


/********************************/


/* header */

#header{
    background-color: var(--Noir);
    padding: 0px var(--side-base);
    height: fit-content;
    position: absolute;
}

#menu .menu{
    gap: 20px;
}


#menu .menu>li{
    height: fit-content;
    padding: 19px 0px;
    cursor: pointer;
}

.home #header{
    background-color: rgba(2, 8, 21, 0);
}
.home #menu .menu>li{
    padding: 45px 0px;
    height: 100%;
}

#menu .menu>li>a{
    margin: 0;
    color: var(--Blanc);
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
}

#menu .menu>li:hover>a{
    color: var(--MW-Bleu-Clair);
}

#menu .menu>li:hover>a path{
    stroke: var(--MW-Bleu-Clair);
}

.has_submenu>a{
    display: flex;
    align-items: center;
    gap: 9px;
    pointer-events: none;
}

.has_submenu>a>.submenu-arrow{
    height: fit-content;
}

.menu-separator{
    display: flex;
    height: fit-content;
}


.sub-menu{
    position: absolute;
    padding: 80px var(--side-base);
    top: 100%;
    background: var(--Noir);
    left: 0;
    right: 0;
    border-top: 1px solid var(--Gris-Fonce);
    border-bottom: 1px solid var(--Gris-Fonce);
    pointer-events: none;
    opacity: 0;
}

.sub-menu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 50vh;
    background: rgba(2,8,21,0.8);
    z-index: -1;
}

.has_submenu:hover .sub-menu{
    opacity: 1;
    pointer-events: auto;
    /*background-color: #ff5500;*/
}

.home #header:has( .has_submenu:hover) {
    background-color: var(--Noir);
}

.mega-menu{
    display: flex;
    gap: 7%;
}

.mega-menu-left{
    width: 38%;
}


.mega-menu-right{
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.mega-menu-right a{
    color: var(--Blanc);
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 135%; /* 27px */
    text-transform: uppercase;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mega-menu-right a, .mega-menu-right a span, .mega-menu-right img, .mega-menu-right a svg{
    transition: 0.2s ease-out;
}

.mega-menu-right a .icon_color {
    height: 53px;
    display: flex;
    aspect-ratio: 1 / 1;
}

#menu .textes_menu{
    display: flex;
    flex-direction: column;
    margin: auto auto auto 5%;
    width: fit-content;
}

.is-produit .mega-menu-right a span.texte_lien_submenu {
    font-weight: 500;
}

.mega-menu-right a span.texte_lien_submenu {
    max-width: 345px;
}

.mega-menu-right a span.texte_desc_submenu{
    font-size: 17px;
    font-style: normal;
    font-weight: 300;
    text-transform: none;
}

.mega-menu-right a .double_row{
    transform: translateX(-10px);
    opacity: 0;
}

.mega-menu-right a:hover .icon_color path{
    stroke: var(--MW-Bleu-Clair);
}

.mega-menu-right a:hover{
    color: var(--MW-Bleu-Clair);
}

.mega-menu-right a:hover .double_row{
    transform: translateX(0);
    opacity: 1;
}


#menu .menu>.current_page_item>a {
    color: var(--Blanc);
    opacity: 0.6;
}



/********
Pages
**/

/* Accueil */

.accueil_1{
    background-color: var(--Noir);
    width: 100%;
    height: 94svh;
    display: grid;
}

.accueil_1 .img_vdo{
    height: 94svh;
    width: auto;
    max-width: 100vw;
    aspect-ratio:  100 / 81;
    margin: 0 0 0 auto;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 60% 100%, 0 0);
    position: relative;
}

/* pseudo-élément pour le dégradé */
.accueil_1 .img_vdo::before {
    content: "";
    position: absolute;
    inset: 0; /* top:0; left:0; right:0; bottom:0; */
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 17.42%, rgba(0,0,0,0) 35.15%);
    z-index: 1; /* devant l'image */
    pointer-events: none; /* pour ne pas bloquer les interactions */
    clip-path: inherit; /* si tu veux que le gradient ait la même forme que l'image */
}

.accueil_1 .contenu_on_semi {
    width: 50%;
}

.accueil_1 .contenu_on_semi h1{
    font-size: 75px;
}

.accueil_1 .contenu_on_semi .produits_list{
    display: flex;
    align-items: center;
    gap: 35px;
    margin-top: 60px;
}

.accueil_1 .contenu_on_semi .produits_list .produit_item{
    display: flex;
    align-items: center;
    gap: 13px;
}

.accueil_1 .contenu_on_semi .produits_list svg{
    max-width: 33px;
    max-height: 32px;
}

.accueil_1 .contenu_on_semi .produits_list .produit_title{
    color: var(--Blanc);
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
}


.accueil_2{
    background-color: var(--Noir);
    color: var(--Blanc);
    padding: 170px var(--side-base) 120px;
    position: relative;
}

.accueil_2>svg{
    position: absolute;
    left: 0;
}

.accueil_2>div{
    max-width: 776px;
    margin: auto;
}

.accueil_2>div h2 {
    line-height: 118%;
    font-size: 50px;
}

.accueil_3 h2{
    margin: 60px var(--side-base);
    color: var(--Blanc);
    font-size: 50px;
    max-width: 600px;
}


.accueil_3 .swiper_etapes{
    width: 100%;
}


.bloc_etapes{
    margin: auto var(--side-base) 70px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.bloc_etapes .depart_arrive{
    flex: initial;
    width: 114px;
}

.bloc_etapes .numero{
    display: flex;
    gap: 5px;
    color: var(--Blanc);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.bloc_etapes h3{
    color: var(--Blanc);
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.1px;
    text-transform: uppercase;
    max-width: 180px;
    margin: 15px 0 11px;
}

.bloc_etapes .active h3 {
    font-weight: 500;
}

.bloc_etapes p {
    color: var(--Blanc);
    font-size: 18px;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.09px;
    margin: 11px 11px 28px 0;
    overflow-y: hidden;
    opacity: 0;
    height: auto;
    max-height: 0;
    transition: 0.6s;
}

.bloc_etapes  .active p {
    opacity: 1;
    max-height: 300px;
}

.liste_etapes{
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.liste_etapes .etape {
    flex: 1;
    transition: opacity .3s;
    cursor: pointer;
}

.liste_etapes .etape.active {
    opacity: 1;
}

.ligne_slide {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin-top: 8px;
    overflow: hidden;
}

.ligne_slide .progress {
    width: 100%;
    height: 100%;
    background: white;
    transform: scaleX(0%);
    transition: 0.2s linear;
    transform-origin: left center;
}

.active .ligne_slide .progress {
    transform: scaleX(100%);
    transition: 5.8s linear;
}














.accueil_4{
    padding: 110px var(--side-base);
    display: flex;
    gap: 10%;
}

.accueil_4>div:first-child{
    width: 40%;
    max-width: 500px;
}

.accueil_4>div:first-child h2{
    font-size: 50px;
    margin-top: 20px;
}

.accueil_4 .list_services{
    width: 58%;
    flex: 1 1 auto;
}

.accueil_4 .list_services li a{
    display: flex;
    border-top: 1px solid var(--Gris);
    padding: 30px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.accueil_4 .list_services li:first-child a{
    border-top: 0px solid rgba(0, 0, 0, 0);
}

.accueil_4 .list_services li a .texte_lien_accueil{
    font-size: 26px;
    font-style: normal;
    font-weight: 300;
    line-height: 135%; /* 35.1px */
    text-transform: uppercase;
    max-width: 460px;
}

.accueil_4 .list_services li a svg{
    height: 60px;
    width: 60px;
}

.accueil_4 .list_services li a svg path{
    stroke: var(--Noir);
}

.accueil_4 .list_services li a svg:last-child{
    margin: auto 0 auto auto;
}


.accueil_4 .list_services li a:hover .texte_lien_accueil{
    color: var(--MW-Bleu);
}

.accueil_4 .list_services li a:hover svg path{
    stroke: var(--MW-Bleu);
}

.accueil_4 .list_services li a:hover svg:last-child{
    transform: translateX(8px);
}

.accueil_5{
    margin-bottom: 130px;
}

.accueil_5 h2{
    color: var(--Blanc);
    font-size: 50px;
    margin: 60px var(--side-base);
    width: 44%;
}

.accueil_5 .img_vdo{
    height: 86svh;
    width: auto;
    max-width: 100vw;
    aspect-ratio:  100 / 81;
    margin: 0 auto 0 0;
    clip-path: polygon(0 0, 100% 0, 40% 100%, 0% 100%, 0 0);
    position: relative;
}

.accueil_5 .article_en_avant{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.accueil_5 .article_en_avant a{
    display: flex;
    margin-left: calc(((86svh * 81) / 100) * 1.04);
    gap: 30px;
}


.accueil_5 .article_en_avant a>div{
    max-width: 274px;
}

.accueil_5 .article_en_avant a:first-child{
    display: flex;
    margin-left: calc(((86svh * 81) / 100) * 1.38);
}

.accueil_5 .article_en_avant a:last-child{
    display: flex;
    margin-left: calc(((86svh * 81) / 100) * 0.72);
}

.accueil_5 .article_en_avant a .categorie{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 135%; /* 21.6px */
    text-transform: uppercase;
}

.accueil_5 .article_en_avant a h3{
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 135%; /* 27px */
    margin: 23px 0 0;
}

.accueil_5 .article_en_avant a p{
    font-size: 18px;
    font-weight: 400;
    line-height: 135%;
    opacity: 0.8;
    margin: 0 0 30px 0;
}

.accueil_5 .article_en_avant a .date_event{
    display: flex;
    align-items: center;
    gap: 14px;
}

.accueil_5 .article_en_avant a .point_carre{
    height: 11px;
    width: 11px;
    background-color: var(--Noir);
}

.accueil_5 .article_en_avant a .date_event span{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 135%; /* 21.6px */
    text-transform: uppercase;
    opacity: 0.8;
}








/* Footer */

#footer{
    background-color: var(--Noir);
    padding: 113px var(--side-base) 60px;
    position: relative;
}

#copyright{
    color: var(--Blanc, #FFF);
    font-size: 13px;
    font-style: normal;
    font-weight: 300;
    line-height: 20px;
    opacity: 0.5;
    display: flex;
}
#copyright a, #copyright a:visited, #copyright a:hover{
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--Blanc);
}
#copyright .realisation-break a{
    margin-left: 4px;
}
#copyright .lien_footer, #copyright .realisation-break, #copyright>span{
    display: flex;
}
#footer #copyright .realisation-break a{
    display: inline-flex;
}
#footer #copyright .realisation-break a>svg{
    transform: translateY(3px);
    fill: var(--Blanc);
}
@media (max-width: 980px){
    #footer #copyright {
        margin: 0 auto 0 0 ;
        flex-direction: column;
    }
    #copyright>span{
        flex-direction: column;
    }
    #copyright .trait_vertical{
        display: none;
    }
}
@media (max-width: 500px){
    #copyright .realisation-break{
        flex-direction: column;
    }
    #copyright .realisation-break a{
        margin-left: 0;
    }
}

/* Cookie */

.cookie-popup {
    position: fixed;
    inset: auto auto 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.cookie-popup.show {
    visibility: visible;
    opacity: 1;
}
.cookie-popup-content {
    background: rgba(0, 14, 28, 0.95);
    padding: 2rem;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.cookie-popup-content>div{
    display: flex;
    align-items: center
}
.cookie-popup-content h3 {
    margin-top: 0;
    color: var(--Blanc);
    font-weight: 700;
    margin-bottom: 10px;
}
.cookie-popup-content p {
    color: var(--Blanc);
    margin: 1rem 0;
    font-size: 0.95rem;
}
.cookie-popup-content a {
    color: var(--Blanc);
    text-decoration: underline;
}
.cookie-popup-content button {
    background: var(--Blanc);
    color: var(--Noir);
    border: none;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    height: fit-content;
    width: fit-content;
    transition: 0.2s;
    margin-left: 20px;
}
.cookie-popup-content button:hover {
    background-color: var(--Noir);
    color: var(--Blanc);
}
@media (max-width: 500px){
    .cookie-popup-content>div{
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-popup-content h3{
        font-size: 18px;
    }
    .cookie-popup-content p{
        font-size: 14px;
    }
    .cookie-popup-content button{
        margin: 0;
        padding: 8px 16px;
    }
}

/* Crayon */

#wpadminbar{
    display: none;
}
.header-edit-link {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: #333;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}
.header-edit-link>a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-edit-link .dashicons {
    font-size: 20px;
    line-height: 1;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
}

.header-edit-link:hover {
    background-color: #000;
}