* { box-sizing: border-box; }
html, body {
  min-height: 100%;
  margin: 0;
  font-family: "Archivo", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  background-color: #070706;
  background-image: url("/imagens/fundo.png?v=7");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  image-rendering: high-quality;
  color: #F5F1E8;
}
.overlay {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(to bottom, rgba(7, 7, 6, 0.88), rgba(7, 7, 6, 0.78), rgba(7, 7, 6, 0.94));
  backdrop-filter: blur(8px);
}
.card {
  width: 100%;
  max-width: 32rem;
  background: #12100A;
  border: 1px solid #6B5318;
  box-shadow: 0 0 35px rgba(212, 167, 44, 0.2);
  border-radius: 4px;
  overflow: hidden;
}
.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid #6B5318;
  background: #1A160C;
}
.head .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.head .brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.head h1 {
  margin: 0;
  font-family: "Archivo Black", "Archivo", "IBM Plex Sans", sans-serif;
  font-size: 22px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #FFD76A;
  text-shadow: 0 0 10px rgba(242, 201, 76, 0.3);
}
.head a {
  color: #AAA394;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
  padding: 0 4px;
}
.head a:hover { color: #FFE58A; }
.body { padding: 32px; }
.field { margin-bottom: 16px; }
label {
  display: block;
  margin-bottom: 8px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #AAA394;
}
input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border-radius: 2px;
  border: 1px solid #6B5318;
  background: #0c0b08;
  color: #F5F1E8;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}
input:focus {
  border-color: #F2C94C;
  box-shadow: 0 0 12px rgba(242, 201, 76, 0.35);
  background: #141109;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 8px;
  color: #AAA394;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.check input { width: 16px; height: 16px; accent-color: #D4A72C; }
.check label {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: #AAA394;
  cursor: pointer;
}
button[type="submit"], .btn {
  width: 100%;
  margin-top: 16px;
  padding: 16px;
  border-radius: 2px;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #090806 !important;
  cursor: pointer;
  background: linear-gradient(135deg, #FFD76A 0%, #D4A72C 55%, #A67C18 100%);
  border: 1px solid #6B5318;
  box-shadow: 0 0 15px rgba(242, 201, 76, 0.35);
  transition: all 0.2s ease;
}
button[type="submit"]:hover, .btn:hover {
  background: linear-gradient(135deg, #FFE58A 0%, #F2C94C 55%, #D4A72C 100%);
  border-color: #F2C94C;
  box-shadow: 0 0 20px rgba(242, 201, 76, 0.55);
  color: #090806 !important;
}
button[type="submit"]:disabled, .btn:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.btn-ghost {
  background: #1A160C;
  border: 1px solid #6B5318;
  box-shadow: none;
  color: #F5F1E8;
}
.btn-ghost:hover {
  background: #241e10;
  color: #FFE58A;
  border-color: #D4A72C;
}
.msg { min-height: 22px; margin-top: 12px; font-size: 14px; color: #AAA394; }
.msg.err { color: #ff8a8a; }
.msg.ok { color: #FFD76A; font-weight: bold; }
.verify { text-align: center; }
.verify p { color: #AAA394; line-height: 1.5; }
.code-box {
  margin: 16px 0;
  padding: 20px;
  border-radius: 2px;
  border: 1px solid #6B5318;
  background: #1A160C;
}
.code-box strong {
  display: block;
  font-size: 2.2rem;
  letter-spacing: 8px;
  color: #FFD76A;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.code-input {
  text-align: center;
  font-size: 1.5rem !important;
  letter-spacing: 6px;
  font-family: "IBM Plex Mono", ui-monospace, monospace !important;
  font-weight: 700;
  color: #FFD76A !important;
}
.row { display: flex; gap: 10px; }
.row .btn { margin-top: 10px; }
.ttl { color: #FFD76A; font-size: 1.2rem; font-weight: 700; font-family: "Archivo Black", "Archivo", sans-serif; font-style: normal; text-transform: uppercase; }
.login {
  display: block;
  margin-top: 12px;
  color: #D4A72C;
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}
.login:hover { color: #FFE58A; }
.cabal-human {
  margin: 4px 0 8px;
  padding: 12px;
  border: 1px solid #6B5318;
  background: #1A160C;
}
.cabal-human-label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #FFD76A;
}
.cabal-human-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.cabal-human-row img {
  display: block;
  height: 64px;
  width: 220px;
  max-width: calc(100% - 48px);
  background: #070706;
  border: 1px solid #6B5318;
  object-fit: contain;
}
.cabal-human-row button {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid #6B5318;
  background: linear-gradient(135deg, #FFD76A 0%, #D4A72C 55%, #A67C18 100%);
  color: #090806;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(242, 201, 76, 0.35);
}
.cabal-human input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #6B5318;
  background: #070706;
  color: #F5F1E8;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.cabal-human-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.cabal-human-msg {
  margin: 8px 0 0;
  color: #ff8a8a;
  font-size: 13px;
}
