/* ==========================================
   CALL-TO-ACTION BUTTONS
   ========================================== */

/* Primary CTA */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 35px;
  background: linear-gradient(135deg, rgb(138, 43, 226), rgb(186, 85, 211));
  color: #fff;
  font-family: "Great Vibes", cursive;
  font-size: 1.5rem;
  font-weight: 400;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(138, 43, 226, 0.6);
}

.cta-primary:hover::before {
  left: 100%;
}

.cta-primary:active {
  transform: translateY(-1px);
}

/* Secondary CTA */
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 30px;
  background: transparent;
  color: rgb(238, 168, 255);
  font-family: "Great Vibes", cursive;
  font-size: 1.3rem;
  font-weight: 400;
  text-decoration: none;
  border: 2px solid rgb(238, 168, 255);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  background: rgba(138, 43, 226, 0.2);
  border-color: rgb(186, 85, 211);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(138, 43, 226, 0.3);
}

/* CTA avec icône */
.cta-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* CTA Container */
.cta-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0;
}

/* CTA Section Hero */
.hero-cta {
  margin-top: 40px;
  text-align: center;
}

/* Floating CTA (sticky en bas sur mobile) */
.cta-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* CTA WhatsApp */
.cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  background: #25d366;
  color: #fff;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.cta-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.6);
}

/* CTA Contact Badge */
.contact-badge {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.contact-badge .cta-whatsapp,
.contact-badge .cta-email {
  width: 60px;
  height: 60px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.contact-badge .cta-email {
  background: rgb(138, 43, 226);
}

.contact-badge svg {
  width: 30px;
  height: 30px;
}

/* Responsive */
@media (max-width: 600px) {
  .cta-primary {
    font-size: 1.3rem;
    padding: 12px 25px;
  }

  .cta-secondary {
    font-size: 1.1rem;
    padding: 10px 20px;
  }

  .cta-container {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-floating {
    bottom: 10px;
    right: 10px;
  }

  .contact-badge {
    bottom: 10px;
    left: 10px;
  }
}

@media (min-width: 1024px) {
  .cta-floating {
    display: none; /* Caché sur desktop, remplacé par contact-badge */
  }
}
