/* ============================================================
 * STREAMFLUX — Efeitos visuais
 * Glassmorphism, glows, gradientes e animações reutilizáveis
 * ============================================================ */

/* ─── Material Symbols ajustes finos ────────────────────────── */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.material-symbols-outlined[data-weight="fill"] {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ─── Glassmorphism ─────────────────────────────────────────── */
.glass-card {
    background: rgba(19, 24, 38, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.glass-card--dim {
    background: rgba(19, 24, 38, 0.4);
}
.glass-card--solid {
    background: #131826;
}

/* ─── Glows / Sombras coloridas ─────────────────────────────── */
.text-glow {
    text-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
}
.ambient-glow {
    box-shadow: 0 0 40px -10px rgba(0, 102, 255, 0.3);
}
.glow-blue {
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.2);
}
.glow-blue-strong {
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}
.glow-blue:hover {
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.35);
}
.glow-cyan {
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}
.glow-cyan-soft {
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.15);
}
.glow-success {
    box-shadow: 0 0 20px rgba(0, 210, 106, 0.3);
}
.glow-alert {
    box-shadow: 0 15px 40px rgba(255, 184, 0, 0.4);
}

/* ─── Gradientes utilitários ────────────────────────────────── */
.hero-gradient {
    background: radial-gradient(circle at 50% 50%,
        rgba(0, 102, 255, 0.15) 0%,
        transparent 70%);
}
.brand-text-gradient {
    background-image: linear-gradient(to right, #0066FF, #A855F7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.brand-text-gradient-cyan {
    background-image: linear-gradient(to right, #0066FF, #00E5FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ─── Animações ─────────────────────────────────────────────── */
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-marquee {
    animation: marquee 40s linear infinite;
}
.animate-marquee:hover {
    animation-play-state: paused;
}

@keyframes float-soft {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.animate-float {
    animation: float-soft 4s ease-in-out infinite;
}

/* ─── Hero Carrossel ───────────────────────────────────────── */
@keyframes hero-slide-in {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-content-enter {
    animation: hero-slide-in 0.6s ease-out both;
}
.hero-slide { will-change: opacity; }

/* ─── FAQ accordion (item aberto) ───────────────────────────── */
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }

/* ─── Mobile: respeito ao notch ─────────────────────────────── */
.pb-safe {
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
}

/* ─── Scroll suave global ───────────────────────────────────── */
html { scroll-behavior: smooth; }
