/* ==========================================================================
   VOEALTUM — Login gate (uma tela) + modal Entrar na Base
   ========================================================================== */

#loginScreen.voe-login-gate {
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 24px 16px;
    background: #05070c;
}

#loginScreen.voe-login-gate.is-app-hidden,
#loginScreen.voe-login-gate[style*="visibility: hidden"],
#loginScreen.voe-login-gate[style*="visibility:hidden"] {
    display: none !important;
    pointer-events: none !important;
}

/* Nunca empilhar LP antiga */
#loginScreen #voeProductLp,
#loginScreen .voe-lp,
#loginScreen.product-hero-lp .voe-lp {
    display: none !important;
}

#loginScreen.voe-login-gate .login-box {
    display: block !important;
    width: min(420px, 94vw);
    max-height: none;
    padding: 36px 28px 28px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    background: rgba(10, 14, 22, 0.92) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

#loginScreen.voe-login-gate .login-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 14px;
}

#loginScreen.voe-login-gate .voe-brand-logo {
    width: 132px;
    height: auto;
    max-height: 132px;
    margin: 0 auto;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    object-fit: contain;
    object-position: center;
}

/* Gate limpo: patches antigos não empilham acima da logo */
#loginScreen.voe-login-gate .cu-login {
    display: none !important;
}

#loginScreen.voe-login-gate .login-profiles,
#loginScreen.voe-login-gate .login-entrar-base,
.voe-lp-google,
#voeLpModal {
    display: none !important;
}

#loginScreen.voe-login-gate .voe-login-form {
    display: grid;
    gap: 8px;
    width: 100%;
    margin: 4px 0 8px;
    text-align: left;
}

#loginScreen.voe-login-gate .voe-login-form > .oswald {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

#loginScreen.voe-login-gate .voe-login-form input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    margin-bottom: 4px;
}

#loginScreen.voe-login-gate .voe-pass-wrap {
    position: relative;
}

#loginScreen.voe-login-gate .voe-pass-wrap input {
    padding-right: 46px;
}

#loginScreen.voe-login-gate .voe-pass-eye {
    position: absolute;
    top: 8px;
    right: 6px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.62);
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
}

#loginScreen.voe-login-gate .voe-pass-eye svg {
    width: 20px;
    height: 20px;
    display: block;
}

#loginScreen.voe-login-gate .voe-pass-eye .voe-eye-off {
    display: none;
}

#loginScreen.voe-login-gate .voe-pass-eye.is-on .voe-eye-on {
    display: none;
}

#loginScreen.voe-login-gate .voe-pass-eye.is-on .voe-eye-off {
    display: block;
}

#loginScreen.voe-login-gate .voe-login-form .btn-login-cloud {
    margin-top: 8px;
    width: 100%;
    padding: 14px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #d4ae57, #b8923e);
    color: #1a140c;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
}

#loginScreen.voe-login-gate .voe-login-form .voe-lp-err {
    margin: 0 0 4px;
}

#loginScreen.voe-login-gate .voe-login-more {
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
}

#loginScreen.voe-login-gate .voe-login-more > summary {
    cursor: pointer;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    list-style: none;
}

#loginScreen.voe-login-gate .voe-login-more > summary::-webkit-details-marker {
    display: none;
}

#loginScreen.voe-login-gate .voe-login-form #embarqueAcessoLogin,
#loginScreen.voe-login-gate .voe-login-form #voucherSignupHost {
    display: block !important;
}

.am-base-switch {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 12px 14px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.am-base-switch span {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.am-base-switch select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(5, 7, 12, 0.7);
    color: #e8eef8;
    font-family: inherit;
}

#loginScreen.voe-login-gate .login-brand {
    margin: 0 0 6px;
    font-family: var(--font-display, Cinzel, serif);
    font-size: 30px;
    letter-spacing: 0.06em;
    text-align: center;
    color: #fff;
}

#loginScreen.voe-login-gate .login-os-line {
    margin: 0 0 14px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7eb0ff;
    text-align: center;
}

#loginScreen.voe-login-gate .login-hero-tagline {
    margin: 0 0 18px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #d4ae57;
    text-align: center;
}

#loginScreen.voe-login-gate .voe-see-base {
    margin-top: 22px;
    text-align: center;
}
#loginScreen.voe-login-gate .voe-see-base > .oswald {
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}
#loginScreen.voe-login-gate .voe-see-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
#loginScreen.voe-login-gate .voe-see-grid button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(212, 174, 87, 0.45);
    background: rgba(8, 12, 18, 0.35);
    color: #fff;
    text-align: left;
    cursor: pointer;
}
#loginScreen.voe-login-gate .voe-see-grid b {
    font-family: Oswald, sans-serif;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
}
#loginScreen.voe-login-gate .voe-see-grid span {
    font-size: 12px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.72);
}
#loginScreen.voe-login-gate .voe-see-note {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.55);
}

/* Bug: formulário Abrir Base não pode empilhar no gate */
#loginScreen .org-factory-login,
#loginScreen #orgFactoryBlock,
body.login-active #loginScreen .org-factory-login {
    display: none !important;
}

.login-entrar-base {
    display: none !important;
}

#loginScreen.voe-login-gate .login-section-label {
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
}

#loginScreen.voe-login-gate .login-profiles {
    display: none !important;
}

#loginScreen.voe-login-gate .login-profile-card--piloto {
    border-color: rgba(212, 174, 87, 0.55);
}

#loginScreen.voe-login-gate .login-profile-card--piloto .login-profile-title {
    color: #d4ae57;
}

#loginScreen.voe-login-gate .login-profile-card--gestor,
#loginScreen.voe-login-gate .login-profile-card--am {
    border-color: rgba(92, 154, 255, 0.4);
}

#loginScreen.voe-login-gate .login-profile-icon {
    color: #c8d0dc;
    background: rgba(255, 255, 255, 0.04);
}

#loginScreen.voe-login-gate .login-profile-card--gestor .login-profile-icon {
    color: #e07050;
}

#loginScreen.voe-login-gate .login-profile-card--am .login-profile-icon {
    color: #9aa8b8;
}

#loginScreen.voe-login-gate .lp-anamnese-cta[hidden],
#loginScreen.voe-login-gate #loginCloudBlock,
#loginScreen.voe-login-gate #loginDemoDivider {
    display: none !important;
}

/* Entrar na Base — deck em tela cheia */
.voe-lp-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    overflow: auto;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 174, 87, 0.14), transparent 55%),
        radial-gradient(circle at 12% 80%, rgba(92, 154, 255, 0.08), transparent 42%),
        radial-gradient(circle at 88% 70%, rgba(212, 174, 87, 0.06), transparent 40%),
        linear-gradient(180deg, #070605 0%, #0a0c12 48%, #05070c 100%);
}

.voe-lp-modal::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(212, 174, 87, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 174, 87, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 20%, transparent 75%);
}

.voe-lp-modal.open {
    display: flex;
}

.voe-lp-deck {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    min-height: 100%;
    margin: 0 auto;
    padding: 28px 24px 48px;
    color: #f4e3a8;
    box-sizing: border-box;
}

.voe-lp-deck-head {
    text-align: center;
    margin: 8px auto 28px;
    max-width: 640px;
}

.voe-lp-deck-head .voe-brand-logo {
    width: 108px;
    height: auto;
    margin: 0 auto 12px;
    display: block;
}

.voe-lp-deck-kicker {
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #d4ae57;
}

.voe-lp-deck-head h2 {
    margin: 0 0 10px;
    font-family: Cinzel, serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: 0.04em;
    color: #fff;
}

.voe-lp-deck-lead {
    margin: 0;
    font-family: system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(244, 227, 168, 0.7);
}

.voe-lp-runway {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 22px auto 0;
    font-family: Oswald, sans-serif;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(212, 174, 87, 0.55);
}

.voe-lp-runway i {
    display: block;
    width: min(72px, 12vw);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 174, 87, 0.7), transparent);
}

.voe-lp-modal-close {
    display: none;
}

.voe-lp-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: stretch;
}

@media (min-width: 960px) {
    .voe-lp-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

.voe-lp-pane {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px 20px 24px;
    border-radius: 18px;
    border: 1px solid rgba(212, 174, 87, 0.22);
    background:
        radial-gradient(circle at 50% 0%, rgba(212, 174, 87, 0.1), transparent 48%),
        linear-gradient(180deg, rgba(12, 18, 14, 0.96) 0%, rgba(7, 10, 9, 0.98) 100%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.voe-lp-pane:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 174, 87, 0.5);
}

.voe-lp-pane-n {
    display: inline-block;
    margin: 0 0 12px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(212, 174, 87, 0.28);
    background: rgba(212, 174, 87, 0.08);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #d4ae57;
}

.voe-lp-pane h3 {
    margin: 0 0 8px;
    font-family: Cinzel, serif;
    font-size: 1.35rem;
    color: #fff;
}

.voe-lp-pane > p {
    margin: 0 0 18px;
    font-family: system-ui, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(244, 227, 168, 0.68);
}

.voe-lp-pane--entrar {
    border-color: rgba(212, 174, 87, 0.45);
    background:
        radial-gradient(circle at 18% 0%, rgba(212, 174, 87, 0.18), transparent 42%),
        linear-gradient(180deg, rgba(16, 18, 12, 0.96) 0%, rgba(7, 10, 9, 0.98) 100%);
}

.voe-lp-pane--tenant {
    border-color: rgba(92, 154, 255, 0.32);
    background:
        radial-gradient(circle at 82% 0%, rgba(92, 154, 255, 0.16), transparent 44%),
        linear-gradient(180deg, rgba(10, 14, 22, 0.96) 0%, rgba(7, 10, 9, 0.98) 100%);
}

.voe-lp-pane--tenant .voe-lp-pane-n {
    border-color: rgba(92, 154, 255, 0.35);
    background: rgba(92, 154, 255, 0.1);
    color: #8ab4ff;
}

.voe-lp-pane--voucher {
    border-color: rgba(125, 206, 160, 0.32);
    background:
        radial-gradient(circle at 50% 0%, rgba(125, 206, 160, 0.14), transparent 46%),
        linear-gradient(180deg, rgba(10, 18, 14, 0.96) 0%, rgba(7, 10, 9, 0.98) 100%);
}

.voe-lp-pane--voucher .voe-lp-pane-n {
    border-color: rgba(125, 206, 160, 0.35);
    background: rgba(125, 206, 160, 0.1);
    color: #9bd4b4;
}

.voe-lp-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #fff;
    color: #222;
    font-family: Oswald, sans-serif;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.voe-lp-google svg {
    width: 18px;
    height: 18px;
}

.voe-lp-google:disabled {
    opacity: 0.65;
    cursor: wait;
}

.voe-lp-err {
    margin: 12px 0 0;
    color: #e07070;
    font-size: 12px;
    text-align: center;
}

.voe-lp-email-fallback {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 8px;
}

.voe-lp-email-fallback .oswald {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.voe-lp-email-fallback input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.voe-lp-email-fallback .btn-login-cloud {
    margin-top: 6px;
    width: 100%;
    padding: 12px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #d4ae57, #b8923e);
    color: #1a140c;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
}

.voe-lp-pane--tenant,
.voe-lp-pane.voe-lp-tenant,
.voe-lp-demo,
.voe-lp-tenet {
    margin-top: 0;
    padding-top: 22px;
    border-top: 0;
}

.voe-lp-demo-btns {
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.voe-lp-demo-btns button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    text-align: left;
    font-family: Oswald, sans-serif;
    cursor: pointer;
}

.voe-lp-demo-btns button span {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d4ae57;
}

.voe-lp-demo-btns button em {
    font-style: normal;
    font-size: 12px;
    color: rgba(244, 227, 168, 0.55);
    font-family: system-ui, sans-serif;
}

.voe-lp-demo-btns button:hover {
    border-color: rgba(212, 174, 87, 0.5);
    background: rgba(212, 174, 87, 0.1);
}

.voe-lp-demo-btns button.voe-lp-demo-adm {
    border-color: rgba(212, 174, 87, 0.65);
    background: rgba(212, 174, 87, 0.12);
}

.voe-lp-convite {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed rgba(125, 206, 160, 0.28);
}

.voe-lp-modal #embarqueAcessoLogin {
    display: block;
}

.voe-lp-modal .embarque-acesso-login {
    margin: 0;
    max-width: none;
    padding: 8px 0 0;
    border: 0;
    background: transparent;
}

.voe-lp-modal .embarque-acesso-kicker,
.voe-lp-modal .embarque-acesso-title,
.voe-lp-pane--voucher .voucher-kicker {
    display: none;
}

.voe-lp-modal .embarque-acesso-sub {
    margin: 0 0 12px;
    font-size: 13px;
    color: rgba(244, 227, 168, 0.65);
}

.voe-lp-pane .voucher-signup {
    display: grid;
    gap: 10px;
}

.voe-lp-pane .voucher-input {
    width: 100%;
    margin-top: 4px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.voe-lp-pane .voucher-hint {
    min-height: 1.2em;
    font-size: 12px;
    color: rgba(244, 227, 168, 0.55);
}

.voe-lp-pane .voucher-signup label,
.voe-lp-pane #voucherFields label {
    display: grid;
    gap: 4px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(244, 227, 168, 0.55);
}

.voe-lp-pane .btn-outline,
.voe-lp-pane .btn-gold {
    width: 100%;
    margin-top: 4px;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.voe-lp-pane .btn-outline {
    border: 1px solid rgba(125, 206, 160, 0.4);
    background: transparent;
    color: #9bd4b4;
}

.voe-lp-pane .btn-gold {
    border: 0;
    background: linear-gradient(180deg, #d4ae57, #b8923e);
    color: #1a140c;
}

/* Login claro segue o tema salvo (Visual) */
body.light-mode #loginScreen.voe-login-gate {
    background: #f4f6f9;
}

body.light-mode #loginScreen.voe-login-gate .login-box {
    background: #fff !important;
    border: 1px solid rgba(12, 43, 91, 0.12) !important;
    box-shadow: 0 16px 48px rgba(12, 43, 91, 0.08);
}

body.light-mode #loginScreen.voe-login-gate .login-brand {
    color: #0c2b5b;
}

body.light-mode #loginScreen.voe-login-gate .login-os-line {
    color: #3d6db5;
}

body.light-mode #loginScreen.voe-login-gate .login-hero-tagline {
    color: #8a6f2e;
}

body.light-mode #loginScreen.voe-login-gate .login-section-label {
    color: #1a2433;
}

body.light-mode #loginScreen.voe-login-gate .voe-login-form > .oswald,
body.light-mode #loginScreen.voe-login-gate .voe-login-more > summary {
    color: rgba(12, 43, 91, 0.55);
}

body.light-mode #loginScreen.voe-login-gate .voe-login-form input {
    border-color: rgba(12, 43, 91, 0.16);
    background: #f7f9fc;
    color: #0c2b5b;
}

body.light-mode #loginScreen.voe-login-gate .voe-pass-eye,
body.hud-skin.light-mode #loginScreen.voe-login-gate .voe-pass-eye {
    color: rgba(12, 43, 91, 0.62);
}

body.light-mode .am-base-switch {
    border-color: rgba(12, 43, 91, 0.12);
    background: rgba(12, 43, 91, 0.04);
}

body.light-mode .am-base-switch select {
    background: #fff;
    color: #0c2b5b;
    border-color: rgba(12, 43, 91, 0.16);
}

body.light-mode #loginScreen.voe-login-gate .login-profile-icon {
    color: #3d4a5c;
    background: rgba(12, 43, 91, 0.06);
}

body.light-mode .voe-lp-modal {
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 174, 87, 0.18), transparent 55%),
        linear-gradient(180deg, #f7f4ec 0%, #eef1f6 100%);
}

body.light-mode .voe-lp-deck-head h2,
body.light-mode .voe-lp-pane h3 {
    color: #0c2b5b;
}

body.light-mode .voe-lp-deck-lead,
body.light-mode .voe-lp-pane > p {
    color: rgba(26, 36, 51, 0.68);
}

body.light-mode .voe-lp-modal-close {
    background: #fff;
    color: #8a6f2e;
    border-color: rgba(166, 134, 60, 0.35);
}

body.light-mode .voe-lp-pane {
    background: #fff;
    border-color: rgba(12, 43, 91, 0.12);
}

body.light-mode .voe-lp-pane--entrar {
    background:
        radial-gradient(circle at 18% 0%, rgba(212, 174, 87, 0.16), transparent 42%),
        #fff;
}

body.light-mode .voe-lp-pane--tenant {
    background:
        radial-gradient(circle at 82% 0%, rgba(92, 154, 255, 0.12), transparent 44%),
        #fff;
}

body.light-mode .voe-lp-pane--voucher {
    background:
        radial-gradient(circle at 50% 0%, rgba(125, 206, 160, 0.12), transparent 46%),
        #fff;
}

body.light-mode .voe-lp-email-fallback,
body.light-mode .voe-lp-convite {
    border-top-color: rgba(12, 43, 91, 0.1);
}

body.light-mode .voe-lp-email-fallback .oswald {
    color: rgba(26, 36, 51, 0.55);
}

body.light-mode .voe-lp-email-fallback input,
body.light-mode .voe-lp-pane .voucher-input {
    border-color: rgba(12, 43, 91, 0.16);
    background: #f4f6f9;
    color: #1a2433;
}

body.light-mode .voe-lp-demo-btns button {
    border-color: rgba(12, 43, 91, 0.14);
    background: #f4f6f9;
    color: #1a2433;
}

body.light-mode .voe-lp-demo-btns button span {
    color: #8a6f2e;
}

body.light-mode .voe-lp-demo-btns button em {
    color: rgba(26, 36, 51, 0.55);
}

body.light-mode .voe-lp-demo-btns button.voe-lp-demo-adm {
    border-color: rgba(166, 134, 60, 0.65);
    color: #8a6f2e;
    background: rgba(212, 174, 87, 0.12);
}

body.light-mode .voe-lp-runway {
    color: rgba(138, 111, 46, 0.7);
}

body.light-mode .voe-lp-modal .embarque-acesso-sub,
body.light-mode .voe-lp-modal .embarque-acesso-label,
body.light-mode .voe-lp-modal .embarque-acesso-terms {
    color: #1a2433;
}

body.light-mode .voe-lp-modal .embarque-acesso-input {
    border-color: rgba(12, 43, 91, 0.16);
    background: #f4f6f9;
    color: #1a2433;
}

.login-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.login-visual-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.login-visual-btns {
    display: flex;
    gap: 6px;
}

.login-visual-btn {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.login-visual-btn.is-on {
    border-color: var(--ouro, #d4ae57);
    color: var(--ouro, #d4ae57);
    background: rgba(212, 174, 87, 0.12);
}

body.light-mode .login-visual {
    border-top-color: rgba(12, 43, 91, 0.1);
}

body.light-mode .login-visual-label {
    color: rgba(26, 36, 51, 0.5);
}

body.light-mode .login-visual-btn {
    border-color: rgba(12, 43, 91, 0.14);
    color: #3d4a5c;
}

body.light-mode .login-visual-btn.is-on {
    border-color: #a6863c;
    color: #8a6f2e;
    background: rgba(212, 174, 87, 0.16);
}

/* Pista única: Hangar / Torre / AM veem só o próprio login */
.voe-lp-deck[data-pista="hangar"] .voe-lp-pane--voucher,
.voe-lp-deck[data-pista="torre"] .voe-lp-pane--voucher,
.voe-lp-deck[data-pista="am"] .voe-lp-pane--voucher {
    display: none;
}

.voe-lp-deck[data-pista="hangar"] [data-pista-btn]:not([data-pista-btn="hangar"]),
.voe-lp-deck[data-pista="torre"] [data-pista-btn]:not([data-pista-btn="torre"]),
.voe-lp-deck[data-pista="am"] [data-pista-btn]:not([data-pista-btn="am"]) {
    display: none;
}

@media (min-width: 960px) {
    .voe-lp-deck[data-pista="hangar"] .voe-lp-cards,
    .voe-lp-deck[data-pista="torre"] .voe-lp-cards,
    .voe-lp-deck[data-pista="am"] .voe-lp-cards {
        grid-template-columns: repeat(2, minmax(0, 460px));
        justify-content: center;
    }
}

/* Painel de avião — decolagem e pouso */
.voe-fd {
    position: fixed;
    inset: 0;
    z-index: 200000;
    display: none;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    background: #05070c;
    color: #f4e3a8;
}

.voe-fd.is-on {
    display: flex;
}

body.voe-fd-open {
    overflow: hidden;
}

.voe-fd-sky {
    position: absolute;
    inset: 0 0 48% 0;
    background:
        radial-gradient(ellipse at 50% 110%, rgba(212, 174, 87, 0.16), transparent 42%),
        linear-gradient(180deg, #0a1a33 0%, #163a6a 55%, #2a6aa8 100%);
}

.voe-fd-ground {
    position: absolute;
    inset: 52% 0 0 0;
    background:
        repeating-linear-gradient(90deg, rgba(212, 174, 87, 0.12) 0 2px, transparent 2px 28px),
        linear-gradient(180deg, #3a2410 0%, #1a120c 40%, #0a0806 100%);
}

.voe-fd-horizon {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    margin-top: -2px;
    background: linear-gradient(90deg, transparent, #d4ae57 12%, #f4e3a8 50%, #d4ae57 88%, transparent);
    box-shadow: 0 0 24px rgba(212, 174, 87, 0.55);
}

.voe-fd-scan {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.03) 0 1px,
        transparent 1px 4px
    );
}

.voe-fd-bezel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(920px, calc(100% - 32px));
    margin: auto;
    padding: 36px 28px 40px;
    border-radius: 28px;
    border: 2px solid rgba(212, 174, 87, 0.45);
    background:
        radial-gradient(circle at 50% 0%, rgba(212, 174, 87, 0.14), transparent 46%),
        linear-gradient(180deg, rgba(8, 10, 14, 0.92) 0%, rgba(5, 7, 12, 0.96) 100%);
    box-shadow:
        0 0 0 8px rgba(7, 8, 12, 0.85),
        0 0 0 10px rgba(212, 174, 87, 0.25),
        0 30px 80px rgba(0, 0, 0, 0.55);
    text-align: center;
}

.voe-fd-dials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-bottom: 22px;
}

.voe-fd-dial {
    padding: 12px 10px;
    border-radius: 14px;
    border: 1px solid rgba(212, 174, 87, 0.28);
    background: rgba(0, 0, 0, 0.35);
}

.voe-fd-dial span {
    display: block;
    font-family: Oswald, sans-serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(212, 174, 87, 0.7);
    margin-bottom: 6px;
}

.voe-fd-dial b {
    display: block;
    font-family: Oswald, sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.25;
    color: #fff;
    overflow-wrap: anywhere;
}

.voe-fd-kicker {
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #d4ae57;
}

.voe-fd h1 {
    margin: 0 0 12px;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    letter-spacing: 0.04em;
    color: #fff;
    line-height: 1.15;
}

.voe-fd-lead {
    margin: 0 0 22px;
    max-width: 560px;
    font-family: system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(244, 227, 168, 0.72);
}

.voe-fd-body {
    width: 100%;
    max-height: min(42vh, 360px);
    overflow: auto;
    text-align: left;
    margin-bottom: 22px;
}

.voe-fd-log {
    margin: 0;
    padding: 0 0 0 18px;
    font-family: system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(244, 227, 168, 0.88);
}

.voe-fd-log em {
    color: #d4ae57;
    font-style: normal;
}

.voe-fd-log span {
    display: block;
    color: rgba(244, 227, 168, 0.5);
    font-size: 12px;
}

.voe-fd-alerts {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(232, 140, 90, 0.45);
    background: rgba(90, 32, 18, 0.35);
}

.voe-fd-alerts-k {
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #e8b48a;
}

.voe-fd-alerts ul {
    margin: 0;
    padding: 0 0 0 18px;
    font-family: system-ui, sans-serif;
    font-size: 14px;
    color: #f4e3a8;
}

.voe-fd-sent {
    margin: 10px 0 0;
    font-family: system-ui, sans-serif;
    font-size: 13px;
    color: #d4ae57;
}

.voe-fd-cta {
    min-width: 220px;
    padding: 14px 28px;
    border: 0;
    border-radius: 999px;
    background: #d4ae57;
    color: #1a1408;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
}

.voe-fd-cta:hover {
    filter: brightness(1.08);
}

.voe-fd[data-mode="landing"] .voe-fd-sky {
    background: linear-gradient(180deg, #1a1020 0%, #3a1a18 50%, #6a3a18 100%);
}

@media (max-width: 640px) {
    .voe-fd-dials {
        grid-template-columns: 1fr;
    }
    .voe-fd-bezel {
        padding: 24px 16px 28px;
        width: calc(100% - 16px);
    }
}

/* Clearance no modo claro — papel, marinho, título legível */
body.light-mode .voe-fd {
    background: #f6f3ec;
    color: #1c2430;
}

body.light-mode .voe-fd-sky {
    background: linear-gradient(180deg, #d9e4f2 0%, #eef2f7 70%, #f6f3ec 100%);
}

body.light-mode .voe-fd-ground {
    background:
        repeating-linear-gradient(90deg, rgba(12, 43, 91, 0.06) 0 1px, transparent 1px 28px),
        linear-gradient(180deg, #efe6d2 0%, #f6f3ec 100%);
}

body.light-mode .voe-fd-horizon {
    box-shadow: none;
    opacity: 0.55;
}

body.light-mode .voe-fd-scan {
    opacity: 0.25;
}

body.light-mode .voe-fd-bezel {
    background: #ffffff;
    border: 1px solid rgba(12, 43, 91, 0.12);
    box-shadow: 0 24px 60px rgba(12, 43, 91, 0.1);
}

body.light-mode .voe-fd-dial {
    background: #f7f5f0;
    border-color: rgba(12, 43, 91, 0.1);
}

body.light-mode .voe-fd-dial span,
body.light-mode .voe-fd-kicker {
    color: #8a6d2f;
}

body.light-mode .voe-fd-dial b,
body.light-mode .voe-fd h1 {
    color: #0c2b5b !important;
}

body.light-mode .voe-fd-lead {
    color: #3d4c5c;
}

body.light-mode .voe-fd[data-mode="landing"] .voe-fd-sky {
    background: linear-gradient(180deg, #f3e6dc 0%, #f6f3ec 100%);
}

.voe-fd.is-cinema .voe-fd-dial {
    animation: fdDial 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.voe-fd.is-cinema .voe-fd-dial:nth-child(2) { animation-delay: 0.16s; }
.voe-fd.is-cinema .voe-fd-dial:nth-child(3) { animation-delay: 0.32s; }
.voe-fd.is-cinema .voe-fd-horizon {
    animation: fdHorizon 1.15s ease both;
}
.voe-fd.is-lifting .voe-fd-bezel {
    animation: fdLift 0.68s ease forwards;
}
.voe-fd-plane {
    position: absolute;
    z-index: 3;
    width: 84px;
    height: 32px;
    left: 72%;
    top: 16%;
    color: #f4e3a8;
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.45));
}
.voe-fd.is-landing .voe-fd-plane {
    opacity: 1;
    animation: fdLand 1.7s cubic-bezier(0.22, 0.7, 0.2, 1) forwards;
}
.voe-fd.is-landing:not(.is-landed) .voe-fd-bezel {
    opacity: 0;
    animation: fdCardIn 0.55s ease 1.25s forwards;
}
.voe-fd.is-landed .voe-fd-bezel {
    opacity: 1;
    transform: none;
}
@keyframes fdLand {
    0% { left: 86%; top: 8%; transform: rotate(-18deg); opacity: 0; }
    12% { opacity: 1; }
    72% { left: 46%; top: 42%; transform: rotate(-4deg); }
    100% { left: 38%; top: 47%; transform: rotate(0deg); opacity: 1; }
}
@keyframes fdCardIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
@keyframes fdDial {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
@keyframes fdHorizon {
    from { transform: scaleX(0.15); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}
@keyframes fdLift {
    to { transform: translateY(-28px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .voe-fd.is-cinema .voe-fd-dial,
    .voe-fd.is-cinema .voe-fd-horizon,
    .voe-fd.is-lifting .voe-fd-bezel,
    .voe-fd.is-landing .voe-fd-plane,
    .voe-fd.is-landing .voe-fd-bezel { animation: none; }
    .voe-fd.is-landing .voe-fd-bezel,
    .voe-fd.is-landed .voe-fd-bezel { opacity: 1; }
}
