/* ===== SEÇÃO DE DEPOIMENTOS ===== */
.testimonials-section {
    padding: 5rem 0 3rem;
    background: var(--background);
    position: relative;
}

/* ===== HEADER DA SEÇÃO ===== */
.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-header .header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.testimonials-header .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-header .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.decoration-line {
    width: 50px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.decoration-icon {
    font-size: 1.2rem;
    color: var(--primary);
}

/* ===== CARROSSEL DE DEPOIMENTOS ===== */
.testimonials-showcase {
    margin-bottom: 2rem;
}

.testimonials-carousel {
    overflow: hidden;
    /* esconde apenas scroll extra */
    padding: 0 1.5rem;
    position: relative;
}

/* Container do track com overflow controlado */
.testimonials-track-container {
    flex: 1;
    overflow: hidden;
    border-radius: 24px;
    padding: 0 1rem;
}

.testimonials-track {
    display: flex;
    gap: 1.5rem;
    /* gap entre cards */
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    /* evita corte no final */
}

.testimonials-track::-webkit-scrollbar {
    display: none;
}

.testimonials-track:active {
    cursor: grabbing;
}

/* ===== CARDS DE DEPOIMENTOS ===== */
.testimonial-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 280px;
    width: 400px;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(203, 151, 84, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 280px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
}

/* ===== RATING ===== */
.rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.rating i {
    color: #ffd700;
    font-size: 1.1rem;
}

/* ===== TEXTO DO DEPOIMENTO ===== */
.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
    word-break: break-word;
    overflow-wrap: break-word;
    flex-grow: 1;
}

/* ===== AUTOR DO DEPOIMENTO ===== */
.testimonial-author {
    border-top: 1px solid rgba(203, 151, 84, 0.1);
    padding-top: 1rem;
    margin-top: auto;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    font-family: 'Playfair Display', serif;
}

/* ===== BOTÕES DE NAVEGAÇÃO CORRIGIDOS ===== */
/* Container dos botões centralizado embaixo do carrossel */
.testimonials-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    /* espaçamento entre os botões */
    margin-top: 1.5rem;
    /* distância do carrossel */
}

/* Botões agora estáticos e alinhados no container */
.testimonial-btn {
    position: relative;
    /* tira absolute */
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.testimonial-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(203, 151, 84, 0.3);
}


.testimonial-btn:active {
    transform: scale(0.95);
}

.testimonial-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.testimonial-btn:disabled:hover {
    background: var(--white);
    color: var(--primary);
    transform: none;
}

/* ===== ESTATÍSTICAS DE SATISFAÇÃO ===== */
.satisfaction-stats {
    margin: 4rem 0 2rem;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.stat-item {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(203, 151, 84, 0.1);
    transition: all 0.3s ease;
    flex: 1;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}

.stat-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.stat-stars i {
    color: #ffd700;
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    margin-top: 3rem;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-button i {
    font-size: 1.3rem;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
    .testimonials-carousel {
        padding: 0 1rem;
    }

    .testimonial-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .testimonials-header .section-title {
        font-size: 2.2rem;
    }

    .testimonials-carousel {
        flex-direction: column;
        gap: 1.5rem;
    }

    .testimonial-btn {
        position: relative;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .testimonials-carousel {
        flex-direction: row;
    }

    .testimonial-card {
        width: 320px;
    }

    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 3rem 0 2rem;
    }

    .testimonials-header .section-title {
        font-size: 1.8rem;
    }

    .testimonials-header .section-subtitle {
        font-size: 1rem;
    }

    .testimonial-card {
        width: 280px;
        min-height: 300px;
    }

    .testimonial-content {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .testimonial-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .cta {
        padding: 2rem 1.5rem;
    }

    .cta-title {
        font-size: 1.4rem;
    }

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}