/*
 * Typographie officielle Volkswagen — Garage Rossy SA
 *
 * Les valeurs font-size-adjust conservent la taille perçue de l'ancienne
 * Plus Jakarta Sans malgré les métriques différentes des fontes VW.
 */

@font-face {
  font-family: "VW Head";
  src: url("../assets/fonts/VW_Print_Head_Text/VW_Head/VWHead-Light.otf") format("opentype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "VW Head";
  src: url("../assets/fonts/VW_Print_Head_Text/VW_Head/VWHead-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "VW Head";
  src: url("../assets/fonts/VW_Print_Head_Text/VW_Head/VWHead-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}

@font-face {
  font-family: "VW Head";
  src: url("../assets/fonts/VW_Print_Head_Text/VW_Head/VWHead-ExtraBold.otf") format("opentype");
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
}

@font-face {
  font-family: "VW Head";
  src: url("../assets/fonts/VW_Print_Head_Text/VW_Head/VWHead-RegularItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "VW Head";
  src: url("../assets/fonts/VW_Print_Head_Text/VW_Head/VWHead-BoldItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 600 900;
  font-display: swap;
}

@font-face {
  font-family: "VW Text";
  src: url("../assets/fonts/VW_Print_Head_Text/VW_Text/VWText-Light.otf") format("opentype");
  font-style: normal;
  font-weight: 100 300;
  font-display: swap;
}

@font-face {
  font-family: "VW Text";
  src: url("../assets/fonts/VW_Print_Head_Text/VW_Text/VWText-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "VW Text";
  src: url("../assets/fonts/VW_Print_Head_Text/VW_Text/VWText-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}

@font-face {
  font-family: "VW Text";
  src: url("../assets/fonts/VW_Print_Head_Text/VW_Text/VWText-RegularItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 100 500;
  font-display: swap;
}

@font-face {
  font-family: "VW Text";
  src: url("../assets/fonts/VW_Print_Head_Text/VW_Text/VWText-BoldItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 600 900;
  font-display: swap;
}

:root {
  --font-vw-text: "VW Text", Arial, Helvetica, sans-serif;
  --font-vw-head: "VW Head", "VW Text", Arial, Helvetica, sans-serif;
}

html body,
button,
input,
select,
textarea,
.cf-input,
.cf-submit {
  font-family: var(--font-vw-text) !important;
  font-size-adjust: .54;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.page-title,
.s-title,
.svc-name,
.cta-title,
.f-logo-text {
  font-family: var(--font-vw-head) !important;
  font-size-adjust: .52;
}

body {
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
