/* ===========================================
   RESET.CSS — Base Reset (spec Microsoft IA)
   =========================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-fg-1);
  background-color: var(--color-surface-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
}

p { margin-bottom: 1rem; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-normal) var(--easing-default);
}

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

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

ul, ol { list-style: none; }

section {
  scroll-margin-top: var(--navbar-height);
}

/* Skip link — acessibilidade */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--color-brand-primary);
  color: #fff;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  font-size: 14px;
}
.skip-link:focus {
  top: var(--space-xs);
}

/* Focus visible — padrão Microsoft */
:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
}
