/* ============================================================
   CTA DCLIK – CSS OFFICIEL, MOBILE FIRST & CORE WEB VITALS SAFE
Section sur page crea Vid Savenay
   ============================================================ */

/* SECTION */
.dclik-cta-section {
  width: 100%;
  padding: 4rem 5%;
  position: relative;
  overflow: hidden;
  background: #FAFAFA !important;
}


/* CONTAINER */
.dclik-cta-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* CONTENT BLOCK */
.dclik-cta-content {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem 1.75rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  animation: dclikFadeInScale 0.6s ease forwards;
  position: relative;
  overflow: hidden;
}

/* Top gradient bar */
.dclik-cta-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #04ee91, #7b23f4, #ffad00, #a783ff);
  background-size: 200% 100%;
  animation: dclikGradientMove 3s linear infinite;
}

/* TITRE */
.dclik-cta-content h2 {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.dclik-cta-highlight {
  background: linear-gradient(135deg, #7b23f4, #222edb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* DESCRIPTION */
.dclik-cta-description {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
  margin: 0 auto 2rem auto;
  max-width: 680px;
}

/* BUTTON WRAPPER */
.dclik-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* PRIMARY BUTTON */
.dclik-cta-primary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  background: linear-gradient(135deg, #7b23f4, #222edb);
  color: #fff;
  padding: 1.2rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dclik-cta-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(123, 35, 244, 0.35);
}

.dclik-cta-icon {
  transition: transform 0.3s ease;
}

.dclik-cta-primary:hover .dclik-cta-icon {
  transform: translateX(4px);
}

/* SECONDARY BUTTON */
.dclik-cta-secondary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  color: #7b23f4;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dclik-cta-secondary:hover {
  color: #222edb;
  transform: translateX(4px);
}

/* TRUST BADGES */
.dclik-cta-trust {
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dclik-cta-trust-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  gap: 0.5rem;
  color: #666;
}

/* PARTICLES */
.dclik-cta-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.dclik-cta-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  opacity: 0.35;
  border-radius: 50%;
  animation: dclikFloatParticle 7s ease-in-out infinite;
}

.dclik-cta-particle:nth-child(1) { background: #04ee91; top: 20%; left: 10%; }
.dclik-cta-particle:nth-child(2) { background: #a783ff; top: 60%; left: 80%; animation-delay: 1s; }
.dclik-cta-particle:nth-child(3) { background: #ffad00; top: 40%; left: 18%; animation-delay: 2s; }

/* KEYFRAMES */
@keyframes dclikGradientMove {
  0% { background-position: 0 0; }
  100% { background-position: 200% 0; }
}

@keyframes dclikFadeInScale {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes dclikFloatParticle {
  0%, 100% { transform: translate(0, 0); opacity: 0.35; }
  50% { transform: translate(24px, -24px); opacity: 0.55; }
}

/* RESPONSIVE > TABLETTES */
@media (min-width: 768px) {
  .dclik-cta-section { padding: 5rem 6%; }
  .dclik-cta-content { padding: 3rem 2rem; border-radius: 26px; }

  .dclik-cta-buttons { flex-direction: row; justify-content: center; }
  .dclik-cta-primary, .dclik-cta-secondary { width: auto; }

  .dclik-cta-trust {
    flex-direction: row;
    justify-content: center;
  }
}

/* RESPONSIVE > DESKTOPS */
@media (min-width: 1024px) {
  .dclik-cta-content h2 { font-size: 2.4rem; }
  .dclik-cta-description { font-size: 1.15rem; }
}