:root {
    --splash-tempo-enchimento: 2000ms;
}

#za-splash-screen {
    position: fixed;
    inset: 0;
    background-color: #ffffff;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}

#za-splash-screen.oculto {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.za-splash-logo-container {
    position: relative;
    width: 65vw;
    max-width: 280px;
    animation: flutuarLogo 3s ease-in-out infinite;
    animation-delay: var(--splash-tempo-enchimento);
}

.za-logo-camada {
    width: 100%;
    height: auto;
    display: block;
}

.za-logo-base {
    filter: grayscale(100%) opacity(0.15);
}

.za-logo-colorida {
    position: absolute;
    top: 0;
    left: 0;
    clip-path: inset(100% 0 0 0);
    animation: encherAgua var(--splash-tempo-enchimento) cubic-bezier(0.45, 0.05, 0.55, 0.95) forwards;
}

@keyframes encherAgua {

    0%,
    15% {
        clip-path: inset(100% 0 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes flutuarLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}