<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
    <meta charset="<?php bloginfo('charset'); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="profile" href="https://gmpg.org/xfn/11">

    <?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>
<?php wp_body_open(); ?>

<div id="page" class="site">
    <a class="skip-link screen-reader-text" href="#primary">
        <?php esc_html_e('Skip to content', 'navier-instruments'); ?>
    </a>

    <header id="masthead" class="site-header">
        <div class="container">
            <div class="header-inner">
                <!-- Logo -->
                <div class="site-logo">
                    <?php if (has_custom_logo()) : ?>
                        <?php the_custom_logo(); ?>
                    <?php else : ?>
                        <a href="<?php echo esc_url(home_url('/')); ?>" rel="home">
                            <span class="site-logo-text">
                                Navier<span>Instruments</span>
                            </span>
                        </a>
                    <?php endif; ?>
                </div>

                <!-- Navigation -->
                <nav id="site-navigation" class="main-navigation" aria-label="<?php esc_attr_e('Primary Menu', 'navier-instruments'); ?>">
                    <ul class="nav-menu">
                        <li><a href="<?php echo esc_url(home_url('/')); ?>">Accueil</a></li>
                        <li><a href="<?php echo esc_url(get_post_type_archive_link('navier_product')); ?>">Produits</a></li>
                        <li><a href="<?php echo esc_url(home_url('/')); ?>#about">À propos</a></li>
                        <li><a href="<?php echo esc_url(home_url('/')); ?>#contact">Contact</a></li>
                    </ul>
                </nav>

                <!-- Header CTA -->
                <div class="header-cta">
                    <a href="#contact" class="btn btn--primary">
                        Nous contacter
                    </a>
                </div>

                <!-- Mobile Menu Toggle -->
                <button class="menu-toggle" aria-controls="site-navigation" aria-expanded="false" aria-label="<?php esc_attr_e('Toggle navigation', 'navier-instruments'); ?>">
                    <span></span>
                    <span></span>
                    <span></span>
                </button>
            </div>
        </div>
    </header>

    <main id="primary" class="site-main">
