/* Page L'artiste : plongée dans la matière de « Grand chemin bleu » (avec plongee.js)
   Sans JS ou en mouvement réduit : la toile est affichée en grand, entière, et rien de plus. */
.plongee .oeuvre-large { text-align: center; }
.plongee .plongee-toile { display: block; }
.plongee .oeuvre-large img { width: auto; height: auto; max-width: 100%; max-height: calc(100svh - var(--header) - 5.5rem); margin-inline: auto; }

/* Séquence épinglée : ≈ 1 écran de défilement sur ordinateur, plus court sur téléphone */
.plongee.anim { height: 200svh; margin-bottom: var(--section); }
.plongee.anim .oeuvre-large { position: sticky; top: var(--header); height: calc(100svh - var(--header)); max-width: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; text-align: left; }
.plo-vue { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.plo-calque { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.plongee.anim .plongee-toile { position: relative; width: 100%; height: 100%; }
.plongee.anim .oeuvre-large img { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; }
.plongee.anim .plo-hd { position: absolute; inset: 0; background: none; opacity: 0; transition: opacity var(--d-recit) var(--courbe-sortie); }
.plongee.anim .plo-hd.on { opacity: 1; }

/* Légende sobre, en trois temps : le cartel, le détail, la phrase du peintre */
.plongee.anim .plo-legende { display: grid; align-items: center; justify-items: center; flex: none; height: 4.5rem; margin: 0; padding: 0 var(--gutter); text-align: center; }
.plo-t { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity var(--d-moyen) var(--courbe-sortie), visibility 0s var(--d-moyen); }
.plo-t.on { opacity: 1; visibility: visible; transition: opacity var(--d-moyen) var(--courbe-sortie) var(--d-instant), visibility 0s; }
.plo-t2 { font-variant-numeric: lining-nums tabular-nums; }
.plo-t3 { font: italic 400 var(--t-chapo)/1.3 var(--serif); color: var(--ink); text-wrap: balance; }

@media (max-width: 699px) {
  .plongee.anim { height: 170svh; }
  .plongee.anim .plo-legende { height: 5.25rem; }
  .plo-t3 { font-size: 1.125rem; }
}
