.container {
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px 20px;
    text-align: center;
}

/* Título */
.titulo-avaliacoes {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
}

/* Grid responsivo */
.avaliacoes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    justify-content: center;
}

/* Box da Avaliação */
.avaliacao-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
    position: relative;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
    display: flex;
    align-items: center;
    max-height: 160px; /* Mantém altura fixa */
}

/* Aspas Grandes Atrás do Texto */
.avaliacao-box::before,
.avaliacao-box::after {
    font-size: 100px;
    color: rgba(0, 115, 230, 0.1);
    position: absolute;
    font-weight: bold;
    line-height: 1;
}

.avaliacao-box::before {
    content: '“';
    top: 20px;
    left: 10px;
}

.avaliacao-box::after {
    content: '”';
    bottom: -30px;
    right: 10px;
}

/* Efeito Zoom ao Passar o Mouse */
.avaliacao-box:hover,
.avaliacao-box.ativo {
    transform: scale(1.05);
    max-height: none; /* Exibe todo o texto */
}

/* Avatar na Esquerda (Fixado) */
.avatar {
    width: 70px;
    height: 70px;
    background: #0073e6;
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    text-transform: uppercase;
    flex-shrink: 0; /* Impede o avatar de achatar */
}

/* Área de Texto */
.avaliacao-detalhes {
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    max-width: 80%; /* Limita o texto para não empurrar o avatar */
}

/* Nome */
.nome {
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Data */
.data-avaliacao {
    font-size: 10px;
    color: #777;
}

/* Serviço */
.servico-avaliacao {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 5px 0;
}

/* Estrelas */
.estrelas {
    font-size: 22px;
    color: #FFD700;
    margin-bottom: 5px;
}

/* Comentário com Limite de Caracteres */
.comentario {
    font-size: 14px;
    color: #444;
    margin-top: 10px;
    max-width: 85%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: nowrap; /* Mantém o texto alinhado */
}

/* Expandir o Texto no Hover */
.avaliacao-box:hover .comentario,
.avaliacao-box.ativo .comentario {
    -webkit-line-clamp: unset;
    white-space: normal;
}

/* Responsividade */
@media (min-width: 1024px) {
    .avaliacoes-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .avaliacoes-container {
        grid-template-columns: repeat(1, 1fr);
    }
}
