/* Two composited text layers over one original PNG. No video or canvas. */
@font-face {
    font-family: "Pix Display Local";
    src: url("/arquivos/fonts/inter-latin-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

.hero-banner--kinetic .hero-track { container-type: inline-size; }
.pix-motion {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
    contain: paint;
}
.pix-motion__phrase {
    position: absolute;
    inset: auto 0 max(40px, 17%);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .16em;
    white-space: nowrap;
    color: #f4f4f4;
    font-family: "Pix Display Local", Arial, sans-serif;
    font-weight: 700;
    /* Measured fallback for WebViews without container units: use banner, not screen width. */
    font-size: calc(var(--pix-banner-width, 100vw) * .202);
    font-size: 20.2cqw;
    line-height: 1.05;
    letter-spacing: -.07em;
    -webkit-font-smoothing: antialiased;
}
.pix-motion__phrase--instant {
    inset-block-end: max(40px, 23%);
    font-size: calc(var(--pix-banner-width, 100vw) * .144);
    font-size: 14.4cqw;
    gap: .22em;
    transform: scaleX(1.05);
    visibility: hidden;
}
.pix-motion__word {
    display: inline-block;
    text-shadow: 0 .025em .05em #06223b30;
    transform-origin: 50% 85%;
}
.pix-motion__word--gold {
    color: #ffc400;
    text-shadow: 0 .025em .05em #06223b30;
}
.hero-banner--kinetic[data-motion-ready] .is-active .pix-motion__phrase--instant { visibility: visible; }
.hero-banner--kinetic[data-motion-ready] .is-active .pix-motion__word {
    animation: pix-type-drop 6s linear 1 both;
    animation-delay: var(--pix-delay, 0s);
    will-change: transform, opacity;
}
.pix-motion__phrase--secure .pix-motion__word:nth-child(2) { --pix-delay: .10s; }
/* One phrase pair per slide: the last word settles at 4s, then 1.2s to read. */
.pix-motion__phrase--instant .pix-motion__word { --pix-delay: 3s; }
.pix-motion__phrase--instant .pix-motion__word:nth-child(2) { --pix-delay: 3.08s; }
.pix-motion__phrase--instant .pix-motion__word:nth-child(3) { --pix-delay: 3.16s; }
.hero-banner--kinetic[data-motion-ready][data-motion-paused="true"] .is-active .pix-motion__word { animation-play-state: paused; }
@keyframes pix-type-drop {
    0% { opacity: 0; transform: translate3d(0, -280%, 0) rotate(-5deg) scale(.97); animation-timing-function: cubic-bezier(.42, 0, .76, .64); }
    3% { opacity: 1; }
    8% { opacity: 1; transform: translate3d(0, 6%, 0) rotate(.7deg) scale(1.012, .97); animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
    11% { transform: translate3d(0, -2%, 0) rotate(-.2deg) scale(1); animation-timing-function: ease-out; }
    14%, 40% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0) scale(1); animation-timing-function: cubic-bezier(.5, 0, .8, .4); }
    47%, 100% { opacity: 0; transform: translate3d(0, 110%, 0) rotate(2deg) scale(.98); }
}

/* The whole left/right halves are tap targets, with no visible chrome. */
.hero-banner--kinetic .hero-tap-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    width: 50%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}
.hero-tap-zone--previous { left: 0; }
.hero-tap-zone--next { right: 0; }
.hero-banner--kinetic .hero-tap-zone:hover,
.hero-banner--kinetic .hero-tap-zone:active {
    background: transparent;
    box-shadow: none;
    transform: none;
}
.hero-banner--kinetic .hero-tap-zone:focus-visible { outline: 2px solid #fff; outline-offset: -5px; }
.hero-keyboard-help {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
    .hero-banner--kinetic[data-motion-ready] .is-active .pix-motion__word { animation: none; will-change: auto; }
    .hero-banner--kinetic[data-motion-ready] .is-active .pix-motion__phrase--instant { visibility: hidden; }
    .hero-banner--kinetic .hero-slide { transition: none; }
}
