* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.avaliacoes-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
    padding: 0 20px;
}

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

.avaliacao-card {
    background: var(--fundo-branco-cinzaDark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 1px 1px 4px var(--pretoTransparente-cinzaDark10);
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    width: 100%;    
}

.img-wrapper {
    width: 100%;
    height: 120px; 
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: center;
}
.avaliacao-info {
    padding: 16px;
    position: relative;
    background: var(--fundo-branco-cinzaDark);
    color: var(--texto-preto-branco);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* O título do card */
.avaliacao-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--texto-preto-branco);
    margin-bottom: 5px;
}

/* O nome do usuário */
.avaliacao-info p strong {
    font-size: 15px;
    color: var(--texto-preto-branco);
    display: inline-block;
    margin-top: 6px;
}

/* Estrelas */
.stars {
    display: flex;
    gap: 4px;
    font-size: 30px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.stars > * {
    font-size: 16px;
}

/* Estrelas Cheias */
.stars > span:first-child {
    color: var(--verdeDomus);
}

/* Estrelas Vazias */
.stars > span:last-child {
    color: var(--cinzaDark20);
}

/* Botão Ver Mais */
.ver-mais {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--texto-preto-branco);
    text-align: right;
}

.ver-mais:hover {
    color: var(--texto-branco-preto);
}

/* ==================================== */
/* 6. Modal de Avaliação (Adaptado)     */
/* ==================================== */
.modalAvaliacoes {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--pretoTransparente06); /* Fundo escuro com transparência */
    display: flex;
    align-items: center;
    justify-content: center;
}

.modalAvaliacoes.hidden {
    display: none;
}

.modal-content-avaliacoes {
    background-color: var(--fundo-branco-cinzaDark70); 
    color: var(--texto-preto-branco);
    padding: 25px;
    border-radius: 8px;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px var(--pretoTransparente-cinzaDark10);
}

.fechar-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--texto-preto-branco);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.foto-modal {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--cinzaDiv); /* destaque leve */
}

#modal-nome {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--texto-preto-branco);
}

.comentario-texto {
    background: var(--cinzaDiv);
    padding: 10px;
    border-radius: 4px;
    margin-top: 5px;
    border-left: 3px solid var(--roxoDomus);
    color: var(--texto-preto-branco);
}

.comentario-bloco {
  max-height: 150px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
  color: var(--texto-preto-branco);
}

.texto-qualidade-satisfacao {
    text-align: right;
    color: var(--texto-preto-branco);
}

.avaliacao-topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
