/**
 * Text CTA Half Section Block Styles
 * 
 * @package TerapiadoStress
 */

.text-cta-half-section {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  min-height: 500px;
  padding: 80px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background Image */
.text-cta-half-section__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Container Principal */
.text-cta-half-section__container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Conteúdo */
.text-cta-half-section__content {
  flex: 0 0 50%;
  max-width: 585px;
  color: #fff;
}

.text-cta-half-section__text {
  margin-bottom: 40px;
}

.text-cta-half-section__text p {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 20px;
  color: #fff;
}

.text-cta-half-section__text p:last-child {
  margin-bottom: 0;
}

.text-cta-half-section__text h1,
.text-cta-half-section__text h2,
.text-cta-half-section__text h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  line-height: 1.3;
  font-weight: 300;
  margin: 0 0 20px;
  color: #fff;
}

.text-cta-half-section__text h1 strong,
.text-cta-half-section__text h1 b,
.text-cta-half-section__text h2 strong,
.text-cta-half-section__text h2 b,
.text-cta-half-section__text h3 strong,
.text-cta-half-section__text h3 b {
  font-weight: 700;
}

.text-cta-half-section__text h4 {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 15px;
  color: #fff;
}

.text-cta-half-section__text strong,
.text-cta-half-section__text b {
  font-weight: 700;
}

/* CTA Button */
.text-cta-half-section__cta {
  margin-top: 40px;
}

.text-cta-half-section__cta-button {
  display: inline-block;
  padding: 16px 40px;
  background-color: var(--color-green-light);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.text-cta-half-section__cta-button:hover {
  background-color: var(--color-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.text-cta-half-section__cta-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .text-cta-half-section {
    padding: 60px 0;
    min-height: 400px;
  }

  .text-cta-half-section__container {
    justify-content: center;
  }

  .text-cta-half-section__content {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }

  .text-cta-half-section__text h1,
  .text-cta-half-section__text h2,
  .text-cta-half-section__text h3 {
    font-size: 28px;
  }

  .text-cta-half-section__text p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .text-cta-half-section {
    padding: 50px 0;
  }

  .text-cta-half-section__text h1,
  .text-cta-half-section__text h2,
  .text-cta-half-section__text h3 {
    font-size: 24px;
  }

  .text-cta-half-section__text h4 {
    font-size: 20px;
  }

  .text-cta-half-section__text p {
    font-size: 15px;
  }

  .text-cta-half-section__cta-button {
    padding: 14px 30px;
    font-size: 14px;
  }
}
