/* ==========================================
 * PÁGINA RESULTADOS - TEMA LARANJA
 * ========================================== */

.resultados-page {
  min-height: 100vh;
  background-color: #f8f9fa;
}

/* Hero */
.hero-page {
  background: radial-gradient(circle at top, #ff5500 0%, #ff9a3c 40%, #ff5500 100%);
  padding: 7rem 2rem 4rem;
  text-align: center;
  color: white;
  margin-bottom: 0;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.page-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================================
 * ESTATÍSTICAS
 * ========================================== */

.stats-section {
  padding: 4rem 1rem;
  background: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #ff5500;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: #2c3e50;
  font-weight: 600;
}

.stat-text {
  font-size: 0.95rem;
  color: #5a6c7d;
  margin-top: 0.75rem;
}

/* ==========================================
 * SEÇÕES GENÉRICAS
 * ========================================== */

.testimonials-section {
  padding: 4rem 1rem;
  background: #f8f9fa;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #5a6c7d;
  text-align: center;
  margin-bottom: 3rem;
}

/* ==========================================
 * DEPOIMENTOS EM VÍDEO
 * ========================================== */

.video-testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.video-testimonial-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.75rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  align-items: stretch;
  overflow: hidden;
}

.video-testimonial-card:nth-child(odd) {
  border-left: 4px solid #ff5500;
}

.video-testimonial-card:nth-child(even) {
  border-right: 4px solid #ff5500;
}

/* Wrapper do vídeo / capa */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

/* Imagem de capa */
.video-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay de play */
.video-overlay-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.6)
  );
  text-align: center;
  padding: 1rem;
  transition: background 0.25s ease, transform 0.25s ease;
}

.video-overlay-play-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.video-overlay-play-text {
  font-size: 0.95rem;
  opacity: 0.95;
}

.video-wrapper:hover .video-overlay-play {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.75)
  );
  transform: scale(1.02);
}

/* Loader central enquanto iframe carrega */
.video-loader {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
}

.video-loader.visible {
  display: flex;
}

.video-loader-spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ff9a3c;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* iframe */
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Info lateral */
.video-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.25rem 0.5rem 0.25rem 0;
}

.video-quote-icon {
  font-size: 1.5rem;
  color: #ff9a3c;
  margin-bottom: 0.75rem;
}

.video-quote {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #2c3e50;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.video-author-block {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.video-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9a3c 0%, #ff5500 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.video-author-texts {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.video-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2c3e50;
  font-family: 'Montserrat', sans-serif;
}

.video-meta {
  font-size: 0.9rem;
  color: #5a6c7d;
}

/* ==========================================
 * CTA FINAL
 * ========================================== */

.cta-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  text-align: center;
  color: white;
}

.cta-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
}

.cta-text {
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
  opacity: 0.95;
  line-height: 1.7;
}

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

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-cta i {
  font-size: 1.125rem;
}

.btn-primary {
  background: #ff5500;
  color: white;
  box-shadow: 0 4px 12px rgba(255, 85, 0, 0.3);
}

.btn-primary:hover {
  background: #e24c00;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 85, 0, 0.4);
}

/* ==========================================
 * BOTÃO WHATSAPP FLUTUANTE
 * ========================================== */

.whatsapp-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 6px;
}

.whatsapp-floating-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  font-size: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.whatsapp-floating-button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  background-color: #1ebe5b;
}

.whatsapp-floating-message {
  position: relative;
  max-width: 220px;
  background: linear-gradient(135deg, #f3e8ff 0%, #e0d4ff 100%);
  color: #1f2933;
  border-radius: 18px;
  padding: 8px 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  border: 1px solid rgba(0, 0, 0, 0.03);
  text-align: left;
  word-break: break-word;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.whatsapp-floating-message span {
  display: block;
}

.whatsapp-floating-message::after {
  content: '';
  position: absolute;
  right: 18px;
  bottom: -6px;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #f3e8ff 0%, #e0d4ff 100%);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.whatsapp-floating-message::before {
  content: '';
  position: absolute;
  right: 12px;
  bottom: -18px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #f3e8ff 0%, #e0d4ff 100%);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.whatsapp-floating-message.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ==========================================
 * RESPONSIVE
 * ========================================== */

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 900px) {
  .video-testimonial-card {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }
}

@media (max-width: 768px) {
  .resultados-page {
    padding-top: 72px;
  }

  .hero-page {
    padding: 4.5rem 1.5rem 3rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cta-title {
    font-size: 1.7rem;
  }

  .cta-text {
    font-size: 0.98rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-cta {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .whatsapp-floating {
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-floating-button {
    width: 52px;
    height: 52px;
    font-size: 26px;
  }

  .whatsapp-floating-message {
    max-width: 190px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .hero-page {
    padding: 3.5rem 1rem 2.75rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .whatsapp-floating-message {
    display: none;
  }
}