/* Bizu — splash animada e onboarding (só na primeira abertura ou depois de reinstalar) */
#splash, #onb { position:fixed; inset:0; z-index:50; font-family:"Plus Jakarta Sans", system-ui, -apple-system, Roboto, sans-serif; }
#splash[hidden], #onb[hidden] { display:none !important; }
#splash { background:#6F2DCD; color:#fff; overflow:hidden; transition:opacity .45s ease; }
#splash.sai { opacity:0; pointer-events:none; }
#splash .glow { position:absolute; left:50%; top:42%; width:520px; height:520px; margin:-260px 0 0 -260px; border-radius:50%; background:radial-gradient(circle,#8B4BE6 0%,rgba(111,45,205,0) 68%); }
#splash .palco { position:absolute; left:50%; top:42%; width:0; height:0; }
#splash .ring { position:absolute; left:-110px; top:-110px; width:220px; height:220px; border-radius:50%; border:3px solid #FFC21A; opacity:0; animation:sp-ring 2s ease-out 1.5s infinite; }
#splash .ring:nth-child(2) { animation-delay:2.16s; } #splash .ring:nth-child(3) { animation-delay:2.83s; }
#splash .mascote { position:absolute; left:-145px; top:-170px; width:290px; height:290px; }
#splash .mascote img { position:absolute; left:0; bottom:0; width:290px; height:auto; -webkit-mask-image:linear-gradient(to bottom,#000 62%,transparent 97%); mask-image:linear-gradient(to bottom,#000 62%,transparent 97%); }
#splash .dorme { animation:sp-dorme 3.2s both; }
#splash .ativo { opacity:0; transform-origin:50% 100%; animation:sp-ativo .7s 1.4s both; }
#splash .nome { position:absolute; left:0; right:0; top:calc(42% + 150px); text-align:center; font-size:56px; line-height:1; font-weight:800; letter-spacing:-1.5px; opacity:0; animation:sp-sobe .6s 1.9s both; }
#splash .papel { position:absolute; left:0; right:0; top:calc(42% + 222px); display:flex; justify-content:center; opacity:0; animation:sp-pop .5s 2.3s both; }
#splash .papel span { padding:7px 18px; border-radius:20px; background:#FFC21A; color:#2B2000; font-size:15px; font-weight:800; letter-spacing:.5px; }
#splash .frase { position:absolute; left:40px; right:40px; top:calc(42% + 280px); text-align:center; font-size:16px; line-height:1.4; font-weight:600; color:#E4DAF8; opacity:0; animation:sp-sobe .6s 2.7s both; }
#splash .pontos { position:absolute; left:0; right:0; bottom:calc(64px + env(safe-area-inset-bottom)); display:flex; justify-content:center; gap:12px; }
#splash .pontos i { width:14px; height:14px; border-radius:50%; opacity:.28; animation:sp-pisca 1.2s infinite; }
#splash .pontos i:nth-child(1) { background:#2FD16F; } #splash .pontos i:nth-child(2) { background:#FFC21A; animation-delay:.2s; } #splash .pontos i:nth-child(3) { background:#FF6B70; animation-delay:.4s; }
#splash .ic { position:absolute; width:52px; height:52px; display:flex; align-items:center; justify-content:center; border-radius:16px; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.22); opacity:0; animation:sp-ic .5s both, sp-flutua 3s ease-in-out infinite alternate; }
#splash .ic svg { width:26px; height:26px; }
@keyframes sp-dorme { 0%,55% { opacity:1; } 70%,100% { opacity:0; } }
@keyframes sp-ativo { from { opacity:0; transform:scale(.8); } 70% { opacity:1; transform:scale(1.1); } to { opacity:1; transform:scale(1); } }
@keyframes sp-sobe { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
@keyframes sp-pop { from { opacity:0; transform:scale(.6); } 70% { opacity:1; transform:scale(1.08); } to { opacity:1; transform:scale(1); } }
@keyframes sp-ic { from { opacity:0; transform:scale(.4); } to { opacity:1; transform:scale(1); } }
@keyframes sp-flutua { from { margin-top:-5px; } to { margin-top:5px; } }
@keyframes sp-ring { 0% { transform:scale(.45); opacity:.65; } 100% { transform:scale(1.9); opacity:0; } }
@keyframes sp-pisca { 0%,100% { opacity:.28; transform:scale(1); } 30% { opacity:1; transform:scale(1.25); } 60% { opacity:.28; transform:scale(1); } }
@media (prefers-reduced-motion:reduce) { #splash *, #onb * { animation-duration:.01s !important; animation-delay:0s !important; } }

/* Onboarding */
#onb { background:#F4F1FB; color:#26262B; display:flex; flex-direction:column; }
#onb .topo { position:relative; flex:none; height:46%; min-height:250px; overflow:hidden; border-radius:0 0 40px 40px; background:#6F2DCD; }
#onb .topo::before { content:""; position:absolute; left:50%; top:55%; width:480px; height:480px; margin:-240px 0 0 -240px; border-radius:50%; background:radial-gradient(circle,#8B4BE6 0%,rgba(111,45,205,0) 68%); }
#onb .topo img { position:absolute; left:50%; bottom:0; width:min(290px,78vw); height:auto; margin-left:calc(min(290px,78vw) / -2); animation:sp-subir .45s both; }
@keyframes sp-subir { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
#onb .topo .ic { position:absolute; width:48px; height:48px; display:flex; align-items:center; justify-content:center; border-radius:15px; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.22); }
#onb .topo .ic svg { width:26px; height:26px; }
#onb .ic.a { left:3%; top:22%; } #onb .ic.b { right:3%; top:50%; }
#onb .pular { position:absolute; right:12px; top:calc(14px + env(safe-area-inset-top)); height:44px; padding:0 16px; border:0; border-radius:22px; background:rgba(255,255,255,.16); color:#fff; font-weight:700; font-size:15px; font-family:inherit; }
#onb .corpo { flex:1; min-height:0; overflow-y:auto; padding:26px 24px 8px; }
#onb h1 { margin:0; font-size:28px; line-height:1.12; font-weight:800; letter-spacing:-.6px; }
#onb .txt { margin-top:12px; display:flex; flex-direction:column; gap:12px; animation:sp-sobe .4s both; }
#onb .txt p { margin:0; font-size:16px; line-height:1.45; font-weight:500; color:#6B6B76; }
#onb .linha { display:flex; align-items:center; gap:12px; font-size:15px; font-weight:700; }
#onb .selo-sem { flex:none; width:76px; padding:6px 0; text-align:center; border-radius:13px; font-size:13px; font-weight:800; letter-spacing:.4px; }
#onb .ok { flex:none; width:30px; height:30px; border-radius:50%; background:#6F2DCD; color:#fff; font-weight:800; font-size:15px; display:flex; align-items:center; justify-content:center; }
#onb .ok + div b { display:block; font-size:15px; font-weight:800; } #onb .ok + div small { font-size:13px; font-weight:500; color:#6B6B76; }
#onb .barra { display:flex; height:16px; border-radius:8px; overflow:hidden; gap:3px; }
#onb .leg { display:flex; justify-content:space-between; font-size:13px; font-weight:700; }
#onb .leg span { display:flex; align-items:center; gap:6px; } #onb .leg i { width:10px; height:10px; border-radius:3px; }
#onb .rodape { flex:none; padding:12px 24px calc(24px + env(safe-area-inset-bottom)); display:flex; flex-direction:column; gap:18px; }
#onb .pts { display:flex; justify-content:center; gap:6px; }
#onb .pts i { display:block; width:8px; height:8px; border-radius:4px; background:#D8CFEE; transition:width .2s, background .2s; }
#onb .pts i.on { width:26px; background:#6F2DCD; }
#onb .prox { outline:0; height:56px; border:0; border-radius:28px; background:#6F2DCD; color:#fff; font-weight:800; font-size:17px; font-family:inherit; }
#onb .prox:focus-visible { box-shadow:0 0 0 3px #fff, 0 0 0 6px #4B1F9A; }
#onb .prox.fim { background:#FFC21A; color:#2B2000; }
