/* Estilo das páginas simples do site (404, curso em breve e documentos legais).
   Mesma paleta do index.html. */
:root {
  --g0: #142E25;
  --g1: #1C3D31;
  --g2: #2E6B52;
  --paper: #F6F2E9;
  --ink: #23291F;
  --body2: #4A5146;
  --mint2: #9DC4AD;
  --gold: #C9962E;
  --gold-lt: #DDB35A;
  --gold-ink: #8A6420;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1.05rem;
}

header {
  background: var(--g0);
  padding: 18px 24px;
  text-align: center;
}

.marca {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.marca em { color: var(--gold-lt); font-weight: 400; }

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.cartao { max-width: 36rem; text-align: center; }

.rotulo {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.15;
  font-weight: 600;
  color: var(--g1);
}

.divisor {
  width: 80px;
  height: 2px;
  margin: 1.4rem auto;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

p { color: var(--body2); margin-bottom: 1.6rem; }

.botao {
  display: inline-block;
  padding: 14px 32px;
  background: var(--g2);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 10px;
}

.botao:hover { background: var(--g1); }

footer {
  background: var(--g0);
  border-top: 3px solid var(--gold);
  padding: 18px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--mint2);
}

footer a { color: var(--mint2); }

/* ── Documentos legais (termos, privacidade, direitos autorais) ── */

main.documento {
  display: block;
  padding: 3rem 1.25rem 4rem;
}

.documento article {
  max-width: 46rem;
  margin: 0 auto;
}

.documento h1 { margin-bottom: 0.5rem; }

.documento h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--g1);
  margin: 2.4rem 0 0.9rem;
}

.documento p,
.documento li {
  color: var(--body2);
  margin-bottom: 0.9rem;
}

.documento ul,
.documento ol { padding-left: 1.4rem; margin-bottom: 1rem; }

.documento strong { color: var(--ink); }

.documento a { color: var(--g2); }

.aviso-preliminar {
  background: #FBF3DF;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  margin: 1.2rem 0 2rem;
}

.docs-relacionados {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid #E2DACB;
  font-size: 0.95rem;
}

.docs-relacionados a { white-space: nowrap; }

.docs-relacionados a[aria-current="page"] { color: var(--ink); text-decoration: none; font-weight: 600; }
