function calculateSavings() { const hoursSpent = document.getElementById('hours-spent').value; const hourlyRate = document.getElementById('hourly-rate').value; const automationPercentage = document.getElementById('automation-percentage').value / 100; const annualSavings = hoursSpent * hourlyRate * 48 * automationPercentage; // 48 semaines de travail document.getElementById('calculator-result').innerHTML = `Économies annuelles estimées : ${Math.round(annualSavings).toLocaleString()} €`; }