/* ==================
   BLOG - HEADER
   ================== */

.parallax {
    background-image: url("../imagem/banner_cases.png");
    min-height: 291px;
    background-attachment: unset;
}

.nav-blog { border-bottom: 3px solid #f38233; padding-bottom: 5px; }

/* ==================
   BLOG - LISTAGEM
   ================== */

.blog-subtitulo {
    color: #999;
    font-size: 16px;
    margin-bottom: 40px;
    margin-top: -10px;
}

.blog-lista {
    padding-bottom: 60px;
}

.blog-card-wrapper {
    margin-bottom: 30px;
}

.blog-card {
    display: block;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.blog-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
    text-decoration: none;
    color: inherit;
}

.blog-card-imagem {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.blog-card-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-imagem img {
    transform: scale(1.05);
}

.blog-card-imagem-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2D2D2D;
}

.blog-card-placeholder-icon {
    font-size: 48px;
    color: #F38233;
}

.blog-card-conteudo {
    padding: 20px;
}

.blog-card-data {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card-titulo {
    font-size: 18px;
    color: #333;
    margin: 8px 0 12px;
    line-height: 1.3;
}

.blog-card-resumo {
    font-size: 14px;
    color: #777;
    line-height: 1.5;
    margin-bottom: 16px;
}

.blog-card-link {
    font-size: 14px;
    color: #F38233;
    font-weight: 700;
    transition: color 0.2s;
}

.blog-card:hover .blog-card-link {
    color: #d96e1f;
}

.blog-card-link .fa {
    margin-left: 4px;
    transition: transform 0.2s;
}

.blog-card:hover .blog-card-link .fa {
    transform: translateX(4px);
}

/* ==================
   BLOG POST - DETALHE
   ================== */

.blog-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.blog-post-voltar {
    color: #F38233;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-post-voltar:hover {
    color: #d96e1f;
    text-decoration: none;
}

.blog-post-voltar .fa {
    margin-right: 6px;
}

.blog-post-data {
    color: #999;
    font-size: 13px;
}

.blog-post-imagem {
    margin-bottom: 30px;
    border-radius: 4px;
    overflow: hidden;
}

.blog-post-imagem img {
    width: 100%;
    height: auto;
}

/* Conteudo do artigo */
.blog-post-conteudo {
    padding-bottom: 40px;
}

.blog-post-conteudo h1 {
    font-family: 'Lato', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #333;
    line-height: 1.2;
    margin-bottom: 24px;
}

.blog-post-conteudo h2 {
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-top: 36px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #F38233;
}

.blog-post-conteudo h3 {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #444;
    margin-top: 28px;
    margin-bottom: 12px;
}

.blog-post-conteudo p {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

.blog-post-conteudo strong {
    font-weight: 700;
    color: #333;
}

.blog-post-conteudo a {
    color: #F38233;
    text-decoration: underline;
}

.blog-post-conteudo a:hover {
    color: #d96e1f;
}

.blog-post-conteudo ul,
.blog-post-conteudo ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.blog-post-conteudo li {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
}

.blog-post-conteudo blockquote {
    border-left: 4px solid #F38233;
    padding: 16px 20px;
    margin: 24px 0;
    background: #f9f9f9;
    font-style: italic;
    color: #555;
}

/* Footer do post */
.blog-post-footer {
    border-top: 1px solid #eee;
    padding: 24px 0 60px;
}

.blog-post-share {
    margin-bottom: 20px;
}

.blog-post-share span {
    font-size: 14px;
    color: #999;
    margin-right: 12px;
}

.blog-post-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2D2D2D;
    color: #fff;
    margin-right: 8px;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s;
}

.blog-post-share a:hover {
    background: #F38233;
}

.blog-post-voltar-bottom {
    color: #F38233;
    font-size: 14px;
    text-decoration: none;
}

.blog-post-voltar-bottom:hover {
    color: #d96e1f;
    text-decoration: none;
}

/* Preview badge */
.blog-preview-badge {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Responsivo */
@media (max-width: 768px) {
    .blog-post-conteudo h1 {
        font-size: 26px;
    }
    .blog-post-conteudo h2 {
        font-size: 20px;
    }
    .blog-post-conteudo p,
    .blog-post-conteudo li {
        font-size: 15px;
    }
    .blog-post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
