/* ============================================================
   Devonew — design tokens + components
   Calm & sacred · warm neutrals · olive-sage accent · clean sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600;700&family=Hanken+Grotesk:wght@300;400;500;600;700&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&display=swap');

:root {
  /* type */
  --font-display: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-text: 'Hanken Grotesk', system-ui, sans-serif;
  --font-scripture: var(--font-text);
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* accent — olive-sage (dove's olive branch / new life). overridable by tweaks */
  --accent-h: 145;
  --accent-c: 0.055;
  --accent: oklch(0.56 var(--accent-c) var(--accent-h));
  --accent-strong: oklch(0.48 var(--accent-c) var(--accent-h));
  --accent-tint: oklch(0.95 0.022 var(--accent-h));
  --accent-ink: #fbfdfb;

  /* warm secondary (candlelight, used for streak/flame) */
  --ember: oklch(0.72 0.11 60);
  --ember-tint: oklch(0.95 0.03 70);

  /* radii / shadow / motion */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --shadow-sm: 0 1px 2px oklch(0.4 0.02 70 / 0.05), 0 2px 8px oklch(0.4 0.02 70 / 0.04);
  --shadow-md: 0 2px 6px oklch(0.4 0.02 70 / 0.05), 0 12px 32px oklch(0.4 0.02 70 / 0.07);
  --shadow-lg: 0 6px 16px oklch(0.4 0.02 70 / 0.06), 0 24px 60px oklch(0.4 0.02 70 / 0.10);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --maxw: 760px;
}

/* ---- light (default) ---- */
:root, [data-theme="light"] {
  --bg: oklch(0.984 0.006 80);
  --bg-2: oklch(0.965 0.008 78);
  --surface: oklch(0.997 0.003 85);
  --surface-2: oklch(0.975 0.006 80);
  --ink: oklch(0.27 0.012 60);
  --ink-2: oklch(0.44 0.012 60);
  --muted: oklch(0.58 0.012 65);
  --faint: oklch(0.72 0.01 70);
  --line: oklch(0.91 0.008 75);
  --line-strong: oklch(0.85 0.01 75);
  color-scheme: light;
}

/* ---- dark (warm charcoal, for morning reading) ---- */
[data-theme="dark"] {
  --bg: oklch(0.205 0.008 70);
  --bg-2: oklch(0.235 0.008 70);
  --surface: oklch(0.255 0.009 72);
  --surface-2: oklch(0.285 0.009 72);
  --ink: oklch(0.93 0.008 82);
  --ink-2: oklch(0.78 0.01 78);
  --muted: oklch(0.65 0.012 74);
  --faint: oklch(0.52 0.012 72);
  --line: oklch(0.33 0.01 72);
  --line-strong: oklch(0.40 0.012 72);
  --accent: oklch(0.70 0.075 var(--accent-h));
  --accent-strong: oklch(0.78 0.075 var(--accent-h));
  --accent-tint: oklch(0.32 0.04 var(--accent-h));
  --accent-ink: oklch(0.18 0.02 var(--accent-h));
  --ember: oklch(0.78 0.11 62);
  --ember-tint: oklch(0.33 0.05 60);
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.25), 0 2px 8px oklch(0 0 0 / 0.20);
  --shadow-md: 0 2px 6px oklch(0 0 0 / 0.28), 0 12px 32px oklch(0 0 0 / 0.30);
  --shadow-lg: 0 6px 16px oklch(0 0 0 / 0.30), 0 24px 60px oklch(0 0 0 / 0.42);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-text);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent-tint); }

/* serif scripture option (tweak) */
[data-scripture="serif"] { --font-scripture: 'Newsreader', Georgia, serif; }

/* ============================================================
   App shell
   ============================================================ */
#root { min-height: 100dvh; }
.app {
  min-height: 100dvh;
  display: grid;
  background: var(--bg);
}

/* desktop: sidebar + content */
@media (min-width: 900px) {
  .app { grid-template-columns: 264px 1fr; }
}

/* ---- sidebar (desktop) ---- */
.sidebar {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 26px 18px;
  border-right: 1px solid var(--line);
  background: var(--bg-2);
  position: sticky;
  top: 0;
  height: 100dvh;
}
@media (min-width: 900px) { .sidebar { display: flex; } }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 22px;
}
.brand-mark {
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, var(--accent-strong), var(--accent) 70%);
  position: relative; flex: none;
  box-shadow: inset 0 0 0 4px oklch(1 0 0 / 0.18);
}
.brand-mark::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 5px var(--accent-tint);
}
.brand-word { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.brand-word b { font-weight: 700; color: var(--accent-strong); }
.brand-word span { font-weight: 500; }

/* ---- church brand (membro vê a identidade da sua igreja) ---- */
.church-brand { display: flex; align-items: center; gap: 11px; padding: 6px 8px 22px; min-width: 0; }
.cb-logo {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--accent), var(--accent-strong)); color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px; letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 1.5px oklch(1 0 0 / 0.16);
}
/* logo em imagem (PNG): sem caixa — fundo, borda e cantos some, e fica maior/mais visível */
.cb-logo.has-img { background: none; padding: 0; overflow: visible; box-shadow: none; border-radius: 0; width: auto; height: 42px; min-width: 42px; max-width: 150px; }
.cb-logo.has-img img { width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.cb-text { min-width: 0; display: flex; flex-direction: column; }
.cb-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; color: var(--ink); line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.cb-sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-top: 1px; }
.topbar .church-brand { padding: 0; }

/* ---- "feito com devonew" (marca discreta no rodapé) ---- */
.powered { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 6px 2px; font-size: 11.5px; color: var(--faint); text-decoration: none; }
.powered:hover { color: var(--muted); }
.powered b { font-family: var(--font-display); font-weight: 700; color: var(--muted); letter-spacing: -0.01em; }
.brand-mark.sm { width: 14px; height: 14px; box-shadow: inset 0 0 0 2px oklch(1 0 0 / 0.2); }
.brand-mark.sm::after { box-shadow: 0 0 0 2px var(--accent-tint); }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex; align-items: center; gap: 13px;
  padding: 11px 13px; border-radius: var(--r-sm);
  border: none; background: none; color: var(--ink-2);
  font-size: 15px; font-weight: 500; text-align: left; width: 100%;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav-item:hover { background: var(--surface-2); color: var(--ink); }
.nav-item.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.nav-item.active .ico { color: var(--accent); }
.nav-item .ico { color: var(--faint); transition: color .18s var(--ease); }
.nav-spacer { flex: 1; }

.side-foot { display: flex; flex-direction: column; gap: 10px; padding: 6px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; }

/* ---- top bar (mobile) ---- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 10px;
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(var(--bg) 72%, transparent);
}
@media (min-width: 900px) { .topbar { display: none; } }
.topbar .brand { padding: 0; }

/* ---- content column ---- */
.main { min-width: 0; }
.scroll { padding: 0 20px 120px; }
@media (min-width: 900px) { .scroll { padding: 40px 48px 80px; } }
.col { width: 100%; max-width: var(--maxw); margin: 0 auto; }

/* page heading (desktop) */
.page-head { display: none; }
@media (min-width: 900px) {
  .page-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
}
.page-title { font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: -0.02em; margin: 0; }
.page-sub { color: var(--muted); font-size: 15px; margin: 4px 0 0; }

/* ---- bottom tab bar (mobile) ---- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; justify-content: space-around;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: oklch(from var(--surface) l c h / 0.86);
  backdrop-filter: blur(16px) saturate(1.1);
  border-top: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.tabbar::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .tabbar { display: none; } }
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border: none; background: none; color: var(--faint);
  font-size: 11px; font-weight: 600; letter-spacing: 0.01em;
  padding: 6px 10px; border-radius: 12px; flex: 1 0 auto; min-width: 58px;
  transition: color .16s var(--ease);
}
.tab.active { color: var(--accent); }
.tab .ico { transition: transform .2s var(--ease); }
.tab.active .ico { transform: translateY(-1px); }

/* ============================================================
   Primitives
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.pad { padding: 22px; }
@media (min-width: 900px) { .pad { padding: 26px; } }

.eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--faint); font-weight: 500;
}
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap-6 { gap: 6px; } .gap-8 { gap: 8px; } .gap-10 { gap: 10px; }
.gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 999px; border: 1px solid transparent; text-decoration: none;
  font-family: var(--font-text); font-weight: 600; font-size: 15px;
  padding: 13px 22px; transition: transform .12s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.975); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: var(--surface-2); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--line-strong); }
.btn-quiet { background: none; color: var(--ink-2); padding: 10px 14px; }
.btn-quiet:hover { background: var(--surface-2); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 26px; font-size: 16px; }

.iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  transition: background .16s var(--ease), color .16s, border-color .16s;
}
.iconbtn:hover { background: var(--surface-2); color: var(--ink); border-color: var(--line-strong); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line);
}
.chip-accent { background: var(--accent-tint); color: var(--accent-strong); border-color: transparent; }
.chip-ember { background: var(--ember-tint); color: oklch(0.5 0.12 55); border-color: transparent; }
[data-theme="dark"] .chip-ember { color: var(--ember); }

/* avatar / placeholder image */
.ph {
  position: relative; overflow: hidden; background: var(--surface-2);
  background-image: repeating-linear-gradient(135deg, transparent 0 9px, oklch(0.5 0.01 70 / 0.05) 9px 10px);
  display: flex; align-items: center; justify-content: center;
  color: var(--faint); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; text-align: center; border: 1px solid var(--line);
}
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; color: var(--accent-ink);
  background: linear-gradient(150deg, var(--accent), var(--accent-strong));
}
.avatar.sm { width: 34px; height: 34px; font-size: 13px; }
.avatar.lg { width: 60px; height: 60px; font-size: 20px; }

/* progress */
.bar { height: 9px; border-radius: 999px; background: var(--surface-2); overflow: hidden; border: 1px solid var(--line); }
.bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-strong)); transition: width .8s var(--ease); }

.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.dot-or { display: flex; align-items: center; gap: 14px; color: var(--faint); font-size: 13px; }
.dot-or::before, .dot-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ============================================================
   Verse of the day
   ============================================================ */
.verse {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 90% at 85% -10%, var(--accent-tint), transparent 60%),
    linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 28px 26px 22px;
}
.verse-glyph {
  position: absolute; top: -22px; right: 14px;
  font-family: var(--font-scripture); font-size: 150px; line-height: 1;
  color: var(--accent); opacity: 0.10; font-weight: 500; user-select: none;
}
.verse-text {
  font-family: var(--font-scripture); font-weight: 400;
  font-size: clamp(21px, 5.4vw, 27px); line-height: 1.45; letter-spacing: -0.01em;
  margin: 12px 0 16px; color: var(--ink); position: relative; text-wrap: pretty;
}
.verse-ref { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent-strong); text-transform: uppercase; }

/* ============================================================
   Devotional reading
   ============================================================ */
.read-hero { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.read-cover { aspect-ratio: 16 / 7; }
.read-body { padding: 4px 2px; }
.read-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 6vw, 36px); line-height: 1.12; letter-spacing: -0.025em; margin: 8px 0 14px; text-wrap: balance; }
.read-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.prose { font-size: 17px; line-height: 1.72; color: var(--ink-2); }
.prose p { margin: 0 0 18px; text-wrap: pretty; }
.prose strong { color: var(--ink); font-weight: 600; }
.pull {
  font-family: var(--font-scripture); font-size: 20px; line-height: 1.5;
  color: var(--ink); border-left: 2px solid var(--accent); padding: 4px 0 4px 20px; margin: 24px 0;
}
.prayer-box {
  background: var(--accent-tint); border-radius: var(--r-md); padding: 22px; margin: 28px 0;
}
.prayer-box .eyebrow { color: var(--accent-strong); }
.prayer-box p { color: var(--ink); font-family: var(--font-scripture); font-size: 17px; line-height: 1.6; margin: 10px 0 0; }
[data-theme="dark"] .prayer-box p { color: var(--ink); }

/* ============================================================
   Prayer center / journal
   ============================================================ */
.pray-item { display: flex; align-items: flex-start; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.pray-item:last-child { border-bottom: none; }
.pray-check {
  width: 26px; height: 26px; border-radius: 50%; flex: none; margin-top: 1px;
  border: 1.5px solid var(--line-strong); background: var(--surface); color: transparent;
  display: flex; align-items: center; justify-content: center; transition: all .18s var(--ease);
}
.pray-check.done { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pray-text { flex: 1; min-width: 0; }
.pray-title { font-size: 15.5px; font-weight: 500; color: var(--ink); }
.pray-item.answered .pray-title { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.pray-sub { font-size: 12.5px; color: var(--faint); margin-top: 3px; }

.note {
  width: 100%; resize: none; border: none; background: none; color: var(--ink);
  font-family: var(--font-scripture); font-size: 16.5px; line-height: 1.7; min-height: 150px;
  outline: none;
}
.note::placeholder { color: var(--faint); }
.privacy {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted);
  background: var(--surface-2); border-radius: 999px; padding: 7px 13px; width: fit-content;
}

/* ============================================================
   Growth track / gamification
   ============================================================ */
.level-card {
  border-radius: var(--r-xl);
  background:
    radial-gradient(130% 100% at 100% 0%, var(--accent-tint), transparent 55%),
    linear-gradient(150deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 26px;
}
.level-name { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }
.xp-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin: 14px 0 8px; font-weight: 500; }

.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; }
.badge { text-align: center; padding: 18px 10px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); }
.badge.locked { opacity: 0.5; filter: grayscale(0.6); }
.badge-ring {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center; color: var(--accent-ink);
  background: linear-gradient(150deg, var(--accent), var(--accent-strong));
}
.badge.locked .badge-ring { background: var(--surface-2); color: var(--faint); }
.badge-name { font-size: 12px; font-weight: 600; color: var(--ink-2); line-height: 1.3; }

.lead-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 999px; border: 1px solid var(--line); }
.lead-tab { border: none; background: none; padding: 8px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.lead-tab.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

.lead-row { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.lead-row:last-child { border-bottom: none; }
.lead-rank { width: 26px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--muted); flex: none; }
.lead-rank.top { color: var(--accent-strong); }
.lead-name { flex: 1; font-size: 15px; font-weight: 500; }
.lead-xp { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.lead-row.you { background: var(--accent-tint); border-radius: var(--r-sm); border-bottom-color: transparent; margin: 4px 0; padding: 12px; }
.lead-row.you .lead-name, .lead-row.you .lead-rank, .lead-row.you .lead-xp { color: var(--accent-strong); }

/* badge criteria */
.badge-req { font-size: 10.5px; color: var(--faint); line-height: 1.3; margin-top: 6px; }
.badge.locked .badge-req { color: var(--muted); }

/* trilha de discipulado (journey) */
.journey { display: flex; flex-direction: column; }
.j-step { display: grid; grid-template-columns: 36px 1fr; column-gap: 16px; }
.j-rail { position: relative; display: flex; justify-content: center; }
.j-rail::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--line); transform: translateX(-50%); }
.j-step:first-child .j-rail::before { top: 18px; }
.j-step:last-child .j-rail::before { bottom: calc(100% - 18px); }
.j-node {
  width: 36px; height: 36px; border-radius: 50%; flex: none; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); color: var(--faint); border: 1px solid var(--line);
}
.j-step.done .j-node { background: linear-gradient(150deg, var(--accent), var(--accent-strong)); color: var(--accent-ink); border-color: transparent; }
.j-step.current .j-node { background: var(--surface); color: var(--accent-strong); border: 2px solid var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.j-body { padding-bottom: 22px; min-width: 0; }
.j-step:last-child .j-body { padding-bottom: 0; }
.j-name { font-weight: 600; font-size: 15.5px; color: var(--ink); letter-spacing: -0.01em; }
.j-step.locked .j-name { color: var(--muted); }
.j-desc { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.45; text-wrap: pretty; }
.j-step.locked .j-desc { color: var(--faint); }
.j-tag { display: inline-block; margin-top: 8px; font-size: 11.5px; font-weight: 700; color: var(--accent-strong); letter-spacing: 0.02em; }
.j-verse { font-family: var(--font-scripture); font-size: 13.5px; line-height: 1.5; color: var(--ink-2); border-left: 2px solid var(--accent); padding: 1px 0 1px 12px; margin-top: 10px; text-wrap: pretty; }
.j-verse-ref { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--accent-strong); text-transform: uppercase; white-space: nowrap; }

/* metas da semana */
.goal { display: flex; gap: 14px; align-items: center; }
.goal-ico {
  width: 40px; height: 40px; border-radius: var(--r-sm); flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--line);
}
.goal-ico.done { background: linear-gradient(150deg, var(--accent), var(--accent-strong)); color: var(--accent-ink); border-color: transparent; }
.goal-body { flex: 1; min-width: 0; }
.goal-label { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.goal-meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); white-space: nowrap; }

/* conquistas recentes (feed) */
.feed-row { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.feed-row:last-child { border-bottom: none; }
.feed-ico {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-tint); color: var(--accent-strong);
}
.feed-label { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-time { font-size: 12px; color: var(--faint); flex: none; }
.feed-xp { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--accent-strong); flex: none; min-width: 34px; text-align: right; }

/* ============================================================
   Home extras
   ============================================================ */
.greet { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 7vw, 34px); letter-spacing: -0.025em; line-height: 1.1; margin: 8px 0 4px; text-wrap: balance; }
.greet-sub { color: var(--muted); font-size: 15px; margin: 0 0 22px; }

.streak-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--ember-tint); color: oklch(0.48 0.13 50); font-weight: 700; font-size: 14px;
}
[data-theme="dark"] .streak-pill { color: var(--ember); }

.todo-card {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--accent-strong), var(--accent));
  color: var(--accent-ink); padding: 24px; box-shadow: var(--shadow-md);
}
.todo-card.done { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.todo-card .eyebrow { color: oklch(1 0 0 / 0.7); }
.todo-card.done .eyebrow { color: var(--accent-strong); }
.todo-h { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; margin: 8px 0 4px; }
.todo-p { font-size: 14px; opacity: 0.9; margin: 0 0 18px; line-height: 1.5; }

.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quick {
  display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface); text-align: left; width: 100%;
  transition: transform .14s var(--ease), box-shadow .18s var(--ease);
}
.quick:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.quick-ico { width: 40px; height: 40px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--accent-tint); color: var(--accent-strong); }
.quick-t { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.quick-s { font-size: 12px; color: var(--muted); margin-top: 1px; }

.mini-list { display: flex; flex-direction: column; }
.mini-row { display: flex; align-items: center; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.mini-row:last-child { border-bottom: none; }

/* section title */
.sec-title { display: flex; align-items: center; justify-content: space-between; margin: 30px 0 14px; }
.sec-title h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin: 0; }
.sec-link { font-size: 13.5px; font-weight: 600; color: var(--accent-strong); background: none; border: none; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--bg); padding: 13px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); z-index: 60;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
  display: flex; align-items: center; gap: 9px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (min-width: 900px) { .toast { bottom: 40px; } }

/* ============================================================
   Entrance / motion
   ============================================================ */
.fade-up { animation: fadeUp .5s var(--ease) both; }
.stagger > * { animation: fadeUp .55s var(--ease) both; }
.stagger > *:nth-child(1) { animation-delay: .02s; }
.stagger > *:nth-child(2) { animation-delay: .08s; }
.stagger > *:nth-child(3) { animation-delay: .14s; }
.stagger > *:nth-child(4) { animation-delay: .20s; }
.stagger > *:nth-child(5) { animation-delay: .26s; }
.stagger > *:nth-child(6) { animation-delay: .32s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .fade-up, .stagger > * { animation: none !important; }
}

/* ============================================================
   Intro animation
   ============================================================ */
.intro {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: oklch(0.984 0.006 80); color: oklch(0.2 0.01 60);
  padding: 32px; text-align: center;
}
.intro.fade-out { animation: introOut 0.9s var(--ease) forwards; }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
.intro-line {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(28px, 6.4vw, 56px); line-height: 1.12; max-width: 16ch; text-wrap: balance;
}
.intro-phrase { animation: breathe 4.4s var(--ease) forwards; }
@keyframes breathe {
  0% { opacity: 0; transform: scale(0.985); filter: blur(6px); }
  16%, 64% { opacity: 1; transform: scale(1.015); filter: blur(0); }
  100% { opacity: 0; transform: scale(1.03); filter: blur(5px); }
}
.intro-word {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display); letter-spacing: -0.03em;
  font-size: clamp(34px, 9vw, 72px); animation: wordIn 1s var(--ease) both;
}
.intro-word .mark {
  width: clamp(30px, 7vw, 52px); height: clamp(30px, 7vw, 52px); border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, oklch(0.48 0.06 145), oklch(0.56 0.055 145) 72%);
  box-shadow: 0 0 0 7px oklch(0.95 0.022 145);
}
.intro-word b { font-weight: 700; color: oklch(0.48 0.06 145); }
.intro-word span { font-weight: 500; color: oklch(0.2 0.01 60); }
.intro-word .tld { font-size: 0.42em; color: oklch(0.6 0.01 70); font-weight: 500; align-self: flex-end; margin-bottom: 0.35em; margin-left: -6px; }
@keyframes wordIn { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
.intro-skip {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: oklch(0.62 0.01 70); background: none; border: none;
}
@media (prefers-reduced-motion: reduce) {
  .intro-phrase, .intro-word { animation: none; opacity: 1; }
}

/* responsive visibility helpers */
.show-mobile { display: block; }
@media (min-width: 900px) { .show-mobile { display: none; } }
.show-desktop { display: none; }
@media (min-width: 900px) { .show-desktop { display: block; } }

/* theme toggle */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 2px; padding: 4px;
  border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line);
}
.theme-toggle button {
  width: 32px; height: 32px; border-radius: 50%; border: none; background: none;
  color: var(--faint); display: flex; align-items: center; justify-content: center;
}
.theme-toggle button.on { background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm); }

/* hide native scrollbar flashes in frames */
.scroll { scrollbar-width: thin; }

/* ============================================================
   Courses / formação
   ============================================================ */
.course-hero {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background:
    radial-gradient(130% 100% at 100% 0%, oklch(1 0 0 / 0.10), transparent 55%),
    linear-gradient(150deg, var(--accent-strong), var(--accent));
  color: var(--accent-ink); box-shadow: var(--shadow-md); padding: 24px;
}
.course-hero .eyebrow { color: oklch(1 0 0 / 0.72); }
.course-hero-title { font-family: var(--font-display); font-weight: 600; font-size: 23px; letter-spacing: -0.01em; margin: 8px 0 4px; }
.course-hero-sub { font-size: 14px; opacity: 0.9; margin: 0 0 18px; }
.course-hero .bar { background: oklch(1 0 0 / 0.22); border-color: transparent; }
.course-hero .bar > i { background: var(--accent-ink); }
.course-hero .xp-meta { color: oklch(1 0 0 / 0.85); margin-top: 12px; }
.course-hero .btn-primary { background: var(--accent-ink); color: var(--accent-strong); }

.course-card {
  display: flex; gap: 16px; align-items: center; padding: 14px; width: 100%; text-align: left;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  transition: transform .14s var(--ease), box-shadow .18s var(--ease);
}
.course-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.course-thumb { width: 76px; height: 76px; border-radius: 14px; flex: none; font-size: 9px; }
.course-card-body { flex: 1; min-width: 0; }
.course-card-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--ink); margin: 2px 0; }
.course-card-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.course-card .bar { height: 7px; }
.course-prog-meta { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 7px; font-weight: 500; }

.catalog-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .catalog-grid { grid-template-columns: 1fr 1fr; } }
.cat-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  transition: transform .14s var(--ease), box-shadow .18s var(--ease);
}
.cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cat-cover { aspect-ratio: 16 / 9; }
.cat-body { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cat-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--ink); line-height: 1.2; text-wrap: balance; }
.cat-instr { font-size: 12.5px; color: var(--muted); }
.cat-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.cat-info { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); }
.cat-info span { display: inline-flex; align-items: center; gap: 5px; }
.cat-info .ico { color: var(--faint); }
.level-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-strong); background: var(--accent-tint); padding: 4px 9px; border-radius: 999px; font-weight: 600; flex: none; }

/* course detail */
.course-detail-cover { aspect-ratio: 16 / 7; border-radius: var(--r-lg); margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.module-head { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 0 8px; }
.module-head h4 { font-family: var(--font-display); font-weight: 600; font-size: 15px; margin: 0; color: var(--ink); letter-spacing: -0.01em; }
.module-head .cnt { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
.lesson-row {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 13px 4px; border: none; border-bottom: 1px solid var(--line); background: none;
}
.lesson-row:last-child { border-bottom: none; }
.lesson-ico {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--accent-strong);
  transition: all .18s var(--ease);
}
.lesson-row:hover .lesson-ico { border-color: var(--accent); }
.lesson-row.done .lesson-ico { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.lesson-body { flex: 1; min-width: 0; }
.lesson-t { font-size: 15px; font-weight: 500; color: var(--ink); }
.lesson-row.done .lesson-t { color: var(--muted); }
.lesson-dur { display: flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); margin-top: 3px; }
.lesson-row .lesson-chev { color: var(--faint); flex: none; transition: transform .15s var(--ease); }
.lesson-extra { padding: 2px 0 14px 48px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.lesson-text { font-family: var(--font-scripture); font-size: 15.5px; line-height: 1.7; color: var(--ink-2); margin: 0; text-wrap: pretty; white-space: pre-wrap; }
.course-desc { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin: 0 0 18px; text-wrap: pretty; }

/* biblioteca de arquivos (membro) */
.lib-list { display: flex; flex-direction: column; gap: 8px; }
.lib-row { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--surface); transition: border-color .14s var(--ease), transform .12s, box-shadow .18s; }
.lib-row:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.lib-glyph { width: 42px; height: 42px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center;
  background: var(--accent-tint); color: var(--accent-strong); }
.lib-body { flex: 1; min-width: 0; }
.lib-title { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.lib-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.lib-act { color: var(--faint); flex: none; }

/* seminários & eventos (membro) */
.sem-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.sem-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.sem-kind { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em;
  text-transform: uppercase; font-weight: 700; color: var(--muted); padding: 4px 10px; border-radius: 999px; background: var(--surface-2); }
.sem-kind.online { background: var(--accent-tint); color: var(--accent-strong); }
.sem-date { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--faint); font-family: var(--font-mono); }
.sem-title { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); }
.sem-speaker { font-size: 13px; color: var(--muted); margin-top: 2px; }
.sem-desc { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 10px 0 12px; text-wrap: pretty; }

/* ============================================================
   Minha Célula
   ============================================================ */
.cell-hero { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.cell-cover { aspect-ratio: 16 / 8; }
.cell-hero-body { padding: 20px 22px 22px; }
.cellgrp-name { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; margin: 6px 0 14px; }
.cell-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.cell-addr { display: flex; align-items: center; gap: 11px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; flex-wrap: wrap; }
.cell-addr > .ico { color: var(--accent-strong); flex: none; }
.cell-addr-txt { flex: 1; min-width: 140px; }
.cell-map { flex: none; }

.next-meet { display: flex; align-items: center; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.next-theme { font-family: var(--font-scripture); font-size: 18px; line-height: 1.4; color: var(--ink); margin-top: 6px; text-wrap: pretty; }
@media (max-width: 540px) { .next-meet .btn { width: 100%; } }

.cell-leader-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.btn-wa { background: oklch(0.6 0.13 150); color: #fff; }
.btn-wa:hover { background: oklch(0.54 0.13 150); }
[data-theme="dark"] .btn-wa { background: oklch(0.68 0.13 150); color: oklch(0.18 0.03 150); }
@media (max-width: 540px) { .btn-wa { width: 100%; } }

.member-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 560px) { .member-grid { grid-template-columns: 1fr 1fr 1fr; } }
.member-chip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); min-width: 0; }
.member-chip.you { background: var(--accent-tint); border-color: transparent; }
.member-info { min-width: 0; }
.member-name { font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.member-role { font-size: 11px; color: var(--muted); margin-top: 1px; }
.member-chip.you .member-role { color: var(--accent-strong); font-weight: 600; }

/* 6 tabs — keep mobile bottom bar comfortable */
.tabbar .tab { padding: 6px 4px; min-width: 58px; }
.tabbar .tab span:last-child { white-space: nowrap; }

/* ============================================================
   Apoie o Criador — support modal (member app + church panel)
   ============================================================ */
.support-trigger {
  display: inline-flex; align-items: center; gap: 8px; width: 100%;
  padding: 11px 13px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--accent-tint); color: var(--accent-strong);
  font-family: var(--font-text); font-weight: 600; font-size: 13.5px; text-align: left;
  transition: transform .14s var(--ease), box-shadow .18s var(--ease);
}
.support-trigger:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.support-trigger .ico { flex: none; }

.sup-overlay {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center;
  background: oklch(0.2 0.01 60 / 0.5); backdrop-filter: blur(5px); padding: 20px;
  animation: supFade .22s var(--ease) both;
}
@keyframes supFade { from { opacity: 0; } to { opacity: 1; } }
.sup-modal {
  width: 100%; max-width: 520px; max-height: min(86vh, 760px); display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; animation: supPop .3s var(--ease) both;
}
@keyframes supPop { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }

.sup-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.sup-head-id { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.sup-head-mark {
  width: 40px; height: 40px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--accent), var(--accent-strong)); color: var(--accent-ink);
}
.sup-head-t { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); }
.sup-head-s { font-size: 12px; color: var(--muted); margin-top: 1px; }
.sup-close { width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--surface-2); color: var(--ink-2); display: flex; align-items: center; justify-content: center; flex: none; }
.sup-close:hover { background: var(--line); color: var(--ink); }

.sup-tabs { display: flex; gap: 4px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.sup-tab {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 8px; border-radius: 999px; border: none; background: none;
  font-weight: 600; font-size: 13.5px; color: var(--muted); transition: all .16s var(--ease);
}
.sup-tab .ico { color: var(--faint); transition: color .16s var(--ease); }
.sup-tab:hover { color: var(--ink-2); }
.sup-tab.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.sup-tab.on .ico { color: var(--accent); }

.sup-scroll { overflow-y: auto; padding: 22px 22px 26px; }
.sup-pane { display: flex; flex-direction: column; }
.sup-h { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 12px; }
.sup-p { font-size: 14.5px; line-height: 1.62; color: var(--ink-2); margin: 0 0 13px; text-wrap: pretty; }
.sup-p:last-child { margin-bottom: 0; }
.sup-lab { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin: 16px 0 7px; }
.sup-lab:first-child { margin-top: 0; }

/* about */
.sup-dev { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.sup-portrait { width: 76px; height: 76px; border-radius: 18px; flex: none; font-size: 8.5px; text-align: center; line-height: 1.3; padding: 6px; color: var(--muted); }
.sup-dev-name { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); }
.sup-dev-role { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.sup-sign { font-family: var(--font-scripture); font-size: 15px; line-height: 1.5; color: var(--ink); margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }

/* feedback */
.sup-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 440px) { .sup-types { grid-template-columns: repeat(4, 1fr); } }
.sup-type {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface);
  font-size: 12.5px; font-weight: 600; color: var(--ink-2); transition: all .14s var(--ease);
}
.sup-type .ico { color: var(--faint); transition: color .14s var(--ease); }
.sup-type:hover { border-color: var(--line-strong); }
.sup-type.on { border-color: var(--accent); background: var(--accent-tint); color: var(--accent-strong); }
.sup-type.on .ico { color: var(--accent-strong); }
.sup-textarea, .sup-input {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-2);
  color: var(--ink); font-family: var(--font-text); font-size: 14.5px; line-height: 1.55;
  padding: 13px 14px; outline: none; resize: vertical; transition: border-color .16s var(--ease);
}
.sup-input { resize: none; }
.sup-textarea:focus, .sup-input:focus { border-color: var(--accent); }
.sup-textarea::placeholder, .sup-input::placeholder { color: var(--faint); }
.sup-send { width: 100%; justify-content: center; margin-top: 18px; }
.sup-fine { font-size: 11.5px; color: var(--muted); text-align: center; margin: 10px 0 0; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* thanks state */
.sup-thanks { align-items: center; text-align: center; padding: 14px 4px; }
.sup-thanks-ico {
  width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--accent-tint); color: var(--accent-strong); margin-bottom: 4px;
}
.sup-thanks-actions { display: flex; gap: 10px; margin-top: 20px; }

/* donate */
.sup-donate-card {
  margin-top: 18px; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--bg-2);
}
.sup-amounts { display: flex; gap: 8px; flex-wrap: wrap; }
.sup-amt {
  flex: 1; min-width: 64px; padding: 11px 10px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--surface); font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink-2);
  transition: all .14s var(--ease);
}
.sup-amt:hover { border-color: var(--line-strong); }
.sup-amt.on { border-color: var(--accent); background: var(--accent-tint); color: var(--accent-strong); }
.sup-pix { display: flex; gap: 14px; align-items: center; margin: 18px 0 4px; padding: 14px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); }
.sup-qr { width: 80px; height: 80px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); }
.sup-pix-body { min-width: 0; }
.sup-pix-lab { font-size: 11.5px; color: var(--muted); }
.sup-pix-key { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--ink); margin: 2px 0 8px; word-break: break-all; }

/* ---------- Cuidado pastoral no app do membro (ponte com o painel da igreja) ---------- */
.mcare-heart { margin-left: auto; flex: none; color: var(--accent); }
.mcare-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 13px;
  border-radius: var(--r-sm); background: var(--accent-tint); color: var(--accent-strong); font-size: 13.5px; font-weight: 500; }
.mcare-note .ico { flex: none; }
.mcare-next { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left;
  margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface-2); color: var(--ink); cursor: pointer; transition: border-color .14s var(--ease); }
.mcare-next:hover { border-color: var(--accent); }
.mcare-next .eyebrow { margin-bottom: 3px; }
.mcare-next > .ico { flex: none; color: var(--muted); }
