/* 1. Header */
/* Style pour le header flottant avec ombre */
header.header-scrolled {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1) !important;
}

/* 2. Hero Section */
/* video et poster */
.hero-video-wrapper {
  position: relative;
  width: 100%;
}

.hero-video {
  object-fit: cover;   /* maîtriser le crop */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  display: block;
}

.hero-poster {
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
  opacity: 1;
  z-index: 0;
}

/* Quand la vidéo est prête → la vidéo apparaît, le poster disparaît */
.hero-video.playing {
  opacity: 1;
  z-index: 2;
}

.hero-poster.fade-out {
  opacity: 0;
  z-index: 0;
}

/* 3. Carrousel de mots */
.word-carousel {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  white-space: nowrap;
  isolation: isolate;
  text-align: left;
}

.word-carousel.sliding-out {
  animation: fadeOut 0.3s ease-in forwards;
}

.word-carousel.sliding-in {
  animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 4. Talents Section */
/* Animation pulsante pour les cercles */
.pulsating-circle {
  animation: pulseSize 3s ease-in-out infinite;
}

@keyframes pulseSize {
  0%, 100% {
    width: 0.5rem; /* size-2 = 8px */
    height: 0.5rem;
  }
  50% {
    width: 1rem; /* size-4 = 16px */
    height: 1rem;
  }
}
