/* 
 * FINAL CTA SECTION - Agência Precisão
 * Estilos para a seção de call-to-action final
 */

.final-cta {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradiente-fundo);
  overflow: hidden;
}

#cta-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.cta-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 40%, rgba(0, 209, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(249, 178, 51, 0.08) 0%, transparent 50%);
  z-index: 2;
}

.cta-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cor-primaria), var(--cor-secundaria), var(--cor-primaria), transparent);
  opacity: 0.7;
  z-index: 3;
  animation: gradient-shift 8s linear infinite;
  background-size: 200% 100%;
}

.cta-content {
  text-align: center;
  max-width: 900px;
  padding: 2rem;
  position: relative;
  z-index: 3;
}

.cta-content h2 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--cor-texto-principal);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content h3 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 3rem;
  color: var(--cor-texto-secundario);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .cta-button {
  padding: 18px 38px;
  font-size: 1.3rem;
  margin-bottom: 2rem;
  min-width: 280px;
  transform-origin: center;
}

.final-cta .cta-button i {
  font-size: 1.4rem;
}

.final-cta .cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(249, 178, 51, 0.6), 
              0 0 30px rgba(249, 178, 51, 0.3);
}

/* Special button effects for final CTA */
.final-cta .cta-button::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--cor-secundaria), var(--cor-primaria), var(--cor-secundaria));
  z-index: -1;
  opacity: 0;
  transition: all 0.5s ease;
  background-size: 200% 100%;
  animation: border-pulse 2s infinite alternate;
}

.final-cta .cta-button:hover::after {
  opacity: 1;
}

.cta-microcopy {
  font-size: 1.1rem;
  color: var(--cor-texto-secundario);
  font-weight: 400;
  font-style: italic;
  margin-top: 1rem;
}

/* Special sparkle animation */
.final-cta .cta-button::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.1), 
    rgba(255, 255, 255, 0.4), 
    rgba(255, 255, 255, 0.1), 
    transparent);
  top: 0;
  left: -100%;
  transition: all 0.6s ease;
}

.final-cta .cta-button:hover::before {
  left: 100%;
  transition: all 0.6s ease;
}

/* Responsividade Final CTA */
@media screen and (max-width: 1024px) {
  .cta-content h2 {
    font-size: 2.6rem;
  }

  .cta-content h3 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .final-cta {
    min-height: 550px;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content h3 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }

  .final-cta .cta-button {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.1rem;
  }

  .cta-microcopy {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 480px) {
  .cta-content h2 {
    font-size: 1.7rem;
  }

  .cta-content h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .final-cta .cta-button {
    padding: 14px 32px;
    font-size: 1rem;
  }

  .cta-microcopy {
    font-size: 0.85rem;
  }
}

/* Acessibilidade CTA Section */
@media (prefers-reduced-motion: reduce) {
  .cta-accent-line,
  .final-cta .cta-button::before,
  .final-cta .cta-button::after,
  .final-cta .cta-button:hover {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
