EraDigital's picture
refazer
f9896f9 verified
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CashFlow Commander Pro | Gestão Financeira Inteligente</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
</head>
<body class="bg-gradient-to-br from-blue-50 to-gray-50">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-8">
<div class="flex flex-col md:flex-row gap-6 mb-8">
<!-- DRE Section -->
<div class="bg-white rounded-xl shadow-lg p-6 flex-1 transition-all hover:shadow-xl">
<h2 class="text-2xl font-bold text-gray-800 mb-4 flex items-center">
<i data-feather="trending-up" class="mr-2 text-blue-600"></i> Demonstração de Resultados
</h2>
<div class="mb-4 flex justify-between">
<div class="relative">
<select class="appearance-none bg-white border border-gray-300 rounded-md px-4 py-2 pr-8 focus:outline-none focus:ring-2 focus:ring-blue-500">
<option>Outubro 2023</option>
<option>Setembro 2023</option>
<option>Agosto 2023</option>
</select>
<i data-feather="chevron-down" class="absolute right-2 top-2 text-gray-500"></i>
</div>
<button class="flex items-center text-blue-600 hover:text-blue-800">
<i data-feather="download" class="mr-1"></i> Exportar DRE
</button>
</div>
<div class="overflow-x-auto">
<table class="w-full text-sm">
<thead class="bg-blue-50">
<tr>
<th class="py-3 px-4 text-left font-medium text-blue-800">Item</th>
<th class="py-3 px-4 text-right font-medium text-blue-800">Valor (R$)</th>
</tr>
</thead>
<tbody>
<tr class="border-b border-gray-200 hover:bg-blue-50">
<td class="py-3 px-4 font-semibold text-gray-700">Receita Operacional Bruta</td>
<td class="py-3 px-4 text-right font-medium">55.340,00</td>
</tr>
<tr class="border-b border-gray-200 hover:bg-blue-50">
<td class="py-3 px-4 pl-6 text-gray-600">(-) Deduções da Receita</td>
<td class="py-3 px-4 text-right text-red-600 font-medium">-4.406,00</td>
</tr>
<tr class="border-b border-gray-200 bg-blue-100">
<td class="py-3 px-4 font-semibold text-blue-800">Receita Líquida</td>
<td class="py-3 px-4 text-right font-semibold text-blue-800">50.934,00</td>
</tr>
<tr class="border-b border-gray-200 hover:bg-blue-50">
<td class="py-3 px-4 text-gray-600">(-) Custo Operacional</td>
<td class="py-3 px-4 text-right text-red-600 font-medium">-17.319,00</td>
</tr>
<tr class="border-b border-gray-200 bg-blue-100">
<td class="py-3 px-4 font-semibold text-blue-800">Lucro Bruto</td>
<td class="py-3 px-4 text-right font-semibold text-blue-800">33.615,00</td>
</tr>
<tr class="border-b border-gray-200 hover:bg-blue-50">
<td class="py-3 px-4 text-gray-600">(-) Despesas Operacionais</td>
<td class="py-3 px-4 text-right text-red-600 font-medium">-31.331,00</td>
</tr>
<tr class="border-b border-gray-200 bg-blue-100">
<td class="py-3 px-4 font-semibold text-blue-800">Lucro Operacional</td>
<td class="py-3 px-4 text-right font-semibold text-blue-800">2.284,00</td>
</tr>
<tr class="border-b border-gray-200">
<td class="py-3 px-4">(+/-) Resultado Financeiro</td>
<td class="py-3 px-4 text-right">0,00</td>
</tr>
<tr class="bg-green-50">
<td class="py-3 px-4 font-bold">Lucro Líquido</td>
<td class="py-3 px-4 text-right font-bold">2.284,00</td>
</tr>
</tbody>
</table>
</div>
<div class="mt-6">
<h3 class="text-lg font-semibold mb-2">Margens</h3>
<div class="grid grid-cols-2 gap-4">
<div class="bg-blue-50 p-3 rounded-lg">
<p class="text-sm text-gray-600">Margem Bruta</p>
<p class="text-xl font-bold">66.0%</p>
</div>
<div class="bg-green-50 p-3 rounded-lg">
<p class="text-sm text-gray-600">Margem Líquida</p>
<p class="text-xl font-bold">4.1%</p>
</div>
</div>
</div>
</div>
<!-- Fluxo de Caixa Section -->
<div class="bg-white rounded-lg shadow-md p-6 flex-1">
<h2 class="text-2xl font-bold text-gray-800 mb-4 flex items-center">
<i data-feather="dollar-sign" class="mr-2"></i> Fluxo de Caixa (Outubro)
</h2>
<div class="mb-6">
<div class="grid grid-cols-2 gap-4 mb-4">
<div class="bg-green-100 p-4 rounded-lg">
<p class="text-sm text-gray-600">Total Recebimentos</p>
<p class="text-xl font-bold text-green-800">R$ 53.356,00</p>
</div>
<div class="bg-red-100 p-4 rounded-lg">
<p class="text-sm text-gray-600">Total Pagamentos</p>
<p class="text-xl font-bold text-red-800">R$ 60.699,00</p>
</div>
</div>
<div class="bg-blue-100 p-4 rounded-lg mb-4">
<p class="text-sm text-gray-600">Geração de Caixa</p>
<p class="text-xl font-bold text-blue-800">-R$ 7.344,00</p>
</div>
<div class="bg-indigo-100 p-4 rounded-lg">
<p class="text-sm text-gray-600">Saldo Final</p>
<p class="text-xl font-bold text-indigo-800">R$ 12.728,00</p>
</div>
</div>
<div>
<h3 class="text-lg font-semibold mb-2">Distribuição de Despesas</h3>
<div class="h-64">
<canvas id="expenseChart"></canvas>
</div>
</div>
</div>
</div>
<!-- Análise Mensal Section -->
<div class="bg-white rounded-lg shadow-md p-6 mb-8">
<h2 class="text-2xl font-bold text-gray-800 mb-4 flex items-center">
<i data-feather="bar-chart-2" class="mr-2"></i> Análise Mensal (2023)
</h2>
<div class="h-96">
<canvas id="monthlyTrendChart"></canvas>
</div>
</div>
<!-- Pontos de Atenção Section -->
<div class="bg-white rounded-lg shadow-md p-6">
<h2 class="text-2xl font-bold text-gray-800 mb-4 flex items-center">
<i data-feather="alert-triangle" class="mr-2"></i> Pontos de Atenção e Diretrizes
</h2>
<div class="grid md:grid-cols-2 gap-6">
<div class="bg-yellow-50 p-4 rounded-lg border-l-4 border-yellow-400">
<h3 class="font-bold text-yellow-800 mb-2">Despesas Operacionais</h3>
<p class="text-gray-700">As despesas operacionais representam 61.4% da receita líquida. Recomenda-se revisão de custos fixos e busca por eficiência operacional.</p>
</div>
<div class="bg-red-50 p-4 rounded-lg border-l-4 border-red-400">
<h3 class="font-bold text-red-800 mb-2">Geração de Caixa Negativa</h3>
<p class="text-gray-700">Em outubro, o
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>