@font-face {
    font-family: 'fontello-amg';
    /* Tenta carregar o woff2 específico do AMG primeiro, depois os genéricos */
    src: url('fonts/fontello-amg.woff2') format('woff2'),
         url('fonts/fontello.woff2') format('woff2'),
         url('fonts/fontello.woff') format('woff'),
         url('fonts/fontello.ttf') format('truetype'),
         url('fonts/fontello.eot'),
         url('fonts/fontello.eot?#iefix') format('embedded-opentype'),
         url('fonts/fontello.svg#fontello') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Adicione no fonts.css se os ícones persistirem em falhar */
@font-face {
    font-family: 'fontello'; /* Nome antigo */
    src: url('fonts/fontello.ttf') format('truetype'),
         url('fonts/fontello.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "ProximaNova Bold";
    font-display: swap;
    src: url('fonts/proximanova-bold-webfont.ttf') format("truetype");
}

@font-face {
    font-family: "ProximaNova Regular";
    font-display: swap;
    src: url('fonts/proximanova-regular-webfont.ttf') format("truetype");
}

@font-face {
    font-family: "ProximaNova SemiBold";
    font-display: swap;
    src: url('fonts/proximanova-semibold-webfont.ttf') format("truetype");
}

@font-face {
    font-family: "ProximaNova Medium";
    font-display: swap;
    src: url('fonts/proximanova-medium-webfont.ttf') format("truetype");
}

@font-face {
    font-family: "ProximaNova Light";
    font-display: swap;
    src: url('fonts/proximanova-light-webfont.ttf') format("truetype");
}

@font-face {
    font-family: 'ETmodules';
    font-display: block;
    src: url('fonts/modules.eot');
    src: url('fonts/modules.eot?#iefix') format("embedded-opentype"),
         url('fonts/modules.woff') format("woff"),
         url('fonts/modules.ttf') format("truetype"),
         url('fonts/modules.svg#ETmodules') format("svg");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'fontello-amg';
    src: url('fonts/fontello.eot');
    src: url('fonts/fontello.eot?#iefix') format('embedded-opentype'),
         url('fonts/fontello.woff2') format('woff2'),
         url('fonts/fontello.woff') format('woff'),
         url('fonts/fontello.ttf') format('truetype'),
         url('fonts/fontello.svg#fontello') format('svg');
    font-weight: normal;
    font-style: normal;
}


/* FA BRANDS (Marcas: Facebook, Linkedin, etc) */
@font-face {
    font-family: "Font Awesome 5 Brands";
    font-style: normal;
    font-weight: normal;
    font-display: block;
    src: url('fonts/fa-brands-400.eot');
    src: url('fonts/fa-brands-400.eot?#iefix') format("embedded-opentype"),
         url('fonts/fa-brands-400.woff2') format("woff2"),
         url('fonts/fa-brands-400.woff') format("woff"),
         url('fonts/fa-brands-400.ttf') format("truetype"),
         url('fonts/fa-brands-400.svg#fontawesome') format("svg");
}

/* FA REGULAR */
@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('fonts/fa-regular-400.eot');
    src: url('fonts/fa-regular-400.eot?#iefix') format("embedded-opentype"),
         url('fonts/fa-regular-400.woff2') format("woff2"),
         url('fonts/fa-regular-400.woff') format("woff"),
         url('fonts/fa-regular-400.ttf') format("truetype"),
         url('fonts/fa-regular-400.svg#fontawesome') format("svg");
}

/* FA SOLID (Ícones preenchidos: Lupa, etc) */
@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url('fonts/fa-solid-900.eot');
    src: url('fonts/fa-solid-900.eot?#iefix') format("embedded-opentype"),
         url('fonts/fa-solid-900.woff2') format("woff2"),
         url('fonts/fa-solid-900.woff') format("woff"),
         url('fonts/fa-solid-900.ttf') format("truetype"),
         url('fonts/fa-solid-900.svg#fontawesome') format("svg");
}

/* Garante que os ícones usem a fonte correta */
[class*="agsdix-far-"]:before,
[class*="agsdix-far-"]:after,
[data-icon*="agsdix-far"]:before,
[data-icon*="agsdix-far"]:after {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 400 !important;
}

[class*="agsdix-fas-"]:before,
[class*="agsdix-fas-"]:after,
[data-icon*="agsdix-fas"]:before,
[data-icon*="agsdix-fas"]:after {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

[class*="agsdix-fab-"]:before,
[class*="agsdix-fab-"]:after,
[data-icon*="agsdix-fab"]:before,
[data-icon*="agsdix-fab"]:after {
    font-family: "Font Awesome 5 Brands" !important;
    font-weight: normal !important;
}

/* Ajuste de renderização */
[class*="agsdix-"]:before,
[class*="agsdix-"]:after {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}