/* =========================================================================
   Diogo Brito · Nutricionista — Web Font Faces
   Local fonts served from /fonts.
   - Outfit       → display / títulos
   - Source Sans 3 → corpo / UI
   - Montserrat   → reserva / display alternativo (mora aqui pra outros
                    lugares do sistema; a tela do paciente nunca chama)
   ========================================================================= */

/* ─────────────────────────────────────────────────────────────────────────
   Outfit — display / títulos
   Só woff2 subsetado (latin + latin-ext, ~50 KB somados). Sem TTF de
   fallback: o Chrome atual insiste em baixar o TTF completo (627 KB) mesmo
   com unicode-range: U+0000-FFFF nele, achado 21/07/2026 medindo em
   produção. Caractere raro fora dos dois subsets (kanji, cirílico,
   escrita árabe) cai na fonte do sistema, mesmo caminho que o Google Fonts
   segue há anos. Emoji nunca dependeu do TTF (é fonte colorida do SO), então
   perdê-lo não muda nada.
   Outfit não tem itálico nativo.
   ───────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./Outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./Outfit-latin.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;
}

/* ─────────────────────────────────────────────────────────────────────────
   Source Sans 3 — corpo de texto / UI (oficial)
   Só woff2 subsetado. Ver comentário da Outfit acima pro porquê de não ter
   TTF de fallback (mesmo motivo). Todo acento do português (á é í ó ú â ê
   ô ã õ ç à) já está no bloco Latin-1 Supplement do subset latin.
   ───────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('./SourceSans3-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('./SourceSans3-latin.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;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url('./SourceSans3-Italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url('./SourceSans3-Italic-latin.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 — reserva / display alternativo (não usada pela tela do
   paciente, mora aqui só pra outros pontos do sistema que já a referenciam)
   ───────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./Montserrat-VariableFont_wght.ttf') format('truetype-variations');
}
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('./Montserrat-Italic-VariableFont_wght.ttf') format('truetype-variations');
}
