/* ========================================
   🌟 SEÇÃO DE AVALIAÇÕES DOS CLIENTES
   ======================================== */

.trevus-reviews-section {
    padding: 60px 20px;
    background: #ffffff;
    margin: 40px 0;
}

.trevus-reviews-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #8B4513;
    margin: 0 0 30px 0;
    position: relative;
}

.trevus-reviews-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: #8B4513;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ========================================
   ✨ CALL TO ACTION - DEIXE SEU COMENTÁRIO
   ======================================== */
.trevus-reviews-cta {
  max-width: 309px;
  margin: 0 auto 10px;
  padding: 10px 10px;
  background: linear-gradient(135deg, #1083c6, #0d6bb7);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.2);
}

.trevus-reviews-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.35);
}

.trevus-reviews-cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.trevus-reviews-cta-btn {
    width: 36px;
    height: 36px;
    background: #FFD700;
    color: #FFF;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trevus-reviews-cta:hover .trevus-reviews-cta-btn {
    transform: rotate(15deg) scale(1.1);
}

.trevus-reviews-cta-text {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ========================================
   📦 CONTAINER DO CARROSSEL
   ======================================== */
.trevus-reviews-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 60px;
}

.trevus-reviews-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.trevus-reviews-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
}

.trevus-reviews-track::-webkit-scrollbar {
    display: none;
}

/* ========================================
   🎴 CARDS DE REVIEWS
   ======================================== */
.trevus-review-card {
    min-width: 350px;
    max-width: 350px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
    cursor: pointer;
}

.trevus-review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: #8B4513;
}

/* Header do card (foto + nome + verificado) */
.trevus-review-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trevus-review-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #f0f0f0;
}

.trevus-review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trevus-review-info {
    flex: 1;
}

.trevus-review-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 5px 0;
}

.trevus-review-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #1083c6;
    font-weight: 600;
}

/* Estrelas */
.trevus-review-stars {
    display: flex;
    gap: 3px;
}

.trevus-review-stars svg {
    width: 20px;
    height: 20px;
    fill: #FFD700;
}

/* Comentário */
.trevus-review-comment {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   🔘 SETAS DE NAVEGAÇÃO
   ======================================== */
.trevus-reviews-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #8B4513;
    color: #8B4513;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.trevus-reviews-btn:hover {
    background: #8B4513;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.trevus-reviews-prev {
    left: 0;
}

.trevus-reviews-next {
    right: 0;
}

/* ========================================
   📝 SEÇÃO VAZIA
   ======================================== */
.trevus-reviews-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

/* ========================================
   📋 MODAL DE ADICIONAR REVIEW
   ======================================== */
.trevus-review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.trevus-review-modal-content {
    background: white;
    border-radius: 16px;
    padding: 0;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trevus-review-modal-header {
    padding: 24px 32px;
    background: #8B4513;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
}

.trevus-review-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.trevus-review-modal-close {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.trevus-review-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.trevus-review-modal-body {
    padding: 32px;
}

.trevus-review-form-group {
    margin-bottom: 20px;
}

.trevus-review-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.trevus-review-form-group input,
.trevus-review-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.trevus-review-form-group input:focus,
.trevus-review-form-group textarea:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.trevus-review-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* Upload de foto */
.trevus-review-photo-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.trevus-review-photo-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e0e0e0;
    display: none;
}

.trevus-review-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trevus-review-photo-upload input[type="file"] {
    display: none;
}

.trevus-review-photo-upload-btn {
    background: #f0f0f0;
    color: #555;
    border: 2px dashed #bdbdbd;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.trevus-review-photo-upload-btn:hover {
    background: #e8e8e8;
    border-color: #8B4513;
    color: #8B4513;
}

/* Estrelas de avaliação */
.trevus-review-rating {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.trevus-review-rating svg {
    width: 40px;
    height: 40px;
    fill: #e0e0e0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.trevus-review-rating svg.active {
    fill: #FFD700;
}

.trevus-review-rating svg:hover {
    transform: scale(1.2);
}

/* Botões do modal */
.trevus-review-modal-footer {
    padding: 20px 32px;
    background: #f8f8f8;
    border-top: 1px solid #e8e8e8;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-radius: 0 0 16px 16px;
}

.trevus-review-btn-cancel {
    background: white;
    color: #555;
    border: 1px solid #e0e0e0;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trevus-review-btn-cancel:hover {
    background: #f5f5f5;
}

.trevus-review-btn-submit {
    background: #8B4513;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trevus-review-btn-submit:hover {
    background: #6d3510;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.trevus-review-btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* ========================================
   📱 RESPONSIVO
   ======================================== */

@media (max-width: 768px) {
    .trevus-reviews-section {
        padding: 40px 15px;
    }
    
    .trevus-reviews-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    /* ✅ CTA RESPONSIVO */
    .trevus-reviews-cta {
        padding: 15px 20px;
        margin-bottom: 30px;
    }
    
    .trevus-reviews-cta-content {
        gap: 15px;
    }
    
    .trevus-reviews-cta-btn {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
    
    .trevus-reviews-cta-text {
        font-size: 16px;
    }
    
    .trevus-reviews-container {
        padding: 0;
    }
    
    .trevus-reviews-btn {
        display: none;
    }
    
    .trevus-review-card {
    min-width: 85%;
    max-width: 85%;
    padding: 25px;
    scroll-snap-align: center;
    margin: 0 auto;
}

/* Container do carrossel no mobile */
.trevus-reviews-track {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 7.5%;
}
    
    .trevus-review-modal-content {
        width: 95%;
    }
    
    .trevus-review-modal-header,
    .trevus-review-modal-body,
    .trevus-review-modal-footer {
        padding: 20px;
    }
}