/* ═══════════════════════════════════════════════════
   REVOLUX — ANIMATIONS
   Keyframes, transições de página, efeitos
═══════════════════════════════════════════════════ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes stripeDrop {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
@keyframes scrollLine {
  0%   { transform: scaleX(0); transform-origin: left; }
  50%  { transform: scaleX(1); transform-origin: left; }
  50.1%{ transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* Hero stripe drop */
.stripe {
  flex: 1;
  animation: stripeDrop 0.9s var(--ease-out) both;
}
.stripe:nth-child(1) { animation-delay: 0.25s; }
.stripe:nth-child(2) { animation-delay: 0.38s; }
.stripe:nth-child(3) { animation-delay: 0.51s; }
.stripe:nth-child(4) { animation-delay: 0.64s; }

/* Staggered hero text */
.hero-eyebrow { animation: fadeUp 0.8s var(--ease-out) 0.5s both; }
.hero-title   { animation: fadeUp 0.9s var(--ease-out) 0.65s both; }
.hero-sub     { animation: fadeUp 0.9s var(--ease-out) 0.8s both; }
.hero-actions { animation: fadeUp 0.9s var(--ease-out) 0.95s both; }
.hero-scroll  { animation: fadeUp 1s var(--ease-out) 1.2s both; }

/* Page load */
.page-hero .page-hero-eyebrow { animation: fadeUp 0.8s var(--ease-out) 0.3s both; }
.page-hero h1                  { animation: fadeUp 0.9s var(--ease-out) 0.45s both; }
.page-hero .page-hero-sub      { animation: fadeUp 0.9s var(--ease-out) 0.6s both; }

/* Scroll line animation */
.scroll-line {
  width: 36px;
  height: 1px;
  background: rgba(249,236,204,0.18);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--amadeirado);
  animation: scrollLine 2.2s ease-in-out 1.5s infinite;
}

/* Hover shimmer on cards */
.shimmer-hover {
  position: relative;
  overflow: hidden;
}
.shimmer-hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(249,236,204,0.04), transparent);
  transform: skewX(-14deg);
  transition: left 0.7s var(--ease-out);
}
.shimmer-hover:hover::after { left: 130%; }

/* Number counter animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stat-num { animation: countUp 0.8s var(--ease-out) both; }


/* ══ ANIMAÇÃO DE DESTAQUE PREMIUM (SIMULAÇÃO) ══ */
@keyframes premiumGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(199, 155, 116, 0.05);
    border-color: rgba(199, 155, 116, 0.2);
  }
  50% {
    box-shadow: 0 0 30px 0 rgba(199, 155, 116, 0.25);
    border-color: rgba(199, 155, 116, 0.8);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(199, 155, 116, 0);
    border-color: rgba(199, 155, 116, 0.2);
  }
}

.premium-loop-glow {
  animation: premiumGlow 3.5s infinite ease-in-out;
}


