/* A ENTRADA DE VIDRO (o dono, 22/10/2026) — por cima do css/login.css.
 *
 * As duas primeiras partes são a prévia aprovada (handoff-web2, referencia/web/
 * app-login-motion: styles.css e logo-motion.css), copiadas sem mudança, só
 * com a fonte apontando para fontes/InterVariable.woff2. A terceira adapta o
 * formulário de sempre (as classes que o js/login.js usa) a esse desenho.
 * A tela continua SEMPRE escura: é a porta de entrada.
 */

/* ---------- 1. a prévia: styles.css ---------- */
@font-face{font-family:Inter;src:url('../fontes/InterVariable.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{font-family:Inter,'Segoe UI',sans-serif;font-size:14px;font-optical-sizing:auto;color-scheme:dark;--text:#f0f6f0;--muted:#ada3b8;--subtle:#8c8099;--accent:#c2a8de;--border:#c7b1de1e;--ease:cubic-bezier(.22,.8,.22,1)}
*{box-sizing:border-box}html{background:#10061a;min-height:100%}body{margin:0;min-height:100dvh;background:#10061a;color:var(--text);-webkit-font-smoothing:antialiased}body:after{content:'';position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.14;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.4' filter='url(%23noise)'/%3E%3C/svg%3E")}
.ambient{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 25% 42%,#31164e70,transparent 56%),radial-gradient(ellipse at 88% 22%,#351b512e,transparent 50%),linear-gradient(110deg,#180b25,#11061c 65%,#0e0517)}.ambient:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at center,transparent 30%,#07010e70 100%)}#particles{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;opacity:.56}
[hidden]{display:none!important}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button,a,input{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #d1b6ef}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.icon{width:18px;height:18px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.login-shell{position:relative;z-index:1;max-width:1440px;margin:auto;padding:30px 60px 22px;min-height:100dvh;display:flex;flex-direction:column}.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px}.brand{display:inline-flex;align-items:center;gap:9px;color:#edf5ed}.brand>img{width:31px;height:31px}.brand-word{width:102px;height:auto;fill:currentColor}.header-context{display:flex;align-items:center;gap:28px;font-size:10px;color:#bdb4c7}.company-name{display:flex;align-items:center;gap:7px;letter-spacing:.02em}.status-dot{width:4px;height:4px;background:#b89ad9;border-radius:50%;box-shadow:0 0 8px #b89ad940}.header-support{display:flex;align-items:center;gap:7px;color:#d7d0de;min-height:32px}.header-support>.icon{width:13px;height:13px;transform:rotate(-35deg);transition:transform .2s}.header-support:hover>.icon{transform:rotate(-35deg) translateX(2px)}
.login-main{display:grid;grid-template-columns:minmax(0,1fr) 410px;gap:clamp(50px,7vw,110px);align-items:center;flex:1;padding:24px 0 40px}.welcome{min-width:0;max-width:660px}.hero-art{position:relative;height:340px;margin-left:-16px;margin-top:-26px;margin-bottom:4px}.mechanism{width:600px;max-width:112%;height:100%;transform:perspective(1000px) rotateX(var(--art-rx,0deg)) rotateY(var(--art-ry,0deg));transition:transform .6s var(--ease);transform-origin:50% 50%}.assembly-illustration{width:100%;height:100%;overflow:visible}.assembly-layer{animation:assemble 12s var(--ease) infinite;will-change:transform}.motion-object{animation:float 12s ease-in-out infinite}.energy-bloom{opacity:.42;animation:energy 6s ease-in-out infinite}.motion-toggle{display:flex;align-items:center;gap:6px;position:absolute;bottom:15px;left:2px;border:0;background:transparent;color:#998ba8;font-size:9px;padding:6px 0;min-height:28px;transition:color .2s}.motion-toggle:hover{color:#ddd2e8}.motion-toggle .icon{width:12px;height:12px}.hero-copy{position:relative}.eyebrow{display:flex;align-items:center;gap:8px;color:#a595b6;font-size:8px;letter-spacing:.17em;font-weight:450;margin:0 0 18px}.eyebrow>span{width:17px;height:1px;background:#ae99c580}h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(47px,4.3vw,62px);line-height:1.04;letter-spacing:-2.4px;font-weight:400;margin:0 0 21px;color:#eee9f4}h1 em{color:#c2a8de;font-weight:400}.welcome-description{font-size:12px;color:#9e91ac;line-height:1.85;margin:0;max-width:360px;letter-spacing:-.05px}
.login-card{position:relative;isolation:isolate;background:linear-gradient(135deg,#3c25548c,#2a183e87 42%,#2312356e);border:1px solid #cdb8e31b;border-radius:21px;padding:32px 33px 24px;box-shadow:inset 0 1px #f4eaff08,0 20px 60px #0a001438;backdrop-filter:blur(25px);-webkit-backdrop-filter:blur(25px);overflow:hidden;transition:border-color .3s,box-shadow .3s}.login-card:before{content:'';position:absolute;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(140deg,#f3e7ff08,transparent 35%,#b7a1cf03);border-radius:inherit}.login-card:after{content:'';position:absolute;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse 340px 220px at var(--px,70%) var(--py,20%),#e2c7ff15,transparent 80%);opacity:var(--shine,0);transition:opacity .35s}.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:22px}.tenant-name{font-family:Georgia,serif;font-size:18px;font-style:italic;font-weight:400;color:#d2c5df}.access-tag{display:flex;align-items:center;gap:5px;font-size:8px;letter-spacing:.01em;color:#9e91ad}.access-tag>.icon{width:11px;height:11px}.form-heading{margin:0 0 27px}.form-heading h2{font-size:29px;font-weight:510;line-height:1.18;letter-spacing:-1.1px;margin:0 0 11px}.form-heading p{font-size:11px;line-height:1.7;color:#ab9fb8;margin:0}.field-label{display:block;margin:0 0 8px;font-size:10px;font-weight:450;color:#dbd5e2}.input-wrap{display:flex;align-items:center;gap:10px;padding:0 13px;min-height:49px;border:1px solid #c7b7d92b;border-radius:8px;background:#13081e70;transition:border-color .2s,background .2s,box-shadow .2s}.input-wrap>.icon{width:15px;height:15px;color:#9787a8}.input-wrap input{background:transparent;outline:none;border:0;box-shadow:none;min-width:0;width:100%;padding:13px 0;font-size:12px;line-height:21px;color:#e8f1e8}.input-wrap input::placeholder{color:#7f718f}.input-wrap:focus-within{border-color:#baa2d475;box-shadow:0 0 0 3px #bf9fe109;background:#180c25aa}.input-wrap.invalid{border-color:#f0aa9e8c}.input-wrap input:-webkit-autofill{-webkit-text-fill-color:#e8f1e8;box-shadow:0 0 0 80px #251635 inset;border-radius:4px}.password-heading{margin-top:19px}.password-toggle{width:30px;height:42px;min-width:30px;border:0;background:none;display:grid;place-items:center;color:#a79bb4;padding:0;transition:color .2s,transform .2s}.password-toggle>.icon{width:16px;height:16px}.password-toggle:hover{color:#ece2f6;transform:scale(1.05)}.recovery-row{display:flex;justify-content:flex-end;margin:8px 0 20px}.text-button{border:0;background:none;padding:5px 0;min-height:26px;font-size:9px;color:#c2b0d5;transition:color .2s}.text-button:hover{color:#eadff5}.field-error{font-size:10px;color:#ffbeb2;margin:8px 0 0;line-height:1.5}.caps-hint{font-size:10px;color:#e5d39e;margin:8px 0}.recovery-info{border:1px solid #c8b3df25;background:#c8b3df08;border-radius:9px;padding:12px;display:flex;gap:8px;margin:0 0 19px}.recovery-info>.icon{width:14px;height:14px;color:#c3b2d6;flex-shrink:0;margin-top:2px}.recovery-info strong{font-size:10px;font-weight:550}.recovery-info p{font-size:10px;color:var(--muted);line-height:1.8;margin:6px 0}.recovery-info a{font-size:10px;text-decoration:underline;text-underline-offset:3px;color:#d5c4e7}
.primary{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:46px;border:1px solid #ede5f5b3;border-radius:8px;background:#e8e2ef;color:#241733;font-size:11px;font-weight:550;padding:10px 16px;box-shadow:inset 0 1px #fff8,0 3px 15px #0a001526;overflow:hidden;transition:transform .2s var(--ease),background .2s,box-shadow .2s}.primary:before{content:'';position:absolute;inset:-100%;z-index:-1;pointer-events:none;background:linear-gradient(115deg,transparent 40%,#ffffff8c 50%,transparent 60%);transform:translateX(-45%);transition:transform .65s var(--ease)}.primary:hover{transform:translateY(-2px);background:#f1e9f9;box-shadow:0 6px 25px #cdb6e513}.primary:hover:before{transform:translateX(45%)}.primary:active{transform:translateY(0) scale(.99)}.primary:disabled{opacity:.7;cursor:wait;transform:none}.primary>.icon{width:15px;height:15px;transition:transform .2s}.primary:hover>.icon{transform:translateX(3px)}.login-button.loading>.icon{animation:busy 1s linear infinite}.support-row{margin-top:25px;padding-top:18px;border-top:1px solid #c7b7d91c;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:9px;color:#9689a4}.support-row a{display:flex;align-items:center;gap:6px;color:#cdc1d9;min-height:24px}.support-row .icon{width:13px;height:13px}.support-row a:hover{color:#ece4f5}.login-feedback{background:#d3b8ef0b;border:1px solid #d3b8ef29;border-radius:8px;padding:13px;margin-top:15px}.login-feedback strong{font-size:11px;font-weight:500}.login-feedback p{font-size:11px;line-height:1.7;color:var(--muted);margin:7px 0 9px}.preview-link{display:flex;align-items:center;gap:7px;font-size:10px;color:#d0c0e2}.preview-link>.icon{width:14px;height:14px}
footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #bda8d315;padding-top:17px;color:#7a698d;font-size:9px;line-height:1.5}.footer-dot{display:inline-block;width:2px;height:2px;border-radius:50%;background:currentColor;vertical-align:middle;margin:0 8px}
@keyframes assemble{0%,10%,100%{transform:translateX(var(--spread))}38%,60%{transform:translateX(0)}88%{transform:translateX(var(--spread))}}@keyframes float{0%,100%{transform:translateY(1px)}50%{transform:translateY(-7px)}}@keyframes energy{0%,100%{opacity:.25}50%{opacity:.65}}@keyframes busy{to{transform:rotate(360deg)}}@keyframes entrance{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.hero-copy{animation:entrance .8s var(--ease) both}.login-card{animation:entrance .8s var(--ease) .1s backwards}html[data-motion=paused] .assembly-layer,html[data-motion=paused] .motion-object,html[data-motion=paused] .energy-bloom{animation-play-state:paused}
@media(min-width:1650px){.login-shell{max-width:1530px;padding-left:80px;padding-right:80px}.login-main{grid-template-columns:minmax(0,1fr) 435px;gap:135px}.hero-art{height:370px}.mechanism{width:640px}h1{font-size:67px}.login-card{padding:36px 37px 28px}.form-heading h2{font-size:31px}.input-wrap{min-height:51px}}
@media(max-width:1150px){.login-shell{padding:25px 40px 20px}.login-main{grid-template-columns:minmax(0,1fr) 380px;gap:45px}.hero-art{height:295px}.mechanism{max-width:115%}.login-card{padding:30px 28px 23px}h1{font-size:50px}.welcome-description{font-size:11px}.form-heading h2{font-size:27px}}
@media(max-width:880px){.login-shell{padding:23px 28px 20px}.login-main{grid-template-columns:minmax(0,1fr) 355px;gap:26px}.hero-art{height:265px;margin-left:-30px}.mechanism{max-width:120%}h1{font-size:43px;letter-spacing:-1.7px}.login-card{padding:27px 24px 22px}.form-heading h2{font-size:25px}.welcome-description{font-size:10px}.motion-toggle{font-size:8px;left:25px;bottom:3px}.header-context{gap:18px}}
@media(max-width:700px){.login-shell{padding:18px max(20px,env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))}.page-header{min-height:42px;padding-top:env(safe-area-inset-top)}.brand>img{width:27px;height:27px}.brand-word{width:89px}.brand{gap:7px}.header-context{gap:0}.company-name{font-size:10px}.header-support{display:none}.login-main{display:block;padding:34px 0 30px;flex:1}.welcome{position:relative;max-width:440px;margin:0 auto 28px}.hero-art{position:absolute;right:-24px;top:5px;width:185px;height:170px;margin:0;pointer-events:none}.mechanism{width:220px;max-width:none;height:170px;opacity:.72}.motion-toggle{left:auto;right:16px;bottom:-5px;pointer-events:auto;width:32px;height:32px;padding:8px;min-height:32px;justify-content:center;color:#b9a7cd}.motion-toggle span{display:none}.motion-toggle>.icon{width:13px;height:13px}.hero-copy{padding-top:7px;max-width:260px}.eyebrow{font-size:7px;letter-spacing:.13em;margin-bottom:13px;gap:6px}.eyebrow>span{width:12px}h1{font-size:35px;line-height:1.06;letter-spacing:-1.3px;margin-bottom:13px;max-width:245px}h1 em{display:block;max-width:225px}.welcome-description{font-size:10px;line-height:1.8;max-width:245px}.welcome-description br{display:none}.login-card{max-width:440px;margin:auto;border-radius:18px;padding:26px 25px 22px}.card-top{padding-bottom:22px}.tenant-name{font-size:18px}.access-tag{font-size:8px}.form-heading{margin-bottom:26px}.form-heading h2{font-size:27px}.form-heading p{font-size:11px}.field-label{font-size:12px}.input-wrap{min-height:53px;padding:0 12px}.input-wrap input{font-size:16px;padding:14px 0;line-height:23px}.input-wrap input::placeholder{font-size:13px}.input-wrap>.icon{width:16px;height:16px}.password-toggle{width:34px;min-width:34px;height:46px}.password-toggle>.icon{width:18px;height:18px}.password-heading{margin-top:20px}.recovery-row{margin:4px 0 14px}.text-button{font-size:11px;min-height:44px}.primary{min-height:49px;font-size:12px}.primary>.icon{width:16px;height:16px}.support-row{margin-top:23px;padding-top:15px;font-size:10px}.support-row a{min-height:40px}.support-row .icon{width:15px;height:15px}.field-error,.caps-hint{font-size:11px}.recovery-info strong,.recovery-info p,.recovery-info a{font-size:11px}.preview-link{font-size:11px;min-height:44px}.login-card:after{display:none}footer{font-size:8px;gap:10px;padding-top:15px}footer>span:last-child{max-width:155px;text-align:right}}
@media(max-width:360px){.login-shell{padding-left:16px;padding-right:16px}.hero-art{right:-15px;width:150px;opacity:.75}.hero-copy{max-width:230px}h1{font-size:31px;max-width:220px}h1 em{max-width:195px}.welcome-description{max-width:215px}.login-card{padding:24px 20px 20px}.form-heading h2{font-size:24px}.access-tag{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.mechanism{transform:none!important}.primary:hover{transform:none}.energy-bloom{opacity:.35}.motion-toggle{display:none}}


/* Visya identity: graphite, violet and Inter; original brand motion. */
:root { --text:#f0eff8; --muted:#b4aec5; --subtle:#8f88a3; --accent:#c2a9ff; --border:#c8b0ef24; }
html,body { background:#0d101b; }
.ambient { background:radial-gradient(ellipse at 26% 42%,#5b3b8b30,transparent 54%),radial-gradient(ellipse at 88% 23%,#5435701c,transparent 50%),linear-gradient(110deg,#131322,#0d101b 65%,#0a0d17); }
.ambient:after { background:radial-gradient(ellipse at center,transparent 28%,#03050d78 100%); }
body:after { opacity:.09; }
h1 { font-family:Inter,'Segoe UI',sans-serif; font-size:clamp(42px,3.9vw,57px); font-weight:520; line-height:1.08; letter-spacing:-2.3px; }
h1 em { font-style:normal; font-weight:480; color:#baa1eb; }
.tenant-name { font-family:Inter,'Segoe UI',sans-serif; font-size:10px; font-style:normal; font-weight:450; letter-spacing:.015em; color:#cbb9ec; }
.welcome-description { color:#9e98b2; }
.eyebrow { color:#aa9bbf; }
.eyebrow>span { background:#b19ac86b; }
.input-wrap { background:#0f112070; border-color:#bfacdd2b; }
.input-wrap:focus-within { background:#161528a6; border-color:#b69adf88; box-shadow:0 0 0 3px #b49adc0a; }
.primary { background:linear-gradient(115deg,#a17ae5,#815bd0); color:#fff; border-color:#c4a5f75c; box-shadow:inset 0 1px #ffffff20,0 4px 18px #7245b21f; }
.primary:hover { background:linear-gradient(115deg,#ad87ee,#906bdd); box-shadow:0 7px 23px #8050bf25; }
.login-card { background:none; border:0; border-radius:21px; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; overflow:visible; }
.login-card:before { display:none; }
.card-surface { position:absolute; inset:0; z-index:0; pointer-events:none; border:1px solid #c8afe52c; border-radius:inherit; background:linear-gradient(150deg,#342b4f9c 0%,#27223d80 48%,#211e3638 88%); backdrop-filter:blur(25px); -webkit-backdrop-filter:blur(25px); -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 58%,#000a 80%,transparent 100%); mask-image:linear-gradient(to bottom,#000 0%,#000 58%,#000a 80%,transparent 100%); }
.card-inner { position:relative; z-index:1; }
.login-card:after { z-index:0; border-radius:inherit; background:radial-gradient(ellipse 340px 220px at var(--px,70%) var(--py,20%),#d5b9f912,transparent 80%); -webkit-mask-image:linear-gradient(#000 65%,transparent); mask-image:linear-gradient(#000 65%,transparent); }
.app-kinetic .brand-core { animation:mvFloat 8s ease-in-out infinite; }
.orbital-trace { animation:orbitSignal 10s linear infinite; }
.data-signals path { animation:mvSignal 6s linear infinite; }
.data-signals path:nth-child(2) { animation-delay:-2s; }
.data-signals path:nth-child(3) { animation-delay:-4s; }
.brand-sheen { animation:mvSheen 9s var(--ease) infinite; }
.connection-points { animation:connectionLight 5s ease-in-out infinite; }
.connection-pulse { animation:connectionLight 5s ease-in-out infinite reverse; }
html[data-motion=paused] .app-kinetic * { animation-play-state:paused; }
@keyframes mvFloat { 0%,100% { transform:translateY(3px); } 50% { transform:translateY(-10px); } }
@keyframes orbitSignal { to { stroke-dashoffset:-845; } }
@keyframes mvSignal { to { stroke-dashoffset:-425; } }
@keyframes mvSheen { 0%,25% { transform:translateX(-500px); opacity:0; } 34% { opacity:.6; } 57% { transform:translateX(1500px); opacity:0; } 100% { transform:translateX(1500px); opacity:0; } }
@keyframes connectionLight { 0%,100% { opacity:.3; } 50% { opacity:.85; } }
@media(min-width:1650px){h1 {font-size:61px;}}
@media(max-width:1150px){h1 {font-size:46px;}}
@media(max-width:880px){h1 {font-size:40px;letter-spacing:-1.6px;}}
@media(max-width:700px){h1 {font-size:31px;letter-spacing:-1.2px;} .tenant-name {font-size:10px;} .login-card {border-radius:18px;} .hero-art {top:-3px;right:0;width:170px;} .mechanism {width:100%;max-width:100%;} }
@media(max-width:360px){h1 {font-size:29px;} .tenant-name {font-size:9px;} .hero-art {right:0;width:145px;} }

/* A violet light bank comes from the right and dissolves behind the form. */
.ambient:before { content:''; position:absolute; right:-16%; top:-14%; width:72%; height:135%; pointer-events:none; background:radial-gradient(ellipse at 94% 43%,#8653b47a 0%,#66418458 25%,#3d2b593b 49%,transparent 73%); filter:blur(30px); transform:rotate(-8deg); }
.card-surface { inset:-35px -24px -40px -35px; border:0; border-radius:0; background:radial-gradient(ellipse at 91% 28%,#6e479765 0%,#50356148 35%,#2c233b26 61%,transparent 81%); backdrop-filter:none; -webkit-backdrop-filter:none; -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 14%,#000 64%,transparent 100%); mask-image:linear-gradient(to bottom,transparent 0%,#000 14%,#000 64%,transparent 100%); }
.login-card:after { border-radius:0; }
.input-wrap { background:#11112091; border-color:#c7afe231; }
.input-wrap:focus-within { background:#161327b5; }
@media(max-width:700px) {
  .ambient:before { right:-64%; top:8%; width:150%; height:115%; opacity:.83; }
  .card-surface { inset:-25px -16px -35px -16px; background:radial-gradient(ellipse at 100% 24%,#70449466,#44305038 55%,transparent 82%); }
}
/* The color rises from the bottom, rather than entering from a side. */
.ambient:before { top:auto; right:0; bottom:-23%; width:100%; height:100%; transform:none; background:radial-gradient(ellipse at 72% 100%,#8956b982 0%,#65428863 27%,#3d2b5936 52%,transparent 75%); filter:blur(32px); }
.card-surface { background:radial-gradient(ellipse at 50% 108%,#8155ad7a 0%,#573a764f 37%,#30243e30 63%,transparent 85%); -webkit-mask-image:linear-gradient(to top,transparent 0%,#000 14%,#000 66%,transparent 100%); mask-image:linear-gradient(to top,transparent 0%,#000 14%,#000 66%,transparent 100%); }
@media(max-width:700px) { .ambient:before { top:auto; right:0; bottom:-17%; width:100%; height:98%; opacity:.95; background:radial-gradient(ellipse at 55% 100%,#8150b57d,#50346e52 40%,transparent 78%); } .card-surface { background:radial-gradient(ellipse at 50% 110%,#8053aa70,#4c335d3b 48%,transparent 83%); } }


@media(min-width:1100px){.hero-art{height:390px}.mechanism{width:720px;max-width:none;margin-left:55px}}
@media(min-width:1650px){.hero-art{height:425px}.mechanism{width:780px;margin-left:55px}}
.card-surface{border:0;box-shadow:none}
.hero-copy { text-align:center; margin-inline:auto; }
.hero-copy .eyebrow { justify-content:center; }
.hero-copy h1 { font-size:clamp(40px,3.6vw,53px); letter-spacing:-1.9px; }
.hero-copy .welcome-description { max-width:425px; margin-inline:auto; }
@media(min-width:1100px) { .hero-copy { max-width:560px; margin-left:100px; margin-right:0; } .logo-controls { left:415px; transform:translateX(-50%); white-space:nowrap; } }
@media(min-width:1650px) { .logo-controls { left:445px; } .hero-copy h1 { font-size:56px; } }
@media(min-width:701px) and (max-width:1099px) { .logo-controls { left:50%; transform:translateX(-50%); white-space:nowrap; } .hero-copy h1 { font-size:40px; } }
@media(max-width:700px) { .hero-copy { text-align:left; margin:0; max-width:260px; } .hero-copy .eyebrow { justify-content:flex-start; } .hero-copy h1 { font-size:31px; letter-spacing:-1.2px; } .hero-copy .welcome-description { margin:0; max-width:245px; } }
@media(max-width:360px) { .hero-copy h1 { font-size:28px; } .hero-copy .welcome-description { max-width:220px; } }

/* ---------- 2. a prévia: logo-motion.css ---------- */
/* Original Visya motion: contour, volume, light, then a calm living mark. */
.app-logo-motion .logo-contour,
.app-logo-motion .logo-echo { opacity:0; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.app-logo-motion .logo-launch { transform-box:view-box; transform-origin:300px 190px; }
.app-logo-motion .logo-surface { transform-box:fill-box; transform-origin:center; }
.app-logo-motion.logo-reveal .logo-launch { animation:mvLogoArrival 3.7s cubic-bezier(.2,.75,.2,1) both; }
.app-logo-motion.logo-reveal .logo-depth-layer { animation:mvVolumeIn 1.65s cubic-bezier(.18,.8,.2,1) both; animation-delay:calc(.72s + var(--slice) * .045s); }
.app-logo-motion.logo-reveal .logo-surface { animation:mvSurfaceIn 1.85s cubic-bezier(.18,.8,.2,1) 1.18s both; }
.app-logo-motion.logo-reveal .logo-contour { animation:mvContourDraw 3.3s cubic-bezier(.4,0,.22,1) .08s both; }
.app-logo-motion.logo-reveal .logo-echo { animation:mvEchoIn 2.8s cubic-bezier(.2,.8,.2,1) both; animation-delay:var(--echo-delay,0s); }
.app-logo-motion.logo-reveal .brand-core { animation:mvLogoBreathe 9s ease-in-out 3.3s infinite; transform-box:view-box; transform-origin:300px 190px; }
.app-logo-motion.logo-reveal .brand-sheen { animation:mvSignatureLight 10s cubic-bezier(.25,.6,.3,1) 2.6s infinite both; }
.app-logo-motion .logo-rim-light { fill:none; opacity:0; stroke-linecap:round; }
.app-logo-motion.logo-reveal .logo-rim-light { animation:mvEdgeLight 10s ease-in-out 2.7s infinite both; }
.app-logo-motion.logo-reveal .orbital-trace { animation:orbitSignal 14s linear infinite; }
.app-logo-motion .data-signals path { stroke-opacity:.5; }
.app-logo-motion.logo-reveal .data-signals path { animation:mvSignal 8s linear infinite; }
.app-logo-motion .data-signals path:nth-child(2) { animation-delay:-2.7s; }
.app-logo-motion .data-signals path:nth-child(3) { animation-delay:-5.3s; }
.app-logo-motion .logo-floor { transform-box:fill-box; transform-origin:center; opacity:.55; }
.app-logo-motion.logo-reveal .logo-floor { animation:mvFloorIn 3.2s ease both; }

@keyframes mvLogoArrival {
  0% { transform:translate(0,18px) rotate(-9deg) scale(.87); }
  55% { transform:translate(0,-3px) rotate(1deg) scale(1.015); }
  100% { transform:translate(0,0) rotate(0) scale(1); }
}
@keyframes mvContourDraw {
  0% { opacity:0; stroke-dashoffset:1000; }
  10% { opacity:.85; }
  62% { opacity:.8; stroke-dashoffset:0; }
  85% { opacity:.22; stroke-dashoffset:0; }
  100% { opacity:0; stroke-dashoffset:0; }
}
@keyframes mvEchoIn {
  0% { opacity:0; transform:translate(var(--echo-x),var(--echo-y)); stroke-dashoffset:1000; }
  20% { opacity:.28; }
  68% { opacity:.18; stroke-dashoffset:0; }
  100% { opacity:0; transform:translate(0,0); stroke-dashoffset:0; }
}
@keyframes mvVolumeIn {
  0% { opacity:0; transform:translate(-24px,85px); }
  100% { opacity:1; transform:translate(0,0); }
}
@keyframes mvSurfaceIn {
  0% { opacity:0; transform:translate(0,-28px) scale(.97); }
  100% { opacity:1; transform:translate(0,0) scale(1); }
}
@keyframes mvLogoBreathe {
  0%,100% { transform:translateY(1px) rotate(-.7deg); }
  50% { transform:translateY(-9px) rotate(.7deg); }
}
@keyframes mvSignatureLight {
  0% { transform:translateX(-550px); opacity:0; }
  6% { opacity:.75; }
  23% { transform:translateX(1650px); opacity:0; }
  100% { transform:translateX(1650px); opacity:0; }
}
@keyframes mvEdgeLight {
  0% { opacity:0; stroke-dashoffset:1000; }
  5% { opacity:.9; }
  23% { opacity:.55; stroke-dashoffset:-180; }
  32%,100% { opacity:0; stroke-dashoffset:-180; }
}
@keyframes mvFloorIn { 0% { opacity:0; transform:scale(.65); } 100% { opacity:.55; transform:scale(1); } }
/* The complete signature repeats; the form is never restarted. */
.app-logo-motion.logo-reveal .logo-launch { animation:mvLogoLoop 14s cubic-bezier(.2,.75,.2,1) infinite both; }
.app-logo-motion.logo-reveal .logo-depth-layer { animation-name:mvVolumeLoop; animation-duration:14s; animation-iteration-count:infinite; }
.app-logo-motion.logo-reveal .logo-surface { animation-name:mvSurfaceLoop; animation-duration:14s; animation-iteration-count:infinite; }
.app-logo-motion.logo-reveal .logo-contour { animation-name:mvContourLoop; animation-duration:14s; animation-iteration-count:infinite; }
.app-logo-motion.logo-reveal .logo-echo { animation-name:mvEchoLoop; animation-duration:14s; animation-iteration-count:infinite; }
.app-logo-motion.logo-reveal .logo-floor { animation-name:mvFloorLoop; animation-duration:14s; animation-iteration-count:infinite; }
.app-logo-motion.logo-reveal .brand-sheen,.app-logo-motion.logo-reveal .logo-rim-light { animation-duration:14s; }
@keyframes mvLogoLoop {
  0% { opacity:0; transform:translateY(18px) rotate(-9deg) scale(.87); }
  3% { opacity:1; }
  25%,78% { opacity:1; transform:translateY(0) rotate(0) scale(1); }
  89% { opacity:1; transform:translateY(-2px) rotate(1deg) scale(1.01); }
  98%,100% { opacity:0; transform:translateY(-12px) rotate(2deg) scale(.96); }
}
@keyframes mvVolumeLoop { 0%{opacity:0;transform:translate(-24px,85px)} 13%,100%{opacity:1;transform:translate(0,0)} }
@keyframes mvSurfaceLoop { 0%{opacity:0;transform:translateY(-28px) scale(.97)} 14%,100%{opacity:1;transform:translateY(0) scale(1)} }
@keyframes mvContourLoop { 0%{opacity:0;stroke-dashoffset:1000} 3%{opacity:.85} 15%{opacity:.8;stroke-dashoffset:0} 25%,100%{opacity:0;stroke-dashoffset:0} }
@keyframes mvEchoLoop { 0%{opacity:0;transform:translate(var(--echo-x),var(--echo-y));stroke-dashoffset:1000} 4%{opacity:.28} 14%{opacity:.18;stroke-dashoffset:0} 22%,100%{opacity:0;transform:translate(0,0);stroke-dashoffset:0} }
@keyframes mvFloorLoop { 0%{opacity:0;transform:scale(.65)} 23%,100%{opacity:.55;transform:scale(1)} }
@keyframes mvLogoLoop {
  0% { opacity:0; transform:translateY(34px) scale(.93); }
  3% { opacity:1; }
  25%,78% { opacity:1; transform:translateY(0) scale(1); }
  89% { opacity:1; transform:translateY(-3px) scale(1.01); }
  98%,100% { opacity:0; transform:translateY(-20px) scale(.98); }
}
@keyframes mvVolumeLoop { 0%{opacity:0;transform:translateY(105px)} 13%,100%{opacity:1;transform:translateY(0)} }
@keyframes mvSurfaceLoop { 0%{opacity:0;transform:translateY(38px) scale(.97)} 14%,100%{opacity:1;transform:translateY(0) scale(1)} }
@keyframes mvEchoLoop { 0%{opacity:0;transform:translateY(135px);stroke-dashoffset:1000} 4%{opacity:.28} 14%{opacity:.18;stroke-dashoffset:0} 22%,100%{opacity:0;transform:translateY(0);stroke-dashoffset:0} }
@keyframes orbitSignal { to { stroke-dashoffset:-845; } }
@keyframes mvSignal { to { stroke-dashoffset:-425; } }

.logo-controls { position:absolute; left:2px; bottom:12px; display:flex; align-items:center; gap:18px; pointer-events:auto; }
.logo-controls .motion-toggle { position:static; padding:5px 0; min-height:30px; }
.logo-controls .motion-toggle:active { transform:translateY(1px); }
html[data-motion=paused] .app-logo-motion * { animation-play-state:paused!important; }
@media(max-width:880px) { .logo-controls { left:25px; bottom:0; gap:14px; } }
@media(max-width:700px) {
  .logo-controls { left:auto; right:0; bottom:-7px; gap:4px; }
  .logo-controls .motion-toggle { width:32px; height:32px; min-height:32px; padding:8px; }
}
@media(prefers-reduced-motion:reduce) {
  .app-logo-motion * { animation:none!important; transition:none!important; }
  .app-logo-motion .logo-contour,.app-logo-motion .logo-echo,.app-logo-motion .logo-rim-light,.app-logo-motion .brand-sheen { opacity:0; }
  .app-logo-motion .logo-launch,.app-logo-motion .logo-surface,.app-logo-motion .logo-depth-layer,.app-logo-motion .brand-core { transform:none; opacity:1; }
  .logo-controls { display:none; }
}
/* Keep the motion controls centered under the brand at every desktop width. */
@media(min-width:701px){.welcome .logo-controls{left:calc(50% + 55px);right:auto;transform:translateX(-50%);white-space:nowrap}}
@media(min-width:701px) and (max-width:1099px){.welcome .logo-controls{left:50%}}
@media(min-width:1100px) and (max-height:800px){.hero-art{height:330px}.login-main{padding-top:20px;padding-bottom:27px}}

/* ---------- 3. o formulário de sempre ---------- */

/* =====================================================================
 * ADAPTAÇÃO AO FORMULÁRIO DE SEMPRE
 * O formulário guarda as classes e os IDs que o js/login.js usa (campo,
 * olho-b, erro, btn-login, as etapas de código e de criar senha). Aqui eles
 * ganham a cara da prévia: rótulo em cima, caixa de vidro, botão lilás.
 * ===================================================================== */
body { font-family: Inter, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.5; }
h1, h2 { letter-spacing: normal; }

/* as curvas de nível do login.js viram um véu discreto atrás de tudo */
#campo { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.22; }

/* o palco da prévia no lugar das duas colunas antigas */
.acesso { min-height: 0; }
.login-card.entrada {
  display: block; padding: 32px 33px 24px; border: 0; background: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.entrada .form-heading h2 { margin: 0 0 11px; font-size: 29px; font-weight: 510; line-height: 1.18; letter-spacing: -1.1px; }
.entrada .form-heading .sub { margin: 0; font-size: 11px; line-height: 1.7; color: #ab9fb8; }
.entrada .form-heading { margin: 0 0 27px; }
/* as etapas (código, criar senha) montadas pelo login.js */
.entrada .olho-t { font: 450 8px Inter, sans-serif; letter-spacing: 0.17em; color: #aa9bbf; }
.entrada #passoEtapa h2 { margin: 12px 0 9px; font-size: 25px; font-weight: 510; line-height: 1.18; letter-spacing: -1px; }
.entrada #passoEtapa .sub { font-size: 11px; color: #ab9fb8; margin-bottom: 22px; }

/* campo: rótulo em cima, a caixa com o ícone à esquerda e o olho à direita */
.campo { position: relative; margin-bottom: 19px; padding-top: 22px; }
.campo label {
  position: absolute; left: 0; top: 0; transform: none !important;
  font-size: 10px; font-weight: 450; color: #dbd5e2; transition: none;
}
.campo input {
  min-height: 49px; border: 1px solid #c7afe231; border-radius: 8px; background: #11112091;
  color: #e8f1e8; font-size: 12px; line-height: 21px; padding: 13px 44px 13px 38px; box-shadow: none;
}
.campo input::placeholder { color: #7f718f; }
.campo input:focus { border-color: #b69adf88; background-color: #161327b5; box-shadow: 0 0 0 3px #b49adc0a; }
.campo input:-webkit-autofill,
.campo input:-webkit-autofill:hover,
.campo input:-webkit-autofill:focus { -webkit-text-fill-color: #e8f1e8; -webkit-box-shadow: 0 0 0 1000px #1b1a2e inset; }
.campo > .ic-campo { left: 13px; top: calc(50% + 11px); color: #9787a8; }
.campo > .ic-campo .ic { width: 15px; height: 15px; }
.campo:focus-within > .ic-campo { color: #c2a9ff; }
.campo.sem-icone input { padding-left: 13px; }
.campo.sem-icone label { left: 0; }
.campo.ruim input { border-color: #f0aa9e8c; box-shadow: none; }
.campo .olho-b { top: calc(50% + 11px); right: 6px; width: 30px; height: 42px; border-radius: 6px; color: #a79bb4; }
.campo .olho-b:hover { color: #ece2f6; background: none; }
.campo .olho-b .ic { width: 16px; height: 16px; }

.caps { margin: -10px 0 12px; font-size: 10px; color: #e5d39e; }
.linha-op { margin: -11px 0 20px; }
.link-b { padding: 5px 0; min-height: 26px; font-size: 9px; font-weight: 400; color: #c2b0d5; }
.link-b:hover { color: #eadff5; text-decoration: none; }
.nota {
  margin: -12px 0 19px; padding: 12px; border-radius: 9px; font-size: 10px; line-height: 1.8;
  color: #ada3b8; background: #c8b3df08; border: 1px solid #c8b3df25;
}
.erro { border-radius: 8px; font-size: 11px; background: #f0aa9e14; border-color: #f0aa9e45; color: #ffbeb2; }
.erro .ic { color: #ffbeb2; }

/* o botão principal da prévia; o círculo de "carregando" continua */
.btn-login {
  min-height: 46px; padding: 10px 16px; gap: 12px; border-radius: 8px; font-size: 11px; font-weight: 550;
  border: 1px solid #c4a5f75c; background: linear-gradient(115deg, #a17ae5, #815bd0); color: #fff;
  box-shadow: inset 0 1px #ffffff20, 0 4px 18px #7245b21f; filter: none;
}
.btn-login:hover { filter: none; transform: translateY(-2px); background: linear-gradient(115deg, #ad87ee, #906bdd); box-shadow: 0 7px 23px #8050bf25; }
.btn-login .ic { width: 15px; height: 15px; }
.btn-login .girando { width: 15px; height: 15px; }
.volta-e { color: #c2b0d5; font-size: 11px; }

.ajuda.support-row { margin-top: 25px; padding-top: 18px; border-top: 1px solid #c7b7d91c; font-size: 9px; color: #9689a4; }
.ajuda.support-row a { font-weight: 400; color: #cdc1d9; min-height: 24px; gap: 6px; }
.ajuda.support-row a:hover { color: #ece4f5; text-decoration: none; }
.ajuda.support-row .ic { width: 13px; height: 13px; }

.rodape-entrada > span:first-child { letter-spacing: 0.17em; }

@media (max-width: 700px) {
  .login-card.entrada { padding: 26px 25px 22px; }
  .entrada .form-heading h2 { font-size: 27px; }
  .campo label { font-size: 12px; }
  .campo { padding-top: 24px; }
  .campo > .ic-campo, .campo .olho-b { top: calc(50% + 12px); }
  .campo input { min-height: 53px; font-size: 16px; line-height: 23px; padding-top: 14px; padding-bottom: 14px; }
  .campo input::placeholder { font-size: 13px; }
  .link-b { font-size: 11px; min-height: 44px; }
  .btn-login { min-height: 49px; font-size: 12px; }
  .ajuda.support-row { font-size: 10px; }
  .ajuda.support-row a { min-height: 40px; }
  #campo { opacity: 0.14; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-login .girando { animation: gira 0.7s linear infinite !important; }
}

/* A MARCA DO CLIENTE no endereço próprio (12/11/2026, js/login.js): logotipo e nome no topo do
   cartão; o botão de entrar e o foco dos campos na cor dele. O nome quebra em linhas: nunca corta. */
body.marca-cliente .card-top { justify-content:flex-start; gap:12px; align-items:center; }
body.marca-cliente .tenant-logo { max-height:44px; max-width:132px; width:auto; height:auto; object-fit:contain; border-radius:6px; flex:0 0 auto; }
body.marca-cliente .tenant-name { font-size:14px; font-weight:600; color:#f0eff8; line-height:1.3; overflow-wrap:anywhere; min-width:0; }
body.marca-cliente .btn-login,
body.marca-cliente .btn-login:hover { background:var(--marca,#815bd0); border-color:#ffffff3d; }
body.marca-cliente .btn-login:hover { filter:brightness(1.08); }
body.marca-cliente .campo input:focus { border-color:var(--marca,#b69adf); }
@media(max-width:700px){ body.marca-cliente .tenant-name { font-size:14px; } body.marca-cliente .tenant-logo { max-height:40px; max-width:112px; } }
