/* Présentation guidée : la scène (prototype et voix) sur fond de pruche, puis le détail chiffré sur papier clair. Page publique,
   hors de l'espace connecté : aucune de ses classes ne sert ailleurs. Tout passe par les jetons --ln-pres-*, déclarés dans application.css. */
.presentation-body { background: var(--ln-pres-paper); color: var(--ln-pres-ink); font-family: var(--ln-font); font-size: var(--ln-text-md); line-height: 1.5; margin: 0; }
.presentation-body * { box-sizing: border-box; }
/* Sans ceci, une règle `display` d'un composant l'emporte sur l'attribut : le bloc d'exploration restait toujours visible. */
.presentation-body [hidden] { display: none !important; }
.pres-wrap { max-width: 1160px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.pres-notice { position: sticky; top: 0; z-index: 9; background: var(--ln-pres-sign); color: var(--ln-pres-sign-ink); font-size: var(--ln-text-sm); }
.pres-notice .pres-wrap { padding-block: 6px; display: flex; flex-wrap: wrap; gap: 2px 14px; }
.pres-stage { background: var(--ln-pres-stage); color: var(--ln-pres-on-stage); }
.pres-head { padding-block: 26px 16px; }
.pres-head h1 { font-weight: 700; font-size: var(--ln-text-hero-fluid); line-height: 1.05; margin: 0 0 8px; color: var(--ln-pres-on-stage); text-wrap: balance; }
.pres-head p { margin: 0; color: var(--ln-pres-on-stage-soft); max-width: 62ch; }
.pres-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 28px; align-items: start; padding-bottom: 16px; }
.pres-view { min-width: 0; display: flex; justify-content: center; align-items: flex-start; min-height: 610px; }
.pres-device { width: 100%; background: var(--ln-pres-device); border-radius: var(--ln-radius-stage); padding: 10px; }
.pres-device[data-side="public"] { max-width: 350px; }
.pres-device[data-side="interne"] { max-width: 540px; border-radius: var(--ln-radius); }
.pres-device__who { margin: 0 4px 8px; font-size: var(--ln-text-sm); color: var(--ln-pres-on-stage-soft); display: flex; justify-content: space-between; gap: 10px; }
.pres-device__who b { color: var(--ln-pres-sign); }
.pres-device__scroll { max-height: 560px; overflow-y: auto; border-radius: var(--ln-radius); background: var(--ln-pres-card); }
.pres-screen { position: relative; }
.pres-screen svg { display: block; width: 100%; height: auto; }
.pres-hot { position: absolute; background: transparent; border: 0; padding: 0; margin: 0; cursor: pointer; border-radius: var(--ln-radius-sm); }
.pres-hot:focus-visible { outline: 3px solid var(--ln-pres-sign); outline-offset: 2px; }
.pres-hot.is-lit { box-shadow: 0 0 0 3px var(--ln-pres-sign); }
.is-exploring .pres-hot { box-shadow: 0 0 0 2px var(--ln-pres-sign-soft); }
.is-exploring .pres-hot:hover { box-shadow: 0 0 0 3px var(--ln-pres-sign); }
@media (prefers-reduced-motion: no-preference) {
  .pres-hot.is-lit { animation: pres-lit 1.3s ease-in-out infinite; }
  @keyframes pres-lit { 50% { box-shadow: 0 0 0 7px var(--ln-pres-sign-soft); } }
  .pres-screen:not([hidden]), .pres-slide:not([hidden]) { animation: pres-arrive .28s ease-out; }
  @keyframes pres-arrive { from { transform: translateY(6px); } to { transform: none; } }
}
.pres-slide { width: 100%; background: var(--ln-pres-stage-2); border: 1px solid var(--ln-pres-stage-line); border-radius: var(--ln-radius); padding: 22px; min-width: 0; }
.pres-slide h3 { font-size: var(--ln-text-sm); letter-spacing: .05em; text-transform: uppercase; font-weight: 600; color: var(--ln-pres-on-stage-soft); margin: 0 0 8px; }
.pres-big { font-size: var(--ln-text-hero-fluid); font-weight: 700; line-height: 1; margin: 0; font-variant-numeric: tabular-nums; color: var(--ln-pres-sign); }
.pres-big-sub { margin: 6px 0 18px; color: var(--ln-pres-on-stage-soft); }
.pres-stack { position: relative; padding-top: 26px; margin-bottom: 12px; }
.pres-stack__bar { display: flex; height: 34px; border-radius: var(--ln-radius-sm); overflow: hidden; }
.pres-seg { display: block; min-width: 2px; }
.pres-seg--services { background: var(--ln-pres-seg-1); }
.pres-seg--initial { background: var(--ln-pres-seg-2); }
.pres-seg--recurring { background: var(--ln-pres-seg-3); }
.pres-seg--provision { background: var(--ln-pres-seg-4); }
.pres-cap { position: absolute; top: 0; bottom: 0; border-left: 2px dashed var(--ln-pres-sign); }
.pres-cap span { position: absolute; top: 0; right: 6px; white-space: nowrap; font-size: var(--ln-text-sm); color: var(--ln-pres-sign); font-weight: 700; }
.pres-legend { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 4px; font-size: var(--ln-text-base); }
.pres-legend li { display: flex; justify-content: space-between; gap: 14px; }
.pres-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 2px; margin-right: 7px; vertical-align: -1px; min-width: 0; }
.pres-legend b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pres-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border-top: 1px solid var(--ln-pres-stage-line); padding-top: 12px; }
.pres-facts p { margin: 0; color: var(--ln-pres-on-stage-soft); font-size: var(--ln-text-sm); }
.pres-facts b { display: block; font-size: var(--ln-text-xl); color: var(--ln-pres-on-stage); font-variant-numeric: tabular-nums; }
.pres-points { display: grid; gap: 14px; }
.pres-point { border-top: 1px solid var(--ln-pres-stage-line); padding-top: 12px; }
.pres-point:first-child { border-top: 0; padding-top: 0; }
.pres-point b { display: block; color: var(--ln-pres-sign); font-size: var(--ln-text-xl); line-height: 1.15; font-variant-numeric: tabular-nums; }
.pres-point span { color: var(--ln-pres-on-stage-soft); font-size: var(--ln-text-base); }
.pres-ways { display: grid; gap: 10px; }
.pres-way { border: 1px solid var(--ln-pres-stage-line); border-radius: var(--ln-radius-sm); padding: 12px 14px; }
.pres-way--on { border-color: var(--ln-pres-sign); }
.pres-way small { color: var(--ln-pres-sign); font-weight: 700; font-size: var(--ln-text-sm); display: block; }
.pres-way b { display: block; font-size: var(--ln-text-md); line-height: 1.25; }
.pres-way span { display: block; font-variant-numeric: tabular-nums; font-weight: 600; }
.pres-way em { display: block; font-style: normal; color: var(--ln-pres-on-stage-soft); font-size: var(--ln-text-sm); line-height: 1.35; margin-top: 2px; }
.pres-panel { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pres-panel h2 { font-weight: 700; font-size: var(--ln-text-title); line-height: 1.1; margin: 0; color: var(--ln-pres-on-stage); text-wrap: balance; }
.pres-caption { font-size: var(--ln-text-lead); line-height: 1.35; margin: 0; min-height: 5.4em; }
.is-nocc .pres-caption { visibility: hidden; }
.pres-chapters { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ln-pres-stage-line); }
.pres-chapters button { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--ln-pres-stage-line); color: var(--ln-pres-on-stage-soft); font: inherit; font-size: var(--ln-text-base); padding: 7px 2px; cursor: pointer; display: flex; gap: 10px; }
.pres-chapters button:hover { color: var(--ln-pres-on-stage); }
.pres-chapters button:focus-visible, .pres-bar button:focus-visible, .pres-explore button:focus-visible { outline: 3px solid var(--ln-pres-sign); outline-offset: 2px; }
.pres-chapters button[aria-current="true"] { color: var(--ln-pres-on-stage); font-weight: 700; }
.pres-chapters button[aria-current="true"] .pres-n { color: var(--ln-pres-sign); }
.pres-n { font-variant-numeric: tabular-nums; width: 1.2em; flex: none; }
.pres-explore { background: var(--ln-pres-stage-2); border: 1px solid var(--ln-pres-stage-line); border-radius: var(--ln-radius-sm); padding: 14px; display: grid; gap: 10px; }
.pres-explore p { margin: 0; }
.pres-explore__row { display: flex; flex-wrap: wrap; gap: 8px; }
.pres-btn { font: inherit; font-weight: 700; font-size: var(--ln-text-base); border-radius: var(--ln-radius-sm); padding: 8px 14px; cursor: pointer; border: 1px solid var(--ln-pres-stage-line); background: transparent; color: var(--ln-pres-on-stage); }
.pres-btn:hover { border-color: var(--ln-pres-on-stage-soft); }
.pres-btn--main { background: var(--ln-pres-sign); color: var(--ln-pres-sign-ink); border-color: var(--ln-pres-sign); }
.pres-bar-wrap { background: var(--ln-pres-device); position: sticky; bottom: 0; z-index: 8; padding-bottom: env(safe-area-inset-bottom, 0px); }
.pres-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-block: 10px; }
.pres-play { min-width: 112px; }
#scrub { flex: 1 1 160px; min-width: 0; accent-color: var(--ln-pres-sign); height: 24px; }
.pres-time { font-variant-numeric: tabular-nums; font-size: var(--ln-text-sm); color: var(--ln-pres-on-stage-soft); white-space: nowrap; }
.pres-sound-note { margin: 0; color: var(--ln-pres-sign); font-size: var(--ln-text-sm); flex-basis: 100%; }
.pres-main section { padding-block: 32px; border-bottom: 1px solid var(--ln-pres-line); }
.pres-main h2 { font-weight: 700; font-size: var(--ln-text-xl); line-height: 1.15; margin: 0 0 12px; text-wrap: balance; }
.pres-main p, .pres-main ul { max-width: 68ch; }
.pres-table-wrap { overflow-x: auto; min-width: 0; }
.pres-main table { border-collapse: collapse; width: 100%; font-size: var(--ln-text-base); }
.pres-main th, .pres-main td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--ln-pres-line); vertical-align: top; }
.pres-main th { font-size: var(--ln-text-sm); color: var(--ln-pres-muted); font-weight: 600; }
.pres-main .pres-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pres-strong td { font-weight: 700; }
.pres-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.pres-question { padding-block: 10px; border-bottom: 1px solid var(--ln-pres-line); max-width: 80ch; }
.pres-question b { display: block; }
.pres-question span { color: var(--ln-pres-muted); font-size: var(--ln-text-base); }
.pres-fine { font-size: var(--ln-text-sm); color: var(--ln-pres-muted); }
.pres-foot { font-size: var(--ln-text-base); color: var(--ln-pres-muted); padding-block: 26px 40px; }
.pres-foot p { max-width: 80ch; margin: 0 0 8px; }
.pres-link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--ln-pres-muted); text-decoration: underline; cursor: pointer; }
.pres-link-button:focus-visible { outline: 3px solid var(--ln-pres-sign); outline-offset: 2px; }
.pres-pron { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.pres-gone { max-width: 560px; margin: 15vh auto; padding-inline: 16px; }
.pres-gone h1 { font-size: var(--ln-text-title); margin: 0 0 8px; }
@media (max-width: 880px) {
  .pres-notice span { display: none; }
  .is-started .pres-head { display: none; }
  .is-started .pres-grid { padding-top: 10px; }
  .pres-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pres-view { min-height: 0; }
  .pres-head { padding-block: 16px 12px; }
  .pres-head p { font-size: var(--ln-text-base); }
  .pres-panel { order: -1; gap: 6px; }
  .pres-device__scroll { max-height: calc(100svh - 330px); min-height: 220px; }
  .pres-slide { max-height: calc(100svh - 280px); overflow-y: auto; padding: 16px; }
  .pres-chapters { display: none; }
  .pres-caption { font-size: var(--ln-text-md); line-height: 1.3; min-height: 3.9em; }
  .pres-panel h2 { font-size: var(--ln-text-xl); }
  .pres-two { grid-template-columns: minmax(0, 1fr); }
  .pres-facts b { font-size: var(--ln-text-lg); }
  .pres-play { min-width: 92px; }
  #scrub { flex-basis: calc(100% - 96px); order: -2; }
  .pres-time { order: -1; }
  .pres-bar { padding-block: 6px 8px; }
  .pres-bar .pres-btn { padding: 6px 10px; font-size: var(--ln-text-sm); }
}
