/* =====================
   RESET & VARIABLES
======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Paleta extraída das imagens */
  --stone:        #e8ddd0;   /* pedra bege da catedral */
  --stone-dark:   #c8bdb0;
  --warm-white:   #f7f3ee;   /* fundo quente */
  --ivory:        #faf8f5;
  --red:          #9e1c1c;   /* vermelho da estola */
  --red-deep:     #6e1010;
  --gold:         #b8952a;   /* dourado do bordado */
  --gold-light:   #d4ab3e;
  --wood:         #3d2a18;   /* madeira dos bancos */
  --wood-dark:    #1c1410;   /* fundo escuro da igreja */
  --text:         #1e1510;
  --muted:        #6b5a4a;
  --border:       rgba(184,149,42,0.18);

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --radius:       14px;
  --radius-lg:    24px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

@media (pointer: coarse) { body { cursor: auto; } }

::selection { background: var(--gold); color: #fff; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container { width: min(90%, 1140px); margin-inline: auto; }

/* =====================
   CUSTOM CURSOR
======================== */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform .1s, background .2s, width .2s, height .2s;
}

.cursor-follower {
  position: fixed;
  width: 34px; height: 34px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform .18s var(--ease), opacity .3s;
  opacity: .55;
}

.cursor.hover { width: 14px; height: 14px; background: var(--gold); }
.cursor-follower.hover { opacity: 0; }

@media (pointer: coarse) { .cursor, .cursor-follower { display: none; } }

/* =====================
   NAVBAR
======================== */
.navbar {
  position: fixed;
  inset-block-start: 0; inset-inline: 0;
  z-index: 500;
  padding: 1.3rem 0;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .3s;
}

.navbar.scrolled {
  background: rgba(247,243,238,.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
  padding: .85rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  transition: color .3s;
}

.navbar.scrolled .nav-logo { color: var(--red-deep); }
.logo-cross { font-size: .9rem; opacity: .7; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  position: relative;
  transition: color .3s;
}

.navbar.scrolled .nav-links a { color: var(--muted); }

.nav-links a::after {
  content: '';
  position: absolute;
  inset-block-end: -3px; inset-inline-start: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); }
.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active { color: var(--red); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: #fff;
  transition: all .3s var(--ease);
}
.navbar.scrolled .nav-toggle span { background: var(--text); }

/* =====================
   HERO
======================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.05);
  transition: transform 1.2s var(--ease);
}

.hero-img.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(14,9,4,.92) 0%, rgba(14,9,4,.55) 50%, rgba(14,9,4,.2) 100%),
    linear-gradient(to right, rgba(14,9,4,.5) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 9rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 400;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 9vw, 8rem);
  font-weight: 400;
  color: #fff;
  line-height: .95;
  letter-spacing: -.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-roles {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  font-weight: 300;
}

.hero-roles .dot { color: var(--gold); opacity: .6; }

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 1.75rem;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(184,149,42,.25);
  border-radius: var(--radius);
  width: fit-content;
}

.stat { text-align: center; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: #fff;
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-light);
}

.stat-label {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  margin-top: .3rem;
}

.stat-divider {
  width: 1px; height: 38px;
  background: rgba(255,255,255,.12);
}

.scroll-down {
  position: absolute;
  inset-block-end: 2.5rem;
  inset-inline-end: 3rem;
  z-index: 2;
}

.scroll-down span {
  display: block;
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =====================
   BUTTONS
======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: all .3s var(--ease);
  border: 1.5px solid transparent;
}

.btn-light {
  background: var(--ivory);
  color: var(--red-deep);
  border-color: var(--ivory);
}
.btn-light:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184,149,42,.35);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}

/* =====================
   SECTION BASE
======================== */
.section { padding-block: 7rem; }
.section-header { margin-bottom: 4rem; }

.eyebrow {
  display: block;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: .6rem;
}
.eyebrow.center { text-align: center; }
.eyebrow.light   { color: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -.01em;
}
.section-title.center { text-align: center; }
.section-title.light  { color: #fff; }
.section-title em     { font-style: italic; color: var(--red); }
.section-title.light em { color: var(--gold-light); }

/* =====================
   SOBRE
======================== */
.sobre { background: var(--ivory); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.sobre-img-wrap { position: relative; }

.sobre-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 40px 80px rgba(30,15,8,.18);
}

.sobre-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .7s var(--ease);
}
.sobre-img-frame:hover img { transform: scale(1.04); }

.sobre-badge {
  position: absolute;
  inset-block-end: -1.25rem;
  inset-inline-end: -1.25rem;
  background: var(--red-deep);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  text-align: center;
  box-shadow: 0 8px 28px rgba(110,16,16,.3);
}

.badge-year {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
}

.badge-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .7;
  margin-top: .3rem;
  display: block;
}

.sobre-text .section-title { margin-block: .7rem 1.4rem; }

.sobre-text p {
  color: var(--muted);
  font-size: .98rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

.sobre-text p em { color: var(--red); font-style: italic; }

.sobre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}

.tag {
  display: inline-block;
  padding: .3rem .9rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .06em;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--warm-white);
  transition: all .25s;
}
.tag:hover { background: var(--red-deep); color: #fff; border-color: var(--red-deep); }

/* =====================
   SAÚDE
======================== */
.saude {
  position: relative;
  overflow: hidden;
}

.saude-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.saude-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.35) saturate(.7);
}

.saude-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,9,4,.88) 0%, rgba(60,22,8,.72) 100%);
}

.saude-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.saude-text .section-title { margin-block: .7rem 1.4rem; }

.saude-text p {
  color: rgba(255,255,255,.65);
  font-size: .98rem;
  font-weight: 300;
  margin-bottom: 1rem;
}
.saude-text strong { color: var(--gold-light); font-weight: 500; }

.saude-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(184,149,42,.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(8px);
}

.saude-icon { font-size: 2.2rem; margin-bottom: 1.2rem; }

.saude-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.saude-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.saude-card li {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  font-weight: 300;
  padding-inline-start: .5rem;
}

/* =====================
   HISTÓRIA / TIMELINE
======================== */
.historia { background: var(--warm-white); }

.timeline {
  position: relative;
  padding-block: 1rem;
}

.timeline::before {
  content: '';
  position: absolute;
  inset-inline-start: 50%;
  inset-block: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 10%, var(--border) 90%, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 44%;
  padding-block-end: 2.75rem;
}

.timeline-item.right { margin-inline-start: auto; }

.timeline-dot {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  border: 2.5px solid var(--warm-white);
  box-shadow: 0 0 0 2px var(--gold);
  top: .6rem;
}

.timeline-item:not(.right) .timeline-dot { inset-inline-end: -7.8%; }
.timeline-item.right          .timeline-dot { inset-inline-start: -7.8%; }

.timeline-date {
  font-family: var(--font-display);
  font-size: .82rem;
  font-style: italic;
  color: var(--gold);
  letter-spacing: .04em;
  margin-bottom: .5rem;
}

.timeline-card {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--border);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}

.timeline-card:hover {
  box-shadow: 0 10px 36px rgba(107,45,15,.1);
  transform: translateY(-3px);
}

.timeline-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--red-deep);
  margin-bottom: .4rem;
}

.timeline-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

/* =====================
   RAÍZES
======================== */
.raizes { background: var(--stone); }

.raizes-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.raizes-text .section-title { margin-block: .7rem 1.4rem; }

.raizes-text p {
  color: var(--muted);
  font-size: .98rem;
  font-weight: 300;
  margin-bottom: 1rem;
}
.raizes-text strong { color: var(--red-deep); font-weight: 500; }

.cordel-quote {
  margin-top: 1.75rem;
  padding: 1.4rem 1.6rem;
  border-inline-start: 3px solid var(--gold);
  background: rgba(255,255,255,.5);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--wood);
  line-height: 1.75;
}

.cordel-quote cite {
  display: block;
  margin-top: .8rem;
  font-size: .75rem;
  font-style: normal;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}

.raizes-foto {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 64px rgba(30,15,8,.2);
  margin-bottom: 1.75rem;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}

.raizes-family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.family-item {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: box-shadow .25s, transform .25s;
}

.family-item:hover {
  box-shadow: 0 6px 20px rgba(107,45,15,.1);
  transform: translateY(-2px);
}

.family-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
  line-height: 1;
}

.family-label {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-top: .3rem;
}

/* =====================
   MINISTÉRIOS
======================== */
.ministerios { background: var(--wood-dark); }

.ministerios .eyebrow { color: var(--gold); }
.ministerios .section-title { color: #fff; }
.ministerios .section-title em { color: var(--gold-light); }

.ministerios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 3.5rem;
}

.min-card {
  background: var(--wood-dark);
  padding: 2.4rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: background .35s var(--ease);
}

.min-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,149,42,.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}

.min-card:hover { background: #271a0d; }
.min-card:hover::before { opacity: 1; }

.min-num {
  font-family: var(--font-display);
  font-size: .7rem;
  color: var(--gold);
  opacity: .45;
  letter-spacing: .1em;
  margin-bottom: 1.4rem;
}

.min-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
  transition: transform .3s var(--ease);
}
.min-card:hover .min-icon { transform: scale(1.12); }

.min-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: .65rem;
}

.min-card p {
  font-size: .86rem;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  font-weight: 300;
}

/* =====================
   SÃO FRANCISCO
======================== */
.saofrancisco { background: var(--warm-white); }

.sf-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

.sf-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 32px 64px rgba(30,15,8,.18);
  position: relative;
}

.sf-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(184,149,42,.15));
  pointer-events: none;
}

.sf-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.sf-img-frame:hover img { transform: scale(1.04); }

.sf-text .section-title { margin-block: .7rem 1.4rem; }

.sf-text p {
  color: var(--muted);
  font-size: .98rem;
  font-weight: 300;
  margin-bottom: 1rem;
}
.sf-text strong { color: var(--red-deep); font-weight: 500; }
.sf-text em { color: var(--red); }

.sf-quote {
  margin-top: 1.75rem;
  padding: 1.4rem 1.6rem;
  border-inline-start: 3px solid var(--gold);
  background: rgba(184,149,42,.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--wood);
  line-height: 1.75;
}

.sf-quote cite {
  display: block;
  margin-top: .8rem;
  font-size: .72rem;
  font-style: normal;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* =====================
   CONTATO
======================== */
.contato { background: var(--ivory); }

.contato-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.contato-header .section-title { margin-block: .6rem 1rem; }

.contato-sub {
  font-size: .95rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 420px;
  margin-inline: auto;
}

.contato-social {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  text-align: center;
  transition: transform .3s var(--ease);
}

.social-link:hover { transform: translateY(-6px); }

.social-icon-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: box-shadow .3s var(--ease), transform .3s;
}

.social-link:hover .social-icon-wrap {
  box-shadow: 0 12px 32px rgba(0,0,0,.20);
  transform: scale(1.06);
}

.social-icon-wrap.wpp   { background: #25D366; }
.social-icon-wrap.insta { background: linear-gradient(135deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }

.social-name {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  font-weight: 500;
}

.social-handle {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
}

/* OLD contato-card kept for reference — no longer used */
.contato-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--warm-white);
  transition: all .3s var(--ease);
  position: relative;
}

.contato-card:hover {
  border-color: var(--gold);
  background: var(--ivory);
  box-shadow: 0 8px 28px rgba(107,45,15,.1);
  transform: translateX(5px);
}

.contato-card-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  transition: transform .3s;
}

.contato-card:hover .contato-card-icon { transform: scale(1.08); }
.contato-card-icon.wpp   { background: #25D366; }
.contato-card-icon.insta { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.contato-label {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: .15rem;
}

.contato-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
}

.contato-arrow {
  margin-inline-start: auto;
  color: var(--stone-dark);
  font-size: 1.1rem;
  transition: transform .3s var(--ease), color .3s;
}

.contato-card:hover .contato-arrow {
  transform: translateX(4px);
  color: var(--gold);
}

/* =====================
   FOOTER
======================== */
.footer {
  background: var(--wood-dark);
  padding-block: 3.5rem;
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
}

.footer-cross {
  font-size: 1.4rem;
  color: var(--gold);
  opacity: .65;
  margin-bottom: .5rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  font-weight: 400;
}

.footer-sub {
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  letter-spacing: .1em;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: .75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.5);
  transition: all .25s;
}

.footer-social a:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

.footer-copy {
  font-size: .72rem;
  color: rgba(255,255,255,.18);
  margin-top: .5rem;
}

/* =====================
   SCROLL REVEAL
======================== */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp .9s var(--ease) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal         { transform: translateY(30px); }
.reveal-left    { transform: translateX(-36px); }
.reveal-right   { transform: translateX(36px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* =====================
   AUDIO PLAYER
======================== */
.audio-player {
  position: fixed;
  inset-block-end: 1.5rem;
  inset-inline-end: 1.5rem;
  z-index: 600;
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(28,20,8,.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(184,149,42,.3);
  border-radius: 50px;
  padding: .6rem 1rem .6rem .6rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  transition: opacity .3s;
}

.audio-btn {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 0;
}

.audio-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}

.audio-btn:hover .audio-icon {
  background: var(--gold-light);
  transform: scale(1.08);
}

.audio-label {
  font-size: .72rem;
  letter-spacing: .06em;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 20px;
}

.audio-wave span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--gold);
  animation: wave 1s ease-in-out infinite;
}

.audio-wave span:nth-child(1) { animation-delay: 0s;    height: 8px; }
.audio-wave span:nth-child(2) { animation-delay: .1s;   height: 14px; }
.audio-wave span:nth-child(3) { animation-delay: .2s;   height: 18px; }
.audio-wave span:nth-child(4) { animation-delay: .1s;   height: 12px; }
.audio-wave span:nth-child(5) { animation-delay: .05s;  height: 8px; }

.audio-wave.paused span { animation-play-state: paused; opacity: .35; }

@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50%       { transform: scaleY(.35); }
}

/* =====================
   RESPONSIVE
======================== */
@media (max-width: 960px) {
  .sobre-grid,
  .saude-inner,
  .raizes-inner,
  .sf-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sobre-grid    { text-align: center; }
  .sobre-tags    { justify-content: center; }
  .sobre-badge   { inset-inline-end: 50%; transform: translateX(50%); inset-block-end: -1.25rem; }
  .sobre-img-wrap { display: flex; flex-direction: column; align-items: center; }
  .sobre-img-frame { max-width: 340px; width: 100%; }

  .sf-inner      { text-align: left; }

  .saude-inner   { direction: ltr; }
  .saude-text    { text-align: center; }
  .saude-text .btn { margin-inline: auto; }

  .ministerios-grid { grid-template-columns: repeat(2,1fr); }

  .timeline::before { inset-inline-start: 14px; }
  .timeline-item,
  .timeline-item.right {
    width: 100%;
    margin-inline-start: 0;
    padding-inline-start: 3rem;
  }
  .timeline-item:not(.right) .timeline-dot,
  .timeline-item.right       .timeline-dot {
    inset-inline-start: 9px;
    inset-inline-end: auto;
  }

  .raizes-inner  { text-align: center; }
  .raizes-text .cordel-quote { text-align: left; }

  .hero-stats    { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .section { padding-block: 4.5rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%; inset-inline: 0;
    background: rgba(247,243,238,.97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    gap: 0;
    padding-block: .5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--muted) !important; padding: .85rem 1.5rem; display: block; width: 100%; text-align: center; }
  .nav-toggle { display: flex; }

  /* Hero mobile */
  .hero-content  { max-width: 100%; text-align: center; align-items: center; }
  .hero-roles    { justify-content: center; }
  .hero-ctas     { justify-content: center; }
  .hero-stats    { flex-wrap: wrap; gap: 1rem; padding: 1rem; justify-content: center; width: 100%; }
  .stat-divider  { display: none; }
  .scroll-down   { display: none; }

  /* Sobre mobile */
  .sobre-badge   { position: static; transform: none; margin: 1.5rem auto 0; display: inline-flex; flex-direction: row; align-items: center; gap: 1rem; width: fit-content; }
  .badge-year    { font-size: 1.5rem; }

  /* Saúde mobile */
  .saude-card    { text-align: left; }

  /* Ministérios mobile */
  .ministerios-grid { grid-template-columns: 1fr; }
  .min-card      { text-align: center; }

  /* Raízes mobile */
  .raizes-family-grid { grid-template-columns: repeat(2,1fr); gap: .75rem; }
  .family-num    { font-size: 1.5rem; }

  /* Contato mobile */
  .contato-social { gap: 2rem; }
  .social-icon-wrap { width: 60px; height: 60px; }

  /* São Francisco mobile */
  .sf-text       { text-align: center; }
  .sf-text .cordel-quote { text-align: left; }
  .sf-quote      { text-align: left; }

  /* Seções com eyebrow — centralizar no mobile */
  .sobre-text    { text-align: center; }
  .sobre-text .btn-outline { margin-inline: auto; display: block; width: fit-content; }

  /* Audio player */
  .audio-label   { display: none; }
  .audio-player  { padding: .5rem; }
}
