/* ===== Páginas de detalhe: ação social e projeto especial ===== */
.dt-hero { background: color-mix(in srgb, var(--primary) 85%, #000); color: #fff; padding: 44px 0 48px; }
.dt-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); line-height: 1.18; font-weight: 800; margin: 16px 0 8px; max-width: 900px; }
.dt-meta { color: rgba(255,255,255,.85); font-size: 15px; font-weight: 600; margin: 0 0 12px; white-space: pre-wrap; }
.dt-lead { color: rgba(255,255,255,.92); font-size: 18px; line-height: 1.55; max-width: 780px; margin: 0; }
.dt-hero .page-hero-stats { margin-top: 26px; }

.dt-body { background: #fff; padding: 48px 0 80px; }
.dt-cover { margin: 0 0 36px; }
.dt-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 460px; object-fit: cover; border-radius: 8px; border: 1px solid #e6eaf4; background: #e9edf7; display: block; }
.dt-sec { padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid #e8ebf3; }
.dt-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.dt-h { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin: 0 0 14px; }
.dt-sub { font-size: 17px; font-weight: 700; color: var(--primary-title); margin: 18px 0 10px; }
.dt-sec .row .dt-sub { margin-top: 0; }
.dt-lead-text { font-size: 21px; line-height: 1.5; color: var(--primary-title); font-weight: 500; margin: 0; }
.dt-text { font-size: 16.5px; line-height: 1.75; color: var(--primary-paragraph); hyphens: none; }
.dt-text.article-body { font-size: 17px; }
.dt-note { font-size: 14.5px; line-height: 1.6; color: var(--primary-paragraph); }
.dt-sub-note { display: block; font-size: 13px; font-weight: 400; color: var(--tertiary-title); }

.dt-dl { margin: 0; border-top: 1px solid #e8ebf3; }
.dt-dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #e8ebf3; font-size: 14.5px; }
.dt-dl dt { font-weight: 500; color: var(--tertiary-title); }
.dt-dl dd { margin: 0; text-align: right; color: var(--primary-title); font-weight: 600; }

.dt-table-wrap { overflow-x: auto; border: 1px solid #e6eaf4; border-radius: 8px; }
.dt-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.dt-table th { background: #f6f8fd; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--tertiary-title); padding: 12px 16px; text-align: left; }
.dt-table td { padding: 13px 16px; border-top: 1px solid #eef1f8; color: var(--primary-title); }
.dt-table .text-center { text-align: center; } .dt-table .text-end { text-align: right; }
.dt-table th.text-center { text-align: center; } .dt-table th.text-end { text-align: right; }

.dt-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dt-gallery figure { margin: 0; }
.dt-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; border: 1px solid #e6eaf4; display: block; transition: opacity .2s; }
.dt-gallery a:hover img { opacity: .88; }
.dt-gallery figcaption { font-size: 12.5px; color: var(--tertiary-title); margin-top: 5px; }

.dt-checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e8ebf3; }
.dt-checklist li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e8ebf3; font-size: 15.5px; }
.dt-checklist i { color: var(--primary); font-size: 20px; }
.dt-checklist span { flex: 1; color: var(--primary-title); }
.dt-checklist strong { color: var(--primary); }

.dt-roles { border-top: 1px solid #e8ebf3; }
.dt-role { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid #e8ebf3; flex-wrap: wrap; }
.dt-role-main { flex: 1 1 320px; }
.dt-role h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--primary-title); }
.dt-role p { font-size: 14.5px; margin: 0 0 8px; color: var(--primary-paragraph); }
.dt-role-count { font-size: 13px; color: var(--tertiary-title); }
.dt-role-count i { color: var(--primary); margin-right: 4px; }
.dt-role-people { font-size: 13px; color: var(--tertiary-title); margin-top: 6px; }
.dt-role-full { display: inline-block; padding: 10px 18px; border-radius: 6px; background: #f1f3f9; color: #8b93a7; font-size: 14px; font-weight: 600; }

.dt-donors { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e8ebf3; }
.dt-donors li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e8ebf3; font-size: 15px; }
.dt-avatar { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(16,76,226,.1); color: var(--primary); font-weight: 700; font-size: 14px; }
.dt-donor-name { flex: 1; color: var(--primary-title); font-weight: 600; }
.dt-donors strong { color: var(--primary-title); }
.dt-donors time { font-size: 13px; color: var(--tertiary-title); min-width: 78px; text-align: right; }

/* lateral */
.dt-aside { position: sticky; top: 100px; display: grid; gap: 22px; }
.dt-box { padding: 20px 20px 16px; border: 1px solid #e6eaf4; border-radius: 8px; background: #fff; }
.dt-box .dt-h { margin-bottom: 10px; }
.dt-loc { font-size: 15px; line-height: 1.5; margin: 0; }

.dt-invest { background: var(--primary); color: #fff; border-radius: 8px; padding: 24px; }
.dt-invest h2 { color: rgba(255,255,255,.8); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 6px; }
.dt-invest-big { color: #fff; font-size: 26px; font-weight: 800; line-height: 1.2; margin: 0 0 16px; }
.dt-invest dl { margin: 0 0 20px; border-top: 1px solid rgba(255,255,255,.25); }
.dt-invest dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.25); font-size: 14px; }
.dt-invest dt { font-weight: 400; color: rgba(255,255,255,.85); }
.dt-invest dd { margin: 0; font-weight: 700; text-align: right; }
.dt-invest-btn { display: block; text-align: center; padding: 13px 16px; border-radius: 6px; background: var(--secondary); color: #111 !important; font-weight: 700; transition: background .2s; }
.dt-invest-btn:hover { background: #fff; }

.dt-donate { border: 1px solid #e6eaf4; border-radius: 8px; padding: 24px; background: #fff; }
.dt-donate h2 { font-size: 20px; font-weight: 800; margin: 0 0 16px; }
.dt-progress { margin-bottom: 20px; }
.dt-progress-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.dt-progress-top strong { font-size: 22px; color: var(--primary-title); }
.dt-progress-top span { font-size: 13px; color: var(--tertiary-title); }
.dt-progress-bottom { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--tertiary-title); }
.dt-donate .select-payment { padding: 0; }
.dt-donate .donation-amount-label { display: block; font-size: 14px; font-weight: 600; color: var(--primary-title); margin: 4px 0 8px; }
.dt-donate .donation-amount-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 4px; }
.dt-donate .amount-btn { width: 100%; padding: 11px 8px; margin: 0; border: 1px solid #d5dcef; border-radius: 6px; background: #fff; color: var(--primary-title); font-size: 15px; font-weight: 600; transition: .2s; cursor: pointer; white-space: nowrap; }
.dt-donate .amount-btn:hover { border-color: var(--primary); color: var(--primary); }
.dt-donate .amount-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.dt-donate .donation-submit-wrapper { margin-top: 18px; }
.dt-donate .donation-submit-btn { display: flex; align-items: center; justify-content: center; }
.dt-donate .auth-alert { margin-top: 14px; margin-bottom: 0; }

.dt-related { list-style: none; margin: 0; padding: 0; }
.dt-related li + li { margin-top: 12px; }
.dt-related a { display: flex; align-items: center; gap: 12px; color: var(--primary-title); font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.dt-related a:hover { color: var(--primary); }
.dt-related img { flex: 0 0 64px; width: 64px; height: 48px; object-fit: cover; border-radius: 4px; border: 1px solid #e6eaf4; }

@media (max-width: 991px) {
  .dt-aside { position: static; }
  .dt-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .dt-hero { padding: 32px 0 38px; }
  .dt-gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .dt-donors time { display: none; }
}
