@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/cormorant-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url("../fonts/cormorant-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/jost-normal.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--papel); color: var(--ameixa);
  font-family: var(--f-texto); font-size: var(--t-body); line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-titulo); font-weight: 300; color: var(--ameixa); text-wrap: balance; }
h1 { font-size: var(--t-display); line-height: 1.04; letter-spacing: -.01em; }
h2 { font-size: var(--t-h2); line-height: 1.1; letter-spacing: -.005em; }
h3 { font-size: var(--t-h3); line-height: 1.2; font-weight: 400; }
h4 { font-size: var(--t-h4); line-height: 1.25; font-weight: 500; }
em { font-style: italic; }
p { margin: 0 0 1.25em; text-wrap: pretty; }
a { color: var(--violeta-profundo); }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--violeta-profundo); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--azul); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.secao { padding-block: var(--secao); scroll-margin-top: var(--header-h); }
[id] { scroll-margin-top: var(--header-h); }

.rotulo {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-size: var(--t-label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  line-height: 1.3; color: var(--violeta-profundo);
}
.rotulo::before { content: ""; width: 32px; height: 1px; background: currentColor; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100; padding: var(--s-3) var(--s-4);
  background: var(--ameixa); color: var(--papel); font-weight: 500; text-decoration: none; border-radius: var(--r-sm);
}
.skip-link:focus { top: var(--s-4); }

/* Marcador provisório das seções ainda não construídas */
.em-construcao { min-height: 40vh; display: grid; align-content: center; gap: var(--s-3); }
.em-construcao p { margin: 0; color: var(--texto-secundario); font-size: var(--t-small); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
