/* ================================================
   BELIO BLOG — blog.belio.com.br
   Identidade: #BA942C | #F4F4E6 | #444E5A
   Tipografia: Playfair Display 700 | Inter 400
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@700&display=swap');

/* --- Variáveis --- */
:root {
  --gold:        #BA942C;
  --gold-light:  #d4ae52;
  --gold-dark:   #9a7a22;
  --gold-bg:     #f5e8c3;
  --cream:       #F4F4E6;
  --dark:        #444E5A;
  --dark-mid:    #5c6876;
  --dark-light:  #8896a4;
  --white:       #ffffff;
  --text:        #2c2c2c;
  --text-muted:  #6b7280;
  --border:      #e2e2d5;
  --shadow-sm:   rgba(68,78,90,0.07);
  --shadow-md:   rgba(68,78,90,0.13);

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w:     1200px;
  --article-w: 740px;
  --sidebar-w: 300px;
  --radius:    8px;
  --radius-lg: 16px;
  --t:         0.2s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--cream); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold-light); }

/* --- Tipografia base --- */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--dark); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); margin: 2.5rem 0 1rem; }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); margin: 2rem 0 0.6rem; }
p  { margin-bottom: 1.2rem; }
strong { color: var(--dark); font-weight: 600; }
/* Strong text inside white-on-dark containers must inherit white */
[style*="color: white"] strong,
[style*="color:white"] strong { color: white !important; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
li { margin-bottom: 0.45rem; }

blockquote {
  border-left: 4px solid var(--gold);
  background: var(--gold-bg);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--dark);
}

/* --- Layout helpers --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: calc(var(--article-w) + var(--sidebar-w) + 3rem); }

/* ================================
   HEADER / NAV
   ================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 16px var(--shadow-sm);
}
.site-header__inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 72px;
}
.site-logo {
  display: flex; align-items: center; gap: .45rem;
  text-decoration: none; border-bottom: none;
}
.site-logo img { height: 36px; width: auto; display: block; }
.site-logo__icon {
  color: var(--gold); font-size: 1.3rem; line-height: 1;
  flex-shrink: 0;
}
.site-logo__text {
  font-family: var(--font-heading); font-size: 1.15rem;
  color: var(--dark); font-weight: 700; line-height: 1;
}
.site-logo__text em {
  font-style: normal; color: var(--gold);
}
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  color: var(--dark-mid); font-size: 0.875rem;
  font-weight: 500; font-family: var(--font-body);
  transition: color var(--t);
}
.site-nav a:hover { color: var(--gold); }
.site-nav a.btn--primary,
.site-nav a.btn--primary:hover {
  color: #ffffff !important;
}
.btn-nav,
.site-nav .btn-nav,
.site-nav a.btn-nav {
  background: var(--gold) !important;
  color: #ffffff !important;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background var(--t), transform var(--t);
  white-space: nowrap;
}
.btn-nav:hover,
.site-nav .btn-nav:hover,
.site-nav a.btn-nav:hover {
  background: var(--gold-light) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* --- Botões --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.25rem; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.875rem; cursor: pointer;
  transition: all var(--t); border: 2px solid transparent;
  text-decoration: none; line-height: 1.4;
}
.btn--primary {
  background: var(--gold); color: var(--white); border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light); border-color: var(--gold-light);
  color: var(--white); transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(186,148,44,0.32);
}
.btn--outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--white); }
.btn--lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ================================
   HERO — BLOG INDEX
   ================================ */
.blog-hero {
  background: var(--dark); padding: 5rem 0 4.5rem;
  text-align: center; position: relative; overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(186,148,44,.18) 0%, transparent 55%);
  pointer-events: none;
}
.blog-hero::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0; height: 40px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.blog-hero__label {
  display: inline-block; background: rgba(186,148,44,.2);
  color: var(--gold); font-size: 0.72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 100px; margin-bottom: 1.5rem;
}
.blog-hero__title {
  font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--white); max-width: 680px; margin: 0 auto 1.25rem;
}
.blog-hero__subtitle {
  color: rgba(255,255,255,.65); font-size: 1.05rem;
  max-width: 520px; margin: 0 auto;
}

/* ================================
   ARTIGOS — GRID
   ================================ */
.articles-section { padding: 4rem 0 5rem; }
.articles-section__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.articles-section__label {
  font-size: 0.78rem; font-weight: 600; color: var(--dark-light);
  letter-spacing: .1em; text-transform: uppercase;
}
.articles-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

/* --- Card --- */
.article-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 2px 12px var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px var(--shadow-md);
}
.article-card__thumb {
  aspect-ratio: 16/9; position: relative; overflow: hidden;
  background: var(--dark);
}
.article-card__thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
  /* fallback enquanto carrega ou se falhar */
  background: linear-gradient(135deg, var(--dark), #2a3540);
}
.article-card:hover .article-card__thumb img { transform: scale(1.04); }
.article-card__thumb-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; opacity: .22;
}
.article-card__category {
  position: absolute; top: .875rem; left: .875rem;
  background: var(--gold); color: var(--white);
  font-size: .68rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; padding: .28rem .7rem; border-radius: 100px;
}
.article-card__body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.article-card__meta {
  display: flex; align-items: center; gap: .6rem;
  font-size: .78rem; color: var(--text-muted); margin-bottom: .7rem;
}
.article-card__meta-dot {
  width: 3px; height: 3px; border-radius: 50%; background: var(--border);
}
.article-card__title {
  font-family: var(--font-heading); font-size: 1.15rem;
  color: var(--dark); margin-bottom: .7rem; line-height: 1.35;
}
.article-card__title a { color: var(--dark); border-bottom: none; }
.article-card__title a:hover { color: var(--gold); }
.article-card__excerpt {
  font-size: .88rem; color: var(--text-muted);
  line-height: 1.65; flex: 1; margin-bottom: 1.25rem;
}
.article-card__link {
  color: var(--gold); font-size: .85rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .35rem; border-bottom: none;
}
.article-card__link:hover { color: var(--gold-light); gap: .6rem; }

/* ================================
   CTA BANNER (entre grupos)
   ================================ */
.cta-banner {
  background: var(--dark); border-radius: var(--radius-lg);
  padding: 3rem 3.5rem; margin: 3rem 0;
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute;
  top: -60%; right: -8%; width: 420px; height: 420px;
  border-radius: 50%; background: rgba(186,148,44,.1);
  pointer-events: none;
}
.cta-banner__eyebrow {
  display: inline-block; background: rgba(186,148,44,.22);
  color: var(--gold); font-size: .68rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .28rem .75rem; border-radius: 100px; margin-bottom: .75rem;
}
.cta-banner__title {
  font-family: var(--font-heading); color: var(--white);
  font-size: 1.6rem; margin-bottom: .4rem;
}
.cta-banner__subtitle { color: rgba(255,255,255,.6); font-size: .9rem; }

/* ================================
   READING PROGRESS
   ================================ */
.reading-progress {
  position: fixed; top: 72px; left: 0;
  height: 3px; background: var(--gold); width: 0%;
  z-index: 99; transition: width .1s linear;
}

/* ================================
   ARTIGO — PÁGINA
   ================================ */
.article-page { padding: 2.5rem 0 5rem; }

/* Breadcrumb */
/* Breadcrumb — standalone block (used in article-hero, after h1) */
.breadcrumb {
  display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
  font-size: .76rem; color: var(--text-muted);
  margin: .75rem 0 1.5rem;
}
.breadcrumb a { color: var(--text-muted); border-bottom: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep,
.breadcrumb > span:not(:last-child)::after { opacity: .45; }

/* TOC inline — inside article body, beginning of content */
.article-toc-inline {
  background: var(--cream); border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.article-toc-inline h4 {
  font-family: var(--font-heading); font-size: .9rem;
  color: var(--dark); margin-bottom: .85rem; text-transform: uppercase;
  letter-spacing: .06em;
}
.article-toc-inline .toc-list { list-style: none; padding: 0; margin: 0; }
.article-toc-inline .toc-list li { padding: .3rem 0; }
.article-toc-inline .toc-list a {
  font-size: .85rem; color: var(--dark); border-bottom: none;
  font-weight: 500;
}
.article-toc-inline .toc-list a:hover { color: var(--gold); }
.article-toc-inline .toc-list a.active { color: var(--gold); }

/* Layout artigo + sidebar */
.article-layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 3rem; align-items: start;
}

/* Header do artigo */
.article-header { margin-bottom: 2.5rem; }
.article-category {
  display: inline-block; background: var(--gold-bg);
  color: var(--gold); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .32rem .9rem; border-radius: 100px; margin-bottom: 1.25rem;
}
.article-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  color: var(--dark); line-height: 1.18; margin-bottom: 1.25rem;
}
.article-subtitle {
  font-size: 1.1rem; color: var(--text-muted);
  line-height: 1.65; margin-bottom: 1.75rem;
}
.article-meta {
  display: flex; align-items: center; gap: 1.25rem;
  padding-top: 1.25rem; border-top: 1px solid var(--border);
  font-size: .83rem; color: var(--text-muted); flex-wrap: wrap;
}
.article-meta strong { color: var(--dark); }
.article-meta__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }

/* Imagem hero do artigo (Unsplash, full-width antes do hero) */
.article-hero-image {
  width: 100%; overflow: hidden;
  max-height: 420px;
  background: var(--dark);
}
.article-hero-image img {
  width: 100%; max-height: 420px; object-fit: cover; display: block;
}

/* Hero dos artigos */
.article-hero { padding: 2.5rem 0 0; }
.article-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  color: var(--dark); line-height: 1.18; margin: 1.25rem 0 1rem;
}
.article-hero .article-meta {
  display: flex; align-items: center; gap: 1.25rem;
  font-size: .83rem; color: var(--text-muted); flex-wrap: wrap;
  margin-bottom: 1rem;
}
.article-intro {
  font-size: 1.1rem; color: var(--text-muted);
  line-height: 1.65; margin-bottom: 2rem;
}
.article-featured-image {
  width: 100%; aspect-ratio: 21/9; border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 1.5rem;
  background: var(--dark);
}
.article-featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-category-badge {
  display: inline-block; background: var(--gold-bg);
  color: var(--gold); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .32rem .9rem; border-radius: 100px; margin-bottom: 1rem;
}

/* Imagem de destaque */
.article-featured-img {
  width: 100%; aspect-ratio: 21/9; border-radius: var(--radius-lg);
  background: var(--dark); overflow: hidden; margin-bottom: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.article-featured-img__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, #2a3540 100%);
}
.article-featured-img__icon {
  position: relative; z-index: 1; font-size: 5rem; opacity: .18;
}

/* Corpo do artigo */
.article-body { font-size: 1.05rem; line-height: 1.82; }

.article-body h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin-top: 3rem; margin-bottom: 1rem;
  padding-top: 2.5rem; border-top: 1px solid var(--border);
  color: var(--dark);
}
.article-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.article-body h3 { font-size: 1.15rem; margin-top: 2rem; margin-bottom: .6rem; }

.article-body p { margin-bottom: 1.25rem; }

.article-body a {
  color: var(--gold); border-bottom: 1px solid rgba(186,148,44,.3);
}
.article-body a:hover { border-bottom-color: var(--gold); }
/* Botões dentro do corpo do artigo — não herdam a cor de link */
.article-body .btn,
.article-body .btn:hover { color: var(--white); border-bottom: none; }

/* Lista customizada */
.article-body ul { list-style: none; padding-left: 0; }
.article-body ul li {
  padding: .35rem 0 .35rem 1.5rem; position: relative;
}
.article-body ul li::before {
  content: ''; position: absolute; left: 0; top: .88rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
/* TOC inline fica dentro de article-body — reseta o bullet do corpo */
.article-toc-inline ul,
.article-toc-inline ul li { padding-left: 0; padding-right: 0; }
.article-toc-inline ul li::before { display: none; }
.article-body ol { padding-left: 1.5rem; }
.article-body ol li { padding: .3rem 0; }

/* Highlight box */
.highlight-box {
  background: var(--gold-bg);
  border: 1px solid rgba(186,148,44,.25);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem; margin: 2rem 0;
}
.highlight-box p:last-child { margin-bottom: 0; }
.highlight-box strong { color: var(--gold-dark); }

/* Stats callout */
.stat-callout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem; margin: 2.5rem 0;
}
.stat-callout__item {
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--gold); border-radius: var(--radius);
  padding: 1.25rem 1rem; text-align: center;
}
.stat-callout__number {
  font-family: var(--font-heading); font-size: 2rem; color: var(--gold);
  display: block; line-height: 1; margin-bottom: .4rem;
}
.stat-callout__label {
  font-size: .78rem; color: var(--text-muted); line-height: 1.4;
}

/* In-article CTA */
.article-cta {
  background: var(--dark); border-radius: var(--radius-lg);
  padding: 2.5rem; margin: 3rem 0; text-align: center;
  position: relative; overflow: hidden;
}
.article-cta::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(186,148,44,.12) 0%, transparent 65%);
  pointer-events: none;
}
.article-cta__eyebrow {
  display: inline-block; background: rgba(186,148,44,.22);
  color: var(--gold); font-size: .68rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 100px; margin-bottom: 1rem;
}
.article-cta__title {
  font-family: var(--font-heading); font-size: 1.5rem;
  color: var(--white); margin-bottom: .75rem;
}
.article-cta__text {
  color: rgba(255,255,255,.65); font-size: .95rem; margin-bottom: 1.75rem;
}
.article-cta__disclaimer {
  font-size: .75rem; color: rgba(255,255,255,.35); margin-top: .75rem;
}

/* CTA box final do artigo */
.cta-box {
  background: var(--cream); border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg); padding: 2rem 2rem 1.5rem;
  text-align: center; margin: 3rem 0;
}
.cta-box h3 {
  font-family: var(--font-heading); font-size: 1.35rem;
  color: var(--dark); margin-bottom: .75rem;
}
.cta-box p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: .95rem; }
.cta-box small { display: block; font-size: .75rem; color: var(--text-muted); margin-top: .75rem; }

/* FAQ */
.faq-section, .faq-list { margin: 3rem 0; }
.faq-section h2, .faq-list h2 { margin-bottom: 1.5rem; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: .65rem; overflow: hidden; background: var(--white);
}
.faq-q {
  padding: 1.1rem 1.5rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: .93rem; color: var(--dark);
  user-select: none; gap: 1rem;
  width: 100%; box-sizing: border-box;
  background: none; border: none; text-align: left;
}
.faq-q:hover { background: var(--cream); }
.faq-icon {
  font-size: 1.3rem; color: var(--gold);
  transition: transform var(--t); flex-shrink: 0; line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  font-size: .93rem; color: var(--text-muted);
  padding: 0 1.5rem;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 1.5rem 1.25rem; }
/* Aliases for faq-question / faq-answer variant */
.faq-question { padding: 1.1rem 1.5rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: .93rem; color: var(--dark);
  user-select: none; gap: 1rem; width: 100%;
  background: none; border: none; text-align: left; }
.faq-question:hover { background: var(--cream); }
.faq-answer { max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  font-size: .93rem; color: var(--text-muted); padding: 0 1.5rem; }
.faq-item.open .faq-answer { max-height: 500px; padding: 0 1.5rem 1.25rem; }

/* ================================
   SIDEBAR
   ================================ */
.sidebar,
.article-sidebar {
  position: sticky;
  top: calc(72px + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── CTA Widget ── */
.widget-cta {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(68,78,90,.22);
}
.widget-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(186,148,44,.18) 0%, transparent 60%);
  pointer-events: none;
}
.widget-cta-icon {
  font-size: 2rem; margin-bottom: .75rem; display: block;
}
.widget-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem; color: var(--white);
  margin-bottom: .6rem; line-height: 1.3;
}
.widget-cta p {
  font-size: .86rem; color: rgba(255,255,255,.6);
  line-height: 1.55; margin-bottom: 1.25rem;
}
.btn-cta {
  display: block; width: 100%;
  background: var(--gold); color: #fff !important;
  font-family: var(--font-body); font-weight: 700;
  font-size: .9rem; padding: .75rem 1rem;
  border-radius: var(--radius); text-align: center;
  border-bottom: none;
  transition: background var(--t), transform var(--t);
}
.btn-cta:hover {
  background: var(--gold-dark) !important;
  transform: translateY(-1px);
  color: #fff !important;
}
.widget-cta small {
  display: block; font-size: .72rem;
  color: rgba(255,255,255,.35); margin-top: .75rem;
}

/* ── TOC Widget ── */
.widget-toc {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border);
}
.widget-toc h4 {
  font-family: var(--font-heading); font-size: .9rem;
  color: var(--dark); margin-bottom: 1rem;
  padding-bottom: .65rem; border-bottom: 1px solid var(--border);
}
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { padding: .22rem 0; }
.toc-list a {
  color: var(--text-muted); font-size: .82rem;
  border-bottom: none; display: flex; gap: .5rem; align-items: flex-start;
  line-height: 1.4; transition: color var(--t);
}
.toc-list a:hover { color: var(--gold); }
.toc-list a span { color: var(--gold); font-weight: 600; flex-shrink: 0; font-size: .72rem; margin-top: .18rem; }
.toc-list a.active { color: var(--gold); font-weight: 600; }

/* ── Related Widget ── */
.widget-related {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border);
}
.widget-related h4 {
  font-family: var(--font-heading); font-size: .9rem;
  color: var(--dark); margin-bottom: 1rem;
  padding-bottom: .65rem; border-bottom: 1px solid var(--border);
}
.widget-related ul {
  list-style: none; padding: 0; margin: 0;
}
.widget-related li {
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.widget-related li:last-child { border-bottom: none; padding-bottom: 0; }
.widget-related a {
  font-size: .83rem; font-weight: 500;
  color: var(--dark); border-bottom: none;
  line-height: 1.4; display: block;
  transition: color var(--t);
}
.widget-related a:hover { color: var(--gold); }

/* Legacy widget classes (article 1) */
.widget {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.5rem; border: 1px solid var(--border);
}
.widget__title {
  font-family: var(--font-heading); font-size: .9rem;
  color: var(--dark); margin-bottom: 1rem;
  padding-bottom: .65rem; border-bottom: 1px solid var(--border);
}
.widget--cta { background: var(--dark); border-color: transparent; box-shadow: 0 8px 32px rgba(68,78,90,.22); }
.widget--cta .widget__title { color: var(--white); border-color: rgba(255,255,255,.12); }
.widget--cta p { color: rgba(255,255,255,.6); font-size: .86rem; margin-bottom: 1.25rem; }
.widget--cta small { display: block; font-size: .72rem; color: rgba(255,255,255,.3); text-align: center; margin-top: .6rem; }

/* Related posts (article 1 legacy) */
.related-post {
  display: flex; gap: 1rem;
  padding: .75rem 0; border-bottom: 1px solid var(--border);
}
.related-post:last-child { border-bottom: none; padding-bottom: 0; }
.related-post__num {
  font-family: var(--font-heading); font-size: 1.5rem;
  color: var(--border); font-weight: 700; flex-shrink: 0; line-height: 1; padding-top: .1rem;
}
.related-post__title { font-size: .82rem; font-weight: 500; color: var(--dark); line-height: 1.4; }
.related-post__title a { color: var(--dark); border-bottom: none; }
.related-post__title a:hover { color: var(--gold); }
.related-post__cat { font-size: .72rem; color: var(--gold); margin-bottom: .2rem; font-weight: 600; }

/* ================================
   FOOTER
   ================================ */
.site-footer { background: var(--dark); padding: 4rem 0 2rem; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand__name {
  font-family: var(--font-heading); font-size: 1.5rem;
  color: var(--white); margin-bottom: .75rem;
}
.footer-brand__name span { color: var(--gold); }
.footer-brand__desc {
  color: rgba(255,255,255,.45); font-size: .85rem; line-height: 1.75;
  margin-bottom: 1.25rem;
}
.footer-col__title {
  color: var(--white); font-size: .74rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a {
  color: rgba(255,255,255,.45); font-size: .85rem; border-bottom: none;
}
.footer-links a:hover { color: var(--gold); }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: .5rem;
}
.site-footer__bottom a { color: rgba(255,255,255,.4); border-bottom: none; }
.site-footer__bottom a:hover { color: var(--gold); }

/* ================================
   MOBILE NAV TOGGLE
   ================================ */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .25rem; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); margin: 4px 0; transition: all var(--t); border-radius: 2px;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1080px) {
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .widget { margin-bottom: 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .cta-banner::before { display: none; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .site-nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem; z-index: 99;
  }
  .site-nav.open a { padding: .6rem 0; border-bottom: 1px solid var(--border); }
  .articles-grid, .blog-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .stat-callout { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer__bottom { flex-direction: column; text-align: center; }
  .article-cta { padding: 2rem 1.5rem; }
  .cta-banner { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .stat-callout { grid-template-columns: 1fr; }
  .articles-section__header { flex-direction: column; align-items: flex-start; gap: .75rem; }
}

/* ================================
   PAGINAÇÃO
   ================================ */
.blog-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; margin: 3rem 0 1rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.pagination-btn {
  background: none; border: 2px solid var(--border);
  border-radius: var(--radius); padding: .6rem 1.4rem;
  font-family: var(--font-body); font-size: .9rem;
  font-weight: 600; color: var(--dark); cursor: pointer;
  transition: border-color var(--t), color var(--t), background var(--t);
}
.pagination-btn:hover:not(:disabled) {
  border-color: var(--gold); color: var(--gold);
}
.pagination-btn:disabled { opacity: .35; cursor: default; }
.pagination-info { font-size: .95rem; color: var(--text-muted); font-weight: 500; }
