/* L'orbite de la page d'accueil (11/10/2026, la référence : stageo.eu).
   Le titre au centre ; autour, trois anneaux : les dix agents, puis les outils du club (logos)
   mêlés à ce que l'agent prépare (mots). CSS pur : chaque pièce tourne autour du centre et se
   redresse (rotate, translateY, rotate inverse). Les logos : voir logos/LEEME.md. */
.accueil {
  --u: 1px;
  position: relative; overflow: hidden;
  height: clamp(760px, calc(100svh - 72px), 980px);
}
.orbite {
  position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(ellipse 62% 64% at 50% 50%, #000 72%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 64% at 50% 50%, #000 72%, transparent 100%);
}
.anneau {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  border: 1px dashed #dcd9d2; transform: translate(-50%, -50%);
  width: calc(var(--r) * 2 * var(--u)); height: calc(var(--r) * 2 * var(--u));
}
.piece {
  position: absolute; left: 50%; top: 50%;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  translate: -50% -50%;
  animation: orbite calc(var(--d) * 1s) linear infinite;
  animation-delay: calc(var(--delai) * 1s);
}
@keyframes orbite {
  from { transform: rotate(0deg) translateY(calc(var(--r) * var(--u))) rotate(0deg); }
  to   { transform: rotate(360deg) translateY(calc(var(--r) * var(--u))) rotate(-360deg); }
}
/* Les dix agents */
.piece.agent { font: 500 13px/1 var(--sans); color: var(--ink); background: var(--white); box-shadow: var(--shadow); border-radius: 99px; padding: 9px 14px; }
.piece.agent .p-on { width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }
/* Ce que l'agent prépare */
.piece.tache { font: 500 12px/1 var(--sans); color: #fff; background: var(--ink); border-radius: 99px; padding: 8px 12px; }
/* Un outil écrit, sans logo (voir logos/LEEME.md) */
.piece.mot { font: 500 11px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--soft); background: var(--bg); border: 1px dashed #cfccc4; border-radius: 99px; padding: 8px 11px; }
/* Les logos, dans un rond blanc */
.piece.logo { width: 54px; height: 54px; justify-content: center; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); }
.piece.logo img { width: 28px; height: 28px; display: block; }
.piece.logo img.app { width: 34px; height: 34px; border-radius: 9px; }

/* Le titre, au centre, sur un halo qui efface ce qui passe derrière */
.accueil .hero {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; margin: 0;
  width: min(760px, 92%); padding: 40px 30px;
  background: radial-gradient(closest-side, var(--bg) 70%, rgba(250,250,248,0) 100%);
}
.accueil .hero .display { font-size: clamp(42px, 5.6vw, 78px); }
.accueil .lede { margin-top: 20px; }
.accueil .actions { margin-top: 28px; }

@media (max-width: 760px) {
  /* Sur téléphone aussi, le titre au centre et les trois anneaux comme sur ordinateur (agents, outils,
     tâches), en plus petit ; la phrase et les boutons juste dessous, pour que rien ne passe sur le texte. */
  .accueil { --u: .5px; height: auto; padding-bottom: 8px; }
  .orbite { position: relative; inset: auto; height: 520px;
    -webkit-mask-image: radial-gradient(ellipse 62% 56% at 50% 50%, #000 80%, transparent 100%);
            mask-image: radial-gradient(ellipse 62% 56% at 50% 50%, #000 80%, transparent 100%); }
  .piece.agent { font-size: 10px; padding: 6px 9px; gap: 5px; }
  .piece.agent .p-on { width: 5px; height: 5px; }
  .piece.tache { font-size: 9.5px; padding: 6px 9px; }
  .piece.mot { font-size: 8.5px; padding: 6px 8px; }
  .piece.logo { width: 40px; height: 40px; }
  .piece.logo img { width: 21px; height: 21px; }
  .piece.logo img.app { width: 25px; height: 25px; border-radius: 7px; }
  .accueil .hero { position: static; translate: none; width: auto; padding: 0 4px; margin: 0 auto; background: none; animation: none; }
  .accueil .h-centre {
    position: absolute; left: 50%; top: 260px; translate: -50% -50%; z-index: 2; width: 300px; padding: 30px 0;
    background: radial-gradient(closest-side, var(--bg) 72%, rgba(250,250,248,0) 100%);
  }
  .accueil .h-centre .label { margin-bottom: 12px; font-size: 10px; }
  .accueil .hero .display { font-size: 38px; }
  .accueil .lede { margin-top: 14px; }
}
/* Qui a demandé moins de mouvement : les pièces restent immobiles, réparties sur leur anneau. */
@media (prefers-reduced-motion: reduce) {
  .piece { animation: none; transform: rotate(calc(var(--a) * 1deg)) translateY(calc(var(--r) * var(--u))) rotate(calc(var(--a) * -1deg)); }
}
