/**
 * Flash Code performance overrides
 * Neutraliza efeitos pesados injetados por flash_head_code legado
 * (body::before com filter:blur + orbs animados, badges com box-shadow pulse).
 * Carregado DEPOIS do Flash Head — não remove o tema, só corta custo de GPU/paint.
 */
body::before {
	animation: none !important;
	filter: none !important;
	-webkit-filter: none !important;
	will-change: auto !important;
	/* Mantém atmosfera estática; evita blur 42px + transform contínuo */
	inset: 0 !important;
	transform: none !important;
}

body::after {
	animation: none !important;
	will-change: auto !important;
}

/* Badges: sem pulse de box-shadow (paint por frame × N cards) */
.gs-badge-new,
.gs-badge[class*="Pulse"],
[class*="rhzbPulse"] {
	animation: none !important;
}

/* CTA glow contínuo no Flash Head — opcionalmente estático */
.cta-premium::before {
	animation: none !important;
}

/* Ícones não herdam a fonte do tema. Sem isso o Flash apaga o desenho. */
html.has-flash-code .fa-solid,
html.has-flash-code .fas {
	font-family: "Font Awesome 6 Free" !important;
	font-weight: 900 !important;
	font-style: normal !important;
	display: inline-block !important;
	opacity: 1 !important;
	visibility: visible !important;
	line-height: 1 !important;
	-webkit-text-fill-color: currentColor !important;
	background: none !important;
	-webkit-background-clip: border-box !important;
	background-clip: border-box !important;
}
html.has-flash-code .fa-regular,
html.has-flash-code .far {
	font-family: "Font Awesome 6 Free" !important;
	font-weight: 400 !important;
	-webkit-text-fill-color: currentColor !important;
	display: inline-block !important;
	opacity: 1 !important;
}
html.has-flash-code .fa-brands,
html.has-flash-code .fab {
	font-family: "Font Awesome 6 Brands" !important;
	font-weight: 400 !important;
	-webkit-text-fill-color: currentColor !important;
	display: inline-block !important;
	opacity: 1 !important;
}
html.has-flash-code svg.lucide,
html.has-flash-code .udash svg {
	width: 1.05em;
	height: 1.05em;
	display: inline-block !important;
	opacity: 1 !important;
	visibility: visible !important;
	overflow: visible !important;
	flex-shrink: 0;
}
html.has-flash-code .sv-tab__ico,
html.has-flash-code .udash-kpi__icon,
html.has-flash-code .udash-action__icon,
html.has-flash-code .udash-status__icon,
html.has-flash-code .svc-group-head__icon {
	opacity: 1 !important;
	overflow: visible !important;
}
html.has-flash-code .sv-tab-inactive .sv-tab__ico {
	color: var(--theme-primary, #4f46e5) !important;
	background: color-mix(in srgb, var(--theme-primary, #4f46e5) 16%, transparent) !important;
}
html.has-flash-code .sv-tab-active .sv-tab__ico,
html.has-flash-code .sv-tab-active .sv-tab__ico .svc-ico {
	color: #fff !important;
}
html.has-flash-code .svc-group-head__icon,
html.has-flash-code .svc-group-head__icon .svc-ico {
	color: #fff !important;
}
html.has-flash-code .sv-tab__ico .svc-ico,
html.has-flash-code .svc-group-head__icon .svc-ico {
	width: 1.05rem !important;
	height: 1.05rem !important;
	display: block !important;
	stroke: currentColor !important;
	fill: none !important;
	opacity: 1 !important;
	visibility: visible !important;
}
html.has-flash-code .svc-bolt {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	color: var(--theme-accent, var(--theme-primary, #22d3ee)) !important;
	-webkit-text-fill-color: var(--theme-accent, var(--theme-primary, #22d3ee)) !important;
	filter: drop-shadow(0 0 2px var(--theme-primary, currentColor)) drop-shadow(0 0 8px var(--theme-accent, currentColor)) !important;
}

/* Pack antigo do Flash não substitui o rodapé real. */
html.has-flash-code footer.nu-footer,
html.has-flash-code #nuFooter,
html.has-flash-code .nu-footer {
	display: none !important;
}

/* Rodapé do site fica como está. Tema antigo não pode esmagar nem repintar. */
html.has-flash-code footer.gsmbit-footer {
	background: #f8fafc !important;
	border-top: 1px solid rgba(148, 163, 184, 0.2) !important;
	color: inherit !important;
}
html.dark.has-flash-code footer.gsmbit-footer,
.dark html.has-flash-code footer.gsmbit-footer {
	background: #0f172a !important;
	border-top-color: rgba(51, 65, 85, 0.65) !important;
}
html.has-flash-code footer.gsmbit-footer > .gsmbit-footer__inner,
html.has-flash-code footer.relative > div:not(.gsmbit-footer__accent),
html.has-flash-code footer.sx-footer > div,
html.has-flash-code footer.vt-footer > div,
html.has-flash-code footer.bc-footer > div {
	height: auto !important;
	max-height: none !important;
}
html.has-flash-code .gsmbit-footer__accent {
	height: 2px !important;
	background: var(--theme-gradient, linear-gradient(90deg, #6366f1, #a855f7, #ec4899)) !important;
}
html.has-flash-code footer.gsmbit-footer .gsmbit-footer__heading { color: #0f172a !important; }
html.has-flash-code footer.gsmbit-footer .gsmbit-footer__contact { color: #334155 !important; }
html.has-flash-code footer.gsmbit-footer .gsmbit-footer__contact:hover { color: #4f46e5 !important; }
html.has-flash-code footer.gsmbit-footer .gsmbit-footer__contact--wa:hover { color: #16a34a !important; }
html.dark.has-flash-code footer.gsmbit-footer .gsmbit-footer__heading,
.dark html.has-flash-code footer.gsmbit-footer .gsmbit-footer__heading { color: #f1f5f9 !important; }
html.dark.has-flash-code footer.gsmbit-footer .gsmbit-footer__contact,
.dark html.has-flash-code footer.gsmbit-footer .gsmbit-footer__contact { color: #cbd5e1 !important; }
html.dark.has-flash-code footer.gsmbit-footer .gsmbit-footer__contact:hover,
.dark html.has-flash-code footer.gsmbit-footer .gsmbit-footer__contact:hover { color: #a5b4fc !important; }
html.dark.has-flash-code footer.gsmbit-footer .gsmbit-footer__contact--wa:hover,
.dark html.has-flash-code footer.gsmbit-footer .gsmbit-footer__contact--wa:hover { color: #4ade80 !important; }
html.has-flash-code .gradient-text svg,
html.has-flash-code .gradient-text .fa-solid,
html.has-flash-code h1 .fa-solid,
html.has-flash-code h1 svg.lucide {
	-webkit-text-fill-color: currentColor !important;
	background: none !important;
	opacity: 1 !important;
}
