/* ============================================================
   Découvrir Taulignan — diaporama mosaïque (photos verticales)
   ============================================================ */
.tlg-dec {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}
.tlg-dec * { box-sizing: border-box; }

.tlg-dec-viewport {
  overflow: hidden;
  border-radius: 16px;
}

.tlg-dec-track {
  display: flex;
  gap: 18px;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

/* Carte : par défaut 3 visibles sur ordinateur */
.tlg-dec-card {
  position: relative;
  flex: 0 0 calc((100% - 36px) / 3);
  border-radius: 16px;
  overflow: hidden;
  background: #2a1016;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
}

/* Photo recadrée en vertical (format portrait 3:4) */
.tlg-dec-media {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
}

/* Encart texte flouté par-dessus la photo */
.tlg-dec-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(61, 6, 25, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}
.tlg-dec-titre {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}
.tlg-dec-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

/* Flèches */
.tlg-dec-prev,
.tlg-dec-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #a60a46;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transition: background 0.15s, transform 0.15s;
}
.tlg-dec-prev:hover,
.tlg-dec-next:hover { background: #fff; }
.tlg-dec-prev { left: 4px; }
.tlg-dec-next { right: 4px; }

/* Pastilles */
.tlg-dec-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.tlg-dec-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(166, 10, 70, 0.3);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, transform 0.15s;
}
.tlg-dec-dot.is-active {
  background: #a60a46;
  transform: scale(1.3);
}

/* ── Tablette : 2 photos visibles ── */
@media (max-width: 999px) {
  .tlg-dec-card { flex: 0 0 calc((100% - 18px) / 2); }
}

/* ── Mobile : 1 photo visible ── */
@media (max-width: 639px) {
  .tlg-dec { padding: 0 1rem; }
  .tlg-dec-card { flex: 0 0 100%; }
  .tlg-dec-titre { font-size: 18px; }
  .tlg-dec-prev, .tlg-dec-next { width: 38px; height: 38px; }
}

/* Carte cliquable (lien vers une page) */
a.tlg-dec-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
a.tlg-dec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  text-decoration: none;
}
.tlg-dec-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
