/**
 * Estilos para o carrossel de depoimentos
 */

.lumer-depoimentos-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.lumer-depoimentos-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.lumer-depoimentos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.lumer-depoimentos-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 50px;
    color: #212529;
    position: relative;
    letter-spacing: normal;
}

.lumer-depoimentos-section .swiper {
    padding-bottom: 50px;
}

.lumer-depoimentos-section .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.lumer-depoimentos-section .swiper-slide {
    height: auto;
    display: flex;
}

.depoimento-card {
    background: #fff;
    background-image: url('https://lumerpecas.com.br/wp-content/uploads/2024/07/Pattern-Lumer_Pattern-Azul.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    padding: 40px 35px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.depoimento-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.depoimento-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 70px;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    font-weight: bold;
    z-index: 1;
}

.depoimento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    border-color: #dee2e6;
}

.depoimento-image {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.depoimento-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.depoimento-card:hover .depoimento-thumbnail {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.depoimento-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.depoimento-rating {
    text-align: center;
    margin-bottom: 15px;
}

.depoimento-text {
    flex: 1;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: #ffffff;
    font-style: normal;
    position: relative;
    z-index: 1;
    text-align: center;
}

.depoimento-text p {
    margin: 0 0 12px 0;
    text-align: center;
}

.depoimento-text p:last-child {
    margin-bottom: 0;
}

.depoimento-author {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.depoimento-role {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: normal;
    font-weight: 400;
    margin-top: 5px;
    letter-spacing: normal;
}

/* Estilos para o rating de estrelas */
.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 1.5rem;
    line-height: 1;
}

.star {
    display: inline-block;
    color: #ffc107;
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.star-filled {
    color: #ffc107;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.star-empty {
    color: #e0e0e0;
}

.star-rating:hover .star {
    transform: scale(1.1);
}

/* Navegação do Swiper */
.lumer-depoimentos-section .swiper-button-next,
.lumer-depoimentos-section .swiper-button-prev {
    color: #495057;
    background: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.lumer-depoimentos-section .swiper-button-next:hover,
.lumer-depoimentos-section .swiper-button-prev:hover {
    background: #f8f9fa;
    color: #212529;
    border-color: #adb5bd;
    transform: scale(1.05);
}

.lumer-depoimentos-section .swiper-button-next::after,
.lumer-depoimentos-section .swiper-button-prev::after {
    font-size: 18px;
}

/* Paginação do Swiper */
.lumer-depoimentos-section .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #adb5bd;
    opacity: 1;
    transition: all 0.3s ease;
}

.lumer-depoimentos-section .swiper-pagination-bullet-active {
    background: #495057;
    transform: scale(1.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .lumer-depoimentos-section {
        padding: 60px 0;
    }

    .lumer-depoimentos-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .depoimento-card {
        padding: 30px 25px;
    }

    .depoimento-card::before {
        font-size: 60px;
        top: 15px;
        left: 20px;
    }

    .depoimento-text {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .lumer-depoimentos-section .swiper-button-next,
    .lumer-depoimentos-section .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
}
