/* Splash in-app (browser / carregamento inicial) */
.app-splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: linear-gradient(180deg, #45B0F0 0%, #3DAAEB 45%, #2E96D6 100%);
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.app-splash.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.app-splash__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-shrink: 0;
    padding: 24px;
    overflow: visible;
}

.app-splash__logo {
    display: block;
    width: clamp(100px, 30vw, 140px);
    height: clamp(100px, 30vw, 140px);
    flex-shrink: 0;
    object-fit: contain;
    object-position: center;
    overflow: visible;
    filter:
        drop-shadow(0 12px 28px rgba(0, 0, 0, 0.22))
        drop-shadow(0 0 20px rgba(255, 255, 255, 0.12));
}

.app-splash__name {
    margin: 0;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(22px, 6vw, 28px);
    font-weight: 800;
    letter-spacing: 2.5px;
}

.app-splash__loader {
    width: 36px;
    height: 36px;
    margin-top: 8px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: app-splash-spin 0.85s linear infinite;
}

@keyframes app-splash-spin {
    to { transform: rotate(360deg); }
}
