/**
 * voz-animations.css
 * Torpedo de Voz – animações: hero (entrada, float, pulse), feature cards, loading.
 * Keyframes: voz-float, voz-pulse, voz-icon-bounce, voz-wave-expand, voz-fadeInUp.
 */

/* SVG principal animado */
.voz-svg-animated {
  animation: voz-float 3s ease-in-out infinite;
}

@keyframes voz-float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

/* Círculo principal com pulse */
.voz-circle {
  animation: voz-pulse 2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes voz-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.95;
  }
}

/* Ícone de voz com bounce */
.voz-icon {
  animation: voz-icon-bounce 2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes voz-icon-bounce {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  25% {
    transform: translateY(-5px) scale(1.05);
  }

  75% {
    transform: translateY(-3px) scale(1.02);
  }
}

/* Ondas de som animadas */
.voz-wave {
  transform-origin: center;
  animation: voz-wave-expand 3s ease-in-out infinite;
}

.voz-wave.wave-1 {
  animation-delay: 0s;
}

.voz-wave.wave-2 {
  animation-delay: 1s;
}

.voz-wave.wave-3 {
  animation-delay: 2s;
}

@keyframes voz-wave-expand {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.3;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* ============================================
   ANIMAÇÕES DE ENTRADA
   ============================================ */
.voz-hero>* {
  animation: voz-fadeInUp 0.8s ease-out;
}

.voz-hero-tag {
  animation-delay: 0.1s;
  animation-fill-mode: both;
}

.voz-hero-title {
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.voz-hero-description {
  animation-delay: 0.3s;
  animation-fill-mode: both;
}

.voz-hero-cta {
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

.voz-hero-animation {
  animation-delay: 0.5s;
  animation-fill-mode: both;
}

@keyframes voz-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Feature Cards - Stagger Animation */
.voz-features .row .col-md-4:nth-child(1) .voz-feature-card {
  animation: voz-fadeInUp 0.6s ease-out 0.1s both;
}

.voz-features .row .col-md-4:nth-child(2) .voz-feature-card {
  animation: voz-fadeInUp 0.6s ease-out 0.2s both;
}

.voz-features .row .col-md-4:nth-child(3) .voz-feature-card {
  animation: voz-fadeInUp 0.6s ease-out 0.3s both;
}

/* ============================================
   HOVER EFFECTS
   ============================================ */
.voz-feature-icon {
  transition: all 0.3s ease;
}

.voz-feature-card:hover .voz-feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.4);
}

/* ============================================
   LOADING STATES
   ============================================ */
.voz-svg-animated.loading {
  opacity: 0;
  animation: none;
}

.voz-svg-animated.loaded {
  opacity: 1;
  animation: voz-float 3s ease-in-out infinite;
}

/* ============================================
   SCROLL REVEAL – FADE IGUAL RCS (INDO E VOLTANDO)
   ============================================ */

/* Base: todos os .scroll-reveal começam invisíveis */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Seções: fade um pouco mais suave */
.voz-features.scroll-reveal,
.voz-stats-section.scroll-reveal,
.voz-omnichannel.scroll-reveal,
.voz-platform-api.scroll-reveal,
.voz-faq.scroll-reveal,
.voz-cta.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.voz-features.scroll-reveal.visible,
.voz-stats-section.scroll-reveal.visible,
.voz-omnichannel.scroll-reveal.visible,
.voz-platform-api.scroll-reveal.visible,
.voz-faq.scroll-reveal.visible,
.voz-cta.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Celulares: destaque no fade (hero + seções canal) */
.voz-phone-wrapper.scroll-reveal,
.voz-channel-section__phone.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.1s ease 0.15s, transform 1.1s ease 0.15s;
}

.voz-phone-wrapper.scroll-reveal.visible,
.voz-channel-section__phone.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Seções canal (container inteiro) */
.voz-channel-section.scroll-reveal {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 1s ease, transform 1s ease;
}

.voz-channel-section.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   EFEITO DOMINÓ – itens aparecem um por um (não a seção inteira)
   ============================================ */

.voz-domino-item {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.voz-domino-item.visible {
  opacity: 1;
  transform: translateY(0);
}