*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; scrollbar-color: var(--graphite-3) var(--bg); }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  line-height: 1.6; -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility;
}
::selection { background: rgba(var(--accent-rgb), .32); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--graphite-3); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #333b44; }
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-stretch: 118%; font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
h1 { font-size: clamp(2.5rem, 5.8vw, 4.9rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); max-width: 20ch; }
h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 1em; }
em { font-style: normal; }
[hidden] { display: none !important; }
.metal { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section__lead, .lead { color: var(--text-dim); max-width: 56ch; font-size: 1.08rem; }
.sec-head { margin-bottom: 40px; }
.sec-head .section__lead { margin-bottom: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--steel); font-size: .92rem; font-weight: 500; }
.kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .14); }
.tag { display: inline-block; border: 1px solid rgba(var(--accent-rgb), .45); color: var(--accent-2); border-radius: var(--pill); padding: 1px 10px; font-size: .75rem; font-weight: 600; }

/* superfícies: grafite com borda metálica fina */
.glass, .panel {
  position: relative; background: linear-gradient(180deg, rgba(26, 31, 37, .78), rgba(14, 17, 21, .78));
  border-radius: var(--radius); padding: 22px;
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 30px 60px -40px rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

/* botões com microinteração */
.btn {
  --b: var(--accent);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: var(--btn-radius);
  background: var(--accent); color: var(--accent-ink); border: 0;
  font: inherit; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 30px -10px rgba(var(--accent-rgb), .55);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 14px 36px -10px rgba(var(--accent-rgb), .75); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateY(2px); }
.btn--ghost {
  background: rgba(255, 255, 255, .04); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; border-radius: 10px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.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; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main { position: relative; z-index: 1; }

/* aviso curto no topo (editável no painel) */
.announce { margin: 0; padding: 8px 20px; text-align: center; font-size: .88rem; font-weight: 600; background: var(--accent); color: var(--accent-ink); }

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .container { padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
