/* ==========================================================================
   EFEITOS DE DESIGN — Cantos Retos | lp_clinica_mod001
   Técnica aplicada: Scroll Reveal via IntersectionObserver (JS: 01_hm2_scroll_reveal)
   ========================================================================== */

/* --------------------------------------------------------------------------
   SCROLL REVEAL
   Classes adicionadas pelo JS 01_hm2_scroll_reveal.
   Elementos iniciam invisíveis e animam ao entrar no viewport.
   -------------------------------------------------------------------------- */

body:not(.path-admin) .lp-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

body:not(.path-admin) .lp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Títulos de seção: deslizam da esquerda */
body:not(.path-admin) .lp-section__titulo.lp-reveal {
  transform: translateX(-18px);
}

body:not(.path-admin) .lp-section__titulo.lp-reveal.is-visible {
  transform: translateX(0);
}

/* Respeita preferência do sistema por menos movimento */
@media (prefers-reduced-motion: reduce) {
  body:not(.path-admin) .lp-reveal,
  body:not(.path-admin) .lp-section__titulo.lp-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
