/* HEADER */
.site-header {
    background: #F9F9F9;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 800px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.header-container .logo img {
    height: 75px;
    width: auto;
}

/* Navigation Desktop */
.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #2c4a95;
    font-weight: 600;
   
   /* ⭐ Important : on réserve l'espace */
    padding: 0.5rem;

    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: #f9f9f9;
    background-color: #2c4a95;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

.burger span {
    width: 28px;
    height: 3px;
    background: #2c4a95;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Animation croix */
.burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: #f9f9f9;
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: #f9f9f9;
}

/* Mobile Menu */
/*.mobile-menu {*/
/*    display: none;*/
/*    flex-direction: column;*/
/*    text-align: center;*/
/*    margin-top: 15px;*/
/*}*/

/*.mobile-menu.active {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*}*/

/*.mobile-menu a {*/
/*    padding: 12px;*/
/*    text-decoration: none;*/
/*    color: #2c4a95;*/
/*    font-weight: 600;*/
/*}*/




/* Menu mobile */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    background: rgba(44, 74, 149, 0.98);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-20px);
    transition: all 0.4s ease;
}

/* Menu ouvert */
.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu a {
    font-size: 1.4rem;
    margin: 15px 0;
    color: #f9f9f9;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}




/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

    .nav-menu {
        display: none;
    }

    .burger {
        display: flex;
    }

    .header-container .logo {
        margin: auto;
        transform: translate(2rem);
    }

    .header-container {
        justify-content: center;
    }

}