/* ==========================================================================
#FONTS
   Oswald : Google Fonts (400 / 700)
========================================================================== */
@font-face {
  font-family: "Myriad Pro Light";
  src: url("/assets/fonts/MyriadPro-Light.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Didot";
  src: url("/assets/fonts/DidotLTStd-Roman.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Brandon Grotesque";
  src: url("/assets/fonts/brandongrotesque_regular-webfont.woff2") format("woff2"),
       url("/assets/fonts/brandongrotesque_regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
#VARIABLES
========================================================================== */
:root {
  --navy: #00317a;
  --blue: #2159ad;
  --blue-mid: #194c99;
  --coral: #ef7562;
  --text: #253544;
  --grey: #666666;

  --font-text: "Myriad Pro Light", Arial, sans-serif;
  --font-title: Oswald, Arial, sans-serif;
  --font-serif: Times, "Times New Roman", serif;
  --font-brandon: "Brandon Grotesque", Arial, sans-serif;

  --header-height: 75px;
  --gutter: 15px;
}

/* ==========================================================================
#RESET
========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  background-color: #ffffff;
  font: normal 15px/26px var(--font-text);
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0 0 10px;
  font-weight: normal;
  line-height: 1.1;
}

p {
  margin: 0 0 10px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

figure {
  margin: 0;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 250ms linear, background-color 250ms linear;
}
a:hover,
a:focus {
  color: var(--navy);
}

strong {
  font-family: "Myriad Pro", Arial, sans-serif;
  font-weight: normal;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

::selection {
  background: var(--coral);
  color: #ffffff;
}

/* ==========================================================================
#HELPERS
========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Fond texturé */
.grunge {
  background: url("/assets/uploads/images/grunge-bg-2.png") top left;
}

/* Filet sous les titres */
.title-divider {
  display: block;
  width: 134px;
  height: 2px;
  margin: 0 auto;
  background: #ffffff;
}
.title-divider--blue {
  width: 50px;
  background: var(--blue);
}

/* Titres de section (corail, capitales espacées) */
.section-title {
  margin-bottom: 20px;
  font: 300 34px/1.1 var(--font-text);
  color: var(--coral);
  letter-spacing: 4px;
  text-transform: uppercase;
  text-indent: 5px;
}
@media (max-width: 767px) {
  .section-title {
    font-size: 26px;
    letter-spacing: 2px;
  }
}

/* Texte d'accroche en italique */
.lead,
.fullscreen__caption p,
.splitscreen__content p {
  margin-top: 30px;
  font: italic 19px/30px var(--font-serif);
  color: var(--navy);
}

.button {
  display: inline-block;
  padding: 8px 60px;
  border: 1px solid var(--blue-mid);
  font: 400 15px var(--font-title);
  color: var(--blue-mid);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.button:hover,
.button:focus {
  background: var(--blue-mid);
  color: #ffffff;
}
