/* L'Hémicycle : écouter l'article */
.lhe{--lhe-ink:#15222a;--lhe-blue:#1d6fb5;--lhe-line:#dfe5e9;margin:18px 0 6px;font-family:Inter,Arial,Helvetica,sans-serif}
.lhe-bar{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;max-width:100%}
.lhe button{-webkit-appearance:none;appearance:none;margin:0;font:inherit;cursor:pointer;line-height:1}
.lhe svg{width:16px;height:16px;fill:currentColor;flex:none}
.lhe-play{display:inline-flex;align-items:center;gap:9px;height:40px;padding:0 18px 0 14px;border:0;border-radius:999px;background:var(--lhe-ink);color:#fff;font-size:14px;font-weight:700;letter-spacing:.01em;white-space:nowrap;transition:background-color .2s,transform .2s}
.lhe-play:hover{background:var(--lhe-blue)}
.lhe-play:active{transform:scale(.98)}
.lhe-play .lhe-d{font-weight:500;opacity:.72}
.lhe-play .lhe-d::before{content:"·";margin-right:7px}
.lhe-prog{display:none;position:relative;flex:1;min-width:60px;max-width:260px;height:4px;border-radius:2px;background:var(--lhe-line);overflow:hidden}
.lhe-prog i{position:absolute;left:0;top:0;bottom:0;width:0;background:var(--lhe-blue);transition:width .4s}
.lhe-rate,.lhe-stop{display:none;align-items:center;justify-content:center;height:34px;min-width:34px;padding:0 10px;border:1px solid var(--lhe-line);border-radius:999px;background:#fff;color:var(--lhe-ink);font-size:13px;font-weight:700}
.lhe-stop{padding:0;width:34px}
.lhe-stop svg{width:12px;height:12px}
.lhe-rate:hover,.lhe-stop:hover{border-color:var(--lhe-ink)}
.lhe.is-on .lhe-prog{display:block}
.lhe.is-on .lhe-rate,.lhe.is-on .lhe-stop{display:inline-flex}
.lhe.is-playing .lhe-play{background:var(--lhe-blue)}
.lhe.is-playing .lhe-play svg{animation:lhe-pulse 1.4s ease-in-out infinite}
@keyframes lhe-pulse{50%{opacity:.55}}
/* Lecture d'un fichier audio : barre de progression cliquable */
.lhe-play .lhe-d{font-variant-numeric:tabular-nums}
.lhe--audio .lhe-prog{cursor:pointer;overflow:visible;touch-action:none;outline:0}
.lhe--audio .lhe-prog::before{content:"";position:absolute;left:-6px;right:-6px;top:-14px;bottom:-14px}
.lhe--audio .lhe-prog i{border-radius:2px;transition:width .25s linear}
.lhe--audio .lhe-prog i::after{content:"";position:absolute;right:-6px;top:50%;width:12px;height:12px;margin-top:-6px;border-radius:50%;background:var(--lhe-blue);box-shadow:0 0 0 2px #fff}
.lhe--audio .lhe-prog:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--lhe-blue)}
.lhe.is-wait .lhe-play svg{animation:lhe-pulse .6s ease-in-out infinite}
.lhe-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.lhe-cur{background:rgba(29,111,181,.09);box-shadow:-8px 0 0 rgba(29,111,181,.09),8px 0 0 rgba(29,111,181,.09);border-radius:2px;transition:background-color .3s}
/* Écoute réservée aux lecteurs inscrits */
.lhe-gate{max-width:560px;margin:12px 0 0;padding:14px 16px;border-radius:12px;background:#f2f5f7;border:1px solid var(--lhe-line);color:var(--lhe-ink);font-size:14.5px;line-height:1.5;animation:lhe-in2 .25s ease-out}
.lhe-gate[hidden]{display:none}
.lhe-gate p{margin:0}
.lhe-gate b{font-weight:700}
.lhe-gate-btns{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:12px !important}
.lhe-gate a{font-weight:700;color:var(--lhe-ink);text-decoration:underline;text-underline-offset:3px}
.lhe-gate a.lhe-gate-go{display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:999px;background:var(--lhe-ink);color:#fff;text-decoration:none}
.lhe-gate a.lhe-gate-go:hover{background:var(--lhe-blue)}
@keyframes lhe-in2{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
/* Barre flottante quand on s'éloigne du lecteur pendant l'écoute */
.lhe.is-float .lhe-bar{position:fixed;left:50%;bottom:16px;z-index:99990;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 24px);padding:7px;border-radius:999px;background:#fff;box-shadow:0 14px 36px -12px rgba(21,34,42,.45),0 0 0 1px var(--lhe-line);animation:lhe-in .3s ease-out}
.lhe.is-float .lhe-prog{width:120px;flex:none}
@keyframes lhe-in{from{transform:translate(-50%,20px);opacity:0}to{transform:translate(-50%,0);opacity:1}}
@media (max-width:560px){
  .lhe-play{height:38px;padding:0 14px 0 12px;font-size:13.5px}
  .lhe-prog{min-width:40px}
  .lhe.is-float .lhe-prog{width:70px}
  /* Audio en cours sur téléphone : icône et minutage suffisent */
  .lhe--audio.is-on .lhe-play .lhe-l{display:none}
  .lhe--audio.is-on .lhe-play .lhe-d::before{content:none;margin:0}
  .lhe--audio.is-on .lhe-play .lhe-d{opacity:1;font-weight:700}
  .lhe--audio.is-float .lhe-bar{width:calc(100vw - 24px)}
  .lhe--audio.is-float .lhe-prog{width:auto;flex:1;max-width:none}
}
@media (prefers-reduced-motion:reduce){.lhe *{animation:none !important;transition:none !important}}
@media print{.lhe{display:none}}
