/* 
 * Otimização de Fontes - Font Display Swap
 * Este arquivo SOBRESCREVE as definições do Materialize CSS
 * DEVE ser carregado DEPOIS do materialize.min.css
 */

/* Material Icons com font-display */
@font-face {
  font-family: 'Material Icons' !important;
  font-style: normal;
  font-weight: 400;
  font-display: swap !important;
  src: url(https://fonts.gstatic.com/s/materialicons/v34/2fcrYFNaTjcS6g4U3t-Y5ZjZjT5FdEJ140U2DJYC3mY.woff2) format('woff2');
}

/* Roboto Regular com font-display - Mais usado */
@font-face {
  font-family: 'Roboto' !important;
  font-style: normal;
  font-weight: 400;
  font-display: swap !important;
  src: local('Roboto'), local('Roboto-Regular'),
       url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Roboto Bold com font-display - Títulos */
@font-face {
  font-family: 'Roboto' !important;
  font-style: normal;
  font-weight: 700;
  font-display: swap !important;
  src: local('Roboto Bold'), local('Roboto-Bold'),
       url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmWUlfBBc4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Roboto Medium com font-display */
@font-face {
  font-family: 'Roboto' !important;
  font-style: normal;
  font-weight: 500;
  font-display: swap !important;
  src: local('Roboto Medium'), local('Roboto-Medium'),
       url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmEU9fBBc4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Roboto Light com font-display */
@font-face {
  font-family: 'Roboto' !important;
  font-style: normal;
  font-weight: 300;
  font-display: swap !important;
  src: local('Roboto Light'), local('Roboto-Light'),
       url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fBBc4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Garantir que todas as fontes usem font-display: swap */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

