/* 16 Lenses — l'offre vécue comme la suite du parcours (offre-parcours.js). Couleur : --c (le personnage). */
.op-mosaique { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; filter: brightness(.35) saturate(.7); }
.op-mosaique img { width: 100%; height: 100%; object-fit: cover; display: block; }
.op-portes-z, .op-proche-z, .op-chemin-z { max-width: 980px; }
.op-portes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0 10px; }
.op-porte { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 8px 8px 12px; border-radius: 18px; background: #0b0a0fd9; border: 1px solid #ffffff24; transition: transform .25s, border-color .25s, box-shadow .25s; opacity: 0; animation: ri-apparait .6s ease forwards; }
.op-porte:nth-child(2) { animation-delay: .12s; } .op-porte:nth-child(3) { animation-delay: .24s; } .op-porte:nth-child(4) { animation-delay: .36s; }
.op-porte img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; filter: saturate(.85); }
.op-porte b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 22px; color: #fff; padding: 0 6px; }
.op-porte small { font-size: 13px; line-height: 1.4; color: #cfc4d3; padding: 0 6px; }
.op-porte:hover, .op-porte:focus-visible { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 0 34px -10px var(--c); }
.op-porte.on { border-color: var(--c); box-shadow: 0 0 0 2px var(--c), 0 0 40px -8px var(--c); }
.op-secoue { animation: op-secoue .45s ease; }
@keyframes op-secoue { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.op-scene { max-width: 760px; }
.op-temps { list-style: none; padding: 0; margin: 16px 0 8px; display: grid; gap: 10px; }
.op-temps li { padding: 12px 16px; border-radius: 14px; background: #0b0a0fd9; border-left: 3px solid var(--c); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.op-temps li.op-vu { opacity: 1; transform: none; }
.op-temps li:nth-child(3) { border-left-color: #ef9a8a; }
.op-temps span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 70%, #fff); margin-bottom: 4px; }
.op-temps li:nth-child(3) span { color: #ef9a8a; }
.op-temps p { margin: 0; font-size: clamp(15px, 1.35vw, 17.5px); line-height: 1.5; color: #f1eae2; }
.op-consigne.op-fini { opacity: 0; }

.op-flou { filter: blur(6px) brightness(.45) !important; }
.op-ferme { position: relative; max-width: 640px; margin: 18px auto 0; padding: 18px 20px 18px 58px; border-radius: 18px; text-align: left; background: #0b0a0fe6; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.op-ferme p { margin: 0; font-size: clamp(15px, 1.35vw, 17px); line-height: 1.55; color: #ece4dc; }
.op-verrou { position: absolute; left: 20px; top: 20px; width: 22px; height: 22px; background: var(--c); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2zm2 0h6V7a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2zm2 0h6V7a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center/contain no-repeat; }

.op-cadeau { max-width: 640px; margin: 18px auto 10px; padding: 18px 22px; border-radius: 18px; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 22%, #0b0a0f), #0b0a0fe6 70%); border: 1px solid var(--c); box-shadow: 0 0 50px -18px var(--c); opacity: 0; animation: ri-apparait .8s ease .5s forwards; }
.op-cadeau span { display: block; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 70%, #fff); margin-bottom: 8px; }
.op-cadeau strong { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; color: #fff; }

.op-iris { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin: 16px auto 12px; max-width: 640px; }
.op-iris button { all: unset; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; letter-spacing: .06em; color: #b4a9b8; }
.op-iris img { width: 100%; max-width: 58px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px #ffffff22; transition: transform .2s, box-shadow .2s; }
.op-iris button:hover img, .op-iris button:focus-visible img { transform: scale(1.08); }
.op-iris button.on img { box-shadow: 0 0 0 2px var(--c), 0 0 18px -2px var(--c); transform: scale(1.12); }
.op-iris button.on span { color: #fff; }
.op-relation { max-width: 640px; margin: 0 auto; min-height: 96px; text-align: left; }
.op-relation > p { margin: 0 0 6px; line-height: 1.5; color: #ece4dc; }
.op-rel-nom b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 24px; color: #fff; }
.op-rel-pq { font-size: 14px; color: #cfc4d3 !important; border-left: 2px solid var(--c); padding-left: 10px; }
.op-rel-plus { font-size: 13px; color: #a99fad !important; }

.op-chemin { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; text-align: left; }
.op-chemin li { position: relative; padding: 8px 8px 12px; border-radius: 14px; background: #0b0a0fd9; border: 1px solid #ffffff1f; opacity: 0; animation: ri-apparait .5s ease forwards; animation-delay: calc(var(--k) * .12s); }
.op-chemin li.vu { border-color: var(--c); }
.op-chemin img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; filter: saturate(.8) brightness(.85); }
.op-chemin span { position: absolute; top: 14px; left: 14px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--c); color: #0b0a0d; }
.op-chemin p { margin: 8px 4px 0; font-size: 13.5px; line-height: 1.4; color: #ece4dc; }
.op-chemin em { display: block; margin: 4px 4px 0; font-style: normal; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--c); }

@media (max-width: 800px) {
  .op-portes { grid-template-columns: 1fr 1fr; gap: 8px; }
  .op-porte img { aspect-ratio: 16 / 9; } .op-porte b { font-size: 18px; } .op-porte small { font-size: 12px; }
  .op-iris { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .op-chemin { grid-template-columns: 1fr 1fr; }
  .op-chemin p { font-size: 12.5px; margin-top: 30px; }
  .op-chemin img { display: none; }
  .op-chemin li { padding: 8px 10px 10px; }
  .op-chemin span { top: 8px; left: 10px; }
  .op-chemin-z { padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) { .op-porte, .op-chemin li, .op-cadeau { animation: none !important; opacity: 1 !important; } .op-temps li { transition: none; } }
/* Sortie directe vers le prix, sur chaque écran (30/11) */
.op-sortie { all: unset; position: absolute; right: 18px; bottom: 18px; z-index: 5; cursor: pointer; padding: 9px 14px; border-radius: 999px; font: 600 13px Inter, system-ui, sans-serif; color: #f1eae2; background: #0b0a0fcc; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); backdrop-filter: blur(6px); }
.op-sortie:hover, .op-sortie:focus-visible { border-color: var(--c); box-shadow: 0 0 20px -6px var(--c); }
.op-ferme b { color: #fff; font-weight: 600; }
@media (max-width: 800px) { .op-sortie { right: 12px; bottom: 12px; padding: 8px 12px; } }
