/* ==========================================================================
   Igreja Batista Nova Esperança — Folha de estilos principal
   Estrutura:
   1. Tokens e reset
   2. Tipografia e utilitários
   3. Botões e links
   4. Cabeçalho
   5. Hero
   6. Faixa / versículo
   7. Sobre
   8. Visão, missão e valores
   9. Programações
   10. Eventos
   11. Mensagens
   12. Galeria
   13. Visita e formulário
   14. Mapa
   15. Rodapé
   16. Animações e responsividade
   ========================================================================== */

/* ================= 1. TOKENS E RESET ================= */
:root {
  --navy-900: #081426;
  --navy-800: #0E1F38;
  --navy-700: #142c4b;
  --ink: #16202e;
  --muted: #5c6b7f;
  --line: #e4dfd4;
  --cream: #fbf8f2;
  --cream-2: #f4efe4;
  --white: #ffffff;
  --gold: #c9a24a;
  --gold-strong: #7d5a19;
  --gold-soft: #f2e6c9;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 10px rgba(8, 20, 38, .06);
  --shadow: 0 18px 45px -20px rgba(8, 20, 38, .28);
  --shadow-lg: 0 40px 80px -40px rgba(8, 20, 38, .45);

  --container: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-space: clamp(4.5rem, 9vw, 8rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--navy-800);
}

p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
iframe { border: 0; }

::selection { background: var(--gold); color: var(--navy-900); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 999;
  padding: .75rem 1.15rem;
  background: var(--navy-800);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ================= 2. TIPOGRAFIA E UTILITÁRIOS ================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-space); }
.section--muted { background: var(--cream-2); }
.section--dark {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(201, 162, 74, .18), transparent 65%),
    var(--navy-800);
  color: #d8e0ec;
}
.section--dark h2, .section--dark h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-strong);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow--light { color: var(--gold); }

.section-head { max-width: 660px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-head__lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
.section-head__lead--small { max-width: 360px; font-size: .98rem; }

.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.tag {
  display: inline-block;
  padding: .3rem .7rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-strong);
  background: var(--gold-soft);
  border-radius: 100px;
}
.tag--soft { background: rgba(201, 162, 74, .16); }

.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(201, 162, 74, .45), transparent 60%),
    linear-gradient(155deg, #1b3557 0%, #0d1d33 55%, #142c4b 100%);
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 14px);
  pointer-events: none;
}
.photo--about { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
.about__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.photo--video { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.photo__hint {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: .45rem .8rem;
  font-size: .72rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .72);
  background: rgba(8, 20, 38, .55);
  border: 1px dashed rgba(255, 255, 255, .28);
  border-radius: 100px;
  backdrop-filter: blur(6px);
}

/* ================= 3. BOTÕES E LINKS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85rem 1.6rem;
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), box-shadow .25s var(--ease),
              border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--gold);
  color: var(--navy-900);
  box-shadow: 0 10px 24px -12px rgba(201, 162, 74, .9);
}
.btn--gold:hover { background: #d8b566; box-shadow: 0 16px 30px -14px rgba(201, 162, 74, 1); }

.btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .04);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }

.btn--outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, .35);
  padding: .7rem 1.35rem;
  font-size: .88rem;
}
.btn--outline-light:hover { background: var(--white); color: var(--navy-800); }

.btn--full { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding-bottom: 2px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy-800);
  border-bottom: 1px solid rgba(14, 31, 56, .22);
  transition: gap .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow .icon { width: 17px; height: 17px; }
.link-arrow:hover { gap: .9rem; color: var(--gold-strong); border-color: var(--gold); }
.section--dark .link-arrow { color: var(--white); border-color: rgba(255, 255, 255, .3); }

/* ================= 4. CABEÇALHO ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .7);
  font-size: .78rem;
  letter-spacing: .02em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
}
.topbar__item .icon { width: 15px; height: 15px; color: var(--gold); }
.topbar__social { display: flex; gap: .35rem; }
.topbar__social a {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: rgba(255, 255, 255, .72);
  transition: color .2s, background .2s;
}
.topbar__social a:hover { color: var(--navy-900); background: var(--gold); }
.topbar__social .icon { width: 15px; height: 15px; }

.navbar {
  background: rgba(251, 248, 242, .92);
  border-bottom: 1px solid rgba(228, 223, 212, .7);
  backdrop-filter: blur(14px);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled .navbar { box-shadow: 0 12px 30px -22px rgba(8, 20, 38, .55); }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  color: var(--gold);
  background: var(--white);
  border: 1px solid rgba(14, 31, 56, .1);
  border-radius: 12px;
  flex-shrink: 0;
}
.brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__text strong {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--navy-800);
}
.brand__text small {
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 1.45rem; }
.nav a:not(.btn) {
  position: relative;
  font-size: .9rem;
  font-weight: 500;
  color: #33414f;
  padding-block: .4rem;
  white-space: nowrap;
  transition: color .2s;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .28s var(--ease);
}
.nav a:not(.btn):hover,
.nav a:not(.btn).is-active { color: var(--navy-900); }
.nav a:not(.btn):hover::after,
.nav a:not(.btn).is-active::after { width: 100%; }
.nav__cta { padding: .62rem 1.2rem; font-size: .84rem; white-space: nowrap; }

@media (min-width: 901px) {
  .navbar .brand { flex-shrink: 0; }
  .navbar .brand__text strong { white-space: nowrap; }
}

.nav-actions { display: flex; align-items: center; gap: .55rem; }
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--navy-800);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}
.theme-toggle:hover { color: var(--gold-strong); border-color: var(--gold); }
.theme-toggle:focus-visible { outline: 3px solid rgba(201, 162, 74, .45); outline-offset: 2px; }
.theme-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle__icon--sun { display: none; }
[data-theme="dark"] .theme-toggle { color: #e9eff7; border-color: rgba(255, 255, 255, .22); }
[data-theme="dark"] .theme-toggle:hover { color: var(--gold); border-color: var(--gold); }
[data-theme="dark"] .theme-toggle__icon--moon { display: none; }
[data-theme="dark"] .theme-toggle__icon--sun { display: block; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 10;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= 5. HERO ================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3.5rem);
  background:
    radial-gradient(1100px 600px at 78% -15%, rgba(201, 162, 74, .22), transparent 62%),
    linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 45%, #102744 100%);
  color: #dae2ee;
  isolation: isolate;
}
.hero__glow {
  position: absolute;
  top: -22%;
  right: -8%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(201, 162, 74, .28), transparent 62%);
  filter: blur(10px);
  z-index: -1;
}
.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(80% 70% at 50% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 20%, #000 0%, transparent 78%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero h1 {
  font-size: clamp(2.35rem, 5.1vw, 4.1rem);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.15rem;
  max-width: 18ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero__lead {
  max-width: 50ch;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  color: rgba(218, 226, 238, .82);
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__arch { display: flex; justify-content: center; }
.arch {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 2.6rem 2rem 2.2rem;
  text-align: center;
  color: rgba(255, 255, 255, .78);
  border: 1px solid rgba(201, 162, 74, .32);
  border-radius: 190px 190px var(--radius) var(--radius);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(201, 162, 74, .16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 40px 70px -50px #000;
}
.arch::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 162, 74, .18);
  border-radius: 180px 180px 10px 10px;
  pointer-events: none;
}
.arch__label {
  margin: 0 0 1.1rem;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.arch__day {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
}
.arch__time {
  margin: 0 0 .6rem;
  font-family: var(--font-display);
  font-size: 3.1rem;
  line-height: 1;
  color: var(--gold);
}
.arch__desc { font-size: .85rem; line-height: 1.6; }
.arch__divider {
  width: 46px;
  height: 1px;
  margin: 1.35rem auto;
  background: rgba(201, 162, 74, .5);
}
.arch__verse {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: .95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .8);
}
.arch__verse cite {
  display: block;
  margin-top: .55rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  overflow: hidden;
}
.mini-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.15rem 1.35rem;
  background: rgba(8, 20, 38, .55);
}
.mini-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--gold);
  border: 1px solid rgba(201, 162, 74, .3);
  border-radius: 50%;
}
.mini-card__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mini-card h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--white);
}
.mini-card p {
  margin: 0;
  font-size: .76rem;
  color: rgba(218, 226, 238, .62);
}

/* ================= 6. FAIXA / VERSÍCULO ================= */
.strip {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.strip__inner {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 2rem;
}
.strip__label {
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-strong);
}
.strip__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--navy-800);
}
.strip__text span {
  display: block;
  margin-top: .4rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ================= 7. SOBRE ================= */
.about {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.about__visual { position: relative; padding: 0 0 2.5rem 1.5rem; }
.about__frame {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about__frame::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid rgba(201, 162, 74, .55);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about__badge {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.35rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about__badge strong {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold-strong);
}
.about__badge span { font-size: .74rem; line-height: 1.35; color: var(--muted); }

.about__content h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.about__content p { color: var(--muted); }
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1.1;
  color: var(--navy-800);
}
.about__stats span { font-size: .78rem; color: var(--muted); }

/* ================= 8. VISÃO, MISSÃO E VALORES ================= */
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.value-card {
  padding: 2.15rem 1.9rem;
  background: var(--white);
  border: 1px solid rgba(228, 223, 212, .9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.4rem;
  color: var(--gold-strong);
  background: var(--gold-soft);
  border-radius: 14px;
}
.value-card__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value-card h3 { font-size: 1.35rem; }
.value-card p { margin: 0; font-size: .94rem; color: var(--muted); }

.value-card--feature {
  background: var(--navy-800);
  border-color: var(--navy-800);
}
.value-card--feature h3 { color: var(--white); }
.value-card--feature p { color: rgba(218, 226, 238, .75); }
.value-card--feature .value-card__icon {
  color: var(--gold);
  background: rgba(201, 162, 74, .14);
}

/* ================= 9. PROGRAMAÇÕES ================= */
.schedule {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.schedule__item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.85rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid transparent;
  border-radius: var(--radius);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.schedule__item:hover {
  border-top-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.schedule__item--feature { background: var(--cream-2); }
.schedule__day {
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-strong);
}
.schedule__time {
  margin: .3rem 0 1rem;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--navy-800);
}
.schedule__item h3 { font-size: 1.12rem; }
.schedule__desc { flex: 1; font-size: .88rem; color: var(--muted); }
.schedule__item .tag { align-self: flex-start; margin-top: .5rem; }

/* ================= 9.0 PRÓXIMOS EVENTOS ================= */
.agenda-block {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.8rem, 3vw, 2.4rem);
  border-top: 1px solid var(--line);
}
.agenda-block__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .3rem 1.5rem;
  margin-bottom: 1.2rem;
}
.agenda-block__head h3 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.agenda-block__head p { margin: 0; font-size: .88rem; color: var(--muted); }

.agenda {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.agenda__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.agenda__item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.agenda__item--feature { background: var(--cream-2); border-color: rgba(201, 162, 74, .55); }
.agenda__date {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  padding: .35rem 0;
  color: var(--gold-strong);
  background: var(--gold-soft);
  border-radius: 12px;
  line-height: 1;
  text-align: center;
}
.agenda__date strong { font-family: var(--font-display); font-size: 1.5rem; }
.agenda__date span {
  margin-top: .2rem;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.agenda__body { min-width: 0; }
.agenda__body h4 {
  margin: 0 0 .15rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-800);
}
.agenda__meta {
  margin: 0 0 .35rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-strong);
}
.agenda__body p { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--muted); }
.agenda__empty {
  margin: 0;
  padding: 1.2rem 1.3rem;
  font-size: .9rem;
  color: var(--muted);
  background: var(--cream-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.agenda[hidden],
.agenda__empty[hidden] { display: none; }

/* ================= 9.1 70 ANOS ================= */
.jubilee {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: rgba(255, 255, 255, .78);
  background:
    radial-gradient(900px 460px at 12% 0%, rgba(201, 162, 74, .22), transparent 62%),
    radial-gradient(760px 520px at 92% 105%, rgba(255, 120, 170, .16), transparent 62%),
    linear-gradient(150deg, #4d0f2c 0%, #74143c 48%, #3a0a21 100%);
}
.jubilee__glow {
  position: absolute;
  top: -160px;
  left: -120px;
  z-index: -1;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(201, 162, 74, .28), transparent 65%);
  filter: blur(12px);
}
.jubilee__inner {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.jubilee h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  color: var(--white);
}
.jubilee h2 em { font-style: italic; color: var(--gold); }

.jubilee__media { margin: 0; }
.jubilee__media img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 22px;
  box-shadow: 0 40px 70px -40px #000;
}
.jubilee__media figcaption {
  margin-top: .85rem;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, .5);
}
.jubilee__lead { color: rgba(255, 255, 255, .76); }
.jubilee__verse {
  margin: 1.4rem 0;
  padding-left: 1.15rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255, 255, 255, .88);
  border-left: 2px solid var(--gold);
}
.jubilee__verse cite {
  display: block;
  margin-top: .5rem;
  font-family: var(--font-body);
  font-size: .66rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.jubilee__milestones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .9rem;
  margin: 1.6rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.jubilee__milestones li {
  padding: .9rem 1rem;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
}
.jubilee__milestones strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
}
.jubilee__milestones span {
  display: block;
  margin: .3rem 0 .45rem;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.jubilee__milestones p {
  margin: 0;
  font-size: .8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .66);
}
.jubilee__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.jubilee__actions .btn { padding: .76rem 1.25rem; font-size: .86rem; }

/* ================= 10. AO VIVO ================= */
.live__head-note { color: rgba(218, 226, 238, .66); }

.live__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.live__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(201, 162, 74, .3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.live__frame iframe {
  width: 100%;
  height: 100%;
}
.live__note {
  display: flex;
  gap: .6rem;
  margin: .9rem 0 0;
  font-size: .78rem;
  line-height: 1.5;
  color: rgba(218, 226, 238, .55);
}
.live__dot {
  width: 8px;
  height: 8px;
  margin-top: .4rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 74, .16);
}

.live__aside h3 { font-size: 1.5rem; margin-bottom: 1.1rem; }
.live__times {
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-bottom: 1.2rem;
}
.live__times li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
  font-size: .9rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.live__times strong { font-weight: 600; color: var(--white); }
.live__times span { color: rgba(218, 226, 238, .62); text-align: right; }
.live__cta-text { font-size: .92rem; color: rgba(218, 226, 238, .68); }
.live__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.live__actions .btn { font-size: .84rem; padding: .7rem 1.2rem; }

/* ================= 11. REDES SOCIAIS ================= */
.social-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem);
  color: rgba(218, 226, 238, .75);
  background:
    radial-gradient(700px 320px at 88% -20%, rgba(201, 162, 74, .3), transparent 62%),
    linear-gradient(150deg, var(--navy-800), var(--navy-900));
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.social-panel::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  z-index: -1;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(201, 162, 74, .22);
  border-radius: 50%;
}
.social-panel__head { max-width: 640px; }
.social-panel__head h2 {
  max-width: 30ch;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  color: var(--white);
}
.social-panel__head > p:last-child { margin: 0; font-size: .98rem; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  margin-top: 2.25rem;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  color: var(--white);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  transition: transform .3s var(--ease), background .3s var(--ease),
              color .3s var(--ease), border-color .3s var(--ease);
}
.social-card:hover {
  color: var(--navy-900);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.social-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .09);
  border-radius: 12px;
  transition: background .3s var(--ease);
}
.social-card:hover .social-card__icon { background: rgba(14, 31, 56, .14); }
.social-card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-card__text { display: flex; flex-direction: column; line-height: 1.3; }
.social-card__text small {
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .62;
}
.social-card__text strong { font-size: .96rem; font-weight: 600; }
.social-card__arrow {
  width: 17px;
  height: 17px;
  margin-left: auto;
  opacity: .55;
  transition: opacity .2s;
}
.social-card:hover .social-card__arrow { opacity: .9; }

/* ================= 11.1 COMUNIDADE NO WHATSAPP ================= */
.community {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  color: rgba(218, 226, 238, .78);
  background:
    radial-gradient(700px 360px at 92% -10%, rgba(37, 211, 102, .2), transparent 62%),
    radial-gradient(600px 320px at 0% 110%, rgba(201, 162, 74, .18), transparent 65%),
    linear-gradient(150deg, var(--navy-800), #0a1a2e);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.community::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -150px;
  z-index: -1;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(37, 211, 102, .22);
  border-radius: 50%;
  pointer-events: none;
}
.community__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  color: var(--white);
  background: #25d366;
  border-radius: 16px;
  box-shadow: 0 14px 30px -14px rgba(37, 211, 102, .9);
}
.community__icon svg { width: 30px; height: 30px; fill: currentColor; }
.community h2 {
  max-width: 20ch;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  color: var(--white);
}
.community__lead { max-width: 52ch; color: rgba(218, 226, 238, .76); }
.community__actions { margin-top: 1.6rem; }
.btn--whatsapp {
  background: #25d366;
  color: #06251a;
  box-shadow: 0 18px 36px -18px rgba(37, 211, 102, .9);
}
.btn--whatsapp:hover { background: #1fbe5a; box-shadow: 0 20px 36px -16px rgba(37, 211, 102, .95); }
.btn--whatsapp .icon { width: 19px; height: 19px; fill: currentColor; stroke: none; }
.community__note {
  margin: .8rem 0 0;
  font-size: .76rem;
  color: rgba(218, 226, 238, .55);
}
.community__note[hidden] { display: none; }
.community__list {
  display: grid;
  gap: .8rem;
  margin: 0;
  padding: clamp(1.1rem, 2.4vw, 1.5rem);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
}
.community__list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .9rem;
  line-height: 1.55;
  color: rgba(218, 226, 238, .7);
}
.community__list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: .18rem;
  color: #25d366;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.community__list strong {
  display: block;
  margin-bottom: .05rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--white);
}

/* ================= 12. GALERIA ================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 170px;
  gap: 1rem;
}
.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item .photo,
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform .6s var(--ease);
}
.gallery__item:hover .photo,
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute;
  left: 1rem;
  bottom: .9rem;
  z-index: 2;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(to top, rgba(8, 20, 38, .6), transparent);
  pointer-events: none;
}

/* ================= 13. VISITA E FORMULÁRIO ================= */
.visit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.visit__content h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.visit__content > p { color: var(--muted); }
.visit__list { display: grid; gap: 1.2rem; margin-top: 2rem; }
.visit__list li { display: flex; gap: 1rem; }
.visit__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--gold-strong);
  background: var(--gold-soft);
  border-radius: 12px;
}
.visit__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.visit__list strong { display: block; font-size: .92rem; color: var(--navy-800); }
.visit__list p { margin: .15rem 0 0; font-size: .9rem; line-height: 1.55; color: var(--muted); }
.visit__list a { border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.visit__list a:hover { color: var(--gold-strong); border-color: currentColor; }

.form {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.form__lead { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  margin-bottom: .35rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: #3a4757;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .75rem .9rem;
  font: inherit;
  font-size: .92rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field input::placeholder,
.field textarea::placeholder { color: #9aa4b1; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, .18);
}
.field input:invalid:not(:placeholder-shown) { border-color: #c0563f; }
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form__status {
  display: none;
  margin: .85rem 0 0;
  padding: .7rem .9rem;
  font-size: .85rem;
  border-radius: var(--radius-sm);
  background: #eaf6ee;
  color: #1f6b3b;
  border: 1px solid #c6e6d1;
}
.form__status.is-visible { display: block; }
.form__status.is-error { background: #fdecea; color: #8f2c1c; border-color: #f5c6bd; }
.form__note { margin: .8rem 0 0; font-size: .74rem; color: var(--muted); text-align: center; }

/* ================= 14. MAPA ================= */
.map { line-height: 0; background: var(--cream-2); }
.map iframe {
  width: 100%;
  height: clamp(280px, 38vw, 420px);
  filter: grayscale(.35) contrast(1.02);
}

/* ================= 15. RODAPÉ ================= */
.footer {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--navy-900);
  color: rgba(218, 226, 238, .68);
  font-size: .9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr .8fr 1fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.footer__brand p { max-width: 34ch; margin: 1.1rem 0 1.4rem; }
.footer__brand .footer__stamp {
  margin: -.7rem 0 1.3rem;
  font-size: .8rem;
  color: var(--gold);
}
.brand--footer .brand__mark { background: var(--white); border-color: rgba(255, 255, 255, .16); }
.brand--footer .brand__text strong { color: var(--white); }
.brand--footer .brand__text small { color: rgba(255, 255, 255, .5); }
.footer__social { display: flex; gap: .5rem; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: rgba(255, 255, 255, .75);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  transition: color .2s, background .2s, border-color .2s;
}
.footer__social a:hover { color: var(--navy-900); background: var(--gold); border-color: var(--gold); }
.footer__social .icon { width: 17px; height: 17px; }

.footer__col h3 {
  margin-bottom: .9rem;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
}
.footer__col p { margin-bottom: .55rem; }
.footer__col a { transition: color .2s; }
.footer__col a:hover { color: var(--gold); }
.footer__col > a { display: block; margin-bottom: .5rem; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding-block: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .78rem;
  color: rgba(255, 255, 255, .45);
}
.footer__bottom p { margin: 0; }

.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 5.6rem;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--navy-900);
  background: var(--gold);
  border-radius: 50%;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease), background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: #d8b566; }

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  height: 52px;
  padding: 0 1.05rem 0 .9rem;
  font-size: .82rem;
  font-weight: 600;
  color: #06251a;
  background: #25d366;
  border-radius: 999px;
  box-shadow: 0 18px 40px -18px rgba(8, 20, 38, .75);
  transition: transform .25s var(--ease), background .2s, box-shadow .25s;
}
.whatsapp-float:hover {
  background: #1fbe5a;
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -18px rgba(8, 20, 38, .8);
}
.whatsapp-float:focus-visible { outline: 3px solid rgba(201, 162, 74, .55); outline-offset: 3px; }
.whatsapp-float[hidden] { display: none; }
.whatsapp-float svg { width: 26px; height: 26px; flex-shrink: 0; fill: currentColor; }
.whatsapp-float__label { white-space: nowrap; }

/* ================= 15.1 MODO ESCURO ================= */
:root { color-scheme: light; }

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e7edf6;
  --muted: #a2b0c3;
  --line: #24344a;
  --cream: #0a1524;
  --cream-2: #0f1d30;
  --gold-soft: #22304a;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
  --shadow: 0 18px 45px -20px rgba(0, 0, 0, .6);
  --shadow-lg: 0 40px 80px -40px rgba(0, 0, 0, .78);
  background: #0a1524;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 { color: #f2f6fb; }

/* Cabeçalho */
[data-theme="dark"] .topbar { background: #050e1a; border-bottom: 1px solid rgba(255, 255, 255, .06); }
[data-theme="dark"] .navbar { background: rgba(10, 21, 36, .92); border-bottom-color: rgba(255, 255, 255, .08); }
[data-theme="dark"] .site-header.is-scrolled .navbar { box-shadow: 0 12px 30px -22px rgba(0, 0, 0, .9); }
[data-theme="dark"] .brand__mark { border-color: rgba(255, 255, 255, .18); }
[data-theme="dark"] .brand__text strong { color: #f2f6fb; }
[data-theme="dark"] .nav a:not(.btn) { color: #c6d2e0; }
[data-theme="dark"] .nav a:not(.btn):hover,
[data-theme="dark"] .nav a:not(.btn).is-active { color: #fff; }
[data-theme="dark"] .nav-toggle { border-color: rgba(255, 255, 255, .22); }
[data-theme="dark"] .nav-toggle span { background: #e9eff7; }

/* Seções claras */
[data-theme="dark"] .strip__text { color: #eef4fb; }
[data-theme="dark"] .strip__label,
[data-theme="dark"] .eyebrow,
[data-theme="dark"] .schedule__day,
[data-theme="dark"] .about__badge strong { color: var(--gold); }
[data-theme="dark"] .about__stats strong,
[data-theme="dark"] .schedule__time,
[data-theme="dark"] .visit__list strong { color: #f2f6fb; }
[data-theme="dark"] .link-arrow { color: #e7edf6; border-color: rgba(255, 255, 255, .25); }
[data-theme="dark"] .link-arrow:hover { color: var(--gold); border-color: var(--gold); }
[data-theme="dark"] .about__badge { background: #122238; border: 1px solid var(--line); }
[data-theme="dark"] .value-card { background: #0f1e31; border-color: var(--line); }
[data-theme="dark"] .value-card--feature { background: #16273e; border-color: rgba(201, 162, 74, .35); }
[data-theme="dark"] .value-card__icon,
[data-theme="dark"] .visit__icon { color: var(--gold); }
[data-theme="dark"] .schedule__item { background: #0f1e31; }
[data-theme="dark"] .schedule__item--feature { background: #15263c; }
[data-theme="dark"] .tag { color: var(--gold); background: rgba(201, 162, 74, .16); }
[data-theme="dark"] .agenda__item { background: #0f1e31; }
[data-theme="dark"] .agenda__item--feature { background: #15263c; border-color: rgba(201, 162, 74, .4); }
[data-theme="dark"] .agenda__date { color: var(--gold); background: rgba(201, 162, 74, .16); }
[data-theme="dark"] .agenda__body h4 { color: #f2f6fb; }
[data-theme="dark"] .agenda__meta { color: var(--gold); }
[data-theme="dark"] .agenda__empty { background: #0f1e31; }

/* Formulário */
[data-theme="dark"] .form { background: #0f1e31; }
[data-theme="dark"] .field label { color: #cdd8e6; }
[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .field textarea { background: #0a1524; color: var(--ink); }
[data-theme="dark"] .field input:focus,
[data-theme="dark"] .field select:focus,
[data-theme="dark"] .field textarea:focus { background: #0d1a2b; }
[data-theme="dark"] .field input::placeholder,
[data-theme="dark"] .field textarea::placeholder { color: #7f8ea3; }
[data-theme="dark"] .form__note { color: var(--muted); }
[data-theme="dark"] .form__status {
  background: rgba(37, 211, 102, .12);
  color: #84e0a9;
  border-color: rgba(37, 211, 102, .35);
}
[data-theme="dark"] .form__status.is-error {
  background: rgba(220, 80, 60, .15);
  color: #ffb4a6;
  border-color: rgba(220, 80, 60, .4);
}

/* Mapa e rodapé */
[data-theme="dark"] .map { background: #0b1828; }
[data-theme="dark"] .map iframe { filter: grayscale(.3) brightness(.82) contrast(1.05); }
[data-theme="dark"] .footer { background: #060f1b; border-top: 1px solid var(--line); }
[data-theme="dark"] .footer__bottom { border-top-color: var(--line); }

/* ================= 16. ANIMAÇÕES E RESPONSIVIDADE ================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal--delay { transition-delay: .12s; }
.reveal--delay-2 { transition-delay: .24s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1180px) and (min-width: 901px) {
  .nav { gap: .95rem; }
  .nav a:not(.btn) { font-size: .84rem; }
  .nav__cta { padding: .58rem 1rem; font-size: .8rem; }
  .brand__text strong { font-size: .98rem; }
}

@media (max-width: 1239px) and (min-width: 901px) {
  .navbar__inner { gap: .8rem; }
  .nav { gap: .55rem; }
  .nav a:not(.btn) { font-size: .8rem; white-space: nowrap; }
  .nav__cta { padding: .52rem .85rem; font-size: .74rem; white-space: nowrap; }
  .brand { gap: .55rem; }
  .brand__text strong { font-size: .93rem; }
  .brand__text small { font-size: .6rem; }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__arch { justify-content: flex-start; }
  .arch { max-width: 100%; border-radius: var(--radius-lg); text-align: left; }
  .arch::before { border-radius: calc(var(--radius-lg) - 8px); }
  .arch__time { font-size: 2.6rem; }
  .arch__divider { margin-inline: 0; }

  .values { grid-template-columns: repeat(2, 1fr); }
  .value-card--feature { grid-column: span 2; }
  .schedule { grid-template-columns: repeat(2, 1fr); }

  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 100px; }

  .navbar__inner { min-height: 68px; }
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 5;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    width: min(320px, 86vw);
    height: 100vh;
    padding: 5.5rem 1.5rem 2rem;
    background: var(--cream);
    box-shadow: -30px 0 60px -30px rgba(8, 20, 38, .5);
    transform: translateX(105%);
    transition: transform .38s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) {
    padding: .85rem .25rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 1rem; padding: .85rem 1.2rem; justify-content: center; }

  [data-theme="dark"] .nav { background: #0c1a2c; box-shadow: -30px 0 70px -30px rgba(0, 0, 0, .9); }

  body.nav-open { overflow: hidden; }

  .about { grid-template-columns: 1fr; }
  .about__visual { max-width: 460px; }
  .about__frame::before { inset: -12px 12px 12px -12px; }

  .topbar__item--hide-sm { display: none; }
  .live__grid { grid-template-columns: 1fr; }
  .jubilee__inner { grid-template-columns: 1fr; }
  .jubilee__media { max-width: 380px; }
  .visit { grid-template-columns: 1fr; }
  .community { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero__cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .topbar__item--hide-sm { display: none; }
  .hero { padding-top: 2.75rem; }
  .mini-card { padding: 1rem 1.15rem; }
  .strip__inner { grid-template-columns: 1fr; gap: .6rem; }
  .values { grid-template-columns: 1fr; }
  .value-card--feature { grid-column: auto; }
  .schedule { grid-template-columns: 1fr; }
  .section-head--row { align-items: flex-start; }
  .social-grid { grid-template-columns: 1fr; }
  .gallery__item--tall,
  .gallery__item--wide { grid-row: auto; grid-column: auto; }
  .gallery { grid-auto-rows: 190px; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .topbar__hide-xs { display: none; }

  .navbar__inner { gap: .5rem; }
  .brand { gap: .5rem; }
  .brand__mark { width: 44px; height: 44px; }
  .brand__text strong { font-size: .95rem; }
  .brand__text small { font-size: .58rem; letter-spacing: .12em; }
  .theme-toggle { width: 40px; height: 40px; }

  .community { padding: 1.6rem 1.3rem; border-radius: 22px; }
  .community__icon { width: 50px; height: 50px; margin-bottom: 1rem; }
  .community__icon svg { width: 27px; height: 27px; }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
  }
  .whatsapp-float__label { display: none; }
  .to-top { bottom: 5.75rem; }
}

@media (max-width: 460px) {
  .about__stats { grid-template-columns: 1fr 1fr; }
  .gallery { grid-auto-rows: 140px; }
  .hero__cards { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .social-card { padding: .95rem 1rem; }

  .navbar__inner { gap: .4rem; }
  .brand { gap: .45rem; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__text strong { font-size: .86rem; }
  .theme-toggle { width: 38px; height: 38px; }
  .nav-toggle { width: 42px; height: 42px; padding: 0 9px; }
}

/* Acessibilidade: respeita preferência por menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Foco visível em fundos escuros */
.section--dark :focus-visible,
.hero :focus-visible,
.footer :focus-visible { outline-color: var(--gold); }
