/* ============================================
   SIPOP — testimonials.css
   Estilos exclusivos da página de depoimentos.
   Importado APÓS style.css.
   ============================================ */

/* ============================================
   1. HERO
   ============================================ */

.test-hero {
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    padding: 140px 0 80px;
    text-align: center;
}

.test-hero__tag {
    display: inline-block;
    background: var(--pearl-aqua);
    color: #0F172A;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.test-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.test-hero > .container > p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   2. FILTERS
   ============================================ */

.test-filters {
    padding: 28px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: var(--header-height, 86px);
    z-index: 100;
}

.test-filters__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.test-filter {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.test-filter:hover {
    border-color: var(--pine-blue);
    color: var(--pine-blue);
}

.test-filter.active {
    background: var(--pine-blue);
    border-color: var(--pine-blue);
    color: #FFFFFF;
}

/* ============================================
   3. GRID
   ============================================ */

.test-grid-section {
    padding: 60px 0 80px;
    background: var(--bg-primary);
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.test-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 0;
}

/* ============================================
   4. CARD DE DEPOIMENTO
   ============================================ */

.test-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--pearl-aqua);
    border-radius: 0 12px 12px 0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.test-card.hidden { display: none; }

.test-card__quote p {
    font-size: 15px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.test-card__person {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.test-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--pearl-aqua);
}

.test-avatar--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-services);
    color: var(--pine-blue);
    font-weight: 700;
    font-size: 15px;
}

.test-card__info {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.test-card__info strong {
    display: block;
    color: var(--pine-blue);
    font-size: 15px;
    margin-bottom: 2px;
}

/* ============================================
   5. CTA
   ============================================ */

.test-cta {
    padding: 80px 0;
    background: var(--bg-services);
    text-align: center;
}

.test-cta h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.test-cta p {
    max-width: 560px;
    margin: 0 auto 32px;
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   6. RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .test-hero { padding: 100px 0 50px; }
    .test-grid { grid-template-columns: 1fr; }
    .test-filters { top: 0; }
}
