/* Visual alinhado ao formulário de demonstração do site andabim.com. */
:root {
  color-scheme: light;
  --brand: #23506e;
  --accent: #f89e5b;
  --ink: #173347;
  --ink-soft: #465b6b;
  --paper: #eaebec;
  --line: rgba(35, 80, 110, 0.14);
  --danger: #b42318;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
}

.access-header {
  padding: 18px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.access-header img { height: 38px; display: block; }

.access-main {
  width: min(calc(100% - 32px), 880px);
  margin: 48px auto;
  display: grid;
  gap: 28px;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--brand);
  font: 750 11px/1.45 "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.access-intro h1 { margin: 0 0 12px; font-size: clamp(26px, 4vw, 36px); line-height: 1.2; }
.access-intro p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }

.access-form {
  padding: 32px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  background: #ffffff;
  min-width: 0;
}

.access-form[hidden] { display: none; }
.access-form h2 { margin: 0; font-size: 28px; }
.access-form p { font-size: 16px; line-height: 1.7; }

.access-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 28px 0;
}

.access-form label { display: block; font-size: 14px; font-weight: 700; line-height: 1.5; }
.access-form__wide { grid-column: 1 / -1; }
.access-form .access-form__trap { display: none; }

.access-form input {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border: 1px solid #8b9dac;
  border-radius: 3px;
  background: #ffffff;
  color: var(--ink);
  padding: 12px;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}

.access-form input:focus-visible, .button:focus-visible { outline: 3px solid #69b7da; outline-offset: 2px; }
.access-form .access-form__notice { font-size: 13px; }
.access-form a { color: var(--brand); text-decoration: underline; }
.access-form__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.button:hover { background: #193f59; }
.button:disabled { opacity: 0.65; cursor: wait; }
.button--ghost { background: transparent; color: var(--brand); }
.button--ghost:hover { background: #ffffff; }

.access-feedback {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--danger);
  background: #fdf1f0;
  color: var(--danger);
}

@media (max-width: 600px) {
  .access-main { margin: 28px auto; }
  .access-form { padding: 24px 18px; }
  .access-form__fields { grid-template-columns: 1fr; }
}
