/* ============================================================
   editorial typography (2026-05) — aplica em todo o site
   stack: Inter em tudo + DM Mono (mono)

   Em 30/08/2026 a Fraunces saiu do site inteiro por decisão do Fernando:
   o site passou a usar uma fonte só. A variável abaixo continua se chamando
   --fb-font-serif porque ela é referenciada em 6 arquivos de CSS; o nome
   ficou, o valor virou Inter. Se um dia voltar uma serifada, é aqui que ela
   entra e o site inteiro acompanha.
   ============================================================ */

500&display=swap');

:root {
  --fb-font-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fb-font-sans: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --fb-font-mono: 'DM Mono', 'Courier New', monospace;
  --fb-accent: #12151c;
  --fb-fg: #12151c;
  --fb-fg-mute: #888;
  --fb-fg-dim: #666;
}

/* ============================================================
   base body
   ============================================================ */
body {
  font-family: var(--fb-font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ============================================================
   global headings (todo o site)
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fb-font-serif);
  font-weight: 800;
  letter-spacing: -0.014em;
  text-transform: lowercase;
  color: var(--fb-accent);
}
h1 em, h2 em, h3 em, h4 em, em.serif-italic {
  font-style: italic;
}

h1 { font-weight: 800; letter-spacing: -0.018em; }
h2 { font-weight: 800; letter-spacing: -0.012em; }
h3 { font-weight: 700; letter-spacing: -0.008em; }
h4 { font-weight: 700; letter-spacing: -0.005em; }

/* hero */
.hero h1, .page-header h1 {
  font-family: var(--fb-font-serif);
  font-weight: 800;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--fb-accent);
}
.hero p {
  font-family: var(--fb-font-serif);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: rgba(18, 21, 28, 0.85);
}

/* section h2 */
.section h2 {
  font-family: var(--fb-font-serif);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--fb-accent);
}

/* ============================================================
   cards & components
   ============================================================ */
.card h3,
.case-card__title,
.case-card__title a,
.post-card h2,
.post-card h2 a {
  font-family: var(--fb-font-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.testimonial blockquote {
  font-family: var(--fb-font-serif);
  font-style: normal;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(18, 21, 28, 0.9);
}
.testimonial cite {
  font-family: var(--fb-font-sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fb-fg-mute);
  font-style: normal;
}

/* ============================================================
   blog single (post content)
   ============================================================ */
.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
article h1,
article h2,
article h3 {
  font-family: var(--fb-font-serif);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}
.single-post-content h1,
article h1 {
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.1;
}
.single-post-content h2,
article h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.2;
  margin-top: 1.6em;
}
.single-post-content h3,
article h3 {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.3;
  margin-top: 1.4em;
  font-weight: 700;
}
.single-post-content p,
.single-post-content ul,
.single-post-content ol,
article p {
  font-family: var(--fb-font-sans);
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
}
.single-post-content blockquote,
article blockquote {
  font-family: var(--fb-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
}

/* ============================================================
   navigation / header / footer
   ============================================================ */
.site-header,
.main-nav,
.nav-list,
.footer-nav,
.site-footer {
  font-family: var(--fb-font-sans);
}
.site-logo {
  font-family: var(--fb-font-serif);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.008em;
  text-transform: none;
}
.nav-list a,
.footer-nav-list a {
  font-family: var(--fb-font-sans);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 14px;
}

/* ============================================================
   meta / labels / micro
   ============================================================ */
.post-meta,
.case-card__badge,
.badge,
.step-number,
.stat-label,
.author-box__name,
time,
.entry-meta {
  font-family: var(--fb-font-sans);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.stat-number {
  font-family: var(--fb-font-serif);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* mono (códigos, datas, valores técnicos) */
code, kbd, pre, samp,
.case-meta-mono,
.report-mono {
  font-family: var(--fb-font-mono);
}

/* ============================================================
   buttons
   ============================================================ */
.btn,
.btn--primary,
.btn--outline,
button {
  font-family: var(--fb-font-sans);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

/* ============================================================
   forms (filled across site)
   ============================================================ */
input, textarea, select {
  font-family: var(--fb-font-sans);
  font-weight: 400;
}
label {
  font-family: var(--fb-font-sans);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 12px;
  color: var(--fb-fg-mute);
}

/* ============================================================
   author box / cta box / misc
   ============================================================ */
.author-box__name,
.cta-section h2 {
  font-family: var(--fb-font-serif);
}
.cta-section h2 {
  font-weight: 800;
  letter-spacing: -0.012em;
}
.author-box__bio {
  font-family: var(--fb-font-sans);
  font-weight: 300;
  line-height: 1.6;
}
