/**
 * Testimonials Slider Block Styles
 * 
 * @package TerapiadoStress
 */

.testimonials-slider {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 80px 0;
  background-color: #f9f9f9;
  background-repeat: repeat;
  background-size: cover;
  background-position: center;
}

/* Container Principal */
.testimonials-slider__container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Título */
.testimonials-slider__title {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-slider__title h2,
.testimonials-slider__title h3 {
  font-size: 42px;
  line-height: 1.3;
  margin: 0;
  color: var(--color-green);
}

.testimonials-slider__title p {
  font-size: 42px;
  line-height: 1.3;
  margin: 0;
  color: var(--color-green);
}

.testimonials-slider__title strong,
.testimonials-slider__title b {
  font-weight: 700;
  display: block;
}

/* Grid de 3 Colunas */
.testimonials-slider__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Item Individual */
.testimonials-slider__item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials-slider__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Imagem */
.testimonials-slider__image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: #e0e0e0;
}

.testimonials-slider__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Texto */
.testimonials-slider__text {
  padding: 30px;
}

.testimonials-slider__text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-brown);
  margin: 0 0 15px;
}

.testimonials-slider__text p:last-child {
  margin-bottom: 0;
}

.testimonials-slider__text strong,
.testimonials-slider__text b {
  font-weight: 700;
}

.testimonials-slider__text em,
.testimonials-slider__text i {
  font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonials-slider__title h2,
  .testimonials-slider__title h3,
  .testimonials-slider__title p {
    font-size: 36px;
  }

  .testimonials-slider__grid {
    gap: 30px;
  }

  .testimonials-slider__image {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .testimonials-slider {
    padding: 60px 0;
  }

  .testimonials-slider__title {
    margin-bottom: 40px;
  }

  .testimonials-slider__title h2,
  .testimonials-slider__title h3,
  .testimonials-slider__title p {
    font-size: 32px;
  }

  .testimonials-slider__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .testimonials-slider__image {
    height: 300px;
  }

  .testimonials-slider__text {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .testimonials-slider {
    padding: 50px 0;
  }

  .testimonials-slider__title h2,
  .testimonials-slider__title h3,
  .testimonials-slider__title p {
    font-size: 23px;
  }

  .testimonials-slider__image {
    height: 250px;
  }

  .testimonials-slider__text {
    padding: 20px;
  }

  .testimonials-slider__text p {
    font-size: 15px;
  }
}

/* Form Wrapper com Fundo Verde */
.testimonials-slider__form-wrapper {
  margin-top: 80px;
  background-color: var(--color-green);
  border-radius: 50px;
  padding: 60px;
  text-align: center;
}

.testimonials-slider__form-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.3;
}

.testimonials-slider__form-description {
  font-size: 18px;
  color: #fff;
  margin: 0 0 40px;
  line-height: 1.6;
}

.testimonials-slider__form {
  max-width: 800px;
  margin: 0 auto;
}

/* Estilos do Contact Form 7 */
.testimonials-slider__form .wpcf7-form {
  text-align: left;
}

.testimonials-slider__form .wpcf7-form p {
  margin-bottom: 20px;
}

/* Labels - brancas, acima dos inputs e bold */
.testimonials-slider__form label {
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
  display: block;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 8px;
}

.testimonials-slider__form input[type='text'],
.testimonials-slider__form input[type='email'],
.testimonials-slider__form input[type='tel'],
.testimonials-slider__form textarea,
.testimonials-slider__form select {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  background-color: #fff;
  color: #333;
}

.testimonials-slider__form textarea {
  min-height: 120px;
  resize: vertical;
}

.testimonials-slider__form input[type='submit'] {
  background-color: #fff;
  color: #4caf50;
  padding: 16px 40px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonials-slider__form input[type='submit']:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.testimonials-slider__form .wpcf7-not-valid-tip {
  color: #fff;
  font-size: 14px;
  margin-top: 5px;
}

.testimonials-slider__form .wpcf7-response-output {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
}

/* Responsive para o Form */
@media (max-width: 768px) {
  .testimonials-slider__form-wrapper {
    margin-top: 60px;
    padding: 40px 30px;
    border-radius: 30px;
  }

  .testimonials-slider__form-title {
    font-size: 28px;
  }

  .testimonials-slider__form-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .testimonials-slider__form-wrapper {
    margin-top: 50px;
    padding: 30px 20px;
    border-radius: 25px;
  }

  .testimonials-slider__form-title {
    font-size: 24px;
  }

  .testimonials-slider__form-description {
    font-size: 15px;
  }

  .testimonials-slider__form input[type='text'],
  .testimonials-slider__form input[type='email'],
  .testimonials-slider__form input[type='tel'],
  .testimonials-slider__form textarea,
  .testimonials-slider__form select {
    padding: 12px;
    font-size: 15px;
  }

  .testimonials-slider__form input[type='submit'] {
    padding: 14px 30px;
    font-size: 14px;
  }
}

/* WhatsApp CTA Wrapper */
.testimonials-slider__whatsapp-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* WhatsApp CTA Button */
.testimonials-slider__whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background-color: var(--color-green-light);
  color: var(--color-white);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonials-slider__whatsapp-cta:hover {
  background-color: var(--color-green);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.testimonials-slider__whatsapp-cta i {
  font-size: 24px;
}
