:root {
    --navy: #0b1c2e;
    --navy-2: #12263d;
    --navy-3: #1a334d;
    --cyan: #2ec8e0;
    --green: #3dcf6e;
    --gold: #f0c14b;
    --gold-2: #d4a017;
    --purple: #9b6bdb;
    --cream: #f4eee3;
    --cream-2: #ebe3d4;
    --brown: #3a2a1f;
    --brown-2: #5c4636;
    --white: #ffffff;
    --muted: #c5d0dc;
    --danger: #e85d4c;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(11, 28, 46, .22);
    --font: "Inter", system-ui, sans-serif;
    --display: "Oswald", Impact, sans-serif;
    --serif: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--navy);
    background: #f7f4ee;
    line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: .04em; line-height: 1.1; margin: 0 0 .4em; text-transform: uppercase; }
p { margin: 0 0 1em; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(11, 28, 46, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--display); letter-spacing: .12em; text-transform: uppercase; }
.nav-brand img { height: 42px; width: auto; mix-blend-mode: screen; }
.footer-brand img, .admin-brand img, .login-card img { mix-blend-mode: screen; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: #e8eef5; text-decoration: none; font-size: .92rem; font-weight: 500; }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; cursor: pointer; text-decoration: none;
    padding: 12px 22px; border-radius: 999px; font-weight: 700;
    font-family: var(--font); letter-spacing: .02em;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #ffd56a; }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-nav { background: var(--gold); color: var(--navy) !important; padding: 8px 16px; }
.btn-nav-outline { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.45); padding: 8px 16px; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.2); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.hero {
    min-height: 92vh;
    background-size: cover;
    background-position: 72% center;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,16,28,.78) 8%, rgba(8,16,28,.28) 55%, rgba(8,16,28,.12) 100%); }
.hero-content { position: relative; padding: 80px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; color: var(--gold); margin-bottom: 12px; }
.hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); font-weight: 700; }
.hero h1 span { display: block; font-weight: 400; font-size: .38em; letter-spacing: .28em; text-transform: lowercase; font-family: var(--font); }
.hero-lead { max-width: 560px; font-size: 1.05rem; color: #f3f6fa; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.pilares {
    background-size: cover;
    background-position: left center;
    position: relative;
    padding: 64px 0;
    color: #fff;
}
.pilares-overlay { position: absolute; inset: 0; background: rgba(11,28,46,.55); }
.pilares-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
    font-family: var(--display);
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: clamp(1.1rem, 2.4vw, 1.8rem);
    text-shadow: 0 2px 16px rgba(8,16,28,.55);
}

.section { padding: 88px 0; }
.section-kicker { text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; color: var(--gold-2); font-weight: 700; margin-bottom: 8px; }
.section-kicker.light { color: var(--gold); }
.section-kicker.brown { color: var(--gold-2); }
.section-lead { max-width: 680px; color: #4a5a6a; margin-bottom: 36px; }
.navy { background: var(--navy); color: #fff; }
.navy .section-lead, .navy p { color: var(--muted); }
.cream { background: var(--cream); }
.brown { color: var(--brown); }
.brown-text { color: var(--brown-2); }

.phase-grid, .alvo-grid, .padrao-grid, .jornada-grid, .festa-grid, .placar-grid {
    display: grid;
    gap: 18px;
}
.phase-grid { grid-template-columns: repeat(3, 1fr); }
.phase-card, .alvo-grid article, .padrao-grid article, .jornada-grid article, .festa-grid article {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.phase-card { border-top: 6px solid var(--cyan); }
.phase-blue { border-top-color: var(--cyan); }
.phase-green { border-top-color: var(--green); }
.phase-gold { border-top-color: var(--gold); }
.phase-label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #7b8896; }
.phase-dates { color: var(--gold-2); font-weight: 700; }

.etapas-list { display: grid; gap: 14px; }
.etapa-banner {
    min-height: 140px;
    background-size: cover;
    background-position: left center;
    border-radius: var(--radius);
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    position: relative;
}
.etapa-banner::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(8,16,28,.2), rgba(8,16,28,.82));
}
.etapa-banner div { position: relative; padding: 22px; max-width: 100%; }
.etapa-banner small { display: block; letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; color: var(--gold); }
.etapa-banner strong {
    display: block;
    font-family: var(--display);
    font-size: clamp(1.15rem, 4vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
.photo-frame { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.split-tall { align-items: stretch; }
.split-tall .photo-frame { position: relative; align-self: stretch; min-height: 100%; }
.split-tall .photo-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}
.alvo-grid { grid-template-columns: 1fr 1fr; margin-top: 24px; }
.alvo-grid span { color: var(--cyan); font-family: var(--display); font-size: 1.4rem; }

.accordion details { border-bottom: 1px solid rgba(255,255,255,.15); padding: 8px 0; }
.accordion summary { cursor: pointer; list-style: none; display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 1.15rem; }
.accordion summary span { color: #8ab4f8; font-family: var(--display); }
.accordion p { padding: 8px 0 12px 36px; }
.hint { margin-top: 22px; font-size: .92rem; }

.padrao-grid { grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
.casa-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 32px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.casa-meta > div {
    padding: 22px 24px;
    border-right: 1px solid #efe8dc;
}
.casa-meta > div:last-child { border-right: 0; }
.casa-meta dt {
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-2);
    font-weight: 700;
    margin-bottom: 8px;
}
.casa-meta dd {
    margin: 0;
    color: var(--brown);
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 600;
}
.casa-semanas {
    margin: 18px 0 0;
    padding: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.casa-semanas article {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 8px 16px;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #efe8dc;
}
.casa-semanas article:last-child { border-bottom: 0; }
.casa-semanas article > span {
    font-family: var(--display);
    font-size: 1.45rem;
    color: var(--gold-2);
    letter-spacing: .04em;
}
.casa-semanas small {
    display: block;
    color: #7b8896;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .72rem;
    font-weight: 700;
}
.casa-semanas strong {
    display: block;
    margin-top: 3px;
    font-size: 1.05rem;
    color: var(--navy);
    font-weight: 600;
}
.jornada-grid { grid-template-columns: repeat(4, 1fr); margin-top: 28px; }
.jornada-grid .highlight { background: var(--navy); color: #fff; }
.jornada-grid .highlight p { color: var(--muted); }
.jornada-grid small { color: var(--gold-2); font-weight: 700; letter-spacing: .04em; }
.culto-card { margin-top: 32px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.culto-card div { padding: 28px; }
.culto-card h3 { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 2rem; color: var(--brown); }
.culto-card em { color: var(--gold-2); font-style: normal; font-weight: 700; }

.material-cta {
    margin-top: 36px;
    background: var(--navy);
    color: #fff;
    border-radius: 24px;
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.material-cta h3 { margin: 0 0 8px; }
.material-cta p { margin: 0; color: var(--muted); }

.festa-grid { grid-template-columns: 1fr 1fr; }
.festa-grid ul { margin: 0; padding-left: 18px; }
.gold-card { background: var(--gold) !important; }
.datas-cultos { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; font-family: var(--serif); font-size: 1.4rem; color: var(--brown); }

.cta-band { background: var(--navy); color: #fff; padding: 72px 0; }
.cta-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }

.site-footer { background: #08121d; color: #9aa8b7; padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { height: 38px; }
.footer-brand span, .footer-brand strong { display: block; color: #fff; }
.footer-brand span { color: #9aa8b7; font-size: .85rem; font-weight: 400; }
.footer-credit a { color: var(--gold); font-weight: 700; text-decoration: none; }

.placar-hero { background: var(--navy); color: #fff; padding: 110px 0 80px; min-height: 100vh; }
.placar-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); text-align: center; }
.placar-sub { text-align: center; color: var(--gold); margin-bottom: 40px; font-weight: 600; }
.placar-grid { grid-template-columns: repeat(4, 1fr); }
.placar-card {
    border: 2px solid;
    border-radius: 22px;
    padding: 22px 18px 18px;
    text-align: center;
    background: rgba(255,255,255,.03);
    display: flex;
    flex-direction: column;
    min-height: 340px;
}
.placar-card.cyan { border-color: var(--cyan); }
.placar-card.green { border-color: var(--green); }
.placar-card.gold { border-color: var(--gold); }
.placar-card.purple { border-color: var(--purple); }
.placar-card h2 { font-size: 1.05rem; }
.placar-card.cyan h2 { color: var(--cyan); }
.placar-card.green h2 { color: var(--green); }
.placar-card.gold h2 { color: var(--gold); }
.placar-card.purple h2 { color: var(--purple); }
.placar-alvo { color: var(--muted); font-size: .82rem; }
.placar-alvo strong { color: #fff; font-size: 1rem; }
.placar-atual { font-family: var(--display); font-size: 3rem; margin: 12px 0 0; }
.placar-atual small { display: block; font-size: .35em; letter-spacing: .08em; color: var(--muted); }
.placar-label { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.progress { height: 6px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; margin: 8px 0; }
.progress span { display: block; height: 100%; background: currentColor; }
.placar-card.cyan .progress span { background: var(--cyan); }
.placar-card.green .progress span { background: var(--green); }
.placar-card.gold .progress span { background: var(--gold); }
.placar-card.purple .progress span { background: var(--purple); }
.placar-pct { font-size: .85rem; color: var(--muted); }
.placar-update { margin-top: auto; color: #fff; text-decoration: none; letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; padding-top: 12px; }
.placar-note {
    margin-top: 32px;
    background: var(--cyan);
    color: #08121d;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .82rem;
    text-align: center;
}

.form-page { padding: 110px 0 80px; }
.form-wrap { max-width: 760px; }
.form-head { margin-bottom: 28px; }
.form-head h1 { font-size: 2.4rem; }
.form-head-row { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.form-page .btn-outline { color: var(--navy); border-color: #cfc6b6; }
.input-locked { background: var(--cream); color: var(--brown-2); cursor: default; }
.is-hidden { display: none !important; }
.field-with-action {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: end;
}
.field-with-action .btn { height: 46px; white-space: nowrap; }
.modal { border: 0; padding: 0; background: transparent; max-width: 480px; width: calc(100% - 32px); }
.modal::backdrop { background: rgba(8, 16, 28, .65); }
.modal-card {
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    display: grid;
    gap: 12px;
    color: var(--navy);
    position: relative;
}
.modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.modal-card h2 { font-size: 1.4rem; margin: 0; padding-right: 8px; }
.modal-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    margin: -6px -6px 0 0;
    border: 0;
    border-radius: 50%;
    background: #f1e9dc;
    color: var(--navy);
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.modal-close:hover,
.modal-close:focus-visible {
    background: #e4d8c6;
    outline: none;
}
.card-form, .admin-form, .login-card form {
    background: #fff;
    padding: 28px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 16px;
}
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
input, select, textarea {
    font: inherit; padding: 12px 14px; border-radius: 12px;
    border: 1px solid #d7d0c4; background: #fff; width: 100%;
}
.password-wrap {
    position: relative;
    display: block;
}
.password-wrap input {
    padding-right: 46px;
}
.password-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #5b6b7b;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.password-toggle:hover,
.password-toggle:focus-visible {
    background: #f1e9dc;
    color: var(--navy);
    outline: none;
}
.password-toggle svg {
    width: 20px;
    height: 20px;
    display: block;
}
.password-toggle .icon-hide { display: none; }
.password-toggle.is-on .icon-show { display: none; }
.password-toggle.is-on .icon-hide { display: block; }
.form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.batismos-box { border: 1px dashed #cfc6b6; border-radius: 16px; padding: 16px; }
.batismos-box legend { font-family: var(--display); letter-spacing: .08em; }
.batismo-row { display: grid; grid-template-columns: 1.2fr 1fr auto auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.check {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-weight: 500;
    white-space: nowrap;
    width: max-content;
    max-width: 100%;
    margin: 0;
    cursor: pointer;
}
.check input[type="checkbox"],
.check input[type="radio"] {
    width: 1.15rem;
    height: 1.15rem;
    min-width: 1.15rem;
    padding: 0;
    margin: 0;
    flex: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    accent-color: var(--navy);
}
.btn-icon { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f1e9dc; cursor: pointer; font-size: 1.2rem; }
.success-box { text-align: center; padding: 60px 0; }

.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; }
.flash-error { background: #fde8e4; color: #8a2418; }
.flash-success { background: #e5f8ea; color: #14632d; }
.flash ul { margin: 0; padding-left: 18px; }

.login-page {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: grid;
    place-items: center;
    padding: 32px 16px 96px;
}
.login-card {
    width: min(420px, 100%);
    background: rgba(11,28,46,.92);
    color: #fff;
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.login-card img { height: 48px; margin-bottom: 12px; }
.login-card p { color: var(--muted); }
.login-switch { margin-top: 18px; font-size: .9rem; }
.login-switch a { color: var(--gold); font-weight: 700; text-decoration: none; }
.login-switch a:hover { text-decoration: underline; }
.is-login .site-footer { position: relative; }

.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-topbar { display: none; }
.admin-overlay { display: none; }
.admin-sidebar { background: var(--navy); color: #fff; padding: 24px 18px; display: flex; flex-direction: column; gap: 18px; }
.admin-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--display); letter-spacing: .12em; text-transform: uppercase; }
.admin-brand img { height: 36px; }
.admin-sidebar nav { display: grid; gap: 6px; }
.admin-sidebar nav a { color: #d5dee8; text-decoration: none; padding: 10px 12px; border-radius: 10px; }
.admin-sidebar nav a.active, .admin-sidebar nav a:hover { background: var(--navy-3); color: #fff; }
.admin-main { padding: 28px 28px 0; display: flex; flex-direction: column; }
.admin-page { flex: 1; padding-bottom: 40px; }
.admin-lead { color: #5b6b7b; max-width: 720px; }
.admin-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 24px 0; }
.admin-stats article { background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.admin-stats strong { display: block; font-size: 2rem; font-family: var(--display); }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-form { max-width: 640px; margin: 20px 0 28px; }
.form-actions { display: flex; gap: 10px; }
.acesso-box {
    border: 1px solid #efe8dc;
    border-radius: 16px;
    padding: 12px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.acesso-box legend {
    font-family: var(--display);
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .78rem;
    padding: 0 6px;
}
.acesso-box .check {
    width: auto;
}
#pastor-redes,
.acesso-kids-subs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}
.acesso-hint {
    margin: 4px 0 0;
    font-size: .85rem;
    font-weight: 500;
    color: #5b6b7b;
}
.acesso-kids-subs {
    margin: 0 0 0 26px;
    width: calc(100% - 26px);
}
.is-admin .btn-outline { color: var(--navy); border-color: #cfc6b6; }
.table-wrap { overflow-x: auto; background: #fff; border-radius: 16px; box-shadow: var(--shadow); margin: 16px 0 32px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #efe8dc; font-size: .92rem; }
th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #6b7784; }
.row-actions { display: flex; gap: 10px; align-items: center; }
.row-actions form { margin: 0; }
.row-actions button {
    background: none; border: 0; color: var(--danger); cursor: pointer; font: inherit;
}
.row-actions .btn-restore {
    color: #14632d;
    font-weight: 700;
}
.log-detalhe { font-size: .82rem; color: #5b6b7b; margin-top: 4px; }
.log-restaurado { color: #14632d; font-size: .85rem; font-weight: 600; }
.log-meta { white-space: nowrap; }
.log-row-done td { opacity: .72; }
.admin-page h2 { margin-top: 12px; font-size: 1.4rem; }
.admin-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}
.admin-section-head h2 { margin: 0; }
.dash-head .admin-actions { justify-content: flex-end; }

.dash-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
}
.dash-head .btn-outline { color: var(--navy); border-color: #cfc6b6; }
.dash-filters, .dash-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 8px;
}
.dash-chip {
    border: 1px solid #d7d0c4;
    background: #fff;
    color: var(--navy);
    border-radius: 999px;
    padding: 8px 14px;
    font: inherit;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
}
.dash-chip.is-on {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.dash-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0 28px;
}
.dash-kpi {
    text-align: left;
    background: #fff;
    border: 0;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: var(--shadow);
    cursor: pointer;
    display: grid;
    gap: 4px;
    font: inherit;
    color: inherit;
}
.dash-kpi:hover, .dash-kpi.is-on { outline: 2px solid var(--navy); }
.dash-kpi-label {
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6b7784;
    font-weight: 700;
}
.dash-kpi strong {
    display: block;
    font-size: 1.85rem;
    font-family: var(--display);
    line-height: 1.1;
}
.dash-kpi-hint, .dash-kpi-pct { font-size: .8rem; color: #5b6b7b; }
.dash-progress {
    display: block;
    height: 7px;
    background: #efe8dc;
    border-radius: 99px;
    overflow: hidden;
    margin-top: 8px;
}
.dash-progress i {
    display: block;
    height: 100%;
    background: var(--navy);
    border-radius: 99px;
}
.dash-kpi.cyan .dash-progress i { background: var(--cyan); }
.dash-kpi.green .dash-progress i { background: var(--green); }
.dash-kpi.gold .dash-progress i { background: var(--gold-2); }
.dash-kpi.purple .dash-progress i { background: var(--purple); }
.dash-redes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 12px 0 28px;
}
.dash-rede {
    text-align: left;
    background: #fff;
    border: 0;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: var(--shadow);
    cursor: pointer;
    font: inherit;
    color: inherit;
}
.dash-rede:hover, .dash-rede.is-on { outline: 2px solid var(--navy); }
.dash-rede strong { display: block; margin-bottom: 10px; font-size: 1.05rem; }
.dash-rede ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dash-rede li { display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; color: #5b6b7b; }
.dash-rede li b { color: var(--navy); font-variant-numeric: tabular-nums; }
.dash-chart-wrap { margin: 8px 0 28px; }
.dash-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.dash-chart-head h2 { margin: 0; }
.dash-chart-head .dash-metrics { margin: 0; }
.dash-chart {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 18px 16px 12px;
    margin-top: 12px;
}
.dash-bars {
    display: flex;
    align-items: stretch;
    gap: 10px;
    min-height: 180px;
    overflow-x: auto;
}
.dash-bar-col {
    flex: 1 0 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-height: 180px;
}
.dash-bar-val { font-size: .72rem; font-weight: 700; color: #5b6b7b; }
.dash-bar-fill {
    width: 22px;
    min-height: 4px;
    border-radius: 8px 8px 3px 3px;
    background: var(--navy);
    transition: height .2s ease;
}
.dash-chart[data-metric="horas"] .dash-bar-fill { background: var(--cyan); }
.dash-chart[data-metric="vidas"] .dash-bar-fill { background: var(--green); }
.dash-chart[data-metric="casas"] .dash-bar-fill { background: var(--gold-2); }
.dash-chart[data-metric="batismos"] .dash-bar-fill { background: var(--purple); }
.dash-bar-col small { font-size: .72rem; color: #6b7784; }
.dash-split {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    gap: 20px;
    margin-bottom: 28px;
}
.dash-table { margin-top: 8px; }
.dash-feed {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.dash-feed li {
    padding: 12px 16px;
    border-bottom: 1px solid #efe8dc;
    display: grid;
    gap: 2px;
}
.dash-feed li:last-child { border-bottom: 0; }
.dash-feed span, .dash-feed small { color: #5b6b7b; font-size: .85rem; }

@media (max-width: 980px) {
    .phase-grid, .placar-grid, .jornada-grid, .admin-stats, .dash-kpis, .dash-redes { grid-template-columns: 1fr 1fr; }
    .split, .culto-card, .festa-grid, .admin-shell, .dash-split, .dash-head { grid-template-columns: 1fr; }
    .dash-head { flex-direction: column; }
    .admin-shell { display: block; }
    .admin-topbar {
        display: flex;
        align-items: center;
        gap: 10px;
        position: sticky;
        top: 0;
        z-index: 70;
        background: var(--navy);
        color: #fff;
        padding: 10px 14px;
        min-height: 56px;
    }
    .admin-menu-btn {
        display: grid;
        gap: 5px;
        width: 42px;
        height: 42px;
        padding: 10px 8px;
        border: 0;
        background: transparent;
        cursor: pointer;
        flex-shrink: 0;
    }
    .admin-menu-btn span {
        display: block;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: transform .2s ease, opacity .2s ease;
    }
    .admin-shell.is-menu-open .admin-menu-btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .admin-shell.is-menu-open .admin-menu-btn span:nth-child(2) { opacity: 0; }
    .admin-shell.is-menu-open .admin-menu-btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .admin-brand-desk { display: none; }
    .admin-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(8, 16, 28, .5);
        z-index: 55;
        border: 0;
    }
    .admin-shell.is-menu-open .admin-overlay {
        display: block;
    }
    .admin-sidebar {
        position: fixed;
        top: 56px;
        left: 0;
        bottom: 0;
        width: min(280px, 86vw);
        z-index: 60;
        transform: translateX(-110%);
        transition: transform .2s ease;
        overflow-y: auto;
        box-shadow: 8px 0 30px rgba(8, 16, 28, .35);
    }
    .admin-shell.is-menu-open .admin-sidebar {
        transform: translateX(0);
    }
    .admin-main { padding: 18px 16px 0; }
    body.admin-menu-lock { overflow: hidden; }
    .cta-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    .cta-inner .hero-actions {
        margin-top: 0;
        flex-direction: column;
        align-items: stretch;
    }
    .cta-inner .btn {
        width: 100%;
        white-space: nowrap;
    }
    .split-tall .photo-frame { min-height: 320px; }
    .nav-toggle { display: block; }
    .nav-links {
        display: none; position: absolute; top: 72px; left: 0; right: 0;
        background: var(--navy); flex-direction: column; padding: 16px 20px 24px; align-items: flex-start;
    }
    .nav-links.open { display: flex; }
    .form-row, .batismo-row, .field-with-action { grid-template-columns: 1fr; }
    .casa-meta { grid-template-columns: 1fr 1fr; }
    .casa-meta > div:nth-child(2n) { border-right: 0; }
    .casa-meta > div:nth-child(-n+2) { border-bottom: 1px solid #efe8dc; }
    .casa-semanas article { grid-template-columns: 52px 1fr; padding: 14px 18px; }
}
@media (max-width: 640px) {
    .pilares-grid, .padrao-grid, .phase-grid, .placar-grid, .jornada-grid, .alvo-grid, .admin-stats, .dash-kpis, .dash-redes { grid-template-columns: 1fr; }
    .casa-meta {
        grid-template-columns: 1fr;
    }
    .casa-meta > div {
        display: grid;
        grid-template-columns: 92px 1fr;
        gap: 6px 10px;
        align-items: start;
        padding: 12px 16px;
        border-right: 0;
        border-bottom: 1px solid #efe8dc;
    }
    .casa-meta > div:nth-child(-n+2) { border-bottom: 1px solid #efe8dc; }
    .casa-meta dt { margin-bottom: 0; letter-spacing: .1em; }
    .casa-meta dd { font-size: .95rem; }
    .casa-semanas article {
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 12px 16px;
    }
    .casa-semanas article > span { display: none; }
    .hero { min-height: 80vh; background-position: 85% 35%; }
    .login-page { background-position: 85% 30%; }
    .pilares { background-position: left 35%; }
    .cta-band { padding: 48px 0; }
    .footer-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }
    .footer-brand { justify-content: center; }
    .footer-credit { margin: 0; }
    .admin-main { padding: 16px 16px 0; }
}
