// views/layout.php
<!DOCTYPE html>
<html>
<head>
    <title><?= $title ?? 'ADVANCED Payroll' ?></title>
</head>
<body>
    <?php include __DIR__.'/'.$content; ?>
</body>
</html>

// views/errors/404.php
<h1>Erreur 404</h1>
<p><?= $message ?? 'Page non trouvée' ?></p>