/* ============================================
   SISTEMA DE TRAVESSIA DE IMAGENS
   ============================================ */

   .floating-background-images {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.floating-img {
    position: absolute;
    opacity: 0.15;
    filter: blur(0px); /* Nítido como solicitado */
    will-change: transform;
}

/* IMAGEM 1: Atravessa horizontalmente (Esquerda para Direita) */
.floating-img-1 {
    width: 300px;
    top: 15%;
    left: -350px; /* Começa totalmente escondida à esquerda */
    animation: atravessar-horizontal 40s linear infinite;
}

/* IMAGEM 2: Atravessa diagonalmente (Baixo para Cima/Esquerda) */
.floating-img-2 {
    width: 250px;
    bottom: -300px; /* Começa totalmente escondida embaixo */
    right: 10%;
    animation: atravessar-diagonal 55s linear infinite;
}

/* IMAGEM 3: Atravessa verticalmente (Cima para Baixo) */
.floating-img-3 {
    width: 200px;
    top: -250px; /* Começa totalmente escondida no topo */
    left: 40%;
    animation: atravessar-vertical 45s linear infinite;
}

/* --- KEYFRAMES DE TRAVESSIA REAL --- */

@keyframes atravessar-horizontal {
    0% {
        transform: translateX(0) rotate(0deg);
    }
    100% {
        /* Move a largura total da tela + o tamanho da imagem */
        transform: translateX(calc(100vw + 400px)) rotate(360deg);
    }
}

@keyframes atravessar-diagonal {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        /* Sobe e vai para a esquerda */
        transform: translate(-100vw, -120vh) rotate(-180deg);
    }
}

@keyframes atravessar-vertical {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        /* Desce a tela inteira */
        transform: translateY(calc(100vh + 300px)) rotate(180deg);
    }
}

/* Ajuste Mobile para não carregar demais o processador */
@media (max-width: 768px) {
    .floating-img {
        width: 150px !important;
        opacity: 0.08;
    }
}

