/* Scroll reveal: visible by default if JavaScript is unavailable. */
.ph-reveal { --reveal-delay: 0ms; }
@media (prefers-reduced-motion: no-preference) {
  .ph-reveal.ph-pending:not(:focus-within) { opacity: 0; translate: 0 24px; }
  .ph-reveal { transition: opacity .65s ease, translate .65s cubic-bezier(.22,1,.36,1); transition-delay: var(--reveal-delay); }
}
.ph-scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 1040; pointer-events: none; background: var(--primary, #ef4050); transform: scaleX(0); transform-origin: left; }
.ph-back-top { position: fixed; right: 22px; bottom: 22px; z-index: 1030; width: 44px; height: 44px; border: 1px solid var(--hero-border, #333); border-radius: 10px; background: var(--hero-surface, #191919); color: var(--hero-title, #fff); font-size: 22px; }
.ph-back-top:hover { color: var(--primary, #ef4050); }
.ph-back-top[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .ph-reveal { opacity: 1 !important; translate: none !important; transition: none !important; } }

/* Scrollbars */
html { scrollbar-width: auto; scrollbar-color: auto; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #111111; }
::-webkit-scrollbar-thumb { background: #353535; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
::-webkit-scrollbar-button { display: none; }
::-webkit-scrollbar-corner { background: transparent; }

/* Shorts: rolagem contínua, sem snap que interrompa a roda do mouse */
.short-strip.horizontal-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: none;
    scroll-behavior: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: auto;
    scrollbar-color: auto;
    padding-bottom: 16px;
}
.horizontal-scroll::-webkit-scrollbar { height: 5px; }
.horizontal-scroll::-webkit-scrollbar-track { background: transparent; }
.horizontal-scroll:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
@supports not selector(::-webkit-scrollbar) {
    html { scrollbar-width: thin; scrollbar-color: #353535 #111111; }
    .short-strip.horizontal-scroll { scrollbar-width: thin; scrollbar-color: #353535 transparent; }
}
