/* ===================================
   CTA FINAL - APPEL À L'ACTION
   Section de conversion finale
   =================================== */

/* ========== SECTION ========== */
.cta-section {
  position: relative;
  background: #0F2D4E;
  color: #FFFFFF;
  padding: 48px 8% 48px !important;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

/* ========== HALO LUMINEUX ========== */
.cta-halo {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  filter: blur(120px);
  z-index: 0;
  animation: haloMove 10s ease-in-out infinite alternate;
}

@keyframes haloMove {
  0% {
    transform: translateX(-50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translateX(-50%) scale(1.12);
    opacity: 1;
  }
}

/* ========== CONTENU ========== */
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
  opacity: 1;
  animation: fadeUp 1.2s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== TITRE - IMPACTFUL & MASCULINE ========== */
.cta-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 4rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cta-content h2 span {
  color: #B89051;
  display: block;
  line-height: 1.1;
}

/* ========== PARAGRAPHE ========== */
.cta-content p {
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 35px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== BOUTON CTA FINAL - IMPACTFUL & BOLD ========== */
.cta-final {
  display: inline-block;
  background: linear-gradient(135deg, #B89051 0%, #A67E44 100%);
  color: #FFFFFF;
  padding: 24px 56px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.375rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow:
    0 10px 35px rgba(184, 144, 81, 0.4),
    0 5px 15px rgba(184, 144, 81, 0.3),
    0 0 0 0 rgba(184, 144, 81, 0.5);
  border: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.03em;
  animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow:
      0 10px 35px rgba(184, 144, 81, 0.4),
      0 5px 15px rgba(184, 144, 81, 0.3),
      0 0 0 0 rgba(184, 144, 81, 0.5);
  }
  50% {
    box-shadow:
      0 10px 35px rgba(184, 144, 81, 0.4),
      0 5px 15px rgba(184, 144, 81, 0.3),
      0 0 0 8px rgba(184, 144, 81, 0);
  }
}

.cta-final:hover {
  background: linear-gradient(135deg, #A67E44 0%, #9a7644 100%);
  box-shadow:
    0 15px 50px rgba(184, 144, 81, 0.55),
    0 8px 25px rgba(184, 144, 81, 0.4),
    0 0 0 0 rgba(184, 144, 81, 0.5);
  transform: translateY(-3px);
}

.cta-final:active {
  transform: translateY(-1px);
  box-shadow:
    0 8px 30px rgba(184, 144, 81, 0.45),
    0 4px 12px rgba(184, 144, 81, 0.35);
}

/* ========== SOUS-TEXTE ========== */
.cta-subtext {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 20px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .cta-section {
    padding: 40px 6% 40px !important;
  }
}

@media (max-width: 768px) {
  .cta-section {
    padding: 32px 5% 32px !important;
  }

  .cta-content h2 {
    font-size: clamp(2.2rem, 7vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
  }

  .cta-content p {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 28px;
  }

  .cta-final {
    font-size: 1.125rem;
    font-weight: 800;
    padding: 22px 48px;
    min-width: 90%;
    max-width: 360px;
    box-shadow:
      0 10px 35px rgba(184, 144, 81, 0.5),
      0 5px 18px rgba(184, 144, 81, 0.35);
    letter-spacing: 0.02em;
  }

  .cta-final:hover {
    transform: translateY(-2px);
  }

  .cta-final:active {
    transform: translateY(0);
  }

  .cta-subtext {
    font-size: 0.95rem;
  }

  .cta-halo {
    width: 600px;
    height: 600px;
  }
}

/* ========== PRÉFÉRENCE RÉDUITE DE MOUVEMENT ========== */
@media (prefers-reduced-motion: reduce) {
  .cta-halo,
  .cta-content {
    animation: none !important;
  }
}
