/* Header principal */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 100px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    color: white;

    /* Transições suaves */
    transition:
        background-color 0.6s ease,
        color 0.6s ease,
        padding 0.6s ease,
        height 0.6s ease,
        box-shadow 0.6s ease;
}

/* Remove estilos padrão de links */
a {
    all: unset;
    cursor: pointer;
}

/* Logo - com animação */
.header img {
    transition: height 0.6s ease, opacity 0.6s ease;
}

/* Logo branca e preta */
.header img.logo_branca {
    margin-top: 20px;
    margin-left: -800px;
    height: 80px;
    opacity: 1;
}

.header img.logo_preto {
    margin-left: 0;
    height: 80px;
    opacity: 0;
}

/* Header sólido */
.header.solid {
    background-color: #ffffff;
    color: black;
    height: 100px;
    padding: 15px 100px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* sutil sombra quando sólido */
}

/* Transição da logo */
.header.solid img.logo_branca {
    opacity: 0;
    height: 50px;
}

.header.solid img.logo_preto {
    margin-left: 0;
    opacity: 1;
    height: 50px;
}

/* Header transparente */
.header.transparent {
    background-color: rgba(255, 255, 255, 0);
    color: white;
    height: 80px;
    padding: 25px 100px;
    box-shadow: none;
    margin-top: 33px;
}

.header.transparent img.logo_branca {
    margin-left: -800px;
    height: 80px;
    opacity: 1;
}

.header.transparent img.logo_preto {
    opacity: 0;
    height: 80px;
}

/* Menu de navegação */
.header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.header nav ul li a {
    font-family: 'Smooch Sans', sans-serif;
    font-weight: 600;
    font-size: 30px;
    letter-spacing: .5px;
    text-decoration: none;
    padding: 8px 12px;
    transition: color 0.5s ease;
}

/* Hover */
.header nav ul li a:hover {
    color: #f5811e;
}

/* Banner */
.banner {
    display: flex;
    text-align: center;
    width: 100%;
    filter: brightness(50%);
}

/* ========= MENU LAPTOP ========= */
.laptop-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.laptop-menu nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.mobile-menu {
    display: none;
}

@media (max-width: 900px) {
    .laptop-menu {
        display: none;
    }

    .hamburger {
        display: none;
    }

    .hamburger.active {
        display: block;
    }

    .header.solid .hamburger.active {
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        width: 35px;
        height: 35px;
        color: black;
        z-index: 1001;
    }

    .header.transparent .hamburger.active {
        position: absolute;
        right: 30px;
        top: 45%;
        transform: translateY(-50%);
        cursor: pointer;
        width: 35px;
        height: 35px;
        color: white;
        z-index: 1001;
    }

    .mobile-menu nav {
        display: none;
    }

    .header .hamburger.active {
        position: absolute;
        right: 30px;
        top: 45%;
        transform: translateY(-50%);
        cursor: pointer;
        width: 35px;
        height: 35px;
        color: white;
        z-index: 1001;
    }

    .header.solid img.logo_preto {
        height: 40px;
        margin-left: -70px;
        margin-top: 15px;
    }

    .header.solid img.logo_branca2 {
        display: none;
    }

    .header {
        height: 80px;
        margin-top: 20px;
    }

    .header.solid {
        margin-top: 0px;
    }

    .header img.logo_branca2 {
        margin-bottom: 80px;
        margin-left: -70px;
        height: 40px;
    }

    .header.transparent img.logo_branca2 {
        margin-left: -70px;
        margin-bottom: 80px;
        height: 40px;
    }

    .header.transparent {
        margin-top: 20px;
    }

    .mobile-menu {
        display: block;
    }

    .banner {
        height: 150px;
    }

    /* Quando o menu estiver ativo */
    .mobile-menu.active nav {
        display: block; /* aparece */
        position: absolute;
        background-color: white;
        margin-left: -100px;
        width: 100%;
        padding-bottom: 25px;
        margin-top: -15px;
        padding-top: 25px;
    }

    /* Estilização do menu mobile */
    .mobile-menu nav ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .mobile-menu nav ul li a {
        color: black;
        font-size: 24px;
        text-decoration: none;
    }

}
