/* ===========================
   TYPOGRAPHY
   Machado Plataformas
   Depende de: variables.css
=========================== */


/* ── Horizon ── */
@font-face {
  font-family: 'Horizon';
  src: url('../assets/fonts/Horizon-Font/Horizon.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── Fonte Proprietária ── */
@font-face {
  font-family: 'Machado';
  src: url('../assets/fonts/METAG___.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


/* ── Tags Base ── */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-stats-bg);
  font-weight: var(--weight-regular);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-regular);
  line-height: 1.1;
  color: var(--color-text);
  letter-spacing: 0;
}

h2 {
  font-family: 'Horizon', var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ── Classes Utilitárias ── */

/* Display — APENAS hero-title */
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: normal;
  line-height: 0.92;
  letter-spacing: 0;
  color: var(--color-white);
  text-transform: uppercase;
}

.section-title {
  font-family: 'Horizon', var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-transform: uppercase;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: var(--space-3);
}

.eyebrow::before {
  content: '/ ';
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.text-white   { color: var(--color-white); }
.text-muted   { color: var(--color-text-muted); }
.text-primary { color: var(--color-primary-light); }
.text-dark    { color: var(--color-text-dark); }

/* ── Texto outline (stroke) — para efeito fill + outline nos H2 ── */
.text-stroke {
  color: var(--color-primary);
}

.uppercase { text-transform: uppercase; }
.condensed { font-family: var(--font-heading); }

/* Seção clara — override texto */
.section--light p  { color: var(--color-bg-light); }
.section--light h2 { color: var(--color-text-dark); }
.section--light .eyebrow { color: var(--color-primary); }

@media (min-width: 768px) {
  h1 { font-size: var(--text-6xl); }
  h2 { font-size: var(--text-5xl); }
}
