/* MEVAM Sorocaba — shadcn-inspired tokens */

:root {
  --radius: 0.75rem;
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", "Georgia", serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;

  /* light defaults — neutral with deep blue */
  --background: oklch(0.99 0.003 250);
  --foreground: oklch(0.18 0.015 250);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.18 0.015 250);
  --muted: oklch(0.96 0.006 250);
  --muted-foreground: oklch(0.5 0.012 250);
  --border: oklch(0.91 0.006 250);
  --input: oklch(0.93 0.006 250);
  --ring: oklch(0.45 0.16 255);
  --primary: oklch(0.42 0.16 258);
  --primary-foreground: oklch(0.99 0 0);
  --accent: oklch(0.95 0.018 258);
  --accent-foreground: oklch(0.25 0.08 258);
  --destructive: oklch(0.55 0.2 25);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.04);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.04);
  --shadow-md: 0 4px 16px -2px rgb(0 0 0 / 0.08), 0 2px 6px -2px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 20px 50px -12px rgb(0 0 0 / 0.18);
}

:root.dark {
  --background: oklch(0.14 0.012 252);
  --foreground: oklch(0.98 0.003 250);
  --card: oklch(0.17 0.013 252);
  --card-foreground: oklch(0.98 0.003 250);
  --muted: oklch(0.21 0.012 252);
  --muted-foreground: oklch(0.68 0.012 252);
  --border: oklch(0.27 0.012 252);
  --input: oklch(0.24 0.012 252);
  --ring: oklch(0.7 0.16 258);
  --primary: oklch(0.72 0.14 258);
  --primary-foreground: oklch(0.14 0.012 252);
  --accent: oklch(0.24 0.04 258);
  --accent-foreground: oklch(0.92 0.04 258);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.3), 0 1px 2px -1px rgb(0 0 0 / 0.2);
  --shadow-md: 0 4px 16px -2px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 20px 50px -12px rgb(0 0 0 / 0.6);
}

/* palette variants (light) */
:root[data-palette="burgundy"] { --primary: oklch(0.42 0.14 18); --ring: oklch(0.45 0.14 18); --accent: oklch(0.95 0.016 18); --accent-foreground: oklch(0.3 0.1 18); }
:root[data-palette="amber"]    { --primary: oklch(0.55 0.15 60); --ring: oklch(0.58 0.15 60); --accent: oklch(0.96 0.02 80);  --accent-foreground: oklch(0.35 0.1 60); }
:root[data-palette="emerald"]  { --primary: oklch(0.45 0.13 160);--ring: oklch(0.48 0.13 160);--accent: oklch(0.96 0.018 160);--accent-foreground: oklch(0.3 0.1 160); }
:root[data-palette="charcoal"] { --primary: oklch(0.22 0.01 250);--ring: oklch(0.3 0.01 250); --accent: oklch(0.95 0.004 250);--accent-foreground: oklch(0.2 0.01 250); }

/* dark variants */
:root.dark[data-palette="burgundy"] { --primary: oklch(0.72 0.13 18);  --ring: oklch(0.7 0.13 18); --accent: oklch(0.25 0.04 18); --accent-foreground: oklch(0.92 0.04 18); }
:root.dark[data-palette="amber"]    { --primary: oklch(0.78 0.14 70);  --ring: oklch(0.76 0.14 70); --accent: oklch(0.25 0.04 70); --accent-foreground: oklch(0.95 0.04 70); }
:root.dark[data-palette="emerald"]  { --primary: oklch(0.72 0.12 160); --ring: oklch(0.7 0.12 160);--accent: oklch(0.25 0.04 160);--accent-foreground: oklch(0.92 0.04 160); }
:root.dark[data-palette="charcoal"] { --primary: oklch(0.92 0.003 250);--ring: oklch(0.92 0.003 250);--accent: oklch(0.25 0.004 250);--accent-foreground: oklch(0.92 0.003 250); }

/* font pair variants */
:root[data-fontpair="geist-instrument"] { --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif; --font-serif: "Instrument Serif", Georgia, serif; }
:root[data-fontpair="jakarta-bricolage"] { --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; --font-serif: "Bricolage Grotesque", Georgia, serif; }
:root[data-fontpair="dmsans-newsreader"] { --font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif; --font-serif: "Newsreader", Georgia, serif; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { color-scheme: light; }
html.dark { color-scheme: dark; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--primary); color: var(--primary-foreground); }

/* utilities */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; }
.muted { color: var(--muted-foreground); }
.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
.eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-foreground); font-weight: 500; }
.divider { height: 1px; background: var(--border); }

/* buttons (shadcn-ish) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: var(--radius); font-weight: 500; font-size: 14px; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s, transform .1s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-lg svg { width: 18px; height: 18px; }
.btn-sm svg { width: 14px; height: 14px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: color-mix(in oklch, var(--primary) 88%, black); }
.btn-outline { background: transparent; color: var(--foreground); border-color: var(--border); }
.btn-outline:hover { background: var(--muted); }
.btn-ghost { background: transparent; color: var(--foreground); }
.btn-ghost:hover { background: var(--muted); }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }

/* card */
.card { background: var(--card); color: var(--card-foreground); border: 1px solid var(--border); border-radius: var(--radius); }

/* HEADER NAV */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); background: color-mix(in oklch, var(--background) 78%, transparent); border-bottom: 1px solid color-mix(in oklch, var(--border) 65%, transparent); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; font-size: 16px; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--primary); color: var(--primary-foreground); display: grid; place-items: center; font-weight: 700; font-size: 12px; letter-spacing: 0.02em; font-family: var(--font-sans); }
.brand-logo { height: 117px; width: auto; object-fit: contain; display: block; }
.brand small { color: var(--muted-foreground); font-weight: 400; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; display: block; line-height: 1; margin-top: 2px;}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link { padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--muted-foreground); transition: color .15s, background .15s; font-weight: 500; }
.nav-link:hover { color: var(--foreground); background: var(--muted); }
.nav-link.active { color: var(--foreground); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--foreground); display: grid; place-items: center; transition: background .15s; }
.icon-btn:hover { background: var(--muted); }
.icon-btn svg { width: 16px; height: 16px; }
.mobile-toggle { display: none; }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .mobile-toggle { display: grid; }
  .nav-actions .btn { display: none; }
  .mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 12px 24px 20px; border-top: 1px solid var(--border); background: var(--background); }
  .mobile-menu .nav-link { padding: 12px; font-size: 16px; }
}

/* FOOTER */
.site-footer { border-top: 1px solid var(--border); margin-top: 96px; padding: 64px 0 40px; background: color-mix(in oklch, var(--muted) 50%, var(--background)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-grid h4 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); margin: 0 0 14px; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--muted-foreground); font-size: 14px; }
.footer-grid a:hover { color: var(--foreground); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; color: var(--muted-foreground); font-size: 13px; }

/* WHATSAPP FLOATING */
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 999px; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgb(37 211 102 / 0.5), 0 2px 6px rgb(0 0 0 / 0.15); border: none; transition: transform .2s, box-shadow .2s; }
.wa-fab:hover { transform: translateY(-2px) scale(1.04); }
.wa-fab svg { width: 26px; height: 26px; }
.wa-fab::after { content: ""; position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 0 rgb(37 211 102 / 0.5); animation: wa-ping 2.4s ease-out infinite; pointer-events: none; }
@keyframes wa-ping { 0% { box-shadow: 0 0 0 0 rgb(37 211 102 / 0.4); } 80%, 100% { box-shadow: 0 0 0 18px rgb(37 211 102 / 0); } }
.wa-tooltip { position: fixed; right: 88px; bottom: 32px; z-index: 60; background: var(--foreground); color: var(--background); padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 500; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transform: translateX(8px); transition: opacity .2s, transform .2s; }
.wa-fab:hover + .wa-tooltip { opacity: 1; transform: translateX(0); }

/* PAGE HEADER */
.page-header { padding: 88px 0 56px; border-bottom: 1px solid var(--border); }
.page-header h1 { font-family: var(--font-serif); font-size: clamp(48px, 6vw, 72px); line-height: 1; margin: 12px 0 16px; font-weight: 400; letter-spacing: -0.02em; }
.page-header p { color: var(--muted-foreground); font-size: 18px; max-width: 640px; margin: 0; }

/* HERO SLIDESHOW */
.hero { position: relative; height: min(86vh, 760px); min-height: 560px; overflow: hidden; background: var(--muted); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide .hero-img { position: absolute; inset: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0.35) 0%, rgb(0 0 0 / 0.15) 35%, rgb(0 0 0 / 0.65) 100%); }
.hero-content { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 0 0 96px; color: #fff; }
.hero-content .container { width: 100%; }
.hero-eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgb(255 255 255 / 0.85); margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px; }
.hero-eyebrow::before { content: ""; width: 24px; height: 1px; background: rgb(255 255 255 / 0.6); }
.hero h1 { font-family: var(--font-serif); font-size: clamp(56px, 7vw, 104px); line-height: 0.95; margin: 0 0 20px; font-weight: 400; letter-spacing: -0.025em; max-width: 14ch; }
.hero h1 em { font-style: italic; color: color-mix(in oklch, var(--primary) 70%, white); }
.hero .lead { font-size: clamp(16px, 1.4vw, 19px); max-width: 540px; color: rgb(255 255 255 / 0.88); margin: 0 0 32px; line-height: 1.5; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-primary { background: #fff; color: #111; border-color: #fff; }
.hero .btn-primary:hover { background: #f1f1f1; }
.hero .btn-outline { color: #fff; border-color: rgb(255 255 255 / 0.45); background: rgb(255 255 255 / 0.08); backdrop-filter: blur(6px); }
.hero .btn-outline:hover { background: rgb(255 255 255 / 0.18); }

.hero-controls { position: absolute; bottom: 28px; right: 28px; z-index: 3; display: flex; align-items: center; gap: 14px; color: #fff; }
.hero-dots { display: flex; gap: 6px; }
.hero-dot { width: 22px; height: 2px; background: rgb(255 255 255 / 0.35); border-radius: 2px; transition: background .2s, width .3s; border: none; padding: 0; }
.hero-dot.active { background: #fff; width: 44px; }
.hero-counter { font-size: 12px; font-variant-numeric: tabular-nums; color: rgb(255 255 255 / 0.7); letter-spacing: 0.04em; }
.hero-arrows { display: flex; gap: 6px; }
.hero-arrow { width: 38px; height: 38px; border-radius: 999px; background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.25); color: #fff; display: grid; place-items: center; transition: background .15s; }
.hero-arrow:hover { background: rgb(255 255 255 / 0.2); }
.hero-arrow svg { width: 16px; height: 16px; }

/* hero header style variants */
.hero[data-style="static"] .hero-slide:not(.active) { display: none; }
.hero[data-style="static"] .hero-controls { display: none; }
.hero[data-style="split"] { height: auto; min-height: 0; }
.hero[data-style="split"] .hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.hero[data-style="split"] .hero-split-text { padding: 96px 64px; background: var(--background); color: var(--foreground); display: flex; flex-direction: column; justify-content: center; }
.hero[data-style="split"] .hero-split-img { position: relative; overflow: hidden; }
.hero[data-style="split"] .hero-eyebrow { color: var(--muted-foreground); }
.hero[data-style="split"] .hero-eyebrow::before { background: var(--border); }
.hero[data-style="split"] .lead { color: var(--muted-foreground); }
.hero[data-style="split"] .btn-primary { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.hero[data-style="split"] .btn-outline { background: transparent; color: var(--foreground); border-color: var(--border); backdrop-filter: none; }
@media (max-width: 800px) { .hero[data-style="split"] .hero-split { grid-template-columns: 1fr; } .hero[data-style="split"] .hero-split-img { min-height: 360px; } .hero[data-style="split"] .hero-split-text { padding: 64px 24px; } }

/* SECTION */
section.section { padding: 96px 0; }
section.section.tight { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head .left { max-width: 640px; }
.section-head h2 { font-family: var(--font-serif); font-size: clamp(36px, 4vw, 56px); line-height: 1; margin: 12px 0 16px; font-weight: 400; letter-spacing: -0.02em; }
.section-head p { color: var(--muted-foreground); font-size: 17px; margin: 0; max-width: 560px; }

/* PLACEHOLDER IMAGES */
.ph { position: relative; width: 100%; height: 100%; min-height: 200px; background: var(--muted); overflow: hidden; }
.ph-inner { position: absolute; inset: 0; background-image:
  repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in oklch, var(--foreground) 4%, transparent) 14px 15px),
  linear-gradient(135deg, color-mix(in oklch, var(--primary) 18%, var(--muted)) 0%, color-mix(in oklch, var(--primary) 6%, var(--muted)) 100%);
}
.ph[data-tone="dark"] .ph-inner { background-image:
  repeating-linear-gradient(135deg, transparent 0 14px, rgb(255 255 255 / 0.05) 14px 15px),
  linear-gradient(135deg, oklch(0.25 0.07 258) 0%, oklch(0.18 0.04 258) 100%);
}
.ph[data-tone="warm"] .ph-inner { background-image:
  repeating-linear-gradient(135deg, transparent 0 14px, rgb(255 255 255 / 0.06) 14px 15px),
  linear-gradient(135deg, oklch(0.35 0.08 50) 0%, oklch(0.22 0.05 30) 100%);
}
.ph-label { position: absolute; left: 14px; bottom: 12px; right: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; color: rgb(255 255 255 / 0.78); text-transform: lowercase; }
.ph-label::before { content: "▢ "; opacity: 0.6; }

/* EVENT CARDS */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .event-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .event-grid { grid-template-columns: 1fr; } }

.event-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
.event-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: color-mix(in oklch, var(--primary) 30%, var(--border)); }
.event-card .ph { aspect-ratio: 16/10; min-height: 0; }
.event-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.event-tag { display: inline-flex; align-items: center; padding: 3px 10px; background: var(--accent); color: var(--accent-foreground); border-radius: 999px; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; width: fit-content; }
.event-title { font-family: var(--font-serif); font-size: 24px; line-height: 1.15; margin: 0; font-weight: 400; letter-spacing: -0.01em; }
.event-meta { display: flex; flex-direction: column; gap: 6px; color: var(--muted-foreground); font-size: 13px; margin-top: 4px; }
.event-meta div { display: flex; gap: 8px; align-items: center; }
.event-meta svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.7; }
.event-card .event-foot { padding: 0 20px 20px; margin-top: auto; display: flex; gap: 8px; }

/* EVENT — featured (alternating) */
.event-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; background: var(--card); }
.event-feature:nth-child(even) { grid-template-columns: 1fr 1.1fr; direction: rtl; }
.event-feature:nth-child(even) > * { direction: ltr; }
.event-feature .ph { min-height: 360px; }
.event-feature .event-body { padding: 48px; gap: 16px; justify-content: center; }
.event-feature .event-title { font-size: 36px; line-height: 1.1; }
.event-feature .event-body p { color: var(--muted-foreground); margin: 0; }
@media (max-width: 800px) { .event-feature, .event-feature:nth-child(even) { grid-template-columns: 1fr; direction: ltr; } .event-feature .event-body { padding: 28px; } .event-feature .event-title { font-size: 28px; } }

/* DOAÇÃO / PIX */
.pix-card { background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); padding: 40px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; box-shadow: var(--shadow); }
@media (max-width: 800px) { .pix-card { grid-template-columns: 1fr; padding: 28px; } }
.pix-qr { aspect-ratio: 1; max-width: 280px; background: #fff; padding: 16px; border-radius: 12px; border: 1px solid var(--border); margin: 0 auto; box-shadow: var(--shadow); }
.pix-copy { display: flex; gap: 8px; padding: 10px 14px; border: 1px dashed var(--border); border-radius: 10px; font-family: var(--font-mono); font-size: 13px; background: var(--muted); align-items: center; justify-content: space-between; }
.pix-copy button { background: transparent; border: 0; color: var(--primary); font-weight: 500; font-size: 13px; padding: 2px 6px; }

/* MINISTRY / SOBRE values */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 800px) { .values-grid { grid-template-columns: 1fr; } }
.value-item { padding: 36px 28px; border-right: 1px solid var(--border); }
.value-item:last-child { border-right: 0; }
@media (max-width: 800px) { .value-item { border-right: 0; border-bottom: 1px solid var(--border); } .value-item:last-child { border-bottom: 0; } }
.value-item .num { font-family: var(--font-mono); font-size: 11px; color: var(--muted-foreground); letter-spacing: 0.08em; }
.value-item h3 { font-family: var(--font-serif); font-size: 28px; margin: 12px 0 10px; font-weight: 400; letter-spacing: -0.01em; }
.value-item p { color: var(--muted-foreground); margin: 0; font-size: 15px; }

/* TIMES / CULTOS LIST */
.cult-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .cult-list { grid-template-columns: 1fr; } }
.cult-item { padding: 24px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.cult-item .day { font-family: var(--font-mono); font-size: 11px; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 0.08em; }
.cult-item h4 { font-family: var(--font-serif); font-size: 24px; margin: 8px 0 4px; font-weight: 400; }
.cult-item .time { color: var(--primary); font-weight: 500; font-size: 14px; }

/* LEADERSHIP */
.lead-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 960px) { .lead-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lead-grid { grid-template-columns: 1fr; } }
.lead-card { display: flex; flex-direction: column; gap: 14px; }
.lead-card .ph { aspect-ratio: 3/4; border-radius: var(--radius); min-height: 0; }
.lead-card h3 { font-family: var(--font-serif); font-size: 22px; margin: 0; font-weight: 400; letter-spacing: -0.01em; }
.lead-card .role { font-size: 13px; color: var(--muted-foreground); margin: 0; }
.lead-builder-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: var(--accent); color: var(--accent-foreground); border-radius: 999px; font-size: 11px; font-weight: 500; width: fit-content; }
.lead-builder-pill::before { content: ""; width: 5px; height: 5px; border-radius: 999px; background: var(--primary); }

/* MINISTRY (YOUTUBE) */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .video-grid { grid-template-columns: 1fr; } }
.video-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; cursor: pointer; }
.video-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.video-thumb { position: relative; aspect-ratio: 16/9; }
.video-thumb .play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-thumb .play span { width: 60px; height: 60px; border-radius: 999px; background: rgb(255 255 255 / 0.95); display: grid; place-items: center; box-shadow: var(--shadow-md); transition: transform .2s; }
.video-card:hover .play span { transform: scale(1.08); }
.video-thumb .play svg { width: 22px; height: 22px; fill: #111; margin-left: 3px; }
.video-thumb .dur { position: absolute; bottom: 10px; right: 10px; background: rgb(0 0 0 / 0.78); color: #fff; padding: 2px 8px; border-radius: 5px; font-size: 11px; font-variant-numeric: tabular-nums; }
.video-body { padding: 18px 20px 20px; }
.video-body h3 { font-size: 16px; margin: 0 0 6px; font-weight: 500; line-height: 1.3; }
.video-body p { font-size: 13px; color: var(--muted-foreground); margin: 0; display: flex; gap: 8px; align-items: center; }

.video-featured { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 48px; display: grid; grid-template-columns: 1.4fr 1fr; }
@media (max-width: 800px) { .video-featured { grid-template-columns: 1fr; } }
.video-featured .video-thumb { aspect-ratio: auto; min-height: 340px; }
.video-featured .video-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.video-featured h2 { font-family: var(--font-serif); font-size: 36px; font-weight: 400; margin: 12px 0 14px; line-height: 1.1; letter-spacing: -0.01em; }
.video-featured p { font-size: 15px; line-height: 1.6; }

/* FORM */
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
@media (max-width: 600px) { .form-card { padding: 24px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 500; }
.field input, .field textarea, .field select {
  height: 44px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--background); color: var(--foreground); font: inherit; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; height: auto; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ring); box-shadow: 0 0 0 3px color-mix(in oklch, var(--ring) 18%, transparent); }
.field .hint { font-size: 12px; color: var(--muted-foreground); }

/* CONTACT INFO */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info .row { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .row svg { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; color: var(--primary); }
.contact-info .row .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); font-weight: 600; margin-bottom: 4px; }
.contact-info .row .val { font-size: 15px; line-height: 1.45; }

/* EVENT DETAIL */
.event-hero { position: relative; height: min(64vh, 540px); min-height: 420px; overflow: hidden; background: var(--muted); }
.event-hero .ph { position: absolute; inset: 0; }
.event-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0.25) 0%, rgb(0 0 0 / 0.1) 40%, rgb(0 0 0 / 0.75) 100%); }
.event-hero-content { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 0 0 56px; color: #fff; }
.event-hero-content .container { width: 100%; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: rgb(255 255 255 / 0.85); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / 0.12); backdrop-filter: blur(10px); border: 1px solid rgb(255 255 255 / 0.18); transition: background .15s; }
.back-link:hover { background: rgb(255 255 255 / 0.22); }
.back-link svg { width: 14px; height: 14px; }

.event-detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: flex-start; }
@media (max-width: 900px) { .event-detail-grid { grid-template-columns: 1fr; gap: 40px; } }

.event-detail-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 36px 0; }
@media (max-width: 720px) { .event-detail-stack { grid-template-columns: 1fr; } }

.program-list { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.program-list li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: baseline; font-size: 15px; }
.program-list .time { font-family: var(--font-mono); font-size: 13px; color: var(--primary); font-weight: 500; }

.check-list { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--foreground); }
.check-list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; padding: 3px; background: var(--accent); color: var(--primary); border-radius: 999px; box-sizing: content-box; }

.event-verse { margin-top: 16px; padding: 32px 36px; border-left: 3px solid var(--primary); background: color-mix(in oklch, var(--muted) 60%, var(--background)); border-radius: 4px; }
.event-verse .eyebrow { margin-bottom: 14px; display: block; }
.event-verse p { font-family: var(--font-serif); font-size: 22px; line-height: 1.4; font-style: italic; margin: 0 0 10px; color: var(--foreground); }
@media (max-width: 600px) { .event-verse { padding: 24px; } .event-verse p { font-size: 18px; } }

.event-detail-side { position: sticky; top: 92px; }
@media (max-width: 900px) { .event-detail-side { position: static; } }

.event-info-card { background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); padding: 28px; box-shadow: var(--shadow); }
.event-info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.event-info-row svg { width: 18px; height: 18px; color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.event-info-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); font-weight: 600; margin-bottom: 4px; }
.event-info-val { font-size: 15px; font-weight: 500; line-height: 1.4; }
.event-info-divider { height: 1px; background: var(--border); margin: 8px 0 20px; }

/* TOAST */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--foreground); color: var(--background); padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* SUCCESS state */
.success-state { text-align: center; padding: 48px 24px; }
.success-state .check { width: 56px; height: 56px; border-radius: 999px; background: var(--accent); color: var(--primary); display: grid; place-items: center; margin: 0 auto 20px; }
.success-state .check svg { width: 24px; height: 24px; }
.success-state h3 { font-family: var(--font-serif); font-size: 28px; margin: 0 0 10px; font-weight: 400; }
.success-state p { color: var(--muted-foreground); margin: 0; }

/* MOTTO STRIP */
@media (max-width: 800px) {
  .motto-strip { grid-template-columns: 1fr 1fr 1fr !important; gap: 16px !important; padding: 20px 0 !important; }
  .motto-strip > .eyebrow { display: none !important; }
}
@media (max-width: 520px) {
  .motto-strip { grid-template-columns: 1fr !important; }
}

/* Misc */
.scroll-fade { animation: fadeUp .6s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
