@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 500 800;
  src: url('/fonts/bricolage-grotesque-latin.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --color-primary: #4556dc;
  --color-primary-soft: #7a87e8;
  --color-accent: #ff8f86;
  --color-bg: #fbfaf7;
  --color-text: #1c1b19;
  --color-muted: #69645c;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  background: var(--color-bg);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 500;
  color: var(--color-text);
  background:
    radial-gradient(60rem 40rem at 110% -10%, rgb(69 86 220 / 0.16), transparent 60%),
    radial-gradient(50rem 36rem at -20% 110%, rgb(255 143 134 / 0.16), transparent 60%),
    var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

.page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 3rem;
  width: min(100% - 2rem, 44rem);
  min-height: 100vh;
  min-height: 100dvh;
  margin-inline: auto;
  padding-block: clamp(1.5rem, 5vw, 3rem);
}

.logo {
  width: clamp(9.5rem, 30vw, 13rem);
  height: auto;
}

.pitch {
  align-self: center;
}

/* Une onde de voix : la dictée. */
.wave {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  height: 1.75rem;
  margin-bottom: 1.5rem;
}

.wave i {
  display: block;
  width: 0.375rem;
  border-radius: 1rem;
  background: var(--color-primary);
}

.wave i:nth-child(1) {
  height: 35%;
  opacity: 0.45;
}

.wave i:nth-child(2) {
  height: 70%;
  opacity: 0.7;
}

.wave i:nth-child(3) {
  height: 100%;
}

.wave i:nth-child(4) {
  height: 55%;
  opacity: 0.7;
}

.wave i:nth-child(5) {
  height: 25%;
  opacity: 0.45;
}

h1 {
  font-size: clamp(2rem, 6.2vw, 3.5rem);
  font-weight: 750;
  font-variation-settings: 'opsz' 96;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--color-text);
  text-wrap: balance;
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 2rem;
  padding: 0.625rem 1rem;
  border-radius: 999px;
  font-size: clamp(1rem, 2.6vw, 1.125rem);
  font-weight: 650;
  color: #ffffff;
  background: var(--color-primary);
}

.dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 0 rgb(255 143 134 / 0.6);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 0.6rem rgb(255 143 134 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(255 143 134 / 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dot {
    animation: none;
  }
}

.contact {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--color-muted);
}

.contact a {
  font-weight: 650;
  color: var(--color-primary);
  text-underline-offset: 0.2em;
}

footer {
  font-size: 0.875rem;
  color: var(--color-muted);
}
