<main class="main" data-scroll-section>
    <div class="container">
        <div class="audit">
            <div class="audit_header">
                <h2>Pradel</h2>
            </div>
            <div>
                <h1 class="audit_title" data-splitting="words"><?php echo $pageData['maintitle']; ?></h1>
            </div>
            <div class="audit_form">
                <?php
                    global $post;
                    if (!post_password_required($post)) {
                ?>
                        <button type="button" class="open-audit">Ouvrir</button>
                <?php
                    } else {
                        echo get_the_password_form();
                    }
                ?>
            </div>
        </div>
    </div>
</main>

<?php
    global $post;
    if (!post_password_required($post)): 
?>
<div class="audit_iframe">
    <div class="audit_iframe_mask"></div>
    <div class="audit_iframe_content">
        <?php echo $pageData['iframe']; ?>
    </div>
</div>

<?php endif; ?>

<?php svg('logo-p', 'p-1') ?>
<?php svg('logo-p', 'p-2') ?>
<?php svg('logo-p', 'p-3') ?>