/* Home hero: presentation video (V3, 30/09/2026). The hero image stays; the video loads only on play. */
.hero-video-trigger {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 30px;
  color: #fff;
  cursor: pointer;
  display: block;
  line-height: 0;
  padding: 0;
  position: relative;
  width: 100%;
}
.home-growth .hero-video-trigger img { display: block; }
.hero-video-play {
  align-items: center;
  background: rgba(7, 26, 51, .84);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(4, 19, 38, .28), 0 0 0 8px rgba(255, 255, 255, .14);
  display: flex;
  height: 78px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: background .2s ease, box-shadow .2s ease;
  width: 78px;
}
.hero-video-play svg { height: 32px; margin-left: 1px; width: 32px; }
.hero-video-trigger:hover .hero-video-play {
  background: #006bdc;
  box-shadow: 0 8px 32px rgba(4, 19, 38, .3), 0 0 0 10px rgba(255, 255, 255, .18);
}
.hero-video-media figcaption { margin-top: 16px; text-align: center; }
.hero-video-link {
  align-items: center;
  appearance: none;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  gap: 8px;
  justify-content: center;
  line-height: 1.2;
  min-height: 44px;
  padding: 10px 20px;
  transition: background .2s ease, border-color .2s ease;
}
.hero-video-link svg { height: 15px; width: 15px; }
.hero-video-link:hover { background: rgba(255, 255, 255, .17); border-color: rgba(255, 255, 255, .75); }
.hero-video-trigger:focus-visible, .hero-video-link:focus-visible {
  outline: 3px solid #71c7ff;
  outline-offset: 6px;
}
.hero-video-dialog {
  background: #04101f;
  border: 1px solid rgba(113, 199, 255, .28);
  border-radius: 20px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .45);
  margin: auto;
  max-width: 1120px;
  overflow: visible;
  padding: 0;
  width: calc(100% - 32px);
}
.hero-video-dialog::backdrop { background: rgba(4, 19, 38, .86); backdrop-filter: blur(5px); }
.hero-video-player {
  aspect-ratio: 16 / 9;
  background: #04101f;
  border-radius: 20px;
  display: block;
  height: auto;
  width: 100%;
}
.hero-video-close {
  align-items: center;
  background: #edf7ff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
  color: #071a33;
  cursor: pointer;
  display: flex;
  font-size: 28px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: -14px;
  top: -14px;
  width: 44px;
  z-index: 1;
}
.hero-video-dialog button:focus-visible { outline: 3px solid #71c7ff; outline-offset: 4px; }
@media (max-width: 600px) {
  .hero-video-play { height: 60px; width: 60px; }
  .hero-video-play svg { height: 26px; width: 26px; }
  .hero-video-dialog { width: calc(100% - 20px); }
  .hero-video-close { right: 6px; top: -52px; }
}
@media (max-height: 600px) {
  .hero-video-dialog {
    width: min(calc(100% - 32px), calc((100dvh - 128px) * 16 / 9));
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-play, .hero-video-link { transition: none; }
}
