/*
 * Estilo das páginas estáticas servidas diretamente pelo Apache, fora da aplicação Angular
 * (/docs/ e /404.html). Mesma identidade visual de politica-de-privacidade.html — que mantém
 * o seu CSS inline de propósito, para continuar a funcionar mesmo sozinha; estas duas são
 * novas e partilham o ficheiro em vez de o triplicarem.
 *
 * Os valores vêm de src/variables.css (tema escuro do site). Não importa a folha da app: o
 * nome do bundle leva hash a cada build e uma página estática não pode depender dele.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/inter-var-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-serif-display-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-var-latin.woff2') format('woff2');
}

:root {
  --fundo: #141414;
  --painel: #1c1c1c;
  --texto: #cfcfcf;
  --texto-forte: #ececec;
  --acento: #a580ca;
  --borda: rgba(207, 207, 207, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.envelope {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

a {
  color: var(--acento);
}

a:focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 2px;
}

.marca {
  display: inline-block;
  margin-bottom: 3rem;
  font-family: 'DM Serif Display', ui-serif, serif;
  font-size: 1.25rem;
  color: var(--texto-forte);
  text-decoration: none;
}

.marca span {
  color: var(--acento);
}

h1,
h2,
h3 {
  font-family: 'DM Serif Display', ui-serif, serif;
  font-weight: 400;
  color: var(--texto-forte);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-top: 0;
}

h2 {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
}

h3 {
  font-size: 1.125rem;
}

.legenda {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--acento);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

th,
td {
  padding: 0.75rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--borda);
  vertical-align: top;
}

th {
  color: var(--texto-forte);
  font-weight: 600;
}

.rolagem {
  overflow-x: auto;
}

code,
pre {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.875rem;
}

code {
  color: var(--texto-forte);
}

pre {
  overflow-x: auto;
  padding: 1rem 1.25rem;
  border: 1px solid var(--borda);
  border-radius: 0.375rem;
  background: var(--painel);
  line-height: 1.6;
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--borda);
  font-size: 0.875rem;
}
