/* Blog — cópia do bloco de frontend.css em arquivo próprio: o CDN da Locaweb só
   invalida por nome de arquivo novo, então o blog não depende do cache do frontend.css. */
.blog-wrap { max-width: 1180px; margin: 0 auto; padding: 36px 16px 64px; }
.blog-crumbs { font-size: .82rem; color: var(--text-sec); margin-bottom: 14px; }
.blog-crumbs a { color: var(--text-sec); text-decoration: none; }
.blog-crumbs a:hover { color: var(--brand); }
.blog-preview-badge { background: #fff3cd; color: #7a5a00; border: 1px solid #ffe08a; padding: 8px 12px; border-radius: 8px; font-size: .85rem; margin-bottom: 16px; }
.blog-seg { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); background: var(--cream-soft); padding: 4px 10px; border-radius: 999px; }
.blog-head h1, .blog-index-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 12px 0 10px; color: var(--text); }
.blog-lead { font-size: 1.08rem; color: var(--text-sec); max-width: 760px; line-height: 1.55; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .85rem; color: var(--text-sec); margin: 16px 0 0; }
.blog-meta i { margin-right: 4px; }
.blog-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; margin-top: 32px; }
.blog-body { min-width: 0; }
.blog-toc { background: var(--cream); border: 1px solid #eee5d8; border-radius: 12px; padding: 16px 20px; margin-bottom: 28px; }
.blog-toc-title { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); margin-bottom: 8px; }
.blog-toc ol { margin: 0; padding-left: 20px; }
.blog-toc li { margin: 4px 0; font-size: .95rem; }
.blog-toc a { color: var(--text); text-decoration: none; }
.blog-toc a:hover { color: var(--brand); text-decoration: underline; }
.seo-prose { font-size: 1.05rem; line-height: 1.75; color: var(--text); }
.seo-prose h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; margin: 40px 0 14px; scroll-margin-top: 90px; }
.seo-prose h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 10px; }
.seo-prose p { margin: 0 0 16px; }
.seo-prose ul, .seo-prose ol { margin: 0 0 18px; padding-left: 24px; }
.seo-prose li { margin: 6px 0; }
.seo-prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.seo-prose blockquote { border-left: 4px solid var(--gold); background: var(--cream); padding: 12px 18px; margin: 0 0 18px; border-radius: 0 10px 10px 0; color: #4a4a4f; }
.seo-prose hr { border: 0; border-top: 1px solid var(--border); margin: 28px 0; }
.seo-prose code { background: var(--cream-soft); padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.seo-prose .table-responsive { margin: 0 0 22px; }
.seo-table { font-size: .93rem; border-color: #e4ddd2 !important; }
.seo-table th { background: var(--cream); font-weight: 700; white-space: nowrap; }
.seo-table td, .seo-table th { padding: 9px 12px; vertical-align: top; }
.seo-faq { margin-top: 40px; }
.seo-faq h2, .seo-faq h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 14px; }
.seo-faq-item { border: 1px solid var(--border); border-radius: 10px; padding: 0 16px; margin-bottom: 8px; background: #fff; }
.seo-faq-item summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
.seo-faq-item summary::-webkit-details-marker { display: none; }
.seo-faq-item summary::after { content: '+'; position: absolute; right: 0; top: 10px; font-size: 1.3rem; color: var(--gold); }
.seo-faq-item[open] summary::after { content: '–'; }
.seo-faq-a { padding: 0 0 16px; color: #3a3a3f; line-height: 1.65; }
.blog-cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(135deg, var(--brand), var(--brand-mid)); color: #fff; border-radius: 16px; padding: 26px 28px; }
.blog-cta-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.blog-cta-text { color: #efe6ea; max-width: 560px; font-size: .95rem; }
.blog-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.blog-cta-btn { background: var(--gold); color: var(--brand-dark); font-weight: 700; padding: 12px 20px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.blog-cta-btn:hover { background: var(--gold-light); color: var(--brand-dark); }
.blog-cta-wa { background: var(--wa-green); color: #fff; font-weight: 700; padding: 12px 18px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.blog-cta-wa:hover { background: var(--wa-dark); color: #fff; }
.blog-side { position: sticky; top: 90px; align-self: start; display: flex; flex-direction: column; gap: 16px; }
.blog-side-box { border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; background: #fff; }
.blog-side-quote { background: var(--cream); border-color: #eee5d8; }
.blog-side-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); margin-bottom: 10px; }
.blog-side-link { display: block; padding: 7px 0; border-top: 1px solid #efefef; color: var(--text); text-decoration: none; font-size: .93rem; line-height: 1.35; }
.blog-side-link:first-of-type { border-top: 0; }
.blog-side-link:hover { color: var(--brand); }
.blog-index-head { margin-bottom: 24px; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.blog-chip { border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; font-size: .88rem; color: var(--text); text-decoration: none; background: #fff; }
.blog-chip small { color: var(--text-sec); margin-left: 4px; }
.blog-chip.active, .blog-chip:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.blog-chip.active small { color: #e8d5aa; }
.blog-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.blog-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--text); background: #fff; transition: transform .15s, box-shadow .15s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.09); color: var(--text); }
.blog-card-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--cream); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.blog-card-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 10px; }
.blog-card-cluster { font-size: .75rem; color: var(--text-sec); }
.blog-card h2 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; margin: 0 0 8px; }
.blog-card p { font-size: .92rem; color: var(--text-sec); line-height: 1.5; flex: 1; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-meta { font-size: .8rem; color: var(--text-sec); }
/* destaque (1º artigo do índice) */
.blog-featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--border); text-decoration: none; color: var(--text); margin-bottom: 28px; transition: box-shadow .2s; }
.blog-featured:hover { box-shadow: 0 18px 44px rgba(0,0,0,.1); color: var(--text); }
.blog-featured-img { min-height: 320px; background: var(--cream); }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-featured-body { padding: 34px 36px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; margin: 6px 0 12px; }
.blog-featured p { color: var(--text-sec); line-height: 1.6; margin: 0 0 14px; }
.blog-featured-cta { margin-top: 14px; color: var(--brand); font-weight: 700; }
/* capa do artigo */
.blog-hero { margin: 26px 0 0; border-radius: 18px; overflow: hidden; background: var(--cream); aspect-ratio: 21 / 9; }
.blog-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* vitrine de produtos dentro do texto */
.blog-products { margin: 36px 0; padding: 22px 22px 24px; background: var(--cream); border: 1px solid #eee5d8; border-radius: 16px; }
.blog-products-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.blog-products-title { font-size: 1.05rem; font-weight: 800; color: var(--brand); }
.blog-products-sub { font-size: .82rem; color: var(--text-sec); }
.blog-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.blog-product { display: flex; flex-direction: column; background: #fff; border: 1px solid #eee5d8; border-radius: 12px; padding: 10px 10px 12px; text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; }
.blog-product:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.08); color: var(--text); }
.seo-prose .blog-product, .seo-prose .blog-product:hover { text-decoration: none; }
.blog-product-img { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #fff; display: block; margin-bottom: 10px; }
.blog-product-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.blog-product-cat { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-dark, #9a7b2f); }
.blog-product-name { font-size: .9rem; font-weight: 700; line-height: 1.3; margin: 3px 0 2px; }
.blog-product-detail { font-size: .76rem; color: var(--text-sec); line-height: 1.35; }
.blog-product-cta { margin-top: auto; padding-top: 8px; font-size: .8rem; font-weight: 700; color: var(--brand); }
/* lateral com miniaturas */
.blog-side-post { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid #efefef; text-decoration: none; color: var(--text); font-size: .92rem; line-height: 1.3; }
.blog-side-post:first-of-type { border-top: 0; }
.blog-side-post img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; background: var(--cream); }
.blog-side-post small { display: block; color: var(--text-sec); font-size: .76rem; margin-top: 3px; }
.blog-side-post:hover { color: var(--brand); }
.blog-side-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.blog-side-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 10px 6px; border: 1px solid #efefef; border-radius: 10px; text-decoration: none; color: var(--text); font-size: .78rem; font-weight: 600; line-height: 1.2; background: #fff; }
.blog-side-tile img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; }
.blog-side-tile img.fit-cover, .blog-tile img.fit-cover { object-fit: cover; }
.blog-side-tile:hover { border-color: var(--brand); color: var(--brand); }
/* vitrine de categorias no índice */
.blog-tiles { margin-top: 44px; }
.blog-tiles-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.blog-tiles-head h2 { font-size: 1.4rem; font-weight: 800; margin: 0; }
.blog-tiles-head p { margin: 0; color: var(--text-sec); font-size: .92rem; }
.blog-tiles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.blog-tile { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 12px 14px; text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; }
.blog-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.08); color: var(--brand); }
.blog-tile img { width: 100%; max-width: 140px; aspect-ratio: 1; object-fit: contain; margin-bottom: 10px; border-radius: 10px; }
.blog-tile-name { font-weight: 700; font-size: .92rem; line-height: 1.25; }
.blog-tile-count { font-size: .76rem; color: var(--text-sec); margin-top: 3px; }
.blog-pager { display: flex; gap: 6px; justify-content: center; margin: 28px 0 0; }
.blog-pager a { border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; text-decoration: none; color: var(--text); }
.blog-pager a.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.blog-empty { text-align: center; padding: 48px 16px; background: var(--cream); border-radius: 16px; margin-bottom: 24px; }
.blog-empty h2 { font-weight: 800; }
/* bloco editorial nas categorias/landings */
.seo-page-block { background: var(--cream); border-top: 1px solid #eee5d8; padding: 48px 16px; }
.seo-page-inner { max-width: 900px; margin: 0 auto; }
.seo-page-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 16px; }
.seo-page-block .seo-prose { font-size: 1rem; }
.seo-page-block .seo-prose h2 { font-size: 1.25rem; margin-top: 24px; }
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; gap: 28px; }
  .blog-side { position: static; }
  .blog-cta { padding: 20px; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 0; aspect-ratio: 16 / 9; }
  .blog-featured-body { padding: 22px 20px 24px; }
  .blog-hero { aspect-ratio: 16 / 9; border-radius: 12px; }
  .blog-products { padding: 16px 14px 18px; }
  .blog-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .blog-tiles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* tabelas do conteúdo (o front não carrega o CSS do Bootstrap) */
.seo-prose .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.seo-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e4ddd2; }
.seo-table th, .seo-table td { border: 1px solid #e4ddd2; text-align: left; line-height: 1.45; }
.seo-table tbody tr:nth-child(even) { background: #faf8f4; }
.seo-table td:first-child { font-weight: 600; }
