#owl-home-top:has(.dpsg-slider) {
  margin: 0;
  padding: 0;
}

.dpsg-slider {
  position: relative;
  background: #0a0a3a;
  color: #fff;
}

.dpsg-slider__stage {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: #0a0a3a;
}

.dpsg-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.8s ease;
}

.dpsg-slider__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.dpsg-slider__picture,
.dpsg-slider__picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dpsg-slider__shade {
  position: absolute;
  inset: 0;
  /* Dégradé gauche → droite : opacité de départ, puis jusqu’où l’ombre s’étend.
     1er chiffre = force à gauche (0 = invisible, 1 = noir opaque).
     Les % = distance depuis le bord gauche avant que l’ombre disparaisse. */
  background:
    linear-gradient(90deg, rgba(0, 0, 36, 0.32) 0%, rgba(0, 0, 36, 0.28) 22%, rgba(0, 0, 36, 0) 46%),
    linear-gradient(0deg, rgba(0, 0, 36, 0.2) 0%, rgba(0, 0, 36, 0) 35%);
}

.dpsg-slider__copy {
  position: absolute;
  left: 3.33vw;
  /* top plus grand = bloc titre + bouton plus bas. bottom compense le dock des vignettes. */
  top: 150px;
  bottom: 12px;
  width: min(580px, calc(100% - 80px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  z-index: 2;
  visibility: hidden;
  pointer-events: none;
  transition: none;
}

.dpsg-slider__copy.is-active {
  visibility: visible;
  pointer-events: auto;
}

.dpsg-slider__eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f1ab11;
}

.dpsg-slider h1.dpsg-slider__seo {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dpsg-slider__title {
  margin: 0;
  font-size: 56px;
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.dpsg-slider__text {
  margin: 0;
  max-width: 500px;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.dpsg-slider a.dpsg-slider__cta {
  transition: none;
}

.dpsg-slider__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  background: #f1ab11;
  color: #000024;
  padding: 16px 26px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.dpsg-slider__cta:hover,
.dpsg-slider__cta:focus {
  color: #000024;
  background: #ffc043;
  text-decoration: none;
}

.dpsg-slider__dock {
  position: absolute;
  right: 3.33vw;
  top: calc(560px - 32px);
  transform: translateY(-100%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  max-width: calc(100% - 6.66vw);
}

.dpsg-slider__counter {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.dpsg-slider__counter-label {
  color: #f1ab11;
}

.dpsg-slider__thumbs {
  display: flex;
  gap: 12px;
}

.dpsg-slider__thumb {
  width: 150px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  cursor: pointer;
}

.dpsg-slider__thumb.is-active {
  color: #fff;
}

.dpsg-slider__thumb-visual {
  display: block;
  width: 150px;
  height: 86px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: #14144a center / cover no-repeat;
}

.dpsg-slider__thumb.is-active .dpsg-slider__thumb-visual {
  border-color: #f1ab11;
}

.dpsg-slider__thumb-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.dpsg-reassurance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  color: #000024;
}

.dpsg-reassurance__item {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 20px 3.33vw;
  border-right: 1px solid rgba(0, 0, 36, 0.15);
}

.dpsg-reassurance__item:last-child {
  border-right: 0;
}

.dpsg-reassurance__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #000024;
  color: #fff;
}

.dpsg-reassurance__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dpsg-reassurance__title,
.dpsg-reassurance__stars {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.dpsg-reassurance__stars {
  font-size: 15px;
  letter-spacing: 1px;
}

.dpsg-reassurance__stars-note {
  display: none;
  letter-spacing: 0;
}

.dpsg-reassurance__detail {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.dpsg-reassurance__phone {
  color: inherit;
  text-decoration: none;
}

.dpsg-reassurance__phone:hover {
  text-decoration: underline;
}

.dpsg-reassurance__score {
  flex: none;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.dpsg-reassurance__score span {
  font-size: 15px;
}

@media (min-width: 992px) {
  .dpsg-slider {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    height: calc(100vh - var(--dpsg-slider-offset, 122px));
    height: calc(100dvh - var(--dpsg-slider-offset, 122px));
  }

  .dpsg-slider__stage {
    grid-area: 1 / 1;
    height: 100%;
    min-height: 0;
  }

  .dpsg-reassurance {
    grid-area: 2 / 1;
  }

  .dpsg-slider__dock {
    grid-area: 1 / 1;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    align-self: end;
    justify-self: end;
    margin: 0 3.33vw 32px 0;
    z-index: 3;
  }

  /* Le dock est posé sur la photo : le fond du slide change, le texte reste lisible. */
  .dpsg-slider__counter {
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 36, 0.78);
    color: #fff;
  }

  .dpsg-slider__thumb,
  .dpsg-slider__thumb.is-active {
    color: #fff;
  }

  .dpsg-slider__thumb-label {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    padding: 3px 7px;
    border-radius: 6px;
    background: rgba(0, 0, 36, 0.78);
    color: rgba(255, 255, 255, 0.88);
  }

  .dpsg-slider__thumb.is-active .dpsg-slider__thumb-label {
    color: #fff;
  }
}

@media (max-width: 991.98px) {
  .dpsg-slider__stage {
    height: 460px;
  }

  .dpsg-slider__shade {
    background: linear-gradient(180deg, rgba(0, 0, 36, 0.1) 0%, rgba(0, 0, 36, 0.55) 40%, rgba(0, 0, 36, 0.95) 80%);
  }

  .dpsg-slider__copy {
    left: 20px;
    right: 20px;
    top: auto;
    bottom: 22px;
    width: auto;
    justify-content: flex-end;
    gap: 14px;
  }

  .dpsg-slider__eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .dpsg-slider__title {
    font-size: 32px;
    line-height: 1.04;
  }

  .dpsg-slider__text {
    font-size: 15px;
    line-height: 1.45;
  }

  .dpsg-slider__cta {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 15px 18px;
    font-size: 14px;
  }

  .dpsg-slider__dock {
    position: static;
    transform: none;
    align-items: stretch;
    max-width: none;
    padding: 14px 16px 16px;
    background: #0a0a33;
  }

  .dpsg-slider__thumbs {
    gap: 10px;
    overflow-x: auto;
  }

  .dpsg-slider__thumb,
  .dpsg-slider__thumb-visual {
    width: 112px;
    flex: none;
  }

  .dpsg-slider__thumb {
    gap: 6px;
  }

  .dpsg-slider__thumb-visual {
    height: 64px;
    border-radius: 8px;
  }

  .dpsg-slider__thumb-label {
    font-size: 12px;
  }

  .dpsg-reassurance {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 18px;
  }

  .dpsg-reassurance__item {
    gap: 12px;
    padding: 0;
    border-right: 0;
  }

  .dpsg-reassurance__icon {
    width: 36px;
    height: 36px;
  }

  .dpsg-reassurance__icon svg {
    width: 18px;
    height: 18px;
  }

  .dpsg-reassurance__title {
    font-size: 14px;
  }

  .dpsg-reassurance__detail {
    font-size: 12px;
  }

  .dpsg-reassurance__score {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
  }

  .dpsg-reassurance__score span {
    display: none;
  }

  .dpsg-reassurance__stars-note {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dpsg-slider__slide {
    transition: none;
  }
}
