<nav class="c-menu-mobile js-menu-mobile-box">
    <div class="container">
        <div class="c-menu-mobile__menu">
            <ul>
                <li><a href="https://apoiocotacoes.com.br/" target="_blank">{{ __('messages.menu-area_cliente') }}</a></li>

                <li class="c-menu-mobile__submenu">
                    <a href="#" class="js-accordion-mobile-toggle">{{ __('messages.menu-solucao') }}</a>
                    <div class="c-menu-mobile__submenu__body js-accordion-mobile-box">
                        @foreach($menu_solucoes as $solucao)
                        <div class="c-menu-mobile__submenu__item">
                            <h3 class="c-menu-mobile__submenu__title"><a href="{{ route('site.solucao', $solucao->slug)}}">{{$solucao->name}}</a></h3>
                            @if(count($solucao->produtos) > 0)
                                @php
                                    $hasSubmenu = false;
                                    foreach($solucao->produtos as $produto) :
                                        if ($produto->status == 1) :
                                            $hasSubmenu = true;
                                            break;
                                        endif;
                                    endforeach;
                                @endphp
                                @if ($hasSubmenu)
                                <div class="c-menu-mobile__submenu__sub">
                                    <a class="js-submenu-mobile-toggle" href="#">{{ __('messages.menu-produtos') }}</a>
                                    <div class="c-menu-mobile__submenu__sub__items js-submenu-mobile-sub">
                                        @foreach($solucao->produtos as $produto)
                                        @if($produto->linkinterno != 1 && $produto->status == 1)
                                            <a href="{{ route('site.produto', $produto->slug)}}">{{$produto->name}}</a>
                                        @endif
                                    @endforeach
                                    </div>
                                </div>
                                @endif
                            @endif
                            {{-- <ul>
                                @foreach($solucao->produtos as $produto)
                                    @if($produto->linkinterno != 1)
                                        <li><a href="{{ route('site.produto', $produto->slug)}}">{{$produto->name}}</a></li>
                                    @endif
                                @endforeach
                            </ul> --}}
                        </div>
                        @endforeach
                        <!-- <div class="c-menu-mobile__submenu__item">
                            <h3 class="c-menu-mobile__submenu__title">Apps</h3>
                            <ul>
                                <li><a href="#">Médic MV</a></li>
                                <li><a href="#">Médic MV</a></li>
                            </ul>
                        </div> -->
                    </div>
                </li>
                <li><a href="{{ route('site.seja-fornecedor') }}">{{ __('messages.menu-segmento') }}</a></li>
                {{-- <li class="c-menu-mobile__submenu">
                    <a href="#" class="js-accordion-mobile-toggle">{{ __('messages.menu-segmento') }}</a>
                    <div class="c-menu-mobile__submenu__body js-accordion-mobile-box">
                        <div class="c-menu-mobile__submenu__item">
                            <a href="https://app.apoiocotacoes.com.br/app/Cadastramento.do?primeira=true&semLogin=cadastrarHospital" target="_blank">Instituição de Saúde</a>
                        </div>
                        <div class="c-menu-mobile__submenu__item">
                            <a href="https://app.apoiocotacoes.com.br/app/CadastramentoFornecedor.do?primeira=true&semLogin=cadastrarFornecedor" target="_blank">Fornecedor</a>
                        </div>

                    </div>
                </li> --}}
                @if (parseLocale() != 'en')
                <li class="c-menu-mobile__submenu"><a href="#" class="js-accordion-mobile-toggle">{{ __('messages.menu-conteudo') }}</a>
                    <div class="c-menu-mobile__submenu__body js-accordion-mobile-box">
                        <div class="c-menu-mobile__submenu__item">

                            <h3 class="c-menu-mobile__submenu__title"><a href="{{ route('site.blogs')}}">{{ __('messages.footer-blog') }}</a></h3>
                            <h3 class="c-menu-mobile__submenu__title"><a href="{{ route('site.cases')}}">{{ __('messages.footer-case') }}</a></h3>
                            {{-- @if (parseLocale() != 'en')
                            <h3 class="c-menu-mobile__submenu__title"><a href="{{ route('site.matEducativo')}}">{{ __('messages.footer-material') }}</a></h3>
                            @endif --}}
                        </div>

                    </div>
                </li>
                @else
                <li><a href="{{ route('site.cases') }}">{{ __('messages.footer-case') }}</a></li>
                @endif

                {{-- @if (parseLocale() != 'en')
                <li class="c-menu-mobile__submenu"><a href="#" class="js-accordion-mobile-toggle">{{ __('messages.menu-contato') }}</a>
                    <div class="c-menu-mobile__submenu__body js-accordion-mobile-box">
                        <div class="c-menu-mobile__submenu__item">
                            <h3 class="c-menu-mobile__submenu__title"><a href="{{ route('site.contato')}}">{{ __('messages.footer-fale') }}</a></h3>
                            @if (parseLocale() != 'en')
                            <h3 class="c-menu-mobile__submenu__title"><a href="https://jobs.kenoby.com/oportunidadesmv"  target="_blank">{{ __('messages.footer-trabalhe') }}</a></h3>
                            @endif
                        </div>
                    </div>
                </li>
                @else --}}
                {{-- <li><a href="{{ route('site.contato') }}">{{ __('messages.footer-fale') }}</a></li> --}}
                {{-- @endif --}}
                <li><a href="#" class="js-accordion-mobile-toggle">Contato</a>
                    <div class="c-menu-mobile__submenu__body js-accordion-mobile-box">
                        <div class="c-menu-mobile__submenu__item">
                            <h3 class="c-menu-mobile__submenu__title"><a href="{{ route('site.contato')}}">Fale Conosco</a></h3>
                            <h3 class="c-menu-mobile__submenu__title"><a href="{{ route('site.trabalhe') }}">Trabalhe Conosco</a></h3>
                        </div>
                        
                    </div>
                </li>
                <li>
                    <a href="{{ route('site.about_mv') }}"  >{{ __('messages.footer-sobre') }}</a>
                </li>
            </ul>
        </div>
        <div class="c-menu-mobile__social">
            <h3 class="c-menu-mobile__social__title">Social</h3>
            <div class="c-menu-mobile__social__links">
                <ul>
                    <li><a href="https://www.instagram.com/apoiocotacoesof/" aria-label="Instagram"><i class="icon icon-instagram"></i></a></li>
                    <li><a href="https://www.facebook.com/apoiocotacoesof/" aria-label="Facebook"><i class="icon icon-facebook"></i></a></li>
                    <li><a href="hhttps://www.linkedin.com/company/apoiocotacoesoficial/" aria-label="Linkedin"><i class="icon icon-linkedin"></i></a></li>
                    <li><a href="https://www.youtube.com/@apoiocotacoes" aria-label="Youtube"><i class="icon icon-youtube"></i></a></li>
                </ul>
            </div>
        </div>
        {{-- <div class="c-menu-mobile__contact">
            <h3 class="c-menu-mobile__contact__title">{!! __('messages.footer-fale-fone') !!}</h3>
            <div class="c-menu-mobile__contact__phones">
                <a href="tel: +55 81 3972-7000">+55 81 3972-7000</a>
            </div>
        </div> --}}
        <div class="c-menu-mobile__address">
            {{-- <p>MV Sistemas MV Informática Nordeste Ltda.<br>
                CNPJ: 92.306.257/0007-80<br>
                Av. Presidente Dutra, 298 - Imbiribeira - Recife/ - PE Brasil</p> --}}
        </div>
    </div>
</nav>
