/**
 * Sophos Academy - Depoimentos (Unificado)
 * CSS único para homepage, hub e view page
 *
 * Bloco 7.11 da Fase 4: fallbacks de cor migrados pra paleta verde
 * HealBridge (#1DB954 / #179648). 21 ocorrências de
 * rgba(66, 185, 131, *) (verde Sophos antigo) substituidas por
 * rgba(29, 185, 84, *) (verde HealBridge) via sed global.
 */

/* ==========================================
   VARIÁVEIS
   ========================================== */
:root {
  --dp-primary: var(--primary-color, #1DB954);
  --dp-primary-dark: var(--primary-dark, #179648);
  --dp-gradient: linear-gradient(135deg, var(--primary-color, #1DB954) 0%, var(--primary-dark, #179648) 100%);
  --dp-bg: var(--bg-dark, #000000);
  --dp-card-bg: var(--bg-surface, #0a0c10);
  --dp-card-bg-alt: var(--bg-card, #13161d);
  --dp-text: var(--text-white, #ffffff);
  --dp-text-muted: var(--text-secondary, #b4bac7);
  --dp-text-dim: var(--t2, #7c8494);
  --dp-border: rgba(29, 185, 84, 0.15);
  --dp-radius: 16px;
  --dp-radius-sm: 8px;
  --dp-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --dp-shadow-hover: 0 12px 40px rgba(29, 185, 84, 0.15);
  --dp-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --dp-shadow-accent: 0 6px 20px rgba(29, 185, 84, 0.3);
  --dp-shadow-accent-lg: 0 10px 30px rgba(29, 185, 84, 0.3);
  --dp-shadow-accent-xl: 0 10px 40px rgba(29, 185, 84, 0.2);
  --dp-shadow-accent-btn: 0 8px 25px rgba(29, 185, 84, 0.4);
  --dp-shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.2);
  --dp-shadow-dark-lg: 0 15px 50px rgba(0, 0, 0, 0.5);
  --dp-shadow-dark-xl: 0 10px 40px rgba(0, 0, 0, 0.4);
  --dp-shadow-card: 0 10px 25px rgba(0, 0, 0, 0.2);
  --dp-transition: all 0.3s var(--smooth);
}

/* ==========================================
   NAVBAR (compartilhado hub + view)
   ========================================== */
.hub-navbar {
  background: var(--dp-card-bg);
  box-shadow: var(--dp-shadow-sm);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 9999;
}

.hub-navbar-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.hub-navbar-logo {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  font-family: 'Poppins', sans-serif;
}

.hub-navbar-logo:hover { color: #fff; }

.hub-navbar-logo-highlight {
  color: var(--dp-primary);
}

.hub-navbar-btn {
  background: var(--dp-primary);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--dp-radius-sm);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  line-height: 1.5;
  transition: color 0.3s var(--smooth), background-color 0.3s var(--smooth), transform 0.3s var(--smooth), box-shadow 0.3s var(--smooth);
}

.hub-navbar-btn:hover {
  background: var(--dp-primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================
   PÁGINA BASE
   ========================================== */
.testimonials-page { background-color: var(--dp-bg); }
.testimonial-view-page { background: var(--dp-bg); min-height: 100vh; }
.testimonial-view-page .main { margin-top: 0; }

/* ==========================================
   HOMEPAGE — CARROSSEL (.depoimentos-section)
   ========================================== */
.depoimentos-section {
  padding: 32px 0;
  position: relative;
  overflow: hidden;
  background: var(--dp-bg);
}

.depoimentos-section > .container {
  position: relative;
}

.depoimentos-section .section-title {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.depoimentos-section .section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dp-text);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  text-transform: none;
  line-height: 1.3;
  letter-spacing: normal;
  padding: 0;
}

.depoimentos-section .section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--dp-gradient);
  border-radius: 2px;
  display: block;
  margin: 0;
}

.depoimentos-section .section-title p {
  font-size: 1.1rem;
  color: var(--dp-text-muted);
  max-width: 600px;
  margin: 20px auto 0;
  text-transform: none;
  font-weight: 400;
  line-height: 1.6;
}

/* Card Premium (homepage) */
.testimonial-card-premium {
  background: var(--dp-card-bg);
  border-radius: var(--dp-radius);
  padding: 35px 30px;
  box-shadow: var(--dp-shadow);
  transition: transform 0.3s var(--smooth), box-shadow 0.3s var(--smooth), border-color 0.3s var(--smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--dp-border);
}

.testimonial-card-premium:hover {
  transform: translateY(-4px);
  box-shadow: var(--dp-shadow-hover);
  border-color: rgba(29, 185, 84, 0.3);
}

/* Header do card */
.testimonial-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.testimonial-avatar-wrapper { position: relative; }

.testimonial-avatar-wrapper picture {
  display: contents;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(29, 185, 84, 0.3);
}

.verified-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background: var(--dp-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--dp-card-bg);
}

.verified-badge i { color: white; font-size: 9px; }

.testimonial-author-info { flex: 1; }

.testimonial-author-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dp-text);
  margin: 0 0 4px 0;
}

.testimonial-role { display: flex; flex-direction: column; gap: 2px; }

.testimonial-role .role-title {
  font-size: 0.85rem;
  color: var(--dp-primary);
  font-weight: 600;
}

.testimonial-role .role-institution {
  font-size: 0.8rem;
  color: var(--dp-text-muted);
}

/* Conteúdo do depoimento */
.testimonial-content {
  flex: 1;
  position: relative;
  padding: 15px 0;
}

.testimonial-content .quote-mark {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 3.5rem;
  line-height: 1;
  background: var(--dp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  font-family: Georgia, serif;
}

.testimonial-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--dp-text);
  margin: 0;
  padding-left: 20px;
  font-style: italic;
}

/* Footer do card */
.testimonial-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--dp-border);
}

.video-btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--dp-gradient);
  border: none;
  border-radius: 25px;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s var(--smooth), background-color 0.3s var(--smooth), transform 0.3s var(--smooth), box-shadow 0.3s var(--smooth);
}

.video-btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: var(--dp-shadow-accent);
  color: white;
}

.video-btn-premium i { font-size: 1rem; }

/* Swiper customizado */
.depoimentos-slider {
  padding: 20px 0 20px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* ── Cards de depoimento uniformes (altura igual + citação com clamp) ──
   Escopado em .depoimentos-slider pra NÃO afetar testimonials.html. */
.depoimentos-slider .swiper-wrapper { align-items: stretch; }
.depoimentos-slider .swiper-slide { height: auto; display: flex; }
.depoimentos-slider .testimonial-card-premium { flex: 1; }
/* limita a citação a 5 linhas (resto continua acessível no "Ler história completa") */
.depoimentos-slider .testimonial-content p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-left: 0;        /* texto alinhado; a aspa vira elemento decorativo acima */
}
/* aspa decorativa elegante (curva) acima do texto — marca-d'água sutil */
.depoimentos-slider .testimonial-content { padding-top: 38px; }
.depoimentos-slider .testimonial-content .quote-mark {
  top: 2px;
  left: -2px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 4.25rem;
  line-height: 0.7;
  opacity: 0.18;
}

.depoimentos-section .swiper-button-next,
.depoimentos-section .swiper-button-prev {
  position: absolute;
  width: 48px;
  height: 48px;
  background: var(--dp-card-bg-alt);
  border-radius: 50%;
  box-shadow: var(--dp-shadow);
  transition: transform 0.3s var(--smooth), box-shadow 0.3s var(--smooth), border-color 0.3s var(--smooth);
  border: 1px solid var(--dp-border);
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
}

.depoimentos-section .swiper-button-prev {
  left: -10px;
}

.depoimentos-section .swiper-button-next {
  right: -10px;
}

.depoimentos-section .swiper-button-next::after,
.depoimentos-section .swiper-button-prev::after {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--dp-primary);
}

.depoimentos-section .swiper-button-next:hover,
.depoimentos-section .swiper-button-prev:hover {
  background: var(--dp-gradient);
}

.depoimentos-section .swiper-button-next:hover::after,
.depoimentos-section .swiper-button-prev:hover::after {
  color: white;
}

.depoimentos-slider .swiper-pagination {
  position: relative;
  bottom: auto;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.depoimentos-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(29, 185, 84, 0.3);
  opacity: 1;
  transition: background 0.3s var(--smooth), width 0.3s var(--smooth), opacity 0.3s var(--smooth);
}

.depoimentos-slider .swiper-pagination-bullet-active {
  background: var(--dp-gradient);
  width: 35px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

/* Barra de progresso do autoplay no bullet ativo */
.depoimentos-slider .swiper-pagination-bullet-active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: inherit;
  animation: autoplayProgress 5s linear forwards;
}

@keyframes autoplayProgress {
  from { width: 0; }
  to { width: 100%; }
}

/* Botão Ver Todos */
.testimonials-cta {
  text-align: center;
  margin-top: 25px;
  position: relative;
  z-index: 2;
}

.btn-ver-todos {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  background: transparent;
  border: 2px solid var(--dp-primary);
  border-radius: 50px;
  color: var(--dp-primary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s var(--smooth), background-color 0.3s var(--smooth), transform 0.3s var(--smooth), box-shadow 0.3s var(--smooth);
}

.btn-ver-todos:hover {
  background: var(--dp-gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--dp-shadow-accent-lg);
}

.btn-ver-todos i { transition: transform 0.3s var(--smooth); }
.btn-ver-todos:hover i { transform: translateX(5px); }

/* ==========================================
   HUB — PÁGINA DE DEPOIMENTOS
   ========================================== */

/* Hero */
.testimonials-hero {
  padding: 80px 0 50px;
  background: var(--dp-bg);
}

.hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--mono, 'JetBrains Mono', monospace);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dp-primary);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: var(--display, 'Space Grotesk', sans-serif);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--dp-text);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  background: var(--dp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .lead {
  font-size: 1.15rem;
  color: var(--dp-text-muted);
  line-height: 1.7;
  font-weight: 400;
}

/* Grid de depoimentos */
.testimonials-grid-section {
  padding: 24px 0 16px;
  background: var(--dp-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* Video cards (hub) */
.video-card {
  background: linear-gradient(145deg, var(--dp-card-bg), var(--dp-card-bg-alt));
  border-radius: var(--dp-radius);
  overflow: hidden;
  box-shadow: var(--dp-shadow);
  transition: transform 0.3s var(--smooth), box-shadow 0.3s var(--smooth), border-color 0.3s var(--smooth);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--dp-border);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dp-shadow-hover);
  border-color: rgba(29, 185, 84, 0.3);
}

.video-card-thumbnail {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--s2, #13161d) 0%, var(--s4, #1e232c) 100%);
}

.video-card-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--smooth);
}

.video-card:hover .video-card-thumbnail img {
  transform: scale(1.03);
}

.thumbnail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
  opacity: 0;
  transition: background 0.3s var(--smooth), width 0.3s var(--smooth), opacity 0.3s var(--smooth);
}

.video-card:hover .thumbnail-overlay { opacity: 1; }

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 64px;
  height: 64px;
  background: var(--dp-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--dp-shadow-accent-btn);
  transition: background 0.3s var(--smooth), width 0.3s var(--smooth), opacity 0.3s var(--smooth);
  z-index: 2;
}

.play-btn i {
  color: white;
  font-size: 1.6rem;
  margin-left: 4px;
}

.video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1);
}


.video-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.video-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dp-text);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card-body p {
  font-size: 0.9rem;
  color: var(--dp-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.video-card-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--dp-border);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(29, 185, 84, 0.3);
}

.author-info { flex: 1; }

.author-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dp-text);
  margin: 0 0 2px 0;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--dp-primary);
  font-weight: 600;
}

.author-info small {
  display: block;
  font-size: 0.75rem;
  color: var(--dp-text-muted);
}

.verified-icon {
  width: 22px;
  height: 22px;
  background: var(--dp-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verified-icon i { color: white; font-size: 0.65rem; }

/* ==========================================
   HERO DE CITAÇÃO (view page — sem vídeo)
   ========================================== */
.tv-hero-text {
  background: linear-gradient(180deg, var(--dp-card-bg) 0%, var(--s2, #13161d) 100%);
  padding: 50px 0 60px;
}

/* Foto grande ocupando o retângulo que seria do vídeo (mesma proporção 16:9) */
.tv-photo-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--dp-radius);
  overflow: hidden;
  border: 1px solid var(--dp-border);
  box-shadow: var(--dp-shadow-dark-lg);
}

.tv-featured-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.tv-photo-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 90px 40px 28px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Foco do crop para a foto da Rafaela (imagem em retrato — centraliza o rosto) */
img[src*="Foto_Rafa"] {
  object-fit: cover;
  object-position: center 18%;
}

.tv-featured-quote-text {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: #fff;
  margin: 0 0 10px 0;
  padding: 0;
  border: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.tv-featured-quote-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tv-featured-quote-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.tv-featured-quote-role {
  font-size: 0.9rem;
  color: var(--dp-primary);
  font-weight: 500;
}

/* ==========================================
   BOTÃO TEXTO — HOMEPAGE (outline, sem vídeo)
   ========================================== */
.text-btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: 1.5px solid var(--dp-primary);
  border-radius: 25px;
  color: var(--dp-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s var(--smooth), background-color 0.3s var(--smooth), transform 0.3s var(--smooth), box-shadow 0.3s var(--smooth);
}

.text-btn-premium:hover {
  background: var(--dp-gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--dp-shadow-accent);
}

.text-btn-premium i { font-size: 1rem; }

/* ==========================================
   READ BUTTON — HUB (overlay para sem-vídeo)
   ========================================== */
.read-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s var(--smooth), background-color 0.3s var(--smooth), transform 0.3s var(--smooth), box-shadow 0.3s var(--smooth);
  z-index: 2;
}

.read-btn i {
  color: white;
  font-size: 1.5rem;
}

.video-card:hover .read-btn {
  transform: translate(-50%, -50%) scale(1);
  background: var(--dp-gradient);
}

/* ==========================================
   VIDEO BADGE — HUB (indicador de vídeo)
   ========================================== */
.video-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: var(--dp-gradient);
  border-radius: 20px;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 3;
}

.video-badge i { font-size: 0.75rem; }

/* ==========================================
   RESULT ICON + COMPACT (view page sidebar)
   ========================================== */
.result-icon {
  font-size: 1.2rem;
  color: var(--dp-primary);
  margin-bottom: 6px;
  display: block;
}

.tv-results-grid.results-compact {
  grid-template-columns: 1fr;
}

/* CTA Section (hub) — Bloco 7.11.3 da Fase 4
   Refatorada com wrapper glass card estilo HealBridge:
   - section dark com glow verde radial
   - card centralizado glass com border verde + accent line top
   - eyebrow mono + bar (igual padrao .tag do HealBridge)
   - h2 grande Space Grotesk com accent gradient na 2a linha
   - botoes herdam .btn-fill / .btn-ghost do main.css */
.testimonials-cta-section {
  padding: 24px 0;
  background: var(--dp-bg);
  position: relative;
  overflow: hidden;
}

.testimonials-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1000px;
  height: 1000px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.testimonials-cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-card {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface-1, rgba(255,255,255,.02));
  border: 1px solid var(--cool-2, rgba(160,180,210,.12));
  border-radius: var(--radius-2xl, 24px);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  backdrop-filter: blur(40px) saturate(1.4);
  -webkit-backdrop-filter: blur(40px) saturate(1.4);
  box-shadow: var(--shadow-lg, 0 24px 60px -20px rgba(0,0,0,.6));
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-gradient-h, linear-gradient(90deg, #1DB954, #179648));
  border-radius: var(--radius-2xl, 24px) var(--radius-2xl, 24px) 0 0;
}

.cta-eyebrow {
  font-family: var(--mono, 'JetBrains Mono', monospace);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green, #1DB954);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.cta-eyebrow .bar {
  width: 32px;
  height: 1.5px;
  background: var(--green, #1DB954);
  border-radius: 1px;
}

.cta-title {
  font-family: var(--display, 'Space Grotesk', sans-serif);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dp-text);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.cta-title-accent {
  background: var(--accent-gradient, linear-gradient(135deg, #1DB954, #179648));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-subtitle {
  font-size: 1.075rem;
  color: var(--dp-text-muted);
  max-width: 540px;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* CTA principal: botoes com tamanho de destaque (premium) — sobem
   font/padding em relacao aos botoes inline default do main.css */
.cta-buttons .btn-fill,
.cta-buttons .btn-ghost {
  padding: 1.15rem 2.8rem !important;
  font-size: 0.78rem !important;
  letter-spacing: 1.8px !important;
  gap: 0.7rem !important;
  border-radius: 100px !important;
  min-height: 54px;
}

.cta-buttons .btn-fill {
  background: var(--green, #1DB954) !important;
  color: #000 !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 22px rgba(29,185,84,0.28),
              0 1px 0 rgba(255,255,255,0.12) inset !important;
}

.cta-buttons .btn-fill:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(29,185,84,0.42),
              0 1px 0 rgba(255,255,255,0.15) inset !important;
  background: var(--green-hi, #25d066) !important;
  color: #000 !important;
}

.cta-buttons .btn-ghost {
  background: rgba(29,185,84,0.06) !important;
  color: var(--t0, #edf0f5) !important;
  border: 1px solid rgba(29,185,84,0.35) !important;
  font-weight: 600 !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cta-buttons .btn-ghost:hover {
  border-color: var(--green, #1DB954) !important;
  color: var(--green, #1DB954) !important;
  background: rgba(29,185,84,0.1) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(29,185,84,0.18) !important;
}

.cta-buttons .btn-fill i,
.cta-buttons .btn-ghost i {
  font-size: 1.05em;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.cta-buttons .btn-fill span,
.cta-buttons .btn-ghost span {
  position: relative;
  z-index: 1;
}

@media (max-width: 575px) {
  .testimonials-cta-section {
    padding: 20px 0;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-buttons .btn-fill,
  .cta-buttons .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================
   VIEW — PÁGINA INDIVIDUAL
   ========================================== */

/* Hero do Vídeo */
.tv-hero {
  background: linear-gradient(180deg, var(--dp-card-bg) 0%, var(--s2, #13161d) 100%);
  padding: 40px 0 60px;
}

.tv-video-wrapper {
  max-width: min(1400px, 92vw);
  margin: 0 auto;
}

.tv-video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--dp-radius);
  overflow: hidden;
  box-shadow: var(--dp-shadow-dark-lg);
}

.tv-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* Content Grid */
.tv-content {
  padding: 50px 0 80px;
  background: var(--dp-bg);
}

.tv-content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.tv-main-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Author Card */
.tv-author-card {
  background: linear-gradient(145deg, var(--dp-card-bg), var(--dp-card-bg-alt));
  border-radius: var(--dp-radius);
  padding: 22px 28px;
  box-shadow: var(--dp-shadow);
  border: 1px solid var(--dp-border);
}

.tv-author-header {
  display: flex;
  align-items: center;
  gap: 22px;
}

.tv-author-image {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--dp-primary);
  flex-shrink: 0;
}

.tv-author-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.tv-category-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  background: rgba(29, 185, 84, 0.15);
  color: var(--dp-primary);
}

.tv-author-info h1 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--dp-text);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.tv-author-info p {
  font-size: 0.95rem;
  color: var(--dp-text-muted);
  margin: 0;
  line-height: 1.4;
}

.tv-verified-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(29, 185, 84, 0.1);
  border-radius: 30px;
  color: var(--dp-primary);
  font-size: 0.8rem;
  font-weight: 600;
}

.tv-verified-badge i { font-size: 1rem; }

/* Story Card */
.tv-story-card {
  background: linear-gradient(145deg, var(--dp-card-bg), var(--dp-card-bg-alt));
  border-radius: var(--dp-radius);
  padding: 40px;
  box-shadow: var(--dp-shadow);
  border: 1px solid var(--dp-border);
}

.tv-story-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dp-text);
  margin: 0 0 30px 0;
  line-height: 1.3;
}

.tv-story-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tv-story-intro,
.tv-story-conclusion {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--dp-text-muted);
  margin: 0;
}

/* Quote — simplificado */
.tv-quote {
  padding: 24px 24px 24px 24px;
  background: rgba(29, 185, 84, 0.06);
  border-radius: var(--dp-radius-sm);
  border-left: 3px solid var(--dp-primary);
  margin: 10px 0;
}

.tv-quote-text {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--dp-text);
  display: block;
}

/* Timeline Card */
.tv-timeline-card {
  background: linear-gradient(145deg, var(--dp-card-bg), var(--dp-card-bg-alt));
  border-radius: var(--dp-radius);
  padding: 40px;
  box-shadow: var(--dp-shadow);
  border: 1px solid var(--dp-border);
}

.tv-section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.tv-section-icon {
  width: 44px;
  height: 44px;
  background: var(--dp-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.tv-section-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dp-text);
  margin: 0;
}

/* Timeline */
.tv-timeline {
  position: relative;
  padding-left: 30px;
}

.tv-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--dp-primary);
  border-radius: 2px;
  opacity: 0.3;
}

.tv-timeline .timeline-item {
  position: relative;
  padding-bottom: 30px;
}

.tv-timeline .timeline-item:last-child { padding-bottom: 0; }

.tv-timeline .timeline-dot {
  position: absolute;
  left: -30px;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--dp-card-bg-alt);
  border: 3px solid var(--dp-primary);
  border-radius: 50%;
  z-index: 1;
}

.tv-timeline .timeline-dot i { display: none; }

.tv-timeline .timeline-content {
  background: var(--dp-card-bg-alt);
  padding: 20px 24px;
  border-radius: var(--dp-radius-sm);
  border: 1px solid var(--dp-border);
  transition: transform 0.3s var(--smooth), opacity 0.3s var(--smooth), color 0.3s var(--smooth);
}

.tv-timeline .timeline-item:hover .timeline-content {
  border-color: rgba(29, 185, 84, 0.3);
}

.tv-timeline .timeline-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dp-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.tv-timeline .timeline-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dp-text);
  margin-bottom: 8px;
}

.tv-timeline .timeline-content p {
  font-size: 0.9rem;
  color: var(--dp-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Sidebar */
.tv-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: sticky;
  top: 100px;
}

/* Results Card */
.tv-results-card {
  background: linear-gradient(145deg, var(--dp-card-bg), var(--dp-card-bg-alt));
  border-radius: var(--dp-radius);
  padding: 30px;
  box-shadow: var(--dp-shadow);
  border: 1px solid var(--dp-border);
}

.tv-results-grid {
  display: grid;
  /* minmax(0,1fr) impede que valores longos (ex.: "Gastroenterologia") alarguem a coluna */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 15px;
}

.tv-results-grid .result-card {
  background: var(--dp-card-bg-alt);
  border-radius: var(--dp-radius-sm);
  padding: 20px 15px;
  text-align: center;
  border: 1px solid var(--dp-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  transition: transform 0.3s var(--smooth), opacity 0.3s var(--smooth), color 0.3s var(--smooth);
}

.tv-results-grid .result-card:hover {
  border-color: rgba(29, 185, 84, 0.3);
}

.tv-results-grid .result-value {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--dp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
  max-width: 100%;
  overflow-wrap: break-word;
}

/* Valores longos (ex.: "Gastroenterologia") recebem fonte menor via JS */
.tv-results-grid .result-value.is-long {
  font-size: 1.05rem;
  line-height: 1.2;
}

.tv-results-grid .result-label {
  font-size: 0.75rem;
  color: var(--dp-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Label longo (ex.: GASTROENTEROLOGIA) -> fonte menor para caber */
.tv-results-grid .result-label.label-sm {
  font-size: 0.62rem;
  letter-spacing: 0.3px;
}

/* Box sem valor com label curto (ex.: HCPA) -> fonte maior, mesma cor cinza dos labels das outras boxes */
.tv-results-grid .result-label.label-lg {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--dp-text-dim);
}

/* Box sem valor com label médio/longo (ex.: Hospital de Clínicas) -> destaque, mas cabendo na box */
.tv-results-grid .result-label.label-md {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.2;
  color: var(--dp-text-dim);
}

/* CTA Card */
.tv-cta-card {
  background: var(--dp-gradient);
  border-radius: var(--dp-radius);
  padding: 35px 30px;
  text-align: center;
  box-shadow: var(--dp-shadow-accent-xl);
}

.tv-cta-content i {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 15px;
  display: block;
}

.tv-cta-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin: 0 0 8px 0;
}

.tv-cta-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 20px 0;
}

.tv-cta-btn {
  display: inline-block;
  padding: 12px 30px;
  background: white;
  color: var(--dp-primary);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.3s var(--smooth), opacity 0.3s var(--smooth), color 0.3s var(--smooth);
}

.tv-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--dp-shadow-card);
  color: var(--dp-primary);
}

/* ==========================================
   NAVEGAÇÃO ENTRE DEPOIMENTOS — view page
   Bloco 11.3 da Fase 7: redesign estetica HealBridge.
   2 cards glass premium (Anterior + Proximo) + chip
   "Ver todas" centralizado abaixo. Padrao .sec-head no header.
   ========================================== */

.tv-nav-simple {
  margin-top: clamp(4rem, 8vh, 6rem);
  padding-top: clamp(3rem, 6vh, 4.5rem);
  border-top: 1px solid var(--cool-1, rgba(160,180,210,.06));
  position: relative;
}

/* Glow verde sutil no topo do nav (separa visualmente do conteudo acima) */
.tv-nav-simple::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  pointer-events: none;
}

/* Grid 2 colunas pros cards Anterior/Proximo */
.tv-nav-simple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 2.25rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

/* === CARD GLASS PREMIUM (Anterior / Proximo) === */
.tv-nav-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.5rem 1.6rem;
  background: var(--surface-1, rgba(255,255,255,.02));
  border: 1px solid var(--cool-1, rgba(160,180,210,.06));
  border-radius: var(--radius-xl, 20px);
  text-decoration: none;
  backdrop-filter: blur(40px) saturate(1.4);
  -webkit-backdrop-filter: blur(40px) saturate(1.4);
  box-shadow: var(--shadow-md, 0 8px 24px -8px rgba(0,0,0,.5));
  transition: transform 0.4s var(--smooth),
              border-color 0.4s var(--smooth),
              background 0.4s var(--smooth),
              box-shadow 0.4s var(--smooth);
  overflow: hidden;
}

/* Top accent line slide-in no hover (mesmo padrao Bloco 7.7) */
.tv-nav-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient-h, linear-gradient(90deg, var(--green), var(--green-hi)));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--circ);
  border-radius: var(--radius-xl, 20px) var(--radius-xl, 20px) 0 0;
  pointer-events: none;
  z-index: 1;
}

.tv-nav-card.next::before { transform-origin: right; }

.tv-nav-card:hover {
  transform: translateY(-4px);
  border-color: var(--cool-2, rgba(160,180,210,.12));
  background: var(--surface-2, rgba(255,255,255,.04));
  box-shadow: var(--shadow-lg, 0 24px 60px -20px rgba(0,0,0,.6));
}

.tv-nav-card:hover::before { transform: scaleX(1); }

/* Direction (Anterior / Proximo) — mono uppercase verde */
.tv-nav-card-direction {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin: 0;
}

.tv-nav-card-direction i {
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.4s var(--circ);
}

.tv-nav-card:hover .tv-nav-card-direction i { transform: translateX(-3px); }
.tv-nav-card.next:hover .tv-nav-card-direction i { transform: translateX(3px); }

/* Card .next: direction alinhada a direita */
.tv-nav-card.next .tv-nav-card-direction {
  align-self: flex-end;
}

/* Body do card: avatar + info */
.tv-nav-card-body {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tv-nav-card.next .tv-nav-card-body {
  flex-direction: row-reverse;
  text-align: right;
}

.tv-nav-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--cool-2, rgba(160,180,210,.12));
  flex-shrink: 0;
  transition: border-color 0.4s var(--smooth), filter 0.4s var(--smooth);
  filter: grayscale(20%);
}

.tv-nav-card:hover .tv-nav-card-avatar {
  border-color: var(--green);
  filter: grayscale(0%);
}

.tv-nav-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tv-nav-card-name {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--t0);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tv-nav-card-role {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--t2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === CHIP "VER TODAS AS N HISTORIAS" — centro abaixo dos cards === */
.tv-nav-allchip-wrap {
  display: flex;
  justify-content: center;
}

.tv-nav-allchip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.3rem;
  background: rgba(29, 185, 84, 0.06);
  border: 1px solid rgba(29, 185, 84, 0.18);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--t1);
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s var(--smooth);
}

.tv-nav-allchip strong {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0;
}

.tv-nav-allchip i {
  font-size: 0.8rem;
  color: var(--green);
}

.tv-nav-allchip:hover {
  background: rgba(29, 185, 84, 0.12);
  border-color: var(--green);
  color: var(--t0);
  transform: translateY(-2px);
}

/* === Mobile: cards empilhados === */
@media (max-width: 640px) {
  .tv-nav-simple-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .tv-nav-card.next .tv-nav-card-body {
    flex-direction: row;
    text-align: left;
  }
  .tv-nav-card.next .tv-nav-card-direction {
    align-self: flex-start;
  }
}

/* ==========================================
   ANIMAÇÃO DE ENTRADA
   ========================================== */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card-premium {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.swiper-slide:nth-child(1) .testimonial-card-premium { animation-delay: 0.1s; }
.swiper-slide:nth-child(2) .testimonial-card-premium { animation-delay: 0.2s; }
.swiper-slide:nth-child(3) .testimonial-card-premium { animation-delay: 0.3s; }

.video-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.video-card:nth-child(1) { animation-delay: 0.1s; }
.video-card:nth-child(2) { animation-delay: 0.15s; }
.video-card:nth-child(3) { animation-delay: 0.2s; }
.video-card:nth-child(4) { animation-delay: 0.25s; }
.video-card:nth-child(5) { animation-delay: 0.3s; }
.video-card:nth-child(6) { animation-delay: 0.35s; }

/* ==========================================
   RESPONSIVIDADE
   ========================================== */

/* Tablet */
@media (max-width: 1199px) {
  .tv-content-grid {
    grid-template-columns: 1fr 320px;
    gap: 30px;
  }
}

@media (max-width: 991px) {
  .depoimentos-section { padding: 24px 0; }

  .depoimentos-section .section-title h2 { font-size: 2rem; }

  .depoimentos-section .swiper-button-next,
  .depoimentos-section .swiper-button-prev { display: none; }

  .testimonials-hero { padding: 60px 0 40px; }
  .hero-content h1 { font-size: 2.2rem; }

  .testimonials-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .tv-content-grid { grid-template-columns: 1fr; }

  .tv-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .tv-results-card,
  .tv-cta-card {
    flex: 1;
    min-width: 280px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero-content h1 { font-size: 1.8rem; margin-bottom: 18px; }
  .hero-content .lead { font-size: 1rem; }
  .hero-eyebrow { font-size: 0.75rem; letter-spacing: 2px; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-hero { padding: 50px 0 30px; }

  .cta-content h2 { font-size: 1.6rem; }
  .cta-buttons { flex-direction: column; align-items: center; }

  .depoimentos-section .section-title h2 { font-size: 1.7rem; }

  .testimonial-card-premium { padding: 25px 20px; }

  .testimonial-card-header { flex-wrap: wrap; }

  .testimonial-card-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .video-btn-premium {
    width: 100%;
    justify-content: center;
  }

  .tv-hero, .tv-hero-text { padding: 30px 0 40px; }
  /* Em telas estreitas a foto vira retrato (4:5) para não cortar demais */
  .tv-photo-container { padding-top: 125%; border-radius: var(--dp-radius-sm); }
  .tv-photo-overlay { padding: 70px 20px 20px; }
  .tv-featured-quote-text { font-size: 1rem; }
  .tv-video-container { border-radius: var(--dp-radius-sm); }
  .tv-content { padding: 30px 0 50px; }

  .tv-author-header { flex-wrap: wrap; }
  .tv-author-image { width: 70px; height: 70px; }

  .tv-verified-badge {
    width: 100%;
    justify-content: center;
    margin-top: 15px;
  }

  .tv-story-card { padding: 25px; }
  .tv-story-title { font-size: 1.3rem; }
  .tv-timeline-card { padding: 25px; }

  .tv-sidebar { flex-direction: column; }

  .tv-results-card,
  .tv-cta-card { min-width: 100%; }

  .tv-nav-simple-grid { flex-direction: column; gap: 10px; }
  .tv-nav-simple-link { max-width: 100%; }
  .tv-nav-simple-link.next { flex-direction: row; text-align: left; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.6rem; }
  .tv-author-card { padding: 20px; }
  .tv-author-info h1 { font-size: 1.25rem; }
  .tv-story-title { font-size: 1.2rem; }
  .tv-results-grid .result-value { font-size: 1.3rem; }
}

/* ==========================================
   CONTADOR DE RESULTADOS
   ========================================== */
.testimonial-counter {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
  padding: 30px;
  background: var(--testimonial-card-bg, #0a0a0a);
  border-radius: 20px;
  box-shadow: var(--dp-shadow-dark-xl);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(29, 185, 84, 0.2);
}

.counter-item {
  text-align: center;
}

.counter-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.counter-label {
  font-size: 0.9rem;
  color: var(--t1, #b4bac7);
  margin-top: 5px;
}

.counter-suffix {
  font-size: 0.6em;
  vertical-align: super;
  -webkit-text-fill-color: var(--dp-primary);
}

@media (max-width: 767px) {
  .testimonial-counter {
    flex-direction: column;
    gap: 25px;
  }

  .counter-number {
    font-size: 2rem;
  }
}

/* Focus-visible para navegação por teclado */
.testimonial-card-premium:focus-within,
.text-btn-premium:focus-visible,
.video-btn-premium:focus-visible,
.btn-ver-todos:focus-visible,
.depoimentos-section .swiper-button-next:focus-visible,
.depoimentos-section .swiper-button-prev:focus-visible {
  outline: 2px solid var(--dp-primary);
  outline-offset: 3px;
}

.depoimentos-slider .swiper-pagination-bullet:focus-visible {
  outline: 2px solid var(--dp-primary);
  outline-offset: 2px;
}

/* Indicador de swipe no mobile */
.swipe-hint {
  display: none;
  text-align: center;
  padding: 10px 0 0;
  color: var(--dp-text-dim);
  font-size: 0.8rem;
  animation: swipeHintPulse 2s ease-in-out 3;
  animation-delay: 1s;
  opacity: 0;
}

.swipe-hint i {
  margin-right: 5px;
}

@keyframes swipeHintPulse {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

@media (max-width: 991px) {
  .swipe-hint {
    display: block;
  }
}

/* Acessibilidade: respeitar preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .testimonial-card-premium,
  .btn-ver-todos,
  .text-btn-premium,
  .video-btn-premium,
  .depoimentos-section .swiper-button-next,
  .depoimentos-section .swiper-button-prev,
  .depoimentos-slider .swiper-pagination-bullet,
  .depoimentos-slider .swiper-pagination-bullet-active::after,
  .swipe-hint,
  .quote-mark {
    transition: none !important;
    animation: none !important;
  }

  .swiper-wrapper {
    transition-duration: 0ms !important;
  }

  .swipe-hint {
    opacity: 1;
    animation: none !important;
  }
}

/* ==========================================
   SKIP LINK
   ========================================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--dp-primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 100000;
  transition: top 0.3s var(--smooth);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ==========================================
   SR-ONLY (screen reader only)
   ========================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================
   ALTO CONTRASTE
   ========================================== */
@media (prefers-contrast: more) {
  :root {
    --dp-border: rgba(29, 185, 84, 0.5);
    --dp-text-muted: #d0d0d0;
    --dp-text-dim: #b0b0b0;
  }
  .testimonial-card-premium {
    border: 2px solid var(--dp-primary);
  }
  .quote-mark { opacity: 1; }
}


/* =============================================================
   BLOCO 11.1 — CLASSES CANONICAS HEALBRIDGE (COPIADAS LITERAIS)
   Da Fase 7 — Refatoracao Estrutural HealBridge.

   Classes copiadas LITERAIS de
   /HealBridge_Website/assets/css/healbridge-core.css (l.311-381)
   pra que o testimonials use o mesmo padrao visual exato do site
   institucional. Sem escope — funcionam globalmente igual ao
   HealBridge real.

   IMPORTANTE: como sao adicionadas no FINAL do testimonials.css
   e usam a mesma paleta var(--green) ja existente, nao conflitam
   com classes legacy que ja funcionam.
   ============================================================= */

.tag {
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.2rem;
}
.tag .bar {
  width: 32px;
  height: 1.5px;
  background: var(--green);
  border-radius: 1px;
}
.tag.c { justify-content: center; }
.desc.c { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head { text-align: center; margin-bottom: 1.5rem; }
.sec-head .desc { margin-top: 1rem; }

.hdg-display {
  font-family: var(--display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.045em;
  color: var(--t0);
  margin-bottom: 1.6rem;
}
.hdg-display em {
  font-style: normal;
  background: linear-gradient(135deg, var(--green), var(--green-hi));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hdg {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -.04em;
  color: var(--t0);
  margin-bottom: 1.4rem;
}
.hdg em {
  font-style: normal;
  color: var(--green);
  background: linear-gradient(135deg, var(--green), var(--green-hi));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hdg-sm {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--t0);
}

.desc {
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--t1);
  line-height: 1.7;
  max-width: var(--reading-w);
  letter-spacing: -.005em;
}

.line {
  width: 44px;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
  margin: 1.4rem 0;
}
.line.c { margin: 1.4rem auto; }


/* === Hero do testimonials usando as classes HealBridge canonicas === */
.testimonials-hero {
  padding: clamp(5rem, 9vh, 8rem) 0 clamp(3rem, 6vh, 5rem);
  background: var(--dp-bg);
  position: relative;
  overflow: hidden;
}
.testimonials-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(29,185,84,.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
}
.testimonials-hero > .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}


/* =============================================================
   BLOCO 11.4 — FOOTER REFEITO (Fase 7 — estetica HealBridge)
   Aplicado em testimonials.html e video-testimonial-view.html
   (ambos carregam testimonials.css). Layout 4-col + bottom bar.
   ============================================================= */

.footer-tv {
  background: var(--s0, #0a0c10);
  color: var(--t1);
  border-top: 1px solid var(--cool-1, rgba(160,180,210,.06));
  position: relative;
  overflow: hidden;
}

/* Glow verde sutil no topo (linha luminosa) */
.footer-tv::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  pointer-events: none;
}

/* Orb verde radial decorativo (sutil) */
.footer-tv::after {
  content: '';
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(29,185,84,.06) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(20px);
}

.footer-tv-container {
  position: relative;
  z-index: 1;
  max-width: var(--content-w, 1280px);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vh, 5rem) clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 3vh, 2rem);
}

/* === GRID 4 COLS — desktop ============================================ */
.footer-tv-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3rem;
}

/* === BRAND === */
.footer-tv-brand { display: flex; flex-direction: column; gap: 1rem; }

.footer-tv-logo {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--t0);
  text-decoration: none;
  transition: color 0.3s var(--smooth);
}
.footer-tv-logo span { color: var(--green); }
.footer-tv-logo:hover { color: var(--green); }

.footer-tv-tagline {
  font-size: 0.92rem;
  color: var(--t1);
  line-height: 1.6;
  max-width: 360px;
  margin: 0;
}

.footer-tv-byline {
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cool-1, rgba(160,180,210,.06));
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-tv-byline-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--t2);
}

.footer-tv-byline a {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  letter-spacing: -0.015em;
  transition: opacity 0.3s var(--smooth);
}
.footer-tv-byline a:hover { opacity: 0.8; }
.footer-tv-byline a i { font-size: 0.75em; vertical-align: 0; margin-left: 2px; }

/* === COLUNAS DE LINKS === */
.footer-tv-col,
.footer-tv-contact { display: flex; flex-direction: column; gap: 1rem; }

.footer-tv-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
}
.footer-tv-label .bar {
  width: 24px;
  height: 1.5px;
  background: var(--green);
  border-radius: 1px;
}

.footer-tv-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-tv-col ul a {
  font-size: 0.92rem;
  color: var(--t1);
  text-decoration: none;
  transition: color 0.3s var(--smooth), padding-left 0.3s var(--smooth);
  display: inline-block;
}

.footer-tv-col ul a:hover {
  color: var(--green);
  padding-left: 0.3rem;
}

.footer-tv-col ul a i {
  font-size: 0.75em;
  vertical-align: 0;
  margin-left: 0.2rem;
  opacity: 0.6;
}

/* === CONTATO === */
.footer-tv-email {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--t0);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed var(--cool-2, rgba(160,180,210,.12));
  padding-bottom: 0.2rem;
  width: fit-content;
  transition: color 0.3s var(--smooth), border-color 0.3s var(--smooth);
}
.footer-tv-email:hover {
  color: var(--green);
  border-color: var(--green);
}

.footer-tv-location {
  font-size: 0.85rem;
  color: var(--t2);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-tv-location i { color: var(--green); font-size: 0.95rem; }

.footer-tv-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.footer-tv-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(29, 185, 84, 0.06);
  border: 1px solid rgba(29, 185, 84, 0.18);
  color: var(--t1);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s var(--smooth);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer-tv-social a:hover {
  background: var(--green);
  border-color: var(--green);
  color: #000;
  transform: translateY(-2px) scale(1.05);
}

/* === BOTTOM BAR === */
.footer-tv-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--cool-1, rgba(160,180,210,.06));
  flex-wrap: wrap;
}

.footer-tv-copy {
  font-size: 0.8rem;
  color: var(--t2);
  margin: 0;
  letter-spacing: 0.2px;
}
.footer-tv-copy strong { color: var(--t1); font-weight: 700; }

.footer-tv-meta {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--t2);
  margin: 0;
}
.footer-tv-meta-accent { color: var(--green); }

/* === MOBILE === */
@media (max-width: 900px) {
  .footer-tv-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }
  .footer-tv-brand,
  .footer-tv-contact { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .footer-tv-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-tv-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
}


/* =============================================================
   BLOCO 11.10 — DEPOIMENTOS HOMEPAGE (Fase 7)
   Refinos visuais HealBridge na section .depoimentos-section
   da homepage. JS Swiper preservado intacto (init em main.js l.272).
   ============================================================= */

.depoimentos-section {
  padding: 32px 0;
  position: relative;
  overflow: hidden;
}

.depoimentos-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(29,185,84,.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
}

.depoimentos-section > .container {
  position: relative;
  z-index: 1;
}

.depoimentos-section .sec-head {
  margin-bottom: clamp(1.5rem, 3vh, 2.25rem);
}

/* === Botoes Swiper estilo glass HealBridge === */
.depoimentos-section .swiper-button-next,
.depoimentos-section .swiper-button-prev {
  width: 52px;
  height: 52px;
  background: var(--surface-1);
  border: 1px solid var(--cool-2);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s var(--smooth);
}
.depoimentos-section .swiper-button-next:hover,
.depoimentos-section .swiper-button-prev:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 12px 32px rgba(29,185,84,0.35);
}
.depoimentos-section .swiper-button-next::after,
.depoimentos-section .swiper-button-prev::after {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green);
  transition: color 0.3s var(--smooth);
}
.depoimentos-section .swiper-button-next:hover::after,
.depoimentos-section .swiper-button-prev:hover::after {
  color: #000;
}

/* === Pagination bullets sutis HealBridge === */
.depoimentos-slider .swiper-pagination {
  margin-top: 1.75rem;
  gap: 0.5rem;
  align-items: center;
}
.depoimentos-slider .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.20);   /* bolinhas pequenas e discretas */
  opacity: 1;
  border-radius: 50%;
  transition: width 0.3s var(--smooth), background 0.3s var(--smooth);
}
.depoimentos-slider .swiper-pagination-bullet:not(.swiper-pagination-bullet-active):hover {
  background: rgba(255, 255, 255, 0.45);
}
/* ativa: mesma bolinha, só verde sólida (sem traço/pílula/glow) */
.depoimentos-slider .swiper-pagination-bullet-active {
  background: var(--green);
  width: 7px;
  border-radius: 50%;
  box-shadow: none;
}
/* minimalista: sem a barra de progresso animada */
.depoimentos-slider .swiper-pagination-bullet-active::after { display: none; }

/* === CTA "Ver todos" — pill mono uppercase HealBridge === */
.depoimentos-section .testimonials-cta {
  text-align: center;
  margin-top: 2.5rem;
}
.depoimentos-section .btn-ver-todos {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  background: rgba(29,185,84,.06);
  border: 1px solid rgba(29,185,84,.2);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--t0);
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s var(--smooth);
}
.depoimentos-section .btn-ver-todos i {
  font-size: 0.85rem;
  color: var(--green);
  transition: transform 0.3s var(--smooth);
}
.depoimentos-section .btn-ver-todos:hover {
  background: rgba(29,185,84,.14);
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}
.depoimentos-section .btn-ver-todos:hover i { transform: translateX(4px); }

/* === Refinos sutis nos cards === */
.depoimentos-section .testimonial-card-premium {
  background: var(--surface-1);
  border: 1px solid var(--cool-1);
  backdrop-filter: blur(40px) saturate(1.4);
  -webkit-backdrop-filter: blur(40px) saturate(1.4);
  transition: all 0.4s var(--smooth);
  position: relative;
  overflow: hidden;
}
.depoimentos-section .testimonial-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--green-hi));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--circ);
  border-radius: var(--dp-radius) var(--dp-radius) 0 0;
}
.depoimentos-section .testimonial-card-premium:hover {
  transform: translateY(-4px);
  border-color: var(--cool-2);
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
}
.depoimentos-section .testimonial-card-premium:hover::before {
  transform: scaleX(1);
}

/* Aspas decorativas + tipografia editorial */
.depoimentos-section .testimonial-content .quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--green);
  opacity: 0.18;
  font-family: var(--display);
  font-weight: 700;
}
.depoimentos-section .testimonial-author-info h4 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--t0);
}
.depoimentos-section .testimonial-role .role-title {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
}
.depoimentos-section .testimonial-role .role-institution {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--t2);
}

@media (max-width: 768px) {
  .depoimentos-section .swiper-button-prev { left: -8px; }
  .depoimentos-section .swiper-button-next { right: -8px; }
  .depoimentos-section .swiper-button-next,
  .depoimentos-section .swiper-button-prev { width: 44px; height: 44px; }
}

