<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
?>
</main><!-- #primary -->

<div class="pre-footer">
    <?php partner_strip(); ?>
</div>
<footer class="site-footer">
	<div class="site-footer-inner">
        <div class="columns">
            <div class="column">
                <a href="/" class="logo-link">
                    <img src="<?php print CULT_URL ?>/assets/images/logo.png" alt="Site logo">
                </a>
                <?php if ( function_exists( 'do_shortcode' ) ) : ?>
                    <div class="site-banner-footer" role="complementary" aria-label="Publicidade">
                        <?php echo do_shortcode( '[banners position="footer" count="1"]' ); ?>
                    </div>
                <?php endif; ?>
            </div>
            <div class="column">
                <div class="menu-footer">
                    <h4>Sobre o site</h4>
                    <nav class="footer-navigation" aria-label="<?php esc_attr_e( 'Menu footer', 'culturando' ); ?>">
                        <?php
                        wp_nav_menu( array(
                            'theme_location' => 'footer',
                            'menu_id'        => 'footer-menu',
                            'container'      => false,
                            'menu_class'     => 'footer-menu',
                            'fallback_cb'    => false,
                        ) );
                        ?>
                    </nav>
                </div>
            </div>
            <div class="column">
                <?php culturando_the_site_contact(); ?>
            </div>
        </div>
		<p class="site-footer-copyright">
            <?php
                $options = get_option('culturando_options', []);
                $copyright = $options['copyright'] ?? get_bloginfo( 'name' );
            ?>
			&copy; <?php echo esc_html( wp_date( 'Y' ) ); ?> 
            <?php echo esc_html( $copyright ); ?>
		</p>
	</div>

    <?php /* if ( function_exists( 'ccc_has_consent' ) ) : ?>
        <p>
            <?php echo do_shortcode( '[lgpd_consent_manager]' ); ?>
        </p>
    <?php endif; */ ?>
</footer>

<?php wp_footer(); ?>
</body>
</html>