/* Copied from src/css/pages/testimonials.css to be served from /public */
/* ===================== PÁGINA DE DEPOIMENTOS ===================== */

/* Nota discreta de autenticidade dos depoimentos */
.auth-micro {
  margin-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
  opacity: 0.9;
}
.auth-micro a {
  text-decoration: underline;
}
@media (max-width: 640px) {
  .auth-micro {
    font-size: 0.83rem;
  }
}

/* Garantir que o menu mobile funcione */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-container {
  position: relative;
}

/* Estilos específicos para o menu mobile */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-white);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    display: block;
    padding: 1rem 2rem;
    color: var(--primary-navy);
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    background: var(--primary-gold);
    color: var(--primary-white);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* Hero Section */
.hero-depoimentos {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-navy) 0%, #2c5aa0 100%);
  color: var(--primary-white);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-background .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(27, 54, 93, 0.8);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  background: linear-gradient(45deg, #ffffff, var(--primary-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 150px;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-gold) 0%, #b8941f 100%);
  color: var(--primary-white);
  padding: 4rem 0;
  text-align: center;
}

/* ... rest of content kept identical to src version ... */

/* ===== OVERLAY DE PLAY DOS DEPOIMENTOS ===== */
.depoimento .produto-image {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.depoimento .thumb-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  z-index: 3; /* acima da imagem */
  pointer-events: none; /* não bloquear o clique/touch */
  visibility: visible;
  opacity: 1;
}

.depoimento .thumb-play-overlay svg {
  width: 64px;
  height: 64px;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

/* garantir que a imagem não cubra o overlay */
.depoimento .depoimento-thumb {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* botão "Assistir" deve ficar abaixo do overlay, mas clicável */
.depoimento .produto-image .btn[data-open] {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2; /* abaixo do play (3), acima da imagem (1) */
}

/* opcional: em telas muito pequenas, reduzir o ícone para caber melhor */
@media (max-width: 380px) {
  .depoimento .thumb-play-overlay,
  .depoimento .thumb-play-overlay svg {
    width: 56px;
    height: 56px;
  }
}
