/* SP Gestão Global: uma família (Spectral), três cores, nenhum enfeite. */

@font-face {
  font-family: "Spectral";
  src: url("../tipos/spectral-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../tipos/spectral-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --papel: #ffffff;   /* fundo */
  --tinta: #16233a;   /* marca, títulos e texto */
  --pedra: #5e6673;   /* rodapé e datas */
  --medida: 38rem;    /* largura máxima de leitura */
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: "Spectral", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible { outline: 1px solid var(--tinta); outline-offset: 4px; }

.oculto {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.inteiro { white-space: nowrap; }

.marca { margin: 0; font: inherit; line-height: 0; }
.marca-svg { display: block; height: auto; }

/* Página inicial: a marca e o aviso de construção, um pouco acima do centro óptico. */
.inicio {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
}
.inicio main {
  display: grid;
  justify-items: center;
  padding: 3rem 1.5rem 10vh;
}
.inicio .marca-svg { width: clamp(13rem, 22vw, 19rem); }
.aviso {
  margin: 2.5rem 0 0;
  color: var(--pedra);
  font-size: .9375rem;
  letter-spacing: .02em;
}

/* Página de texto (privacidade). */
.texto .topo,
.texto .documento {
  width: 100%;
  max-width: calc(var(--medida) + 3rem);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.texto .topo { padding-top: 2.5rem; }
.marca-link { display: inline-block; }
.texto .marca-svg { width: 14rem; }

.documento { padding-bottom: 4.5rem; }
.documento h1 {
  margin: 5rem 0 .25rem;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 2.75rem);
  font-weight: 300;
  line-height: 1.15;
}
.documento .data { margin: 0 0 2.75rem; color: var(--pedra); font-size: .9375rem; }
.documento h2 {
  margin: 2.5rem 0 .5rem;
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.35;
}
.documento p { margin: 0 0 1rem; }
.documento a { text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* Celular */
@media (max-width: 34rem) {
  .documento h1 { margin-top: 3.5rem; }
}
