/* Polices auto-hébergées (sous-ensemble latin, mêmes graisses qu'avant via Google Fonts) */
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/dm-mono-latin.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: "Manrope";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin.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: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin.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: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin.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: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin.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;
}
:root {
  --bg: #f0f1fa;
  --ink: #111218;
  --ice: #c5d8ff;
  --sky: #7ca9ff;
  --electric: #3867f5;
  --ocean: #1b328f;
  --grad: linear-gradient(
    110deg,
    #c5d8ff 0%,
    #7ca9ff 35%,
    #3867f5 70%,
    #1b328f 100%
  );
  --font: "Manrope", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 5vw, 80px);
  --r-m: 24px;
  --r-l: 40px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 clamp(16px, 1.1vw, 18px)/1.6 var(--font);
  overflow-x: hidden;
}
body.is-loading {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
/* Tout ce qui se clique affiche la main */
a[href],
button,
[role="button"],
summary,
label[for],
select,
input[type="submit"],
input[type="button"] {
  cursor: pointer;
}
button:disabled {
  cursor: progress;
}
ul,
ol {
  list-style: none;
  padding: 0;
}
img {
  max-width: 100%;
  display: block;
}
.mono {
  font: 400 12px/1.4 var(--mono);
  letter-spacing: 0.04em;
}
:focus-visible {
  outline: 2px solid var(--electric);
  outline-offset: 3px;
}
h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
h2 {
  font-size: clamp(32px, 5.4vw, 84px);
  max-width: 16ch;
}
h3 {
  font-size: clamp(22px, 2.4vw, 36px);
  letter-spacing: -0.02em;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
