/* -----------------------------------------------------------
   2026-11-10 (pedido do usuário): apresentação entre o LOGIN e o
   DASHBOARD (só no PC). Criada por js/apresentacao-entrada.js. Ela
   continua a maré que começou na tela de login (js/login-mare.js): a
   tela começa toda laranja com a logo branca no centro, o líquido
   escoa, a logo sobe, aparecem a saudação e as 4 pílulas de checagem, e
   no fim uma cortina de líquido laranja atravessa a tela e deixa o
   Dashboard para trás.
   Tela "de design" fixa de 1536x800, escalada pela janela (--ap-k).
   Os tempos vêm do JS (variáveis --ap-*).
   ----------------------------------------------------------- */
.ap-raiz { position: fixed; inset: 0; z-index: 2147483000; font-family: inherit; color: #f2f2f4; }
.ap-raiz *, .ap-raiz *::before, .ap-raiz *::after { box-sizing: border-box; }
.ap-corte { position: absolute; inset: 0; }
.ap-fundo { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at 50% 38%, rgba(252, 85, 3, 0.26), rgba(252, 85, 3, 0.06) 42%, transparent 66%), #030303; }
.ap-fundo::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 70%); }
.ap-cv { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; }
.ap-cv2 { position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; }
.ap-vp { position: absolute; left: 0; top: 0; width: 1536px; height: 800px; transform-origin: 0 0; pointer-events: none; }
.ap-vp-cena { z-index: 2; }
.ap-vp-logo { z-index: 4; }

.ap-logo { position: absolute; left: 100px; top: 110px; width: 330px; height: 263px; transform: translate(503px, -138px) scale(0.515); will-change: transform; }
.ap-logo img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; object-fit: contain; }
.ap-logo .ap-o { filter: drop-shadow(0 0 26px rgba(252, 85, 3, 0.55)); }
.ap-logo .ap-b { filter: brightness(0) invert(1); opacity: 1; }

.ap-ola { position: absolute; left: 0; right: 0; top: 396px; text-align: center; font-size: 50px; font-weight: 700; letter-spacing: -0.5px; opacity: 0; transform: translateY(14px); }
.ap-data { position: absolute; left: 0; right: 0; top: 464px; text-align: center; font-size: 19px; color: #a2a2aa; opacity: 0; transform: translateY(10px); }
.ap-fase2 .ap-ola { opacity: 1; transform: none; transition: opacity var(--ap-fade) ease, transform var(--ap-fade) ease; transition-delay: var(--ap-t-ola); }
.ap-fase2 .ap-data { opacity: 1; transform: none; transition: opacity var(--ap-fade) ease, transform var(--ap-fade) ease; transition-delay: var(--ap-t-data); }

.ap-pilulas { position: absolute; left: 0; right: 0; top: 540px; display: flex; justify-content: center; gap: 14px; }
.ap-pilula { display: flex; align-items: center; gap: 10px; padding: 10px 20px 10px 12px; border-radius: 30px; background: linear-gradient(180deg, rgba(26, 26, 30, 0.96), rgba(12, 12, 14, 0.97)); border: 1px solid #4a3a30; font-size: 17px; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transform: translateY(12px); }
.ap-pilula i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #3a3a40; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.ap-pilula i svg { width: 15px; height: 15px; stroke: transparent; stroke-width: 3; fill: none; transition: stroke 0.3s; }
.ap-fase2 .ap-pilula { opacity: 1; transform: none; transition: opacity var(--ap-fade), transform var(--ap-fade), border-color 0.4s; transition-delay: calc(var(--ap-t-pilula) + var(--n) * var(--ap-passo)), calc(var(--ap-t-pilula) + var(--n) * var(--ap-passo)), 0s; }
.ap-pilula.ap-ok { border-color: #2f7a4c; }
.ap-pilula.ap-ok i { background: #22c55e; border-color: #22c55e; }
.ap-pilula.ap-ok i svg { stroke: #03230f; }

/* 2026-11-10: "ap-pre" = o texto já nasce na tela (ele apareceu junto com a faixa, no login): sem entrada animada */
.ap-pre .ap-ola, .ap-pre .ap-data, .ap-pre .ap-pilula { opacity: 1; transform: none; }
.ap-pre .ap-avatar { opacity: 1; transform: none; }
.ap-flash { position: absolute; inset: 0; z-index: 6; background: #ffd7b8; opacity: 0; pointer-events: none; }

.ap-avatar { position: fixed; z-index: 2147483001; opacity: 0; transform: scale(0.7); pointer-events: none; }
.ap-fase2 .ap-avatar { opacity: 1; transform: none; transition: opacity var(--ap-fade) ease, transform var(--ap-fade) cubic-bezier(0.2, 0.9, 0.25, 1.2); }
.ap-nucleo { position: absolute; inset: 9.3%; border-radius: 50%; background: linear-gradient(180deg, #ff8a4d, #e04a00); box-shadow: 0 0 40px rgba(252, 85, 3, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.18); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; }
.ap-avatar svg.ap-anel { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); transition: opacity 0.25s; }
.ap-anel circle { fill: none; stroke-width: 5; }
.ap-anel .ap-r0 { stroke: rgba(255, 255, 255, 0.1); }
.ap-anel .ap-r1 { stroke: #fc5503; stroke-linecap: round; stroke-dasharray: 440; stroke-dashoffset: 440; }
.ap-fase2 .ap-r1 { stroke-dashoffset: 0; transition: stroke-dashoffset var(--ap-anel) cubic-bezier(0.4, 0, 0.3, 1); }
.ap-fase2:not(.ap-voando) .ap-nucleo { animation: ap-pulso 2.2s ease-in-out infinite; }
@keyframes ap-pulso { 0%, 100% { box-shadow: 0 0 40px rgba(252, 85, 3, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.18); } 50% { box-shadow: 0 0 62px rgba(252, 85, 3, 0.8), 0 0 0 3px rgba(255, 255, 255, 0.18); } }
.ap-voando .ap-anel { opacity: 0; }
