/* POLICES */.defaultPolice {
  font-family: quicksand, sans-serif;
  font-style: normal;
  font-weight: 300;
}
/* ââ Slider wrapper ââ */
.slider-wrapper {
  width: 100%;
  max-width: 1200px;
  position: relative;
}
.slider-label {
  font-family: quicksand, sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.slider-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--muted);
  opacity: 0.3;
}
.direction-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #000;
  font-family: quicksand, sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  padding: 3px 10px;
  border-radius: 2px;
}
/* ââ Slider core ââ */
.slider {
  width: 100%;
  height: var(--h);
  overflow: hidden;
  position: relative;
  border-radius: 4px;
  background: var(--surface);
  /* Fade edges */

  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000000 6%, #000000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000000 6%, #000000 94%, transparent 100%);
  margin: 30px 0;
}
.slider-track {
  display: flex;
  height: 100%;
  will-change: transform;
  /* No transition â driven by JS requestAnimationFrame */

}
.slide {
  flex-shrink: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin: 0 6px;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  user-select: none;
}
.slide:hover img {
  transform: scale(1.04);
}
/* Caption overlay */
.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
  font-family: quicksand, sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: #fff;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
}
.slide:hover .slide-caption {
  opacity: 1;
  transform: translateY(0);
}
.slide-caption-text {
  flex: 1;
}
.slide-caption-text aside {
  font-size: 10px;
}
.slide-caption-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
  display: none;
}
.slide-caption:hover .slide-caption-icon {
  transform: scale(1.15) rotate(-10deg);
  background: #fff;
}
.slide-caption-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #000;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Cursor pointer sur la slide entiÃ¨re si elle a un lien */
.slide.has-link {
  cursor: pointer;
}
/* ââ Controls ââ */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  gap: 12px;
  flex-wrap: wrap;
}
@media screen and (max-width: 640px) {
  .slide {
    width: 200px !important;
  }
}
