/* ═══════════════════════════════════════════════
   InTegrar · Blog — estilos compartilhados
   ═══════════════════════════════════════════════ */
:root {
  --gold:        #C9A063;
  --gold-soft:   #E5CFA0;
  --gold-tint:   #FBF5EA;
  --graphite:    #2C2E2C;
  --graphite-2:  #3D403D;
  --sage:        #A6ADA0;
  --line:        #E8E6E0;
  --bg:          #FAFAF7;
  --bg-2:        #F4F2EC;
  --white:       #FFFFFF;
  --text:        #2C2E2C;
  --text-soft:   #555856;
  --text-mute:   #8E918C;

  --shadow-sm:   0 1px 2px rgba(44,46,44,0.04), 0 1px 3px rgba(44,46,44,0.06);
  --shadow-md:   0 4px 12px rgba(44,46,44,0.06), 0 10px 30px rgba(44,46,44,0.06);
  --shadow-lg:   0 20px 60px rgba(44,46,44,0.10);

  --ease: cubic-bezier(.22,.61,.36,1);
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--white); }

/* ── NAV (espelho do site) ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0; background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand img { height: 60px; }
.nav-links { display: flex; gap: 2.2rem; align-items: center; }
.nav-links a { font-size: 0.86rem; font-weight: 500; color: var(--graphite); transition: color 0.3s; }
.nav-links a:hover { color: var(--gold); }
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: 0.86rem; font-weight: 500;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  transition: all 0.3s var(--ease);
}
.btn-primary { background: var(--graphite); color: var(--white); }
.btn-primary:hover { background: var(--gold); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201,160,99,0.32); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--graphite); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--graphite); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--graphite); }

/* ── BLOG LIST (index) ── */
.blog-hero {
  padding: 160px 0 60px; background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.blog-hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.1; color: var(--graphite);
  max-width: 760px;
}
.blog-hero h1 em { font-style: italic; color: var(--gold); }
.blog-hero p {
  font-size: 1.05rem; color: var(--text-soft); margin-top: 16px;
  max-width: 620px;
}
.blog-list {
  padding: 70px 0 100px;
}
.posts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.post-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: all 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.post-thumb {
  aspect-ratio: 16/9; background-size: cover; background-position: center;
  position: relative;
}
.post-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(44,46,44,0.18));
}
.post-thumb .cat {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: var(--white);
  font-size: 0.7rem; font-weight: 500; padding: 5px 12px;
  border-radius: 999px; letter-spacing: 0.05em; z-index: 1;
}
.post-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.post-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.72rem; color: var(--text-mute); margin-bottom: 10px;
}
.post-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-mute); }
.post-card h3 { font-size: 1.1rem; line-height: 1.35; color: var(--graphite); margin-bottom: 10px; font-weight: 600; letter-spacing: -0.01em; }
.post-card p { font-size: 0.88rem; line-height: 1.65; color: var(--text-soft); flex: 1; }
.post-card .read-more {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 500; color: var(--gold);
  transition: gap 0.3s var(--ease);
}
.post-card:hover .read-more { gap: 14px; }
.post-card .read-more svg { width: 14px; height: 14px; }

/* ── ARTIGO (post page) ── */
article.post {
  padding: 130px 0 80px;
}
.post-cover {
  width: 100%; aspect-ratio: 21/9; object-fit: cover;
  border-radius: var(--r-xl);
  margin-bottom: 50px;
  box-shadow: var(--shadow-md);
}
.post-head {
  max-width: 800px; margin: 0 auto 40px;
}
.post-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.84rem; font-weight: 500; color: var(--gold);
  margin-bottom: 24px;
  transition: gap 0.3s var(--ease);
}
.post-back:hover { gap: 14px; }
.post-back svg { width: 14px; height: 14px; }
.post-tags {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 0.78rem; color: var(--text-mute);
  margin-bottom: 18px;
}
.post-tags .cat-tag {
  background: var(--gold); color: var(--white);
  font-weight: 500; padding: 6px 14px; border-radius: 999px;
  letter-spacing: 0.04em; font-size: 0.74rem;
}
.post-tags .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-mute); }
.post-head h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.15; color: var(--graphite);
  margin-bottom: 20px;
}
.post-head .lede {
  font-size: 1.15rem; line-height: 1.7; color: var(--text-soft);
  font-weight: 400;
}

/* Body content */
.post-body-content {
  max-width: 760px; margin: 0 auto;
  font-size: 1rem; line-height: 1.85; color: var(--text);
}
.post-body-content h2 {
  font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em;
  color: var(--graphite); margin: 50px 0 18px;
  line-height: 1.25;
}
.post-body-content h3 {
  font-size: 1.2rem; font-weight: 600; color: var(--graphite);
  margin: 36px 0 14px;
}
.post-body-content p {
  margin-bottom: 1.3em; color: var(--text);
}
.post-body-content p strong { font-weight: 600; color: var(--graphite); }
.post-body-content ul, .post-body-content ol {
  margin: 0 0 1.5em 0; padding-left: 0;
}
.post-body-content ul li, .post-body-content ol li {
  padding-left: 30px; margin-bottom: 12px; position: relative;
}
.post-body-content ul li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 18px; height: 1px; background: var(--gold);
}
.post-body-content ol { counter-reset: post-ol; }
.post-body-content ol li {
  counter-increment: post-ol;
}
.post-body-content ol li::before {
  content: counter(post-ol) ".";
  position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 600;
}
.post-body-content blockquote {
  margin: 30px 0; padding: 24px 28px;
  border-left: 4px solid var(--gold);
  background: var(--gold-tint);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic; color: var(--graphite);
  font-size: 1.05rem; line-height: 1.65;
}
.post-body-content blockquote p:last-child { margin-bottom: 0; }
.post-body-content a {
  color: var(--gold); border-bottom: 1px solid var(--gold-soft);
  transition: color 0.3s, border-color 0.3s;
}
.post-body-content a:hover { color: var(--graphite); border-color: var(--graphite); }

.callout {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 28px; margin: 30px 0;
}
.callout .ttl {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}
.callout p { margin-bottom: 0; font-size: 0.95rem; }

/* CTA footer dentro do post */
.post-cta {
  max-width: 900px; margin: 70px auto 0;
  background: linear-gradient(135deg, var(--graphite), #1F211F);
  color: var(--white); border-radius: var(--r-xl);
  padding: 50px clamp(28px, 5vw, 60px);
  text-align: center; position: relative; overflow: hidden;
}
.post-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 40% 60% at 20% 20%, rgba(201,160,99,0.18), transparent 60%);
}
.post-cta > * { position: relative; z-index: 1; }
.post-cta h3 {
  color: var(--white); font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em;
}
.post-cta p { color: rgba(255,255,255,0.7); margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }
.post-cta .btn-gold { background: var(--gold); color: var(--white); }
.post-cta .btn-gold:hover { background: var(--white); color: var(--graphite); }

/* Related posts */
.related {
  max-width: 1160px; margin: 70px auto 0;
}
.related h3 {
  font-size: 1.4rem; font-weight: 600; color: var(--graphite);
  margin-bottom: 26px;
}
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

/* Footer */
.site-footer {
  background: var(--white); border-top: 1px solid var(--line);
  padding: 60px 0 24px; margin-top: 100px;
}
.site-footer .footer-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 18px;
}
.site-footer img { height: 50px; }
.site-footer p { font-size: 0.84rem; color: var(--text-mute); }
.site-footer a { color: var(--gold); font-size: 0.86rem; font-weight: 500; }
.site-footer a:hover { color: var(--graphite); }

/* WhatsApp float */
.wpp-float {
  position: fixed; bottom: 22px; right: 22px;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4); z-index: 90;
  transition: transform 0.3s var(--ease);
}
.wpp-float:hover { transform: scale(1.08) rotate(-6deg); }
.wpp-float svg { width: 28px; height: 28px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* Responsive */
@media (max-width: 1000px) {
  .posts-grid, .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .brand img { height: 50px; }
  .posts-grid, .related-grid { grid-template-columns: 1fr; }
  .post-cover { aspect-ratio: 16/10; }
}
