/* ==================================================== */
/* --- ESTILOS EXCLUSIVOS DA PÁGINA DE TESTEMUNHOS --- */
/* ==================================================== */

/* --- HERO TESTEMUNHOS (NOVO PADRÃO ALINHADO AO GLOBAL) --- */
.hero-testimonios {
    position: relative;
    width: 100%;
    height: 700px; /* Mesma altura do hero-stones */
    max-height: 80vh; 
    
    /* IMAGEM E OVERLAY: Overlay escuro reduzido para 0.1 para deixar a foto original muito mais clara */
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../img/fundo-hero-testemunhos.jpg'); 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center; 
    justify-content: center; 
    text-align: center;
    padding-top: 0; 
}

.hero-testimonios-content {
    position: relative;
    z-index: 2;
    margin-top: -80px; /* Ajuste para subir o texto no desktop, igual ao hero-stones */
    width: 100%;
    padding: 0 20px;
}

/* Novo Estilo: Igual ao .pre-title (Serifa, maiúsculo, espaçado) */
.testimonios-pre-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    
    /* CORREÇÃO: Usando a variável global de verde escuro para corresponder à imagem desejada */
    color: var(--green-dark); 
    
    letter-spacing: 8px; 
    text-transform: uppercase;
    margin-bottom: -5px;
}

/* Novo Estilo: Igual ao .main-title (Serifa, tamanho flexível clamp) */
.testimonios-main-title {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 10vw, 5.5rem); 
    font-weight: 600; 
    
    /* CORREÇÃO: Usando a variável global de verde escuro para corresponder à imagem desejada */
    color: var(--green-dark); 
    
    line-height: 1.1;
    margin-bottom: 10px;
}

/* Ornamento adaptado para o padrão do hero principal */
.hero-testimonios .ornament {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 15px;
}

/* CORREÇÃO: Removido filtro branco e definido filtro para corresponder à cor do texto verde */
.hero-testimonios .line-img { 
    width: 60px; 
    filter: brightness(0) saturate(100%) invert(35%) sepia(10%) saturate(629%) hue-rotate(63deg) brightness(97%) contrast(85%); /* Corresponde a #40503C */
} 
.hero-testimonios .heart-icon { 
    width: 18px; 
    height: auto; 
    opacity: 0.8; 
    filter: brightness(0) saturate(100%) invert(35%) sepia(10%) saturate(629%) hue-rotate(63deg) brightness(97%) contrast(85%); /* Corresponde a #40503C */
}

/* Novo Estilo: Igual ao post-title, mas adaptado para leitura de frase */
.testimonios-desc {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500; 
    
    /* CORREÇÃO: Mantido em branco puro para forte contraste e leitura sobre a foto */
    color: #FFFFFF; 
    
    letter-spacing: 1px;
    margin-top: 10px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4); /* Sombra sutil adicionada para garantir a leitura do branco na foto clara */
}

/* --- SEÇÃO DE MURAL E FORMULÁRIO --- */
.seccion-testimonios {
    padding: 20px 0 100px 0;
    background-color: var(--bg-cream); /* Fundo acompanhando o global */
}

/* Grid dos Cards */
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.testimonio-card {
    background-color: #FFFFFF;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

.quote-icon {
    width: 35px;
    opacity: 0.2;
    margin-bottom: 20px;
}

.testimonio-texto {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 25px;
    flex: 1;
}

.testimonio-autor {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--green-dark);
}

/* Formulário de Testemunho */
.form-testimonio-wrapper {
    background-color: var(--green-box); /* Usando variável global */
    padding: 50px;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.form-titulo {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--green-dark);
    margin-bottom: 10px;
}

.form-desc {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 35px;
}

/* --- Estilos para la sección de perguntas (Inspiración) --- */
.form-inspiracion {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 20px;
    text-align: left;
    border-left: 4px solid var(--green-light);
}

.form-inspiracion-lead {
    color: var(--green-dark);
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.form-inspiracion p, .form-inspiracion ul li {
    font-family: var(--font-sans);
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.form-inspiracion ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* Inputs do Form */
.form-testimonio {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #C5C5C5;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background-color: #FFFFFF;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-dark);
    box-shadow: 0 0 0 3px rgba(139, 166, 126, 0.2);
}

.mensaje-exito {
    background-color: var(--green-light);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    font-weight: 500;
    font-size: 1.1rem;
}

/* ========================================= */
/* MEDIA QUERIES (TABLET Y MÓVIL)            */
/* ========================================= */

@media (max-width: 992px) {
    .testimonios-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* Ajuste responsivo igual ao hero principal */
    .hero-testimonios { 
        height: 500px; 
        align-items: center; 
        padding-top: 0; 
    }
    
    .hero-testimonios-content { 
        margin-top: -60px; 
    }
    
    .testimonios-pre-title { 
        font-size: 1rem; 
        letter-spacing: 5px; 
        margin-bottom: 0; 
    } 
    
    .testimonios-main-title { 
        font-size: 3.5rem; 
        line-height: 1; 
        margin-bottom: 5px; 
    }
    
    .testimonios-desc { 
        font-size: 0.95rem; 
        padding: 0 10px;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-testimonio-wrapper {
        padding: 30px 20px;
    }
    
    .form-titulo {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-testimonios { height: 450px; } 
    .hero-testimonios-content { margin-top: -50px; } 
    .testimonios-pre-title { font-size: 0.85rem; letter-spacing: 4px; }
    .testimonios-main-title { font-size: 3.2rem; }
    
    .testimonio-card { padding: 30px 20px; }
    
    .form-group input, .form-group textarea { padding: 12px; }
    #btn-enviar-test { width: 100%; padding: 15px; font-size: 1rem; }
}