/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  text-align: center;
  padding: 160px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-green-light);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 200;
  padding: 8px 24px;
  border-radius: 11px;
}

.hero__title {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  max-width: 900px;
  color: var(--color-text);
}

.hero .btn--dark {
  margin-bottom: 24px;
}

.hero__video {
  width: 100%;
  max-width: var(--container-width);
  margin: 50px auto 0;
  padding: 0 24px;
  aspect-ratio: 16 / 9;
  background-color: var(--color-black);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent, var(--color-white));
  pointer-events: none;
  z-index: 0;
}


.hero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.btn,
.about__content > *,
.hero__container > * {
  opacity: 1 !important;
}

/* =========================================================
   PARTENAIRES
========================================================= */
.partners {
  padding: 50px 0;
  text-align: center;
}

.partners__img {
  margin: 0 auto;
  max-width: 400px;
}

/* =========================================================
   À PROPOS
========================================================= */
.about {
margin-top: 60px;
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.about__image {
  display: flex;
  justify-content: flex-end;
}

.about__image img {
  border-radius: 24px;
  width: 85%;
  object-fit: cover;
}

.about__eyebrow {
  color: var(--color-green);
  font-weight: 700;
  font-size: 28px;
  font-weight: 200;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.about__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
 }

.about__text {
  font-size: 16px;
  color: #1a1b1f;
  margin-bottom: 28px;
  line-height: 1.7;
}


/* =========================================================
   CAROUSEL
========================================================= */
.carousel {
  margin-top: 150px;
  padding: 0 24px;
}

.carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  max-width: 850px; 
  margin: 0 auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
}

.carousel__track:active {
  cursor: grabbing;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__item {
  position: relative;
  flex: 0 0 260px;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 3px solid var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 20px;
  color: var(--color-white);
  font-size: 30px;
  font-weight: 700;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.carousel__controls {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 850px;
  margin: 24px auto 0;
}

.carousel__btn {
  width: 24px;
  height: 24px;
  border-radius: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-size: 18px;
  flex-shrink: 0;
  color: #888888;
  transition: color var(--transition);
}

.carousel__btn:hover {
  background-color: transparent;
  color: var(--color-green);
}

.carousel__progress {
  flex: 1;
  height: 6px;
  background-color: #e8e8ea;
  border-radius: 10px;
  overflow: hidden;
}

.carousel__progress-bar {
  height: 100%;
  width: 25%;
  background-color: #888888;
  border-radius: 10px;
  transition: width var(--transition);
}

.carousel__chevron {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  color: var(--color-green);
  font-size: 24px;
}

/* =========================================================
   VALEURS AJOUTÉES
========================================================= */
.values {
  background-color: var(--color-bg-light);
  padding: 90px 0;
  text-align: center;
  margin-top: 90px;
}

.values__title {
  font-size: 25px;
  font-weight: 800;
  margin-bottom: 32px;
}

.values__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}

.values__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 28px 24px;
  font-weight: 800;
  font-size: 18px;
  text-align: center;
}

.values__item--full {
  grid-column: 1 / -1;
  justify-content: center;
  text-align: center;
}

.values__bullet {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* =========================================================
   ÉQUIPE
========================================================= */
.team {
  margin-top: 60px;
}

.team__photo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.team__photo {
  width: 100%;
  max-width: 900px;
  border-radius: 16px;
}

/* =========================================================
   CTA
========================================================= */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.cta .btn--dark {
  height: 56px;
  font-size: 15px;
  padding: 0 36px;
  margin-bottom: 100px;
  border-radius: 50px;
  margin-top: 40px;
}

.cta .btn--circle {
  width: 56px;
  height: 56px;
  margin-bottom: 100px;
  margin-top: 40px;
}

.btn--circle i {
  color: var(--color-white);
  font-size: 18px;
}

/* CURSEUR ANIMÉ CTA */
.cta__cursor {
  position: absolute;
  width: 26px;
  height: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 0l16 12-7 2-4 8z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
}

.cta {
  position: relative;  /* ajoute ça au .cta existant */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 992px) {
  .hero__title {
    font-size: 32px;
    max-width: 700px;
  }

  .hero__container {
    gap: 30px;
  }

  .hero__video {
    width: calc(100% - 100px);
    margin: 30px auto 0;
  }

  .partners__img {
    max-width: 300px;
  }

  .about__image {
    justify-content: center;
  }

  .about__image img {
    width: 100%;
  }

  .about__content .btn--green {
    height: 38px;
    padding: 0 22px;
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: 18px;
  }

  .values__grid {
    grid-template-columns: 1fr;
  }

  .values__item--full {
    grid-column: auto;
  }

  .hero {
    padding: 120px 0 50px;
  }

  .hero__container {
    gap: 30px;
  }

  .hero__video {
    aspect-ratio: unset;
    height: 300px;
    width: calc(100% - 32px);
    margin: 42px auto 0;
  }

  .partners__img {
    max-width: 300px;
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta .btn--dark {
    height: 48px;
    font-size: 13px;
  }

  .cta .btn--circle {
    width: 48px;
    height: 48px;
  }
}