/* Estilos para o frontend do Manus Testimonials */

/* Formulário de Testemunho */
.testemunho-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.testemunho-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.testemunho-field {
    margin-bottom: 20px;
}

.testemunho-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.testemunho-field .required {
    color: #e74c3c;
}

.testemunho-field input[type="text"],
.testemunho-field input[type="file"],
.testemunho-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.testemunho-field input[type="text"]:focus,
.testemunho-field textarea:focus {
    outline: none;
    border-color: #3498db;
}

.testemunho-stars {
    display: flex;
    gap: 5px;
}

.testemunho-stars label {
    cursor: pointer;
}

.testemunho-stars input[type="radio"] {
    display: none;
}

.testemunho-stars .star {
    font-size: 30px;
    color: #ddd;
    transition: color 0.2s;
}

.testemunho-stars input[type="radio"]:checked ~ .star,
.testemunho-stars label:hover .star {
    color: #f39c12;
}

.testemunho-submit {
    background: #3498db;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.testemunho-submit:hover {
    background: #2980b9;
}

.testemunho-submit:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.testemunho-form-messages {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.testemunho-form-messages.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.testemunho-form-messages.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Lista de Testemunhos */
.testemunho-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.testemunho-entry {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testemunho-entry:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.testemunho-photo {
    text-align: center;
    margin-bottom: 15px;
}

.testemunho-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3498db;
}

.testemunho-header {
    text-align: center;
    margin-bottom: 15px;
}

.testemunho-name {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 5px 0;
}

.testemunho-sector {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}

.testemunho-rating {
    text-align: center;
    margin-bottom: 15px;
}

.testemunho-rating .star {
    font-size: 20px;
    margin: 0 2px;
}

.testemunho-rating .star.filled {
    color: #f39c12;
}

.testemunho-rating .star.empty {
    color: #ddd;
}

.testemunho-text {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

.testemunho-empty {
    text-align: center;
    color: #7f8c8d;
    font-size: 16px;
    padding: 40px 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .testemunho-list {
        grid-template-columns: 1fr;
    }
    
    .testemunho-form-wrapper {
        padding: 10px;
    }
    
    .testemunho-form {
        padding: 20px;
    }
}

