/* GRIÔ — Blog (estilos compartilhados entre a listagem e os artigos) */
:root {
  --accent: #1e3a5f;
  --accent-hover: #152943;
  --accent-soft: #edf3f9;
  --accent-gold: #b38646;
  --accent-gold-bright: #d4a359;
  --navy-dark: #0f1f33;
  --navy-deep: #0a1524;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  color: #26211a;
  background-color: #ede2cd;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(217, 189, 147, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(199, 166, 120, 0.25) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(248, 242, 230, 0.92) 0%, #ebdebe 75%, #dfcaa2 100%);
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--navy-dark);
  letter-spacing: -0.01em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 21, 36, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 163, 89, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.nav-logo { height: 54px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: 0.04em;
}
.brand-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4a359;
}
.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #cbd5e1; text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #f5d089; }

/* Buttons */
.btn-gold {
  background-color: #d4a359;
  color: #0f172a !important;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  font-size: 0.88rem;
}
.btn-gold:hover { background-color: #c59345; }
.btn-corporate {
  background-color: var(--accent);
  color: #ffffff !important;
  border: 1px solid var(--accent);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-corporate:hover { background-color: var(--accent-hover); }

/* Blog listing */
.section-wrap { padding: 4.5rem 1.5rem; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: inline-block;
  margin-bottom: 0.5rem;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.5rem); margin: 0 0 0.85rem; }
.section-subtitle { font-size: 1.05rem; color: #64748b; margin: 0; }

.blog-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.article-card {
  background: rgba(255, 252, 246, 0.88);
  border: 1px solid rgba(214, 190, 153, 0.55);
  border-radius: 12px;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(60, 40, 20, 0.04);
  transition: all 0.2s ease;
}
.article-card:hover { box-shadow: 0 10px 24px rgba(50, 35, 18, 0.1); border-color: var(--accent-gold); }
.article-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.85rem; }
.article-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
}
.article-time { font-size: 0.75rem; color: #94a3b8; }
.article-title { font-size: 1.3rem; line-height: 1.35; margin: 0 0 0.75rem; }
.article-title a { color: inherit; text-decoration: none; }
.article-summary { font-size: 0.95rem; color: #64748b; line-height: 1.55; margin: 0 0 1.5rem; flex-grow: 1; }
.article-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.article-link:hover { text-decoration: underline; }

/* Article page */
.post {
  max-width: 760px;
  margin: 3.5rem auto;
  padding: 3rem 3.25rem;
  background: rgba(255, 252, 246, 0.94);
  border: 1px solid rgba(214, 190, 153, 0.55);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(60, 40, 20, 0.06);
}
.breadcrumb { font-size: 0.85rem; color: #64748b; margin-bottom: 1.75rem; }
.breadcrumb a { color: var(--accent); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.post-header { border-bottom: 1px solid rgba(214, 190, 153, 0.6); padding-bottom: 1.75rem; margin-bottom: 2rem; }
.post-title { font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.2; margin: 0.5rem 0 1rem; text-wrap: balance; }
.post-lead { font-size: 1.12rem; color: #475569; margin: 0 0 1.25rem; font-style: italic; }
.post-byline { font-size: 0.88rem; color: #64748b; }
.post-byline strong { color: var(--navy-dark); }

.post-body { font-size: 1.08rem; line-height: 1.8; color: #2b2620; }
.post-body p { margin: 0 0 1.35rem; }
.post-body h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; line-height: 1.3; }
.post-body ul, .post-body ol { padding-left: 1.35rem; margin: 0 0 1.5rem; }
.post-body li { margin-bottom: 0.6rem; }
.post-body blockquote {
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--accent-gold);
  background: rgba(212, 163, 89, 0.08);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy-dark);
}
.post-body blockquote p { margin: 0; }
.nao-step {
  margin: 0 0 1.25rem;
  padding: 1.1rem 1.35rem;
  border: 1px solid rgba(214, 190, 153, 0.6);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
}
.nao-step h3 { margin: 0 0 0.4rem; font-size: 1.1rem; color: var(--accent-gold); }
.nao-step p { margin: 0; }

.post-signature { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(214, 190, 153, 0.6); font-size: 0.95rem; color: #475569; }
.post-signature strong { display: block; font-family: var(--font-serif); font-size: 1.15rem; color: var(--navy-dark); }

.post-cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1e3a5f 100%);
  color: #e2e8f0;
  text-align: center;
}
.post-cta h2 { color: #ffffff; font-size: 1.35rem; margin: 0 0 0.5rem; }
.post-cta p { margin: 0 0 1.25rem; font-size: 0.95rem; }

.post-more { max-width: 760px; margin: 0 auto 4rem; padding: 0 1.5rem; }
.post-more h2 { font-size: 1.35rem; margin: 0 0 1.25rem; }

/* Footer */
.site-footer { background: #0b1522; color: #94a3b8; padding: 2.5rem 1.5rem; border-top: 1px solid #1e293b; }
.footer-bottom {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}
.footer-bottom a { color: #cbd5e1; text-decoration: none; }
.footer-bottom a:hover { color: #ffffff; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
  .nav-links li:not(:last-child):not(.keep) { display: none; }
}
@media (max-width: 640px) {
  .post { margin: 1.5rem 1rem; padding: 2rem 1.35rem; }
  .post-body { font-size: 1.02rem; }
  .brand-text { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media print {
  .site-header, .site-footer, .post-cta, .post-more { display: none !important; }
  body { background: #ffffff; }
  .post { border: none; box-shadow: none; margin: 0; }
}
