/* Estilos para páginas de públicos-alvos CNV */

/* Variáveis CSS */
:root {
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #38a169;
    --warning-color: #f59e0b;
    --danger-color: #e53e3e;
    --purple-color: #805ad5;
    --orange-color: #d69e2e;
    --teal-color: #319795;
    --text-dark: #333;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 24px rgba(0, 0, 0, 0.06);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.cnv-hero-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.cnv-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
}

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

.cnv-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
}

.cnv-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.cnv-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Content Sections */
.cnv-content-section {
    padding: 4rem 0;
    position: relative;
}

.cnv-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cnv-section-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-soft);
}

.cnv-section-icon i {
    font-size: 2rem;
    color: var(--white);
}

.cnv-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cnv-section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Content Grid */
.cnv-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.cnv-content-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    overflow: hidden;
}

.cnv-content-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.cnv-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cnv-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

.cnv-card-icon-fallback {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cnv-card-icon-fallback i {
    font-size: 2rem;
    color: var(--primary-color);
}

.cnv-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.cnv-content-card:hover .cnv-card-image img {
    transform: scale(1.05);
}

.cnv-card-content {
    padding: 1.5rem;
}

.cnv-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.cnv-card-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.cnv-card-title a:hover {
    color: var(--primary-color);
}

.cnv-card-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cnv-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.cnv-card-type,
.cnv-card-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cnv-card-actions {
    display: flex;
    gap: 0.75rem;
}

/* Botões */
.cnv-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.875rem;
    font-family: inherit;
}

.cnv-btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.cnv-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: var(--white);
    text-decoration: none;
}

.cnv-btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cnv-btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

/* Section Footer */
.cnv-section-footer {
    text-align: center;
}

/* Empty State */
.cnv-empty-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.cnv-empty-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.cnv-empty-icon {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-soft);
}

.cnv-empty-icon i {
    font-size: 3rem;
    color: var(--white);
}

.cnv-empty-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cnv-empty-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Detalhes específicos para livros */
.cnv-livro-detalhes {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-left: 3px solid var(--success-color);
}

.cnv-livro-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cnv-livro-meta:last-child {
    margin-bottom: 0;
}

.cnv-livro-meta i {
    color: var(--success-color);
    width: 16px;
    text-align: center;
}

.cnv-livro-meta strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Detalhes específicos para jogos */
.cnv-jogo-detalhes {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-left: 3px solid var(--warning-color);
}

.cnv-jogo-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cnv-jogo-meta:last-child {
    margin-bottom: 0;
}

.cnv-jogo-meta i {
    color: var(--warning-color);
    width: 16px;
    text-align: center;
}

.cnv-jogo-meta strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Detalhes específicos para cursos */
.cnv-curso-detalhes {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.cnv-curso-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cnv-curso-meta:last-child {
    margin-bottom: 0;
}

.cnv-curso-meta i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.cnv-curso-meta strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Detalhes específicos para músicas */
.cnv-musica-detalhes {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-left: 3px solid var(--info-color);
}

.cnv-musica-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cnv-musica-meta:last-child {
    margin-bottom: 0;
}

.cnv-musica-meta i {
    color: var(--info-color);
    width: 16px;
    text-align: center;
}

.cnv-musica-meta strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Detalhes específicos para poemas */
.cnv-poema-detalhes {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
}

.cnv-poema-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cnv-poema-meta:last-child {
    margin-bottom: 0;
}

.cnv-poema-meta i {
    color: var(--secondary-color);
    width: 16px;
    text-align: center;
}

.cnv-poema-meta strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Detalhes específicos para eventos */
.cnv-evento-detalhes {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-left: 3px solid var(--danger-color);
}

.cnv-evento-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cnv-evento-meta:last-child {
    margin-bottom: 0;
}

.cnv-evento-meta i {
    color: var(--danger-color);
    width: 16px;
    text-align: center;
}

.cnv-evento-meta strong {
    color: var(--text-dark);
    font-weight: 600;
}

.cnv-evento-meta a {
    color: var(--danger-color);
    text-decoration: none;
    font-weight: 500;
}

.cnv-evento-meta a:hover {
    text-decoration: underline;
}

/* Detalhes específicos para artigos (posts) */
.cnv-artigo-detalhes {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-left: 3px solid var(--info-color);
}

.cnv-artigo-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cnv-artigo-meta:last-child {
    margin-bottom: 0;
}

.cnv-artigo-meta i {
    color: var(--info-color);
    width: 16px;
    text-align: center;
}

.cnv-artigo-meta strong {
    color: var(--text-dark);
    font-weight: 600;
}

.cnv-artigo-meta a {
    color: var(--info-color);
    text-decoration: none;
    font-weight: 500;
}

.cnv-artigo-meta a:hover {
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    .cnv-hero-title {
        font-size: 2.5rem;
    }
    
    .cnv-card-image {
        height: 150px;
    }
    
    .cnv-card-icon-fallback {
        width: 60px;
        height: 60px;
    }
    
    .cnv-card-icon-fallback i {
        font-size: 1.5rem;
    }
    
    .cnv-hero-description {
        font-size: 1.125rem;
    }
    
    .cnv-section-title {
        font-size: 2rem;
    }
    
    .cnv-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cnv-card-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cnv-card-actions {
        flex-direction: column;
    }
    
    .cnv-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cnv-hero-section {
        padding: 4rem 0 3rem;
    }
    
    .cnv-hero-title {
        font-size: 2rem;
    }
    
    .cnv-section-title {
        font-size: 1.75rem;
    }
    
    .cnv-content-section {
        padding: 3rem 0;
    }
    
    .cnv-card-content {
        padding: 1rem;
    }
}
