<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<div id="avision-dashboard-root" 
     data-lang="<?php echo esc_attr( $atts['lang'] ); ?>" 
     data-company="<?php echo esc_attr( $atts['company_name'] ); ?>"
     data-progress='<?php echo json_encode( $progress ); ?>'>

    <div class="spotlight-overlay" id="spotlightOverlay"></div>

    <?php 
    $parts = ['nav', 'header-hero', 'score-card', 'roadmap', 'levels', 'chat-widget'];
    foreach($parts as $part) {
        $path = AVISION_PATH . "templates/parts/$part.php";
        if (file_exists($path)) {
            include $path;
        }
    }
    ?>

    <footer style="text-align:center; padding: 40px 0; color: #64748b; font-size: 0.8rem;">
        © <?php echo date('Y'); ?> Avision SaaS - Intelligence Artificielle SEO
    </footer>
</div>
