/* ========================================
   HEADER — Navegação fixa + Menu Mobile
   ======================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ========================================
   LOGO PMC3D
   ======================================== */

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 70px;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.header-logo:hover .logo-img {
    transform: scale(1.05);
}

/* ========================================
   NAVEGAÇÃO DESKTOP
   ======================================== */

.header-nav {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: var(--font);
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(10, 37, 64, 0.04);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
    background: rgba(10, 37, 64, 0.06);
}

/* ========================================
   AÇÕES DO HEADER
   ======================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-header {
    padding: 10px 20px;
    font-size: 0.85rem;
    background: linear-gradient(135deg, var(--primary), #1e3a5f);
    color: white;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    font-family: var(--font);
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 37, 64, 0.3);
    color: white;
    text-decoration: none;
}

/* ========================================
   MENU HAMBÚRGUER (MOBILE)
   ======================================== */

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   MENU MOBILE
   ======================================== */

.mobile-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 20px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    display: block;
    padding: 14px 16px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.2s ease;
    font-family: var(--font);
}

.mobile-nav-link:hover {
    color: var(--primary);
    background: rgba(10, 37, 64, 0.04);
}

.mobile-nav-cta {
    margin-top: 8px;
    background: linear-gradient(135deg, var(--accent), #ff8c5a);
    color: white;
    text-align: center;
    font-weight: 600;
}

.mobile-nav-cta:hover {
    color: white;
    background: linear-gradient(135deg, #e55a2b, var(--accent));
}

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

@media (max-width: 1024px) {
    .header-nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
    }
    
    .btn-header {
        display: none;
    }
    
    .mobile-menu {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .header-logo {
        height: 32px;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .header-inner {
        height: 64px;
    }
    
    .mobile-menu {
        top: 64px;
    }
}