/* Páginas legais (Privacidade e Termos) — leitura simples, boa em telemóvel. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; padding: 28px 16px 72px;
  background: #F4F7FC; color: #2A3A55;
  font-family: 'Nunito', system-ui, sans-serif; line-height: 1.7; }

.topo { max-width: 760px; margin: 0 auto 16px; display: flex; flex-wrap: wrap;
  align-items: center; gap: 10px 18px; }
.topo .marca { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 22px;
  letter-spacing: .04em; color: #B37A00; text-decoration: none; }
.topo nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 16px;
  font-size: 14px; font-weight: 800; }
.topo nav a { color: #1E6FEB; text-decoration: none; padding: 4px 0; }
.topo nav a[aria-current="page"] { color: #16233A; border-bottom: 2px solid #F0B429; }

.doc { max-width: 760px; margin: 0 auto; background: #fff;
  border: 1px solid #E1E7F2; border-radius: 20px; padding: 36px 34px; }
h1 { font-family: 'Baloo 2', sans-serif; font-size: 28px; line-height: 1.2;
  color: #16233A; margin: 0 0 4px; }
.sub { color: #5B6E93; font-weight: 700; margin: 0 0 6px; }
.data { font-size: 13px; color: #6B7C99; font-weight: 700; margin: 0 0 26px; }
h2 { font-family: 'Baloo 2', sans-serif; font-size: 19px; line-height: 1.3;
  color: #16233A; margin: 30px 0 8px; }
p, li { font-size: 15px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
strong { color: #16233A; }
a { color: #1E6FEB; }
.box { background: #F4F7FC; border: 1px solid #E1E7F2; border-radius: 12px;
  padding: 14px 16px; margin: 14px 0; font-size: 14.5px; }
.box.aviso { background: #FFF8E8; border-color: #F0D89A; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px;
  border-bottom: 1px solid #E1E7F2; }
th { color: #16233A; font-weight: 800; background: #F4F7FC; }
.rodape { margin-top: 34px; padding-top: 18px; border-top: 1px solid #E1E7F2;
  font-size: 13px; color: #5B6E93; }

@media (max-width: 560px) {
  body { padding: 18px 12px 56px; }
  .doc { padding: 24px 18px; border-radius: 16px; }
  h1 { font-size: 24px; }
  .topo nav { margin-left: 0; }
  /* tabelas viram blocos: cabem no ecrã sem rolar para o lado */
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; left: -9999px; }
  tr { border: 1px solid #E1E7F2; border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
  td { border-bottom: 0; padding: 4px 12px; }
  td:first-child { background: #F4F7FC; font-weight: 800; color: #16233A; padding-top: 8px; padding-bottom: 8px; }
}
