/* Tuiles */
.tuile-container {
  display: flex;
  justify-content: flex-start;  /* ← aligne à gauche pour bien voir tout */
  align-items: flex-end;
  gap: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 !important;
  
  width: 100%;
  box-sizing: border-box;
  scroll-snap-type: x mandatory;
}

.tuile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: none;
  border-radius: 0;
  margin: 0;
  margin-bottom:0;
  box-shadow: none;
  position: relative;
  overflow: visible;
  padding: 0;
  border: none;
  color: white;
  font-size: 18px;
  min-width: 840px;
  width: auto;
  height:500px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.tuile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  border-radius: 10px;
  background: transparent;
}

.tuile .hover-label {
  display: none;
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  text-align: center;
  color: #ffd700;
  font-size: 1.6em;
  font-weight: bold;
  pointer-events: none;
  text-shadow: 2px 2px 4px #000;
  z-index: 13;
}

.tuile:hover .hover-label {
  display: block;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.lampe {
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.lampadaire {
  width: 220px;
  height: auto;
  display: block;
  margin: 0;
}

@media screen and (min-width: 769px) and (max-width: 1600px) and (orientation: portrait) {
  .tuile {
    min-width: 350px;
    max-width: 490px;
    height: 700px;
  }
}

@media (max-width: 768px) {
  .lampadaire {
    width: 100px;
  }
}

/* Barre de scroll personnalisée */
.tuile-container::-webkit-scrollbar {
  height: 8px;
}
.tuile-container::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 10px;
}
.tuile-container::-webkit-scrollbar-thumb {
  background: #D4AF37;
  border-radius: 10px;
}