.header {
    background-color: #1c1917ce;
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    z-index: 999;
}

body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 997;
}

.header .logo {
    font-size: 1.5rem;
    font-weight: 400;
}

.header .contact-mobile {
    display: none;
}

.header .nav-container ul{
    width: 100%;
    display: flex;
    gap: 2.5rem;
    font-size: 1.6rem;
}

.header .nav-container ul li a{
    padding: 0.5rem 0;
    transition: 0.5s ease-in-out;
    color: #A8A29E;
}

.header .nav-container ul li .is-active {
    color: #FBBF24;
    border-bottom: solid 3px #FBBF24;
}

.header .nav-container ul li a:hover {
    color: #fbbe24e5;
}

.header .contact1 {
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
}

/* Hamburguer — escondido no desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: #FBBF24;
    border-radius: 2px;
    transition: 0.3s ease-in-out;
    transform-origin: center;
}

.hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== RESPONSIVO ===== */

@media (max-width: 1024px) {

    .hamburger {
        display: flex;
    }

    .header .contact1 {
        display: none;
    }

    .header .nav-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        right: 0;
        width: 270px;
        height: 100vh;
        border-radius: 20px;
        padding: 6rem 2rem 3rem 2rem;
        background-color: #1c1917f5;
        z-index: 998;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        gap: 3rem;
    }

    .header .nav-container.is-open {
        transform: translateX(0);
    }

    .header .nav-container ul {
        flex-direction: column;
        align-items: center;
        font-size: 2rem;
        gap: 0;
        width: 100%;
    }

    .header .nav-container ul li {
        width: 100%;
        text-align: center;
        padding: 1.5rem 0;
        border-bottom: 1px solid #3b3d3860;
    }

    .header .nav-container ul li:first-child {
        border-top: 1px solid #3b3d3860;
    }

    /* Botão contato aparece dentro da nav no mobile */
    .header .contact-mobile {
        display: block;
        padding: 1.75rem 2.75rem;
        font-size: 1.5rem;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .header .nav-container {
        width: 200px;
    }

    .header .nav-container ul {
        font-size: 1.75rem;
    }

    .header .contact-mobile {
        padding: 1.25rem 2.25rem;
        font-size: 1.25rem;
    }
}

@media (max-width: 375px) {
    .header .nav-container {
        width: 140px;
    }

    .header .nav-container ul {
        font-size: 1.25rem;
    }

    .header .contact-mobile {
        padding: 0.85rem 1.75rem;
        font-size: 1rem;
    }
}