/* style-artigos.css - ESTILOS ESPECÍFICOS PARA ARTIGOS */

/* Container Principal do Artigo */
.artigo-container {
    max-width: 800px;
    margin: 100px auto 50px;
    padding: 0 20px;
}

/* Cabeçalho do Artigo */
.cabecalho-artigo {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.titulo-artigo {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.meta-artigo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    color: #666;
    font-size: 0.9rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Conteúdo do Artigo */
.conteudo-artigo {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.imagem-destaque {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.imagem-destaque img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.texto-artigo {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.texto-artigo h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin: 30px 0 15px;
    font-weight: 600;
}

.texto-artigo h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin: 25px 0 12px;
    font-weight: 600;
}

.texto-artigo p {
    margin-bottom: 20px;
}

.texto-artigo ul,
.texto-artigo ol {
    margin: 20px 0;
    padding-left: 30px;
}

.texto-artigo li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.texto-artigo blockquote {
    border-left: 4px solid #ff6b00;
    padding: 20px;
    margin: 25px 0;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.texto-artigo strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Barra de Compartilhamento */
.barra-compartilhamento {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.texto-compartilhar {
    font-weight: 600;
    color: #666;
}

.botao-compartilhar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
}

.botao-compartilhar:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.botao-compartilhar.whatsapp:hover {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.botao-compartilhar.facebook:hover {
    background: #1877F2;
    color: white;
    border-color: #1877F2;
}

.botao-compartilhar.twitter:hover {
    background: #1DA1F2;
    color: white;
    border-color: #1DA1F2;
}

/* Seção de Artigos Relacionados */
.artigos-relacionados {
    background: #f8f9fa;
    padding: 60px 0;
}

.titulo-relacionados {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1a1a1a;
    font-weight: 700;
}

.grade-relacionados {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Tags do Artigo */
.tags-artigo {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.tag {
    padding: 6px 12px;
    background: #ff6b00;
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #ff8c00;
    transform: translateY(-2px);
}

/* Autor do Artigo */
.autor-artigo {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 40px 0;
}

.foto-autor {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.foto-autor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-autor h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.info-autor p {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Navegação entre Artigos */
.navegacao-artigos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 0;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.botao-navegacao {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #ff6b00;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    max-width: 200px;
}

.botao-navegacao:hover {
    background: #ff8c00;
    transform: translateY(-2px);
}

.botao-navegacao.anterior {
    text-align: left;
}

.botao-navegacao.proximo {
    text-align: right;
    flex-direction: row-reverse;
}

.info-navegacao h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: white;
}

.info-navegacao span {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Comentários */
.secao-comentarios {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.titulo-comentarios {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #1a1a1a;
    font-weight: 600;
}

.form-comentario {
    margin-bottom: 40px;
}

.form-comentario .form-grupo {
    margin-bottom: 20px;
}

.form-comentario textarea {
    height: 120px;
    resize: vertical;
}

.lista-comentarios {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.comentario {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #ff6b00;
}

.cabecalho-comentario {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.autor-comentario {
    font-weight: 600;
    color: #1a1a1a;
}

.data-comentario {
    color: #666;
    font-size: 0.8rem;
}

.texto-comentario {
    line-height: 1.6;
    color: #333;
}

/* Newsletter */
.newsletter-artigos {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin: 60px 0;
}

.titulo-newsletter {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ffd700;
}

.descricao-newsletter {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-newsletter {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.form-newsletter input {
    flex: 1;
    padding: 15px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 1rem;
}

.form-newsletter input::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-newsletter input:focus {
    outline: none;
    border-color: #ffd700;
}

.botao-newsletter {
    padding: 15px 30px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.botao-newsletter:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}

/* Índice do Artigo */
.indice-artigo {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    border-left: 4px solid #ff6b00;
}

.titulo-indice {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 600;
}

.lista-indice {
    list-style: none;
    padding: 0;
}

.lista-indice li {
    margin-bottom: 8px;
}

.lista-indice a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.lista-indice a:hover {
    color: #ff6b00;
}

/* Destaques no Texto */
.destaque-info {
    background: #e3f2fd;
    border-left: 4px solid #2196F3;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.destaque-alerta {
    background: #ffebee;
    border-left: 4px solid #f44336;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.destaque-sucesso {
    background: #e8f5e8;
    border-left: 4px solid #4caf50;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

/* Tabelas */
.tabela-artigo {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tabela-artigo th {
    background: #ff6b00;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.tabela-artigo td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.tabela-artigo tr:last-child td {
    border-bottom: none;
}

.tabela-artigo tr:hover {
    background: #f8f9fa;
}

/* Responsividade para Artigos */
@media (max-width: 768px) {
    .artigo-container {
        margin: 80px auto 30px;
    }
    
    .titulo-artigo {
        font-size: 2rem;
    }
    
    .conteudo-artigo {
        padding: 25px;
    }
    
    .imagem-destaque {
        height: 250px;
    }
    
    .navegacao-artigos {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .botao-navegacao {
        max-width: none;
        width: 100%;
        justify-content: center;
    }
    
    .barra-compartilhamento {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-newsletter {
        flex-direction: column;
    }
    
    .autor-artigo {
        flex-direction: column;
        text-align: center;
    }
    
    .texto-artigo {
        font-size: 1rem;
    }
    
    .texto-artigo h2 {
        font-size: 1.5rem;
    }
    
    .texto-artigo h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .titulo-artigo {
        font-size: 1.6rem;
    }
    
    .conteudo-artigo {
        padding: 20px;
    }
    
    .meta-artigo {
        flex-direction: column;
        gap: 10px;
    }
    
    .secao-comentarios {
        padding: 25px;
    }
    
    .grade-relacionados {
        grid-template-columns: 1fr;
    }
    
    .newsletter-artigos {
        padding: 40px 20px;
    }
    
    .titulo-newsletter {
        font-size: 1.6rem;
    }
}