/* ==========================================================
   STEELCONTROL
   LOGIN EMPRESARIAL
========================================================== */


/* ==========================================================
   RESET
========================================================== */

* {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

  font-family: var(--sc-font);

}


:root {

  --fundo:
    #eef2f6;

  --card:
    #ffffff;

  --card-soft:
    #f8fafc;

  --texto:
    #1d2124;

  --texto-suave:
    #64748b;

  --borda:
    #dbe2ea;

  --azul:
    #c47b12;

  --azul-escuro:
    #9e600a;

  --azul-soft:
    #fff4df;

  --verde:
    #16a34a;

  --vermelho:
    #dc2626;

  --laranja:
    #f59e0b;

  --branco:
    #ffffff;

}


html {

  color-scheme:
    light;

}


body {

  min-height:
    100vh;

  background:
    var(--fundo);

  color:
    var(--texto);

}


/* ==========================================================
   LAYOUT
========================================================== */

.login-page {

  width:
    100%;

  min-height:
    100vh;

  display:
    grid;

  grid-template-columns:
    minmax(
      560px,
      45%
    )
    1fr;

}


/* ==========================================================
   PAINEL LOGIN
========================================================== */

.login-panel {

  position:
    relative;

  min-height:
    100vh;

  padding:
    46px
    clamp(
      40px,
      4.5vw,
      72px
    );

  display:
    flex;

  flex-direction:
    column;

  justify-content:
    space-between;

  background:
    var(--card);

  border-right:
    1px solid
    var(--borda);

  border-radius:
    0 28px 28px 0;

  box-shadow:
    20px 0 50px
    rgba(
      15,
      23,
      42,
      0.08
    );

  z-index:
    5;

}


/* ==========================================================
   TOPO
========================================================== */

.top-login {

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    20px;

}


.brand {

  display:
    inline-flex;

  align-items:
    center;

}


.logo-img {

  width:
    210px;

  max-height:
    56px;

  object-fit:
    contain;

  object-position:
    left center;

  display:
    block;

  transition:
    filter 0.3s ease;

}


.top-actions {

  display:
    flex;

  align-items:
    center;

  gap:
    9px;

}


/* ==========================================================
   HOME LINK
========================================================== */

.home-link {

  min-height:
    38px;

  padding:
    0 11px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    6px;

  border:
    1px solid
    var(--borda);

  border-radius:
    10px;

  color:
    var(--texto-suave);

  background:
    var(--card-soft);

  font-size:
    11px;

  font-weight: 600;

  text-decoration:
    none;

  transition:
    0.2s;

}


.home-link:hover {

  color:
    var(--azul);

  border-color:
    #e8c890;

  background:
    var(--azul-soft);

}


/* ==========================================================
   IDIOMAS
========================================================== */

.language-box {

  position:
    relative;

}


.language-btn {

  min-height:
    38px;

  padding:
    0 11px;

  display:
    flex;

  align-items:
    center;

  gap:
    7px;

  border:
    1px solid
    var(--borda);

  border-radius:
    10px;

  background:
    var(--card-soft);

  color:
    var(--texto);

  font-size:
    11px;

  font-weight: 700;

  cursor:
    pointer;

  transition:
    0.2s;

}


.language-btn:hover {

  color:
    var(--azul);

  border-color:
    #e8c890;

  background:
    var(--azul-soft);

}


.language-btn i {

  font-size:
    10px;

  color:
    var(--texto-suave);

}


.language-menu {

  position:
    absolute;

  top:
    46px;

  right:
    0;

  width:
    185px;

  padding:
    7px;

  display:
    none;

  border:
    1px solid
    var(--borda);

  border-radius:
    12px;

  background:
    var(--card);

  box-shadow:
    0 18px 45px
    rgba(
      15,
      23,
      42,
      0.15
    );

  z-index:
    100;

}


.language-menu.ativo {

  display:
    block;

}


.language-menu button {

  width:
    100%;

  padding:
    10px 11px;

  border:
    none;

  border-radius:
    8px;

  text-align:
    left;

  background:
    transparent;

  color:
    var(--texto);

  font-size:
    11px;

  font-weight: 600;

  cursor:
    pointer;

  transition:
    0.2s;

}


.language-menu button:hover {

  background:
    var(--azul-soft);

  color:
    var(--azul);

}


/* ==========================================================
   LOGIN CONTENT
========================================================== */

.login-content {

  width:
    min(
      100%,
      570px
    );

  margin:
    55px 0;

}


.login-label {

  width:
    fit-content;

  margin-bottom:
    14px;

  padding:
    6px 10px;

  display:
    flex;

  align-items:
    center;

  gap:
    7px;

  border:
    1px solid
    #f6e3c2;

  border-radius:
    999px;

  color:
    var(--azul);

  background:
    var(--azul-soft);

  font-size:
    8px;

  font-weight: 700;

  letter-spacing:
    0.7px;

  text-transform:
    uppercase;

}


.login-label-dot {

  width:
    6px;

  height:
    6px;

  border-radius:
    50%;

  background:
    var(--verde);

}


.login-content h1 {

  color:
    var(--texto);

  font-size:
    clamp(
      34px,
      3vw,
      46px
    );

  line-height:
    1.06;

  letter-spacing:
    -1.7px;

}


.login-description {

  max-width:
    520px;

  margin-top:
    11px;

  color:
    var(--texto-suave);

  font-size:
    14px;

  line-height:
    1.55;

}


/* ==========================================================
   TRUST BOX
========================================================== */

.trust-box {

  margin:
    22px 0 27px;

  padding:
    14px;

  display:
    flex;

  align-items:
    flex-start;

  gap:
    12px;

  border:
    1px solid
    #f6e3c2;

  border-radius:
    14px;

  background:
    linear-gradient(
      135deg,
      #f7f8f9,
      #fff4df
    );

}


.trust-box-icon {

  width:
    38px;

  height:
    38px;

  min-width:
    38px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    10px;

  background:
    #f6e3c2;

  color:
    var(--azul);

  font-size:
    15px;

}


.trust-box strong {

  display:
    block;

  color:
    var(--texto);

  font-size:
    11px;

}


.trust-box p {

  margin-top:
    5px;

  color:
    var(--texto-suave);

  font-size:
    9px;

  line-height:
    1.5;

}


/* ==========================================================
   INPUT
========================================================== */

.input-group {

  margin-bottom:
    16px;

}


.input-group label {

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  margin-bottom:
    7px;

  color:
    var(--texto);

  font-size:
    11px;

  font-weight: 700;

}


.optional {

  color:
    var(--texto-suave);

  font-size:
    8px;

  font-weight: 600;

}


.input-box {

  height:
    52px;

  padding:
    0 15px;

  display:
    flex;

  align-items:
    center;

  border:
    1px solid
    var(--borda);

  border-radius:
    10px;

  background:
    var(--card-soft);

  transition:
    0.2s;

}


.input-box:focus-within {

  border-color:
    var(--azul);

  background:
    var(--card);

  box-shadow:
    0 0 0 4px
    rgba(
      37,
      99,
      235,
      0.1
    );

}


.input-box > i {

  width:
    18px;

  color:
    #94a3b8;

  font-size:
    14px;

  text-align:
    center;

}


.input-box input,
.input-box select {

  width:
    100%;

  min-width:
    0;

  border:
    none;

  outline:
    none;

  padding:
    0 12px;

  background:
    transparent;

  color:
    var(--texto);

  font-size:
    13px;

}


.input-box input::placeholder {

  color:
    #94a3b8;

}


.show-password {

  width:
    34px;

  height:
    34px;

  display:
    grid;

  place-items:
    center;

  flex-shrink:
    0;

  border:
    none;

  border-radius:
    8px;

  background:
    transparent;

  color:
    #94a3b8;

  cursor:
    pointer;

  transition:
    0.2s;

}


.show-password:hover {

  color:
    var(--azul);

  background:
    var(--azul-soft);

}


/* ==========================================================
   BOTÃO ACESSAR
========================================================== */

.access-btn {

  width:
    100%;

  min-height:
    52px;

  margin-top:
    4px;

  padding:
    0 18px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    9px;

  border:
    none;

  border-radius:
    10px;

  background:
    var(--azul);

  color:
    white;

  font-size:
    12px;

  font-weight: 700;

  cursor:
    pointer;

  box-shadow:
    0 12px 28px
    rgba(
      37,
      99,
      235,
      0.2
    );

  transition:
    0.2s;

}


.access-btn:hover {

  background:
    var(--azul-escuro);

  transform:
    translateY(-1px);

  box-shadow:
    0 15px 32px
    rgba(
      37,
      99,
      235,
      0.27
    );

}


.access-btn i {

  transition:
    transform 0.2s;

}


.access-btn:hover i {

  transform:
    translateX(3px);

}


/* ==========================================================
   FACIAL BUTTON
========================================================== */

.face-btn {

  width:
    100%;

  min-height:
    62px;

  margin-top:
    10px;

  padding:
    9px 13px;

  display:
    grid;

  grid-template-columns:
    38px 1fr auto;

  align-items:
    center;

  gap:
    10px;

  border:
    1px solid
    var(--borda);

  border-radius:
    10px;

  background:
    var(--card);

  color:
    var(--texto);

  cursor:
    pointer;

  text-align:
    left;

  transition:
    0.2s;

}


.face-btn:hover {

  border-color:
    #e0b66f;

  background:
    var(--azul-soft);

}


.face-button-icon {

  width:
    38px;

  height:
    38px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    9px;

  background:
    var(--azul-soft);

  color:
    var(--azul);

}


.face-button-content strong {

  display:
    block;

  color:
    var(--texto);

  font-size:
    10px;

}


.face-button-content small {

  display:
    block;

  margin-top:
    3px;

  color:
    var(--texto-suave);

  font-size:
    8px;

}


.button-arrow {

  color:
    #94a3b8;

  font-size:
    9px;

}


/* ==========================================================
   MENSAGENS
========================================================== */

.message {

  min-height:
    19px;

  margin-top:
    12px;

  color:
    var(--texto-suave);

  text-align:
    center;

  font-size:
    9px;

  font-weight: 700;

}


.message.erro {

  color:
    var(--vermelho);

}


.message.sucesso {

  color:
    var(--verde);

}


/* ==========================================================
   CONFIRMAÇÃO PROFISSIONAL DE ACESSO E CADASTRO
========================================================== */

.access-welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 15, 30, .58);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}

.access-welcome-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.access-welcome-card {
  width: min(440px, 100%);
  padding: 30px 30px 27px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(196, 123, 18, .13), transparent 38%),
    #fff;
  box-shadow: 0 30px 80px rgba(2, 8, 23, .28);
  color: #202529;
  text-align: center;
  transform: translateY(18px) scale(.97);
  transition: transform .34s cubic-bezier(.2, .8, .2, 1);
}

.access-welcome-overlay.is-visible .access-welcome-card {
  transform: translateY(0) scale(1);
}

.access-welcome-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #24292d;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.2px;
}

.access-welcome-brand img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.access-welcome-check {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border: 8px solid #dcfce7;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 25px;
  box-shadow: 0 12px 28px rgba(22, 163, 74, .22);
}

.access-welcome-card.is-register .access-welcome-check {
  border-color: #f6e3c2;
  background: #c47b12;
  box-shadow: 0 12px 28px rgba(196, 123, 18, .22);
}

.access-welcome-card h2 {
  margin: 0;
  color: #202529;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(24px, 5vw, 31px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.8px;
}

.access-welcome-card > p {
  max-width: 355px;
  margin: 12px auto 23px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.access-welcome-loading {
  display: grid;
  gap: 10px;
}

.access-welcome-loading > span {
  position: relative;
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.access-welcome-loading > span::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #c47b12, #d79b3c);
  transform-origin: left;
  animation: steelWelcomeProgress 2.2s ease-out forwards;
}

.access-welcome-loading small {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15px;
}

@keyframes steelWelcomeProgress {
  from { transform: scaleX(.04); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .access-welcome-overlay,
  .access-welcome-card {
    transition: none;
  }

  .access-welcome-loading > span::after {
    animation: none;
    transform: scaleX(1);
  }
}

body.tema-escuro .access-welcome-card,
html[data-theme="dark"] .access-welcome-card,
html[data-theme="escuro"] .access-welcome-card {
  border-color: rgba(148, 163, 184, .22);
  background:
    radial-gradient(circle at 100% 0, rgba(201, 135, 32, .16), transparent 38%),
    #202529;
  color: #f8fafc;
}

body.tema-escuro .access-welcome-card h2,
body.tema-escuro .access-welcome-brand,
html[data-theme="dark"] .access-welcome-card h2,
html[data-theme="dark"] .access-welcome-brand,
html[data-theme="escuro"] .access-welcome-card h2,
html[data-theme="escuro"] .access-welcome-brand {
  color: #f8fafc;
}

body.tema-escuro .access-welcome-card > p,
body.tema-escuro .access-welcome-loading small,
html[data-theme="dark"] .access-welcome-card > p,
html[data-theme="dark"] .access-welcome-loading small,
html[data-theme="escuro"] .access-welcome-card > p,
html[data-theme="escuro"] .access-welcome-loading small {
  color: #aeb5ba;
}

html[data-theme="escuro"] .access-welcome-brand img,
html[data-theme="dark"] .access-welcome-brand img,
body.tema-escuro .access-welcome-brand img {
  filter: brightness(0) invert(1);
}


/* ==========================================================
   CADASTRO DE EMPRESA - CHAMADA
========================================================== */

.company-register-box {

  margin-top:
    20px;

  padding:
    17px;

  border:
    1px solid
    var(--borda);

  border-radius:
    15px;

  background:
    var(--card-soft);

}


.register-header {

  display:
    flex;

  align-items:
    center;

  gap:
    11px;

}


.register-icon {

  width:
    40px;

  height:
    40px;

  min-width:
    40px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    10px;

  color:
    var(--azul);

  background:
    var(--azul-soft);

}


.register-header span {

  display:
    block;

  margin-bottom:
    3px;

  color:
    var(--azul);

  font-size:
    7px;

  font-weight: 700;

  letter-spacing:
    0.8px;

}


.register-header strong {

  display:
    block;

  color:
    var(--texto);

  font-size:
    11px;

}


.company-register-box > p {

  margin-top:
    12px;

  color:
    var(--texto-suave);

  font-size:
    9px;

  line-height:
    1.55;

}


.register-benefits {

  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    7px;

  margin-top:
    12px;

}


.register-benefits span {

  padding:
    5px 8px;

  display:
    inline-flex;

  align-items:
    center;

  gap:
    5px;

  border:
    1px solid
    var(--borda);

  border-radius:
    999px;

  background:
    var(--card);

  color:
    var(--texto-suave);

  font-size:
    7px;

  font-weight: 600;

}


.register-benefits i {

  color:
    var(--verde);

}


/* ==========================================================
   CREATE ACCOUNT
========================================================== */

.create-account-btn {

  width:
    100%;

  min-height:
    44px;

  margin-top:
    14px;

  padding:
    0 14px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  border:
    1px solid
    var(--azul);

  border-radius:
    9px;

  background:
    transparent;

  color:
    var(--azul);

  font-size:
    9px;

  font-weight: 700;

  cursor:
    pointer;

  transition:
    0.2s;

}


.create-account-btn:hover {

  background:
    var(--azul);

  color:
    white;

}


/* ==========================================================
   CADASTRO
========================================================== */

.cadastro-content {

  animation:
    aparecerCadastro
    0.28s ease;

}


@keyframes aparecerCadastro {

  from {

    opacity:
      0;

    transform:
      translateX(16px);

  }


  to {

    opacity:
      1;

    transform:
      translateX(0);

  }

}


.signup-info {

  margin:
    20px 0 25px;

  padding:
    12px 13px;

  display:
    flex;

  align-items:
    flex-start;

  gap:
    10px;

  border:
    1px solid
    #f6e3c2;

  border-radius:
    11px;

  background:
    var(--azul-soft);

  color:
    var(--azul);

}


.signup-info > i {

  margin-top:
    2px;

}


.signup-info strong {

  display:
    block;

  color:
    var(--texto);

  font-size:
    9px;

}


.signup-info span {

  display:
    block;

  margin-top:
    3px;

  color:
    var(--texto-suave);

  font-size:
    8px;

  line-height:
    1.45;

}


.form-section-title {

  margin:
    4px 0 17px;

  display:
    flex;

  align-items:
    center;

  gap:
    8px;

  color:
    var(--texto);

  font-size:
    10px;

  font-weight: 700;

}


.form-section-title span {

  width:
    25px;

  height:
    25px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    7px;

  background:
    var(--azul-soft);

  color:
    var(--azul);

  font-size:
    7px;

}


.admin-title {

  margin-top:
    26px;

}


.create-company-main {

  margin-top:
    10px;

}


.back-login-btn {

  width:
    100%;

  min-height:
    45px;

  margin-top:
    9px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    8px;

  border:
    1px solid
    var(--borda);

  border-radius:
    9px;

  background:
    var(--card-soft);

  color:
    var(--texto);

  font-size:
    9px;

  font-weight: 700;

  cursor:
    pointer;

  transition:
    0.2s;

}


.back-login-btn:hover {

  color:
    var(--azul);

  border-color:
    #e0b66f;

  background:
    var(--azul-soft);

}


/* ==========================================================
   SECURE FOOTER
========================================================== */

.secure {

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    12px;

  flex-wrap:
    wrap;

  color:
    var(--texto-suave);

  font-size:
    9px;

}


.secure > div {

  display:
    flex;

  align-items:
    center;

  gap:
    6px;

}


.secure i {

  color:
    var(--azul);

}


.secure-divider {

  width:
    1px;

  height:
    13px;

  background:
    var(--borda);

}


/* ==========================================================
   LADO DIREITO
========================================================== */

.image-area {

  position:
    relative;

  min-height:
    100vh;

  overflow:
    hidden;

  color:
    white;

  background:

    linear-gradient(
      110deg,
      rgba(
        2,
        6,
        23,
        0.5
      ),
      rgba(
        2,
        6,
        23,
        0.78
      )
    ),
    radial-gradient(circle at 22% 72%, rgba(196,123,18,.28), transparent 35%),
    linear-gradient(135deg, #111416, #2c2923);

  background-size:
    cover;

  background-position:
    center;

}


.image-area::before {

  content:
    "";

  position:
    absolute;

  inset:
    0;

  background:

    radial-gradient(
      circle at 25% 70%,
      rgba(
        37,
        99,
        235,
        0.28
      ),
      transparent
      35%
    ),

    linear-gradient(
      to top,
      rgba(
        2,
        6,
        23,
        0.68
      ),
      transparent
      55%
    );

  pointer-events:
    none;

}


/* ==========================================================
   TEXTO INDUSTRIAL
========================================================== */

.industrial-message {

  position:
    absolute;

  top:
    9%;

  left:
    8%;

  width:
    min(
      600px,
      70%
    );

  z-index:
    2;

}


.industrial-badge {

  width:
    fit-content;

  padding:
    7px 10px;

  display:
    flex;

  align-items:
    center;

  gap:
    7px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.18
    );

  border-radius:
    999px;

  background:
    rgba(
      15,
      23,
      42,
      0.32
    );

  backdrop-filter:
    blur(10px);

  color:
    #f6e3c2;

  font-size:
    8px;

  font-weight: 700;

  letter-spacing:
    0.5px;

  text-transform:
    uppercase;

}


.industrial-badge span {

  width:
    6px;

  height:
    6px;

  border-radius:
    50%;

  background:
    #22c55e;

  box-shadow:
    0 0 12px
    rgba(
      34,
      197,
      94,
      0.8
    );

}


.industrial-message h2 {

  margin-top:
    18px;

  max-width:
    600px;

  color:
    white;

  font-size:
    clamp(
      35px,
      3.8vw,
      60px
    );

  line-height:
    1.04;

  letter-spacing:
    -2px;

  text-shadow:
    0 8px 30px
    rgba(
      0,
      0,
      0,
      0.3
    );

}


.industrial-message h2 span {

  color:
    #d79b3c;

}


.industrial-message > p {

  max-width:
    480px;

  margin-top:
    16px;

  color:
    #e0e4e6;

  font-size:
    13px;

  line-height:
    1.7;

}


/* ==========================================================
   STATS
========================================================== */

.industrial-stats {

  position:
    absolute;

  left:
    8%;

  bottom:
    34%;

  display:
    flex;

  gap:
    12px;

  z-index:
    2;

}


.industrial-stats > div {

  min-width:
    120px;

  padding:
    12px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.15
    );

  border-radius:
    11px;

  background:
    rgba(
      15,
      23,
      42,
      0.46
    );

  backdrop-filter:
    blur(9px);

}


.industrial-stats strong {

  display:
    block;

  color:
    white;

  font-size:
    13px;

}


.industrial-stats span {

  display:
    block;

  margin-top:
    3px;

  color:
    #cbd5e1;

  font-size:
    7px;

}


/* ==========================================================
   INFO CARD
========================================================== */

.info-card {

  position:
    absolute;

  left:
    8%;

  bottom:
    10%;

  width:
    min(
      500px,
      60%
    );

  padding:
    20px;

  display:
    flex;

  align-items:
    flex-start;

  gap:
    14px;

  border:
    1px solid
    rgba(
      191,
      219,
      254,
      0.22
    );

  border-radius:
    16px;

  background:
    rgba(
      15,
      23,
      42,
      0.68
    );

  backdrop-filter:
    blur(12px);

  box-shadow:
    0 24px 60px
    rgba(
      0,
      0,
      0,
      0.2
    );

  z-index:
    2;

}


.info-card-icon {

  width:
    43px;

  height:
    43px;

  min-width:
    43px;

  display:
    grid;

  place-items:
    center;

  border:
    1px solid
    rgba(
      147,
      197,
      253,
      0.25
    );

  border-radius:
    11px;

  background:
    rgba(
      37,
      99,
      235,
      0.18
    );

  color:
    #d79b3c;

}


.info-card span {

  color:
    #d79b3c;

  font-size:
    7px;

  font-weight: 700;

  letter-spacing:
    0.7px;

}


.info-card h3 {

  margin-top:
    5px;

  color:
    white;

  font-size:
    18px;

}


.info-card p {

  margin-top:
    7px;

  color:
    #cbd5e1;

  font-size:
    10px;

  line-height:
    1.55;

}


/* ==========================================================
   SIDE FEATURES
========================================================== */

.side-features {

  position:
    absolute;

  right:
    5%;

  bottom:
    11%;

  display:
    grid;

  grid-template-columns:
    repeat(
      2,
      1fr
    );

  gap:
    8px;

  z-index:
    2;

}


.side-features > div {

  min-width:
    95px;

  padding:
    10px;

  display:
    flex;

  align-items:
    center;

  gap:
    7px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.13
    );

  border-radius:
    9px;

  background:
    rgba(
      15,
      23,
      42,
      0.42
    );

  backdrop-filter:
    blur(8px);

  color:
    #e2e8f0;

  font-size:
    7px;

  font-weight: 600;

}


.side-features i {

  color:
    #d79b3c;

}


.image-bottom {

  position:
    absolute;

  right:
    5%;

  bottom:
    3%;

  display:
    flex;

  align-items:
    center;

  gap:
    7px;

  color:
    #cbd5e1;

  font-size:
    8px;

  z-index:
    2;

}


.image-bottom i {

  color:
    #d79b3c;

}


/* ==========================================================
   FACE MODAL
========================================================== */

.face-modal {

  position:
    fixed;

  inset:
    0;

  display:
    none;

  align-items:
    center;

  justify-content:
    center;

  padding:
    24px;

  background:
    rgba(
      15,
      23,
      42,
      0.78
    );

  backdrop-filter:
    blur(9px);

  z-index:
    9999;

}


.face-modal.ativo {

  display:
    flex;

}


.face-card {

  position:
    relative;

  width:
    100%;

  max-width:
    620px;

  padding:
    28px;

  border:
    1px solid
    var(--borda);

  border-radius:
    24px;

  background:
    var(--card);

  box-shadow:
    0 30px 80px
    rgba(
      0,
      0,
      0,
      0.35
    );

}


.close-modal {

  position:
    absolute;

  top:
    18px;

  right:
    18px;

  width:
    38px;

  height:
    38px;

  display:
    grid;

  place-items:
    center;

  border:
    none;

  border-radius:
    50%;

  background:
    var(--card-soft);

  color:
    var(--texto-suave);

  font-size:
    15px;

  cursor:
    pointer;

  z-index:
    10;

}


.close-modal:hover {

  color:
    var(--vermelho);

}


/* ==========================================================
   FACE HEADER
========================================================== */

.face-header {

  display:
    flex;

  align-items:
    center;

  gap:
    13px;

  padding-right:
    40px;

  margin-bottom:
    20px;

}


.face-header-icon {

  width:
    46px;

  height:
    46px;

  min-width:
    46px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    12px;

  background:
    var(--azul-soft);

  color:
    var(--azul);

  font-size:
    20px;

}


.face-header h2 {

  color:
    var(--texto);

  font-size:
    20px;

}


.face-header p {

  margin-top:
    4px;

  color:
    var(--texto-suave);

  font-size:
    10px;

}


/* ==========================================================
   CAMERA
========================================================== */

.camera-container {

  position:
    relative;

  width:
    100%;

  aspect-ratio:
    16 / 10;

  overflow:
    hidden;

  border:
    2px solid
    #f6e3c2;

  border-radius:
    20px;

  background:
    #111416;

}


#faceVideo {

  width:
    100%;

  height:
    100%;

  display:
    block;

  object-fit:
    cover;

  transform:
    scaleX(-1);

}


#faceOverlay {

  position:
    absolute;

  inset:
    0;

  width:
    100%;

  height:
    100%;

  pointer-events:
    none;

  z-index:
    3;

}


.camera-loading {

  position:
    absolute;

  inset:
    0;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  gap:
    10px;

  background:
    #111416;

  color:
    white;

  z-index:
    5;

}


.camera-loading i {

  color:
    #c98720;

  font-size:
    27px;

}


.camera-loading span {

  font-size:
    10px;

}


/* ==========================================================
   GUIAS DA CÂMERA
========================================================== */

.face-guide {

  position:
    absolute;

  inset:
    0;

  pointer-events:
    none;

  z-index:
    2;

}


.guide-corner {

  position:
    absolute;

  width:
    35px;

  height:
    35px;

  border-color:
    rgba(
      255,
      255,
      255,
      0.45
    );

}


.guide-top-left {

  top:
    18px;

  left:
    18px;

  border-top:
    2px solid;

  border-left:
    2px solid;

}


.guide-top-right {

  top:
    18px;

  right:
    18px;

  border-top:
    2px solid;

  border-right:
    2px solid;

}


.guide-bottom-left {

  bottom:
    18px;

  left:
    18px;

  border-bottom:
    2px solid;

  border-left:
    2px solid;

}


.guide-bottom-right {

  bottom:
    18px;

  right:
    18px;

  border-bottom:
    2px solid;

  border-right:
    2px solid;

}


/* ==========================================================
   FACE STATUS
========================================================== */

.face-status {

  margin-top:
    16px;

  padding:
    13px 15px;

  display:
    flex;

  align-items:
    center;

  gap:
    12px;

  border:
    1px solid
    var(--borda);

  border-radius:
    13px;

  background:
    var(--card-soft);

}


.status-indicator {

  width:
    10px;

  height:
    10px;

  flex-shrink:
    0;

  border-radius:
    50%;

  background:
    var(--laranja);

  box-shadow:
    0 0 0 5px
    rgba(
      245,
      158,
      11,
      0.12
    );

}


.face-status strong {

  display:
    block;

  color:
    var(--texto);

  font-size:
    11px;

}


.face-status span {

  display:
    block;

  margin-top:
    3px;

  color:
    var(--texto-suave);

  font-size:
    9px;

}


.face-status.sucesso {

  border-color:
    #bbf7d0;

  background:
    #f0fdf4;

}


.face-status.sucesso
.status-indicator {

  background:
    #22c55e;

  box-shadow:
    0 0 0 5px
    rgba(
      34,
      197,
      94,
      0.14
    );

}


.face-status.erro {

  border-color:
    #fecaca;

  background:
    #fef2f2;

}


.face-status.erro
.status-indicator {

  background:
    #ef4444;

  box-shadow:
    0 0 0 5px
    rgba(
      239,
      68,
      68,
      0.14
    );

}


/* ==========================================================
   FACE SECURITY
========================================================== */

.face-security {

  margin-top:
    14px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    7px;

  color:
    var(--texto-suave);

  font-size:
    9px;

}


.face-security i {

  color:
    var(--azul);

}


/* ==========================================================
   TEMA ESCURO
========================================================== */

html[data-theme="escuro"] {

  color-scheme:
    dark;

  --fundo:
    #111416;

  --card:
    #202529;

  --card-soft:
    #24292d;

  --texto:
    #f8fafc;

  --texto-suave:
    #94a3b8;

  --borda:
    #41494f;

  --azul-soft:
    rgba(
      37,
      99,
      235,
      0.14
    );

}


html[data-theme="escuro"]
body {

  background:
    var(--fundo);

}


html[data-theme="escuro"]
.login-panel {

  background:
    var(--card);

  border-color:
    var(--borda);

}


html[data-theme="escuro"]
.logo-img {

  filter:
    brightness(0)
    invert(1);

}


html[data-theme="escuro"]
.trust-box {

  border-color:
    #41494f;

  background:
    linear-gradient(
      135deg,
      #24292d,
      #23282c
    );

}


html[data-theme="escuro"]
.input-box:focus-within {

  background:
    #202529;

}


html[data-theme="escuro"]
.company-register-box {

  background:
    #24292d;

}


html[data-theme="escuro"]
.register-benefits span {

  background:
    #202529;

}


html[data-theme="escuro"]
.face-status.sucesso {

  background:
    rgba(
      22,
      163,
      74,
      0.1
    );

  border-color:
    rgba(
      34,
      197,
      94,
      0.3
    );

}


html[data-theme="escuro"]
.face-status.erro {

  background:
    rgba(
      220,
      38,
      38,
      0.1
    );

  border-color:
    rgba(
      239,
      68,
      68,
      0.3
    );

}


/* ==========================================================
   QR / CRACHÁ - COMPATIBILIDADE
========================================================== */

#crachaGeradoBox {

  margin-top:
    18px;

  padding:
    18px;

  border:
    1px solid
    var(--borda);

  border-radius:
    14px;

  background:
    var(--card-soft);

  text-align:
    center;

}


#crachaGeradoBox h3 {

  margin-bottom:
    8px;

  color:
    var(--texto);

}


#crachaGeradoBox p {

  margin-bottom:
    10px;

  color:
    var(--texto-suave);

  font-size:
    10px;

}


#codigoCrachaTexto {

  display:
    block;

  margin:
    10px 0;

  color:
    var(--azul);

  font-size:
    12px;

}


#qrcodeCracha {

  display:
    flex;

  justify-content:
    center;

  margin-top:
    12px;

}


#qrcodeCracha img,
#qrcodeCracha canvas {

  padding:
    8px;

  border-radius:
    10px;

  background:
    white;

}


#qrReader {

  overflow:
    hidden;

  border-radius:
    14px;

}


/* ==========================================================
   RESPONSIVO
========================================================== */

@media (
  max-width: 1200px
) {

  .login-page {

    grid-template-columns:
      48% 52%;

  }


  .side-features {

    display:
      none;

  }


  .info-card {

    width:
      70%;

  }

}


@media (
  max-width: 1000px
) {

  .login-page {

    display:
      block;

  }


  .image-area {

    display:
      none;

  }


  .login-panel {

    width:
      100%;

    min-height:
      100vh;

    border-radius:
      0;

    border-right:
      none;

  }


  .login-content {

    margin-left:
      auto;

    margin-right:
      auto;

  }

}


@media (
  max-width: 650px
) {

  .login-panel {

    padding:
      28px 22px;

  }


  .top-login {

    align-items:
      center;

  }


  .logo-img {

    width:
      180px;

  }


  .home-link span {

    display:
      none;

  }


  .home-link {

    width:
      38px;

    padding:
      0;

  }


  .login-content {

    margin:
      45px auto;

  }


  .login-content h1 {

    font-size:
      34px;

  }


  .login-description {

    font-size:
      12px;

  }


  .trust-box {

    padding:
      12px;

  }


  .register-benefits {

    flex-direction:
      column;

    align-items:
      flex-start;

  }


  .register-benefits span {

    width:
      100%;

  }


  .face-card {

    padding:
      20px;

    border-radius:
      19px;

  }


  .camera-container {

    aspect-ratio:
      4 / 5;

  }


  .face-header h2 {

    font-size:
      17px;

  }

}


@media (
  max-width: 420px
) {

  .logo-img {

    width:
      165px;

  }


  .language-btn > i:first-child {

    display:
      none;

  }


  .login-panel {

    padding:
      24px 17px;

  }


  .login-content h1 {

    font-size:
      30px;

  }


  .secure-divider {

    display:
      none;

  }


  .secure {

    flex-direction:
      column;

    gap:
      6px;

  }

}

/* ==========================================================
   CADASTRO DE EMPRESA - VISUAL ORGANIZADO
   ========================================================== */

.company-register-box {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--borda);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.register-header {
  align-items: flex-start;
  gap: 13px;
}

.register-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 13px;
}

.register-header span {
  margin-bottom: 4px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.register-header strong {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

.company-register-box > p {
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.6;
}

.register-benefits {
  gap: 8px;
  margin-top: 14px;
}

.register-benefits span {
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 8px;
  font-weight: 500;
}

.create-account-btn {
  min-height: 48px;
  margin-top: 16px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--azul);
  color: #fff;
  border-color: var(--azul);
  font-weight: 600;
}

.create-account-btn:hover {
  background: var(--azul-escuro, #9e600a);
  color: #fff;
  transform: translateY(-1px);
}

/* ==========================================================
   PAINEL LATERAL DO LOGIN - MAIS LIMPO
   ========================================================== */

.industrial-panel {
  overflow: hidden;
}

.industrial-message {
  max-width: 610px;
}

.image-bottom {
  opacity: .9;
}

/* ==========================================================
   RECONHECIMENTO FACIAL - MODELO DO APP FLUTTER
   ========================================================== */

.face-modal {
  padding: 20px;
  overflow-y: auto;
}

.face-card.face-card-flutter {
  width: min(100%, 520px);
  max-width: 520px;
  padding: 30px 30px 24px;
  border-radius: 28px;
  text-align: center;
}

.face-flutter-header {
  padding: 0 42px;
  margin-bottom: 20px;
}

.face-flutter-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--azul);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.face-flutter-header h2 {
  margin: 0;
  color: var(--texto);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.12;
  font-weight: 700;
}

.face-flutter-header p {
  max-width: 400px;
  margin: 10px auto 0;
  color: var(--texto-suave);
  font-size: 11px;
  line-height: 1.55;
}

.face-oval-shell {
  display: flex;
  justify-content: center;
  padding: 4px 0 14px;
}

.camera-container.face-oval-camera {
  width: min(300px, 72vw);
  height: min(390px, 52vh);
  min-height: 300px;
  aspect-ratio: auto;
  border: 4px solid var(--azul);
  border-radius: 50%;
  overflow: hidden;
  background: #111416;
  box-shadow:
    0 0 0 8px color-mix(in srgb, var(--azul) 10%, transparent),
    0 18px 50px rgba(15, 23, 42, .18);
}

.camera-container.face-oval-camera #faceVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.camera-container.face-oval-camera #faceOverlay {
  display: none;
}

.face-oval-guide {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.camera-container.face-oval-camera .camera-loading {
  border-radius: 50%;
}

.face-status.face-status-flutter {
  max-width: 390px;
  margin: 4px auto 0;
  text-align: left;
}

.face-auto-note {
  max-width: 390px;
  margin: 12px auto 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  background: var(--azul-soft);
  color: var(--azul);
  font-size: 9px;
  line-height: 1.4;
}

.face-security {
  max-width: 390px;
  margin: 12px auto 0;
  justify-content: center;
}

@media (max-width: 640px) {
  .face-card.face-card-flutter {
    padding: 24px 18px 20px;
    border-radius: 22px;
  }

  .face-flutter-header {
    padding: 0 28px;
  }

  .camera-container.face-oval-camera {
    width: min(270px, 74vw);
    height: min(350px, 48vh);
    min-height: 280px;
  }
}

@media (orientation: landscape) and (max-height: 720px) {
  .face-card.face-card-flutter {
    width: min(92vw, 760px);
    max-width: 760px;
    padding: 20px 24px;
  }

  .face-flutter-header {
    margin-bottom: 10px;
  }

  .face-flutter-header h2 {
    font-size: 22px;
  }

  .face-oval-shell {
    padding-bottom: 8px;
  }

  .camera-container.face-oval-camera {
    width: 220px;
    height: 285px;
    min-height: 0;
  }

  .face-auto-note,
  .face-security {
    margin-top: 8px;
  }
}


/* ==========================================================
   VERIFICAÇÃO DE E-MAIL — PAINEL LOCAL E SEGURO
   Não cria overlay e não bloqueia cliques da página.
========================================================== */

.email-verification-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #e8c890;
  border-radius: 14px;
  background: #f7f8f9;
  pointer-events: auto;
}

.email-verification-panel[hidden] {
  display: none !important;
}

.verification-heading {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.verification-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #f6e3c2;
  color: #c47b12;
}

.verification-heading strong {
  display: block;
  margin-bottom: 4px;
  color: var(--texto);
  font-size: 11px;
}

.verification-heading p {
  color: var(--texto-suave);
  font-size: 9px;
  line-height: 1.5;
}

.verification-code-wrap {
  margin-top: 15px;
}

.verification-code-wrap label {
  display: block;
  margin-bottom: 7px;
  color: var(--texto);
  font-size: 10px;
  font-weight: 700;
}

.verification-code-wrap input {
  width: 100%;
  height: 54px;
  border: 1px solid var(--borda);
  border-radius: 11px;
  background: var(--card);
  color: var(--texto);
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 8px;
}

.verification-actions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.verification-secondary-btn {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--borda);
  border-radius: 9px;
  background: var(--card);
  color: var(--texto);
  cursor: pointer;
}

.verification-secondary-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

html[data-theme="escuro"] .email-verification-panel {
  border-color: #41494f;
  background: #202529;
}

html[data-theme="escuro"] .verification-code-wrap input {
  border-color: #41494f;
  background: #1d2124;
  color: #f8fafc;
}

/* Garantia extra: somente o Face ID pode bloquear a tela inteira. */
body > *:not(.face-modal) {
  pointer-events: auto;
}

.face-modal:not(.ativo) {
  display: none !important;
  pointer-events: none !important;
}

.face-modal.ativo {
  pointer-events: auto !important;
}


/* ==========================================================
   ETAPA 03 - BIOMETRIA FACIAL NO CADASTRO
========================================================== */

.registration-face-next {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin: 14px 0 2px;
  padding: 12px 14px;
  border: 1px solid #f6e3c2;
  border-radius: 12px;
  background: #f7f8f9;
}

.registration-face-next-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f6e3c2;
  color: #c47b12;
}

.registration-face-next strong {
  display: block;
  margin-bottom: 3px;
  color: var(--texto);
  font-size: 10px;
}

.registration-face-next p {
  margin: 0;
  color: var(--texto-suave);
  font-size: 9px;
  line-height: 1.45;
}

html[data-theme="escuro"] .registration-face-next {
  border-color: #41494f;
  background: #202529;
}

html[data-theme="escuro"] .registration-face-next-icon {
  background: rgba(196, 123, 18, .16);
  color: #d79b3c;
}


.required-badge {
  margin-left: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(196, 123, 18, .10);
  color: #c47b12;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .2px;
}

/* =========================================================
   FACE 2FA — IDENTIDADE AMBIGUA
   ========================================================= */
.face-2fa-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 11, 15, .74);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .18s ease;
}

.face-2fa-overlay.is-visible {
  opacity: 1;
}

.face-2fa-card {
  position: relative;
  width: min(100%, 470px);
  padding: 30px;
  border: 1px solid #35404a;
  border-radius: 18px;
  background: #151b21;
  color: #f5f7f8;
  box-shadow: 0 28px 80px rgba(0,0,0,.38);
}

.face-2fa-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid #35404a;
  border-radius: 10px;
  background: #202831;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.face-2fa-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border: 1px solid rgba(196,123,18,.35);
  border-radius: 12px;
  background: rgba(196,123,18,.12);
  color: #d18a22;
}

.face-2fa-kicker {
  display: block;
  margin-bottom: 8px;
  color: #d18a22;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.face-2fa-card h2 {
  margin: 0 0 8px;
  font-size: 25px;
  line-height: 1.2;
}

.face-2fa-description,
.face-2fa-security,
.face-2fa-sent {
  color: #aeb9c2;
  line-height: 1.55;
}

.face-2fa-step {
  margin-top: 22px;
}

.face-2fa-step[hidden] {
  display: none !important;
}

.face-2fa-step label {
  display: block;
  margin-bottom: 8px;
  color: #e9edf0;
  font-size: 12px;
  font-weight: 700;
}

.face-2fa-step input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #3a4650;
  border-radius: 10px;
  outline: 0;
  background: #0f151a;
  color: #fff;
  box-sizing: border-box;
}

.face-2fa-step input:focus {
  border-color: #c47b12;
  box-shadow: 0 0 0 3px rgba(196,123,18,.12);
}

.face-2fa-primary {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border: 0;
  border-radius: 10px;
  background: #c47b12;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.face-2fa-primary:disabled {
  opacity: .6;
  cursor: wait;
}

.face-2fa-link {
  width: 100%;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #c6d0d7;
  cursor: pointer;
}

.face-2fa-message {
  min-height: 20px;
  margin-top: 14px;
  color: #a8d7b5;
  font-size: 12px;
}

.face-2fa-message.is-error {
  color: #f0a0a0;
}

.face-2fa-security {
  display: block;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #2d3740;
  font-size: 10px;
}
