/** Shopify CDN: Minification failed

Line 17:14 Expected identifier but found whitespace
Line 17:16 Unexpected "{"
Line 17:25 Expected ":"
Line 17:59 Expected ":"
Line 18:17 Expected identifier but found whitespace
Line 18:19 Unexpected "{"
Line 18:28 Expected ":"
Line 18:65 Expected ":"
Line 19:19 Expected identifier but found whitespace
Line 19:21 Unexpected "{"
... and 24 more hidden warnings

**/
.timeline-section {
  padding-top: {{ section.settings.section_padding_top }}px;
  padding-bottom: {{ section.settings.section_padding_bottom }}px;
  background-color: {{ section.settings.background_color }};
  color: {{ section.settings.text_color }};
}

/* Image principale */
.timeline-image-container {
  position: relative;
  width: 100%;
  margin: 0 0 3rem 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  touch-action: pan-y; /* Permet le scroll vertical mais pas horizontal */
  cursor: grab;
}

.timeline-image-container:active {
  cursor: grabbing;
}

.timeline-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.timeline-image[data-active="true"] {
  opacity: 1;
  pointer-events: auto;
}

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

.timeline-placeholder {
  width: 100%;
  height: 100%;
  background-color: #1a1a1a;
}

/* Slider container */
.timeline-slider-container {
  width: 100%;
  margin: 0 0 3rem 0;
  position: relative;
}

/* Années au-dessus du slider */
.timeline-years-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0;
}

.timeline-year-label {
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
  user-select: none;
}

/* Slider wrapper */
.timeline-slider-wrapper {
  position: relative;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
}

/* Track (ligne) */
.timeline-track {
  position: absolute;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

.timeline-track-progress {
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
}

/* Range slider */
.timeline-range-slider {
  position: relative;
  width: 100%;
  height: 40px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  outline: none;
  z-index: 2;
  cursor: pointer;
}

/* Thumb (curseur) - WebKit */
.timeline-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.timeline-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Thumb - Firefox */
.timeline-range-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.timeline-range-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

/* Track - Firefox */
.timeline-range-slider::-moz-range-track {
  background: transparent;
  border: none;
}

/* Description */
.timeline-content {
  width: 100%;
  padding: 0;
}

.timeline-description {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.timeline-description[data-active="true"] {
  display: block;
  opacity: 1;
}

.timeline-year-title {
  font-family: {{ section.settings.year_title_font }};
  font-size: {{ section.settings.year_title_size }}px;
  font-weight: 700;
  color: {{ section.settings.year_title_color }};
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.timeline-text {
  font-family: {{ section.settings.text_font }};
  font-size: {{ section.settings.text_size }}px;
  line-height: 1.75;
  color: {{ section.settings.text_color }};
}

.timeline-text p {
  margin-bottom: 1rem;
}

.timeline-text p:last-child {
  margin-bottom: 0;
}

/* Mobile */
@media screen and (max-width: 749px) {
  .timeline-image-container {
    aspect-ratio: 4 / 3;
    margin-bottom: 2rem;
  }

  .timeline-slider-container {
    margin-bottom: 2rem;
  }

  .timeline-years-labels {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
  }

  .timeline-year-title {
    font-size: calc({{ section.settings.year_title_size }}px * 0.6);
    margin-bottom: 1rem;
  }

  .timeline-text {
    font-size: calc({{ section.settings.text_size }}px * 0.9);
    line-height: 1.65;
  }
}

/* Desktop */
@media screen and (min-width: 750px) {
  .timeline-image-container {
    margin-bottom: 3.5rem;
  }

  .timeline-slider-container {
    margin-bottom: 4rem;
  }

  .timeline-years-labels {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .timeline-year-label {
    font-size: 1rem;
  }
}

/* Large Desktop */
@media screen and (min-width: 990px) {
  .timeline-image-container {
    margin-bottom: 4rem;
  }

  .timeline-slider-container {
    margin-bottom: 4.5rem;
  }

  .timeline-years-labels {
    font-size: 1.0625rem;
  }
}
