/* ==========================================================================
   IntelliQ - Case Studies
   Estilos específicos para as páginas de cases de sucesso
   ========================================================================== */

/* Hero da página de case */
.case-hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.case-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.8), rgba(10, 10, 15, 0.4));
    z-index: 1;
}

.case-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.case-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.case-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.case-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Detalhes do case */
.case-details {
    padding: 100px 0;
}

.case-details h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.case-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.case-details ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.case-details li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.case-problem, .case-solution, .case-results, .case-testimonial, .case-cta {
    margin-bottom: 5rem;
}

/* Resultados */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.result-item {
    background: rgba(10, 10, 15, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}

.result-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.result-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Depoimento */
.testimonial-card {
    background: rgba(10, 10, 15, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 1.5rem;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* CTA */
.case-cta {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.case-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.case-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Botão com efeito de brilho */
.glow-btn {
    position: relative;
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.glow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.5);
}

.btn-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-btn:hover .btn-effect {
    opacity: 1;
    animation: glow 2s infinite;
}

@keyframes glow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Navegação entre cases */
.case-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.case-nav-item {
    flex: 0 0 48%;
}

.case-nav-prev {
    text-align: left;
}

.case-nav-next {
    text-align: right;
}

.case-nav-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.case-nav-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.case-nav-item:hover .case-nav-title {
    color: var(--primary-purple);
}

/* Responsividade */
@media (max-width: 992px) {
    .case-hero {
        padding: 150px 0 80px;
    }
    
    .case-title {
        font-size: 2.8rem;
    }
    
    .case-subtitle {
        font-size: 1.3rem;
    }
    
    .results-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .result-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .case-hero {
        padding: 130px 0 60px;
    }
    
    .case-title {
        font-size: 2.2rem;
    }
    
    .case-subtitle {
        font-size: 1.1rem;
    }
    
    .case-details h2 {
        font-size: 2rem;
    }
    
    .results-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
    }
    
    .case-navigation {
        flex-direction: column;
        gap: 2rem;
    }
    
    .case-nav-item {
        flex: 0 0 100%;
    }
    
    .case-nav-next {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .case-hero {
        padding: 120px 0 50px;
    }
    
    .case-title {
        font-size: 1.8rem;
    }
    
    .case-subtitle {
        font-size: 1rem;
    }
    
    .case-details h2 {
        font-size: 1.8rem;
    }
    
    .result-number {
        font-size: 2.2rem;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .case-cta h2 {
        font-size: 1.8rem;
    }
    
    .case-cta p {
        font-size: 1.1rem;
    }
}

