/* Fonts */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/ebgaramond.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Bodoni';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/librebodoni.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Base */
* {
  box-sizing: border-box;
}
:root {
  --bg: #f7f4ef;
  --ink: #1f1f1f;
  --accent: #c94b4b;
  --accent-2: #3a6ea5;
  --paper: #ffffff;

  --parcours-famille: #049882;
  --parcours-audacieux: #1476bc;
  --parcours-infernal: #2a3445;
  --parcours-sportif: #ee4f66;
}
html,
body {
  height: 100%;
}
body {
  background: var(--bg);
  color: var(--ink);
  margin: 0;
  line-height: 1.5;
  font-family: 'EB Garamond', serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}
h1:not([class]) {
}
/* Components */
.c-box {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.c-box__title {
  margin-top: 0;
  color: var(--accent-2);
  font-size: 28px;
  font-weight: normal;
}
.c-box--famille {
  border-left: 6px solid var(--parcours-famille);
}
.c-box--audacieux {
  border-left: 6px solid var(--parcours-audacieux);
}
.c-box--infernal {
  border-left: 6px solid var(--parcours-infernal);
}
.c-box--sportif {
  border-left: 6px solid var(--parcours-sportif);
}
.c-box__tag {
  padding: 2px 10px;
  color: white;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
}
.c-box--famille .c-box__tag {
  background: var(--parcours-famille);
}
.c-box--audacieux .c-box__tag {
  background: var(--parcours-audacieux);
}
.c-box--infernal .c-box__tag {
  background: var(--parcours-infernal);
}
.c-box--sportif .c-box__tag {
  background: var(--parcours-sportif);
}
.c-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--accent);
  color: white;
  line-height: 1.5em;
  text-decoration: none;
  border-radius: 3.1em;
  font-weight: 600;
}
.c-footer {
  background: #1f1f1f;
  color: #eee;
  padding: 2rem 0;
  font-size: 14px;
}
.c-footer a {
  color: #ffd27d;
  text-decoration: none;
}
.c-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.c-header {
  padding: 10vh 0;
  background: white;
  border-bottom: 4px solid var(--accent);

  text-align: center;
}
.c-header__title {
  font-size: 28px;
  font-weight: normal;
}
.c-header__baseline {
  margin: 1em 0;
  display: block;
  font-size: 36px;
  font-family: 'Libre Bodoni', serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  text-wrap: balance;
}
/* Objects */
.o-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.o-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.o-container {
  max-width: 800px;
  padding: 0 20px;
  margin: 0 auto;
}
/* Utils */
.u-link-cameleon,
.u-link-cameleon:hover,
.u-link-cameleon:focus {
  color: inherit;
}
.u-txt-engraved {
  background-color: #000a;
  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
  text-shadow: -1px 1px 0 rgba(180, 180, 180, 0.3);
}
.u-txt-right {
  text-align: right;
}
