/*
Theme Name: AF Advogados
Theme URI: https://aferreira.adv.br
Author: Antigravity
Description: Tema nativo corporativo de alta performance focado em advocacia.
Version: 1.0.0
Text Domain: af-advogados
*/

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGoldGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.25); }
  50% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.45); }
}
@keyframes goldTextShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes cardGlowPulse {
  0% { box-shadow: 0 0 0 rgba(212, 175, 55, 0); border-color: rgba(212, 175, 55, 0.2); }
  50% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.3); border-color: rgba(212, 175, 55, 0.7); }
  100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); border-color: rgba(212, 175, 55, 0.25); }
}

.animate-fadeInDown { animation: fadeInDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-gold-shimmer { background-size: 200% auto; animation: goldTextShimmer 4s linear infinite; }
.animate-float-subtle { animation: floatSubtle 4s ease-in-out infinite; }
.animate-card-glow { animation: cardGlowPulse 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.gold-glow-hover:hover { animation: pulseGoldGlow 2s infinite ease-in-out; }

/* Efeito de Spotlight nos Cards (substituindo o estado do React por vars do CSS) */
.stat-card-glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
}
.stat-card-glass::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(280px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212,175,55,0.15), transparent 70%);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none; z-index: 1;
}
.stat-card-glass:hover::before {
  opacity: 1;
}
