/* ============================================================
   GAIA — Base styles
   Reset minimalista + tipografia base.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

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

body {
  margin: 0;
  font-family: var(--gaia-font-sans);
  font-size: var(--gaia-text-base);
  line-height: var(--gaia-line-normal);
  color: var(--gaia-ink-900);
  background: var(--gaia-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 { margin: 0 0 var(--gaia-space-4); line-height: var(--gaia-line-tight); color: var(--gaia-ink-900); }
h1 { font-size: var(--gaia-text-4xl); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--gaia-text-3xl); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: var(--gaia-text-2xl); font-weight: 600; }
h4 { font-size: var(--gaia-text-xl); font-weight: 600; }

p { margin: 0 0 var(--gaia-space-4); color: var(--gaia-ink-700); }

a { color: var(--gaia-green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

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

button { font-family: inherit; cursor: pointer; }

code, pre {
  font-family: var(--gaia-font-mono);
  font-size: 0.9em;
}
pre {
  background: var(--gaia-ink-100);
  padding: var(--gaia-space-4);
  border-radius: var(--gaia-radius-md);
  overflow-x: auto;
}

/* Acessibilidade */
:focus-visible {
  outline: 3px solid var(--gaia-green-500);
  outline-offset: 2px;
}

.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;
}

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--gaia-green-700);
  color: white;
  padding: var(--gaia-space-2) var(--gaia-space-4);
  z-index: var(--gaia-z-modal);
}
.skip-link:focus { top: 0; }

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