*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--frost);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--blue-500); color: var(--navy-900);
  padding: 12px 20px; font-weight: 600; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* Temas de seção */
.theme-dark { background: var(--navy-900); color: var(--frost); }
.theme-ink { background: var(--ink-950); color: var(--frost); }
.theme-light { background: var(--paper); color: var(--navy-900); }
.section { position: relative; padding-block: var(--space-section); }

/* Tipografia */
.display, .h2, .h3, .num {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.005em;
}
.display { font-size: var(--fs-display); line-height: 1.1; }
.h2 { font-size: var(--fs-h2); line-height: 1.1; }
.h3 { font-size: var(--fs-h3); line-height: 1.1; }
.num { font-size: var(--fs-number); line-height: 0.85; font-weight: 600; }
.lead { font-size: var(--fs-lead); line-height: 1.5; }
.small { font-size: var(--fs-small); line-height: 1.5; }
.muted { color: var(--steel-400); }
.theme-light .muted { color: var(--steel-500); }
.accent { color: var(--blue-500); }
.theme-light .accent { color: var(--blue-700); }
.measure { max-width: 62ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-eyebrow); line-height: 1; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue-500); margin-bottom: 20px;
}
.theme-light .eyebrow { color: var(--blue-700); }

/* Linhas animadas dos títulos (split por palavra no JS) */
.split-word { display: inline-block; }
.split-inner { display: inline-block; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
