/* Páginas do Pilg: as cores de src/theme/tokens.ts, a Fraunces 700 nos títulos e a Figtree no texto. Só modo claro. */

/* As fontes ficam no próprio site, para nenhuma empresa receber o IP de quem visita. */
@font-face { font-family: 'Fraunces'; font-weight: 700; font-display: swap; src: url('fontes/Fraunces_700Bold.ttf') format('truetype'); }
@font-face { font-family: 'Figtree'; font-weight: 400; font-display: swap; src: url('fontes/Figtree_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Figtree'; font-weight: 600; font-display: swap; src: url('fontes/Figtree_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Figtree'; font-weight: 700; font-display: swap; src: url('fontes/Figtree_700Bold.ttf') format('truetype'); }

:root {
  --fundo: #EFE6D3;
  --cartao: #FCF8EE;
  --linha: #DED2B8;
  --verde: #2E4A32;
  --verde-escuro: #1B301D;
  --tinta: #1A241A;
  --corpo: #38422F;
  --apagado: #605F4A;
  --bronze: #9A6F1E;
  --bronze-claro: #E0B64A;
  --tinta-clara: #F6F1E2;
  --titulo: 'Fraunces', Georgia, 'Times New Roman', serif;
  --texto: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --raio: 1.375rem;
  --sombra: 0 1px 2px rgba(26,36,26,0.06), 0 8px 20px -10px rgba(26,36,26,0.18);
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--fundo);
  color: var(--corpo);
  font: 400 1.0625rem/1.6 var(--texto);
  -webkit-text-size-adjust: 100%;
  overflow-wrap: break-word;
}

.pagina {
  max-width: 42rem;
  margin: 0 auto;
  padding-block: 1.5rem 4rem;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--tinta);
  text-decoration: none;
  font: 700 1.375rem/1.25 var(--titulo);
}
.marca img { width: 2.5rem; height: 2.5rem; border-radius: 0.625rem; }

.idioma { font-size: 0.9375rem; font-weight: 600; }

/* Entrelinha de 1,25 ou mais na Fraunces, para o topo da letra não cortar (CLAUDE.md). */
h1, h2, h3 {
  font-family: var(--titulo);
  font-weight: 700;
  color: var(--tinta);
  text-wrap: balance;
  line-height: 1.25;
}
h1 { font-size: 2rem; margin: 2.5rem 0 0.5rem; }
h2 { font-size: 1.3125rem; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1.0625rem; margin: 1.5rem 0 0.25rem; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.5rem; }
strong { font-weight: 700; color: var(--tinta); }

.data { color: var(--apagado); margin-bottom: 2rem; }

.cartao {
  background: var(--cartao);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  padding: 1.25rem;
  margin: 1.5rem 0;
}
.cartao p:last-child { margin-bottom: 0; }

a { color: var(--verde); text-underline-offset: 0.15em; }
a:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; border-radius: 4px; }

.email { font-weight: 700; user-select: all; }

/* Início */
.inicio { text-align: center; padding-top: 3rem; }
.inicio .icone { width: 7.5rem; height: 7.5rem; border-radius: 1.75rem; box-shadow: var(--sombra); }
.inicio h1 { font-size: 2.75rem; margin: 1.25rem 0 0.25rem; }
.lema { font: 700 1.25rem/1.3 var(--titulo); color: var(--bronze); margin-bottom: 1.5rem; }
.inicio .resumo { max-width: 34rem; margin: 0 auto 2rem; text-align: left; }

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 1.75rem;
  border-radius: 999px;
  background: var(--verde-escuro);
  color: var(--tinta-clara);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

.rodape {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--linha);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  color: var(--apagado);
  font-size: 0.9375rem;
}
.inicio + .rodape, .inicio .rodape { justify-content: center; }
