/* SPAN IA */
.ia-background {
  display: inline-block;
  padding: 4px 10px;
  color: white;
  font-weight: bold;
  border-radius: 0.5em;
  background: linear-gradient(270deg, #ff6ec4, #ff4e50, #f9d423, #4ADEDE, #7873f5, #ff6ec4);
  /* PALETTE SANS JAUNE ET ROUGE : background: linear-gradient(270deg, #ff6ec4, #4ADEDE, #5f72be, #7873f5, #ff6ec4); */
  background-size: 600% 600%;
  animation: gradientBackground 12s ease infinite;
  transition: background 0.3s ease;
}
  
@keyframes gradientBackground {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* END */

/* BOUTON IA */
.animated-gradient-button a {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  color: white;
  text-decoration: none;
  background: transparent;
  border: 0px solid transparent !important;
  border-radius: 30px;
  cursor: pointer;
  z-index: 0;
  overflow: hidden;
}

.animated-gradient-button a::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(270deg, #ff6ec4, #7873f5, #4ADEDE, #ff6ec4);
  background-size: 600% 600%;
  animation: gradientBorder 6s ease infinite;
  z-index: -1;
  border-radius: 30px;
}

.animated-gradient-buttona a::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px; right: 2px; bottom: 2px;
  background: black; /* Couleur de fond derrière le bouton (si besoin) */
  z-index: -1;
  border-radius: 28px;
}

.animated-gradient-button a:hover::after {
  background: linear-gradient(270deg, #ff6ec4, #7873f5, #4ADEDE, #ff6ec4);
  background-size: 600% 600%;
  animation: gradientBorder 6s ease infinite;
}

/* Animation du dégradé */
@keyframes gradientBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* END*/