/* Agendirect V5.3 — APENAS ABERTURA. Alinhado à direção visual V5 aprovada.
 * O backend de sincronização, autenticação, recuperação offline e dados não foi alterado.
 * A mesma marca metalizada é usada em todos os quatro temas.
 */
.agendirect-splash{
 --cinema-1:#ad6b17;--cinema-2:#ffbd45;--cinema-3:#6d3213;--cinema-4:#170c07;--cinema-line:rgba(255,180,49,.72);
 background:radial-gradient(ellipse at 52% 45%,color-mix(in srgb,var(--cinema-1) 27%,transparent),transparent 60%),radial-gradient(ellipse at 110% -10%,color-mix(in srgb,var(--cinema-1) 28%,transparent),transparent 57%),linear-gradient(160deg,var(--cinema-4) 0%,color-mix(in srgb,var(--cinema-3) 60%,var(--cinema-4)) 47%,var(--cinema-4) 100%);
 color:#fff8ef;isolation:isolate;overflow:hidden;
}
.agendirect-splash[data-theme="ink"]{--cinema-1:#bd5645;--cinema-2:#e98373;--cinema-3:#67251e;--cinema-4:#170b0e;--cinema-line:rgba(255,145,112,.66)}
.agendirect-splash[data-theme="pulse"]{--cinema-1:#1069d6;--cinema-2:#55bbff;--cinema-3:#153c83;--cinema-4:#050e1b;--cinema-line:rgba(92,171,255,.68)}
.agendirect-splash[data-theme="onyx"]{--cinema-1:#176d9f;--cinema-2:#8fdcf8;--cinema-3:#0d3150;--cinema-4:#07131f;--cinema-line:rgba(131,215,250,.68)}
.agendirect-splash[data-theme="amethyst"],.agendirect-splash[data-theme="nature"]{--cinema-1:#8232a1;--cinema-2:#dfa4f4;--cinema-3:#4b176a;--cinema-4:#13091d;--cinema-line:rgba(222,166,248,.68)}
/* Theme choice applies to the opening independently of the light/dark mode inside the app. */
html[data-mode="dark"] .agendirect-splash,.agendirect-splash[data-mode="dark"]{background:radial-gradient(ellipse at 52% 45%,color-mix(in srgb,var(--cinema-1) 27%,transparent),transparent 60%),radial-gradient(ellipse at 110% -10%,color-mix(in srgb,var(--cinema-1) 28%,transparent),transparent 57%),linear-gradient(160deg,var(--cinema-4) 0%,color-mix(in srgb,var(--cinema-3) 60%,var(--cinema-4)) 47%,var(--cinema-4) 100%);color:#fff8ef}
.agendirect-splash::before{inset:0;z-index:0;filter:none;animation:none;background:radial-gradient(ellipse at 50% 42%,rgba(255,239,202,.10),transparent 27%),radial-gradient(ellipse at 50% 45%,transparent 15%,rgba(0,0,0,.16) 84%)}
.agendirect-splash-orbit,.agendirect-splash-grain{display:none}
.agendirect-cinema-ribbon{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;opacity:.96;z-index:1}
.agendirect-cinema-line-glow{filter:drop-shadow(0 0 8px var(--cinema-line))}
.agendirect-cinema-dust{position:absolute;inset:0;z-index:0;opacity:.45;background-image:radial-gradient(circle,#ffffff70 1px,transparent 1.5px);background-size:72px 103px;background-position:31px 28px;mask-image:linear-gradient(to bottom,transparent 2%,#000 45%,transparent 100%);pointer-events:none}
.agendirect-splash-content{width:min(100%,440px);max-width:100%;padding:18px 22px 24px;transform:translateY(-3%);z-index:2;gap:0}
.agendirect-splash-logo-shell{width:min(46vw,190px);height:auto;aspect-ratio:639/494;overflow:visible;border-radius:0;border:0;background:none;box-shadow:none;display:grid;place-items:center;filter:drop-shadow(0 10px 8px rgba(0,0,0,.48)) drop-shadow(0 0 18px color-mix(in srgb,var(--cinema-1) 29%,transparent));animation:dp214LogoIn .68s ease-out both}
html[data-mode="dark"] .agendirect-splash-logo-shell,.agendirect-splash[data-mode="dark"] .agendirect-splash-logo-shell{box-shadow:none}
.agendirect-splash-logo-shell img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.34))}
.agendirect-splash-brand{margin-top:10px;width:min(76vw,340px);font-size:inherit;letter-spacing:normal;line-height:1;filter:drop-shadow(0 3px 4px rgba(0,0,0,.7));animation:dp214FadeUp .55s .16s ease both}
.agendirect-splash-brand img{width:100%;height:auto;display:block;object-fit:contain;}
.agendirect-cinema-tagline{margin:7px 0 0;color:#f6eee0;line-height:1.5;font-size:clamp(13px,3.5vw,16px);font-weight:540;letter-spacing:-.02em;animation:dp214FadeUp .55s .22s ease both}
.agendirect-splash-business{min-height:0;margin-top:44px;max-width:96%;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;color:#ffe0a4;font-size:clamp(15px,4vw,18px);letter-spacing:.015em;font-weight:760;text-shadow:0 2px 12px rgba(0,0,0,.56)}
.agendirect-splash-business:empty{display:none}
.agendirect-splash-business[data-business="1"]{letter-spacing:.015em;font-weight:760}
.agendirect-splash-loader{height:3px;width:min(68vw,270px);margin-top:35px;background:rgba(255,255,255,.19);box-shadow:0 1px 0 rgba(255,255,255,.11);animation:dp214FadeUp .5s .3s ease both}
.agendirect-splash-loader span{background:linear-gradient(90deg,transparent,#fff5ce 22%,var(--cinema-2) 83%,transparent);box-shadow:0 0 15px color-mix(in srgb,var(--cinema-2) 40%,transparent)}
html[data-mode="dark"] .agendirect-splash-loader,.agendirect-splash[data-mode="dark"] .agendirect-splash-loader{background:rgba(255,255,255,.19)}
html[data-mode="dark"] .agendirect-splash-loader span,.agendirect-splash[data-mode="dark"] .agendirect-splash-loader span{background:linear-gradient(90deg,transparent,#fff5ce 22%,var(--cinema-2) 83%,transparent)}
.agendirect-splash-status,html[data-mode="dark"] .agendirect-splash-status,.agendirect-splash[data-mode="dark"] .agendirect-splash-status{margin-top:14px;color:#f6eee0;font-size:clamp(11px,3vw,13px);font-weight:550;line-height:1.5;text-shadow:0 1px 7px #0009}
.agendirect-cinema-signature{position:absolute;bottom:max(22px,env(safe-area-inset-bottom));left:0;right:0;text-align:center;z-index:2;font-size:10px;letter-spacing:.17em;color:#ffffff80;pointer-events:none}
.agendirect-splash-actions{position:relative;z-index:5;width:min(82vw,320px);margin-top:18px}
.agendirect-splash-action,.agendirect-splash[data-mode="dark"] .agendirect-splash-action{background:rgba(22,14,10,.72);border:1px solid rgba(255,233,178,.45);color:#fff8e9}
.agendirect-splash-action.primary,.agendirect-splash[data-mode="dark"] .agendirect-splash-action.primary{background:var(--cinema-2);color:#1b1006;border-color:var(--cinema-2)}
@media(max-width:350px){.agendirect-splash-logo-shell{width:145px}.agendirect-splash-brand{width:260px}.agendirect-splash-business{margin-top:28px}.agendirect-splash-loader{margin-top:25px}}
@media(prefers-reduced-motion:reduce){.agendirect-splash-logo-shell,.agendirect-splash-brand,.agendirect-cinema-tagline,.agendirect-splash-loader,.agendirect-splash-business,.agendirect-splash-status{animation:none!important}}
