/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(232, 91, 26, 0.1);
    transition: all 0.3s ease;
    padding: 20px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 2px;
    color: var(--laranja);
    font-weight: 400;
    display: block;
    line-height: 1;
}

/* Navegação */
.nav {
    display: flex;
    gap: 40px;
    flex: 1;
    align-items: center;
    background: transparent;
}

.nav-link {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--grafite);
    text-transform: uppercase;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--laranja);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--laranja);
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--laranja);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* CTA Button */
.btn-cta {
    flex-shrink: 0;
    margin-left: auto;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
        gap: 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        gap: 20px;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--branco);
        padding: 20px;
        border-top: 1px solid var(--cinza-medio);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav.active {
        max-height: 400px;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 10px 0;
    }
    
    .btn-cta {
        margin-left: 0;
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
}
