{% extends "base.html.twig" %}
{# extension.excerpt #}
{% block style %}
{{ parent() }}
{% include "css/article-critical-css.html.twig" %}
{% include "pages/headers/encore-entry-css-files.html.twig" with {file: 'articles_css'} %}
{% include "pages/headers/encore-entry-css-files.html.twig" with {file: 'sns_icons_css'} %}
{% include "pages/headers/encore-entry-css-files.html.twig" with {file: 'frame_css'} %}
{% include "pages/headers/encore-entry-css-files.html.twig" with {file: 'freetext_css'} %}
{% if content.adresse is defined and content.adresse is not empty %}
{% include "pages/headers/encore-entry-css-files.html.twig" with {file: 'map_css'} %}
{% endif %}
{% if content.main_content is defined and content.main_content is not empty and content.main_content|length > 0 %}
{% for data in content.main_content %}
{% set block = data %}
{% if data.type == "youtube" %}
{% include "pages/headers/encore-entry-css-files.html.twig" with {file: 'youtube_css'} %}
{% endif %}
{% if data.type == "linked_with" or data.type == "see_more" %}
{% include "pages/headers/encore-entry-css-files.html.twig" with {file: 'splide_css'} %}
{% include "pages/headers/encore-entry-css-files.html.twig" with {file: 'previews_css'} %}
{% include "pages/headers/encore-entry-css-files.html.twig" with {file: 'preview_thematique_css'} %}
{% endif %}
{% if data.type == "citation" %}
{% include "pages/headers/encore-entry-css-files.html.twig" with {file: 'citation_css'} %}
{% endif %}
{% endfor %}
{% endif %}
{% endblock %}
{% block content %}
{% set values = "" %}
{% set values = ['Acteurs & territoires', 'Expériences'] %}
{% include "articles-blocks/breadcrumb.html.twig" with {titles : values} %}
<div class="main-container w100 plr-1em single-article-container">
<article>
{% if content.old_format %}
<div class="{% if content.header_img is defined and content.header_img is not empty %}main-title{% else %}small-main-title{% endif %} br8 dflex aic jcc">
{% if content.header_img is defined and content.header_img is not empty %}
<img loading="lazy" src="{{ content.header_img.formats['1000x.webp'] }}" srcset="{{ content.header_img.formats['300x.webp'] }} 300w, {{ content.header_img.formats['600x.webp'] }} 600w, {{ content.header_img.formats['1000x.webp'] }} 1000w" sizes="1000px" alt="{{ content.header_img | copyright_or_description_or_title }}" width="{{ content.header_img.fileVersion.properties.width }}" height="{{ content.header_img.fileVersion.properties.height }}">
{% endif %}
<div class="zi1 prelative team-project-head dflex jcc aic fdc">
<div class="center">
<h1 class="{% if content.header_img is defined and content.header_img is not empty %}cwhite{% else %}cblue{% endif %}">{{ content.title }}</h1>
</div>
</div>
{% if content.header_img is defined and content.header_img is not empty %}
<div class="background-color-blue"></div>
{% endif %}
</div>
{% if content.header_img is defined and content.header_img is not empty %}
{% if content.header_img.credits and content.header_img.credits is not empty %}
<div class="cgrey fs12 lh16 credit mt-8px">© Crédit Photo
{{ content.header_img.credits }}</div>
{% endif %}
{% endif %}
{% include "articles/blocks/article-under-header.html.twig" %}
{% if content.departement is defined and content.departement is not empty %}
<div class="dflex fwwrap">
<div class="departement-tag cwhite fw600 departement-exp mb-2em mt-40px">{{ content.departement }}</div>
</div>
{% endif %}
{% if content.desc is defined and content.desc is not empty %}
<div class="actualites-PQNA mb-16px fs20 lh28 f500 cgrey">
{{ content.desc|raw }}
</div>
{% endif %}
<div class="mb-2em dflex w100">
{% if extension.excerpt.categories is defined and extension.excerpt.categories is not empty %}
<div class="small-thematique-container">
{% set categories = extension.excerpt.categories %}
{% include "blocks/previews-from-controller/blocks/categories.html.twig" %}
</div>
{% endif %}
</div>
<div class="structure-class">
{% if content.societe_porteuse.name is defined and content.societe_porteuse.name is not empty %}
<h2 class="mb-20px structure-class-title">
Structure Porteuse :
{{ content.societe_porteuse.name }}
</h2>
{% endif %}
{% if content.structure_img is defined and content.structure_img is not empty %}
<div class="br8 dflex aic jcc structure-class-image">
<img loading="lazy" src="{{ content.structure_img.formats['1000x.webp'] }}" srcset="{{ content.structure_img.formats['300x.webp'] }} 300w, {{ content.structure_img.formats['600x.webp'] }} 600w, {{ content.structure_img.formats['1000x.webp'] }} 1000w" sizes="1000px" alt="{{ content.structure_img | copyright_or_description_or_title }}" width="{{ content.structure_img.fileVersion.properties.width }}" height="{{ content.structure_img.fileVersion.properties.height }}">
</div>
{% endif %}
</div>
{% else %}
<div class="{% if content.header_img is defined and content.header_img is not empty %}main-title{% else %}small-main-title{% endif %} br8 dflex aic jcc">
{% if content.header_img is defined and content.header_img is not empty %}
<img loading="lazy" src="{{ content.header_img.formats['1000x.webp'] }}" srcset="{{ content.header_img.formats['300x.webp'] }} 300w, {{ content.header_img.formats['600x.webp'] }} 600w, {{ content.header_img.formats['1000x.webp'] }} 1000w" sizes="1000px" alt="{{ content.header_img | copyright_or_description_or_title }}" width="{{ content.header_img.fileVersion.properties.width }}" height="{{ content.header_img.fileVersion.properties.height }}">
{% endif %}
<div class="zi1 prelative team-project-head dflex jcc aic fdc">
<div class="center">
<h1 class="{% if content.header_img is defined and content.header_img is not empty %}cwhite{% else %}cblue{% endif %}">{{ content.title }}</h1>
</div>
</div>
{% if content.header_img is defined and content.header_img is not empty %}
<div class="background-color-blue"></div>
{% endif %}
</div>
{% if content.header_img is defined and content.header_img is not empty %}
{% if content.header_img.credits and content.header_img.credits is not empty %}
<div class="cgrey fs12 lh16 credit mt-8px">© Crédit Photo
{{ content.header_img.credits }}</div>
{% endif %}
{% endif %}
<div class="dflex jcsb lh28 fwwrap article-datas">
<div>
{% if content.author_name is defined and content.author_name is not empty %}
{% include "articles/blocks/show-simple-text-field.html.twig" with {content: content.author_name} %}
{% else %}
{% include "articles-blocks/contributors.html.twig" %}
{% endif %}
{% include "articles-blocks/publish-date.html.twig" %}
</div>
<div class="taright">
{% include "articles-blocks/readtime.html.twig" %}
{% include "articles-blocks/share-buttons.html.twig" %}
</div>
</div>
<div class="mb-2em dflex w100 fwwrap aic experience-pre-header">
{% if content.departement is defined and content.departement is not empty %}
<div class="departement-tag cwhite fw600 departement-exp mb-2em mt-1em">
{{ content.departement }}
</div>
{% endif %}
{% if extension.excerpt.categories is defined and extension.excerpt.categories is not empty %}
{% set categories = extension.excerpt.categories %}
{% include "blocks/previews-from-controller/blocks/categories.html.twig" %}
{% endif %}
</div>
{# display des champ post modification des expériences (voir la différence en prod et dans les maquettes figma) #}
<div class="{% if content.header_img is defined and content.header_img is not empty %}main-title{% else %}small-main-title{% endif %} mt-40px mb-40pxaic frame-overflow mb-2em">
<div class="jcc dflex frame-container-print">
{% if content.header_img is defined and content.header_img is not empty %}
<img loading="lazy" src="{{ content.header_img.formats['1000x.webp'] }}" srcset="{{ content.header_img.formats['300x.webp'] }} 300w, {{ content.header_img.formats['600x.webp'] }} 600w, {{ content.header_img.formats['1000x.webp'] }} 1000w" sizes="1000px" width="{{ content.header_img.fileVersion.properties.width }}" height="{{ content.header_img.fileVersion.properties.height }}" style="z-index: -1;">
{% endif %}
<div class="frame-wrap-container dflex jcse aic mt-2p5em mb-3p5em">
<div class="first-frame p-244024 ml-2per fdc aic">
<h2 class="frame-title-territoire-custom corange wd100 lh28 fs20 fw500 dflex tac">Carte d'identité</h2>
<div class="text-flex fw400 fs16 lh24">
<div class="framed experience">
{% if content.sub_thematiques is defined and content.sub_thematiques is not empty %}
{% include "articles/blocks/show-simple-text-field.html.twig" with {title: "Sous-thématiques :", content: content.sub_thematiques} %}
{% endif %}
{% if content.structure is defined and content.structure is not empty %}
{% include "articles/blocks/show-simple-text-field.html.twig" with {title: "Structure porteuse :", content: content.structure} %}
{% endif %}
{% if content.status_juridique is defined and content.status_juridique is not empty %}
{% include "articles/blocks/show-simple-text-field.html.twig" with {title: "Statut juridique : ", content: content.status_juridique} %}
{% endif %}
{% if content.influence is defined and content.influence is not empty %}
{% include "articles/blocks/show-multiple-select-field.html.twig" with {title: "Aire d'influence :", content: content.influence} %}
{% endif %}
{% if content.date_start is defined and content.date_start is not empty %}
{% include "articles/blocks/show-date-field.html.twig" with {title: "Date de lancement :", content: content.date_start} %}
{% endif %}
{% if content.status is defined and content.status is not empty %}
{% include "articles/blocks/show-simple-text-field.html.twig" with {title: "État d'achèvement :", content: content.status} %}
{% endif %}
{% if content.cost is defined and content.cost is not empty %}
{% include "articles/blocks/show-cost-field.html.twig" with {title: "Coût du projet :", content: content.cost} %}
{% endif %}
</div>
</div>
</div>
<div class="middle-frame p-244024 fdc aic">
<h2 class="frame-title-territoire-custom corange wd100 lh28 fs20 fw500 dflex tac">La démarche en bref</h2>
<div class="text-flex fw400 fs16 lh24">
<div class="framed experience">
{% include "articles/blocks/show-simple-text-field.html.twig" with {classCSS: " mb-1em", content: content.desc} %}
{% include "articles/blocks/show-contact-info.html.twig" with {
title: "Contact",
content_adresse: content.adresse,
content_phone: content.phone,
content_email: content.email,
content_link: content.link_to_resource,
content_other_file: content.other_file,
content_other_link: content.other_link
} %}
</div>
</div>
</div>
<div class="last-frame p-244024 mr-2per fdc aic">
<h2 class="frame-title-territoire-custom corange wd100 lh28 fs20 fw500 dflex tac">Acteurs</h2>
<div class="text-flex fw400 fs16 lh24">
<div class="framed experience">
{% if content.cible is defined and content.cible is not empty %}
{% include "articles/blocks/show-public-cible.html.twig" with {title: "Public cible :", content: content.cible} %}
{% endif %}
{% if content.cible is defined and content.cible is not empty and content.cible|length > 0 and "Autre" in content.cible %}
{% include "articles/blocks/show-simple-text-field.html.twig" with {title: "Autre public cible :", content: content.cible_autre} %}
{% endif %}
{% if content.partenaires_techniques is defined and content.partenaires_techniques is not empty %}
{% include "articles/blocks/show-simple-text-field.html.twig" with {title: "Partenaires techniques :", content: content.partenaires_techniques} %}
{% endif %}
{% if content.partenaires_financiers is defined and content.partenaires_financiers is not empty %}
{% include "articles/blocks/show-simple-text-field.html.twig" with {title: "Partenaires financiers :", content: content.partenaires_financiers} %}
{% endif %}
{% if content.personne_rsc is defined and content.personne_rsc is not empty %}
{% include "articles/blocks/show-simple-text-field.html.twig" with {title: "Personne ressource :", content: content.personne_rsc} %}
{% endif %}
{% if content.compo_equipe is defined and content.compo_equipe is not empty %}
{% include "articles/blocks/show-simple-text-field.html.twig" with {title: "Composition de l'équipe rattachée au projet (élus, équipe technique, etc.) :", content: content.compo_equipe} %}
{% endif %}
</div>
</div>
</div>
</div>
</div>
<div class="background-color-orange"></div>
</div>
{% if (content.contexte is defined and content.contexte is not empty) or (content.objectif is defined and content.objectif is not empty) %}
<div class="{% if content.header_img is defined and content.header_img is not empty %}main-title{% else %}small-main-title{% endif %} br8 mt-40px mb-40px aic frame-overflow">
<div class="jcc dflex solution-container-print">
<div class="frame-flex-container w100 dflex jcse mt-2p5em mb-3p5em p-1em">
{% if content.contexte is defined and content.contexte is not empty %}
<div class="frame-pics p-2440 fdc aic br6">
<h2 class="frame-title corange wd100 lh28 fs20 fw500 dflex tac">Contexte</h2>
<div class="text-flex fw400 fs16 lh24 framed">{{ content.contexte|raw }}</div>
</div>
{% endif %}
{% if content.objectif is defined and content.objectif %}
<div class="frame-pics p-2440 fdc aic br6">
<h2 class="frame-title corange wd100 lh28 fs20 fw500 dflex tac">Objectifs</h2>
<div class="text-flex fw400 fs16 lh24 framed">{{ content.objectif|raw }}</div>
</div>
{% endif %}
</div>
</div>
<div class="background-color-orange"></div>
</div>
{% endif %}
{% if content.mise_oeuvre is defined and content.mise_oeuvre is not empty %}
<section class="mb-1em">
<h3 class="fw600">Mise en œuvre des actions</h3>
{% include "articles/blocks/show-simple-text-field.html.twig" with {content: content.mise_oeuvre} %}
</section>
{% endif %}
{% if content.resultats is defined and content.resultats is not empty %}
<section class="mb-1em">
<h3 class="fw600">Résultats</h3>
{% include "articles/blocks/show-simple-text-field.html.twig" with {content: content.resultats} %}
</section>
{% endif %}
{% if (content.facteurs_reussite is defined and content.facteurs_reussite is not empty) or (content.freins is defined and content.freins is not empty) %}
<div class="{% if content.header_img is defined and content.header_img is not empty %}main-title{% else %}small-main-title{% endif %} br8 mt-40px mb-40px aic frame-overflow">
<div class="jcc dflex solution-container-print">
<div class="frame-flex-container w100 dflex jcse mt-2p5em mb-3p5em p-1em">
{% if content.facteurs_reussite is defined and content.facteurs_reussite is not empty %}
<div class="frame-pics p-2440 fdc aic br6">
<h2 class="frame-title corange wd100 lh28 fs20 fw500 dflex tac">Facteurs de réussite</h2>
<div class="text-flex fw400 fs16 lh24 framed">{{ content.facteurs_reussite|raw }}</div>
</div>
{% endif %}
{% if content.freins is defined and content.freins %}
<div class="frame-pics p-2440 fdc aic br6">
<h2 class="frame-title corange wd100 lh28 fs20 fw500 dflex tac">Freins</h2>
<div class="text-flex fw400 fs16 lh24 framed">{{ content.freins|raw }}</div>
</div>
{% endif %}
</div>
</div>
<div class="background-color-orange"></div>
</div>
{% endif %}
{% if content.enseignements is defined and content.enseignements is not empty %}
<section class="mb-1em">
<h3 class="fw600 mb-0p5em">Enseignements</h3>
{% include "articles/blocks/show-simple-text-field.html.twig" with {content: content.enseignements} %}
</section>
{% endif %}
{% if content.perspectives is defined and content.perspectives is not empty %}
<section class="mb-1em">
<h3 class="fw600 mb-0p5em">Perspectives</h3>
{% include "articles/blocks/show-simple-text-field.html.twig" with {content: content.perspectives} %}
</section>
{% endif %}
{% if content.author_name is defined and content.author_name is not empty %}
<div class="mt-20px mb-20px">
<div class="blue-frame">
<div class="diblock cwhite">
<div class="text fw400 fs16 lh24">
Contenu rédigé par :
{{ content.author_name -}}
</div>
</div>
</div>
</div>
{% endif %}
{% endif %}
{# fin de la nouvelle apparence des expériences #}
{% if content.adresse is defined and content.adresse is not empty %}
{% set map = content.adresse %}
{% set display_map = true %}
{% endif %}
{% if content.main_content is defined and content.main_content is not empty and content.main_content|length > 0 %}
{% for data in content.main_content %}
{% if data.type =="text" %}
{% include "articles-blocks/freetext.html.twig" %}
{% endif %}
{% if data.type == "triple_frame" %}
{% include "articles-blocks/triple-frame-block.html.twig" %}
{% endif %}
{% if data.type == "text_pic" %}
{% include "blocks/text-pic.html.twig" with {block: data} %}
{% endif %}
{% if data.type == "citation" %}
{% include "articles-blocks/citation.html.twig" %}
{% endif %}
{% if data.type == "solution_frame" %}
{% include "blocks/block-picbkg-frame.html.twig" with {block: data} %}
{% endif %}
{% if data.type == "block_wrap" %}
{% include "articles-blocks/block-wrap.html.twig" %}
{% endif %}
{% if data.type == "block_blue_back" %}
{% include "articles-blocks/block-blue-background.html.twig" %}
{% endif %}
{% if data.type == "youtube" %}
{% set embed_link = data.video_link|replace({'watch?v=' : 'embed/'}) %}
{% set embed_link_splitted = embed_link|split('/') %}
{% set videoID = embed_link_splitted|last %}
{# <div class="youtube_player" videoid="{{ videoID }}" width="560" height="315" theme="theme light" rel="rel 1" controls="controls 1" showinfo="showinfo 1 " autoplay="autoplay 0" mute="mute 1" loop="loop 0" loading="loading 0"></div> TAC #}
<div class="video-responsive mt-1em">
<lite-youtube videoid="{{ videoID }}" class="br8" params="controls=1&start={{ data.timestamp }}&modestbranding=2&rel=0&enablejsapi=1"></lite-youtube>
</div>
{% endif %}
{% if data.type == 'file' %}
{% set block = data %}
{% include "blocks/file.html.twig" %}
{% endif %}
{% endfor %}
{% endif %}
{% if display_map is defined and display_map is not empty %}
<div class="map-cont">
{% include "articles-blocks/simple-map.html.twig" %}
</div>
{% endif %}
{% if content.main_content is defined and content.main_content is not empty and content.main_content|length > 0 %}
{% for data in content.main_content %}
{% if data.type == "linked_with" %}
{% include "articles-blocks/linked-with.html.twig" %}
{% endif %}
{% if data.type == "see_more" %}
{% include "articles-blocks/see-more.html.twig" %}
{% endif %}
{% endfor %}
{% endif %}
</article>
</div>
{% endblock %}
{% block javascripts %}
{% if content.adresse is defined and content.adresse is not empty %}
{{ encore_entry_script_tags('map') }}
{% endif %}
{% if content.main_content|length > 0 %}
{% for content in content.main_content %}
{% if content.type == "youtube" %}
{{ encore_entry_script_tags('youtube_defer') }}
{{ encore_entry_script_tags('lite-youtube') }}
{% endif %}
{% endfor %}
{% endif %}
{% include "articles/javascripts/base-article-js.html.twig" %}
{{ parent() }}
{% endblock %}