/* ==========================================================================
   Torinext — vetrina dell'hero (solo homepage)
   Screenshot delle homepage dimostrative (cartella _showcase, script shoot.py)
   ========================================================================== */

.showcase { margin-top: clamp(3rem, 6vw, 4.75rem); display: grid; gap: clamp(16px, 2vw, 28px); }
.showcase-row { overflow: hidden; }
.showcase-track { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; }
.showcase-group { display: flex; gap: clamp(16px, 2vw, 28px); flex: none; }
.showcase-row--offset .showcase-track { margin-left: calc(clamp(270px, 30vw, 460px) / -2); }

.shot {
  flex: none; margin: 0; width: clamp(270px, 30vw, 460px);
  background: #fff; border-radius: 8px 8px 22px 8px; overflow: hidden;
  box-shadow: 0 28px 60px -26px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform .5s var(--ease);
}
.shot:hover { transform: translateY(-6px); }
.shot-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #EEF0F5; border-bottom: 1px solid #E0E3EC; }
.shot-bar i { width: 7px; height: 7px; border-radius: 50%; background: #CDD2DF; }
.shot-bar i:nth-child(1) { background: #FF5F57; } .shot-bar i:nth-child(2) { background: #FEBC2E; } .shot-bar i:nth-child(3) { background: #28C840; }
.shot-bar em { margin: 0 auto; padding: 1px 12px; font-style: normal; font-size: 10.5px; color: #5A6487; background: #fff; border-radius: 4px; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: #1a2350; }

/* ---------- Animazione ---------- */
.showcase-track { animation: showcase 80s linear infinite; }
.showcase-row--offset .showcase-track { animation-direction: reverse; animation-duration: 92s; }
.showcase-row:hover .showcase-track { animation-play-state: paused; }
@keyframes showcase { to { transform: translateX(-50%); } }
.showcase { animation: showcase-in 1.2s .7s var(--ease) both; }
@keyframes showcase-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .showcase-track { animation: none; }
}
