/* =========================================================================
   PRINTÉA v1.5 — Page Impression : le Canon imageFORCE C5140 en mouvement
   Séquence filmée (320 images, vidéos Canon de Printéa) pilotée par le défilement,
   dans le studio sombre de Printéa. Ouverture : un cadre arrondi qui s'agrandit
   jusqu'au plein écran (même geste que la section C5140 de la page).
   ========================================================================= */
.seq { position: relative; height: 460vh; background: #171c1b; }
.seq__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.seq__frame {
  position: absolute; inset: 0; overflow: hidden;
  background: radial-gradient(ellipse 70% 90% at 55% 50%, #39413f 0%, #222827 55%, #171c1b 100%);
  clip-path: inset(9% 6% 9% 6% round 28px); will-change: clip-path;
}
.seq__canvas, .seq__fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.seq__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(23, 28, 27, .62) 0%, rgba(23, 28, 27, .18) 34%, rgba(23, 28, 27, 0) 55%),
              linear-gradient(0deg, rgba(23, 28, 27, .55) 0%, rgba(23, 28, 27, 0) 30%); }

/* légendes */
.seq__caps { position: absolute; left: var(--gutter, 6vw); bottom: clamp(56px, 12svh, 120px); width: min(440px, 38vw); color: #fff; }
.seq__cap { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; transform: translateY(18px); visibility: hidden; }
.seq__cap .eyebrow { color: rgba(255, 255, 255, .78); display: flex; align-items: center; gap: 10px; }
.seq__cap .eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #03b4ce; }
.seq__cap h3 { margin: 14px 0 12px; font-size: clamp(30px, 3.6vw, 56px); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; }
.seq__cap p { margin: 0; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.55; color: rgba(255, 255, 255, .74); }

/* progression : fin filet en bas */
.seq__bar { position: absolute; left: var(--gutter, 6vw); right: var(--gutter, 6vw); bottom: 28px; height: 1px; background: rgba(255, 255, 255, .14); opacity: 0; transition: opacity .5s; }
.seq__bar i { display: block; height: 100%; background: #03b4ce; transform-origin: 0 50%; transform: scaleX(0); }
.seq.is-on .seq__bar { opacity: 1; }
.seq__note { position: absolute; right: var(--gutter, 6vw); bottom: 40px; margin: 0; font-size: 11px; letter-spacing: .08em; color: rgba(255, 255, 255, .45); }

@media (max-width: 899px) {
  .seq { height: 420vh; }
  .seq__frame { clip-path: inset(10% 4% 10% 4% round 20px); }
  .seq__caps { left: 20px; right: 20px; width: auto; bottom: 64px; }
  .seq__cap h3 { font-size: 30px; margin: 10px 0 8px; }
  .seq__cap p { font-size: 15px; }
  .seq__shade { background: linear-gradient(0deg, rgba(23, 28, 27, .92) 0%, rgba(23, 28, 27, .55) 34%, rgba(23, 28, 27, 0) 58%); }
  .seq__note { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .seq { height: auto; }
  .seq__sticky { position: relative; height: 100svh; }
  .seq__frame { clip-path: none; }
}

/* ---------- v1.5 (bis) : la séquence ouvre la page, plus rapide ---------- */
.iv-hero { display: none; }                       /* ancienne ouverture (vidéo en boucle), remplacée par la séquence */
.seq[data-seq-first] { height: 300vh; }
.seq[data-seq-first] .seq__frame { clip-path: none; }
.seq__cap--hero { width: min(620px, 52vw); }
.seq__cap--hero .crumbs { margin-bottom: 18px; color: rgba(255, 255, 255, .62); font-size: 13px; }
.seq__cap--hero .crumbs a { color: inherit; }
.seq__cap--hero h1 { margin: 16px 0 18px; font-size: clamp(40px, 5.2vw, 84px); line-height: .98; letter-spacing: -.04em; font-weight: 500; }
.seq__soft { color: rgba(255, 255, 255, .55); }
.seq__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.seq__cap--hero { animation: seq-in .9s cubic-bezier(.22, 1, .36, 1) .15s backwards; }
@keyframes seq-in { from { opacity: 0; transform: translateY(22px); } }
.seq__hint {
  position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); transition: opacity .5s;
}
.seq__hint span { width: 1px; height: 26px; background: currentColor; transform-origin: 50% 0; animation: seq-hint 2.2s ease-in-out infinite; }
@keyframes seq-hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: 50% 0; } 51% { transform-origin: 50% 100%; } 100% { transform: scaleY(0); transform-origin: 50% 100%; } }
.seq.is-on .seq__hint { opacity: 0; }
@media (max-width: 899px) {
  .seq[data-seq-first] { height: 280vh; }
  .seq__cap--hero { width: auto; }
  .seq__cap--hero h1 { font-size: 38px; }
  .seq__cap--hero .crumbs { display: none; }
  .seq__hint { display: none; }
}
@media (max-width: 899px) {
  .seq__cap--hero .eyebrow { display: none; }
  .seq__cap--hero h1 { font-size: 32px; margin: 0 0 10px; }
  .seq__cap--hero > p { font-size: 14px; line-height: 1.45; }
  .seq__cap--hero .seq__ctas { margin-top: 16px; gap: 8px; }
  .seq__cap--hero .btn { padding-top: 11px; padding-bottom: 11px; }
  .seq[data-seq-first] .seq__caps { bottom: 40px; }
}
