@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root,
[data-theme="noir"] {
  --fond: #151515;
  --surface: #212121;
  --bord: #383838;
  --bord-fort: #6e6e6e;
  --texte: #f2f1ee;
  --doux: #b4b3af;
  --accent: #ff6a3d;
  --sur-accent: #151515;
  --souci: #ff9d8a;
}
[data-theme="clair"] {
  --fond: #ecebe8;
  --surface: #ffffff;
  --bord: #d6d5d1;
  --bord-fort: #8b8a86;
  --texte: #151515;
  --doux: #595856;
  --accent: #ff6a3d;
  --sur-accent: #151515;
  --souci: #b3261e;
}

* {
  box-sizing: border-box;
}
html {
  background: var(--fond);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--texte);
  background: var(--fond);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
[hidden] {
  display: none !important;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--texte);
  outline-offset: 3px;
}

.entre {
  opacity: 0;
}
.pret .entre {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.portrait {
  width: 108px;
  height: 108px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
}
.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nom {
  margin: 16px 0 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-align: center;
  overflow-wrap: anywhere;
}
.bio {
  margin: 8px auto 0;
  max-width: 32ch;
  font-size: 17.5px;
  line-height: 1.35;
  text-align: center;
  white-space: pre-line;
}

@media (prefers-reduced-motion: reduce) {
  .entre,
  .pret .entre {
    opacity: 1;
    transition: none;
  }
}
