/* Depoimentos Section - Design Moderno */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: visible;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 22, 53, 0.1), transparent);
}

.testimonials .section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials .section-header h2 {
  color: #001635;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.testimonials .section-header p {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.6;
}

.testimonials .swiper {
  overflow: hidden;
  padding: 20px 80px 60px 80px;
  position: relative;
  width: 100%;
  max-width: 100%;
}

.testimonials .swiper-wrapper {
  align-items: stretch;
}

.testimonials .swiper-slide {
  height: auto;
  display: flex;
  padding: 0 15px;
  width: calc(33.333% - 20px) !important;
  max-width: calc(33.333% - 20px) !important;
  flex: 0 0 calc(33.333% - 20px) !important;
}

.testimonials .testimonial-item {
  background: #ffffff;
  padding: 40px 35px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 22, 53, 0.08);
  box-shadow: 
    0 4px 20px rgba(0, 22, 53, 0.08),
    0 1px 3px rgba(0, 22, 53, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  height: 100%;
  min-height: 380px;
}

.testimonials .testimonial-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0px;
  background: transparent;
  border-radius: 24px 24px 0 0;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.testimonials .testimonial-item:hover::before {
  transform: scaleX(0);
}

.testimonials .testimonial-item:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(0, 22, 53, 0.15),
    0 8px 16px rgba(0, 22, 53, 0.1);
  border-color: rgba(0, 22, 53, 0.15);
}

.testimonials .testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.testimonials .testimonial-img {
  width: 60px !important;
  height: 60px !important;
  min-width: 60px;
  min-height: 60px;
  max-width: 60px;
  max-height: 60px;
  border-radius: 50% !important;
  object-fit: cover;
  object-position: center center;
  margin-right: 16px;
  border: none !important;
  transition: border-color 0.3s ease;
  display: block;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

.testimonials .testimonial-item:hover .testimonial-img {
  border: none !important;
}

.testimonials .client-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.testimonials .client-info p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.testimonials .stars {
  margin-bottom: 20px;
  display: flex;
  gap: 3px;
}

.testimonials .stars i {
  color: #fbbf24;
  font-size: 16px;
  filter: drop-shadow(0 1px 2px rgba(251, 191, 36, 0.2));
}

.testimonials .testimonial-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testimonials .testimonial-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
  flex: 1;
  position: relative;
  font-style: italic;
}

.testimonials .testimonial-content p::before {
  content: '"';
  font-size: 4rem;
  color: rgba(0, 22, 53, 0.1);
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonials .testimonial-content p::after {
  content: '"';
  font-size: 4rem;
  color: rgba(0, 22, 53, 0.1);
  position: absolute;
  bottom: -40px;
  right: -10px;
  font-family: Georgia, serif;
  line-height: 1;
}

/* Swiper Navigation - Design Moderno */
.testimonials .swiper-button-next,
.testimonials .swiper-button-prev {
  width: 56px;
  height: 56px;
  background: #ffffff;
  border: 1px solid rgba(0, 22, 53, 0.1);
  border-radius: 50%;
  color: #001635;
  box-shadow: 
    0 8px 24px rgba(0, 22, 53, 0.12),
    0 4px 8px rgba(0, 22, 53, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: -28px !important;
  backdrop-filter: blur(10px);
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%);
  z-index: 10;
}

.testimonials .swiper-button-next:hover,
.testimonials .swiper-button-prev:hover {
  background: #001635;
  color: #ffffff;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 
    0 16px 32px rgba(0, 22, 53, 0.2),
    0 8px 16px rgba(0, 22, 53, 0.15);
  border-color: #001635;
}

.testimonials .swiper-button-next::after,
.testimonials .swiper-button-prev::after {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.testimonials .swiper-button-next {
  right: 20px !important;
}

.testimonials .swiper-button-prev {
  left: 20px !important;
}

/* Paginação Moderna */
.testimonials .swiper-pagination {
  bottom: 20px !important;
  position: relative !important;
  margin-top: 40px;
}

.testimonials .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(0, 22, 53, 0.3);
  opacity: 1;
  margin: 0 6px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.testimonials .swiper-pagination-bullet::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.testimonials .swiper-pagination-bullet-active {
  background: #001635;
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(0, 22, 53, 0.3);
}

.testimonials .swiper-pagination-bullet-active::before {
  background: #ffffff;
}

/* Responsividade Moderna */
@media (max-width: 1200px) {
  .testimonials .swiper-slide {
    padding: 0 10px;
    width: calc(33.333% - 15px) !important;
    max-width: calc(33.333% - 15px) !important;
    flex: 0 0 calc(33.333% - 15px) !important;
  }
}

@media (max-width: 991.98px) {
  .testimonials {
    padding: 80px 0;
  }
  
  .testimonials .section-header h2 {
    font-size: 2.2rem;
  }
  
  .testimonials .swiper {
    padding: 20px 60px 60px 60px;
  }
  
  .testimonials .swiper-slide {
    width: calc(50% - 15px) !important;
    max-width: calc(50% - 15px) !important;
    flex: 0 0 calc(50% - 15px) !important;
  }
  
  .testimonials .testimonial-item {
    padding: 32px 28px;
    min-height: 360px;
  }
  
  .testimonials .swiper-button-next,
  .testimonials .swiper-button-prev {
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
  }
  
  .testimonials .swiper-button-next:hover,
  .testimonials .swiper-button-prev:hover {
    transform: translateY(-50%) scale(1.05);
  }
  
  .testimonials .swiper-button-next::after,
  .testimonials .swiper-button-prev::after {
    font-size: 14px;
  }
  
  .testimonials .swiper-button-next {
    right: 15px !important;
  }
  
  .testimonials .swiper-button-prev {
    left: 15px !important;
  }
  
  .testimonials .testimonial-content p::before,
  .testimonials .testimonial-content p::after {
    font-size: 3rem;
  }
}

@media (max-width: 767.98px) {
  .testimonials {
    padding: 60px 0;
  }
  
  .testimonials .section-header {
    margin-bottom: 40px;
  }
  
  .testimonials .section-header h2 {
    font-size: 1.9rem;
  }
  
  .testimonials .section-header p {
    font-size: 1rem;
  }
  
  .testimonials .swiper {
    padding: 20px 50px 60px 50px;
  }
  
  .testimonials .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 5px;
  }
  
  .testimonials .testimonial-item {
    padding: 28px 24px;
    min-height: 320px;
    border-radius: 20px;
  }
  
  .testimonials .testimonial-header {
    margin-bottom: 20px;
  }
  
  .testimonials .testimonial-img {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
    margin-right: 12px;
    border-radius: 50% !important;
    object-fit: cover;
    object-position: center center;
    display: block;
    overflow: hidden;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
  }
  
  .testimonials .client-info h4 {
    font-size: 1rem;
  }
  
  .testimonials .client-info p {
    font-size: 0.85rem;
  }
  
  .testimonials .testimonial-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .testimonials .stars {
    margin-bottom: 16px;
  }
  
  .testimonials .stars i {
    font-size: 14px;
  }
  
  .testimonials .swiper-button-next,
  .testimonials .swiper-button-prev {
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
  }
  
  .testimonials .swiper-button-next:hover,
  .testimonials .swiper-button-prev:hover {
    transform: translateY(-50%) scale(1.05);
  }
  
  .testimonials .swiper-button-next::after,
  .testimonials .swiper-button-prev::after {
    font-size: 12px;
  }
  
  .testimonials .swiper-button-next {
    right: 10px !important;
  }
  
  .testimonials .swiper-button-prev {
    left: 10px !important;
  }
  
  .testimonials .testimonial-content p::before,
  .testimonials .testimonial-content p::after {
    font-size: 2.5rem;
  }
  
  .testimonials .testimonial-content p::before {
    top: -16px;
    left: -8px;
  }
  
  .testimonials .testimonial-content p::after {
    bottom: -32px;
    right: -8px;
  }
}

/* Regra existente para .btn-premium */
.btn-premium {
  /* ... (estilo existente) ... */
}

/* Novas regras para os botões de contato (contact-btn) inseridos nas páginas contadores e planos */
.contact-btn {
  display: inline-block;
  margin-top: 1rem; /* Espaçamento superior */
  padding: 0.5rem 1.5rem;
  background-color: var(--azul); /* Cor de fundo azul (definida em :root) */
  color: white; /* Texto branco */
  border: none;
  border-radius: 4px; /* Bordas arredondadas */
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease; /* Efeito hover suave */
}

.contact-btn:hover {
  background-color: var(--azul-escuro); /* Cor de fundo ao passar o mouse (definida em :root) */
}

/* Regra para os botões de contato dentro de .pricing-action (em planos.html) */
.pricing-action .contact-btn {
  margin-top: 0.5rem; /* Espaçamento menor se estiver dentro de .pricing-action */
}

.btn-premium.contact-btn, .contact-btn.btn-premium {
  background: linear-gradient(135deg, var(--azul) 0%, var(--degrade) 100%) !important;
  color: var(--branco) !important;
  border: none !important;
  padding: 15px 30px !important;
  border-radius: 50px !important;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  box-shadow: 0 4px 15px rgba(0, 22, 53, 0.08);
}

.btn-premium.contact-btn:hover, .contact-btn.btn-premium:hover {
  background: linear-gradient(135deg, var(--degrade) 0%, var(--azul) 100%) !important;
  color: var(--branco) !important;
  box-shadow: 0 8px 25px rgba(0, 22, 53, 0.15);
} 