    </main>
    <footer class="footer mt-5 pt-4 pb-3">
        <div class="container">
            <div class="row">
                <div class="col-md-4 mb-3 mb-md-0">
                    <h5><i class="fas fa-building me-2"></i>CIBER BTP</h5>
                    <p class="small">Expert en contrôle qualité dans le BTP.<br>
                    Assurance qualité, sécurité, conformité.</p>
                </div>
                <div class="col-md-4 mb-3 mb-md-0">
                    <h5><i class="fas fa-link me-2"></i>Liens utiles</h5>
                    <ul class="list-unstyled small">
                        <li><a href="<?= BASE_URL ?>index.php" class="text-decoration-none">Accueil</a></li>
                        <?php if (isset($_SESSION['user_id'])): ?>
                            <li><a href="<?= BASE_URL ?>dashboard.php" class="text-decoration-none">Tableau de bord</a></li>
                            <?php if ($_SESSION['user_role'] === 'personnel'): ?>
                                <li><a href="<?= BASE_URL ?>user/index.php" class="text-decoration-none">Mon espace</a></li>
                            <?php else: ?>
                                <li><a href="<?= BASE_URL ?>admin/index.php" class="text-decoration-none">Administration</a></li>
                            <?php endif; ?>
                            <li><a href="<?= BASE_URL ?>profile.php" class="text-decoration-none">Mon profil</a></li>
                        <?php endif; ?>
                    </ul>
                </div>
                <div class="col-md-4">
                    <h5><i class="fas fa-envelope me-2"></i>Contact</h5>
                    <ul class="list-unstyled small">
                        <li><i class="fas fa-phone-alt me-2"></i> +225 07 00 40 55 75</li>
                        <li><i class="fas fa-envelope me-2"></i> info@ciberci.com</li>
                        <li><i class="fas fa-map-marker-alt me-2"></i> Abidjan, Côte d'Ivoire</li>
                    </ul>
                </div>
            </div>
            <hr class="my-3">
            <div class="text-center small">
                &copy; <?= date('Y') ?> CIBER BTP - Tous droits réservés. | Version 2.0
            </div>
        </div>
    </footer>

    <!-- Scripts JavaScript -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://cdn.datatables.net/1.13.4/js/jquery.dataTables.min.js"></script>
    <script src="https://cdn.datatables.net/1.13.4/js/dataTables.bootstrap5.min.js"></script>
    <script src="<?= BASE_URL ?>assets/js/app.js"></script>
</body>
</html>