Spaces:
Running
Running
corrigir a composição das receitas e despesas considerando o mês de outubro, análise detalhada, pontos de atenção e diretrizes, considerando outubro
9a8a286 verified | <html lang="pt-BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Análise Financeira Completa - Outubro 2025</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| .fade-in { | |
| animation: fadeIn 0.5s ease-in-out; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .card-hover:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); | |
| } | |
| .card-hover { | |
| transition: all 0.3s ease; | |
| } | |
| .negative { | |
| color: #EF4444; | |
| } | |
| .positive { | |
| color: #10B981; | |
| } | |
| .financial-metric { | |
| border-left: 4px solid #3B82F6; | |
| padding-left: 1rem; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="container mx-auto px-4 py-8"> | |
| <!-- Header --> | |
| <header class="mb-8"> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <h1 class="text-3xl font-bold text-gray-800">Análise Financeira Completa</h1> | |
| <p class="text-gray-600">Relatório de Fluxo de Caixa - Outubro 2025 (Dados Reais)</p> | |
| <p class="text-sm text-gray-500 mt-1">Período: 01/10/2025 a 31/10/2025</p> | |
| </div> | |
| <button id="downloadBtn" class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-lg flex items-center"> | |
| <i class=""></i> ARCQ MIDIA - OUTUBRO 25 | |
| </button> | |
| </div> | |
| <div class="mt-4 bg-gradient-to-r from-blue-500 to-blue-600 rounded-lg p-4 text-white"> | |
| <h2 class="text-xl font-semibold">Resumo Executivo</h2> | |
| <p class="mt-2">Análise detalhada do desempenho financeiro com foco no mês de abril como período de fechamento, incluindo projeções futuras e recomendações estratégicas.</p> | |
| </div> | |
| </header> | |
| <!-- Key Indicators --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8"> | |
| <!-- Total Revenue Card --> | |
| <div class="bg-white rounded-xl shadow-md p-6 card-hover fade-in"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-500 font-medium">Receitas Totais</p> | |
| <h3 class="text-2xl font-bold mt-2 text-gray-800">R$ 56.420</h3> | |
| </div> | |
| <div class="bg-blue-100 p-3 rounded-full"> | |
| <i class="fas fa-money-bill-wave text-blue-600 text-xl"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <p class="text-sm text-gray-600 flex items-center"> | |
| <span class="text-green-500 mr-1"><i class="fas fa-caret-up"></i> 15,2%</span> vs setembro | |
| </p> | |
| </div> | |
| </div> | |
| <!-- Total Expenses Card --> | |
| <div class="bg-white rounded-xl shadow-md p-6 card-hover fade-in"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-500 font-medium">Despesas Totais</p> | |
| <h3 class="text-2xl font-bold mt-2 text-gray-800">R$ 49.815</h3> | |
| </div> | |
| <div class="bg-red-100 p-3 rounded-full"> | |
| <i class="fas fa-receipt text-red-600 text-xl"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <p class="text-sm text-gray-600 flex items-center"> | |
| <span class="text-green-500 mr-1"><i class="fas fa-caret-down"></i> 3,5%</span> vs setembro | |
| </p> | |
| </div> | |
| </div> | |
| <!-- Operational Result Card --> | |
| <div class="bg-white rounded-xl shadow-md p-6 card-hover fade-in"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-500 font-medium">Resultado Operacional</p> | |
| <h3 class="text-2xl font-bold mt-2 text-gray-800">R$ 24.150</h3> | |
| </div> | |
| <div class="bg-green-100 p-3 rounded-full"> | |
| <i class="fas fa-chart-line text-green-600 text-xl"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <p class="text-sm text-gray-600 flex items-center"> | |
| <span class="text-green-500 mr-1"><i class="fas fa-caret-up"></i> 42,7%</span> vs setembro | |
| </p> | |
| </div> | |
| </div> | |
| <!-- Net Profit Card --> | |
| <div class="bg-white rounded-xl shadow-md p-6 card-hover fade-in"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-500 font-medium">Resultado Líquido</p> | |
| <h3 class="text-2xl font-bold mt-2 positive">R$ 6.605</h3> | |
| </div> | |
| <div class="bg-purple-100 p-3 rounded-full"> | |
| <i class="fas fa-coins text-purple-600 text-xl"></i> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <p class="text-sm text-gray-600 flex items-center"> | |
| <span class="text-green-500 mr-1"><i class="fas fa-caret-up"></i> 125,3%</span> vs setembro | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Financial Highlights --> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8"> | |
| <!-- Contribution Margin --> | |
| <div class="bg-white rounded-xl shadow-md p-6 card-hover fade-in"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-lg font-semibold text-gray-800">Margem de Contribuição</h3> | |
| <span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">69,3%</span> | |
| </div> | |
| <div class="financial-metric"> | |
| <p class="text-gray-600 mb-2">R$ 35.112</p> | |
| <p class="text-sm text-gray-500">Receitas: R$ 56.420 - Custos Variáveis: R$ 15.210</p> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5 mt-4"> | |
| <div class="bg-blue-600 h-2.5 rounded-full" style="width: 69%"></div> | |
| </div> | |
| </div> | |
| <!-- PLR Analysis --> | |
| <div class="bg-white rounded-xl shadow-md p-6 card-hover fade-in"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-lg font-semibold text-gray-800">PLR (Participação nos Lucros)</h3> | |
| <span class="bg-red-100 text-red-800 text-xs px-2 py-1 rounded-full">45,3%</span> | |
| </div> | |
| <div class="financial-metric"> | |
| <p class="text-gray-600 mb-2">R$ 18.520</p> | |
| <p class="text-sm text-gray-500">Impacto direto no resultado líquido</p> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5 mt-4"> | |
| <div class="bg-red-600 h-2.5 rounded-full" style="width: 45%"></div> | |
| </div> | |
| </div> | |
| <!-- Cash Position --> | |
| <div class="bg-white rounded-xl shadow-md p-6 card-hover fade-in"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-lg font-semibold text-gray-800">Saldo de Caixa</h3> | |
| <span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">R$ 25.052</span> | |
| </div> | |
| <div class="financial-metric"> | |
| <p class="text-gray-600 mb-2">Início: R$ 25.417</p> | |
| <p class="text-sm text-gray-500">Variação: +R$ 6.605 (26,0%)</p> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5 mt-4"> | |
| <div class="bg-green-600 h-2.5 rounded-full" style="width: 98%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Revenue and Expense Composition --> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8"> | |
| <!-- Revenue Composition --> | |
| <div class="bg-white rounded-xl shadow-md p-6 card-hover fade-in"> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-4">Composição das Receitas - Abril</h3> | |
| <div class="h-64"> | |
| <canvas id="revenueChart"></canvas> | |
| </div> | |
| <div class="mt-4 grid grid-cols-2 gap-4"> | |
| <div class="bg-blue-50 p-3 rounded-lg"> | |
| <p class="text-sm text-blue-800 font-medium">Receita de Tráfego</p> | |
| <p class="font-bold text-blue-900">R$ 42.150 (74,7%)</p> | |
| </div> | |
| <div class="bg-green-50 p-3 rounded-lg"> | |
| <p class="text-sm text-green-800 font-medium">Web Design</p> | |
| <p class="font-bold text-green-900">R$ 9.870 (17,5%)</p> | |
| </div> | |
| <div class="bg-purple-50 p-3 rounded-lg"> | |
| <p class="text-sm text-purple-800 font-medium">Reembolsos</p> | |
| <p class="font-bold text-purple-900">R$ 2.150 (3,8%)</p> | |
| </div> | |
| <div class="bg-yellow-50 p-3 rounded-lg"> | |
| <p class="text-sm text-yellow-800 font-medium">Serviços</p> | |
| <p class="font-bold text-yellow-900">R$ 2.250 (4,0%)</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Expense Composition --> | |
| <div class="bg-white rounded-xl shadow-md p-6 card-hover fade-in"> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-4">Composição das Despesas - Abril</h3> | |
| <div class="h-64"> | |
| <canvas id="expenseChart"></canvas> | |
| </div> | |
| <div class="mt-4 grid grid-cols-2 gap-4"> | |
| <div class="bg-red-50 p-3 rounded-lg"> | |
| <p class="text-sm text-red-800 font-medium">PLR</p> | |
| <p class="font-bold text-red-900">R$ 18.520 (37,2%)</p> | |
| </div> | |
| <div class="bg-indigo-50 p-3 rounded-lg"> | |
| <p class="text-sm text-indigo-800 font-medium">Custos Variáveis</p> | |
| <p class="font-bold text-indigo-900">R$ 15.210 (30,5%)</p> | |
| </div> | |
| <div class="bg-orange-50 p-3 rounded-lg"> | |
| <p class="text-sm text-orange-800 font-medium">Salários</p> | |
| <p class="font-bold text-orange-900">R$ 9.690 (18,9%)</p> | |
| </div> | |
| <div class="bg-pink-50 p-3 rounded-lg"> | |
| <p class="text-sm text-pink-800 font-medium">Administrativas</p> | |
| <p class="font-bold text-pink-900">R$ 2.548 (5,0%)</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Detailed Analysis --> | |
| <div class="bg-white rounded-xl shadow-md p-6 mb-8 card-hover fade-in"> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-6">Análise Detalhada - Abril 2025</h3> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-8"> | |
| <!-- Revenue Analysis --> | |
| <div> | |
| <h4 class="text-lg font-medium text-gray-700 mb-4 flex items-center"> | |
| <i class="fas fa-money-bill-wave text-blue-500 mr-2"></i> Análise de Receitas | |
| </h4> | |
| <div class="space-y-4"> | |
| <div> | |
| <p class="font-medium text-gray-800">Receita Total: <span class="text-blue-600">R$ 34.902</span></p> | |
| <p class="text-sm text-gray-600">Queda de 7,4% em relação a março (R$ 37.684)</p> | |
| </div> | |
| <div class="border-l-2 border-blue-200 pl-4"> | |
| <p class="text-sm font-medium text-gray-700">Principais componentes:</p> | |
| <ul class="list-disc pl-5 text-sm text-gray-600 mt-2 space-y-1"> | |
| <li><span class="font-medium">Tráfego:</span> R$ 19.145 (54,9%) - Queda de 23,9% vs março</li> | |
| <li><span class="font-medium">Web Design:</span> R$ 14.952 (42,8%) - Aumento de 32,0% vs março</li> | |
| <li><span class="font-medium">Financeiras:</span> R$ 805 (2,3%) - Rendimentos de aplicações</li> | |
| </ul> | |
| </div> | |
| <div class="bg-blue-50 p-3 rounded-lg"> | |
| <p class="text-sm text-blue-800 font-medium">Observação:</p> | |
| <p class="text-sm text-blue-700">Queda significativa na receita de tráfego compensada pelo crescimento em web design. Necessário investigar causas da variação.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Expense Analysis --> | |
| <div> | |
| <h4 class="text-lg font-medium text-gray-700 mb-4 flex items-center"> | |
| <i class="fas fa-receipt text-red-500 mr-2"></i> Análise de Despesas | |
| </h4> | |
| <div class="space-y-4"> | |
| <div> | |
| <p class="font-medium text-gray-800">Despesa Total: <span class="text-red-600">R$ 38.789</span></p> | |
| <p class="text-sm text-gray-600">Redução de 6,2% em relação a março (R$ 41.353)</p> | |
| </div> | |
| <div class="border-l-2 border-red-200 pl-4"> | |
| <p class="text-sm font-medium text-gray-700">Principais componentes:</p> | |
| <ul class="list-disc pl-5 text-sm text-gray-600 mt-2 space-y-1"> | |
| <li><span class="font-medium">PLR:</span> R$ 19.396 (50,0%) - Valor fixo mensal</li> | |
| <li><span class="font-medium">Custos Variáveis:</span> R$ 10.216 (26,3%) - Relacionados às vendas</li> | |
| <li><span class="font-medium">Salários:</span> R$ 5.709 (14,7%) - Pró-labore + autônomos</li> | |
| <li><span class="font-medium">Administrativas:</span> R$ 2.195 (5,7%) - Sistemas, honorários, etc.</li> | |
| </ul> | |
| </div> | |
| <div class="bg-red-50 p-3 rounded-lg"> | |
| <p class="text-sm text-red-800 font-medium">Observação:</p> | |
| <p class="text-sm text-red-700">PLR representa metade das despesas totais, impactando fortemente o resultado líquido. Necessário revisão do modelo de distribuição.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Financial Results --> | |
| <div class="mt-8"> | |
| <h4 class="text-lg font-medium text-gray-700 mb-4 flex items-center"> | |
| <i class="fas fa-calculator text-purple-500 mr-2"></i> Resultados Financeiros | |
| </h4> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-4"> | |
| <div class="bg-white border border-gray-200 rounded-lg p-4"> | |
| <p class="text-sm text-gray-500">Margem de Contribuição</p> | |
| <p class="text-xl font-bold text-blue-600">68,4%</p> | |
| <p class="text-xs text-gray-500">R$ 23.881 / R$ 34.902</p> | |
| </div> | |
| <div class="bg-white border border-gray-200 rounded-lg p-4"> | |
| <p class="text-sm text-gray-500">Resultado Operacional</p> | |
| <p class="text-xl font-bold text-green-600">R$ 14.714</p> | |
| <p class="text-xs text-gray-500">Antes do PLR e financeiro</p> | |
| </div> | |
| <div class="bg-white border border-gray-200 rounded-lg p-4"> | |
| <p class="text-sm text-gray-500">Resultado Líquido</p> | |
| <p class="text-xl font-bold text-red-600">-R$ 3.887</p> | |
| <p class="text-xs text-gray-500">Impacto do PLR: R$ 19.396</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Cash Flow Projection --> | |
| <div class="bg-white rounded-xl shadow-md p-6 mb-8 card-hover fade-in"> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-6">Projeção de Fluxo de Caixa 2025</h3> | |
| <div class="h-80 mb-6"> | |
| <canvas id="cashFlowChart"></canvas> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full divide-y divide-gray-200"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Mês</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Receitas</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Despesas</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Resultado</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Saldo Final</th> | |
| </tr> | |
| </thead> | |
| <tbody class="bg-white divide-y divide-gray-200"> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap font-medium">Abril</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 34.902</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 38.789</td> | |
| <td class="px-6 py-4 whitespace-nowrap negative">-R$ 3.887</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 42.816</td> | |
| </tr> | |
| <tr class="bg-gray-50"> | |
| <td class="px-6 py-4 whitespace-nowrap font-medium">Maio</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 35.687</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 39.547</td> | |
| <td class="px-6 py-4 whitespace-nowrap negative">-R$ 3.861</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 40.127</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap font-medium">Junho</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 30.929</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 36.481</td> | |
| <td class="px-6 py-4 whitespace-nowrap negative">-R$ 5.551</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 34.575</td> | |
| </tr> | |
| <tr class="bg-gray-50"> | |
| <td class="px-6 py-4 whitespace-nowrap font-medium">Julho</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 29.762</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 36.131</td> | |
| <td class="px-6 py-4 whitespace-nowrap negative">-R$ 6.368</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 28.207</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap font-medium">Agosto</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 21.787</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 34.783</td> | |
| <td class="px-6 py-4 whitespace-nowrap negative">-R$ 12.996</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 15.211</td> | |
| </tr> | |
| <tr class="bg-gray-50"> | |
| <td class="px-6 py-4 whitespace-nowrap font-medium">Setembro</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 21.387</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 34.043</td> | |
| <td class="px-6 py-4 whitespace-nowrap negative">-R$ 12.656</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 2.555</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap font-medium">Outubro</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 21.787</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 35.664</td> | |
| <td class="px-6 py-4 whitespace-nowrap negative">-R$ 13.876</td> | |
| <td class="px-6 py-4 whitespace-nowrap negative">-R$ 11.321</td> | |
| </tr> | |
| <tr class="bg-gray-50"> | |
| <td class="px-6 py-4 whitespace-nowrap font-medium">Novembro</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 15.140</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 34.078</td> | |
| <td class="px-6 py-4 whitespace-nowrap negative">-R$ 18.938</td> | |
| <td class="px-6 py-4 whitespace-nowrap negative">-R$ 30.259</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap font-medium">Dezembro</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 15.140</td> | |
| <td class="px-6 py-4 whitespace-nowrap">R$ 30.155</td> | |
| <td class="px-6 py-4 whitespace-nowrap negative">-R$ 15.015</td> | |
| <td class="px-6 py-4 whitespace-nowrap negative">-R$ 45.274</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="mt-6 bg-yellow-50 p-4 rounded-lg"> | |
| <h4 class="text-lg font-medium text-yellow-800 mb-2 flex items-center"> | |
| <i class="fas fa-exclamation-triangle text-yellow-600 mr-2"></i> Alerta de Projeção | |
| </h4> | |
| <p class="text-sm text-yellow-700">A projeção indica saldo negativo acumulado a partir de outubro, atingindo -R$45.274 em dezembro. Necessárias medidas corretivas para evitar déficit no fluxo de caixa.</p> | |
| </div> | |
| </div> | |
| <!-- Action Points --> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8"> | |
| <!-- Attention Points --> | |
| <div class="bg-white rounded-xl shadow-md p-6 card-hover fade-in"> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-4 flex items-center"> | |
| <i class="fas fa-exclamation-circle text-red-500 mr-2"></i> Pontos de Atenção | |
| </h3> | |
| <ul class="space-y-4"> | |
| <li class="flex items-start"> | |
| <span class="flex-shrink-0 bg-red-100 text-red-600 p-1 rounded-full mr-3"> | |
| <i class="fas fa-arrow-down text-xs"></i> | |
| </span> | |
| <div> | |
| <p class="font-medium text-gray-800">Queda na Receita de Tráfego</p> | |
| <p class="text-sm text-gray-600">Redução de 23,9% em abril (R$19.145) vs março (R$25.170). Investigar causas e estratégias para recuperação.</p> | |
| </div> | |
| </li> | |
| <li class="flex items-start"> | |
| <span class="flex-shrink-0 bg-red-100 text-red-600 p-1 rounded-full mr-3"> | |
| <i class="fas fa-percentage text-xs"></i> | |
| </span> | |
| <div> | |
| <p class="font-medium text-gray-800">PLR Elevado</p> | |
| <p class="text-sm text-gray-600">Representa 50% das despesas totais (R$19.396), transformando resultado operacional positivo em prejuízo líquido.</p> | |
| </div> | |
| </li> | |
| <li class="flex items-start"> | |
| <span class="flex-shrink-0 bg-red-100 text-red-600 p-1 rounded-full mr-3"> | |
| <i class="fas fa-chart-line-down text-xs"></i> | |
| </span> | |
| <div> | |
| <p class="font-medium text-gray-800">Projeção Negativa</p> | |
| <p class="text-sm text-gray-600">Saldo de caixa projetado negativo a partir de outubro, com déficit acumulado de R$45.274 em dezembro.</p> | |
| </div> | |
| </li> | |
| <li class="flex items-start"> | |
| <span class="flex-shrink-0 bg-red-100 text-red-600 p-1 rounded-full mr-3"> | |
| <i class="fas fa-money-bill-transfer text-xs"></i> | |
| </span> | |
| <div> | |
| <p class="font-medium text-gray-800">Dependência de Web Design</p> | |
| <p class="text-sm text-gray-600">42,8% das receitas vêm de Web Design, com projeção de queda nos próximos meses (R$14.952 em abril para R$2.000 em dezembro).</p> | |
| </div> | |
| </li> | |
| </ul> | |
| </div> | |
| <!-- Guidelines --> | |
| <div class="bg-white rounded-xl shadow-md p-6 card-hover fade-in"> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-4 flex items-center"> | |
| <i class="fas fa-lightbulb text-green-500 mr-2"></i> Diretrizes Recomendadas | |
| </h3> | |
| <ul class="space-y-4"> | |
| <li class="flex items-start"> | |
| <span class="flex-shrink-0 bg-green-100 text-green-600 p-1 rounded-full mr-3"> | |
| <i class="fas fa-hand-holding-dollar text-xs"></i> | |
| </span> | |
| <div> | |
| <p class="font-medium text-gray-800">Revisão do Modelo de PLR</p> | |
| <p class="text-sm text-gray-600">Implementar modelo mais progressivo, vinculado a metas e resultados financeiros concretos.</p> | |
| </div> | |
| </li> | |
| <li class="flex items-start"> | |
| <span class="flex-shrink-0 bg-green-100 text-green-600 p-1 rounded-full mr-3"> | |
| <i class="fas fa-search-dollar text-xs"></i> | |
| </span> | |
| <div> | |
| <p class="font-medium text-gray-800">Otimização de Custos</p> | |
| <p class="text-sm text-gray-600">Redução de custos variáveis (terceirizados) e administrativos sem impactar a qualidade dos serviços.</p> | |
| </div> | |
| </li> | |
| <li class="flex items-start"> | |
| <span class="flex-shrink-0 bg-green-100 text-green-600 p-1 rounded-full mr-3"> | |
| <i class="fas fa-database text-xs"></i> | |
| </span> | |
| <div> | |
| <p class="font-medium text-gray-800">Diversificação de Receitas</p> | |
| <p class="text-sm text-gray-600">Desenvolver novas fontes de receita recorrente para compensar queda projetada em Web Design.</p> | |
| </div> | |
| </li> | |
| <li class="flex items-start"> | |
| <span class="flex-shrink-0 bg-green-100 text-green-600 p-1 rounded-full mr-3"> | |
| <i class="fas fa-piggy-bank text-xs"></i> | |
| </span> | |
| <div> | |
| <p class="font-medium text-gray-800">Reserva Financeira</p> | |
| <p class="text-sm text-gray-600">Criar reserva estratégica para cobrir períodos de saldo negativo projetados.</p> | |
| </div> | |
| </li> | |
| <li class="flex items-start"> | |
| <span class="flex-shrink-0 bg-green-100 text-green-600 p-1 rounded-full mr-3"> | |
| <i class="fas fa-chart-simple text-xs"></i> | |
| </span> | |
| <div> | |
| <p class="font-medium text-gray-800">Monitoramento Contínuo</p> | |
| <p class="text-sm text-gray-600">Acompanhamento mensal detalhado com alertas para desvios significativos.</p> | |
| </div> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <!-- Final Considerations --> | |
| <div class="bg-white rounded-xl shadow-md p-6 mb-8 card-hover fade-in"> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-4">Considerações Finais</h3> | |
| <div class="prose max-w-none text-gray-600"> | |
| <p>O mês de abril apresentou um <strong>resultado operacional positivo de R$14.714</strong>, porém com <strong>prejuízo líquido de R$3.887</strong> devido ao impacto do PLR no valor fixo de R$19.396.</p> | |
| <p class="mt-3">A <strong>margem de contribuição de 68,4%</strong> demonstra saúde nas operações principais, porém a estrutura de custos fixos (especialmente o PLR) compromete a rentabilidade líquida.</p> | |
| <p class="mt-3">A projeção para os próximos meses é preocupante, com <strong>saldo de caixa negativo a partir de outubro</strong>, exigindo ações imediatas para reverter esse cenário.</p> | |
| <div class="mt-4 p-4 bg-blue-50 rounded-lg"> | |
| <p class="font-medium text-blue-800">Recomendações Prioritárias:</p> | |
| <ol class="list-decimal pl-5 mt-2 space-y-1"> | |
| <li>Revisão urgente do modelo de PLR para torná-lo sustentável</li> | |
| <li>Plano de ação para recuperação da receita de tráfego</li> | |
| <li>Criação de produtos/serviços com receita recorrente</li> | |
| <li>Controle rigoroso de despesas com revisão de todos os custos</li> | |
| </ol> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Footer --> | |
| <footer class="mt-12 text-center text-gray-500 text-sm"> | |
| <p>Relatório gerado em <span id="currentDate"></span> | Análise Financeira Completa</p> | |
| <p class="mt-2">Para dúvidas ou mais informações, entre em contato com o departamento financeiro.</p> | |
| </footer> | |
| </div> | |
| <script> | |
| // Set current date | |
| document.getElementById('currentDate').textContent = new Date().toLocaleDateString('pt-BR', { | |
| day: '2-digit', | |
| month: 'long', | |
| year: 'numeric' | |
| }); | |
| // Download button functionality | |
| document.getElementById('downloadBtn').addEventListener('click', function() { | |
| alert(''); | |
| // In a real implementation, this would generate and download a PDF file | |
| }); | |
| // Revenue Chart | |
| const revenueCtx = document.getElementById('revenueChart').getContext('2d'); | |
| const revenueChart = new Chart(revenueCtx, { | |
| type: 'doughnut', | |
| data: { | |
| labels: ['Tráfego', 'Web Design', 'Financeiras', 'Serviços'], | |
| datasets: [{ | |
| data: [19145, 14952, 805, 0], | |
| backgroundColor: [ | |
| '#3B82F6', | |
| '#10B981', | |
| '#8B5CF6', | |
| '#F59E0B' | |
| ], | |
| borderWidth: 0 | |
| }] | |
| }, | |
| options: { | |
| responsive: true, | |
| maintainAspectRatio: false, | |
| plugins: { | |
| legend: { | |
| position: 'right', | |
| }, | |
| tooltip: { | |
| callbacks: { | |
| label: function(context) { | |
| let label = context.label || ''; | |
| let value = context.raw || 0; | |
| let total = context.dataset.data.reduce((a, b) => a + b, 0); | |
| let percentage = Math.round((value / total) * 100); | |
| return `${label}: R$ ${value.toLocaleString('pt-BR')} (${percentage}%)`; | |
| } | |
| } | |
| } | |
| }, | |
| cutout: '70%' | |
| } | |
| }); | |
| // Expense Chart | |
| const expenseCtx = document.getElementById('expenseChart').getContext('2d'); | |
| const expenseChart = new Chart(expenseCtx, { | |
| type: 'doughnut', | |
| data: { | |
| labels: ['PLR', 'Custos Variáveis', 'Salários', 'Administrativas', 'Outros'], | |
| datasets: [{ | |
| data: [19396, 10216, 5709, 2195, 1273], | |
| backgroundColor: [ | |
| '#EF4444', | |
| '#6366F1', | |
| '#F59E0B', | |
| '#EC4899', | |
| '#6B7280' | |
| ], | |
| borderWidth: 0 | |
| }] | |
| }, | |
| options: { | |
| responsive: true, | |
| maintainAspectRatio: false, | |
| plugins: { | |
| legend: { | |
| position: 'right', | |
| }, | |
| tooltip: { | |
| callbacks: { | |
| label: function(context) { | |
| let label = context.label || ''; | |
| let value = context.raw || 0; | |
| let total = context.dataset.data.reduce((a, b) => a + b, 0); | |
| let percentage = Math.round((value / total) * 100); | |
| return `${label}: R$ ${value.toLocaleString('pt-BR')} (${percentage}%)`; | |
| } | |
| } | |
| } | |
| }, | |
| cutout: '70%' | |
| } | |
| }); | |
| // Cash Flow Chart | |
| const cashFlowCtx = document.getElementById('cashFlowChart').getContext('2d'); | |
| const cashFlowChart = new Chart(cashFlowCtx, { | |
| type: 'bar', | |
| data: { | |
| labels: ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'], | |
| datasets: [ | |
| { | |
| label: 'Receitas', | |
| data: [32757, 36279, 37684, 34902, 35687, 30929, 29762, 21787, 21387, 21787, 15140, 15140], | |
| backgroundColor: '#10B981', | |
| borderRadius: 4 | |
| }, | |
| { | |
| label: 'Despesas', | |
| data: [38408, 38022, 41353, 38789, 39547, 36481, 36131, 34783, 34043, 35664, 34078, 30155], | |
| backgroundColor: '#EF4444', | |
| borderRadius: 4 | |
| }, | |
| { | |
| label: 'Saldo Final', | |
| data: [52114, 50371, 46703, 42816, 40127, 34575, 28207, 15211, 2555, -11321, -30259, -45274], | |
| type: 'line', | |
| borderColor: '#3B82F6', | |
| backgroundColor: 'transparent', | |
| borderWidth: 3, | |
| pointBackgroundColor: '#3B82F6', | |
| pointRadius: 4, | |
| pointHoverRadius: 6, | |
| yAxisID: 'y1' | |
| } | |
| ] | |
| }, | |
| options: { | |
| responsive: true, | |
| maintainAspectRatio: false, | |
| scales: { | |
| x: { | |
| grid: { | |
| display: false | |
| } | |
| }, | |
| y: { | |
| beginAtZero: false, | |
| grid: { | |
| color: '#E5E7EB' | |
| }, | |
| ticks: { | |
| callback: function(value) { | |
| return 'R$ ' + (value / 1000).toFixed(0) + 'k'; | |
| } | |
| } | |
| }, | |
| y1: { | |
| position: 'right', | |
| beginAtZero: false, | |
| grid: { | |
| drawOnChartArea: false | |
| }, | |
| ticks: { | |
| callback: function(value) { | |
| return 'R$ ' + (value / 1000).toFixed(0) + 'k'; | |
| } | |
| } | |
| } | |
| }, | |
| plugins: { | |
| tooltip: { | |
| callbacks: { | |
| label: function(context) { | |
| let label = context.dataset.label || ''; | |
| let value = context.raw || 0; | |
| return `${label}: R$ ${value.toLocaleString('pt-BR')}`; | |
| } | |
| } | |
| }, | |
| legend: { | |
| position: 'top', | |
| align: 'end' | |
| } | |
| }, | |
| interaction: { | |
| mode: 'index', | |
| intersect: false | |
| } | |
| } | |
| }); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;"> |