/* ===========================================
   ANIMATIONS FLUIDES - KENT
   =========================================== */

/* Animation fade-in au scroll */
.fade-in-element {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation pour les sections principales */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.9s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.9s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===========================================
   ANIMATIONS CARTES ET ÉLÉMENTS
   =========================================== */

.kent-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.kent-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Animation des éléments "Comment ça marche" */
.comment-ca-marche-item {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.comment-ca-marche-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.comment-ca-marche-item:nth-child(2) {
  transition-delay: 0.1s;
}

.comment-ca-marche-item:nth-child(3) {
  transition-delay: 0.2s;
}

.comment-ca-marche-item:nth-child(4) {
  transition-delay: 0.3s;
}

/* Animation des numéros */
.comment-ca-marche-number {
  transition: all 0.3s ease;
}

.comment-ca-marche-item:hover .comment-ca-marche-number {
  transform: scale(1.1);
  background: var(--color-primary) !important;
  color: white !important;
}

/* ===========================================
   ANIMATIONS RESPONSIVE
   =========================================== */

@media (max-width: 768px) {
  .fade-in-element,
  .fade-in-up,
  .fade-in-left,
  .fade-in-right {
    transform: translateY(20px);
  }
}

/* ===========================================
   ANIMATIONS DE LOADING
   =========================================== */

.loading-fade {
  animation: loadingFade 0.8s ease-out;
}

@keyframes loadingFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} 