/*
 * Fontes do SEB Education.
 *
 * Só WOFF2: WOFF2 é suportado por todo navegador desde 2016, então não há fallback
 * TTF -- mantê-lo dobraria os arquivos sem ganho.
 *
 * `font-display: swap` em todas: o texto aparece na fonte do sistema e é trocado
 * quando a web font carrega, em vez de ficar invisível.
 */

/* Manrope -- texto e títulos. Os sete pesos são usados pelo CSS do site. */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-extralight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-extrabold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/*
 * Brownhill Script -- fonte de destaque, usada nos <span> dentro dos títulos
 * ("Nossa <span>visão</span>"). São 16 usos no CSS original, um em praticamente cada
 * página, então é elemento central do design e não decoração dispensável.
 *
 * É o maior asset do tema. Subsetting foi avaliado e não compensa -- os números
 * estão em docs/migracao-sebeducation/historico-das-etapas.md, etapa B1.
 */
@font-face {
  font-family: 'Brownhill Script';
  src: url('../fonts/brownhill-script.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
