/* ============================================================
   fonts.css — as duas famílias da marca, alojadas aqui mesmo.

   PORQUÊ NÃO O GOOGLE FONTS DIRECTO: cada visita a um site que
   carrega fontes do CDN da Google entrega o endereço IP do
   visitante à Google, sem consentimento e antes de o banner
   sequer aparecer. Já houve condenações por isso na UE. Alojar
   os ficheiros aqui resolve o problema de raiz — e ainda poupa
   uma ligação DNS e um handshake TLS a cada carregamento.

   A Cormorant Garamond é uma fonte VARIÁVEL: um único ficheiro
   contém todos os pesos entre 300 e 700, e por isso declara-se
   um intervalo em font-weight em vez de um valor. São ~37 KB
   em vez dos ~110 KB que três ficheiros separados custariam.

   O unicode-range diz ao browser que caracteres cada ficheiro
   cobre: ele só descarrega o "latin-ext" se a página tiver
   mesmo algum caractere fora do latim básico.

   AUDIENCE: pt-PT
   ============================================================ */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond-var-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;   /* mostra já o texto no fallback e troca quando a fonte chega */
  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: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond-var-latin-ext.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  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: 'DM Mono';
  src: url('/fonts/dm-mono-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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: 'DM Mono';
  src: url('/fonts/dm-mono-latin-ext.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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;
}
