/* CSS pour améliorer la présentation */
/* <!-- # Generated by HDMConsulting - Henry MUKONKOLE PAMBA DISASHI ! --> */        
        :root{
          --primary:#1a2a6b;
          --accent:#5a67d8;
          --muted:#8a94a6;
          --band:#ebeff5;
          --band-border:#dfe6ef;
          --rule:#273b89;
          --table-head:#064ca7;
          --chart-h: clamp(120px, 20vh, 180px);
        }
        .wrap{padding-inline:.5rem;}
        .container-xl.wrap{margin-top:1rem!important;margin-bottom:1rem!important}
        .hero-title{font-weight:800;color:var(--primary);font-size:clamp(20px,2.6vw,28px);line-height:1.1;margin:0;}
        .title-band{background:var(--band);border:1px solid var(--band-border);border-radius:.5rem;padding:.5rem .75rem;}
        .title-band .filters-min label{font-size:11px;color:var(--muted);margin-bottom:.1rem}
        .title-band .filters-min .form-select{height:30px;padding:.2rem .45rem;font-size:12px}
        .title-redline{height:10px;width:2px;background:#c21f1f;display:inline-block;margin-right:.3rem;border-radius:2px}
        .filters .form-label{font-size:11px;margin-bottom:.15rem}
        .filters .form-select{height:34px;padding:.25rem .5rem;font-size:12px}
        .dropdown .btn{height:34px;padding:.25rem .5rem;font-size:12px}
        .filters .row{row-gap:.4rem}
        .kpi{padding:.6rem .75rem}
        .kpi .lbl{font-size:12px;font-weight:700;color:var(--muted);margin-bottom:.05rem}
        .kpi .val{font-weight:800;color:#000;font-size:clamp(16px,2.2vw,22px)}
        .kpi.rule{border-left:4px solid var(--rule);}
        .kpi.alt .val{font-size:clamp(16px,2.1vw,20px)}
        .kpi .city{font-size:11px;color:var(--muted);}
        .cardish{border:1px solid #e5eaf1;border-radius:.6rem;box-shadow:0 .5px 1px rgba(0,0,0,.03);background:#fff}
        .chart-card{padding:.6rem!important}
        .chart-card canvas{width:100%!important;height:var(--chart-h)!important}
        .chart-toggle .btn{--bs-btn-padding-y:.2rem;--bs-btn-padding-x:.5rem;font-size:.8rem}
        .chart-toggle .btn.active{pointer-events:none}
        .table-wrap{overflow-x:auto}
        .table thead th{background:var(--table-head);color:#fff!important}
        .table td,.table th{vertical-align:middle;font-size:13px;padding:.45rem .5rem}
        .table.table-sm td,.table.table-sm th{font-size:12px;padding:.35rem .45rem}
        .box-table{max-height:280px;overflow:auto}
        .sites-card .fw-bold{font-size:.9rem}
        .sites-card .small{font-size:.75rem}
        .sites-card .box-table{max-height:200px; overflow:auto}
        .sites-card table.table-sm th, .sites-card table.table-sm td{font-size:11px; padding:.25rem .4rem}
        #sites-controls{display:flex;justify-content:space-between;align-items:center;gap:.5rem;margin-top:.35rem}
        #sites-pagination .btn{--bs-btn-padding-y:.15rem;--bs-btn-padding-x:.4rem;font-size:.75rem}
        #bloc-zones .zone-item{display:flex;justify-content:space-between;align-items:center;padding:.3rem .45rem;border:1px solid #eef2f7;border-radius:.5rem;font-size:12px}
        #bloc-zones .zone-item .val{font-weight:700}
        @media (max-width:575.98px){
          #table-produits thead{display:none}
          #table-produits{border:0}
          #table-produits tbody tr{display:block;margin-bottom:.65rem;border:1px solid #e6ebf2;border-radius:.6rem;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.04);background:#fff}
          #table-produits tbody td{display:grid;grid-template-columns:42% 1fr;gap:.35rem;align-items:start;padding:.55rem .7rem!important;border:0!important;border-bottom:1px solid #f1f3f5!important;font-size:12px}
          #table-produits tbody td:last-child{border-bottom:0!important}
          #table-produits tbody td::before{content:attr(data-label);font-weight:600;opacity:.8;font-size:11px}
        }
        .auto-compact{--chart-h: clamp(110px, 18vh, 170px)}
        .header-compact { column-gap: .5rem; row-gap: .25rem; }
        .btn.btn-xs{
          --bs-btn-padding-y:.15rem; --bs-btn-padding-x:.4rem;
          --bs-btn-font-size:.75rem; --bs-btn-border-radius:.2rem;
          line-height:1.1;
        }
        @media (max-width: 576px){
          .header-compact { flex-wrap: wrap; }
          .header-compact img { height:48px; }
        }
        #chart-chocs-semaine {
          width: 100% !important;
          height: 350px !important;   /* tu peux mettre 400px ou plus */
        }

        /* Bloc droite (tableau par site) */
        #page-chocs .table-wrap {
          max-height: none !important;
          height: 350px !important; /* même hauteur que le graphique */
          overflow-y: auto;
        }

        /* Bloc du haut : Evolution prix moyen VS Prix moyen par site */
        #chart-evol {
          width: 100% !important;
          height: 230px !important;   /* tu peux ajuster selon ton besoin */
        }

        #bloc-zones,
        #tbody-sites {
          height: 50px !important;   /* même hauteur que le graphique */
          overflow-y: auto;
        }

        /* Bloc du bas : Variation prix par semaine VS Variation prix moyen par site */
        #chart-chocs-semaine {
          width: 100% !important;
          height: 350px !important;   /* tu peux mettre 400px pour harmoniser */
        }

        #tbody-chocs-sites {
          height: 350px !important;   /* même hauteur que le graphique */
          overflow-y: auto;
        }

        #chart-evol {
          width: 100% !important;
          height: 315px !important;   /* ou plus selon tes besoins */
          display: block;
          margin: 0 auto;             /* centre horizontalement */
        }

        .chart-card {
          display: flex;
          flex-direction: column;
          justify-content: flex-end;   /* aligne en bas */
          align-items: center;         /* centre horizontalement */
        }

        .chart-card {
            min-height: 360px;
          }

          #chart-evol {
            width: 100% !important;
            height: 100% !important;
          }


        .progress {
            display: block;
            width: 100%;
            height: 20px;
            border-radius: 12px;
            background: #f1f3f5;
            overflow: hidden;
          }

          .progress-bar {
            height: 100%;
            line-height: 20px;
            text-align: center;
            color: #fff;
            font-weight: bold;
            background: #f5b300;
            transition: width 0.6s ease;
          }

/* <!-- # Generated by HDMConsulting - Henry MUKONKOLE PAMBA DISASHI ! --> 
PAGE: GLOBALE 
*/   
#page-global .title-band { margin-bottom:.5rem !important; }
#page-global .title-band .hero-title { font-size:1.05rem; margin:0; }
#page-global .title-band .title-redline { width:.4rem; height:1.05rem; margin-right:.4rem; }

#page-global .filters-min .form-label,
#page-global .filters .form-label { margin-bottom:.15rem; font-size:.78rem; color:#6b7280; }

#page-global .form-select { padding:.25rem .5rem; font-size:.85rem; }
#page-global .filters-min .form-select,
#page-global .filters .form-select { height: calc(1.7rem + 2px); }

#page-global .filters-min { gap:.5rem; }
#page-global .filters .row { margin-top:.35rem; }
#page-global .filters .col-6, 
#page-global .filters .col-12, 
#page-global .filters .col-md-2 { padding-right:.35rem; padding-left:.35rem; }

#page-global .kpi.cardish { padding:.6rem .7rem; }
#page-global .kpi .lbl { font-size:.78rem; margin-bottom:.15rem; }
#page-global .kpi .val { font-size:1.05rem; line-height:1.1; }
#page-global .kpi .city { font-size:.78rem; margin-top:.15rem; }

#page-global .btn-responsive { padding:.28rem .55rem; font-size:.85rem; border-radius:.35rem; }
#page-global .tabs-row { margin-bottom:.5rem; }

#page-global .cardish { padding:.6rem .7rem; }
#page-global .chart-card { padding:.6rem .7rem; }
#page-global .chart-card .fw-bold { font-size:.92rem; }
#page-global .chart-toggle .btn { padding:.2rem .45rem; font-size:.8rem; }

#page-global .box-table table { font-size:.85rem; }
#page-global .sites-card .fw-bold { font-size:.9rem; }

#page-global .row.g-2 { --bs-gutter-x:.5rem; --bs-gutter-y:.5rem; }
#page-global .row.g-1 { --bs-gutter-x:.35rem; --bs-gutter-y:.35rem; }
#page-global .mb-2 { margin-bottom:.5rem !important; }
#page-global .mt-2 { margin-top:.5rem !important; }
#page-global .gap-2 { gap:.5rem !important; }
#page-global .gap-1 { gap:.35rem !important; }

#page-global #selection-banner-global { margin-bottom:.35rem !important; font-size:.9rem; }

#page-global #btn-unite { padding:.25rem .5rem; font-size:.85rem; }
#page-global #dd-unites { max-height:180px !important; }

/* PAGE: GLOBALE */ 
#page-chocs .title-band { margin-bottom:.5rem !important; }
#page-chocs .hero-title { font-size:1.05rem; margin:0; }
#page-chocs .title-redline { width:.4rem; height:1.05rem; margin-right:.4rem; }

#page-chocs .mb-2 { margin-bottom:.5rem !important; }
#page-chocs .mt-2 { margin-top:.45rem !important; }
#page-chocs .row.g-2 { --bs-gutter-x:.5rem; --bs-gutter-y:.5rem; }

#page-chocs .cardish { padding:.6rem .7rem; }
#page-chocs .chart-card { padding:.6rem .7rem; }
#page-chocs .chart-card .fw-bold { font-size:.92rem; }

#page-chocs #selection-banner-chocs { margin:.35rem 0 !important; font-size:.9rem; }

#page-chocs .progress { height:8px !important; }
#page-chocs #chocs-evol-val { font-size:clamp(14px,2vw,20px) !important; }

#page-chocs .lbl { font-size:.78rem; color:#6b7280; margin-bottom:.1rem; }
#page-chocs .val { font-size:1.05rem; line-height:1.1; }
#page-chocs #chocs-zone-1, 
#page-chocs #chocs-zone-2 { padding:.5rem .6rem !important; }

#page-chocs .table-wrap { max-height:300px; }
#page-chocs table { font-size:.85rem; }
#page-chocs thead th { padding:.35rem .5rem; }
#page-chocs tbody td { padding:.35rem .5rem; vertical-align:middle; }

/* SITUATION GENERALE Harmonisation des en-têtes */
.th-left, .th-center, .th-right {
  background:#064ca7;
  color:#fff;
  vertical-align:middle;
}
.th-left   { text-align:left   !important; }
.th-center { text-align:center !important; }
.th-right  { text-align:right  !important; }

/* Table alignée */
#tbody-sites td:first-child {
  text-align:left;
}
#tbody-sites td:last-child {
  text-align:right;
}

/* CHOCS Contrôles en bas bien alignés */
#sites-controls {
  border-top:1px solid #e5e7eb;
  padding-top:6px;
}

/* En-têtes tableaux */
.th-left, .th-right {
  background:#064ca7;
  color:#fff;
  vertical-align:middle;
}
.th-left  { text-align:left  !important; }
.th-right { text-align:right !important; }
.th-center { text-align:center !important; }

/* Corps du tableau variation prix */
#tbody-chocs-sites td:first-child {
  text-align:left;
}
#tbody-chocs-sites td:not(:first-child) {
  text-align:right;
}
#tbody-chocs-sites td:not(:first-child) {
  text-align:center;
}

/* ================================
   FIX GRAPHIQUE – Situation globale
   (sans impact ailleurs)
================================ */

/* Conteneur du graphique */
#page-global .chart-card {
  position: relative;
  height: 340px;          /* ✅ hauteur fixe et maîtrisée */
  min-height: 340px;
  display: block;         /* ❌ stop flex */
}

/* Canvas Chart.js */
#page-global #chart-evol {
  width: 100% !important;
  height: 100% !important; /* Chart.js remplit le conteneur */
  max-height: 340px;
  display: block;
}

/* ❌ Neutralisation des règles conflictuelles */
#page-global .chart-card {
  justify-content: unset !important;
  align-items: unset !important;
}

#page-global .chart-card canvas {
  height: 100% !important;
}

/* ================================
   DASHBOARD – CHOCS DE PRIX
   On supprime UNIQUEMENT :
   - Titre évolution (%)
   - Barre de progression
   - Valeur affichée
   ================================ */

/* Cache le bloc "Évolution de prix (%) KINSHASA" */
#page-chocs h3,
#page-chocs .fw-bold:has(+ .progress) {
  display: none !important;
}

/* Cache la barre de progression */
#page-chocs .progress {
  display: none !important;
}

/* Cache la valeur -0,02 % */
#page-chocs #chocs-evol-val {
  font-weight: 700;
  margin-top: 4px;
}

/* Supprime l’espace vide laissé par ces éléments */
#page-chocs .cardish:has(.progress) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: auto !important;
}

/* =========================================================
   DASHBOARD – Évolution de prix (%) (AJUSTEMENT GRAPHIQUE)
   ========================================================= */

/* Conteneur du bloc évolution */
#page-chocs .evolution-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Titre : on le remonte légèrement */
#page-chocs .evolution-card h5,
#page-chocs .evolution-card .fw-bold {
  margin-bottom: 4px !important;
  margin-top: 0 !important;
}

/* Barre de progression : juste sous le titre */
#page-chocs .evolution-card .progress {
  height: 8px !important;
  margin-top: 2px !important;
  margin-bottom: 6px !important;
}

/* ❌ Supprimer l’affichage du texte -0,02 % */
#page-chocs #chocs-evol-val {
  display: none !important;
}

/* Empêcher l’étirement vertical du bloc */
#page-chocs .evolution-card {
  min-height: auto !important;
  height: auto !important;
}

/* ================================
   FIX ÉVOLUTION DE PRIX (%) – DASHBOARD
   (ne touche qu’au graphique chocs)
================================ */

/* Conteneur du bloc évolution */
#page-chocs .chart-card.evolution-prix {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;                /* espace maîtrisé */
  padding-top: 8px;
}

/* Titre "Évolution de prix (%) KINSHASA" */
#page-chocs .chart-card.evolution-prix h5,
#page-chocs .chart-card.evolution-prix .fw-bold {
  margin-bottom: 4px !important;
  margin-top: 0 !important;
  line-height: 1.1;
  text-align: center;
}

/* Barre de progression JUSTE SOUS le titre */
#page-chocs .chart-card.evolution-prix .progress {
  margin-top: 2px !important;
  margin-bottom: 6px !important;
  height: 10px;
}

/* Valeur % (-0,02 %) */
#page-chocs .chart-card.evolution-prix #chocs-evol-val {
  margin-top: 0 !important;
  font-weight: 700;
  text-align: center;
}

/* Empêche l’étirement vertical inutile */
#page-chocs .chart-card.evolution-prix {
  min-height: unset !important;
  height: auto !important;
}

/* ===============================
   CHOCS – Évolution de prix (%)
   Correction layout graphique
   =============================== */

/* 1️⃣ Carte évolution : réduire l'espace vertical */
#page-chocs #chocs-evolution-card {
  padding-top: 12px;
  padding-bottom: 14px;
}

/* 2️⃣ Remonter légèrement le titre */
#page-chocs #chocs-evol-title {
  margin-bottom: 8px !important;
  margin-top: 0 !important;
  text-align: center;
}

/* 3️⃣ Supprimer l’affichage du -0,02 % */
#page-chocs #chocs-evol-val {
  display: none !important;
}

/* ✅ FIX barre de progression CHOCS */
#page-chocs .progress {
  display: flex !important;
  height: 22px;
  border-radius: 12px;
  background: #f1f3f5;
  overflow: hidden;
}

#page-chocs .progress-bar {
  height: 100%;
  display: block;
}

/* ===============================
   DASHBOARD – ÉVOLUTION DE PRIX
   (graphique + barre uniquement)
   =============================== */

/* Bloc global évolution */
.chocs-evol-block {
  display: flex;
  flex-direction: column;
  gap: 8px;                 /* espace titre → barre */
}

/* Titre : on le remonte légèrement */
.chocs-evol-title {
  margin: 0;
  padding: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a2a6b;
  line-height: 1.2;
}

/* Barre de progression */
.chocs-progress {
  height: 22px;
  border-radius: 12px;
  background: #f1f3f5;
  overflow: hidden;
}

/* Barre interne */
#chocs-gauge {
  height: 100%;
  border-radius: 12px;
  background: #1f6fb2;              /* bleu stable */
  transition: width 0.6s ease;
}

/* ❌ SUPPRESSION du texte flottant (-0,02 %) isolé */
#chocs-evol-val {
  display: none !important;
}


/* ===============================
   FIX BARRE DE PROGRESSION CHOCS
   =============================== */

/* 1️⃣ On libère l'espace vertical */
#page-chocs .chart-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* ✅ AU LIEU DE flex-end */
  align-items: stretch;
  gap: 10px;
}

/* 2️⃣ Le titre remonte légèrement */
#page-chocs .chart-card .fw-bold {
  margin-bottom: 4px;
}

/* 3️⃣ La barre est bien visible */
#page-chocs .progress {
  width: 100%;
  height: 22px;
  border-radius: 12px;
  background: #f1f3f5;
  overflow: hidden;
}

/* 4️⃣ La valeur % juste sous la barre */
#chocs-evol-val {
  margin-top: 6px;
  text-align: left;
}

/* 5️⃣ Le canvas ne vole plus l'espace */
#page-chocs canvas {
  flex: 1 1 auto;
  max-height: 260px;
}

/* ===============================
   FIX BARRE DE PROGRESSION CHOCS
   =============================== */

#page-chocs .progress {
  height: 18px !important;        /* visibilité */
  margin-top: 12px;
  margin-bottom: 10px;
  background-color: #e9ecef;
  border-radius: 10px;
}

#page-chocs .progress-bar {
  height: 100%;
  min-width: 2%;                  /* évite 0% invisible */
  transition: width 0.6s ease;
}

body {
  font-family: "Inter", "Roboto", "Segoe UI", Arial, sans-serif;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2d3d;
}

.chart-card {
  height: 320px;
}

.chart-card canvas { height: 260px !important; width: 100% !important; }

.chart-card canvas {
  min-height: 320px;
}

.chart-card .fw-bold {
  text-align: center;
  color: #1f3c88;
  margin-bottom: 10px;
}

/* ===============================
   TITRES DE SECTIONS – UNIFIÉS
   =============================== */
#page-villes .title-redline { width:.4rem; height:1.05rem; margin-right:.4rem; }
.section-title {
  font-family: "Inter", "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2a6b;          /* même bleu que Situation globale */
  line-height: 1.2;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .4rem;
}

#page-global .section-title,
#page-chocs .section-title,
#page-villes .section-title {
  font-family: "Inter", "Roboto", "Segoe UI", Arial, sans-serif !important;
}

.econ-dashboard {
  background: #1f2933;
  padding: 50px 0;
  color: #fff;
}

.dashboard-panel {
  background: #2a3642;
  border-radius: 8px;
  padding: 20px;
  height: 100%;
}

.dashboard-title {
  font-weight: 700;
  margin-bottom: 20px;
  color: #e6efff;
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding-bottom: 8px;
}

.metric-card {
  background: #111827;
  border-radius: 6px;
  padding: 14px;
}

.metric-label {
  font-size: 13px;
  color: #9ca3af;
}

.metric-value {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.metric-sub {
  font-size: 12px;
  color: #9ca3af;
}

.news-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.news-title a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.news-title a:hover {
  text-decoration: underline;
}

.news-date {
  font-size: 12px;
  color: #9ca3af;
}

.news-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.news-empty {
  font-size: 13px;
  color: #9ca3af;
  font-style: italic;
}
.news-card {
  background: #111827;
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-badge {
  font-size: 11px;
  font-weight: 700;
  color: #93c5fd;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.news-badge-communique {
  color: #fcd34d;
}

.news-title a {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.news-title a:hover {
  text-decoration: underline;
}

.news-date {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 4px;
}

.news-excerpt {
  font-size: 12px;
  color: #d1d5db;
  margin-bottom: 6px;
}

.news-link {
  font-size: 12px;
  font-weight: 600;
  color: #93c5fd;
  text-decoration: none;
}

.news-link:hover {
  text-decoration: underline;
}
/* Grille plus haute */
.indicators-grid .metric-card {
  min-height: 160px; /* remplit les zones rouges */
}

/* Carte cliquable */
.metric-card-link {
  background: #111827;
  border-radius: 8px;
  padding: 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  color: inherit;
}

.metric-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  background: #0f172a;
}

/* Texte "voir plus" */
.metric-more {
  font-size: 12px;
  font-weight: 600;
  color: #93c5fd;
  margin-top: 10px;
}

.metric-card-link:hover .metric-more {
  text-decoration: underline;
}

/* Curseur explicite */
.metric-card-link {
  cursor: pointer;
}
/* ================= NEWS CARDS INTERACTIVES ================= */

.news-card-link {
  position: relative;
  background: #111827;
  border-radius: 8px;
  padding: 14px;
  transition: all 0.25s ease;
  cursor: pointer;
}

/* Effet hover (comme indicateurs) */
.news-card-link:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  background: #0f172a;
}

/* Désactiver le soulignement parasite */
.news-card-link a.stretched-link {
  text-decoration: none;
}

/* Animation douce du texte */
.news-card-link:hover .news-title {
  text-decoration: underline;
}

/* Cohérence curseur */
.news-card-link * {
  cursor: pointer;
}

/* ================= NOS SERVICES - VERSION PRO ================= */

.services-section {
  background-color: #0A4FA3;
  padding: 70px 0;
  width: 100%;
}

.services-inner {
  max-width: 1320px;   /* empêche l’effet “barres trop larges” */
  margin: 0 auto;
  padding: 0 24px;
}

/* Titres */
.services-title {
  color: #ffffff;
  font-weight: 700;
}

.services-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}

/* Carte service */
.service-card {
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 30px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.25s ease;
}

.service-card:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

/* Icône */
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon i {
  font-size: 26px;
  color: #ffffff;
}

/* Texte */
.service-title {
  font-weight: 600;
  font-size: 16px;
}

.service-link {
  font-size: 13px;
  font-weight: 600;
  color: #dbeafe;
}

.dashboard-panel {
  background: #2c3b47;
  border-radius: 14px;
  padding: 28px;
  color: #ffffff;
  height: 100%;
}

.dashboard-title {
  font-weight: 700;
  color: #ffffff;
}

.indicator-card {
  display: block;
  background: #111827;
  border-radius: 10px;
  padding: 16px;
  color: #fff;
  text-decoration: none;
  transition: 0.25s;
}

.indicator-card:hover {
  transform: translateY(-4px);
}

.indicator-label { font-size: 13px; opacity: .8; }
.indicator-value { font-size: 24px; font-weight: 700; }
.indicator-sub { font-size: 12px; opacity: .7; }
.indicator-link { font-size: 13px; color: #60a5fa; }

.news-card {
  position: relative;
  background: #111827;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  transition: 0.25s;
}

.news-card:hover { transform: translateY(-4px); }

.news-badge {
  font-size: 12px;
  font-weight: 700;
  color: #60a5fa;
}

.news-badge-communique { color: #facc15; }

.news-title { font-weight: 700; margin: 6px 0; }
.news-date { font-size: 12px; opacity: .7; }
.news-excerpt { font-size: 13px; opacity: .85; }

.service-item {
  display: block;
  background: #111827;
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s;
}

.service-item:hover {
  background: #0f172a;
  transform: translateY(-3px);
}
.indicator-card-large {
  min-height: 170px;
}

.indicator-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-top: 6px;
}

.indicator-tag {
  font-weight: 600;
  color: #93c5fd;
}

.indicator-tag-alt {
  color: #facc15;
}

.indicator-rate {
  font-weight: 700;
  color: #ffffff;
}
/* Base commune */
.indicator-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #111827;
  border-radius: 12px;
  padding: 18px;
  height: 100%;
}

/* ===================== */
/* LIGNE DU HAUT (VERT)  */
/* ===================== */
.indicator-top {
  min-height: 150px;
}

/* ===================== */
/* LIGNE DU BAS (ROUGE)  */
/* ===================== */
.indicator-bottom {
  min-height: 190px;
}

/* Carte taux de change (plus dense) */
.indicator-card-large {
  padding-top: 16px;
}

/* Lien toujours en bas */
.indicator-link {
  margin-top: auto;
  font-size: 13px;
  color: #60a5fa;
}
/* Bleu foncé dashboard (ROUGE sur ton dessin) */
.bg-dashboard-dark {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* ================= FOND BLEU INSTITUTIONNEL ================= */
.bg-institutional-blue {
  background-color: #0b4da2;
  width: 100%;
}

/* ================= PANEL (GRILLE INTERNE BLEUE) ================= */
.dashboard-panel {
  background-color: #0b4da2; /* 🔵 BLEU (au lieu du gris) */
  border-radius: 16px;
  padding: 24px;
  height: 100%;
}

/* ================= CARTES INTERNES ================= */
.indicator-card,
.news-card,
.service-item {
  background: #111827; /* bleu très foncé */
  border-radius: 12px;
  padding: 16px;
  color: #ffffff;
}

/* Sécurité anti blanc */
html, body {
  margin: 0;
  padding: 0;
}
/* ================= BOUTON PRESSE BLEU ================= */
.btn-press {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  max-width: max-content;

  background-color: #0b4da2;
  color: #ffffff;

  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 18px;

  text-transform: uppercase;
  letter-spacing: 0.3px;

  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  transition: all 0.2s ease;
}

.btn-press:hover {
  background-color: #083b7a;
  color: #ffffff;
  transform: translateY(-1px);
}
/* ====== NEWS TICKER ====== */
.news-ticker-wrapper {
  background: #0b4da2; /* même bleu institutionnel */
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  padding: 10px 0;
}

.news-ticker {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.news-ticker-track {
  display: flex;
  gap: 40px;
  animation: ticker-scroll 35s linear infinite;
}

.news-ticker:hover .news-ticker-track {
  animation-play-state: paused;
}

.news-ticker-item {
  white-space: nowrap;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-ticker-item:hover {
  text-decoration: underline;
}

.news-ticker-date {
  color: #ffd966;
  font-size: 13px;
  font-weight: 600;
}

/* Animation */
@keyframes ticker-scroll {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
.bg-institutional-blue {
  background: #0b4da2;
}

.dashboard-panel {
  background: #0b4da2;
  border-radius: 16px;
  padding: 24px;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.dashboard-title {
  font-weight: 700;
}

.indicator-card,
.service-item,
.news-slide {
  display: block;
  background: rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 14px;
  color: #fff;
  text-decoration: none;
}

.indicator-card:hover,
.service-item:hover,
.news-slide:hover {
  background: rgba(255,255,255,.2);
}

.indicator-label {
  font-size: 13px;
  opacity: .85;
}

.indicator-value {
  font-size: 20px;
  font-weight: 700;
}

.news-badge {
  background: #ffc107;
  color: #000;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 700;
}

.news-title {
  font-size: 14px;
  font-weight: 600;
}

.news-date {
  font-size: 12px;
  opacity: .8;
}

.btn-press {
  background: #fff;
  color: #0b4da2;
  border-radius: 20px;
  padding: 6px 18px;
  font-weight: 600;
}
.news-card {
  position: relative;
  background: rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 14px;
  color: #fff;
  min-height: 120px;
  transition: transform .2s ease, background .2s ease;
}

.news-card:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-2px);
}

.news-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ffc107;
  color: #000;
  margin-bottom: 8px;
}

.news-badge-communique {
  background: #00d1ff;
  color: #00213a;
}

.news-title {
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.25;
  margin-bottom: 6px;
}

.news-date {
  font-size: 12px;
  opacity: .85;
}

.news-excerpt {
  font-size: 12px;
  opacity: .85;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-empty {
  background: rgba(255,255,255,.10);
  border-radius: 12px;
  padding: 14px;
  font-size: 13px;
  opacity: .9;
}

/* Focus visible WCAG */
.news-card a:focus-visible,
.btn-press:focus-visible {
  outline: 3px solid #ffc107;
  outline-offset: 3px;
}
/* ===== SECTION DASHBOARD PROPRE ===== */
.dashboard-wrapper {
  background-color: #ffffff; /* bleu institutionnel */
  padding: 40px 0;           /* espace contrôlé */
  margin: 0;                 /* SUPPRIME les bandes */
}

/* Supprime tout pseudo-élément parasite */
.dashboard-wrapper::before,
.dashboard-wrapper::after {
  content: none !important;
}

/* Annule les marges bootstrap qui créent les bandes */
.dashboard-wrapper .container-fluid {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0;
  padding-bottom: 0;
}

/* ================= BLOC MÉTÉO PRINCIPAL ================= */
.meteo-hero {
  background: #ffffff;
  padding: 3.5rem 0;
}

.meteo-card {
  background: linear-gradient(135deg, #0b4da2, #083b7a);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 22px 50px rgba(0,0,0,0.25);
  max-width: 1100px;
  margin: 0 auto;
}

/* En-tête du bloc météo */
.meteo-header {
  margin-bottom: 16px;
}

.meteo-title {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.meteo-badge {
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* Vidéo */
.meteo-video iframe {
  border-radius: 16px;
  background: #000;
}

/* Pied du bloc */
.meteo-footer {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}

/* Mobile first */
@media (max-width: 768px) {
  .meteo-card {
    padding: 18px;
  }

  .meteo-title {
    font-size: 18px;
  }
}
.meteo-date {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
}

.btn-meteo {
  background-color: #ffffff;
  color: #0b4da2;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 30px;
  border: none;
  text-transform: uppercase;
  font-size: 13px;
  transition: all 0.25s ease;
}

.btn-meteo:hover {
  background-color: #e6ecf7;
  color: #083b7a;
  transform: translateY(-2px);
}
/* ================= MÉTÉO ================= */
.meteo-panel {
  background: linear-gradient(180deg, #0b4da2, #083b7a);
}

.meteo-video iframe {
  border-radius: 14px;
}

.meteo-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
}

.meteo-date {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}
.btn-meteo-prix {
  background: #fff;
  color: #0b4da2;
  border-radius: 20px;
  padding: 6px 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* ================= METEO LIST ================= */
.meteo-card {
  background: linear-gradient(135deg, #0b4da2, #083b7a);
  border-radius: 18px;
  padding: 20px;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transition: transform .25s ease, box-shadow .25s ease;
}

.meteo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.meteo-title {
  font-weight: 700;
}

.meteo-date {
  font-size: 13px;
  opacity: 0.9;
}

.meteo-video iframe {
  border-radius: 14px;
}
/* ================= METEO DETAIL ================= */
.meteo-card {
  background: linear-gradient(135deg, #0b4da2, #083b7a);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.3);
}

.meteo-date {
  font-size: 14px;
  opacity: 0.9;
}

.meteo-card iframe {
  border-radius: 14px;
}

/* ================= PRESSE ================= */

.presse-title {
  font-size: 26px;
  font-weight: 800;
  color: #0b4da2;
  margin-bottom: 8px;
}

.presse-subtitle {
  font-size: 14px;
  color: #555;
  max-width: 720px;
  margin: 0 auto;
}

.presse-block {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  height: 100%;
}

.presse-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.presse-block-header h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0b4da2;
  margin: 0;
}

.presse-item {
  position: relative;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.presse-item:last-child {
  border-bottom: none;
}

.presse-item-title {
  font-weight: 600;
  font-size: 14px;
  color: #222;
}

.presse-item-date {
  font-size: 12px;
  color: #777;
}
/* ================= PRESSE ================= */
.presse-hero {
  background: linear-gradient(135deg, #0b4da2, #083b7a);
  color: #fff;
  padding: 3rem 1rem;
}

.presse-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.presse-subtitle {
  font-size: 15px;
  opacity: 0.9;
  max-width: 720px;
  margin: 0 auto;
}

/* Cards */
.presse-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  height: 100%;
}

.presse-card-meteo {
  background: linear-gradient(135deg, #eef5ff, #ffffff);
}

/* Header */
.presse-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.presse-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0b4da2;
  margin: 0;
}

/* Liste */
.presse-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.presse-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  color: #1f2937;
  text-decoration: none;
  transition: all 0.25s ease;
}

.presse-item:hover {
  background: #eaf2ff;
  transform: translateX(4px);
}

.presse-item span {
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
}

/* Bouton Presse */
.btn-press {
  background: #0b4da2;
  color: #fff;
  border-radius: 20px;
  padding: 6px 16px;
  font-weight: 600;
}

.btn-press:hover {
  background: #083b7a;
  color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
  .presse-title {
    font-size: 26px;
  }

  .presse-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
/* ====== PAGE PRESSE (premium) ====== */
.press-page{
  background: #f3f6fb;
}

/* HERO */
.press-hero{
  background: radial-gradient(1200px 500px at 50% 0%, rgba(11,77,162,0.18), transparent 60%),
              linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.press-title{
  margin: 0;
  font-weight: 800;
  letter-spacing: .2px;
  color: #0b4da2;
  font-size: clamp(28px, 4vw, 40px);
}
.press-subtitle{
  margin: 10px auto 0;
  max-width: 820px;
  color: #52627a;
  font-size: 14px;
  line-height: 1.55;
}

/* FILTRES */
.press-filters{
  margin: 22px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.press-filter{
  border: 1px solid rgba(11,77,162,0.18);
  background: rgba(255,255,255,0.75);
  color: #0b4da2;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 13px;
  transition: .2s ease;
}
.press-filter:hover{
  transform: translateY(-1px);
  background: #fff;
}
.press-filter.is-active{
  background: #0b4da2;
  border-color: #0b4da2;
  color: #fff;
}

/* CARDS */
.press-card{
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(18, 38, 63, 0.08);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 18px;
  height: 100%;
}
.press-card-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.press-card-title{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #12355b;
  font-size: 18px;
}

.press-icon-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.press-dot-news{ background:#f7b500; }
.press-dot-comm{ background:#00c2ff; }
.press-dot-event{ background:#7c4dff; }
.press-dot-meteo{ background:#00d68f; }

/* bouton "Voir tout" style presse */
.press-btn{
  background: #0b4da2;
  color: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .3px;
  border: 1px solid rgba(11,77,162,0.35);
  text-decoration: none;
  transition: .2s ease;
}
.press-btn:hover{
  background: #083b7a;
  color: #fff;
  transform: translateY(-1px);
}

/* LIST */
.press-list{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.press-item{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fbfcff;
  text-decoration: none;
  transition: .2s ease;
}
.press-item:hover{
  background: #ffffff;
  border-color: rgba(11,77,162,0.22);
  transform: translateY(-1px);
}
.press-item-title{
  color:#102a43;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
}
.press-item-meta{
  display:flex;
  align-items:center;
  gap: 10px;
  color:#6b7a90;
  font-size: 12px;
  white-space: nowrap;
}
.press-arrow{
  color:#0b4da2;
  font-weight: 900;
}

/* BADGES */
.press-badge{
  display:inline-flex;
  align-items:center;
  height: 20px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  margin-left: 10px;
}
.press-badge-new{
  background: rgba(0,214,143,0.14);
  color: #007d55;
  border: 1px solid rgba(0,214,143,0.30);
}
.press-badge-urgent{
  background: rgba(255, 59, 48, 0.12);
  color: #b42318;
  border: 1px solid rgba(255, 59, 48, 0.25);
}

.press-empty{
  padding: 14px;
  border-radius: 12px;
  background: #fbfcff;
  border: 1px dashed rgba(0,0,0,0.12);
  color: #6b7a90;
  text-align: center;
  font-size: 13px;
}

/* METEO PREVIEW (thumbnail) */
.meteo-preview{
  display:block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 160px;
  margin-bottom: 10px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 24px rgba(18, 38, 63, 0.10);
  text-decoration: none;
}
.meteo-preview::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%);
}
.meteo-play{
  position:absolute;
  z-index: 2;
  left: 14px;
  top: 14px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,0.92);
  color:#0b4da2;
  font-weight: 900;
}
.meteo-preview-label{
  position:absolute;
  z-index:2;
  left: 14px;
  right: 14px;
  bottom: 12px;
  color:#fff;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.35;
}

/* ANIMATIONS */
.press-fade{
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.press-fade.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .press-fade, .press-filter, .press-btn, .press-item{
    transition: none !important;
    transform: none !important;
  }
}

/* MOBILE */
@media (max-width: 992px){
  .press-card{ padding: 16px; }
  .meteo-preview{ height: 190px; }
}
.news-ticker-wrapper {
  background: #0b4da2;
  overflow: hidden;
  padding: 10px 0;
}

.news-ticker {
  white-space: nowrap;
}

.news-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  animation: ticker-scroll 40s linear infinite;
}

.news-ticker-label {
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  white-space: nowrap;
}

.label-actualites {
  background: #ffffff;
  color: #0b4da2;
}

.label-communiques {
  background: #d32f2f;
  color: #ffffff;
}

.news-ticker-item {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.news-ticker-item:hover {
  text-decoration: underline;
}

.news-ticker-date {
  font-size: 12px;
  opacity: 0.85;
}

.news-ticker-separator {
  color: rgba(255,255,255,0.4);
  font-size: 18px;
}

/* Animation */
@keyframes ticker-scroll {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Pause au survol */
.news-ticker-track {
  animation: ticker-scroll 90s linear infinite;
}
/* ================= MOBILE OPTIMISATION – INDICATEURS ================= */
@media (max-width: 768px) {

  /* Le panel principal */
  .dashboard-panel {
    padding: 16px !important;
    border-radius: 18px;
  }

  /* Titre */
  .dashboard-title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  /* Chaque carte indicateur = pleine largeur */
  .indicator-top,
  .indicator-bottom {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .indicator-card {
    padding: 16px;
    border-radius: 14px;
  }

  .indicator-label {
    font-size: 14px;
    opacity: 0.9;
  }

  .indicator-value {
    font-size: 26px;
    line-height: 1.2;
    margin: 6px 0;
  }

  .indicator-sub {
    font-size: 13px;
    opacity: 0.85;
  }

  .indicator-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
  }

  /* ===== Taux de change : affichage vertical lisible ===== */
  .indicator-card-large .indicator-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 14px;
  }

  .indicator-rate {
    font-weight: 600;
    white-space: nowrap;
  }

  /* Date */
  .indicator-card-large .indicator-sub {
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
  }
}
