/*
Theme Name: Cités Bénin
Theme URI: https://citesbenin.bj
Author: Cités Bénin
Description: Thème officiel de Cités Bénin – Au cœur des communes qui bougent
Version: 1.1
License: GNU General Public License v2
Text Domain: cites-benin
*/

/* ── VARIABLES ── */
:root {
  --navy: #0A1D3D;
  --green: #128A3A;
  --orange: #F28C1B;
  --light: #F2F4F7;
  --dark: #333333;
  --white: #ffffff;
  --green-light: #e8f5ee;
  --orange-light: #fef3e2;
  --navy-light: #e8ecf3;
  --border: #e2e6ed;
  --text-muted: #6b7280;
  --radius: 10px;
  --shadow: 0 2px 16px rgba(10,29,61,0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── NAVBAR ── */
nav#site-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(10,29,61,0.25);
  overflow: hidden;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  height: 64px;
  gap: 1rem;
  overflow: visible;
}
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
  flex-shrink: 0;
  height: 100%;
  padding: 8px 0;
  overflow: hidden;
}
.site-logo img,
.site-logo a img,
.custom-logo {
  height: 48px !important;
  max-height: 48px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain;
  display: block;
  overflow: hidden;
}
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  flex-wrap: nowrap;
}
.nav-menu li a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.2px;
  white-space: nowrap;
  display: block;
}
.nav-menu li a:hover,
.nav-menu .current-menu-item > a {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.nav-menu .current-menu-item > a { color: var(--orange); }

/* Recherche navbar */
.nav-search-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 5px 12px;
  gap: 8px;
  margin-left: 8px;
  flex-shrink: 0;
}
.nav-search-form input[type="search"] {
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  width: 130px;
}
.nav-search-form input[type="search"]::placeholder { color: rgba(255,255,255,0.45); }
.nav-search-form button {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  padding: 0;
  display: flex;
  align-items: center;
}

/* ── HAMBURGER MOBILE ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  cursor: pointer;
  padding: 6px;
  margin-left: 8px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: all 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MENU MOBILE ── */
.mobile-menu {
  background: #0c2040;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
  display: block;
}
.mobile-menu.open { max-height: 520px; }
.mobile-menu a {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.3px;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.07); color: var(--orange); }
.mobile-menu-search {
  padding: 12px 1.5rem 16px;
}
.mobile-menu-search input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  outline: none;
}

/* ── TICKER ── */
.ticker {
  background: var(--green);
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: stretch;
  height: 34px;
}
.ticker-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  padding: 0;
  overflow: hidden;
  gap: 0;
}
.ticker-label {
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 14px;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  /* Clip shape + small right arrow */
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
  padding-right: 22px;
}
/* Zone de défilement : strictement à droite du label, aucun débordement possible */
.ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  /* Left padding so text doesn't start immediately at edge */
  padding-left: 1rem;
}
.ticker-content {
  font-size: 12px;
  color: var(--white);
  font-weight: 500;
  white-space: nowrap;
  display: inline-block;
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}
.ticker-content:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ── HERO CATÉGORIE ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2550 100%);
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-bottom: 3px solid var(--green);
}
.page-hero h1 {
  color: var(--white);
  font-size: 28px;
  font-weight: 800;
  margin-top: 8px;
}
.category-label {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 20px;
}
.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  margin-top: 10px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── MISE EN PAGE PRINCIPALE ── */
.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}
.content-area { min-width: 0; }

/* ── EN-TÊTE DE SECTION ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--navy);
}
.section-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.section-link {
  font-size: 12px;
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.section-link:hover { color: var(--navy); }

/* ── GRILLE D'ARTICLES ── */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.25s;
  border: 1px solid var(--border);
  text-decoration: none;
  display: block;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(10,29,61,0.13);
  border-color: var(--green);
}
.article-card-img {
  width: 100%;
  height: 165px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #0A4D2A, #128A3A);
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.article-card:hover .article-card-img img { transform: scale(1.04); }
.article-card-body { padding: 1rem; }
.article-card-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.article-card-tag::before {
  content: '';
  width: 3px; height: 12px;
  border-radius: 2px;
  background: currentColor;
  flex-shrink: 0;
}
.article-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 8px;
}
.article-card-excerpt {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 10px;
  font-family: 'Lora', serif;
  font-style: italic;
}
.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* ── COULEURS PAR CATÉGORIE ── */
.tag-actualites   { color: var(--navy); }
.tag-reportages   { color: var(--green); }
.tag-analyses     { color: #7c3aed; }
.tag-tribune      { color: #b45309; }
.tag-agenda       { color: #0891b2; }
.tag-opportunites { color: #dc2626; }

/* ── CARTE TRIBUNE ── */
.tribune-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.tribune-card::before {
  content: '❝';
  position: absolute;
  top: -10px; right: 16px;
  font-size: 80px;
  color: rgba(242,140,27,0.14);
  font-family: Georgia, serif;
}
.tribune-card:hover { background: #0d2349; transform: translateY(-2px); }
.tribune-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
  margin-bottom: 10px;
  display: block;
}
.tribune-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 12px;
  font-family: 'Lora', serif;
  font-style: italic;
}
.tribune-author { display: flex; align-items: center; gap: 10px; }
.tribune-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.tribune-author-name { font-weight: 600; color: var(--white); display: block; font-size: 12px; }
.tribune-author-role { font-size: 11px; color: rgba(255,255,255,0.65); }

/* ── ARTICLE COMPLET (single) ── */
.single-post-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 2rem;
}
.single-post-header { padding: 2rem; border-bottom: 1px solid var(--border); }
.single-post-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 14px;
}
.single-post-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.single-post-featured {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}
.single-post-content {
  padding: 2rem;
  font-family: 'Lora', serif;
  font-size: 16px;
  line-height: 1.85;
  color: #374151;
}
.single-post-content p { margin-bottom: 1.4rem; }
.single-post-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 2rem 0 1rem;
}
.single-post-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 1.5rem 0 0.75rem;
}
.single-post-content blockquote {
  border-left: 4px solid var(--green);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--green-light);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--navy);
}
.single-post-content ul, .single-post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}
.single-post-content li { margin-bottom: 0.4rem; }
.single-post-content a { color: var(--green); text-decoration: underline; }
.single-post-content img {
  border-radius: 8px;
  margin: 1rem 0;
}

/* ── FIL D'ARIANE ── */
.breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--green); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── SIDEBAR ── */
.sidebar { min-width: 0; position: sticky; top: 100px; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
}
.widget-header {
  background: var(--navy);
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.widget-header-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.widget-body { padding: 1rem; }

/* ── AGENDA ── */
.agenda-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}
.agenda-item:last-child { border-bottom: none; }
.agenda-item:hover { opacity: 0.78; }
.agenda-date {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.agenda-day { font-size: 16px; font-weight: 800; color: var(--white); line-height: 1; }
.agenda-month { font-size: 8px; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: 1px; }
.agenda-title { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.3; margin-bottom: 3px; }
.agenda-commune { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.commune-dot { width: 5px; height: 5px; background: var(--green); border-radius: 50%; }

/* ── OPPORTUNITÉS ── */
.opport-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: opacity 0.2s;
}
.opport-item:last-child { border-bottom: none; }
.opport-item:hover { opacity: 0.78; }
.opport-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 5px;
}
.badge-emploi   { background: var(--green-light); color: var(--green); }
.badge-appel    { background: var(--orange-light); color: #c2740a; }
.badge-marche   { background: var(--navy-light); color: var(--navy); }
.badge-formation{ background: #ede9fe; color: #5b21b6; }
.opport-title { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 3px; line-height: 1.3; }
.opport-deadline { font-size: 11px; color: var(--text-muted); }
.deadline-urgent { color: #dc2626; font-weight: 600; }

/* ── NEWSLETTER ── */
.newsletter-widget {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2349 100%);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
}
.newsletter-icon { font-size: 28px; margin-bottom: 8px; }
.newsletter-title { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.newsletter-sub { font-size: 12px; color: rgba(255,255,255,0.62); margin-bottom: 14px; }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-input {
  padding: 10px 12px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  outline: none;
  text-align: center;
  transition: border-color 0.2s;
}
.newsletter-input:focus { border-color: var(--orange); }
.newsletter-input::placeholder { color: rgba(255,255,255,0.38); }
.newsletter-btn {
  padding: 10px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.4px;
  transition: background 0.2s;
}
.newsletter-btn:hover { background: #d97a0f; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 22px; font-weight: 800; color: var(--navy); display: block; }
.stat-number span { color: var(--orange); }
.stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; font-weight: 600; }

/* ── PAGINATION ── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px; height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--navy);
  background: var(--white);
  transition: all 0.2s;
}
.pagination .current,
.pagination a:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ── FOOTER ── */
footer#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-logo {
  height: 54px;
  width: auto;
  margin-bottom: 10px;
  object-fit: contain;
}
.footer-tagline { font-size: 12px; margin-bottom: 16px; color: rgba(255,255,255,0.48); font-style: italic; }
.footer-values { display: flex; flex-direction: column; gap: 8px; }
.footer-value { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.value-dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; flex-shrink: 0; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.58); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── FORMULAIRE DE RECHERCHE WORDPRESS ── */
.search-form { display: flex; align-items: center; gap: 0; }
.search-field {
  background: none !important;
  border: none !important;
  outline: none !important;
  color: var(--white) !important;
  font-size: 12px !important;
  font-family: 'Montserrat', sans-serif !important;
  width: 130px !important;
  padding: 0 !important;
}
.search-field::placeholder { color: rgba(255,255,255,0.45) !important; }
.search-submit {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: rgba(255,255,255,0.7) !important;
  font-size: 13px !important;
  padding: 0 !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav-search-form { display: none; }
}
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .site-main { grid-template-columns: 1fr; padding: 1.5rem 1rem; }
  .sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-bar { flex-wrap: wrap; }
  .stat-item { flex: 1 1 40%; border-right: none; border-bottom: 1px solid var(--border); padding: 0.75rem; }
  .stat-item:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  .nav-inner { height: 62px; }
  .site-logo img,
  .site-logo a img,
  .custom-logo { height: 40px !important; max-height: 40px !important; }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .single-post-title { font-size: 20px; }
  .single-post-content { padding: 1.25rem; font-size: 15px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ══════════════════════════════════════════════
   HERO ACCUEIL — design v2
══════════════════════════════════════════════ */
.home-hero {
  background: var(--navy);
  padding: 0;
}
.home-hero .hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

/* Article principal */
.hero-main {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
  position: relative;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.hero-main:hover { transform: translateY(-2px); }

.hero-main-img {
  width: 100%;
  height: 340px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #0A4D2A 0%, #128A3A 50%, #1aad4a 100%);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
/* Overlay gradient foncé en bas quand image présente */
.hero-main-img.has-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,29,61,0) 30%,
    rgba(10,29,61,0.25) 70%,
    rgba(10,29,61,0.55) 100%
  );
  pointer-events: none;
}
.hero-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-fallback svg { width: 100%; height: 100%; }

.hero-main-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}

.hero-main-content {
  padding: 1.35rem;
  flex: 1;
}
.category-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--green);
}
.hero-main-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
}
.hero-main-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
  font-family: 'Lora', serif;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.meta-dot { color: var(--border); }

/* Sidebar hero */
.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  gap: 0;
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.hero-card:hover { transform: translateX(3px); }

.hero-card-img {
  width: 95px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.hero-card-img img {
  width: 100%;
  height: 100%;
  min-height: 95px;
  object-fit: cover;
  display: block;
}
.hero-card-img-fallback {
  width: 100%;
  min-height: 95px;
  height: 100%;
}
/* Couleurs de fallback par catégorie */
.hero-card-color-actualites  { background: linear-gradient(135deg,#0A1D3D,#1a3a5c); }
.hero-card-color-reportages  { background: linear-gradient(135deg,#064e3b,#128A3A); }
.hero-card-color-analyses    { background: linear-gradient(135deg,#1e1b4b,#3730a3); }
.hero-card-color-tribune     { background: linear-gradient(135deg,#451a03,#92400e); }
.hero-card-color-agenda      { background: linear-gradient(135deg,#0c4a6e,#0369a1); }
.hero-card-color-opportunites{ background: linear-gradient(135deg,#7f1d1d,#dc2626); }

.hero-card-body {
  padding: 10px 12px;
  flex: 1;
  min-width: 0;
}
.hero-card-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.hero-card-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-card-date {
  font-size: 10px;
  color: var(--text-muted);
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  display: block;
}
.stat-number span { color: var(--orange); }
.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

/* ── REPORTAGE CARD horizontal ── */
.reportage-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
  text-decoration: none;
  color: inherit;
}
.reportage-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 32px rgba(10,29,61,0.12);
  border-left: 4px solid var(--green);
}
.reportage-card-img {
  width: 220px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  background: var(--light);
}
.reportage-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reportage-card-body {
  padding: 1.25rem;
  flex: 1;
}
.reportage-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 8px;
}
.reportage-card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
  font-family: 'Lora', serif;
}

/* ── ARTICLE CARD — fallback images ── */
.card-img-fallback {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-fallback-actualites   { background: linear-gradient(135deg,#0d3d27,#128A3A); }
.card-fallback-reportages   { background: linear-gradient(135deg,#064e3b,#065f46); }
.card-fallback-analyses     { background: linear-gradient(135deg,#1e1b4b,#3730a3); }
.card-fallback-tribune      { background: linear-gradient(135deg,#2d1505,#7c2d12); }
.card-fallback-agenda       { background: linear-gradient(135deg,#0c2a4d,#1e40af); }
.card-fallback-opportunites { background: linear-gradient(135deg,#7f1d1d,#b91c1c); }
.fallback-icon { font-size: 32px; opacity: 0.4; }

/* ── READ TIME ── */
.read-time { display: flex; align-items: center; gap: 4px; }

/* ══════════════════════════════════════════════
   RESPONSIVE HERO
══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .home-hero .hero-inner {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1rem;
  }
  .hero-main-img { height: 240px; }
  .hero-main-title { font-size: 17px; }
  .hero-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-card { width: calc(50% - 0.45rem); }

  /* Stats bar: 2×2 */
  .stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0.75rem;
  }
  .stat-item {
    padding: 0.75rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .stat-item:nth-child(1),
  .stat-item:nth-child(3) { border-right: 1px solid var(--border); }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-bottom: none; }

  /* Reportage: stack */
  .reportage-card { flex-direction: column; }
  .reportage-card-img { width: 100%; height: 160px; }
}

@media (max-width: 600px) {
  .home-hero .hero-inner { padding: 0.75rem; }
  .hero-main-img { height: 200px; }
  .hero-main-content { padding: 1rem; }
  .hero-main-title { font-size: 15px; }
  .hero-sidebar { flex-direction: column; }
  .hero-card { width: 100%; }
  .hero-card-img { width: 88px; }
  .stats-bar { padding: 0.5rem; }
  .stat-number { font-size: 18px; }
  .stat-label { font-size: 10px; }
}
