/* Orcia | E-mails de acesso e telas de autenticação - 2026 */
:root{color-scheme:light;--ink:#123353;--muted:#55708a;--mint:#068c7a;--navy:#0d1e48;--edge:#d7e5ef}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
body{color:var(--ink);background:radial-gradient(ellipse at 95% 10%,#c4e7e866,transparent 43%),#edf4fa;font-size:14px}
a{color:#087c70}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait} .hidden{display:none!important}
:focus-visible{outline:3px solid #18a58c;outline-offset:3px}
.auth-top{height:72px;background:#fff;border-bottom:1px solid #d8e5ed}
.auth-top-inner{height:100%;width:min(1260px,calc(100% - 40px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:16px}
.auth-top img{width:137px;height:auto;display:block}
.auth-top .back{font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap}
.auth-top .back:hover{text-decoration:underline}
.auth-frame{width:min(1190px,calc(100% - 40px));margin:0 auto;padding:clamp(16px,2.5vh,26px) 0;min-height:calc(100svh - 72px);display:flex;align-items:center}
.auth-layout{width:100%;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:18px;align-items:stretch;min-height:clamp(450px,calc(100svh - 135px),660px)}
.auth-visual{position:relative;isolation:isolate;overflow:hidden;border-radius:25px;padding:clamp(23px,3vw,38px);display:flex;flex-direction:column;justify-content:space-between;background:#0a234c;color:#fff;box-shadow:0 18px 44px #102b4e29}
.auth-visual:before{content:"";position:absolute;inset:0;z-index:-2;background:url("orcia-enterprise-original-photo.avif") center / cover no-repeat}
.auth-visual:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(5,20,48,.96),rgba(6,23,49,.75) 35%,rgba(5,21,42,.13) 67%,rgba(5,20,42,.78) 100%),linear-gradient(90deg,rgba(4,17,38,.39),transparent 80%)}
.visual-copy{position:relative;z-index:1}
.visual-tag{display:inline-flex;align-items:center;border:1px solid #78f3dc66;background:#085e5a85;color:#b6ffed;font-size:10px;letter-spacing:.1em;font-weight:900;text-transform:uppercase;padding:8px 12px;border-radius:99px}
.auth-visual h2{max-width:16ch;margin:17px 0 11px;font-size:clamp(30px,3.3vw,44px);line-height:1.11;letter-spacing:-.05em;text-shadow:0 3px 20px #03102d9c}
.auth-visual p{font-size:14px;line-height:1.55;color:#eaf7ff;margin:0;max-width:34ch;text-shadow:0 2px 12px #061228}
.visual-chips{display:flex;gap:8px;flex-wrap:wrap}
.visual-chips span{font-size:10px;font-weight:800;line-height:1.4;color:#e6fff7;padding:8px 10px;border-radius:10px;border:1px solid #9af3df53;background:#051b3eab;backdrop-filter:blur(5px)}
.auth-panel{border-radius:25px;border:1px solid var(--edge);background:linear-gradient(145deg,#fff,#f8fcfe);box-shadow:0 18px 44px #1b36542a;padding:clamp(23px,3.5vw,45px);min-width:0;display:flex;flex-direction:column;justify-content:center}
.panel-brand{display:flex;align-items:center;gap:12px;margin:0 0 19px}
.panel-brand img{width:53px;height:53px;object-fit:contain;background:#141e4d;border-radius:14px;padding:4px}
.panel-brand span{display:block;color:#078677;font-weight:900;font-size:10px;letter-spacing:.12em;text-transform:uppercase}
.panel-brand small{color:#6b8297;font-size:10.5px;font-weight:650;display:block;margin-top:4px}
.auth-panel h1{font-size:clamp(29px,2.8vw,39px);line-height:1.12;letter-spacing:-.05em;margin:0 0 11px;text-wrap:balance}
.auth-panel .intro{font-size:13.5px;line-height:1.65;color:#4d6580;margin:0 0 22px}
.auth-panel form{display:grid;gap:16px}
.auth-panel label{display:grid;gap:7px;color:#294861;font-size:12px;font-weight:800}
.auth-panel input{height:49px;width:100%;padding:11px 13px;border:1px solid #c5d6e2;border-radius:11px;color:#173752;background:white;font-size:14px;outline:none}
.auth-panel input:focus{border-color:#06a58e;box-shadow:0 0 0 3px #20c7a021}
.auth-panel input::placeholder{color:#859bad}
.primary-action{border:0;border-radius:11px;min-height:49px;padding:12px 18px;background:linear-gradient(113deg,#087f70,#07a88e);color:white;font-weight:900;font-size:13px;box-shadow:0 9px 22px #059c7b28}
.primary-action:not(:disabled):hover{filter:brightness(1.08)}
.secondary-action{border:1px solid #9bc9be;color:#087568;background:#e9f9f4;border-radius:11px;min-height:44px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:12px;padding:10px 15px}
.info-note{border:1px solid #d1e5e4;border-radius:11px;background:#f1fbf9;padding:12px 14px;line-height:1.55;color:#476779;font-size:11.5px;margin-top:20px}
.action-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.action-row>*{flex:1 1 180px}
.status{border-radius:11px;padding:11px 13px;font-size:12px;line-height:1.55;margin:0 0 15px;border:1px solid #cde4ee;color:#345d73;background:#eff8fc}
.status.error{background:#fff1ef;border-color:#f0b4ab;color:#8f2c29}
.status.success{background:#e5f8ee;border-color:#9bdabb;color:#1a6b50}
.status:empty{display:none}
.step-note{font-size:11px;color:#637f93;line-height:1.65}
.password-guide{font-size:11px;color:#536d83;line-height:1.5;margin:-3px 0}
.input-with-toggle{position:relative}
.input-with-toggle input{padding-right:82px}
.show-password{position:absolute;right:8px;top:8px;border:0;background:#eef5f7;color:#2e586a;border-radius:7px;min-height:33px;padding:5px 9px;font-size:11px;font-weight:800}
.success-figure{width:57px;height:57px;display:grid;place-items:center;border-radius:18px;background:#def8ee;color:#038470;font-size:31px;font-weight:900;margin-bottom:19px}
.auth-panel .success-figure+h1{margin-top:0}
@media(max-width:900px){.auth-frame{width:min(650px,calc(100% - 26px));align-items:start;padding:16px 0 26px}.auth-layout{grid-template-columns:1fr;min-height:0;gap:15px}.auth-panel{order:-1;padding:27px}.auth-visual{min-height:280px;padding:25px}.auth-visual h2{font-size:clamp(27px,4.5vw,37px)}}
@media(max-width:560px){.auth-top{height:66px}.auth-top-inner{width:calc(100% - 28px)}.auth-top img{width:115px}.auth-top .back{font-size:11px}.auth-frame{padding:12px 0 22px;min-height:calc(100svh - 66px)}.auth-panel{border-radius:20px;padding:26px 21px}.auth-panel h1{font-size:30px}.auth-panel .intro{font-size:13px}.auth-visual{border-radius:20px;min-height:255px;padding:20px}.auth-visual h2{font-size:29px}.auth-visual p{font-size:11.5px}.visual-chips span{font-size:9px;padding:6px 8px}.auth-visual:before{background-position:68% center}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}


/* Marca oficial Orcia: o wordmark tem letras brancas e exige fundo escuro. */
.auth-top .auth-brand-mark{
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 auto;min-height:51px;padding:9px 13px;
  background:linear-gradient(128deg,#0c1745,#1b285d);
  border:1px solid rgba(92,131,201,.35);border-radius:13px;
  box-shadow:0 5px 18px rgba(8,24,61,.15);
  text-decoration:none;
}
.auth-top .auth-brand-mark img{
  display:block;width:151px;height:auto;max-width:100%;
  object-fit:contain;
}
.auth-panel .panel-brand{gap:14px;margin-bottom:22px;align-items:center}
.auth-panel .panel-brand .panel-logo-mark{
  display:flex;align-items:center;justify-content:center;flex:0 0 auto;
  min-height:52px;padding:10px 12px;border-radius:12px;
  background:linear-gradient(130deg,#0e1848,#1a2a64);
  box-shadow:0 6px 17px rgba(8,24,61,.16);
}
.auth-panel .panel-brand .panel-logo-mark img{
  display:block;width:135px;height:auto;max-width:100%;
  object-fit:contain;background:transparent;border:0;border-radius:0;
  padding:0;box-shadow:none;
}
.auth-panel .panel-brand .panel-brand-caption{min-width:0}
.auth-panel .panel-brand .panel-brand-caption span{font-size:10px;line-height:1.35}
.auth-panel .panel-brand .panel-brand-caption small{font-size:10.5px;line-height:1.35}
@media(max-width:560px){
  .auth-top .auth-brand-mark{min-height:45px;padding:8px 11px;border-radius:11px}
  .auth-top .auth-brand-mark img{width:126px}
  .auth-panel .panel-brand{gap:10px;margin-bottom:18px;flex-wrap:wrap}
  .auth-panel .panel-brand .panel-logo-mark{padding:9px 11px;min-height:48px}
  .auth-panel .panel-brand .panel-logo-mark img{width:125px}
}
.auth-panel .preview-label{font-weight:800;font-size:11px;letter-spacing:.02em;color:#886409;background:#fff5db;border:1px solid #eed18a;padding:9px 12px;border-radius:9px;margin:0 0 16px}


/* Orcia · finalização visual do fluxo de acesso: sem cabeçalho externo.
   A marca permanece no card; todas as etapas compartilham o mesmo enquadramento. */
html[data-orcia-page="auth-flow"] .auth-frame{
  min-height:100svh;
  padding:clamp(14px,2vh,24px) 0;
}
html[data-orcia-page="auth-flow"] .auth-layout{
  min-height:clamp(460px,calc(100svh - 48px),680px);
}
html[data-orcia-page="auth-flow"] .auth-panel h1[tabindex="-1"]:focus,
html[data-orcia-page="auth-flow"] .auth-panel h1[tabindex="-1"]:focus-visible{
  outline:none;
  box-shadow:none;
}
/* Mantém realce de foco para botões, links e campos do formulário. */
@media(max-width:900px){
  html[data-orcia-page="auth-flow"] .auth-frame{
    min-height:100svh;
    align-items:flex-start;
    padding:16px 0 25px;
  }
  html[data-orcia-page="auth-flow"] .auth-layout{min-height:0}
}
@media(max-width:560px){
  html[data-orcia-page="auth-flow"] .auth-frame{
    min-height:100svh;
    padding:12px 0 22px;
  }
}
