/*
Theme Name: CFS Oracoes
Theme URI: https://cfs.org.br/
Author: CFS
Description: Tema editorial leve para o funil de oracoes da Comunidade Familia Santa.
Version: 2026.09.22
Text Domain: cfs-oracoes
*/
:root {
  --bg: #f7f3ea;
  --paper: #fffdf8;
  --ink: #102821;
  --muted: #61736d;
  --line: #ded8ca;
  --brand: #0e3b33;
  --brand-2: #1f5a4e;
  --accent: #bd382c;
  --accent-dark: #982c23;
  --soft: #e9f0eb;
  --shadow: 0 18px 50px rgba(16, 40, 33, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
}
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,253,248,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.15;
}
.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand strong { font-size: 22px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
}
.main-nav a { text-decoration: none; }
.main-nav a:hover { color: var(--ink); }
.button,
.wp-block-button__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.button-primary,
.wp-block-button__link {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.button-primary:hover,
.wp-block-button__link:hover { background: var(--accent-dark); }
.button-light {
  background: #fff;
  color: var(--brand);
  border-color: var(--line);
}
.site-main {
  min-height: 60vh;
}
.page-shell {
  padding: 42px 0 70px;
}
.content-body {
  width: min(980px, 100%);
  margin: 0 auto;
}
.page-title {
  width: min(820px, 100%);
  margin: 0 auto 28px;
}
.page-title h1,
.content-body h1 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: 0;
}
.content-body h2 {
  margin: 44px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  line-height: 1.06;
  letter-spacing: 0;
}
.content-body h3 {
  margin: 24px 0 8px;
  font-size: 1.2rem;
  line-height: 1.25;
}
.content-body p { margin: 0 0 18px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-2);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-prayer {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, .75fr);
  gap: 36px;
  align-items: center;
  padding: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(14,59,51,.96), rgba(16,40,33,.92)), url("https://cfs.org.br/assets/holy-family.webp") center/cover;
  color: #fff;
  box-shadow: var(--shadow);
}
.hero-prayer .eyebrow { color: #dfece5; }
.hero-prayer p { color: rgba(255,255,255,.88); }
.hero-prayer h1 { color: #fff; }
.hero-panel {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  padding: 22px;
}
.hero-panel strong { display: block; font-size: 1.1rem; margin-bottom: 8px; }
.prayer-card,
.content-card,
.intent-card,
.next-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(16,40,33,.06);
}
.prayer-card {
  padding: clamp(22px, 4vw, 38px);
  margin: 30px 0;
  border-left: 5px solid var(--brand-2);
}
.prayer-card p { font-size: 1.08rem; }
.intent-grid,
.next-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 8px;
}
.intent-card,
.next-card {
  display: flex;
  flex-direction: column;
  min-height: 188px;
  padding: 22px;
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}
.intent-card:hover,
.next-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-2);
}
.intent-card b,
.next-card b {
  display: block;
  font-size: 1.2rem;
  line-height: 1.25;
}
.intent-card span,
.next-card span {
  margin-top: auto;
  color: var(--accent);
  font-weight: 900;
}
.content-card {
  padding: 24px;
  margin: 24px 0;
}
.soft-band {
  background: var(--soft);
  border: 1px solid #cfe0d7;
  border-radius: 8px;
  padding: 24px;
  margin: 30px 0;
}
.source-note {
  color: var(--muted);
  font-size: .92rem;
}
.site-footer {
  background: var(--ink);
  color: #eef6f1;
  padding: 42px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(2, 1fr);
  gap: 28px;
}
.site-footer a {
  display: block;
  color: #eef6f1;
  text-decoration: none;
  margin: 8px 0;
}
.site-footer .brand,
.site-footer .brand strong { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: #c9d8d1;
  font-size: .95rem;
}
@media (max-width: 860px) {
  .header-inner { min-height: 72px; }
  .brand img { width: 48px; height: 48px; }
  .brand strong { font-size: 20px; }
  .main-nav { display: none; }
  .hero-prayer { grid-template-columns: 1fr; padding: 28px; }
  .intent-grid,
  .next-grid { grid-template-columns: 1fr; }
  .intent-card,
  .next-card { min-height: 148px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .container { width: min(100% - 24px, 1120px); }
  .page-shell { padding: 28px 0 56px; }
  .button { width: 100%; }
  .hero-prayer { padding: 24px 18px; border-radius: 0; margin-left: -12px; margin-right: -12px; }
  .hero-panel { padding: 18px; }
}
