:root {
  --navy: #082d5b;
  --navy-dark: #031f43;
  --gold: #d6a63b;
  --gold-light: #edca70;
  --text: #16243a;
  --muted: #64748b;
  --line: #e5eaf0;
  --white: #ffffff;
  --danger: #a62929;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  background: #fff;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input { font: inherit; }

.test-stage {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}
.test-shell {
  width: min(100%, 680px);
  margin-inline: auto;
  text-align: center;
}
.test-brand { margin-bottom: 24px; }
.test-logo {
  display: block;
  width: min(520px, 88vw);
  height: auto;
  max-height: 150px;
  object-fit: contain;
  margin: 0 auto;
}
.test-card {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 22px 70px rgba(17, 42, 78, .12);
  padding: clamp(26px, 5vw, 44px);
  text-align: left;
}
.test-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-align: center;
  margin-bottom: 12px;
}
.test-card h1 {
  margin: 0;
  color: var(--navy-dark);
  text-align: center;
  font-size: clamp(27px, 5vw, 38px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.test-intro {
  max-width: 570px;
  margin: 14px auto 28px;
  color: var(--muted);
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
}
.test-intro strong { color: var(--navy); }
.test-form { max-width: 540px; margin: 0 auto; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy-dark);
  font-size: 13px;
  font-weight: 750;
}
.field input {
  width: 100%;
  min-height: 56px;
  border: 1px solid #ced7e2;
  border-radius: 14px;
  padding: 13px 15px;
  color: #172033;
  background: #fff;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(214,166,59,.14);
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 10px 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
}
.check-row input { margin-top: 2px; accent-color: var(--navy); }
.test-button {
  width: 100%;
  min-height: 56px;
  margin-top: 18px;
  border: 0;
  border-radius: 14px;
  color: #102340;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(214,166,59,.22);
  transition: transform .18s ease;
}
.test-button:hover { transform: translateY(-1px); }
.test-error {
  display: none;
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 11px;
  color: var(--danger);
  background: #fff4f4;
  border: 1px solid #f1cece;
  font-size: 12px;
}
.test-error.show { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 620px) {
  .test-stage { align-items: flex-start; padding: 24px 12px; }
  .test-brand { margin-bottom: 18px; }
  .test-logo { width: min(440px, 92vw); }
  .test-card { border-radius: 20px; padding: 24px 18px; }
  .test-intro { font-size: 14px; margin-bottom: 22px; }
}
.check-row a { color: var(--navy); font-weight: 700; }

/* V3 - política da NetArts na tela inicial */
.privacy-inline {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  cursor: pointer;
}
.test-privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.test-privacy-modal.open { display: flex; }
.test-privacy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 20, 42, .62);
  backdrop-filter: blur(2px);
}
.test-privacy-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(78vh, 650px);
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(2, 18, 40, .28);
  text-align: left;
}
.test-privacy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: #fff;
  background: var(--navy-dark);
}
.test-privacy-head strong { font-size: 16px; }
.test-privacy-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.test-privacy-content {
  overflow-y: auto;
  max-height: calc(min(78vh, 650px) - 66px);
  padding: 20px;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}
.test-privacy-content p { margin: 0 0 14px; }
.test-privacy-content strong { color: var(--navy-dark); }
.test-privacy-note {
  margin-top: 18px !important;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.test-privacy-note a { color: var(--navy); font-weight: 750; }
body.modal-open { overflow: hidden; }
