﻿/* Container da splash-screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 9999;
    overflow: hidden;
}

    /* Logo com fade + pulse */
    .splash-screen .logo {
        width: 160px;
        height: 160px;
        object-fit: cover;
        border-radius: 50%;
        padding: 10px;
        background: rgba(255,255,255,0.15);
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        opacity: 0;
        animation: fadeIn 1s forwards, pulse 2s infinite 1s;
    }

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Texto animado */
.splash-screen .company-name {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 0.5rem;
    opacity: 0;
    animation: textFadeIn 1.5s forwards 1.2s; /* delay depois da logo */
}

@keyframes textFadeIn {
    to {
        opacity: 1;
    }
}

/* Loader circular suave */
.splash-screen .loader {
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-top: 1.5rem;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}
