/* Unio Jurídico — login (mesmo layout editorial da Unio Saúde) */

.auth-page--juridico {
    --auth-accent: #7a2130;
    --auth-accent-2: #b8892b;
    --auth-glow: rgba(122, 33, 48, 0.22);
}

[data-theme="light"] .auth-page--juridico {
    --auth-glow: rgba(122, 33, 48, 0.12);
}

.auth-page--juridico .auth-main {
    padding: 0 !important;
    gap: 0 !important;
    margin: 0;
    box-sizing: border-box;
}

.auth-page--juridico .auth-brand--story {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 88px 44px 24px 48px;
    justify-content: space-between;
    align-self: stretch;
    height: 100%;
    min-height: 100%;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.auth-page--juridico .auth-brand--story::before {
    display: none;
}

.auth-page--juridico .auth-brand__media,
.auth-page--juridico .auth-brand__photo,
.auth-page--juridico .auth-brand__media-veil {
    border-radius: 0 !important;
}

.auth-page--juridico .auth-brand__photo {
    object-position: 58% 22%;
    transform: scale(1.04);
}

.auth-page--juridico .auth-form-zone {
    padding: 24px 28px 24px 20px;
    background: var(--auth-bg-deep);
}

.auth-page--juridico .auth-brand--story .auth-brand__content,
.auth-page--juridico .auth-brand--story .auth-brand__footer {
    position: relative;
    z-index: 1;
}

.auth-page--juridico .auth-brand--story .auth-brand__content {
    flex: 1;
    max-width: 440px;
    justify-content: space-between;
    gap: 28px;
    min-height: 0;
    padding: 8px 0 12px;
}

.auth-page--juridico .auth-brand--story .auth-brand__logo {
    margin: 0 0 14px;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.3));
}

.auth-page--juridico .auth-brand--story .auth-brand__logo .auth-logo__img,
.auth-page--juridico .auth-brand--story .auth-brand__logo img,
.auth-page--juridico .auth-brand--story .auth-brand__logo object,
.auth-page--juridico .auth-brand--story .auth-brand__logo .platform-asset-svg {
    width: min(220px, 42vw) !important;
    max-width: 220px;
}

.auth-page--juridico .auth-brand--story .auth-brand__eyebrow {
    color: #d9b36c;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.auth-page--juridico .auth-scene__gradient {
    background:
        radial-gradient(ellipse 80% 60% at 15% 20%, rgba(122, 33, 48, 0.2), transparent 55%),
        radial-gradient(ellipse 60% 50% at 85% 75%, rgba(184, 137, 43, 0.12), transparent 50%),
        linear-gradient(145deg, var(--auth-bg-deep) 0%, var(--auth-bg-mid) 48%, var(--auth-bg-deep) 100%);
}

[data-theme="light"] .auth-page--juridico .auth-scene__gradient {
    background:
        radial-gradient(ellipse 70% 55% at 12% 18%, rgba(122, 33, 48, 0.1), transparent 55%),
        radial-gradient(ellipse 55% 45% at 88% 80%, rgba(184, 137, 43, 0.08), transparent 50%),
        linear-gradient(160deg, #f7f4f5 0%, #faf7f8 45%, #f3e9eb 100%);
}

.auth-page--juridico .auth-scene__ecg {
    display: none;
}

/* Véu no mesmo padrão da Unio Saúde: foto legível à direita, texto legível à esquerda */
.auth-page--juridico .auth-brand--story .auth-brand__media-veil {
    background:
        linear-gradient(100deg, rgba(12, 8, 10, 0.82) 0%, rgba(12, 8, 10, 0.48) 48%, rgba(12, 8, 10, 0.12) 100%),
        linear-gradient(180deg, rgba(12, 8, 10, 0.5) 0%, transparent 22%, transparent 48%, rgba(12, 8, 10, 0.84) 100%);
}

[data-theme="light"] .auth-page--juridico .auth-brand--story .auth-brand__media-veil {
    background:
        linear-gradient(100deg, rgba(18, 10, 12, 0.78) 0%, rgba(18, 10, 12, 0.42) 50%, rgba(18, 10, 12, 0.1) 100%),
        linear-gradient(180deg, rgba(18, 10, 12, 0.45) 0%, transparent 24%, transparent 48%, rgba(18, 10, 12, 0.8) 100%);
}

.auth-page--juridico .auth-brand--story .auth-story__kicker {
    color: #d9b36c;
}

.auth-page--juridico .auth-brand--story .auth-story__title,
.auth-page--juridico .auth-brand--story .auth-story__text {
    color: #f8f0f1;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.auth-page--juridico .auth-brand--story .auth-story__dot.is-active {
    background: #c94b5c;
}

.auth-page--juridico .auth-brand--story .auth-brand__footer .platform-legal__item,
.auth-page--juridico .auth-brand--story .auth-brand__footer .platform-support__item {
    color: rgba(248, 240, 241, 0.72);
}

.auth-page--juridico .auth-submit {
    background: linear-gradient(135deg, #9c2c3c, #7a2130);
    border-color: transparent;
}

.auth-page--juridico .auth-submit:hover {
    filter: brightness(1.06);
}

.auth-page--juridico .auth-field__input:focus {
    border-color: rgba(122, 33, 48, 0.5);
    box-shadow: 0 0 0 3px rgba(122, 33, 48, 0.12);
}

.auth-page--juridico .auth-row a {
    color: #9c2c3c;
}

[data-theme="light"] .auth-page--juridico .auth-row a {
    color: #7a2130;
}

@media (max-width: 1024px) {
    .auth-page--juridico .auth-main {
        padding: 0;
        gap: 0;
        overflow: auto;
    }

    .auth-page--juridico .auth-brand--story {
        border-radius: 0 !important;
        min-height: 300px;
        padding: 72px 28px 20px;
    }

    .auth-page--juridico .auth-form-zone {
        padding: 16px 18px 20px;
    }
}

@media (max-width: 720px) {
    .auth-page--juridico .auth-brand {
        display: none;
    }
}
