*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; interpolate-size: allow-keywords; }
html[data-motion="full"] { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; font-weight: 300; }
:focus-visible { outline: 2px solid transparent; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px #00c2ff; border-radius: 8px; }

.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; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #000; border-radius: 999px; }
.skip:focus { top: 16px; }

/* Escala tipográfica (2.2) */
.display { font-size: var(--fs-display); font-weight: 600; line-height: .95; letter-spacing: -.04em; }
.h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.02; letter-spacing: -.03em; }
.h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.h4 { font-size: var(--fs-h4); font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.lede { font-size: var(--fs-lead); font-weight: 300; line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.small { font-size: var(--fs-small); color: var(--ink-3); }
.label { font-size: var(--fs-label); font-weight: 500; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.label--accent { color: var(--ink); }
.display em, .h2 em, .h3 em, .hero__title em { font-weight: 300; }

/* Botões (3.3) */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .55em;
  padding: 17px 28px;
  border-radius: 999px;
  background: var(--ink); color: #050505;
  font-size: 16px; font-weight: 500; letter-spacing: -.01em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  isolation: isolate;
}
.btn::before { /* anel iridescente no hover */
  content: ""; position: absolute; inset: -3px; z-index: -1; border-radius: inherit;
  background: var(--iris-conic);
  opacity: 0; transition: opacity var(--d-fast) var(--ease-state);
}
.btn:hover::before, .btn:focus-visible::before { opacity: 1; }
.btn__arrow { display: inline-block; transition: translate var(--d-fast) var(--ease-out); }
.btn:hover .btn__arrow { translate: 4px 0; }
.btn:active { scale: .97; }
.btn--small { padding: 11px 18px; font-size: 14px; }
.btn--large { padding: 22px 40px; font-size: 18px; }
.btn--dark { background: #050505; color: var(--paper); }

.link {
  position: relative; display: inline-block;
  font-weight: 500; text-decoration: none; white-space: nowrap;
  padding-bottom: 2px;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; scale: 0 1;
  transition: scale var(--d-base) var(--ease-out);
}
.link::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: .3; }
.link:hover::after, .link:focus-visible::after { transform-origin: left; scale: 1 1; }
.link--small { font-size: var(--fs-small); }

.icon-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; flex: none; font-size: 14px; }

/* Etiquetas e linha de anotação (3.4) */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-block; padding: 6px 11px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
  color: var(--ink-2);
}
.tag--accent { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--iris) border-box; border: 1px solid transparent; color: var(--ink); }
.note { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.note__dot { width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; flex: none; }
.note__line { width: 36px; height: 1px; background: currentColor; transform-origin: left; }

/* Selo */
.seal { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.seal__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--iris-conic); box-shadow: 0 0 14px rgba(0, 194, 255, .6); }
.seal--small { gap: 8px; font-weight: 400; }
.seal--small .seal__dot { width: 8px; height: 8px; }

/* Revelar ao entrar (CSS scroll-driven onde houver; senão main.js usa IntersectionObserver) */
[data-motion="full"] .reveal { opacity: 0; translate: 0 40px; transition: opacity var(--d-slow) var(--ease-reveal), translate var(--d-slow) var(--ease-reveal); }
[data-motion="full"] .reveal.is-in { opacity: 1; translate: 0 0; }
@supports (animation-timeline: view()) {
  [data-motion="full"] .reveal { opacity: 1; translate: none; transition: none; animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 75%; }
}
@keyframes reveal { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
