/* ═══════════════════════════════════════════════════════════════════════════
   FALLBACK MÉTRICO — elimina o salto de layout na troca de fonte

   Com font-display:swap o texto aparece primeiro na fonte de sistema e depois
   é RETROCADO pela Baloo 2. Se as duas tiverem métricas diferentes, cada
   título muda de altura nesse instante e empurra tudo abaixo dele: é CLS puro,
   e acontece em toda página, sempre.

   A "Baloo 2 Fallback" abaixo não é uma fonte nova — é a Arial local com as
   métricas da Baloo 2 aplicadas por override. Os números não foram estimados:
   saíram das tabelas OS/2 e head do próprio arquivo woff2 deste tema.

       unitsPerEm 1000 · ascender 1050 · descender -524 · xHeight 481
       Arial de referência: xHeight 0,5186 · ascent 0,9052 · descent 0,2119

   size-adjust 92,75% faz a altura-x das duas baterem; os overrides de ascent e
   descent fazem a caixa de linha bater. Resultado: o texto ocupa o mesmo
   espaço antes e depois da troca, e o salto desaparece.
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Baloo 2 Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 92.75%;
  ascent-override: 113.21%;
  descent-override: 56.50%;
  line-gap-override: 0%;
}

/* ============================================
   BALOO 2 — Display font (headings)
   font-display: swap OK pois é fonte decorativa
   ============================================ */

/* devanagari */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/wXKuE3kTposypRyd7-P5FeIKmE8y.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D,
                 U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}

/* vietnamese */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/wXKuE3kTposypRyd7-P5FewKmE8y.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
                 U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/wXKuE3kTposypRyd7-P5Fe0KmE8y.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin — CRÍTICO: adicione preload no <head> para este arquivo */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/wXKuE3kTposypRyd7-P5FeMKmA.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ============================================
   INTER 400 — Body font (regular)
   font-display: fallback reduz CLS em body text
   ===============================