/* Depoimentos em vídeo da home — identidade Indura (dark + roxo). */
.home-vdepo-block { margin-top: 8px; }
.home-vdepo-section { padding-top: 28px; }

.home-vdepo-head {
  max-width: 620px;
  margin: 0 auto 22px;
  text-align: center;
}
.home-vdepo-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}
.home-vdepo-title {
  margin-top: 8px;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: rgb(var(--foreground));
}
.home-vdepo-desc {
  margin-top: 8px;
  font-size: 14px;
  color: rgb(var(--fg2));
}

.home-vdepo-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.home-vdepo-rail::-webkit-scrollbar { display: none; }

.key-install-rail { justify-content: center; }
.home-vdepo-card--wide,
.key-install-rail .home-vdepo-card--wide {
  width: min(960px, 100%);
  max-width: none;
  aspect-ratio: 16 / 9;
}
.home-vdepo-expand {
  position: absolute;
  right: 62px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.home-vdepo-expand:hover { border-color: hsl(var(--primary) / 0.7); color: hsl(var(--primary)); background: rgba(0, 0, 0, 0.7); }

.home-vdepo-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(210px, 58vw, 270px);
  aspect-ratio: 9 / 16;
  scroll-snap-align: start;
  border: 1px solid rgb(var(--border));
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  transition: border-color 0.22s, transform 0.22s;
}
.home-vdepo-card:hover { border-color: hsl(var(--primary) / 0.45); transform: translateY(-2px); }
.home-vdepo-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none;
}
.home-vdepo-card.is-sound { border-color: hsl(var(--primary) / 0.6); }

.home-vdepo-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.home-vdepo-sound {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.home-vdepo-sound:hover {
  border-color: hsl(var(--primary) / 0.7);
  color: hsl(var(--primary));
  background: rgba(0, 0, 0, 0.7);
}

.home-vdepo-card svg.vdepo-ico-on { display: none; }
.home-vdepo-card.is-sound svg.vdepo-ico-off { display: none; }
.home-vdepo-card.is-sound svg.vdepo-ico-on { display: block; }

.home-vdepo-viewport { position: relative; }
.home-vdepo-viewport::before,
.home-vdepo-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 14px;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}
.home-vdepo-viewport::before { left: 0; background: linear-gradient(90deg, rgb(var(--background)), transparent); }
.home-vdepo-viewport::after { right: 0; background: linear-gradient(270deg, rgb(var(--background)), transparent); }

.home-vdepo-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border: 1px solid rgb(var(--border));
  border-radius: 999px;
  background: rgb(var(--bg2));
  color: rgb(var(--foreground));
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, opacity 0.2s;
}
.home-vdepo-nav:hover { border-color: hsl(var(--primary) / 0.5); color: hsl(var(--primary)); }
.home-vdepo-nav--prev { left: -6px; }
.home-vdepo-nav--next { right: -6px; }
.home-vdepo-nav[disabled] { opacity: 0; pointer-events: none; }

@media (max-width: 767px) {
  .home-vdepo-section { padding-top: 22px; }
  .home-vdepo-card { width: min(70vw, 240px); }
  .home-vdepo-viewport::before,
  .home-vdepo-viewport::after { display: none; }
  .home-vdepo-nav { width: 36px; height: 36px; }
  .home-vdepo-nav--prev { left: -2px; }
  .home-vdepo-nav--next { right: -2px; }
}
/* Versão compacta: logo abaixo das avaliações (home) e dentro de /avaliacoes */
.vdepo-compact .home-section-divider { display: none; }
.vdepo-compact .home-vdepo-block { margin-top: 0; }
.vdepo-compact .home-vdepo-section { padding-top: 22px; }
.vdepo-compact .home-vdepo-head { max-width: none; margin: 0 0 12px; text-align: left; }
.vdepo-compact .home-vdepo-eyebrow { color: #f2c14e; font-size: 10px; }
.vdepo-compact .home-vdepo-title { margin-top: 4px; font-family: 'Plus Jakarta Sans', Manrope, sans-serif; font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.03em; }
.vdepo-compact .home-vdepo-desc { margin-top: 4px; font-size: 13px; }
.vdepo-compact .home-vdepo-rail { gap: 12px; padding-bottom: 8px; }
.vdepo-compact .home-vdepo-card { width: clamp(132px, 34vw, 158px); border-radius: 16px; }
.vdepo-compact .home-vdepo-sound,
.vdepo-compact .home-vdepo-expand { width: 32px; height: 32px; bottom: 10px; }
.vdepo-compact .home-vdepo-sound { right: 10px; }
.vdepo-compact .home-vdepo-expand { right: 48px; }
.vdepo-compact .home-vdepo-nav { width: 34px; height: 34px; }
.vdepo-compact--page { margin: 4px 0 26px; }
.vdepo-compact--page .container { max-width: none; padding-inline: 0; }

/* Painel "Veja quem já comprou": texto à esquerda, vídeos em grade que ocupa a largura exata (sem corte) */
.vdepo-panel .home-section-divider { display: none; }
.vdepo-panel .home-vdepo-block { margin-top: 0; }
.vdepo-panel .home-vdepo-section {
  display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); align-items: center; gap: 32px;
  padding: 28px !important;
  border: 1px solid rgb(137 90 246 / 0.26); border-radius: 24px;
  background: radial-gradient(90% 120% at 0% 0%, rgb(242 193 78 / 0.1), transparent 55%), linear-gradient(180deg, #191030 0%, #0e0920 100%);
  box-shadow: 0 30px 70px -45px rgb(137 90 246 / 0.6);
}
.vdepo-panel .home-vdepo-head { max-width: none; margin: 0; text-align: left; }
.vdepo-panel .home-vdepo-eyebrow { color: #f2c14e; font-size: 11px; }
.vdepo-panel .home-vdepo-title { margin-top: 8px; font-family: 'Plus Jakarta Sans', Manrope, sans-serif; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.035em; }
.vdepo-panel .home-vdepo-desc { margin-top: 8px; font-size: 14px; line-height: 1.55; }
.home-vdepo-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 11px 18px;
  border: 1px solid rgb(242 193 78 / 0.5); border-radius: 12px; background: rgb(242 193 78 / 0.1); color: #f6d680;
  font-size: 0.85rem; font-weight: 800; text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease;
}
.home-vdepo-cta:hover { background: #f2c14e; color: #3a2503; }

.vdepo-panel .home-vdepo-viewport::before,
.vdepo-panel .home-vdepo-viewport::after,
.vdepo-panel .home-vdepo-nav { display: none; }
.vdepo-panel .home-vdepo-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px;
  overflow: visible; padding: 0; scroll-snap-type: none;
}
.vdepo-panel .home-vdepo-card { width: auto; max-width: none; border-radius: 16px; }
.vdepo-panel .home-vdepo-sound,
.vdepo-panel .home-vdepo-expand { width: 30px; height: 30px; bottom: 8px; }
.vdepo-panel .home-vdepo-sound { right: 8px; }
.vdepo-panel .home-vdepo-expand { right: 44px; }

.vdepo-panel--page { margin: 6px 0 28px; }
.vdepo-panel .home-vdepo-section.container { max-width: none; margin-inline: 0; }

@media (max-width: 899px) {
  .vdepo-panel .home-vdepo-section { grid-template-columns: 1fr; gap: 18px; padding: 20px 16px !important; }
  .vdepo-panel .home-vdepo-rail {
    display: flex; overflow-x: auto; gap: 10px; margin-inline: -16px; padding: 0 16px 4px;
    scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
  }
  .vdepo-panel .home-vdepo-card { flex: 0 0 auto; width: clamp(130px, 38vw, 170px); scroll-snap-align: start; }
}
/* Grade do painel: colunas com mínimo 0, senão a faixa de vídeos alarga a página no celular */
.vdepo-panel .home-vdepo-section { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
.vdepo-panel .home-vdepo-head,
.vdepo-panel .home-vdepo-viewport { min-width: 0; }
@media (max-width: 899px) {
  .vdepo-panel .home-vdepo-section { grid-template-columns: minmax(0, 1fr); }
}