/* ===================== ENGAGEMENT HERO SECTION ===================== */

.engagement-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.engagement-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%;
  object-fit: cover;
  z-index: 0;
}

.engagement-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(14, 14, 14, 0) 0%,
    rgba(14, 14, 14, 0.5) 50%,
    rgba(14, 14, 14, 0.85) 100%
  );
  z-index: 1;
}

.engagement-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(40px, 5vw, 80px);
  max-width: 1400px;
  margin: 0;
  margin-left: clamp(20px, 3vw, 60px);
}

.engagement-hero__content {
  max-width: 800px;
  color: #fff;
}

.engagement-hero__kicker {
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent-gold);
  margin-bottom: clamp(12px, 1.5vw, 16px);
}

.engagement-hero__title {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 200;
  line-height: 1.2;
  margin-bottom: clamp(12px, 1.5vw, 20px);
  color: #fff;
}

.engagement-hero__subtitle {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: clamp(20px, 2vw, 32px);
  color: #fff;
}

.engagement-hero__description {
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.6;
  color: var(--color-light);
  margin: 0;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 768px) {
  .engagement-hero {
    min-height: 60vh;
    align-items: center;
    justify-content: flex-end;
  }

  .engagement-hero__inner {
    padding: 40px 16px;
  }

  .engagement-hero__content {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .engagement-hero {
    min-height: 50vh;
  }

  .engagement-hero__title {
    margin-bottom: 8px;
  }

  .engagement-hero__description {
    font-size: 14px;
  }
}

/* ===================== ENGAGEMENT TIMELINE SECTION ===================== */

.timeline .timeline-header {
  text-align: left;
  margin-bottom: clamp(60px, 8vw, 100px);
  padding-left: 0;
  margin-top: clamp(40px, 6vw, 80px);
  margin-left: calc(-50vw + 50%);
  padding-left: clamp(16px, 3vw, 48px);
}

.timeline .timeline-header__kicker {
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent-gold);
  margin-bottom: 2px;
}

.timeline .timeline-header__title {
  font-size: clamp(48px, 7.5vw, 80px);
  font-weight: 200;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 768px) {
  .timeline .timeline-header {
    padding-left: 16px;
  }
}

/* ===================== ENGAGEMENT TIMELINE CUSTOMIZATION ===================== */

/* Masquer le tag date rose */
.timeline .date {
  display: none;
}

/* Agrandir les images */
.timeline .imgWrap {
  height: auto;
  aspect-ratio: 5 / 3;
  border-radius: 12px;
  overflow: hidden;
}

.timeline .imgWrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Augmenter l'espace et ajouter une séparation entre l'image et le texte */
.timeline .cardTop {
  margin-bottom: 30px !important;
}

.timeline .cardBody {
  border-top: 1px solid rgba(201, 162, 74, 0.2);
  padding-top: 30px !important;
}

/* Textes en blanc et boîtes agrandies */
.timeline .card {
  width: min(550px, 95%) !important;
}

.timeline .cardBody h2 {
  color: #fff !important;
}

.timeline .cardBody p {
  color: var(--color-grey-light) !important;
}

.timeline .meta li {
  color: var(--color-grey-light) !important;
}

/* Déplacer les cartes de droite plus à droite */
.timeline .timelineItem.right .card {
  margin-right: -250px !important;
}


/* Fix responsive (entre desktop et mobile) : évite les cartes coupées à droite */
@media (max-width: 1600px) {
  .timeline .timelineItem.right .card {
    margin-right: 0 !important;
  }

  .timeline .card {
    width: min(520px, 100%) !important;
  }

  .timeline .timelineItem {
    padding-left: clamp(16px, 4vw, 48px);
    padding-right: clamp(16px, 4vw, 48px);
    box-sizing: border-box;
  }
}

/* ===================== ENGAGEMENT CTA SECTION ===================== */

.engagement-cta {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.engagement-cta__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.engagement-cta__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(14, 14, 14, 0.6) 0%,
    rgba(14, 14, 14, 0.4) 50%,
    rgba(14, 14, 14, 0.5) 100%
  );
  z-index: 1;
}

.engagement-cta__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(40px, 5vw, 80px);
  max-width: 1000px;
  margin: 0 auto;
}

.engagement-cta__content {
  text-align: center;
  color: #fff;
}

.engagement-cta__kicker {
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent-gold);
  margin-bottom: 8px;
}

.engagement-cta__title {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 200;
  line-height: 1.2;
  margin-bottom: clamp(20px, 2vw, 32px);
  color: #fff;
}

.engagement-cta__description {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: var(--color-light);
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 768px) {
  .engagement-cta {
    min-height: 45vh;
  }

  .engagement-cta__inner {
    padding: 40px 16px;
  }
}

@media (max-width: 600px) {
  .timeline .timelineItem.left .card {
    margin-top: 0;
  }

  .engagement-cta {
    min-height: 40vh;
  }

  .engagement-cta__title {
    margin-bottom: 16px;
  }

  .engagement-cta__description {
    font-size: 14px;
  }
}

/* Entre 600px et 1600px : utiliser la mise en page mobile de la timeline */
@media (min-width: 600px) and (max-width: 1600px) {
  .timeline .container {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }

  .timelineRail {
    display: none;
  }

  .timelineDot {
    display: none;
  }

  .timelineItem {
    justify-content: center !important;
    margin-bottom: clamp(32px, 4vw, 56px);
    margin-top: clamp(32px, 4vw, 56px);
  }

  .timeline .card {
    width: min(900px, 100%);
    margin-left: auto !important;
    margin-right: auto !important;
    padding: clamp(16px, 2.2vw, 28px);
    min-height: auto;
  }

  .timelineItem.left .card::after,
  .timelineItem.right .card::after {
    display: none;
  }

  .timeline-number {
    font-size: 24px;
  }
}

/* Style pour le mini titre dans les cartes */
.timeline .cardBody__kicker {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 200;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.timeline .cardBody h2 {
  color: var(--color-accent-gold) !important;
  font-size: clamp(16px, 2vw, 20px) !important;
  margin-bottom: 12px;
  font-weight: 600;
}

/* Réduire la taille des images de droite */
.timeline .timelineItem.right .imgWrap {
  height: 250px !important;
}
