:root {
  --bg-base: #0b0f16;
  --bg-surface: #111720;
  --border: rgba(200, 228, 255, 0.16);
  --text-primary: #e7f1ff;
  --text-muted: #9eacba;
  --accent: #03e3a8;
  --accent-contrast: #06251c;
  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }

body {
  min-height: 100vh;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

.login-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, 46%); min-height: 100vh; }

.apresentacao {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(28px, 4.4vw, 64px);
  background: radial-gradient(circle at 78% 72%, rgba(3, 227, 168, 0.12), transparent 38%),
    radial-gradient(circle at 8% 0%, rgba(112, 177, 235, 0.1), transparent 43%),
    #0c1420;
  border-right: 1px solid var(--border);
}

.apresentacao::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image: linear-gradient(rgba(200, 228, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 228, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 80%, transparent);
  pointer-events: none;
}

.apresentacao > * { position: relative; }
.marca { display: flex; align-items: center; gap: 16px; }
.marca__logo { display: block; flex: none; width: 140px; height: 58px; overflow: hidden; }
.marca img { display: block; width: 250px; height: 125px; max-width: none; margin: -39px 0 0 -55px; }
.marca__divisor { width: 1px; height: 25px; background: var(--border); }
.marca__produto { color: #c8e4ff; font-size: 17px; font-weight: 700; letter-spacing: 0.08em; }

.apresentacao__conteudo { width: min(100%, 590px); margin: 64px 0; }
.selo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(3, 227, 168, 0.28);
  border-radius: 999px;
  background: rgba(3, 227, 168, 0.07);
  color: #92f6d7;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.selo__ponto { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.apresentacao h1 { margin: 28px 0 18px; font-size: clamp(36px, 4.2vw, 64px); line-height: 1.1; letter-spacing: -0.045em; }
.apresentacao h1 span { color: var(--accent); }
.apresentacao__conteudo > p { max-width: 460px; margin: 0; color: #b4c3d1; font-size: 16px; line-height: 1.7; }
.apresentacao__rodape { margin: 0; color: #8b9bad; font-size: 12px; letter-spacing: 0.04em; }

.funil-ilustracao {
  width: min(100%, 340px);
  margin-top: 46px;
  padding: 20px 22px 22px;
  border: 1px solid rgba(200, 228, 255, 0.18);
  border-radius: 16px;
  background: rgba(18, 30, 43, 0.8);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  transform: rotate(-3deg);
}
.funil-ilustracao__topo { display: flex; justify-content: space-between; margin-bottom: 20px; color: #c8e4ff; font-size: 12px; font-weight: 600; }
.funil-ilustracao__pontos { color: #71899b; letter-spacing: 2px; }
.funil-ilustracao__linha { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.funil-ilustracao__marcador { flex: none; width: 8px; height: 8px; border-radius: 50%; background: rgba(3, 227, 168, 0.7); }
.funil-ilustracao__barra { display: block; height: 10px; border-radius: 99px; background: linear-gradient(90deg, rgba(3, 227, 168, 0.48), rgba(3, 227, 168, 0.1)); }
.funil-ilustracao__barra--um { width: 88%; }
.funil-ilustracao__barra--dois { width: 70%; }
.funil-ilustracao__barra--tres { width: 55%; }
.funil-ilustracao__barra--quatro { width: 38%; }

.acesso { display: grid; place-items: center; padding: 48px clamp(28px, 6vw, 96px); background: var(--bg-surface); }
.acesso__conteudo { width: min(100%, 390px); }
.acesso__sobretitulo { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.acesso h2 { margin: 15px 0 10px; font-size: clamp(30px, 3vw, 39px); line-height: 1.15; letter-spacing: -0.035em; }
.acesso__descricao { margin: 0 0 38px; color: var(--text-muted); font-size: 15px; line-height: 1.55; }

.campo + .campo { margin-top: 21px; }
.campo label { display: block; margin-bottom: 9px; color: #d5e3ee; font-size: 13px; font-weight: 600; }
.campo input {
  width: 100%; height: 52px; padding: 0 16px;
  border: 1px solid rgba(200, 228, 255, 0.22); border-radius: 9px;
  outline: none; background: #18222e; color: var(--text-primary);
  font: inherit; font-size: 14px; transition: border-color 0.15s, box-shadow 0.15s;
}
.campo input::placeholder { color: #8494a4; }
.campo input:hover { border-color: rgba(200, 228, 255, 0.38); }
.campo input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(3, 227, 168, 0.14); }

#botao-entrar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 52px; margin-top: 28px; padding: 12px 16px;
  border: 0; border-radius: 9px; background: var(--accent); color: var(--accent-contrast);
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
#botao-entrar:hover:not(:disabled) { background: #32f0bd; transform: translateY(-1px); }
#botao-entrar:focus-visible { outline: 3px solid #c8e4ff; outline-offset: 3px; }
#botao-entrar:disabled { opacity: 0.65; cursor: wait; }

.erro { margin-top: 18px; padding: 12px 14px; border: 1px solid rgba(255, 114, 137, 0.35); border-radius: 9px; background: rgba(255, 84, 112, 0.1); color: #ff9dae; font-size: 13px; line-height: 1.45; }
.erro[hidden] { display: none; }
.acesso__ajuda { margin: 28px 0 0; color: #8f9eac; font-size: 12px; line-height: 1.5; text-align: center; }

@media (max-width: 900px) {
  .login-shell { grid-template-columns: 1fr; }
  .apresentacao { padding: 24px 28px; border-right: 0; border-bottom: 1px solid var(--border); }
  .apresentacao__conteudo, .apresentacao__rodape { display: none; }
  .marca__logo { width: 120px; height: 50px; }
  .marca img { width: 220px; height: 110px; margin: -34px 0 0 -50px; }
  .acesso { min-height: calc(100vh - 91px); padding: 56px 28px; }
}

@media (max-width: 480px) {
  .apresentacao { padding: 18px 24px; }
  .acesso { min-height: calc(100vh - 79px); padding: 48px 24px 64px; place-items: start center; }
  .acesso__conteudo { padding-top: min(8vh, 48px); }
}

@media (prefers-reduced-motion: reduce) {
  .campo input, #botao-entrar { transition: none; }
}
