/* ========== HEADER ========== */
.header {
    background-color: #470B24;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 3rem;
    position: relative;
}

/* Logo */
.logo {
    position: absolute;
    left: 100px;
    bottom: 40px;
    width: 70px;
    height: auto;
}

/* Navigation desktop */
.hoover-header {
    display: flex;
    align-items: center;
}

.hoover-header ul {
    display: flex;
    justify-content: center;
    align-items: start;
    text-decoration: bold;
    list-style: none;
    gap: 8rem;
}

.hoover-header a {
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hoover-header a:hover {
    color: #B1BAE1;
}

/* Overlay et bouton fermer (cachés sur desktop) */
.menu-overlay {
    display: none;
}

.menu-close {
    display: none;
}

/* ========== BURGER MENU ========== */
.burger {
    display: none; /* caché sur desktop */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    right: 50px;
}

.burger div {
    width: 30px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

/* Navigation mobile/tablette */
@media screen and (max-width: 992px) {

    .logo {
        position: absolute;
        left: 50px; /* tu peux ajuster selon besoin */
        bottom: 20px;
        width: 50px; /* taille plus petite */
        height: auto;
    }

    /* Afficher burger */
    .burger {
        display: flex;
    }

    /* Masquer navigation en ligne */
    .hoover-header {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100%;
        width: 250px;
        background-color: #470B24;
        flex-direction: column;
        align-items: start;
        padding-top: 100px;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .hoover-header ul {
        flex-direction: column;
        gap: 2rem;
        padding-left: 30px;
    }

    .hoover-header.active {
        right: 0; /* menu visible quand actif */
    }

    /* Afficher overlay et bouton fermer sur mobile */
    .menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Bouton fermer le menu */
    .menu-close {
        display: flex;
        position: absolute;
        top: 24px;
        right: 24px;
        width: 40px;
        height: 40px;
        padding: 0;
        border: none;
        background: transparent;
        color: white;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color 0.2s ease, transform 0.2s ease;
    }

    .menu-close:hover {
        color: #B1BAE1;
        transform: scale(1.1);
    }

    .menu-close:focus {
        outline: 2px solid #B1BAE1;
        outline-offset: 2px;
    }
}


/* ========== FOOTER ========== */

.footer {
    background-color: #470B24;
    color: #B1BAE1;
    padding: 60px 60px 0 60px;
    position: relative;
    overflow: hidden; /* empêche le débordement */
}

.footer-name {
    font-family: 'Parisienne';
    color: #B1BAE1;
    font-size: 150px;
    white-space: nowrap;
    transform: translateY(38%);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
}

.footer-item a {
    color: white;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        text-align: center;
    }

    .footer-name {
        font-size: 85px;
        margin: 0 auto;
    }

    .footer-item a {
        font-size: 18px;
    }

    .footer {
        padding: 60px 0 0 0;
    }

}

@media screen and (max-width: 543px) {
        .footer-name {
        font-size: 57px;
    }
}
