/* NOVARE v49 — Motion safety layer
   Mobile and reduced-motion safeguards. Header/footer and custom heroes keep their own behaviour. */

html {
  scroll-behavior: auto !important;
}

.animation-disabled,
.animation-disabled::before,
.animation-disabled::after {
  animation: none !important;
  transition: none !important;
}

body:not(.novare-motion-enabled) :where(.reveal, .reveal-ready, .reveal-in, .about-reveal, .is-visible, .in-view, [data-reveal], [data-animate]) {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* Grille des pôles volontairement statique. */
.poles-cards-static,
.poles-cards-static .pole-card,
.poles-cards-static .pole-card::before,
.poles-cards-static .pole-card::after,
.poles-cards-static .pole-card * {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  will-change: auto !important;
}

.poles-cards-static .pole-card:hover,
.poles-cards-static .pole-card:hover::before,
.poles-cards-static .pole-card:hover::after {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  filter: none !important;
}

@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  body :where(main, main *, [data-reveal], [data-animate], [data-novare-motion-scene]) {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
    will-change: auto !important;
  }

  [data-novare-depth-canvas="true"] {
    display: none !important;
  }
}
