/* 16 Lenses — Le pourquoi : l'ennéagramme (enneagramme-parcours.js). --l : couleur du centre. */
.ri-ennea .en-n { opacity: .55; margin-left: 6px; }
.en-noir { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, #15121c, #060509 70%); }
.en-fond { filter: brightness(.7); }
.en-souvenir { filter: saturate(.35) brightness(.6) sepia(.15); animation: en-souv 9s ease-out both; }
@keyframes en-souv { from { transform: scale(1.12); filter: saturate(.9) brightness(.8); } }
.en-scene { margin: 0 0 6px; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 20px; color: #cfc4d3; }
.en-avance { transform-origin: 50% 48%; animation: en-avance 7s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes en-avance { to { transform: scale(1.45); } }

/* La pupille : image carrée posée au centre ; le zoom et la lueur partent du centre mesuré de la pupille (--px, --py). */
.en-pupille { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
/* Le centre de la pupille (--px, --py de l'image) est posé exactement au centre de l'écran ; le zoom part de ce point. */
.en-cadre { position: absolute; left: 50%; top: 50%; width: min(100vw, 100vh); aspect-ratio: 1; translate: calc(-1 * var(--px)) calc(-1 * var(--py)); transform-origin: var(--px) var(--py); }
.en-cadre img { width: 100%; height: 100%; object-fit: cover; display: block; }
.en-halo { position: absolute; left: var(--px); top: var(--py); width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, #fff 0 4%, var(--l) 12%, color-mix(in srgb, var(--l) 40%, transparent) 30%, transparent 66%); mix-blend-mode: screen; animation: en-pouls 3s ease-in-out infinite; }
@keyframes en-pouls { 50% { transform: translate(-50%, -50%) scale(1.15); opacity: .85; } }
.en-plonge .en-cadre { width: max(100vw, 100vh); animation: en-plonge 7s cubic-bezier(.35, 0, .2, 1) both; }
@keyframes en-plonge { from { transform: scale(1); } to { transform: scale(2.2); } }
.en-plonge .en-halo { opacity: 0; animation: en-allume 2.4s ease 1.6s forwards, en-pouls 3s ease-in-out 4s infinite; }
@keyframes en-allume { from { opacity: 0; transform: translate(-50%, -50%) scale(.2); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.en-fondpupille { opacity: .35; }
.en-fondpupille .en-cadre { width: max(100vw, 100vh); transform: scale(1.6); }
.en-petite, .en-moyenne { position: relative; inset: auto; display: block; overflow: hidden; border-radius: 50%; }
.en-petite { width: 110px; height: 110px; margin: 0 auto 8px; }
.en-moyenne { width: 120px; height: 120px; flex: 0 0 auto; box-shadow: 0 0 40px -6px var(--l); }
.en-petite .en-cadre, .en-moyenne .en-cadre { width: 100%; transform: scale(2.4); }
.en-petite .en-halo, .en-moyenne .en-halo { width: 30%; }

.en-zone { position: absolute; inset: 0; z-index: 2; overflow-y: auto; padding: 78px clamp(20px, 6vw, 96px) 48px; max-width: 1120px; margin: 0 auto; box-sizing: border-box; display: flex; flex-direction: column; cursor: default; }
.en-zone > :first-child { margin-top: auto; } .en-zone > :last-child { margin-bottom: auto; }
.en-sous { margin: 0 0 14px; max-width: 66ch; color: #d9d1dc; line-height: 1.5; }
.en-intro-g { display: grid; grid-template-columns: minmax(220px, .8fr) 1.2fr; gap: clamp(16px, 4vw, 44px); align-items: center; }
.en-intro-g p { margin: 0 0 10px; line-height: 1.6; color: #ece4dc; font-size: clamp(14.5px, 1.3vw, 16.5px); }
.en-intro-g strong { color: #fff; }
.en-honnete { font-size: 12.5px !important; color: #8f8693 !important; }
.en-symbole { width: 100%; max-width: 340px; display: block; margin: 0 auto; overflow: visible; }
.en-cercle { fill: none; stroke: #ffffff40; stroke-width: .4; }
.en-tri, .en-hex { fill: none; stroke: #e9e2ee; stroke-width: .45; stroke-dasharray: 400; stroke-dashoffset: 400; animation: en-trace 2.4s ease forwards; }
.en-hex { animation-delay: 1.2s; opacity: .7; }
@keyframes en-trace { to { stroke-dashoffset: 0; } }
.en-pt { cursor: pointer; opacity: 0; animation: ri-apparait .5s ease forwards; animation-delay: var(--d); }
.en-pt text { font-size: 4.5px; fill: #e9e2ee; text-anchor: middle; font-family: Inter, sans-serif; }
.en-pt.on circle { r: 4.6; filter: drop-shadow(0 0 2px #fff); }
.en-legende { text-align: center; font-size: 13px; color: #a99fad; margin: 6px 0 0; }
.en-info { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: #0b0a0fe0; border: 1px solid #ffffff26; font-size: 14.5px; line-height: 1.5; }
.en-trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.en-trois button { font: inherit; color: #f1eae2; text-align: center; cursor: pointer; padding: 14px; border-radius: 18px; background: #0b0a0fd9; border: 1px solid color-mix(in srgb, var(--l) 40%, transparent); display: flex; flex-direction: column; gap: 6px; transition: border-color .3s, box-shadow .3s; }
.en-trois button:hover, .en-trois button.ouvert { border-color: var(--l); box-shadow: 0 0 30px -10px var(--l); }
.en-trois strong { color: var(--l); font-size: 18px; }
.en-emo { font-size: 13px; color: #cfc4d3; }
.en-raison, .en-detail { font-size: 14px; line-height: 1.5; color: #ece4dc; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s, opacity .5s; }
.ouvert .en-raison, .ouvert .en-detail { max-height: 260px; opacity: 1; }
.en-detail em { display: block; color: #fff; margin-bottom: 6px; }
.en-detail b { display: block; margin-top: 6px; font-weight: 500; color: #cfc4d3; font-size: 13px; }
.en-conclu { margin: 14px 0 0; max-width: 74ch; line-height: 1.6; border-left: 3px solid #e9e2ee; padding-left: 14px; animation: ri-apparait .6s ease; }
.en-q { margin: 0 0 12px; }
.en-q p { margin: 0 0 6px; font-weight: 600; }
.en-rep { display: grid; gap: 6px; max-width: 760px; }
.en-rep button { font: inherit; text-align: left; cursor: pointer; color: #f1eae2; padding: 10px 14px; border-radius: 12px; background: #0b0a0fd9; border: 1px solid #ffffff2b; font-size: 14.5px; line-height: 1.4; }
.en-rep button:hover { border-color: #ffffff66; }
.en-rep button.choisi { border-color: var(--l, #e9e2ee); background: color-mix(in srgb, var(--l, #e9e2ee) 16%, #0b0a0f); }
.en-rep-base button { font-size: clamp(15px, 1.4vw, 17px); padding: 14px 16px; }
.en-resultat { display: flex; gap: 18px; align-items: center; margin-top: 8px; padding: 14px 16px; border-radius: 16px; background: #0b0a0fe6; border: 1px solid #ffffff2b; animation: ri-apparait .6s ease; }
.en-resultat p { margin: 4px 0 0; line-height: 1.5; }
.en-confirme { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: #0b0a0fe6; border-left: 3px solid var(--l); animation: ri-apparait .5s ease; max-width: 760px; }
.en-confirme p { margin: 0 0 8px; line-height: 1.5; }
.en-ok { color: var(--l); }
.en-nom { font-style: italic; color: var(--l); }
.en-piste { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.en-piste > div { padding: 12px 14px; border-radius: 14px; background: #0b0a0fd9; border: 1px solid #ffffff1f; }
.en-piste .en-large { grid-column: 1 / -1; border-color: color-mix(in srgb, var(--l) 45%, transparent); }
.en-piste span { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, var(--l) 70%, #fff); margin-bottom: 4px; }
.en-piste p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #ece4dc; }
.en-liens { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.en-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.en-duo figure { margin: 0; display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: #0b0a0fd9; border: 1px solid color-mix(in srgb, var(--l) 45%, transparent); }
.en-duo img { width: 120px; height: 120px; border-radius: 14px; object-fit: cover; object-position: 50% 25%; box-shadow: 0 0 0 1px var(--c); }
.en-duo strong { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 22px; display: block; }
.en-duo span { font-size: 13px; color: var(--l); }
.en-duo p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; }
.en-toi { margin: 14px 0 0; max-width: 72ch; line-height: 1.55; border-left: 3px solid #e9e2ee; padding-left: 14px; }
@media (max-width: 800px) {
  .en-intro-g, .en-trois, .en-piste, .en-duo { grid-template-columns: 1fr; }
  .en-symbole { max-width: 220px; }
  .en-duo figure { grid-template-columns: 84px 1fr; } .en-duo img { width: 84px; height: 84px; }
  .en-petite { width: 80px; height: 80px; }
}
@media (prefers-reduced-motion: reduce) { .en-zone *, .en-cadre, .en-halo, .en-souvenir, .en-avance { animation: none !important; } .en-tri, .en-hex { stroke-dashoffset: 0; } .en-pt { opacity: 1; } }
/* Pupille qui remplit un cadre (espace acheteur) */
.en-remplit { position: absolute; inset: 0; border-radius: inherit; }
.en-remplit .en-cadre { width: 100%; transform: scale(2); }
.en-remplit .en-halo { width: 20%; }
.em-pupille { position: relative; }
.em-pupille > .en-pupille ~ span { display: none; }
