/* =====================================================================
   CASCA DO TEMPLATE — DESIGN SYSTEM "FAMÍLIA EXTRAORDINÁRIA"
   Identidade própria: tipografia editorial (Fraunces + Manrope),
   paleta âmbar sobre azul-petróleo e papel, cantos suaves e
   microinterações. Conteúdo vive em config/config.js.
   ===================================================================== */

:root {
  /* Cores */
  --c-paper: #FAF7F1;              /* fundo geral */
  --c-surface: #FFFFFF;            /* cards */
  --c-ink: #12222E;                /* azul-petróleo profundo (títulos/superfícies escuras) */
  --c-ink-2: #1B3242;              /* petróleo mais claro (gradientes) */
  --c-text: #3D4852;               /* corpo */
  --c-muted: #69635A;              /* legendas — 4.9:1 contra #FAF7F1 (WCAG AA) */
  --c-line: #E7E0D3;               /* bordas/divisores */
  --c-accent: #E5A13C;             /* âmbar — cor primária da marca */
  --c-accent-deep: #C07E1B;
  --c-accent-soft: rgba(229, 161, 60, 0.15);
  --c-on-ink: #F7F3EA;             /* texto claro sobre petróleo */
  --c-on-ink-dim: rgba(247, 243, 234, 0.65);

  /* Tipografia */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --fs-h1: clamp(52px, 9vw, 128px);
  --fs-h2: clamp(34px, 5vw, 64px);
  --fs-h3: clamp(22px, 3vw, 32px);
  --fs-body: 17px;

  /* Layout */
  --pad-x: clamp(20px, 4vw, 48px);
  --section-pad: clamp(72px, 9vw, 112px) var(--pad-x) 0;
  --nav-h: 88px;
  --r-card: 20px;
  --r-btn: 999px;
  --shadow-card: 0 2px 6px rgba(18, 34, 46, 0.05), 0 18px 40px -24px rgba(18, 34, 46, 0.25);
  --shadow-pop: 0 8px 30px -10px rgba(18, 34, 46, 0.35);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

::selection { background: var(--c-accent); color: var(--c-ink); }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }

body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 560; color: var(--c-ink); }
h1 { font-size: var(--fs-h1); line-height: 1.0; letter-spacing: -0.02em; color: var(--c-on-ink); }
h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }

.label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.muted { color: var(--c-muted); }

.section { padding: var(--section-pad); }
.section--flush { padding: 0; }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* cards entram em cascata dentro da seção revelada */
.reveal .news-card, .reveal .min-card, .reveal .nl-card, .reveal .frente-card, .reveal .person-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in .news-card, .reveal.in .min-card, .reveal.in .nl-card, .reveal.in .frente-card, .reveal.in .person-card {
  opacity: 1;
  transform: none;
}
.reveal.in :is(.news-card, .min-card, .nl-card, .frente-card, .person-card):nth-child(2) { transition-delay: 0.08s; }
.reveal.in :is(.news-card, .min-card, .nl-card, .frente-card, .person-card):nth-child(3) { transition-delay: 0.16s; }
.reveal.in :is(.news-card, .min-card, .nl-card, .frente-card, .person-card):nth-child(4) { transition-delay: 0.24s; }
.reveal.in :is(.news-card, .min-card, .nl-card, .frente-card, .person-card):nth-child(5) { transition-delay: 0.32s; }
.reveal.in :is(.news-card, .min-card, .nl-card, .frente-card, .person-card):nth-child(n+6) { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee ul { animation: none; }
}

/* ---------- Placeholder de imagem ---------- */
.img-ph {
  background: linear-gradient(150deg, #EFE8DA, #E3D9C6);
  color: var(--c-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  width: 100%;
  overflow: hidden;
  text-align: center;
  padding: 10px;
  border-radius: inherit;
}
.media-cover { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* ---------- Navbar (fixa, vira sólida ao rolar) ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  height: var(--nav-h);
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--c-on-ink);
  transition: color 0.3s ease;
}
.nav__logo::after { content: " ✦"; color: var(--c-accent); }
.nav__toggle {
  background: rgba(247, 243, 234, 0.12);
  border: 1px solid rgba(247, 243, 234, 0.25);
  color: var(--c-on-ink);
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(6px);
}
.nav__toggle:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-ink); }
.nav__toggle[aria-expanded="true"] { transform: rotate(45deg); }

.nav.is-scrolled {
  background: rgba(250, 247, 241, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--c-line);
  height: 68px;
}
.nav.is-scrolled .nav__logo { color: var(--c-ink); }
.nav.is-scrolled .nav__toggle { color: var(--c-ink); border-color: var(--c-line); background: var(--c-surface); }
.nav.is-scrolled .nav__toggle:hover { background: var(--c-accent); border-color: var(--c-accent); }

body.menu-open .nav { background: transparent; box-shadow: none; }
body.menu-open .nav .nav__logo { color: var(--c-on-ink); }
body.menu-open .nav .nav__toggle { color: var(--c-on-ink); background: rgba(247,243,234,0.12); border-color: rgba(247,243,234,0.25); }
body.menu-open { overflow: hidden; }

/* ---------- Menu overlay ---------- */
.nav-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: radial-gradient(1200px 800px at 80% -10%, var(--c-ink-2), var(--c-ink));
  color: var(--c-on-ink);
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad-x);
  gap: 0;
}
.nav-menu.is-open { display: flex; }
.nav-menu a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(247, 243, 234, 0.12);
  font-family: var(--font-display);
  font-size: clamp(26px, 4.4vw, 44px);
  font-weight: 560;
  opacity: 0;
  transform: translateY(16px);
  animation: menu-item 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  transition: color 0.2s ease, padding-left 0.25s ease;
}
.nav-menu.is-open a:nth-child(1) { animation-delay: 0.05s; } .nav-menu.is-open a:nth-child(2) { animation-delay: 0.1s; }
.nav-menu.is-open a:nth-child(3) { animation-delay: 0.15s; } .nav-menu.is-open a:nth-child(4) { animation-delay: 0.2s; }
.nav-menu.is-open a:nth-child(5) { animation-delay: 0.25s; } .nav-menu.is-open a:nth-child(6) { animation-delay: 0.3s; }
.nav-menu a:hover { color: var(--c-accent); padding-left: 10px; }
.nav-menu a .num { font-family: var(--font-body); font-size: 12px; font-weight: 800; color: var(--c-accent); }
@keyframes menu-item { to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(94vh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 24px) var(--pad-x) 64px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(229, 161, 60, 0.22), transparent 60%),
    linear-gradient(165deg, var(--c-ink-2) 0%, var(--c-ink) 65%);
  color: var(--c-on-ink);
}
.hero__media { position: absolute; inset: 0; z-index: 0; border-radius: 0; }
.hero__media .img-ph { height: 100%; background: transparent; color: transparent; /* sem imagem, o gradiente é o visual */ }
.hero__media img { height: 100%; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 34, 46, 0.25) 0%, rgba(18, 34, 46, 0.55) 70%, rgba(18, 34, 46, 0.8) 100%);
}
.hero__content { position: relative; z-index: 1; }
.hero__content > * { opacity: 0; transform: translateY(22px); animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.hero__content > *:nth-child(2) { animation-delay: 0.12s; }
.hero__content > *:nth-child(3) { animation-delay: 0.24s; }
.hero__content > *:nth-child(4) { animation-delay: 0.36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__selo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-on-ink-dim);
  border: 1px solid rgba(247, 243, 234, 0.25);
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 20px;
}
.hero__selo::before { content: "✦"; color: var(--c-accent); }
.hero__titulo { max-width: 14ch; word-break: normal; }
.hero__titulo .ast { color: var(--c-accent); font-size: 0.55em; vertical-align: 0.5em; margin-left: 0.08em; }
.hero__sub { color: var(--c-on-ink-dim); max-width: 520px; margin-top: 24px; font-size: 18px; }
.hero__cta { margin-top: 32px; }
.hero__cue {
  position: absolute;
  right: var(--pad-x);
  bottom: 28px;
  z-index: 1;
  width: 42px; height: 42px;
  border: 1px solid rgba(247, 243, 234, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--c-accent);
  font-size: 16px;
  animation: cue 2.2s ease infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(6px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .hero__cue { animation: none; } }

/* ---------- Botão CTA ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  background: var(--c-ink);
  border: none;
  border-radius: var(--r-btn);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-on-ink);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.pill:hover { background: var(--c-accent); color: var(--c-ink); transform: translateY(-2px); box-shadow: var(--shadow-pop); }
.pill__icon { display: grid; place-items: center; font-size: 16px; transition: transform 0.25s ease; }
.pill:hover .pill__icon { transform: translateX(4px); }
.pill--overlay {
  background: rgba(247, 243, 234, 0.14);
  border: 1px solid rgba(247, 243, 234, 0.3);
  color: var(--c-on-ink);
  backdrop-filter: blur(8px);
}
.pill--overlay:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-ink); }

/* ---------- Cabeçalho de seção ---------- */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-head .label::before { content: "✦ "; color: var(--c-accent); }
.sec-head .tag { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--c-muted); }
.sec-titulo { max-width: 20ch; margin-bottom: 36px; }
.sec-cta { margin: 44px 0 0; }

/* ---------- Bloco de texto grande ---------- */
.bigtext h2 { font-size: clamp(24px, 3.2vw, 42px); line-height: 1.25; max-width: 32ch; font-weight: 500; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 44px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); margin-top: 80px; }
.marquee ul { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
.marquee li { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 30px); font-weight: 560; color: var(--c-muted); white-space: nowrap; display: flex; align-items: center; }
.marquee li.sep { color: var(--c-accent); font-size: 18px; }
.marquee img { height: 44px; width: auto; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Card de Notícia ---------- */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
a.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--c-accent); }
.news-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.news-card__num { font-family: var(--font-display); font-size: 34px; font-weight: 560; color: var(--c-accent); }
.bullet-sq { width: 8px; height: 8px; background: var(--c-accent); transform: rotate(45deg); flex: none; }
.news-card h3 { margin-bottom: 10px; }
.news-card p { color: var(--c-muted); font-size: 15px; }
.dots { display: flex; gap: 8px; margin-top: 36px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent-soft); }
.dots span.is-active { background: var(--c-accent); }

/* ---------- Imagem full-width ---------- */
.fullimg { margin-top: clamp(72px, 9vw, 112px); padding: 0 var(--pad-x); }
.fullimg .img-ph, .fullimg img { height: clamp(280px, 55vh, 560px); border-radius: var(--r-card); }

/* ---------- Card de Ministério ---------- */
.min-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.min-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.min-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--c-accent); }
.min-card__logo { height: 120px; border-radius: 14px; overflow: hidden; }
.min-card__logo .img-ph, .min-card__logo img { height: 100%; }
.min-card h3 { font-size: 24px; }
.min-card .tipo { font-size: 13px; font-weight: 600; color: var(--c-muted); }
.min-card .faixa {
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--c-accent-deep); background: var(--c-accent-soft);
  border-radius: 999px; padding: 5px 12px; align-self: flex-start;
}

/* ---------- Agenda ---------- */
.agenda-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--c-line);
  flex-wrap: wrap;
  transition: background 0.2s ease, padding-left 0.25s ease;
  border-radius: 10px;
}
.agenda-list li:hover { background: var(--c-surface); padding-left: 14px; }
.agenda-list .titulo { font-family: var(--font-display); font-size: clamp(18px, 2vw, 24px); font-weight: 560; color: var(--c-ink); }
.agenda-list .info { font-size: 13px; font-weight: 700; color: var(--c-muted); background: var(--c-accent-soft); border-radius: 999px; padding: 6px 14px; }

/* ---------- Player de vídeo ---------- */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--c-ink); margin-top: 36px; border-radius: var(--r-card); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__thumb { position: absolute; inset: 0; }
.video__thumb .img-ph { height: 100%; background: linear-gradient(150deg, var(--c-ink-2), var(--c-ink)); color: rgba(247, 243, 234, 0.35); }
.video__play {
  position: absolute; inset: 0; margin: auto;
  width: 88px; height: 88px;
  border: none; border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-ink); font-size: 26px;
  display: grid; place-items: center;
  z-index: 2;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 0 0 rgba(229, 161, 60, 0.45);
  animation: pulse 2.4s ease infinite;
}
.video__play:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(229, 161, 60, 0.45); }
  70% { box-shadow: 0 0 0 22px rgba(229, 161, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 161, 60, 0); }
}
.video__titulo { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--c-muted); }

/* ---------- Como se envolver ---------- */
.envolver__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* ---------- Card de Newsletter ---------- */
.nl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.nl-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  padding: 26px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.nl-card .edicao {
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--c-accent-deep);
}
.nl-card h3 { font-size: 22px; }
.nl-card p { color: var(--c-muted); font-size: 14px; }
.nl-card__links { display: flex; gap: 18px; margin-top: auto; padding-top: 14px; }
.nl-card__links a { font-size: 13px; font-weight: 700; color: var(--c-ink); border-bottom: 2px solid var(--c-accent); padding-bottom: 2px; transition: color 0.2s ease; }
.nl-card__links a:hover { color: var(--c-accent-deep); }

/* ---------- Formulário ---------- */
.form { display: flex; flex-direction: column; gap: 26px; max-width: 640px; }
.form input, .form textarea {
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-bottom: 2px solid var(--c-line);
  border-radius: 0;
  padding: 12px 2px;
  background: transparent;
  outline: none;
  resize: vertical;
  color: var(--c-ink);
  transition: border-color 0.25s ease;
}
.form input::placeholder, .form textarea::placeholder { color: var(--c-muted); }
.form input:focus, .form textarea:focus { border-bottom-color: var(--c-accent); }
.form button[type="submit"] {
  background: var(--c-ink);
  color: var(--c-on-ink);
  border: none;
  border-radius: 14px;
  padding: 20px;
  font-size: 15px;
  font-weight: 800;
  margin-top: 10px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.form button[type="submit"]:hover { background: var(--c-accent); color: var(--c-ink); transform: translateY(-2px); }
.form__msg { font-size: 13px; color: var(--c-accent-deep); font-weight: 700; }
.hp-field { position: absolute; left: -9999px; opacity: 0; } /* honeypot */

/* ---------- Cards de Eventos ---------- */
.eventos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.evento-card {
  background: var(--c-surface);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.evento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.evento-card__meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.evento-card__data { font-size: 13px; font-weight: 700; color: var(--c-accent-deep); background: var(--c-accent-soft); border-radius: 999px; padding: 4px 12px; }
.evento-card__local { font-size: 13px; color: var(--c-muted); }
.evento-card h3 { margin: 0; font-family: var(--font-display); font-size: clamp(18px, 2vw, 24px); font-weight: 560; }
.evento-card .muted { margin: 0; font-size: 15px; }
.evento-card .pill { margin-top: auto; align-self: flex-start; }
.video__config-msg { font-size: 13px; text-align: center; padding: 12px; }

/* ---------- Cards de Grupos Pequenos ---------- */
.grupos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.grupo-card {
  background: var(--c-surface);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.grupo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.grupo-card h3 { margin: 0; font-family: var(--font-display); font-size: clamp(18px, 2vw, 24px); font-weight: 560; }
.grupo-card__lider { margin: 0; font-size: 14px; color: var(--c-muted); }
.grupo-card__meta { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.grupo-card__meta li { font-size: 13px; color: var(--c-muted); padding-left: 14px; position: relative; }
.grupo-card__meta li::before { content: "–"; position: absolute; left: 0; }
.grupo-card .pill { margin-top: auto; align-self: flex-start; }

/* ---------- Botão Pix (copiar) ---------- */
.pix-list { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.pix-btn {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 1px solid var(--c-line);
  background: var(--c-surface);
  border-radius: 16px;
  padding: 20px 24px;
  font-size: 15px;
  text-align: left;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.pix-btn:hover { border-color: var(--c-accent); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.pix-btn .nome { font-family: var(--font-display); font-weight: 560; font-size: 19px; color: var(--c-ink); }
.pix-btn .chave { font-weight: 500; color: var(--c-muted); font-size: 13px; word-break: break-all; }
.pix-btn::after { content: "⧉ copiar"; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-accent-deep); flex: none; }
.pix-btn .tooltip {
  position: absolute; right: 16px; top: -15px;
  background: var(--c-ink); color: var(--c-on-ink);
  font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
  opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(4px);
  pointer-events: none;
}
.pix-btn.copied .tooltip { opacity: 1; transform: none; }

/* ---------- Listas de localidades / downloads ---------- */
.loc-list li a, .down-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 18px 4px; border-bottom: 1px solid var(--c-line);
  border-radius: 10px;
  transition: background 0.2s ease, padding-left 0.25s ease;
}
.loc-list li a:hover { background: var(--c-surface); padding-left: 14px; }
.loc-list .nome, .down-list .titulo { font-family: var(--font-display); font-size: clamp(18px, 2.4vw, 28px); font-weight: 560; color: var(--c-ink); }
.loc-list .seta { color: var(--c-accent); font-size: 20px; transition: transform 0.25s ease; }
.loc-list li a:hover .seta { transform: translateX(6px); }
.down-list a { font-size: 13px; font-weight: 700; border-bottom: 2px solid var(--c-accent); padding-bottom: 2px; white-space: nowrap; }

/* ---------- Cards de pessoa ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.person-card .foto { aspect-ratio: 3 / 4; margin-bottom: 12px; border-radius: 16px; overflow: hidden; }
.person-card .foto .img-ph, .person-card .foto img { height: 100%; }
.person-card h4 { font-family: var(--font-display); font-size: 18px; font-weight: 560; color: var(--c-ink); margin: 0; }
.person-card .funcao { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-muted); }
.team-block { margin-top: 64px; }
.team-block > h3 { margin-bottom: 28px; }

/* ---------- Página de ministério ---------- */
.rich p { margin-bottom: 20px; max-width: 70ch; }
.rich strong { color: var(--c-accent-deep); }
.frentes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.frente-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.frente-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.frente-card h4 { font-family: var(--font-display); font-size: 19px; font-weight: 560; color: var(--c-ink); margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.frente-card p { font-size: 14px; color: var(--c-muted); }

/* ---------- Contato ---------- */
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 32px; }
.contact-info > div { margin-bottom: 32px; }
.contact-info .label { display: block; margin-bottom: 8px; font-size: 11px; color: var(--c-muted); }
.contact-info a { border-bottom: 2px solid var(--c-accent); padding-bottom: 2px; font-weight: 600; }

/* ---------- Footer ---------- */
.footer {
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(229, 161, 60, 0.14), transparent 60%),
    var(--c-ink);
  color: var(--c-on-ink);
  margin-top: clamp(80px, 10vw, 128px);
  padding: clamp(64px, 8vw, 96px) var(--pad-x) 40px;
}
.footer h2 { color: var(--c-on-ink); }
.footer h2::after { content: " ✦"; color: var(--c-accent); font-size: 0.5em; vertical-align: 0.6em; }
.footer .sub { color: var(--c-on-ink-dim); margin-top: 14px; font-size: 17px; }
.footer .texto { color: rgba(247, 243, 234, 0.45); font-size: 13px; font-weight: 500; max-width: 480px; margin-top: 22px; }
.footer-menu { margin-top: 56px; }
.footer-menu a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(247, 243, 234, 0.14);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 30px); font-weight: 560;
  transition: color 0.2s ease, padding-left 0.25s ease;
}
.footer-menu a:hover { color: var(--c-accent); padding-left: 12px; }
.footer-menu .num { font-family: var(--font-body); font-size: 12px; font-weight: 800; color: var(--c-accent); }
.footer-menu .seta { margin-left: auto; color: var(--c-accent); transition: transform 0.25s ease; }
.footer-menu a:hover .seta { transform: translateX(6px); }
.footer__base { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; gap: 16px; flex-wrap: wrap; }
.footer__base .top-btn {
  background: none; border: 1px solid rgba(247, 243, 234, 0.3); color: var(--c-on-ink);
  border-radius: var(--r-btn); padding: 11px 24px; font-size: 13px; font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.footer__base .top-btn:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-ink); }

/* ---------- Botão flutuante ---------- */
.donate-float {
  position: fixed;
  right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  background: var(--c-accent);
  color: var(--c-ink);
  border-radius: var(--r-btn);
  padding: 14px 26px;
  font-size: 14px; font-weight: 800;
  box-shadow: var(--shadow-pop);
  transition: transform 0.25s ease, background 0.25s ease;
}
.donate-float:hover { transform: translateY(-3px) scale(1.03); background: var(--c-accent-deep); color: var(--c-on-ink); }

/* ---------- Banner de pré-visualização (rascunho do admin) ---------- */
.preview-banner {
  position: fixed;
  left: 50%; bottom: 20px;
  transform: translateX(-50%);
  z-index: 80;
  background: var(--c-ink);
  color: var(--c-on-ink);
  font-size: 13px; font-weight: 700;
  border-radius: 999px;
  padding: 10px 20px;
  box-shadow: var(--shadow-pop);
  display: flex; align-items: center; gap: 8px;
}
.preview-banner::before { content: "✦"; color: var(--c-accent); }

/* =====================================================================
   MODO DESENVOLVIMENTO — aviso de obra no lugar do site
   Mostrado em qualquer endereço enquanto desenvolvimento.ativo estiver
   ligado e o visitante não tiver entrado pelo link com a chave.
   ===================================================================== */
body.modo-dev { background: var(--c-ink); }
.dev {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(32px, 8vw, 80px) var(--pad-x);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(229, 161, 60, 0.16), transparent 62%),
    linear-gradient(160deg, var(--c-ink) 0%, var(--c-ink-2) 100%);
  color: var(--c-on-ink);
  text-align: center;
}
.dev__inner { max-width: 720px; }
.dev__marca {
  font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--c-accent);
  margin-bottom: 28px;
}
.dev__selo {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--c-accent);
  border: 1px solid rgba(229, 161, 60, 0.45);
  border-radius: var(--r-btn);
  padding: 7px 16px;
  margin-bottom: 22px;
}
.dev__titulo {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 76px);
  font-weight: 560;
  line-height: 1.03;
  letter-spacing: -0.01em;
  margin: 0;
}
.dev__titulo .ast { color: var(--c-accent); font-size: 0.5em; vertical-align: 0.55em; margin-left: 0.08em; }
.dev__msg {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: var(--c-on-ink-dim);
  max-width: 48ch;
  margin: 24px auto 0;
}
.dev__rodape {
  font-size: 13px; font-weight: 600;
  color: var(--c-on-ink-dim);
  margin: 44px 0 14px;
}
.dev__redes { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.dev__redes a {
  display: block;
  font-size: 13px; font-weight: 700;
  color: var(--c-on-ink);
  border: 1px solid rgba(247, 243, 234, 0.28);
  border-radius: var(--r-btn);
  padding: 10px 20px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.dev__redes a:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-ink);
  transform: translateY(-2px);
}

/* =====================================================================
   BREAKPOINTS — desktop ≥1200 / tablet 810–1199 / phone <810
   ===================================================================== */
@media (max-width: 1199px) {
  .min-grid, .frentes-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 809px) {
  .news-grid, .min-grid, .nl-grid, .frentes-grid, .contact-cols { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 82vh; }
  .agenda-list li { align-items: flex-start; flex-direction: column; gap: 8px; }
  .donate-float { right: 14px; bottom: 14px; }
}
