/* Global Avenir fonts and overrides */

/* Use local Avenir names if installed. Add licensed webfonts to /fonts and uncomment below. */
@font-face {
  font-family: 'Avenir';
  src: local('Avenir 55 Roman'), local('Avenir-Roman'), local('Avenir Roman'), local('Avenir 55'), local('Avenir');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: local('Avenir 65 Medium'), local('Avenir-Medium'), local('Avenir Medium'), local('Avenir 65');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: local('Avenir 85 Heavy'), local('Avenir-Heavy'), local('Avenir Heavy'), local('Avenir 85');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* If you have licensed webfonts, place them under /fonts and uncomment these examples */
/*
@font-face {
  font-family: 'Avenir';
  src: url('fonts/Avenir-Roman.woff2') format('woff2'),
       url('fonts/Avenir-Roman.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('fonts/Avenir-Medium.woff2') format('woff2'),
       url('fonts/Avenir-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('fonts/Avenir-Heavy.woff2') format('woff2'),
       url('fonts/Avenir-Heavy.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
*/

:root {
  --font-avenir: 'Avenir', 'Avenir Next', 'Avenir Next LT Pro', -apple-system, BlinkMacSystemFont,
                 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html, body, button, input, select, textarea {
  font-family: var(--font-avenir);
}

/* Force override to replace previous Poppins/Arial declarations across components */
body, body * {
  font-family: var(--font-avenir) !important;
}

/* Avenir Medium for primary navigation buttons (desktop + mobile) */
.grid-nav-btn,
.nav-btn,
.mobile-menu .menu-link,
.mobile-menu .menu-lang-btn {
  font-weight: 500 !important;
}
