.header {
    background: linear-gradient(135deg, var(--cor-azul-principal) 0%, var(--cor-azul-escuro) 100%);
    color: var(--cor-branco);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 2rem;
    color: var(--cor-amarelo);
    margin-bottom: 0.25rem;
}

.logo .subtitle {
    font-size: 1rem;
    color: var(--cor-branco);
    font-weight: 300;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: var(--cor-branco);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transicao);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--cor-amarelo);
    transition: var(--transicao);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-list a:hover {
    color: var(--cor-amarelo);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--cor-branco);
    margin: 3px 0;
    transition: var(--transicao);
}

@media (max-width: 768px) {
    .header-content {
        position: relative;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        width: 100%;
        order: 3;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        gap: 0;
        margin-top: 1rem;
    }
    
    .nav-list.active {
        max-height: 300px;
    }
    
    .nav-list li {
        padding: 0.75rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo .subtitle {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .logo .subtitle {
        font-size: 0.75rem;
    }
}
