<?php
/**
 * Template Footer
 */
$currentYear = date('Y');
?>
    <!-- Footer -->
    <footer class="bg-surface border-t border-border py-8 mt-auto">
        <div class="container-content text-center">
            <p class="text-text-muted text-sm">
                &copy; <?= $currentYear ?> Portfolio. Tous droits réservés.
            </p>
        </div>
    </footer>

    <!-- Scripts -->
    <?php if (defined('RECAPTCHA_SITE_KEY') && RECAPTCHA_SITE_KEY): ?>
    <script>window.RECAPTCHA_SITE_KEY = '<?= htmlspecialchars(RECAPTCHA_SITE_KEY) ?>';</script>
    <script src="https://www.google.com/recaptcha/api.js?render=<?= htmlspecialchars(RECAPTCHA_SITE_KEY) ?>" async defer></script>
    <?php endif; ?>
    <script src="/assets/js/main.js" defer></script>
</body>
</html>
