/* =====================================================
   RAPPORTS
   Blocs des rapports et publications
   ===================================================== */

/* ══════════════════════════════════════════════════════════
   RAPPORTS & PUBLICATIONS
══════════════════════════════════════════════════════════ */
#rapports { background: #fff; }

/* Article hero card */
.article-hero {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}
.article-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-hero-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.article-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(21,101,192,.10);
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 20px;
  margin-bottom: 14px;
  width: fit-content;
}
.article-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 12px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.article-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  color: var(--gray-text);
  font-family: var(--font-heading);
  font-weight: 600;
}
.article-excerpt {
  font-size: .9rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 24px;
}
.article-stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--off-white);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.astat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.astat-num {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}
.astat-lbl {
  font-size: .65rem;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-top: 3px;
}

/* --- Variante rapport n°2 : photo AFFICHÉE EN ENTIER (jamais rognée) --- */
.article-hero--full { min-height: 460px; }
.article-hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(150deg, #FDF2F1 0%, #F3F6FC 100%);
  overflow: hidden;
}
.article-hero-img--full {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 500px;
  object-fit: contain;      /* image complète, sans recadrage */
  object-position: center;
  display: block;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,.14);
}
/* Chiffres clés alignés sur 2 colonnes pour la variante n°2 */
.article-hero--full .article-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 18px;
}

/* Accents rouges du rapport n°2 */
.article-category--red { background: rgba(192,57,43,.10); color: var(--red); }
.astat-num--red { color: var(--red); }
.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(192,57,43,.32);
}
.btn-red:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 22px rgba(192,57,43,.44);
}

/* Accents verts du rapport n°3 (Formation Droits Humains) */
.article-category--green { background: rgba(46,125,50,.10); color: var(--green); }
.astat-num--green { color: var(--green); }
.article-hero-media--green { background: linear-gradient(150deg, #EEF7EE 0%, #F3F6FC 100%); }
.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(46,125,50,.32);
}
.btn-green:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 22px rgba(46,125,50,.44);
}

/* Modal overlay */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  background: var(--white);
  border-radius: 22px;
  max-width: 860px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.modal-close {
  position: sticky;
  top: 0;
  right: 0;
  float: right;
  margin: 16px 16px 0 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}
.modal-close:hover { background: #C0392B; }
.modal-content { padding: 0 40px 40px; clear: both; }
.modal-hero-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  margin-bottom: 28px;
}
.modal-category { margin-bottom: 12px; }
.modal-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 10px;
}
.modal-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: 2px;
  margin: 18px 0;
}
.modal-section-title {
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 24px 0 10px;
}
.modal-text {
  font-size: .92rem;
  color: #374151;
  line-height: 1.82;
  margin-bottom: 14px;
}
.modal-text strong { color: var(--dark); }
.modal-grid-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
.modal-grid-imgs img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.modal-highlight-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 16px 0;
}
.modal-highlight-box p {
  font-size: .9rem;
  color: var(--blue-dark);
  line-height: 1.7;
}
.modal-highlight-box strong { color: var(--blue-dark); }
.modal-list {
  list-style: none;
  margin: 10px 0 16px;
}
.modal-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .9rem;
  color: #374151;
  line-height: 1.65;
  padding: 5px 0;
  border-bottom: 1px solid #F0F4FA;
}
.modal-list li:last-child { border-bottom: none; }
.modal-list li::before {
  content: '→';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.modal-quote {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0;
  border-left: 4px solid var(--orange);
}
.modal-quote p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.65;
}
.modal-quote cite {
  display: block;
  font-size: .78rem;
  color: var(--gray-text);
  margin-top: 8px;
  font-style: normal;
  font-family: var(--font-heading);
  font-weight: 700;
}
.modal-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}
.modal-stat-card {
  background: var(--white);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.modal-stat-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}
.modal-stat-lbl {
  font-size: .72rem;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-top: 5px;
}

/* Article grid (for future articles) */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 22px;
}
.article-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.article-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.article-card-body { padding: 20px; }
.article-card-title {
  font-family: var(--font-heading);
  font-size: .97rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.article-card-excerpt {
  font-size: .82rem;
  color: var(--gray-text);
  line-height: 1.62;
}
.article-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-border);
}
.article-read-more {
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Responsive rapports */
@media (max-width: 900px) {
  .article-hero { grid-template-columns: 1fr; }
  .article-hero-img { height: 260px; }
  .article-hero--full { min-height: 0; }
  .article-hero-media { padding: 16px; }
  .article-hero-img--full { min-height: 0; max-height: 420px; height: auto; }
  .article-hero-body { padding: 26px 22px; }
  .modal-grid-imgs { grid-template-columns: 1fr; }
  .modal-content { padding: 0 22px 28px; }
  .modal-stats-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .modal-stats-row { grid-template-columns: 1fr; }
  .modal-hero-img { height: 200px; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-hero-img--full { max-height: 340px; }
  .article-stats { gap: 12px; padding: 12px 14px; }
}
