/* ==========================================================================
   HelpV — Telas de acesso (login, cadastro, recuperação e redefinição)
   Mesmo padrão do sistema: painel grafite flutuante + cartão com
   cabeçalho de ícone, campos 46px, botão índigo sólido, sem degradês.
   Carregado após newauth.css e theme.css.
   ========================================================================== */

html body.auth-body {
    min-height: 100vh; margin: 0;
    background: var(--bg-body) !important;
    color: var(--text-primary);
}

/* ── Estrutura ─────────────────────────────────────────── */
html .auth-split-container {
    display: grid !important;
    grid-template-columns: 1fr;
    min-height: 100vh; gap: 14px; padding: 14px;
    background: transparent !important;
}
@media (min-width: 992px) {
    html .auth-split-container { grid-template-columns: minmax(380px, 44%) 1fr; }
}

/* ── Painel da marca (esquerda) ────────────────────────── */
html .auth-split-left {
    position: relative; overflow: hidden;
    display: none !important;
    flex-direction: column; justify-content: center; gap: 22px;
    padding: clamp(32px, 4vw, 56px) !important;
    background: var(--ink) !important;
    border-radius: 24px;
    color: #fff !important;
    box-shadow: var(--shadow-lg);
}
@media (min-width: 992px) { html .auth-split-left { display: flex !important; } }
html .auth-left-glow { display: none !important; }
html .auth-split-left::after {
    content: ''; position: absolute; right: -80px; bottom: -80px;
    width: 260px; height: 260px; border-radius: 60px; transform: rotate(18deg);
    background: var(--brand); opacity: .18; pointer-events: none;
}
html .auth-split-left h2 {
    margin: 0 !important; color: #fff !important;
    font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem) !important; font-weight: 800 !important;
    letter-spacing: -.03em; line-height: 1.15;
}
html .auth-split-left > p { margin: 0 !important; color: rgba(255,255,255,.7) !important; font-size: .98rem; line-height: 1.6; max-width: 440px; }
html .auth-left-logo img { max-height: 46px; width: auto; }
html .auth-features { display: grid; gap: 10px; margin-top: 8px; max-width: 440px; }
html .auth-feature-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 14px;
    background: rgba(255,255,255,.05) !important; border: 1px solid rgba(255,255,255,.08) !important;
    color: rgba(255,255,255,.88) !important; font-weight: 600; font-size: .9rem;
}
html .auth-feature-icon {
    width: 36px; height: 36px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center;
    background: var(--brand) !important; color: #fff !important; font-size: 1rem; box-shadow: none !important;
}

/* ── Lado do formulário (direita) ──────────────────────── */
html .auth-split-right {
    display: flex !important; flex-direction: column; align-items: center; justify-content: center;
    padding: clamp(16px, 3vw, 40px) !important;
    background: transparent !important;
}
html .auth-header { width: 100%; max-width: 460px; margin: 0 0 18px !important; display: flex; justify-content: center; }
html .auth-logo { display: flex; align-items: center; gap: 12px; }
html .auth-logo-mark {
    width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
    background: var(--brand) !important; color: #fff !important; font-size: 1.2rem; box-shadow: none !important;
}
html .auth-logo-title { font-weight: 800; font-size: 1.15rem; color: var(--text-primary) !important; }
html .auth-logo-subtitle { font-size: .76rem; color: var(--text-muted) !important; }
@media (min-width: 992px) { html .auth-header { display: none; } }

/* Cartão */
html .auth-card {
    position: relative;
    width: 100%; max-width: 460px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    padding: 30px clamp(20px, 4vw, 34px) 26px;
    animation: hvPopIn .35s cubic-bezier(.2,.9,.3,1.15) both;
}
html .auth-route-register .auth-card { max-width: 560px; }
.auth-pg-ico {
    width: 52px; height: 52px; border-radius: 16px; margin-bottom: 16px;
    display: grid; place-items: center; font-size: 1.4rem;
    background: var(--brand); color: #fff;
}
html .auth-title {
    margin: 0 0 6px !important; color: var(--text-primary) !important;
    font-size: clamp(1.35rem, 1.2rem + .5vw, 1.6rem) !important; font-weight: 800 !important; letter-spacing: -.02em;
    background: none !important;
}
html .auth-subtitle { margin: 0 0 22px !important; color: var(--text-muted) !important; font-size: .9rem; line-height: 1.5; }

/* Campos */
html .auth-form { display: flex; flex-direction: column; gap: 16px; }
html .auth-field { margin: 0 !important; }
html .auth-grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 520px) { html .auth-grid-2 { grid-template-columns: 1fr 1fr; } }
html .auth-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
html .auth-label {
    display: block; margin-bottom: 7px !important;
    font-size: .74rem !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .06em;
    color: var(--text-muted) !important;
}
html .auth-input-wrap { position: relative; }
html .auth-input-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted) !important; font-size: 1rem; pointer-events: none; transition: color .15s;
}
html .auth-input {
    width: 100%; min-height: 48px !important;
    padding: 12px 14px 12px 42px !important;
    border-radius: 12px !important;
    border: 1.5px solid var(--border-color) !important;
    background: var(--input-bg) !important;
    color: var(--text-primary) !important;
    font-size: .95rem !important; box-shadow: none !important;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
html .auth-input--has-toggle { padding-right: 46px !important; }
html .auth-input:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--border-color)) !important; }
html .auth-input:focus {
    outline: none; border-color: var(--brand) !important;
    background: var(--bg-surface) !important;
    box-shadow: 0 0 0 4px var(--accent-light) !important;
}
html .auth-input-wrap:focus-within .auth-input-icon { color: var(--brand) !important; }
html .auth-input::placeholder { color: var(--text-muted) !important; opacity: .8; }
html .auth-toggle-pass {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border-radius: 10px; border: none; cursor: pointer;
    display: grid; place-items: center;
    background: transparent !important; color: var(--text-muted) !important;
}
html .auth-toggle-pass:hover { background: var(--bg-hover) !important; color: var(--brand) !important; }

html .auth-checkbox-row { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--text-secondary); }
html .auth-checkbox-row input { width: 18px; height: 18px; accent-color: var(--brand); margin: 0; }

/* Botão principal */
html .auth-button {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
    width: 100%; min-height: 50px; margin-top: 4px;
    border: none !important; border-radius: 13px !important;
    background: var(--brand) !important; color: #fff !important;
    font-weight: 700 !important; font-size: .95rem !important; cursor: pointer;
    box-shadow: 0 10px 22px -10px var(--brand) !important;
    transition: transform .15s, filter .15s;
}
html .auth-button:hover { transform: translateY(-1px); filter: brightness(1.08); }
html .auth-button:active { transform: none; }

/* Links */
html .auth-link-small { font-size: .78rem; font-weight: 600; color: var(--brand) !important; text-decoration: none; }
html .auth-link-small:hover, html .auth-link-bold:hover { text-decoration: underline; }
html .auth-form-footer {
    margin-top: 22px !important; padding-top: 18px; border-top: 1px solid var(--border-color);
    text-align: center; font-size: .88rem; color: var(--text-muted) !important;
}
html .auth-link-bold { font-weight: 700; color: var(--brand) !important; text-decoration: none; margin-left: 4px; }

/* Alertas */
html .auth-alert {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 14px; margin: 0 0 14px !important; border-radius: 12px;
    font-size: .86rem; font-weight: 600; line-height: 1.45;
}
html .auth-alert-error   { background: color-mix(in srgb, var(--st-cancelado) 9%, var(--bg-surface)) !important; color: var(--st-cancelado) !important; border: 1px solid color-mix(in srgb, var(--st-cancelado) 28%, transparent) !important; }
html .auth-alert-success { background: color-mix(in srgb, var(--st-concluido) 9%, var(--bg-surface)) !important; color: var(--st-concluido) !important; border: 1px solid color-mix(in srgb, var(--st-concluido) 28%, transparent) !important; }
html .auth-split-right > .auth-alert { width: 100%; max-width: 460px; }

/* Rodapé */
html .auth-footer { margin-top: 22px !important; text-align: center; }
html .auth-footer p { margin: 0; font-size: .76rem; color: var(--text-muted) !important; }

/* ── Alternar tema ─────────────────────────────────────── */
.auth-theme-toggle {
    position: fixed; top: 22px; right: 22px; z-index: 50;
    width: 42px; height: 42px; border-radius: 12px; cursor: pointer; overflow: hidden;
    border: 1px solid var(--border-color); background: var(--bg-surface); color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
}
.auth-theme-toggle:hover { color: var(--brand); border-color: var(--brand); }
.auth-theme-toggle i { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.05rem; transition: transform .4s cubic-bezier(.5,1.6,.4,1), opacity .25s; }
.auth-theme-toggle .bi-sun { transform: translateY(120%); opacity: 0; }
html[data-theme="dark"] .auth-theme-toggle .bi-moon-stars { transform: translateY(-120%); opacity: 0; }
html[data-theme="dark"] .auth-theme-toggle .bi-sun { transform: none; opacity: 1; color: #fbbf24; }

/* ── Modo escuro: painel da marca permanece grafite ────── */
html[data-theme="dark"] .auth-split-left { background: #12141f !important; border: 1px solid var(--border-color); }

/* ── Celular ───────────────────────────────────────────── */
@media (max-width: 576px) {
    html .auth-split-container { padding: 0; }
    html .auth-split-right { justify-content: flex-start; padding: 70px 14px 20px !important; }
    html .auth-card { border-radius: 20px; padding: 24px 18px 20px; }
    .auth-theme-toggle { top: 14px; right: 14px; }
}

/* ── Neutraliza o layout antigo (newauth.css) ──────────── */
html body.auth-body { display: block !important; padding: 0 !important; overflow-y: auto; }
html body.auth-body::before, html body.auth-body::after,
html .auth-split-left::before, html .auth-split-right::before, html .auth-split-container::before { display: none !important; content: none !important; }
html .auth-split-container {
    max-width: none !important; width: 100% !important; min-height: 100vh !important;
    border-radius: 0 !important; box-shadow: none !important; overflow: visible !important; animation: none !important;
}
html .auth-split-left, html .auth-split-right { width: auto !important; min-width: 0 !important; flex: none !important; }
@media (min-width: 992px) {
    html .auth-split-left { position: sticky !important; top: 14px; height: calc(100vh - 28px); }
}

/* Ajustes finos */
html body .auth-card .auth-pg-ico { background: var(--brand) !important; color: #fff !important; border: none !important; }
html .auth-card { min-height: 0 !important; height: auto !important; flex: none !important; }
html .auth-split-right main { flex: none !important; }


/* ══════════════════════════════════════════════════════
   LADO ESQUERDO: texto puro + mascote (sem caixa escura)
══════════════════════════════════════════════════════ */
html .auth-split-left {
    background: transparent !important; box-shadow: none !important; border: none !important;
    color: var(--text-primary) !important; border-radius: 0 !important;
    align-items: center; text-align: center; gap: 10px;
    padding: 24px !important;
}
html .auth-split-left::after { display: none !important; }
html[data-theme="dark"] .auth-split-left { background: transparent !important; border: none !important; }
.auth-hero { max-width: 460px; }
html .auth-hero h2 {
    margin: 0 0 10px !important; color: var(--text-primary) !important;
    font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.5rem) !important; font-weight: 800 !important;
    letter-spacing: -.03em; line-height: 1.12;
}
html .auth-hero p { margin: 0 auto !important; color: var(--text-muted) !important; font-size: 1rem; line-height: 1.6; max-width: 400px; }

/* Celular: mostra só o mascote, pequeno, acima do cartão */
@media (max-width: 991px) {
    html .auth-split-left { display: flex !important; position: static !important; height: auto !important; padding: 56px 16px 0 !important; }
    .auth-hero { display: none; }
    html .auth-split-right { padding-top: 8px !important; }
    html .auth-header { display: none !important; }
}

/* ── Mascote ─────────────────────────────────────────── */
.hv-mascote { position: relative; width: clamp(150px, 20vw, 250px); margin-top: 18px; }
@media (max-width: 991px) { .hv-mascote { width: 120px; margin-top: 0; } }
.hv-masc-svg { width: 100%; height: auto; display: block; overflow: visible; }

.hv-masc-cabeca { fill: var(--brand); }
.hv-masc-corpo  { fill: color-mix(in srgb, var(--brand) 80%, #000); }
.hv-masc-antena { stroke: var(--brand); stroke-width: 5; stroke-linecap: round; }
.hv-masc-antena-bola { fill: var(--st-espera); }
.hv-masc-branco { fill: #fff; }
.hv-masc-pupila { fill: #1f2233; transition: cx .08s linear, cy .08s linear; }
.hv-masc-sobr { fill: #1f2233; opacity: .85; transform-box: fill-box; transform-origin: center; transition: transform .3s ease; }
.hv-masc-boch { fill: #fff; opacity: .18; }
.hv-masc-boca { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .2s; }
.hv-boca-feliz { fill: #fff; stroke-width: 3; }
.hv-masc-mao { fill: color-mix(in srgb, var(--brand) 70%, #fff); transform-box: fill-box; transform-origin: center; transition: transform .35s cubic-bezier(.3,1.5,.5,1); }

/* Pálpebras: escondidas (achatadas no topo) por padrão */
.hv-masc-palpebra { fill: var(--brand); transform-box: fill-box; transform-origin: top; transform: scaleY(0); transition: transform .22s ease; }

/* Estado normal */
.hv-mascote[data-estado="normal"] .hv-boca-normal,
.hv-mascote[data-estado="senha"] .hv-boca-normal,
.hv-mascote[data-estado="espiando"] .hv-boca-normal { opacity: 1; }
.hv-mascote.is-piscando .hv-masc-palpebra { transform: scaleY(1); transition-duration: .08s; }

/* Digitando a senha: olhos fechados + mãos sobem para cobrir */
.hv-mascote[data-estado="senha"] .hv-masc-palpebra { transform: scaleY(1); }
.hv-mascote[data-estado="senha"] .hv-mao-e { transform: translate(28px, -104px); }
.hv-mascote[data-estado="senha"] .hv-mao-d { transform: translate(-28px, -104px); }
/* Mostrar senha: espia por um olho */
.hv-mascote[data-estado="espiando"] .hv-masc-olho:first-of-type .hv-masc-palpebra { transform: scaleY(1); }
.hv-mascote[data-estado="espiando"] .hv-mao-e { transform: translate(28px, -104px); }

/* Sucesso: sorriso + palmas */
.hv-mascote[data-estado="aplaudindo"] .hv-boca-feliz { opacity: 1; }
.hv-mascote[data-estado="aplaudindo"] .hv-masc-sobr { transform: translateY(-6px); }
.hv-mascote[data-estado="aplaudindo"] .hv-masc-boch { opacity: .45; fill: #ffb4c0; }
.hv-mascote[data-estado="aplaudindo"] .hv-mao-e { animation: hvPalmaE .32s ease-in-out infinite alternate; }
.hv-mascote[data-estado="aplaudindo"] .hv-mao-d { animation: hvPalmaD .32s ease-in-out infinite alternate; }
.hv-mascote[data-estado="aplaudindo"] .hv-masc-svg { animation: hvPulo .64s ease-in-out infinite; }
@keyframes hvPalmaE { from { transform: translate(30px, -28px); } to { transform: translate(52px, -30px); } }
@keyframes hvPalmaD { from { transform: translate(-30px, -28px); } to { transform: translate(-52px, -30px); } }
@keyframes hvPulo { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Erro: desconfiado (olhos semicerrados, sobrancelha torta, boca de lado) */
.hv-mascote[data-estado="desconfiado"] .hv-boca-desconf { opacity: 1; }
.hv-mascote[data-estado="desconfiado"] .hv-masc-palpebra { transform: scaleY(.48); }
.hv-mascote[data-estado="desconfiado"] .hv-masc-sobr-e { transform: translateY(4px) rotate(12deg); }
.hv-mascote[data-estado="desconfiado"] .hv-masc-sobr-d { transform: translateY(-5px) rotate(-8deg); }
.hv-mascote[data-estado="desconfiado"] .hv-masc-antena-bola { fill: var(--st-cancelado); }
.hv-mascote.is-tremendo .hv-masc-svg { animation: hvNao .5s ease-in-out; }
@keyframes hvNao { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-7deg); } 40% { transform: rotate(6deg); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(3deg); } }

/* Balão de fala */
.hv-masc-balao {
    position: absolute; left: 50%; bottom: calc(100% + 6px);
    transform: translate(-50%, 8px) scale(.9); opacity: 0; visibility: hidden;
    white-space: nowrap; padding: 9px 14px; border-radius: 14px;
    background: var(--ink); color: #fff; font-size: .84rem; font-weight: 700;
    box-shadow: var(--shadow-lg);
    transition: opacity .2s, transform .3s cubic-bezier(.2,.9,.3,1.3), visibility .2s;
    z-index: 5; pointer-events: none;
}
.hv-masc-balao::after {
    content: ''; position: absolute; left: 50%; top: 100%; width: 12px; height: 12px;
    background: inherit; transform: translate(-50%, -6px) rotate(45deg); border-radius: 2px;
}
.hv-masc-balao.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.hv-masc-balao.is-ok   { background: var(--st-concluido); }
.hv-masc-balao.is-erro { background: var(--st-cancelado); }
html[data-theme="dark"] .hv-masc-balao:not(.is-ok):not(.is-erro) { background: #fff; color: #1f2233; }
@media (max-width: 991px) { .hv-masc-balao { font-size: .76rem; white-space: normal; width: max-content; max-width: 80vw; text-align: center; } }

/* Botão carregando */
html .auth-button.is-carregando { opacity: .75; cursor: wait; }

@media (prefers-reduced-motion: reduce) {
    .hv-mascote *, .hv-mascote { animation: none !important; transition: none !important; }
}
html body .auth-split-left .auth-hero h2 { color: var(--text-primary) !important; }
html body .auth-split-left .auth-hero p { color: var(--text-muted) !important; }
html body .auth-split-left .auth-hero h2,
html body .auth-title { -webkit-text-fill-color: currentColor !important; background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; }
@media (min-width: 992px) { .hv-mascote { margin-top: 64px; } }
@media (max-width: 991px) { html .auth-split-left { padding-top: 64px !important; } }

/* ══════════════════════════════════════════════════════
   AJUSTE: blocos centralizados e próximos · texto à esquerda
══════════════════════════════════════════════════════ */
@media (min-width: 992px) {
    html .auth-split-container {
        grid-template-columns: minmax(320px, 440px) minmax(380px, 480px) !important;
        justify-content: center; align-content: center;
        column-gap: clamp(40px, 6vw, 96px) !important;
        padding: 40px 24px !important;
    }
    html .auth-split-left {
        position: static !important; height: auto !important;
        align-items: flex-start !important; text-align: left !important;
        padding: 0 !important;
    }
    html .auth-split-right { padding: 0 !important; align-items: stretch !important; }
    html .auth-card, html .auth-route-register .auth-card { max-width: none !important; }
    .auth-hero { max-width: none; }
    html body .auth-split-left .auth-hero p { margin: 0 !important; }
    .hv-mascote { margin: 70px 0 0 clamp(0px, 3vw, 40px) !important; }
}
html body .auth-split-left .auth-hero { text-align: left; }

/* ── Mais movimento no mascote ─────────────────────────── */
.hv-masc-tilt { transform-origin: 50% 90%; transition: transform .35s cubic-bezier(.3,1.4,.5,1); will-change: transform; }
.hv-mascote[data-estado="normal"] .hv-masc-svg,
.hv-mascote[data-estado="senha"] .hv-masc-svg,
.hv-mascote[data-estado="espiando"] .hv-masc-svg { animation: hvFlutua 3.2s ease-in-out infinite; }
@keyframes hvFlutua { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* sombra no chão acompanhando a flutuação */
.hv-mascote::after {
    content: ''; display: block; width: 46%; height: 12px; margin: 6px auto 0;
    border-radius: 50%; background: rgba(31,34,51,.14);
    animation: hvSombra 3.2s ease-in-out infinite;
}
@keyframes hvSombra { 0%,100% { transform: scaleX(1); opacity: .9; } 50% { transform: scaleX(.8); opacity: .55; } }

/* antena balançando e luz pulsando */
.hv-masc-antena, .hv-masc-antena-bola { transform-box: view-box; transform-origin: 110px 20px; animation: hvAntena 2.4s ease-in-out infinite; }
@keyframes hvAntena { 0%,100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
.hv-masc-antena-bola { animation: hvAntena 2.4s ease-in-out infinite, hvLuz 1.6s ease-in-out infinite; }
@keyframes hvLuz { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

/* aceno de vez em quando */
.hv-mascote.is-acenando .hv-mao-d { animation: hvAceno 1.1s ease-in-out; }
@keyframes hvAceno {
    0% { transform: none; }
    20% { transform: translate(18px, -70px) rotate(0); }
    35% { transform: translate(24px, -76px); }
    50% { transform: translate(12px, -72px); }
    65% { transform: translate(24px, -76px); }
    80% { transform: translate(14px, -70px); }
    100% { transform: none; }
}
/* bochechas coram ao passar o mouse sobre ele */
.hv-mascote:hover .hv-masc-boch { opacity: .4; fill: #ffb4c0; }
.hv-mascote { cursor: default; }


/* ══════════════════════════════════════════════════════
   REFINAMENTOS DE ELEGÂNCIA
══════════════════════════════════════════════════════ */

/* 1. Hierarquia do texto */
.auth-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 14px;
    font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--brand);
}
.auth-eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--brand); }
html body .auth-split-left .auth-hero h2 { margin-bottom: 14px !important; }
html body .auth-split-left .auth-hero p {
    font-size: clamp(.98rem, .92rem + .2vw, 1.08rem) !important;
    line-height: 1.65; color: var(--text-secondary) !important;
}
@media (max-width: 1199px) { .auth-hero p br { display: none; } }

/* 2. Cenário do mascote */
.hv-mascote { isolation: isolate; }
.hv-masc-disco {
    position: absolute; z-index: -1; left: 50%; top: 46%;
    width: 128%; aspect-ratio: 1; transform: translate(-50%, -50%);
    border-radius: 50%; background: var(--accent-light);
}
.hv-masc-disco::after {
    content: ''; position: absolute; inset: 14%; border-radius: 50%;
    border: 1.5px dashed color-mix(in srgb, var(--brand) 22%, transparent);
    animation: hvGira 40s linear infinite;
}
@keyframes hvGira { to { transform: rotate(360deg); } }
.hv-masc-deco {
    position: absolute; z-index: 2; display: grid; place-items: center;
    border-radius: 14px; box-shadow: var(--shadow-md);
    animation: hvFlutua 3.8s ease-in-out infinite;
}
.hv-deco-chat {
    top: 6%; left: -14%; width: 46px; height: 40px;
    background: var(--bg-surface); color: var(--brand); font-size: 1.15rem;
    border: 1px solid var(--border-color); border-radius: 14px 14px 14px 4px;
}
.hv-deco-ok {
    top: 30%; right: -12%; width: 38px; height: 38px; border-radius: 50%;
    background: var(--st-concluido); color: #fff; font-size: 1.1rem; animation-delay: -1.4s;
}
.hv-deco-ponto {
    bottom: 22%; left: -6%; width: 14px; height: 14px; border-radius: 50%;
    background: var(--st-espera); box-shadow: none; animation-delay: -2.2s;
}
.hv-mascote[data-estado="desconfiado"] .hv-deco-ok { background: var(--st-cancelado); }
.hv-mascote[data-estado="aplaudindo"] .hv-masc-deco { animation-duration: 1s; }
@media (max-width: 991px) { .hv-masc-deco { display: none; } .hv-masc-disco { width: 115%; } }

/* 3. Autopreenchimento do navegador sem fundo azul */
html .auth-input:-webkit-autofill,
html .auth-input:-webkit-autofill:hover,
html .auth-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-primary) !important;
    -webkit-box-shadow: 0 0 0 1000px var(--input-bg) inset !important;
    caret-color: var(--text-primary);
    transition: background-color 9999s ease-out 0s;
}
html .auth-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--bg-surface) inset, 0 0 0 4px var(--accent-light) !important;
}

/* 4. Botão com estados */
.auth-spin {
    width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
    animation: hvGira .7s linear infinite;
}
html .auth-button.is-carregando { opacity: 1 !important; filter: saturate(.85); }
html .auth-button.is-sucesso {
    background: var(--st-concluido) !important;
    box-shadow: 0 10px 22px -10px var(--st-concluido) !important;
    animation: hvPop .4s cubic-bezier(.3,1.6,.5,1);
}
@keyframes hvPop { 0% { transform: scale(.96); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }

/* 5. Entrada em sequência */
@keyframes hvSobe { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.auth-eyebrow                                    { animation: hvSobe .5s ease-out both; }
html body .auth-split-left .auth-hero h2         { animation: hvSobe .5s ease-out .08s both; }
html body .auth-split-left .auth-hero p          { animation: hvSobe .5s ease-out .16s both; }
html .auth-card                                  { animation: hvSobe .55s cubic-bezier(.2,.9,.3,1.1) .24s both !important; }
.hv-mascote                                      { animation: hvSobe .6s ease-out .34s both; }
html .auth-footer                                { animation: hvSobe .5s ease-out .45s both; }

/* 6. Saudação */
.auth-title-wave { display: inline-block; transform-origin: 70% 70%; animation: hvMaoTitulo 2.4s ease-in-out .8s 2; }
@keyframes hvMaoTitulo { 0%,60%,100% { transform: rotate(0); } 10%,30% { transform: rotate(16deg); } 20%,40% { transform: rotate(-8deg); } }

/* 7. Caps Lock */
.auth-caps {
    display: none; align-items: center; gap: 6px; margin-top: 8px;
    font-size: .76rem; font-weight: 600; color: #92400e;
    padding: 6px 10px; border-radius: 9px;
    background: color-mix(in srgb, var(--st-espera) 14%, transparent);
}
.auth-caps.is-on { display: inline-flex; animation: hvSobe .2s ease-out; }
html[data-theme="dark"] .auth-caps { color: #fcd34d; }

/* 8. Rodapé discreto */
html .auth-footer p { font-size: .72rem !important; letter-spacing: .04em; opacity: .75; }
html .auth-footer p span { margin: 0 6px; opacity: .6; }

@media (prefers-reduced-motion: reduce) {
    .auth-eyebrow, .auth-hero *, .auth-card, .hv-mascote, .auth-footer, .hv-masc-deco, .hv-masc-disco::after, .auth-title-wave { animation: none !important; }
}
