/* Investimento Aplicado */
#investimento-aplicado { padding: 4rem 0; }

.table-wrap { background: #ffffff; border: 1px solid rgba(0,0,0,0.06); border-radius: 16px; box-shadow: 0 8px 30px rgba(16,24,16,0.08); overflow: hidden; }

.cost-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.cost-table thead th { background: linear-gradient(135deg, #2d6a4f, #1b4332); color: #fff; text-align: left; padding: 14px 16px; font-weight: 700; }
.cost-table tbody td { padding: 14px 16px; border-bottom: 1px solid rgba(0,0,0,0.06); color: #334155; }
.cost-table tfoot .total th,
.cost-table tfoot .total td { padding: 16px; font-weight: 800; background: #f1f5f9; color: #0f172a; }
.cost-table tfoot .total td:last-child { color: #0f172a; }

/* Zebra */
.cost-table tbody tr:nth-child(even) { background: #fafcff; }

/* Mobile stacked rows */
@media (max-width: 700px) {
  .cost-table thead { display: none; }
  .cost-table, .cost-table tbody, .cost-table tr, .cost-table td { display: block; width: 100%; }
  .cost-table tr { border-bottom: 1px solid rgba(0,0,0,0.06); }
  .cost-table td { display: grid; grid-template-columns: 140px 1fr; gap: 10px; padding: 12px 14px; }
  .cost-table td::before { content: attr(data-label); font-weight: 700; color: #0f172a; }
  .cost-table tfoot .total { display: grid; grid-template-columns: 140px 1fr 1fr; }
}

.summary { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: #475569; }
.summary .badge { display: inline-block; background: #e2f7ec; color: #166534; border: 1px solid #bbf7d0; font-weight: 700; padding: 4px 10px; border-radius: 999px; font-size: 0.8rem; }
.summary .note { margin: 0; }