/* Páginas de resultado do formulário e página 404 */

:root {
  --background: #e5e5e5;
  --orange: #d98d00;
  --blue: #000083;
}

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

body {
  font-family: "Poppins", sans-serif;
  background: var(--background);
  color: #212529;
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem 1rem;
}

main img {
  width: min(20rem, 70vw);
  height: auto;
}

.aviso {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 200;
}

h1 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 500;
}

p {
  font-size: 1.2rem;
  max-width: 48rem;
}

a.voltar {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--orange);
  color: var(--blue);
  text-decoration: none;
  font-size: 1.1rem;
}

a.voltar:hover {
  background: rgba(217, 141, 0, 0.12);
}

a.voltar:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* Política de Privacidade */

.documento {
  min-height: auto;
  display: block;
  text-align: left;
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.documento .topo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: inherit;
  text-decoration: none;
}

.documento .topo img {
  width: 3.5rem;
  height: 3.5rem;
}

.documento .topo span {
  font-size: 1.25rem;
  font-weight: 500;
}

.documento h1 {
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.documento h2 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--blue);
  margin: 2rem 0 0.5rem;
}

.documento p,
.documento li {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  max-width: none;
}

.documento p + p,
.documento ul + p {
  margin-top: 0.75rem;
}

.documento ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.documento li + li {
  margin-top: 0.35rem;
}

.documento strong {
  font-weight: 500;
}

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

.documento .atualizado {
  font-size: 0.9rem;
  color: #555;
}

/* Tema escuro (escolhido no botão da página inicial ou pelo aparelho) */

:root[data-tema="escuro"] {
  color-scheme: dark;
  --background: #0b0b1e;
}

[data-tema="escuro"] body {
  color: #e6e6f2;
}

[data-tema="escuro"] a.voltar,
[data-tema="escuro"] .documento h1,
[data-tema="escuro"] .documento h2,
[data-tema="escuro"] .documento a {
  color: #a9adff;
}

[data-tema="escuro"] .documento .atualizado {
  color: #b3b4cc;
}

[data-tema="escuro"] .documento .topo {
  color: #ffffff;
}
