header{
    display: flex;
    height: 60px;
    padding: 0 72px;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    align-items: center;
}

@media(max-width:1020px){
    header{
        padding: 0 30px;
    }
   
}

#logo{
    display: flex;
    align-items: center;
    gap: 25px;
}

#logo img{
    width: 53.809px;
    height: 54px;
}

#logo p{
    display: flex;
    width: 177px;
    flex-direction: column;
    align-items: flex-start;

    color: var(--Fonc, #072971);
    font-family: "Cabinet Grotesk Variable";
    font-size: 16px;
    font-weight: 500;
    line-height: 20px; /* 125% */
    letter-spacing: 1.6px;
}

#logo strong{
    color: var(--Fonc, #072971);
    font-family: "Cabinet Grotesk Variable";
    font-size: 24px;
    font-weight: 800;
    line-height: 20px; /* 83.333% */
}

#mainNav{
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 32px;
    background: var(--Blanc);
}

#mainNav a, #mainNav button{
    position:relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;

    color: var(--Fonc, #072971);
    font-family: "Satoshi Variable";
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 3.2px;
    text-transform: uppercase;
    background: none;
    border:none;
}


#menu-toggle{
    display:none;
    
}




#mainNav a::after, #mainNav button::after{
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
	background-color:var(--Fonc, #072971);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.subnav a::before{
		content: '';
		width: 6px;
		height: 6px;
		background-color:#072971;
		border-radius: 50%;
		opacity: 0;
		transition: opacity 0.3s ease;
		margin-right: 0.5rem;
	}

#mainNav a.active, #mainNav button.active{
    color: var(--Fonc, #072971);
    font-family: "Satoshi Variable";
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3.2px;
    text-transform: uppercase;
}

#mainNav a.active::after, #mainNav button.active::after{
	opacity: 1;
}

#mainNav a.activ{
    color: var(--Fonc, #072971);
    font-family: "Satoshi Variable";
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3.2px;
    text-transform: uppercase;
    display: flex;
    flex-direction: row;
}

#mainNav a.activ::after{
	opacity: 1;
    bottom: auto;
		left: auto;
		position:relative;
		transform: none;
		margin-left: 0.5rem;
}


#mainNav a.activ::before{
	opacity: 1;
}





/* Menu nav petits écrans */
/* Cacher le bouton menu par défaut */
#menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Styles pour le bouton hamburger */
.burger-line {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 5px 0;
    transition: 0.4s;
}


/* Afficher le bouton menu sur les petits écrans */
@media (max-width: 790px) {
    #menu-toggle {
        display: block;
    }

    #mainNav {
		
        display: none;
        flex-direction: column;
        align-items:flex-end;
        position: absolute;
        z-index: 5;
        top: 8vh; /* Juste en dessous de l'en-tête */
        right: 0;
        background-color:var(--colorBack);
        width: 30%;
        z-index: 12;
        margin:0;
		gap:0;
        padding-top: 0;
        
    }

    #mainNav.show {
        display: flex;
    }

    #mainNav a {
        display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
        padding: 1em;
        text-align: center;
        border-top: 1px solid #fff;
        background-color:white;
        width: 100%;
        height: 5rem;

    }

    #mainNav a::before{
		content: '';
		width: 6px;
		height: 6px;
		background-color:#072971;
		border-radius: 50%;
		opacity: 0;
		transition: opacity 0.3s ease;
		margin-right: 0.5rem;
	}


	#mainNav a:hover{
		font-family : 'Cabinet Grotesk Variable';
	font-size:0.9rem;
	font-weight: 800;	
	}

	#mainNav a::after{
		bottom: auto;
		left: auto;
		position:relative;
		transform: none;
		margin-left: 0.5rem;
	}

	

	#mainNav a.active::before{
        opacity: 1;
    }

	
	


}

@media(max-width:900px){
    #mainNav{
        width:40%;
    }
}

@media(max-width:660px){
    #mainNav{
        width:50%;
    }
}

@media(max-width:550px){
    #mainNav{
        width:60%;
    }
}

@media(max-width:440px){
    #mainNav{
        width:70%;
    }
}

@media(max-width:380px){
    #mainNav{
        width:80%;
    }
}

@media(max-width:330px){
    #mainNav{
        width:90%;
    }
}

.subnav{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap:50px;
    position:relative;
    width:235px;
    height:60px;
     background-color: var(--Blanc);
}

@media(max-width:790px){
    .subnav{
        width:100%;
        flex-direction: column;
        height:auto;
        align-items: center;
        gap:10px;
    }
}

.subnav-content{
    display:none;
    position: absolute;
    top:60px;
    left:0;
    width:235px;
    background-color: var(--Blanc);
    z-index:100;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

@media(max-width:790px){
    .subnav-content{
        width:100%;
        position: static;
    }
}


.subnav .open{
    display: flex;
}

.subnav:hover .subnav-content, .subnav-content:hover{
display: flex;
}

.subnav-content a{
    min-height: 20px;
    padding: 20px 5px;
}

.subnav button{
    cursor: pointer;
    height: 50px;
}

#mainNav a{
    height:50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mainNav .subnav-content a{
    font-size: 15px;
}

