/* Casa do Oleiro — site styles
   Architecture: fixed potter SVG background; sections layered on top
   Themes: .theme-dark (default) / .theme-light
*/
@import url('./colors_and_type.css');

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: var(--font-body); cursor: none; overflow-x: hidden; min-height: 100vh; }
@media (hover: none) { body { cursor: auto; } .cursor { display: none !important; } }
a, button { font-family: inherit; cursor: none; }
@media (hover: none) { a, button { cursor: auto; } }
img { max-width: 100%; display: block; }

/* ── Theme variables ──────────────────────────────── */
body.theme-dark {
  --page-bg: #000;
  --fg: #fff;
  --fg-muted: rgba(255,255,255,.7);
  --fg-dim: rgba(255,255,255,.5);
  --line: rgba(255,255,255,.14);
  --line-strong: rgba(255,255,255,.3);
  --panel-translucent: rgba(0,0,0,.35);
  --panel-solid: #0a0a0a;
  --panel-warm: #141413;
  --card-bg: rgba(255,255,255,.04);
  --card-border: rgba(255,255,255,.12);
  --stroke-color: rgba(255,255,255,.55);
  --vignette: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.7) 100%);
  background: var(--page-bg);
  color: var(--fg);
}
body.theme-light {
  --page-bg: #FAFAF9;
  --fg: #000;
  --fg-muted: rgba(0,0,0,.7);
  --fg-dim: rgba(0,0,0,.5);
  --line: rgba(0,0,0,.12);
  --line-strong: rgba(0,0,0,.25);
  --panel-translucent: rgba(250,250,249,.55);
  --panel-solid: #FAFAF9;
  --panel-warm: #FFF6EB;
  --card-bg: rgba(255,255,255,.7);
  --card-border: rgba(0,0,0,.08);
  --stroke-color: rgba(0,0,0,.45);
  --vignette: radial-gradient(ellipse at center, transparent 35%, rgba(250,250,249,.5) 100%);
  background: var(--page-bg);
  color: var(--fg);
}

/* ── Custom cursor ────────────────────────────────── */
.cursor {
  position: fixed; top: 0; left: 0; width: 14px; height: 14px;
  border-radius: 50%; background: var(--orange-500); pointer-events: none;
  transform: translate(-50%, -50%); z-index: 9999;
  transition: width .25s var(--ease-out), height .25s var(--ease-out), background .25s, opacity .25s;
}
.cursor.hover { width: 56px; height: 56px; background: var(--orange-500); mix-blend-mode: normal; }

/* ─── Floating social rail ─── */
.social-rail {
  position: fixed; left: 32px; bottom: 32px; z-index: 99;
  display: flex; flex-direction: column; gap: 14px;
  padding: 12px 8px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.social-rail a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  color: var(--fg); opacity: .75; text-decoration: none;
  transition: opacity .2s, color .2s, background .2s;
}
.social-rail a:hover { opacity: 1; color: var(--orange-500); background: var(--card-bg); }
@media (max-width: 900px) { .social-rail { left: auto; right: 16px; bottom: 16px; flex-direction: row; border-radius: 999px; padding: 6px 10px; } }

/* ═══════════════════════════════════════════════════
   TILTED PHOTO PLACEHOLDERS — used in hero + between narrative steps
   Rotated, with theme-aware overlay where they cross typography
   ═══════════════════════════════════════════════════ */
.tilt-photo, .hero-photo {
  position: relative;
  background:
    linear-gradient(135deg, var(--orange-700), var(--orange-900)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 8px, transparent 8px 16px);
  background-blend-mode: overlay;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  overflow: hidden;
  will-change: transform;
  transition: none;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px var(--card-border);
}
.tilt-photo::after, .hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,140,0,.15), transparent 60%);
  pointer-events: none;
}
.tilt-photo .ph-lbl, .hero-photo .ph-lbl {
  position: absolute; left: 16px; bottom: 14px;
  font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  z-index: 2;
}
.tilt-photo img, .hero-photo img, .pastor-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: grayscale(1);
}
.tilt-r { transform: rotate(6deg); }
.tilt-l { transform: rotate(-7deg); }

/* Hero photo — rectangle, sits under the headline */
.hero-photo {
  width: clamp(220px, 28vw, 360px);
  aspect-ratio: 16 / 11;
  margin: 24px 0 0 auto;
  margin-top: -40px;
  margin-right: 4vw;
  z-index: 3;
  mix-blend-mode: difference;
  filter: contrast(1.1);
}
body.theme-light .hero-photo { mix-blend-mode: multiply; }

/* Narrative tweens — tilted photo placeholders between steps, can overlap cards */
.narrative-tween {
  display: flex; justify-content: flex-start; padding: 0 4vw;
  margin: -60px 0 -40px;
  position: relative; z-index: 1;
}
.narrative-tween.right { justify-content: flex-end; }
.narrative-tween .tilt-photo {
  width: clamp(200px, 22vw, 290px);
  aspect-ratio: 5 / 4;
  mix-blend-mode: difference;
  filter: contrast(1.05);
}
body.theme-light .narrative-tween .tilt-photo { mix-blend-mode: multiply; }

/* alt step variant — second card aligned right */
.narrative-step.alt { justify-content: flex-end; }

/* zig-zag rows: each step stretches full width, card and photo pushed to opposite edges */
.narrative-step.with-photo { justify-content: space-between; align-items: center; }
.narrative-step.with-photo .tilt-photo {
  width: clamp(200px, 22vw, 290px);
  aspect-ratio: 5 / 4;
  mix-blend-mode: difference;
  filter: contrast(1.05);
  flex-shrink: 0;
}
body.theme-light .narrative-step.with-photo .tilt-photo { mix-blend-mode: multiply; }

@media (max-width: 900px) {
  .hero-photo { margin: 32px auto 0; margin-top: 24px; width: 60vw; }
  .narrative-tween { padding: 0 32px; margin: -4vh 0; }
  .narrative-tween .tilt-photo { width: 50vw; }
}

/* ═══════════════════════════════════════════════════
   FIXED POTTER BACKGROUND — pinned full-screen, theme-aware stencil
   ═══════════════════════════════════════════════════ */
.potter-bg {
  position: fixed; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  background: var(--page-bg);
}
.potter-bg svg {
  width: min(85vw, 900px);
  height: auto;
  color: var(--stroke-color);
  filter: drop-shadow(0 0 0 transparent);
  transform: rotate(var(--spin, 0deg));
  transition: transform .2s linear;
}
.potter-bg-vignette {
  position: absolute; inset: 0;
  background: var(--vignette);
  pointer-events: none;
}
body.motion-off .potter-bg svg { transform: none !important; }

/* ═══════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 18px 36px; gap: 20px; transition: background .3s var(--ease-out), border-color .3s, backdrop-filter .3s, padding .25s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: var(--panel-translucent); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-bottom-color: var(--line); padding: 12px 36px; }
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--fg); }
.nav-logo img { height: 110px; width: auto; transition: height .25s var(--ease-out); }
.nav.scrolled .nav-logo img { height: 72px; }
.theme-dark .nav-logo .logo-dark, .theme-light .nav-logo .logo-light { display: none; }
.nav-logo .locale-tag { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--orange-500); border: 1.5px solid var(--orange-500); padding: 5px 10px; border-radius: 4px; line-height: 1; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--fg); text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; opacity: .75; transition: opacity .2s, color .2s; }
.nav-links a:hover { opacity: 1; color: var(--orange-500); }

.theme-toggle {
  width: 38px; height: 22px; border-radius: 999px; background: var(--card-bg); border: 1px solid var(--line-strong);
  position: relative; cursor: none; transition: background .2s;
}
.theme-toggle span { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--orange-500); transition: transform .25s var(--ease-out); }
body.theme-light .theme-toggle span { transform: translateX(16px); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 999px; background: var(--orange-500); color: #000;
  text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--orange-400); transform: translateY(-1px); }
.nav-cta::before { content: '('; opacity: .5; }
.nav-cta::after { content: ')'; opacity: .5; }

/* ═══════════════════════════════════════════════════
   OVERLAY (all sections sit on top of fixed bg)
   ═══════════════════════════════════════════════════ */
.overlay { position: relative; z-index: 1; }

section { position: relative; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--orange-500); margin-bottom: 18px; }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 8vw, 112px); line-height: .92; letter-spacing: -.02em; text-transform: uppercase; color: var(--fg); }

/* Panels — ALL translucent so potter bg shows end-to-end */
.panel-translucent { background: var(--panel-translucent); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.panel-solid { background: var(--panel-translucent); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.panel-solid + .panel-solid, .panel-solid + .footer { border-top: 1px solid var(--line); }
/* Newsletter + footer — fully transparent like hero, animation shows through */
.newsletter, .footer { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; }

/* ═══════════════════════════════════════════════════
   HERO — transparent so potter bg shows
   ═══════════════════════════════════════════════════ */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 110px 32px 60px; }
.hero-inner { max-width: 1280px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr; gap: 0; }
.hero-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--orange-500); margin-bottom: 22px; }
.hero-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(56px, 11vw, 180px); line-height: .85; letter-spacing: -.03em; text-transform: uppercase; color: var(--fg); }
.hero-title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--orange-500); text-transform: lowercase; letter-spacing: -.01em; }
.hero-meta { display: grid; grid-template-columns: repeat(3, max-content); gap: 48px; margin-top: 32px; }
.meta-block { border-left: 2px solid var(--orange-500); padding-left: 14px; }
.meta-label { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 6px; }
.meta-value { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: -.01em; color: var(--fg); }
.scroll-hint { position: absolute; left: 32px; bottom: 32px; font-size: 10px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--fg-dim); display: flex; align-items: center; gap: 12px; }
.hero-addr-sm { display: none; }
.hero-visit-cta { display: none; }
.theme-toggle--hero { display: none; }

/* CTA pair below hero headline — both shown in hero on all screen sizes */
.hero-cta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-cta-row .hero-visit-cta { display: inline-flex; }
.hero-prayer-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.5);
  background: transparent; color: var(--fg);
  text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s, border-color .2s, transform .2s; cursor: none;
}
.hero-prayer-cta:hover { background: rgba(255,255,255,.09); transform: translateY(-1px); }
.hero-prayer-cta:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.theme-light .hero-prayer-cta { border-color: rgba(0,0,0,.28); }
.theme-light .hero-prayer-cta:hover { background: rgba(0,0,0,.05); }
.hamburger { display: none; }
.scroll-hint .line { width: 40px; height: 1px; background: currentColor; animation: scrollLine 2s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0%,100% { transform: scaleX(.3); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } }

/* ═══════════════════════════════════════════════════
   MISSION — translucent over potter
   ═══════════════════════════════════════════════════ */
.mission { padding: 140px 32px; }
.mission-quote { font-family: var(--font-serif); font-style: italic; font-size: clamp(28px, 4vw, 56px); line-height: 1.25; letter-spacing: -.01em; max-width: 1100px; color: var(--fg); }
.mission-quote em { color: var(--orange-500); }
.mission-quote .underline { background: linear-gradient(transparent 70%, rgba(255,140,0,.45) 70%); }
.mission-ref { display: block; margin-top: 32px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--orange-500); font-style: normal; }

/* ═══════════════════════════════════════════════════
   NARRATIVE — 4 step cards floating over potter; each card sticky-ish in viewport
   ═══════════════════════════════════════════════════ */
.narrative { padding: 40px 0 80px; display: flex; flex-direction: column; gap: 0; }
.narrative-step { padding: 0 32px; display: flex; justify-content: flex-start; margin-bottom: -40px; position: relative; z-index: 2; }
.narrative-step.alt { justify-content: flex-end; }
.step-card {
  max-width: 460px;
  padding: 40px 44px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.step-card .eyebrow { color: var(--orange-500); }
.step-card h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); line-height: .98; letter-spacing: -.02em; text-transform: uppercase; color: var(--fg); }
.step-card p { margin-top: 18px; font-size: 16px; line-height: 1.55; color: var(--fg-muted); }

/* ═══════════════════════════════════════════════════
   TIMES
   ═══════════════════════════════════════════════════ */
.times { padding: 140px 32px; }
.times-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: end; margin-top: 64px; }
.service-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 80px 1fr auto; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); transition: background .3s, padding .3s; }
.service:hover { padding-left: 16px; background: linear-gradient(90deg, rgba(255,140,0,.08), transparent); }
.service-num { font-family: var(--font-mono); font-size: 12px; color: var(--fg-dim); }
.service-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 36px); text-transform: uppercase; letter-spacing: -.01em; color: var(--fg); }
.service-time { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 36px); color: var(--orange-500); letter-spacing: -.01em; }
.service-time--note { font-size: 16px !important; color: var(--fg-dim) !important; font-family: var(--font-body) !important; font-weight: 500 !important; text-transform: none; letter-spacing: 0; }
.location-card { background: var(--orange-500); color: #000; padding: 40px; border-radius: 16px; }
.location-card .label { font-size: 10px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; opacity: .7; margin-bottom: 14px; }
.location-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 32px; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; color: #000; }
.location-card p { margin-top: 12px; font-size: 15px; opacity: .85; line-height: 1.5; }
.location-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: #000; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1.5px solid #000; padding-bottom: 4px; }

/* ═══════════════════════════════════════════════════
   GALLERY — infinite marquee
   ═══════════════════════════════════════════════════ */
@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.gallery { padding: 140px 0; overflow: hidden; }
.gallery-head { margin-bottom: 60px; }
.gallery-strip {
  display: flex; gap: 24px; padding: 0;
  will-change: transform;
  animation: gallery-scroll 22s linear infinite;
}
body.motion-off .gallery-strip { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .gallery-strip { animation-play-state: paused; } }

/* gallery full-page link */
.gallery-more-link { padding: 0 40px; margin-top: 48px; }
.gallery-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  border: 1.5px solid var(--card-border);
  color: var(--fg); text-decoration: none;
  font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  transition: border-color .2s, color .2s, background .2s;
  cursor: none;
}
.gallery-cta:hover { border-color: var(--orange-500); color: var(--orange-500); }
.gallery-cta .arrow { font-size: 14px; transition: transform .25s var(--ease-out); }
.gallery-cta:hover .arrow { transform: translateX(4px); }
.gallery-card { flex: none; border-radius: 12px; overflow: hidden; position: relative; }
.gallery-card.tall { width: 320px; height: 440px; }
.gallery-card.wide { width: 480px; height: 340px; }
.gallery-card.sq { width: 360px; height: 360px; }
.gallery-card .ph { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 22px; color: #fff; }
.gallery-card .ph::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent 55%); }
.gallery-card .ph .lbl { position: relative; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-1 { background: linear-gradient(135deg, #2a2a2a, #1a1a1a); }
.placeholder-2 { background: linear-gradient(135deg, var(--orange-700), var(--orange-900)); }
.placeholder-3 { background: linear-gradient(135deg, #4a4a4a, #2a2a2a); }
.placeholder-4 { background: linear-gradient(135deg, var(--orange-500), var(--orange-700)); }

/* ═══════════════════════════════════════════════════
   GROUPS
   ═══════════════════════════════════════════════════ */
.groups { padding: 140px 32px; }
.groups-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.group-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 36px; transition: transform .35s var(--ease-out), background .3s; display: flex; flex-direction: column; gap: 16px; min-height: 380px; text-decoration: none; color: var(--fg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.group-card:hover { transform: translateY(-4px); }
.group-card.featured { background: var(--orange-500); color: #000; border: none; }
.group-card.featured .meta-label, .group-card.featured .arrow { color: rgba(0,0,0,.7); }
.group-card.featured h3 { color: #000; }
.group-card.featured p { color: rgba(0,0,0,.85); }
.group-card.whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; border: none; }
.group-card.whatsapp .meta-label, .group-card.whatsapp .arrow { color: rgba(255,255,255,.85); }
.group-card.whatsapp h3, .group-card.whatsapp p { color: #fff; }
.group-card .meta-label { font-size: 10px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--orange-500); }
.group-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.group-card p { font-size: 15px; line-height: 1.55; color: var(--fg-muted); flex: 1; }
.group-card .arrow { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--orange-500); display: inline-flex; align-items: center; gap: 8px; }
.group-card .arrow::before { content: '('; opacity: .5; }
.group-card .arrow::after { content: ')'; opacity: .5; }

/* ═══════════════════════════════════════════════════
   PRAYER
   ═══════════════════════════════════════════════════ */
.prayer { padding: 140px 32px; }
.prayer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 64px; }
.prayer-copy h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 6vw, 88px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase; color: var(--fg); }
.prayer-copy h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: lowercase; color: var(--orange-500); letter-spacing: -.01em; }
.prayer-copy p { margin-top: 28px; font-size: 17px; line-height: 1.6; color: var(--fg-muted); max-width: 460px; }
.prayer-team { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; }
.prayer-avatars { display: flex; }
.prayer-avatars .av { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--page-bg); margin-left: -10px; }
.prayer-avatars .av:first-child { margin-left: 0; }
.av-1 { background: linear-gradient(135deg, #FFB85F, #FF8C00); }
.av-2 { background: linear-gradient(135deg, #804400, #4D2900); }
.av-3 { background: linear-gradient(135deg, #FFA22B, #B35F00); }
.av-4 { background: linear-gradient(135deg, #FFCF93, #FF8C00); }
.prayer-team-meta { font-size: 13px; color: var(--fg-muted); line-height: 1.5; }
.prayer-team-meta strong { color: var(--fg); }

.prayer-form { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 36px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.prayer-form .field { margin-bottom: 18px; }
.prayer-form label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 8px; }
.prayer-form input, .prayer-form textarea { width: 100%; padding: 14px 16px; background: var(--card-bg); border: 1.5px solid var(--card-border); border-radius: 8px; color: var(--fg); font-family: inherit; font-size: 15px; transition: border-color .2s; }
.prayer-form input::placeholder, .prayer-form textarea::placeholder { color: var(--fg-dim); }
.prayer-form input:focus, .prayer-form textarea:focus { outline: none; border-color: var(--orange-500); }
.prayer-form textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.prayer-form .check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fg-muted); cursor: none; margin-bottom: 6px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.prayer-form .check input { width: 16px; height: 16px; accent-color: var(--orange-500); }
.prayer-submit { width: 100%; padding: 18px; background: var(--orange-500); color: #000; border: none; border-radius: 999px; font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-top: 12px; transition: background .2s; cursor: none; }
.prayer-submit:hover { background: var(--orange-400); }
.prayer-submit::before { content: '('; margin-right: 6px; opacity: .6; }
.prayer-submit::after { content: ')'; margin-left: 6px; opacity: .6; }
.prayer-submit.sent { background: #2BB673; color: #fff; }

/* ═══════════════════════════════════════════════════
   GIVE — Zelle
   ═══════════════════════════════════════════════════ */
.give { padding: 120px 32px; }
.give-card { max-width: 1280px; margin: 0 auto; background: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-500) 50%, var(--orange-300) 100%); border-radius: 24px; padding: 80px 60px; color: #000; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.give-copy h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(48px, 6vw, 88px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase; color: #000; }
.give-copy p { margin-top: 18px; font-size: 17px; line-height: 1.55; color: rgba(0,0,0,.78); max-width: 460px; }
.give-eyebrow { color: rgba(0,0,0,.55) !important; }
.give-actions { display: flex; flex-direction: column; gap: 14px; }
.zelle-card { background: #000; color: #fff; border-radius: 16px; padding: 26px; }
.zelle-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.zelle-tag { display: inline-flex; align-items: center; gap: 6px; background: #6D1ED4; color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.zelle-label { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .55; }
.zelle-email { font-family: var(--font-mono); font-size: 18px; padding: 16px; background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.2); border-radius: 8px; word-break: break-all; margin-bottom: 12px; }
.zelle-copy { width: 100%; padding: 14px; background: var(--orange-500); color: #000; border: none; border-radius: 999px; font-family: inherit; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; cursor: none; transition: background .2s; }
.zelle-copy:hover { background: var(--orange-400); }
.recur { display: inline-flex; align-items: center; justify-content: center; padding: 18px; background: transparent; color: #000; border: 1.5px solid #000; border-radius: 999px; text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; transition: background .2s, color .2s; }
.recur:hover { background: #000; color: var(--orange-500); }

/* ═══════════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════════ */
.newsletter { padding: 100px 32px; }
.newsletter-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.newsletter h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; color: var(--fg); }
.newsletter p { margin-top: 18px; font-size: 16px; color: var(--fg-muted); }
.newsletter form { display: flex; gap: 8px; margin: 36px auto 0; max-width: 520px; }
.newsletter input { flex: 1; padding: 18px 22px; background: var(--card-bg); border: 1.5px solid var(--card-border); border-radius: 999px; color: var(--fg); font-family: inherit; font-size: 15px; }
.newsletter input::placeholder { color: var(--fg-dim); }
.newsletter input:focus { outline: none; border-color: var(--orange-500); }
.newsletter button { padding: 0 28px; background: var(--orange-500); color: #000; border: none; border-radius: 999px; font-family: inherit; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; cursor: none; transition: background .2s; }
.newsletter button:hover { background: var(--orange-400); }

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer { padding: 70px 32px 30px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 88px; margin-bottom: 18px; }
.theme-dark .footer .logo-dark, .theme-light .footer .logo-light { display: none; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: var(--fg-dim); max-width: 320px; }
.footer-col h4 { font-size: 10px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--orange-500); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--fg); text-decoration: none; font-size: 14px; transition: color .2s; opacity: .85; }
.footer-col a:hover { color: var(--orange-500); opacity: 1; }
.footer-col li { color: var(--fg-muted); font-size: 14px; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim); }

/* ═══════════════════════════════════════════════════
   PASTORS
   ═══════════════════════════════════════════════════ */
.pastors { padding: 100px 32px; }
.pastors-intro { margin-top: 20px; max-width: 580px; font-size: 16px; line-height: 1.6; color: var(--fg-muted); }
.pastors-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 760px; }
.pastor-card { display: flex; flex-direction: column; gap: 20px; }
.pastor-photo {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, var(--orange-700), var(--orange-900)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 8px, transparent 8px 16px);
  background-blend-mode: overlay;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
  will-change: transform;
}
.pastor-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.5) 100%);
  pointer-events: none;
}
.pastor-photo .ph-lbl {
  position: absolute; left: 14px; bottom: 12px;
  font-size: 9px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.9); z-index: 2;
}
.pastor-meta .meta-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--orange-500); margin-bottom: 8px; }
.pastor-meta h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); line-height: .95; letter-spacing: -.02em; text-transform: uppercase; color: var(--fg); }
.pastor-meta p { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--fg-muted); }

/* ═══════════════════════════════════════════════════
   Force theme colors past colors_and_type.css
   ═══════════════════════════════════════════════════ */
.overlay h1, .overlay h2, .overlay h3, .overlay h4 { color: var(--fg); }
.overlay p { color: inherit; }
/* exceptions: cards with their own bg colors */
.location-card h1, .location-card h2, .location-card h3, .location-card h4, .location-card p { color: #000; }
.give-card h1, .give-card h2, .give-card h3, .give-card h4 { color: #000; }
.group-card.featured h1, .group-card.featured h2, .group-card.featured h3 { color: #000; }
.group-card.whatsapp h1, .group-card.whatsapp h2, .group-card.whatsapp h3 { color: #fff; }

/* ═══════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Nav — centered big logo, no toggle */
  .nav { padding: 0 16px; gap: 0; flex-wrap: wrap; justify-content: center; position: relative; }
  .nav.scrolled { padding: 0 16px; }
  .nav-logo { order: 1; flex: 1 1 100%; justify-content: center; gap: 10px; margin-bottom: 0; }
  .nav-logo img { height: 110px; }
  .nav.scrolled .nav-logo img { height: 64px; }
  .nav-logo .locale-tag { font-size: 11px; padding: 5px 9px; }
  .nav-links { display: none; }
  /* Toggle hidden from nav on mobile — lives in hero instead */
  .nav .theme-toggle { display: none; }
  /* CTA hidden from nav on mobile — lives in hero instead */
  .nav .nav-cta { display: none; }

  /* Hamburger button — top-left in nav */
  .hamburger {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    padding: 8px; z-index: 10;
    width: 32px; height: 32px;
    background: none; border: none; outline: none; -webkit-appearance: none; appearance: none;
  }
  .hamburger span {
    display: block; width: 18px; height: 1.5px;
    background: var(--fg);
    transition: transform 0.25s var(--ease-out), opacity 0.2s;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

  /* Nav drawer — shown when nav has nav-open class */
  .nav.nav-open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    flex: 0 0 100%; order: 2;
    padding: 10px 0 14px;
    border-top: 1px solid var(--line);
  }
  .nav.nav-open .nav-links a {
    padding: 11px 4px;
    font-size: 12px; letter-spacing: .14em;
    border-bottom: 1px solid var(--line);
    opacity: .8;
  }
  .nav.nav-open .nav-links a:last-child { border-bottom: none; }

  /* Hero toggle — visible on mobile, sits above the eyebrow */
  .theme-toggle--hero { display: block; position: relative; width: 38px; height: 22px; margin-bottom: 14px; }
  .theme-toggle--hero span { width: 16px; height: 16px; }
  body.theme-light .theme-toggle--hero span { transform: translateX(16px); }

  /* Bigger potter scene on mobile so it reads as the hero backdrop */
  .potter-bg svg { width: 130vw; max-width: none; }
  /* Light theme: darker stroke + thinner vignette so the animation reads clearly */
  body.theme-light .potter-bg svg { color: rgba(0,0,0,.72); }
  body.theme-light .potter-bg-vignette { background: radial-gradient(ellipse at center, transparent 20%, rgba(250,250,249,.22) 100%); }
  /* Dark theme: remove panel blur so the potter animation shows through while scrolling */
  body.theme-dark .panel-translucent,
  body.theme-dark .panel-solid { backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* Hero — top pad accounts for bigger logo nav (~112px) */
  .hero { padding: 112px 20px 60px; min-height: 100vh; justify-content: flex-start; }
  .hero-inner { gap: 0; }
  .hero-eyebrow { font-size: 11px; letter-spacing: .22em; margin-bottom: 14px; }

  /* Three-line title: MOLDADOS / pelo / OLEIRO — hide the <br>, make <em> block */
  .hero-title { font-size: clamp(36px, 11vw, 68px); line-height: .88; position: relative; z-index: 5; }
  .hero-title br { display: none; }
  .hero-title em { display: block; }

  /* Smaller photo, pulled up so OLEIRO overlaps its top edge */
  .hero-photo {
    width: 80vw; aspect-ratio: 16/11;
    margin: -40px auto 0;
    z-index: 3;
  }
  /* Dark gradient at top of photo — makes OLEIRO readable when it overlaps */
  .hero-photo::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 55%;
    background: linear-gradient(to bottom, rgba(0,0,0,.62), transparent);
    z-index: 1; pointer-events: none;
  }
  /* Light theme: swap to a page-colored overlay so dark text stays readable */
  body.theme-light .hero-photo::before {
    background: linear-gradient(to bottom, rgba(250,250,249,.88), transparent 70%);
  }

  /* Sub-headline — pushed lower for better vertical centering */
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 64px; }
  .hero-meta .meta-block:last-child { grid-column: 1 / -1; }
  .meta-value { font-size: 16px; white-space: nowrap; }

  /* Address — mobile only */
  .hero-addr-sm {
    display: block; margin-top: 14px;
    font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    color: var(--fg-dim); text-decoration: none;
    border-bottom: 1px solid var(--line); padding-bottom: 2px;
    align-self: start;
  }
  .hero-addr-sm:hover { color: var(--orange-500); border-color: var(--orange-500); }

  /* CTA row — stack vertically on mobile */
  .hero-cta-row { margin-top: 24px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-visit-cta { display: inline-flex; padding: 12px 22px; font-size: 11px; letter-spacing: .14em; }
  .hero-prayer-cta { padding: 12px 22px; font-size: 11px; letter-spacing: .14em; }

  .scroll-hint { left: 20px; bottom: 20px; }

  .mission { padding: 80px 20px; }
  .mission-quote { font-size: clamp(22px, 6vw, 32px); }

  .narrative { padding: 40px 0 60px; }
  .narrative-step { padding: 0 20px; margin-bottom: -24px; }
  .narrative-step.alt { justify-content: flex-start; }
  .step-card { padding: 28px 24px; max-width: 100%; border-radius: 14px; }
  .step-card h2 { font-size: clamp(22px, 6vw, 30px); }
  .step-card p { font-size: 14px; }
  .narrative-tween { padding: 0 20px; margin: -20px 0; }
  .narrative-tween, .narrative-tween.right { justify-content: center; }
  .narrative-tween .tilt-photo { width: 55vw; aspect-ratio: 5/4; }
  .narrative-step.with-photo { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; }
  .narrative-step.with-photo .step-card { order: 0; }
  .narrative-step.with-photo .tilt-photo { order: 1; width: 55vw; aspect-ratio: 5/4; align-self: center; margin-top: -20px; }

  .pastors { padding: 64px 20px; }
  .pastors .section-title { font-size: clamp(16px, 5vw, 22px); letter-spacing: -.03em; }
  .pastors-grid { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
  .pastor-photo { max-width: 100%; }
  .pastor-meta h3 { font-size: 22px; }
  .pastor-meta p { font-size: 13px; }

  .times, .groups, .prayer, .gallery, .give, .newsletter { padding: 80px 20px; }
  /* Remove wrap's own horizontal padding — section already handles it */
  .wrap { padding-left: 0; padding-right: 0; }
  .section-title { font-size: clamp(38px, 10vw, 60px); }
  .times-grid, .prayer-grid { grid-template-columns: 1fr; gap: 36px; }
  /* Service rows: drop number column, 2-col layout, smaller text */
  .service { grid-template-columns: 1fr auto; gap: 12px; padding: 20px 0; }
  .service-num { display: none; }
  .service-name { font-size: clamp(14px, 3.6vw, 19px); }
  .service-time { font-size: clamp(14px, 3.6vw, 19px); }
  .location-card { padding: 28px 22px; }
  .location-card h3 { font-size: 18px; }

  .gallery-card.tall { width: 220px; height: 300px; }
  .gallery-card.wide { width: 320px; height: 220px; }
  .gallery-card.sq { width: 240px; height: 240px; }

  .groups-grid { grid-template-columns: 1fr; gap: 14px; }
  .group-card { padding: 28px 24px; min-height: 280px; }
  .group-card h3 { font-size: 24px; }

  .prayer-copy h2 { font-size: clamp(40px, 11vw, 64px); }
  .prayer-form { padding: 24px; }

  .give-card { grid-template-columns: 1fr; padding: 48px 28px; gap: 32px; border-radius: 18px; }
  .give-copy h2 { font-size: clamp(40px, 11vw, 64px); }
  .zelle-card { padding: 22px; }
  .zelle-email { font-size: 15px; padding: 14px; }

  .newsletter h2 { font-size: clamp(32px, 9vw, 48px); }
  .newsletter form { flex-direction: column; gap: 10px; }
  .newsletter input, .newsletter button { padding: 16px 20px; }

  .footer { padding: 56px 20px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { height: 78px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }

  .social-rail { left: auto; right: 14px; bottom: 14px; flex-direction: row; padding: 6px 10px; gap: 8px; }
  .social-rail a { width: 30px; height: 30px; }
}
