/*
 * Noto Sans CSS Leve
 * Carrega apenas os pesos necessários com formatos modernos
 * Fonte: https://fonts.google.com/noto/specimen/Noto+Sans
 */

/* Carregamento otimizado - uso de font-display: swap para melhor performance */
@font-face {
    font-family: 'NotoSans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('noto-sans-v39-latin-regular.woff2') format('woff2'),
    url('noto-sans-v39-latin-regular.woff') format('woff');
    /* Remove formatos antigos para reduzir peso */
    /* .eot e .ttf não são mais necessários para navegadores modernos */
}

@font-face {
    font-family: 'NotoSans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('noto-sans-v39-latin-500.woff2') format('woff2'),
    url('noto-sans-v39-latin-500.woff') format('woff');
}

@font-face {
    font-family: 'NotoSans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('noto-sans-v39-latin-600.woff2') format('woff2'),
    url('noto-sans-v39-latin-600.woff') format('woff');
}

@font-face {
    font-family: 'NotoSans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('noto-sans-v39-latin-700.woff2') format('woff2'),
    url('noto-sans-v39-latin-700.woff') format('woff');
}

/* Italic - apenas pesos utilizados com frequência */
@font-face {
    font-family: 'NotoSans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    /* Usando a fonte variável para italic se disponível */
    src: url('NotoSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
}

/* Opcional: Carregar fonte variável para suporte moderno (apenas se necessário) */
@font-face {
    font-family: 'NotoSans Variable';
    font-style: normal;
    font-weight: 100 900; /* Range completo */
    font-display: swap;
    src: url('NotoSans-VariableFont_wdth,wght.ttf') format('truetype');
}

/* Classes utilitárias para uso rápido (opcional) */
.noto-sans-regular {
    font-family: 'NotoSans', sans-serif;
    font-weight: 400;
    font-style: normal;
}

.noto-sans-medium {
    font-family: 'NotoSans', sans-serif;
    font-weight: 500;
    font-style: normal;
}

.noto-sans-semibold {
    font-family: 'NotoSans', sans-serif;
    font-weight: 600;
    font-style: normal;
}

.noto-sans-bold {
    font-family: 'NotoSans', sans-serif;
    font-weight: 700;
    font-style: normal;
}

.noto-sans-italic {
    font-family: 'NotoSans', sans-serif;
    font-weight: 400;
    font-style: italic;
}

/* Aplicar como fonte padrão ao corpo */
body.noto-sans-loaded,
.noto-sans-base {
    font-family: 'NotoSans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}