Qdonnars Cursor commited on
Commit
ce88bcc
·
1 Parent(s): 02097e9

Tableau de bord COP Régionales — 4 régions, 42 KPIs

Browse files

- Site statique DSFR comparant les KPIs des COP régionales
- 4 régions : Grand Est, Occitanie, AURA, Normandie
- 42 KPIs sur 9 thématiques avec liens sources (pages PDF)
- Normandie extraite via Mistral OCR (PDF images)
- Filtrage par thématique, recherche, toggle comparables
- Export Excel inclus + PDFs sources

Co-authored-by: Cursor <cursoragent@cursor.com>

.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.pdf filter=lfs diff=lfs merge=lfs -text
37
+ *.xlsx filter=lfs diff=lfs merge=lfs -text
KPIs_COP_Regionales.xlsx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eeda69f08f5116eaab806e24f45b2abcf6bb41cc366be26a56a0235b094c7af5
3
+ size 11390
README.md CHANGED
@@ -1,11 +1,41 @@
1
  ---
2
  title: COP Comparator
3
- emoji: 🌖
4
- colorFrom: pink
5
- colorTo: blue
6
  sdk: static
7
  pinned: false
8
- short_description: Comparaisons des COP territoriales
9
  ---
10
 
11
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  title: COP Comparator
3
+ emoji: 🌿
4
+ colorFrom: blue
5
+ colorTo: green
6
  sdk: static
7
  pinned: false
8
+ short_description: Comparaison des KPIs des COP régionales de planification écologique
9
  ---
10
 
11
+ # COP Comparator — Tableau de bord des COP Régionales
12
+
13
+ Outil de comparaison des **KPIs de planification écologique** extraits des feuilles de route COP de 4 régions françaises :
14
+
15
+ | Région | Document | Pages |
16
+ |--------|----------|-------|
17
+ | **Grand Est** | [Feuille de route 2024-2025](https://www.prefectures-regions.gouv.fr/grand-est/grand-est/irecontenu/telechargement/120569/895203/file/20240927_Grand_Est_Planification_ecologique_feuille_de_route.pdf) | 71 |
18
+ | **Occitanie** | [Feuille de route COP](https://www.prefectures-regions.gouv.fr/occitanie/irecontenu/telechargement/123908/917834/file/feuille_de_route_cop.pdf) | 116 |
19
+ | **Auvergne-Rhône-Alpes** | [Feuille de route 2024-2030](https://www.prefectures-regions.gouv.fr/content/download/133679/980081/version/1/file/COP-AURA_202512-feuilleroute+COP+regional.pdf) | 198 |
20
+ | **Normandie** | [Feuille de route 2025-2030](https://www.prefectures-regions.gouv.fr/normandie/irecontenu/telechargement/122983/912028/file/COP%20Normandie_FDR%20vf.pdf) | 31 |
21
+
22
+ ## Fonctionnalités
23
+
24
+ - **42 KPIs** comparés sur 9 thématiques (transports, bâtiment, énergie, industrie, biodiversité, agriculture, déchets, santé, emploi)
25
+ - **Liens sources** avec numéros de pages cliquables vers les PDFs originaux
26
+ - **Filtrage** par thématique, recherche textuelle, et affichage des seuls KPIs comparables
27
+ - **Design DSFR** (Design Système de l'État Français)
28
+ - **Export Excel** disponible (`KPIs_COP_Regionales.xlsx`)
29
+
30
+ ## Méthodologie
31
+
32
+ - Extraction textuelle via `pdfplumber` (Grand Est, Occitanie, AURA)
33
+ - OCR via **Mistral OCR** (`mistral-ocr-latest`) pour Normandie (PDF basé sur images)
34
+ - Les PDFs sources sont disponibles dans le dossier `pdfs/`
35
+
36
+ ## Fichiers
37
+
38
+ - `index.html`, `style.css`, `data.js`, `app.js` — Site web statique
39
+ - `KPIs_COP_Regionales.xlsx` — Export Excel des KPIs
40
+ - `generate_excel.py` — Script de génération de l'Excel
41
+ - `pdfs/` — Feuilles de route COP originales (4 PDFs)
app.js ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Application de comparaison des KPIs COP régionales
3
+ */
4
+
5
+ // ============================================================
6
+ // Initialisation
7
+ // ============================================================
8
+ document.addEventListener("DOMContentLoaded", () => {
9
+ renderTiles();
10
+ renderTable();
11
+ });
12
+
13
+ // ============================================================
14
+ // Tuiles de synthèse
15
+ // ============================================================
16
+ function renderTiles() {
17
+ const container = document.getElementById("tiles-container");
18
+ container.innerHTML = "";
19
+
20
+ for (const [catName, catInfo] of Object.entries(CATEGORIES)) {
21
+ const catKpis = KPI_DATA.filter(k => k.categorie === catName);
22
+ const comparableCount = catKpis.filter(k => k.comparable).length;
23
+ const total = catKpis.length;
24
+ const pct = total > 0 ? Math.round((comparableCount / total) * 100) : 0;
25
+
26
+ const col = document.createElement("div");
27
+ col.className = "fr-col-12 fr-col-sm-6 fr-col-md-4 fr-col-lg-3";
28
+
29
+ col.innerHTML = `
30
+ <div class="tile-category" onclick="filterByCategory('${catName}')" tabindex="0"
31
+ role="button" aria-label="Filtrer par ${catName}">
32
+ <div class="tile-category__icon">${catInfo.icon}</div>
33
+ <div class="tile-category__title">${catName}</div>
34
+ <div class="tile-category__count">
35
+ ${total} KPI${total > 1 ? 's' : ''} —
36
+ <strong>${comparableCount}</strong> comparable${comparableCount > 1 ? 's' : ''}
37
+ </div>
38
+ <div class="tile-category__bar">
39
+ <div class="tile-category__bar-fill bar-fill--green" style="width: ${pct}%"></div>
40
+ </div>
41
+ </div>
42
+ `;
43
+
44
+ container.appendChild(col);
45
+ }
46
+ }
47
+
48
+ // ============================================================
49
+ // Tableau de comparaison
50
+ // ============================================================
51
+ function renderTable(filteredData = null) {
52
+ const tbody = document.getElementById("kpi-tbody");
53
+ tbody.innerHTML = "";
54
+
55
+ const data = filteredData || KPI_DATA;
56
+ let currentCategory = "";
57
+
58
+ data.forEach(kpi => {
59
+ // Ligne catégorie
60
+ if (kpi.categorie !== currentCategory) {
61
+ currentCategory = kpi.categorie;
62
+ const catRow = document.createElement("tr");
63
+ catRow.className = "category-row";
64
+ catRow.dataset.category = currentCategory;
65
+
66
+ const catInfo = CATEGORIES[currentCategory] || { icon: "📋" };
67
+ catRow.innerHTML = `
68
+ <td colspan="6" style="border-left: 4px solid ${catInfo.color || '#000091'}">
69
+ ${catInfo.icon} ${currentCategory}
70
+ </td>
71
+ `;
72
+ tbody.appendChild(catRow);
73
+ }
74
+
75
+ // Ligne KPI
76
+ const row = document.createElement("tr");
77
+ row.dataset.category = kpi.categorie;
78
+ row.dataset.comparable = kpi.comparable ? "true" : "false";
79
+
80
+ const comparableTag = getComparableTag(kpi);
81
+
82
+ row.innerHTML = `
83
+ <td class="col-indicateur">
84
+ <strong>${kpi.indicateur}</strong>
85
+ <br><small style="color: #929292">${kpi.unite}</small>
86
+ </td>
87
+ <td class="col-region">${formatValueWithSource(kpi.grand_est, "grand_est", kpi.grand_est_page)}</td>
88
+ <td class="col-region">${formatValueWithSource(kpi.occitanie, "occitanie", kpi.occitanie_page)}</td>
89
+ <td class="col-region">${formatValueWithSource(kpi.aura, "aura", kpi.aura_page)}</td>
90
+ <td class="col-region">${formatValueWithSource(kpi.normandie, "normandie", kpi.normandie_page)}</td>
91
+ <td class="col-comparable">${comparableTag}</td>
92
+ `;
93
+
94
+ tbody.appendChild(row);
95
+ });
96
+
97
+ // Compteur
98
+ updateCounter(data);
99
+ }
100
+
101
+ function formatValueWithSource(val, regionKey, page) {
102
+ if (!val || val === "Non chiffré" || val === "Non chiffré spécifiquement" || val === "Non traité" || val.startsWith("Non traité") || val.startsWith("Non chiffré") || val.startsWith("Non détaillé")) {
103
+ const na = `<span class="value-na">${val || '—'}</span>`;
104
+ return na;
105
+ }
106
+
107
+ // Mettre en avant les chiffres
108
+ let formatted = val.replace(/(\d[\d\s,.×÷%]*(?:\s*(?:ktCO2eq|MtCO2eq|TWh|GWh|MW|MWc|km|ha|%|millions?|milliards?|M€|Mm3))?)/g,
109
+ '<strong>$1</strong>');
110
+
111
+ // Ajouter le lien source avec page
112
+ if (page && SOURCES[regionKey]) {
113
+ const link = `${SOURCES[regionKey].url}#page=${page}`;
114
+ formatted += ` <a href="${link}" target="_blank" rel="noopener" class="source-link" title="Voir page ${page} du PDF ${SOURCES[regionKey].name}">p.${page}</a>`;
115
+ }
116
+
117
+ return formatted;
118
+ }
119
+
120
+ function getComparableTag(kpi) {
121
+ if (kpi.comparable) {
122
+ return `
123
+ <span class="tag-comparable tag-comparable--yes" title="${kpi.comparableNote}">
124
+ ✓ Oui
125
+ </span>
126
+ `;
127
+ }
128
+ // Check if at least 2 regions have data
129
+ const regions = [kpi.grand_est, kpi.occitanie, kpi.aura, kpi.normandie];
130
+ const withData = regions.filter(v => v && !v.startsWith("Non") && !v.includes("N/D")).length;
131
+
132
+ if (withData >= 2) {
133
+ return `
134
+ <span class="tag-comparable tag-comparable--partial" title="${kpi.comparableNote}">
135
+ ~ Partiel
136
+ </span>
137
+ `;
138
+ }
139
+
140
+ return `
141
+ <span class="tag-comparable tag-comparable--no" title="${kpi.comparableNote}">
142
+ — Non
143
+ </span>
144
+ `;
145
+ }
146
+
147
+ // ============================================================
148
+ // Filtrage
149
+ // ============================================================
150
+ function filterTable() {
151
+ const category = document.getElementById("filter-category").value;
152
+ const search = document.getElementById("search-input").value.toLowerCase().trim();
153
+ const onlyComparable = document.getElementById("toggle-comparable").checked;
154
+
155
+ let filtered = KPI_DATA;
156
+
157
+ if (category !== "all") {
158
+ filtered = filtered.filter(k => k.categorie === category);
159
+ }
160
+
161
+ if (search) {
162
+ filtered = filtered.filter(k =>
163
+ k.indicateur.toLowerCase().includes(search) ||
164
+ k.categorie.toLowerCase().includes(search) ||
165
+ k.grand_est.toLowerCase().includes(search) ||
166
+ k.occitanie.toLowerCase().includes(search) ||
167
+ k.aura.toLowerCase().includes(search) ||
168
+ k.normandie.toLowerCase().includes(search) ||
169
+ k.unite.toLowerCase().includes(search)
170
+ );
171
+ }
172
+
173
+ if (onlyComparable) {
174
+ filtered = filtered.filter(k => k.comparable);
175
+ }
176
+
177
+ renderTable(filtered);
178
+ }
179
+
180
+ function filterByCategory(catName) {
181
+ const select = document.getElementById("filter-category");
182
+ if (select.value === catName) {
183
+ select.value = "all";
184
+ } else {
185
+ select.value = catName;
186
+ }
187
+ filterTable();
188
+
189
+ // Scroll to table
190
+ document.getElementById("comparaison").scrollIntoView({ behavior: "smooth" });
191
+ }
192
+
193
+ // ============================================================
194
+ // Compteur de résultats
195
+ // ============================================================
196
+ function updateCounter(data) {
197
+ const tableTitle = document.querySelector("#comparaison h2");
198
+ const total = data.length;
199
+ const comparable = data.filter(k => k.comparable).length;
200
+ tableTitle.innerHTML = `Comparaison détaillée des KPIs <span style="font-size: 0.875rem; font-weight: 400; color: #666">(${total} KPI${total > 1 ? 's' : ''}, dont ${comparable} comparable${comparable > 1 ? 's' : ''})</span>`;
201
+ }
data.js ADDED
@@ -0,0 +1,706 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Données KPIs extraites des feuilles de route COP régionales
3
+ * Grand Est, Occitanie, Auvergne-Rhône-Alpes, Normandie
4
+ */
5
+
6
+ // ============================================================
7
+ // URLs des documents sources
8
+ // ============================================================
9
+ const SOURCES = {
10
+ grand_est: {
11
+ name: "Grand Est",
12
+ url: "https://www.prefectures-regions.gouv.fr/grand-est/grand-est/irecontenu/telechargement/120569/895203/file/20240927_Grand_Est_Planification_ecologique_feuille_de_route.pdf",
13
+ pages: 71,
14
+ label: "Feuille de route 2024-2025 — 18 engagements, 80 actions"
15
+ },
16
+ occitanie: {
17
+ name: "Occitanie",
18
+ url: "https://www.prefectures-regions.gouv.fr/occitanie/irecontenu/telechargement/123908/917834/file/feuille_de_route_cop.pdf",
19
+ pages: 116,
20
+ label: "Feuille de route COP — 69 objectifs régionaux, 91 actions"
21
+ },
22
+ aura: {
23
+ name: "Auvergne-Rhône-Alpes",
24
+ url: "https://www.prefectures-regions.gouv.fr/content/download/133679/980081/version/1/file/COP-AURA_202512-feuilleroute+COP+regional.pdf",
25
+ pages: 198,
26
+ label: "Feuille de route 2024-2030 — 26 défis, ~100 actions"
27
+ },
28
+ normandie: {
29
+ name: "Normandie",
30
+ url: "https://www.prefectures-regions.gouv.fr/normandie/irecontenu/telechargement/122983/912028/file/COP%20Normandie_FDR%20vf.pdf",
31
+ pages: 31,
32
+ label: "Feuille de route 2025-2030 — ~250 actions dont ~50 en 2025"
33
+ }
34
+ };
35
+
36
+ /** Helper: generate PDF page link */
37
+ function pdfPageLink(regionKey, page) {
38
+ const src = SOURCES[regionKey];
39
+ if (!src || !page) return "";
40
+ return `${src.url}#page=${page}`;
41
+ }
42
+
43
+ const CATEGORIES = {
44
+ "Transports & Mobilités": { icon: "🚲", color: "#000091" },
45
+ "Bâtiment : Résidentiel & Tertiaire": { icon: "🏠", color: "#CE614A" },
46
+ "Énergie & Économie circulaire": { icon: "⚡", color: "#009081" },
47
+ "Industrie & Emploi": { icon: "🏭", color: "#A558A0" },
48
+ "Biodiversité, Eau & Sols": { icon: "🌿", color: "#18753C" },
49
+ "Agriculture, Forêt & Alimentation": { icon: "🌾", color: "#716043" },
50
+ "Déchets": { icon: "♻️", color: "#E4794A" },
51
+ "Santé, Sport & Culture": { icon: "🏥", color: "#C08C36" },
52
+ "Emploi & Formation": { icon: "🎓", color: "#5770BE" },
53
+ };
54
+
55
+ // ============================================================
56
+ // KPI DATA — chaque entrée inclut les pages sources
57
+ // ============================================================
58
+ const KPI_DATA = [
59
+ // ====================== TRANSPORTS & MOBILITÉS ======================
60
+ {
61
+ categorie: "Transports & Mobilités",
62
+ indicateur: "Réduction émissions GES transports",
63
+ unite: "ktCO2eq",
64
+ grand_est: "25% des leviers régionaux",
65
+ grand_est_page: 16,
66
+ occitanie: "-4 967 ktCO2eq d'ici 2030 vs 2019",
67
+ occitanie_page: 21,
68
+ aura: "-30% émissions (14,3 MtCO2eq en 2022)",
69
+ aura_page: 15,
70
+ normandie: "6% de l'effort national GES, enjeux forts transport",
71
+ normandie_page: 3,
72
+ comparable: true,
73
+ comparableNote: "Objectif de réduction chiffré dans les 3 régions (Normandie : qualitatif)"
74
+ },
75
+ {
76
+ categorie: "Transports & Mobilités",
77
+ indicateur: "Usage du vélo / mobilité active",
78
+ unite: "% déplacements",
79
+ grand_est: "Non chiffré spécifiquement",
80
+ grand_est_page: 17,
81
+ occitanie: "×4 usage vélo → 12% des déplacements d'ici 2030",
82
+ occitanie_page: 22,
83
+ aura: "Développer mobilité active (pas de cible vélo seul)",
84
+ aura_page: 15,
85
+ normandie: "Voiries cyclables + schéma directeur vélo + schéma régional tourisme à vélo",
86
+ normandie_page: 8,
87
+ comparable: false,
88
+ comparableNote: "Seule l'Occitanie a un objectif chiffré ; Normandie a des actions concrètes"
89
+ },
90
+ {
91
+ categorie: "Transports & Mobilités",
92
+ indicateur: "Aménagements cyclables",
93
+ unite: "km",
94
+ grand_est: "Non chiffré",
95
+ grand_est_page: 17,
96
+ occitanie: "7 499 km sécurisés d'ici 2026",
97
+ occitanie_page: 22,
98
+ aura: "Non chiffré spécifiquement",
99
+ aura_page: 15,
100
+ normandie: "Schéma directeur vélo et schéma régional tourisme à vélo (non chiffré)",
101
+ normandie_page: 8,
102
+ comparable: false,
103
+ comparableNote: "Seule l'Occitanie a un objectif chiffré"
104
+ },
105
+ {
106
+ categorie: "Transports & Mobilités",
107
+ indicateur: "Véhicules électriques",
108
+ unite: "multiplicateur / %",
109
+ grand_est: "1/6 des véhicules en circulation (~460 000 VE)",
110
+ grand_est_page: 16,
111
+ occitanie: "×14 le nombre de VE entre 2021 et 2030",
112
+ occitanie_page: 26,
113
+ aura: "15% de VE légers en 2030",
114
+ aura_page: 15,
115
+ normandie: "Décarboner les flottes de tous les employeurs (collectivités, entreprises)",
116
+ normandie_page: 8,
117
+ comparable: true,
118
+ comparableNote: "Objectif chiffré dans 3 régions ; Normandie qualitatif"
119
+ },
120
+ {
121
+ categorie: "Transports & Mobilités",
122
+ indicateur: "Points de recharge VE",
123
+ unite: "nombre",
124
+ grand_est: "100% territoire maillé",
125
+ grand_est_page: 13,
126
+ occitanie: "17 701 points de recharge d'ici 2026",
127
+ occitanie_page: 26,
128
+ aura: "Non chiffré spécifiquement",
129
+ aura_page: 15,
130
+ normandie: "Développer infrastructure de recharge (électrique, H2, BioGNV)",
131
+ normandie_page: 9,
132
+ comparable: false,
133
+ comparableNote: "Occitanie seule avec chiffre absolu"
134
+ },
135
+ {
136
+ categorie: "Transports & Mobilités",
137
+ indicateur: "Report modal fret (rail & fleuve)",
138
+ unite: "%",
139
+ grand_est: "25% de report modal fret",
140
+ grand_est_page: 16,
141
+ occitanie: "×2 part modale ferroviaire ; +50% fluvial",
142
+ occitanie_page: 107,
143
+ aura: "-10% transport routier de marchandises",
144
+ aura_page: 15,
145
+ normandie: "Multimodalité : ferroutage, modernisation réseau ferroviaire et fluvial",
146
+ normandie_page: 8,
147
+ comparable: true,
148
+ comparableNote: "Ambition présente dans les 4 régions"
149
+ },
150
+ {
151
+ categorie: "Transports & Mobilités",
152
+ indicateur: "Bus et cars décarbonés",
153
+ unite: "% ou nombre",
154
+ grand_est: "~900 bus/cars décarbonés en 2030",
155
+ grand_est_page: 16,
156
+ occitanie: "15% de la flotte décarbonée en 2030",
157
+ occitanie_page: 107,
158
+ aura: "Non chiffré spécifiquement",
159
+ aura_page: 15,
160
+ normandie: "Décarboner flottes de bus et cars (Bio GNV, H2...)",
161
+ normandie_page: 8,
162
+ comparable: false,
163
+ comparableNote: "Grand Est et Occitanie chiffrés ; Normandie qualitatif"
164
+ },
165
+ {
166
+ categorie: "Transports & Mobilités",
167
+ indicateur: "Réduction usage voiture individuelle",
168
+ unite: "%",
169
+ grand_est: "-5% consommation au 100 des thermiques",
170
+ grand_est_page: 16,
171
+ occitanie: "-4% distance/voiture/an (2019-2030)",
172
+ occitanie_page: 107,
173
+ aura: "-15% d'utilisation voiture ; -10% déplacements",
174
+ aura_page: 15,
175
+ normandie: "Covoiturage + réduction déplacements domicile-travail + télétravail",
176
+ normandie_page: 8,
177
+ comparable: true,
178
+ comparableNote: "Objectif de réduction dans les 4 régions"
179
+ },
180
+
181
+ // ====================== BÂTIMENT ======================
182
+ {
183
+ categorie: "Bâtiment : Résidentiel & Tertiaire",
184
+ indicateur: "Réduction conso énergétique résidentiel",
185
+ unite: "% vs 2019",
186
+ grand_est: "-15%",
187
+ grand_est_page: 18,
188
+ occitanie: "-15% vs 2019",
189
+ occitanie_page: 31,
190
+ aura: "-15% vs 2019",
191
+ aura_page: 16,
192
+ normandie: "Mobilisation SPRH + rénovations performantes (non chiffré %)",
193
+ normandie_page: 10,
194
+ comparable: true,
195
+ comparableNote: "Identique dans 3 régions : -15% vs 2019"
196
+ },
197
+ {
198
+ categorie: "Bâtiment : Résidentiel & Tertiaire",
199
+ indicateur: "Réduction conso énergétique tertiaire",
200
+ unite: "% vs réf.",
201
+ grand_est: "-33%",
202
+ grand_est_page: 18,
203
+ occitanie: "-40% vs 2010 (décret tertiaire)",
204
+ occitanie_page: 31,
205
+ aura: "-30% vs 2019",
206
+ aura_page: 16,
207
+ normandie: "Promouvoir plate-forme OPERAT + sobriété énergétique tertiaire public",
208
+ normandie_page: 10,
209
+ comparable: true,
210
+ comparableNote: "Chiffré dans 3 régions ; Normandie qualitatif"
211
+ },
212
+ {
213
+ categorie: "Bâtiment : Résidentiel & Tertiaire",
214
+ indicateur: "Passoires thermiques (F et G)",
215
+ unite: "% ou logements/an",
216
+ grand_est: "Non chiffré spécifiquement",
217
+ grand_est_page: 18,
218
+ occitanie: "-60% passoires vs 2021 (178 000 RP)",
219
+ occitanie_page: 31,
220
+ aura: "80 000 logements rénovés par an",
221
+ aura_page: 16,
222
+ normandie: "Contractualisation SPRH ANAH + soutien rénovations performantes",
223
+ normandie_page: 10,
224
+ comparable: false,
225
+ comparableNote: "Occitanie et AURA chiffrés mais métriques différentes"
226
+ },
227
+ {
228
+ categorie: "Bâtiment : Résidentiel & Tertiaire",
229
+ indicateur: "Remplacement chaudières fioul",
230
+ unite: "% vs 2019",
231
+ grand_est: "÷4 résidences avec chaudière fioul",
232
+ grand_est_page: 18,
233
+ occitanie: "-75% des chaudières fioul résidentiel",
234
+ occitanie_page: 108,
235
+ aura: "Non chiffré spécifiquement",
236
+ aura_page: 16,
237
+ normandie: "Inciter au recours à des énergies décarbonées",
238
+ normandie_page: 11,
239
+ comparable: true,
240
+ comparableNote: "Grand Est (÷4 ≈ -75%) et Occitanie (-75%) convergent"
241
+ },
242
+ {
243
+ categorie: "Bâtiment : Résidentiel & Tertiaire",
244
+ indicateur: "Remplacement chaudières gaz",
245
+ unite: "% vs 2019",
246
+ grand_est: "-25% résidences avec chaudière gaz",
247
+ grand_est_page: 18,
248
+ occitanie: "-20% chaudières gaz résidentiel",
249
+ occitanie_page: 108,
250
+ aura: "Non chiffré (gaz = 60% émissions bât.)",
251
+ aura_page: 16,
252
+ normandie: "Non chiffré",
253
+ normandie_page: null,
254
+ comparable: true,
255
+ comparableNote: "Grand Est (-25%) et Occitanie (-20%) proches"
256
+ },
257
+ {
258
+ categorie: "Bâtiment : Résidentiel & Tertiaire",
259
+ indicateur: "Matériaux biosourcés / réemploi",
260
+ unite: "qualitatif",
261
+ grand_est: "Faciliter réutilisation et innovation matériaux construction",
262
+ grand_est_page: 19,
263
+ occitanie: "Non détaillé",
264
+ occitanie_page: null,
265
+ aura: "Construire et rénover avec exemplarité",
266
+ aura_page: 16,
267
+ normandie: "Stratégie régionale matériaux bas carbone + filières écoconstruction",
268
+ normandie_page: 11,
269
+ comparable: false,
270
+ comparableNote: "Actions qualitatives dans 3 régions"
271
+ },
272
+
273
+ // ====================== ÉNERGIE ======================
274
+ {
275
+ categorie: "Énergie & Économie circulaire",
276
+ indicateur: "Production ENR - Éolien terrestre",
277
+ unite: "TWh",
278
+ grand_est: "2ᵉ région éolienne (non chiffré)",
279
+ grand_est_page: 22,
280
+ occitanie: "×2,5 (3,2 → 7,9 TWh) d'ici 2031",
281
+ occitanie_page: 108,
282
+ aura: "+50% élec. renouvelable d'ici 2030",
283
+ aura_page: 18,
284
+ normandie: "Faire aboutir zones d'accélération EnR",
285
+ normandie_page: 15,
286
+ comparable: false,
287
+ comparableNote: "Seule l'Occitanie a un objectif éolien spécifique"
288
+ },
289
+ {
290
+ categorie: "Énergie & Économie circulaire",
291
+ indicateur: "Production ENR - Photovoltaïque",
292
+ unite: "TWh / MW",
293
+ grand_est: "Non chiffré",
294
+ grand_est_page: 22,
295
+ occitanie: "×2 PV (4,1 → 9 TWh/an) ; 7 000 MW en 2030",
296
+ occitanie_page: 108,
297
+ aura: "Inclus dans +50% élec. renouvelable",
298
+ aura_page: 18,
299
+ normandie: "Structurer filière PV en Normandie + autoconsommation",
300
+ normandie_page: 16,
301
+ comparable: false,
302
+ comparableNote: "Seule l'Occitanie a un objectif PV spécifique"
303
+ },
304
+ {
305
+ categorie: "Énergie & Économie circulaire",
306
+ indicateur: "Production biogaz / biométhane",
307
+ unite: "multiplicateur",
308
+ grand_est: "Non chiffré",
309
+ grand_est_page: 22,
310
+ occitanie: "×10 (0,3 → 3 TWh/an) d'ici 2031",
311
+ occitanie_page: 108,
312
+ aura: "Non chiffré",
313
+ aura_page: 18,
314
+ normandie: "Pérenniser programme Métha'Normandie + élargir aux gaz verts",
315
+ normandie_page: 16,
316
+ comparable: false,
317
+ comparableNote: "Seule l'Occitanie a un objectif chiffré biogaz"
318
+ },
319
+ {
320
+ categorie: "Énergie & Économie circulaire",
321
+ indicateur: "Chaleur renouvelable",
322
+ unite: "TWh",
323
+ grand_est: "Synergies collectivités/industriels pour chaleur fatale",
324
+ grand_est_page: 23,
325
+ occitanie: "×2 à ×4 le volume de chaleur livrée",
326
+ occitanie_page: 108,
327
+ aura: ">30 TWh chaleur renouvelable d'ici 2030",
328
+ aura_page: 18,
329
+ normandie: "Privilégier récupération chaleur fatale industrielle",
330
+ normandie_page: 17,
331
+ comparable: false,
332
+ comparableNote: "AURA et Occitanie chiffrés avec métriques différentes"
333
+ },
334
+ {
335
+ categorie: "Énergie & Économie circulaire",
336
+ indicateur: "ENR citoyens / participatifs",
337
+ unite: "nombre",
338
+ grand_est: "500 GWh ; ×3 capacité EnR citoyens",
339
+ grand_est_page: 23,
340
+ occitanie: "100 000 citoyens actionnaires ; 500 projets",
341
+ occitanie_page: 39,
342
+ aura: "Non chiffré",
343
+ aura_page: null,
344
+ normandie: "Mobiliser financements participatifs (ex. Kiwai Normandie)",
345
+ normandie_page: 16,
346
+ comparable: false,
347
+ comparableNote: "Grand Est et Occitanie avec des approches différentes"
348
+ },
349
+
350
+ // ====================== INDUSTRIE ======================
351
+ {
352
+ categorie: "Industrie & Emploi",
353
+ indicateur: "Réduction émissions industrielles",
354
+ unite: "% ou ktCO2eq",
355
+ grand_est: "27% de l'effort régional ; 14/50 sites nationaux",
356
+ grand_est_page: 24,
357
+ occitanie: "-31% (3 446 → 2 390 ktCO2eq)",
358
+ occitanie_page: 108,
359
+ aura: "-40% pour les 90 sites les plus émetteurs",
360
+ aura_page: 17,
361
+ normandie: "Programme ZIBAC-SOCRATE vallée de Seine + PACTE Industrie",
362
+ normandie_page: 15,
363
+ comparable: true,
364
+ comparableNote: "Objectif chiffré dans 3 régions ; Normandie : programme dédié"
365
+ },
366
+ {
367
+ categorie: "Industrie & Emploi",
368
+ indicateur: "Décarbonation gros émetteurs",
369
+ unite: "%",
370
+ grand_est: "14 gros sites accompagnés",
371
+ grand_est_page: 25,
372
+ occitanie: "-40% GES des 70 plus gros émetteurs",
373
+ occitanie_page: 43,
374
+ aura: "-40% GES des 90 sites les plus émetteurs",
375
+ aura_page: 17,
376
+ normandie: "Feuilles de route décarbonation des industriels + gros émetteurs",
377
+ normandie_page: 17,
378
+ comparable: true,
379
+ comparableNote: "Occitanie et AURA convergent : -40%"
380
+ },
381
+ {
382
+ categorie: "Industrie & Emploi",
383
+ indicateur: "Décarbonation PME / industrie diffuse",
384
+ unite: "%",
385
+ grand_est: "Accompagner toutes les entreprises",
386
+ grand_est_page: 25,
387
+ occitanie: "-30% GES du secteur diffus",
388
+ occitanie_page: 46,
389
+ aura: "100% mobilisation TPE/PME/ETI",
390
+ aura_page: 17,
391
+ normandie: "Amplifier sensibilisation PME + dispositifs sobriété/efficacité",
392
+ normandie_page: 17,
393
+ comparable: true,
394
+ comparableNote: "Approches complémentaires dans les 4 régions"
395
+ },
396
+ {
397
+ categorie: "Industrie & Emploi",
398
+ indicateur: "Filière bois - stockage carbone",
399
+ unite: "Mt CO2",
400
+ grand_est: "Non chiffré",
401
+ grand_est_page: null,
402
+ occitanie: "Non chiffré",
403
+ occitanie_page: null,
404
+ aura: "-0,9 Mt CO2 (stockage/substitution bois)",
405
+ aura_page: 17,
406
+ normandie: "Observatoire forêt et ressource bois + produits bois",
407
+ normandie_page: 15,
408
+ comparable: false,
409
+ comparableNote: "Seule AURA a un objectif chiffré"
410
+ },
411
+
412
+ // ====================== BIODIVERSITÉ ======================
413
+ {
414
+ categorie: "Biodiversité, Eau & Sols",
415
+ indicateur: "Réduction prélèvements eau",
416
+ unite: "% vs réf.",
417
+ grand_est: "-10%",
418
+ grand_est_page: 14,
419
+ occitanie: "-10% vs 2022",
420
+ occitanie_page: 109,
421
+ aura: "-10% d'ici 2030",
422
+ aura_page: 14,
423
+ normandie: "Études volumes prélevables + réutilisation eaux non conventionnelles",
424
+ normandie_page: 12,
425
+ comparable: true,
426
+ comparableNote: "Convergence nationale : -10% pour 3 régions"
427
+ },
428
+ {
429
+ categorie: "Biodiversité, Eau & Sols",
430
+ indicateur: "Captages prioritaires",
431
+ unite: "nombre",
432
+ grand_est: "181 captages (200 pour eau potable)",
433
+ grand_est_page: 14,
434
+ occitanie: "107 captages prioritaires (SDAGE)",
435
+ occitanie_page: 110,
436
+ aura: "Non chiffré (PGSSE à venir)",
437
+ aura_page: 14,
438
+ normandie: "Non chiffré",
439
+ normandie_page: null,
440
+ comparable: true,
441
+ comparableNote: "Grand Est et Occitanie avec chiffres"
442
+ },
443
+ {
444
+ categorie: "Biodiversité, Eau & Sols",
445
+ indicateur: "Réduction artificialisation (ZAN)",
446
+ unite: "% ou ha",
447
+ grand_est: "÷2 conso ENAF d'ici 2031",
448
+ grand_est_page: 14,
449
+ occitanie: "÷2 (max 14 000 ha sur 2021-2030)",
450
+ occitanie_page: 34,
451
+ aura: "-50% conso ENAF ; 1 000 ha désimperméabilisés",
452
+ aura_page: 14,
453
+ normandie: "Désimperméabilisation + renaturation friches + plans d'action prioritaires",
454
+ normandie_page: 14,
455
+ comparable: true,
456
+ comparableNote: "÷2 dans 3 régions (objectif national ZAN)"
457
+ },
458
+ {
459
+ categorie: "Biodiversité, Eau & Sols",
460
+ indicateur: "Zones humides / tourbières restaurées",
461
+ unite: "ha / opérations",
462
+ grand_est: "10 opérations phares ; 1 000 ha/an",
463
+ grand_est_page: 29,
464
+ occitanie: "Non chiffré pour les ZH",
465
+ occitanie_page: null,
466
+ aura: "Non chiffré",
467
+ aura_page: null,
468
+ normandie: "Programme régional restauration tourbières + observatoire ZH",
469
+ normandie_page: 12,
470
+ comparable: false,
471
+ comparableNote: "Grand Est chiffré ; Normandie programme dédié tourbières"
472
+ },
473
+ {
474
+ categorie: "Biodiversité, Eau & Sols",
475
+ indicateur: "Aires protégées - protection forte",
476
+ unite: "% territoire",
477
+ grand_est: "Non chiffré",
478
+ grand_est_page: null,
479
+ occitanie: "×3 les surfaces en protection forte",
480
+ occitanie_page: 110,
481
+ aura: "4% du territoire (+65 000 ha) d'ici 2030",
482
+ aura_page: 14,
483
+ normandie: "Non chiffré",
484
+ normandie_page: null,
485
+ comparable: false,
486
+ comparableNote: "2 régions avec données"
487
+ },
488
+ {
489
+ categorie: "Biodiversité, Eau & Sols",
490
+ indicateur: "Continuités écologiques - Points noirs",
491
+ unite: "% résorbés",
492
+ grand_est: "100% résorbés d'ici 2030",
493
+ grand_est_page: 30,
494
+ occitanie: "Identifier d'ici 2025, résorber d'ici 2030",
495
+ occitanie_page: 110,
496
+ aura: "100% de résorption d'ici 2030",
497
+ aura_page: 14,
498
+ normandie: "Trajectoire écologique habitats naturels + scénarios restauration",
499
+ normandie_page: 12,
500
+ comparable: true,
501
+ comparableNote: "100% résorption dans 3 régions"
502
+ },
503
+
504
+ // ====================== AGRICULTURE ======================
505
+ {
506
+ categorie: "Agriculture, Forêt & Alimentation",
507
+ indicateur: "Surface en agriculture biologique",
508
+ unite: "% SAU",
509
+ grand_est: "Non chiffré",
510
+ grand_est_page: null,
511
+ occitanie: "25% de SAU bio d'ici 2030 (19% en 2022)",
512
+ occitanie_page: 109,
513
+ aura: "Non traité (COP à venir)",
514
+ aura_page: null,
515
+ normandie: "Structurer/développer filières bio locales",
516
+ normandie_page: 18,
517
+ comparable: false,
518
+ comparableNote: "Seule l'Occitanie a un objectif chiffré"
519
+ },
520
+ {
521
+ categorie: "Agriculture, Forêt & Alimentation",
522
+ indicateur: "Plantation d'arbres",
523
+ unite: "millions d'arbres",
524
+ grand_est: "89 millions d'ici 2026",
525
+ grand_est_page: 20,
526
+ occitanie: "11 millions d'ici 2026",
527
+ occitanie_page: 109,
528
+ aura: "Non chiffré",
529
+ aura_page: null,
530
+ normandie: "Renouvellement peuplements forestiers fragilisés + gestion durable",
531
+ normandie_page: 13,
532
+ comparable: true,
533
+ comparableNote: "Grand Est et Occitanie chiffrés"
534
+ },
535
+ {
536
+ categorie: "Agriculture, Forêt & Alimentation",
537
+ indicateur: "Linéaire de haies / bocage",
538
+ unite: "km",
539
+ grand_est: "+4 000 km de haies vs 2019",
540
+ grand_est_page: 20,
541
+ occitanie: "Non chiffré",
542
+ occitanie_page: null,
543
+ aura: "Non chiffré",
544
+ aura_page: null,
545
+ normandie: "Plans d'actions plantation + maintien bocage à l'échelle EPCI",
546
+ normandie_page: 12,
547
+ comparable: false,
548
+ comparableNote: "Grand Est chiffré ; Normandie fort enjeu bocager (qualitatif)"
549
+ },
550
+ {
551
+ categorie: "Agriculture, Forêt & Alimentation",
552
+ indicateur: "Couverture PAT",
553
+ unite: "% territoire",
554
+ grand_est: "100% ; 31 PAT existants",
555
+ grand_est_page: 20,
556
+ occitanie: "100% ; 63 PAT labellisés",
557
+ occitanie_page: 109,
558
+ aura: "Non traité (COP à venir)",
559
+ aura_page: null,
560
+ normandie: "Non chiffré",
561
+ normandie_page: null,
562
+ comparable: true,
563
+ comparableNote: "Grand Est et Occitanie : 100%"
564
+ },
565
+ {
566
+ categorie: "Agriculture, Forêt & Alimentation",
567
+ indicateur: "Surfaces en légumineuses",
568
+ unite: "ha",
569
+ grand_est: "×2 les surfaces",
570
+ grand_est_page: 20,
571
+ occitanie: "+100 000 ha d'ici 2030",
572
+ occitanie_page: 109,
573
+ aura: "Non traité (COP à venir)",
574
+ aura_page: null,
575
+ normandie: "Solutions pour progresser en légumineuses (alimentation animale et humaine)",
576
+ normandie_page: 18,
577
+ comparable: true,
578
+ comparableNote: "Grand Est et Occitanie chiffrés ; Normandie qualitatif"
579
+ },
580
+ {
581
+ categorie: "Agriculture, Forêt & Alimentation",
582
+ indicateur: "Loi Egalim - Restauration collective",
583
+ unite: "% produits",
584
+ grand_est: "Non chiffré",
585
+ grand_est_page: null,
586
+ occitanie: "50% durables dont 20% bio ; 60% viandes",
587
+ occitanie_page: 109,
588
+ aura: "Non traité (COP à venir)",
589
+ aura_page: null,
590
+ normandie: "Accompagner intégration objectifs Egalim + identifier offre/demande",
591
+ normandie_page: 18,
592
+ comparable: false,
593
+ comparableNote: "Occitanie seule avec objectifs chiffrés Egalim"
594
+ },
595
+
596
+ // ====================== DÉCHETS ======================
597
+ {
598
+ categorie: "Déchets",
599
+ indicateur: "Réduction déchets ménagers (DMA)",
600
+ unite: "kg/hab/an ou %",
601
+ grand_est: "-85 kg/hab/an vs 2019",
602
+ grand_est_page: 22,
603
+ occitanie: "-108 kg/hab vs 2010 (532 kg/hab en 2031)",
604
+ occitanie_page: 108,
605
+ aura: "Zéro enfouissement d'ici 2030",
606
+ aura_page: 19,
607
+ normandie: "Prévention déchets + consommation responsable + arrêt collecte déchets verts PAP",
608
+ normandie_page: 20,
609
+ comparable: true,
610
+ comparableNote: "4 régions avec approches complémentaires"
611
+ },
612
+ {
613
+ categorie: "Déchets",
614
+ indicateur: "Valorisation des déchets",
615
+ unite: "kg/hab/an ou %",
616
+ grand_est: "+68 kg/hab/an valorisés vs 2019",
617
+ grand_est_page: 22,
618
+ occitanie: "57% valorisation matière ; 90% bouteilles plastiques",
619
+ occitanie_page: 108,
620
+ aura: "Développer recyclage et réemploi",
621
+ aura_page: 19,
622
+ normandie: "Valorisation inertes BTP + prétraitement déchets organiques + textiles >60%",
623
+ normandie_page: 20,
624
+ comparable: true,
625
+ comparableNote: "Objectif présent dans les 4 régions"
626
+ },
627
+ {
628
+ categorie: "Déchets",
629
+ indicateur: "Tarification incitative",
630
+ unite: "habitants ou %",
631
+ grand_est: "Non chiffré",
632
+ grand_est_page: null,
633
+ occitanie: "2,1M hab. en tarification incitative d'ici 2031",
634
+ occitanie_page: 108,
635
+ aura: "Non chiffré",
636
+ aura_page: null,
637
+ normandie: "Généraliser la tarification incitative (redevance incitative)",
638
+ normandie_page: 20,
639
+ comparable: false,
640
+ comparableNote: "Occitanie chiffrée ; Normandie action concrète"
641
+ },
642
+
643
+ // ====================== SANTÉ ======================
644
+ {
645
+ categorie: "Santé, Sport & Culture",
646
+ indicateur: "Labellisation E3D des établissements",
647
+ unite: "%",
648
+ grand_est: "100% labellisés E3D",
649
+ grand_est_page: 26,
650
+ occitanie: "Non chiffré",
651
+ occitanie_page: null,
652
+ aura: "Non traité",
653
+ aura_page: null,
654
+ normandie: "Non traité",
655
+ normandie_page: null,
656
+ comparable: false,
657
+ comparableNote: "Seul le Grand Est a un objectif"
658
+ },
659
+ {
660
+ categorie: "Santé, Sport & Culture",
661
+ indicateur: "Décarbonation du secteur santé",
662
+ unite: "% ou qualitatif",
663
+ grand_est: "-40% conso ES et ESMS",
664
+ grand_est_page: 26,
665
+ occitanie: "Non chiffré",
666
+ occitanie_page: null,
667
+ aura: "Non traité",
668
+ aura_page: null,
669
+ normandie: "Feuille de route ARS : mobilité, rénovation, achats, alimentation, eau",
670
+ normandie_page: 27,
671
+ comparable: false,
672
+ comparableNote: "Grand Est chiffré ; Normandie approche transversale santé"
673
+ },
674
+
675
+ // ====================== EMPLOI & FORMATION ======================
676
+ {
677
+ categorie: "Emploi & Formation",
678
+ indicateur: "Professionnels rénovation / BTP",
679
+ unite: "nombre",
680
+ grand_est: "Augmenter le nombre RGE",
681
+ grand_est_page: 25,
682
+ occitanie: "Non chiffré",
683
+ occitanie_page: null,
684
+ aura: "Former +2,8M personnes d'ici 2030 (national)",
685
+ aura_page: 21,
686
+ normandie: "Montée en compétences BTP + rénovateurs BBC + label RGE",
687
+ normandie_page: 10,
688
+ comparable: false,
689
+ comparableNote: "Actions qualitatives convergentes"
690
+ },
691
+ {
692
+ categorie: "Emploi & Formation",
693
+ indicateur: "Accompagnement entreprises transition",
694
+ unite: "nombre",
695
+ grand_est: "Non chiffré",
696
+ grand_est_page: null,
697
+ occitanie: "2 000 entreprises (2025-2027)",
698
+ occitanie_page: 87,
699
+ aura: "100% mobilisation TPE/PME/ETI",
700
+ aura_page: 17,
701
+ normandie: "Identification évolutions métiers + formation professionnelle continue",
702
+ normandie_page: 24,
703
+ comparable: false,
704
+ comparableNote: "Métriques différentes, approches complémentaires"
705
+ },
706
+ ];
generate_excel.py ADDED
@@ -0,0 +1,608 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """
3
+ Extraction des KPIs des feuilles de route COP régionales
4
+ et génération d'un fichier Excel de comparaison.
5
+ Inclut les 4 régions : Grand Est, Occitanie, AURA, Normandie
6
+ avec numéros de pages sources.
7
+ """
8
+
9
+ from openpyxl import Workbook
10
+ from openpyxl.styles import Font, PatternFill, Alignment, Border, Side
11
+ from openpyxl.utils import get_column_letter
12
+
13
+ wb = Workbook()
14
+
15
+ # ============================================================
16
+ # Couleurs & styles gouvernementaux
17
+ # ============================================================
18
+ BLEU_MARIANNE = "000091"
19
+ BLEU_CLAIR = "E3E3FD"
20
+ GRIS_CLAIR = "F5F5F5"
21
+ BLANC = "FFFFFF"
22
+ NOIR = "161616"
23
+
24
+ header_font = Font(name="Marianne", bold=True, color=BLANC, size=11)
25
+ header_fill = PatternFill(start_color=BLEU_MARIANNE, end_color=BLEU_MARIANNE, fill_type="solid")
26
+ category_font = Font(name="Marianne", bold=True, color=BLEU_MARIANNE, size=11)
27
+ category_fill = PatternFill(start_color=BLEU_CLAIR, end_color=BLEU_CLAIR, fill_type="solid")
28
+ normal_font = Font(name="Marianne", size=10, color=NOIR)
29
+ na_font = Font(name="Marianne", size=10, color="929292", italic=True)
30
+ link_font = Font(name="Marianne", size=8, color="000091", italic=True)
31
+ thin_border = Border(
32
+ left=Side(style="thin", color="CCCCCC"),
33
+ right=Side(style="thin", color="CCCCCC"),
34
+ top=Side(style="thin", color="CCCCCC"),
35
+ bottom=Side(style="thin", color="CCCCCC"),
36
+ )
37
+ wrap_alignment = Alignment(wrap_text=True, vertical="top")
38
+
39
+ # ============================================================
40
+ # URLs des documents sources
41
+ # ============================================================
42
+ URLS = {
43
+ "grand_est": "https://www.prefectures-regions.gouv.fr/grand-est/grand-est/irecontenu/telechargement/120569/895203/file/20240927_Grand_Est_Planification_ecologique_feuille_de_route.pdf",
44
+ "occitanie": "https://www.prefectures-regions.gouv.fr/occitanie/irecontenu/telechargement/123908/917834/file/feuille_de_route_cop.pdf",
45
+ "aura": "https://www.prefectures-regions.gouv.fr/content/download/133679/980081/version/1/file/COP-AURA_202512-feuilleroute+COP+regional.pdf",
46
+ "normandie": "https://www.prefectures-regions.gouv.fr/normandie/irecontenu/telechargement/122983/912028/file/COP%20Normandie_FDR%20vf.pdf",
47
+ }
48
+
49
+ # ============================================================
50
+ # Données KPIs extraites des PDFs (avec pages sources)
51
+ # ============================================================
52
+
53
+ kpis = [
54
+ # --- TRANSPORTS & MOBILITÉS ---
55
+ {
56
+ "categorie": "Transports & Mobilités",
57
+ "indicateur": "Réduction émissions GES transports",
58
+ "unite": "ktCO2eq",
59
+ "grand_est": "25% des leviers régionaux",
60
+ "grand_est_page": 16,
61
+ "occitanie": "-4 967 ktCO2eq d'ici 2030 vs 2019",
62
+ "occitanie_page": 21,
63
+ "aura": "-30% émissions (14,3 MtCO2eq en 2022)",
64
+ "aura_page": 15,
65
+ "normandie": "6% de l'effort national GES, enjeux forts transport",
66
+ "normandie_page": 3,
67
+ },
68
+ {
69
+ "categorie": "Transports & Mobilités",
70
+ "indicateur": "Usage du vélo / mobilité active",
71
+ "unite": "% déplacements",
72
+ "grand_est": "Non chiffré spécifiquement",
73
+ "grand_est_page": 17,
74
+ "occitanie": "×4 usage vélo → 12% des déplacements d'ici 2030",
75
+ "occitanie_page": 22,
76
+ "aura": "Développer mobilité active (pas de cible vélo seul)",
77
+ "aura_page": 15,
78
+ "normandie": "Voiries cyclables + schéma directeur vélo + tourisme à vélo",
79
+ "normandie_page": 8,
80
+ },
81
+ {
82
+ "categorie": "Transports & Mobilités",
83
+ "indicateur": "Aménagements cyclables",
84
+ "unite": "km",
85
+ "grand_est": "Non chiffré",
86
+ "grand_est_page": 17,
87
+ "occitanie": "7 499 km sécurisés d'ici 2026",
88
+ "occitanie_page": 22,
89
+ "aura": "Non chiffré spécifiquement",
90
+ "aura_page": 15,
91
+ "normandie": "Schéma directeur vélo (non chiffré)",
92
+ "normandie_page": 8,
93
+ },
94
+ {
95
+ "categorie": "Transports & Mobilités",
96
+ "indicateur": "Véhicules électriques",
97
+ "unite": "multiplicateur / %",
98
+ "grand_est": "1/6 des véhicules (~460 000 VE)",
99
+ "grand_est_page": 16,
100
+ "occitanie": "×14 le nombre de VE (2021-2030)",
101
+ "occitanie_page": 26,
102
+ "aura": "15% de VE légers en 2030",
103
+ "aura_page": 15,
104
+ "normandie": "Décarboner flottes employeurs",
105
+ "normandie_page": 8,
106
+ },
107
+ {
108
+ "categorie": "Transports & Mobilités",
109
+ "indicateur": "Points de recharge VE",
110
+ "unite": "nombre",
111
+ "grand_est": "100% territoire maillé",
112
+ "grand_est_page": 13,
113
+ "occitanie": "17 701 points de recharge d'ici 2026",
114
+ "occitanie_page": 26,
115
+ "aura": "Non chiffré spécifiquement",
116
+ "aura_page": 15,
117
+ "normandie": "Infrastructure recharge (électrique, H2, BioGNV)",
118
+ "normandie_page": 9,
119
+ },
120
+ {
121
+ "categorie": "Transports & Mobilités",
122
+ "indicateur": "Report modal fret (rail & fleuve)",
123
+ "unite": "%",
124
+ "grand_est": "25% de report modal fret",
125
+ "grand_est_page": 16,
126
+ "occitanie": "×2 part ferroviaire ; +50% fluvial",
127
+ "occitanie_page": 107,
128
+ "aura": "-10% transport routier marchandises",
129
+ "aura_page": 15,
130
+ "normandie": "Multimodalité, ferroutage, réseau ferroviaire/fluvial",
131
+ "normandie_page": 8,
132
+ },
133
+ {
134
+ "categorie": "Transports & Mobilités",
135
+ "indicateur": "Bus et cars décarbonés",
136
+ "unite": "% ou nombre",
137
+ "grand_est": "~900 bus/cars décarbonés en 2030",
138
+ "grand_est_page": 16,
139
+ "occitanie": "15% flotte décarbonée en 2030",
140
+ "occitanie_page": 107,
141
+ "aura": "Non chiffré spécifiquement",
142
+ "aura_page": 15,
143
+ "normandie": "Décarboner flottes bus et cars (Bio GNV, H2…)",
144
+ "normandie_page": 8,
145
+ },
146
+ {
147
+ "categorie": "Transports & Mobilités",
148
+ "indicateur": "Réduction usage voiture individuelle",
149
+ "unite": "%",
150
+ "grand_est": "-5% conso au 100 des thermiques",
151
+ "grand_est_page": 16,
152
+ "occitanie": "-4% distance/voiture/an",
153
+ "occitanie_page": 107,
154
+ "aura": "-15% voiture ; -10% déplacements",
155
+ "aura_page": 15,
156
+ "normandie": "Covoiturage + télétravail + réduction dépl. domicile-travail",
157
+ "normandie_page": 8,
158
+ },
159
+ # --- BÂTIMENT ---
160
+ {
161
+ "categorie": "Bâtiment : Résidentiel & Tertiaire",
162
+ "indicateur": "Réduction conso énergétique résidentiel",
163
+ "unite": "% vs 2019",
164
+ "grand_est": "-15%",
165
+ "grand_est_page": 18,
166
+ "occitanie": "-15% vs 2019",
167
+ "occitanie_page": 31,
168
+ "aura": "-15% vs 2019",
169
+ "aura_page": 16,
170
+ "normandie": "Mobilisation SPRH + rénovations performantes",
171
+ "normandie_page": 10,
172
+ },
173
+ {
174
+ "categorie": "Bâtiment : Résidentiel & Tertiaire",
175
+ "indicateur": "Réduction conso énergétique tertiaire",
176
+ "unite": "% vs réf.",
177
+ "grand_est": "-33%",
178
+ "grand_est_page": 18,
179
+ "occitanie": "-40% vs 2010",
180
+ "occitanie_page": 31,
181
+ "aura": "-30% vs 2019",
182
+ "aura_page": 16,
183
+ "normandie": "Plate-forme OPERAT + sobriété tertiaire",
184
+ "normandie_page": 10,
185
+ },
186
+ {
187
+ "categorie": "Bâtiment : Résidentiel & Tertiaire",
188
+ "indicateur": "Passoires thermiques (F et G)",
189
+ "unite": "% ou logements/an",
190
+ "grand_est": "Non chiffré spécifiquement",
191
+ "grand_est_page": 18,
192
+ "occitanie": "-60% passoires vs 2021 (178 000 RP)",
193
+ "occitanie_page": 31,
194
+ "aura": "80 000 logements rénovés/an",
195
+ "aura_page": 16,
196
+ "normandie": "SPRH ANAH + rénovations performantes",
197
+ "normandie_page": 10,
198
+ },
199
+ {
200
+ "categorie": "Bâtiment : Résidentiel & Tertiaire",
201
+ "indicateur": "Remplacement chaudières fioul",
202
+ "unite": "% vs 2019",
203
+ "grand_est": "÷4 résidences avec chaudière fioul",
204
+ "grand_est_page": 18,
205
+ "occitanie": "-75% chaudières fioul résidentiel",
206
+ "occitanie_page": 108,
207
+ "aura": "Non chiffré spécifiquement",
208
+ "aura_page": 16,
209
+ "normandie": "Incitation aux énergies décarbonées",
210
+ "normandie_page": 11,
211
+ },
212
+ {
213
+ "categorie": "Bâtiment : Résidentiel & Tertiaire",
214
+ "indicateur": "Remplacement chaudières gaz",
215
+ "unite": "% vs 2019",
216
+ "grand_est": "-25% résidences chaudière gaz",
217
+ "grand_est_page": 18,
218
+ "occitanie": "-20% chaudières gaz résidentiel",
219
+ "occitanie_page": 108,
220
+ "aura": "Non chiffré (gaz = 60% émissions bât.)",
221
+ "aura_page": 16,
222
+ "normandie": "Non chiffré",
223
+ "normandie_page": None,
224
+ },
225
+ # --- ÉNERGIE ---
226
+ {
227
+ "categorie": "Énergie & Économie circulaire",
228
+ "indicateur": "Production ENR - Éolien terrestre",
229
+ "unite": "TWh",
230
+ "grand_est": "2ᵉ région éolienne (non chiffré)",
231
+ "grand_est_page": 22,
232
+ "occitanie": "×2,5 (3,2 → 7,9 TWh) d'ici 2031",
233
+ "occitanie_page": 108,
234
+ "aura": "+50% élec. renouvelable d'ici 2030",
235
+ "aura_page": 18,
236
+ "normandie": "Zones d'accélération EnR",
237
+ "normandie_page": 15,
238
+ },
239
+ {
240
+ "categorie": "Énergie & Économie circulaire",
241
+ "indicateur": "Production ENR - Photovoltaïque",
242
+ "unite": "TWh / MW",
243
+ "grand_est": "Non chiffré",
244
+ "grand_est_page": 22,
245
+ "occitanie": "×2 PV (4,1 → 9 TWh) ; 7 000 MW",
246
+ "occitanie_page": 108,
247
+ "aura": "Inclus dans +50% élec. renouvelable",
248
+ "aura_page": 18,
249
+ "normandie": "Structurer filière PV + autoconsommation",
250
+ "normandie_page": 16,
251
+ },
252
+ {
253
+ "categorie": "Énergie & Économie circulaire",
254
+ "indicateur": "Production biogaz / biométhane",
255
+ "unite": "multiplicateur",
256
+ "grand_est": "Non chiffré",
257
+ "grand_est_page": 22,
258
+ "occitanie": "×10 (0,3 → 3 TWh/an) d'ici 2031",
259
+ "occitanie_page": 108,
260
+ "aura": "Non chiffré",
261
+ "aura_page": 18,
262
+ "normandie": "Métha'Normandie + gaz verts",
263
+ "normandie_page": 16,
264
+ },
265
+ {
266
+ "categorie": "Énergie & Économie circulaire",
267
+ "indicateur": "Chaleur renouvelable",
268
+ "unite": "TWh",
269
+ "grand_est": "Synergies chaleur fatale",
270
+ "grand_est_page": 23,
271
+ "occitanie": "×2 à ×4 chaleur livrée",
272
+ "occitanie_page": 108,
273
+ "aura": ">30 TWh chaleur renouvelable",
274
+ "aura_page": 18,
275
+ "normandie": "Récupération chaleur fatale industrielle",
276
+ "normandie_page": 17,
277
+ },
278
+ {
279
+ "categorie": "Énergie & Économie circulaire",
280
+ "indicateur": "ENR citoyens / participatifs",
281
+ "unite": "nombre",
282
+ "grand_est": "500 GWh ; ×3 capacité EnR citoyens",
283
+ "grand_est_page": 23,
284
+ "occitanie": "100 000 citoyens ; 500 projets",
285
+ "occitanie_page": 39,
286
+ "aura": "Non chiffré",
287
+ "aura_page": None,
288
+ "normandie": "Financements participatifs (Kiwai Normandie)",
289
+ "normandie_page": 16,
290
+ },
291
+ # --- INDUSTRIE ---
292
+ {
293
+ "categorie": "Industrie & Emploi",
294
+ "indicateur": "Réduction émissions industrielles",
295
+ "unite": "% ou ktCO2eq",
296
+ "grand_est": "27% effort régional ; 14/50 sites",
297
+ "grand_est_page": 24,
298
+ "occitanie": "-31% (3 446 → 2 390 ktCO2eq)",
299
+ "occitanie_page": 108,
300
+ "aura": "-40% pour 90 sites",
301
+ "aura_page": 17,
302
+ "normandie": "Programme ZIBAC-SOCRATE + PACTE Industrie",
303
+ "normandie_page": 15,
304
+ },
305
+ {
306
+ "categorie": "Industrie & Emploi",
307
+ "indicateur": "Décarbonation gros émetteurs",
308
+ "unite": "%",
309
+ "grand_est": "14 gros sites accompagnés",
310
+ "grand_est_page": 25,
311
+ "occitanie": "-40% GES des 70 plus gros",
312
+ "occitanie_page": 43,
313
+ "aura": "-40% GES des 90 sites",
314
+ "aura_page": 17,
315
+ "normandie": "Feuilles de route décarbonation gros émetteurs",
316
+ "normandie_page": 17,
317
+ },
318
+ {
319
+ "categorie": "Industrie & Emploi",
320
+ "indicateur": "Décarbonation PME / industrie diffuse",
321
+ "unite": "%",
322
+ "grand_est": "Accompagner toutes les entreprises",
323
+ "grand_est_page": 25,
324
+ "occitanie": "-30% GES secteur diffus",
325
+ "occitanie_page": 46,
326
+ "aura": "100% mobilisation TPE/PME/ETI",
327
+ "aura_page": 17,
328
+ "normandie": "Amplifier sensibilisation PME + dispositifs",
329
+ "normandie_page": 17,
330
+ },
331
+ # --- BIODIVERSITÉ ---
332
+ {
333
+ "categorie": "Biodiversité, Eau & Sols",
334
+ "indicateur": "Réduction prélèvements eau",
335
+ "unite": "% vs réf.",
336
+ "grand_est": "-10%",
337
+ "grand_est_page": 14,
338
+ "occitanie": "-10% vs 2022",
339
+ "occitanie_page": 109,
340
+ "aura": "-10% d'ici 2030",
341
+ "aura_page": 14,
342
+ "normandie": "Études volumes prélevables + eaux non conventionnelles",
343
+ "normandie_page": 12,
344
+ },
345
+ {
346
+ "categorie": "Biodiversité, Eau & Sols",
347
+ "indicateur": "Réduction artificialisation (ZAN)",
348
+ "unite": "% ou ha",
349
+ "grand_est": "÷2 conso ENAF d'ici 2031",
350
+ "grand_est_page": 14,
351
+ "occitanie": "÷2 (max 14 000 ha sur 2021-2030)",
352
+ "occitanie_page": 34,
353
+ "aura": "-50% conso ENAF ; 1 000 ha désimperméabilisés",
354
+ "aura_page": 14,
355
+ "normandie": "Désimperméabilisation + renaturation friches",
356
+ "normandie_page": 14,
357
+ },
358
+ {
359
+ "categorie": "Biodiversité, Eau & Sols",
360
+ "indicateur": "Zones humides / tourbières",
361
+ "unite": "ha / opérations",
362
+ "grand_est": "10 opérations ; 1 000 ha/an",
363
+ "grand_est_page": 29,
364
+ "occitanie": "Non chiffré",
365
+ "occitanie_page": None,
366
+ "aura": "Non chiffré",
367
+ "aura_page": None,
368
+ "normandie": "Programme régional restauration tourbières",
369
+ "normandie_page": 12,
370
+ },
371
+ {
372
+ "categorie": "Biodiversité, Eau & Sols",
373
+ "indicateur": "Continuités écologiques - Points noirs",
374
+ "unite": "% résorbés",
375
+ "grand_est": "100% résorbés d'ici 2030",
376
+ "grand_est_page": 30,
377
+ "occitanie": "Identifier/résorber d'ici 2030",
378
+ "occitanie_page": 110,
379
+ "aura": "100% de résorption d'ici 2030",
380
+ "aura_page": 14,
381
+ "normandie": "Trajectoire écologique habitats naturels",
382
+ "normandie_page": 12,
383
+ },
384
+ # --- AGRICULTURE ---
385
+ {
386
+ "categorie": "Agriculture, Forêt & Alimentation",
387
+ "indicateur": "Plantation d'arbres",
388
+ "unite": "millions d'arbres",
389
+ "grand_est": "89 millions d'ici 2026",
390
+ "grand_est_page": 20,
391
+ "occitanie": "11 millions d'ici 2026",
392
+ "occitanie_page": 109,
393
+ "aura": "Non chiffré",
394
+ "aura_page": None,
395
+ "normandie": "Renouvellement peuplements forestiers fragilisés",
396
+ "normandie_page": 13,
397
+ },
398
+ {
399
+ "categorie": "Agriculture, Forêt & Alimentation",
400
+ "indicateur": "Linéaire de haies / bocage",
401
+ "unite": "km",
402
+ "grand_est": "+4 000 km de haies vs 2019",
403
+ "grand_est_page": 20,
404
+ "occitanie": "Non chiffré",
405
+ "occitanie_page": None,
406
+ "aura": "Non chiffré",
407
+ "aura_page": None,
408
+ "normandie": "Plans d'actions plantation + maintien bocage",
409
+ "normandie_page": 12,
410
+ },
411
+ {
412
+ "categorie": "Agriculture, Forêt & Alimentation",
413
+ "indicateur": "Surfaces en légumineuses",
414
+ "unite": "ha",
415
+ "grand_est": "×2 les surfaces",
416
+ "grand_est_page": 20,
417
+ "occitanie": "+100 000 ha d'ici 2030",
418
+ "occitanie_page": 109,
419
+ "aura": "Non traité",
420
+ "aura_page": None,
421
+ "normandie": "Progresser en légumineuses (alimentation animale et humaine)",
422
+ "normandie_page": 18,
423
+ },
424
+ # --- DÉCHETS ---
425
+ {
426
+ "categorie": "Déchets",
427
+ "indicateur": "Réduction déchets ménagers (DMA)",
428
+ "unite": "kg/hab/an ou %",
429
+ "grand_est": "-85 kg/hab/an vs 2019",
430
+ "grand_est_page": 22,
431
+ "occitanie": "-108 kg/hab vs 2010",
432
+ "occitanie_page": 108,
433
+ "aura": "Zéro enfouissement d'ici 2030",
434
+ "aura_page": 19,
435
+ "normandie": "Prévention + consommation responsable + arrêt collecte déchets verts PAP",
436
+ "normandie_page": 20,
437
+ },
438
+ {
439
+ "categorie": "Déchets",
440
+ "indicateur": "Valorisation des déchets",
441
+ "unite": "kg/hab/an ou %",
442
+ "grand_est": "+68 kg/hab/an valorisés vs 2019",
443
+ "grand_est_page": 22,
444
+ "occitanie": "57% valorisation matière ; 90% bouteilles plastiques",
445
+ "occitanie_page": 108,
446
+ "aura": "Développer recyclage et réemploi",
447
+ "aura_page": 19,
448
+ "normandie": "Valorisation BTP + textiles >60% + déchets organiques",
449
+ "normandie_page": 20,
450
+ },
451
+ {
452
+ "categorie": "Déchets",
453
+ "indicateur": "Tarification incitative",
454
+ "unite": "habitants ou %",
455
+ "grand_est": "Non chiffré",
456
+ "grand_est_page": None,
457
+ "occitanie": "2,1M hab. en tarif. incitative d'ici 2031",
458
+ "occitanie_page": 108,
459
+ "aura": "Non chiffré",
460
+ "aura_page": None,
461
+ "normandie": "Généraliser la redevance incitative",
462
+ "normandie_page": 20,
463
+ },
464
+ # --- EMPLOI ---
465
+ {
466
+ "categorie": "Emploi & Formation",
467
+ "indicateur": "Professionnels rénovation / BTP",
468
+ "unite": "nombre",
469
+ "grand_est": "Augmenter nombre RGE",
470
+ "grand_est_page": 25,
471
+ "occitanie": "Non chiffré",
472
+ "occitanie_page": None,
473
+ "aura": "Former +2,8M personnes (national)",
474
+ "aura_page": 21,
475
+ "normandie": "Montée en compétences BTP + rénovateurs BBC + RGE",
476
+ "normandie_page": 10,
477
+ },
478
+ {
479
+ "categorie": "Emploi & Formation",
480
+ "indicateur": "Accompagnement entreprises transition",
481
+ "unite": "nombre",
482
+ "grand_est": "Non chiffré",
483
+ "grand_est_page": None,
484
+ "occitanie": "2 000 entreprises (2025-2027)",
485
+ "occitanie_page": 87,
486
+ "aura": "100% mobilisation TPE/PME/ETI",
487
+ "aura_page": 17,
488
+ "normandie": "Identification évolutions métiers + formation continue",
489
+ "normandie_page": 24,
490
+ },
491
+ ]
492
+
493
+ # ============================================================
494
+ # Création de la feuille Excel
495
+ # ============================================================
496
+ ws = wb.active
497
+ ws.title = "KPIs COP Régionales"
498
+
499
+ # En-têtes
500
+ headers = ["Catégorie", "Indicateur / KPI", "Unité",
501
+ "Grand Est", "Page GE",
502
+ "Occitanie", "Page Occ.",
503
+ "Auvergne-Rhône-Alpes", "Page AURA",
504
+ "Normandie", "Page Norm."]
505
+ col_widths = [30, 40, 18, 45, 8, 45, 8, 45, 8, 45, 8]
506
+
507
+ for col_idx, (header, width) in enumerate(zip(headers, col_widths), 1):
508
+ cell = ws.cell(row=1, column=col_idx, value=header)
509
+ cell.font = header_font
510
+ cell.fill = header_fill
511
+ cell.alignment = Alignment(wrap_text=True, vertical="center", horizontal="center")
512
+ cell.border = thin_border
513
+ ws.column_dimensions[get_column_letter(col_idx)].width = width
514
+
515
+ ws.row_dimensions[1].height = 30
516
+
517
+ # Données
518
+ current_category = ""
519
+ row = 2
520
+ for kpi in kpis:
521
+ cat = kpi["categorie"]
522
+
523
+ # Ligne catégorie si nouvelle
524
+ if cat != current_category:
525
+ if current_category != "":
526
+ row += 1 # ligne vide entre catégories
527
+ for col_idx in range(1, len(headers) + 1):
528
+ cell = ws.cell(row=row, column=col_idx)
529
+ cell.fill = category_fill
530
+ cell.border = thin_border
531
+ if col_idx == 1:
532
+ cell.value = cat
533
+ cell.font = category_font
534
+ cell.alignment = wrap_alignment
535
+ ws.row_dimensions[row].height = 25
536
+ row += 1
537
+ current_category = cat
538
+
539
+ values = [
540
+ cat,
541
+ kpi["indicateur"],
542
+ kpi["unite"],
543
+ kpi["grand_est"],
544
+ kpi.get("grand_est_page", ""),
545
+ kpi["occitanie"],
546
+ kpi.get("occitanie_page", ""),
547
+ kpi["aura"],
548
+ kpi.get("aura_page", ""),
549
+ kpi["normandie"],
550
+ kpi.get("normandie_page", ""),
551
+ ]
552
+
553
+ for col_idx, val in enumerate(values, 1):
554
+ cell = ws.cell(row=row, column=col_idx, value=val if val is not None else "")
555
+ cell.border = thin_border
556
+ cell.alignment = wrap_alignment
557
+ # Page columns
558
+ if col_idx in (5, 7, 9, 11) and val:
559
+ cell.font = link_font
560
+ elif val and ("Non" in str(val) or str(val) == ""):
561
+ cell.font = na_font
562
+ else:
563
+ cell.font = normal_font
564
+ # Alternance couleurs
565
+ if row % 2 == 0:
566
+ cell.fill = PatternFill(start_color=GRIS_CLAIR, end_color=GRIS_CLAIR, fill_type="solid")
567
+
568
+ ws.row_dimensions[row].height = 50
569
+ row += 1
570
+
571
+ # Freeze panes
572
+ ws.freeze_panes = "A2"
573
+ ws.auto_filter.ref = f"A1:K{row-1}"
574
+
575
+ # ============================================================
576
+ # Feuille de métadonnées
577
+ # ============================================================
578
+ ws2 = wb.create_sheet("Sources & Métadonnées")
579
+ meta = [
580
+ ["Région", "URL du document", "Pages"],
581
+ ["Grand Est", URLS["grand_est"], "71 pages"],
582
+ ["Occitanie", URLS["occitanie"], "116 pages"],
583
+ ["Auvergne-Rhône-Alpes", URLS["aura"], "198 pages"],
584
+ ["Normandie", URLS["normandie"], "31 pages — OCR Mistral (document basé sur images)"],
585
+ [],
586
+ ["Note", "Les objectifs et KPIs sont extraits des documents officiels des COP régionales."],
587
+ ["Note", "Les horizons temporels varient selon les régions (2030 ou 2031 principalement)."],
588
+ ["Note", "Les unités et périmètres ne sont pas toujours strictement identiques entre régions."],
589
+ ["Note", "Le PDF Normandie était basé sur des images : extraction via OCR Mistral (mistral-ocr-latest)."],
590
+ ["Date", "Extraction réalisée en février 2025"],
591
+ ]
592
+ for r, row_data in enumerate(meta, 1):
593
+ for c, val in enumerate(row_data, 1):
594
+ cell = ws2.cell(row=r, column=c, value=val)
595
+ if r == 1:
596
+ cell.font = header_font
597
+ cell.fill = header_fill
598
+ elif c == 1:
599
+ cell.font = Font(bold=True, name="Marianne", size=10)
600
+ else:
601
+ cell.font = Font(name="Marianne", size=10)
602
+ ws2.column_dimensions["A"].width = 25
603
+ ws2.column_dimensions["B"].width = 100
604
+ ws2.column_dimensions["C"].width = 50
605
+
606
+ output_path = "/home/qdonnars/projects/chat_perso/COP/KPIs_COP_Regionales.xlsx"
607
+ wb.save(output_path)
608
+ print(f"Excel sauvegardé : {output_path}")
index.html CHANGED
@@ -1,19 +1,246 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="fr" data-fr-theme="light" data-fr-scheme="light">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Tableau de bord COP Régionales — Comparaison des KPIs</title>
7
+
8
+ <!-- DSFR -->
9
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@gouvfr/dsfr@1.11.2/dist/dsfr/dsfr.min.css">
10
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@gouvfr/dsfr@1.11.2/dist/utility/utility.min.css">
11
+ <link rel="stylesheet" href="style.css">
12
+ </head>
13
+ <body>
14
+
15
+ <!-- ====== HEADER ====== -->
16
+ <header role="banner" class="fr-header">
17
+ <div class="fr-header__body">
18
+ <div class="fr-container">
19
+ <div class="fr-header__body-row">
20
+ <div class="fr-header__brand fr-enlarge-link">
21
+ <div class="fr-header__brand-top">
22
+ <div class="fr-header__logo">
23
+ <p class="fr-logo">
24
+ République<br>Française
25
+ </p>
26
+ </div>
27
+ </div>
28
+ <div class="fr-header__service">
29
+ <p class="fr-header__service-title">Tableau de bord COP Régionales</p>
30
+ <p class="fr-header__service-tagline">Comparaison des KPIs de planification écologique — 4 régions</p>
31
+ </div>
32
+ </div>
33
+ </div>
34
+ </div>
35
+ </div>
36
+ </header>
37
+
38
+ <!-- ====== MAIN ====== -->
39
+ <main role="main" id="main-content">
40
+ <div class="fr-container fr-my-6w">
41
+
42
+ <!-- Section synthèse -->
43
+ <section id="synthese" class="fr-mb-6w">
44
+ <h2>Synthèse par thématique</h2>
45
+ <p class="fr-text--lg">
46
+ Aperçu des <strong>KPIs extraits</strong> des feuilles de route COP de
47
+ <span class="region-badge region-grand-est">Grand Est</span>,
48
+ <span class="region-badge region-occitanie">Occitanie</span>,
49
+ <span class="region-badge region-aura">Auvergne-Rhône-Alpes</span> et
50
+ <span class="region-badge region-normandie">Normandie</span>.
51
+ Cliquez sur une tuile pour filtrer.
52
+ </p>
53
+ <div class="fr-grid-row fr-grid-row--gutters" id="tiles-container"></div>
54
+ </section>
55
+
56
+ <!-- Section filtres + tableau -->
57
+ <section id="comparaison" class="fr-mb-6w">
58
+ <h2>Comparaison détaillée des KPIs</h2>
59
+
60
+ <!-- Filtres -->
61
+ <div class="fr-grid-row fr-grid-row--gutters fr-mb-3w filters-bar">
62
+ <div class="fr-col-12 fr-col-md-4">
63
+ <div class="fr-select-group">
64
+ <label class="fr-label" for="filter-category">Thématique</label>
65
+ <select class="fr-select" id="filter-category" onchange="filterTable()">
66
+ <option value="all">Toutes les thématiques</option>
67
+ <option value="Transports & Mobilités">🚲 Transports & Mobilités</option>
68
+ <option value="Bâtiment : Résidentiel & Tertiaire">🏠 Bâtiment</option>
69
+ <option value="Énergie & Économie circulaire">⚡ Énergie</option>
70
+ <option value="Industrie & Emploi">🏭 Industrie</option>
71
+ <option value="Biodiversité, Eau & Sols">🌿 Biodiversité, Eau & Sols</option>
72
+ <option value="Agriculture, Forêt & Alimentation">🌾 Agriculture</option>
73
+ <option value="Déchets">♻️ Déchets</option>
74
+ <option value="Santé, Sport & Culture">🏥 Santé</option>
75
+ <option value="Emploi & Formation">🎓 Emploi & Formation</option>
76
+ </select>
77
+ </div>
78
+ </div>
79
+ <div class="fr-col-12 fr-col-md-4">
80
+ <div class="fr-input-group">
81
+ <label class="fr-label" for="search-input">Rechercher</label>
82
+ <input class="fr-input" type="text" id="search-input"
83
+ placeholder="ex: vélo, eau, fioul…"
84
+ oninput="filterTable()">
85
+ </div>
86
+ </div>
87
+ <div class="fr-col-12 fr-col-md-4">
88
+ <div class="fr-toggle" style="margin-top: 1.5rem;">
89
+ <input type="checkbox" class="fr-toggle__input"
90
+ id="toggle-comparable" onchange="filterTable()">
91
+ <label class="fr-toggle__label" for="toggle-comparable">
92
+ Uniquement les KPIs comparables
93
+ </label>
94
+ </div>
95
+ </div>
96
+ </div>
97
+
98
+ <!-- Tableau -->
99
+ <div class="fr-table table-wrapper">
100
+ <table id="kpi-table">
101
+ <thead>
102
+ <tr>
103
+ <th scope="col" class="col-indicateur">Indicateur / KPI</th>
104
+ <th scope="col" class="col-region">
105
+ <span class="region-badge region-grand-est">Grand Est</span>
106
+ </th>
107
+ <th scope="col" class="col-region">
108
+ <span class="region-badge region-occitanie">Occitanie</span>
109
+ </th>
110
+ <th scope="col" class="col-region">
111
+ <span class="region-badge region-aura">AURA</span>
112
+ </th>
113
+ <th scope="col" class="col-region">
114
+ <span class="region-badge region-normandie">Normandie</span>
115
+ </th>
116
+ <th scope="col" class="col-comparable">Comparable</th>
117
+ </tr>
118
+ </thead>
119
+ <tbody id="kpi-tbody"></tbody>
120
+ </table>
121
+ </div>
122
+ </section>
123
+
124
+ <!-- Section Sources -->
125
+ <section id="sources" class="fr-mb-6w">
126
+ <h2>Sources</h2>
127
+ <p>Les données proviennent des feuilles de route officielles des COP régionales. Chaque valeur dans le tableau est accompagnée d'un lien vers la page exacte du PDF source (cliquez sur <code>p.XX</code>).</p>
128
+ <div class="fr-grid-row fr-grid-row--gutters">
129
+ <div class="fr-col-12 fr-col-md-6 fr-col-lg-3">
130
+ <div class="fr-card fr-card--no-arrow">
131
+ <div class="fr-card__body">
132
+ <div class="fr-card__content">
133
+ <h3 class="fr-card__title">
134
+ <a href="https://www.prefectures-regions.gouv.fr/grand-est/grand-est/irecontenu/telechargement/120569/895203/file/20240927_Grand_Est_Planification_ecologique_feuille_de_route.pdf" target="_blank" rel="noopener">
135
+ Grand Est
136
+ </a>
137
+ </h3>
138
+ <p class="fr-card__desc">Feuille de route 2024-2025 — 18 engagements, 80 actions (71 pages)</p>
139
+ </div>
140
+ </div>
141
+ </div>
142
+ </div>
143
+ <div class="fr-col-12 fr-col-md-6 fr-col-lg-3">
144
+ <div class="fr-card fr-card--no-arrow">
145
+ <div class="fr-card__body">
146
+ <div class="fr-card__content">
147
+ <h3 class="fr-card__title">
148
+ <a href="https://www.prefectures-regions.gouv.fr/occitanie/irecontenu/telechargement/123908/917834/file/feuille_de_route_cop.pdf" target="_blank" rel="noopener">
149
+ Occitanie
150
+ </a>
151
+ </h3>
152
+ <p class="fr-card__desc">Feuille de route COP — 69 objectifs régionaux, 91 actions (116 pages)</p>
153
+ </div>
154
+ </div>
155
+ </div>
156
+ </div>
157
+ <div class="fr-col-12 fr-col-md-6 fr-col-lg-3">
158
+ <div class="fr-card fr-card--no-arrow">
159
+ <div class="fr-card__body">
160
+ <div class="fr-card__content">
161
+ <h3 class="fr-card__title">
162
+ <a href="https://www.prefectures-regions.gouv.fr/content/download/133679/980081/version/1/file/COP-AURA_202512-feuilleroute+COP+regional.pdf" target="_blank" rel="noopener">
163
+ Auvergne-Rhône-Alpes
164
+ </a>
165
+ </h3>
166
+ <p class="fr-card__desc">Feuille de route 2024-2030 — 26 défis, ~100 actions (198 pages)</p>
167
+ </div>
168
+ </div>
169
+ </div>
170
+ </div>
171
+ <div class="fr-col-12 fr-col-md-6 fr-col-lg-3">
172
+ <div class="fr-card fr-card--no-arrow">
173
+ <div class="fr-card__body">
174
+ <div class="fr-card__content">
175
+ <h3 class="fr-card__title">
176
+ <a href="https://www.prefectures-regions.gouv.fr/normandie/irecontenu/telechargement/122983/912028/file/COP%20Normandie_FDR%20vf.pdf" target="_blank" rel="noopener">
177
+ Normandie
178
+ </a>
179
+ </h3>
180
+ <p class="fr-card__desc">Feuille de route 2025-2030 — ~250 actions dont ~50 en 2025 (31 pages)</p>
181
+ </div>
182
+ </div>
183
+ </div>
184
+ </div>
185
+ </div>
186
+ </section>
187
+
188
+ <!-- Section Méthodologie -->
189
+ <section id="methodologie" class="fr-mb-6w">
190
+ <h2>Méthodologie</h2>
191
+ <div class="fr-callout">
192
+ <p class="fr-callout__text">
193
+ Les KPIs ont été extraits par analyse textuelle automatisée (pdfplumber + Mistral OCR pour Normandie) des feuilles de route officielles.
194
+ <strong>Les périmètres, horizons temporels et unités ne sont pas toujours strictement identiques entre régions.</strong>
195
+ Un KPI est marqué « comparable » lorsqu'au moins 3 régions ont un objectif chiffré ou qualitatif sur le même thème.
196
+ </p>
197
+ </div>
198
+ </section>
199
+
200
+ </div>
201
+ </main>
202
+
203
+ <!-- ====== FOOTER ====== -->
204
+ <footer class="fr-footer" role="contentinfo">
205
+ <div class="fr-container">
206
+ <div class="fr-footer__body">
207
+ <div class="fr-footer__brand fr-enlarge-link">
208
+ <p class="fr-logo">
209
+ République<br>Française
210
+ </p>
211
+ </div>
212
+ <div class="fr-footer__content">
213
+ <p class="fr-footer__content-desc">
214
+ Outil de comparaison des KPIs des COP régionales — données extraites des feuilles de route officielles.
215
+ </p>
216
+ <ul class="fr-footer__content-list">
217
+ <li class="fr-footer__content-item">
218
+ <a class="fr-footer__content-link" href="https://www.info.gouv.fr/grand-dossier/france-nation-verte" target="_blank" rel="noopener">
219
+ France Nation Verte
220
+ </a>
221
+ </li>
222
+ <li class="fr-footer__content-item">
223
+ <a class="fr-footer__content-link" href="https://www.ecologie.gouv.fr/cop-regionales" target="_blank" rel="noopener">
224
+ COP Régionales
225
+ </a>
226
+ </li>
227
+ </ul>
228
+ </div>
229
+ </div>
230
+ <div class="fr-footer__bottom">
231
+ <ul class="fr-footer__bottom-list">
232
+ <li class="fr-footer__bottom-item">
233
+ <span class="fr-footer__bottom-link">Données à jour : Février 2025</span>
234
+ </li>
235
+ </ul>
236
+ </div>
237
+ </div>
238
+ </footer>
239
+
240
+ <!-- Scripts -->
241
+ <script src="https://cdn.jsdelivr.net/npm/@gouvfr/dsfr@1.11.2/dist/dsfr/dsfr.module.min.js" type="module"></script>
242
+ <script src="https://cdn.jsdelivr.net/npm/@gouvfr/dsfr@1.11.2/dist/dsfr/dsfr.nomodule.min.js" nomodule></script>
243
+ <script src="data.js"></script>
244
+ <script src="app.js"></script>
245
+ </body>
246
  </html>
pdfs/20240927_Grand_Est_Planification_ecologique_feuille_de_route.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23d121b8adc352e9c5986c058ac5298b994ad7468f6aee13748e2c558c4b1098
3
+ size 3868149
pdfs/COP Normandie_FDR vf.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c83a93fb039ebd2e02166f3fe6c77f11261a4f9fef4a4dee6185f1cf7125494
3
+ size 6187045
pdfs/COP-AURA_202512-feuilleroute+COP+regional.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8892f460654df194ece43cd870b6c3f06b04bb3c8cdd192b724dce8e7c46be5c
3
+ size 11672820
pdfs/feuille_de_route_cop.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4f1fcb12051e586ec8b7b6fdf05b464f2f8b6473a81a453f10c65cc0c03443b
3
+ size 5391810
style.css CHANGED
@@ -1,28 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
28
  }
 
1
+ /* ============================================================
2
+ Styles personnalisés — Tableau de bord COP Régionales
3
+ Complément au DSFR
4
+ ============================================================ */
5
+
6
+ /* ------- Forcer le thème clair ------- */
7
+ :root, [data-fr-scheme="light"] {
8
+ --background-default-grey: #fff !important;
9
+ --text-default-grey: #161616 !important;
10
+ --background-contrast-grey: #f5f5f5 !important;
11
+ --text-title-grey: #161616 !important;
12
+ --background-alt-grey: #f6f6f6 !important;
13
+ --text-action-high-blue-france: #000091 !important;
14
+ color-scheme: light !important;
15
+ }
16
  body {
17
+ background: #fff !important;
18
+ color: #161616 !important;
19
  }
20
 
21
+ /* ------- Variables ------- */
22
+ :root {
23
+ --region-grand-est: #000091;
24
+ --region-occitanie: #CE614A;
25
+ --region-aura: #009081;
26
+ --region-normandie: #5770BE;
27
+ --green-compare: #18753C;
28
+ --orange-partial: #E4794A;
29
+ --grey-na: #929292;
30
  }
31
 
32
+ /* ------- Badges régionaux ------- */
33
+ .region-badge {
34
+ display: inline-block;
35
+ padding: 0.15rem 0.6rem;
36
+ border-radius: 4px;
37
+ font-size: 0.8rem;
38
+ font-weight: 700;
39
+ color: #fff;
40
+ }
41
+ .region-grand-est { background-color: var(--region-grand-est); }
42
+ .region-occitanie { background-color: var(--region-occitanie); }
43
+ .region-aura { background-color: var(--region-aura); }
44
+ .region-normandie { background-color: var(--region-normandie); }
45
+
46
+ /* ------- Tuiles de synthèse ------- */
47
+ .tile-category {
48
+ background: #fff;
49
+ border: 1px solid #ddd;
50
+ border-radius: 8px;
51
+ padding: 1rem 1.2rem;
52
+ cursor: pointer;
53
+ transition: box-shadow 0.2s, transform 0.15s;
54
+ text-align: center;
55
+ min-height: 140px;
56
+ display: flex;
57
+ flex-direction: column;
58
+ justify-content: center;
59
+ }
60
+ .tile-category:hover,
61
+ .tile-category:focus {
62
+ box-shadow: 0 4px 16px rgba(0, 0, 145, 0.15);
63
+ transform: translateY(-2px);
64
+ }
65
+ .tile-category__icon {
66
+ font-size: 2rem;
67
+ margin-bottom: 0.3rem;
68
+ }
69
+ .tile-category__title {
70
+ font-weight: 700;
71
+ font-size: 0.95rem;
72
+ color: #161616;
73
+ margin-bottom: 0.3rem;
74
+ }
75
+ .tile-category__count {
76
+ font-size: 0.8rem;
77
+ color: #666;
78
+ margin-bottom: 0.4rem;
79
+ }
80
+ .tile-category__bar {
81
+ height: 6px;
82
+ background: #e5e5e5;
83
+ border-radius: 3px;
84
+ overflow: hidden;
85
+ }
86
+ .bar-fill--green {
87
+ height: 100%;
88
+ background: var(--green-compare);
89
+ border-radius: 3px;
90
+ transition: width 0.4s ease;
91
+ }
92
+
93
+ /* ------- Tableau ------- */
94
+ .table-wrapper {
95
+ overflow-x: auto;
96
+ }
97
+
98
+ #kpi-table {
99
+ width: 100%;
100
+ border-collapse: collapse;
101
+ font-size: 0.875rem;
102
+ }
103
+
104
+ #kpi-table thead th {
105
+ background-color: #000091;
106
+ color: #fff;
107
+ position: sticky;
108
+ top: 0;
109
+ z-index: 2;
110
+ padding: 0.75rem 0.6rem;
111
+ text-align: left;
112
+ white-space: nowrap;
113
+ }
114
+
115
+ #kpi-table tbody td {
116
+ padding: 0.6rem;
117
+ vertical-align: top;
118
+ border-bottom: 1px solid #eee;
119
+ }
120
+
121
+ #kpi-table tbody tr:hover {
122
+ background-color: #f0f0ff;
123
+ }
124
+
125
+ /* Colonnes */
126
+ .col-indicateur { min-width: 170px; width: 170px; }
127
+ .col-region { min-width: 190px; }
128
+ .col-comparable { min-width: 85px; width: 85px; text-align: center !important; }
129
+
130
+ /* Ligne catégorie */
131
+ .category-row td {
132
+ background-color: #E3E3FD !important;
133
+ font-weight: 700;
134
+ font-size: 0.95rem;
135
+ color: #000091;
136
+ padding: 0.5rem 0.6rem !important;
137
+ }
138
+
139
+ /* N/D */
140
+ .value-na {
141
+ color: var(--grey-na);
142
+ font-style: italic;
143
+ font-size: 0.85rem;
144
+ }
145
+
146
+ /* ------- Tags comparables ------- */
147
+ .tag-comparable {
148
+ display: inline-block;
149
+ padding: 0.15rem 0.5rem;
150
+ border-radius: 12px;
151
+ font-size: 0.75rem;
152
+ font-weight: 600;
153
+ white-space: nowrap;
154
+ cursor: help;
155
+ }
156
+ .tag-comparable--yes {
157
+ background: #B8FEC9;
158
+ color: #18753C;
159
+ }
160
+ .tag-comparable--partial {
161
+ background: #FEE7B8;
162
+ color: #A05A2C;
163
+ }
164
+ .tag-comparable--no {
165
+ background: #eee;
166
+ color: #929292;
167
+ }
168
+
169
+ /* ------- Liens source (p.XX) ------- */
170
+ .source-link {
171
+ display: inline-block;
172
+ font-size: 0.7rem;
173
+ color: #000091;
174
+ background: #E3E3FD;
175
+ padding: 0.05rem 0.35rem;
176
+ border-radius: 3px;
177
+ text-decoration: none;
178
+ margin-left: 0.2rem;
179
+ font-weight: 600;
180
+ vertical-align: middle;
181
+ transition: background 0.15s;
182
+ }
183
+ .source-link:hover {
184
+ background: #000091;
185
+ color: #fff;
186
  }
187
 
188
+ /* ------- Filtres ------- */
189
+ .filters-bar {
190
+ background: #f9f9f9;
191
+ border-radius: 8px;
192
+ padding: 1rem;
193
+ border: 1px solid #e5e5e5;
194
  }
195
 
196
+ /* ------- Responsive ------- */
197
+ @media (max-width: 768px) {
198
+ .col-indicateur { min-width: 140px; }
199
+ .col-region { min-width: 150px; }
200
+ .tile-category { min-height: 110px; }
201
  }