/* Pro hero: one phone + play button + the presentation video in a dialog (2026-10-22).
   Same pattern as varinus.com (css/hero-video.css), in Mon Salon colours. Loaded by pro/index.html only. */

/* one phone, centred on the beige card; the button sits on it and follows it */
[data-visual="video"] .ms-hero__slot--a { top: 5%; left: 50%; transform: translateX(-50%); width: clamp(210px, 19vw, 280px); z-index: 2; }
@media (max-width: 760px) {
  [data-visual="video"] .ms-hero__slot--a { top: 5%; width: min(52vw, 200px); }
}

.hero-play { position: absolute; z-index: 3; left: 50%; top: 52%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: #FFFFFF; cursor: pointer; font: inherit; }
.hero-play__dot { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: var(--ms-cta); box-shadow: 0 18px 40px -10px rgba(46,58,40,.55), 0 0 0 8px rgba(85,129,72,.18); transition: transform .2s ease, box-shadow .2s ease; }
.hero-play__dot svg { width: 30px; height: 30px; margin-inline-start: 4px; }
html[dir="rtl"] .hero-play__dot svg { margin-inline-start: 0; margin-inline-end: 4px; transform: scaleX(-1); }
.hero-play__dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--ms-cta); opacity: 0; animation: hp-pulse 2.2s ease-out infinite; }
.hero-play__label { padding: 9px 16px; border-radius: 999px; background: var(--ms-deep); color: var(--ms-white);
  font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; box-shadow: var(--ms-shadow-float); }
.hero-play:hover .hero-play__dot { transform: scale(1.06); box-shadow: 0 22px 48px -10px rgba(46,58,40,.6), 0 0 0 12px rgba(85,129,72,.22); }
.hero-play:focus-visible { outline: none; }
.hero-play:focus-visible .hero-play__dot { outline: 3px solid var(--ms-deep); outline-offset: 4px; }
@keyframes hp-pulse { 0% { transform: scale(.9); opacity: .8; } 70% { transform: scale(1.35); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-play__dot::after { animation: none; } .hero-play__dot { transition: none; } }
@media (max-width: 760px) { .hero-play__dot { width: 64px; height: 64px; } .hero-play__dot svg { width: 26px; height: 26px; } }

/* dialog: a vertical 9:16 video that fits the screen */
.hv { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; overflow: hidden; }
.hv::backdrop { background: rgba(46,58,40,.86); backdrop-filter: blur(6px); }
.hv[open] { display: grid; place-items: center; }
.hv__box { position: relative; height: min(88vh, calc((100vw - 32px) * 16 / 9)); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  background: #000; box-shadow: 0 40px 90px rgba(0,0,0,.45); }
.hv__video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.hv__close { position: absolute; z-index: 2; top: 10px; inset-inline-end: 10px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.92); color: var(--ms-deep); cursor: pointer; }
.hv__close svg { width: 20px; height: 20px; }
.hv__close:focus-visible { outline: 2px solid var(--ms-cta); outline-offset: 2px; }
