/* Hero section */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider .slick-list,
.hero-slider .slick-track {
  height: 100%;
}

.hero-slide {
  height: 100%;
  width: 100%;
  background-image: var(--hero-slide);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* filter: saturate(1.15) brightness(0.75) contrast(1.05); */
  transition: transform 7s ease;
}

.hero-slider .slick-active .hero-slide {
  transform: scale(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /*background: linear-gradient(135deg, rgba(26, 57, 44, 0.2), rgba(8, 8, 8, 0.2)); */
  z-index: 1;
}
.slick-dotted.slick-slider {
    margin-bottom: 0px;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 900px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3rem);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.hero-text {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

.hero-line {
  display: inline;
}

.hero-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  animation: heroLetterPop 0.55s ease forwards;
}

.hero-letter--static {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.hero-word {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.05em;
  margin-right: 0.35em;
}

.hero-word:last-of-type {
  margin-right: 0;
}

.hero-letter:nth-child(odd) {
  color: #ffe08a;
}

.hero-letter:nth-child(even) {
  color: #ffffff;
}

.hero-letter:nth-child(3n) {
  color: #b5f2d8;
}

@keyframes heroLetterPop {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.8) rotate(-4deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-5px) scale(1.1) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

.hero-slider .slick-dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  z-index: 2;
}

.hero-slider .slick-dots li button:before {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-slider .slick-dots li.slick-active button:before {
  opacity: 1;
  color: #ffe08a;
}



/* Features grid */

.features {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 2rem;

  max-width: 1200px;

  margin: 0 auto;

}



.feature {

  background-color: #ffffff;

  border-radius: 8px;

  padding: 2rem;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

  text-align: center;

  transition: transform 0.3s ease;

}



.feature:hover {

  transform: translateY(-5px);

}



/* Values section */

.values {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 2rem;

  max-width: 1200px;

  margin: 0 auto;

}



.value {

  background-color: #ffffff;

  border-radius: 8px;

  padding: 2rem;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

  text-align: center;

  transition: transform 0.3s ease;

}



.value:hover {

  transform: translateY(-5px);

}



.value h3 {

  margin-top: 0;

  color: var(--primary-color);

  font-size: 1.3rem;

}



.value p {

  font-size: 0.95rem;

  margin: 0.5rem 0 0;

}



.value i {

  font-size: 2rem;

  color: var(--primary-color);

  margin-bottom: 0.5rem;

}



.feature i {

  font-size: 2rem;

  color: var(--primary-color);

  margin-bottom: 0.5rem;

}



.feature h3 {

  margin-top: 0.5rem;

  font-size: 1.2rem;

  color: var(--primary-color);

}



.feature p {

  font-size: 0.95rem;

}



/* Word from Director */

.director {

  max-width: 900px;

  margin: 0 auto;

  background-color: #ffffff;

  padding: 2rem;

  border-radius: 8px;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

}



.director p {

  font-style: italic;

  margin-bottom: 1rem;

}



.director .signature {
  font-weight: bold;
  margin-top: 1rem;
}

@media (max-width: 1024px) {
  .hero {
    min-height: 65vh;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-text {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 58vh;
    padding: 3rem 1rem;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-text {
    font-size: 0.98rem;
  }
  .hero-line {
    display: block;
  }
  .hero-line--second {
    margin-top: 0.3rem;
  }
  .hero-content {
    padding: 1.5rem;
  }
  .features,
  .values {
    grid-template-columns: 1fr;
  }
  .director {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 52vh;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-text {
    font-size: 0.9rem;
  }
  .hero-line--second {
    margin-top: 0.2rem;
  }
  .feature,
  .value {
    padding: 1.5rem;
  }
}


.director-card{
  background:#fff;
  border-radius:18px;
  box-shadow:0 10px 40px rgba(0,0,0,.06);
}

#director{
  background:#fbf3e3; /* ton beige doux, si tu l’utilises déjà */
}

.director-photo{
  border-radius:16px;
  object-fit:cover;
}