/* =============================================================
   DEPOIMENTOS.CSS - Estilos específicos da página de depoimentos
   Versão: 2.0 | Janeiro 2026
   
   Este arquivo contém APENAS os estilos específicos desta página.
   Os estilos globais estão em global.css
   ============================================================= */

/* =============================================================
   HERO SECTION - DEPOIMENTOS
   ============================================================= */
.hero-depoimentos {
    background: linear-gradient(135deg, var(--hero-start) 0%, var(--hero-end) 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-depoimentos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm-30 30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-depoimentos .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--bg-white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-title span {
    background: linear-gradient(90deg, #748ffc, #5371F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--bg-white);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* =============================================================
   FILTER SECTION
   ============================================================= */
.filter-section {
    position: sticky;
    top: 80px;
    z-index: 100;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
}

.filter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.filter-label svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.search-form {
    flex: 1;
    max-width: 320px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: var(--transition);
}

.search-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(83, 113, 245, 0.1);
}

.search-input-wrapper input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    font-size: 0.875rem;
    color: var(--text-primary);
    outline: none;
}

.search-input-wrapper input::placeholder {
    color: var(--text-muted);
}

.btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--bg-white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-search:hover {
    background: var(--primary-hover);
}

.btn-search svg {
    width: 18px;
    height: 18px;
}

.btn-clear-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-gray);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.813rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.btn-clear-filter:hover {
    background: var(--bg-white);
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.btn-clear-filter svg {
    width: 14px;
    height: 14px;
}

.results-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.results-count strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* =============================================================
   TESTIMONIALS GRID
   ============================================================= */
.testimonials-section {
    padding: 64px 0;
    background: var(--bg-light);
    min-height: 60vh;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(83, 113, 245, 0.2);
}

.testimonial-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-light);
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bg-white);
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
    min-width: 0;
}

.testimonial-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.testimonial-course {
    font-size: 0.813rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: var(--radius);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.testimonial-score-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 800;
    color: #059669;
    line-height: 1;
}

.testimonial-score-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.testimonial-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-quote-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 0.938rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.testimonial-text.truncated {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-text.expanded {
    -webkit-line-clamp: unset;
}

.btn-expand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    padding: 0;
    background: none;
    border: none;
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-expand:hover {
    color: var(--primary-hover);
}

.btn-expand svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.btn-expand.expanded svg {
    transform: rotate(180deg);
}

.testimonial-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-light);
}

.testimonial-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.testimonial-date svg {
    width: 14px;
    height: 14px;
}

/* =============================================================
   EMPTY STATE
   ============================================================= */
.empty-state {
    text-align: center;
    padding: 80px 24px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state-icon svg {
    width: 40px;
    height: 40px;
    color: var(--text-muted);
}

.empty-state-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state-description {
    font-size: 0.938rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.btn-reset {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--bg-white);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-reset:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* =============================================================
   PAGINATION
   ============================================================= */
.pagination-wrapper {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-white);
    transition: var(--transition);
}

.pagination-btn:hover:not(.disabled):not(.active) {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--accent-light);
}

.pagination-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-white);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn svg {
    width: 18px;
    height: 18px;
}

.pagination-info {
    padding: 0 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* =============================================================
   CTA SECTION
   ============================================================= */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm-30 30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 16px;
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--bg-white);
    color: var(--dark);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--bg-white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* =============================================================
   ANIMAÇÕES - CARDS STAGGERED
   ============================================================= */
.testimonials-grid .testimonial-card.animate {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.testimonials-grid .testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonials-grid .testimonial-card:nth-child(2) { animation-delay: 0.15s; }
.testimonials-grid .testimonial-card:nth-child(3) { animation-delay: 0.2s; }
.testimonials-grid .testimonial-card:nth-child(4) { animation-delay: 0.25s; }
.testimonials-grid .testimonial-card:nth-child(5) { animation-delay: 0.3s; }
.testimonials-grid .testimonial-card:nth-child(6) { animation-delay: 0.35s; }
.testimonials-grid .testimonial-card:nth-child(7) { animation-delay: 0.4s; }
.testimonials-grid .testimonial-card:nth-child(8) { animation-delay: 0.45s; }
.testimonials-grid .testimonial-card:nth-child(9) { animation-delay: 0.5s; }
.testimonials-grid .testimonial-card:nth-child(10) { animation-delay: 0.55s; }
.testimonials-grid .testimonial-card:nth-child(11) { animation-delay: 0.6s; }
.testimonials-grid .testimonial-card:nth-child(12) { animation-delay: 0.65s; }

/* =============================================================
   RESPONSIVE - TABLET
   ============================================================= */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

/* =============================================================
   RESPONSIVE - MOBILE
   ============================================================= */
@media (max-width: 768px) {
    .hero-depoimentos {
        padding: 120px 0 60px;
    }

    .hero-stats {
        gap: 32px;
    }

    .filter-section {
        top: 70px;
    }

    .filter-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .filter-left {
        flex-direction: column;
        align-items: stretch;
    }

    .search-form {
        max-width: 100%;
    }

    .results-count {
        text-align: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-cta,
    .btn-secondary-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* =============================================================
   RESPONSIVE - MOBILE SMALL
   ============================================================= */
@media (max-width: 480px) {
    .hero-stat-value {
        font-size: 1.5rem;
    }

    .testimonial-header {
        flex-wrap: wrap;
        gap: 12px;
    }

    .testimonial-score {
        margin-left: auto;
    }

    .pagination-wrapper {
        flex-wrap: wrap;
    }

    .pagination-info {
        width: 100%;
        text-align: center;
        order: -1;
        margin-bottom: 8px;
    }
}