@font-face {
  font-family: Newsreader;
  src: url("./fonts/Newsreader.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("./fonts/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --papel: #faf9f5;
  --branco: #fffdfa;
  --ink: #182d38;
  --muted: #52616a;
  --bronze: #87552b;
  --ouro: #bc9365;
  --linha: #e7e0d6;
  --gelo: #eaf0f5;
  --areia: #f3ece1;
  --head: Newsreader, Georgia, serif;
  --body: Manrope, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .68, .22, 1);
  --speed: .23s var(--ease);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--papel); font: 500 1rem/1.65 var(--body); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--head); font-weight: 570; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 1.61rem + 2.55vw, 3.6rem); letter-spacing: -.034em; }
p { text-wrap: pretty; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }

.wrap { width: min(100% - clamp(2rem, 9vw, 8rem), 76rem); margin-inline: auto; }
.botao {
  min-height: 3.12rem; max-width: 100%; display: inline-flex; align-items: center;
  justify-content: center; gap: .7rem; border: 1px solid transparent; border-radius: .55rem;
  padding: .73rem 1.13rem; font-size: .9rem; font-weight: 800; line-height: 1.3;
  text-align: center; text-decoration: none;
  transition: background var(--speed), color var(--speed), border-color var(--speed), transform var(--speed);
}
.botao span { font-size: 1.15em; flex: none; transition: transform var(--speed); }
.botao:is(:hover, :focus-visible) span { transform: translate(2px, -2px); }
.botao:active { transform: translateY(1px); }
.primario { background: var(--ink); color: white; }
.primario:is(:hover, :focus-visible) { background: #304f5e; }
.secundario { color: var(--ink); border-color: #c7cdd0; background: rgba(255, 255, 255, .47); }
.secundario:is(:hover, :focus-visible) { background: var(--gelo); border-color: #a2b0b9; }
.texto-link {
  display: inline-flex; align-items: center; gap: .45rem; width: fit-content;
  min-height: 2.75rem; font-weight: 800; font-size: .9rem;
  text-decoration-color: var(--ouro); text-underline-offset: .33em;
  transition: color var(--speed);
}
.texto-link:is(:hover, :focus-visible) { color: var(--bronze); }
.skip {
  position: fixed; z-index: 8; top: .6rem; left: .6rem; padding: .65rem .9rem;
  color: var(--ink); background: white; border-radius: .3rem; transform: translateY(-150%);
}
.skip:focus { transform: none; }

@keyframes chegada {
  from { opacity: 0; transform: translateY(13px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .entrada { animation: chegada .55s var(--ease) both; }
  [data-reveal].entrou { animation: chegada .48s var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .botao:is(:hover, :focus-visible) span { transform: none; }
}
