/* === SEÇÃO CTA FINAL === */
.cta-final-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0546d1 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid transparent;
  background-clip: padding-box;
}

.cta-final-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-white) 50%, transparent 100%);
  z-index: 2;
}

.cta-final-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255, 191, 0, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

/* Círculos com efeito gestalt - ocupando toda a seção */
.cta-final-section {
  position: relative;
}

.cta-final-section .container {
  position: relative;
  z-index: 3;
}

/* Círculos posicionados em relação à seção completa */
.cta-final-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-white) 50%, transparent 100%);
  z-index: 2;
}

/* Círculos gestalt */
.cta-final-section .gestalt-circle-1,
.cta-final-section .gestalt-circle-2,
.cta-final-section .gestalt-circle-3,
.cta-final-section .gestalt-circle-4 {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.cta-final-section .gestalt-circle-1 {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 5%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 70%, transparent 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  animation: gestaltFloat1 8s ease-in-out infinite;
}

.cta-final-section .gestalt-circle-2 {
  width: 100px;
  height: 100px;
  bottom: 15%;
  right: 8%;
  background: radial-gradient(circle, rgba(255, 191, 0, 0.18) 0%, rgba(255, 191, 0, 0.06) 70%, transparent 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: gestaltFloat2 10s ease-in-out infinite reverse;
}

.cta-final-section .gestalt-circle-3 {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 15%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  animation: gestaltFloat3 7s ease-in-out infinite;
}

.cta-final-section .gestalt-circle-4 {
  width: 60px;
  height: 60px;
  bottom: 40%;
  left: 10%;
  background: radial-gradient(circle, rgba(255, 191, 0, 0.15) 0%, transparent 70%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: gestaltFloat4 6s ease-in-out infinite reverse;
}

.cta-final-section .gestalt-circle-5 {
  width: 40px;
  height: 40px;
  top: 25%;
  right: 25%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: gestaltFloat1 9s ease-in-out infinite;
}

/* Animações de flutuação gestalt */
@keyframes gestaltFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  33% { transform: translate(10px, -15px) scale(1.1); opacity: 0.8; }
  66% { transform: translate(-5px, 10px) scale(0.9); opacity: 0.4; }
}

@keyframes gestaltFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(-15px, -10px) scale(1.2); opacity: 0.7; }
}

@keyframes gestaltFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  25% { transform: translate(-8px, 12px) scale(1.1); opacity: 0.6; }
  75% { transform: translate(12px, -8px) scale(0.8); opacity: 0.3; }
}

@keyframes gestaltFloat4 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  40% { transform: translate(8px, -12px) scale(1.3); opacity: 0.9; }
  80% { transform: translate(-6px, 8px) scale(0.7); opacity: 0.5; }
}

.cta-final-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-final-content .section-title {
  color: var(--color-white);
  font-size: var(--font-4xl);
  margin-bottom: var(--spacing-lg);
}

.cta-final-subtitle {
  font-size: var(--font-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-2xl);
  line-height: 1.6;
}

.cta-final-button {
  margin-top: var(--spacing-xl);
}

.cta-final-section .btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-black);
  font-size: var(--font-lg);
  padding: var(--spacing-lg) var(--spacing-3xl);
  box-shadow: var(--shadow-lg);
}

.cta-final-section .btn-primary:hover {
  background-color: #e6ab00;
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Responsividade */
@media (max-width: 767px) {
  .cta-final-content .section-title {
    font-size: var(--font-3xl);
  }

  .cta-final-subtitle {
    font-size: var(--font-lg);
  }

  .cta-final-section .btn-primary {
    font-size: var(--font-base);
    padding: var(--spacing-md) var(--spacing-xl);
  }

  /* Ajustar círculos gestalt para mobile */
  .cta-final-section .gestalt-circle-1 {
    width: 100px;
    height: 100px;
    top: 5%;
    left: 2%;
  }

  .cta-final-section .gestalt-circle-2 {
    width: 70px;
    height: 70px;
    bottom: 10%;
    right: 5%;
  }

  .cta-final-section .gestalt-circle-3 {
    width: 50px;
    height: 50px;
    top: 50%;
    right: 10%;
  }

  .cta-final-section .gestalt-circle-4 {
    width: 40px;
    height: 40px;
    bottom: 35%;
    left: 5%;
  }

  .cta-final-section .gestalt-circle-5 {
    width: 30px;
    height: 30px;
    top: 20%;
    right: 20%;
  }
}
