header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f2f2f2;
    color: #2e2e2e;
    border-bottom: 1px solid #d9d9d9;
    z-index: 1000;
}

.logo img {
    max-width: 200px;
    height: auto;
}

.burger {
    font-size: 26px;
    color: #2e2e2e;
    cursor: pointer;
    display: none;
}

.menu {
    display: flex;
    gap: 10px;
    align-items: center;
}

.menu a {
    font-family: 'Helvetica', sans-serif;
    background-color: #8fe6c4;
    color: #2e2e2e;
    border: none;
    border-radius: 6px;
    padding: 10px 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu a:hover {
    background-color: #6fd0ae;
    color: #1a1a1a;
}

.active-flag {
    padding: 6px 10px;
    background-color: #8fe6c4;
    font-family: 'Helvetica', sans-serif;
    color: #2e2e2e;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.active-flag:hover {
    background-color: #6fd0ae;
    color: 1a1a1a;
}

.flag-menu {
    display: none;
    position: absolute;
    background: #f2f2f2;
    border: 1px solid #8fe6c4;
    padding: 5px;
    top: 100%;
    right: 0;
	color: #2e2e2e;
    z-index: 1001;
}

.flag-menu a {
    display: block;
    padding: 4px;
    text-decoration: none;
    color: #2e2e2e;
}

.flag-menu.show {
    display: block;
}

/* -------- Responsive -------- */
@media screen and (max-width: 1180px) {
    header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .burger {
        display: block;
        z-index: 1001;
    }

    .menu {
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 60px; /* hauteur approximative du header */
        right: 0;
        width: 90%;
        background-color: #f2f2f2;
		color: #2e2e2e;
        padding: 20px;
        display: none;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    }

    .menu.show {
        display: flex;
    }

    .menu a,
    .active-flag {
        width: 100%;
        margin: 10px 0;
        padding: 12px;
    }

    .language-switcher {
        width: 100%;
        position: relative;
    }

    .flag-menu {
        width: 100%;
        position: relative;
        top: 0;
        right: 0;
    }
}
