/* CONFIANCE — proporcoes da referencia (1025 x 1535).
   Logotipo e faixa do titulo vem da imagem fornecida pelo usuario. */
:root { color-scheme: light; --navy:#073465; --blue:#0065ee; --gold:#ffd27b; --line:#a9c9f3; --text:#0a2c57; }
* { box-sizing: border-box; }
html,body { min-width:320px; }
body { margin:0; color:var(--text); font-family:'Segoe UI',Inter,system-ui,-apple-system,Arial,sans-serif; -webkit-font-smoothing:antialiased; }
button,input { font:inherit; }
a { color:#005dff; text-decoration:none; }
a:hover { text-decoration:underline; }
a:focus-visible, button:focus-visible, input:focus-visible { outline:3px solid #f8bb4a; outline-offset:3px; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.access-shell {
  min-height:100vh; position:relative;isolation:isolate;overflow:hidden;
  display:flex;justify-content:center;align-items:flex-start;padding:62px 24px 125px;
  background:radial-gradient(ellipse at 102% 92%,#006bd1 0%,#168ee7 13%,#8dcbf8 29%,transparent 52%),
             radial-gradient(ellipse at -3% 103%,#b0d8fc 0%,#edf7ff 50%,transparent 72%),
             linear-gradient(127deg,#e7f2ff 0%,#f4f9ff 48%,#c8e7ff 100%);
}
.access-shell::before {
  content:'';z-index:-1;position:absolute;width:140%;height:28%;bottom:-15%;left:-14%;
  background:linear-gradient(180deg,#e3f4ff 0%,#b5dcff 100%);border-radius:50% 50% 0 0;transform:rotate(-16deg);opacity:.86;
}
.access-shell::after {
  content:'';z-index:-1;position:absolute;width:54%;height:29%;right:-18%;bottom:-6%;
  background:linear-gradient(140deg,#60b4f7 0%,#0063c8 80%);border-radius:75% 0 0 0;transform:rotate(-19deg);
}
.access-card {
  width:min(860px,100%);min-height:1340px;flex:none;position:relative;isolation:isolate;overflow:hidden;
  border:3px solid rgba(255,255,255,.92);border-radius:48px;
  background:radial-gradient(ellipse at 91% 10%,#e5f0ff 0%,transparent 19%),
             radial-gradient(ellipse at 11% 91%,#f4f9ff 0%,transparent 44%),
             linear-gradient(108deg,#fff 0%,#fdfefe 57%,#f7fbff 100%);
  box-shadow:0 21px 45px rgba(22,69,120,.24),inset 0 0 0 1px rgba(223,241,255,.9);
}
.access-card::before {
  content:'';position:absolute;pointer-events:none;right:-138px;top:-22px;width:540px;height:300px;
  border-radius:0 0 0 100%;background:linear-gradient(135deg,rgba(213,234,255,0),rgba(183,216,253,.45));transform:rotate(-17deg);
}
.access-card::after {
  content:'';position:absolute;pointer-events:none;bottom:-155px;left:-145px;width:700px;height:270px;
  border-radius:50% 60% 0 0;background:linear-gradient(95deg,rgba(245,250,255,0),#bdedff 60%,#e8f7ff);transform:rotate(-7deg);
}
.corner-art { position:absolute;z-index:0;pointer-events:none; }
.corner-art--top {
  left:-91px;top:-106px;width:415px;height:365px;border-radius:0 0 96% 0;
  background:linear-gradient(137deg,#00bcff 0%,#0067dc 35%,#003779 64%,#0b74e2 90%);
  transform:rotate(-9deg);box-shadow:inset -16px -12px 0 #f9ca65;
}
.corner-art--top::after {
  content:'';position:absolute;width:380px;height:265px;right:-43px;top:150px;
  background:#fcfeff;border-radius:0 0 0 97%;transform:rotate(-9deg);
}
.corner-art--top span {
  position:absolute;left:43px;top:43px;width:300px;height:105px;border-radius:0 0 100% 0;
  background:linear-gradient(130deg,#019eea,#0055c8);transform:rotate(-16deg);
}
.corner-art--bottom {
  width:500px;height:285px;right:-174px;bottom:-176px;
  background:linear-gradient(110deg,#63d5ff 0%,#0488eb 46%,#033c9c 100%);
  border-top:10px solid #ffd37b;border-radius:100% 0 0 0;transform:rotate(-17deg);box-shadow:0 -10px 0 #fff;
}
.corner-art--bottom::after {
  content:'';position:absolute;left:-130px;top:39px;width:450px;height:115px;
  background:linear-gradient(90deg,#bde7ff,#118ded);border-radius:50% 100% 0 0;opacity:.6;transform:rotate(-2deg);
}
.card-content { width:100%;position:relative;z-index:1;padding:32px 58px 66px; }
.brand-header { text-align:center; }
.brand-logo-frame {
  display:flex;align-items:center;justify-content:center;width:276px;height:202px;margin:0 auto;
  border-radius:36px;border:2px solid #83baff;background:linear-gradient(140deg,#fff,#f8fbff);
  box-shadow:0 10px 19px #245a982e,0 17px 21px #1a61a219;overflow:hidden;
}
.brand-logo-frame img { display:block;width:248px;height:auto;mix-blend-mode:multiply; }
.brand-wordmark {
  display:flex;align-items:center;justify-content:center;gap:28px;font-size:29px;font-weight:750;
  letter-spacing:.17em;color:#0a3970;margin-top:17px;line-height:1;
}
.brand-wordmark i { width:90px;height:3px;flex:none;background:linear-gradient(90deg,transparent,#efb444,#d89d2f); }
.brand-wordmark i:last-child { transform:scaleX(-1); }
.heading-banner { display:block;width:100%;max-width:760px;height:auto;margin:21px auto 0; }
.brand-description {
  font-size:28px;font-weight:650;line-height:1.25;color:#092c55;text-align:center;margin:14px auto 27px;
}
.access-form,.account-links { width:100%;max-width:716px;margin-inline:auto; }
.form-field { margin:0 0 25px; }
.form-field--password { margin-bottom:35px; }
.field-label {
  display:inline-flex;gap:14px;align-items:center;color:#0a376c;
  font-size:25px;font-weight:750;line-height:1.25;margin-bottom:9px;
}
.field-label svg { width:38px;height:38px;flex:none;fill:none;stroke:#0063d4;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round; }
.password-label-row { display:flex;justify-content:space-between;align-items:center;gap:10px; }
.forgot-link { font-size:21px;font-weight:700;text-align:right;margin-bottom:8px; }
.field-control {
  display:flex;align-items:center;gap:18px;width:100%;height:76px;padding:0 28px;
  border:2px solid #adcbef;border-radius:19px;background:linear-gradient(125deg,#eef5ff 0%,#e8f2ff 100%);
  box-shadow:inset 0 1px 4px #d3e4ff3d;
}
.field-control:focus-within { border-color:#237af4;box-shadow:0 0 0 4px #1c7cff20; }
.field-icon { flex:none;width:37px;height:37px;fill:none;stroke:#087cdd;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round; }
.field-control input { min-width:0;width:100%;flex:1;border:0;outline:0;background:transparent;color:#111827;font-size:26px;font-weight:550; }
.field-control input::placeholder { color:#111827;opacity:1; }
.field-control input::-ms-reveal { display:none; }
.field-control--password { gap:16px; }
.reveal-password {
  width:53px;height:56px;padding:8px;display:grid;place-items:center;background:transparent;border:0;
  border-left:2px solid #c6dbf4;border-radius:0;cursor:pointer;color:#073465;
}
.reveal-password svg { width:40px;height:40px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none; }
.reveal-password:hover { color:#0066e9; }
.submit-button {
  width:100%;height:91px;display:flex;justify-content:center;align-items:center;gap:32px;
  border:2px solid #48b3ff;border-radius:29px;color:white;font-size:49px;line-height:1;font-weight:750;
  text-shadow:0 1px 1px rgba(0,40,120,.25);
  background:linear-gradient(180deg,#049dff 0%,#0766db 31%,#002b89 100%);
  box-shadow:inset 0 2px 2px #a4dcff8a,0 8px 15px #063f9860;
  cursor:pointer;transition:filter .18s ease,transform .18s ease;
}
.submit-button:hover { filter:brightness(1.09);transform:translateY(-1px); }
.submit-button:active { transform:translateY(1px); }
.submit-button svg { width:56px;height:56px;stroke:white;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;fill:none; }
.button-divider { display:block;width:2px;height:46px;background:#fff;opacity:.95; }
.session-notice {
  min-height:96px;margin-top:29px;display:flex;align-items:center;justify-content:center;gap:24px;padding:13px 22px;
  border:2px solid #ff5360;border-radius:21px;background:linear-gradient(100deg,#fff4f5,#ffe3e6);
  color:#cb1119;font-size:24px;line-height:1.3;font-weight:750;text-align:left;
}
.session-notice svg { flex:none;width:54px;height:54px;stroke:#d90b1b;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none; }
.demo-info { margin:15px 0 0;color:#0a3970;font-size:15px; }
.account-links { display:flex;flex-direction:column;align-items:center;gap:24px;padding:28px 0 0; }
.signup-line { display:flex;justify-content:center;align-items:center;gap:20px;margin:0;font-size:25px;white-space:nowrap; }
.signup-line svg { flex:none;width:46px;height:46px;stroke:#0c4e8d;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
.signup-line a { font-weight:750;text-decoration:underline; }
.institutional-link { display:flex;align-items:center;gap:20px;font-size:25px;font-weight:750;color:#00517c; }
.institutional-link svg { width:47px;height:47px;stroke:#005b8c;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
@media (max-width:760px) {
  .access-shell { padding:14px 10px 28px; }
  .access-card { width:min(100%,490px);min-height:0;border-radius:28px;border-width:2px; }
  .card-content { padding:30px 22px 44px; }
  .brand-logo-frame { width:175px;height:137px;border-radius:24px; }
  .brand-logo-frame img { width:158px; }
  .brand-wordmark { margin-top:18px;font-size:15px;gap:12px;letter-spacing:.13em; }
  .brand-wordmark i { width:42px;height:2px; }
  .heading-banner { margin-top:19px;width:111%;max-width:none;margin-left:-5.5%; }
  .brand-description { font-size:clamp(15px,4vw,19px);line-height:1.4;margin:8px auto 25px; }
  .form-field { margin-bottom:19px; }
  .form-field--password { margin-bottom:26px; }
  .field-label { font-size:17px;gap:8px;margin-bottom:8px; }
  .field-label svg { width:23px;height:23px; }
  .forgot-link { font-size:12px;margin-bottom:7px; }
  .field-control { height:58px;border-radius:12px;gap:12px;padding:0 15px; }
  .field-icon { width:24px;height:24px; }
  .field-control input { font-size:clamp(14px,3.8vw,18px); }
  .reveal-password { width:36px;height:40px;padding:6px; }
  .reveal-password svg { width:25px;height:25px; }
  .submit-button { height:67px;border-radius:16px;gap:17px;font-size:27px; }
  .submit-button svg { width:31px;height:31px; }
  .button-divider { height:31px; }
  .session-notice { min-height:72px;margin-top:20px;border-radius:13px;padding:12px;gap:10px;font-size:clamp(12px,3.2vw,15px); }
  .session-notice svg { width:30px;height:30px; }
  .desktop-break { display:none; }
  .account-links { gap:22px;padding-top:25px; }
  .signup-line { font-size:clamp(13px,3.7vw,18px);gap:10px; }
  .signup-line svg { width:28px;height:28px; }
  .institutional-link { font-size:clamp(13px,3.7vw,18px);gap:11px; }
  .institutional-link svg { width:27px;height:27px; }
  .corner-art--top { transform:scale(.59) rotate(-9deg);transform-origin:left top; }
  .corner-art--bottom { transform:scale(.63) rotate(-17deg);transform-origin:right bottom; }
}
@media (max-width:360px) { .card-content { padding-left:14px;padding-right:14px; } .signup-line { gap:6px; } }
@media (prefers-reduced-motion:reduce) { .submit-button { transition:none; } }

/* Estados funcionais da página real, além da composição da referência. */
.login-page { color:#0a2c57; }
.access-card { min-height:0; }
.heading-banner { mix-blend-mode:multiply; }
.brand-description { margin-top:24px; }
.corner-art--top {
  left:0;top:0;width:265px;height:295px;border-radius:0 0 100% 0;
  transform:none;box-shadow:inset -10px -8px 0 #f9ca65;
}
.corner-art--top::after { display:none; }
.corner-art--top span {
  left:-28px;top:-43px;width:245px;height:252px;border-radius:0 0 100% 0;
  transform:none;background:linear-gradient(130deg,#009ff3,#0053c2);
}
.access-form[hidden], .access-message[hidden], .session-notice[hidden] { display:none; }
.access-heading {
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.forgot-link { display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;background:transparent;color:#005dff;cursor:pointer; }
.forgot-link:hover { text-decoration:underline; }
.access-message {
  margin:24px 0 0;padding:16px 20px;border:2px solid #ff5360;border-radius:18px;
  background:#fff4f5;color:#bc1119;font-size:20px;font-weight:700;line-height:1.3;text-align:center;
}
.access-message.success { border-color:#74bda6;background:#e7f7f0;color:#0d7654; }
.submit-button:disabled { cursor:progress;opacity:.75;transform:none; }
.access-secondary-action {
  display:block;width:100%;min-height:60px;margin-top:16px;padding:12px 18px;
  border:2px solid #adcbef;border-radius:18px;background:#fff;color:#073465;
  font-size:22px;font-weight:750;cursor:pointer;
}
.access-secondary-action:hover { border-color:#0065ee;background:#eef5ff; }
.login-page:not([data-access-view="login"]) .access-card { min-height:0; }
.login-page:not([data-access-view="login"]) .heading-banner { display:none; }
.login-page:not([data-access-view="login"]) .access-heading {
  position:static;width:auto;height:auto;margin:36px 0 0;overflow:visible;clip:auto;
  color:#073465;font-size:clamp(32px,4vw,46px);font-weight:800;line-height:1.15;white-space:normal;
}
.login-page:not([data-access-view="login"]) .brand-description { max-width:34ch;margin:18px auto 40px;font-size:23px; }
.login-page:not([data-access-view="login"]) .corner-art--bottom { opacity:.7; }
.recovery-form .form-field { margin-bottom:28px; }
.recovery-form .submit-button { margin-top:8px;font-size:clamp(25px,4vw,42px); }
@media (min-width:761px) {
  .access-shell { align-items:center;padding:20px 24px; }
  .access-card { width:min(616px,100%);min-height:780px;border-radius:30px; }
  .card-content { padding:20px 38px 30px; }
  .corner-art--top { width:190px;height:145px;transform:none; }
  .corner-art--top span { left:-20px;top:-26px;width:170px;height:130px; }
  .corner-art--bottom { transform:scale(.68) rotate(-17deg);transform-origin:right bottom; }
  .brand-logo-frame { width:140px;height:102px;border-radius:20px; }
  .brand-logo-frame img { width:124px; }
  .brand-wordmark { margin-top:13px;gap:15px;font-size:17px; }
  .brand-wordmark i { width:50px;height:2px; }
  .heading-banner { max-width:536px;margin-top:12px; }
  .brand-description { margin:13px auto 19px;font-size:18px;line-height:1.3; }
  .form-field { margin-bottom:18px; }
  .form-field--password { margin-bottom:20px; }
  .field-label { margin-bottom:5px;gap:9px;font-size:17px; }
  .field-label svg { width:24px;height:24px; }
  .forgot-link { font-size:14px; }
  .field-control { height:50px;padding:0 15px;border-radius:13px; }
  .field-icon { width:24px;height:24px; }
  .field-control input { font-size:17px; }
  .reveal-password { width:44px;height:44px; }
  .reveal-password svg { width:27px;height:27px; }
  .submit-button { height:60px;gap:18px;border-radius:17px;font-size:28px; }
  .submit-button svg { width:34px;height:34px; }
  .button-divider { height:32px; }
  .session-notice { min-height:58px;margin-top:13px;gap:12px;padding:9px 14px;border-radius:14px;font-size:15px; }
  .session-notice svg { width:32px;height:32px; }
  .account-links { gap:10px;padding-top:20px; }
  .signup-line,.institutional-link { gap:10px;font-size:16px; }
  .signup-line svg,.institutional-link svg { width:28px;height:28px; }
  .access-message { margin-top:13px;padding:10px 14px;font-size:15px; }
  .access-secondary-action { min-height:48px;margin-top:12px;font-size:16px; }
  .login-page:not([data-access-view="login"]) .access-heading { margin-top:20px;font-size:30px; }
  .login-page:not([data-access-view="login"]) .brand-description { margin:10px auto 24px;font-size:17px; }
  .recovery-form .form-field { margin-bottom:18px; }
  .recovery-form .submit-button { font-size:25px; }
}
@media (min-width:761px) and (max-height:840px) {
  .access-shell { padding:12px 20px; }
  .access-card { width:min(520px,100%);min-height:0; }
  .card-content { padding:14px 28px 20px; }
  .corner-art--top { width:155px;height:108px; }
  .corner-art--top span { left:-16px;top:-20px;width:140px;height:100px; }
  .brand-logo-frame { width:110px;height:80px;border-radius:17px; }
  .brand-logo-frame img { width:98px; }
  .brand-wordmark { margin-top:6px;gap:11px;font-size:14px; }
  .brand-wordmark i { width:40px; }
  .heading-banner { max-width:460px;margin-top:7px; }
  .brand-description { margin:4px auto 9px;font-size:16px; }
  .form-field { margin-bottom:8px; }
  .form-field--password { margin-bottom:11px; }
  .field-label { margin-bottom:3px;font-size:16px; }
  .field-label svg,.field-icon { width:22px;height:22px; }
  .field-control { height:44px; }
  .field-control input { font-size:16px; }
  .submit-button { height:52px;font-size:25px; }
  .submit-button svg { width:30px;height:30px; }
  .button-divider { height:28px; }
  .session-notice { min-height:50px;margin-top:9px;padding:7px 12px;font-size:13px; }
  .session-notice svg { width:27px;height:27px; }
  .account-links { gap:7px;padding-top:11px; }
  .signup-line,.institutional-link { gap:8px;font-size:14px; }
  .signup-line svg,.institutional-link svg { width:24px;height:24px; }
  .login-page:not([data-access-view="login"]) .access-heading { margin-top:14px;font-size:26px; }
  .login-page:not([data-access-view="login"]) .brand-description { margin:8px auto 18px;font-size:16px; }
}
@media (max-width:760px) {
  .access-card { min-height:0; }
  .brand-description { margin-top:8px; }
  .corner-art--top { transform:scale(.59);transform-origin:left top; }
  .forgot-link { font-size:14px; }
  .reveal-password { width:44px;height:44px; }
  .access-message { margin-top:18px;padding:12px;font-size:14px;border-radius:12px; }
  .access-secondary-action { min-height:48px;border-radius:12px;font-size:16px; }
  .login-page:not([data-access-view="login"]) .access-card { min-height:0; }
  .login-page:not([data-access-view="login"]) .access-heading { margin-top:26px;font-size:28px; }
  .login-page:not([data-access-view="login"]) .brand-description { margin:12px auto 26px;font-size:16px; }
}
