/**
 * VA Google Testimonials - Estilos Frontend
 */

.va-gt-testimonials-section {
    background-color: #ECECEC;
    padding: 60px 20px;
    width: 100%;
}

.va-gt-container {
    max-width: 1200px;
    margin: 0 auto;
}


.va-gt-testimonials-swiper {
    position: relative;
    padding-bottom: 20px;
}

.va-gt-testimonial-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.va-gt-testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.va-gt-testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.va-gt-client-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.va-gt-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.va-gt-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4285F4;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.va-gt-client-details {
    display: flex;
    flex-direction: column;
}

.va-gt-client-name {
    font-size: 16px;
    font-weight: bold;
    color: #222;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.va-gt-time-ago {
    font-size: 13px;
    color: #888;
    line-height: 1.2;
}

.va-gt-google-icon {
    flex-shrink: 0;
    margin-left: 12px;
}

.va-gt-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.va-gt-star {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.va-gt-star svg {
    width: 20px;
    height: 20px;
}

.va-gt-verified {
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    line-height: 1;
}

.va-gt-verified svg {
    width: 20px;
    height: 20px;
}

.va-gt-testimonial-content {
    flex: 1;
}

.va-gt-testimonial-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #222;
    margin: 0;
}

/* Botões de navegação - estilo melhorado */
.va-gt-prev-button,
.va-gt-next-button {
    width: 44px;
    height: 44px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    color: #666;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    z-index: 10;
}

.va-gt-prev-button {
    left: -22px;
}

.va-gt-next-button {
    right: -22px;
}

.va-gt-prev-button::after,
.va-gt-next-button::after {
    font-size: 18px;
    font-weight: bold;
    color: #555;
}

.va-gt-prev-button:hover,
.va-gt-next-button:hover {
    background: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.05);
}

.va-gt-prev-button:hover::after,
.va-gt-next-button:hover::after {
    color: #222;
}

.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.swiper-button-disabled:hover {
    transform: translateY(-50%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* Responsivo */
@media (max-width: 768px) {
    .va-gt-testimonials-section {
        padding: 40px 15px;
    }
    
    .va-gt-testimonial-card {
        padding: 20px;
        min-height: 260px;
    }
    
    .va-gt-prev-button,
    .va-gt-next-button {
        width: 36px;
        height: 36px;
    }
    
    .va-gt-prev-button {
        left: -18px;
    }
    
    .va-gt-next-button {
        right: -18px;
    }
    
    .va-gt-prev-button::after,
    .va-gt-next-button::after {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .va-gt-testimonial-card {
        padding: 16px;
        min-height: 240px;
    }
    
    .va-gt-prev-button,
    .va-gt-next-button {
        width: 32px;
        height: 32px;
    }
    
    .va-gt-prev-button {
        left: -16px;
    }
    
    .va-gt-next-button {
        right: -16px;
    }
    
    .va-gt-prev-button::after,
    .va-gt-next-button::after {
        font-size: 12px;
    }
    
    .va-gt-client-name {
        font-size: 15px;
    }
    
    .va-gt-time-ago {
        font-size: 12px;
    }
    
    .va-gt-testimonial-content p {
        font-size: 14px;
    }
}


/* Swiper customizações */
.va-gt-testimonials-swiper .swiper-wrapper {
    align-items: stretch;
    display: flex;
}

.va-gt-testimonials-swiper .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

/* Espaçamento entre slides */
.va-gt-testimonials-swiper .swiper-slide {
    padding-right: 20px;
    box-sizing: border-box;
}

/* Desktop: garantir cards com mesma altura e largura */
@media (min-width: 769px) {
    .va-gt-testimonials-swiper .swiper-wrapper {
        display: flex;
        align-items: stretch;
    }
    
    .va-gt-testimonials-swiper .swiper-slide {
        display: flex;
        height: 100%;
        flex-direction: column;
    }
    
    .va-gt-testimonial-card {
        width: 100%;
        display: flex;
        flex-direction: column;
        min-height: 340px;
        height: 100%;
        box-sizing: border-box;
    }
    
    .va-gt-testimonial-content {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .va-gt-testimonial-content p {
        flex: 1;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .va-gt-testimonials-swiper .swiper-slide {
        padding-right: 10px;
    }
    
    .va-gt-testimonial-card {
        min-height: 280px;
        width: 100%;
    }
}

