/* TESTIMONIALS / DEPOIMENTOS */
.testimonials {
  background: #fff;
  padding: clamp(4rem, 6vw, 6.5rem) 1rem;
}

.testimonials .container {
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 2.6rem;
}

.testimonials-header .badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.08);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonials-header h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  color: #0f1724;
  margin: 14px 0 8px;
  font-weight: 800;
}

.testimonials-header p {
  color: #6b7280;
  margin: 0 auto;
  max-width: 720px;
}

.testimonial-card {
  display: flex;
  gap: 28px;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(12, 14, 22, 0.06);
  border: 1px solid rgba(12, 14, 22, 0.04);
}

.testimonial-card .avatar {
  flex: 0 0 84px;
}
.testimonial-card .avatar img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(225, 29, 72, 0.08);
}

.testimonial-content {
  flex: 1;
}

.testimonial-content .quote {
  font-style: italic;
  color: #374151;
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.6;
  position: relative;
}

.testimonial-content .author {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}
.testimonial-content .author strong {
  color: #0f1724;
}
.testimonial-content .author span {
  color: #6b7280;
  font-size: 0.95rem;
}

.testimonial-controls {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.testimonial-controls .nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(12, 14, 22, 0.06);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(12, 14, 22, 0.04);
}

.testimonial-controls .dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.testimonial-controls .dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(15, 23, 36, 0.12);
}
.testimonial-controls .dot.active {
  width: 28px;
  height: 8px;
  background: var(--accent);
  border-radius: 99px;
}

/* Responsivo */
@media (max-width: 900px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .testimonial-card .avatar {
    flex: 0 0 72px;
  }
  .testimonial-card .avatar img {
    width: 72px;
    height: 72px;
  }
}
@media (max-width: 520px) {
  .testimonial-card {
    padding: 20px;
  }
  .testimonials-header h2 {
    font-size: 1.6rem;
  }
  .testimonial-controls {
    gap: 8px;
  }
}


:root {
  --primary: #2f3e50;
  --primary-dark: #1f2a36;
  --primary-light: #4a647f;
}

/* =========================
   CTA SECTION
========================= */
.cta-section {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) 1.2rem;
  background:
    radial-gradient(900px at 20% 30%, rgba(74, 100, 127, 0.35), transparent 60%),
    radial-gradient(700px at 80% 70%, rgba(47, 62, 80, 0.45), transparent 60%),
    linear-gradient(180deg, var(--primary-dark), var(--primary));
  overflow: hidden;
  color: #fff;
}

/* textura sutil */
.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    );
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
  pointer-events: none;
}

/* CONTAINER */
.cta-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* BADGE */
.cta-badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(6px);
}

/* TITLE */
.cta-container h2 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

/* TEXT */
.cta-container p {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

/* ACTIONS */
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* PRIMARY BUTTON */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border-radius: 14px;
  background: #ffffff;
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary span {
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.45);
}

.btn-primary:hover span {
  transform: translateX(4px);
}

/* SECONDARY BUTTON */
.btn-secondary {
  padding: 0.9rem 1.6rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

/* ENTRANCE ANIMATION */
.cta-container {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVO */
@media (max-width: 520px) {
  .cta-container h2 {
    font-size: 2rem;
  }

  .cta-container p {
    font-size: 1rem;
  }
}
