:root {
  --amarelo: #fae100;
  --amarelo-escuro: #d9c400;
  --grafite: #505353;
  --grafite-2: #3a3c3c;
  --carvao: #232424;
  --preto: #141414;
  --claro: #f4f4f4;
  --branco: #ffffff;
  --erro: #d8453b;
  --inclinacao: -14deg;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Outfit", "Helvetica Neue", Arial, sans-serif;
  background: var(--carvao);
  color: var(--branco);
  -webkit-font-smoothing: antialiased;
}
.acesso {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
}
.acesso__marca {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(32px, 6vw, 96px);
  isolation: isolate;
}
.plano {
  position: absolute;
  inset: -10% auto -10% -25%;
  width: 110%;
  background: var(--amarelo);
  transform: skewX(var(--inclinacao));
  transform-origin: bottom left;
  z-index: -1;
  animation: entrarPlano 900ms cubic-bezier(.2,.8,.2,1) both;
}
.plano--b {
  left: auto;
  right: -38%;
  width: 22%;
  background: var(--grafite-2);
  animation-delay: 120ms;
}
.acesso__marca-conteudo { max-width: 620px; color: var(--preto); animation: subir 800ms 250ms cubic-bezier(.2,.8,.2,1) both; }
.logo-placa { display: inline-block; margin: 0 0 clamp(32px, 6vh, 64px) 4px; padding: 10px 24px; background: var(--carvao); transform: skewX(var(--inclinacao)); }
.logo-mm { width: clamp(170px, 20vw, 240px); height: auto; display: block; transform: skewX(calc(var(--inclinacao) * -1)); }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow--escuro { color: var(--grafite); }
.titulo { margin: 0; font-weight: 600; font-size: clamp(40px, 5.6vw, 84px); line-height: .98; letter-spacing: -.02em; }
.lead { margin: 22px 0 0; max-width: 460px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: #2e2f2f; }
.cliente { margin-top: clamp(32px, 7vh, 72px); display: inline-flex; align-items: center; gap: 16px; padding: 12px 22px 12px 18px; background: var(--branco); transform: skewX(var(--inclinacao)); }
.cliente > * { transform: skewX(calc(var(--inclinacao) * -1)); }
.cliente__rotulo { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grafite); }
.cliente img { height: 20px; width: auto; }

.acesso__form { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 5vw, 72px); background: var(--carvao); }
.cartao { width: 100%; max-width: 420px; margin: 0 auto; background: var(--branco); color: var(--preto); padding: clamp(28px, 4vw, 44px); border-top: 6px solid var(--amarelo); animation: subir 800ms 380ms cubic-bezier(.2,.8,.2,1) both; }
.cartao__titulo { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.01em; }
.cartao__texto { margin: 10px 0 26px; color: var(--grafite); font-size: 15px; line-height: 1.5; }
.campo { display: block; margin-bottom: 18px; }
.campo > span:first-child { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grafite); }
.campo input { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid #cfd1d1; border-radius: 0; font: inherit; font-size: 16px; color: var(--preto); background: var(--claro); transition: border-color .15s, background .15s, box-shadow .15s; }
.campo input:hover { border-color: #9fa2a2; }
.campo input:focus-visible { outline: none; border-color: var(--preto); background: var(--branco); box-shadow: 0 0 0 3px var(--amarelo); }
.campo input[aria-invalid="true"] { border-color: var(--erro); }
.campo__senha { position: relative; display: block; }
.campo__senha input { padding-right: 92px; }
.ver-senha { position: absolute; right: 6px; top: 6px; height: 38px; padding: 0 12px; border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 600; color: var(--grafite); cursor: pointer; }
.ver-senha:hover { color: var(--preto); }
.ver-senha:focus-visible { outline: 2px solid var(--preto); outline-offset: 1px; }
.erro { min-height: 22px; margin: 4px 0 12px; color: var(--erro); font-size: 14px; font-weight: 500; }
.botao { position: relative; width: 100%; height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; background: transparent; color: var(--preto); font: inherit; font-size: 15px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; isolation: isolate; }
.botao::before { content: ""; position: absolute; inset: 0 8px; background: var(--amarelo); transform: skewX(var(--inclinacao)); z-index: -1; transition: background .18s, inset .18s; }
.botao:hover::before { background: var(--amarelo-escuro); inset: 0 2px; }
.botao:active::before { inset: 2px 10px; }
.botao:focus-visible { outline: none; }
.botao:focus-visible::before { box-shadow: 0 0 0 3px var(--preto); }
.botao__seta { width: 22px; height: 22px; transition: transform .18s; }
.botao:hover .botao__seta { transform: translateX(4px); }
.botao[disabled] { cursor: progress; }
.botao[disabled]::before { background: #e6e6e6; }
.botao[data-estado="ok"]::before { background: var(--preto); }
.botao[data-estado="ok"] { color: var(--amarelo); }
.rodape { margin: 28px auto 0; max-width: 420px; font-size: 12px; letter-spacing: .04em; color: #9a9d9d; text-align: center; }

@keyframes entrarPlano { from { transform: skewX(var(--inclinacao)) translateX(-30%); opacity: 0; } to { transform: skewX(var(--inclinacao)) translateX(0); opacity: 1; } }
@keyframes subir { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tremer { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.cartao.tremer { animation: tremer 280ms ease; }

@media (max-width: 900px) {
  .acesso { grid-template-columns: 1fr; }
  .acesso__marca { padding: 32px 20px 48px; }
  .plano { left: -40%; width: 160%; }
  .plano--b { display: none; }
  .titulo { font-size: clamp(34px, 9vw, 52px); }
  .acesso__form { padding: 28px 16px 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.cliente-nome { font-size: 15px; font-weight: 800; color: var(--preto); }
