/* Carrossel de depoimentos no mobile (usado com /assets/js/reviews-carousel.js) */
.reviews-dots { display: none; }

@media (max-width: 768px) {
    .testimonials-section .testimonials-slider-wrapper {
        padding: 0;
        width: 100%;
    }
    .testimonials-section .slider-nav-btn {
        display: none;
    }

    .testimonials-grid,
    .nt-reviews-grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        gap: 14px;
        padding: 12px 0 16px;
    }
    .testimonials-grid::-webkit-scrollbar,
    .nt-reviews-grid::-webkit-scrollbar { display: none; }

    /* ~1,3 cartão visível: o próximo comentário aparece ao lado */
    .testimonials-grid > .testimonial-card,
    .nt-reviews-grid > .nt-review-card {
        min-width: 0;
        flex: 0 0 76%;
        scroll-snap-align: start;
    }
    .testimonials-grid > .testimonial-card { padding: 18px; }

    /* Terapia neural: textos longos limitados para os cartões terem altura parecida */
    .nt-reviews-grid .nt-review-text {
        display: -webkit-box;
        -webkit-line-clamp: 6;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .reviews-dots {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2px;
        margin-top: 4px;
    }
    /* Área de toque de 24px, marcador visual menor */
    .reviews-dots button {
        width: 24px;
        height: 24px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .reviews-dots button::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 4px;
        background: #b8c7d6;
        transition: width 0.25s ease, background-color 0.25s ease;
    }
    .reviews-dots button[aria-current="true"]::before {
        width: 20px;
        background: var(--secondary-color, #023e8a);
    }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    .reviews-dots button::before { transition: none; }
}
