<footer class="bgblue cwhite">
<div class="footer-container p-01em">
{% if snippets is defined and snippets is not empty %}
<div class="upper-footer dflex lh24">
{% if (snippets.content.adresse or snippets.content.numero or snippets.content.email) %}
<div class="uf-left dflex fwrap fdc pb-1-75em">
{% if snippets.content.sns_logos %}
<div class="icon-container dflex aic">
{% for logo_data in snippets.content.sns_logos %}
<a href="{{ logo_data.sns_link }}" class="dblock"><img src="{{ logo_data.sns_logo.formats['sulu-50x50.svg'] }}" width="{{ logo_data.sns_logo.properties.width }}" height="{{ logo_data.sns_logo.properties.height }}" loading="lazy" alt="{{ logo_data.sns_logo | copyright_or_description_or_title }}"></a>
{% endfor %}
</div>
{% endif %}
<div class="coords">
{% if snippets.content.adresse %}
{{ snippets.content.adresse|raw }}
{% endif %}
{% if snippets.content.numero %}
<a href="" class="dblock mb-1em" id="pqna-phone"></a>
{% endif %}
{% if snippets.content.email %}
<a href="" class="dblock mb-1em" id="pqna-email"></a>
{% endif %}
</div>
</div>
{% endif %}
{% if snippets.content.footer_menu %}
<div class="uf-right dflex jcsa">
{% for menu_element in sulu_navigation_root_tree('footer', 3) %}
<div class="footer-menu">
<a href="{{ menu_element.url }}">
<div class="fs18 fw600 mb-1em">{{ menu_element.title }}</div>
</a>
<ul>
{% for children in menu_element.children %}
<li class="mb-1em">
<a href="{{ children.url }}" title="{{ children.title }}">{{ children.title }}</a>
</li>
{% endfor %}
</ul>
</div>
{% endfor %}
</div>
{% endif %}
</div>
<hr class="solid">
<div class="middle-footer dflex jcsb fs14 lh20">
{% for element in snippets.content.blocks_down %}
<div class="mf-block dflex">
{% if element.text is defined and element.text is not empty %}
<div class="mf-text mb-1em">
{{ element.text|raw }}
</div>
{% endif %}
{% if element.type == "block_with_logos" %}
<div class="footer-logos mta dflex fwwrap">
{% for logo in element.logos %}
{% if logo.logo.mimeType is defined and logo.logo.mimeType is not empty %}
{% if logo.logo.mimeType == "image/svg" %}
{% set img = logo.logo.formats['300x.svg'] %}
{% else %}
{% set img = logo.logo.formats['300x.webp'] %}
{% endif %}
{% endif %}
{% if logo.logo.properties is defined and logo.logo.properties is not empty %}
<img src="{{ img }}" width="{{ logo.logo.properties.width }}" height="{{ logo.logo.properties.height }}" alt="{{ logo.logo | copyright_or_description_or_title }}" loading="lazy">
{% endif %}
{% endfor %}
</div>
{% elseif element.type == "block_CTA" %}
<a href="{{ element.link }}" class="CTA footer-CTA tac" target="_blank">{{ element.link_text }}</a>
{% endif %}
</div>
{% endfor %}
</div>
<div class="bottom-footer">
<ul class="dflex jcsb">
{% for item in sulu_navigation_root_tree('bottomfooter', 3) %}
<li class="bottom-menu-ele">
<a href="{{ sulu_content_path(item.url) }}" title="{{ item.title }}" class="fs14 lh20">{{ item.title }}</a>
</li>
{% endfor %}
</ul>
</div>
<hr class="solid">
<div class="copyright tac fs12 fw400 lh16 mf-text"><span>{{ 'now' | date('Y') }} PQN-A. Tous droits réservés.</span></div>
{% endif %}
</div>
</footer>