/* =========================================
   DOTS (Landmarks)
========================================= */

.carousel-dots {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  display: flex;
  justify-content: space-between;
  z-index: 9998; /* sous le preloader, au-dessus du reste */
  padding: 12px 15px;
  pointer-events: none; /* container non interactif */
  transition: opacity 0.2s ease;
}

.carousel-dot {
  flex: 1;
  height: 1.5px;
  border: none;
  background: var(--muted-color, rgba(255,255,255,0.35));
  cursor: pointer;
  transition: background 0.3s ease;
  padding: 0;
  margin: 0 2px 0 0;
  pointer-events: auto; /* mais le bouton reste cliquable */
}

.carousel-dot:last-child {
  margin-right: 0;
}

.carousel-dot.is-active {
  background: var(--text-color, white);
}

/* =======================
      MOBILE
======================= */
@media (max-width: 768px) {
  .carousel-dots {
    padding: 10px 10px;
  }

  .carousel-dot {
    height: 2px;
    margin-right: 1px;
  }

  /* Hide landmarks when caption is open */
  body:has(.caption-panel.is-open) .carousel-dots {
    opacity: 0;
    pointer-events: none;
  }
}