/* PACC brand webfonts — arquivo canonico.

   Copie ESTE arquivo e a pasta fonts/ ao lado dele para dentro de cada
   projeto PACC. Onde exatamente depende do tipo de projeto — ver
   brand/web/README.md e Pacc/CLAUDE.md.

   Os url() sao absolutos (/fonts/...) porque o Vite trata url() relativo
   como import de asset em tempo de build e quebra se o arquivo nao estiver
   ao lado do CSS. Absoluto ele deixa passar, e a pasta public/ serve. Se um
   projeto for publicado em SUBPASTA em vez da raiz do dominio, ver a secao
   "Deploy em subpasta" do README.

   Fonte de verdade: brand/fonts/*.otf (formato desktop, nao publicavel).
   Regerar os .woff2:  node brand/scripts/build-web-fonts.mjs

   Mapeamento de pesos — a Avenir LT Pro usa a numeracao da Linotype, que nao
   bate 1:1 com os pesos CSS. As faces foram mapeadas para o peso mais
   proximo, de modo que as declaracoes ja escritas nos sites da PACC
   (400/500/700/800/900) caiam num arquivo real em vez de num peso
   sintetizado pelo navegador:

     35 Light  -> 300
     45 Book   -> 350
     55 Roman  -> 400   (corpo de texto)
     65 Medium -> 500
     85 Heavy  -> 700-800 (range: os sites usam os dois)
     95 Black  -> 900

   A Avenir traz obliques, nao italicos verdadeiros; sao declarados como
   `italic` para que `font-style: italic` use a face desenhada em vez do
   falso italico inclinado pelo navegador. So as faces que a pagina de fato
   usa sao baixadas, entao declarar a familia inteira nao custa nada.

   As stacks de fonte da pagina devem ler:
     --sans:   'Avenir LT Pro','Avenir Next',Avenir,'Segoe UI',Arial,sans-serif
     --script: 'Tomboy LP','Segoe Print','Bradley Hand',cursive            */

/* ---- Avenir LT Pro — upright ---- */
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('/fonts/avenir-lt-pro-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('/fonts/avenir-lt-pro-book.woff2') format('woff2');
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('/fonts/avenir-lt-pro-roman.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('/fonts/avenir-lt-pro-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('/fonts/avenir-lt-pro-heavy.woff2') format('woff2');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('/fonts/avenir-lt-pro-black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---- Avenir LT Pro — oblique ---- */
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('/fonts/avenir-lt-pro-light-oblique.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('/fonts/avenir-lt-pro-book-oblique.woff2') format('woff2');
  font-weight: 350;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('/fonts/avenir-lt-pro-roman-oblique.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('/fonts/avenir-lt-pro-medium-oblique.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('/fonts/avenir-lt-pro-heavy-oblique.woff2') format('woff2');
  font-weight: 700 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('/fonts/avenir-lt-pro-black-oblique.woff2') format('woff2');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ---- Tomboy LP — handwritten tagline face ----
   The file ships a single weight whose family name is "Tomboy LP Medium".
   It is declared here as the 500 weight of a "Tomboy LP" family so the
   --script stack reads like the rest of the system. */
@font-face {
  font-family: 'Tomboy LP';
  src: url('/fonts/tomboy-lp-medium.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
