<?php
/**
 * Page 404 - Page non trouvée
 */

http_response_code(404);

$pageTitle = 'Page non trouvée';
$currentPage = '';

include_template('header', compact('pageTitle'));
include_template('navbar', compact('currentPage'));
?>

<main class="min-h-screen flex items-center justify-center">
    <div class="container-content text-center py-20">
        <h1 class="text-display text-primary mb-4">404</h1>
        <p class="text-xl text-text-secondary mb-8">
            Oups ! Cette page n'existe pas.
        </p>
        <a href="/" class="btn-primary">
            Retour à l'accueil
        </a>
    </div>
</main>

<?php include_template('footer'); ?>
