/* =========================================================
   BLOG.CSS — Barcellos Assessoria Imobiliária
   Paleta: #015095 | #22449a | #08246b | #666 | #333
   Padrão visual alinhado a empresa.css / administracao-de-condominio.css
   ========================================================= */

/* ========================= HERO ========================= */

.blog-hero {
    position: relative;
    min-height: 52vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
}

/* Overlay escuro — igual empresa-hero::before e condo-hero::before */
.blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
        background: linear-gradient(160deg, rgb(2 8 40 / 80%) 0%, rgb(2 8 40 / 52%) 55%, rgb(2 8 40 / 90%) 100%);
    z-index: 0;
}

.blog-hero__inner {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 0;
}

/* Badge/pill — igual empresa-hero__pill e condo-hero__pill */
.blog-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 18px;
    backdrop-filter: blur(6px);
}

.blog-hero__pill i {
    color: #f5c518;
    font-size: 10px;
}

.blog-hero__titulo {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 14px;
}

.blog-hero__sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 36px;
    line-height: 1.6;
}

.blog-hero__sub a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    transition: border-color .15s, color .15s;
}

.blog-hero__sub a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* Barra de números na base do hero — igual empresa-hero__numeros */
.blog-hero__stat-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    padding: 20px 28px;
    width: fit-content;
}

.blog-hero__stat {
    display: flex;
    flex-direction: column;
    padding: 0 28px;
}

.blog-hero__stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.20);
    flex-shrink: 0;
}

.blog-hero__stat-val {
    font-size: 1.7rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.blog-hero__stat-val small {
    font-size: .9rem;
    font-weight: 600;
    opacity: .7;
}

.blog-hero__stat-leg {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.60);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 5px;
}

/* ========================= LAYOUT PRINCIPAL ========================= */

.blog-main {
    background: #f4f7fc;
    padding: 48px 0 72px;
}

/* ========================= TOPBAR ========================= */

.blog-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.blog-topbar__info {
    font-size: 13.5px;
    font-weight: 500;
    color: #666;
}

.blog-topbar__info strong {
    color: #08246b;
    font-weight: 700;
}

.blog-topbar__clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #015095;
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid rgba(1, 80, 149, .25);
    border-radius: 999px;
    background: rgba(1, 80, 149, .05);
    transition: background .15s, color .15s;
}

.blog-topbar__clear:hover {
    background: #015095;
    color: #fff;
    text-decoration: none;
}

/* ========================= GRID DE CARDS ========================= */

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .blog-grid { grid-template-columns: 1fr 1fr; }
}

/* ========================= CARD ========================= */

.blog-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(2, 8, 40, .06);
    transition: transform .20s ease, box-shadow .20s ease, border-color .20s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(1, 80, 149, .20);
    box-shadow: 0 16px 42px rgba(2, 8, 40, .12);
}

/* Shine no hover — igual equipe-card::after */
.blog-card::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -60%;
    width: 55%;
    height: 180%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .13), transparent);
    transform: rotate(18deg);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}

.blog-card:hover::after {
    opacity: 1;
    left: 120%;
    transition: left .8s ease, opacity .15s ease;
}

/* Thumb */
.blog-card__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #e2e8f8;
    flex-shrink: 0;
}

.blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.03);
    transition: transform .45s ease;
}

.blog-card:hover .blog-card__thumb img {
    transform: scale(1.1);
}

/* Overlay — igual equipe-card__overlay */
.blog-card__thumb-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 8, 23, 0) 30%, rgba(2, 8, 23, .72) 100%),
        radial-gradient(500px 200px at 15% 5%, rgba(1, 80, 149, .16), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* Categorias sobre a imagem */
.blog-card__cats {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    max-width: calc(100% - 24px);
}

/* Pill de categoria — cor corrigida para paleta #015095 */
.pill-cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #015095;
    text-decoration: none;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    transition: background .15s, color .15s;
}

.pill-cat:hover {
    background: #015095;
    color: #fff;
    text-decoration: none;
}

.pill-cat--active {
    background: #015095 !important;
    color: #fff !important;
}

/* Autor + data sobre gradiente — igual equipe-card__headline */
.blog-card__meta-img {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .93);
    font-size: 11px;
    font-weight: 700;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
    transition: transform .3s ease;
}

.blog-card:hover .blog-card__meta-img {
    transform: translateY(-4px);
}

.blog-card__meta-img i { opacity: .8; }

.blog-card__meta-sep {
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, .55);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Placeholder sem imagem */
.blog-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f8 0%, #c7d2f0 100%);
    font-size: 36px;
    color: rgba(1, 80, 149, .28);
}

/* Corpo */
.blog-card__body {
    padding: 18px 20px 0;
    flex: 1;
}

.blog-card__title {
    font-size: 17px;
    font-weight: 800;
    color: #08246b;
    margin: 0 0 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__title a {
    text-decoration: none;
    color: inherit;
    transition: color .15s;
}

.blog-card__title a:hover { color: #015095; }

.blog-card__excerpt {
    font-size: 13.5px;
    line-height: 1.65;
    color: #666;
    margin: 0;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer do card */
.blog-card__footer {
    padding: 14px 20px 18px;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.blog-card__date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: #94a0b4;
    letter-spacing: .02em;
}

.blog-card__date i { font-size: 11px; }

/* Botão "Ler artigo" — alinhado a condo-btn--soft */
.blog-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #015095;
    text-decoration: none;
    padding: 6px 14px;
    border: 1.5px solid rgba(1, 80, 149, .22);
    border-radius: 999px;
    background: rgba(1, 80, 149, .05);
    transition: background .15s, color .15s, border-color .15s;
}

.blog-card__btn:hover {
    background: #015095;
    color: #fff;
    border-color: #015095;
    text-decoration: none;
}

/* Sem posts */
.blog-no-posts {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 52px 28px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 14px;
    color: #94a0b4;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.blog-no-posts i {
    font-size: 32px;
    opacity: .35;
}

/* ========================= PAGINAÇÃO ========================= */

.blog-pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(0, 0, 0, .11);
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    transition: background .14s, color .14s, border-color .14s, transform .14s;
}

.page-btn:hover {
    background: rgba(1, 80, 149, .06);
    border-color: rgba(1, 80, 149, .22);
    transform: translateY(-1px);
    text-decoration: none;
    color: #015095;
}

.page-btn.is-active {
    background: #015095;
    border-color: #015095;
    color: #fff;
    box-shadow: 0 4px 14px rgba(1, 80, 149, .35);
}

.page-btn.is-dots {
    border: none;
    background: transparent;
    cursor: default;
    min-width: auto;
    color: #aaa;
}

.page-btn.is-dots:hover {
    background: transparent;
    transform: none;
    color: #aaa;
    border: none;
}

/* ========================= SIDEBAR ========================= */

.blog-sidebar {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 65px !important;
    gap: 20px;
}

/* Widget — igual condo-feature-card */
.sidebar-widget {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 18px rgba(2, 8, 40, .06);
}

/* Título do widget — igual condo-portal__kicker */
.sidebar-widget__title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #015095;
    background: rgba(1, 80, 149, .08);
    border: 1px solid rgba(1, 80, 149, .18);
    margin-bottom: 16px;
}

.sidebar-widget__title i { font-size: 11px; }

/* Tag cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

/* Filtro ativo */
.filter-active {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 9px 13px;
    background: rgba(1, 80, 149, .05);
    border-left: 3px solid #015095;
    border-radius: 0 8px 8px 0;
    font-size: 12px;
    font-weight: 700;
    color: #333;
}

.filter-active span {
    font-weight: 800;
    color: #015095;
}

.filter-active a {
    margin-left: auto;
    font-size: 11px;
    color: #b00;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.filter-active a:hover { text-decoration: underline; }

/* Posts recentes */
.recent-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    text-decoration: none;
    transition: opacity .15s;
}

.recent-item:last-child { border-bottom: none; padding-bottom: 0; }
.recent-item:first-child { padding-top: 0; }
.recent-item:hover { opacity: .72; }

.recent-thumb {
    width: 72px;
    height: 56px;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f8 0%, #c7d2f0 100%);
    border-radius: 10px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, .07);
}

.recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.recent-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(1, 80, 149, .28);
}

.recent-info { min-width: 0; }

.recent-title {
    font-size: 13px;
    font-weight: 700;
    color: #08246b;
    line-height: 1.3;
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-date {
    font-size: 11px;
    font-weight: 600;
    color: #94a0b4;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* =========================================================
   BLOG-DETALHES.PHP — estilos do post individual
   ========================================================= */

/* ── HERO DO POST ─────────────────────────────────────── */

.post-hero {
    position: relative;
    min-height: 46vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
    overflow: hidden;
}

.post-hero--sem-imagem {
    background: linear-gradient(135deg, #020828 0%, #015095 100%);
    min-height: 32vh;
}

/* Overlay — mesmo padrão empresa-hero::before / condo-hero::before */
.post-hero::before {
    content: "";
    position: absolute;
    inset: 0;
        background: linear-gradient(160deg, rgb(2 8 40 / 84%) 0%, rgb(2 8 40 / 57%) 50%, rgb(2 8 40 / 83%) 100%);
    z-index: 0;
}

.post-hero__inner {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 0;
}

/* Breadcrumb pill — igual blog-hero__pill */
.post-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 16px;
    backdrop-filter: blur(6px);
}

.post-hero__pill a {
    color: inherit;
    text-decoration: none;
    transition: color .15s;
}

.post-hero__pill a:hover { color: #fff; }
.post-hero__pill i { font-size: 9px; }

/* Badge de categoria no hero */
.post-hero__cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    background: #015095;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    margin-bottom: 14px;
    transition: opacity .15s, background .15s;
}

.post-hero__cat:hover {
    opacity: .85;
    color: #fff;
    text-decoration: none;
}

.post-hero__titulo {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 14px;
    max-width: 820px;
}

/* Meta linha (autor / data) */
.post-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 0;
}

.post-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .80);
}

.post-hero__meta-item i { font-size: 12px; opacity: .75; }

/* Barra de compartilhamento encaixada no hero — igual blog-hero__stat-bar */
.post-hero__actions {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .13);
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    padding: 14px 22px;
    width: fit-content;
    margin-top: 28px;
    gap: 6px;
    flex-wrap: wrap;
}

.post-hero__actions-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    margin-right: 8px;
}

.post-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .88);
    font-size: 14px;
    text-decoration: none;
    transition: background .16s, color .16s, transform .16s;
}

.post-share-btn:hover {
    background: #fff;
    color: #015095;
    transform: translateY(-2px);
    text-decoration: none;
}

.post-share-btn--wpp:hover { background: #25d366; color: #fff; }
.post-share-btn--fb:hover  { background: #1877f2; color: #fff; }
.post-share-btn--li:hover  { background: #0a66c2; color: #fff; }
.post-share-btn--tw:hover  { background: #1da1f2; color: #fff; }

/* ── CORPO PRINCIPAL ─────────────────────────────────── */

.post-main {
    background: #f4f7fc;
    padding: 40px 0 64px;
}

/* Card do conteúdo — igual condo-feature-card / empresa-card--historia */
.post-content-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 14px;
    padding: 36px 40px 40px;
    box-shadow: 0 4px 18px rgba(2, 8, 40, .06);
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .post-content-card { padding: 22px 18px 28px; }
}

/* Tipografia do conteúdo */
.post-body {
    font-size: 16.5px;
    line-height: 1.80;
    color: #2d3748;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 8px 0;
}

.post-body h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #08246b;
    margin: 32px 0 14px;
    line-height: 1.25;
}

.post-body h3 {
    font-size: 1.22rem;
    font-weight: 700;
    color: #08246b;
    margin: 26px 0 12px;
}

.post-body p { margin: 0 0 18px; word-break: break-word;}

.post-body a {
    color: #015095;
    text-decoration: underline;
    font-weight: 600;
}

.post-body ul, .post-body ol {
    padding-left: 22px;
    margin: 0 0 18px;
}

.post-body li { margin-bottom: 6px; }

.post-body blockquote {
    border-left: 4px solid #015095;
    background: rgba(1, 80, 149, .05);
    border-radius: 0 10px 10px 0;
    padding: 14px 20px;
    margin: 20px 0;
    font-style: italic;
    color: #445;
}

/* Chips de categorias no rodapé do artigo */
.post-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, .07);
    margin-top: 28px;
}

.post-cats__label {
    font-size: 12px;
    font-weight: 700;
    color: #94a0b4;
    letter-spacing: .04em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 4px;
}

/* ── POSTS RELACIONADOS ───────────────────────────────── */

.rel-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    text-decoration: none;
    transition: opacity .15s;
}

.rel-item:first-child { padding-top: 0; }
.rel-item:last-child  { border-bottom: none; padding-bottom: 0; }
.rel-item:hover       { opacity: .72; }

.rel-thumb {
    width: 70px;
    height: 54px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e2e8f8, #c7d2f0);
    border: 1px solid rgba(0, 0, 0, .07);
}

.rel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rel-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(1, 80, 149, .28);
}

.rel-info { min-width: 0; }

.rel-title {
    font-size: 13px;
    font-weight: 700;
    color: #08246b;
    line-height: 1.3;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rel-date {
    font-size: 11px;
    font-weight: 600;
    color: #94a0b4;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Link "ver todos" */
.widget-link-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #015095;
    text-decoration: none;
    transition: gap .16s, opacity .16s;
}

.widget-link-all:hover {
    gap: 10px;
    opacity: .75;
    text-decoration: none;
}

/* ── CTA DE CONTATO NA SIDEBAR ─────────────────────── */

/* Reutiliza gradiente padrão condo-cta-final / empresa-cta */
.sidebar-cta {
    background: linear-gradient(135deg, #020828 0%, #015095 100%);
    border-radius: 14px;
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
}

.sidebar-cta::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    pointer-events: none;
}

.sidebar-cta__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(255, 255, 255, .88);
    margin-bottom: 14px;
}

.sidebar-cta__title {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.3;
}

.sidebar-cta__text {
    font-size: 13px;
    color: rgba(255, 255, 255, .68);
    margin: 0 0 18px;
    line-height: 1.5;
}

.sidebar-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .18s, box-shadow .18s;
}

.sidebar-cta__btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

/* Igual empresa-cta__btn--prim */
.sidebar-cta__btn--prim {
    background: #fff;
    color: #015095;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
    margin-bottom: 10px;
}

.sidebar-cta__btn--prim:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
    color: #015095;
}

/* Igual empresa-cta__btn--wpp */
.sidebar-cta__btn--wpp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, .28);
}

.sidebar-cta__btn--wpp:hover {
    box-shadow: 0 10px 28px rgba(37, 211, 102, .40);
    color: #fff;
}

/* ========================= RESPONSIVO DETALHES ========================= */

@media (max-width: 992px) {
    .post-hero__actions {
        width: 100%;
        border-radius: 10px 10px 0 0;
    }
}

/* ========================= RESPONSIVO BLOG LISTAGEM ========================= */

@media (max-width: 992px) {
    .blog-hero__stat-bar {
        flex-wrap: wrap;
        padding: 16px 20px;
        width: 100%;
        border-radius: 10px 10px 0 0;
    }

    .blog-hero__stat {
        padding: 8px 16px;
    }
}

@media (max-width: 576px) {
    .blog-grid { grid-template-columns: 1fr; }

    .blog-hero__inner { padding-top: 52px; }

    .blog-hero__stat-bar { width: 100%; }

    .blog-hero__stat-sep { display: none; }

    .blog-hero__stat { width: 50%; padding: 8px 14px; }
}

 /* ── FAB (botão flutuante) ── */
.blog-fab {
    display: none;
    position: fixed;
    top: 96px;
    right: 16px;
    z-index: 1040;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #015095;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(1, 80, 149, .40);
    align-items: center;
    justify-content: center;
    transition: transform .18s, box-shadow .18s, background .18s;
}

.blog-fab:hover {
    background: #014480;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(1, 80, 149, .50);
}

/* Ponto indicador de filtro ativo */
.blog-fab__dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #f5c518;
    border: 2px solid #015095;
}

/* ── OVERLAY ── */
.blog-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 40, .55);
    z-index: 1050;
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .28s ease;
}

.blog-drawer-overlay.is-open {
    display: block;
    opacity: 1;
}

/* ── DRAWER ── */
.blog-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    background: #f4f7fc;
    z-index: 1060;
    transform: translateX(100%);
    transition: transform .30s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(2, 8, 40, .18);
}

.blog-drawer.is-open {
    transform: translateX(0);
}

.blog-drawer__close {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    padding: 14px 16px 10px;
    background: #f4f7fc;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #08246b;
    transition: color .15s;
}

.blog-drawer__close:hover { color: #015095; }

.blog-drawer__inner {
    padding: 0 14px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 991px) {
    .blog-fab { display: flex; }
}