/* =====================================================================
   TAÍPE — BLOG no sistema visual do silo (14/09/2026)
   Listagem (/blog/), categoria, busca e artigo. Carrega depois de
   taipe-designsystem.css e refined-edition.css.
   ===================================================================== */
.lp-investor-wrapper { font-family: 'Montserrat', sans-serif !important; color: #333; }
.lp-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lp-hero { background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; min-height: 60vh; display: flex; align-items: center; position: relative; color: #fff !important; }
.lp-hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5) !important; }
.lp-subtitle { font-size: 1.15rem !important; margin-bottom: 28px !important; opacity: .95 !important; color: #fff !important; position: relative; z-index: 10; font-family: 'Montserrat', sans-serif !important; }
.tg-blog .lp-hero { min-height: clamp(380px, 52vh, 560px) !important; }
.tg-blog .lp-hero .lp-title { max-width: 22ch !important; }
.tg-blog .lp-hero .lp-meta { position: relative; z-index: 2; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.85); margin: 0 0 14px; }
.tg-blog .lp-hero .lp-meta a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.tg-blog .lp-hero .lp-meta span + span::before { content: '·'; margin: 0 10px; opacity: .7; }

/* faixa de categorias */
.tg-chips { background: #fffdfa; border-bottom: 1px solid rgba(57,54,47,.08); }
.tg-chips .lp-container { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 18px; align-items: center; }
.tg-chips a { font-family: 'Montserrat', sans-serif; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #524942; text-decoration: none; padding: 9px 16px; border: 1px solid rgba(57,54,47,.16); border-radius: 999px; transition: all .2s ease; }
.tg-chips a:hover, .tg-chips a.active { background: #490905; border-color: #490905; color: #fff; }
.tg-chips form { margin-left: auto; display: flex; gap: 8px; }
.tg-chips input[type="search"] { font-family: 'Montserrat', sans-serif; font-size: .8rem; padding: 9px 14px; border: 1px solid rgba(57,54,47,.16); border-radius: 999px; background: #fff; min-width: 220px; }
.tg-chips button { font-family: 'Montserrat', sans-serif; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: 9px 16px; border: 1px solid #490905; border-radius: 999px; background: transparent; color: #490905; cursor: pointer; }
.tg-chips button:hover { background: #490905; color: #fff; }

/* grade de cards */
.tg-diario { padding: 56px 0 64px; background: #f4eee2; }
.tg-diario-top { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.tg-diario .ds-eyebrow { display: inline-block; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: #b07848; margin-bottom: 10px; }
.tg-diario h2 { font-family: 'Solea', serif; font-weight: 400; font-size: 2.2rem; color: #490905; margin: 0 0 10px; }
.tg-diario-top p { font-size: .98rem; line-height: 1.7; color: #524942; margin: 0; }
.tg-diario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tg-diario-card { display: flex; flex-direction: column; background: #fffdfa; border: 1px solid #e0d0b8; border-radius: 10px; overflow: hidden; transition: transform .4s ease, box-shadow .4s ease; }
.tg-diario-card:hover { transform: translateY(-5px); box-shadow: 0 24px 52px rgba(30,24,19,.15); }
.tg-diario-thumb { display: block; overflow: hidden; }
.tg-diario-thumb img { width: 100%; height: 230px; object-fit: cover; display: block; transition: transform .6s ease; }
.tg-diario-card:hover .tg-diario-thumb img { transform: scale(1.04); }
.tg-diario-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.tg-diario-meta { font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; color: #8b8177; margin-bottom: 10px; }
.tg-diario-meta a { color: #b07848; text-decoration: none; }
.tg-diario-title { font-family: 'Solea', serif; font-weight: 400; font-size: 1.25rem; line-height: 1.35; margin: 0 0 12px; }
.tg-diario-title a { color: #490905; text-decoration: none; }
.tg-diario-title a:hover { color: #b07848; }
.tg-diario-excerpt { font-size: .9rem; line-height: 1.7; color: #524942; margin: 0 0 20px; }
.tg-diario-link { margin-top: auto; align-self: flex-start; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: #490905; border-bottom: 1px solid #490905; padding-bottom: 3px; text-decoration: none; }
.tg-diario-link:hover { color: #b07848; border-color: #b07848; }
.tg-diario--related { background: #fffdfa; border-top: 1px solid rgba(57,54,47,.08); }
.tg-diario--related .tg-diario-card { background: #f4eee2; }
.tg-empty { text-align: center; padding: 40px 0; color: #524942; }

/* paginação */
.tg-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.tg-pagination .page-numbers { font-family: 'Montserrat', sans-serif; font-size: .78rem; letter-spacing: .1em; min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid rgba(57,54,47,.16); border-radius: 999px; color: #490905; text-decoration: none; background: #fffdfa; }
.tg-pagination .page-numbers.current, .tg-pagination .page-numbers:hover { background: #490905; color: #fff; border-color: #490905; }

/* artigo */
.tg-article-wrap { background: #f4eee2; padding: 56px 0 40px; }
.tg-article { max-width: 780px; margin: 0 auto; padding: 0 24px; font-family: 'Montserrat', sans-serif; color: #3a352f; }
.tg-article p, .tg-article li { font-size: 1.06rem; line-height: 1.85; color: #3a352f; }
.tg-article p { margin: 0 0 22px; }
.tg-article ul, .tg-article ol { margin: 0 0 24px 22px; padding: 0; }
.tg-article li { margin-bottom: 8px; }
.tg-article a { color: #b07848; text-decoration: none; border-bottom: 1px solid rgba(176,120,72,.4); }
.tg-article a:hover { color: #490905; border-color: #490905; }
.tg-article h2 { font-family: 'Solea', serif !important; font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.2rem) !important; line-height: 1.15 !important; color: #490905 !important; margin: 48px 0 16px !important; padding-top: 22px; border-top: 1px solid rgba(176,120,72,.35); }
.tg-article h3 { font-family: 'Montserrat', sans-serif; font-size: .92rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #7a4e2c; margin: 30px 0 10px; }
.tg-article strong { color: #1e1813; }
.tg-article blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 2px solid #b07848; font-family: 'Solea', serif; font-size: 1.3rem; line-height: 1.5; color: #490905; }
.tg-article blockquote p { font-family: inherit; font-size: inherit; color: inherit; margin: 0; }
.tg-article img { max-width: 100%; height: auto; display: block; border-radius: 8px; box-shadow: 0 22px 56px rgba(30,24,19,.14); }
.tg-article figure { margin: 32px auto; }
.tg-article figure img { margin: 0 auto; }
.tg-article figcaption, .tg-article .tg-legenda { display: block; font-size: .8rem; letter-spacing: .06em; color: #524942; opacity: .7; text-align: center; margin-top: 8px; }
.tg-article .tg-capwrap { display: block; margin: 32px auto; max-width: 640px; }
/* bloco "Em resumo" (vem com estilo inline do post) */
.tg-article div[style*="border-left"] { border-left: 3px solid #b07848 !important; background: #fffdfa !important; border-radius: 0 8px 8px 0; padding: 18px 22px !important; margin: 0 0 28px !important; }
.tg-article div[style*="border-left"] p { margin: 0; font-size: 1rem; line-height: 1.75; }
/* FAQ (parágrafos após "Perguntas frequentes") */
.tg-faq { display: grid; gap: 10px; margin: 0 0 28px; }
.tg-faq-item { background: #fffdfa; border: 1px solid rgba(57,54,47,.1); border-radius: 8px; padding: 16px 20px; margin: 0 !important; font-size: .98rem !important; }
.tg-faq-item strong { display: block; font-family: 'Solea', serif; font-weight: 400; font-size: 1.12rem; color: #490905; margin-bottom: 6px; }
/* "Leia também" */
.tg-leia { background: #fffdfa; border: 1px solid rgba(57,54,47,.1); border-radius: 10px; padding: 20px 24px; margin: 34px 0 20px; }
.tg-leia p { margin: 0 0 10px; font-size: .7rem !important; letter-spacing: .2em; text-transform: uppercase; color: #b07848; }
.tg-leia p strong { color: #b07848; font-weight: 600; }
.tg-leia ul { list-style: none; margin: 0; padding: 0; }
.tg-leia li { margin: 0; padding: 8px 0; border-top: 1px solid rgba(57,54,47,.08); font-size: .95rem !important; }
.tg-leia li:first-child { border-top: 0; }
.tg-leia a { border: 0; color: #490905; font-family: 'Solea', serif; font-size: 1.08rem; }
.tg-leia a:hover { color: #b07848; }
/* nota jurídica dentro do texto */
.tg-article p.tg-nota { font-size: .8rem !important; line-height: 1.6; color: #8b8177; border-top: 1px solid rgba(57,54,47,.12); padding-top: 14px; }
/* rodapé do artigo */
.tg-article-foot { max-width: 780px; margin: 28px auto 0; padding: 22px 24px 0; border-top: 1px solid rgba(57,54,47,.12); display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #8b8177; }
.tg-article-foot a { color: #490905; text-decoration: none; }
.tg-article-foot .tg-share { display: flex; gap: 12px; }
.tg-article-foot .tg-share a { display: inline-flex; width: 34px; height: 34px; border: 1px solid rgba(176,120,72,.45); border-radius: 50%; align-items: center; justify-content: center; color: #490905; }
.tg-article-foot .tg-share a:hover { background: #b07848; border-color: #b07848; color: #fff; }
.tg-article-foot .tg-share svg { width: 15px; height: 15px; }

/* breadcrumbs e CTA */
.taipe-breadcrumbs { max-width: 1200px; margin: 0 auto; padding: 16px 24px; font-size: .74rem; letter-spacing: .06em; color: #8b8177; }
.taipe-breadcrumbs a { color: #b07848; text-decoration: none; }
.taipe-breadcrumbs .sep { margin: 0 8px; opacity: .6; }
.tg-cta { background: #1e1813; color: #fff; text-align: center; padding: 56px 0; }
.tg-cta h2 { font-family: 'Solea', serif; font-weight: 400; font-size: 2.4rem; color: #fff; margin: 0 0 24px; }
footer { display: flex !important; justify-content: center !important; padding: 28px 0 !important; background-color: #3f0804 !important; }
footer img { max-height: 90px; width: auto; }

@media (max-width: 900px) { .tg-diario-grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
@media (max-width: 768px) {
    .tg-diario-grid { grid-template-columns: 1fr; }
    .tg-diario { padding: 40px 0 48px; }
    .tg-article-wrap { padding: 36px 0 28px; }
    .tg-article p, .tg-article li { font-size: 1rem; }
    .tg-chips form { margin-left: 0; width: 100%; }
    .tg-chips input[type="search"] { flex: 1; min-width: 0; }
    .tg-blog .lp-hero { min-height: 360px !important; }
    .trp-floating-switcher.trp-switcher-position-bottom { bottom: 84px !important; }
}
