:root {
    --background: #020b17;
    --background-secondary: #061424;
    --card-background: #ffffff;
    --yellow: #ffb000;
    --yellow-light: #ffc740;
    --yellow-dark: #e89900;
    --text-dark: #07111e;
    --text-muted: #6f7b8c;
    --border: #e2e7ed;
    --danger: #d94b4b;
    --success: #249e67;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

html,
body {
    min-height: 100%;
}

body {
    color: var(--text-dark);
    background: var(--background);
}

button,
input {
    font: inherit;
}

a {
    text-decoration: none;
}

.login-page {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 45px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 12% 15%,
            rgba(255, 176, 0, 0.12),
            transparent 24%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(24, 91, 151, 0.16),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #020914 0%,
            #061424 55%,
            #020b17 100%
        );
}

.login-page::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.2;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 48px 48px;
    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 85%
        );
}

.login-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
}

.login-glow-one {
    top: -100px;
    right: -70px;
    width: 350px;
    height: 350px;
    opacity: 0.18;
    background: var(--yellow);
}

.login-glow-two {
    bottom: -150px;
    left: -100px;
    width: 380px;
    height: 380px;
    opacity: 0.16;
    background: #1464a2;
}

.back-home {
    position: absolute;
    top: 26px;
    left: 34px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #a7b3c3;
    font-size: 13px;
    font-weight: 600;
    transition: 0.25s ease;
}

.back-home i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 11px;
}

.back-home:hover {
    color: #ffffff;
    transform: translateX(-3px);
}

.login-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    width: min(1180px, 100%);
    min-height: 720px;
    overflow: hidden;
    /*background: var(--card-background);
    border: 1px solid rgba(255, 255, 255, 0.08);*/
    border-radius: 32px;
    box-shadow: 0 45px 120px rgba(0, 0, 0, 0.48);
}

/* LADO INSTITUCIONAL */

.login-presentation {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 52px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 85% 12%,
            rgba(255, 176, 0, 0.2),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #06182b 0%,
            #020b17 100%
        );
}

.login-presentation::after {
    content: "";
    position: absolute;
    right: -130px;
    bottom: 40px;
    width: 330px;
    height: 330px;
    border: 70px solid rgba(255, 176, 0, 0.035);
    border-radius: 50%;
}

.presentation-content,
.presentation-footer {
    position: relative;
    z-index: 2;
}

.presentation-logo {
    display: inline-flex;
    margin-bottom: 58px;
}

.presentation-logo img {
    width: auto;
    height: 84px;
    object-fit: contain;
}

.presentation-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin-bottom: 24px;
    padding: 9px 13px;
    color: var(--yellow-light);
    background: rgba(255, 176, 0, 0.08);
    border: 1px solid rgba(255, 176, 0, 0.18);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.login-presentation h1 {
    max-width: 480px;
    margin-bottom: 20px;
    font-size: clamp(40px, 4vw, 58px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -2.7px;
}

.login-presentation h1 span {
    color: var(--yellow);
}

.login-presentation > .presentation-content > p {
    max-width: 500px;
    margin-bottom: 38px;
    color: #a5b2c3;
    font-size: 15px;
    line-height: 1.8;
}

.presentation-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.presentation-benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 16px;
    backdrop-filter: blur(12px);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: var(--yellow);
    background: rgba(255, 176, 0, 0.1);
    border-radius: 13px;
}

.presentation-benefit strong {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.presentation-benefit span {
    display: block;
    color: #93a1b3;
    font-size: 11px;
    line-height: 1.6;
}

.presentation-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 45px;
    color: #6f8094;
    font-size: 10px;
}

/* ÁREA DO FORMULÁRIO */

.login-form-area {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 65px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(255, 176, 0, 0.07),
            transparent 24%
        ),
        #ffffff;
}

.login-form-wrapper {
    width: 100%;
    max-width: 440px;
}

.mobile-logo {
    display: none;
    margin-bottom: 34px;
    text-align: center;
}

.mobile-logo img {
    height: 74px;
    width: auto;
}

.login-heading {
    margin-bottom: 31px;
}

.login-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: #07111e;
    background:
        linear-gradient(
            135deg,
            var(--yellow),
            var(--yellow-light)
        );
    border-radius: 15px;
    box-shadow: 0 12px 28px rgba(255, 176, 0, 0.22);
}

.login-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--yellow-dark);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.login-heading h2 {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 31px;
    font-weight: 800;
    letter-spacing: -1.2px;
}

.login-heading p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.7;
}

.alert-custom {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 21px;
    padding: 13px 15px;
    border-radius: 13px;
    font-size: 12px;
    line-height: 1.5;
}

.alert-custom i {
    margin-top: 2px;
}

.alert-custom strong,
.alert-custom span {
    display: block;
}

.alert-success-custom {
    color: #197b50;
    background: #eefaf5;
    border: 1px solid #cfeee0;
}

.alert-error-custom {
    color: #a33636;
    background: #fff3f3;
    border: 1px solid #f2d1d1;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.form-group-custom {
    width: 100%;
}

.form-group-custom label {
    display: block;
    margin-bottom: 9px;
    color: #202c3a;
    font-size: 12px;
    font-weight: 700;
}

.label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.forgot-password {
    margin-bottom: 9px;
    color: #b87800;
    font-size: 11px;
    font-weight: 700;
    transition: 0.2s ease;
}

.forgot-password:hover {
    color: #865900;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 58px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 15px;
    transition: 0.22s ease;
}

.input-wrapper:focus-within {
    background: #ffffff;
    border-color: var(--yellow);
    box-shadow: 0 0 0 4px rgba(255, 176, 0, 0.1);
}

.input-wrapper.input-error {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px rgba(217, 75, 75, 0.07);
}

.input-icon {
    position: absolute;
    left: 18px;
    color: #98a4b4;
    font-size: 15px;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    height: 100%;
    padding: 0 52px 0 48px;
    color: var(--text-dark);
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    font-weight: 500;
}

.input-wrapper input::placeholder {
    color: #a7b0bd;
    font-weight: 400;
}

.toggle-password {
    position: absolute;
    right: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #8e9aa9;
    background: transparent;
    border: none;
    border-radius: 11px;
    cursor: pointer;
    transition: 0.2s ease;
}

.toggle-password:hover {
    color: var(--text-dark);
    background: #edf1f5;
}

.field-error {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    color: var(--danger);
    font-size: 10px;
    font-weight: 600;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.remember-option {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    margin: 0 !important;
    color: #657183 !important;
    cursor: pointer;
    font-size: 11px !important;
    font-weight: 600 !important;
    user-select: none;
}

.remember-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    color: #07111e;
    background: #ffffff;
    border: 1px solid #cfd6df;
    border-radius: 6px;
    transition: 0.2s ease;
}

.custom-checkbox i {
    opacity: 0;
    font-size: 9px;
    transform: scale(0.5);
    transition: 0.2s ease;
}

.remember-option input:checked + .custom-checkbox {
    background:
        linear-gradient(
            135deg,
            var(--yellow),
            var(--yellow-light)
        );
    border-color: var(--yellow);
}

.remember-option input:checked + .custom-checkbox i {
    opacity: 1;
    transform: scale(1);
}

.login-button {
    position: relative;
    width: 100%;
    height: 58px;
    overflow: hidden;
    color: #07111e;
    background:
        linear-gradient(
            135deg,
            var(--yellow),
            var(--yellow-light)
        );
    border: none;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(255, 176, 0, 0.2);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    transition: 0.25s ease;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(255, 176, 0, 0.3);
}

.login-button:active {
    transform: translateY(0);
}

.button-content,
.button-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
}

.button-loading {
    display: none;
}

.login-button.loading .button-content {
    display: none;
}

.login-button.loading .button-loading {
    display: flex;
}

.login-button:disabled {
    cursor: wait;
    opacity: 0.85;
}

.register-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 27px;
    padding-top: 24px;
    color: #7b8695;
    border-top: 1px solid #edf0f3;
    font-size: 11px;
}

.register-area a {
    color: #ad7100;
    font-weight: 800;
}

.register-area a:hover {
    color: #744d00;
}

.security-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 24px;
    color: #9aa4b2;
    font-size: 9px;
}

.security-message i {
    color: #6f7e8f;
}

/* RESPONSIVIDADE */

@media (max-width: 1050px) {
    .login-page {
        padding: 30px;
    }

    .login-presentation {
        padding: 40px;
    }

    .login-form-area {
        padding: 48px;
    }

    .login-presentation h1 {
        font-size: 44px;
    }
}

@media (max-width: 850px) {
    .login-page {
        align-items: flex-start;
        padding: 30px 20px;
    }

    .back-home {
        position: relative;
        top: auto;
        left: auto;
        align-self: flex-start;
        margin-bottom: 20px;
    }

    .login-page {
        flex-direction: column;
    }

    .login-container {
        display: block;
        min-height: auto;
        border-radius: 26px;
    }

    .login-presentation {
        display: none;
    }

    .login-form-area {
        padding: 55px 40px;
    }

    .mobile-logo {
        display: block;
    }

    .login-heading {
        text-align: center;
    }

    .login-icon {
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 520px) {
    .login-page {
        padding: 20px 13px;
    }

    .back-home {
        margin-left: 5px;
    }

    .back-home span {
        display: none;
    }

    .login-container {
        border-radius: 21px;
    }

    .login-form-area {
        padding: 38px 22px;
    }

    .mobile-logo img {
        height: 65px;
    }

    .login-heading h2 {
        font-size: 26px;
    }

    .login-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .label-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
    }

    .forgot-password {
        order: 2;
    }

    .input-wrapper {
        height: 55px;
    }
}
/* --------------------------------------------------------------------------
   Convite para o teste grátis
   -------------------------------------------------------------------------- */
.login-trial-spotlight {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 18px;
    padding: 13px 14px;
    color: #0b2134;
    text-decoration: none;
    text-align: left;
    background: linear-gradient(135deg, rgba(255, 176, 0, .13), rgba(255, 255, 255, .8));
    border: 1px solid rgba(255, 176, 0, .34);
    border-radius: 16px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.login-trial-spotlight:hover {
    color: #071522;
    transform: translateY(-2px);
    border-color: rgba(255, 176, 0, .68);
    box-shadow: 0 13px 30px rgba(255, 176, 0, .13);
}

.login-trial-spotlight > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    color: #071522;
    background: linear-gradient(145deg, #ffb000, #ffd05a);
}

.login-trial-spotlight > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.login-trial-spotlight small,
.login-trial-spotlight em {
    color: #71849a;
    font-size: 9px;
    font-style: normal;
    line-height: 1.35;
}

.login-trial-spotlight small {
    color: #c98400;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.login-trial-spotlight strong {
    color: #0a2033;
    font-size: 11px;
    line-height: 1.35;
}

.login-trial-spotlight > i {
    color: #d58f00;
    font-size: 12px;
}

@media (max-width: 575.98px) {
    .login-trial-spotlight {
        margin-top: 15px;
        padding: 12px;
    }
}


/* PWA instalado: a navegação deve permanecer dentro do aplicativo. */
@media (display-mode: standalone) {
    .back-home {
        display: none !important;
    }
}

/* ========================================================================== 
   AUTH MOBILE / PWA / NATIVE | VANTAGEM-UI MOBILE LOGIN 1.1.7
   Inspirado na linguagem visual do VanMatch, sem replicar sua composição.
   ========================================================================== */
.auth-mobile-intro,
.auth-marketplace-separator,
.auth-marketplace-button {
    display: none;
}

@keyframes vtAuthMobileEnter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes vtAuthRouteTravel {
    0% {
        transform: translateX(-125%);
        opacity: 0;
    }
    18%, 76% {
        opacity: 1;
    }
    100% {
        transform: translateX(320%);
        opacity: 0;
    }
}

@keyframes vtAuthRoutePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 176, 0, .16);
    }
    50% {
        box-shadow: 0 0 0 9px rgba(255, 176, 0, 0);
    }
}

@keyframes vtAuthAmbient {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: .36;
    }
    50% {
        transform: translate3d(-18px, 12px, 0) scale(1.08);
        opacity: .55;
    }
}

@media (max-width: 850px) {
    html,
    body {
        min-height: 100%;
        background: #020c19;
    }

    body {
        overflow-x: hidden;
    }

    .login-page {
        position: relative;
        display: block;
        min-height: 100vh;
        min-height: 100dvh;
        padding:
            max(18px, env(safe-area-inset-top))
            max(12px, env(safe-area-inset-right))
            max(18px, env(safe-area-inset-bottom))
            max(12px, env(safe-area-inset-left));
        overflow-x: hidden;
        overflow-y: auto;
        background:
            radial-gradient(circle at 88% 7%, rgba(255, 176, 0, .14), transparent 28%),
            radial-gradient(circle at 8% 78%, rgba(45, 111, 171, .16), transparent 32%),
            linear-gradient(160deg, #020914 0%, #061526 50%, #020c19 100%);
    }

    .login-page::before {
        opacity: .36;
        background-size: 34px 34px;
        mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .75) 72%, transparent 100%);
    }

    .login-page::after {
        content: "";
        position: fixed;
        z-index: 0;
        top: -80px;
        right: -120px;
        width: 300px;
        height: 300px;
        pointer-events: none;
        border: 52px solid rgba(255, 176, 0, .035);
        border-radius: 50%;
        animation: vtAuthAmbient 7s ease-in-out infinite;
    }

    .login-glow-one {
        top: -90px;
        right: -120px;
        width: 290px;
        height: 290px;
        filter: blur(82px);
    }

    .login-glow-two {
        bottom: 3%;
        left: -150px;
        width: 300px;
        height: 300px;
        filter: blur(86px);
    }

    .back-home,
    .login-presentation,
    .mobile-logo {
        display: none !important;
    }

    .login-container {
        z-index: 2;
        display: block;
        width: min(100%, 500px);
        min-height: 0;
        margin: 0 auto;
        overflow: visible;
        border-radius: 0;
        box-shadow: none;
    }

    .login-form-area {
        display: block;
        padding: 0;
        background: transparent;
    }

    .login-form-wrapper {
        position: relative;
        width: 100%;
        max-width: none;
        padding: clamp(18px, 5vw, 24px);
        overflow: hidden;
        color: #f7f9fc;
        background:
            radial-gradient(circle at 100% 0%, rgba(255, 176, 0, .105), transparent 30%),
            linear-gradient(155deg, rgba(17, 39, 61, .97), rgba(7, 23, 39, .985));
        border: 1px solid rgba(151, 180, 211, .15);
        border-radius: 27px;
        box-shadow:
            0 28px 70px rgba(0, 0, 0, .36),
            0 0 0 1px rgba(255, 255, 255, .02) inset;
        animation: vtAuthMobileEnter .48s cubic-bezier(.2, .8, .2, 1) both;
    }

    .login-form-wrapper::after {
        content: "";
        position: absolute;
        z-index: 0;
        right: -105px;
        top: 135px;
        width: 230px;
        height: 230px;
        pointer-events: none;
        border: 42px solid rgba(255, 176, 0, .027);
        border-radius: 50%;
    }

    .login-form-wrapper > * {
        position: relative;
        z-index: 1;
    }

    .auth-mobile-intro {
        display: block;
        margin-bottom: 24px;
        padding-bottom: 22px;
        border-bottom: 1px solid rgba(151, 180, 211, .12);
    }

    .auth-mobile-brand-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        min-height: 48px;
    }

    .auth-mobile-logo {
        display: inline-flex;
        align-items: center;
        min-width: 0;
    }

    .auth-mobile-logo img {
        display: block;
        width: auto;
        height: 50px;
        object-fit: contain;
        filter: drop-shadow(0 9px 18px rgba(0, 0, 0, .24));
    }

    .auth-mobile-badge {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-height: 32px;
        padding: 0 10px;
        color: #ffd161;
        background: rgba(255, 176, 0, .075);
        border: 1px solid rgba(255, 176, 0, .18);
        border-radius: 999px;
        font-size: 8px;
        font-weight: 800;
        letter-spacing: .04em;
        white-space: nowrap;
        text-transform: uppercase;
    }

    .auth-mobile-copy {
        margin-top: 25px;
    }

    .auth-mobile-copy > span {
        display: block;
        margin-bottom: 8px;
        color: #ffb000;
        font-size: 9px;
        font-weight: 900;
        letter-spacing: .14em;
    }

    .auth-mobile-copy h1 {
        max-width: 390px;
        margin: 0;
        color: #f8fafc;
        font-size: clamp(27px, 8vw, 36px);
        font-weight: 800;
        line-height: 1.04;
        letter-spacing: -1.4px;
    }

    .auth-mobile-copy p {
        max-width: 410px;
        margin: 11px 0 0;
        color: #91a5bd;
        font-size: 11px;
        line-height: 1.65;
    }

    .auth-mobile-route {
        display: grid;
        grid-template-columns: 38px minmax(35px, 1fr) 44px minmax(35px, 1fr) 38px;
        align-items: center;
        gap: 7px;
        margin-top: 20px;
        padding: 12px 13px;
        background: rgba(3, 15, 27, .43);
        border: 1px solid rgba(151, 180, 211, .11);
        border-radius: 17px;
    }

    .auth-mobile-route > span {
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        color: #ffb000;
        background: #10263d;
        border: 1px solid rgba(255, 176, 0, .18);
        border-radius: 13px;
        font-size: 13px;
    }

    .auth-mobile-route > span.is-van {
        width: 44px;
        height: 44px;
        color: #071522;
        background: linear-gradient(145deg, #ffb000, #ffc94d);
        box-shadow: 0 9px 24px rgba(255, 176, 0, .16);
        animation: vtAuthRoutePulse 2.8s ease-in-out infinite;
    }

    .auth-mobile-route-line {
        position: relative;
        display: block;
        height: 2px;
        overflow: hidden;
        background: rgba(151, 180, 211, .13);
        border-radius: 999px;
    }

    .auth-mobile-route-line b {
        position: absolute;
        top: -2px;
        left: 0;
        width: 28px;
        height: 6px;
        background: linear-gradient(90deg, transparent, #ffb000, transparent);
        filter: blur(.2px);
        animation: vtAuthRouteTravel 2.7s linear infinite;
    }

    .auth-mobile-route-line:nth-of-type(2) b {
        animation-delay: 1.25s;
    }

    .login-heading {
        margin-bottom: 22px;
        text-align: left;
    }

    .login-heading > .login-icon,
    .login-heading > .login-eyebrow {
        display: none;
    }

    .login-heading h2 {
        margin-bottom: 7px;
        color: #f8fafc;
        font-size: 22px;
        letter-spacing: -.75px;
    }

    .login-heading p {
        color: #8fa4bc;
        font-size: 10px;
        line-height: 1.55;
    }

    .login-trial-spotlight {
        margin-top: 14px;
        padding: 11px;
        color: #f4f7fb;
        background: linear-gradient(135deg, rgba(255, 176, 0, .12), rgba(13, 38, 60, .76));
        border-color: rgba(255, 176, 0, .26);
        border-radius: 15px;
        box-shadow: none;
    }

    .login-trial-spotlight:hover {
        color: #fff;
        background: linear-gradient(135deg, rgba(255, 176, 0, .17), rgba(15, 43, 67, .86));
        border-color: rgba(255, 176, 0, .45);
    }

    .login-trial-spotlight > span {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .login-trial-spotlight small {
        color: #ffbd29;
    }

    .login-trial-spotlight strong {
        color: #f8fafc;
    }

    .login-trial-spotlight em {
        color: #8da1b9;
    }

    .login-trial-spotlight > i {
        color: #ffb000;
    }

    .alert-custom {
        border-radius: 14px;
    }

    .login-form {
        gap: 17px;
    }

    .form-group-custom label {
        margin-bottom: 8px;
        color: #dce6f1;
        font-size: 10px;
        font-weight: 800;
    }

    .label-row {
        align-items: center;
        flex-direction: row;
    }

    .forgot-password {
        order: initial;
        color: #ffbd2f;
        font-size: 9px;
    }

    .input-wrapper {
        height: 56px;
        background: rgba(3, 16, 29, .68);
        border-color: rgba(151, 180, 211, .14);
        border-radius: 15px;
    }

    .input-wrapper:focus-within {
        background: rgba(5, 21, 37, .92);
        border-color: rgba(255, 176, 0, .72);
        box-shadow: 0 0 0 4px rgba(255, 176, 0, .075);
    }

    .input-icon,
    .toggle-password {
        color: #6f87a2;
    }

    .input-wrapper input {
        color: #f7f9fc;
        font-size: 16px;
    }

    .input-wrapper input::placeholder {
        color: #617792;
    }

    .toggle-password:hover {
        color: #f7f9fc;
        background: rgba(151, 180, 211, .08);
    }

    .remember-option {
        color: #8ea2ba !important;
        font-size: 10px !important;
    }

    .custom-checkbox {
        background: rgba(3, 16, 29, .72);
        border-color: rgba(151, 180, 211, .25);
    }

    .login-button {
        height: 56px;
        border-radius: 15px;
        box-shadow: 0 15px 30px rgba(255, 176, 0, .15);
    }

    .auth-marketplace-separator {
        display: flex;
        align-items: center;
        gap: 11px;
        margin: 20px 0 13px;
        color: #60758f;
        font-size: 8px;
        font-weight: 800;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .auth-marketplace-separator::before,
    .auth-marketplace-separator::after {
        content: "";
        flex: 1;
        height: 1px;
        background: rgba(151, 180, 211, .11);
    }

    .auth-marketplace-button {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) auto;
        align-items: center;
        gap: 11px;
        width: 100%;
        padding: 12px;
        color: #f8fafc;
        background:
            radial-gradient(circle at 100% 0%, rgba(255, 176, 0, .09), transparent 32%),
            rgba(5, 22, 38, .74);
        border: 1px solid rgba(151, 180, 211, .14);
        border-radius: 16px;
        transition: transform .2s ease, border-color .2s ease, background .2s ease;
    }

    .auth-marketplace-button:hover {
        color: #fff;
        background:
            radial-gradient(circle at 100% 0%, rgba(255, 176, 0, .14), transparent 34%),
            rgba(8, 29, 49, .9);
        border-color: rgba(255, 176, 0, .28);
        transform: translateY(-1px);
    }

    .auth-marketplace-button__icon {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        color: #071522;
        background: linear-gradient(145deg, #ffb000, #ffc94d);
        border-radius: 13px;
        box-shadow: 0 9px 20px rgba(255, 176, 0, .13);
    }

    .auth-marketplace-button__copy {
        display: flex;
        min-width: 0;
        flex-direction: column;
        gap: 2px;
    }

    .auth-marketplace-button__copy small {
        color: #ffbd29;
        font-size: 7px;
        font-weight: 900;
        letter-spacing: .075em;
        text-transform: uppercase;
    }

    .auth-marketplace-button__copy strong {
        color: #f8fafc;
        font-size: 10px;
        line-height: 1.3;
    }

    .auth-marketplace-button__copy em {
        overflow: hidden;
        color: #7f95ae;
        font-size: 8px;
        font-style: normal;
        line-height: 1.35;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .auth-marketplace-button__arrow {
        color: #ffb000;
        font-size: 11px;
    }

    .register-area {
        margin-top: 18px;
        padding-top: 16px;
        color: #7e93aa;
        border-color: rgba(151, 180, 211, .1);
        font-size: 9px;
    }

    .register-area a {
        color: #ffbd2f;
    }

    .security-message {
        margin-top: 17px;
        color: #5f748d;
        font-size: 8px;
    }

    .security-message i {
        color: #ffb000;
    }
}

@media (max-width: 420px) {
    .login-page {
        padding-right: 9px;
        padding-left: 9px;
    }

    .login-form-wrapper {
        padding: 17px 15px;
        border-radius: 23px;
    }

    .auth-mobile-logo img {
        height: 44px;
    }

    .auth-mobile-badge {
        min-height: 29px;
        padding: 0 8px;
        font-size: 7px;
    }

    .auth-mobile-copy h1 {
        font-size: 28px;
    }

    .auth-mobile-route {
        grid-template-columns: 34px minmax(24px, 1fr) 40px minmax(24px, 1fr) 34px;
        padding: 10px;
    }

    .auth-mobile-route > span {
        width: 34px;
        height: 34px;
    }

    .auth-mobile-route > span.is-van {
        width: 40px;
        height: 40px;
    }

    .auth-marketplace-button__copy em {
        display: none;
    }
}

/* Native WebView: mantém o login como app mesmo em telas maiores. */
body.auth-native-app .back-home {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .login-form-wrapper,
    .login-page::after,
    .auth-mobile-route > span.is-van,
    .auth-mobile-route-line b {
        animation: none !important;
    }
}

/* ========================================================================== 
   AUTH DESKTOP | VANTAGEM-UI CONNECTED 1.1.8
   Mantém duas colunas, mas leva a linguagem escura/animada do login mobile
   para navegadores desktop e notebooks.
   ========================================================================== */
@keyframes vtAuthDesktopRouteDrive {
    0% {
        left: 2%;
        transform: translate(-50%, -50%) scale(.92);
    }
    48% {
        transform: translate(-50%, -50%) scale(1.04);
    }
    100% {
        left: 98%;
        transform: translate(-50%, -50%) scale(.92);
    }
}

@keyframes vtAuthDesktopTrackGlow {
    0%, 100% {
        opacity: .45;
        transform: scaleX(.94);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes vtAuthDesktopCardIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-desktop-route {
    display: none;
}

@media (min-width: 851px) {
    .login-page {
        padding: clamp(32px, 4vw, 58px);
        background:
            radial-gradient(circle at 12% 16%, rgba(255, 176, 0, .11), transparent 25%),
            radial-gradient(circle at 92% 84%, rgba(35, 105, 168, .16), transparent 30%),
            linear-gradient(145deg, #020914 0%, #061526 52%, #020c19 100%);
    }

    .login-page::before {
        opacity: .30;
        background-size: 42px 42px;
        mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .7) 74%, transparent 100%);
    }

    .login-container {
        grid-template-columns: minmax(0, 1.06fr) minmax(440px, .94fr);
        width: min(1240px, 100%);
        min-height: min(760px, calc(100vh - 78px));
        overflow: hidden;
        background: #071727;
        border: 1px solid rgba(151, 180, 211, .14);
        border-radius: 30px;
        box-shadow:
            0 46px 110px rgba(0, 0, 0, .44),
            0 0 0 1px rgba(255, 255, 255, .018) inset;
        animation: vtAuthDesktopCardIn .5s cubic-bezier(.2, .8, .2, 1) both;
    }

    .login-presentation {
        justify-content: space-between;
        padding: clamp(40px, 4.1vw, 58px);
        background:
            radial-gradient(circle at 86% 14%, rgba(255, 176, 0, .15), transparent 29%),
            radial-gradient(circle at 9% 92%, rgba(49, 117, 177, .11), transparent 30%),
            linear-gradient(150deg, #071b2f 0%, #03101e 72%, #020b17 100%);
        border-right: 1px solid rgba(151, 180, 211, .10);
    }

    .login-presentation::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        opacity: .18;
        background-image:
            linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
        background-size: 38px 38px;
        mask-image: linear-gradient(135deg, #000, transparent 82%);
    }

    .login-presentation::after {
        right: -115px;
        bottom: -70px;
        width: 360px;
        height: 360px;
        border-width: 64px;
        border-color: rgba(255, 176, 0, .03);
    }

    .presentation-logo {
        margin-bottom: clamp(28px, 3vw, 42px);
    }

    .presentation-logo img {
        height: 70px;
        filter: drop-shadow(0 13px 24px rgba(0, 0, 0, .26));
    }

    .presentation-badge {
        min-height: 34px;
        margin-bottom: 20px;
        padding: 0 12px;
        color: #ffd160;
        background: rgba(255, 176, 0, .07);
        border-color: rgba(255, 176, 0, .20);
        font-size: 10px;
        font-weight: 800;
    }

    .login-presentation h1 {
        max-width: 560px;
        margin-bottom: 16px;
        font-size: clamp(42px, 4vw, 58px);
        line-height: 1.01;
        letter-spacing: -2.6px;
    }

    .login-presentation > .presentation-content > p {
        max-width: 550px;
        margin-bottom: 24px;
        color: #93a7bf;
        font-size: 13px;
        line-height: 1.75;
    }

    .auth-desktop-route {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: 76px minmax(120px, 1fr) 76px;
        align-items: center;
        gap: 14px;
        max-width: 570px;
        margin: 0 0 24px;
        padding: 15px 17px;
        background:
            radial-gradient(circle at 52% 50%, rgba(255, 176, 0, .07), transparent 38%),
            rgba(4, 19, 33, .62);
        border: 1px solid rgba(151, 180, 211, .12);
        border-radius: 19px;
        box-shadow: 0 18px 36px rgba(0, 0, 0, .16);
        overflow: hidden;
    }

    .auth-desktop-route__node {
        display: grid;
        place-items: center;
        gap: 5px;
        min-height: 58px;
        color: #ffb000;
        background: #10263d;
        border: 1px solid rgba(255, 176, 0, .16);
        border-radius: 15px;
        font-size: 15px;
    }

    .auth-desktop-route__node small {
        color: #92a7bf;
        font-size: 7px;
        font-weight: 800;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

    .auth-desktop-route__track {
        position: relative;
        display: block;
        height: 42px;
    }

    .auth-desktop-route__track > i {
        position: absolute;
        top: 50%;
        right: 0;
        left: 0;
        height: 2px;
        background: linear-gradient(90deg, rgba(255,176,0,.15), #ffb000 50%, rgba(99,169,255,.22));
        border-radius: 999px;
        transform: translateY(-50%);
        box-shadow: 0 0 14px rgba(255, 176, 0, .14);
        animation: vtAuthDesktopTrackGlow 2.8s ease-in-out infinite;
    }

    .auth-desktop-route__track > i::before,
    .auth-desktop-route__track > i::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 6px;
        height: 6px;
        background: #ffb000;
        border-radius: 50%;
        transform: translateY(-50%);
        box-shadow: 0 0 0 5px rgba(255, 176, 0, .08);
    }

    .auth-desktop-route__track > i::before { left: 0; }
    .auth-desktop-route__track > i::after { right: 0; }

    .auth-desktop-route__track > b {
        position: absolute;
        z-index: 2;
        top: 50%;
        left: 2%;
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        color: #071522;
        background: linear-gradient(145deg, #ffb000, #ffc94d);
        border: 4px solid #071b2f;
        border-radius: 13px;
        box-shadow: 0 8px 20px rgba(255, 176, 0, .22);
        animation: vtAuthDesktopRouteDrive 5.2s cubic-bezier(.45, .04, .55, .96) infinite alternate;
    }

    .auth-desktop-route__track > b i {
        font-size: 12px;
    }

    .presentation-benefits {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .presentation-benefit {
        min-width: 0;
        padding: 13px;
        background: rgba(9, 30, 49, .68);
        border-color: rgba(151, 180, 211, .11);
        border-radius: 15px;
    }

    .benefit-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .presentation-benefit strong {
        font-size: 10px;
    }

    .presentation-benefit span {
        font-size: 8px;
        line-height: 1.5;
    }

    .presentation-footer {
        margin-top: 28px;
        color: #60758e;
        font-size: 9px;
    }

    .login-form-area {
        position: relative;
        align-items: center;
        padding: clamp(38px, 4vw, 58px);
        overflow: hidden;
        background:
            radial-gradient(circle at 100% 0%, rgba(255, 176, 0, .095), transparent 29%),
            radial-gradient(circle at 4% 100%, rgba(55, 120, 181, .08), transparent 31%),
            linear-gradient(155deg, #10253a 0%, #0b1d30 56%, #071827 100%);
    }

    .login-form-area::after {
        content: "";
        position: absolute;
        top: 72px;
        right: -120px;
        width: 250px;
        height: 250px;
        pointer-events: none;
        border: 42px solid rgba(255, 176, 0, .025);
        border-radius: 50%;
    }

    .login-form-wrapper {
        position: relative;
        z-index: 1;
        max-width: 460px;
        padding: 26px;
        color: #f7f9fc;
        background:
            radial-gradient(circle at 100% 0%, rgba(255, 176, 0, .07), transparent 28%),
            rgba(5, 20, 34, .72);
        border: 1px solid rgba(151, 180, 211, .13);
        border-radius: 24px;
        box-shadow:
            0 24px 58px rgba(0, 0, 0, .28),
            0 0 0 1px rgba(255, 255, 255, .015) inset;
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .login-heading {
        margin-bottom: 22px;
    }

    .login-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 15px;
        border-radius: 14px;
    }

    .login-eyebrow {
        margin-bottom: 6px;
        color: #ffb000;
        font-size: 9px;
    }

    .login-heading h2 {
        margin-bottom: 7px;
        color: #f8fafc;
        font-size: 27px;
        letter-spacing: -1px;
    }

    .login-heading p {
        color: #8fa4bc;
        font-size: 11px;
        line-height: 1.6;
    }

    .login-trial-spotlight {
        margin-top: 14px;
        padding: 11px 12px;
        color: #f7f9fc;
        background: linear-gradient(135deg, rgba(255, 176, 0, .11), rgba(13, 38, 60, .78));
        border-color: rgba(255, 176, 0, .24);
        border-radius: 15px;
        box-shadow: none;
    }

    .login-trial-spotlight:hover {
        color: #fff;
        background: linear-gradient(135deg, rgba(255, 176, 0, .16), rgba(15, 43, 67, .9));
        border-color: rgba(255, 176, 0, .44);
    }

    .login-trial-spotlight > span {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .login-trial-spotlight small,
    .login-trial-spotlight > i {
        color: #ffbd29;
    }

    .login-trial-spotlight strong {
        color: #f8fafc;
    }

    .login-trial-spotlight em {
        color: #8499b1;
    }

    .login-form {
        gap: 17px;
    }

    .form-group-custom label {
        margin-bottom: 8px;
        color: #dce6f1;
        font-size: 10px;
        font-weight: 800;
    }

    .forgot-password {
        margin-bottom: 8px;
        color: #ffbd2f;
        font-size: 9px;
    }

    .input-wrapper {
        height: 56px;
        background: rgba(3, 16, 29, .72);
        border-color: rgba(151, 180, 211, .15);
        border-radius: 15px;
    }

    .input-wrapper:focus-within {
        background: rgba(5, 21, 37, .95);
        border-color: rgba(255, 176, 0, .74);
        box-shadow: 0 0 0 4px rgba(255, 176, 0, .075);
    }

    .input-icon,
    .toggle-password {
        color: #7087a1;
    }

    .input-wrapper input {
        color: #f7f9fc;
        font-size: 13px;
    }

    .input-wrapper input::placeholder {
        color: #607790;
    }

    .toggle-password:hover {
        color: #f7f9fc;
        background: rgba(151, 180, 211, .08);
    }

    .remember-option {
        color: #8ea2ba;
        font-size: 9px;
    }

    .custom-checkbox {
        background: rgba(3, 16, 29, .78);
        border-color: rgba(151, 180, 211, .26);
    }

    .login-button {
        height: 54px;
        border-radius: 15px;
        box-shadow: 0 15px 30px rgba(255, 176, 0, .14);
    }

    .auth-marketplace-separator {
        display: flex;
        align-items: center;
        gap: 11px;
        margin: 18px 0 12px;
        color: #617790;
        font-size: 7px;
        font-weight: 800;
        letter-spacing: .07em;
        text-transform: uppercase;
    }

    .auth-marketplace-separator::before,
    .auth-marketplace-separator::after {
        content: "";
        flex: 1;
        height: 1px;
        background: rgba(151, 180, 211, .11);
    }

    .auth-marketplace-button {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) auto;
        align-items: center;
        gap: 11px;
        width: 100%;
        padding: 11px 12px;
        color: #f8fafc;
        background:
            radial-gradient(circle at 100% 0%, rgba(255, 176, 0, .09), transparent 32%),
            rgba(4, 18, 31, .78);
        border: 1px solid rgba(151, 180, 211, .14);
        border-radius: 15px;
        transition: transform .2s ease, border-color .2s ease, background .2s ease;
    }

    .auth-marketplace-button:hover {
        color: #fff;
        background:
            radial-gradient(circle at 100% 0%, rgba(255, 176, 0, .14), transparent 34%),
            rgba(8, 29, 49, .94);
        border-color: rgba(255, 176, 0, .3);
        transform: translateY(-1px);
    }

    .auth-marketplace-button__icon {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        color: #071522;
        background: linear-gradient(145deg, #ffb000, #ffc94d);
        border-radius: 13px;
    }

    .auth-marketplace-button__copy {
        display: flex;
        min-width: 0;
        flex-direction: column;
        gap: 2px;
    }

    .auth-marketplace-button__copy small {
        color: #ffbd29;
        font-size: 7px;
        font-weight: 900;
        letter-spacing: .07em;
        text-transform: uppercase;
    }

    .auth-marketplace-button__copy strong {
        color: #f8fafc;
        font-size: 10px;
        line-height: 1.3;
    }

    .auth-marketplace-button__copy em {
        overflow: hidden;
        color: #7f95ae;
        font-size: 8px;
        font-style: normal;
        line-height: 1.35;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .auth-marketplace-button__arrow {
        color: #ffb000;
        font-size: 11px;
    }

    .register-area {
        margin-top: 15px;
        padding-top: 14px;
        color: #768ca5;
        border-color: rgba(151, 180, 211, .10);
        font-size: 9px;
    }

    .register-area a {
        color: #ffbd2f;
    }

    .security-message {
        margin-top: 14px;
        color: #5f748d;
        font-size: 8px;
    }

    .security-message i {
        color: #ffb000;
    }
}

@media (min-width: 851px) and (max-height: 820px) {
    .login-page {
        align-items: flex-start;
        padding-top: 28px;
        padding-bottom: 28px;
        overflow-y: auto;
    }

    .login-container {
        min-height: 690px;
    }

    .login-presentation,
    .login-form-area {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .presentation-logo {
        margin-bottom: 24px;
    }

    .presentation-logo img {
        height: 60px;
    }

    .presentation-benefits {
        gap: 8px;
    }

    .login-form-wrapper {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-desktop-route__track > b,
    .auth-desktop-route__track > i,
    .login-container {
        animation: none !important;
    }
}

/* Mobile/PWA/APP: usa exatamente a mesma rota animada da apresentação desktop. */
@media (max-width: 850px) {
    .auth-mobile-intro .auth-desktop-route {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: 58px minmax(92px, 1fr) 58px;
        align-items: center;
        gap: 9px;
        width: 100%;
        max-width: 430px;
        margin: 20px 0 0;
        padding: 11px 12px;
        overflow: hidden;
        background:
            radial-gradient(circle at 52% 50%, rgba(255, 176, 0, .07), transparent 38%),
            rgba(3, 15, 27, .43);
        border: 1px solid rgba(151, 180, 211, .11);
        border-radius: 17px;
        box-shadow: 0 16px 30px rgba(0, 0, 0, .14);
    }

    .auth-mobile-intro .auth-desktop-route__node {
        display: grid;
        place-items: center;
        gap: 4px;
        min-height: 50px;
        color: #ffb000;
        background: #10263d;
        border: 1px solid rgba(255, 176, 0, .16);
        border-radius: 13px;
        font-size: 13px;
    }

    .auth-mobile-intro .auth-desktop-route__node small {
        color: #92a7bf;
        font-size: 6px;
        font-weight: 800;
        letter-spacing: .045em;
        text-transform: uppercase;
    }

    .auth-mobile-intro .auth-desktop-route__track {
        position: relative;
        display: block;
        min-width: 0;
        height: 38px;
    }

    .auth-mobile-intro .auth-desktop-route__track > i {
        position: absolute;
        top: 50%;
        right: 0;
        left: 0;
        height: 2px;
        background: linear-gradient(90deg, rgba(255,176,0,.15), #ffb000 50%, rgba(99,169,255,.22));
        border-radius: 999px;
        transform: translateY(-50%);
        box-shadow: 0 0 14px rgba(255, 176, 0, .14);
        animation: vtAuthDesktopTrackGlow 2.8s ease-in-out infinite;
    }

    .auth-mobile-intro .auth-desktop-route__track > i::before,
    .auth-mobile-intro .auth-desktop-route__track > i::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 5px;
        height: 5px;
        background: #ffb000;
        border-radius: 50%;
        transform: translateY(-50%);
        box-shadow: 0 0 0 4px rgba(255, 176, 0, .08);
    }

    .auth-mobile-intro .auth-desktop-route__track > i::before { left: 0; }
    .auth-mobile-intro .auth-desktop-route__track > i::after { right: 0; }

    .auth-mobile-intro .auth-desktop-route__track > b {
        position: absolute;
        z-index: 2;
        top: 50%;
        left: 2%;
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        color: #071522;
        background: linear-gradient(145deg, #ffb000, #ffc94d);
        border: 3px solid #071b2f;
        border-radius: 11px;
        box-shadow: 0 8px 20px rgba(255, 176, 0, .22);
        animation: vtAuthDesktopRouteDrive 5.2s cubic-bezier(.45, .04, .55, .96) infinite alternate;
    }

    .auth-mobile-intro .auth-desktop-route__track > b i {
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .auth-mobile-intro .auth-desktop-route {
        grid-template-columns: 52px minmax(76px, 1fr) 52px;
        gap: 7px;
        padding: 10px;
    }

    .auth-mobile-intro .auth-desktop-route__node {
        min-height: 46px;
    }
}

/* Autofill sem quebrar o tema do login, cadastro e recuperação de acesso. */
.input-wrapper input:-webkit-autofill,
.input-wrapper input:-webkit-autofill:hover,
.input-wrapper input:-webkit-autofill:focus,
.input-wrapper input:-webkit-autofill:active,
.input-wrapper textarea:-webkit-autofill,
.input-wrapper select:-webkit-autofill {
    -webkit-text-fill-color: #f7f9fc !important;
    caret-color: #f7f9fc !important;
    -webkit-box-shadow: 0 0 0 1000px #071a2b inset !important;
    box-shadow: 0 0 0 1000px #071a2b inset !important;
    border-color: transparent !important;
    transition: background-color 99999s ease-out 0s, color 99999s ease-out 0s !important;
}

.input-wrapper input:autofill,
.input-wrapper textarea:autofill,
.input-wrapper select:autofill {
    color: #f7f9fc !important;
    background: #071a2b !important;
    caret-color: #f7f9fc !important;
}

.input-wrapper:has(> input:-webkit-autofill),
.input-wrapper:has(> textarea:-webkit-autofill),
.input-wrapper:has(> select:-webkit-autofill) {
    background: rgba(5, 21, 37, .95) !important;
    border-color: rgba(255, 176, 0, .24) !important;
}

@media (prefers-reduced-motion: reduce) {
    .auth-mobile-intro .auth-desktop-route__track > b,
    .auth-mobile-intro .auth-desktop-route__track > i {
        animation: none !important;
    }
}

/* Van-Tagem | iOS Safari/Chrome: evita zoom automatico ao focar campos.
   O iOS amplia controles cuja fonte computada e menor que 16px.
   Mantemos o pinch-to-zoom do usuario intacto por acessibilidade. */
@supports (-webkit-touch-callout: none) {
    @media (hover: none) and (pointer: coarse) {
        input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
        select,
        textarea,
        [contenteditable="true"] {
            font-size: 16px !important;
            -webkit-text-size-adjust: 100%;
            touch-action: manipulation;
        }
    }
}

/* VANTAGEM UI | legibilidade consistente em autenticação */
.auth-container :is(label, .form-group-custom label) { font-size: 12px !important; }
.auth-container small,
.auth-marketplace-button__copy small,
.auth-marketplace-button__copy em,
.presentation-benefit span,
.presentation-footer,
.login-trial-spotlight small,
.login-trial-spotlight em { font-size: 11px !important; line-height: 1.5 !important; }


/* Van-Tagem | acesso Google integrado ao login */
.auth-google-button {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    min-height: 58px;
    padding: 11px 15px;
    margin: 4px 0 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 15px;
    background: rgba(255,255,255,.055);
    color: #fff;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.auth-google-button:hover { color:#fff; transform:translateY(-1px); border-color:rgba(255,176,0,.38); background:rgba(255,255,255,.085); }
.auth-google-button__icon { display:grid; place-items:center; width:38px; height:38px; flex:0 0 38px; border-radius:11px; background:#fff; color:#4285f4; font-size:18px; }
.auth-google-button > span:nth-child(2) { display:flex; flex-direction:column; gap:1px; min-width:0; flex:1; }
.auth-google-button small { color:rgba(255,255,255,.55); font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.auth-google-button strong { color:#fff; font-size:13px; font-weight:800; }
.auth-google-button__arrow { color:#ffb000; font-size:13px; }
.auth-google-error { display:flex; gap:7px; margin:-5px 0 12px; }
.auth-login-separator { position:relative; display:flex; justify-content:center; align-items:center; margin:2px 0 16px; color:rgba(255,255,255,.42); font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.auth-login-separator::before { content:""; position:absolute; left:0; right:0; height:1px; background:rgba(255,255,255,.08); }
.auth-login-separator span { position:relative; z-index:1; padding:0 10px; background:#071a2b; }
