/* Tokens copied from design/tokens.json (light theme only). */
@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/Figtree_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/Figtree_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/Figtree_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --fond: #ffffff;
  --fond-doux: #eaf2f7;
  --fond-accent: #fbeeec;
  --trait: #cee1ec;
  --trait-fort: #a1c8dd;
  --bordure-champ: #698999;
  --encre: #151f24;
  --encre-2: #3f535e;
  --encre-3: #546e7c;
  --corail: #df6f50;
  --corail-clair: #f5d4cf;
  --action: #9d4d36;
  --action-encre: #7a3a28;
  --nuit: #2a3941;
  --sur-action: #ffffff;
  --font-titre: "Fraunces", Georgia, serif;
  --font-texte: "Figtree", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--fond); color: var(--encre); }
body { font-family: var(--font-texte); font-size: 17px; line-height: 24px; min-height: 100vh; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }

.entete { height: 56px; display: flex; align-items: center; justify-content: center; font-family: var(--font-titre); font-size: 18px; font-weight: 600; color: var(--encre-2); border-bottom: 1px solid var(--trait); }
.contenu { max-width: 480px; margin: 0 auto; padding: 24px 16px 40px; min-height: calc(100vh - 57px); display: flex; flex-direction: column; }
.centre { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.vide { gap: 16px; }

.surtitre { margin: 0; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--encre-3); text-transform: uppercase; letter-spacing: 0.04em; }
.mot { margin: 0; font-family: var(--font-titre); font-weight: 600; font-size: 56px; line-height: 60px; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.titre-l { margin: 0; font-family: var(--font-titre); font-weight: 600; font-size: 28px; line-height: 34px; }
.texte-2 { margin: 0; color: var(--encre-2); }
.ligne-age { font-size: 16px; }
.meta { margin: 0; font-size: 14px; line-height: 20px; color: var(--encre-3); }
.pied { padding: 24px 20px 0; }

.lire { width: 72px; height: 72px; border-radius: 999px; border: 0; background: var(--action); color: var(--sur-action); display: inline-flex; align-items: center; justify-content: center; margin-top: 24px; cursor: pointer; }
.lire:focus-visible, .bouton:focus-visible { outline: 3px solid var(--corail-clair); outline-offset: 3px; }
.lire svg { width: 28px; height: 28px; }

.onde-bloc { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.onde { height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 2px; }
.onde i { flex: 1; min-width: 2px; background: var(--trait-fort); border-radius: 2px; }
.onde i.lu { background: var(--corail); }
.duree-ligne { display: flex; justify-content: space-between; }
.duree { font-size: 14px; color: var(--encre-3); font-variant-numeric: tabular-nums; }

.squelette { width: 60%; background: var(--fond-doux); border-radius: 8px; }
.squelette:nth-child(1) { width: 30%; }
.squelette:nth-child(3) { width: 70%; }
.squelette.rond { width: 88px; height: 88px; border-radius: 999px; }

.pastille { width: 88px; height: 88px; border-radius: 999px; background: var(--fond-accent); color: var(--action); display: inline-flex; align-items: center; justify-content: center; }
.bouton { margin-top: 8px; min-height: 44px; padding: 10px 24px; border-radius: 999px; border: 0; background: var(--action); color: var(--sur-action); font: inherit; font-weight: 600; cursor: pointer; }

@media (min-width: 768px) {
  .contenu { padding-top: 48px; }
  .mot { font-size: 72px; line-height: 76px; }
  .lire { width: 88px; height: 88px; }
}
