/* Animations de base */
@keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes slideUp {
    from {
      transform: translateY(30px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  @keyframes slideDown {
    from {
      transform: translateY(-30px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  @keyframes slideInLeft {
    from {
      transform: translateX(-30px);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes slideInRight {
    from {
      transform: translateX(30px);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  }
  
  @keyframes float {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  
  @keyframes gradientShift {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  
  /* Classes d'animation */
  .animate-fade-in {
    animation: fadeIn 0.8s ease-in-out forwards;
  }
  
  .animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
  }
  
  .animate-slide-down {
    animation: slideDown 0.8s ease-out forwards;
  }
  
  .animate-slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
  }
  
  .animate-slide-right {
    animation: slideInRight 0.8s ease-out forwards;
  }
  
  .animate-pulse {
    animation: pulse 2s ease-in-out infinite;
  }
  
  .animate-float {
    animation: float 6s ease-in-out infinite;
  }
  
  .animate-gradient {
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
  }
  
  /* Délais d'animation */
  .delay-100 {
    animation-delay: 100ms;
  }
  .delay-200 {
    animation-delay: 200ms;
  }
  .delay-300 {
    animation-delay: 300ms;
  }
  .delay-400 {
    animation-delay: 400ms;
  }
  .delay-500 {
    animation-delay: 500ms;
  }
  .delay-600 {
    animation-delay: 600ms;
  }
  .delay-700 {
    animation-delay: 700ms;
  }
  .delay-800 {
    animation-delay: 800ms;
  }
  
  /* Animations au survol */
  .hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
  
  .hover-scale {
    transition: transform 0.3s ease;
  }
  
  .hover-scale:hover {
    transform: scale(1.03);
  }
  
  .hover-bright {
    transition: filter 0.3s ease;
  }
  
  .hover-bright:hover {
    filter: brightness(1.1);
  }
  
  /* Support pour prefers-reduced-motion */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
  
  /* Animation pour les éléments au scroll */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Animation pour le texte du hero */
  .animate-hero-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
  }
  
  .animate-hero-text.active span {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  
  .animate-hero-text span:nth-child(1) {
    transition-delay: 100ms;
  }
  .animate-hero-text span:nth-child(2) {
    transition-delay: 200ms;
  }
  .animate-hero-text span:nth-child(3) {
    transition-delay: 300ms;
  }
  .animate-hero-text span:nth-child(4) {
    transition-delay: 400ms;
  }
  .animate-hero-text span:nth-child(5) {
    transition-delay: 500ms;
  }
  .animate-hero-text span:nth-child(6) {
    transition-delay: 600ms;
  }
  .animate-hero-text span:nth-child(7) {
    transition-delay: 700ms;
  }
  .animate-hero-text span:nth-child(8) {
    transition-delay: 800ms;
  }
  .animate-hero-text span:nth-child(9) {
    transition-delay: 900ms;
  }
  .animate-hero-text span:nth-child(10) {
    transition-delay: 1000ms;
  }
  
  /* Animation pour les boutons */
  .btn-animated {
    position: relative;
    overflow: hidden;
  }
  
  .btn-animated::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
  }
  
  .btn-animated:hover::after {
    transform: translateX(100%);
  }
  
  /* Animation pour les cartes */
  .card-animated {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
  }
  
  .card-animated:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
  
  /* Animation pour les icônes */
  .icon-animated {
    transition: transform 0.3s ease;
  }
  
  .icon-animated:hover {
    transform: scale(1.2);
  }
  
  /* Animation pour le menu */
  .menu-item {
    position: relative;
  }
  
  .menu-item::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
  }
  
  .menu-item:hover::after {
    width: 100%;
  }
  