/* Cópia fiel de atlas-estudio/src/estilo/base.css (commit 7346416). Não edite aqui: o que for só do hub vai em hub.css. */
/*
 * DESIGN TOOLS · BASE
 * Reset e peças miúdas (ícone, tecla, foco, rolagem). Depende só de tokens.css.
 */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

* { box-sizing: border-box; }
html {
  background: var(--bg);
  color: var(--tinta);
  font-family: var(--fonte);
  font-size: var(--fs-2);
  line-height: var(--lh);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
button:disabled { cursor: default; }
img, svg { display: block; }
::selection { background: rgb(17 17 17 / 0.12); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; border-radius: 4px; }

/* ícone de traço (Ico.tsx): caixa 24, traço 1,6, herda a cor */
.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.i-14 { width: 14px; height: 14px; }
.i-16 { width: 16px; height: 16px; }
.i-18 { width: 18px; height: 18px; }

/* tecla */
kbd {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;
  border: 1px solid var(--linha); border-bottom-width: 2px; border-radius: 5px;
  background: var(--sup); color: var(--cinza);
  font: 600 11px/1 var(--fonte); white-space: nowrap;
}

/* texto miúdo de seção (rótulo em caixa alta) */
.micro {
  font-size: var(--fs-micro); font-weight: 600; letter-spacing: var(--tr-micro);
  text-transform: uppercase; color: var(--cinza);
}
.num { font-variant-numeric: tabular-nums; }
.so-leitor {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* rolagem fina, discreta */
* { scrollbar-width: thin; scrollbar-color: rgb(0 0 0 / 0.14) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 99px; background: rgb(0 0 0 / 0.14) padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgb(0 0 0 / 0.26); }
::-webkit-scrollbar-track { background: transparent; }

@keyframes ds-entra { from { opacity: 0; transform: translateY(6px) scale(0.985); } }
@keyframes ds-cai { from { opacity: 0; transform: translateY(-4px); } }
@keyframes ds-sobe { from { opacity: 0; transform: translateY(4px); } }
@keyframes ds-aparece { from { opacity: 0; } }
@keyframes ds-brilho { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@keyframes ds-gira { to { transform: rotate(360deg); } }

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