/* =========================================================================
   RODADA 57 -- as fontes passam a ser servidas pelo proprio sistema.

   ATE' AQUI: base.html, portal_base.html e portal_login.html traziam um
   <link> para fonts.googleapis.com. Ou seja, TODA tela da intranet e TODA
   tela do Portal do Cliente faziam o navegador de cada pessoa chamar o
   Google a cada carregamento.

   POR QUE ISSO IMPORTA -- e' a razao que a propria regra da rodada 52 da':
   rede de cliente que bloqueie o CDN degrada a tela sem erro visivel, e cada
   abertura conta uma visita do SEU CLIENTE a um terceiro. Doia mais onde
   estava: a tela do cliente, num produto que tem "Implementacao de LGPD" no
   catalogo.

   A regra existia desde a 52 ("Nada de CDN") e a suite 52 afirmava cumpri-la.
   Ela so' procurava por "//cdn." e "//unpkg." -- fonts.googleapis.com passava
   direto. A conferência foi alargada nesta rodada.

   DE ONDE VIERAM: pacotes @fontsource/* do npm (registro publico), nao de
   raspagem do Google. Somente o subconjunto `latin` e somente os pesos que os
   templates realmente pedem -- 12 arquivos, 212 KB no total. Licenca SIL OFL
   1.1 nas cinco familias; ver LICENCAS.txt nesta pasta.

   COMO ACRESCENTAR UM PESO: baixe o .woff2 correspondente do mesmo pacote,
   ponha aqui e acrescente o bloco. NAO volte a apontar para o Google -- a
   suite 57 falha se um host externo reaparecer em qualquer template.

   font-display: swap -- o texto aparece na hora com a fonte do sistema e
   troca quando a nossa chega. O contrario (texto invisivel esperando a fonte)
   e' pior em qualquer conexao ruim.
   ========================================================================= */

@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/static/vendor/fontes/sora-latin-600-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/static/vendor/fontes/sora-latin-700-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/static/vendor/fontes/sora-latin-800-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/static/vendor/fontes/inter-latin-400-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/static/vendor/fontes/inter-latin-500-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/static/vendor/fontes/inter-latin-600-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/static/vendor/fontes/jetbrains-mono-latin-500-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/static/vendor/fontes/quicksand-latin-500-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/static/vendor/fontes/quicksand-latin-600-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/static/vendor/fontes/quicksand-latin-700-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/static/vendor/fontes/orbitron-latin-700-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/static/vendor/fontes/orbitron-latin-800-normal.woff2') format('woff2');
}
