/* Layout — login plataforma */

.l-plataforma-auth {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
}

.l-plataforma-auth::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: pan-grid 22s linear infinite;
    pointer-events: none;
}

@keyframes pan-grid {
    to { background-position: 48px 48px; }
}

.l-plataforma-auth__orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    animation: float-orb 9s ease-in-out infinite;
}

.l-plataforma-auth__orb.is-one {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, transparent 70%);
    top: -160px;
    left: -160px;
}

.l-plataforma-auth__orb.is-two {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.13) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(18px, -18px); }
}

.c-plataforma-auth-card {
    position: relative;
    z-index: 10;
    background: var(--surf);
    border: 1px solid var(--bdr);
    border-radius: 28px;
    padding: 3rem 3.5rem;
    max-width: 440px;
    width: 90%;
    backdrop-filter: blur(24px);
    box-shadow:
        0 0 0 1px rgba(16, 185, 129, 0.08),
        0 30px 60px -12px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 rgba(16, 185, 129, 0.12);
    animation: card-in 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes card-in {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
