:root {
  --papel: #f5f1e8;
  --cartao: #fffdf8;
  --tinta: #1b1814;
  --tinta-2: #5d564c;
  --tinta-3: #8f877b;
  --linha: #e3dccd;
  --azul: #1f3a5f;
  --azul-claro: #e8edf3;
  --ouro: #a8823f;
  --erro: #a3352a;
  --raio: 14px;
  --g: 16px;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--papel);
  color: var(--tinta);
  font: 16px/1.45 'Hanken Grotesk', system-ui, sans-serif;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }

.titulo { font-family: 'Fraunces', Georgia, serif; font-weight: 500; letter-spacing: -0.01em; line-height: 1.05; }
.rotulo { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tinta-3); font-weight: 600; }

.campo { display: grid; gap: 6px; }
.campo label { font-size: 14px; font-weight: 600; color: var(--tinta-2); }
.campo input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  background: var(--cartao);
  border: 1.5px solid var(--linha);
  border-radius: 12px;
  font-size: 17px;
  outline: none;
  transition: border-color .15s;
}
.campo input:focus { border-color: var(--azul); }
.campo input::placeholder { color: #b4ac9f; }

.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 22px;
  border: 0; border-radius: 12px;
  background: var(--azul); color: #fff;
  font-weight: 600; font-size: 17px;
  transition: transform .1s, opacity .15s;
}
.botao:active { transform: scale(.98); }
.botao[disabled] { opacity: .6; }
.botao.claro { background: var(--cartao); color: var(--tinta); border: 1.5px solid var(--linha); }
.botao.pequeno { height: 42px; padding: 0 14px; font-size: 15px; border-radius: 10px; }

.erro { color: var(--erro); font-size: 14px; }
.erro:empty { display: none; }
.escondido { display: none !important; }
