

.header {
    background: var(--gradient-header);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    background-image: linear-gradient(white, white),
        var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-heart {
    color: var(--primary-color);
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(232, 62, 140, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: white !important;
    background: var(--gradient-primary);
    box-shadow: 0 4px 15px rgba(232, 62, 140, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 70%;
}

.nav-link.active::after {
    display: none;
}

.btn-header {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 62, 140, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-header:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(232, 62, 140, 0.4);
    color: white;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(232, 62, 140, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Dropdown para mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        border-radius: 15px;
        padding: 1rem;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(232, 62, 140, 0.1);
    }

    .nav-link {
        margin: 0.3rem 0;
        text-align: center;
    }

    .btn-header {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
}

/* Badge para destaque */
.feature-badge {
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    position: absolute;
    top: -8px;
    right: -8px;
    font-weight: 700;
}

.btn-header-wrapper {
    position: relative;
    display: inline-block;
}

/* Efeito de partículas no header */
.header-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100%) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100%) translateX(20px);
        opacity: 0;
    }
}

