:root {
  --ivory: #fbf7ef;
  --paper: #fffdf8;
  --cream: #f4ead9;
  --gold: #b98931;
  --gold-dark: #895f23;
  --blue: #1f5fb8;
  --blue-dark: #123a72;
  --ink: #1f2530;
  --muted: #657086;
  --line: rgba(185, 137, 49, 0.24);
  --shadow: 0 18px 48px rgba(55, 42, 20, 0.11);
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1280px;
  --header-height: 70px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
}

.anchor-target {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

/* Header */

.site-header {
  height: var(--header-height);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(45, 36, 18, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 26px;
  width: min(1420px, calc(100% - 54px));
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 285px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.02;
}

.brand small {
  font-size: 11px;
  color: var(--gold-dark);
  font-weight: 700;
}

.brand strong {
  font: 700 17px/1 Cinzel, Georgia, serif;
  white-space: nowrap;
  color: #211b13;
}

.brand em {
  font-style: normal;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #57442c;
  font-weight: 700;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex: 1;
  font-size: 13px;
  font-weight: 800;
}

.main-nav a {
  position: relative;
  padding: 27px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: 0.2s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav a.active {
  color: var(--gold-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #c89643, #986a24);
  color: #fff;
  padding: 11px 18px;
  border-radius: 11px;
  font-weight: 850;
  font-size: 14px;
  box-shadow: 0 10px 22px rgba(152, 106, 36, 0.23);
  white-space: nowrap;
}

.header-cta img {
  width: 18px;
  filter: brightness(0) invert(1);
}

.header-cta-whatsapp {
  background: #fff;
  color: #1a7a42;
  border: 1.5px solid #3cb371;
  box-shadow: 0 6px 16px rgba(26, 122, 66, 0.1);
}

.header-cta-whatsapp img {
  filter: none;
}

.nav-ctas {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px;
  border-radius: 2px;
}

/* Hero */

.hero {
  height: clamp(360px, 42vw, 430px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero picture {
  position: absolute;
  inset: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  filter: saturate(1.08) brightness(0.96);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 10, 16, 0.82) 0%,
      rgba(8, 10, 16, 0.52) 28%,
      rgba(8, 10, 16, 0.12) 48%,
      rgba(8, 10, 16, 0.08) 62%,
      rgba(8, 10, 16, 0.28) 82%,
      rgba(8, 10, 16, 0.48) 100%
    ),
    radial-gradient(circle at 14% 55%, rgba(31, 95, 184, 0.22), transparent 32%);
  z-index: 1;
}

.hero-inner {
  height: 100%;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 58px;
  align-items: center;
}

.hero-copy {
  color: #fff;
  max-width: 590px;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 900;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 10px;
  max-width: 420px;
}

.hero-eyebrow-label {
  font: 600 15px/1 Cinzel, Georgia, serif;
  letter-spacing: 0.04em;
  color: #e7bd61;
  white-space: nowrap;
}

.hero-eyebrow-rule {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.hero-eyebrow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(231, 189, 97, 0.2), #e7bd61);
}

.hero-eyebrow-rule img {
  width: 18px;
  flex: none;
  filter: invert(78%) sepia(48%) saturate(498%) hue-rotate(358deg) brightness(96%) contrast(92%);
}

.hero h1 {
  font: 700 clamp(42px, 4.2vw, 62px) / 0.96 Cinzel, Georgia, serif;
  margin: 0;
  text-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.035em;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 700 clamp(24px, 2vw, 34px) / 1 Cinzel, Georgia, serif;
  color: #f1c86f;
  margin: 8px 0 17px;
}

.hero-flourish {
  width: clamp(36px, 4vw, 48px);
  height: auto;
  flex: none;
  opacity: 0.95;
}

.hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 455px;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 11px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 850;
  transition: 0.18s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn img {
  width: 17px;
}

.btn-primary {
  background: linear-gradient(135deg, #2a72dc, #174a93);
  color: #fff;
  box-shadow: 0 11px 22px rgba(31, 95, 184, 0.28);
}

.btn-primary img {
  filter: brightness(0) invert(1);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline img {
  filter: brightness(0) invert(1);
}

.btn-whatsapp {
  border-color: rgba(37, 211, 102, 0.75);
  background: rgba(22, 142, 63, 0.2);
}

.btn-whatsapp img {
  filter: brightness(0) invert(1);
}

.btn-full {
  width: 100%;
}

/* Mass card */

.mass-card {
  background: rgba(255, 253, 248, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 22px;
  padding: 20px 22px 22px;
  box-shadow: 0 16px 40px rgba(8, 10, 16, 0.18);
}

.mass-card h3 {
  font: 700 22px/1.1 Cinzel, Georgia, serif;
  color: var(--blue-dark);
  text-align: center;
  margin: 0 0 14px;
}

.mass-row {
  display: flex;
  gap: 14px;
  align-items: center;
  border-top: 1px solid rgba(60, 49, 30, 0.1);
  padding: 14px 0;
}

.clock-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #eef4ff;
  border: 1px solid #c9d9ff;
  display: grid;
  place-items: center;
  flex: none;
}

.clock-icon img {
  width: 20px;
}

.mass-row small {
  display: block;
  color: #111111;
  font-weight: 800;
  font-size: 11px;
}

.mass-row strong {
  font-size: 21px;
  color: #2a2824;
}

.soft-link {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  border-radius: 11px;
  background: #eef5ff;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 850;
}

/* Padroeira */

.padroeira-section {
  padding: 28px 0 18px;
  background:
    linear-gradient(180deg, rgba(248, 237, 218, 0.45), transparent 88%),
    var(--ivory);
}

.padroeira-layout {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 14px 35px rgba(55, 42, 20, 0.07);
}

.padroeira-media {
  display: block;
}

.padroeira-media img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8edda, #fffdf8);
}

.padroeira-copy {
  padding: 8px 12px 8px 0;
}

.padroeira-copy h2 {
  font: 700 32px/1.02 Cinzel, Georgia, serif;
  color: var(--blue-dark);
  letter-spacing: -0.035em;
  margin: 0 0 14px;
}

.padroeira-lead {
  font-size: 16px;
  font-weight: 600;
  color: #344054;
  margin-bottom: 12px !important;
}

.padroeira-copy p {
  color: #53627a;
  font-size: 14px;
  margin: 0 0 12px;
  line-height: 1.55;
}

.padroeira-highlights {
  margin: 4px 0 16px;
  padding-left: 18px;
  color: #344054;
  font-size: 14px;
  line-height: 1.55;
}

.padroeira-highlights strong {
  color: var(--gold-dark);
}

/* Intro */

.intro {
  padding: 18px 0 10px;
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.98fr;
  gap: 24px;
  align-items: stretch;
}

.about-card,
.priest-card {
  background: rgba(255, 253, 248, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 35px rgba(55, 42, 20, 0.08);
}

.about-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  padding: 14px;
}

.about-photo {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center 46%;
  border-radius: 18px;
}

.about-copy {
  padding: 6px 12px 0 0;
}

.about-copy h2,
.priest-copy h2,
.section-title h2 {
  font: 700 30px/1 Cinzel, Georgia, serif;
  color: var(--blue-dark);
  letter-spacing: -0.035em;
  margin: 0 0 13px;
}

.about-copy p,
.priest-copy p,
.news-card p,
.notice-card p,
.donation-card p,
.family-card p {
  font-size: 14px;
  color: #344054;
  margin: 0 0 12px;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--gold-dark);
  font-weight: 850;
  font-size: 14px;
}

.priest-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: center;
  padding: 28px;
  background: linear-gradient(135deg, #fffdf8, #f8edda);
}

.priest-photo {
  width: 142px;
  height: 142px;
  border-radius: 50%;
  object-fit: cover;
  margin: auto;
  border: 8px solid #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.13);
}

.priest-copy h2 {
  margin-bottom: 12px;
}

/* Quick access */

.quick {
  background: var(--paper);
  padding: 14px 0 18px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.quick-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  min-height: 78px;
  box-shadow: 0 10px 28px rgba(55, 42, 20, 0.05);
  transition: 0.18s;
}

.quick-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.quick-card-icon {
  display: block;
  width: 48px;
  height: 48px;
  flex: none;
}

.quick-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quick-card-copy {
  min-width: 0;
}

.quick-card strong {
  display: block;
  color: var(--blue-dark);
  font: 700 15px/1.2 Cinzel, Georgia, serif;
  margin-bottom: 5px;
}

.quick-card small {
  display: block;
  color: #53627a;
  font-size: 12.5px;
  line-height: 1.35;
}

/* News */

.news-section {
  background: var(--paper);
  padding: 12px 0 26px;
  overflow-x: clip;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 0.98fr);
  grid-template-rows: auto auto auto;
  gap: 14px 24px;
  align-items: stretch;
}

.news-layout > * {
  min-width: 0;
}

.section-title {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
}

.section-title h2 {
  font-size: 29px;
}

.news-carousel {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  min-height: 176px;
  max-width: 100%;
  overflow: hidden;
}

.news-carousel-viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.news-carousel-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  height: 100%;
  transition: transform 0.55s ease;
}

.news-carousel.is-carousel .news-carousel-track {
  display: flex;
  gap: 14px;
}

.news-carousel.is-carousel .news-card {
  flex: 0 0 var(--news-card-basis, calc(50% - 7px));
  width: var(--news-card-basis, calc(50% - 7px));
  max-width: var(--news-card-basis, calc(50% - 7px));
  min-width: 0;
}

.news-carousel-nav {
  display: none;
}

.news-carousel-footer {
  display: none;
}

.news-carousel.is-carousel .news-carousel-nav {
  display: grid;
  place-items: center;
  position: absolute;
  top: calc(50% - 18px);
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.96);
  color: var(--blue-dark);
  font-size: 22px;
  line-height: 1;
  padding: 0 0 2px;
  box-shadow: 0 8px 20px rgba(55, 42, 20, 0.1);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.news-carousel.is-carousel .news-carousel-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.news-carousel.is-carousel .news-carousel-viewport {
  padding: 0 30px;
}

.news-carousel.is-carousel .news-carousel-prev {
  left: 0;
}

.news-carousel.is-carousel .news-carousel-next {
  right: 0;
}

.news-carousel.is-carousel .news-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.news-carousel-hint {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a7a62;
}

.news-carousel-hint-mobile {
  display: none;
}

.news-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.news-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #d6cbb8;
  transition: transform 0.2s, background 0.2s;
  cursor: pointer;
}

.news-carousel-dot.active {
  background: var(--gold-dark);
  transform: scale(1.2);
}

.news-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px;
  min-height: 176px;
  height: 100%;
}

.news-card img {
  width: 150px;
  height: 150px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
}

.news-card img.card-photo-people {
  object-position: top center;
}

.news-card img.card-photo-banner {
  object-position: center top;
}

.tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 900;
  margin: 0 0 7px;
}

.tag-blue {
  color: #1b5bb1;
}

.news-card h3,
.notice-card h3 {
  font: 700 24px/1 Cinzel, Georgia, serif;
  color: var(--blue-dark);
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}

.news-card a {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 850;
}

.notice-card {
  background: linear-gradient(135deg, #f6fbff, #fffdf8);
  border: 1px solid #b8d0ff;
  border-radius: 18px;
  padding: 18px;
  grid-column: 1;
  grid-row: 3;
  min-height: 126px;
  max-width: 100%;
  box-sizing: border-box;
}

.notice-card p {
  overflow-wrap: anywhere;
}

.notice-card ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #344054;
  font-size: 13px;
  columns: 3;
}

.donation-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  grid-column: 2;
  grid-row: 2;
  min-height: 176px;
  height: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px;
  box-shadow: 0 10px 28px rgba(55, 42, 20, 0.05);
}

.donation-icon-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  align-self: center;
}

.donation-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 150px;
}

.donation-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.donation-text {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.35;
  color: #344054;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.btn-donation {
  align-self: flex-start;
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
}

.btn-donation img {
  width: 15px;
}

/* Site modals */

.ofertorio-modal,
.catequese-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
}

.ofertorio-modal[hidden],
.catequese-modal[hidden] {
  display: none;
}

.ofertorio-modal-backdrop,
.catequese-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 16, 0.58);
  backdrop-filter: blur(4px);
}

.ofertorio-modal-dialog,
.catequese-modal-dialog {
  position: relative;
  width: min(100%, 440px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 22px 24px;
  box-shadow: 0 24px 60px rgba(8, 10, 16, 0.28);
}

.ofertorio-modal-dialog {
  text-align: center;
}

.ofertorio-modal-close,
.catequese-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(60, 49, 30, 0.08);
  color: #344054;
  font-size: 26px;
  line-height: 1;
  padding: 0 0 2px;
}

.catequese-modal-dialog {
  width: min(100%, 520px);
  text-align: left;
}

.catequese-modal-dialog h2 {
  font: 700 24px/1.15 Cinzel, Georgia, serif;
  color: var(--blue-dark);
  margin: 0 0 10px;
}

.catequese-modal-lead {
  margin: 0 0 14px;
  color: #53627a;
  font-size: 14px;
  line-height: 1.5;
}

.catequese-list {
  margin: 0 0 14px;
  padding-left: 18px;
  color: #344054;
  font-size: 14px;
  line-height: 1.55;
}

.catequese-list strong {
  color: var(--blue-dark);
}

.catequese-schedule {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid #e8dcc4;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8edda, #fffdf8);
  color: #344054;
  font-size: 14px;
  line-height: 1.5;
}

.catequese-schedule-label {
  margin: 0 0 6px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 800;
}

.catequese-schedule p {
  margin: 0;
}

.catequese-inscricao,
.catequese-closing {
  margin: 0 0 12px;
  color: #53627a;
  font-size: 14px;
  line-height: 1.55;
}

.catequese-inscricao a {
  color: #1a7a42;
  font-weight: 700;
}

.btn-catequese-whatsapp {
  width: 100%;
  margin-top: 6px;
  min-height: 46px;
  gap: 8px;
}

.btn-catequese-whatsapp img {
  width: 18px;
  filter: brightness(0) invert(1);
}

.ofertorio-modal-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 8px;
}

.ofertorio-modal-dialog h2 {
  font: 700 24px/1.1 Cinzel, Georgia, serif;
  color: var(--blue-dark);
  margin: 0 0 6px;
}

.ofertorio-modal-bank {
  margin: 0 0 18px;
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.ofertorio-fields {
  display: grid;
  gap: 10px;
  text-align: left;
}

.ofertorio-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.ofertorio-field-copy {
  flex: 1;
  min-width: 0;
}

.ofertorio-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7a90;
  font-weight: 800;
  margin-bottom: 3px;
}

.ofertorio-value {
  display: block;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.35;
  word-break: break-word;
}

.ofertorio-copy {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid #e8dcc4;
  border-radius: 10px;
  background: #fffdf8;
  color: var(--gold-dark);
  transition: 0.18s;
}

.ofertorio-copy img {
  width: 18px;
}

.ofertorio-copy:hover {
  background: #f8edda;
  border-color: #d9c39a;
}

.ofertorio-copy.copied {
  background: #edf7ef;
  border-color: #9fd0a8;
  color: #1a7a42;
}

.ofertorio-modal-note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #53627a;
}

.ofertorio-toast {
  margin: 14px 0 0;
  min-height: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 800;
  color: #1a7a42;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ofertorio-toast.is-visible {
  min-height: 20px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #edf7ef;
  border: 1px solid #9fd0a8;
  opacity: 1;
  transform: translateY(0);
}

.family-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 15px;
  align-items: stretch;
  grid-column: 2;
  grid-row: 3;
  height: 100%;
  min-height: 126px;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 18px;
  background: #f8edda;
  border: 1px solid var(--line);
  overflow: hidden;
}

.family-card img {
  width: 150px;
  height: 100%;
  min-height: 130px;
  object-fit: cover;
  object-position: center;
}

.family-card img.card-photo-people {
  object-position: top center;
}

.family-card div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 14px 14px 14px 0;
}

.family-card p {
  overflow-wrap: anywhere;
}

/* Instagram */

.instagram-section {
  padding: 8px 0 34px;
  background: linear-gradient(180deg, rgba(248, 237, 218, 0.35), transparent 72%);
}

.instagram-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.instagram-header .section-title {
  margin: 0;
}

.instagram-lead {
  margin: 8px 0 0;
  color: #53627a;
  font-size: 14px;
  max-width: 520px;
}

.btn-instagram-follow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 11px;
  color: #fff;
  font-weight: 850;
  font-size: 14px;
  background: linear-gradient(135deg, #f09433, #dc2743 55%, #bc1888);
  box-shadow: 0 10px 22px rgba(188, 24, 136, 0.22);
  white-space: nowrap;
}

.btn-instagram-follow img {
  width: 20px;
}

.btn-instagram-follow:hover {
  transform: translateY(-2px);
}

.instagram-carousel {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.instagram-nav,
.instagram-dots {
  display: none;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 1000px) {
  .instagram-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.instagram-post {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fffdf8;
  box-shadow: 0 10px 24px rgba(55, 42, 20, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.instagram-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(55, 42, 20, 0.12);
}

.instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instagram-post-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8, 10, 16, 0.62);
  color: #fff;
  font-size: 11px;
}

.instagram-loading,
.instagram-fallback {
  grid-column: 1 / -1;
  text-align: center;
  color: #53627a;
  font-size: 14px;
  padding: 28px 16px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: #fffdf8;
}

.instagram-fallback {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.footer-socials {
  margin-top: 12px !important;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #344054;
  font-weight: 700;
  font-size: 14px;
}

.footer-instagram img {
  width: 20px;
}

.footer-instagram:hover {
  color: #bc1888;
}

/* Footer */

.site-footer {
  background: #fffdf8;
  border-top: 1px solid var(--line);
  padding: 26px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 28px;
}

.footer-brand {
  display: flex;
  gap: 12px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
}

.footer-brand strong {
  display: block;
  font: 700 18px/1.1 Cinzel, Georgia, serif;
  color: #2a2116;
}

.footer-brand span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  color: #6a5434;
  font-weight: 800;
}

.footer-brand p,
.footer-item p {
  font-size: 13px;
  color: #53627a;
  margin: 8px 0 0;
}

.footer-item h4 {
  color: var(--gold-dark);
  font-size: 14px;
  margin: 0 0 10px;
}

.footer-item p img {
  width: 17px;
  display: inline-block;
  vertical-align: -3px;
  margin-right: 6px;
}

.footer-icon-block {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  align-items: start;
}

.footer-icon-block > img {
  width: 17px;
  margin: 2px 0 0;
}

.footer-icon-block > span {
  grid-column: 2;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1a7a42;
  font-weight: 800;
  font-size: 15px;
}

.footer-whatsapp img {
  width: 20px;
  margin-right: 0;
}

.footer-whatsapp:hover {
  color: #126634;
}

.footer-contact-note {
  font-size: 12px !important;
  color: #6b7a90 !important;
  margin-top: 4px !important;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #344054;
  font-weight: 600;
}

.footer-email:hover {
  color: var(--blue-dark);
}

.footer-partners {
  grid-column: 1 / -1;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.footer-partners h4 {
  color: var(--gold-dark);
  font-size: 14px;
  margin: 0 0 10px;
}

.footer-partners-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footer-partners-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #53627a;
}

.footer-partners-list a:hover {
  color: var(--blue-dark);
}

.footer-partner-pascom img {
  width: 28px;
  height: auto;
  border-radius: 4px;
}

.footer-partner-instagram img {
  width: 18px;
  flex-shrink: 0;
}

.footer-partner-instagram:hover {
  color: #bc1888;
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 1100px) {
  .header-inner {
    width: min(100% - 28px, 980px);
  }

  .main-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(var(--header-height) + 8px);
    background: #fffdf8;
    border: 1px solid var(--line);
    border-radius: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 12px;
  }

  .main-nav a::after {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
  }

  .header-actions {
    display: none;
  }

  .nav-ctas {
    display: grid;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 16px;
    border-radius: 11px;
    font-weight: 850;
    font-size: 14px;
  }

  .nav-cta img {
    width: 18px;
  }

  .nav-cta-whatsapp {
    color: #1a7a42;
    border: 1.5px solid #3cb371;
    background: #f3fbf6;
  }

  .nav-cta-whatsapp img {
    filter: none;
  }

  .nav-cta-gold {
    background: linear-gradient(135deg, #c89643, #986a24);
    color: #fff;
    box-shadow: 0 10px 22px rgba(152, 106, 36, 0.18);
  }

  .nav-cta-gold img {
    filter: brightness(0) invert(1);
  }

  .brand {
    min-width: 0;
  }

  .hero {
    height: auto;
    min-height: clamp(380px, 72vh, 520px);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0 48px;
  }

  .mass-card {
    max-width: 430px;
  }

  .padroeira-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
  }

  .padroeira-media {
    text-align: center;
  }

  .padroeira-media img {
    max-height: 400px;
    max-width: 320px;
    margin: 0 auto;
  }

  .padroeira-copy {
    padding: 0 6px;
  }

  .intro-grid,
  .news-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-title,
  .news-carousel,
  .notice-card,
  .donation-card,
  .family-card {
    grid-column: 1;
    grid-row: auto;
    height: auto;
  }

  .donation-card {
    grid-row: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-card {
    grid-template-columns: 240px 1fr;
  }

  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .quick-card strong {
    font-size: 14px;
  }

  .quick-card small {
    font-size: 12px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small,
  .brand em {
    font-size: 9px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: 0;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .hero h2,
  .hero-location {
    font-size: clamp(20px, 5.5vw, 28px);
  }

  .hero p {
    font-size: 15px;
    max-width: none;
  }

  .hero-bg {
    object-position: 68% center;
  }

  .hero-inner {
    padding: 28px 0 32px;
    gap: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .hero-location {
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero-flourish {
    width: 28px;
  }

  .hero-eyebrow {
    gap: 10px;
    max-width: none;
  }

  .mass-card {
    max-width: none;
    width: 100%;
  }

  .padroeira-section {
    padding: 14px 0 8px;
  }

  .padroeira-layout {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px;
  }

  .padroeira-media {
    text-align: center;
  }

  .padroeira-media img {
    max-height: min(62vw, 300px);
    max-width: 240px;
    width: auto;
    margin: 0 auto;
  }

  .padroeira-copy {
    padding: 0 2px;
  }

  .padroeira-copy h2 {
    font-size: clamp(22px, 6.5vw, 28px);
    margin-bottom: 10px;
  }

  .padroeira-lead {
    font-size: 15px;
    line-height: 1.5;
  }

  .padroeira-copy p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
  }

  .padroeira-highlights {
    font-size: 14px;
    margin: 2px 0 12px;
    padding-left: 16px;
  }

  .padroeira-copy .text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
  }

  .intro {
    padding: 16px 0 8px;
  }

  .intro-grid {
    gap: 14px;
  }

  .about-card,
  .priest-card,
  .news-card,
  .family-card,
  .donation-card {
    grid-template-columns: 1fr;
  }

  .about-card,
  .priest-card {
    padding: 14px;
  }

  .news-card picture,
  .family-card picture {
    display: block;
    width: 100%;
  }

  .about-photo,
  .news-card img,
  .family-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
  }

  .news-card img.card-photo-people,
  .family-card img.card-photo-people {
    height: 260px;
    object-position: top center;
  }

  .priest-card {
    text-align: center;
  }

  .priest-photo {
    margin: 0 auto;
  }

  .priest-copy {
    padding: 0 4px;
  }

  .quick {
    padding: 12px 0 16px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quick-card {
    min-height: 0;
    padding: 14px 16px;
    gap: 14px;
  }

  .quick-card-icon {
    width: 52px;
    height: 52px;
  }

  .quick-card strong {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .quick-card small {
    font-size: 13px;
    line-height: 1.4;
  }

  .section-title h2 {
    font-size: clamp(22px, 6vw, 26px);
  }

  .instagram-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-instagram-follow {
    width: 100%;
    justify-content: center;
  }

  .instagram-carousel {
    margin: 0 -2px;
  }

  .instagram-nav {
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 253, 248, 0.96);
    color: var(--blue-dark);
    font-size: 24px;
    line-height: 1;
    padding: 0 0 2px;
    box-shadow: 0 8px 20px rgba(8, 10, 16, 0.12);
  }

  .instagram-nav-prev {
    left: 2px;
  }

  .instagram-nav-next {
    right: 2px;
  }

  .instagram-grid {
    display: flex;
    grid-template-columns: unset;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 12px;
    padding: 4px 44px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .instagram-grid::-webkit-scrollbar {
    display: none;
  }

  .instagram-post {
    flex: 0 0 min(78vw, 300px);
    scroll-snap-align: center;
  }

  .instagram-post:hover {
    transform: none;
  }

  .instagram-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
  }

  .instagram-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: #d6cbb8;
    transition: transform 0.2s, background 0.2s;
  }

  .instagram-dot.active {
    background: var(--gold-dark);
    transform: scale(1.15);
  }

  .instagram-section {
    padding-bottom: 24px;
  }

  .news-section {
    padding: 10px 0 22px;
  }

  .news-layout {
    gap: 12px;
  }

  .news-carousel {
    min-height: 0;
  }

  .news-carousel:not(.is-carousel) .news-carousel-track {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .news-carousel.is-carousel.is-scroll-mode .news-carousel-viewport {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0 0 4px;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .news-carousel.is-carousel.is-scroll-mode .news-carousel-viewport::-webkit-scrollbar {
    display: none;
  }

  .news-carousel.is-carousel.is-scroll-mode .news-carousel-track {
    display: contents;
    transform: none !important;
  }

  .news-carousel.is-carousel.is-scroll-mode .news-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  .news-carousel.is-carousel.is-scroll-mode .news-carousel-nav {
    display: none;
  }

  .news-carousel.is-carousel:not(.is-scroll-mode) .news-carousel-viewport {
    padding: 0 42px;
    touch-action: pan-y;
  }

  .news-carousel.is-carousel .news-carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
    top: 112px;
    transform: translateY(-50%);
  }

  .news-carousel.is-carousel .news-carousel-nav:hover {
    transform: translateY(-50%) scale(1.05);
  }

  .news-carousel.is-carousel .news-carousel-prev {
    left: 0;
  }

  .news-carousel.is-carousel .news-carousel-next {
    right: 0;
  }

  .news-carousel.is-carousel .news-carousel-footer {
    margin-top: 10px;
    gap: 8px;
  }

  .news-carousel-hint-desktop {
    display: none;
  }

  .news-carousel-hint-mobile {
    display: block;
    font-size: 11px;
  }

  .news-carousel.is-carousel .news-card p {
    font-size: 14px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news-card {
    min-height: 0;
    padding: 12px;
  }

  .news-card h3,
  .notice-card h3 {
    font-size: clamp(20px, 5.5vw, 22px);
  }

  .news-card a,
  .text-link {
    font-size: 14px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .formacao-hub-hero {
    padding: 14px 0 6px;
  }

  .formacao-hub-hero h1 {
    font-size: clamp(26px, 7vw, 34px);
  }

  .formacao-hub-lead {
    font-size: 15px;
  }

  .formacao-hub-list {
    padding: 14px 0 28px;
  }

  .formacao-hub-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .formacao-program-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 12px;
  }

  .formacao-program-card:hover {
    transform: none;
  }

  .formacao-program-card img {
    height: 180px;
  }

  .formacao-program-copy h2 {
    font-size: clamp(20px, 5.5vw, 22px);
  }

  .catequese-hero {
    padding: 12px 0 6px;
  }

  .catequese-intro h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .catequese-banner img {
    max-height: min(56vw, 280px);
  }

  .catequese-content {
    padding: 8px 0 28px;
  }

  .catequese-content-inner {
    padding: 0 2px;
  }

  .catequese-content-inner .btn-catequese-whatsapp {
    width: 100%;
    max-width: none;
  }

  .catequese-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .catequese-modal-dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    border-radius: 20px 20px 0 0;
    padding: 24px 18px 20px;
  }

  .catequese-modal-dialog h2 {
    font-size: clamp(22px, 6vw, 24px);
  }

  .donation-card {
    min-height: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 16px 14px;
  }

  .donation-icon-img {
    width: 64px;
    height: 64px;
    margin: 0 auto 2px;
  }

  .donation-body {
    min-height: 0;
    align-items: center;
    width: 100%;
  }

  .donation-text {
    font-size: 13px;
    -webkit-line-clamp: unset;
  }

  .btn-donation {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    align-self: stretch;
  }

  .notice-card {
    grid-column: 1;
    padding: 16px;
  }

  .notice-card ul {
    columns: 1;
  }

  .family-card {
    grid-template-columns: 1fr;
  }

  .family-card div {
    padding: 14px;
  }

  .family-card picture {
    display: block;
    width: 100%;
  }

  .family-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 180px;
    max-height: 240px;
  }

  .instagram-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer {
    padding: 22px 0 28px;
  }

  .main-nav {
    top: calc(var(--header-height) + 8px);
    left: 12px;
    right: 12px;
    max-height: calc(100dvh - var(--header-height) - 24px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav a {
    font-size: 15px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 380px) {
  .brand strong {
    font-size: 12px;
    white-space: normal;
  }

  .hero h1 {
    font-size: 32px;
  }

  .quick-card strong {
    font-size: 15px;
  }

  .padroeira-media img {
    max-width: 210px;
    max-height: 260px;
  }

  .padroeira-copy h2 {
    font-size: 21px;
  }

  .news-carousel.is-carousel .news-carousel-viewport {
    padding: 0 36px;
  }

  .news-carousel.is-carousel .news-carousel-nav {
    width: 36px;
    height: 36px;
    font-size: 22px;
    top: 100px;
  }

  .formacao-program-card img {
    height: 160px;
  }
}

/* Fé Explicada — preview (home) */

.fe-preview-section {
  padding: 20px 0 10px;
  background: var(--paper);
}

.fe-preview-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 14px 35px rgba(55, 42, 20, 0.07);
}

.fe-preview-banner img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.fe-preview-copy h2 {
  font: 700 30px/1.02 Cinzel, Georgia, serif;
  color: var(--blue-dark);
  margin: 0 0 8px;
}

.fe-preview-theme {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 12px;
}

.fe-preview-call {
  color: #344054;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 10px;
}

.fe-preview-dates {
  color: #53627a;
  font-size: 14px;
  margin: 0 0 18px;
}

.fe-preview-btn {
  min-height: 46px;
  gap: 8px;
}

/* Fé Explicada — página dedicada */

.fe-page .site-header {
  position: sticky;
}

.fe-hero {
  padding: 18px 0 8px;
  background:
    linear-gradient(180deg, rgba(248, 237, 218, 0.5), transparent 90%),
    var(--ivory);
}

.fe-hero-inner {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.fe-back-link {
  grid-column: 1 / -1;
  font-size: 13px;
  font-weight: 700;
  color: #53627a;
  margin-bottom: 4px;
}

.fe-back-link:hover {
  color: var(--blue-dark);
}

.fe-banner img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(55, 42, 20, 0.1);
}

.fe-intro h1 {
  font: 700 clamp(32px, 5vw, 44px) / 1.02 Cinzel, Georgia, serif;
  color: var(--blue-dark);
  margin: 0 0 8px;
}

.fe-subtitle {
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 15px;
  margin: 0 0 14px;
}

.fe-call {
  font-size: 16px;
  font-weight: 600;
  color: #344054;
  line-height: 1.5;
  margin: 0 0 12px;
}

.fe-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #53627a;
  font-size: 14px;
  margin: 0;
}

.fe-location img {
  width: 17px;
}

.fe-content {
  padding: 10px 0 40px;
}

.fe-about {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
  color: #53627a;
  font-size: 15px;
  line-height: 1.65;
}

.fe-about p {
  margin: 0 0 12px;
}

.fe-about strong {
  color: #344054;
}

.fe-encounters {
  display: grid;
  gap: 22px;
}

.fe-encounter {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: 0 12px 30px rgba(55, 42, 20, 0.06);
}

.fe-encounter picture img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.fe-encounter-body h2 {
  font: 700 26px/1.1 Cinzel, Georgia, serif;
  color: var(--blue-dark);
  margin: 0 0 12px;
}

.fe-meta {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.fe-meta div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  font-size: 14px;
  color: #344054;
}

.fe-meta dt {
  font-weight: 800;
  color: #6b7a90;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fe-meta dd {
  margin: 0;
  font-weight: 600;
}

.fe-meta span {
  font-weight: 500;
  color: #53627a;
}

.fe-encounter blockquote {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, #f8edda, transparent);
  color: #4a3f2f;
  font-size: 14px;
  font-style: italic;
  line-height: 1.55;
  border-radius: 0 10px 10px 0;
}

.fe-cta {
  margin-top: 28px;
  text-align: center;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: #fffdf8;
}

.fe-cta p {
  margin: 0 0 14px;
  color: #53627a;
  font-size: 14px;
}

.fe-cta .btn img {
  filter: brightness(0) invert(1);
  width: 18px;
}

@media (max-width: 1100px) {
  .fe-preview-layout,
  .fe-hero-inner,
  .fe-encounter {
    grid-template-columns: 1fr;
  }

  .fe-preview-banner img {
    max-width: 320px;
    margin: 0 auto;
  }

  .fe-banner img {
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .fe-preview-section {
    padding: 14px 0 8px;
  }

  .fe-preview-layout {
    padding: 12px;
    gap: 16px;
  }

  .fe-preview-copy h2 {
    font-size: clamp(24px, 6.5vw, 28px);
  }

  .fe-preview-btn {
    width: 100%;
    justify-content: center;
  }

  .fe-hero {
    padding: 12px 0 6px;
  }

  .fe-intro h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .fe-about {
    text-align: left;
    font-size: 14px;
  }

  .fe-encounter {
    padding: 12px;
    gap: 14px;
  }

  .fe-encounter picture img {
    max-width: 280px;
    margin: 0 auto;
  }

  .fe-meta div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .fe-cta .btn {
    width: 100%;
  }
}

/* Formação — página intermediária */

.formacao-hub-page .site-header {
  position: sticky;
}

.formacao-hub-hero {
  padding: 22px 0 8px;
  background:
    linear-gradient(180deg, rgba(248, 237, 218, 0.5), transparent 90%),
    var(--ivory);
}

.formacao-hub-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #53627a;
  margin-bottom: 12px;
}

.formacao-hub-back:hover {
  color: var(--blue-dark);
}

.formacao-hub-hero h1 {
  font: 700 clamp(30px, 5vw, 42px) / 1.05 Cinzel, Georgia, serif;
  color: var(--blue-dark);
  margin: 0 0 10px;
}

.formacao-hub-lead {
  max-width: 640px;
  margin: 0;
  color: #53627a;
  font-size: 16px;
  line-height: 1.55;
}

.formacao-hub-list {
  padding: 18px 0 42px;
}

.formacao-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.formacao-program-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: center;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  min-height: 160px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.formacao-program-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(55, 42, 20, 0.1);
  border-color: #e8dcc8;
}

.formacao-program-card picture {
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

.formacao-program-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center top;
}

.formacao-program-copy h2 {
  font: 700 22px / 1.1 Cinzel, Georgia, serif;
  color: var(--blue-dark);
  margin: 0 0 8px;
}

.formacao-program-copy p {
  margin: 0 0 10px;
  color: #53627a;
  font-size: 14px;
  line-height: 1.5;
}

.formacao-program-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-dark);
}

/* Catequese — página dedicada */

.catequese-page .site-header {
  position: sticky;
}

.catequese-hero {
  padding: 18px 0 8px;
  background:
    linear-gradient(180deg, rgba(248, 237, 218, 0.5), transparent 90%),
    var(--ivory);
}

.catequese-hero-inner {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.catequese-back-link {
  grid-column: 1 / -1;
  font-size: 13px;
  font-weight: 700;
  color: #53627a;
  margin-bottom: 4px;
}

.catequese-back-link:hover {
  color: var(--blue-dark);
}

.catequese-banner img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(55, 42, 20, 0.1);
  object-fit: cover;
  max-height: 380px;
}

.catequese-intro h1 {
  font: 700 clamp(32px, 5vw, 44px) / 1.02 Cinzel, Georgia, serif;
  color: var(--blue-dark);
  margin: 0 0 10px;
}

.catequese-content {
  padding: 10px 0 40px;
}

.catequese-content-inner {
  max-width: 560px;
  margin: 0 auto;
}

.catequese-content-inner .btn-catequese-whatsapp {
  max-width: 360px;
}

@media (max-width: 900px) {
  .catequese-hero-inner {
    grid-template-columns: 1fr;
  }
}
