/* 16 Lenses — La plongée du regard au moteur (plongee-moteur.js), dans le lecteur plein écran. --l : couleur de la lueur. */
.ri-plongee .ri-sur .pm-n { opacity: .55; margin-left: 6px; letter-spacing: .04em; }
.pm-fondu { animation: pm-fondu 1.1s ease both; }
@keyframes pm-fondu { from { opacity: 0; } to { opacity: 1; } }
.pm-scene { margin: 0 0 6px; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 20px; color: #cfc4d3; }

/* 1 — le souvenir : la scène revient, désaturée, comme un souvenir */
.pm-souvenir { filter: saturate(.35) brightness(.62) sepia(.15); animation: pm-souvenir 9s ease-out both; }
@keyframes pm-souvenir { from { transform: scale(1.12); filter: saturate(.9) brightness(.8); } to { transform: scale(1); } }

/* 2 — l'œil : la caméra avance vers la pupille */
.pm-avance { transform-origin: 50% 48%; animation: pm-avance 7s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes pm-avance { from { transform: scale(1); } to { transform: scale(1.45); } }

/* 3-4 — la pupille, puis la lueur : l'image carrée est posée au centre, la caméra continue d'avancer */
.pm-cadre { position: absolute; inset: 0; display: grid; place-items: center; background: #050407; overflow: hidden; }
.pm-pup { width: max(100vw, 100vh); height: max(100vw, 100vh); object-fit: cover; }
.pm-plonge { animation: pm-plonge 6s cubic-bezier(.35, 0, .2, 1) both; }
@keyframes pm-plonge { from { transform: scale(.85); filter: brightness(.9); } to { transform: scale(1.6); filter: brightness(.7); } }
.pm-fond { transform: scale(1.6); animation: pm-fond 7s cubic-bezier(.35, 0, .2, 1) both; }
@keyframes pm-fond { from { transform: scale(1.6); filter: brightness(.7); } to { transform: scale(2.6); filter: brightness(.55); } }
.pm-halo { position: absolute; left: 50%; top: 50%; width: 30vmin; height: 30vmin; margin: -15vmin 0 0 -15vmin; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #fff 0 3%, var(--l) 9%, color-mix(in srgb, var(--l) 45%, transparent) 26%, transparent 62%);
  mix-blend-mode: screen; opacity: 0; animation: pm-halo 3.2s ease 1s forwards, pm-pouls 3s ease-in-out 4.2s infinite; }
@keyframes pm-halo { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes pm-pouls { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.pv-lueur .ri-texte .ri-apres { animation-delay: 2.6s; }
.pv-lueur .pm-formule { animation-delay: 4s !important; }
.pm-mot { color: var(--l); font-style: italic; text-shadow: 0 0 28px color-mix(in srgb, var(--l) 60%, transparent); }
.pm-formule { margin: 18px 0 0; max-width: 52ch; font-size: clamp(16px, 1.5vw, 19px); color: #cfc4d3; border-left: 2px solid var(--l); padding-left: 14px; }
.pm-formule strong { color: #fff; }

/* 5 — même regard, autre moteur */
.pm-fond-sombre { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--c) 22%, #0b0a0f), #060509 70%); }
.pm-jumeau, .pm-trois-zone { position: absolute; inset: 0; z-index: 2; overflow: auto; display: flex; flex-direction: column; justify-content: center; padding: 90px clamp(20px, 6vw, 96px) 60px; max-width: 1100px; margin: 0 auto; box-sizing: border-box; }
.pm-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 3vw, 36px); margin-top: 10px; }
.pm-visage { margin: 0; opacity: 0; animation: ri-apparait .8s ease forwards; }
.pm-visage + .pm-visage { animation-delay: .7s; }
.pm-photo { position: relative; aspect-ratio: 1; max-height: 42vh; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 50%, transparent), 0 24px 60px -30px var(--l); }
.pm-face { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.pm-point { position: absolute; left: 50%; bottom: 14px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle, #fff 0 18%, var(--l) 45%, transparent 72%); box-shadow: 0 0 22px 6px color-mix(in srgb, var(--l) 55%, transparent); animation: pm-pouls 2.6s ease-in-out infinite; }
.pm-visage figcaption { padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.pm-visage strong { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); }
.pm-dom { font-size: 13px; color: #b4a9b8; }
.pm-base { font-size: 13px; letter-spacing: .04em; color: var(--l); }
.pm-visage p { margin: 6px 0 0; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.5; color: #ece4dc; }

/* 6 — trois lueurs, neuf moteurs */
.pm-trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 3vw, 40px); margin: 6px 0 24px; max-width: 760px; }
.pm-trois figure { margin: 0; text-align: center; opacity: 0; animation: ri-apparait .7s ease forwards; }
.pm-trois figure:nth-child(2) { animation-delay: .45s; } .pm-trois figure:nth-child(3) { animation-delay: .9s; }
.pm-rond { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px #ffffff22; transition: box-shadow .4s; }
.pm-rond .pm-face { object-position: 50% 50%; transform: scale(1.9); }
.pm-rond .pm-point { top: 50%; bottom: auto; margin: -7px 0 0 -7px; }
.pm-trois .lui .pm-rond { box-shadow: 0 0 0 2px var(--l), 0 0 46px -6px var(--l); }
.pm-trois figure:not(.lui) { filter: saturate(.6) brightness(.75); }
.pm-trois figcaption { margin-top: 12px; display: flex; flex-direction: column; gap: 3px; }
.pm-trois strong { color: var(--l); font-size: clamp(16px, 1.6vw, 20px); }
.pm-trois small { color: #b4a9b8; font-size: 12.5px; }
.pm-trois em { font-style: normal; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.pm-trois-zone .ri-ligne { animation-delay: 1.6s; }

/* 7 — et toi */
.pm-veille { filter: brightness(.55); animation: pm-souvenir 9s ease-out both; }
.pm-boutons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

@media (max-width: 700px) {
  .pm-jumeau, .pm-trois-zone { justify-content: flex-start; padding-top: 84px; }
  .pm-photo { max-height: 30vh; }
  .pm-visage p { font-size: 14px; }
  .pm-trois small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pm-souvenir, .pm-avance, .pm-plonge, .pm-fond, .pm-halo, .pm-veille, .pm-point, .pm-visage, .pm-trois figure, .pm-fondu { animation: none !important; opacity: 1 !important; }
  .pm-fond { transform: scale(2.2); }
}
