/* styles/global/reset.css */

/* Reset básico e normalize */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-black);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Elementos de texto */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: var(--font-weight-normal);
  line-height: 1.2;
  color: var(--color-black);
}

p {
  margin: 0;
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-normal);
}

a:hover {
  color: var(--color-accent);
}

/* Listas */
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Imagens */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Botões */
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* Inputs */
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Tabelas */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Elementos de foco */
:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Elementos ocultos */
.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;
}
