:root {
  --marinho: #16324a;
  --coral: #ff6b4a;
  --areia: #f5dda9;
  --fundo: #fbf5ea;
  --suave: #56606f;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--areia);
  color: var(--marinho);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
main {
  width: 100%;
  max-width: 420px;
  background: var(--fundo);
  border-radius: 28px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(22, 50, 74, 0.12);
}
.logo { width: 180px; height: auto; margin: 0 auto 16px; display: block; }
h1 { font-size: 26px; line-height: 1.2; margin: 8px 0; }
p { font-size: 17px; line-height: 1.5; color: var(--suave); margin: 8px 0; }
.turma { color: var(--marinho); font-weight: 700; }
.botao {
  display: block;
  width: 100%;
  min-height: 56px;
  margin-top: 14px;
  padding: 16px;
  border-radius: 999px;
  border: 2px solid var(--marinho);
  background: transparent;
  color: var(--marinho);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.botao.destaque { background: var(--coral); border-color: var(--coral); color: #fff; }
.botao.primario { background: var(--marinho); color: #fff; }
.codigo {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  background: #fff;
  font: 700 22px/1.2 ui-monospace, Menlo, monospace;
  letter-spacing: 2px;
}
.passo { font-size: 15px; }
.escondido { display: none; }
footer { margin-top: 24px; font-size: 13px; color: var(--suave); }

/* Selos das lojas (trocar pelas artes oficiais quando o app estiver publicado) */
.selos { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.selo {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  min-width: 160px; min-height: 56px; padding: 8px 18px; border-radius: 12px;
  background: #000; color: #fff; text-decoration: none; font-size: 20px; font-weight: 600; line-height: 1.1;
}
.selo small { font-size: 12px; font-weight: 400; }

/* Formulário do resgate de cupom */
form { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.entrada {
  width: 100%; min-height: 56px; padding: 14px 16px; border-radius: 14px;
  border: 2px solid #e4d5b5; background: #fff; color: var(--marinho);
  font-size: 18px; text-align: center;
}
.entrada:focus { outline: none; border-color: var(--marinho); }
.erro { color: #c0392b; font-weight: 600; min-height: 1em; }
button.botao:disabled { opacity: 0.5; }

/* Páginas de texto (privacidade, termos, excluir conta) */
body.documento { display: block; padding: 24px 16px 48px; }
.documento main { max-width: 720px; margin: 0 auto; text-align: left; padding: 32px 28px; }
.documento .logo { width: 120px; margin: 0 0 8px; }
.documento h1 { font-size: 30px; }
.documento h2 { font-size: 20px; margin: 32px 0 8px; }
.documento p, .documento li { font-size: 16px; line-height: 1.6; color: var(--suave); }
.documento ul, .documento ol { padding-left: 22px; margin: 8px 0; }
.documento li { margin: 4px 0; }
.documento strong { color: var(--marinho); }
.documento a { color: var(--marinho); font-weight: 700; }
.documento .atualizado { font-size: 14px; }
.documento nav { margin-top: 32px; padding-top: 16px; border-top: 1px solid #eadcbf; font-size: 14px; }
.documento nav a { margin-right: 16px; }
.aviso-email {
  margin: 20px 0; padding: 20px; border-radius: 18px;
  background: #fff; border: 3px solid var(--coral);
}
.aviso-email p { color: var(--marinho); margin: 6px 0; }
.aviso-email .titulo { font-size: 19px; font-weight: 800; }
.aviso-email .botao { margin-top: 12px; text-align: center; }
footer a { color: var(--suave); }
.documento p, .documento li { overflow-wrap: anywhere; }
