/* ============================================================
   Portail Officiel du Gouverneur — Province de Maï-Ndombe
   Feuille de style publique
   ============================================================ */

:root {
  --bleu:        #0b3d63;
  --bleu-fonce:  #072844;
  --bleu-clair:  #e8f1f9;
  --or:          #d4a017;
  --or-clair:    #f7e4a8;
  --rouge:       #b3202c;
  --vert:        #1c7a4b;
  --gris-texte:  #33404d;
  --gris-clair:  #f4f6f9;
  --bordure:     #e2e8ef;
  --ombre:       0 4px 18px rgba(7, 40, 68, .08);
  --font-titre:  'Playfair Display', Georgia, serif;
  --font-texte:  'Barlow', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-texte);
  color: var(--gris-texte);
  background: #fff;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { font-family: var(--font-titre); color: var(--bleu-fonce); line-height: 1.25; }

/* ── TOPBAR ─────────────────────────────────────────────── */
.topbar {
  background: var(--bleu-fonce);
  color: rgba(255,255,255,.85);
  font-size: 12.5px;
  padding: 7px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-inner { max-width: 1180px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.topbar-date { opacity: .85; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-social a { color: rgba(255,255,255,.75); margin-left: 10px; font-size: 13px; }
.topbar-admin {
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.3);
  padding: 3px 11px;
  border-radius: 3px;
  font-size: 11.5px;
}
.topbar-admin:hover { background: rgba(255,255,255,.12); }

/* ── HEADER ─────────────────────────────────────────────── */
.header { background: #fff; border-bottom: 1px solid var(--bordure); padding: 18px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo-block { display: flex; align-items: center; gap: 14px; }
.logo-emblem {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--or);
  flex-shrink: 0;
}
.logo-text-wrap .logo-name { font-family: var(--font-titre); font-size: 24px; font-weight: 900; color: var(--bleu-fonce); }
.logo-text-wrap .logo-name span { color: var(--or); }
.logo-text-wrap .logo-tagline { font-size: 12.5px; color: #6b7a89; margin-top: 2px; }
.header-search { display: flex; align-items: center; background: var(--gris-clair); border: 1px solid var(--bordure); border-radius: 24px; padding: 6px 6px 6px 16px; }
.header-search input { border: none; background: none; outline: none; font-size: 13.5px; width: 190px; font-family: var(--font-texte); }
.header-search button { background: var(--bleu); border: none; width: 32px; height: 32px; border-radius: 50%; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* ── NAV ────────────────────────────────────────────────── */
.nav { background: var(--bleu); }
.nav-inner { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-inner a {
  color: rgba(255,255,255,.88);
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  border-bottom: 3px solid transparent;
  transition: all .15s;
}
.nav-inner a:hover, .nav-inner a.active {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-bottom-color: var(--or);
}

/* ── BANDEAU ANNONCE (defile) ───────────────────────────── */
.bandeau {
  background: var(--or-clair);
  border-bottom: 1px solid var(--bordure);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 9px 0;
}
.bandeau-label {
  background: var(--rouge); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 5px 14px; border-radius: 3px; white-space: nowrap; margin-left: 20px;
  text-transform: uppercase; letter-spacing: .4px;
}
.bandeau-track { flex: 1; overflow: hidden; margin-left: 14px; }
.bandeau-text { white-space: nowrap; font-size: 13.5px; color: var(--bleu-fonce); font-weight: 500; }

/* ── BANDEAU DERNIERES ACTUALITES (defilement continu) ──── */
.news-ticker {
  background: var(--bleu-fonce); display: flex; align-items: center;
  overflow: hidden; padding: 10px 0;
}
.news-ticker-label {
  background: var(--or); color: var(--bleu-fonce); font-size: 11.5px; font-weight: 700;
  padding: 5px 14px; border-radius: 3px; white-space: nowrap; margin-left: 20px;
  text-transform: uppercase; letter-spacing: .4px; flex-shrink: 0;
}
.news-ticker-track { flex: 1; overflow: hidden; margin-left: 16px; }
.news-ticker-content {
  display: flex; align-items: center; gap: 40px; white-space: nowrap;
  width: max-content; animation: ticker-scroll 32s linear infinite;
}
.news-ticker:hover .news-ticker-content { animation-play-state: paused; }
.news-ticker-content a { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 13.5px; font-weight: 500; }
.news-ticker-content a:hover span { color: var(--or-clair); text-decoration: underline; }
.news-ticker-content a strong { color: var(--or-clair); }
.news-ticker-content a img {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--or); flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── HERO / A LA UNE ────────────────────────────────────── */
.hero-section { padding: 34px 0; }
.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; }
.hero-main { position: relative; border-radius: 10px; overflow: hidden; box-shadow: var(--ombre); background: var(--bleu-clair); }
.hero-main .hero-img { width: 100%; height: 420px; object-fit: cover; }
.hero-main .hero-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(7,40,68,.95) 10%, rgba(7,40,68,.2) 80%, transparent 100%);
  padding: 60px 28px 24px;
}
.hero-tag { display: inline-block; background: var(--or); color: var(--bleu-fonce); font-size: 11.5px; font-weight: 700; text-transform: uppercase; padding: 4px 12px; border-radius: 3px; margin-bottom: 10px; }
.hero-overlay h1 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.hero-overlay p { color: rgba(255,255,255,.82); font-size: 14px; max-width: 600px; }
.hero-meta { color: rgba(255,255,255,.6); font-size: 12px; margin-top: 10px; }

.hero-tag-une { background: var(--rouge); color: #fff; margin-right: 8px; }

.une-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.une-card { display: flex; gap: 12px; background: #fff9ec; border: 1px solid var(--or-clair); border-radius: 8px; padding: 10px; transition: box-shadow .15s; }
.une-card:hover { box-shadow: var(--ombre); }
.une-card img { width: 100px; height: 74px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: var(--bleu-clair); }
.une-badge { display: inline-block; font-size: 10px; font-weight: 700; color: var(--rouge); text-transform: uppercase; margin-bottom: 4px; }
.une-card h4 { font-size: 13.5px; line-height: 1.35; }

.une-ribbon {
  position: absolute; top: 10px; left: 0;
  background: var(--rouge); color: #fff; font-size: 10.5px; font-weight: 700;
  padding: 4px 12px 4px 10px; border-radius: 0 4px 4px 0; text-transform: uppercase; letter-spacing: .3px;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}

.hero-side { display: flex; flex-direction: column; gap: 14px; }
.side-card { display: flex; gap: 12px; background: #fff; border: 1px solid var(--bordure); border-radius: 8px; padding: 10px; transition: box-shadow .15s; }
.side-card:hover { box-shadow: var(--ombre); }
.side-card img { width: 92px; height: 70px; object-fit: cover; border-radius: 5px; flex-shrink: 0; background: var(--bleu-clair); }
.side-card .side-tag { font-size: 10.5px; color: var(--vert); font-weight: 700; text-transform: uppercase; }
.side-card h4 { font-size: 14px; margin: 4px 0 3px; line-height: 1.35; }
.side-card .side-date { font-size: 11.5px; color: #90a0af; }

/* ── SECTION TITRES ─────────────────────────────────────── */
.section { padding: 38px 0; }
.section.alt { background: var(--gris-clair); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; border-bottom: 2px solid var(--bordure); padding-bottom: 12px; }
.section-head h2 { font-size: 23px; position: relative; padding-left: 14px; border-left: 5px solid var(--or); }
.section-head a.voir-tout { font-size: 13px; font-weight: 600; color: var(--bleu); }

/* ── GRILLE ARTICLES ────────────────────────────────────── */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { background: #fff; border: 1px solid var(--bordure); border-radius: 9px; overflow: hidden; transition: transform .18s, box-shadow .18s; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.article-card .card-img { width: 100%; height: 175px; object-fit: cover; background: var(--bleu-clair); }
.article-card .card-body { padding: 16px; }
.card-tag { font-size: 10.5px; font-weight: 700; text-transform: uppercase; color: var(--vert); letter-spacing: .3px; }
.article-card h3 { font-size: 16.5px; margin: 7px 0 8px; line-height: 1.35; }
.article-card p { font-size: 13.5px; color: #607080; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 11.5px; color: #90a0af; border-top: 1px solid var(--bordure); padding-top: 10px; }

/* ── CHIFFRES CLES ──────────────────────────────────────── */
.stats-band { background: var(--bleu-fonce); padding: 34px 0; }
.stats-band .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; text-align: center; }
.stats-band .stat b { display: block; font-family: var(--font-titre); font-size: 34px; color: var(--or); }
.stats-band .stat span { color: rgba(255,255,255,.75); font-size: 13px; }

/* ── PARTAGE ARTICLE ────────────────────────────────────── */
.share-bar { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 16px 0 26px; }
.share-label { font-size: 13px; font-weight: 600; color: var(--gris-texte); margin-right: 2px; }
.share-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; color: #fff;
  border: none; cursor: pointer; transition: transform .15s, opacity .15s;
}
.share-btn:hover { transform: translateY(-2px); opacity: .9; }
.share-btn .share-txt { font-weight: 800; font-size: 13px; line-height: 1; }
.share-whatsapp { background: #25D366; }
.share-facebook { background: #1877F2; }
.share-linkedin { background: #0A66C2; }
.share-twitter  { background: #000; }
.share-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.share-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  background: var(--bleu-fonce); color: #fff; font-size: 13px;
  padding: 10px 18px; border-radius: 6px; opacity: 0; pointer-events: none;
  transition: opacity .2s; z-index: 999; white-space: nowrap; box-shadow: var(--ombre);
}
.share-toast.visible { opacity: 1; }
.share-bar-compact { gap: 6px; }
.share-bar-compact .share-btn { width: 26px; height: 26px; }
.share-bar-compact .share-btn svg { width: 13px; height: 13px; }
.share-bar-compact .share-txt { font-size: 10.5px; }

/* ── CARROUSEL "A LA UNE" ───────────────────────────────── */
.hero-slider { position: relative; width: 100%; height: 420px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide-caption {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(7,40,68,.72); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 6px 14px; border-radius: 20px; max-width: calc(100% - 32px);
}
.slider-dots { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: background .15s; }
.slider-dot.active, .slider-dot:hover { background: var(--or); }

/* ── GALERIE ─────────────────────────────────────────────── */
.galerie-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.galerie-item { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; background: var(--bleu-clair); cursor: pointer; }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.galerie-item:hover img { transform: scale(1.06); }
.galerie-item .galerie-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
  color: #fff; font-size: 12.5px; padding: 20px 10px 8px;
}
.galerie-item .share-bar-compact {
  position: absolute; top: 8px; right: 8px; margin: 0;
  opacity: 0; transition: opacity .15s;
}
.galerie-item:hover .share-bar-compact { opacity: 1; }

/* ── PROJETS REALISES ───────────────────────────────────── */
.projets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.projet-card { background: #fff; border: 1px solid var(--bordure); border-radius: 9px; overflow: hidden; transition: transform .18s, box-shadow .18s; }
.projet-card:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.projet-card .card-img { width: 100%; height: 175px; object-fit: cover; background: var(--bleu-clair); }
.projet-card .card-body { padding: 16px; }
.projet-card h3 { font-size: 16.5px; margin-bottom: 6px; line-height: 1.35; }
.projet-card .card-tag { display: block; font-size: 12px; color: var(--vert); font-weight: 600; margin-bottom: 8px; }
.projet-card p { font-size: 13.5px; color: #607080; }

/* ── VIDEOS ──────────────────────────────────────────────── */
.videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { background: #fff; border: 1px solid var(--bordure); border-radius: 9px; overflow: hidden; }
.video-embed { position: relative; width: 100%; padding-top: 56.25%; background: #000; }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-card .card-body { padding: 14px 16px; }
.video-card h3 { font-size: 15px; margin-bottom: 6px; }
.video-card p { font-size: 13px; color: #607080; }

/* ── LIGHTBOX ────────────────────────────────────────────── */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(5,15,25,.92); z-index: 999; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 6px; }
.lightbox-close { position: absolute; top: 22px; right: 32px; color: #fff; font-size: 32px; cursor: pointer; }
.lightbox-caption { position: absolute; bottom: 26px; color: #fff; font-size: 14px; text-align: center; width: 100%; }

/* ── BIOGRAPHIE ──────────────────────────────────────────── */
.bio-hero { background: linear-gradient(135deg, var(--bleu-fonce), var(--bleu)); padding: 50px 0; }
.bio-hero .container { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
.bio-photo { width: 260px; height: 260px; border-radius: 50%; object-fit: cover; border: 6px solid var(--or); box-shadow: 0 8px 30px rgba(0,0,0,.35); background: rgba(255,255,255,.1); }
.bio-hero h1 { color: #fff; font-size: 32px; }
.bio-hero .bio-fonction { color: var(--or-clair); font-size: 16px; font-weight: 600; margin: 6px 0 14px; }
.bio-hero .bio-resume { color: rgba(255,255,255,.85); font-size: 15px; max-width: 640px; }
.bio-contenu { padding: 44px 0; max-width: 860px; margin: 0 auto; font-size: 15.5px; }
.bio-contenu h2 { margin: 26px 0 12px; font-size: 21px; }
.bio-contenu p { margin-bottom: 14px; }

/* ── PAGE ACTUALITE / LISTE ──────────────────────────────── */
.page-banner { background: var(--bleu-fonce); padding: 34px 0; }
.page-banner h1 { color: #fff; font-size: 26px; }
.page-banner .fil-ariane { color: rgba(255,255,255,.6); font-size: 12.5px; margin-top: 6px; }
.page-banner .fil-ariane a { color: var(--or-clair); }

.liste-layout { display: grid; grid-template-columns: 2.2fr 1fr; gap: 30px; padding: 34px 0; }
.filtre-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filtre-cats a { font-size: 12.5px; padding: 6px 14px; border-radius: 16px; border: 1px solid var(--bordure); color: var(--gris-texte); font-weight: 500; }
.filtre-cats a.active, .filtre-cats a:hover { background: var(--bleu); color: #fff; border-color: var(--bleu); }

.liste-article { display: flex; gap: 16px; border-bottom: 1px solid var(--bordure); padding-bottom: 20px; margin-bottom: 20px; }
.liste-article img { width: 190px; height: 130px; object-fit: cover; border-radius: 7px; flex-shrink: 0; background: var(--bleu-clair); }
.liste-article h3 { font-size: 18px; margin: 4px 0 6px; }
.liste-article p { font-size: 13.5px; color: #607080; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.pagination a, .pagination span { padding: 7px 13px; border-radius: 5px; border: 1px solid var(--bordure); font-size: 13px; }
.pagination a:hover { background: var(--bleu); color: #fff; border-color: var(--bleu); }
.pagination .courant { background: var(--bleu); color: #fff; border-color: var(--bleu); }

.sidebar-block { background: var(--gris-clair); border-radius: 9px; padding: 18px; margin-bottom: 20px; }
.sidebar-block h3 { font-size: 15.5px; margin-bottom: 14px; border-bottom: 2px solid var(--or); padding-bottom: 8px; }
.sidebar-item { display: flex; gap: 10px; margin-bottom: 12px; }
.sidebar-item img { width: 62px; height: 50px; object-fit: cover; border-radius: 5px; background: var(--bleu-clair); }
.sidebar-item h4 { font-size: 13px; line-height: 1.3; }

/* ── ARTICLE DETAIL ──────────────────────────────────────── */
.article-detail { max-width: 800px; margin: 0 auto; padding: 36px 20px; }
.article-detail .art-tag { color: var(--vert); font-weight: 700; font-size: 12px; text-transform: uppercase; }
.article-detail h1 { font-size: 30px; margin: 10px 0 14px; }
.article-detail .art-meta { font-size: 13px; color: #90a0af; border-bottom: 1px solid var(--bordure); padding-bottom: 18px; margin-bottom: 20px; }
.article-detail .art-image { width: 100%; border-radius: 9px; margin-bottom: 22px; max-height: 460px; object-fit: cover; }
.article-detail .art-video { margin-bottom: 22px; border-radius: 9px; overflow: hidden; }
.article-detail .art-corps { font-size: 16px; line-height: 1.85; }
.article-detail .art-corps p { margin-bottom: 16px; }
.article-detail .art-corps h2 { margin: 24px 0 12px; font-size: 21px; }
.article-detail .art-corps img { border-radius: 8px; margin: 16px 0; }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 34px; padding: 40px 0; }
.contact-infos h2 { font-size: 22px; margin-bottom: 16px; }
.contact-item { display: flex; gap: 12px; margin-bottom: 18px; align-items: flex-start; }
.contact-item .ico { width: 38px; height: 38px; border-radius: 50%; background: var(--bleu-clair); color: var(--bleu); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.contact-item strong { display: block; font-size: 14px; }
.contact-item span { font-size: 13.5px; color: #607080; }
.contact-form { background: var(--gris-clair); border-radius: 10px; padding: 26px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--bleu-fonce); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--bordure); border-radius: 6px;
  font-family: var(--font-texte); font-size: 14px; background: #fff;
}
.form-group textarea { resize: vertical; }
.btn-envoyer { background: var(--bleu); color: #fff; border: none; padding: 12px 28px; border-radius: 6px; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.btn-envoyer:hover { background: var(--bleu-fonce); }
.alert { padding: 12px 16px; border-radius: 6px; font-size: 13.5px; margin-bottom: 18px; }
.alert-success { background: #e3f6ea; color: var(--vert); border: 1px solid #b8e6c8; }
.alert-error { background: #fbe8e9; color: var(--rouge); border: 1px solid #f3c1c5; }

.map-embed { border-radius: 10px; overflow: hidden; margin-top: 16px; height: 220px; background: var(--bleu-clair); display:flex; align-items:center; justify-content:center; color:#90a0af; font-size:13px; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--bleu-fonce); color: rgba(255,255,255,.75); padding: 46px 0 0; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 34px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-family: var(--font-titre); }
.footer-grid p, .footer-grid a { font-size: 13.5px; color: rgba(255,255,255,.65); line-height: 2; }
.footer-grid a:hover { color: var(--or-clair); }
.footer-logo { color: #fff; font-family: var(--font-titre); font-size: 20px; font-weight: 900; margin-bottom: 10px; }
.footer-logo span { color: var(--or); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 20px; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.5); }

/* ── EMPTY STATE ─────────────────────────────────────────── */
.empty-state { text-align: center; padding: 50px 20px; color: #90a0af; }
.empty-state .empty-icon { font-size: 40px; margin-bottom: 10px; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid, .liste-layout, .contact-grid, .bio-hero .container { grid-template-columns: 1fr; }
  .articles-grid, .videos-grid, .projets-grid { grid-template-columns: repeat(2,1fr); }
  .galerie-grid { grid-template-columns: repeat(3,1fr); }
  .stats-band .container { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .une-strip { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header-inner { flex-direction: column; gap: 14px; align-items: stretch; }
  .header-search { width: 100%; }
  .header-search input { width: 100%; flex: 1; }
  .nav-inner { justify-content: center; }
  .articles-grid, .videos-grid, .projets-grid { grid-template-columns: 1fr; }
  .galerie-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .liste-article { flex-direction: column; }
  .liste-article img { width: 100%; height: 180px; }
  .form-row2 { grid-template-columns: 1fr; }
  .hero-main .hero-img, .hero-slider { height: 240px; }
  .hero-overlay { padding: 30px 16px 16px; }
  .hero-overlay h1 { font-size: 21px; }
  .bio-hero .container { text-align: center; justify-items: center; }
  .bio-photo { width: 160px; height: 160px; border-width: 4px; }
  .bio-hero h1 { font-size: 24px; }
  .stats-band .container { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .topbar-inner { flex-wrap: wrap; gap: 6px 14px; justify-content: center; text-align: center; }
  .topbar-date { display: none; }
  .une-strip { gap: 10px; }
  .une-card img, .side-card img { width: 72px; height: 56px; }
}

@media (max-width: 400px) {
  .logo-text-wrap .logo-name { font-size: 19px; }
  .logo-emblem { width: 44px; height: 44px; }
  .nav-inner a { padding: 10px 12px; font-size: 13px; }
  .share-label { display: none; }
}
