/* HEADER BASE */
.header {
    background: rgba(10, 42, 67, 0.55);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
}

/* CONTAINER */
.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo {
    width: 160px;
    filter: drop-shadow(0 0 14px rgba(28, 199, 197, 0.45));
    transition: 0.3s;
}

.logo:hover {
    transform: scale(1.03);
}

/* NAV DESKTOP */
.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    position: relative;
    padding: 4px 0;
    transition: 0.3s;
}

/* EFEITO NEON TECNDUA */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: 0.3s;
    box-shadow: 0 0 8px var(--accent);
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::after {
    width: 100%;
}

/* BOTÃO MOBILE */
.menu-btn {
    display: none;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-btn span {
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: 0.3s;
}

/* ANIMAÇÃO DO BOTÃO */
.menu-btn.open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.menu-btn.open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* NAV MOBILE */
.nav-mobile {
    display: none;
    flex-direction: column;
    background: rgba(10, 42, 67, 0.85);
    backdrop-filter: blur(10px);
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile-link {
    color: var(--text);
    text-decoration: none;
    padding: 12px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.nav-mobile-link:hover {
    color: var(--accent);
}

.projetos-section.full-width {
    max-width: 100%;
}


/* RESPONSIVO */
@media (max-width: 820px) {
    .nav {
        display: none;
    }

    .menu-btn {
        display: flex;
    }
}
