/* --------------------------------------------------------
   Vida com Cristo — Blog (advertorial estilo Webflow)
   Paleta consistente com o quiz | mobile-first | long-form
-------------------------------------------------------- */

:root {
  --theme: #fbbf24;
  --theme-dark: #d97706;
  --bg: #fff7ed;
  --surface: #ffffff;
  --title: #422006;
  --text: #451a03;
  --text-soft: #57534e;
  --muted: #78716c;
  --rule: rgba(120, 53, 15, .12);
  --link: #b45309;
  --link-hover: #92400e;
  --quote-bg: #fffbeb;
  --quote-border: #f59e0b;
  --shadow: 0 1px 2px rgba(66,32,6,.06), 0 8px 24px rgba(66,32,6,.08);
  --shadow-lg: 0 4px 8px rgba(66,32,6,.08), 0 16px 40px rgba(66,32,6,.12);
  --radius: 1rem;
  --radius-lg: 1.25rem;
  --content-max: 720px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 Georgia, "Iowan Old Style", "Times New Roman", Times, serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  padding: 12px 16px;
}
.topbar-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.topbar .logo img {
  display: block;
  height: 40px;
  width: auto;
}

/* article */
article.post {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 32px 20px 16px;
  font-family: Georgia, "Iowan Old Style", "Times New Roman", Times, serif;
}

.post-eyebrow {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--theme-dark);
  margin: 0 0 12px;
}

.post-title {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", Times, serif;
  font-size: clamp(1.75rem, 5.5vw, 2.5rem);
  line-height: 1.18;
  font-weight: 700;
  color: var(--title);
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.post-subtitle {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", Times, serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2.6vw, 1.2rem);
  line-height: 1.45;
  color: var(--text-soft);
  margin: 0 0 22px;
  font-weight: 400;
}

.post-meta {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: .85rem;
  color: var(--muted);
  margin: 0 0 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.post-meta span + span::before {
  content: "·";
  margin-right: 12px;
  color: #d6d3d1;
}

/* prose */
.post-body p {
  margin: 0 0 1.1em;
  font-size: 1.06rem;
  line-height: 1.7;
}

.post-body h2 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", Times, serif;
  font-size: clamp(1.35rem, 3.8vw, 1.65rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--title);
  letter-spacing: -0.005em;
  margin: 2em 0 .7em;
}

.post-body h3 {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--title);
  margin: 1.6em 0 .5em;
}

.post-body strong {
  color: var(--title);
  font-weight: 700;
}

.post-body a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.post-body a:hover { color: var(--link-hover); }

.post-body ul, .post-body ol {
  padding-left: 1.4em;
  margin: 0 0 1.1em;
}
.post-body li {
  margin: .4em 0;
  line-height: 1.65;
}

/* scripture pull-quote */
.post-body blockquote {
  margin: 1.6em 0;
  padding: 16px 20px;
  background: var(--quote-bg);
  border-left: 4px solid var(--quote-border);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: Georgia, "Iowan Old Style", serif;
  font-style: italic;
  color: var(--title);
  font-size: 1.05rem;
  line-height: 1.55;
}
.post-body blockquote p { margin: 0 0 .4em; }
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body blockquote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: .85rem;
  color: var(--text-soft);
  font-family: system-ui, sans-serif;
  letter-spacing: .02em;
}

/* hero image */
.post-hero {
  margin: 0 0 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(66,32,6,.04);
}
.post-hero img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* video embed */
.video-embed {
  margin: 1.4em 0 1.8em;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
}
.video-embed-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.video-embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption {
  font-family: system-ui, sans-serif;
  font-size: .9rem;
  color: var(--muted);
  text-align: center;
  margin: 8px 0 0;
}

/* CTA box */
.post-cta {
  margin: 2.2em 0 1.2em;
  padding: 24px 22px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--rule);
  text-align: center;
}
.post-cta h2 {
  margin: 0 0 .4em;
  font-size: clamp(1.2rem, 3.4vw, 1.4rem);
}
.post-cta p {
  margin: 0 0 1.2em;
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.post-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  background: var(--theme);
  color: var(--title);
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 4px 0 0 var(--theme-dark), var(--shadow);
  transition: transform .08s, background .15s;
}
.post-cta .btn:hover { background: #fcd34d; }
.post-cta .btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 var(--theme-dark), var(--shadow);
}

/* legal pages */
.legal-page {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 32px 20px 64px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.legal-page h1 {
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 4.5vw, 2rem);
  color: var(--title);
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
.legal-page .legal-meta {
  font-size: .85rem;
  color: var(--muted);
  margin: 0 0 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.legal-page h2 {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  color: var(--title);
  margin: 1.6em 0 .4em;
}
.legal-page p, .legal-page li {
  font-size: .98rem;
  line-height: 1.65;
  color: var(--text);
}
.legal-page ul, .legal-page ol {
  padding-left: 1.4em;
  margin: 0 0 1.1em;
}
.legal-page a {
  color: var(--link);
  text-decoration: underline;
}

/* footer */
.site-footer {
  width: 100%;
  background: var(--bg);
  border-top: 1px solid var(--rule);
  padding: 28px 16px 36px;
  margin-top: auto;
  color: var(--text-soft);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: .82rem;
  line-height: 1.6;
  text-align: center;
}
.site-footer .footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.site-footer .footer-brand {
  margin: 0 0 10px;
  color: var(--title);
  font-weight: 600;
}
.site-footer .footer-disclaimer {
  margin: 0 0 14px;
  font-size: .78rem;
  color: var(--muted);
}
.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin: 0 0 14px;
}
.site-footer .footer-links a {
  color: var(--link-hover);
  text-decoration: underline;
}
.site-footer .footer-links span {
  color: #d6d3d1;
}
.site-footer .footer-legal {
  margin: 0;
  font-size: .76rem;
  color: var(--muted);
}
.site-footer .footer-legal strong {
  color: var(--text-soft);
  font-weight: 600;
}

@media (max-width: 480px) {
  article.post { padding: 24px 16px 8px; }
  .post-body p { font-size: 1.02rem; }
  .post-cta { padding: 20px 16px; }
}
