@charset "UTF-8";

/* Tela "Acesso à plataforma" (esboço Nova Home). Fontes locais, SIL Open Font License 1.1. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/poppins-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/poppins-800-latin.woff2") format("woff2"); }

:root {
  --lg-orange: #ff4b12;
  --lg-orange-strong: #d63408;
  --lg-orange-text: #c2410c;
  --lg-ink: #111111;
  --lg-muted: #555555;
  --lg-line: #d9d5d1;
  --lg-head: "Poppins", "Inter", "Segoe UI", Arial, sans-serif;
  --lg-font: "Inter", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body.lg-body { margin: 0; min-height: 100%; }
body.lg-body { background: #fff; color: var(--lg-ink); font-family: var(--lg-font); font-size: 16px; line-height: 1.5; }
.lg-body img, .lg-body svg { display: block; max-width: 100%; }
.lg-body h1, .lg-body h2 { margin: 0; font-family: var(--lg-head); letter-spacing: -0.03em; line-height: 1.08; }
.lg-body p { margin: 0; }
.lg-body a { color: inherit; }
.lg-body [hidden] { display: none !important; }
.lg-body :focus-visible { outline: 3px solid var(--lg-orange); outline-offset: 3px; }

.lg-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); min-height: 100vh; }

/* ---------- lado escuro ---------- */
.lg-side { position: relative; display: flex; flex-direction: column; gap: 40px; padding: 44px 56px 32px; overflow: hidden; color: #e6e6e6; background: radial-gradient(800px 600px at 100% 0%, #3a1a0c 0%, rgba(58, 26, 12, 0) 60%), linear-gradient(160deg, #161210 0%, #0f0f0f 70%); }
.lg-logo img { width: 230px; height: auto; }
.lg-side-copy { margin-top: auto; max-width: 520px; }
.lg-side-copy h2 { color: #fff; font-size: clamp(30px, 3.1vw, 44px); font-weight: 800; }
.lg-side-copy em { font-style: normal; color: var(--lg-orange); background: linear-gradient(var(--lg-orange), var(--lg-orange)) 0 96% / 100% 4px no-repeat; }
.lg-side-copy p { margin-top: 16px; color: #cfcfcf; font-size: 18px; }

.lg-mock { position: relative; width: min(500px, 100%); height: 300px; margin-bottom: auto; }
.lg-mock-card { position: absolute; left: 0; top: 30px; width: 62%; padding: 18px; border-radius: 16px; background: #fff; color: var(--lg-ink); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35); }
.lg-mock-card > strong { font-family: var(--lg-head); font-size: 15px; }
.lg-mock-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.lg-mock-kpis div { padding: 10px; border-radius: 10px; background: #f6f5f4; }
.lg-mock-kpis small { display: block; color: #666; font-size: 12px; }
.lg-mock-kpis b { font-family: var(--lg-head); font-size: 20px; }
.lg-mock-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 14px; }
.lg-mock-bars i { flex: 1; border-radius: 2px; background: #e5e3e1; }
.lg-mock-bars i:nth-child(3n + 1) { background: #ffb39a; }
.lg-mock-bars i:last-child { background: var(--lg-orange); }
.lg-mock-bars i:nth-child(1) { height: 30%; } .lg-mock-bars i:nth-child(2) { height: 25%; } .lg-mock-bars i:nth-child(3) { height: 80%; } .lg-mock-bars i:nth-child(4) { height: 90%; } .lg-mock-bars i:nth-child(5) { height: 35%; } .lg-mock-bars i:nth-child(6) { height: 20%; } .lg-mock-bars i:nth-child(7) { height: 60%; }
.lg-mock-bars i:nth-child(8) { height: 85%; } .lg-mock-bars i:nth-child(9) { height: 30%; } .lg-mock-bars i:nth-child(10) { height: 65%; } .lg-mock-bars i:nth-child(11) { height: 45%; } .lg-mock-bars i:nth-child(12) { height: 22%; } .lg-mock-bars i:nth-child(13) { height: 55%; } .lg-mock-bars i:nth-child(14) { height: 100%; }
.lg-mock-note { display: block; margin-top: 10px; color: #6b6b6b; font-size: 12px; }
.lg-mock-toast { position: absolute; right: 0; top: 0; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid #2c2c2c; border-radius: 14px; background: #1b1b1b; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); animation: lg-float 6s ease-in-out infinite; }
.lg-mock-toast b { display: block; color: #fff; font-size: 15px; }
.lg-mock-toast small { color: #bdbdbd; }
.lg-bell { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--lg-orange-strong); }
.lg-bell svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lg-mock-status { position: absolute; right: 4%; bottom: 0; display: grid; gap: 10px; width: 46%; padding: 14px 16px; border: 1px solid #2c2c2c; border-radius: 14px; background: #1b1b1b; animation: lg-float 7s ease-in-out infinite reverse; }
.lg-mock-status b { color: #fff; font-size: 14px; }
.lg-mock-status small { color: #ff7a45; font-weight: 700; }
.lg-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.lg-steps i { height: 5px; border-radius: 5px; background: #3a3a3a; }
.lg-steps i.is-on { background: var(--lg-orange); }
@keyframes lg-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.lg-side-foot { display: flex; flex-wrap: wrap; gap: 8px 22px; color: #a8a8a8; font-size: 14px; }
.lg-side-foot span { display: inline-flex; align-items: center; gap: 6px; }
.lg-side-foot svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- formulário ---------- */
.lg-main { display: flex; flex-direction: column; padding: 32px 56px 26px; }
.lg-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; font-size: 15px; }
.lg-back { display: inline-flex; align-items: center; gap: 8px; color: var(--lg-ink); font-weight: 600; text-decoration: none; }
.lg-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lg-back:hover { text-decoration: underline; }
.lg-top p { color: var(--lg-muted); }
.lg-top p a { color: var(--lg-orange-text); font-weight: 700; text-decoration: none; }
.lg-top p a:hover { text-decoration: underline; }

.lg-box { width: min(440px, 100%); margin: auto; padding-block: 48px; }
.lg-chip { display: inline-block; padding: 5px 12px; border-radius: 8px; background: #fff1ea; color: #b2380b; font-family: var(--lg-head); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.lg-box h1 { margin-top: 16px; font-size: clamp(32px, 3.4vw, 42px); font-weight: 800; }
.lg-intro { margin-top: 12px; color: var(--lg-muted); font-size: 16px; }

.lg-form { display: grid; gap: 18px; margin-top: 30px; }
.lg-field { display: grid; gap: 8px; }
.lg-field > span:first-child { font-weight: 700; font-size: 15px; }
.lg-input { position: relative; display: flex; align-items: center; }
.lg-input > svg { position: absolute; left: 14px; width: 18px; height: 18px; fill: none; stroke: #6b6b6b; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.lg-input input { width: 100%; min-height: 52px; padding: 12px 48px 12px 44px; border: 1px solid var(--lg-line); border-radius: 10px; background: #fff; color: var(--lg-ink); font: inherit; }
.lg-input input::placeholder { color: #777; }
.lg-input input:focus { outline: none; border-color: var(--lg-orange); box-shadow: 0 0 0 3px rgba(255, 75, 18, 0.18); }
.lg-eye { position: absolute; right: 6px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: #444; cursor: pointer; }
.lg-eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lg-eye[aria-pressed="true"] { color: var(--lg-orange-text); }
.lg-row { display: flex; justify-content: flex-end; margin-top: -6px; }
.lg-link { border: 0; padding: 4px 0; background: none; color: var(--lg-orange-text); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.lg-link:hover { text-decoration: underline; }
.lg-forgot { padding: 12px 14px; border-radius: 10px; background: #f6f5f4; color: #333; font-size: 14px; }
.lg-forgot a { color: var(--lg-orange-text); font-weight: 700; }

.lg-feedback { padding: 12px 14px; border-radius: 10px; background: #fdecec; color: #991b1b; font-size: 14px; font-weight: 600; }
.lg-feedback.is-success { background: #e8f6ee; color: #15803d; }
.lg-select { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--lg-line); border-radius: 12px; }
.lg-select > strong { font-size: 15px; }
.lg-select > div { display: grid; gap: 8px; }
.lg-select .admin-button { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 46px; padding: 10px 14px; border: 1px solid var(--lg-line); border-radius: 10px; background: #fff; color: var(--lg-ink); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.lg-select .admin-button:hover { border-color: var(--lg-orange); }
.lg-select .admin-button small { color: var(--lg-muted); font-weight: 500; }

.lg-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; margin-top: 4px; border: 0; border-radius: 10px; background: var(--lg-orange-strong); color: #fff; font-family: var(--lg-head); font-size: 17px; font-weight: 700; cursor: pointer; box-shadow: 0 14px 28px rgba(214, 52, 8, 0.26); transition: background 0.15s, transform 0.15s; }
.lg-submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lg-submit:hover { background: #bf2e06; transform: translateY(-1px); }
.lg-submit:disabled { opacity: 0.7; cursor: wait; transform: none; }

.lg-help { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px; border-radius: 12px; background: #f6f5f4; font-size: 15px; }
.lg-help-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--lg-ink); }
.lg-help-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--lg-orange); stroke-width: 2; stroke-linejoin: round; }
.lg-help p { color: #333; }
.lg-help b { display: block; color: var(--lg-ink); }
.lg-help a { color: var(--lg-orange-text); font-weight: 700; overflow-wrap: anywhere; }
.lg-foot { color: #6b6b6b; font-size: 14px; }

@media (max-width: 1000px) {
  .lg-layout { grid-template-columns: 1fr; }
  .lg-side { order: 2; gap: 24px; padding: 36px 24px 28px; }
  .lg-side-copy { margin-top: 0; }
  .lg-mock { margin: 0 auto; }
  .lg-main { padding: 20px 24px 24px; }
  .lg-box { padding-block: 32px 40px; }
}

@media (max-width: 520px) {
  .lg-main, .lg-side { padding-inline: 16px; }
  .lg-top { font-size: 14px; }
  .lg-mock { height: 340px; }
  .lg-mock-card { width: 78%; top: 56px; }
  .lg-mock-toast { padding: 10px 12px; }
  .lg-mock-status { width: 58%; right: 0; }
  .lg-logo img { width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .lg-body *, .lg-body *::before, .lg-body *::after { animation: none !important; transition: none !important; }
}
