/* LuvinCo — base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01" 0;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }


h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 650; line-height: var(--lh-head); letter-spacing: -0.015em; margin: 0 0 0.5em; color: var(--ink); text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.025em; font-weight: 700; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.022em; }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--pinheiro-600); }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { padding-left: 1.2em; }
small { font-size: var(--fs-sm); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88em; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-6) 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
::selection { background: var(--ambar-300); color: var(--pinheiro-900); }

:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.theme-pinheiro :focus-visible, .theme-noite :focus-visible, .site-footer :focus-visible, .campaign-band :focus-visible, .auth-visual :focus-visible { outline-color: var(--ambar-300); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--brand); color: var(--nevoa-50); padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; transition: top var(--t-fast) var(--ease); }
.skip-link:focus { top: 12px; color: var(--nevoa-50); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
main { display: block; min-height: 60vh; outline: none; }
.muted { color: var(--ink-3); }
.lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.5; }

.icon { width: 22px; height: 22px; flex: none; }

/* entrada ao rolar (aplicada por JS só quando há suporte e movimento permitido) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 640ms var(--ease), transform 640ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.is-in { opacity: 1; transform: none; }
