<!doctype html>
<html lang="fr">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title><?= htmlspecialchars($pageTitle ?? 'Locative', ENT_QUOTES, 'UTF-8') ?></title>
    <link rel="stylesheet" href="<?= url('/assets/css/app.css?v=20260616-dashboard') ?>">
    <script>
        (function () {
            try {
                if (localStorage.getItem('locative-theme') === 'dark') {
                    document.documentElement.setAttribute('data-theme', 'dark');
                }
            } catch (error) {}
        })();
    </script>
</head>
<body>
