/* ============================================
   BASE — Reset, tipografia base, container
   ============================================ */

/* Modern CSS Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
button { cursor: pointer; background: none; border: none; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

/* ===== BODY ===== */
body {
  font-family: var(--font-secondary);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-loose);
  color: var(--color-gray-institutional);
  background: var(--color-off-white);
  overflow-x: hidden;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* ===== TIPOGRAFIA BASE ===== */
h1, h2, h3, h4 {
  font-family: var(--font-primary);
  color: var(--color-gray-text);
  line-height: var(--lh-tight);
}

h1 {
  font-size: var(--fs-h1);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: -0.5px;
}

h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  letter-spacing: -0.3px;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
}

h4 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-relaxed);
  color: var(--color-gray-text);
}

p {
  font-size: var(--fs-body);
  line-height: var(--lh-loose);
  color: var(--color-gray-institutional);
}

p + p { margin-top: var(--space-md); }

strong { font-weight: var(--fw-semibold); color: var(--color-gray-text); }

a { transition: color var(--duration-base) var(--ease-state); }

/* ===== EYEBROW TEXT ===== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: var(--fw-light);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-blue-primary);
  margin-bottom: var(--space-md);
}

.eyebrow--white { color: var(--color-white); opacity: 0.85; }
.eyebrow--gray { color: var(--color-gray-medium); }

/* ===== LARGURA MÁXIMA DE TEXTO ===== */
.text-max { max-width: var(--text-max-width); }

/* ===== 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;
}

/* ===== FOCUS STATES ===== */
:focus-visible {
  outline: 2px solid var(--color-blue-primary);
  outline-offset: 2px;
  border-radius: 2px;
}
