/* ============================================================
   NORMASWATCH — Reset + Base
   ============================================================ */

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

html {
  font-size: 16px;
}

body {
  background-color: var(--preto);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  color: var(--marfim);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--marfim);
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, select, textarea {
  font-family: var(--font-body);
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

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

/* Foco visivel — acessibilidade */
:focus-visible {
  outline: 2px solid var(--dourado);
  outline-offset: 2px;
}

/* Scrollbar discreta */
::-webkit-scrollbar        { width: 5px; height: 5px; }
::-webkit-scrollbar-track  { background: var(--preto-2); }
::-webkit-scrollbar-thumb  { background: var(--linha); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--marfim-dim); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
  }
}
