/* ==========================================================================
   Blog público SDR Agent — SEO + conversão (2026-11-02)
   Usa os tokens do design-system.css (tema escuro, marca #cf244b).
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(207,36,75,.28), transparent 55%),
    radial-gradient(circle at bottom left, rgba(28,53,62,.35), transparent 60%),
    var(--surface-950, #0f1f25);
  color: var(--text-primary, #e2e8f0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brand-300, #f17090); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.bp-skip { position: absolute; left: -9999px; top: .5rem; z-index: 2000; background: #fff; color: #0f1f25; padding: .5rem 1rem; border-radius: 8px; font-weight: 600; }
.bp-skip:focus { left: .5rem; }

/* ---------- Header ---------- */
.bp-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; background: rgba(15,31,37,.86); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-bottom: 1px solid var(--surface-border, rgba(148,163,184,.18)); transition: box-shadow .2s; }
.bp-header.is-scrolled { box-shadow: 0 6px 30px rgba(0,0,0,.45); }
.bp-header-inner { max-width: 1200px; margin: 0 auto; padding: .8rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bp-logo img { display: block; height: 2.2rem; width: auto; }
.bp-nav { display: flex; align-items: center; gap: 1.25rem; }
.bp-nav-link { font-size: .88rem; font-weight: 500; color: #cbd5e1; text-decoration: none; }
.bp-nav-link:hover { color: #fff; }
@media (max-width: 860px) { .bp-nav-link { display: none; } }
@media (max-width: 420px) { .bp-nav .bp-btn--sm { padding: .5rem .85rem; font-size: .76rem; } .bp-logo img { height: 1.9rem; } }

/* ---------- Botões ---------- */
.bp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .92rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; font-family: inherit; line-height: 1.2; text-align: center; }
.bp-btn--primary { background: linear-gradient(135deg, #cf244b, #a11d3f); color: #fff; box-shadow: 0 6px 20px rgba(207,36,75,.35); }
.bp-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(207,36,75,.5); }
.bp-btn--ghost { background: rgba(255,255,255,.06); color: #f1f5f9; border-color: rgba(255,255,255,.18); }
.bp-btn--ghost:hover { background: rgba(255,255,255,.12); }
.bp-btn--sm { padding: .55rem 1.1rem; font-size: .82rem; }
.bp-btn--block { width: 100%; }

/* ---------- Layout comum ---------- */
.bp-main { max-width: 1200px; margin: 0 auto; padding: 6.5rem 1.5rem 4rem; }
.bp-breadcrumb { font-size: .82rem; color: #a0aec0; margin: 0 0 1.5rem; }
.bp-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.bp-breadcrumb li + li::before { content: '›'; margin-right: .4rem; color: #64748b; }
.bp-breadcrumb a { color: #cbd5e1; text-decoration: none; }
.bp-breadcrumb a:hover { color: var(--brand-200, #f599b0); }
.bp-breadcrumb [aria-current] { color: #94a3b8; }
.bp-section-title { font-size: 1.35rem; font-weight: 700; color: #f8fafc; margin: 0 0 1.25rem; }

/* ---------- Hero (listagens) ---------- */
.bp-hero { text-align: center; max-width: 820px; margin: 0 auto 2.5rem; }
.bp-kicker { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .95rem; border-radius: 999px; background: rgba(207,36,75,.14); border: 1px solid rgba(207,36,75,.35); color: #fda4af; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 1rem; }
.bp-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.12; font-weight: 800; color: #f8fafc; margin: 0 0 1rem; letter-spacing: -.02em; }
.bp-hero h1 .bp-grad { background: linear-gradient(135deg, var(--brand-400, #e84d6f), var(--brand-200, #f599b0)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bp-hero p { font-size: 1.08rem; color: #cbd5e1; margin: 0 auto; max-width: 680px; }
.bp-count { display: inline-block; margin-top: 1rem; font-size: .82rem; color: #a0aec0; }

/* ---------- Busca + filtros ---------- */
.bp-search { position: relative; max-width: 620px; margin: 0 auto 1.5rem; }
.bp-search i { position: absolute; left: 1.15rem; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; }
.bp-search input { width: 100%; padding: .95rem 1.2rem .95rem 2.9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #f8fafc; font: inherit; font-size: .95rem; }
.bp-search input::placeholder { color: #94a3b8; }
.bp-search input:focus { outline: none; border-color: var(--brand-500, #cf244b); box-shadow: 0 0 0 4px rgba(207,36,75,.2); }
.bp-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.bp-filter { display: inline-block; padding: .45rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #cbd5e1; font-size: .8rem; font-weight: 600; text-decoration: none; }
.bp-filter:hover { border-color: rgba(255,255,255,.3); color: #fff; }
.bp-filter.is-active { border-color: rgba(207,36,75,.6); background: rgba(207,36,75,.16); color: #fecdd3; }

/* ---------- Cards ---------- */
.bp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin: 0 0 2.5rem; }
.bp-card { display: flex; flex-direction: column; background: linear-gradient(160deg, rgba(28,53,62,.55), rgba(15,31,37,.85)); border: 1px solid rgba(255,255,255,.09); border-radius: 1.1rem; overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.bp-card:hover { transform: translateY(-4px); border-color: rgba(207,36,75,.35); box-shadow: 0 18px 44px rgba(0,0,0,.45); }
.bp-card-media { display: block; aspect-ratio: 16/9; background: linear-gradient(135deg, rgba(207,36,75,.18), rgba(28,53,62,.35)); overflow: hidden; }
.bp-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-card-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 2.2rem; color: rgba(248,250,252,.18); }
.bp-card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.bp-chip { align-self: flex-start; display: inline-block; padding: .2rem .7rem; border-radius: 999px; border: 1px solid rgba(207,36,75,.35); background: rgba(207,36,75,.12); color: #fecdd3; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.bp-chip--ghost { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #e2e8f0; }
.bp-card-title { font-size: 1.08rem; line-height: 1.35; font-weight: 700; color: #f8fafc; margin: 0; }
.bp-card-title a { text-decoration: none; }
.bp-card-title a:hover { color: #fecdd3; }
.bp-card-excerpt { font-size: .88rem; color: #cbd5e1; margin: 0; flex: 1; }
.bp-card-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .76rem; color: #a0aec0; margin-top: .25rem; }
.bp-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.bp-card--featured .bp-card-media { aspect-ratio: auto; min-height: 100%; }
.bp-card--featured .bp-card-body { padding: 2rem; justify-content: center; }
.bp-card--featured .bp-card-title { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.bp-card--featured .bp-card-excerpt { font-size: .98rem; flex: 0; }
@media (max-width: 820px) { .bp-card--featured { grid-template-columns: 1fr; } .bp-card--featured .bp-card-media { aspect-ratio: 16/9; } .bp-card--featured .bp-card-body { padding: 1.35rem; } }

.bp-empty { text-align: center; padding: 4rem 1.5rem; border: 1px dashed rgba(255,255,255,.15); border-radius: 1.1rem; color: #cbd5e1; }
.bp-empty a { color: #fecdd3; }

/* ---------- Paginação ---------- */
.bp-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin: 2rem 0 3rem; }
.bp-page-btn, .bp-page-num { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 2.4rem; height: 2.4rem; padding: 0 .9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #e2e8f0; font-size: .82rem; font-weight: 600; text-decoration: none; }
.bp-page-btn:hover, a.bp-page-num:hover { background: rgba(255,255,255,.1); }
.bp-page-num.is-active { background: var(--brand-500, #cf244b); border-color: var(--brand-500, #cf244b); color: #fff; }
.bp-page-gap { color: #64748b; }

/* ---------- Oferta / CTA ---------- */
.bp-offer { border-radius: 1.25rem; border: 1px solid rgba(207,36,75,.3); background: linear-gradient(135deg, rgba(207,36,75,.16), rgba(28,53,62,.5)); }
.bp-offer-kicker { margin: 0 0 .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #fda4af; }
.bp-offer-title { margin: 0 0 .6rem; font-size: 1.4rem; line-height: 1.25; font-weight: 800; color: #f8fafc; }
.bp-offer-text { margin: 0 0 1.25rem; color: #cbd5e1; font-size: .95rem; }
.bp-offer--box { padding: 2.25rem; margin: 3rem 0; text-align: center; }
.bp-offer--box .bp-offer-text { max-width: 620px; margin-left: auto; margin-right: auto; }
.bp-offer-price { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; max-width: 560px; margin: 0 auto 1.5rem; }
.bp-offer-price-item { display: flex; flex-direction: column; gap: .15rem; padding: 1rem; border-radius: .9rem; background: rgba(15,31,37,.6); border: 1px solid rgba(255,255,255,.1); }
.bp-offer-price-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #a0aec0; font-weight: 700; }
.bp-offer-price-item strong { font-size: 1.5rem; color: #fff; }
.bp-offer-price-item small { font-size: .8rem; color: #cbd5e1; font-weight: 500; }
.bp-offer-price-sub { font-size: .8rem; color: #cbd5e1; }
.bp-offer-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.bp-offer--inline { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.4rem 1.6rem; margin: 2.25rem 0; }
.bp-offer--inline .bp-offer-title { font-size: 1.1rem; }
.bp-offer--inline .bp-offer-text { margin: 0; font-size: .9rem; }
.bp-offer--inline .bp-btn { flex-shrink: 0; }
@media (max-width: 640px) { .bp-offer--inline { flex-direction: column; align-items: stretch; } .bp-offer-price { grid-template-columns: 1fr; } .bp-offer--box { padding: 1.6rem 1.2rem; } }
.bp-offer--sidebar { padding: 1.4rem; }
.bp-offer--sidebar .bp-offer-title { font-size: 1.08rem; }
.bp-offer-list { margin: 0 0 1rem; padding: 0; list-style: none; display: grid; gap: .45rem; font-size: .85rem; color: #cbd5e1; }
.bp-offer-list li::before { content: '✓'; color: #4ade80; font-weight: 800; margin-right: .45rem; }
.bp-offer--sidebar .bp-btn + .bp-btn { margin-top: .55rem; }
.bp-offer-note { margin: .85rem 0 0; font-size: .74rem; color: #a0aec0; text-align: center; }

/* ---------- Explore (links internos) ---------- */
.bp-explore { margin: 3rem 0; }
.bp-explore-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .85rem; }
.bp-explore-grid a { display: flex; flex-direction: column; gap: .25rem; height: 100%; padding: 1rem 1.1rem; border-radius: .9rem; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035); text-decoration: none; transition: border-color .2s, background .2s; }
.bp-explore-grid a:hover { border-color: rgba(207,36,75,.4); background: rgba(207,36,75,.08); }
.bp-explore-grid strong { color: #f8fafc; font-size: .92rem; }
.bp-explore-grid span { color: #a0aec0; font-size: .8rem; }

/* ---------- Post ---------- */
.bp-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1100; background: linear-gradient(90deg, #cf244b, #f599b0); }
.bp-post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; align-items: start; }
@media (max-width: 1080px) { .bp-post-layout { grid-template-columns: minmax(0, 1fr); } .bp-sidebar { display: none; } }
.bp-article { max-width: 760px; min-width: 0; }
.bp-post-title { font-size: clamp(1.9rem, 4.4vw, 2.75rem); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: #f8fafc; margin: .9rem 0 1rem; }
.bp-post-lead { font-size: 1.12rem; color: #cbd5e1; margin: 0 0 1.25rem; }
.bp-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; font-size: .84rem; color: #a0aec0; padding-bottom: 1.25rem; margin-bottom: 1.75rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.bp-post-meta i { color: var(--brand-400, #e84d6f); margin-right: .3rem; }
.bp-post-hero { margin: 0 0 2rem; border-radius: 1rem; overflow: hidden; aspect-ratio: 16/9; background: linear-gradient(135deg, rgba(207,36,75,.2), rgba(28,53,62,.4)); }
.bp-post-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bp-toc { margin: 0 0 2rem; border: 1px solid rgba(255,255,255,.12); border-radius: 1rem; background: rgba(255,255,255,.035); }
.bp-toc summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; color: #f8fafc; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.bp-toc summary::-webkit-details-marker { display: none; }
.bp-toc summary::after { content: '+'; font-size: 1.2rem; color: #fda4af; }
.bp-toc[open] summary::after { content: '–'; }
.bp-toc ol { margin: 0; padding: 0 1.25rem 1.1rem 2.4rem; display: grid; gap: .35rem; font-size: .9rem; }
.bp-toc a { color: #cbd5e1; text-decoration: none; }
.bp-toc a:hover, .bp-toc a.is-current { color: #fecdd3; }
.bp-sidebar { align-self: stretch; }
.bp-toc-side { position: sticky; top: 6rem; display: grid; gap: 1.25rem; }
.bp-toc-side .bp-toc { margin: 0; max-height: 36vh; overflow: auto; }
@media (max-height: 860px) { .bp-offer--sidebar .bp-offer-list { display: none; } .bp-toc-side .bp-toc { max-height: 30vh; } }
.bp-toc-side .bp-toc ol { padding-left: 2.2rem; font-size: .84rem; }

.bp-content { font-size: 1.07rem; line-height: 1.85; color: #dbe3ec; }
.bp-content > *:first-child { margin-top: 0; }
.bp-content h2 { font-size: 1.6rem; line-height: 1.3; font-weight: 750; color: #f8fafc; margin: 2.6rem 0 1rem; padding-left: .9rem; border-left: 3px solid var(--brand-500, #cf244b); }
.bp-content h3 { font-size: 1.25rem; line-height: 1.35; font-weight: 700; color: #f8fafc; margin: 2rem 0 .7rem; }
.bp-content h4 { font-size: 1.05rem; color: #f1f5f9; margin: 1.5rem 0 .5rem; }
.bp-content p { margin: 0 0 1.25rem; }
.bp-content ul, .bp-content ol { margin: 1rem 0 1.5rem 1.4rem; padding: 0; }
.bp-content li { margin-bottom: .5rem; }
.bp-content a { color: #fda4af; text-underline-offset: 3px; text-decoration-color: rgba(253,164,175,.45); }
.bp-content a:hover { text-decoration-color: #fda4af; }
.bp-content strong { color: #fff; }
.bp-content blockquote { margin: 1.75rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--brand-500, #cf244b); background: rgba(207,36,75,.08); border-radius: 0 .6rem .6rem 0; color: #e2e8f0; }
.bp-content img { border-radius: .8rem; margin: 1rem 0; height: auto; }
.bp-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .92rem; display: block; overflow-x: auto; }
.bp-content th, .bp-content td { border: 1px solid rgba(255,255,255,.14); padding: .6rem .8rem; text-align: left; }
.bp-content th { background: rgba(255,255,255,.06); color: #fff; }
.bp-content code { background: rgba(255,255,255,.1); padding: .12rem .4rem; border-radius: 4px; font-size: .9em; }
.bp-content pre { background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.1); padding: 1.1rem 1.3rem; border-radius: .7rem; overflow-x: auto; }
.bp-content pre code { background: none; padding: 0; }
.bp-content h2[id], .bp-content h3[id] { scroll-margin-top: 6rem; }

.bp-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0; padding: 0; list-style: none; }
.bp-tags a { display: inline-block; padding: .35rem .85rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); color: #cbd5e1; font-size: .78rem; font-weight: 600; text-decoration: none; }
.bp-tags a:hover { border-color: var(--brand-500, #cf244b); color: #fecdd3; }

.bp-share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: 1rem 1.25rem; border: 1px solid rgba(255,255,255,.1); border-radius: 1rem; background: rgba(255,255,255,.03); margin: 0 0 2rem; }
.bp-share-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #a0aec0; margin-right: .25rem; }
.bp-share a, .bp-share button { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .95rem; border-radius: 999px; font: inherit; font-size: .8rem; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #f1f5f9; }
.bp-share .is-wa { border-color: rgba(37,211,102,.4); color: #4ade80; }
.bp-share .is-li { border-color: rgba(10,102,194,.55); color: #7cc0ff; }

.bp-author { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border: 1px solid rgba(255,255,255,.1); border-radius: 1rem; background: rgba(255,255,255,.03); margin: 0 0 2rem; }
.bp-author-avatar { flex: 0 0 56px; height: 56px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bp-author-avatar img { width: 48px; height: auto; }
.bp-author-name { font-weight: 700; color: #f8fafc; margin: 0 0 .2rem; }
.bp-author-bio { margin: 0; font-size: .88rem; color: #cbd5e1; }

.bp-mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: none; gap: .6rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: #0f1f25; box-shadow: 0 -8px 24px rgba(0,0,0,.4); border-top: 1px solid rgba(255,255,255,.12); transform: translateY(110%); transition: transform .25s; }
.bp-mobile-cta.is-visible { transform: translateY(0); }
.bp-mobile-cta .bp-btn { flex: 1; padding: .7rem .9rem; font-size: .85rem; }
@media (max-width: 1080px) { .bp-mobile-cta { display: flex; } body.has-mobile-cta { padding-bottom: 4.5rem; } }

/* ---------- Footer ---------- */
.bp-footer { margin-top: 4rem; border-top: 1px solid rgba(255,255,255,.1); background: rgba(10,20,25,.6); padding: 3rem 1.5rem 1.5rem; }
.bp-footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.bp-footer-brand img { height: 2rem; width: auto; margin-bottom: .75rem; }
.bp-footer-brand p { margin: 0; font-size: .85rem; color: #a0aec0; max-width: 320px; }
.bp-footer-col { display: flex; flex-direction: column; gap: .5rem; }
.bp-footer-title { margin: 0 0 .25rem; font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #f8fafc; }
.bp-footer-col a { color: #a0aec0; font-size: .85rem; text-decoration: none; }
.bp-footer-col a:hover { color: #fff; }
.bp-footer-copy { max-width: 1200px; margin: 2.5rem auto 0; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .76rem; color: #94a3b8; text-align: center; }
@media (max-width: 820px) { .bp-footer-inner { grid-template-columns: 1fr 1fr; } .bp-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .bp-main { padding: 5.5rem 1rem 3rem; } .bp-header-inner { padding: .7rem 1rem; } }
