/* Hiperlink Hub - piloto visual de homologacao. Exclusivo da tela de login. */
body.login-body:has(.hub-v1-login){background:#fbfdff;color:#102e5a;min-height:100vh;margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.hub-v1-login,.hub-v1-login *{box-sizing:border-box}
.hub-v1-login{min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(circle at 95% 10%,#e8f7ff 0,transparent 34%),linear-gradient(110deg,#fff 0%,#fff 55%,#f4f9ff 100%);color:#17315a}
.hub-v1-topbar{width:min(1220px,calc(100% - 64px));margin:0 auto;padding:26px 0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7eef6}
.hub-v1-logo-head{display:block;width:230px;height:auto;object-fit:contain}
.hub-v1-site-link,.hub-v1-help a{color:#087bcb;text-decoration:none;font-weight:600}
.hub-v1-site-link:hover,.hub-v1-help a:hover{text-decoration:underline}
.hub-v1-content{width:min(1220px,calc(100% - 64px));margin:auto;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);align-items:center;gap:clamp(28px,6vw,110px);padding:72px 0}
.hub-v1-message{max-width:630px}.hub-v1-kicker,.hub-v1-card-label{color:#1883d9;letter-spacing:.16em;font-size:12px;font-weight:800}
.hub-v1-message h1{font-size:clamp(38px,4vw,58px);letter-spacing:-.047em;line-height:1.10;color:#071f50;font-weight:800;margin:18px 0 24px}
.hub-v1-message h1 em{font-style:normal;color:#078ee5}
.hub-v1-message>p{font-size:18px;line-height:1.7;color:#59718f;max-width:580px}
.hub-v1-features{display:flex;flex-wrap:wrap;gap:10px;margin:36px 0 18px}
.hub-v1-features>span{display:flex;gap:9px;align-items:center;border:1px solid #dfeaf5;padding:9px 13px;border-radius:12px;background:white;box-shadow:0 7px 24px #1453a309;font-size:13px;font-weight:700;color:#24466c}
.hub-v1-dot{height:8px;width:8px;border-radius:50%;display:inline-block}.hub-v1-dot.events{background:#147cdb}.hub-v1-dot.pdv{background:#fa8014}.hub-v1-dot.crm{background:#009c98}.hub-v1-dot.learning{background:#8351dc}.hub-v1-dot.prapsi{background:#7c3eb8}
.hub-v1-message>small{font-size:12px;line-height:1.6;color:#788ca4;display:block;max-width:550px}
.hub-v1-auth{max-width:460px;width:100%;margin-left:auto}
.hub-v1-card{padding:42px 37px;background:white;border:1px solid #e1eaf4;border-radius:22px;box-shadow:0 22px 65px #0b3e7710}
.hub-v1-card h2{font-size:27px;letter-spacing:-.025em;color:#0b2b5c;margin:13px 0 8px;font-weight:800}
.hub-v1-card>p{color:#73849a;margin:0 0 30px;font-size:14px}
.hub-v1-form{display:flex;flex-direction:column;gap:12px}
.hub-v1-form label{font-size:13px;font-weight:700;color:#254061;margin:3px 0 1px}
.hub-v1-form input{width:100%;background:white;border:1px solid #d4e0ed;border-radius:12px;padding:14px 15px;font-size:15px;color:#102d53;outline:none;transition:border .15s,box-shadow .15s}
.hub-v1-form input:focus{border-color:#128ce4;box-shadow:0 0 0 4px #128ce417}
.hub-v1-password{position:relative}.hub-v1-password input{padding-right:92px}.hub-v1-eye{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:transparent;border:0;color:#2a75b5;font-size:12px;font-weight:700;cursor:pointer;padding:8px}
.hub-v1-submit{display:block;width:100%;border:0;border-radius:12px;background:linear-gradient(105deg,#05b7e4,#0575e9);color:white;font-size:15px;font-weight:800;padding:15px 18px;margin-top:16px;cursor:pointer;box-shadow:0 10px 22px #007de526}
.hub-v1-submit:hover{filter:brightness(.97)}.hub-v1-help{text-align:center;margin-top:30px;color:#8292a9;font-size:13px}
.hub-v1-safe{text-align:center;color:#8a9bb0;font-size:12px;margin:18px auto 0;max-width:370px}
.hub-v1-footer{display:flex;justify-content:space-between;gap:16px;width:min(1220px,calc(100% - 64px));margin:0 auto;padding:24px 0;border-top:1px solid #e6edf5;font-size:12px;color:#92a0b3}
@media(max-width:830px){.hub-v1-topbar,.hub-v1-content,.hub-v1-footer{width:min(100% - 36px,580px)}.hub-v1-topbar{padding:20px 0}.hub-v1-logo-head{width:190px}.hub-v1-content{grid-template-columns:1fr;gap:28px;padding:38px 0}.hub-v1-message h1{font-size:36px}.hub-v1-message>p{font-size:15px}.hub-v1-features{margin-top:22px}.hub-v1-card{padding:28px 24px}.hub-v1-auth{margin:0 auto}.hub-v1-footer{flex-wrap:wrap}}


/* V2.1 — Login Eventos: todo o conteúdo essencial cabe em uma única viewport no desktop.
   Telas pequenas, zoom elevado e teclados virtuais continuam podendo rolar,
   evitando esconder os campos de acesso. */
@media (min-width:831px) and (min-height:630px) {
  body.login-body:has(.hub-v1-login){overflow:hidden}
  .hub-v1-login{
    height:100vh;height:100dvh;min-height:0;max-height:100dvh;
    display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;
  }
  .hub-v1-topbar{flex-shrink:0;padding:clamp(10px,1.55vh,17px) 0}
  .hub-v1-logo-head{width:clamp(164px,16vw,206px);max-height:55px}
  .hub-v1-content{
    min-height:0;margin:0 auto;padding:clamp(8px,1.6vh,18px) 0;
    gap:clamp(20px,4vw,72px);
    grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);
  }
  .hub-v1-message{max-width:590px}
  .hub-v1-message h1{
    font-size:clamp(30px,3.9vh,47px);line-height:1.06;
    margin:clamp(9px,1.4vh,16px) 0 clamp(9px,1.4vh,15px);
  }
  .hub-v1-message>p{font-size:clamp(13px,1.9vh,16px);line-height:1.48;margin:0}
  .hub-v1-features{gap:8px;margin:clamp(11px,2vh,21px) 0 clamp(6px,1.3vh,12px)}
  .hub-v1-features>span{font-size:12px;padding:7px 10px}
  .hub-v1-message>small{font-size:11px;line-height:1.4}
  .hub-v1-auth{max-width:450px}
  .hub-v1-card{padding:clamp(16px,2.6vh,28px) clamp(20px,2.6vw,32px);border-radius:20px}
  .hub-v1-card-label{font-size:11px}
  .eventos-signin-logo{height:clamp(47px,7.5vh,67px);margin:2px 0 5px}
  .hub-v1-card h2{font-size:clamp(21px,2.9vh,26px);margin:6px 0 4px;line-height:1.16}
  .hub-v1-card>p{font-size:13px;margin:0 0 clamp(9px,1.4vh,16px)}
  .hub-v1-form{gap:clamp(5px,.9vh,9px)}
  .hub-v1-form label{margin:2px 0 0;font-size:12px}
  .hub-v1-form input{padding:clamp(9px,1.3vh,12px) 13px;font-size:14px;min-height:41px}
  .hub-v1-submit{padding:clamp(10px,1.5vh,13px) 16px;margin-top:clamp(6px,1vh,11px);font-size:14px}
  .hub-v1-help{margin-top:clamp(10px,1.8vh,19px);font-size:12px}
  .hub-v1-safe{font-size:11px;margin:clamp(7px,1.25vh,13px) auto 0;line-height:1.3}
  .hub-v1-footer{padding:clamp(7px,1.1vh,13px) 0;font-size:11px}
}
/* Em janelas baixas, celulares e ao usar zoom, preserva a rolagem natural. */
@media (max-height:629px) {
  body.login-body:has(.hub-v1-login){overflow-y:auto}
}
