/* === FONTES LOCAIS SEN LOCAL === */

/* Regular (400) */
@font-face {
  font-family: 'Sen Local';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/sen-v12-latin-regular.woff2') format('woff2');
}

/* Bold (700) */
@font-face {
  font-family: 'Sen Local';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/sen-v12-latin-700.woff2') format('woff2');
}

/* Aplicar Sen Local como fonte base */
html, body {
  font-family: 'Sen Local', Arial, sans-serif !important;
}

/* Reforçar em títulos e elementos do tema */
h1, h2, h3, h4, h5, h6,
.rs-layer, .rev-btn, .rev-heading, .rev-subheading,
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3,
.elementor-widget-heading h4 {
  font-family: 'Sen Local', Arial, sans-serif !important;
}

/* Parágrafos, botões e outros elementos gerais */
p, a, li, span, div, button, input, textarea, select {
  font-family: 'Sen Local', Arial, sans-serif !important;
}

/* --- FIX: Manter ícones com a fonte original --- */

/* Font Awesome 5 */
.fa, .fas, .far {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

.fab {
  font-family: "Font Awesome 5 Brands" !important;
  font-weight: 400 !important;
}

[class^="fa-"]::before,
[class*=" fa-"]::before {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

/* Elementor icons */
.elementor-icon,
.eicon,
[class^="eicon-"], [class*=" eicon-"],
.eicon::before,
[class^="eicon-"]::before,
[class*=" eicon-"]::before {
  font-family: "eicons" !important;
  font-weight: normal !important;
}

/* --- FIX FINAL: Forçar carregamento das fontes STM --- */
@font-face {
  font-family: 'stmicons';
  src: url('/wp-content/uploads/stm_fonts/stm/stm.woff') format('woff'),
       url('/wp-content/uploads/stm_fonts/stm/stm.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'stmicons2';
  src: url('/wp-content/uploads/stm_fonts/stm/stm.woff') format('woff'),
       url('/wp-content/uploads/stm_fonts/stm/stm.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

/* Garantir que todas as classes STM usam a fonte certa */
[class^="stm-"], [class*=" stm-"],
[class^="stm_"], [class*=" stm_"],
.elementor-icon i[class*="stm-"], i.stm,
[class^="stm-"]::before, [class*=" stm-"]::before,
[class^="stm_"]::before, [class*=" stm_"]::before {
  font-family: 'stmicons', 'stmicons2' !important;
  font-weight: normal !important;
  font-style: normal !important;
  speak: none;
}
