/* Fonte do site: DM Sans (variável: peso 100–1000 e tamanho ótico 9–40), a família do projeto 4ANDAR.
   Carregado depois dos estilos do tema em todas as páginas.
   Os ícones (<i>, .fa*, .ec) ficam com as fontes próprias. */

@font-face {
  font-family: 'DM Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url('/fonts/dm-sans-latin-ext.woff2') format('woff2-variations');
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'DM Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url('/fonts/dm-sans-latin.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --fonte-site: 'DM Sans Variable', 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html,
body,
html body,
html body.bg-white,
body :not(i):not([class^='fa']):not([class*=' fa-']):not([class^='ec']):not([class*=' ec-']):not(.ec):not(code):not(pre) {
  font-family: var(--fonte-site) !important;
}

/* Tamanho ótico automático: algarismos mais finos em tamanhos grandes */
html, body { font-optical-sizing: auto; }

/* Valores em kwanzas (ver /js/precos.js) */
.kz { white-space: nowrap; }
.kz-grande .kz-int { letter-spacing: -0.02em; }
.kz-grande .kz-dec,
.kz-grande .kz-cur { font-size: 0.6em; font-weight: 500; letter-spacing: 0; }
.kz-grande .kz-dec { opacity: 0.9; }
.kz-grande .kz-cur { opacity: 0.7; }
