/* Portal de entrada (home off) — visual operacional CriaSys */
.portal-body {
    margin: 0;
    min-height: 100vh;
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
    color: #e8eef6;
    background: #0b1016;
    position: relative;
}

.portal-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(900px 500px at 12% -10%, rgba(45, 212, 168, 0.18), transparent 55%),
        radial-gradient(700px 420px at 90% 10%, rgba(109, 59, 245, 0.16), transparent 50%),
        linear-gradient(160deg, #0b1016 0%, #121820 45%, #0f1419 100%);
    pointer-events: none;
    z-index: 0;
}

.portal-shell {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
    padding: 3.5rem 1.25rem 3rem;
}

.portal-brand {
    margin-bottom: 2rem;
}

.portal-eyebrow {
    margin: 0 0 0.55rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2dd4a8;
    font-weight: 600;
}

.portal-brand h1 {
    margin: 0 0 0.65rem;
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f4f7fb;
}

.portal-lead {
    margin: 0;
    max-width: 38rem;
    color: #8b9bb0;
    line-height: 1.55;
    font-size: 1.02rem;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.75rem 0 2rem;
}

.portal-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.35rem 1.25rem 1.2rem;
    border-radius: 16px;
    border: 1px solid #273142;
    background: rgba(22, 29, 39, 0.92);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.portal-card:hover {
    border-color: #3d4f66;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.portal-card-accent {
    border-color: rgba(45, 212, 168, 0.35);
    background: linear-gradient(160deg, rgba(45, 212, 168, 0.1), rgba(22, 29, 39, 0.95));
}

.portal-card-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8b9bb0;
    font-weight: 600;
}

.portal-card strong {
    font-size: 1.2rem;
    color: #f4f7fb;
}

.portal-card p {
    margin: 0;
    color: #8b9bb0;
    font-size: 0.92rem;
    line-height: 1.45;
    flex: 1;
}

.portal-card-cta {
    margin-top: 0.6rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #2dd4a8;
}

.portal-alert {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(240, 113, 120, 0.12);
    border: 1px solid rgba(240, 113, 120, 0.35);
    color: #ffc9cc;
    font-size: 0.92rem;
}

.portal-alert-ok {
    background: rgba(45, 212, 168, 0.1);
    border-color: rgba(45, 212, 168, 0.35);
    color: #b6f5df;
}

.portal-foot {
    border-top: 1px solid #273142;
    padding-top: 1.1rem;
    font-size: 0.85rem;
    color: #8b9bb0;
}

.portal-foot p {
    margin: 0 0 0.35rem;
}

.portal-foot strong {
    color: #e8eef6;
    font-weight: 600;
}

.portal-muted {
    color: #6b7c90 !important;
}

.portal-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.85rem;
    margin-top: 0.65rem;
}

.portal-legal-links a {
    color: #8b9bb0;
    font-size: 0.78rem;
}

@media (max-width: 720px) {
    .portal-shell {
        padding-top: 2.25rem;
    }
    .portal-grid {
        grid-template-columns: 1fr;
    }
}
