/* Home only. Native horizontal scrolling remains available without JavaScript. */
.marketing-page .plans-section > .section-intro.centered {
  max-width: 790px;
  margin-bottom: 38px;
}
.marketing-page .plans-section > .section-intro h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.375rem);
  line-height: 1.18;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.marketing-page .home-testimonials {
  max-width: 1180px;
  margin: 0 auto 48px;
  color: #101b37;
}
.home-testimonials .testimonials-heading {
  text-align: center;
  margin-bottom: 22px;
}
.home-testimonials .testimonials-heading h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.35;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.home-testimonials .testimonials-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 2px 0 14px;
}
.home-testimonials[data-carousel-ready="true"] .testimonials-grid { scrollbar-width: none; }
.home-testimonials[data-carousel-ready="true"] .testimonials-grid::-webkit-scrollbar { display: none; }
.home-testimonials .testimonials-grid:focus-visible {
  outline: 2px solid #3156d9;
  outline-offset: 3px;
}
.home-testimonials .testimonial-card {
  scroll-snap-align: start;
  min-width: 0;
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid #e0e7f3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(24, 48, 92, .055);
}
.home-testimonials .testimonials-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.home-testimonials .testimonials-controls[hidden] { display: none; }
.home-testimonials .testimonial-arrow,
.home-testimonials .testimonial-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  border: 1px solid #cbd9ed;
  border-radius: 999px;
  background: #fff;
  color: #183263;
  font: inherit;
  cursor: pointer;
}
.home-testimonials .testimonial-arrow { width: 44px; padding: 0; font-size: 1.35rem; }
.home-testimonials .testimonial-toggle { padding: 0 16px; font-size: .75rem; font-weight: 700; }
.home-testimonials .testimonial-arrow:hover,
.home-testimonials .testimonial-toggle:hover { background: #eaf1ff; border-color: #8ca9db; }
.home-testimonials .testimonial-arrow:focus-visible,
.home-testimonials .testimonial-toggle:focus-visible { outline: 2px solid #3156d9; outline-offset: 3px; }
.home-testimonials .testimonials-status { min-width: 60px; text-align: center; color: #566880; font-size: .75rem; }
.home-testimonials .testimonial-person {
  display: flex;
  gap: 13px;
  align-items: center;
  padding-bottom: 17px;
  border-bottom: 1px solid #e7ecf4;
}
.home-testimonials .testimonial-avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  overflow: hidden;
  border: 1px solid #d7e7f7;
  border-radius: 50%;
  color: #1d548e;
  background: linear-gradient(135deg, #e3f8fc, #edf0ff);
  font-size: .9375rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.home-testimonials .testimonial-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 6px;
  object-fit: contain;
  background: #fff;
}
/* Official Flamê wordmark is white; keep its original colors legible. */
.home-testimonials .testimonial-avatar img[src$="/loja-flame.png"] { background: #242024; }
.home-testimonials .testimonial-person > div { min-width: 0; }
.home-testimonials .testimonial-person h4 {
  margin: 0 0 5px;
  color: #101b37;
  font-size: .9375rem;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.home-testimonials .testimonial-context {
  display: block;
  color: #566880;
  font-size: .71875rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.home-testimonials blockquote { margin: 17px 0 0; padding: 0; }
.home-testimonials blockquote p {
  margin: 0;
  color: #45556e;
  font-size: .875rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
@media (max-width: 1000px) {
  .home-testimonials .testimonials-grid { grid-auto-columns: calc((100% - 18px) / 2); }
}
@media (max-width: 600px) {
  .marketing-page .plans-section > .section-intro.centered { margin-bottom: 32px; }
  .home-testimonials .testimonials-grid { grid-auto-columns: 100%; gap: 14px; }
  .home-testimonials .testimonial-card { padding: 22px 20px; }
  .marketing-page .home-testimonials { margin-bottom: 36px; }
}
