/* Rystart — page « À propos » : une journée, jusqu’à 300 dossiers.
   Trois cents points, dont sept à toucher. Sans JavaScript, les sept rencontres se lisent à la suite. */
.journee { padding-top: clamp(2.5rem, 6vw, 4rem); }
.journee__mode { max-width: 30rem; }
@media (min-width: 60rem) {
  .journee__tete h2 { grid-column: 1 / 7; }
  .journee__mode { grid-column: 8 / 13; align-self: end; }
  .journee__tete .note { grid-column: 2 / 6; }
}
.journee__corps { margin-top: clamp(2rem, 5vw, 3rem); display: grid; gap: 2rem; }

.foule__compteur { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .6rem; margin-bottom: 1rem; border-bottom: var(--filet-fort); font-family: var(--f-titre); font-size: clamp(1.5rem, 5vw, 2.2rem); line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
html:not(.js) .foule__compteur { display: none; }
.foule__points { position: relative; --cols: 15; --rows: 20; aspect-ratio: 15 / 20; }
.foule__svg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.foule__svg--large { display: none; }
.foule__attendus { color: var(--rose); }
.foule__attendus, .foule__arrives { fill-opacity: 1; }
.foule__svg pattern circle { fill: currentColor; }
.foule__svg { color: var(--bordeaux); }
.foule__svg .foule__attendus { opacity: .28; }

.foule__client { position: absolute; left: calc((var(--c) + .5) / var(--cols) * 100%); top: calc((var(--r) + .5) / var(--rows) * 100%); width: 2.75rem; height: 2.75rem; margin: -1.375rem 0 0 -1.375rem; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.foule__client::before, .foule__client::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.foule__client::before { width: 1.15rem; height: 1.15rem; background: var(--rose); border: 1px solid var(--bordeaux); box-shadow: 0 0 0 .3rem var(--ivoire); transition: background-color .2s, width .2s, height .2s; }
.foule__client::after { width: 1.15rem; height: 1.15rem; border: 1px solid var(--rose-soutenu); animation: appel 3s ease-out infinite; }
.foule__client:nth-of-type(2n)::after { animation-delay: 1s; }
.foule__client:nth-of-type(3n)::after { animation-delay: 2s; }
.foule__client:hover::before { background: var(--rose-soutenu); }
.foule__client.vu::after { animation: none; opacity: 0; }
.foule__client.vu::before { background: var(--rose-soutenu); }
.foule__client.actif::before { width: 1.5rem; height: 1.5rem; background: var(--bordeaux); }
.foule__client:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: -4px; }
@keyframes appel { from { transform: translate(-50%, -50%) scale(1); opacity: .9; } to { transform: translate(-50%, -50%) scale(2.6); opacity: 0; } }
html:not(.js) .foule__client { display: none; }

/* Les rencontres : une note qui reste en vue pendant qu'on parcourt les points */
.rencontres { background: var(--papier); border: 1px solid var(--rose-soutenu); box-shadow: .5rem .5rem 0 var(--rose); padding: 1.1rem 1.1rem 1.2rem; }
.js .rencontres { position: sticky; bottom: calc(3.4rem + env(safe-area-inset-bottom, 0px) + .75rem); z-index: 5; max-height: min(64vh, 30rem); overflow: auto; overscroll-behavior: contain; }
.js .rencontres:not(.pret) .rencontre { display: none; }
html:not(.js) .rencontres__invite { display: none; }
html:not(.js) .rencontre + .rencontre { margin-top: 2rem; padding-top: 1.75rem; border-top: var(--filet); }
.rencontres__invite { font-style: italic; }
.rencontre > * + * { margin-top: .7rem; }
.rencontre__tete { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: -.4rem; }
.rencontre__pilier { font-style: italic; color: var(--encre-douce); }
.rencontre__fermer, .rencontre__suivant { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: .95rem; cursor: pointer; text-decoration: underline; text-decoration-color: var(--rose-soutenu); text-underline-offset: .22em; }
html:not(.js) .rencontre__fermer, html:not(.js) .rencontre__suivant { display: none; }
.rencontre h3 { font-size: clamp(1.7rem, 6vw, 2.5rem); line-height: 1.08; }
.rencontre__garde { font-family: var(--f-titre); font-size: clamp(1.3rem, 4.6vw, 1.6rem); line-height: 1.25; padding-top: .8rem; border-top: var(--filet); }
.rencontre__garde span { display: block; margin-bottom: .25rem; font-family: var(--f-texte); font-style: italic; font-size: .9rem; color: var(--encre-douce); }
.rencontre__suite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1.5rem; }
.rencontre__suite a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.rencontre__suivant { margin-left: auto; font-style: italic; }

@media (min-width: 48rem) { .js .rencontres { bottom: 1.25rem; } }
@media (min-width: 60rem) {
  .foule__points { --cols: 30; --rows: 10; aspect-ratio: 30 / 10; }
  .foule__svg--haut { display: none; }
  .foule__svg--large { display: block; }
  .foule__client { left: calc((var(--cl) + .5) / var(--cols) * 100%); top: calc((var(--rl) + .5) / var(--rows) * 100%); }
  .journee__corps { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: 2.5rem; align-items: start; }
  .js .rencontres { position: sticky; top: 1.5rem; bottom: auto; max-height: none; padding: 1.5rem 1.6rem 1.6rem; }
  .rencontre h3 { font-size: clamp(1.9rem, 2.6vw, 2.5rem); }
}

.pourquoi__texte { max-width: 36rem; }
.pourquoi__texte h2 { margin-bottom: 1rem; }
@media (min-width: 60rem) {
  .pourquoi__texte { grid-column: 1 / 8; }
}
.fin--question { background: var(--ivoire); }
.fin--question .fin__corps { border-top: 0; padding-top: 0; }
.fin--question .fin__phrase { font-size: clamp(2rem, 6.4vw, 3.8rem); line-height: 1.05; max-width: 24ch; }
@media (prefers-reduced-motion: reduce) { .foule__client::after { animation: none; opacity: 0; } }
/* À la place d'une photo : une étoile presque pleine */

/* Pourquoi Rystart : une étoile à facettes, presque pleine */
.pourquoi__etoile { margin: clamp(2rem, 6vw, 3rem) auto 0; width: min(78%, 20rem); }
.pourquoi__etoile svg { display: block; width: 100%; height: auto; overflow: visible; }
.etoile__facettes .f0 { fill: #D9A53A; }
.etoile__facettes .f1 { fill: #B98622; }
.etoile__aretes path { stroke: rgba(232, 195, 188, .5); stroke-width: .8; }
.etoile__contour { fill: none; stroke: var(--rose); stroke-width: 1.4; stroke-linejoin: round; }
.etoile__halo { fill: none; stroke: var(--rose); stroke-width: .7; stroke-linejoin: round; opacity: .32; }
.etoile__eclat { fill: var(--ivoire); transform-box: fill-box; transform-origin: center; }
.etoile__reflet { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .etoile__eclat { animation: scintille 3.6s ease-in-out infinite; }
  .etoile__eclat.e2 { animation-duration: 4.7s; animation-delay: 1.1s; }
  .etoile__eclat.e3 { animation-duration: 5.3s; animation-delay: 2.3s; }
  .etoile__reflet { opacity: 1; animation: reflet 7s ease-in-out infinite; }
}
@keyframes scintille { 0%, 100% { opacity: .15; scale: .55; } 45% { opacity: 1; scale: 1; } 60% { opacity: .75; scale: .85; } }
@keyframes reflet { 0%, 55% { translate: 0 0; } 85%, 100% { translate: 540px 0; } }
@media (min-width: 60rem) { .pourquoi__etoile { grid-column: 8 / 13; align-self: center; margin-top: 0; width: min(100%, 21rem); } }
