/**
 * Vandeto — Smooth Scroll : styles minimaux.
 * On ne force jamais de scroll-behavior global ici (le JS gère le desktop,
 * le natif gère le mobile). On se contente d'un polish discret.
 */

/* Momentum natif préservé sur mobile (legacy iOS, inoffensif ailleurs). */
html {
  -webkit-overflow-scrolling: touch;
}

/* Scrollbar sobre aux couleurs Vandeto, uniquement sur pointeur fin (desktop).
   On ne touche pas à la barre tactile mobile. */
@media (hover: hover) and (pointer: fine) {
  .vdt-smooth-scroll-enabled {
    scrollbar-width: thin;
    scrollbar-color: #ffc220 transparent;
  }
  .vdt-smooth-scroll-enabled::-webkit-scrollbar {
    width: 10px;
  }
  .vdt-smooth-scroll-enabled::-webkit-scrollbar-track {
    background: transparent;
  }
  .vdt-smooth-scroll-enabled::-webkit-scrollbar-thumb {
    background-color: rgba(255, 194, 32, 0.55);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
  }
  .vdt-smooth-scroll-enabled::-webkit-scrollbar-thumb:hover {
    background-color: #ffc220;
  }
}

/* Accessibilité : si l'utilisateur a demandé moins d'animation, on retombe
   sur un défilement instantané/natif, sans aucune interpolation. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}
