/* ============================================================
   BASE RESET & UTILITÁRIOS
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-gray-900);
  background: var(--color-white);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select { font-family: inherit; }

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* --- SEÇÕES --- */
.section         { padding-block: var(--space-20); }
.section--sm     { padding-block: var(--space-12); }
.section--lg     { padding-block: var(--space-24); }

/* --- TIPOGRAFIA UTILITÁRIA --- */
.heading-xl {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
}

.heading-lg {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-snug);
}

.heading-md {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
}

.highlight       { color: var(--color-accent); }
.highlight-blue  { color: var(--color-primary-light); }
.text-muted      { color: var(--color-gray-500); }
.text-center     { text-align: center; }

/* --- SECTION HEADER PADRÃO --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header .tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-primary-bg);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  max-width: 560px;
  margin: var(--space-3) auto 0;
  line-height: var(--lh-relaxed);
}

