/* Accueil uniquement : l'aperçu PC est conservé au-dessus de 900 px. */
.mobile-showcase { display: none; }

@media (max-width: 900px) {
  .page-home .showcase { display: none; }
  .page-home .hero {
    background: #101112;
    padding-bottom: 24px;
  }
  .page-home .mobile-showcase {
    display: block;
    margin-top: 40px;
  }
  .mobile-showcase-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border: 1px solid #ff79004d;
    border-radius: 18px;
    background: #191b1d;
  }
  .mobile-showcase-track::-webkit-scrollbar { display: none; }
  .mobile-showcase-track:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
  .mobile-showcase-card {
    box-sizing: border-box;
    flex: 0 0 100%;
    min-width: 0;
    min-height: 280px;
    padding: 24px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    color: #fff;
    text-align: left;
  }
  .mobile-showcase-card h2 {
    margin: 12px 0 16px;
    font-family: Georgia, serif;
    font-size: clamp(25px, 5.5vw, 34px);
    line-height: 1.14;
    font-weight: 400;
    letter-spacing: -.5px;
  }
  .mobile-showcase-card p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.55;
  }
  .mobile-showcase-card span,
  .mobile-showcase-card a,
  .mobile-showcase-card .mobile-showcase-kicker,
  .mobile-showcase-card .mobile-showcase-signature { color: var(--orange); }
  .mobile-showcase-card .mobile-showcase-kicker { font-size: 12px; margin: 0; }
  .mobile-showcase-card .mobile-showcase-signature { font-size: 12px; margin-top: 20px; }
  .mobile-showcase-welcome {
    display: grid;
    grid-template-columns: 46% minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 20px 16px;
  }
  .mobile-showcase-welcome img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
  }
  .mobile-showcase-welcome h2 { font-size: clamp(25px, 5.5vw, 34px); }
  .mobile-showcase-welcome h2 span { display: block; }
  .mobile-showcase-welcome a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 5px;
  }
  .mobile-showcase-controls { display: flex; justify-content: center; gap: 2px; margin-top: 8px; }
  .mobile-showcase-controls[hidden] { display: none; }
  .mobile-showcase-controls button {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border: 0; padding: 0; background: transparent; cursor: pointer;
  }
  .mobile-showcase-controls button::after {
    content: '';
    width: 7px; height: 7px;
    border: 1px solid var(--orange); border-radius: 50%;
  }
  .mobile-showcase-controls button[aria-current]::after { background: var(--orange); }
  .mobile-showcase .mobile-showcase-hint {
    margin: 0; color: #fff; text-align: center; font-size: 11px;
  }
}
