/* Blog Prospera, alinhado ao site www.meuprospera.com.br
   Dourado #F7BE45 (primário) | Dark #1E1E1E | Off #f5f5f5
   Comfortaa (títulos + corpo), via Google Fonts */

/* ----- Tokens ----- */
:root {
  --gold: #F7BE45;
  --gold-h: #ffd060;
  --gold-soft: rgba(247, 190, 69, 0.12);
  --gold-softer: rgba(247, 190, 69, 0.06);
  --dark: #1E1E1E;
  --dark2: #232323;
  --dark5: #4c4643;
  --off: #f5f5f5;
  --off2: #fafafa;
  --border: #e8e8e8;
  --text: #1E1E1E;
  --muted: #666;
  --white: #ffffff;
  --footer-bg: #14181D;
  --titulo-font: "Comfortaa", system-ui, sans-serif;
  --corpo-font: "Comfortaa", system-ui, sans-serif;
  --r-pill: 999px;
  --r-md: 12px;
  --r-lg: 20px;
  --raio: 18px;
  --maxw: 1200px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur: .32s;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--corpo-font); color: var(--text); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--dark); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gold); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.eyebrow { display: inline-block; font-family: var(--titulo-font); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }

/* ----- Header (branco, logo colorido) ----- */
.site-header { background: rgba(255,255,255,.97); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(0,0,0,.07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand-logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 8px 14px; border-radius: 8px; color: var(--text); font-family: var(--titulo-font); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; transition: background .2s, color .2s; }
.nav a:hover { color: var(--dark); background: var(--off); }
.nav a.is-active { color: var(--gold); }
.nav a.btn-gold { background: var(--gold); color: var(--dark); padding: 9px 22px; border-radius: var(--r-pill); font-size: 12px; }
.nav a.btn-gold:hover { background: var(--gold-h); color: var(--dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(247,190,69,.45); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px 0; border-radius: 2px; }

/* ----- Banner de página ----- */
.page-banner { padding: 28px 0 8px; }
.banner-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: stretch; }
.banner-box {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 60%, var(--dark5) 100%);
  border-radius: 24px; padding: 56px 44px; display: flex; flex-direction: column; justify-content: center; color: #fff;
}
.banner-box.center { text-align: center; align-items: center; }
.banner-box h1 { font-family: var(--titulo-font); font-weight: 700; font-size: 42px; letter-spacing: -.02em; line-height: 1.12; }
.banner-box .crumb { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.7); }
.banner-box .crumb a { color: rgba(255,255,255,.7); }
.banner-box .crumb a:hover { color: var(--gold); }
.banner-aside { border-radius: 24px; overflow: hidden; min-height: 220px; }
.banner-aside img { width: 100%; height: 100%; object-fit: cover; }

/* ----- Intro ----- */
.intro { padding: 44px 0 4px; }
.intro p { font-size: 18px; color: var(--muted); max-width: 980px; }

/* ----- Listagem estilo Cases ----- */
.section { padding: 40px 0 88px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 40px; }
.case-card { display: flex; flex-direction: column; }
.case-img-link { display: block; border-radius: 20px; overflow: hidden; }
.case-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .35s ease; }
.case-card:hover .case-img { transform: scale(1.03); }
.case-box {
  position: relative; display: block; margin: -64px 22px 0; z-index: 2;
  background: var(--gold); border-radius: 20px; padding: 24px 26px 26px;
  box-shadow: 0 16px 34px rgba(247,190,69,.32); transition: transform .2s ease;
}
.case-card:hover .case-box { transform: translateY(-5px); }
.case-box h2 { font-family: var(--titulo-font); font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--dark); }
.case-box .case-cat { display: block; margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(30,30,30,.75); }
.case-box .case-meta { display: block; margin-top: 4px; font-size: 12px; color: rgba(30,30,30,.6); }

/* ===== HOME estilo News & Insights (escalável) ===== */
/* Hero com fundo escuro arredondado */
.blog-hero {
  position: relative;
  margin: 22px auto 0;
  max-width: var(--maxw);
  border-radius: 24px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  background: var(--dark);
}
.blog-hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-hero .hero-overlay { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(120deg, rgba(20,20,20,.78) 0%, rgba(20,20,20,.55) 55%, rgba(20,20,20,.30) 100%),
  radial-gradient(ellipse at 100% 0%, rgba(247,190,69,.20) 0%, rgba(0,0,0,0) 55%);
}
.blog-hero .hero-content { position: relative; color: #fff; padding: 56px 44px; }
.blog-hero .crumb { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 18px; letter-spacing: .04em; text-transform: uppercase; }
.blog-hero .crumb a { color: rgba(255,255,255,.6); }
.blog-hero .crumb a:hover { color: var(--gold); }
.blog-hero h1 { font-family: var(--titulo-font); font-weight: 700; font-size: 52px; line-height: 1.06; max-width: 720px; letter-spacing: -.02em; }
.blog-hero .hero-sub { margin-top: 18px; font-size: 17px; color: rgba(255,255,255,.78); max-width: 600px; line-height: 1.6; }
.blog-hero .hero-sub::before { content: ""; display: block; width: 54px; height: 3px; background: var(--gold); margin-bottom: 18px; border-radius: 2px; }

/* Busca + CTA */
.blog-tools { padding: 32px 0 8px; }
.tools-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; }
.search-card { background: var(--off); border: 1px solid var(--border); border-radius: 20px; padding: 28px 30px; }
.search-card h3 { font-family: var(--titulo-font); font-weight: 700; font-size: 18px; color: var(--dark); margin-bottom: 14px; }
.search-field { position: relative; }
.search-field input { width: 100%; border: 1px solid var(--border); border-radius: 999px; padding: 14px 22px; font-family: var(--corpo-font); font-size: 14px; background: #fff; color: var(--text); }
.search-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(247,190,69,.18); }
.search-hint { margin-top: 12px; font-size: 12px; color: var(--muted); }
.search-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 12px 30px rgba(30,30,30,.12); overflow: hidden; z-index: 30; }
.search-suggest[hidden] { display: none; }
.sg-item { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; border-bottom: 1px solid var(--border); text-decoration: none; }
.sg-item:last-child { border-bottom: 0; }
.sg-item:hover, .sg-item.is-active { background: var(--off); }
.sg-cat { font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.sg-title { font-family: var(--titulo-font); font-weight: 600; font-size: 14px; color: var(--dark); }
.sg-title mark { background: rgba(247,190,69,.28); color: inherit; border-radius: 3px; padding: 0 2px; }
.tools-cta { display: flex; align-items: center; gap: 16px; background: var(--gold-soft); border: 1px solid rgba(247,190,69,.25); border-radius: 20px; padding: 24px 26px; color: var(--dark); transition: transform .2s ease, box-shadow .2s ease; }
.tools-cta:hover { color: var(--dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(247,190,69,.18); }
.tools-cta .tc-ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--dark); display: grid; place-items: center; font-size: 20px; font-weight: 700; }
.tools-cta strong { display: block; font-family: var(--titulo-font); font-size: 14px; line-height: 1.35; font-weight: 700; }
.tools-cta span { font-size: 12px; color: var(--dark); font-weight: 700; opacity: .65; text-transform: uppercase; letter-spacing: .06em; }

.section-title { font-family: var(--titulo-font); font-weight: 700; font-size: 28px; color: var(--dark); margin: 48px 0 26px; letter-spacing: -.01em; }

/* Últimos artigos */
.featured { padding: 8px 0 0; }
.feature-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 34px; }
.feature-wrap.no-side { grid-template-columns: 1fr; }
.feature-main { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-content: start; }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(30,30,30,.10); }
.pc-img { position: relative; display: block; }
.pc-img img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.date-badge { position: absolute; right: 14px; bottom: -16px; background: var(--gold); color: var(--dark); border-radius: 14px; padding: 8px 12px; text-align: center; font-family: var(--titulo-font); line-height: 1; box-shadow: 0 8px 18px rgba(247,190,69,.45); }
.date-badge b { display: block; font-size: 18px; font-weight: 700; }
.date-badge span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.pc-body { padding: 26px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pc-cat { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pc-body h3 { font-family: var(--titulo-font); font-weight: 700; font-size: 18px; line-height: 1.32; color: var(--dark); margin: 10px 0 16px; flex: 1; }
.pc-body h3 a { color: inherit; }
.pc-body h3 a:hover { color: var(--gold); }
.read-more { align-self: flex-start; font-family: var(--titulo-font); font-weight: 700; font-size: 13px; color: var(--dark); border-bottom: 2px solid var(--gold); padding-bottom: 2px; text-transform: uppercase; letter-spacing: .04em; }
.read-more:hover { color: var(--gold); }

/* Coluna lateral */
.feature-side { display: flex; flex-direction: column; gap: 18px; }
.mini-card { display: block; border-radius: 20px; padding: 26px 24px; color: #fff; transition: transform .2s ease; }
.mini-card:hover { transform: translateY(-3px); color: #fff; }
.mini-card[style*="F7BE45"] { color: var(--dark); }
.mini-card[style*="F7BE45"] .mc-cat,
.mini-card[style*="F7BE45"] .mc-meta { color: rgba(30,30,30,.65); }
.mc-cat { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.mini-card h4 { font-family: var(--titulo-font); font-weight: 700; font-size: 17px; line-height: 1.35; margin: 10px 0 12px; }
.mc-meta { font-size: 12px; color: rgba(255,255,255,.6); }

/* Lista compacta */
.archive { padding: 8px 0 80px; }
.arc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 40px; }
.arc-row { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--border); }
.arc-row:hover .arc-content h3 { color: var(--gold); }
.arc-thumb { flex: 0 0 108px; }
.arc-thumb img { width: 108px; height: 78px; object-fit: cover; border-radius: 12px; }
.arc-content { min-width: 0; }
.arc-meta { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; }
.arc-content h3 { font-family: var(--titulo-font); font-weight: 700; font-size: 16px; line-height: 1.32; color: var(--dark); margin-top: 6px; transition: color .18s ease; }
.arc-empty { padding: 24px 0; color: var(--muted); }

/* Faixa de CTA */
.cta-band { padding: 8px 0 80px; }
.cta-band-inner { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 60%, var(--dark5) 100%); border-radius: 24px; padding: 56px 44px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band-inner::after { content: ""; position: absolute; top: -100px; right: -100px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(247,190,69,.18) 0%, rgba(247,190,69,0) 65%); pointer-events: none; }
.cta-band-inner h2 { font-family: var(--titulo-font); font-weight: 700; font-size: 30px; line-height: 1.15; letter-spacing: -.01em; position: relative; }
.cta-band-inner p { margin-top: 14px; font-size: 16px; color: rgba(255,255,255,.78); max-width: 620px; margin-left: auto; margin-right: auto; position: relative; }

@media (max-width: 980px) {
  .tools-grid { grid-template-columns: 1fr; }
  .feature-wrap { grid-template-columns: 1fr; }
  .blog-hero h1 { font-size: 38px; }
}
@media (max-width: 640px) {
  .feature-main { grid-template-columns: 1fr; }
  .arc-grid { grid-template-columns: 1fr; }
  .blog-hero { min-height: 280px; }
  .blog-hero .hero-content { padding: 36px 26px; }
  .blog-hero h1 { font-size: 30px; }
  .section-title { font-size: 23px; }
}

/* ----- Artigo ----- */
.article-intro { padding: 44px 0 0; }
.article-intro .eyebrow { margin-bottom: 14px; }
.article-intro h1 { font-family: var(--titulo-font); font-weight: 700; font-size: 40px; line-height: 1.14; color: var(--dark); max-width: 860px; letter-spacing: -.02em; }
.article-intro .meta { margin-top: 18px; color: var(--muted); font-size: 14px; display: flex; gap: 10px; align-items: center; }
.article-intro .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #cbcbcb; }
.article-cover { max-width: var(--maxw); margin: 32px auto 0; padding: 0 24px; }
.article-cover img { width: 100%; border-radius: var(--raio); aspect-ratio: 21/9; object-fit: cover; box-shadow: 0 20px 50px rgba(30,30,30,.12); }

/* Barra de progresso */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .1s linear; }

/* Índice lateral */
.article-toc { padding: 22px 22px; background: var(--off); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: 14px; max-height: calc(100vh - 120px); overflow: auto; }
.article-toc .toc-title { font-family: var(--titulo-font); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dark); margin-bottom: 14px; }
.article-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.article-toc li.toc-sub { margin-left: 16px; }
.article-toc a { display: inline-block; text-decoration: none; color: var(--muted); font-size: 14px; line-height: 1.4; border-left: 2px solid transparent; padding-left: 12px; transition: color .15s, border-color .15s; }
.article-toc a:hover { color: var(--gold); }
.article-toc a.is-active { color: var(--dark); font-weight: 700; border-color: var(--gold); }

/* Dynamic Island TOC */
.dyn-island,
.dyn-island-backdrop { display: block; }

.dyn-island-backdrop {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(30, 30, 30, 0.22);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .4s cubic-bezier(0.22, 1, 0.36, 1);
}
.dyn-island-backdrop.is-open { opacity: 1; pointer-events: auto; }

.dyn-island {
  position: fixed; left: 50%; bottom: 30px;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none;
}

.dyn-pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 14px;
  height: 52px; width: 320px; padding: 0 18px;
  background: #FFF;
  color: var(--dark);
  border: 1px solid rgba(30,30,30,.10);
  border-radius: 26px;
  box-shadow: 0 12px 30px rgba(30,30,30,.18), 0 4px 10px rgba(30,30,30,.08);
  cursor: pointer;
  font-family: var(--corpo-font);
  font-size: 14px;
  font-weight: 500;
  transition: opacity .4s cubic-bezier(0.22, 1, 0.36, 1),
              transform .25s ease, box-shadow .25s ease;
}
.dyn-pill:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(30,30,30,.22); }
.dyn-pill:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.dyn-pill .dyn-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.dyn-active-text {
  flex: 1; text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--dark);
}
.dyn-progress {
  flex-shrink: 0;
  transform: rotate(-90deg);
}
.dyn-progress-track {
  fill: none; stroke: var(--off); stroke-width: 2.5;
}
.dyn-progress-bar {
  fill: none; stroke: var(--gold); stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 67.55;
  stroke-dashoffset: 67.55;
  transition: stroke-dashoffset .15s ease-out;
}

.dyn-panel {
  position: absolute;
  left: 50%; bottom: 0;
  width: 340px; max-width: calc(100vw - 32px);
  height: 400px; max-height: calc(100vh - 60px);
  transform: translateX(-50%) scale(0.94);
  background: #FFF;
  border-radius: 24px;
  border: 1px solid rgba(30,30,30,.10);
  box-shadow: 0 20px 50px rgba(30,30,30,.22);
  opacity: 0; pointer-events: none;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: opacity .4s cubic-bezier(0.22, 1, 0.36, 1),
              transform .4s cubic-bezier(0.22, 1, 0.36, 1);
}
.dyn-island.is-open .dyn-panel {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) scale(1);
}
.dyn-island.is-open .dyn-pill {
  opacity: 0; pointer-events: none;
  transform: translateY(8px) scale(0.96);
}
.dyn-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px 10px;
  flex-shrink: 0;
}
.dyn-panel-title {
  font-family: var(--titulo-font);
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  color: var(--muted);
}
.dyn-close {
  background: transparent; border: none; cursor: pointer;
  color: var(--muted); padding: 4px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  transition: color .15s ease, background .15s ease;
}
.dyn-close:hover { color: var(--dark); background: var(--off); }
.dyn-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.dyn-list {
  flex: 1; overflow-y: auto;
  padding: 4px 10px 16px;
  display: flex; flex-direction: column; gap: 2px;
  overscroll-behavior: contain;
}
.dyn-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  color: rgba(30, 30, 30, 0.55);
  text-decoration: none;
  font-family: var(--corpo-font);
  font-size: 14px;
  line-height: 1.35;
  transition: color .2s ease, background .2s ease;
}
.dyn-item.dyn-h3 { padding-left: 26px; }
.dyn-item.dyn-h4 { padding-left: 40px; font-size: 13px; }
.dyn-item .dyn-text {
  flex: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: transform .25s ease;
}
.dyn-item:hover {
  color: rgba(30, 30, 30, 0.92);
  background: var(--gold-softer);
}
.dyn-item:hover .dyn-text { transform: translateX(2px); }
.dyn-item.is-active {
  color: var(--dark); font-weight: 700;
  background: var(--gold-soft);
}
.dyn-dot-active {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  opacity: 0; transform: scale(0);
  transition: opacity .25s ease, transform .25s ease;
}
.dyn-item.is-active .dyn-dot-active { opacity: 1; transform: scale(1); }

@media (max-width: 640px) {
  .dyn-island { bottom: 18px; }
  .dyn-pill { width: 290px; height: 48px; padding: 0 16px; gap: 12px; font-size: 13px; }
  .dyn-panel { width: 320px; height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .dyn-pill, .dyn-panel, .dyn-progress-bar, .dyn-item, .dyn-item .dyn-text { transition: none; }
  .dyn-island-backdrop { transition: none; }
}

.article-body { max-width: 760px; margin: 44px auto 0; padding: 0 24px 8px; font-size: 17px; }
.article-body h2 { font-family: var(--titulo-font); font-weight: 700; font-size: 26px; color: var(--dark); margin: 42px 0 14px; scroll-margin-top: 100px; letter-spacing: -.01em; }
.article-body h3 { font-family: var(--titulo-font); font-weight: 700; font-size: 20px; color: var(--dark); margin: 28px 0 10px; scroll-margin-top: 100px; }
.article-body p { margin: 0 0 20px; color: #333; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote { border-left: 4px solid var(--gold); background: var(--off); padding: 18px 24px; margin: 28px 0; border-radius: 0 12px 12px 0; color: var(--dark); font-style: normal; font-weight: 500; }
.article-body img { border-radius: 14px; margin: 28px 0; }
.article-body a { color: var(--dark); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 2px; transition: color .15s; }
.article-body a:hover { color: var(--gold); }
.article-body a.auto-link { color: var(--dark); border-bottom: 1px dotted var(--gold); text-decoration: none; }
.article-body a.auto-link:hover { color: var(--gold); border-bottom-style: solid; }
.article-body a[target="_blank"]::after { content: " ↗"; font-size: 0.85em; opacity: 0.6; }

/* Tags do artigo */
.article-tags { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.article-tags .tags-label { font-family: var(--titulo-font); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.tag-pill { display: inline-block; padding: 7px 14px; background: var(--off); border: 1px solid var(--border); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--dark); line-height: 1.3; text-decoration: none; transition: all .15s; }
a.tag-pill:hover { background: var(--gold-soft); border-color: var(--gold); color: var(--dark); transform: translateY(-1px); }

/* Página de tag */
.tag-hero .hero-box { padding: 36px 44px; }
.tag-hero .hero-box h1 { font-size: 34px; text-transform: lowercase; }
.tag-list-section { margin-top: 0; padding: 56px 0 72px; }
.tag-list-section .back-link { margin-top: 40px; }

/* Cloud de tags */
.home-tags { background: var(--off); border-top: 1px solid var(--border); padding: 56px 0 64px; }
.home-tags .section-title { margin-bottom: 28px; margin-top: 0; }
.home-tags .cta-link { display: inline-block; margin-top: 24px; font-family: var(--titulo-font); font-weight: 700; color: var(--dark); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; text-transform: uppercase; letter-spacing: .04em; font-size: 13px; }
.home-tags .cta-link:hover { color: var(--gold); }

.tag-index-body { padding: 56px 0 72px; }
.tag-index-body .tag-group { margin-bottom: 44px; }
.tag-index-body .tag-group h2 { font-family: var(--titulo-font); font-weight: 700; font-size: 20px; color: var(--dark); margin-bottom: 18px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); display: inline-block; letter-spacing: -.01em; }
.tag-index-body .back-link { justify-content: flex-start; margin-top: 24px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud-item { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: #fff; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--dark); text-decoration: none; transition: all .18s; }
.tag-cloud-item:hover { background: var(--gold-soft); border-color: var(--gold); color: var(--dark); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(247,190,69,.18); }
.tag-cloud-item .tag-count { display: inline-block; background: var(--gold); color: var(--dark); border-radius: 999px; padding: 1px 9px; font-size: 11px; font-weight: 700; line-height: 1.4; }
.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin: 40px auto 0;
    padding: 0 24px;
    font-family: var(--titulo-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 13px;
}
.back-link:hover { color: var(--gold); }

/* CTA no fim do artigo */
.article-cta-wrap { margin-top: 56px; }
.article-cta {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 60%, var(--dark5) 100%);
  border-radius: 24px; padding: 52px 44px; text-align: center; color: #fff; max-width: 900px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.article-cta::after { content: ""; position: absolute; top: -80px; right: -80px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(247,190,69,.20) 0%, rgba(247,190,69,0) 65%); pointer-events: none; }
.article-cta h2 { font-family: var(--titulo-font); font-weight: 700; font-size: 28px; line-height: 1.2; letter-spacing: -.01em; position: relative; }
.article-cta p { margin-top: 14px; font-size: 16px; color: rgba(255,255,255,.78); max-width: 620px; margin-left: auto; margin-right: auto; position: relative; }
.cta-btn { display: inline-block; margin-top: 26px; background: var(--gold); color: var(--dark); font-family: var(--titulo-font); font-weight: 700; font-size: 13px; padding: 14px 32px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; transition: all .22s; position: relative; }
.cta-btn:hover { background: var(--gold-h); color: var(--dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(247,190,69,.5); }

/* Relacionados */
.related { background: var(--off); border-top: 1px solid var(--border); margin-top: 56px; padding: 56px 0 72px; }
.related h3 { font-family: var(--titulo-font); font-weight: 700; font-size: 24px; color: var(--dark); margin-bottom: 36px; letter-spacing: -.01em; }

/* Footer */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.72); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; }
.site-footer h4 { font-family: var(--titulo-font); font-weight: 700; font-size: 13px; color: var(--gold); letter-spacing: .12em; margin-bottom: 18px; text-transform: uppercase; }
.site-footer p, .site-footer a, .site-footer li { font-size: 14px; color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 12px; }
.footer-logo { text-align: right; }
.footer-logo img { height: 42px; display: inline-block; }
.social { display: flex; gap: 12px; margin-top: 20px; justify-content: flex-end; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background .2s; }
.social a:hover { background: var(--gold); color: var(--dark); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 24px; font-size: 12px; color: rgba(255,255,255,.45); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; letter-spacing: .02em; }

/* Responsivo */
@media (max-width: 860px) {
  .banner-grid { grid-template-columns: 1fr; }
  .banner-aside { min-height: 160px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-logo { text-align: left; grid-column: 1 / -1; }
  .social { justify-content: flex-start; }
  .banner-box h1 { font-size: 32px; }
  .article-intro h1 { font-size: 30px; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { position: fixed; inset: 78px 0 auto 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 32px 24px; border-bottom: 1px solid var(--border); transform: translateY(-130%); transition: transform .25s ease; }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .menu-toggle { display: block; }
  .banner-box { padding: 40px 26px; }
  .banner-box h1 { font-size: 27px; }
  .wrap { padding: 0 24px; }
}

/* Página de artigo, 2 colunas */
.post-hero { padding: 28px 0 4px; }
.post-hero .hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 22px; align-items: stretch; }
.post-hero.no-photo .hero-grid { grid-template-columns: 1fr; }
.hero-box { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 70%, #2a2a2a 100%); color: #fff; border-radius: 24px; padding: 44px 46px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.hero-box::after { content: ""; position: absolute; top: -100px; right: -100px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(247,190,69,.18) 0%, rgba(247,190,69,0) 65%); pointer-events: none; }
.hero-box > * { position: relative; }
.hero-box .crumb { font-size: 12px; color: rgba(255,255,255,.6); margin-bottom: 18px; text-transform: uppercase; letter-spacing: .06em; }
.hero-box .crumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.hero-box .crumb a:hover { color: var(--gold); }
.hero-box .eyebrow { color: var(--gold); margin-bottom: 14px; }
.hero-box h1 { font-family: var(--titulo-font); font-weight: 700; font-size: 38px; line-height: 1.14; letter-spacing: -.02em; }
.hero-box .hero-meta { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.7); }
.hero-box .hero-lead { margin-top: 20px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.88); }
.hero-photo { border-radius: 24px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }

/* Layout do artigo */
.article-layout { padding: 52px 0 8px; }
.article-grid { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 56px; align-items: start; }
.article-grid.no-side { grid-template-columns: minmax(0,760px); justify-content: center; }
.article-side { position: sticky; top: 100px; }
.article-main { min-width: 0; }
.article-main .article-body { max-width: none; margin: 0; padding: 0; }
.article-main .article-cta-wrap .wrap { padding: 0; }
.article-main .back-link { justify-content: flex-start; }

/* Veja outros conteúdos */
.related .eyebrow { display: block; margin-bottom: 8px; }
.related .section-title { margin-bottom: 36px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.rel-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .22s, box-shadow .22s; }
.rel-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(30,30,30,.10); }
.rc-img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.rc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-badge { position: absolute; top: 14px; right: 14px; background: var(--gold); color: var(--dark); border-radius: 12px; padding: 8px 11px; text-align: center; line-height: 1; box-shadow: 0 6px 16px rgba(247,190,69,.45); }
.rc-badge b { display: block; font-family: var(--titulo-font); font-size: 18px; font-weight: 700; }
.rc-badge span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.rc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rc-cat { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.rc-body h3 { font-family: var(--titulo-font); font-weight: 700; font-size: 17px; line-height: 1.32; color: var(--dark); }
.rc-body h3 a { color: inherit; text-decoration: none; }
.rc-body h3 a:hover { color: var(--gold); }
.rc-more { margin-top: auto; font-weight: 700; font-size: 12px; color: var(--dark); text-decoration: none; text-transform: uppercase; letter-spacing: .06em; border-bottom: 2px solid var(--gold); padding-bottom: 2px; align-self: flex-start; }
.rc-more:hover { color: var(--gold); }

@media (max-width: 980px) {
  .post-hero .hero-grid { grid-template-columns: 1fr; }
  .hero-photo img { min-height: 0; aspect-ratio: 16/9; }
  .article-grid { grid-template-columns: 1fr; gap: 32px; }
  .article-side { display: none; }
  .dyn-island { display: block; }
  .dyn-island-backdrop { display: block; }
  .rel-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero-box { padding: 32px 26px; }
  .hero-box h1 { font-size: 28px; }
  .rel-grid { grid-template-columns: 1fr; }
}
