:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172235;
  background: #06245c;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: #06245c;
}

button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.page-shell {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 75% 48%, rgba(19, 84, 180, .5), transparent 49%),
    linear-gradient(115deg, #05245c 5%, #06337a 66%, #06245c 100%);
}

.page-shell::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(43vw, 560px);
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 36, 92, .08) 35%, #06245c 100%),
    linear-gradient(0deg, rgba(5, 36, 92, .25), rgba(5, 36, 92, .12)),
    url("https://facnetfibra.com.br/assetss/images/mulher-capa.jpg") center 35% / cover no-repeat;
  opacity: .8;
}

.site-header {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: center;
  padding: 22px 30px 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand img { display: block; width: min(220px, 62vw); height: auto; }

.page-content {
  display: grid;
  width: min(1140px, 100%);
  flex: 1;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  align-items: center;
  gap: clamp(32px, 6vw, 92px);
  margin: 0 auto;
  padding: 12px 42px 32px;
}

.intro {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  justify-content: center;
  padding: 12px 20px 44px 0;
  color: #fff;
}

.intro-copy { max-width: 480px; }

.eyebrow {
  margin: 0 0 15px;
  color: #699de8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.intro .eyebrow { color: #9dc2ff; }

h1, h2 {
  margin: 0;
  font-family: inherit;
  letter-spacing: -1.5px;
}

h1 {
  max-width: 470px;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.08;
}

.intro-description {
  max-width: 390px;
  margin: 21px 0 0;
  color: #d3e2fa;
  font-size: 16px;
  line-height: 1.75;
}

.intro-footer {
  margin: auto 0 0;
  color: #aac3e7;
  font-size: 13px;
}

.auth-panel {
  display: flex;
  min-height: 485px;
  flex-direction: column;
  justify-content: center;
  padding: 42px clamp(30px, 4vw, 52px);
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 14, 47, .28);
}

.auth-content { width: 100%; max-width: 370px; margin: auto; }

h2 {
  font-size: 29px;
  line-height: 1.25;
}

.form-subtitle {
  margin: 10px 0 27px;
  color: #7d8798;
  font-size: 14px;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 8px;
  color: #344055;
  font-size: 13px;
  font-weight: 600;
}

.field input {
  width: 100%;
  height: 47px;
  padding: 0 13px;
  border: 1px solid #dfe4ec;
  border-radius: 6px;
  outline: none;
  color: #202c40;
  background: #fff;
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.field input::placeholder { color: #aab2bf; }
.field input:focus {
  border-color: #3977d4;
  box-shadow: 0 0 0 3px rgba(57, 119, 212, .12);
}

.submit-button {
  display: flex;
  min-height: 47px;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 8px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #087c3e;
  box-shadow: 0 5px 13px rgba(8, 124, 62, .18);
  font-size: 14px;
  font-weight: 700;
  transition: background .18s ease, transform .18s ease;
}

.submit-button:hover { transform: translateY(-1px); background: #066c36; }
.submit-button:focus-visible {
  outline: 3px solid rgba(50, 111, 224, .32);
  outline-offset: 3px;
}
.submit-button:disabled { cursor: wait; opacity: .7; transform: none; }
.button-arrow { font-size: 18px; font-weight: 400; }

.security-note {
  margin: 20px 0 0;
  color: #9099a8;
  text-align: center;
  font-size: 11px;
}

.security-note span { margin-right: 5px; color: #4a9d75; font-size: 9px; }

.notice {
  margin: 0 0 15px;
  padding: 11px 12px;
  border: 1px solid #f1ceca;
  border-radius: 6px;
  color: #a33b32;
  background: #fff7f6;
  font-size: 13px;
  line-height: 1.5;
}

.notice.success {
  border-color: #cce8d8;
  color: #26734b;
  background: #f4fbf7;
}

.panel-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 20px 15px;
  color: rgba(226, 238, 255, .75);
  text-align: center;
  font-size: 11px;
}

.panel-footer a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; }
.panel-footer a:hover { color: #b7e9ff; text-decoration-color: currentColor; }
.panel-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.account-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 22px;
  padding: 16px;
  border: 1px solid #e6eaf0;
  border-radius: 8px;
  background: #fafbfd;
}

.account-avatar {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #326fe0;
  background: #e8f0ff;
  font-size: 16px;
  font-weight: 700;
}

.account-card strong, .account-card div span { display: block; }
.account-card strong { overflow-wrap: anywhere; font-size: 14px; }
.account-card div span { margin-top: 4px; color: #8a94a3; font-size: 12px; }
.secondary-button { color: #344055; background: #eef1f6; box-shadow: none; }
.secondary-button:hover { color: #263650; background: #e3e8f0; }

@media (max-width: 760px) {
  .page-shell { min-height: 100vh; min-height: 100svh; }
  .page-shell::before {
    width: 100%;
    background:
      linear-gradient(180deg, rgba(5, 36, 92, .12) 0%, #06245c 52%, #06245c 100%),
      url("https://facnetfibra.com.br/assetss/images/mulher-capa.jpg") 28% top / auto 58% no-repeat;
    opacity: .72;
  }
  .site-header { min-height: 100px; padding: 23px 20px 12px; }
  .page-content {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 0;
    padding: 8px 20px 24px;
  }
  .intro { display: none; }
  .auth-panel {
    width: min(100%, 450px);
    min-height: 0;
    justify-self: center;
    padding: 32px clamp(22px, 7vw, 36px);
    border-radius: 10px;
  }
  .panel-footer { padding-top: 15px; }
}

@media (max-width: 380px) {
  .site-header { min-height: 88px; }
  .page-content { padding-right: 14px; padding-left: 14px; }
  .auth-panel { padding-right: 20px; padding-left: 20px; }
  .form-subtitle { margin-bottom: 22px; }
}

@media (max-height: 700px) and (min-width: 761px) {
  .site-header { min-height: 86px; }
  .page-content { padding-top: 0; padding-bottom: 12px; }
  .intro { min-height: 390px; padding-bottom: 24px; }
  .auth-panel { min-height: 440px; padding-top: 30px; padding-bottom: 30px; }
  .panel-footer { padding-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
