/* Plancher JP Évolution — le hero : la porte, le chantier, le résultat. Le film avance avec le défilement. */
.film { position: relative; height: 300vh; }
.film__ecran { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0b0c0f; }
.film__affiche, .film canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.film__voile { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgb(var(--fonce-rvb) / .9) 0%, rgb(var(--fonce-rvb) / .45) 34%, rgb(var(--fonce-rvb) / 0) 60%), linear-gradient(to bottom, rgb(var(--fonce-rvb) / .62), rgb(var(--fonce-rvb) / 0) 20%); }

.film__texte { position: absolute; left: clamp(16px, 3.4vw, 52px); right: clamp(16px, 3.4vw, 52px); bottom: clamp(26px, 5vh, 60px); padding-bottom: env(safe-area-inset-bottom); will-change: opacity, transform; }
.film__titre { font-stretch: 122%; font-weight: 850; font-size: clamp(38px, 6.6vw, 116px); line-height: .94; letter-spacing: -.035em; margin: 16px 0 0; max-width: 15ch; text-wrap: balance; text-shadow: 0 2px 40px rgba(0, 0, 0, .5); }
.film__titre em { font-style: normal; color: var(--rouge); }
.film__sous { max-width: 48ch; margin-top: 16px; font-size: clamp(15px, 1.25vw, 19px); color: rgb(var(--clair-rvb) / .88); }
.film__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.film__indice { display: flex; align-items: center; gap: 10px; opacity: .75; }
.film__indice::before { content: ''; width: 1px; height: 30px; background: linear-gradient(var(--blanc), transparent); animation: film-descend 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes film-descend { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.btn--verre { background: rgb(var(--clair-rvb) / .12); color: var(--blanc); box-shadow: inset 0 0 0 1px rgb(var(--clair-rvb) / .45); backdrop-filter: blur(8px); }
@media (hover: hover) { .btn--verre:hover { background: rgb(var(--clair-rvb) / .22); } }

/* Les trois repères posés sur les travailleurs, pendant l'arrêt sur le chantier */
.film__point { position: absolute; display: flex; align-items: center; gap: 10px; transform: translate(-9px, -50%); opacity: 0; pointer-events: none; white-space: nowrap; }
.film__point i { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--rouge); box-shadow: 0 0 0 5px rgba(224, 58, 48, .28); }
.film__point span { background: rgb(var(--fonce-rvb) / .82); padding: 8px 12px; border-radius: 4px; backdrop-filter: blur(6px); }
.film__point--gauche { flex-direction: row-reverse; transform: translate(calc(-100% + 9px), -50%); }

/* Les trois actes, en haut à droite */
.film__actes { position: absolute; right: clamp(16px, 3.4vw, 52px); top: 100px; display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
.film__actes li { opacity: .45; padding-bottom: 6px; border-bottom: 2px solid transparent; transition: opacity .3s ease, border-color .3s ease; }
.film__actes li.est-actif { opacity: 1; border-color: var(--rouge); }

@media (max-width: 900px) {
  .film { height: 220vh; }
  .film__titre { font-size: clamp(34px, 10.6vw, 68px); }
  .film__actes { top: 84px; gap: 12px; }
  .film__point span { padding: 6px 9px; font-size: 10.5px; }
  .film__indice { display: none; }
}
@media (prefers-reduced-motion: reduce) { .film { height: 100vh; height: 100svh; } }
