/* ==========================================================================
   CPM Vision 2.0 — reset.css
   ========================================================================== */

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

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;              /* nunca haverá barra horizontal */
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  letter-spacing: -.01em;
}

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { background: none; border: 0; cursor: pointer; }

img, svg, video { display: block; max-width: 100%; }

ul, ol { list-style: none; }

table { border-collapse: collapse; width: 100%; }

/* Números sempre alinham em colunas — dinheiro, DNP, DP, contagens. */
[data-numeric], .num { font-variant-numeric: tabular-nums; }

/* Scrollbar discreta, no tom da interface. */
* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--r-pill);
}
*::-webkit-scrollbar-thumb:hover { background: #454A57; }

::selection { background: var(--primary); color: #fff; }
