@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1f6f78;
  --primary-2: #164e55;
  --accent: #d4af37;
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --border: rgba(15, 23, 42, 0.09);
  --text: #0f172a;
  --muted: #5b6475;
  --success: #198754;
  --danger: #dc3545;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 20px 60px rgba(15, 23, 42, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 120, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.10), transparent 24%),
    linear-gradient(180deg, #0b1418 0, #102229 300px, var(--bg) 300px, var(--bg) 100%);
  font-family: 'Inter', Arial, sans-serif;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-2);
}

img {
  max-width: 100%;
}

/* ===============================
   ESTRUTURA BASE
================================ */
.page-shell {
  position: relative;
  /* importante: não usar isolation:isolate para não quebrar clique dos modais */
}

.page-shell::before {
  content: '';
  position: fixed;
  inset: auto auto 5% -90px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(31, 111, 120, 0.10), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.page-shell::after {
  content: '';
  position: fixed;
  inset: auto -120px 18% auto;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.section-concilio {
  position: relative;
  padding: 28px 0 10px;
  color: #fff;
}

/* ===============================
   NAVBAR
================================ */
.navbar.navbar-concilio {
  background: rgba(6, 17, 24, 0.76) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-concilio .navbar-brand {
  gap: 12px;
  font-weight: 700;
}

.navbar-concilio .brand-logo-wrap {
  width: 352px;
  height: 82px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.10);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.navbar-concilio .brand-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.navbar-concilio .brand-title {
  line-height: 1.05;
  color: #fff;
}

.navbar-concilio .brand-title small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 500;
  font-size: 0.78rem;
  margin-top: 4px;
}

.navbar-concilio .nav-link {
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.72rem 1rem !important;
}

.navbar-concilio .nav-link:hover,
.navbar-concilio .nav-link.active-link {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

/* ===============================
   SUPERFÍCIES / CARDS
================================ */
.hero-card,
.glass-card,
.dashboard-card,
.stats-card,
.login-box,
.modal-content,
.card,
.table-wrap,
.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
}

.dashboard-card,
.stats-card,
.content-card,
.table-wrap {
  padding: 20px;
}

.stats-card .label,
.meta-label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stats-card .value,
.stats-card strong,
.stats-card h3,
.stats-card h4 {
  color: #0f172a !important;
}

.stats-card .value {
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1;
  margin-top: 12px;
}

.stats-card .helper,
.stats-card p,
.stats-card small,
.stats-card span {
  color: #475569 !important;
}

.stats-card .helper {
  margin-top: 10px;
  font-size: 0.92rem;
}

/* ===============================
   HERO
================================ */
.hero-card {
  overflow: hidden;
  position: relative;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 20, 24, 0.98), rgba(16, 34, 41, 0.88)),
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.18), transparent 35%);
}

.hero-card::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 70%);
}

.hero-card .hero-body {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.90);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.04;
  margin: 18px 0 12px;
}

.hero-subtitle {
  max-width: 760px;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.78);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.metric-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
}

.metric-chip strong {
  display: block;
  font-size: 1.15rem;
  color: #fff;
}

.metric-chip span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

/* ===============================
   LOGIN / FORMULÁRIOS
================================ */
.login-panel {
  max-width: 480px;
}

.login-box {
  padding: 26px;
  color: var(--text);
}

.login-box .logo {
  max-width: min(280px, 72vw);
  height: auto;
}

.login-box .form-control,
.login-box .btn,
.form-control,
.form-select,
.btn,
.dataTables_filter input {
  border-radius: 14px !important;
}

.form-control,
.form-select,
.dataTables_filter input {
  min-height: 50px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: none !important;
}

.form-control:focus,
.form-select:focus,
.dataTables_filter input:focus {
  border-color: rgba(31, 111, 120, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(31, 111, 120, 0.12) !important;
}

.btn {
  border: none;
  padding: 0.82rem 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-primary,
.swal2-confirm {
  background: linear-gradient(135deg, var(--primary), var(--primary-2)) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.swal2-confirm:hover {
  filter: brightness(1.04);
}

.btn-outline-light-soft {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.btn-soft,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.82rem 1rem;
  border-radius: 14px;
  font-weight: 700;
}

.btn-soft {
  color: var(--primary-2);
  background: rgba(31, 111, 120, 0.08);
  border: 1px solid rgba(31, 111, 120, 0.12);
}

.btn-soft:hover {
  background: rgba(31, 111, 120, 0.12);
  color: var(--primary-2);
}

.btn-ghost {
  color: var(--text);
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.08);
  color: var(--text);
}

/* ===============================
   GRID / PAINÉIS
================================ */
.quick-panel {
  margin-top: 22px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.page-header-row,
.toolbar-inline,
.filter-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.page-header-row {
  margin-bottom: 18px;
}

.page-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31, 111, 120, 0.08);
  color: var(--primary-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-title-block h1,
.page-title-block h2 {
  margin: 8px 0 4px;
  color: var(--text);
  font-weight: 800;
}

.action-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.surface-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 18px;
}

.panel-side-stack {
  display: grid;
  gap: 16px;
}

.info-panel {
  background: linear-gradient(180deg, rgba(31, 111, 120, 0.06), rgba(31, 111, 120, 0.03));
  border: 1px solid rgba(31, 111, 120, 0.10);
  border-radius: 22px;
  padding: 20px;
}

.info-panel h3,
.info-panel h4 {
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 800;
}

.info-panel p,
.info-panel li {
  color: var(--muted);
}

.info-panel ul {
  margin: 0;
  padding-left: 1.15rem;
}

.metric-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-mini {
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.metric-mini strong {
  display: block;
  font-size: 1.25rem;
  color: var(--text);
}

.metric-mini span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ===============================
   ABAS / CONTEÚDO
================================ */
.tab-toolbar {
  position: sticky;
  top: 78px;
  z-index: 20;
}

.section-tabs {
  display: flex;
  gap: 12px;
  overflow: auto;
  padding: 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.section-tabs .nav-link {
  border-radius: 14px !important;
  color: var(--muted) !important;
  font-weight: 700;
  white-space: nowrap;
  background: transparent;
  padding: 0.9rem 1rem !important;
}

.section-tabs .nav-link.active {
  background: linear-gradient(135deg, rgba(31, 111, 120, 0.12), rgba(22, 78, 85, 0.08));
  color: var(--primary-2) !important;
  box-shadow: inset 0 0 0 1px rgba(31, 111, 120, 0.12);
}

.content-card {
  min-height: 420px;
}

.content-card .content-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.content-card .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(31, 111, 120, 0.08);
  color: var(--primary-2);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.content-card .section-summary {
  color: var(--muted);
  max-width: 360px;
}

.modern-list {
  display: grid;
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.modern-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(31, 111, 120, 0.045);
  border: 1px solid rgba(31, 111, 120, 0.08);
}

.modern-list li .icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(31, 111, 120, 0.12);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.link-card {
  display: block;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.20);
  transition: 0.2s ease;
}

.link-card strong {
  display: block;
  color: var(--text);
  margin-bottom: 5px;
}

.link-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ===============================
   TABELAS / DATATABLES
================================ */
.table-wrap table,
.table {
  --bs-table-bg: transparent;
}

.table-wrap .table > :not(caption) > * > * {
  padding: 0.95rem 0.9rem;
  vertical-align: middle;
}

.table-wrap .table thead th {
  color: #fff;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.table-wrap .table tbody tr {
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.table-wrap .table tbody tr:hover {
  background: rgba(31, 111, 120, 0.03);
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 999px rgba(31, 111, 120, 0.03);
}

.table-identity {
  min-width: 0;
}

.table-identity strong {
  display: block;
  color: var(--text);
}

.table-identity small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.table-toolbar-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.dataTables_wrapper .row {
  --bs-gutter-y: 12px;
}

.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_length label {
  font-weight: 700;
  color: var(--muted);
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  margin-left: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.dataTables_wrapper .dt-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dataTables_wrapper .dt-button,
.dataTables_wrapper button.dt-button {
  border: none !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: none !important;
}

.dataTables_wrapper .pagination .page-link {
  border-radius: 12px !important;
  margin: 0 3px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--primary-2);
}

.dataTables_wrapper .pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: transparent;
}

/* ===============================
   BADGES / STATUS / FILTROS
================================ */
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(31, 111, 120, 0.08);
  color: var(--primary-2);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.46rem 0.74rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.status-pill.is-success {
  background: rgba(25, 135, 84, 0.12);
  color: #146c43;
}

.status-pill.is-warning {
  background: rgba(255, 193, 7, 0.15);
  color: #8a6d00;
}

.status-pill.is-info {
  background: rgba(13, 110, 253, 0.10);
  color: #0d4ca3;
}

.status-pill.is-dark {
  background: rgba(15, 23, 42, 0.08);
  color: var(--text);
}

.filter-banner {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(31, 111, 120, 0.05);
  border: 1px solid rgba(31, 111, 120, 0.08);
}

.filter-banner p {
  margin: 0;
  color: var(--muted);
}

.action-icon-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===============================
   LISTAS / AUXILIARES
================================ */
.list-group-item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px !important;
  margin-bottom: 10px;
  cursor: pointer;
}

.list-group-item:hover {
  background: rgba(31, 111, 120, 0.05);
}

.form-card-tip {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(31, 111, 120, 0.05);
  border: 1px solid rgba(31, 111, 120, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.empty-mini {
  padding: 18px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px dashed rgba(15, 23, 42, 0.10);
  color: var(--muted);
}

/* ===============================
   MODAIS
================================ */
.modal-content {
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.modal-header,
.modal-footer {
  border-color: rgba(15, 23, 42, 0.08);
}

.modal-content .modal-header {
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, rgba(31, 111, 120, 0.04), rgba(31, 111, 120, 0.02));
}

.modal-content .modal-title {
  font-weight: 800;
  color: var(--text);
}

.modal-content .modal-body {
  padding: 1.2rem 1.25rem;
}

.modal-content .modal-footer {
  padding: 1rem 1.25rem;
}

.modal-backdrop.show {
  opacity: 0.5;
}

/* modal de código */
#modalDigitarCodigo .modal-dialog {
  position: relative;
  z-index: 1060;
}

#modalDigitarCodigo .modal-content {
  position: relative;
  z-index: 1065;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  pointer-events: auto;
}

#modalDigitarCodigo .modal-body,
#modalDigitarCodigo form,
#modalDigitarCodigo .codigo-boxes {
  position: relative;
  z-index: 1066;
  pointer-events: auto;
}

#modalDigitarCodigo .modal-content::before,
#modalDigitarCodigo .modal-content::after,
#modalDigitarCodigo .modal-body::before,
#modalDigitarCodigo .modal-body::after {
  pointer-events: none !important;
}

.modal-codigo-logo {
  max-width: 180px;
  height: auto;
}

.modal-codigo-title {
  font-weight: 800;
  font-size: 1.9rem;
  color: #0f172a;
}

.modal-codigo-text {
  color: #64748b;
  font-size: 1rem;
  margin: 0 auto;
  max-width: 420px;
}

.codigo-boxes {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.codigo-input {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 1.8rem;
  font-weight: 800;
  border: 1px solid #dbe2ea;
  background: #f8fafc;
  color: #0f172a;
  box-shadow: none;
  position: relative;
  z-index: 1067;
  pointer-events: auto !important;
}

.codigo-input:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
  background: #ffffff;
}

.btn-validar-codigo,
#btnValidarCodigo {
  min-height: 56px;
  border: 0;
  border-radius: 18px;
  font-size: 1.15rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0f766e, #0b5d56);
  color: #fff;
  position: relative;
  z-index: 1070 !important;
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-validar-codigo:hover,
.btn-validar-codigo:focus,
.btn-validar-codigo:active,
#btnValidarCodigo:hover,
#btnValidarCodigo:focus,
#btnValidarCodigo:active {
  color: #fff;
  background: linear-gradient(135deg, #0d6b64, #094d47);
  transform: none;
  box-shadow: none;
}

#btnValidarCodigo *,
.btn-validar-codigo * {
  pointer-events: none !important;
}

/* ===============================
   VERSÍCULO EM DESTAQUE
================================ */
.verse-highlight {
  position: relative;
  padding: 22px 22px 22px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.verse-highlight::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 22px 0 0 22px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.95), rgba(255, 255, 255, 0.70));
}

.verse-label,
.footer-verse-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.75);
  margin-bottom: 10px;
}

.verse-text {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.75;
  color: #0f172a;
  font-weight: 600;
}

.verse-label-up,
.footer-verse-label-up {
    display: inline-flex;
    align-items: center; gap: 8px; font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase; color: rgba(255, 255, 255, 0.82);
    margin-bottom: 10px;
}

.verse-text-up {
    margin: 0;
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    line-height: 1.75;
    color: #fff;
    font-weight: 600;
}

/* ===============================
   FOOTER
================================ */
.site-footer {
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 10px 12px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.footer-panel {
  position: relative;
  padding: 34px 32px 24px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.10), transparent 28%),
    linear-gradient(180deg, #34404a 0%, #27313a 55%, #1c242d 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.footer-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 38%, rgba(15, 118, 110, 0.08));
  pointer-events: none;
}

.footer-branding,
.footer-card,
.footer-verse,
.site-footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-branding {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-logo-wrap {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.16));
}

.footer-overline {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.footer-brand-copy h5 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  font-weight: 800;
  color: #fff;
}

.footer-brand-copy p,
.text-footer-muted {
  color: rgba(232, 238, 247, 0.76);
}

.footer-brand-copy p {
  max-width: 560px;
  margin: 0;
  line-height: 1.75;
  font-size: 1rem;
}

.footer-card {
  height: 100%;
  padding: 22px 22px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.footer-title {
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-list li {
  color: rgba(232, 238, 247, 0.84);
  line-height: 1.65;
}

.footer-kpis-modern {
  margin-top: 22px;
}

.footer-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.footer-kpi {
  min-width: 120px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.footer-kpi strong {
  display: block;
  color: #fff;
  font-size: 0.98rem;
}

.footer-kpi span {
  display: block;
  margin-top: 4px;
  color: rgba(232, 238, 247, 0.68);
  font-size: 0.82rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
}

.site-footer .footer-verse {
  margin-top: 30px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.site-footer .footer-verse p {
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.75;
  font-style: italic;
}

.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  min-height: 42px;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}

.footer-links a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* ===============================
   FOOTER · REFINO DE ESTRUTURA
================================ */
.footer-branding-modern {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.footer-brand-top {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.footer-brand-copy h5 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.15;
}

.footer-brand-copy p {
  max-width: 100%;
  margin: 0;
}

.concilio-flow-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* BASE VISUAL */
.concilio-flow-footer span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1;

  /* INTERAÇÃO */
  cursor: pointer;
  transition: all .2s ease;
}

/* HOVER */
.concilio-flow-footer span:hover {
  color: var(--accent);
  background: rgba(255,255,255,.14);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
}

/* ATIVO (quando clicado) */
.concilio-flow-footer span.active {
  background: linear-gradient(135deg, var(--accent), #f1c94a);
  color: #1f2937;
  border-color: transparent;
}

.footer-card-modern {
  padding: 24px 22px;
}

.footer-list-contact {
  gap: 14px;
}

.footer-list-contact li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-list-label {
  display: block;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}

.footer-list-contact strong {
  color: #fff;
  font-size: .98rem;
  font-weight: 700;
}

.footer-kpis-modern {
  margin-top: 4px;
}

.footer-kpis-modern .footer-kpi {
  min-width: 0;
  flex: 1 1 180px;
}

.footer-verse {
  margin-top: 30px;
}

.site-footer-bottom {
  margin-top: 26px;
}

@media (max-width: 991.98px) {
  .footer-brand-top {
    grid-template-columns: 78px minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .footer-brand-top {
    grid-template-columns: 1fr;
  }

  .footer-logo-wrap {
    margin: 0 auto;
  }

  .footer-brand-copy {
    text-align: center;
  }

  .concilio-flow-footer {
    justify-content: center;
  }

  .footer-kpis {
    flex-direction: column;
  }

  .footer-kpis-modern .footer-kpi {
    width: 100%;
  }
}

/* ===============================
   RESPONSIVO
================================ */
@media (max-width: 991.98px) {
  .hero-metrics,
  .quick-grid,
  .surface-split {
    grid-template-columns: 1fr;
  }

  .footer-panel {
    padding: 28px 22px 22px;
    border-radius: 26px;
  }
}

@media (max-width: 767.98px) {
  .page-header-row,
  .toolbar-inline,
  .filter-banner,
  .site-footer-bottom,
  .footer-branding {
    flex-direction: column;
    align-items: stretch;
  }

  .action-cluster .btn,
  .action-cluster .btn-soft,
  .action-cluster .btn-ghost,
  .footer-links a {
    width: 100%;
  }

  .metric-mini-grid {
    grid-template-columns: 1fr 1fr;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }

  .footer-logo-wrap {
    width: 74px;
    height: 74px;
    flex-basis: 74px;
  }

  .footer-logo {
    width: 48px;
    height: 48px;
  }

  .site-footer::before {
    inset: 8px 20px auto;
  }

  .verse-highlight {
    padding: 18px 18px 18px 20px;
    border-radius: 18px;
  }

  .verse-text,
  .site-footer .footer-verse p {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .table-responsive-stack thead {
    display: none;
  }

  .table-responsive-stack,
  .table-responsive-stack tbody,
  .table-responsive-stack tr,
  .table-responsive-stack td {
    display: block;
    width: 100%;
  }

  .table-responsive-stack tbody {
    display: grid;
    gap: 14px;
  }

  .table-responsive-stack tr {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--shadow-sm);
  }

  .table-responsive-stack td {
    border: 0 !important;
    padding: 10px 10px 10px 116px !important;
    position: relative;
    min-height: 46px;
  }

  .table-responsive-stack td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 10px;
    width: 96px;
    font-size: 0.74rem;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .table-responsive-stack td.actions-cell {
    padding-left: 10px !important;
  }

  .table-responsive-stack td.actions-cell::before {
    position: static;
    display: block;
    width: auto;
    margin-bottom: 8px;
  }

  .dataTables_wrapper .dt-buttons,
  .dataTables_wrapper .dataTables_filter,
  .dataTables_wrapper .dataTables_length {
    width: 100%;
  }

  .dataTables_wrapper .dataTables_filter input,
  .dataTables_wrapper .dataTables_length select {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
  }
}

@media (max-width: 576px) {
  .codigo-boxes {
    gap: 8px;
  }

  .codigo-input {
    width: 48px;
    height: 52px;
    font-size: 1.55rem;
    border-radius: 14px;
  }

  .modal-codigo-title {
    font-size: 1.45rem;
  }
}

/* ===============================
   PDF READER PREMIUM
================================ */
.pdf-reader-modal .modal-dialog {
  max-width: min(1380px, 96vw);
}

.pdf-reader-shell {
  border: 0;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.10), transparent 20%),
    linear-gradient(180deg, #111923 0%, #182330 100%);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.35);
}

.pdf-reader-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pdf-reader-heading {
  min-width: 0;
}

.pdf-reader-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.76);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pdf-reader-header .modal-title {
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
}

.pdf-reader-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  font-weight: 600;
}

.pdf-meta-dot {
  opacity: 0.5;
}

.pdf-reader-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pdf-toolbar-btn {
  min-width: 42px;
  min-height: 42px;
  padding: 0.65rem 0.8rem;
  border-radius: 14px !important;
  border: 1px solid rgba(15,23,42,0.08) !important;
  font-weight: 800;
  line-height: 1;
  box-shadow: none !important;
}

.pdf-reader-body {
  padding: 18px;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.03), transparent 42%),
    linear-gradient(180deg, rgba(7,13,18,0.40), rgba(7,13,18,0.18));
  min-height: 78vh;
}

.pdf-reader-stage {
  position: relative;
  min-height: calc(78vh - 36px);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(8, 12, 17, 0.68), rgba(10, 16, 23, 0.88));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-reader-bookmark {
  position: absolute;
  top: 0;
  right: 34px;
  width: 16px;
  height: 72px;
  background: linear-gradient(180deg, #d4af37, #a58116);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 24px rgba(212,175,55,0.18);
  z-index: 2;
}

.pdf-reader-loading,
.pdf-reader-error {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 24px;
  background: rgba(10, 16, 23, 0.38);
  backdrop-filter: blur(3px);
}

.pdf-reader-error-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  font-size: 1.45rem;
  font-weight: 900;
  background: rgba(220, 53, 69, 0.16);
  border: 1px solid rgba(220, 53, 69, 0.30);
}

.pdf-canvas-wrap {
  width: 100%;
  height: 100%;
  min-height: calc(78vh - 36px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 18px 24px;
  overflow: auto;
}

#pdfCanvas {
  display: block;
  max-width: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.30),
    0 0 0 1px rgba(15,23,42,0.10);
}

@media (max-width: 991.98px) {
  .pdf-reader-header {
    flex-direction: column;
    align-items: stretch;
  }

  .pdf-reader-actions {
    justify-content: flex-start;
  }

  .pdf-reader-body {
    min-height: 74vh;
  }

  .pdf-reader-stage,
  .pdf-canvas-wrap {
    min-height: calc(74vh - 36px);
  }
}

@media (max-width: 767.98px) {
  .pdf-reader-shell {
    border-radius: 0;
  }

  .pdf-reader-body {
    padding: 10px;
  }

  .pdf-canvas-wrap {
    padding: 18px 10px 16px;
  }

  .pdf-reader-bookmark {
    right: 18px;
    height: 60px;
  }

  .pdf-reader-meta {
    flex-wrap: wrap;
    gap: 6px;
  }

  .pdf-toolbar-btn {
    min-width: 40px;
    min-height: 40px;
    padding: 0.58rem 0.72rem;
  }
}

/* ===============================
   PÁGINA DE PRIVACIDADE
================================ */
.page-privacidade {
  background:
    radial-gradient(circle at top left, rgba(31,111,120,.14), transparent 30%),
    radial-gradient(circle at top right, rgba(212,175,55,.08), transparent 26%),
    linear-gradient(180deg, #0b1418 0, #102229 260px, #f4f7fb 260px, #f4f7fb 100%);
}

/* container principal */
.privacidade-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 18px 60px;
}

/* card principal */
.privacidade-card {
  background: rgba(255,255,255,.94);
  border-radius: 26px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 30px 80px rgba(15,23,42,.12);
  padding: 34px 30px;
  backdrop-filter: blur(10px);
}

/* cabeçalho */
.privacidade-header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.privacidade-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31,111,120,.08);
  color: #164e55;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.privacidade-title {
  margin: 14px 0 8px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #0f172a;
}

.privacidade-sub {
  color: #5b6475;
  font-size: .95rem;
}

/* conteúdo */
.privacidade-content {
  display: grid;
  gap: 18px;
}

.privacidade-content h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 18px;
}

.privacidade-content p {
  color: #475569;
  line-height: 1.75;
  margin: 0;
}

.privacidade-content ul {
  padding-left: 18px;
  margin: 0;
}

.privacidade-content li {
  margin-bottom: 6px;
  color: #475569;
}

/* blocos destacados */
.privacidade-box {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(31,111,120,.05);
  border: 1px solid rgba(31,111,120,.10);
}

/* separadores */
.privacidade-divider {
  height: 1px;
  background: rgba(15,23,42,.08);
  margin: 16px 0;
}

/* botão voltar */
.privacidade-actions {
  margin-top: 26px;
}

.privacidade-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .75rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f6f78, #164e55);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s ease;
}

.privacidade-btn:hover {
  transform: translateY(-1px);
  color: #fff;
  filter: brightness(1.05);
}

/* versão mobile */
@media (max-width: 768px) {
  .privacidade-wrap {
    padding: 26px 14px 40px;
  }

  .privacidade-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .privacidade-title {
    font-size: 1.45rem;
  }
}

.modal-section {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.modal-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.modal-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.kpi-card,
.person-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.07);
  box-shadow: var(--shadow-sm);
}

.kpi-label {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.kpi-value {
  display: block;
  margin-top: 8px;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--text);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.person-list {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.person-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(31,111,120,.045);
  border: 1px solid rgba(31,111,120,.08);
}

.report-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(31,111,120,.12);
}

.person-main {
  min-width: 0;
}

.person-name {
  display: block;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
}

.person-meta {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .9rem;
}

.person-tag {
  display: inline-flex;
  margin-top: 8px;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: rgba(13,110,253,.08);
  color: #0d4ca3;
  font-size: .75rem;
  font-weight: 800;
}

.section-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
}

.texto-intro {
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 991.98px) {
  .modal-kpi-grid,
  .people-grid {
    grid-template-columns: 1fr;
  }
}

.soft-panel {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.07);
  box-shadow: var(--shadow-sm);
}

.form-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.form-slot {
  padding: 16px;
  border-radius: 18px;
  background: rgba(31,111,120,.045);
  border: 1px solid rgba(31,111,120,.08);
}

.slot-title {
  margin-bottom: 10px;
  font-size: .84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.kpi-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.07);
  box-shadow: var(--shadow-sm);
}

.kpi-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.kpi-label {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.kpi-value {
  display: block;
  margin-top: 8px;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--text);
}

@media (max-width: 991.98px) {
  .modal-kpi-grid,
  .form-board {
    grid-template-columns: 1fr;
  }

  .toolbar-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.table-modern {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.07);
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
}

.presbyterio-list {
  display: grid;
  gap: 8px;
}

.presbyterio-list .person-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 14px;
  background: rgba(31,111,120,.045);
  border: 1px solid rgba(31,111,120,.08);
}

.presbyterio-list .report-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(31,111,120,.10);
}

.presbyterio-list .person-name {
  display: block;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

#tabelaColocacaoPastores table thead th {
  white-space: nowrap;
}

#tabelaColocacaoPastores table tbody td {
  vertical-align: top;
}

@media (max-width: 991.98px) {
  #tabelaColocacaoPastores .table {
    min-width: 860px;
  }
}

.report-grid {
  display: grid;
  gap: 14px;
}

.report-grid-compact {
  gap: 12px;
}

.report-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.07);
  box-shadow: var(--shadow-sm);
}

.report-card.compact {
  grid-template-columns: 46px minmax(0, 1fr) auto;
  padding: 14px 16px;
}

.report-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  background: rgba(31,111,120,.08);
  color: var(--primary-2);
  border: 1px solid rgba(31,111,120,.10);
}

.report-card.compact .report-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 1.1rem;
}

.report-card-body {
  min-width: 0;
}

.report-card-body strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.report-card-body span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

.report-card .btn {
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .report-card,
  .report-card.compact {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .report-card .btn {
    width: 100%;
  }
}