@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

/* Fond : brun chaud releve sur son Linktree. Blocs : noirs pleins. Bloc inverse : soutien et choix. */
:root,
[data-theme="noir"] {
  --fond: #1f1511;
  --fond-haut: #241812;
  --fond-bas: #070505;
  --lueur: #3f2d24;
  --texte: #ffffff;
  --doux: #d3c8c0;
  --carte: #000000;
  --sur-carte: #ffffff;
  --sur-carte-doux: #b9b0aa;
  --plein: #ffffff;
  --sur-plein: #0b0706;
  --bord: #3a2d27;
  --bord-fort: #8a7a70;
  --souci: #ffa493;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
[data-theme="clair"] {
  --fond: #efe5da;
  --fond-haut: #f5ede4;
  --fond-bas: #e2d4c6;
  --lueur: #fdf9f4;
  --texte: #1a1210;
  --doux: #5e524b;
  --carte: #ffffff;
  --sur-carte: #1a1210;
  --sur-carte-doux: #6a5d55;
  --plein: #1a1210;
  --sur-plein: #ffffff;
  --bord: #d8c9bb;
  --bord-fort: #8f7f73;
  --souci: #b3261e;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .16 0 0 0 0 .1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
/* Auto : sombre par défaut, clair si le téléphone est réglé en clair. */
@media (prefers-color-scheme: light) {
  [data-theme="auto"] {
    --fond: #efe5da;
    --fond-haut: #f5ede4;
    --fond-bas: #e2d4c6;
    --lueur: #fdf9f4;
    --texte: #1a1210;
    --doux: #5e524b;
    --carte: #ffffff;
    --sur-carte: #1a1210;
    --sur-carte-doux: #6a5d55;
    --plein: #1a1210;
    --sur-plein: #ffffff;
    --bord: #d8c9bb;
    --bord-fort: #8f7f73;
    --souci: #b3261e;
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .16 0 0 0 0 .1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  }
}

* {
  box-sizing: border-box;
}
html {
  background: var(--fond-bas);
  -webkit-text-size-adjust: 100%;
}
/* Le fond suit la hauteur de la page : chaud en haut, sombre en bas. Lueur de taille fixe. */
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--texte);
  background:
    var(--grain),
    radial-gradient(520px 460px at calc(50% - 60px) 300px, var(--lueur) 0%, transparent 100%),
    linear-gradient(180deg, var(--fond-haut) 0%, var(--fond-bas) 100%);
  font-family: "Figtree", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  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: 116px;
  height: 116px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--carte);
}
.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nom {
  margin: 18px 0 0;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: center;
  overflow-wrap: anywhere;
}
.bio {
  margin: 8px auto 0;
  max-width: 30ch;
  font-size: 18.5px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  white-space: pre-line;
}

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