/* Override global font to SFProDisplayRegular
   Nota: se a fonte não estiver instalada ou embutida, o navegador usará o fallback.
   Para suporte completo, adicione os arquivos .woff2/.woff e @font-face apontando para eles.
*/

/* Register SF Pro Display from local font files in /fonts/ */
@font-face {
  font-family: 'SFProDisplay';
  src: url('../../fonts/SFPRODISPLAYREGULAR.OTF') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SFProDisplay';
  src: url('../../fonts/system-font-thin.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SFProDisplay';
  src: url('../../fonts/system-font-ultralight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SFProDisplay';
  src: url('../../fonts/sf-ui-display-thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/* Force SFProDisplay as the only site font */
:root {
  --site-font: 'SFProDisplay';
}

/* Apply to all textual elements */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
caption, tbody, tfoot, thead, tr, th, td,
button, input, textarea, select {
  font-family: var(--site-font) !important;
}

/* Ensure form controls and buttons also inherit */
button, input, select, textarea { 
  font-family: var(--site-font) !important;
}

/* Improve font smoothing for headings */
h1, h2, h3, h4, h5, h6, .b-game-card__title {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
