:root {
  --preto: #111111;
  --ouro: #ffab00;
  --ouro-escuro: #c68400;
  --fundo: #f4f1ea;
  --cartao: #fffdf8;
  --texto: #1c1c1c;
  --linha: #e4dcc8;
  --perigo: #9d1c1c;
  --ok: #1d6b3a;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  background: var(--fundo);
  color: var(--texto);
  min-height: 100vh;
}
header {
  background: var(--preto);
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
header .marca {
  background: var(--ouro);
  color: var(--preto);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
}
header a { color: white; }
main { padding: 16px; max-width: 880px; margin: 0 auto; }
h1 { font-size: 1.7rem; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 1.15rem; margin: 20px 0 8px; }
p { line-height: 1.45; }
a { color: #6a4a00; }
.grade {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 720px) {
  .grade { grid-template-columns: 1fr 1fr; }
}
.cartao, .acao {
  display: block;
  background: var(--cartao);
  border: 1px solid var(--linha);
  border-radius: 16px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.acao {
  min-height: 64px;
  font-size: 1.2rem;
  font-weight: 700;
}
.acao small { display: block; font-weight: 500; color: #5c5648; font-size: .95rem; margin-top: 4px; }
.acao.principal { background: var(--ouro); border-color: var(--ouro-escuro); }
button, .botao {
  appearance: none;
  border: 0;
  background: var(--ouro);
  color: var(--preto);
  font: inherit;
  font-weight: 800;
  font-size: 1.15rem;
  min-height: 56px;
  padding: 12px 18px;
  border-radius: 14px;
  width: 100%;
  cursor: pointer;
}
button.secundario, .botao.secundario { background: var(--preto); color: white; }
button.perigo { background: var(--perigo); color: white; }
.campo { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; font-size: 1.05rem; }
input[type=checkbox] { width: 1.4rem; height: 1.4rem; padding: 0; }
input, select, textarea {
  font: inherit;
  font-size: 1.1rem;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #cabb9a;
  background: white;
  width: 100%;
}
.erro, .aviso { background: #fff4d6; border-left: 6px solid var(--ouro-escuro); padding: 12px 14px; border-radius: 10px; }
.erro { background: #fde8e8; border-color: var(--perigo); }
.relogio { font-variant-numeric: tabular-nums; font-size: 3.2rem; font-weight: 800; letter-spacing: .04em; margin: 8px 0; }
.lista { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.lista li, .linha { background: var(--cartao); border-radius: 14px; padding: 14px; border: 1px solid var(--linha); }
.selo { display: inline-block; background: var(--preto); color: var(--ouro); border-radius: 999px; padding: 2px 8px; font-size: .8rem; font-weight: 700; }
table { width: 100%; border-collapse: collapse; background: var(--cartao); }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--linha); vertical-align: top; }
.assinatura { background: white; border: 1px dashed #cabb9a; border-radius: 12px; touch-action: none; width: 100%; height: 160px; }
.oculto { display: none; }
