/* ============================================
   SPLASH.CSS - Tela de Splash
   Responsivo e proporcional (max 6.9")
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: radial-gradient(circle at 50% 50%, #e0f7fa 0%, #f3e5f5 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

#logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: clamp(30px, 10vw, 50px);
    border-radius: clamp(25px, 8vw, 40px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

#m-wrapper {
    width: clamp(80px, 22vw, 140px);
    height: clamp(80px, 22vw, 140px);
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    box-shadow:
        15px 15px 30px rgba(163, 177, 198, 0.2),
        -15px -15px 30px rgba(255, 255, 255, 0.9);
    border-radius: clamp(20px, 6vw, 35px);
    margin-bottom: clamp(15px, 4vw, 25px);
    animation: float 4s ease-in-out infinite;
}

#logo-m {
    font-size: clamp(3rem, 14vw, 6rem);
    font-weight: 700;
    background: -webkit-linear-gradient(45deg, var(--primary, #00C9A7), var(--accent, #845EC2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#logo-matos {
    font-size: clamp(0.65rem, 3vw, 1rem);
    font-weight: 500;
    color: var(--text-medium, #6B7280);
    letter-spacing: clamp(8px, 3vw, 12px);
    text-transform: uppercase;
    margin: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ============================================
   RESPONSIVIDADE
============================================ */
@media (max-height: 500px) {
    #logo-container {
        padding: clamp(20px, 6vw, 35px);
    }

    #m-wrapper {
        width: clamp(60px, 18vw, 100px);
        height: clamp(60px, 18vw, 100px);
        margin-bottom: clamp(10px, 3vw, 18px);
    }

    #logo-m {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
}

@media (orientation: landscape) and (max-height: 450px) {
    #logo-container {
        flex-direction: row;
        gap: var(--space-lg, 20px);
        padding: clamp(15px, 4vw, 25px) clamp(25px, 6vw, 40px);
    }

    #m-wrapper {
        margin-bottom: 0;
    }

    #logo-matos {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        letter-spacing: 6px;
    }
}
