/**
 * Self-hosted Google Fonts para Filtrando
 *
 * Otimização CWV (25/07/2026):
 * - Elimina cascata crítica: fonts.googleapis.com → fonts.gstatic.com
 * - Reduz latência de ~1.3s (remote) para ~50ms (local)
 * - font-display: swap garante texto visível durante carregamento
 *
 * Fontes: Montserrat (600, 700, 800) + Lora (400) - Latin subset
 * Formato: WOFF2 (suportado por 94% dos navegadores modernos)
 * Origem: Google Fonts CSS2 API (25/07/2026 10:00 UTC)
 */

/* ======================================================================
   Lora - Regular (400)
   Latin subset: U+0000-00FF e símbolos de controle
   ====================================================================== */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fontes/woff2/lora-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ======================================================================
   Montserrat - SemiBold (600)
   Latin subset: U+0000-00FF e símbolos de controle
   ====================================================================== */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fontes/woff2/montserrat-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ======================================================================
   Montserrat - Bold (700)
   Latin subset: U+0000-00FF e símbolos de controle
   ====================================================================== */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fontes/woff2/montserrat-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ======================================================================
   Montserrat - ExtraBold (800)
   Latin subset: U+0000-00FF e símbolos de controle
   ====================================================================== */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fontes/woff2/montserrat-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/**
 * VERIFICAÇÃO:
 *
 * ✓ Arquivos WOFF2 localizados em: wp-content/themes/infinite-child/fontes/woff2/
 *   - lora-400.woff2
 *   - montserrat-600.woff2
 *   - montserrat-700.woff2
 *   - montserrat-800.woff2
 *
 * ✓ Tamanho esperado por arquivo: ~15-20 KB (WOFF2 é ~50% menor que WOFF)
 * ✓ Unicode-range: Subset latin do CSS2 Google (25/07/2026)
 * ✓ font-display: swap (texto visível imediatamente, fonte swaps quando pronta)
 *
 * VALIDAÇÃO NO NAVEGADOR:
 *
 * 1. DevTools > Network > Filter "font"
 * 2. Verificar que URLs são: /wp-content/themes/infinite-child/fontes/woff2/
 * 3. NÃO deve haver requisição para:
 *    - fonts.googleapis.com
 *    - fonts.gstatic.com
 *
 * IMPACTO ESTIMADO (Lighthouse mobile):
 * - Elimina cascata crítica de ~1.3s
 * - FCP: 2.9s → ~2.3s (-0.6s)
 * - LCP: 3.7s → ~3.1s (-0.6s)
 * - Score: 84 → ~90-92
 */
