/* Jetons de la maquette D. Les fichiers woff2 sont des sous-ensembles latin OFL,
   hébergés par le site. Aucune police ne vient d'un CDN. */

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/site/InterTight-300.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/site/InterTight-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/site/InterTight-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/site/InterTight-600.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/site/InterTight-300.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/site/InterTight-400.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/site/InterTight-500.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/site/InterTight-600.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/site/InterTight-600.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/site/JetBrainsMono-400.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/site/JetBrainsMono-500.woff2") format("woff2");
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/site/BricolageGrotesque-800.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/livre/EBGaramond12-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/livre/EBGaramond12-Italic.woff2") format("woff2");
}

:root {
  --bg: #111419;
  --bg2: #161A20;
  --panel: #1A1F26;
  --ink: #ECEAE4;
  --mute: #959CA5;
  --dim: #5E6670;
  --line: rgba(236, 234, 228, .11);
  --line2: rgba(236, 234, 228, .22);
  --sig: #FF6A2B;
  --volt: #F2C300;
  --teal: #2FB3A8;
  --sans: "Inter Tight", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --serif: "EB Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --display: "Bricolage Grotesque", var(--sans);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

.we-mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.we-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 22px;
  border-radius: 2px;
  background: var(--ink);
  color: #111;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: background .3s;
}

.we-cta:hover { background: #fff; }

.we-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  height: 48px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  background: linear-gradient(var(--ink), var(--ink)) 0 calc(100% - 12px) / 0 1px no-repeat;
  transition: background-size .4s var(--ease);
}

.we-link:hover { background-size: 100% 1px; }

.we-kick {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.we-kick b { color: var(--ink); font-weight: 500; }

.we-kick::after {
  content: "";
  flex: 0 0 56px;
  height: 1px;
  background: var(--line2);
}

.we-ln { display: block; overflow: hidden; }

.we-ln > span { display: block; }

.js .we-rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.js .we-rv.is-in { opacity: 1; transform: none; }

.js .we-ln > span {
  transform: translateY(108%);
  transition: transform 1.1s var(--ease);
}

.js .is-in .we-ln > span,
.js .we-ln.is-in > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .we-cta,
  .we-link,
  .js .we-rv,
  .js .we-ln > span {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
