/* Depoimentos em vídeo (player da PV9-H1 nas cores da V2).
   Card 16:9 com a frase e a assinatura na lateral escura e o retrato à direita.
   Ao dar play a capa some e o vídeo ocupa o card inteiro. Desktop 3 + 2. */
he-stories { display: block; }
.hs-track {
  --hs-gap: clamp(16px, 1.8vw, 24px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--hs-gap);
  width: 100%;
}
.hs-card { flex: 0 0 calc((100% - 2 * var(--hs-gap)) / 3); margin: 0; min-width: 0; }
.hs-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #040B16;
  border: 1px solid rgba(150, 180, 225, 0.14);
  box-shadow: 0 22px 48px -22px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hs-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--vid-y, 50%);
  z-index: 1;
  background: #040B16;
  display: block;
}
.hs-trigger {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  background: radial-gradient(130% 110% at 0% 50%, rgba(255, 195, 15, 0.06), transparent 62%), #071326;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.hs-trigger:focus-visible { outline: 2px solid #FFC30F; outline-offset: -3px; }
.hs-video.is-playing .hs-trigger { opacity: 0; visibility: hidden; pointer-events: none; }
/* o retrato começa em 30% e só fica opaco perto dos 58%: degradê longo, sem emenda visível */
.hs-shot {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 30%;
  z-index: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.14) 14%, rgba(0, 0, 0, 0.62) 28%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.14) 14%, rgba(0, 0, 0, 0.62) 28%, #000 42%);
}
.hs-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--shot-x, 32%) 18%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hs-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 19, 38, 0.9) 0 26%, rgba(7, 19, 38, 0.36) 48%, transparent 66%),
    linear-gradient(180deg, rgba(7, 19, 38, 0.3), transparent 40%, rgba(7, 19, 38, 0.5));
}
.hs-quote {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 42%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  padding: 16px 4.5% 16px 6%;
  pointer-events: none;
}
.hs-quote-tx {
  font: 600 clamp(0.8rem, 1.05vw, 0.95rem)/1.34 'Funnel Display', sans-serif;
  letter-spacing: -0.01em;
  color: #F1E6DA;
  text-wrap: pretty;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}
.hs-who { position: relative; display: block; padding-top: 11px; }
.hs-who::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 18px; height: 1px;
  background: rgba(255, 195, 15, 0.55);
}
.hs-nm {
  display: block;
  font: 700 clamp(0.7rem, 0.88vw, 0.8rem)/1.2 'Funnel Display', sans-serif;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}
.hs-rl {
  display: block;
  margin-top: 4px;
  font: 500 0.6rem/1.45 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.02em;
  color: rgba(195, 205, 221, 0.66);
}
.hs-dur {
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(4, 11, 22, 0.72);
  border: 1px solid rgba(150, 180, 225, 0.16);
  font: 600 10px/1 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
  color: #C3CDDD;
  pointer-events: none;
}
.hs-dur::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #FFC30F; }
.hs-play { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; pointer-events: none; }
.hs-play-ic {
  width: 62px; height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  /* fundo sólido no lugar do backdrop-filter: com 5 cards pulsando, o desfoque pesava o scroll */
  background: rgba(58, 46, 12, 0.74);
  border: 1px solid rgba(255, 195, 15, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 195, 15, 0.12) inset, 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 32px rgba(255, 195, 15, 0.3);
  animation: hs-pulse 1.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  transition: background 0.3s ease;
}
.hs-play-ic svg { width: 20px; height: 20px; margin-left: 2px; fill: rgba(255, 255, 255, 0.95); }
@keyframes hs-pulse { 50% { transform: scale(1.07); } }
/* tocando: toque em qualquer lugar pausa/retoma; o ícone central só aparece no hover ou pausado */
.hs-hit { position: absolute; inset: 0; z-index: 6; display: none; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hs-video.is-playing .hs-hit { display: block; }
.hs-center {
  position: absolute;
  left: 50%; top: 50%;
  translate: -50% -50%;
  z-index: 7;
  width: 52px; height: 52px;
  display: none;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(4, 11, 22, 0.45);
  color: #fff;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.hs-video.is-playing .hs-center { display: grid; }
.hs-video.is-playing:hover .hs-center { opacity: 0.7; }
.hs-video.is-paused .hs-center { opacity: 0.9; }
.hs-center svg { width: 24px; height: 24px; fill: currentColor; }
.hs-center .ic-play { display: none; margin-left: 2px; }
.hs-video.is-paused .hs-center .ic-play { display: block; }
.hs-video.is-paused .hs-center .ic-pause { display: none; }
.hs-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 8;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.hs-video.is-playing .hs-bar { opacity: 1; }
.hs-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #CC9900, #FFC30F, #FFE08A); box-shadow: 0 0 10px rgba(255, 195, 15, 0.3); }
@media (hover: hover) and (pointer: fine) {
  .hs-card:hover .hs-video {
    border-color: rgba(255, 195, 15, 0.4);
    box-shadow: 0 26px 52px -20px rgba(0, 0, 0, 0.85), 0 0 40px -18px rgba(255, 195, 15, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    transform: translateY(-3px);
  }
  .hs-card:hover .hs-shot img { transform: scale(1.03); }
  .hs-card:hover .hs-play-ic { background: rgba(255, 195, 15, 0.9); }
  .hs-card:hover .hs-play-ic svg { fill: #06101F; }
  .hs-card.is-playing:hover .hs-video { transform: none; }
}
@media (max-width: 1000px) {
  .hs-track { max-width: 680px; margin: 0 auto; }
  .hs-card { flex: 0 0 100%; }
  .hs-quote-tx { font-size: clamp(0.85rem, 2.3vw, 1.05rem); }
  .hs-nm { font-size: clamp(0.75rem, 1.9vw, 0.88rem); }
  .hs-rl { font-size: 0.68rem; }
}
@media (max-width: 520px) {
  .hs-video { border-radius: 14px; }
  .hs-play-ic { width: 54px; height: 54px; }
  .hs-quote { width: 46%; gap: 10px; padding: 12px 4% 12px 5.5%; }
  .hs-quote-tx { font-size: clamp(0.74rem, 3.4vw, 0.9rem); }
  .hs-who { padding-top: 9px; }
  .hs-nm { font-size: clamp(0.68rem, 3vw, 0.8rem); }
  .hs-rl { font-size: 0.58rem; }
  .hs-dur { right: 9px; bottom: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-video, .hs-play-ic, .hs-shot img { transition: none; animation: none; }
  .hs-card:hover .hs-video, .hs-card:hover .hs-shot img { transform: none; }
}
