/* Container principal du repeater compteur */
.compteur-block {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  padding: 3rem 0;
}

/* Chaque item du compteur */
.compteur-item {
  display: flex;
  flex-direction: column;
  min-width: 200px;
  padding: 2rem 1rem;
  position: relative;
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), 
              transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* État animé : visible et en position */
.compteur-item.animate {
  opacity: 1;
  transform: translateX(0);
}

/* Indicateur visuel pendant l'animation */
.compteur-item.animate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  animation: progress-bar 3s ease-out;
}



/* Le chiffre du compteur */
.compteur-chiffre {
font-family: "D-DIN";
font-size: 4.625rem;
font-style: normal;
font-weight: 700;
line-height: 4.4375rem; /* 95.946% */
color: var(--accent-500);  line-height: 1;
  margin-bottom: 0.5rem;
  position: relative;
  transition: all 0.3s ease;
}

/* État pendant le comptage */
.compteur-chiffre.counting {
  color: var(--accent-500);
  transform: scale(1.1);
}

/* État une fois le comptage terminé */
.compteur-chiffre.count-complete {
  color: var(--accent-500);
  animation: pulse-complete 0.6s ease-out;
}



/* Le texte descriptif */
.compteur-texte {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: normal;
  text-align: left;
}



/* Responsive */
@media (max-width: 768px) {
  .compteur-block {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    position: relative;
    flex-wrap: wrap;
  }
  
  .compteur-item {
    min-width: 180px;
    max-width: 47%;
    padding: 1.5rem 1rem;
    text-align: center;
  }
  
  .compteur-chiffre {
    font-size: 4.625rem;

  }
  
  .compteur-texte {
   font-size: 0.8125rem;

  }

  .compteur-titre {
   font-size: 0.8125rem;
    text-transform: uppercase;
  }
}

