<div class="footer-info {% if section is defined and section.background %} sec-bg-alt {% endif %}">
{% if checkSection('footer_contact_us') %}
<div class="attendance">
<span class="title">{{ getLanguage('customer_service', 'footer') }}</span>
<div>{{ getConfig('attendance_schedule') }}</div>
{% if getConfig('phone') %}
<div class="tel">{{ getConfig('phone') }}</div>
{% endif %}
<div class="footer-contact">
{% if getConfig('phone2') %}
<div class="phone-1"><i class="fas fa-phone-alt"></i>{{ getConfig('phone2') }}</div>
{% endif %}
{% if getConfig('whatsapp') %}
<div class="phone-2">
<a href="https://api.whatsapp.com/send/?phone={{ whatsapp }}" target="_blank">
<i class="fab fa-whatsapp"></i>{{ getConfig('whatsapp') }}
</a>
</div>
{% endif %}
{% if checkSection('footer_contact_us') %}
<div class="contact-us">
<a href="{{ path('contact') }}">
<i class="fas fa-envelope"></i>{{ getLanguage('contact_us', 'footer') }}
</a>
</div>
{% endif %}
{% if client.document %}
<div class="contact-us">CNPJ: {{ client.document }}</div>
{% endif %}
</div>
</div>
{% endif %}
{% if checkSection('footer_institutional') %}
{%
if userTeacherSpotlight|length > 0
or checkSection('footer_teachers')
or getConfig('contract') != ''
or getConfig('privacy_policy') != ''
or pagesFooter > 0
%}
<div class="institutional">
<span class="title">{{ getLanguage('pages', 'footer') }}</span>
<nav class="map-site">
{% if checkSection('footer_teachers') and userTeacherSpotlight|length > 0 %}
<span>
<a href="{{ path('teachers') }}">{{ getLanguage('teachers', 'footer') }}</a>
</span>
{% endif %}
{% if getConfig('contract') != '' %}
<span><a href="{{ path('terms') }}">{{ getLanguage('terms_of_use', 'home') }}</a></span>
{% endif %}
{% if getConfig('privacy_policy') != '' %}
<span><a href="{{ path('privacy') }}">{{ getLanguage('privacy_policy', 'home') }}</a></span>
{% endif %}
{% if isModuleActive('pages_module') and pages|length > 0 %}
{% for i, page in pages %}
{% if page.useExternalLink == 1 %}
<span><a href="{{ page.externalLink }}" target="_blank" title="{{ page.title }}">{{ page.title }}</a></span>
{% else %}
<span><a href="{{ path('pageDetail', { slug:page.slug }) }}" title="{{ page.title }}">{{ page.title }}</a></span>
{% endif %}
{% endfor %}
{% endif %}
</nav>
</div>
{% endif %}
{% endif %}
{% if isModuleActive('course_certificate_module') and not isRestricted %}
{% if checkSection('footer_certificate') %}
<div>
<span class="title">{{ getLanguage('consult_certificate', 'footer') }}</span>
<p><a href="{{ path('certificateSearchPage') }}">{{ getLanguage('enter_the_code', 'footer') }}</a></p>
</div>
{% endif %}
{% endif %}
</div>