/* 27 novembre 2026 : la finition du site.
   1. d'une page à l'autre, le haut du site reste en place et la page arrive en douceur (l'accord est écrit en haut de chaque page) ;
      l'ancien haut ne s'efface qu'une fois le nouveau posé dessus : il ne faiblit jamais
   2. les titres se coupent en lignes équilibrées
   3. les boutons répondent au doigt, avec un petit ressort
   4. les boutons flottants se rangent quand on descend, et reviennent dès qu'on remonte
   Seuls la position et la transparence bougent : le téléphone les dessine sans effort. */
::view-transition-old(root){animation:hy-sort .2s cubic-bezier(.4,0,1,1) both}
::view-transition-new(root){animation:hy-entre .5s cubic-bezier(.2,0,0,1) both}
@keyframes hy-sort{to{opacity:0;transform:translateY(-10px)}}
@keyframes hy-entre{from{opacity:0;transform:translateY(18px)}}
.tete,.hym{view-transition-name:hy-entete}
::view-transition-group(hy-entete){animation-duration:.35s;animation-timing-function:cubic-bezier(.2,0,0,1)}
::view-transition-old(hy-entete){animation:hy-tete-sort .23s .12s linear both;mix-blend-mode:normal}
::view-transition-new(hy-entete){animation:hy-tete-entre .2s cubic-bezier(.2,0,0,1) both;mix-blend-mode:normal}
@keyframes hy-tete-sort{to{opacity:0}}
@keyframes hy-tete-entre{from{opacity:0}}
h1,h2,h3{text-wrap:balance}
main p,main li,main figcaption{text-wrap:pretty}
:root{--hy-ressort:linear(0,.09,.281,.489,.673,.815,.914,.976,1.01,1.025,1.028,1.025,1.02,1.014,1.009,1.005,1.002,1.001,1)}
html .btn,html .hym-btn{transition:scale .42s var(--hy-ressort),translate .25s,box-shadow .25s,filter .25s,background-color .2s!important}
html .btn:active,html .hym-btn:active{scale:.96}
html .hux-launch,html .hfx-control{transition:transform .5s cubic-bezier(.2,0,0,1),opacity .3s,scale .42s var(--hy-ressort)}
html .hux-launch:active,html .hfx-control:active{scale:.95}
html.hy-lecture .hux-launch,html.hy-lecture .hfx-control,html.hy-lecture .hux-up.is-visible{transform:translateY(96px);opacity:0;pointer-events:none}
html.hy-lecture .hux-launch:focus-visible,html.hy-lecture .hfx-control:focus-visible,html.hy-lecture .hux-up:focus-visible{transform:none;opacity:1;pointer-events:auto}
.hgf-share-panel a{text-decoration:none!important}
@media (prefers-reduced-motion:reduce){
html .btn,html .hym-btn,html .hux-launch,html .hfx-control{transition:none!important}
html.hy-lecture .hux-launch,html.hy-lecture .hfx-control,html.hy-lecture .hux-up.is-visible{transform:none;opacity:1;pointer-events:auto}
}
