{% if btn == 'more' and section == 'pack' %}

  <div class="__btn __learn-more {{color}}">
    En savoir plus
    <div class="triangle {{color}}"></div>
  </div>

{% elseif btn == 'envie' %}

  <div class="__btn __learn-more __grey">
    {{module.header.btn_txt_envie}}
    {% include 'components/buttons/icone_arrow.html.twig' %}
  </div>

{% elseif btn == 'devis' %}
  <a class="__btn __devis {{color}}" target="_blank" href="/organisez-vos-evenements/demande-de-devis">
    Faire une demande de devis
  </a>
{% elseif btn == 'dl' %}
  {% set image_parts = pathinfo(item.btn_url) %}
  {% set image_basename_imgB = image_parts.basename %}
  {% set image_page_imgB = image_parts.dirname == '.' ? module : module.find(image_parts.dirname) %}

    <a class="__btn __dl {{color}}" href="{{ image_page_imgB.media[image_basename_imgB].url() }}" download>
    {{item.btn_txt}}
    </a>

{% elseif btn == 'link_ext' %}
    <div class="__btn __learn-more __grey">
      En savoir plus
      {% include 'components/buttons/icone_arrow.html.twig' %}
    </div>
{% endif %}
