:root {
    --adm-primary: #7f1800;
    --adm-primary-dark: #641300;
    --adm-primary-soft: #d84a2c;
    --adm-accent: #fca91c;
    --adm-accent-soft: #fff2bf;
    --adm-bg: #ffffff;
    --adm-bg-soft: #fff9f2;
    --adm-surface: #fffdfb;
    --adm-text: #341814;
    --adm-muted: #7a5a52;
    --adm-border: #f1dccf;
    --adm-sidebar: #7f1800;
    --adm-sidebar-dark: #641300;
    --adm-sidebar-hover: rgba(255, 255, 255, 0.10);
    --adm-success: #166534;
    --adm-danger: #b91c1c;
    --adm-shadow-soft: 0 10px 30px rgba(92, 35, 17, 0.08);
    --adm-shadow-card: 0 18px 40px rgba(92, 35, 17, 0.10);
    --adm-shadow-hover: 0 24px 50px rgba(92, 35, 17, 0.14);
    --adm-radius-lg: 22px;
    --adm-radius-md: 16px;
    --adm-radius-sm: 12px;
    --sidebar-width: 300px;
    --sidebar-width-collapsed: 94px;
    --adm-transition: all 0.28s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--adm-bg);
    color: var(--adm-text);
    line-height: 1.6;
    overflow-x: hidden;
}

body.site-protected {
    -webkit-user-select: none;
    user-select: none;
}

/* Garante que campos de formulário sempre permitam selecionar, copiar e colar */
body.site-protected input,
body.site-protected textarea,
body.site-protected select,
body.site-protected [contenteditable] {
    -webkit-user-select: text;
    user-select: text;
}

a {
    text-decoration: none;
    transition: var(--adm-transition);
}

.container {
    width: min(1280px, 94%);
    margin: 0 auto;
}

.site-main {
    position: relative;
    z-index: 1;
}

/* ==============================
   HEADER / NAVEGAÇÃO PÚBLICA
============================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
}

.adm-navbar {
    background: linear-gradient(135deg, var(--adm-sidebar-dark) 0%, var(--adm-sidebar) 60%, #a02010 100%);
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.adm-header-glow {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--adm-accent) 30%, #f7c948 60%, transparent 100%);
    opacity: .85;
}

/* Marca */
.adm-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #fff;
    padding: 0.2rem 0;
    transition: opacity .22s ease;
}

.adm-brand:hover { color: #fff; opacity: .92; }

.adm-brand-mark {
    width: 80px;
    height: 48px;
    border-radius: 12px;
    background: hsla(48, 100%, 88%, .94);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(0,0,0,.18);
}

.adm-logo-img {
    max-width: 62px;
    max-height: 46px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.adm-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    gap: 3px;
}

.adm-brand-text strong {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: .3px;
    color: #fff;
}

.adm-brand-text small {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 238, 170, .92);
    letter-spacing: .3px;
}

/* Links de navegação */
.adm-main-menu {
    gap: 2px;
}

.adm-main-menu .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 245, 235, .88);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    transition: color .2s ease, background .2s ease;
    white-space: nowrap;
}

.adm-main-menu .nav-link i {
    font-size: .8rem;
    opacity: .75;
    transition: opacity .2s ease, transform .2s ease;
}

.adm-main-menu .nav-link::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.25rem;
    height: 2px;
    background: var(--adm-accent);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.adm-main-menu .nav-link:hover,
.adm-main-menu .nav-link:focus {
    color: #fff;
    background: rgba(255,255,255,.08);
}

.adm-main-menu .nav-link:hover i,
.adm-main-menu .nav-link.active i {
    opacity: 1;
    transform: translateY(-1px);
}

.adm-main-menu .nav-link:hover::after,
.adm-main-menu .nav-link.active::after {
    transform: scaleX(1);
}

.adm-main-menu .nav-link.active {
    color: #fff;
    font-weight: 700;
    background: rgba(255,255,255,.10);
}

/* Ações (lado direito) */
.adm-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Botão usuário */
.adm-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255,255,255,.10);
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50px;
    padding: 6px 14px 6px 7px;
    font-size: .87rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.adm-user-btn:hover,
.adm-user-btn:focus,
.adm-user-btn.show {
    background: rgba(255,255,255,.17);
    border-color: rgba(255,255,255,.32);
    color: #fff;
}

.adm-user-btn::after {
    margin-left: 0;
}

.adm-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--adm-accent), #f0830a);
    color: #4a2000;
    font-size: .85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.adm-user-name {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Dropdown de usuário */
.adm-user-dropdown {
    z-index: 1300;
    min-width: 210px;
    border: 1.5px solid var(--adm-border);
    border-radius: 18px;
    padding: 6px;
    box-shadow: 0 20px 50px rgba(92, 35, 17, .16);
    background: #fff;
    margin-top: 8px !important;
}

.adm-dropdown-header {
    display: flex;
    flex-direction: column;
    padding: 10px 14px 8px;
    gap: 2px;
}

.adm-dropdown-name {
    font-size: .9rem;
    font-weight: 700;
    color: var(--adm-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.adm-dropdown-role {
    font-size: .74rem;
    color: var(--adm-muted);
    font-weight: 500;
}

.adm-user-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    padding: 9px 14px;
    font-size: .87rem;
    font-weight: 600;
    color: var(--adm-text);
    transition: background .18s ease;
}

.adm-user-dropdown .dropdown-item i {
    width: 16px;
    text-align: center;
    color: var(--adm-muted);
}

.adm-user-dropdown .dropdown-item:hover {
    background: rgba(127, 24, 0, .06);
    color: var(--adm-primary);
}

.adm-user-dropdown .dropdown-item:hover i { color: var(--adm-primary); }

.adm-dropdown-logout { color: #b91c1c !important; }
.adm-dropdown-logout i { color: #b91c1c !important; }
.adm-dropdown-logout:hover { background: #fef2f2 !important; }

/* Botão Entrar */
.adm-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--adm-accent) 0%, #f39a0f 100%);
    color: #4a2100;
    font-size: .87rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(252, 169, 28, .35);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    white-space: nowrap;
}

.adm-login-btn:hover {
    color: #3b1a00;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(252, 169, 28, .40);
}

/* Toggler mobile */
.adm-navbar-toggler {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 12px;
    padding: 0.45rem 0.7rem;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    transition: background .2s ease;
}

.adm-navbar-toggler:hover { background: rgba(255,255,255,.18); }
.adm-navbar-toggler:focus { box-shadow: none; outline: none; }

/* ==============================
   BOTÕES
============================== */
.btn-adm-primary,
.btn-adm-outline,
.btn-adm-user,
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: var(--adm-transition);
    font-weight: 700;
}

.btn-adm-primary,
.btn-primary {
    background: linear-gradient(135deg, var(--adm-accent), #f39a0f);
    color: #4a2100;
    box-shadow: 0 10px 24px rgba(252, 169, 28, 0.24);
}

.btn-adm-primary:hover,
.btn-primary:hover {
    color: #3b1a00;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(252, 169, 28, 0.28);
}

.btn-adm-outline,
.btn-secondary {
    background: transparent;
    color: var(--adm-primary);
    border: 1px solid rgba(187, 32, 0, 0.16);
}

.btn-adm-outline:hover,
.btn-secondary:hover {
    background: rgba(187, 32, 0, 0.06);
    color: var(--adm-primary-dark);
    transform: translateY(-1px);
}

.btn-adm-user {
    background: rgba(255,255,255,0.10);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.16);
}

.btn-adm-user:hover,
.btn-adm-user:focus {
    color: #fff;
    background: rgba(255,255,255,0.16);
}

/* ==============================
   HERO / HOME PÚBLICA
============================== */
.hero-section {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 84px 0 62px;
    background:
        radial-gradient(circle at top right, rgba(252, 169, 28, 0.12), transparent 22%),
        linear-gradient(135deg, #fffdfb 0%, #fff7f2 55%, #ffffff 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    background: rgba(187, 32, 0, 0.06);
    color: var(--adm-primary);
    font-weight: 700;
    font-size: 0.86rem;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.03;
    font-weight: 800;
    color: var(--adm-primary-dark);
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.02rem;
    color: var(--adm-muted);
    max-width: 760px;
    margin-bottom: 1.4rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
}

.hero-mini-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-mini-card {
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--adm-shadow-soft);
    transition: var(--adm-transition);
    animation: fadeUp 0.65s ease both;
}

.hero-mini-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--adm-shadow-hover);
}

.hero-mini-card strong {
    display: block;
    color: var(--adm-primary);
    font-size: 0.95rem;
}

.hero-mini-card span {
    display: block;
    font-size: 0.88rem;
    color: var(--adm-muted);
    margin-top: 0.15rem;
}

.hero-side-card {
    background: linear-gradient(180deg, rgba(127, 24, 0, 0.96), rgba(100, 19, 0, 0.98));
    color: #fff;
    border-radius: 26px;
    padding: 1.8rem;
    box-shadow: 0 24px 60px rgba(92, 35, 17, 0.20);
}

.hero-side-label {
    display: inline-block;
    color: #fff2bf;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    padding: 0.5rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-side-card h2 {
    font-size: 1.5rem;
    margin: 1rem 0 0.8rem;
}

.hero-check-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
}

.hero-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.7rem;
}

/* ==============================
   SEÇÕES PÚBLICAS
============================== */
.site-section {
    padding: 74px 0;
}

.section-soft {
    background: var(--adm-bg-soft);
}

.section-heading {
    max-width: 820px;
    margin-bottom: 2rem;
}

.section-heading.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--adm-accent);
}

.section-heading h2 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.12;
    color: var(--adm-primary-dark);
    margin: 0.45rem 0 0.8rem;
}

.section-heading p {
    color: var(--adm-muted);
    margin-bottom: 0;
}

.info-card,
.activity-card,
.news-card,
.empty-state-box,
.location-placeholder,
.contact-panel,
.contribution-form-card,
.cta-box,
.location-map {
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius-lg);
    box-shadow: var(--adm-shadow-soft);
}

.info-card,
.activity-card,
.news-card,
.contact-panel {
    padding: 1.5rem;
    transition: var(--adm-transition);
    animation: fadeUp 0.7s ease both;
}

.info-card:hover,
.activity-card:hover,
.news-card:hover,
.contact-panel:hover {
    transform: translateY(-7px);
    box-shadow: var(--adm-shadow-hover);
}

.info-card h3,
.activity-card h3,
.news-card h3,
.contact-panel h3 {
    color: var(--adm-primary-dark);
    margin-bottom: 0.7rem;
    font-size: 1.12rem;
}

.info-card p,
.activity-card p,
.news-card p,
.contact-panel p {
    color: var(--adm-muted);
    margin-bottom: 0;
}

.info-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(187, 32, 0, 0.08), rgba(252, 169, 28, 0.16));
    color: var(--adm-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.activity-status {
    display: inline-flex;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    background: rgba(252, 169, 28, 0.16);
    color: var(--adm-primary);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.activity-meta {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.activity-meta li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--adm-muted);
    font-size: 0.92rem;
    margin-bottom: 0.45rem;
}

.cta-box {
    color: var(--adm-text);
    border-radius: 28px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, #fff7da, #fffdf8);
}

.cta-box h2 {
    margin: 0 0 0.7rem;
    font-size: 1.7rem;
    color: var(--adm-primary-dark);
}

.cta-box p {
    color: var(--adm-muted);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.empty-state-box,
.location-placeholder {
    padding: 1.7rem;
    text-align: center;
}

.empty-state-box i,
.location-placeholder i {
    font-size: 1.7rem;
    color: var(--adm-accent);
    margin-bottom: 0.8rem;
}

/* ==============================
   CTA ADMB
============================== */
.admb-cta {
    background: linear-gradient(135deg, #fff4c9, #fff8de);
}

.cta-content {
    padding: 20px;
}

.cta-biblia {
    background: #fffdf8;
    border-left: 5px solid var(--adm-primary);
    padding: 15px;
    font-style: italic;
    color: var(--adm-text);
    border-radius: 8px;
    box-shadow: var(--adm-shadow-soft);
}

.cta-radio-card {
    background: #fffdf8;
    border-radius: 18px;
    padding: 30px;
    border: 1px solid var(--adm-border);
    box-shadow: var(--adm-shadow-soft);
    transition: var(--adm-transition);
}

.cta-radio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--adm-shadow-hover);
}

.cta-radio-card button {
    background: linear-gradient(135deg, var(--adm-accent), #f39a0f);
    border: none;
    color: #4a2100;
    font-weight: 800;
}

.cta-radio-card button:hover {
    color: #3b1a00;
}

/* ==============================
   CONTATO
============================== */
.contact-panel {
    height: 100%;
}

.contact-panel-text {
    margin-bottom: 1.2rem !important;
}

.contact-form .form-label {
    font-weight: 700;
    color: var(--adm-primary-dark);
}

.pastor-message-panel {
    background: linear-gradient(180deg, #fffefb, #fff8f2);
}

.pastor-message-tag {
    display: inline-block;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(187, 32, 0, 0.08);
    color: var(--adm-primary);
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.pastor-message-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(187, 32, 0, 0.03);
    border: 1px solid rgba(187, 32, 0, 0.08);
    margin-top: 1rem;
    transition: var(--adm-transition);
}

.pastor-message-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--adm-shadow-soft);
}

.pastor-message-box i {
    font-size: 1.2rem;
    color: var(--adm-accent);
    margin-top: 3px;
}

.pastor-message-box strong {
    display: block;
    color: var(--adm-primary-dark);
}

.pastor-message-box span {
    display: block;
    color: var(--adm-muted);
    font-size: 0.94rem;
}

.pastor-signature {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--adm-border);
}

.pastor-signature strong {
    display: block;
    color: var(--adm-primary-dark);
}

.pastor-signature span {
    color: var(--adm-muted);
    font-size: 0.94rem;
}

/* ==============================
   MAPA
============================== */
.location-map {
    background: #fffdfb;
    padding: 16px;
    border-radius: 18px;
}

/* ==============================
   FORMULÁRIOS
============================== */
.form-control,
.form-select {
    min-height: 58px;
    border-radius: 18px;
    border: 1px solid var(--adm-border);
    background: #fffdfa;
    color: var(--adm-text);
    padding: 0.95rem 1.15rem;
    box-shadow: none;
    transition: var(--adm-transition);
}

.form-control::placeholder {
    color: #a08b84;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(187, 32, 0, 0.28);
    box-shadow: 0 0 0 0.2rem rgba(187, 32, 0, 0.07);
    background: #fff;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
    padding-top: 1rem;
}

.contribution-page-header,
.register-page-header {
    max-width: 1080px;
    margin: 0 auto 2rem;
}

.contribution-page-header h1 {
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1.08;
    color: var(--adm-primary-dark);
    margin: 0.4rem 0 0.8rem;
}

.contribution-page-header p {
    font-size: 1.05rem;
    color: var(--adm-muted);
    margin-bottom: 0;
}

.contribution-form-wrap,
.register-form-wrap {
    max-width: 1120px;
    margin: 0 auto;
}

.contribution-form-card,
.register-form-card {
    padding: 2.4rem;
}

.contribution-form-header {
    margin-bottom: 1.6rem;
}

.contribution-form-header h2,
.contribution-form-header h3 {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    color: var(--adm-primary-dark);
    margin-bottom: 0.6rem;
}

.contribution-form-header p {
    color: var(--adm-muted);
    margin-bottom: 0;
    max-width: 760px;
}

.contribution-form .form-label,
.register-form .form-label {
    display: inline-block;
    margin-bottom: 0.65rem;
    font-weight: 700;
    color: var(--adm-primary-dark);
    font-size: 1.05rem;
}

.contribution-form-actions,
.register-form-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contribution-form-actions .btn {
    min-height: 56px;
    border-radius: 14px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-size: 1rem;
    box-shadow: 0 10px 24px rgba(252, 169, 28, 0.18);
}

.register-alert {
    max-width: 1120px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
}

/* ==============================
   RODAPÉ
============================== */
.site-footer {
    background: linear-gradient(160deg, #641300 0%, #7f1800 50%, #8f2000 100%);
    color: rgba(255,255,255,.88);
    margin-top: 0;
    position: relative;
    overflow-x: hidden;
}

/* Linha âmbar no topo */
.footer-glow-top {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--adm-accent) 30%, #f7c948 60%, transparent 100%);
    opacity: .85;
}

/* Grid de colunas */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding: 52px 0 40px;
}

/* Coluna da marca */
.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    transition: opacity .2s ease;
}

.footer-brand-link:hover { opacity: .9; }

.footer-brand-mark {
    width: 72px;
    height: 44px;
    border-radius: 10px;
    background: hsla(48, 100%, 88%, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,.20);
}

.footer-logo-img {
    max-width: 54px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
}

.footer-brand-text strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: .2px;
}

.footer-brand-text small {
    font-size: .7rem;
    font-weight: 600;
    color: rgba(255,238,170,.88);
    letter-spacing: .3px;
}

.footer-desc {
    font-size: .87rem;
    color: rgba(255,255,255,.68);
    line-height: 1.65;
    margin: 0 0 18px;
}

.footer-verse {
    border-left: 3px solid var(--adm-accent);
    padding: 8px 14px;
    margin: 0;
    font-style: italic;
    font-size: .83rem;
    color: rgba(255,238,170,.82);
    line-height: 1.55;
    border-radius: 0 8px 8px 0;
    background: rgba(252,169,28,.08);
}

.footer-verse cite {
    display: block;
    margin-top: 5px;
    font-size: .75rem;
    font-style: normal;
    font-weight: 700;
    color: rgba(255,255,255,.5);
    letter-spacing: .04em;
}

/* Colunas secundárias */
.footer-col { min-width: 0; }

.footer-title {
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--adm-accent);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .86rem;
    color: rgba(255,255,255,.72);
    padding: 5px 8px;
    border-radius: 8px;
    transition: color .18s ease, background .18s ease, gap .18s ease;
}

.footer-links a i {
    font-size: .75rem;
    width: 14px;
    text-align: center;
    color: rgba(252,169,28,.65);
    flex-shrink: 0;
    transition: color .18s ease;
}

.footer-links a:hover {
    color: #fff;
    background: rgba(255,255,255,.07);
    gap: 12px;
}

.footer-links a:hover i {
    color: var(--adm-accent);
}

/* Lista de info da igreja */
.footer-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .84rem;
    color: rgba(255,255,255,.68);
    line-height: 1.45;
}

.footer-info-list i {
    font-size: .78rem;
    color: rgba(252,169,28,.7);
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}

/* Badge decorativo */
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(252,169,28,.14);
    border: 1px solid rgba(252,169,28,.28);
    color: rgba(255,238,170,.9);
    padding: 7px 14px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
}

.footer-badge i { color: var(--adm-accent); }

/* Separador */
.footer-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.15) 20%, rgba(252,169,28,.35) 50%, rgba(255,255,255,.15) 80%, transparent 100%);
    margin: 0 0 24px;
}

/* Rodapé inferior */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 28px;
}

.footer-copy {
    font-size: .83rem;
    color: rgba(255,255,255,.55);
    margin: 0;
}

.footer-copy strong {
    color: rgba(255,255,255,.80);
    font-weight: 700;
}

.footer-author {
    font-size: .83rem;
    color: rgba(255,255,255,.45);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-author-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--adm-accent);
    font-weight: 700;
    transition: color .18s ease, opacity .18s ease;
}

.footer-author-link i { font-size: .78rem; }

.footer-author-link:hover {
    color: #f7c948;
    opacity: .9;
}

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--adm-accent), #f39a0f);
    color: #4a2100;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 34px rgba(252, 169, 28, 0.24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--adm-transition);
    z-index: 1200;
    font-weight: 800;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==============================
   MODAL "NÃO SAIA"
============================== */
.exit-modal-dialog {
    max-width: 480px;
}

.exit-modal-content {
    border: none;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(92, 35, 17, .28);
    position: relative;
}

/* Botão X flutuante */
.exit-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.20);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.exit-modal-close:hover {
    background: rgba(255,255,255,.35);
    transform: rotate(90deg);
}

/* Topo gradiente */
.exit-modal-top {
    position: relative;
    overflow: hidden;
    padding: 44px 32px 36px;
    background: linear-gradient(145deg, #641300 0%, #7f1800 50%, #9a2208 100%);
    text-align: center;
}

.exit-modal-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(252,169,28,.22) 0%, transparent 50%),
        radial-gradient(circle at 15% 85%, rgba(255,255,255,.07) 0%, transparent 40%);
    pointer-events: none;
}

.exit-modal-icon-wrap {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.9rem;
    color: var(--adm-accent);
}

.exit-modal-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 3px solid rgba(252,169,28,.55);
    animation: exitIconPulse 2.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes exitIconPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0; transform: scale(1.55); }
}

.exit-modal-tag {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: .28rem .75rem;
    border-radius: 999px;
    background: rgba(252,169,28,.18);
    border: 1px solid rgba(252,169,28,.30);
    color: #ffe9a0;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: .7rem;
}

.exit-modal-title {
    position: relative;
    z-index: 1;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin: 0;
}

.exit-modal-title span {
    color: var(--adm-accent);
}

/* Corpo */
.exit-modal-body {
    padding: 26px 28px 28px;
    background: #fff;
}

.exit-modal-verse {
    background: linear-gradient(135deg, #fff9f0, #fffdf8);
    border-left: 4px solid var(--adm-primary);
    border-radius: 0 14px 14px 0;
    padding: 14px 16px;
    margin: 0 0 1.1rem;
    font-style: italic;
    font-size: .9rem;
    color: var(--adm-text);
    line-height: 1.55;
}

.exit-modal-verse i {
    color: var(--adm-primary);
    margin-right: 6px;
    font-size: .85rem;
}

.exit-modal-verse cite {
    display: block;
    margin-top: .4rem;
    font-style: normal;
    font-weight: 800;
    font-size: .78rem;
    color: var(--adm-primary);
    letter-spacing: .04em;
}

.exit-modal-text {
    font-size: .91rem;
    color: var(--adm-muted);
    line-height: 1.6;
    margin: 0 0 1.3rem;
}

.exit-modal-text strong {
    color: var(--adm-primary-dark);
}

.exit-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exit-modal-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--adm-accent), #f39a0f);
    color: #4a2100;
    font-weight: 800;
    font-size: .97rem;
    box-shadow: 0 10px 28px rgba(252,169,28,.30);
    transition: transform .2s ease, box-shadow .2s ease;
}

.exit-modal-cta:hover {
    color: #3b1a00;
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(252,169,28,.38);
}

.exit-modal-skip {
    background: none;
    border: none;
    color: var(--adm-muted);
    font-size: .84rem;
    font-weight: 600;
    cursor: pointer;
    padding: 6px;
    text-align: center;
    transition: color .18s ease;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: transparent;
}

.exit-modal-skip:hover {
    color: var(--adm-primary);
    text-decoration-color: currentColor;
}

/* ==============================
   PAINEL ADMIN / DASHBOARD
============================== */

/* ---- Topo do painel (header) ---- */
.dash-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.dash-user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50px;
    padding: 5px 14px 5px 6px;
}

.dash-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.dash-user-name {
    font-size: .86rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-user-role {
    font-size: .72rem;
    color: rgba(255,238,170,.85);
    font-weight: 500;
}

.dash-top-btns {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dash-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.14);
    transition: background .2s ease, color .2s ease;
    white-space: nowrap;
}

.dash-top-btn:hover {
    background: rgba(255,255,255,.17);
    color: #fff;
}

.dash-top-btn-exit { color: rgba(255,200,190,.9); }
.dash-top-btn-exit:hover {
    background: rgba(185,28,28,.28);
    color: #ffd5d5;
}

/* ---- Shell ---- */
.dashboard-shell {
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    min-height: calc(100vh - 72px);
    transition: grid-template-columns 0.28s ease;
}

.dashboard-shell.sidebar-collapsed {
    grid-template-columns: var(--sidebar-width-collapsed) minmax(0, 1fr);
}

/* ---- Sidebar ---- */
.dashboard-sidebar {
    background: linear-gradient(160deg, var(--adm-sidebar-dark) 0%, var(--adm-sidebar) 55%, #961d06 100%);
    min-height: 100%;
    border-right: 1px solid rgba(255,255,255,.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar-inner {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 14px 16px;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.15) transparent;
}

.sidebar-inner::-webkit-scrollbar {
    width: 4px;
}

.sidebar-inner::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-inner::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.15);
    border-radius: 999px;
}

.sidebar-inner::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,.28);
}

/* ---- Cabeçalho da sidebar ---- */
.sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.10);
    margin-bottom: 16px;
}

.sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.sidebar-user-avatar-lg {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--adm-accent) 0%, #f0830a 100%);
    color: #4a2000;
    font-size: .95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,.22);
}

.sidebar-user-info {
    min-width: 0;
    flex: 1;
}

.sidebar-user-fullname {
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-perfil-badge {
    display: inline-block;
    margin-top: 3px;
    padding: 1px 8px;
    border-radius: 20px;
    font-size: .68rem;
    font-weight: 700;
    background: rgba(252,169,28,.22);
    color: var(--adm-accent);
    letter-spacing: .03em;
    white-space: nowrap;
}

/* ---- Botão colapsar ---- */
.sidebar-collapse-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease, transform .28s ease;
    flex-shrink: 0;
    font-size: .85rem;
}

.sidebar-collapse-btn:hover {
    background: rgba(255,255,255,.22);
}

/* ---- Navegação ---- */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.sidebar-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sidebar-group + .sidebar-group {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.sidebar-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: rgba(255,255,255,.55);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    text-align: left;
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}

.sidebar-group-toggle:hover {
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.06);
}

.sidebar-group-toggle .left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sidebar-group-toggle i { font-size: .75rem; }

.sidebar-group-toggle .chevron {
    font-size: .65rem;
    transition: transform .25s ease;
}

.sidebar-group-toggle[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

.sidebar-group-items {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 4px;
}

/* ---- Links ---- */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    color: rgba(255,245,235,.80);
    background: transparent;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
    font-weight: 600;
    font-size: .88rem;
    white-space: nowrap;
    overflow: hidden;
    border: none;
    border-left: 3px solid transparent;
    position: relative;
}

.sidebar-link:hover {
    background: rgba(255,255,255,.09);
    color: #fff;
    border-left-color: rgba(255,255,255,.25);
}

.sidebar-link.active {
    background: rgba(252,169,28,.15);
    color: #fff;
    font-weight: 700;
    border-left-color: var(--adm-accent);
}

.sidebar-link i {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    font-size: .95rem;
    transition: transform .18s ease;
}

.sidebar-link:hover i,
.sidebar-link.active i {
    transform: translateX(1px);
}

.sidebar-link span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-active-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--adm-accent);
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(252,169,28,.6);
}

/* ---- Rodapé da sidebar (Sair) ---- */
.sidebar-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.10);
}

.sidebar-logout-link {
    color: rgba(255,200,190,.80) !important;
}

.sidebar-logout-link:hover {
    background: rgba(185,28,28,.25) !important;
    color: #ffd5d5 !important;
    border-left-color: #ef4444 !important;
}

/* ---- Estado colapsado ---- */
.dashboard-shell.sidebar-collapsed .sidebar-user-info,
.dashboard-shell.sidebar-collapsed .sidebar-link span,
.dashboard-shell.sidebar-collapsed .sidebar-active-dot,
.dashboard-shell.sidebar-collapsed .sidebar-group-toggle,
.dashboard-shell.sidebar-collapsed .sidebar-group + .sidebar-group {
    display: none !important;
}

.dashboard-shell.sidebar-collapsed .sidebar-head {
    justify-content: center;
    padding-bottom: 14px;
}

.dashboard-shell.sidebar-collapsed .sidebar-user-card {
    justify-content: center;
}

.dashboard-shell.sidebar-collapsed .sidebar-collapse-btn {
    transform: rotate(180deg);
}

.dashboard-shell.sidebar-collapsed .sidebar-link {
    justify-content: center;
    padding: 11px;
    border-left-width: 0;
    border-radius: 12px;
}

.dashboard-shell.sidebar-collapsed .sidebar-link i { margin: 0; }
.dashboard-shell.sidebar-collapsed .sidebar-group-items { padding-left: 0; }

/* ---- Main ---- */
.dashboard-main {
    min-width: 0;
    overflow-x: hidden;
    padding: 0;
    background: #f7f5f3;
}

.page-section {
    padding: 24px 0 10px;
}

.page-header-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.card-box {
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--adm-shadow-soft);
    min-width: 0;
    transition: var(--adm-transition);
}

.card-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--adm-shadow-hover);
}

.card-box h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--adm-primary-dark);
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: 20px;
    box-shadow: var(--adm-shadow-soft);
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background: #fff6e8;
    border-bottom: 1px solid var(--adm-border);
    white-space: nowrap;
}

.table td,
.table th {
    vertical-align: middle;
}

.alert {
    border-radius: 12px;
}

/* ==============================
   DOCUMENTOS PREMIUM
============================== */
.document-print-body {
    background: #fff8f3;
    padding: 40px 0;
    color: #18212f;
}

.document-print-wrap {
    width: min(980px, 94%);
    margin: 0 auto;
}

.document-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #fffdfa 100%);
    border: 1px solid var(--adm-border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(92, 35, 17, 0.12);
}

.document-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(252, 169, 28, 0.10), transparent 22%),
        radial-gradient(circle at bottom left, rgba(187, 32, 0, 0.08), transparent 26%);
    pointer-events: none;
}

.document-header {
    position: relative;
    background: linear-gradient(135deg, var(--adm-primary) 0%, var(--adm-accent) 100%);
    color: #fff;
    padding: 26px 28px;
}

.document-header-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.document-brand h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
}

.document-brand p {
    margin: 6px 0 0;
    opacity: 0.95;
    font-size: 0.96rem;
}

.document-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
}

.document-body {
    position: relative;
    padding: 30px 28px;
}

.document-grid {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.document-photo-box {
    background: linear-gradient(180deg, #ffffff, #fffaf5);
    border: 1px solid var(--adm-border);
    border-radius: 22px;
    padding: 16px;
    text-align: center;
}

.document-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 16px;
    border: 3px solid #f5e6d9;
    background: #f3f4f6;
}

.document-photo-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    border: 2px dashed #d8bca9;
    background: linear-gradient(135deg, #fffaf7, #f9eee6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #725f55;
    font-weight: 700;
    text-align: center;
    padding: 18px;
}

.document-info {
    display: grid;
    gap: 14px;
}

.document-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #162338;
}

.document-subtitle {
    margin: 0;
    font-size: 1rem;
    color: #6f5f58;
}

.document-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    margin-top: 10px;
}

.document-field {
    background: #fffdfa;
    border: 1px solid #f0e1d6;
    border-radius: 16px;
    padding: 14px 16px;
}

.document-field-label {
    display: block;
    font-size: 0.82rem;
    color: #836c63;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 700;
}

.document-field-value {
    display: block;
    font-size: 1rem;
    color: #18212f;
    font-weight: 700;
    word-break: break-word;
}

.document-validation {
    margin-top: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 20px;
    align-items: stretch;
}

.document-validation-box {
    background: linear-gradient(135deg, #fffdf5, #fff8dc);
    border: 1px solid #f0df9a;
    border-radius: 18px;
    padding: 18px 18px 16px;
}

.document-validation-box h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 800;
    color: #72590c;
}

.document-validation-box p {
    margin: 0 0 8px;
    color: #473a17;
    font-size: 0.95rem;
}

.validation-code {
    display: inline-block;
    margin-top: 6px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #ead278;
    font-weight: 800;
    color: #6e5408;
    letter-spacing: 1px;
}

.document-qr-box {
    background: #fff;
    border: 1px solid #eadfd6;
    border-radius: 18px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-qr-box img {
    display: block;
    width: 100%;
    max-width: 140px;
    height: auto;
}

.document-footer {
    border-top: 1px solid #eadfd6;
    background: #fffdfb;
    padding: 18px 28px 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.document-signature {
    min-width: 260px;
}

.document-signature-line {
    height: 1px;
    background: #475569;
    margin-bottom: 8px;
    margin-top: 18px;
}

.document-signature small,
.document-meta small {
    color: #6e5c55;
    display: block;
}

.document-actions {
    width: min(980px, 94%);
    margin: 18px auto 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.document-actions .btn {
    border-radius: 12px;
}

@media print {
    body.document-print-body {
        background: #fff;
        padding: 0;
    }

    .document-actions {
        display: none !important;
    }

    .document-print-wrap {
        width: 100%;
        margin: 0;
    }

    .document-card {
        box-shadow: none;
        border: 1px solid #e6d7cc;
    }
}

/* ==============================
   ANIMAÇÕES
============================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================
   PAINEL — CONTAINERS ANINHADOS
============================== */

@keyframes admPanelIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes admCountUp {
    from { opacity: 0; transform: scale(0.75); }
    to   { opacity: 1; transform: scale(1); }
}

/* Container externo */
.panel-outer {
    background: linear-gradient(150deg, #fef9f4 0%, #ffffff 45%, #fef4e8 100%);
    min-height: calc(100vh - 88px);
    padding: 32px 0 48px;
}

/* Container interno */
.panel-inner {
    background: #ffffff;
    border-radius: 26px;
    padding: 28px 30px;
    box-shadow: 0 6px 40px rgba(127,24,0,0.07), 0 1px 6px rgba(127,24,0,0.04);
    border: 1.5px solid rgba(127,24,0,0.07);
    margin-bottom: 22px;
    animation: admPanelIn 0.4s ease both;
}

.panel-inner.delay-1 { animation-delay: 0.08s; }
.panel-inner.delay-2 { animation-delay: 0.16s; }
.panel-inner.delay-3 { animation-delay: 0.24s; }

/* Grade de cards de estatística */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

/* Card de estatística — layout horizontal compacto via CSS Grid */
.stat-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 13px 14px 12px;
    border: 1.5px solid rgba(0,0,0,0.06);
    border-left: 4px solid var(--sc-color, var(--adm-primary));
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    animation: admPanelIn 0.5s ease both;
    animation-delay: var(--sc-delay, 0s);
    text-decoration: none;
    color: inherit;
    /* Layout horizontal: ícone à esquerda, texto à direita */
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 11px;
    align-items: center;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -10px; right: -10px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--sc-color, var(--adm-primary));
    opacity: 0.05;
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    color: inherit;
    text-decoration: none;
}

.stat-card:hover::after {
    opacity: 0.10;
    transform: scale(1.1);
}

/* Ícone: ocupa as 3 linhas à esquerda, centralizado */
.stat-card-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--sc-color, var(--adm-primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-bottom: 0;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    /* CSS Grid: span nas 3 linhas de texto */
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: center;
    flex-shrink: 0;
}

.stat-card-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--sc-color, var(--adm-primary));
    line-height: 1;
    letter-spacing: -0.02em;
    animation: admCountUp 0.55s ease both;
    animation-delay: calc(var(--sc-delay, 0s) + 0.12s);
    grid-column: 2;
    grid-row: 1;
    align-self: end;
}

.stat-card-label {
    font-size: 0.68rem;
    color: var(--adm-muted);
    font-weight: 600;
    margin-top: 1px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    grid-column: 2;
    grid-row: 2;
    line-height: 1.2;
}

.stat-card-sub {
    font-size: 0.75rem;
    color: var(--adm-text);
    margin-top: 1px;
    font-weight: 500;
    grid-column: 2;
    grid-row: 3;
    opacity: 0.85;
    line-height: 1.2;
}

/* Card de conteúdo */
.content-card {
    background: var(--adm-surface);
    border: 1.5px solid var(--adm-border);
    border-top: 4px solid var(--cc-color, var(--adm-primary));
    border-radius: 20px;
    padding: 24px;
    height: 100%;
    transition: box-shadow 0.24s ease, transform 0.24s ease;
    animation: admPanelIn 0.5s ease both;
    animation-delay: var(--cc-delay, 0.12s);
}

.content-card:hover {
    box-shadow: 0 8px 30px rgba(127,24,0,0.08);
    transform: translateY(-2px);
}

.content-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 10px;
}

.content-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--adm-primary-dark);
    margin: 0;
}

.content-card-title i {
    color: var(--cc-color, var(--adm-primary));
}

/* Botão de ação rápida */
.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1.5px solid var(--adm-border);
    background: #fff;
    color: var(--adm-text);
    font-weight: 600;
    font-size: 0.91rem;
    text-decoration: none;
    transition: all 0.22s ease;
    margin-bottom: 8px;
    width: 100%;
}

.quick-action-btn:last-child { margin-bottom: 0; }

.quick-action-btn .qab-icon {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: var(--qa-color, var(--adm-primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    flex-shrink: 0;
    transition: transform 0.22s ease;
}

.quick-action-btn:hover {
    border-color: var(--qa-color, var(--adm-primary));
    color: var(--adm-primary-dark);
    background: var(--adm-bg-soft);
    transform: translateX(4px);
    text-decoration: none;
}

.quick-action-btn:hover .qab-icon {
    transform: scale(1.1);
}

/* Cabeçalho de painel */
.panel-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.panel-page-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--adm-primary-dark);
    margin: 0 0 4px;
    line-height: 1.2;
}

.panel-page-sub {
    color: var(--adm-muted);
    font-size: 0.93rem;
    margin: 0;
}

/* Item de feed (informes / lista) */
.feed-item {
    padding: 11px 0;
    border-bottom: 1px solid var(--adm-border);
}

.feed-item:last-child { border-bottom: none; padding-bottom: 0; }

.feed-item:first-child { padding-top: 0; }

.feed-item-title {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--adm-text);
    margin: 0 0 2px;
}

.feed-item-sub {
    font-size: 0.81rem;
    color: var(--adm-muted);
    margin: 0;
}

/* ==============================
   DEPARTAMENTOS — CARDS
============================== */

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

.dept-card {
    background: #fff;
    border-radius: 20px;
    border: 1.5px solid rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    animation: admPanelIn 0.45s ease both;
    box-shadow: 0 3px 16px rgba(0,0,0,0.06);
}

.dept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.11);
}

.dept-card-top {
    background: var(--dc-color, var(--adm-primary));
    padding: 18px 18px 16px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.dept-card-icon {
    width: 44px; height: 44px;
    border-radius: 13px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.dept-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.dept-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.dept-badge-green  { background: rgba(255,255,255,0.22); color: #fff; }
.dept-badge-gray   { background: rgba(0,0,0,0.18); color: rgba(255,255,255,0.8); }
.dept-badge-blue   { background: rgba(255,255,255,0.90); color: #1e40af; }
.dept-badge-orange { background: rgba(255,255,255,0.22); color: #fff; border: 1px solid rgba(255,255,255,0.35); }

.dept-card-body {
    padding: 18px 18px 12px;
    flex: 1;
}

.dept-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--adm-primary-dark);
    margin: 0 0 8px;
    line-height: 1.3;
}

.dept-card-desc {
    font-size: 0.87rem;
    color: var(--adm-muted);
    margin: 0 0 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dept-card-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    color: var(--adm-muted);
    margin-top: 5px;
}

.dept-card-meta i {
    color: var(--dc-color, var(--adm-primary));
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.dept-card-actions {
    padding: 12px 18px 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-top: 1px solid var(--adm-border);
    background: var(--adm-bg-soft);
}

.dept-action-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    background: none;
    font-family: inherit;
    line-height: 1;
}

.dept-action-edit {
    border-color: var(--adm-border);
    color: var(--adm-text);
    background: #fff;
}

.dept-action-edit:hover {
    border-color: var(--adm-primary);
    color: var(--adm-primary);
    background: #fff;
    text-decoration: none;
}

.dept-action-show {
    border-color: #1e40af;
    color: #1e40af;
    background: #eff6ff;
}

.dept-action-show:hover {
    background: #1e40af;
    color: #fff;
}

.dept-action-hide {
    border-color: #b45309;
    color: #b45309;
    background: #fffbeb;
}

.dept-action-hide:hover {
    background: #b45309;
    color: #fff;
}

.dept-action-danger {
    border-color: #fca5a5;
    color: #7f1800;
    background: #fff1f2;
}

.dept-action-danger:hover {
    background: #7f1800;
    color: #fff;
    border-color: #7f1800;
}

.dept-action-warning {
    border-color: #fcd34d;
    color: #b45309;
    background: #fffbeb;
}

.dept-action-warning:hover {
    background: #b45309;
    color: #fff;
    border-color: #b45309;
}

.dept-action-success {
    border-color: #86efac;
    color: #15803d;
    background: #f0fdf4;
}

.dept-action-success:hover {
    background: #15803d;
    color: #fff;
    border-color: #15803d;
}

.dept-action-btn i {
    margin-right: 5px;
    font-size: .8em;
}

.dept-action-del {
    border-color: #dc2626;
    color: #dc2626;
    background: #fef2f2;
    margin-left: auto;
}

.dept-action-del:hover {
    background: #dc2626;
    color: #fff;
}

/* ==============================
   DEPARTAMENTO — FORMULÁRIO FOTO
============================== */

.dept-foto-dropzone {
    border: 2px dashed var(--adm-border);
    border-radius: 14px;
    padding: 28px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    background: var(--adm-bg-soft);
}

.dept-foto-dropzone:hover,
.dept-foto-dropzone--over {
    border-color: #1e40af;
    background: #eff6ff;
}

.dept-foto-dropzone-icon {
    font-size: 2rem;
    color: var(--adm-border);
    margin-bottom: 10px;
    display: block;
    transition: color 0.2s ease;
}

.dept-foto-dropzone:hover .dept-foto-dropzone-icon,
.dept-foto-dropzone--over .dept-foto-dropzone-icon {
    color: #1e40af;
}

.dept-foto-dropzone-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--adm-text);
    margin: 0 0 4px;
}

.dept-foto-dropzone-sub {
    font-size: 0.8rem;
    color: var(--adm-muted);
    margin: 0;
}

.dept-foto-preview-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid var(--adm-border);
    background: var(--adm-bg-soft);
}

.dept-foto-preview {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    display: block;
}

.dept-foto-preview-actions {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid var(--adm-border);
}

.dept-foto-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    background: none;
}

.dept-foto-btn-change {
    border-color: #1e40af;
    color: #1e40af;
    background: #eff6ff;
}

.dept-foto-btn-change:hover {
    background: #1e40af;
    color: #fff;
}

.dept-foto-btn-remove {
    border-color: #dc2626;
    color: #dc2626;
    background: #fef2f2;
}

.dept-foto-btn-remove:hover {
    background: #dc2626;
    color: #fff;
}

/* ==============================
   DEPARTAMENTO — AVATAR NO SITE
============================== */

.dept-resp-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

.dept-resp-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--adm-border);
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

/* ATIVIDADE — META INFO
============================== */

.act-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--adm-muted);
}

.act-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.act-meta i {
    width: 14px;
    text-align: center;
    opacity: .7;
    flex-shrink: 0;
}

@media (max-width: 1100px) {
    .dept-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .dept-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Departamento multi-funcao list (pessoa-form) ── */
.dept-funcoes-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid var(--adm-border);
    border-radius: 10px;
    padding: 10px 12px;
    background: var(--adm-bg-soft);
}

.dept-funcao-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 4px;
    border-radius: 6px;
    transition: background .15s;
}

.dept-funcao-row:hover {
    background: var(--adm-bg-card);
}

.dept-funcao-check {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.dept-funcao-check .form-check-label {
    font-size: .875rem;
    color: var(--adm-text);
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dept-funcao-select {
    width: 160px;
    flex-shrink: 0;
    font-size: .8rem;
}

.dept-funcao-select:disabled {
    opacity: .4;
}

/* Stagger delays — stat-cards */
.sc-d1 { --sc-delay: 0.04s; }
.sc-d2 { --sc-delay: 0.09s; }
.sc-d3 { --sc-delay: 0.14s; }
.sc-d4 { --sc-delay: 0.19s; }
.sc-d5 { --sc-delay: 0.24s; }
.sc-d6 { --sc-delay: 0.29s; }
.sc-d7 { --sc-delay: 0.34s; }

/* Stagger delays — content-cards */
.cc-d1 { --cc-delay: 0.10s; }
.cc-d2 { --cc-delay: 0.18s; }
.cc-d3 { --cc-delay: 0.26s; }
.cc-d4 { --cc-delay: 0.34s; }

/* ==============================
   FINANCEIRO — TABELA
============================== */

.fin-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    border: 1.5px solid var(--adm-border);
}

.fin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.fin-table thead th {
    background: var(--adm-bg-soft);
    padding: 11px 16px;
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--adm-muted);
    border-bottom: 1.5px solid var(--adm-border);
    white-space: nowrap;
}

.fin-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--adm-border);
    vertical-align: middle;
    color: var(--adm-text);
}

.fin-table tbody tr:last-child td {
    border-bottom: none;
}

.fin-table tbody tr:hover td {
    background: var(--adm-bg-soft);
}

.fin-table tbody td small {
    display: block;
    font-size: .78rem;
    color: var(--adm-muted);
    margin-top: 2px;
    line-height: 1.3;
}

.fin-td-title {
    font-weight: 600;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fin-td-title small {
    font-weight: 400;
    font-size: .78rem;
    color: var(--adm-muted);
    display: block;
}

.fin-td-valor {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.fin-tipo-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.fin-tipo-entrada { background: #dcfce7; color: #15803d; }
.fin-tipo-saida   { background: #fee2e2; color: #7f1800; }

.fin-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.fin-badge-green { background: #dcfce7; color: #15803d; }
.fin-badge-amber { background: #fef3c7; color: #b45309; }
.fin-badge-red   { background: #fee2e2; color: #7f1800; }
.fin-badge-gray  { background: #f3f4f6; color: #6b7280; }
.fin-badge-blue  { background: #dbeafe; color: #1e40af; }

/* ==============================
   REGISTROS — CARDS
============================== */

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

.reg-card {
    background: #fff;
    border-radius: 20px;
    border: 1.5px solid var(--adm-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    border-top: 4px solid var(--rc-color, #1e40af);
    animation: admPanelIn 0.4s ease both;
    transition: transform .18s ease, box-shadow .18s ease;
}

.reg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,.10);
}

.reg-card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 18px 14px;
}

.reg-card-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--rc-color, #1e40af);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    flex-shrink: 0;
    letter-spacing: 0;
}

.reg-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--adm-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reg-card-tipo {
    font-size: 0.78rem;
    color: var(--adm-muted);
    margin-top: 2px;
}

.reg-status-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.reg-card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 18px 16px;
    font-size: 0.82rem;
    color: var(--adm-muted);
    flex: 1;
}

.reg-card-meta span {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.reg-card-meta i {
    width: 14px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
    opacity: .65;
}

.reg-card-msg {
    line-height: 1.45;
    align-items: flex-start !important;
}

.reg-card-footer {
    padding: 12px 18px 16px;
    border-top: 1.5px solid var(--adm-border);
    background: var(--adm-bg-soft);
}

@media (max-width: 1100px) {
    .reg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fin-table-wrap { font-size: 0.82rem; }
}

@media (max-width: 640px) {
    .reg-grid { grid-template-columns: 1fr; }
}

/* ==============================
   RESPONSIVO
============================== */
@media (max-width: 1400px) {
    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    /* stat-grid permanece em 4 colunas até 1400px — cards compactos cabem bem */
}

@media (max-width: 1199px) {
    .hero-mini-info {
        grid-template-columns: 1fr 1fr;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==============================
   DASHBOARD HEADER — STICKY
============================== */
.dashboard-header {
    position: sticky;
    top: 0;
    z-index: 1200;
}

/* ==============================
   OVERLAY DA SIDEBAR (MOBILE)
============================== */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 1350;
    animation: fadeIn .22s ease;
}
.sidebar-overlay.is-active { display: block; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ==============================
   BOTÕES SIDEBAR — MOBILE
============================== */

/* Hamburguer — visível só no mobile */
.dashboard-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.10);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background .2s ease;
    flex-shrink: 0;
}
.dashboard-mobile-toggle:hover { background: rgba(255,255,255,.18); }

/* X dentro da sidebar — visível só no mobile */
.sidebar-close-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.10);
    color: rgba(255,255,255,.85);
    font-size: 1rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s ease;
}
.sidebar-close-btn:hover { background: rgba(255,255,255,.20); color: #fff; }

/* ==============================
   RESPONSIVO — PAINEL (≤ 1100px)
============================== */
@media (max-width: 1100px) {

    /* Shell sem grid — sidebar sai do fluxo */
    .dashboard-shell,
    .dashboard-shell.sidebar-collapsed {
        display: block !important;
        grid-template-columns: unset !important;
    }

    /* Sidebar = drawer fixo off-screen à esquerda */
    .dashboard-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        width: 280px !important;
        max-width: 86vw !important;
        z-index: 1400 !important;
        transform: translateX(-110%) !important;
        transition: transform 0.3s cubic-bezier(.4, 0, .2, 1) !important;
        min-height: unset !important;
        overflow: hidden !important;
        box-shadow: 4px 0 40px rgba(0,0,0,.35) !important;
    }
    .dashboard-sidebar.sidebar-mobile-open {
        transform: translateX(0) !important;
    }

    .sidebar-inner {
        position: static !important;
        height: 100vh !important;
        overflow-y: auto !important;
    }

    /* Botões: esconder collapse, mostrar hamburguer e X */
    .sidebar-collapse-btn  { display: none !important; }
    .dashboard-mobile-toggle { display: flex !important; }
    .sidebar-close-btn     { display: flex !important; }

    /* Main ocupa 100% da tela */
    .dashboard-main {
        width: 100% !important;
        min-height: calc(100dvh - 60px);
    }

    /* Header do painel compacto */
    .dash-user-info  { display: none; }
    .dash-top-btn span { display: none; }
    .dash-top-btn    { padding: 7px 10px; }
    .dash-top-actions { gap: 8px; }

    /* Grids do painel */
    .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .panel-inner { padding: 20px; }
}

@media (max-width: 991px) {
    .adm-main-menu {
        margin-top: 0.75rem;
        margin-bottom: 0.5rem;
        gap: 2px;
    }

    .adm-main-menu .nav-link {
        font-size: 0.93rem;
        padding: 0.6rem 1rem;
    }

    .adm-nav-actions {
        width: 100%;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
    }

    .hero-section {
        padding-top: 58px;
    }

    .contribution-form-card,
    .register-form-card {
        padding: 1.7rem;
    }
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 36px 0 28px;
    }
    .footer-brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .document-grid,
    .document-fields,
    .document-validation,
    .hero-mini-info,
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .panel-outer {
        padding: 16px 0 32px;
    }

    .panel-inner {
        border-radius: 18px;
        padding: 16px;
    }

    .panel-page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .stat-card-value {
        font-size: 1.2rem;
    }

    .document-header,
    .document-body,
    .document-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-header-flex {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-top-nav {
        width: 100%;
        justify-content: flex-end;
    }

    .hero-title,
    .contribution-page-header h1 {
        font-size: 2rem;
    }

    .site-section {
        padding: 58px 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .contribution-form-header h2,
    .contribution-form-header h3 {
        font-size: 1.8rem;
    }

    .adm-brand-text small {
        display: none;
    }

    /* Tabelas: scroll horizontal em vez de overflow */
    .table-wrap,
    .fin-table-wrap {
        overflow-x: auto;
    }

    /* Hero ações em coluna no mobile */
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-actions .btn-adm-primary,
    .hero-actions .btn-adm-outline {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px 0 20px;
    }

    .container {
        width: min(100%, calc(100% - 28px));
    }

    .hero-section {
        padding: 56px 0 40px;
    }

    .hero-title {
        font-size: clamp(1.7rem, 7vw, 2.6rem);
    }

    /* Cards de estatísticas painel: 2 colunas no mobile (cards compactos cabem) */
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    /* Tabelas admin não quebram layout */
    .panel-inner {
        padding: 12px;
    }

    /* Botões de ação nas tabelas */
    .btn-adm-primary,
    .btn-adm-outline {
        font-size: .83rem;
        padding: 9px 14px;
    }
}

/* ==============================
   PÁGINAS LEGAIS
============================== */
.legal-content h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--adm-primary-dark);
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    color: var(--adm-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.legal-content ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.legal-content strong {
    color: var(--adm-text);
}

/* ==============================
   RETORNO MERCADO PAGO — DOAÇÕES
============================== */
.mp-return-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 1.1rem 1.4rem;
    border-radius: 18px;
    border: 1.5px solid;
    animation: fadeUp .5s ease both;
}

.mp-return-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.mp-return-body strong {
    display: block;
    font-size: .97rem;
    font-weight: 800;
    margin-bottom: .2rem;
}

.mp-return-body p,
.mp-return-body span {
    font-size: .87rem;
    margin: 0;
    opacity: .85;
    display: block;
}

.mp-return-success {
    background: #f0fdf4;
    border-color: #86efac;
    color: #14532d;
}

.mp-return-success .mp-return-icon { color: #16a34a; }

.mp-return-pending {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #78350f;
}

.mp-return-pending .mp-return-icon { color: #d97706; }

.mp-return-failure {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #7f1d1d;
}

.mp-return-failure .mp-return-icon { color: #dc2626; }
/* ==============================
   PÁGINAS PÚBLICAS — BANNER INTERNO
============================== */
.pub-banner {
    position: relative;
    overflow: hidden;
    padding: 60px 0 50px;
    background: linear-gradient(135deg, #641300 0%, #7f1800 55%, #9a2208 100%);
    color: #fff;
}

.pub-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(252,169,28,.14) 0%, transparent 45%),
        radial-gradient(circle at 15% 80%, rgba(255,255,255,.05) 0%, transparent 35%);
    pointer-events: none;
}

.pub-banner-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 22px;
}

.pub-banner-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(255,255,255,.14);
    border: 1.5px solid rgba(255,255,255,.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    flex-shrink: 0;
    color: var(--adm-accent);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.pub-banner-text {
    flex: 1;
    min-width: 0;
}

.pub-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: .3rem .8rem;
    border-radius: 999px;
    background: rgba(252,169,28,.18);
    border: 1px solid rgba(252,169,28,.30);
    color: #ffe9a0;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: .65rem;
}

.pub-banner-title {
    font-size: clamp(1.8rem, 3.5vw, 2.9rem);
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
    margin: 0 0 .45rem;
}

.pub-banner-sub {
    font-size: .98rem;
    color: rgba(255,255,255,.72);
    margin: 0;
    line-height: 1.5;
}

.pub-banner-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 18px;
    background: rgba(255,255,255,.10);
    border: 1.5px solid rgba(255,255,255,.16);
    text-align: center;
    flex-shrink: 0;
}

.pub-banner-stat strong {
    font-size: 2rem;
    font-weight: 800;
    color: var(--adm-accent);
    line-height: 1;
}

.pub-banner-stat span {
    font-size: .78rem;
    color: rgba(255,255,255,.7);
    font-weight: 600;
    margin-top: 3px;
    white-space: nowrap;
}

/* ==============================
   CARDS PÚBLICOS COM COR
============================== */
.pub-card {
    --pub-color: var(--adm-primary);
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-top: 4px solid var(--pub-color);
    border-radius: var(--adm-radius-lg);
    box-shadow: var(--adm-shadow-soft);
    padding: 1.5rem;
    transition: var(--adm-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: fadeUp .6s ease both;
}

.pub-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--adm-shadow-hover);
}

.pub-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
    background: rgba(127,24,0,.1);
    color: var(--pub-color);
}

.pub-card-type {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: .28rem .65rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .75rem;
    color: var(--pub-color);
    border: 1px solid rgba(127,24,0,.15);
    background: rgba(127,24,0,.07);
}

.pub-card-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--adm-primary-dark);
    margin: 0 0 .55rem;
    line-height: 1.3;
}

.pub-card-desc {
    font-size: .9rem;
    color: var(--adm-muted);
    line-height: 1.6;
    margin: 0 0 .9rem;
    flex: 1;
}

.pub-card-meta {
    list-style: none;
    padding: .75rem 0 0;
    margin: .75rem 0 0;
    border-top: 1px solid var(--adm-border);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pub-card-meta li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .83rem;
    color: var(--adm-muted);
}

.pub-card-meta li i {
    color: var(--pub-color);
    width: 14px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
    font-size: .8rem;
}

.pub-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: .28rem .65rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.pub-badge-green { background: #dcfce7; color: #166534; }
.pub-badge-blue  { background: #dbeafe; color: #1e40af; }
.pub-badge-gray  { background: #f3f4f6; color: #6b7280; }

.pub-resp-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--adm-border);
}

.pub-resp-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--adm-border);
    flex-shrink: 0;
}

.pub-resp-initial {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .9rem;
    color: #fff;
    background: var(--pub-color);
    flex-shrink: 0;
}

/* ==============================
   INFORMES — CARD NOTÍCIA
============================== */
.informe-card {
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-left: 5px solid var(--adm-primary);
    border-radius: var(--adm-radius-lg);
    box-shadow: var(--adm-shadow-soft);
    padding: 1.5rem 1.6rem;
    transition: var(--adm-transition);
    animation: fadeUp .6s ease both;
    display: flex;
    gap: 18px;
}

.informe-card:hover {
    transform: translateX(5px);
    box-shadow: var(--adm-shadow-hover);
    border-left-color: var(--adm-primary-soft);
}

.informe-date-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 52px;
    padding-top: 2px;
}

.informe-date-box {
    width: 50px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--adm-primary), var(--adm-primary-soft));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.informe-date-box .day {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
}

.informe-date-box .mon {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .85;
}

.informe-body {
    flex: 1;
    min-width: 0;
}

.informe-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--adm-primary-dark);
    margin: 0 0 .45rem;
    line-height: 1.3;
}

.informe-resumo {
    font-size: .9rem;
    color: var(--adm-muted);
    margin: 0 0 .7rem;
    line-height: 1.55;
}

.informe-conteudo {
    font-size: .88rem;
    color: var(--adm-text);
    line-height: 1.65;
    padding: .9rem 1rem;
    background: rgba(127,24,0,.03);
    border-radius: 12px;
    border: 1px solid rgba(127,24,0,.07);
    margin-top: .55rem;
}

/* ==============================
   DOAÇÕES — PÚBLICO
============================== */
.doacoes-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

.doacoes-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: .35rem .8rem;
    border-radius: 999px;
    background: rgba(252,169,28,.15);
    border: 1px solid rgba(252,169,28,.35);
    color: #7a4a00;
    font-size: .78rem;
    font-weight: 700;
}

.doacoes-trust-item i { font-size: .75rem; color: var(--adm-accent); }

/* Banner doações com imagem de fundo */
.pub-banner-doacoes {
    background:
        linear-gradient(135deg, rgba(74,32,0,.88) 0%, rgba(127,56,0,.82) 50%, rgba(154,80,0,.78) 100%),
        url('../img/bn-doacao.jpg') center center / cover no-repeat;
}

.doacao-type-card {
    padding: 1.2rem .8rem;
    border-radius: 16px;
    border: 2px solid var(--adm-border);
    cursor: pointer;
    transition: var(--adm-transition);
    text-align: center;
    position: relative;
}

.doacao-type-card:hover {
    border-color: rgba(127,24,0,.35);
    transform: translateY(-3px);
    box-shadow: var(--adm-shadow-soft);
}

.doacao-type-card input[type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.doacao-type-icon {
    font-size: 1.6rem;
    color: var(--adm-primary);
    margin-bottom: .5rem;
    display: block;
}

.doacao-type-label {
    font-size: .88rem;
    font-weight: 700;
    color: var(--adm-primary-dark);
    display: block;
}

.doacao-type-sub {
    font-size: .76rem;
    color: var(--adm-muted);
    display: block;
    margin-top: 2px;
}

.mp-powered {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .45rem 1rem;
    border-radius: 10px;
    background: #009ee3;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
}

/* ==============================
   ANIMAÇÕES COM DELAY
============================== */
.pub-delay-1 { animation-delay: .08s; }
.pub-delay-2 { animation-delay: .16s; }
.pub-delay-3 { animation-delay: .24s; }
.pub-delay-4 { animation-delay: .32s; }
.pub-delay-5 { animation-delay: .40s; }
.pub-delay-6 { animation-delay: .48s; }

/* ==============================
   ESTADO VAZIO PÚBLICO
============================== */
.pub-empty {
    padding: 3.5rem 2rem;
    text-align: center;
    background: var(--adm-surface);
    border: 1.5px dashed var(--adm-border);
    border-radius: var(--adm-radius-lg);
}

.pub-empty i {
    font-size: 2.8rem;
    color: var(--adm-accent);
    opacity: .4;
    display: block;
    margin-bottom: 1rem;
}

.pub-empty p {
    color: var(--adm-muted);
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 640px) {
    .pub-banner { padding: 42px 0 36px; }
    .pub-banner-icon { display: none; }
    .pub-banner-stat { display: none; }
    .informe-card { flex-direction: column; gap: 12px; }
    .informe-date-col { flex-direction: row; }
}

/* ==============================
   HOME — HERO EXTRAS
============================== */

/* Decorative background elements */
.hero-bg-deco {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: .06;
    background: var(--adm-primary);
}

.hero-deco-1 {
    width: 520px;
    height: 520px;
    top: -160px;
    right: -140px;
}

.hero-deco-2 {
    width: 280px;
    height: 280px;
    bottom: -80px;
    left: -60px;
    background: var(--adm-accent);
    opacity: .09;
}

.hero-deco-cross {
    position: absolute;
    top: 38%;
    right: 6%;
    font-size: 9rem;
    color: var(--adm-primary);
    opacity: .04;
    line-height: 1;
    font-weight: 900;
    -webkit-user-select: none;
    user-select: none;
}

/* Gradient accent word in hero title */
.hero-title-accent {
    background: linear-gradient(135deg, var(--adm-primary) 0%, #c2410c 55%, var(--adm-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero side card quote */
.hero-verse {
    font-style: italic;
    font-size: .88rem;
    color: rgba(255,255,255,.82);
    margin: 0;
    padding: 0;
    border: none;
    line-height: 1.55;
}

.hero-verse cite {
    display: block;
    margin-top: .35rem;
    font-style: normal;
    font-weight: 700;
    color: var(--adm-accent);
    font-size: .78rem;
}

/* Hero side card address line */
.hero-address {
    font-size: .84rem;
    color: rgba(255,255,255,.7);
    margin: 0;
}

/* Thin divider inside dark hero card */
.hero-divider {
    border-color: rgba(255,255,255,.14);
    margin: .9rem 0;
}

/* ==============================
   HOME — STATS STRIPE
============================== */

.home-stats-stripe {
    background: linear-gradient(135deg, var(--adm-primary-dark) 0%, var(--adm-primary) 60%, #a02010 100%);
    padding: 28px 0;
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
}

.home-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 1rem;
    border-right: 1px solid rgba(255,255,255,.14);
}

.home-stat-item:last-child {
    border-right: none;
}

.home-stat-item i {
    font-size: 1.4rem;
    color: var(--adm-accent);
    opacity: .9;
}

.home-stat-item strong {
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.home-stat-item span {
    font-size: .78rem;
    color: rgba(255,255,255,.65);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}

@media (max-width: 640px) {
    .home-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1px; }
    .home-stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: .75rem 1rem; }
    .home-stat-item:nth-child(even) { border-right: none; }
    .hero-deco-cross { display: none; }
    .hero-bg-deco .hero-deco-1 { width: 300px; height: 300px; top: -80px; right: -80px; }
}

/* ==============================
   PÁGINA DE REGISTRO PÚBLICO
============================== */

/* Banner da página de registro */
.pub-banner-registro {
    background:
        linear-gradient(135deg, rgba(100,19,0,.92) 0%, rgba(127,24,0,.88) 60%, rgba(160,32,16,.80) 100%),
        url('../img/bn-registro.jpg') center center / cover no-repeat;
    color: #fff;
}

.pub-banner-registro .pub-banner-title,
.pub-banner-registro .pub-banner-sub {
    color: #fff;
}

.pub-banner-registro .pub-banner-tag {
    color: var(--adm-accent);
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.2);
}

/* Cards de tipo de interesse */
.registro-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: .85rem .5rem .7rem;
    border-radius: 14px;
    border: 2px solid var(--adm-border);
    background: var(--adm-surface);
    cursor: pointer;
    transition: all .2s ease;
    text-align: center;
    animation: fadeUp .5s ease both;
}

.registro-type-card input[type=radio] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.registro-type-card:hover {
    border-color: var(--adm-primary);
    background: rgba(127,24,0,.04);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(127,24,0,.10);
}

.registro-type-card.is-selected {
    border-color: var(--adm-primary);
    background: rgba(127,24,0,.06);
    box-shadow: 0 6px 18px rgba(127,24,0,.12);
}

.registro-type-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(127,24,0,.08);
    color: var(--adm-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all .2s ease;
}

.registro-type-card.is-selected .registro-type-icon,
.registro-type-card:hover .registro-type-icon {
    background: var(--adm-primary);
    color: #fff;
}

.registro-type-label {
    font-size: .82rem;
    font-weight: 800;
    color: var(--adm-primary-dark);
    line-height: 1.2;
}

.registro-type-sub {
    font-size: .72rem;
    color: var(--adm-muted);
    line-height: 1.3;
}

/* Card de sucesso */
.registro-success-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 1.2rem 1.5rem;
    border-radius: 18px;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    color: #14532d;
    animation: fadeUp .5s ease both;
}

.registro-success-icon {
    font-size: 1.8rem;
    color: #16a34a;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.registro-success-card strong {
    display: block;
    font-size: .97rem;
    font-weight: 800;
    margin-bottom: .2rem;
}

.registro-success-card span {
    font-size: .87rem;
    opacity: .85;
    display: block;
}

/* ==============================
   EVANGELISMO / ASSISTÊNCIA — CARDS DE FRENTES
============================== */
.evang-tip-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: .85rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--adm-border);
    background: var(--adm-surface);
    transition: transform .2s ease, box-shadow .2s ease;
}
.evang-tip-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--adm-shadow-soft);
}
.evang-tip-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(127,24,0,.08);
    color: var(--adm-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    flex-shrink: 0;
}
.evang-tip-title {
    font-size: .88rem;
    font-weight: 700;
    color: var(--adm-text);
    line-height: 1.3;
}
.evang-tip-sub {
    font-size: .78rem;
    color: var(--adm-muted);
    margin-top: 2px;
    line-height: 1.35;
}
