/* Yunsha.be — film produit (vidéos ERP réelles). Site public uniquement. */
.ys-product .hero {
  background: #f4f8fd;
  color: #0b1f33;
  min-height: 0;
  display: block;
  padding: clamp(28px, 5vw, 56px) 0 0;
  overflow: visible;
}
.ys-product .hero-atmosphere { display: none; }
.ys-product .hero-inner {
  text-align: center;
  animation: none;
  padding-bottom: 12px;
}
.ys-product .brand-signal {
  color: #032d60;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.ys-product .hero-promo {
  background: #0176d3;
  color: #fff;
  margin-left: 8px;
  vertical-align: middle;
}
.ys-product .hero h1 {
  color: #0b1f33;
  max-width: 16ch;
  margin: 0 auto 12px;
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}
html.ym .ys-product .hero h1,
html.ym .ys-product .ym-word,
html.ym .ys-product .ym-hero-item {
  opacity: 1;
  transform: none;
  transition: none;
}
.ys-product .hero-lede {
  margin: 0 auto 18px;
  max-width: 34rem;
  color: #5a6f86;
}
.ys-product .hero-actions { justify-content: center; }
.ys-product .hero .btn.primary {
  background: #0176d3;
  color: #fff;
  box-shadow: 0 12px 28px rgba(1, 118, 211, 0.28);
}
.ys-product .hero .btn.primary:hover { background: #032d60; color: #fff; }
.ys-product .hero .btn.ghost {
  color: #032d60;
  border-color: #b7cce0;
  background: #fff;
}
.ys-product .hero .btn.ghost:hover {
  background: #eaf3fb;
  color: #032d60;
}
.ys-product .hero-promo-line {
  margin: 18px auto 0;
  color: #5a6f86;
  max-width: 48ch;
}

.ys-hero-film {
  width: 100%;
  padding: 8px 0 48px;
}

.ys-frame {
  width: min(1240px, calc(100% - 2 * var(--pad, 24px)));
  margin: 0 auto;
}
.ys-frame-screen {
  position: relative;
  background: #151826;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 18px 50px rgba(3, 45, 96, 0.16),
    0 4px 16px rgba(3, 45, 96, 0.08);
  border: 1px solid rgba(3, 45, 96, 0.08);
}
.ys-frame video,
.ys-vid {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  background: #fff;
}
.ys-frame figcaption {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: #5a6f86;
}

.ys-reel {
  background: #fff;
}
.ys-chapters {
  position: sticky;
  top: 72px;
  z-index: 22;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #d5e5f5;
}
.ys-chapters-inner {
  width: min(1240px, calc(100% - 2 * var(--pad, 24px)));
  margin: 0 auto;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}
.ys-chapters-inner::-webkit-scrollbar { display: none; }
.ys-chapters a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #0b1f33;
  background: #f4f8fd;
  border: 1px solid #d5e5f5;
  text-decoration: none;
  white-space: nowrap;
}
.ys-chapters a:hover { border-color: #032d60; }
.ys-chapters a.is-on,
.ys-chapters a:focus-visible {
  background: #032d60;
  color: #fff;
  border-color: #032d60;
  outline: none;
}

.ys-shot {
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
  scroll-margin-top: 128px;
  background: #fff;
}
.ys-shot:nth-of-type(even) { background: #f4f8fd; }
.ys-shot-copy {
  width: min(42rem, calc(100% - 2 * var(--pad, 24px)));
  margin: 0 auto 32px;
  text-align: center;
}
.ys-shot-copy .eyebrow { margin-bottom: 8px; }
.ys-shot-copy h2 {
  margin: 0 auto 12px;
  max-width: 18ch;
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #0b1f33;
}
.ys-shot-copy .lede {
  margin: 0 auto;
  max-width: 38ch;
  color: #5a6f86;
}

.ys-sasha-page .ys-shot { background: transparent; }

@media (max-width: 768px) {
  .ys-product .hero { padding-top: 20px; }
  .ys-product .hero h1 { max-width: none; }
  .ys-frame-screen { border-radius: 12px; }
  .ys-chapters { top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .ys-frame-screen { box-shadow: 0 8px 24px rgba(3, 45, 96, 0.1); }
}
