/* ===== AVALIAÇÕES DOS CLIENTES - CARROSSEL COM SETAS FLUTUANTES ===== */
.google-reviews {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fdff 0%, #e8f7ff 100%);
}

.google-reviews h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 40px;
}

.google-reviews h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: #097e8d;
    margin: 15px auto 0;
    border-radius: 2px;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Rating estático - 5 estrelas completas */
.reviews-header {
    text-align: center;
    margin-bottom: 50px;
}

.reviews-rating {
    background: white;
    padding: 25px 35px;
    border-radius: 24px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    display: inline-block;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
}

.stars i {
    font-size: 1.4rem;
}

.stars .bi-star-fill, .stars .bi-star-half {
    color: #f5b042;
}

.stars .bi-star {
    color: #e2e8f0;
}

.rating-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
}

.total-ratings {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 5px;
}

.google-badge {
    margin-top: 8px;
    color: #ea4335;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Carrossel - com espaço para as setas flutuantes */
.reviews-carousel {
    position: relative;
    padding: 0 40px;
    margin: 0 auto;
}

.reviews-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.4, 1);
    gap: 24px;
    overflow: visible;
}

/* Card de avaliação - 300px altura */
.review-card {
    flex: 0 0 calc(20% - 19.2px);
    min-width: calc(20% - 19.2px);
    background: white;
    height: 300px;
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    border-color: rgba(9,126,141,0.1);
}

.reviewer-name {
    font-weight: 600;
    color: #1a1a2e;
    font-size: 1rem;
    margin-bottom: 10px;
}

.review-stars {
    color: #f5b042;
    font-size: 0.85rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.review-stars i {
    margin: 0 1px;
}

.review-text {
    color: #475569;
    font-size: 0.8rem;
    line-height: 1.55;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    flex: 1;
}

.review-time {
    font-size: 0.65rem;
    color: #94a3b8;
    margin-top: 14px;
    display: block;
}

/* Botões de navegação - FLUTUANTES sobre os cards */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e2e8f0;
    color: #097e8d;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 10;
}

.carousel-nav:hover {
    background: #097e8d;
    border-color: #097e8d;
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.carousel-prev {
    left: -15px;
}

.carousel-next {
    right: -15px;
}

/* Indicadores */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background: #097e8d;
    width: 24px;
    border-radius: 4px;
}

/* Footer */
.reviews-footer {
    text-align: center;
    margin-top: 40px;
}

.btn-google-review {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #ea4335;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #ea4335;
}

.btn-google-review:hover {
    background: #ea4335;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.2);
}

/* Estados vazio e erro */
.no-reviews, .error-reviews, .loading-reviews {
    text-align: center;
    padding: 50px;
    background: white;
    border-radius: 20px;
    max-width: 450px;
    margin: 0 auto;
}

.no-reviews i, .error-reviews i, .loading-reviews i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.no-reviews i {
    color: #f5b042;
}

.error-reviews i {
    color: #ef4444;
}

.loading-reviews i {
    color: #097e8d;
    animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.btn-write-review, .btn-retry {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin-top: 15px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-write-review:hover, .btn-retry:hover {
    transform: translateY(-2px);
    background: #128c7e;
}

/* Responsividade */
@media (max-width: 1100px) {
    .reviews-carousel {
        padding: 0 30px;
    }
    
    .review-card {
        flex: 0 0 calc(33.333% - 16px);
        min-width: calc(33.333% - 16px);
    }
}

@media (max-width: 768px) {
    .google-reviews {
        padding: 50px 15px;
    }
    
    .google-reviews h2 {
        font-size: 1.5rem;
    }
    
    .reviews-carousel {
        padding: 0 25px;
    }
    
    .review-card {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
        height: 280px;
        padding: 18px 15px;
    }
    
    .carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: -8px;
    }
    
    .carousel-next {
        right: -8px;
    }
    
    .review-text {
        font-size: 0.75rem;
        -webkit-line-clamp: 5;
    }
}

@media (max-width: 480px) {
    .reviews-carousel {
        padding: 0 15px;
    }
    
    .review-card {
        flex: 0 0 100%;
        min-width: 100%;
        height: 270px;
    }
    
    .carousel-nav {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .carousel-prev {
        left: -5px;
    }
    
    .carousel-next {
        right: -5px;
    }
    
    .reviews-rating {
        padding: 18px 24px;
    }
    
    .stars i {
        font-size: 1.1rem;
    }
}
/* ===== MODAL DE AVALIAÇÃO - ESTILO MINIMALISTA ===== */
.review-card {
    cursor: pointer;
}

.review-card-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.review-card-modal.active {
    display: flex;
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.review-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 550px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.review-modal-header {
    padding: 20px 25px;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-modal-header h3 i {
    color: #097e8d;
    font-size: 1.2rem;
}

.review-modal-close {
    background: #f5f5f5;
    border: none;
    color: #666;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-modal-close:hover {
    background: #097e8d;
    color: white;
    transform: rotate(90deg);
}

.review-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.review-modal-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.review-modal-stars {
    color: #f5b042;
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.review-modal-text {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: left;
}

.review-modal-date {
    color: #94a3b8;
    font-size: 0.75rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-modal-date i {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .review-modal-content {
        width: 95%;
        max-width: none;
    }
    
    .review-modal-header {
        padding: 15px 20px;
    }
    
    .review-modal-header h3 {
        font-size: 0.95rem;
    }
    
    .review-modal-body {
        padding: 20px;
    }
    
    .review-modal-name {
        font-size: 1rem;
    }
    
    .review-modal-text {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}