/* =============================================================================
   caras.css — SÓLO @font-face
   =============================================================================
   Este archivo no declara ni un valor del contrato: sólo sirve localmente las
   caras que `tokens.css` nombra en --primary-font / --secondary-font /
   --terciary-font / --monospace-font, más la familia de íconos.

   Los .woff2 salen de ng-template (projects/system/public/fonts/) y están en
   ./fonts/ de este proyecto. Cada peso que el CSS de la app usa tiene acá su
   cara real: un peso nombrado y no servido lo sintetiza el navegador, que es
   el mismo defecto con otro disfraz.

   Se enlaza ANTES de tokens.css.
   ============================================================================= */

/* --- Poppins → --primary-font (títulos) ---------------------------------- */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Open Sans → --secondary-font (cuerpo) ------------------------------- */
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Montserrat → --terciary-font (sic, es el nombre real del token) ------ */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --- M PLUS 1 Code → --monospace-font (identidad de lote, importes, fechas) */
@font-face {
  font-family: 'M PLUS 1 Code';
  src: url('../fonts/MPLUS1Code-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'M PLUS 1 Code';
  src: url('../fonts/MPLUS1Code-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --- Material Symbols Outlined → íconos ---------------------------------- */
/* ng-template pisa el default de Angular Material: la familia es
   'Material Symbols Outlined', NO la clásica de Material Icons. */
@font-face {
  font-family: 'Material Symbols Outlined';
  src: url('../fonts/material-symbols-outlined.woff2') format('woff2');
  font-weight: 100 700;
  font-style: normal;
  font-display: block;
}
