/
home
/
oxicore
/
public_html
/
Upload File
HOME
<!DOCTYPE html> <html lang="pt-BR"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Dashboard de Growth - Cenário de Escala</title> <!-- Tailwind CSS --> <script src="https://cdn.tailwindcss.com"></script> <!-- Chart.js --> <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> <!-- Google Fonts --> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet"> <style> body { font-family: 'Inter', sans-serif; background-color: #f3f4f6; /* gray-100 */ } /* Custom scrollbar for table wrapper */ .table-scroll::-webkit-scrollbar { height: 8px; } .table-scroll::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; } .table-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; } .table-scroll::-webkit-scrollbar-thumb:hover { background: #94a3b8; } </style> </head> <body class="text-gray-800 antialiased min-h-screen flex flex-col"> <!-- Header --> <header class="bg-gray-900 text-white py-6 shadow-md"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 flex justify-between items-center"> <div> <h1 class="text-2xl font-bold tracking-tight">Cenário de Growth</h1> <p class="text-sm text-gray-400 mt-1">Mídia como Alavanca de Lucro vs. Despesa</p> </div> <div class="hidden sm:flex items-center space-x-2 bg-gray-800 px-4 py-2 rounded-lg border border-gray-700"> <span class="w-3 h-3 rounded-full bg-green-500 animate-pulse"></span> <span class="text-sm font-medium text-gray-200">Simulação Ativa</span> </div> </div> </header> <!-- Main Content --> <main class="flex-grow max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 w-full space-y-8"> <!-- Intro Text --> <div class="bg-white rounded-xl shadow-sm border border-gray-200 p-6 border-l-4 border-l-green-500"> <h2 class="text-lg font-semibold text-gray-900 mb-2">Resumo Executivo</h2> <p class="text-gray-600 leading-relaxed"> Este dashboard demonstra como o incremento no investimento em mídia traciona o faturamento e gera ganhos desproporcionais na última linha (Resultado Líquido). Ao alavancar o faturamento através de um ROAS saudável, diluímos custos fixos e multiplicamos a geração de caixa do negócio. </p> </div> <!-- SEÇÃO 1: Tabela DRE Gerencial --> <section class="bg-white rounded-xl shadow-md border border-gray-200 overflow-hidden"> <div class="px-6 py-5 border-b border-gray-200 bg-gray-50 flex justify-between items-center"> <h3 class="text-xl font-bold text-gray-800">DRE Gerencial Comparativo</h3> <span class="text-xs font-semibold bg-gray-200 text-gray-700 px-2 py-1 rounded">Valores em US$</span> </div> <div class="overflow-x-auto table-scroll"> <table class="min-w-full divide-y divide-gray-200 text-sm"> <thead class="bg-gray-800 text-white"> <tr> <th scope="col" class="px-6 py-4 text-left font-semibold uppercase tracking-wider">Descrição</th> <th scope="col" class="px-6 py-4 text-right font-semibold uppercase tracking-wider">Cenário 1 (Atual)</th> <th scope="col" class="px-6 py-4 text-right font-semibold uppercase tracking-wider">Cenário 2 (Escala)</th> <th scope="col" class="px-6 py-4 text-right font-semibold uppercase tracking-wider">Diferença</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-100"> <!-- Linha 1 --> <tr class="hover:bg-gray-50 transition-colors"> <td class="px-6 py-3 whitespace-nowrap text-gray-600">Faturamento Base</td> <td class="px-6 py-3 whitespace-nowrap text-right font-medium">$120.000</td> <td class="px-6 py-3 whitespace-nowrap text-right font-medium">$120.000</td> <td class="px-6 py-3 whitespace-nowrap text-right text-gray-400">$0</td> </tr> <!-- Linha 2 --> <tr class="hover:bg-gray-50 transition-colors"> <td class="px-6 py-3 whitespace-nowrap text-gray-600">Receita da Mídia (ROAS 10)</td> <td class="px-6 py-3 whitespace-nowrap text-right font-medium">$20.000</td> <td class="px-6 py-3 whitespace-nowrap text-right font-medium">$100.000</td> <td class="px-6 py-3 whitespace-nowrap text-right font-medium text-green-600">+$80.000</td> </tr> <!-- Linha 3 (Destaque) --> <tr class="bg-gray-100 font-bold border-y-2 border-gray-200"> <td class="px-6 py-4 whitespace-nowrap text-gray-900">FATURAMENTO TOTAL</td> <td class="px-6 py-4 whitespace-nowrap text-right text-gray-900">$140.000</td> <td class="px-6 py-4 whitespace-nowrap text-right text-gray-900">$220.000</td> <td class="px-6 py-4 whitespace-nowrap text-right text-green-600">+$80.000</td> </tr> <!-- Linha 4 --> <tr class="hover:bg-gray-50 transition-colors"> <td class="px-6 py-3 whitespace-nowrap text-gray-600">Custo do Produto (50%)</td> <td class="px-6 py-3 whitespace-nowrap text-right text-red-500 font-medium">-$70.000</td> <td class="px-6 py-3 whitespace-nowrap text-right text-red-500 font-medium">-$110.000</td> <td class="px-6 py-3 whitespace-nowrap text-right text-red-500 font-medium">-$40.000</td> </tr> <!-- Linha 5 (Destaque) --> <tr class="bg-gray-100 font-bold border-y-2 border-gray-200"> <td class="px-6 py-4 whitespace-nowrap text-gray-900">MARGEM DE CONTRIBUIÇÃO</td> <td class="px-6 py-4 whitespace-nowrap text-right text-gray-900">$70.000</td> <td class="px-6 py-4 whitespace-nowrap text-right text-gray-900">$110.000</td> <td class="px-6 py-4 whitespace-nowrap text-right text-green-600">+$40.000</td> </tr> <!-- Linha 6 --> <tr class="hover:bg-gray-50 transition-colors"> <td class="px-6 py-3 whitespace-nowrap text-gray-600">Investimento em Mídia</td> <td class="px-6 py-3 whitespace-nowrap text-right text-red-500 font-medium">-$2.000</td> <td class="px-6 py-3 whitespace-nowrap text-right text-red-500 font-medium">-$10.000</td> <td class="px-6 py-3 whitespace-nowrap text-right text-red-500 font-medium">-$8.000</td> </tr> <!-- Linha 7 --> <tr class="hover:bg-gray-50 transition-colors"> <td class="px-6 py-3 whitespace-nowrap text-gray-600">Custo Fixo V4</td> <td class="px-6 py-3 whitespace-nowrap text-right text-red-500 font-medium">-$1.800</td> <td class="px-6 py-3 whitespace-nowrap text-right text-red-500 font-medium">-$1.800</td> <td class="px-6 py-3 whitespace-nowrap text-right text-gray-400">$0</td> </tr> <!-- Linha 8 --> <tr class="hover:bg-gray-50 transition-colors"> <td class="px-6 py-3 whitespace-nowrap text-gray-600">Comissão V4 (5% > $120k)</td> <td class="px-6 py-3 whitespace-nowrap text-right text-red-500 font-medium">-$1.000</td> <td class="px-6 py-3 whitespace-nowrap text-right text-red-500 font-medium">-$5.000</td> <td class="px-6 py-3 whitespace-nowrap text-right text-red-500 font-medium">-$4.000</td> </tr> </tbody> <!-- Linha Final (Super Destaque) --> <tfoot class="bg-green-50 border-t-2 border-green-200"> <tr> <td class="px-6 py-5 whitespace-nowrap text-green-800 font-extrabold text-base">RESULTADO LÍQUIDO (Caixa)</td> <td class="px-6 py-5 whitespace-nowrap text-right text-green-700 font-extrabold text-base">$65.200</td> <td class="px-6 py-5 whitespace-nowrap text-right text-green-700 font-extrabold text-base">$93.200</td> <td class="px-6 py-5 whitespace-nowrap text-right text-green-600 font-black text-lg bg-green-100 rounded-br-lg">+$28.000</td> </tr> </tfoot> </table> </div> </section> <!-- SEÇÃO 2: Gráfico de Comparação --> <section class="bg-white rounded-xl shadow-md border border-gray-200 p-6"> <div class="relative h-[450px] w-full"> <canvas id="growthChart"></canvas> </div> </section> </main> <!-- Footer --> <footer class="bg-white border-t border-gray-200 mt-auto"> <div class="max-w-7xl mx-auto px-4 py-6 sm:px-6 lg:px-8 text-center text-sm text-gray-500"> © 2026 Dashboard Gerencial. Modelo de simulação de alavancagem via mídia. </div> </footer> <!-- Chart.js Initialization --> <script> document.addEventListener('DOMContentLoaded', function() { const ctx = document.getElementById('growthChart').getContext('2d'); // Formatador de moeda para os tooltips e eixos const currencyFormatter = new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD', minimumFractionDigits: 0, maximumFractionDigits: 0 }); const growthChart = new Chart(ctx, { type: 'bar', data: { labels: ['Cenário 1 (Atual)', 'Cenário 2 (Escala)'], datasets: [ { label: 'Investimento em Mídia', data: [2000, 10000], backgroundColor: '#374151', // Tailwind gray-700 borderRadius: 4, barPercentage: 0.8, categoryPercentage: 0.8 }, { label: 'Comissão V4', data: [1000, 5000], backgroundColor: '#f97316', // Tailwind orange-500 borderRadius: 4, barPercentage: 0.8, categoryPercentage: 0.8 }, { label: 'Resultado Líquido do Cliente', data: [65200, 93200], backgroundColor: '#10b981', // Tailwind green-500 borderRadius: 4, barPercentage: 0.8, categoryPercentage: 0.8 } ] }, options: { responsive: true, maintainAspectRatio: false, plugins: { title: { display: true, text: 'A Alavanca de Growth: Risco vs. Retorno Líquido', font: { size: 20, family: "'Inter', sans-serif", weight: 'bold' }, color: '#1f2937', padding: { top: 10, bottom: 30 } }, legend: { position: 'bottom', labels: { font: { family: "'Inter', sans-serif", size: 13 }, usePointStyle: true, padding: 20 } }, tooltip: { backgroundColor: 'rgba(17, 24, 39, 0.95)', // gray-900 titleFont: { family: "'Inter', sans-serif", size: 14 }, bodyFont: { family: "'Inter', sans-serif", size: 14, weight: '500' }, padding: 12, cornerRadius: 8, callbacks: { label: function(context) { let label = context.dataset.label || ''; if (label) { label += ': '; } if (context.parsed.y !== null) { label += currencyFormatter.format(context.parsed.y); } return label; } } } }, scales: { y: { beginAtZero: true, grid: { color: '#f3f4f6', // gray-100 drawBorder: false }, ticks: { font: { family: "'Inter', sans-serif" }, color: '#6b7280', // gray-500 callback: function(value) { return currencyFormatter.format(value); } } }, x: { grid: { display: false, drawBorder: false }, ticks: { font: { family: "'Inter', sans-serif", size: 14, weight: '600' }, color: '#374151' // gray-700 } } }, interaction: { intersect: false, mode: 'index', }, } }); }); </script> </body> </html>