.elementor-1465 .elementor-element.elementor-element-312c966{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--align-items:center;border-style:solid;--border-style:solid;border-width:1px 1px 1px 1px;--border-top-width:1px;--border-right-width:1px;--border-bottom-width:1px;--border-left-width:1px;border-color:#708CFD1A;--border-color:#708CFD1A;--border-radius:15px 15px 15px 15px;--padding-top:0rem;--padding-bottom:0rem;--padding-left:0rem;--padding-right:0rem;}.elementor-1465 .elementor-element.elementor-element-312c966:not(.elementor-motion-effects-element-type-background), .elementor-1465 .elementor-element.elementor-element-312c966 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-9fcdc29 );}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(max-width:1200px){.elementor-1465 .elementor-element.elementor-element-312c966{--justify-content:flex-start;--align-items:flex-start;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--padding-top:0rem;--padding-bottom:0rem;--padding-left:0rem;--padding-right:0rem;}}/* Start custom CSS *//*Généralités*/
header{
    position: fixed;
    top: 0;
    z-index: 50;
    width: 100%;
}

.topmenu{
    min-height: 70px;
    max-width: 90vw!important;
    margin: auto;
    margin-top: 1rem;
    box-shadow: 0 2px 10px rgba(112, 140, 253, 0.05);
    
    @media (max-width: 1600px){
        max-width: 95vw!important;
    }
}

.topmenu-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 2rem;
    
    min-width: 90vw;
    max-width: 90vw;
    
    @media (max-width: 1600px) {
        min-width: 95vw;
        max-width: 95vw;
    }
    
    .bloc-nav-cta{
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 1rem;
    }
}

/*Logo du site*/
.topmenu-logo{
    max-width: 100px;
}

/*Boutons*/
.topmenu-content .topmenu-btn{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    
    .btn-rouge, .btn-bleu{
        font-size: .95rem!important;
        padding: 8px 20px;
    }
}

.topmenu-content .elementor-button.btn-rouge{
    background: var(--rouge);
    
    &:hover{
        background: var(--rouge-clair);
    }
}

.topmenu-content .elementor-button.btn-blanc{
    background: white;
    color: var(--bleu-vistalid);
    
    svg path{
        stroke: var(--bleu-vistalid);
    }
    
    &:hover{
        background: var(--bleuet-08);
    }
}

/*Navigation : bases*/
.topmenu-nav *{
    transition: 300ms ease;
}

.topmenu-nav{
    height: 100%;
    display: flex;
    align-items: center;
    transition: 300ms ease;
}

@media screen and (min-width: 1301px){
    .topmenu-nav .nav-link,
    .topmenu-nav .nav-link:hover,
    .topmenu-nav .submenu-nav-link,
    .topmenu-nav .submenu-nav-link:hover{
        font-size: 1rem;
    }    
}

.topmenu-nav ul li{
    list-style: none;
    display: flex;
    align-items: center;
    border-radius: 10px;
    cursor: pointer;
}
.topmenu-nav ul{padding: 0;}
.topmenu-nav .menu-link,
.topmenu-nav .nav-link,
.topmenu-nav a:not([href]):not([tabindex]){color: var(--noir);}

.topmenu-content .elementor-button{
    display: flex;
    align-items: center;
    width: fit-content;
    white-space: nowrap;
    gap: 10px;
    
    svg{
        max-width: 20px;
        max-height: 20px;
    }
}

/*Style des listes & liens*/
.topmenu-nav .nav-list{
    display: flex;
    align-items: center;
}

.topmenu-nav .nav-link,
.topmenu-nav .submenu-nav-link

.topmenu-nav .nav-link,
.topmenu-nav .submenu-nav-link{
    border-radius: 10px;
    display: block;
    padding: 15px;
    width: 100%;
}

.topmenu-nav .submenu-nav-item{
    background: var(--bleuet-05);
}

/*Hover & styles des items avec lien seul*/
.topmenu-nav .nav-item:has(> a:only-child) .nav-link:hover{
    background: var(--bleuet-05);
}

.topmenu-nav .submenu-nav-item:has(> a:only-child) .submenu-nav-link:hover{
    background: var(--bleuet-08);
}

.topmenu-nav .nav-item:has(> a:only-child).active .nav-link{
    background: var(--bleuet-08);
    color: var(--bleu-vistalid);
}

.topmenu-nav .submenu-nav-item:has(> a:only-child).active .submenu-nav-link{
    background: var(--bleu-vistalid);
    color: white;
}

.topmenu-nav .nav-item:hover .nav-link,
.topmenu-nav .submenu-nav-item:hover .submenu-nav-link{
    color: var(--bleu-vistalid);
}

/*Hover & styles quand lien + autre élément*/
.topmenu-nav .nav-item:has(> :not(a)) .nav-link,
.topmenu-nav .submenu-nav-item:has(> :not(a)) .submenu-nav-link{
    padding-right: 0;
}

.topmenu-nav .nav-item:has(> :not(a)):hover{
    background: var(--bleuet-05);
}

.topmenu-nav .submenu-nav-item:has(> :not(a)){
    background: var(--bleuet-05);
    padding-right: 15px;
    gap: 10px;
    
    &:hover{
        background: var(--bleuet-08);
    }
}

/*Parent de sous-menu*/
.topmenu-nav .nav-item.has-submenu{
    display: flex;
    align-items: center;
    width: fit-content;
    
    .submenu-arrow{
        padding: 10px;
        display: flex;
        place-content: center;
    }
    
    svg{
        max-width: 1rem;
        max-height: 1rem;
        min-height: 1rem;
        min-width: 1rem;
        fill: none;
    }
    
    svg path{stroke: var(--noir);}
}

.topmenu-nav .nav-item.has-submenu:hover{
    svg path{stroke: var(--bleu-vistalid);}
}

@media (min-width: 1301px){
    .topmenu-nav .nav-item.has-submenu .mobile-submenu-arrow{display: none;}
}

@media (max-width: 1300px){
    .topmenu-nav .nav-item.has-submenu .desktop-submenu-arrow{display: none;}
}

/*Section sous-menu*/
.topmenu-nav .nav-item{
    position: relative;
    height: 100%;
}

.topmenu-nav .submenu{
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: rgba(112, 140, 253, 0.15) 0 0 30px;
    
    position: absolute;
    right: 0;
    transform: translate(0, 100%);
    min-width: 700px;
    max-width: 100%;
    
    opacity: 0;
    pointer-events: none;
    bottom: -50px;

    &.is-open{
        opacity: 1;
        pointer-events: unset;
        bottom: -10px;
    }
}

.topmenu-nav .submenu-content{
    display: flex;
    gap: 1.5rem;
}

.topmenu-nav .submenu .submenu-column{
    min-width: 15vw;
    flex: 1;
}

.topmenu-nav .submenu-category{
    white-space: nowrap;
    font-size: .75rem;
    color: var(--bleuet);
    font-weight: 500;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 5px;
}

.topmenu-nav .submenu .submenu-nav-list{
    display: flex;
    flex-direction: column;
    gap: 5px;
}


/*Lien étiquetté "Nouveau"*/
.topmenu-nav .submenu-nav-item.nouveau{
    flex-direction: column;
    align-items: flex-start;
    
    .submenu-nav-link{
        padding-bottom: 0;
        display: flex;
        align-items: flex-start;
        flex-wrap: nowrap;
        gap: 10px;
    }
    
    .tag-new{
        background: var(--bleu-vistalid);
        border-radius: 5px;
        color: white;
        padding: 2px 6px;
        font-size: 0.8rem;
    }
    
    .description{
        padding: 5px 15px 15px 15px;
        font-size: 0.9rem;
    }
}

.topmenu-nav .submenu-nav-item.nouveau.active{
        background: var(--bleu-vistalid);
        
        .tag-new{
            background: white;
            color: var(--bleu-vistalid);
        }
        
        .description, .submenu-nav-link{color: white;}
}

/*Bloc CTA sous-menu*/
.topmenu-nav .submenu .submenu-cta{
    min-width: 400px;
    background: var(--bleuet);
    border-radius: 15px;
    padding: 1.5rem;
    flex: 1;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    
    position: relative;
    
    h4, p{color: white;
        text-align: center;
    }
    h4{
        margin: 0;
        margin-bottom: 0.5rem;
    }
    p{max-width: 280px;
        margin-bottom: 1rem;
    }
    
    h4, p, a{
        position: relative;
        z-index: 1;
    }
    
    &:after{
        content: "";
        display: block;
        height: 100%;
        width: 100%;
        background: #0B3CFE;
        background: linear-gradient(0deg, rgba(11, 60, 254, 1) 0%, rgba(11, 60, 254, 0.75) 100%);
        border-radius: 15px;
        position: absolute;
        inset: 0;
        z-index: 0;
    }
}

/*Section expertises*/
.topmenu #expertises .submenu-cta{
    background: url('/wp-content/uploads/2026/07/Projet-de-site-internet.jpg') center center no-repeat;
    background-size: cover;
}

/*Section agences*/
.topmenu #agences .submenu-nav-list{
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 500px;
    
    .submenu-nav-item{
        flex: 1 calc(50% - (5px / 2));
        max-width: calc(50% - (5px / 2));
    }
}

.topmenu #agences .submenu-column:has(.submenu-cta){
    display: flex;
    flex-direction: column;
    gap: 5px;
    
    div.menu-item .submenu-nav-link{
        color: var(--bleu-vistalid);
        background: var(--bleuet-20);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    div.menu-item .submenu-nav-link svg path{
        fill: none;
    }
    
    div.menu-item .submenu-nav-link:hover{
        background: var(--bleuet-30);
    }
    
    div.menu-item.active .submenu-nav-link{
        background: var(--bleu-vistalid);
        color: white;
    }
    
    div.menu-item.active svg path{
        stroke: white;
    }
}

.topmenu #agences .submenu-cta{
    background: url('/wp-content/uploads/2026/07/Contacter-Vistalid.jpg') center center no-repeat;
    background-size: cover;
}

/*Bouton burger*/
.topmenu-burger{
    height: 45px;
    width: 45px;
    background: var(--bleuet-08);
    border-radius: 10px;
    
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    
    cursor: pointer;
    display: none;
    position: relative;
    
    span{
        display: block;
        height: 3px;
        width: 100%;
        border-radius: 30px;
        background: var(--bleu-vistalid);
        transition: 250ms ease;
    }
    
    .burger-top, .burger-bot{
        max-width: 50%;
    }
    
    .burger-top{
        align-self: flex-start;
    }
    
    .burger-bot{
        align-self: flex-end;
    }
}

.topmenu.is-open .topmenu-burger{
    .burger-top{
        align-self: center;
        transform-origin: left top;
        transform: translateX(-1px) rotate(45deg);
    }
    
    .burger-mid{
        transform-origin: center center;
        transform: rotate(-45deg);
    }
    
    .burger-bot{
        transform-origin: right bottom;
        transform: translateX(1px) rotate(45deg);
        align-self: center;
    }
}

/*Responsive*/
@media screen and (max-width: 1300px){
    .topmenu-content{padding-inline: 1rem;}
    .topmenu-burger{display: flex;}
    .topmenu-nav{
        position: absolute;
        left: 0;
        width: 100%;
        min-width: 100%;
        height: fit-content;
        background: white;
        border: 1px solid #708CFD1A;
        border-radius: 15px 15px;
        transform: translate(0, 100%);
        flex-direction: column;
        justify-content: center;
        padding: 1rem;
        
        max-height: calc(100vh - (70px + 1rem + 20px));
        overflow: hidden;
        
        opacity: 0;
        pointer-events: none;
        bottom: -50px;
        
    }
    
    .topmenu.is-open .topmenu-nav{
        opacity: 1;
        pointer-events: unset;
        bottom: -10px;
    }
    
    .topmenu .nav-list{
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        width: 100%;
    }
    
    .topmenu .nav-list .nav-item{
        background: var(--bleuet-05);
        height: fit-content;
    }
    
    .topmenu-nav .submenu{
        position: relative;
        inset: auto;
        transform: none;
        width: 100%;
        min-width: auto;
        box-shadow: none;
        border-radius: 0;
        border-top: 0px solid white;
        
        opacity: 1;
        pointer-events: unset;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        
        &.is-open{
            bottom: unset;
            max-height: 200vh;
            padding-top: 2rem;
            margin-top: 1rem;
            border-top: 1px solid var(--bleuet-20);
        }
    }
    
    .topmenu-nav .nav-item.has-submenu.is-open {
       background: var(--bleu-vistalid);
       
       .nav-link{
           color: white;
       }
       
       svg path{stroke: white}
    }
}

@media screen and (max-width: 992px){
    .topmenu{margin-top: 0.5rem;}
    .topmenu-nav .submenu{
        overflow-y: scroll;
        &::-webkit-scrollbar{display: none;}
    }
    
    .topmenu-nav .submenu-content{
        flex-wrap: wrap;
        gap: 1rem;
        
        .submenu-cta{
            min-width: 100%;
            margin: 0;
        }
    }
}

@media screen and (max-width: 700px){
    .topmenu-content .topmenu-btn{
        display: none;
    }
    
    .topmenu-nav{
        max-height: calc(100vh - (70px + 1rem + 20px + 55px));
    }
    
    .topmenu-nav .submenu-content{
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 2rem;
    }
    
    .topmenu #agences .submenu-nav-list{
        max-width: none;
        width: 100%;
    }
    
    .topmenu #agences .submenu-column:has(.submenu-cta){
        flex-direction: column-reverse;
    }
}

@media screen and (min-width: 476px) and (max-width: 700px){
    .topmenu-nav .submenu .submenu-nav-list{
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        
        .submenu-nav-item{
            width: 100%;
            max-width: calc(50% - (5px / 2));
        }
    }
}/* End custom CSS */