:root {
    --navbar-height: 110px;
}

/* NAVBAR */
.navbar {
    position: fixed; /* reste en haut */
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background-color: white;
    display: flex;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Container navbar full-width */
.navbar-container {
    width: 100%;
    height: 100%;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 75px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* LIENS */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;

    margin-left: auto; /* pousse les liens à droite */
}

.nav-links a {
    color: #424141;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* BOUTON */
.btn {
    padding: 0.4rem 0.8rem;
    border: 1px solid #424141;
    border-radius: 4px;
}

/* MENU MOBILE */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #424141;
    cursor: pointer;
    margin-left: auto; /* pousse le bouton à droite */
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-links {
        position: absolute;
        top: var(--navbar-height); /* juste sous la navbar */
        right: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 1rem 0;
        margin-left: 0; /* reset */
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        padding: 0.8rem 0;
    }

    .logo img {
        height: 60px; /* logo réduit sur mobile */
    }

    .nav-links a {
        font-size: 1rem;
    }
}