<div class="loader-page"></div>
<div class="show-page">
    <div class="container-page-cadastro-imoveis">
        <div class="row">
            <div class="col-lg-12 p-0">
                <div class="container-progress-barra sticky-top">
                    <div class="progress">
                        <div class="progress-bar progress-bar-animated pro-etapa" role="progressbar"></div>
                    </div>
                </div>
                <div class="container-v-align-cad-imovel">
                    <div class="no-v-align">
                        <div class="row d-flex justify-content-center m-0">
                            <div class="col-lg-9 container-cadastro-imoveis loadingPage d-none">
                                <div class="content-body">
                                    <?php if($edit??false){?>
                                        <input type="hidden" name="edit" class="form-control" id="edit" value="<?php e($edit); ?>" >
                                    <?php } ?>
                                    <input type="hidden" name="admin" class="form-control" id="admin" value="<?php e($admin??false); ?>" >
                                    <input type="hidden" name="cs" class="form-control" id="cs" value="<?php e($cs??false); ?>" >
                                    <input type="hidden" name="steps_permitidos" class="form-control" id="steps_permitidos" data-val="<?php e($steps_permitidos??false); ?>" >
                                    
                                    <input type="hidden" name="id_step" class="form-control" id="id_step" value="<?php e($step); ?>" >
                                    <input type="hidden" name="id_imovel" class="form-control" id="id_imovel" value="<?php e($imovel->id_imovel); ?>" >
                                    <input type="hidden" name="meuCadastro" class="form-control" id="meuCadastro" data-meucadastro='<?php e($meuCadastro); ?>' value="" >
                                    <form id="form-imovel" action="" method="post" enctype="multipart/form-data">
                                        <div class="container-etapas-passas">
                                            <?php if($edit_lancamento??false){ ?>
                                                <?php include "etapas_lancamento/etapa1.php";?>
                                                <?php include "etapas_lancamento/etapa2.php";?>
                                                <?php include "etapas_lancamento/etapa3.php";?>
                                            <?php } elseif($edit_unidade??false){ ?>
                                                <?php include "etapas_unidade/etapa1.php";?>
                                            <?php } else { ?>
                                                <?php include "etapas/etapa1.php";?>
                                                <?php include "etapas/etapa2.php";?>
                                                <?php include "etapas/etapa3.php";?>
                                                <?php include "etapas/preview.php";?>
                                            <?php } ?>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="container-progress-buttons">
            <div class="row d-flex justify-content-center">
                <div class="col-lg-9">
                    <div class="row m-0">
                        <div class="offset-lg-6 col-lg-6 p-0 pl-40">
                            <div class="container-box-confianca">
                                <div class="container-confianca d-none">
                                    <div class="title">Complete suas informações</div>
                                    <div class="container-box-mensgem">
                                        <div class="box-mensagem">
                                            <div class="ico">
                                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>
                                            </div>
                                            <div class="text">Texto muito curto falando o que o usuário deve fazer para aumentar seu nível de confiança nesta etapa.</div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row m-0">
                        <div class="col-12 offset-md-6 col-md-6 offset-lg-6 col-lg-6 p-0">
                            <div class="container-progress p-0">
                                <div class="row">
                                    <div class="col-6 offset-md-6 col-md-3 offset-lg-6 col-lg-3">
                                        <div class="content-btn">
                                            
                                            <button type="button" class="btn btn-primary-inverse a-step btn-anterior">Anterior</button>
                                        </div>
                                    </div>
                                    <div class="col-6 col-md-3 col-lg-3">
                                        <div class="content-btn">
                                            <?php if ($step == ($step_preview??11)): ?>
                                                <button type="button" class="btn btn-success btn_proximo <?php if ($edit??false): ?>concluirEditarCadastro<?php else: ?>concluirCadastro<?php endif; ?>">Publicar</button>
                                            <?php else: ?>
                                                <button type="button" class="btn btn-primary btn_proximo p-step">Próximo</button>
                                            <?php endif; ?>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAOAGU-4BBR5aS8X31cflK-7bp43EpHXsI&libraries=places" type="text/javascript" async defer></script>