/* ===========================================================
   NewPDV — CSS das seções .tv-* usadas nas páginas da LP
   (screenshots do sistema + prova social). Extraído do tema
   antigo (newpdv-theme.css) para o design clara, SEM os globais
   (:root/a:hover) que conflitariam com o clara. Carregado on-demand
   pelos componentes via @once @push('styles').
   =========================================================== */
:root { --theme-color: #368DA8; --theme-color3: #045F7A; }

/* =============================================
   Screenshots do Sistema — Tabs + Mockup
   ============================================= */
.tv-screenshots-section {
  overflow: hidden;
}

.screenshots-tabs {
  max-width: 1000px;
  margin: 0 auto;
}

.screenshots-tab-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.screenshots-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid #e0eef3;
  border-radius: 50px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
  font-weight: 600;
  color: #4a6d7c;
}

.screenshots-tab-btn:hover {
  border-color: var(--theme-color);
  color: var(--theme-color);
  background: rgba(54, 141, 168, 0.05);
}

.screenshots-tab-btn.active {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
  box-shadow: 0 8px 25px rgba(54, 141, 168, 0.3);
}

.screenshots-tab-btn .tab-icon {
  font-size: 18px;
  display: flex;
  align-items: center;
}

.screenshots-tab-btn .tab-label {
  line-height: 1;
}

.screenshots-tab-content {
  position: relative;
}

.screenshots-tab-pane {
  display: none;
  animation: screenshotFadeIn 0.4s ease;
}

.screenshots-tab-pane.active {
  display: block;
}

@keyframes screenshotFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.screenshots-mockup {
  background: #1a2332;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.15),
    0 8px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.mockup-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: #2a3545;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3c4a5a;
}

.mockup-dot:nth-child(1) { background: #ff5f56; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #27c93f; }

.mockup-url {
  margin-left: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  padding: 5px 16px;
  border-radius: 6px;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.mockup-screen {
  position: relative;
  min-height: 400px;
  background: #f0f4f8;
}

.mockup-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.mockup-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  color: #8899aa;
  gap: 16px;
}

.mockup-placeholder i {
  font-size: 64px;
  opacity: 0.3;
}

.mockup-placeholder span {
  font-size: 16px;
  font-weight: 500;
}

.screenshots-tab-info {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.screenshots-tab-info h4 {
  font-size: 22px;
  font-weight: 700;
  color: #033d4f;
  margin-bottom: 10px;
}

.screenshots-tab-info p {
  font-size: 16px;
  line-height: 1.6;
  color: #4a6d7c;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .screenshots-tab-nav {
    gap: 6px;
    margin-bottom: 25px;
  }
  .screenshots-tab-btn {
    padding: 10px 18px;
    font-size: 13px;
  }
  .screenshots-tab-btn .tab-icon {
    font-size: 15px;
  }
  .mockup-screen {
    min-height: 200px;
  }
  .mockup-placeholder {
    min-height: 200px;
  }
  .mockup-placeholder i {
    font-size: 40px;
  }
  .screenshots-tab-info h4 {
    font-size: 18px;
  }
  .screenshots-tab-info p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .screenshots-tab-btn .tab-label {
    display: none;
  }
  .screenshots-tab-btn {
    padding: 12px 16px;
  }
}

/* =============================================
   Rhythm vertical das seções claras (varejo / segmentos)
   Padroniza 80/80px desktop → 60/60 tablet → 48/48 mobile
   para evitar gaps de 240px entre seções de mesma cor.
   ============================================= */
.seg-subsegments.space,
.tv-screenshots-section.space,
.tv-social-section {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}
@media (max-width: 991px) {
  .seg-subsegments.space,
  .tv-screenshots-section.space,
  .tv-social-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
}
@media (max-width: 575px) {
  .seg-subsegments.space,
  .tv-screenshots-section.space,
  .tv-social-section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}

/* =============================================
   Section: Social Proof  (paleta azul NewPDV)
   ============================================= */
.tv-social-section {
  position: relative;
}
.tv-social-section .title-wrap.three .sec-title {
  margin-bottom: 0;
}
.tv-social-section .sec-subtitle {
  max-width: 680px;
  margin: 16px auto 0;
  color: rgba(4, 95, 122, 0.75);
  font-size: 15px;
  line-height: 1.65;
}

.social-stats-row {
  margin-top: 50px;
}
.social-stat-card {
  padding: 32px 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 22px rgba(4, 95, 122, 0.06);
  border: 1px solid rgba(54, 141, 168, 0.12);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.social-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(4, 95, 122, 0.12);
  border-color: rgba(54, 141, 168, 0.35);
}
.social-stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--theme-color, #368DA8) 0%, var(--theme-color3, #045F7A) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 18px rgba(54, 141, 168, 0.25);
}
.social-stat-value {
  font-size: 40px;
  font-weight: 800;
  color: var(--title-color, #045F7A);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.social-stat-label {
  font-size: 14px;
  color: rgba(4, 95, 122, 0.7);
  font-weight: 500;
  line-height: 1.4;
}

.social-testimonials-row {
  margin-top: 60px;
}
.social-testimonial-card {
  background: #fff;
  padding: 32px;
  border-radius: 18px;
  box-shadow: 0 6px 22px rgba(4, 95, 122, 0.06);
  border: 1px solid rgba(54, 141, 168, 0.12);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.social-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(4, 95, 122, 0.12);
  border-color: rgba(54, 141, 168, 0.3);
}
.testimonial-quote-icon {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 36px;
  color: var(--theme-color, #368DA8);
  opacity: 0.16;
}
.testimonial-quote {
  font-size: 15.5px;
  line-height: 1.65;
  color: #2d4a55;
  flex: 1;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(54, 141, 168, 0.12);
  padding-top: 18px;
}
.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(54, 141, 168, 0.18);
}
.testimonial-avatar-fallback {
  background: linear-gradient(135deg, var(--theme-color, #368DA8) 0%, var(--theme-color3, #045F7A) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-name {
  font-weight: 700;
  color: var(--title-color, #045F7A);
  font-size: 15px;
  line-height: 1.2;
}
.testimonial-role {
  font-size: 13px;
  color: rgba(4, 95, 122, 0.6);
  margin-top: 2px;
}

@media (max-width: 991px) {
  .social-stats-row { margin-top: 36px; }
  .social-testimonials-row { margin-top: 42px; }
}
@media (max-width: 768px) {
  .social-stat-value { font-size: 32px; }
  .social-stat-card { padding: 24px 18px; }
  .social-testimonial-card { padding: 26px; }
  .testimonial-quote-icon { font-size: 28px; top: 18px; right: 20px; }
}

