/* ============================================================
   GLOBAL — reset, base, tipografia
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 109px; /* altura do header fixo */
  overflow-x: clip; /* clip não cria scroll container — não quebra position:sticky */
}

body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--lh-body);
  color: var(--color-earth-900);
  background-color: var(--color-neutral-white);
  overflow-x: clip; /* clip não cria scroll container — não quebra position:sticky */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Tipografia ── */
.font-heading { font-family: var(--font-heading); }
.font-body    { font-family: var(--font-body); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: var(--lh-heading);
}

.text-display {
  font-size: var(--text-display);
  line-height: var(--lh-display);
}

.text-hero {
  font-size: var(--text-hero);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
}

.text-h2 {
  font-size: var(--text-h2);
  letter-spacing: var(--ls-h2);
}

.text-h3 {
  font-size: var(--text-h3);
}

.text-h4 {
  font-size: var(--text-h4);
  letter-spacing: var(--ls-h4);
}

.text-lg { font-size: var(--text-lg); }
.text-md { font-size: var(--text-md); }
.text-sm { font-size: var(--text-sm); }

.semibold { font-weight: 600; }
.regular  { font-weight: 400; }

/* ── Utilitários ── */
.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;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-60);
}

.section-pad {
  padding-top: var(--space-112);
  padding-bottom: var(--space-112);
}
