/* Depoimentos em vídeo (carrossel de cards verticais) na home. Classes .vt-* escopadas. */

.vt {
  padding: 88px 0;
  background: var(--bg-subtle, #f6f7fb);
  overflow: hidden;
}

/* Tema escuro (azul VAAS) — só na home (seção completa, não no modo embed da /clientes). */
.vt:not(.vt--embed) {
  background: var(--vaas-blue, #0434f4);
}
.vt:not(.vt--embed) .v-eyebrow {
  color: rgba(255, 255, 255, 0.7);
}
.vt:not(.vt--embed) .vt__title {
  color: #fff;
}
.vt:not(.vt--embed) .vt__title em {
  color: var(--vaas-lime, #cdff29);
}
.vt:not(.vt--embed) .vt__sub {
  color: rgba(255, 255, 255, 0.82);
}
.vt:not(.vt--embed) .vt__arrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.vt:not(.vt--embed) .vt__arrow:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
}
.vt:not(.vt--embed) .vt-card__name {
  color: #fff;
}
.vt:not(.vt--embed) .vt-card__role {
  color: rgba(255, 255, 255, 0.72);
}
.vt:not(.vt--embed) .vt-card__company {
  color: var(--vaas-lime, #cdff29);
}
.vt__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.vt__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

/* CTA "Conheça mais clientes" abaixo do carrossel (só na home, sobre o azul). */
.vt__seeall {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.vt:not(.vt--embed) .vt__seeall-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  background: #fff;
  color: var(--vaas-blue-deep, #000b58);
  font-weight: 600;
  text-decoration: none;
  transition: gap 160ms ease, transform 160ms ease;
}
.vt:not(.vt--embed) .vt__seeall-link:hover {
  gap: 14px;
  transform: translateY(-1px);
}

/* Modo embed (ex.: dentro da /clientes): sem fundo/padding próprios; a seção host
   provê o título e o container. Só o trilho + as setas alinhadas à direita. */
.vt--embed {
  background: transparent;
  padding: 0;
}
.vt--embed .vt__inner {
  max-width: none;
  padding: 0;
}
.vt--embed .vt__head {
  justify-content: flex-end;
  margin-bottom: 20px;
}
.vt__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2, 38px);
  line-height: var(--lh-tight, 1.08);
  color: var(--vaas-blue-deep, #000b58);
  margin: 14px 0 0;
  max-width: 22ch;
}
.vt__title em {
  font-style: italic;
  color: var(--vaas-blue, #0434f4);
}
.vt__sub {
  margin: 14px 0 0;
  max-width: 52ch;
  color: var(--fg-muted, #6b6f80);
  line-height: 1.5;
}
.vt__nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.vt__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border, rgba(7, 9, 20, 0.16));
  background: #fff;
  color: var(--vaas-blue-deep, #000b58);
  font-size: 18px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}
.vt__arrow:hover {
  border-color: var(--vaas-blue, #0434f4);
  background: var(--vaas-blue-10, rgba(4, 52, 244, 0.06));
}

/* Trilho horizontal com scroll-snap */
.vt__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.vt__track::-webkit-scrollbar {
  display: none;
}

/* Card vertical (9:16) */
.vt-card {
  flex: 0 0 auto;
  width: 260px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.vt-card__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  background: #000b58;
}
.vt-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 240ms var(--ease-out, ease);
}
.vt-card:hover .vt-card__thumb img {
  transform: scale(1.04);
}
.vt-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 11, 88, 0) 55%, rgba(0, 11, 88, 0.45));
}
.vt-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--vaas-blue, #0434f4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  transition: transform 160ms ease;
}
.vt-card:hover .vt-card__play {
  transform: translate(-50%, -50%) scale(1.08);
}
.vt-card__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.vt-card__name {
  font-weight: 600;
  color: var(--vaas-blue-deep, #000b58);
}
.vt-card__role {
  font-size: 13px;
  color: var(--fg-muted, #6b6f80);
}
.vt-card__company {
  font-size: 13px;
  font-weight: 600;
  color: var(--vaas-blue, #0434f4);
}

/* Modal do player (vertical) */
.vt-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 9, 20, 0.72);
  backdrop-filter: blur(4px);
}
.vt-modal__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.vt-modal__frame {
  width: min(360px, 86vw);
  aspect-ratio: 9 / 16;
  max-height: 78vh;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}
.vt-modal__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.vt-modal__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #fff;
  text-align: center;
}
.vt-modal__caption b {
  font-weight: 600;
}
.vt-modal__caption span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.vt-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 760px) {
  .vt {
    padding: 64px 0;
  }
  .vt__inner {
    padding: 0 24px;
  }
  .vt__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .vt-card {
    width: 210px;
  }
}
