
/* X WEATHER - HERO CINEMATOGRAFICO V3 */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #071923 !important;
}

.hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: -6%;
    background-image:
      linear-gradient(
        90deg,
        rgba(4,16,25,.96) 0%,
        rgba(4,16,25,.86) 34%,
        rgba(4,16,25,.30) 72%,
        rgba(4,16,25,.10) 100%
      ),
      url("/assets/terra-xweather.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    animation: xw-orbita 22s ease-in-out infinite alternate;
    will-change: transform;
}

.hero::after {
    opacity: .12 !important;
    z-index: -1;
}

.hero .wrap {
    position: relative;
    z-index: 1;
}

@keyframes xw-orbita {
    from {
        transform: scale(1) translate3d(-1%,0,0);
    }
    to {
        transform: scale(1.12) translate3d(1%, -1%, 0);
    }
}

@media (max-width: 768px) {
    .hero::before {
        background-position: 62% center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero::before {
        animation: none;
        transform: none;
    }
}


/* V3.1 - Remover elemento orbital antigo */
.hero .orb {
    display: none !important;
}
