/* Landing page pública: apresentação, perfil e acesso existente. */
#gate:has(#lg:not([hidden])){position:fixed;inset:0;display:block;overflow:auto;padding:0;background:radial-gradient(circle at 15% 20%,#112240 0%,#0b192c 60%,#060e1a 100%);color:#f1f5f9}
#gate:has(#lg:not([hidden])) .mf-landing{display:block;min-height:100vh;padding:24px;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
#gate:not(:has(#lg:not([hidden]))) .mf-landing{display:none}
.mf-hero-wrapper{width:min(1200px,100%);margin:0 auto}
.mf-hero-header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:8px 0 24px;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:clamp(28px,5vh,48px)}
.mf-brand{display:flex;align-items:center;gap:12px;color:#fff;font-size:1.25rem;font-weight:750}
.mf-brand-icon{width:42px;height:42px;border-radius:12px;background:#fff;display:grid;place-items:center;overflow:hidden}
.mf-brand-icon img{width:100%;height:100%;object-fit:cover}
.mf-btn-login-shortcut{padding:10px 16px;border:1px solid rgba(255,255,255,.2);border-radius:9px;background:rgba(255,255,255,.05);color:#e2e8f0;font-weight:650;cursor:pointer}
.mf-btn-login-shortcut:hover{border-color:#10b981;background:rgba(255,255,255,.1);color:#fff}
.mf-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(350px,.85fr);gap:clamp(32px,6vw,72px);align-items:center}
#gate .mf-hero-content{max-width:650px}
.mf-badge-tag{display:inline-flex;align-items:center;gap:9px;padding:7px 13px;border:1px solid rgba(16,185,129,.3);border-radius:99px;background:rgba(16,185,129,.1);color:#6ee7b7;font-size:.82rem;font-weight:700;margin-bottom:20px}
.mf-badge-dot{width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 10px #10b981}
.mf-hero-title{margin:0 0 18px;color:#fff;font-size:clamp(2.1rem,4vw,3.25rem);font-weight:800;line-height:1.12;letter-spacing:-.04em}
.mf-highlight-green{color:#34d399}
.mf-hero-subtitle{max-width:590px;margin:0 0 26px;color:#b5c2d1;font-size:1.03rem;line-height:1.65}
.mf-profile-switch{display:flex;gap:6px;max-width:470px;padding:5px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(3,12,27,.55);margin-bottom:22px}
.mf-tab-btn{flex:1;min-height:44px;padding:9px 12px;border:1px solid transparent;border-radius:8px;background:transparent;color:#b7c4d4;font-weight:650;cursor:pointer}
.mf-tab-btn.active{border-color:rgba(52,211,153,.32);background:#1e293b;color:#fff}
.mf-tab-btn:focus-visible,.mf-btn-login-shortcut:focus-visible,.mf-btn-cta-primary:focus-visible{outline:3px solid #6ee7b7;outline-offset:3px}
.mf-profile-panel{max-width:600px}
#gate .mf-profile-panel{max-width:600px}
.mf-benefits-list{display:grid;gap:14px;list-style:none;margin:0 0 24px;padding:0}
.mf-benefits-list li{display:flex;align-items:flex-start;gap:11px;color:#d3dce7;font-size:.96rem;line-height:1.5}
.mf-benefits-list strong{color:#fff}
.mf-check{flex:0 0 22px;width:22px;height:22px;display:grid;place-items:center;margin-top:1px;border-radius:50%;background:rgba(16,185,129,.15);color:#34d399;font-weight:800;font-size:.8rem}
.mf-cta-group{display:flex;flex-wrap:wrap;align-items:center;gap:13px}
.mf-btn-cta-primary{min-height:48px;padding:12px 22px;border:0;border-radius:10px;background:#10b981;color:#062b20;font-size:1rem;font-weight:750;cursor:pointer;box-shadow:0 7px 24px rgba(16,185,129,.22)}
.mf-btn-cta-primary:hover{background:#34d399;transform:translateY(-1px)}
.mf-cta-note{color:#9eacbd;font-size:.82rem}
#gate .mf-hero-login-card{display:flex;width:100%;max-width:none;min-width:0;flex-direction:column;gap:14px;box-sizing:border-box;padding:clamp(24px,4vw,38px);border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(15,23,42,.82);box-shadow:0 20px 50px rgba(0,0,0,.32);backdrop-filter:blur(12px);color:#f1f5f9}
#gate .mf-card-header h2{margin:0 0 6px;color:#fff;font-size:1.45rem}
#gate .mf-card-header p{margin:0 0 6px;color:#aab9ca;font-size:.92rem}
#gate .mf-hero-login-card .f{color:#e2e8f0}
#gate .mf-hero-login-card input{border-color:#3b4b61;background:#0b1728;color:#fff}
#gate .mf-hero-login-card input::placeholder{color:#8c9aad}
#gate .mf-hero-login-card .lg-title{color:#fff;text-align:left;font-size:1.2rem}
#gate .mf-hero-login-card .lg-sub{display:none}
#gate .mf-hero-login-card .lg-sep:before,#gate .mf-hero-login-card .lg-sep:after{background:rgba(255,255,255,.16)}
#gate .mf-hero-login-card .lg-foot{border-color:rgba(255,255,255,.14)}
#gate .mf-hero-login-card .lg-foot a{color:#b8c6d6}
#gate .mf-hero-login-card #lg-google{border-color:#52627a;background:#14243a;color:#fff}
#gate .mf-hero-login-card #lg-new{border-color:#2aa77e;color:#8de4c2;background:transparent}
#gate .mf-hero-login-card #lg-new:hover{background:rgba(16,185,129,.1)}
#gate .mf-hero-login-card #lg-fg{color:#9cc8ff}
@media(max-width:900px){.mf-hero-grid{grid-template-columns:minmax(0,1fr);gap:32px}.mf-hero-content{max-width:760px}.mf-hero-login-card{max-width:600px!important;margin:0 auto}}
@media(max-width:560px){#gate:has(#lg:not([hidden])) .mf-landing{padding:14px}.mf-hero-header{padding:4px 0 16px;margin-bottom:26px}.mf-brand{font-size:1.08rem}.mf-brand-icon{width:36px;height:36px}.mf-btn-login-shortcut{padding:9px 11px;font-size:.82rem}.mf-hero-grid{gap:26px}.mf-hero-title{font-size:2rem}.mf-hero-subtitle{font-size:.96rem}.mf-tab-btn{padding:8px 7px;font-size:.85rem}.mf-benefits-list{gap:12px}.mf-cta-group{align-items:flex-start;flex-direction:column}.mf-btn-cta-primary{width:100%}#gate .mf-hero-login-card{padding:22px 18px}}
@media(prefers-reduced-motion:reduce){.mf-btn-cta-primary{transition:none}}

/* Atualização da vitrine pública: alto contraste e prévia interativa PJ/PF. */
.mf-header-actions{display:flex;align-items:center;gap:10px}
.mf-btn-cta-header{min-height:42px;padding:10px 16px;font-size:.9rem;box-shadow:none}
.mf-badge-tag{gap:10px;padding:8px 14px;border:1px solid #334155;background:#0f172a;color:#f8fafc;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.mf-badge-dot{flex:0 0 8px;background:#10b981;box-shadow:0 0 8px rgba(16,185,129,.6)}
.mf-profile-switch{gap:4px;padding:4px;border:1px solid #334155;background:#1e293b}
.mf-tab-btn{background:transparent;color:#94a3b8;font-weight:600;transition:background-color .18s ease,color .18s ease,box-shadow .18s ease}
.mf-tab-btn:hover:not(.active){background:#334155;color:#fff}
.mf-tab-btn.active{border-color:transparent;background:#10b981;color:#0b192c;font-weight:700;box-shadow:0 2px 8px rgba(16,185,129,.25)}
.mf-product-preview{min-width:0;padding:18px;border:1px solid #334155;border-radius:20px;background:linear-gradient(150deg,#14243a,#0d192c 75%);box-shadow:0 24px 65px rgba(0,0,0,.38);color:#e2e8f0}
.mf-preview-topbar,.mf-preview-balance-head,.mf-preview-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mf-preview-topbar{padding:0 2px 15px;border-bottom:1px solid #293b52}
.mf-preview-brand{display:flex;align-items:center;gap:8px;color:#fff;font-size:.92rem;font-weight:750}
.mf-preview-brand i{width:10px;height:10px;border-radius:3px;background:#10b981;box-shadow:0 0 12px rgba(16,185,129,.4)}
.mf-preview-label,.mf-preview-period{color:#91a3ba;font-size:.7rem;font-weight:650;letter-spacing:.04em}
.mf-preview-label b{color:#a7f3d0}
.mf-preview-balance{margin:14px 0;padding:17px;border:1px solid #30445d;border-radius:15px;background:#101e32}
.mf-preview-balance-head>div{display:grid;gap:5px}.mf-preview-balance-head>div>span,.mf-preview-stats span{color:#a5b4c7;font-size:.76rem}
.mf-preview-balance-head strong{color:#fff;font-size:1.55rem;letter-spacing:-.03em}
.mf-preview-stats{display:flex;gap:24px;margin-top:13px}.mf-preview-stats>div{display:grid;gap:4px}.mf-preview-stats>div:first-child b{color:#34d399}.mf-preview-stats>div:last-child b{color:#fb7185}
.mf-preview-stats b{font-size:.85rem}
.mf-preview-chart{height:46px;display:flex;align-items:flex-end;gap:7px;margin-top:14px;padding-top:8px;border-top:1px solid #263950}
.mf-preview-chart i{flex:1;height:var(--h,40%);border-radius:4px 4px 1px 1px;background:linear-gradient(0deg,rgba(16,185,129,.18),#10b981);opacity:.88}
.mf-preview-chart i:nth-child(3n){--h:70%}.mf-preview-chart i:nth-child(4n){--h:55%}.mf-preview-chart i:nth-child(5n){--h:88%}.mf-preview-chart i:nth-child(7n){--h:62%}
.mf-preview-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mf-preview-card{min-width:0;padding:14px;border:1px solid #30445d;border-radius:14px;background:#13243a}
.mf-preview-card-head{color:#dce7f4;font-size:.74rem;font-weight:700}
.mf-preview-card-head>b{padding:4px 7px;border:1px solid #3a5870;border-radius:5px;color:#a7f3d0;font-size:.65rem}
.mf-preview-more{color:#55d6ad;font-size:.68rem}
.mf-receipt-title{display:grid;gap:2px;margin:14px 0 10px;color:#fff;font-size:.88rem;font-weight:750}
.mf-receipt-title small{color:#93a7bd;font-size:.58rem;letter-spacing:.1em}
.mf-receipt-total{display:flex;justify-content:space-between;gap:6px;padding:9px 0;border-top:1px dashed #3a4b60;color:#aebed0;font-size:.67rem}
.mf-receipt-total strong{color:#fff;font-size:.75rem}
.mf-receipt-pix{display:flex;align-items:center;gap:9px;margin-top:7px;color:#dce7f4;font-size:.68rem;font-weight:650}
.mf-receipt-pix>span{display:grid;gap:3px}.mf-receipt-pix small{color:#91a3ba;font-size:.58rem;font-weight:400}
.mf-demo-qr{width:47px;height:47px;flex:0 0 47px;padding:4px;border:1px solid #3c5670;border-radius:6px;background-color:#f8fafc;background-image:repeating-conic-gradient(#0f172a 0% 25%,transparent 0% 50%);background-size:8px 8px;position:relative}
.mf-demo-qr:before,.mf-demo-qr:after{position:absolute;width:11px;height:11px;border:3px solid #0f172a;background:#f8fafc;content:"";top:5px;left:5px;box-shadow:0 0 0 1px #f8fafc}
.mf-demo-qr:after{top:auto;left:auto;right:5px;bottom:5px}
.mf-preview-list{display:grid;gap:0;margin:11px 0 0;padding:0;list-style:none}
.mf-preview-list li{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:6px;padding:9px 0;border-top:1px solid #293b52;color:#dce7f4;font-size:.67rem}
.mf-preview-list li:first-child{border-top:0}
.mf-preview-list li>b{font-size:.65rem;white-space:nowrap}.mf-preview-list .in{color:#34d399}.mf-preview-list .out{color:#fda4af}
.mf-movement-icon{width:20px;height:20px;display:grid;place-items:center;border-radius:6px;font-size:.7rem;font-style:normal}.mf-movement-icon.in{background:rgba(16,185,129,.12);color:#34d399}.mf-movement-icon.out{background:rgba(251,113,133,.12);color:#fb7185}
.mf-reserve-name{margin:17px 0 5px;color:#dce7f4;font-size:.75rem}.mf-reserve-value{display:block;color:#a7f3d0;font-size:1.15rem}
.mf-reserve-progress{height:7px;overflow:hidden;margin:13px 0 8px;border-radius:99px;background:#263950}.mf-reserve-progress i{display:block;width:62%;height:100%;border-radius:inherit;background:#10b981}
.mf-preview-reserve>small{color:#91a3ba;font-size:.62rem}
.mf-preview-disclaimer{margin:12px 2px 0;color:#8295ac;font-size:.65rem;line-height:1.4}
#gate [hidden]{display:none!important}
.mf-login-dialog{width:min(480px,calc(100% - 28px));max-width:none;max-height:min(90vh,800px);overflow:auto;padding:0;border:1px solid #3a4b60;border-radius:18px;background:#0e1c30;color:#f1f5f9;box-shadow:0 24px 80px rgba(0,0,0,.55)}
.mf-login-dialog::backdrop{background:rgba(2,8,18,.76);backdrop-filter:blur(5px)}
.mf-login-dialog-inner{padding:22px}
.mf-login-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:15px}
.mf-login-eyebrow{color:#34d399;font-size:.68rem;font-weight:750;letter-spacing:.1em}
.mf-login-dialog-head h2{margin:4px 0 0;color:#fff;font-size:1.35rem}
.mf-modal-close{width:34px;height:34px;border:1px solid #41536a;border-radius:9px;background:#182b43;color:#e2e8f0;font-size:1.45rem;line-height:1;cursor:pointer}
#gate .mf-login-dialog .mf-hero-login-card{margin:0;padding:0;border:0;background:transparent;box-shadow:none;backdrop-filter:none}
#gate .mf-login-dialog .mf-hero-login-card .lg-title{display:none}
@media(max-width:900px){.mf-hero-grid{grid-template-columns:minmax(0,1fr)}.mf-product-preview{width:min(100%,680px);margin:0 auto}}
@media(max-width:560px){.mf-header-actions{gap:7px}.mf-btn-cta-header{min-height:38px;padding:8px 10px;font-size:.75rem}.mf-header-actions .mf-btn-login-shortcut{padding:8px 10px;font-size:.78rem}.mf-product-preview{padding:12px;border-radius:16px}.mf-preview-detail-grid{grid-template-columns:1fr}.mf-preview-card{padding:12px}.mf-preview-balance-head strong{font-size:1.35rem}.mf-preview-stats{gap:18px}.mf-login-dialog-inner{padding:18px}}
@media(prefers-reduced-motion:reduce){.mf-tab-btn{transition:none}}

.mf-offer-section{width:min(1200px,100%);margin:clamp(52px,8vw,88px) auto 0;color:#e2e8f0}
.mf-offer-heading{max-width:720px;margin:0 auto 24px;text-align:center}
.mf-offer-eyebrow{margin:0 0 8px;color:#34d399;font-size:.76rem;font-weight:750;letter-spacing:.1em;text-transform:uppercase}
.mf-offer-heading h2{margin:0;color:#f8fafc;font-size:clamp(1.7rem,3vw,2.35rem);letter-spacing:-.035em}
.mf-offer-heading>p:last-child{margin:10px 0 0;color:#aebdd0;line-height:1.6}
.mf-plan-table-wrap{overflow-x:auto;border:1px solid #334155;border-radius:16px;background:#101e32;box-shadow:0 18px 48px rgba(0,0,0,.2)}
.mf-plan-table{width:100%;min-width:760px;border-collapse:collapse;text-align:center}
.mf-plan-table th,.mf-plan-table td{padding:14px 16px;border-bottom:1px solid #293b52}
.mf-plan-table thead th{width:23%;vertical-align:top;background:#13243a}
.mf-plan-table thead th:first-child{width:31%;text-align:left;vertical-align:middle;color:#b7c4d4}
.mf-plan-table thead th>strong,.mf-plan-price,.mf-plan-table thead th>small{display:block}
.mf-plan-table thead th>strong{color:#fff;font-size:1.05rem}
.mf-plan-price{margin:9px 0 3px;color:#6ee7b7;font-size:1.45rem;font-weight:800;letter-spacing:-.03em}
.mf-plan-table thead th>small{min-height:34px;color:#9eacbd;font-size:.75rem;font-weight:450;line-height:1.45}
.mf-plan-table tbody th{font-weight:550;text-align:left;color:#d6e0ec}
.mf-plan-table tbody td{color:#9eacbd}
.mf-plan-table tbody tr:last-child th,.mf-plan-table tbody tr:last-child td{border-bottom:0}
.mf-plan-check{color:#34d399;font-size:1.2rem;font-weight:800}
.mf-plan-cta{width:100%;min-height:39px;margin-top:12px;padding:8px 10px;border:0;border-radius:8px;background:#10b981;color:#062b20;font-weight:750;cursor:pointer}
.mf-plan-cta:hover{background:#34d399}
.mf-plan-note{margin:12px 2px 0;color:#9eacbd;font-size:.82rem;line-height:1.5;text-align:center}
.mf-payment-methods{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:9px;margin:20px auto 0;color:#aebdd0;font-size:.82rem}
.mf-payment-methods b{padding:6px 11px;border:1px solid #3b5069;border-radius:8px;background:#13243a;color:#f8fafc;font-size:.78rem}
.mf-security-faq{max-width:900px}
.mf-security-faq details{padding:17px 18px;border:1px solid #334155;border-radius:12px;background:#101e32}
.mf-security-faq details+details{margin-top:10px}
.mf-security-faq summary{color:#f8fafc;font-weight:700;cursor:pointer}
.mf-security-faq details p{margin:12px 0 0;color:#b7c4d4;line-height:1.65}
@media(max-width:560px){.mf-offer-section{margin-top:48px}.mf-plan-table-wrap{border-radius:12px}.mf-plan-table th,.mf-plan-table td{padding:12px}.mf-payment-methods{font-size:.75rem}.mf-security-faq details{padding:14px}}
/* The shared login styles cap every section in #gate at 380px; reset that rule for landing sections. */
#gate .mf-offer-section{display:block;box-sizing:border-box;width:min(1200px,100%);max-width:1200px;margin:clamp(40px,6vw,64px) auto 0}
#gate .mf-security-faq{max-width:900px}
@media(max-width:760px){.mf-plan-table{min-width:700px}.mf-plan-table-wrap::after{display:block;padding:7px 12px;color:#9eacbd;font-size:.72rem;content:"Deslize para comparar os planos"}}
.site-footer{margin-top:64px;padding:34px clamp(20px,5vw,72px) 20px;border-top:1px solid #293b54;background:#091629;color:#b7c4d4;font-size:14px;line-height:1.6}
.site-footer .footer-container{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:32px;max-width:1200px;margin:0 auto}
.site-footer h2{margin:0 0 12px;color:#f8fafc;font-size:15px;font-weight:700}
.site-footer p{margin:6px 0}
.site-footer ul{margin:0;padding:0;list-style:none}
.site-footer li+li{margin-top:7px}
.site-footer a{color:#6ee7b7;text-underline-offset:3px}
.site-footer a:hover{color:#a7f3d0}
.site-footer .footer-bottom{max-width:1200px;margin:26px auto 0;padding-top:16px;border-top:1px solid #293b54;color:#94a3b8;font-size:12px}
@media(max-width:700px){.site-footer{margin-top:44px;padding:28px 20px 18px}.site-footer .footer-container{grid-template-columns:1fr;gap:22px}}
/* O gate possui regras globais de h1 e button; estes seletores preservam a identidade da landing. */
#gate .mf-hero-title{display:block;color:#f8fafc}
#gate .mf-hero-title .mf-highlight-green{color:#34d399}
#gate .mf-btn-login-shortcut{border:1px solid rgba(255,255,255,.2);background:#14243a;color:#e2e8f0}
#gate .mf-btn-login-shortcut:hover{border-color:#10b981;background:#1e293b;color:#fff}
#gate .mf-tab-btn{border:1px solid transparent;background:transparent;color:#94a3b8}
#gate .mf-tab-btn:hover:not(.active){background:#334155;color:#fff}
#gate .mf-tab-btn.active{border-color:transparent;background:#10b981;color:#0b192c;box-shadow:0 2px 8px rgba(16,185,129,.25)}
#gate .mf-btn-cta-primary{border:0;background:#10b981;color:#0b192c;box-shadow:0 7px 24px rgba(16,185,129,.22)}
#gate .mf-btn-cta-primary:hover{background:#34d399;color:#0b192c}

/* Escolha de ambiente: split screen institucional com conteúdos rotativos. */
#gate:has(#ev:not([hidden])){place-items:stretch;padding:0;background:#07172b}
#gate #ev.env-screen{display:grid;grid-template-columns:minmax(430px,1fr) minmax(0,1fr);gap:0;align-items:stretch;width:100%;max-width:none;min-height:100vh;min-height:100dvh;padding:0;border:0;border-radius:0;background:#07172b;color:#f8fafc;box-shadow:none}
#gate #ev.env-screen[hidden]{display:none}
#gate .env-choice-panel{display:flex;min-width:0;flex-direction:column;justify-content:space-between;padding:clamp(28px,5vw,72px);background:linear-gradient(155deg,#0c1d34,#07172b 78%)}
#gate .env-brand{display:flex;align-items:center;gap:12px;color:#fff;font-size:1.08rem;font-weight:800}
#gate .env-brand img{width:42px;height:42px;border-radius:11px;background:#fff;object-fit:cover}
#gate .env-choice-content{width:min(100%,520px);margin:auto}
#gate .env-eyebrow{color:#34d399;font-size:.72rem;font-weight:800;letter-spacing:.13em}
#gate #ev-greeting{display:block;margin:12px 0;color:#f8fafc;font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.12;letter-spacing:-.04em}
#gate .env-intro{margin:0 0 26px;color:#aebdd0;font-size:.96rem;line-height:1.6}
#gate .env-choice-list{display:grid;gap:13px;margin-top:18px}
#gate .env-choice{display:grid;grid-template-columns:52px minmax(0,1fr) 24px;align-items:center;gap:14px;width:100%;min-height:98px;padding:17px;border:1px solid #2a405c;border-radius:16px;background:#10233c;color:#f8fafc;text-align:left;box-shadow:0 10px 28px rgba(0,0,0,.12);cursor:pointer;transition:transform .18s ease,border-color .18s ease,background-color .18s ease,box-shadow .18s ease}
#gate .env-choice[data-env="pf"]{border-left:4px solid #10b981}
#gate .env-choice[data-env="pj"]{border-left:4px solid #3478d4}
#gate .env-choice:hover{transform:translateY(-2px);border-color:#10b981;background:#142a45;box-shadow:0 14px 34px rgba(0,0,0,.24)}
#gate .env-choice:focus-visible{outline:3px solid #34d399;outline-offset:3px}
#gate .env-choice-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:13px;background:rgba(16,185,129,.12);color:#6ee7b7}
#gate .env-choice-icon.pj{background:rgba(52,120,212,.18);color:#93c5fd}
#gate .env-choice-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#gate .env-choice-copy{display:grid;gap:4px;min-width:0}
#gate .env-choice-copy>b{color:#f8fafc;font-size:1rem;line-height:1.35}
#gate .env-choice-copy>b small{color:#c4d2e2;font-size:.84em;font-weight:650}
#gate .env-choice-sub{color:#aebdd0;font-size:.82rem;line-height:1.4}
#gate .env-choice-copy .env-status{color:#6ee7b7;font-size:.72rem;font-weight:650}
#gate .env-choice-arrow{color:#8ea3bd;font-size:1.35rem;text-align:right;transition:transform .18s ease,color .18s ease}
#gate .env-choice:hover .env-choice-arrow{transform:translateX(3px);color:#6ee7b7}
#gate .env-signout{align-self:flex-start;margin-top:24px;padding:8px 0;border:0;background:transparent;color:#aebdd0;font-weight:650;cursor:pointer}
#gate .env-signout:hover{background:transparent;color:#fff;text-decoration:underline;text-underline-offset:4px}
#gate .env-security{display:flex;align-items:center;gap:11px;padding-top:22px;border-top:1px solid #263b55;color:#dce7f4}
#gate .env-security-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#10b981;box-shadow:0 0 9px rgba(16,185,129,.55)}
#gate .env-security>span:nth-child(2){display:grid;gap:3px}
#gate .env-security b{font-size:.78rem}
#gate .env-security small{color:#91a4bd;font-size:.69rem;line-height:1.4}
#gate .env-lock{margin-left:auto;color:#6ee7b7;font-size:1.2rem}
#gate .env-story-panel{position:relative;isolation:isolate;display:flex;min-width:0;min-height:100vh;min-height:100dvh;flex-direction:column;justify-content:space-between;overflow:hidden;padding:clamp(32px,6vw,84px);background:radial-gradient(ellipse at 78% 24%,rgba(16,185,129,.16),transparent 42%),linear-gradient(145deg,#102c4c,#082044 58%,#06172e);color:#f8fafc}
#gate .env-story-panel:before{position:absolute;z-index:-1;inset:0;background-image:linear-gradient(rgba(147,197,253,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(147,197,253,.035) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,black,transparent 82%);content:""}
#gate .env-story-top{display:flex;align-items:center;gap:11px;color:#d8e5f4;font-size:.7rem;font-weight:800;letter-spacing:.09em}
#gate .env-story-top b{color:#79d9ba;font-weight:700}
#gate .env-story-mark{width:36px;height:36px;display:grid;place-items:center;border:1px solid rgba(110,231,183,.4);border-radius:11px;background:rgba(16,185,129,.12);color:#6ee7b7;font-size:.75rem;letter-spacing:0}
#gate .env-carousel{width:min(100%,620px);margin:auto 0}
#gate .env-slides{position:relative;min-height:250px}
#gate .env-slide{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .45s ease,transform .45s ease,visibility .45s}
#gate .env-slide.active{opacity:1;visibility:visible;transform:translateY(0)}
#gate .env-slide-kicker{margin-bottom:16px;color:#6ee7b7;font-size:.72rem;font-weight:800;letter-spacing:.14em}
#gate .env-slide h2{display:block;margin:0 0 16px;color:#fff;font-size:clamp(2rem,3.8vw,3.35rem);line-height:1.08;letter-spacing:-.045em}
#gate .env-slide p{max-width:550px;margin:0;color:#bfcede;font-size:1.05rem;line-height:1.7}
#gate .env-carousel-controls{display:flex;align-items:center;justify-content:space-between;margin-top:30px}
#gate .env-carousel-dots{display:flex;gap:8px}
#gate .env-carousel-dots button{width:26px;min-width:26px;height:6px;min-height:6px;padding:0;border:0;border-radius:99px;background:#47617e;box-shadow:none;cursor:pointer;transition:width .2s ease,background-color .2s ease}
#gate .env-carousel-dots button:hover{background:#8da2bb}
#gate .env-carousel-dots button[aria-current="true"]{width:44px;background:#10b981}
#gate .env-carousel-dots button:focus-visible{outline:2px solid #fff;outline-offset:4px}
#gate .env-carousel-count{color:#8fa6c0;font-size:.72rem;font-weight:700;letter-spacing:.06em}
#gate .env-carousel-count b{color:#fff}
#gate .env-carousel-toggle{width:32px;min-width:32px;height:32px;min-height:32px;padding:0;border:1px solid #35516e;border-radius:9px;background:rgba(8,27,51,.72);color:#dce7f4;font-size:.82rem;line-height:1;cursor:pointer}
#gate .env-carousel-toggle:hover{border-color:#10b981;background:#123453;color:#fff}
#gate .env-trust-card{display:flex;align-items:center;gap:13px;width:min(100%,430px);padding:15px 17px;border:1px solid rgba(147,197,253,.19);border-radius:14px;background:rgba(5,20,40,.45);backdrop-filter:blur(8px)}
#gate .env-trust-icon{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;background:rgba(16,185,129,.14);color:#6ee7b7;font-weight:900}
#gate .env-trust-card>span:last-child{display:grid;gap:4px}
#gate .env-trust-card b{color:#f8fafc;font-size:.8rem}
#gate .env-trust-card small{color:#aebdd0;font-size:.7rem;line-height:1.4}
#gate .env-story-decoration{position:absolute;right:-14%;bottom:-16%;z-index:-1;width:54%;height:44%;display:flex;align-items:flex-end;gap:2.5%;opacity:.22;transform:skewY(-12deg)}
#gate .env-story-decoration i{flex:1;border-radius:8px 8px 0 0;background:linear-gradient(#34d399,rgba(16,185,129,.05))}
#gate .env-story-decoration i:nth-child(1){height:19%}#gate .env-story-decoration i:nth-child(2){height:33%}#gate .env-story-decoration i:nth-child(3){height:26%}#gate .env-story-decoration i:nth-child(4){height:48%}#gate .env-story-decoration i:nth-child(5){height:41%}#gate .env-story-decoration i:nth-child(6){height:65%}#gate .env-story-decoration i:nth-child(7){height:76%}#gate .env-story-decoration i:nth-child(8){height:100%}
@media(max-width:900px){#gate:has(#ev:not([hidden])){display:block;overflow:auto}#gate #ev.env-screen{grid-template-columns:1fr;min-height:100vh;min-height:100dvh}#gate .env-choice-panel{min-height:650px;padding:28px clamp(22px,7vw,56px)}#gate .env-story-panel{min-height:520px;padding:36px clamp(22px,7vw,56px)}#gate .env-slides{min-height:230px}}
@media(max-width:560px){#gate #ev.env-screen{display:flex;flex-direction:column}#gate .env-choice-panel{min-height:650px;padding:22px 18px}#gate .env-brand img{width:36px;height:36px}#gate #ev-greeting{font-size:1.8rem}#gate .env-choice{grid-template-columns:44px minmax(0,1fr) 18px;gap:10px;min-height:92px;padding:13px}#gate .env-choice-icon{width:42px;height:42px}#gate .env-choice-copy>b{font-size:.9rem}#gate .env-choice-sub{font-size:.74rem}#gate .env-story-panel{min-height:510px;padding:28px 20px}#gate .env-slide h2{font-size:2rem}#gate .env-slide p{font-size:.92rem}}
@media(prefers-reduced-motion:reduce){#gate .env-slide,#gate .env-carousel-dots button,#gate .env-choice,#gate .env-choice-arrow{transition:none}}

/* Cofre de desbloqueio: mantém intacta a validação e recuperação já existentes. */
#gate:has(#pw:not([hidden])){place-items:stretch;padding:0;background:radial-gradient(circle at 50% 20%,#132238 0%,#0b192c 100%)}
#gate #pw.mf-cofre-card{display:flex;width:min(100%,440px);max-width:440px;flex-direction:column;gap:0;margin:auto;padding:36px 32px;border:1px solid rgba(255,255,255,.08);border-radius:20px;background:#0f1e33;color:#f1f5f9;box-shadow:0 25px 50px -12px rgba(0,0,0,.5)}
#gate #pw.mf-cofre-card[hidden]{display:none}
#gate .mf-cofre-header{display:flex;flex-direction:column;align-items:center;margin-bottom:28px;text-align:center}
#gate .mf-cofre-icon-wrap{width:56px;height:56px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:14px;border:1px solid rgba(16,185,129,.3);border-radius:16px;background:rgba(16,185,129,.12)}
#gate .mf-cofre-shield{width:28px;height:28px;color:#10b981}
#gate .mf-cofre-badge{display:inline-block;margin-bottom:12px;padding:4px 12px;border-radius:20px;background:rgba(16,185,129,.15);color:#34d399;font-size:11px;font-weight:700;letter-spacing:.8px;text-transform:uppercase}
#gate #pw .mf-cofre-titulo{display:block;margin:0 0 8px;color:#fff;font-size:22px;font-weight:700;letter-spacing:-.3px}
#gate #pw .mf-cofre-subtitulo{margin:0;color:#94a3b8;font-size:13.5px;line-height:1.5}
#gate .mf-campo-grupo{margin-bottom:20px}
#gate .mf-campo-label{display:block;margin-bottom:8px;color:#cbd5e1;font-size:13px;font-weight:600}
#gate .mf-input-wrapper{position:relative;display:flex;align-items:center}
#gate #pw .mf-input-senha{width:100%;height:48px;box-sizing:border-box;padding:0 80px 0 16px;border:1px solid #334155;border-radius:12px;outline:none;background:#081322;color:#fff;font-size:15px;transition:border-color .2s,box-shadow .2s}
#gate #pw .mf-input-senha:focus{border-color:#10b981;box-shadow:0 0 0 3px rgba(16,185,129,.2)}
#gate .mf-btn-toggle-senha{position:absolute;right:8px;padding:6px 8px;border:0;border-radius:6px;background:transparent;color:#94a3b8;font-size:12.5px;font-weight:650;cursor:pointer}
#gate .mf-btn-toggle-senha:hover{background:transparent;color:#34d399}
#gate #pw .mf-pw-repeat{display:grid;gap:7px;margin:0 0 16px;color:#cbd5e1;font-size:13px;font-weight:600}
#gate #pw .mf-pw-repeat input{width:100%;min-height:46px;box-sizing:border-box;padding:10px 14px;border:1px solid #334155;border-radius:11px;background:#081322;color:#fff}
#gate #pw .mf-pw-confirm{display:flex;align-items:flex-start;gap:9px;margin:0 0 14px;color:#aebdd0;font-size:.73rem;line-height:1.45}
#gate #pw .mf-pw-confirm input{width:17px;min-height:17px;flex:0 0 17px;margin:1px 0 0;accent-color:#10b981}
#gate #pw .mf-cofre-message{min-height:0;margin:0 0 12px;color:#fda4af;font-size:.82rem;line-height:1.45}
#gate #pw .mf-btn-desbloquear{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:50px;padding:0 16px;border:0;border-radius:12px;background:#10b981;color:#06221a;font-size:15px;font-weight:750;cursor:pointer;transition:background-color .2s,transform .1s}
#gate #pw .mf-btn-desbloquear:hover:not(:disabled){background:#059669;color:#fff}
#gate #pw .mf-btn-desbloquear:active{transform:scale(.99)}
#gate #pw .mf-btn-desbloquear:disabled{cursor:wait;opacity:.7}
#gate #pw .mf-btn-desbloquear svg{width:18px;height:18px}
#gate .mf-cofre-links{display:flex;flex-direction:column;align-items:center;gap:11px;margin-top:20px}
#gate #pw .mf-link-secundario,#gate #pw .mf-link-voltar{padding:7px;border:0;background:transparent;font-size:.82rem;cursor:pointer}
#gate #pw .mf-link-secundario{color:#a7f3d0}
#gate #pw .mf-link-secundario:hover{background:transparent;color:#fff;text-decoration:underline}
#gate #pw .mf-link-voltar{color:#94a3b8}
#gate #pw .mf-link-voltar:hover{background:transparent;color:#e2e8f0}
@media(max-width:560px){#gate #pw.mf-cofre-card{padding:30px 22px;border-radius:18px}}

/* Cofre em duas colunas: ação de desbloqueio e dica contextual PF/PJ. */
#gate:has(#pw:not([hidden])){display:grid;place-items:center;overflow:auto;padding:0;background:radial-gradient(circle at 50% 20%,#112239 0%,#070e18 100%)}
#gate .mf-cofre-wrapper{display:none;box-sizing:border-box;width:100%;min-height:100vh;min-height:100dvh;align-items:center;justify-content:center;padding:32px 20px;color:#f1f5f9;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
#gate:has(#pw:not([hidden])) .mf-cofre-wrapper{display:flex}
#gate .mf-cofre-container{display:grid;grid-template-columns:minmax(0,460px) minmax(0,480px);gap:32px;width:min(100%,1000px);align-items:center}
#gate #pw.mf-cofre-card{width:100%;max-width:460px;margin:0;padding:40px 36px;border:1px solid rgba(255,255,255,.08);border-radius:20px;background:rgba(14,25,43,.97);box-shadow:0 25px 50px -12px rgba(0,0,0,.5),0 0 30px rgba(16,185,129,.04);color:#f1f5f9}
#gate #pw .mf-cofre-form-content{display:flex;flex-direction:column;gap:0}
#gate #pw .mf-cofre-header{margin-bottom:28px;text-align:center}
#gate #pw .mf-cofre-icon-wrap{width:58px;height:58px;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;border:1px solid rgba(16,185,129,.25);border-radius:16px;background:rgba(16,185,129,.1)}
#gate #pw .mf-cofre-shield{width:28px;height:28px;color:#10b981}
#gate #pw .mf-cofre-badge{display:inline-block;margin-bottom:12px;padding:4px 12px;border-radius:20px;background:rgba(16,185,129,.15);color:#34d399;font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase}
#gate #pw .mf-cofre-titulo{display:block;margin:0 0 8px;color:#fff;font-size:24px;font-weight:750}
#gate #pw .mf-cofre-subtitulo{margin:0;color:#94a3b8;font-size:13.5px;line-height:1.5}
#gate #pw .mf-campo-grupo{margin:0 0 20px}
#gate #pw .mf-campo-label{display:block;margin-bottom:8px;color:#cbd5e1;font-size:12.5px;font-weight:600}
#gate #pw .mf-input-wrapper{position:relative;display:flex;align-items:center;margin:0}
#gate #pw .mf-input-senha{width:100%;height:48px;box-sizing:border-box;padding:0 82px 0 16px;border:1.5px solid #1e293b;border-radius:10px;background:#091321;color:#fff;font-size:14.5px;transition:border-color .2s,box-shadow .2s}
#gate #pw .mf-input-senha:focus{outline:none;border-color:#10b981;box-shadow:0 0 0 3px rgba(16,185,129,.18)}
#gate #pw .mf-btn-toggle-senha{position:absolute;top:50%;right:10px;transform:translateY(-50%);padding:6px;border:0;background:transparent;color:#94a3b8;font-size:12px;font-weight:650;cursor:pointer}
#gate #pw .mf-btn-toggle-senha:hover{background:transparent;color:#cbd5e1}
#gate #pw .mf-pw-repeat{display:grid;gap:7px;margin:0 0 16px;color:#cbd5e1;font-size:.82rem;font-weight:600}
#gate #pw .mf-pw-repeat input{width:100%;min-height:46px;box-sizing:border-box;padding:10px 14px;border:1px solid #334155;border-radius:10px;background:#091321;color:#fff}
#gate #pw .mf-pw-confirm{margin:0 0 16px;color:#aebdd0}
#gate #pw .mf-cofre-message{margin:0 0 12px;color:#fda4af}
#gate #pw .mf-btn-desbloquear{width:100%;height:50px;display:flex;align-items:center;justify-content:center;gap:9px;padding:0 16px;border:0;border-radius:10px;background:#10b981;color:#042f1a;font-size:15px;font-weight:700;box-shadow:0 4px 14px rgba(16,185,129,.25);cursor:pointer;transition:transform .15s ease,background .2s ease}
#gate #pw .mf-btn-desbloquear:hover:not(:disabled){transform:translateY(-1px);background:#059669;color:#fff}
#gate #pw .mf-btn-desbloquear:disabled{cursor:wait;opacity:.72}
#gate #pw .mf-btn-desbloquear svg{width:18px;height:18px}
#gate #pw .mf-cofre-links{display:flex;flex-direction:column;align-items:center;gap:13px;margin-top:22px}
#gate #pw .mf-link-secundario,#gate #pw .mf-link-voltar{padding:6px;border:0;background:transparent;font-size:12.5px;cursor:pointer}
#gate #pw .mf-link-secundario{color:#60a5fa;text-decoration:none}
#gate #pw .mf-link-secundario:hover{background:transparent;color:#bfdbfe;text-decoration:underline}
#gate #pw .mf-link-voltar{color:#94a3b8}
#gate #pw .mf-link-voltar:hover{background:transparent;color:#e2e8f0}
#gate .mf-painel-lateral{display:flex;flex-direction:column;gap:24px;min-width:0;padding:10px 16px;color:#f1f5f9}
#gate .mf-lateral-tag{color:#34d399;font-size:11.5px;font-weight:700;letter-spacing:.8px}
#gate .mf-lateral-titulo{display:block;margin:7px 0 0;color:#e2e8f0;font-size:clamp(1.5rem,2.3vw,2rem);font-weight:750;line-height:1.3}
#gate .mf-card-dica{position:relative;padding:22px 24px;border:1px solid rgba(16,185,129,.22);border-radius:16px;background:linear-gradient(135deg,rgba(16,185,129,.09),rgba(11,25,44,.8))}
#gate .mf-dica-header{display:flex;align-items:center;gap:9px;margin-bottom:11px}
#gate .mf-dica-icone{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:rgba(16,185,129,.14);color:#6ee7b7;font-size:1rem}
#gate .mf-dica-label{color:#34d399;font-size:12px;font-weight:750;letter-spacing:.05em;text-transform:uppercase}
#gate .mf-dica-texto{margin:0 0 12px;color:#f1f5f9;font-size:14px;font-style:italic;line-height:1.65}
#gate .mf-dica-autor{display:block;color:#94a3b8;font-size:11.5px;text-align:right}
#gate .mf-pilulas-grid{display:flex;flex-direction:column;gap:12px}
#gate .mf-pilula-item{display:flex;align-items:flex-start;gap:13px;padding:13px 15px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:rgba(255,255,255,.025)}
#gate .mf-pilula-ico{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border:1px solid #365174;border-radius:8px;background:rgba(52,120,212,.12);color:#93c5fd;font-size:1rem}
#gate .mf-pilula-item strong{display:block;margin-bottom:3px;color:#e2e8f0;font-size:13px}
#gate .mf-pilula-item p{margin:0;color:#aebdd0;font-size:12px;line-height:1.5}
#gate .mf-lateral-rodape{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#94a3b8;font-size:12px}
#gate .mf-link-suporte{color:#6ee7b7;font-weight:650;text-decoration:none}
#gate .mf-link-suporte:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:900px){#gate .mf-cofre-container{grid-template-columns:minmax(0,440px);justify-content:center;max-width:480px}#gate .mf-painel-lateral{display:none}#gate #pw.mf-cofre-card{padding:36px 32px}}
@media(max-width:520px){#gate .mf-cofre-wrapper{padding:18px 14px}#gate #pw.mf-cofre-card{padding:30px 22px;border-radius:18px}#gate #pw .mf-cofre-titulo{font-size:22px}}
@media(prefers-reduced-motion:reduce){#gate #pw .mf-input-senha,#gate #pw .mf-btn-desbloquear{transition:none}}
