/*
Theme Name: Commune de Kasa-Vubu
Theme URI: https://kasavubu.cd
Author: Commune de Kasa-Vubu
Description: Portail institutionnel professionnel de la Commune de Kasa-Vubu, conforme au design et aux fonctionnalités de kasavubu.cd.
Version: 2.29.0
Requires at least: 5.0
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: kasavubu
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.6; color: #334155;
  background: #ffffff;
}
a { text-decoration: none; color: inherit; transition: all 0.2s; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit; font-size: 14px;
  border: 1px solid #e5e7eb; border-radius: 8px;
  padding: 10px 16px; outline: none; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #0055A4; box-shadow: 0 0 0 3px rgba(0,85,164,0.15);
}

:root {
  --bleu: #0055A4;
  --bleuf: #002B5C;
  --jaune: #F4C430;
  --rouge: #CE1126;
  --gris: #F5F5F5;
  --texte: #1A1A2E;
  --tleger: #64748b;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media(min-width:640px){.container{padding:0 24px;}}

/* TOP BAR */
.topbar { background: var(--bleu); color: #fff; font-size: 12px; padding: 8px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 6px; }
@media(max-width:768px){ .topbar-right{display:none;} }

/* HEADER */
.header { background: #fff; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 48px; width: auto; border-radius: 6px; }
.logo-txt .logo-sub { font-size: 10px; color: var(--bleu); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.logo-txt .logo-title { font-size: 18px; font-weight: 800; color: var(--bleu); line-height: 1.1; letter-spacing: -0.5px; }

/* NAV */
.nav { display: none; }
@media(min-width:1024px){ .nav{display:flex;align-items:center;gap:2px;} }
.nav a { padding: 8px 12px; font-size: 14px; font-weight: 500; color: #334155; border-radius: 6px; }
.nav a:hover, .nav a.active { color: var(--bleu); }

.dropdown { position: relative; }
.dropbtn { display: flex; align-items: center; gap: 4px; padding: 8px 12px; font-size: 14px; font-weight: 500; color: #334155; border-radius: 6px; cursor: pointer; }
.dropbtn:hover { color: var(--bleu); }
.dropmenu {
  position: absolute; top: 100%; left: 0; margin-top: 4px;
  background: #fff; border: 1px solid #f1f5f9; border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12); min-width: 240px;
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.2s; z-index: 100;
}
.dropdown:hover .dropmenu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropmenu a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; font-size: 13px; font-weight: 600; color: #1A1A2E; }
.dropmenu a:hover { background: #f8fafc; color: var(--bleu); }
.dropmenu hr { border: 0; border-top: 1px solid #e5e7eb; margin: 4px 0; }
.droplabel { padding: 4px 10px; font-size: 10px; color: #94a3b8; font-weight: 700; text-transform: uppercase; }

.btn-contact { background: var(--jaune); color: var(--texte); padding: 9px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.btn-contact:hover { background: #e5a832; }

/* MOBILE */
.mob-btn { display: flex; padding: 8px; border-radius: 8px; color: var(--bleu); }
@media(min-width:1024px){ .mob-btn{display:none;} }
.mobnav { display: none; background: #fff; border-top: 1px solid #e5e7eb; box-shadow: 0 10px 30px rgba(0,0,0,0.1); max-height: 80vh; overflow-y: auto; }
.mobnav.open { display: block; }
.mobnav-inner { padding: 16px; }
.mobnav a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 6px; font-size: 14px; color: #334155; }
.mobnav a:hover { background: #f1f5f9; color: var(--bleu); }
.moblabel { padding: 10px 12px; font-size: 11px; color: #94a3b8; font-weight: 700; text-transform: uppercase; }

/* HERO */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; background: var(--bleuf); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.hero-over { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,43,92,0.92), rgba(0,43,92,0.7)); }
.hero-c { position: relative; z-index: 2; width: 100%; padding: 60px 16px; }
@media(min-width:640px){.hero-c{padding:80px 24px;}}
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media(min-width:1024px){.hero-grid{grid-template-columns:3fr 2fr;}}
.hero-tag { color: var(--jaune); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.hero h1 { font-size: 36px; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 16px; }
@media(min-width:768px){.hero h1{font-size:48px;}}
@media(min-width:1024px){.hero h1{font-size:52px;}}
.hero p { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 540px; margin-bottom: 28px; }
.btn1 { background: var(--jaune); color: var(--texte); padding: 13px 28px; border-radius: 6px; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.btn1:hover { background: #e5a832; }
.btn2 { border: 2px solid rgba(255,255,255,0.5); color: #fff; padding: 11px 26px; border-radius: 6px; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; background: transparent; }
.btn2:hover { background: #fff; color: var(--bleu); }

.quick { background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 25px 50px rgba(0,0,0,0.25); }
.quick-title { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.quick a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--texte); }
.quick a:hover { background: #f8fafc; }
.quick a .arr { margin-left: auto; color: #94a3b8; }

/* HERO CARDS */
.hcards { position: relative; z-index: 10; max-width: 1280px; margin: -50px auto 0; padding: 0 16px; }
@media(min-width:640px){.hcards{padding:0 24px;}}
.hcards-g { display: grid; gap: 12px; }
@media(min-width:768px){.hcards-g{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.hcards-g{grid-template-columns:repeat(4,1fr);}}
.hcard { background: #fff; border-radius: 10px; padding: 20px; border: 1px solid #f1f5f9; box-shadow: 0 10px 30px rgba(0,0,0,0.08); display: block; }
.hcard:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.12); transform: translateY(-3px); }
.hcard-num { color: var(--rouge); font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.hcard-t { font-size: 15px; font-weight: 700; color: var(--texte); margin-bottom: 2px; }
.hcard-d { font-size: 12px; color: #94a3b8; }

/* SECTIONS */
.sec { padding: 60px 0; }
@media(min-width:768px){.sec{padding:80px 0;}}
.sec-t { font-size: 12px; font-weight: 700; color: var(--rouge); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.sec-t2 { font-size: 12px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.sec-h { font-size: 26px; font-weight: 800; color: var(--texte); line-height: 1.2; margin-bottom: 12px; }
@media(min-width:768px){.sec-h{font-size:34px;}}
.sec-p { color: var(--tleger); font-size: 15px; line-height: 1.7; }

/* GRIDS */
.g2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media(max-width:768px){ .g2,.g3,.g4{grid-template-columns:1fr;} }
@media(min-width:769px) and (max-width:1024px){ .g4{grid-template-columns:repeat(2,1fr);} }

/* CARDS */
.card { background: #fff; border: 1px solid #f1f5f9; border-radius: 12px; padding: 24px; transition: all 0.3s; }
.card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-3px); }
.card-icon { width: 44px; height: 44px; background: rgba(0,85,164,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--bleu); }
.card:hover .card-icon { background: var(--bleu); color: #fff; }
.card-t { font-size: 17px; font-weight: 700; color: var(--texte); margin-bottom: 6px; }
.card-d { font-size: 14px; color: var(--tleger); line-height: 1.6; }

/* TAGS */
.tag { display: inline-block; padding: 7px 18px; background: #fff; border: 1px solid #e5e7eb; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--texte); margin: 4px; cursor: pointer; }
.tag:hover { background: var(--bleu); color: #fff; border-color: var(--bleu); }

/* NEWS */
.news-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media(max-width:768px){.news-g{grid-template-columns:1fr;}}
.news-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #f1f5f9; transition: all 0.3s; }
.news-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-3px); }
.news-img { height: 180px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 18px; }
.news-cat { font-size: 11px; font-weight: 700; color: var(--rouge); text-transform: uppercase; letter-spacing: 1px; }
.news-t { font-size: 16px; font-weight: 700; color: var(--texte); margin: 8px 0; line-height: 1.35; }
.news-d { font-size: 14px; color: var(--tleger); line-height: 1.6; }
.news-l { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--bleu); margin-top: 10px; }

/* FOOTER */
.footer { background: var(--bleuf); color: #fff; padding: 50px 0 20px; }
.fg { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 32px; }
@media(max-width:768px){.fg{grid-template-columns:1fr;}}
.f-logo img { height: 56px; border-radius: 8px; margin-bottom: 12px; }
.f-logo p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.7; }
.f-t { font-size: 12px; font-weight: 700; color: var(--jaune); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.f-links a { display: block; font-size: 14px; color: rgba(255,255,255,0.7); padding: 5px 0; }
.f-links a:hover { color: #fff; padding-left: 4px; }
.f-contact p { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.f-bot { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 32px; padding-top: 20px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); }

/* PAGE HEADER */
.pheader { position: relative; padding: 70px 0; background: var(--bleuf); overflow: hidden; }
.pheader::before { content: ''; position: absolute; inset: 0; background: url('images/bourgmestre.jpg') center/cover; opacity: 0.12; }
.pheader::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,43,92,0.92), rgba(0,85,164,0.85)); }
.pheader .container { position: relative; z-index: 2; }
.pheader h1 { font-size: 34px; font-weight: 800; color: #fff; }
@media(min-width:768px){.pheader h1{font-size:40px;}}
.pheader p { color: rgba(255,255,255,0.75); margin-top: 8px; font-size: 15px; }
.bread { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 12px; }

/* FORMS */
.formsec { background: var(--gris); padding: 50px 0; }
.formbox { background: #fff; border-radius: 14px; padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); max-width: 900px; margin: 0 auto; }
@media(max-width:640px){.formbox{padding:20px;}}
.formbox h2 { font-size: 20px; font-weight: 700; color: var(--texte); margin-bottom: 6px; }
.formbox > p { color: var(--tleger); font-size: 14px; margin-bottom: 20px; }
.fg2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media(max-width:640px){.fg2{grid-template-columns:1fr;}}
.fg4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media(max-width:768px){.fg4{grid-template-columns:repeat(2,1fr);}}
.fgroup { margin-bottom: 16px; }
.fgroup label { display: block; font-size: 13px; font-weight: 600; color: var(--texte); margin-bottom: 5px; }
.fsec { font-size: 12px; font-weight: 700; color: var(--bleu); text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid #e5e7eb; padding-bottom: 8px; margin: 20px 0 12px; }
.fsub { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; margin-top: 12px; margin-bottom: 6px; }
.btn-submit { width: 100%; background: var(--bleu); color: #fff; padding: 13px; border-radius: 8px; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; border: none; }
.btn-submit:hover { background: #004488; }

/* STEPS */
.steps { display: flex; gap: 12px; margin-bottom: 24px; }
.step { flex: 1; text-align: center; padding: 14px; border-radius: 10px; border: 2px solid #e5e7eb; }
.step.active { border-color: var(--bleu); background: rgba(0,85,164,0.04); }
.step-num { width: 30px; height: 30px; background: var(--bleu); color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.step-t { font-size: 12px; font-weight: 600; color: var(--texte); }

/* SERVICE SELECTOR */
.sgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-height: 380px; overflow-y: auto; }
@media(max-width:640px){.sgrid{grid-template-columns:1fr;}}
.sopt { text-align: left; padding: 12px 14px; border-radius: 8px; border: 1.5px solid #e5e7eb; background: #fff; font-size: 14px; font-weight: 500; color: #334155; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.sopt:hover { border-color: var(--bleu); background: rgba(0,85,164,0.03); }
.sopt.sel { border-color: var(--bleu); background: rgba(0,85,164,0.06); color: var(--bleu); }

/* TYPE SELECTOR */
.tgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media(max-width:640px){.tgrid{grid-template-columns:1fr;}}
.tcard { text-align: left; padding: 18px; border-radius: 10px; border: 1.5px solid #e5e7eb; background: #fff; cursor: pointer; display: flex; align-items: center; gap: 12px; }
.tcard:hover { border-color: var(--bleu); background: rgba(0,85,164,0.03); }
.tcard.sel { border-color: var(--bleu); background: rgba(0,85,164,0.06); }
.ticon { width: 40px; height: 40px; background: rgba(0,85,164,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.tcard.sel .ticon { background: var(--bleu); color: #fff; }
.tlabel { font-size: 14px; font-weight: 600; }
.tcard.sel .tlabel { color: var(--bleu); }

/* TRACK */
.ttrack { max-width: 560px; margin: 0 auto; text-align: center; }
.tinput { position: relative; margin-bottom: 20px; }
.tinput input { padding-left: 40px; text-transform: uppercase; }
.tinput .ticon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 16px; color: #94a3b8; }
.tbtn { background: var(--bleu); color: #fff; padding: 12px 28px; border-radius: 8px; font-weight: 600; border: none; font-size: 15px; }
.tbtn:hover { background: #004488; }

/* RESULT */
.rcard { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; margin-top: 24px; text-align: left; }
.rhead { padding: 20px; }
.rhead.recu { background: #eff6ff; }
.rhead.en_traitement { background: #fffbeb; }
.rhead.approuve { background: #f0fdf4; }
.rhead.rejete { background: #fef2f2; }
.rref { font-size: 22px; font-weight: 800; color: var(--bleu); letter-spacing: 1px; }
.sbadge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.sb-recu { background: #dbeafe; color: #1d4ed8; }
.sb-en { background: #fef3c7; color: #b45309; }
.sb-app { background: #dcfce7; color: #15803d; }
.sb-rej { background: #fee2e2; color: #b91c1c; }

/* ALERT */
.okbox { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 28px; text-align: center; max-width: 480px; margin: 0 auto; }
.okicon { width: 56px; height: 56px; background: #dcfce7; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 24px; }
.okbox h3 { font-size: 20px; font-weight: 700; color: var(--texte); margin-bottom: 6px; }
.okbox p { color: var(--tleger); font-size: 14px; margin-bottom: 16px; }
.refbox { background: rgba(0,85,164,0.06); border-radius: 10px; padding: 14px; margin-bottom: 16px; }
.refbox .r1 { font-size: 12px; color: var(--tleger); }
.refbox .r2 { font-size: 26px; font-weight: 800; color: var(--bleu); letter-spacing: 2px; }

/* CONTACT */
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media(max-width:768px){.cgrid{grid-template-columns:1fr;}}
.cinfo { background: var(--bleu); color: #fff; border-radius: 12px; padding: 32px; }
.cinfo h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.citem { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; font-size: 14px; }
.citem strong { display: block; font-size: 11px; opacity: 0.7; margin-bottom: 2px; text-transform: uppercase; }

/* AUTHORITY */
.acard { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #f1f5f9; }
.aimg { height: 180px; overflow: hidden; }
.aimg img { width: 100%; height: 100%; object-fit: cover; }
.abody { padding: 18px; }
.alabel { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; }
.atitle { font-size: 16px; font-weight: 700; color: var(--texte); margin-bottom: 4px; }
.adesc { font-size: 14px; color: var(--tleger); line-height: 1.6; }

/* PAGINATION */
.pag { display: flex; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pag a, .pag span { padding: 8px 14px; border-radius: 6px; border: 1px solid #e5e7eb; font-size: 14px; font-weight: 500; }
.pag a:hover { background: var(--bleu); color: #fff; border-color: var(--bleu); }
.pag .current { background: var(--bleu); color: #fff; border-color: var(--bleu); }

/* UTILS */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-4 { gap: 16px; }
.hidden { display: none !important; }
.mayor-grid{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr);gap:60px;align-items:center}.mayor-photo img{width:100%;max-height:610px;object-fit:cover;border-radius:18px;box-shadow:22px 22px 0 #eaf2fb}.mayor-role{font-weight:800;color:var(--bleu);margin:-4px 0 18px}.mayor-grid p{margin-bottom:15px}.mayor-grid blockquote{border-left:5px solid var(--jaune);background:#f8fafc;padding:20px 24px;margin:24px 0;font-size:18px;font-style:italic;color:var(--bleuf)}
.institution-cover{position:relative;height:520px;overflow:hidden}.institution-cover>img{width:100%;height:100%;object-fit:cover}.institution-cover-overlay{position:absolute;inset:0;display:flex;align-items:flex-end;padding:70px 0;background:linear-gradient(0deg,rgba(0,31,75,.95),rgba(0,43,92,.25))}.institution-cover h1{font-size:clamp(38px,6vw,68px);color:#fff}.institution-cover p{color:rgba(255,255,255,.85);font-size:18px;max-width:760px}.history-copy{max-width:1000px}.history-copy>h2{font-size:29px;color:var(--bleuf);margin:34px 0 10px}.history-copy>p,.history-copy .intro-grid p{font-size:17px;line-height:1.8;margin-bottom:16px}.intro-grid{display:grid;grid-template-columns:1.5fr .8fr;gap:45px}.fact-card,.history-note{background:#f2f6fb;border-top:5px solid var(--jaune);padding:25px;border-radius:10px}.fact-card strong,.history-note strong{color:var(--bleuf);font-size:20px}.fact-card ul{margin:14px 0 0 20px}.fact-card li{margin:8px 0}.timeline{position:relative;padding-left:42px}.timeline:before{content:'';position:absolute;left:12px;top:6px;bottom:6px;width:3px;background:#d8e4f2}.timeline article{position:relative;margin-bottom:35px}.timeline article:before{content:'';position:absolute;left:-38px;top:6px;width:18px;height:18px;border:4px solid var(--bleu);background:#fff;border-radius:50%}.timeline span{display:inline-block;color:var(--rouge);font-size:12px;font-weight:800;letter-spacing:1px;text-transform:uppercase}.timeline h2{color:var(--bleuf);font-size:25px;margin:4px 0 8px}.timeline p{font-size:16px;line-height:1.75}
.avenue-intro{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:28px}.avenue-intro>div{max-width:760px}.street-explorer{position:relative;height:650px;border-radius:18px;overflow:hidden;border:1px solid #dbe4ef;box-shadow:0 18px 45px rgba(0,43,92,.14);background:#dbeafe}.street-explorer iframe{width:100%;height:100%;border:0}.street-child{position:absolute;width:110px;height:auto;left:50%;top:62%;z-index:4;pointer-events:none;transform:translate(-50%,-85%);filter:drop-shadow(0 8px 8px rgba(0,0,0,.35));transition:left .35s ease,top .35s ease}.street-child.walking{animation:kidWalk .35s ease-in-out infinite alternate}.walk-controls{position:absolute;z-index:5;right:18px;bottom:18px;background:rgba(0,43,92,.92);padding:10px;border-radius:14px;text-align:center;box-shadow:0 8px 22px rgba(0,0,0,.25)}.walk-controls button{width:44px;height:40px;margin:2px;background:#fff;color:var(--bleuf);border-radius:8px;font-weight:900;font-size:17px}.walk-controls button:hover{background:var(--jaune)}.walk-controls>button{display:block;margin:2px auto}.avenue-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px}.avenue-list article{background:#fff;border:1px solid #e3eaf2;border-radius:12px;padding:22px;border-top:4px solid var(--bleu)}.avenue-list h3{color:var(--bleuf);margin-bottom:7px}.avenue-list p{font-size:14px;color:var(--tleger)}@keyframes kidWalk{from{margin-top:0}to{margin-top:-7px}}
@media(max-width:768px){.mayor-grid,.intro-grid{grid-template-columns:1fr}.mayor-grid{gap:38px}.mayor-photo img{max-height:450px}.institution-cover{height:440px}.avenue-intro{align-items:flex-start;flex-direction:column}.street-explorer{height:520px}.street-child{width:82px}.avenue-list{grid-template-columns:1fr}.walk-controls{right:10px;bottom:10px}.walk-controls button{width:39px;height:36px}}
.portal-hero .hero-bg img{content:url('images/monument-kasavubu-accueil.jpg')}.dropmenu.commune-menu{min-width:270px}.drop-visual{position:relative;margin-bottom:7px;border-radius:7px;overflow:hidden}.drop-visual img{width:100%;height:105px;object-fit:cover}.drop-visual span{position:absolute;inset:auto 0 0;padding:20px 10px 8px;background:linear-gradient(transparent,rgba(0,43,92,.9));color:#fff;font-size:12px;font-weight:800}.mobile-avenues-quick{display:none}

/* v2.4 — photos entièrement visibles et animation douce de l'accueil */
.hero-bg,.institution-photo,.mayor-photo,.aimg,.news-img,.article-featured,.drop-visual{background:#edf3fa}
.hero-bg img,.institution-photo img,.mayor-photo img,.aimg img,.news-img img,.article-featured img,.drop-visual img,.institution-cover img{object-fit:contain!important;object-position:center!important}
.portal-hero .hero-bg img{padding:18px;animation:kvHeroPhoto 10s ease-in-out infinite alternate;transform-origin:center}
@keyframes kvHeroPhoto{0%{transform:scale(.94) translateY(5px);filter:saturate(.92)}100%{transform:scale(1) translateY(-5px);filter:saturate(1.08)}}
.home-avenues{padding:60px 0;background:#fff}.street-explorer--home{width:100%;height:auto;aspect-ratio:1537/379;min-height:300px;max-height:430px;border-radius:8px}.street-explorer--home .street-child{width:82px}.street-explorer--home .walk-controls{right:16px;bottom:16px}
.council-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.council-card{background:#fff;border:1px solid #dfe8f2;border-radius:12px;padding:22px;border-top:4px solid var(--jaune)}.council-card small{color:var(--bleu);font-weight:800;text-transform:uppercase}.council-card h3{font-size:18px;color:var(--bleuf);margin:8px 0}.council-card p{color:var(--tleger)}
.directory-toolbar{display:flex;gap:12px;margin:0 0 24px}.directory-search{width:100%;padding:14px 16px;border:1px solid #cbd7e5;border-radius:8px;font:inherit}.service-directory{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.service-person{background:#fff;border:1px solid #dfe8f2;border-radius:12px;padding:22px}.service-person h3{color:var(--bleuf);font-size:19px;margin-bottom:6px}.service-person .chief{color:var(--bleu);font-weight:800}.service-person ul{list-style:none;padding:0;margin:14px 0 0;font-size:14px;color:var(--tleger)}.service-person li{margin:5px 0}.service-person a{color:var(--bleu);font-weight:700}
@media(max-width:768px){.portal-hero .hero-bg img{padding:8px}.home-avenues{padding:42px 0}.street-explorer--home{aspect-ratio:auto;height:360px}.council-grid,.service-directory{grid-template-columns:1fr}}
.quartier-intro{background:#fff}.quartier-intro .section-actions{margin-top:24px}.quartier-directory{background:#f4f7fb}.quartier-tools{max-width:650px;margin:0 0 28px}.quartier-tools label{display:block;font-weight:800;color:var(--bleuf);margin-bottom:8px}.quartier-tools input{background:#fff;padding:14px 16px}.quartier-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.quartier-card{background:#fff;border:1px solid #dfe8f2;border-radius:14px;padding:24px;box-shadow:0 8px 26px rgba(0,43,92,.05);transition:.25s}.quartier-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(0,43,92,.12)}.quartier-card header{display:flex;gap:14px;align-items:center;border-bottom:1px solid #e8eef5;padding-bottom:15px}.quartier-card header>span{display:flex;width:46px;height:46px;align-items:center;justify-content:center;border-radius:10px;background:var(--bleu);color:#fff;font-weight:900}.quartier-card small{color:var(--bleu);font-weight:800;text-transform:uppercase}.quartier-card h3{color:var(--bleuf);font-size:22px}.quartier-desc{margin:16px 0;color:var(--tleger)}.quartier-card dl>div{padding:10px 0;border-top:1px solid #edf1f6}.quartier-card dt{font-size:12px;text-transform:uppercase;color:var(--tleger);font-weight:800}.quartier-card dd{color:var(--texte);font-weight:700}.quartier-card footer{display:flex;gap:10px;margin-top:18px}.quartier-card footer a{flex:1;text-align:center;border-radius:7px;padding:10px;background:#eaf2fb;color:var(--bleu);font-weight:800}.quartier-card footer a:hover{background:var(--bleu);color:#fff}.quartier-process{background:var(--bleuf);color:#fff}.process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.process-grid article{padding:26px;border:1px solid rgba(255,255,255,.17);border-radius:12px}.process-grid span{display:flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:50%;background:var(--jaune);color:var(--bleuf);font-weight:900}.process-grid h3{margin:14px 0 6px}.process-grid p{color:rgba(255,255,255,.75)}@media(max-width:768px){.quartier-grid,.process-grid{grid-template-columns:1fr}.quartier-card footer{flex-direction:column}}
@media(max-width:1023px){.mobile-avenues-quick{display:block;background:#f4c430;color:#002b5c;text-align:center;padding:9px;font-weight:800;font-size:13px}}
.article-hero{background:linear-gradient(135deg,#002b5c,#0758ad);color:#fff;padding:72px 0 110px}.article-hero .bread{color:rgba(255,255,255,.7)}.article-hero .news-cat{color:var(--jaune);margin:18px 0 8px}.article-hero h1{font-size:clamp(34px,5vw,58px);line-height:1.12;max-width:950px}.article-hero p{max-width:760px;margin-top:18px;color:rgba(255,255,255,.8);font-size:18px}.article-featured{margin-top:-70px}.article-featured img{width:100%;max-height:620px;object-fit:cover;border-radius:18px;box-shadow:0 18px 45px rgba(0,0,0,.18)}.article-layout{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(240px,.8fr);gap:54px;padding-top:54px;padding-bottom:70px}.article-content{font-size:17px;line-height:1.85;color:#334155}.article-content h2{font-size:27px;color:var(--bleuf);margin:32px 0 10px}.article-content p{margin-bottom:18px}.article-aside{align-self:start;background:#f4f7fb;border-top:4px solid var(--jaune);padding:24px;border-radius:10px}.article-aside p{margin:10px 0 20px;color:var(--tleger)}@media(max-width:768px){.article-layout{grid-template-columns:1fr;gap:28px}.article-hero{padding:55px 0 90px}.article-featured{margin-top:-48px}}

/* Formulaire municipal commun v2.1 */
.municipal-form{max-width:1000px}.municipal-form .step{min-width:0}.municipal-form .step-num{transition:.25s}.municipal-form .step.active .step-num{background:var(--jaune);color:var(--bleuf)}.select-service{max-width:680px;margin:28px auto 18px}.select-service select{font-size:16px;padding:15px 18px;background:#fff}.form-step>h2,.form-step>p{text-align:center}.form-summary{display:flex;justify-content:space-between;gap:12px;background:#eaf2fb;color:var(--bleuf);padding:14px 18px;border-left:4px solid var(--bleu);border-radius:8px;margin-bottom:22px}.fg3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.field-note{font-size:13px;color:var(--tleger);margin:-3px 0 15px}.form-details{border:1px solid #dfe7f0;border-radius:10px;margin:16px 0;background:#fbfdff}.form-details summary{cursor:pointer;padding:15px 18px;font-weight:700;color:var(--bleuf)}.form-details[open] summary{border-bottom:1px solid #dfe7f0}.form-details>div,.form-details>p{margin-left:18px;margin-right:18px}.form-details>div:first-of-type,.form-details>p:first-of-type{margin-top:16px}.consent{display:flex;gap:10px;align-items:flex-start;background:#f8fafc;border:1px solid #e5e7eb;padding:14px;border-radius:8px;font-size:13px}.consent input{width:auto;margin-top:4px}.form-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px}.form-actions .btn-submit{width:auto;min-width:240px;margin:0}.form-back{color:var(--bleu);font-weight:700;padding:10px 0;margin-top:18px}.step-next{max-width:320px;margin:18px auto 0}.tcard small{color:#7b8798}
@media(max-width:640px){.fg3{grid-template-columns:1fr}.steps{gap:5px}.step{padding:9px 4px}.step-t{font-size:10px}.formbox{padding:20px 14px}.form-summary,.form-actions{align-items:stretch;flex-direction:column}.form-actions .btn-submit{width:100%;min-width:0}}

/* Portail institutionnel v2 */
.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:16px;top:16px;z-index:999;background:#fff;padding:10px 16px;color:var(--bleuf)}
.official-logo{display:flex;align-items:center;max-width:220px}.official-logo img,.official-logo .custom-logo{width:auto;height:72px;max-width:220px;object-fit:contain;border-radius:0}.header{background:#1354a4;box-shadow:0 8px 24px rgba(0,43,92,.18)}.header-inner{height:104px}.nav>a,.dropbtn{color:#fff;font-weight:700}.nav>a:hover,.dropbtn:hover{color:var(--jaune)}.dropmenu{border-top:3px solid var(--jaune)}.mob-btn{color:#fff;font-size:24px}.btn-contact{padding:16px 22px;background:#ffbd2e;color:#07346d;font-weight:800}.topbar{background:#06295c}.topbar a{color:#fff}.portal-hero{min-height:680px}.portal-hero .hero-bg img{opacity:.72}.portal-hero .hero-over{background:linear-gradient(90deg,rgba(0,32,78,.94),rgba(0,65,140,.68),rgba(0,43,92,.38))}.portal-hero h1{font-size:clamp(46px,6vw,82px);letter-spacing:-2px}.hero-actions,.section-actions{display:flex;gap:12px;flex-wrap:wrap}.hcards-g{grid-template-columns:repeat(4,1fr)}.hcard{border-top:4px solid var(--jaune)}.split{display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center}.institution-photo img{width:100%;height:390px;object-fit:cover;border-radius:18px;box-shadow:24px 24px 0 #eaf2fb}.stats{display:grid;grid-template-columns:repeat(4,1fr);margin-top:48px;background:#fff;border:1px solid #e6edf5;border-radius:14px;overflow:hidden}.stats div{padding:28px;text-align:center;border-right:1px solid #e6edf5}.stats div:last-child{border-right:0}.stats strong{display:block;color:var(--bleu);font-size:28px}.stats span{font-size:13px;color:var(--tleger)}.services-home,.agenda-home{background:#f4f7fb}.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}.link-arrow{color:var(--bleu);font-weight:800}.btn-blue{display:inline-flex;background:var(--bleu);color:#fff;padding:12px 24px;border-radius:7px;font-weight:700}.service-home-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.service-feature{background:#fff;padding:26px;border-radius:12px;border:1px solid #e6edf5;box-shadow:0 8px 24px rgba(0,43,92,.05)}.service-feature:hover{transform:translateY(-4px);box-shadow:0 14px 35px rgba(0,43,92,.12)}.service-icon{display:flex;width:44px;height:44px;align-items:center;justify-content:center;background:#eaf2fb;color:var(--bleu);font-weight:800;border-radius:10px;margin-bottom:16px}.service-feature h3{font-size:19px;color:var(--texte);margin-bottom:8px}.service-feature p{font-size:14px;color:var(--tleger);min-height:68px}.service-feature b{font-size:13px;color:var(--bleu)}.empty-state,.agenda-placeholder{grid-column:1/-1;background:#fff;border:1px solid #e6edf5;border-radius:12px;padding:28px}.orientation{background:linear-gradient(120deg,#0b4ca0,#00346f);color:#fff;padding:40px 0}.orientation-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.orientation span{color:var(--jaune);font-weight:800;font-size:12px;letter-spacing:1.5px}.orientation h2{font-size:28px;margin:5px 0}.orientation p{color:rgba(255,255,255,.78)}.institutional-copy{font-size:17px;line-height:1.8}.institutional-copy .section-actions{margin-top:24px}
@media(min-width:1024px){.nav{display:flex;align-items:center;gap:4px}.mob-btn{display:none}}
@media(max-width:1023px){.btn-contact{display:none}.header-inner{height:82px}.official-logo img,.official-logo .custom-logo{height:60px}.topbar-right a:last-child{display:none}.portal-hero{min-height:620px}.hcards-g{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}.service-home-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.topbar-inner{align-items:flex-start;gap:4px}.topbar-right{display:none}.portal-hero{min-height:720px}.hero-grid{gap:24px}.portal-hero h1{font-size:45px}.quick{padding:14px}.hcards{margin:-28px auto 0}.hcards-g,.stats,.service-home-grid{grid-template-columns:1fr}.stats div{border-right:0;border-bottom:1px solid #e6edf5}.split{gap:32px}.institution-photo img{height:260px}.section-head,.orientation-inner{align-items:flex-start;flex-direction:column}.news-g{grid-template-columns:1fr}.fg{grid-template-columns:1fr}.orientation h2{font-size:23px}}

/* v2.8 — cartes de blogue pleines, agenda illustré et animations globales */
.news-img{position:relative;height:330px;display:block;background:#123f77}.news-img img{width:100%;height:100%;object-fit:cover!important;object-position:center!important}.news-img::after{content:"";position:absolute;inset:34% 0 0;background:linear-gradient(transparent,rgba(0,24,61,.94))}.news-img-caption{position:absolute;z-index:2;left:22px;right:22px;bottom:20px;color:#fff;font-size:21px;line-height:1.25;font-weight:800;text-shadow:0 2px 7px rgba(0,0,0,.55)}.news-body{display:flex;flex-direction:column;min-height:190px}.news-d{flex:1}.news-l{display:inline-flex;align-items:center;color:var(--bleu);font-weight:800;margin-top:12px}
.event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.event-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;box-shadow:0 8px 24px rgba(0,43,92,.06)}.event-image{display:block;position:relative;height:220px;overflow:hidden;background:#dce8f5}.event-image img{width:100%;height:100%;object-fit:cover!important;transition:transform .55s ease}.event-card:hover .event-image img{transform:scale(1.06)}.event-date{position:absolute;top:14px;left:14px;background:var(--jaune);color:var(--bleuf);padding:8px 11px;border-radius:8px;font-weight:900;text-transform:uppercase}.event-body{padding:22px}.event-location{color:var(--bleu);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.4px}.event-body h3{font-size:20px;line-height:1.3;color:var(--bleuf);margin:8px 0}.event-body>p:last-of-type{color:var(--tleger)}
.kv-card-reveal{opacity:0;transform:translateY(30px) scale(.985);transition:opacity .65s ease var(--kv-delay,0ms),transform .65s cubic-bezier(.2,.75,.2,1) var(--kv-delay,0ms),box-shadow .3s ease!important}.kv-card-reveal.kv-card-visible{opacity:1;transform:translateY(0) scale(1)}.kv-card-reveal.kv-card-visible:hover{transform:translateY(-7px) scale(1.01)!important;box-shadow:0 18px 42px rgba(0,43,92,.15)!important}
@media(max-width:900px){.event-grid{grid-template-columns:1fr 1fr}.news-img{height:290px}}@media(max-width:640px){.event-grid{grid-template-columns:1fr}.news-img{height:270px}.event-image{height:220px}.news-img-caption{font-size:18px;left:17px;right:17px;bottom:16px}}@media(prefers-reduced-motion:reduce){.kv-card-reveal{opacity:1;transform:none;transition:none!important}}

/* v2.11 — menu blanc/jaune et galerie WordPress */
.nav>a,.dropbtn{color:#fff!important}.nav>a:hover,.dropbtn:hover,.nav .dropdown:hover>.dropbtn{color:var(--jaune)!important}.dropmenu{background:#fff}.dropmenu a{color:var(--bleuf)!important}.dropmenu a:hover{background:#fff8d6;color:#9a6900!important}
.gallery-admin-note{background:#fff8d6;border-left:5px solid var(--jaune);padding:16px 20px;margin-bottom:28px;border-radius:6px}.gallery-grid{columns:4 250px;column-gap:18px}.gallery-item{position:relative;display:inline-block;width:100%;margin:0 0 18px;border-radius:13px;overflow:hidden;background:#dfe8f2;box-shadow:0 8px 24px rgba(0,43,92,.1);cursor:zoom-in}.gallery-item img{width:100%;height:auto;display:block;transition:transform .55s ease}.gallery-item:hover img{transform:scale(1.045)}.gallery-item figcaption{position:absolute;left:0;right:0;bottom:0;padding:35px 16px 14px;background:linear-gradient(transparent,rgba(0,31,73,.94));color:#fff;font-weight:800;transform:translateY(100%);transition:transform .3s ease}.gallery-item:hover figcaption{transform:translateY(0)}.gallery-modal{position:fixed;z-index:99999;inset:0;background:rgba(0,18,44,.94);display:none;align-items:center;justify-content:center;padding:30px}.gallery-modal.open{display:flex}.gallery-modal img{max-width:92vw;max-height:86vh;object-fit:contain}.gallery-modal button{position:absolute;top:20px;right:25px;color:#fff;font-size:38px}.gallery-modal p{position:absolute;left:20px;right:20px;bottom:12px;color:#fff;text-align:center;font-weight:700}@media(max-width:640px){.gallery-grid{columns:2 145px;column-gap:10px}.gallery-item{margin-bottom:10px}.gallery-item figcaption{font-size:12px;transform:none;padding:25px 10px 8px}}
.mobile-quick-links{display:none}@media(max-width:1023px){.mobile-quick-links{display:grid;grid-template-columns:1fr 1fr}.mobile-quick-links .mobile-avenues-quick{display:block}.mobile-quick-links .mobile-avenues-quick+.mobile-avenues-quick{background:#fff;color:var(--bleuf);border-bottom:1px solid #e2e8f0}}

/* v2.12 — accueil institutionnel, actualités et agenda inspirés des portails communaux */
.portal-hero .hero-bg img{padding:0!important;object-fit:cover!important;opacity:.44!important;filter:brightness(.62) saturate(.86)}.portal-hero .hero-over{background:linear-gradient(90deg,rgba(0,22,58,.97),rgba(0,45,104,.82),rgba(0,28,70,.66))!important}
.institution-photo{aspect-ratio:639/428;border-radius:18px;overflow:hidden;background:#dce8f5;box-shadow:24px 24px 0 #eaf2fb}.institution-photo img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;border-radius:0!important;box-shadow:none!important}
.service-feature{position:relative;isolation:isolate;overflow:hidden;transition:transform .35s ease,box-shadow .35s ease,color .35s ease}.service-feature:before{content:"";position:absolute;z-index:-1;inset:-40%;background:radial-gradient(circle at 25% 20%,rgba(62,185,255,.95),transparent 35%),linear-gradient(135deg,#0068d7,#002f75);opacity:0;transform:scale(.65) rotate(-7deg);transition:opacity .38s ease,transform .55s ease}.service-feature:hover,.service-feature:focus-visible{color:#fff;transform:translateY(-7px);box-shadow:0 0 0 1px rgba(72,187,255,.72),0 18px 45px rgba(0,92,205,.38),inset 0 0 36px rgba(84,204,255,.22)}.service-feature:hover:before,.service-feature:focus-visible:before{opacity:1;transform:scale(1) rotate(0)}.service-feature:hover h3,.service-feature:hover p,.service-feature:hover b,.service-feature:focus-visible h3,.service-feature:focus-visible p,.service-feature:focus-visible b{color:#fff!important}.service-feature:hover .service-icon,.service-feature:focus-visible .service-icon{background:var(--jaune);color:#082f68;box-shadow:0 0 24px rgba(255,196,40,.7)}
.slider-head-actions{display:flex;align-items:center;gap:10px}.slider-arrow{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#fff;border:2px solid #dce6f2;color:var(--bleu);font-size:22px;font-weight:900;transition:.25s ease}.slider-arrow:hover,.slider-arrow:focus-visible{background:var(--bleu);border-color:var(--bleu);color:#fff;transform:translateY(-2px)}.civic-slider{display:flex!important;grid-template-columns:none!important;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#aac3df transparent;padding:4px 4px 24px}.civic-slider::-webkit-scrollbar{height:7px}.civic-slider::-webkit-scrollbar-thumb{background:#aac3df;border-radius:20px}.civic-slide{flex:0 0 calc((100% - 44px)/3);scroll-snap-align:start}.news-card.civic-slide,.event-card.civic-slide{border-radius:4px 4px 14px 14px;border-top:5px solid var(--jaune)}.news-card.civic-slide .news-img{height:285px}.event-card.civic-slide .event-image{height:235px}.event-date{display:grid!important;grid-template-columns:auto auto;grid-template-rows:auto auto;gap:0 3px;min-width:68px;text-align:center;padding:7px 10px!important;border-radius:2px!important}.event-date small:first-child{grid-column:1/3;font-size:9px;letter-spacing:1px}.event-date strong{font-size:26px;line-height:1}.event-date small:last-child{font-size:13px;align-self:end}.news-l span{display:inline-block;margin-left:5px;transition:transform .25s}.news-l:hover span{transform:translateX(6px)}
@media(max-width:900px){.civic-slide{flex-basis:calc((100% - 22px)/2)}.institution-photo{box-shadow:15px 15px 0 #eaf2fb}.slider-head-actions{flex-wrap:wrap}.slider-head-actions .link-arrow{width:100%}}
@media(max-width:640px){body{font-size:15px}.header-inner{height:78px}.official-logo img,.official-logo .custom-logo{height:54px}.portal-hero{min-height:650px}.portal-hero h1{font-size:40px;line-height:1.02}.hero-c{padding:72px 0 50px}.hero-actions>a{width:100%;justify-content:center;text-align:center}.civic-slider-section{padding:52px 0}.civic-slide{flex-basis:88%}.news-card.civic-slide .news-img,.event-card.civic-slide .event-image{height:225px}.slider-head-actions{width:100%}.slider-arrow{width:42px;height:42px}.institution-photo{aspect-ratio:639/428}.section-head{gap:16px}.service-feature{padding:22px}.service-feature p{min-height:0}.mobile-quick-links{font-size:12px}}

/* v2.14 — proportions du portail kasavubu.cd et menu mobile institutionnel */
body{font-size:16px}.official-logo{display:flex;align-items:center;gap:10px;width:218px;max-width:218px;height:88px}.official-logo-emblem{flex:0 0 98px;height:86px;background:url('images/logo-kasavubu-officiel.jpeg') left center/179px 86px no-repeat}.official-logo-name{color:#fff;font-size:14px;line-height:1.08;font-weight:800;letter-spacing:.1px}.official-logo-name strong{font-size:15px}.official-logo img,.official-logo .custom-logo{width:auto;height:86px;max-width:218px}.header-inner{height:104px}.nav a,.dropbtn{font-size:14px;line-height:1.3}.portal-hero h1{font-size:clamp(48px,5.4vw,72px);line-height:1.03}.portal-hero .hero-grid>div>p:not(.hero-tag){font-size:18px;line-height:1.65}.mobnav-backdrop{display:none}
@media(max-width:1023px){body.mobile-menu-open{overflow:hidden}.header-inner{height:86px}.official-logo{width:190px;height:72px}.official-logo-emblem{flex-basis:82px;height:70px;background-size:146px 70px}.official-logo-name{font-size:12px}.official-logo-name strong{font-size:13px}.official-logo img,.official-logo .custom-logo{height:70px;max-width:190px}.mob-btn{display:grid;place-items:center;width:48px;height:48px;font-size:27px;border:1px solid rgba(255,255,255,.35);border-radius:5px}.mobile-quick-links{display:none}.mobnav-backdrop{display:block;position:fixed;z-index:998;inset:0;background:rgba(0,24,60,.64);opacity:0;visibility:hidden;transition:.3s}.mobnav-backdrop.open{opacity:1;visibility:visible}.mobnav{display:block;position:fixed;z-index:999;top:0;right:0;width:min(88vw,390px);height:100dvh;max-height:none;background:#fff;overflow-y:auto;box-shadow:-18px 0 48px rgba(0,25,64,.26);transform:translateX(105%);visibility:hidden;transition:transform .35s cubic-bezier(.2,.7,.2,1),visibility .35s}.mobnav.open{display:block;transform:translateX(0);visibility:visible}.mobnav-head{height:88px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;background:#1354a4;color:#fff;font-size:14px;letter-spacing:.2px}.mobnav-head strong{color:var(--jaune)}.mobnav-head button{width:42px;height:42px;color:#fff;font-size:32px;line-height:1}.mobnav-inner{padding:14px 18px 28px}.mobnav a,.mobnav summary{font-size:15px;font-weight:700;color:#17324f}.mobnav .mob-home,.mobnav details>summary{display:flex;align-items:center;justify-content:space-between;padding:15px 12px;border-bottom:1px solid #e7edf4;cursor:pointer}.mobnav details>summary{list-style:none}.mobnav details>summary::-webkit-details-marker{display:none}.mobnav details[open]>summary{color:#1354a4}.mobnav details[open]>summary span{transform:rotate(180deg)}.mobnav summary span{transition:transform .2s;color:#1354a4}.mob-sub{padding:5px 0 10px 12px;background:#f7f9fc}.mobnav .mob-sub a{padding:10px 14px;font-size:14px;font-weight:600;border-left:2px solid #dbe7f5;border-radius:0}.mobnav .mob-sub a:hover{background:#eaf3ff;border-left-color:var(--jaune)}.mob-contact{display:flex!important;justify-content:center!important;margin:20px 8px 0;padding:14px!important;background:var(--jaune);color:#07346d!important;border-radius:5px!important;font-weight:800!important}}
@media(max-width:640px){.topbar{font-size:11px;padding:6px 0}.header-inner{height:80px}.official-logo{width:174px;height:68px}.official-logo-emblem{flex-basis:76px;height:65px;background-size:135px 65px}.official-logo-name{font-size:11px}.official-logo-name strong{font-size:12px}.official-logo img,.official-logo .custom-logo{height:64px;max-width:174px}.mobnav-head{height:80px}.portal-hero h1{font-size:42px}.portal-hero .hero-grid>div>p:not(.hero-tag){font-size:16px}.sec-h{font-size:30px;line-height:1.15}}

/* v2.15 — emblème agrandi, nom complet et compteurs animés */
.header-inner{height:140px}.official-logo{width:184px;max-width:184px;height:134px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}.official-logo-emblem{flex:0 0 108px;width:123px;height:108px;background-size:225px 108px;background-position:left center}.official-logo-name{display:block;width:184px;text-align:center;color:#fff;font-size:12px;line-height:1.08;font-weight:800;letter-spacing:.45px;white-space:nowrap}.official-logo-name strong{display:inline-block;color:var(--jaune);font-size:15px;letter-spacing:.7px}.official-logo img,.official-logo .custom-logo{max-width:184px;max-height:126px;height:auto;width:auto}.stats div{position:relative;overflow:hidden}.stats div:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 25%,rgba(56,158,255,.16) 48%,transparent 70%);transform:translateX(-120%)}.stats div.stat-complete:after{animation:kvStatShine .85s ease-out}.stat-number{font-variant-numeric:tabular-nums;min-height:44px}.stats div.stat-complete .stat-number{animation:kvStatPop .5s ease-out}@keyframes kvStatShine{to{transform:translateX(120%)}}@keyframes kvStatPop{0%{transform:scale(.86);opacity:.55}70%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}
@media(max-width:1023px){.header-inner{height:116px}.official-logo{width:158px;height:110px}.official-logo-emblem{flex-basis:86px;width:98px;height:86px;background-size:179px 86px}.official-logo-name{width:158px;font-size:10px}.official-logo-name strong{font-size:13px}.official-logo img,.official-logo .custom-logo{max-width:158px;max-height:104px}.mobnav-head{height:86px}}
@media(max-width:640px){.header-inner{height:108px}.official-logo{width:148px;height:104px}.official-logo-emblem{flex-basis:82px;width:94px;height:82px;background-size:171px 82px}.official-logo-name{width:148px;font-size:9px}.official-logo-name strong{font-size:12px}.official-logo img,.official-logo .custom-logo{max-width:148px;max-height:98px}}

/* v2.16 — logo officiel fourni dans la barre de navigation */
.header-inner{height:112px}.official-logo{display:block;width:270px;max-width:270px;height:100px;overflow:hidden;border-radius:8px;flex:0 0 270px}.official-logo .menu-official-logo{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center 48%;border-radius:0}.official-logo-emblem,.official-logo-name{display:none}
@media(max-width:1180px){.official-logo{width:230px;max-width:230px;flex-basis:230px}.nav a,.dropbtn{font-size:13px}}
@media(max-width:1023px){.header-inner{height:92px}.official-logo{width:210px;max-width:210px;height:78px;flex-basis:210px}.official-logo .menu-official-logo{max-width:none;max-height:none;height:100%}}
@media(max-width:640px){.header-inner{height:82px}.official-logo{width:184px;max-width:184px;height:70px;flex-basis:184px;border-radius:6px}.official-logo .menu-official-logo{max-width:none;max-height:none;height:100%}}

/* v2.17 — grand ruban d'accueil inspiré de kasavubu.cd */
.portal-hero{overflow:hidden;background:#001436}
.portal-hero .hero-bg{overflow:hidden}
.portal-hero .hero-bg img{content:none!important;width:100%;height:100%;padding:0!important;object-fit:cover!important;object-position:center center!important;opacity:1!important;filter:none!important;transform-origin:center;will-change:transform;animation:kvHeroPan18 18s ease-in-out infinite alternate}
.portal-hero .hero-over{background:linear-gradient(90deg,rgba(0,20,54,.92),rgba(0,38,91,.64) 58%,rgba(0,20,54,.38)),linear-gradient(0deg,rgba(0,0,0,.28),rgba(0,0,0,.03))!important}
@keyframes kvHeroPan18{0%{transform:scale(1.03) translate3d(-.7%,.35%,0)}100%{transform:scale(1.12) translate3d(.7%,-.35%,0)}}
@media(prefers-reduced-motion:reduce){.portal-hero .hero-bg img{animation:none;transform:scale(1.04)}}

/* v2.18 — photo plein cadre et horloge animée */
.portal-hero .hero-bg img{object-fit:cover!important;object-position:center 58%!important}
.hero-clock{position:absolute;z-index:4;left:50%;bottom:22px;transform:translateX(-50%);display:flex;align-items:center;gap:12px;padding:10px 18px;border:1px solid rgba(255,255,255,.4);border-radius:999px;background:rgba(0,20,54,.72);box-shadow:0 8px 28px rgba(0,0,0,.24);color:#fff;font-variant-numeric:tabular-nums;backdrop-filter:blur(8px)}
.hero-clock-day{color:var(--jaune);font-size:12px;font-weight:800;letter-spacing:1px;text-transform:uppercase}.hero-clock-time{display:flex;align-items:center;font-size:20px;font-weight:800;letter-spacing:.5px}.hero-clock-time i{font-style:normal;margin:0 2px;animation:kvClockBlink 1s steps(1,end) infinite}
@keyframes kvClockBlink{0%,49%{opacity:1}50%,100%{opacity:.15}}
@media(max-width:640px){.hero-clock{bottom:14px;padding:8px 14px}.hero-clock-time{font-size:17px}.hero-clock-day{font-size:10px}}

/* v2.19 — photo Institution communale remplacée, dimensions conservées */
.institution-photo{height:390px;overflow:hidden;border-radius:18px;box-shadow:24px 24px 0 #eaf2fb}.institution-photo img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;border-radius:18px;box-shadow:none!important}
@media(max-width:768px){.institution-photo{height:auto;aspect-ratio:639/428}.institution-photo img{height:100%!important}}

/* v2.21 — horloge de Kinshasa en haut à gauche */
.hero-clock{left:clamp(18px,4vw,64px);right:auto;top:22px;bottom:auto;transform:none}
@media(max-width:640px){.hero-clock{left:14px;top:14px;bottom:auto}}

/* v2.22 — optimisation mobile et chargement léger */
.official-logo picture{display:block;width:100%;height:100%}.official-logo picture .menu-official-logo{width:100%;height:100%;object-fit:cover;object-position:center 48%}
.home .sec,.home .home-avenues{content-visibility:auto;contain-intrinsic-size:auto 720px}
@media(max-width:640px){.portal-hero .hero-bg img{animation:none!important;transform:scale(1.04)!important;will-change:auto}.kv-card-reveal{transition-duration:.25s}.service-feature:hover,.news-card:hover,.event-card:hover{transform:none}}

/* v2.23 — rubrique À la une, lancement du 15 novembre */
.featured-launch{padding:34px 0;background:linear-gradient(135deg,#031d45,#074b9b);color:#fff;overflow:hidden}.featured-launch-grid{display:grid;grid-template-columns:minmax(280px,1fr) minmax(0,2fr);min-height:520px;border-radius:20px;overflow:hidden;background:#082c61;box-shadow:0 24px 60px rgba(0,24,61,.24)}.featured-launch-intro{display:flex;flex-direction:column;justify-content:center;padding:46px;background:linear-gradient(160deg,#082f69,#031c40)}.featured-kicker{display:inline-flex;align-self:flex-start;padding:7px 12px;border-radius:999px;background:var(--jaune);color:#06295c;font-size:12px;font-weight:900;letter-spacing:1.4px;text-transform:uppercase}.featured-date{margin:18px 0 7px;color:#8bc7ff;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:1px}.featured-launch h2{margin:0 0 18px;font-size:clamp(29px,3vw,44px);line-height:1.06;color:#fff}.featured-launch-intro>p:not(.featured-date){margin:0;color:rgba(255,255,255,.78);font-size:16px;line-height:1.7}.featured-all{display:inline-flex;align-items:center;gap:9px;margin-top:24px;color:#fff;font-weight:800}.featured-all span{color:var(--jaune)}.featured-controls{display:flex;align-items:center;gap:12px;margin-top:34px}.featured-prev,.featured-next{display:grid;place-items:center;width:43px;height:43px;border:1px solid rgba(255,255,255,.35);border-radius:50%;color:#fff;font-size:20px;transition:.2s}.featured-prev:hover,.featured-next:hover{background:var(--jaune);border-color:var(--jaune);color:#06295c}.featured-dots{display:flex;align-items:center;gap:7px;flex:1}.featured-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.38);transition:.25s}.featured-dot.is-active{width:24px;border-radius:8px;background:var(--jaune)}.featured-slideshow{position:relative;min-height:520px;background:#041b3b}.featured-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transform:scale(1.04);transition:opacity .65s ease,transform 5.5s ease,visibility .65s}.featured-slide.is-active{opacity:1;visibility:visible;transform:scale(1)}.featured-slide>a{display:block;width:100%;height:100%}.featured-slide img{display:block;width:100%;height:100%;object-fit:cover}.featured-overlay{position:absolute;inset:auto 0 0;display:flex;flex-direction:column;gap:8px;padding:90px 44px 38px;background:linear-gradient(transparent,rgba(0,18,48,.95));color:#fff}.featured-overlay small{color:var(--jaune);font-size:12px;font-weight:900;letter-spacing:1px;text-transform:uppercase}.featured-overlay strong{max-width:760px;font-size:clamp(25px,3vw,42px);line-height:1.08}.featured-overlay em{font-style:normal;font-weight:800}.featured-slide>a:focus-visible{outline:4px solid var(--jaune);outline-offset:-4px}
@media(max-width:900px){.featured-launch{padding:18px 0}.featured-launch-grid{grid-template-columns:1fr;min-height:0}.featured-launch-intro{padding:30px}.featured-slideshow{min-height:440px}.featured-controls{margin-top:22px}.featured-overlay{padding:75px 28px 28px}}
@media(max-width:640px){.featured-launch-intro{padding:25px 20px}.featured-launch h2{font-size:30px}.featured-launch-intro>p:not(.featured-date){font-size:14px}.featured-slideshow{min-height:360px}.featured-overlay{padding:65px 20px 22px}.featured-overlay strong{font-size:25px}.featured-overlay em{font-size:13px}}
@media(prefers-reduced-motion:reduce){.featured-slide{transition:none;transform:none}}

/* v2.25 — logo WordPress et mobile renforcé */
.header-inner>.custom-logo-link{display:block;width:270px;height:100px;overflow:hidden;border-radius:8px;flex:0 0 270px}.header-inner>.custom-logo-link img{display:block;width:100%;height:100%;object-fit:contain}.featured-slide img{content-visibility:auto}
@media(max-width:1023px){.header-inner>.custom-logo-link{width:210px;height:78px;flex-basis:210px}.featured-launch-grid{box-shadow:0 12px 30px rgba(0,24,61,.18)}}
@media(max-width:640px){.header-inner>.custom-logo-link{width:184px;height:70px;flex-basis:184px}.featured-launch{content-visibility:auto;contain-intrinsic-size:700px}.featured-controls{position:relative;z-index:3}.featured-prev,.featured-next{width:46px;height:46px}.featured-dot{min-width:10px;min-height:10px}.featured-slide img{object-position:center}.featured-overlay strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}}

/* v2.26 — bibliothèque et saisie en ligne des formulaires citoyens */
.forms-library{background:#f4f7fb}.forms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.citizen-form-card{display:flex;gap:20px;align-items:flex-start;background:#fff;border:1px solid #dfe8f2;border-radius:14px;padding:26px;box-shadow:0 8px 28px rgba(0,43,92,.06);transition:transform .25s,box-shadow .25s}.citizen-form-card:hover{transform:translateY(-4px);box-shadow:0 15px 38px rgba(0,43,92,.13)}.form-doc-icon{display:flex;flex:0 0 58px;height:70px;align-items:center;justify-content:center;border-radius:8px;background:var(--rouge);color:#fff;font-weight:900;font-size:13px;letter-spacing:1px}.form-card-copy h2{font-size:20px;line-height:1.25;color:var(--bleuf);margin:0 0 9px}.form-card-copy p{font-size:14px;color:var(--tleger);line-height:1.6;margin-bottom:18px}.form-choice{display:flex;gap:10px;flex-wrap:wrap}.btn-outline{display:inline-flex;align-items:center;justify-content:center;border:2px solid var(--bleu);color:var(--bleu);padding:11px 17px;border-radius:7px;font-weight:800}.btn-outline:hover{background:var(--bleu);color:#fff}.form-return{display:inline-block;margin-bottom:20px;color:var(--bleu);font-weight:800}.form-document-heading{background:var(--bleuf);color:#fff;padding:22px;border-radius:11px;margin-bottom:24px}.form-document-heading span{display:block;color:var(--jaune);font-size:11px;text-transform:uppercase;letter-spacing:1.4px;font-weight:800}.form-document-heading h2{color:#fff;margin:5px 0 10px}.form-document-heading a{color:var(--jaune);font-weight:800}.citizen-online-form .fg2>[class*=fgroup]{min-width:0}.citizen-online-form .okbox{margin-top:12px}.citizen-online-form textarea{resize:vertical}
@media(max-width:760px){.forms-grid{grid-template-columns:1fr}.citizen-form-card{padding:20px;gap:14px}.form-doc-icon{flex-basis:48px;height:60px}.form-card-copy h2{font-size:18px}.form-choice{flex-direction:column}.form-choice a{width:100%}.citizen-online-form .steps{overflow-x:auto;justify-content:flex-start}.citizen-online-form .step{min-width:105px}.citizen-online-form .fg2{grid-template-columns:1fr}}

/* v2.27 — performance et expérience mobile */
.header{transition:box-shadow .2s ease}.header.is-scrolled{box-shadow:0 4px 18px rgba(0,28,68,.14)}
.home .news-section,.home .agenda-home,.home .home-avenues,.home .institution,.forms-library{content-visibility:auto;contain-intrinsic-size:auto 680px}
@media(max-width:640px){html{scroll-behavior:auto}body{overflow-x:hidden}.container{padding-left:15px;padding-right:15px}.topbar-left{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header{position:sticky}.header-inner{height:78px}.official-logo,.header-inner>.custom-logo-link{width:174px;max-width:174px;height:66px;flex-basis:174px}.mob-btn{width:46px;height:46px}.mobnav{width:min(92vw,370px);overscroll-behavior:contain;transition:transform .24s ease,visibility .24s}.mobnav-inner{padding:10px 14px 24px}.mobnav .mob-home,.mobnav details>summary{min-height:48px;padding:13px 10px}.mobnav .mob-sub a{min-height:44px}.portal-hero{min-height:610px}.portal-hero .hero-bg img{animation:none!important;transform:scale(1.025)!important}.portal-hero h1{font-size:38px;letter-spacing:-1px}.hero-c{padding:68px 0 42px}.quick{box-shadow:0 12px 28px rgba(0,0,0,.18)}.sec{padding:48px 0}.sec-h{font-size:28px}.hcard,.service-feature,.news-card,.event-card,.citizen-form-card,.quartier-card,.service-person{box-shadow:0 5px 16px rgba(0,43,92,.06)}.kv-card-reveal{opacity:1!important;transform:none!important;transition:none!important}.featured-launch-grid{box-shadow:none}.featured-slide{transform:none;transition:opacity .25s ease,visibility .25s}.featured-slideshow{min-height:330px}.featured-overlay{padding:60px 18px 18px}.civic-slider{gap:14px;padding-bottom:16px;scrollbar-width:none}.civic-slider::-webkit-scrollbar{display:none}.civic-slide{flex-basis:91%}.news-card.civic-slide .news-img,.event-card.civic-slide .event-image{height:215px}.street-explorer--home{height:330px}.gallery-grid{columns:1;column-gap:0}.gallery-item{margin-bottom:14px}.formsec{padding:34px 0}.formbox{border-radius:10px;padding:18px 13px}.formbox input,.formbox textarea,.formbox select{font-size:16px}.form-document-heading{padding:18px}.forms-grid{gap:15px}.citizen-form-card{display:block}.form-doc-icon{margin-bottom:13px}.orientation{padding:30px 0}.footer{padding-top:38px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.mobnav,.header,.featured-slide{transition:none!important}}

/* v2.28 — cinq formulaires municipaux complets */
.online-form-section{grid-column:1/-1;margin:16px 0 2px;padding:12px 15px;border-left:4px solid var(--jaune);background:#eef5fc;color:var(--bleuf);font-size:16px}.children-builder{grid-column:1/-1;margin:10px 0 20px}.children-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.children-head small{color:var(--tleger)}.children-head .btn-outline{background:#fff}.children-list{display:grid;gap:12px}.child-row{border:1px solid #d9e4f0;border-radius:10px;padding:15px;background:#fbfdff}.child-row legend{padding:0 8px;color:var(--bleuf);font-weight:800}.child-fields{display:grid;grid-template-columns:2fr .8fr 1.4fr 1fr;gap:12px}.remove-child{display:inline-grid;place-items:center;width:28px;height:28px;margin-left:8px;border-radius:50%;background:#fee2e2;color:#a31325;font-size:20px}.add-child:disabled{opacity:.6;cursor:not-allowed}
@media(max-width:760px){.children-head{align-items:stretch;flex-direction:column}.children-head .btn-outline{width:100%}.child-fields{grid-template-columns:1fr}.child-row{padding:12px}.online-form-section{font-size:15px}}

/* v2.29 — parcours public en quatre étapes */
.kv-form-panel{animation:kvPanelIn .22s ease}.kv-form-panel.hidden{display:none!important}.step.completed{border-color:#9bd5ad;background:#f0fdf4}.step.completed .step-num{background:#16803c}.step-help{color:var(--tleger);font-size:14px;margin:4px 0 20px}.form-actions-end{justify-content:flex-end}.form-review{margin:16px 0 20px;border:1px solid #dce6f1;border-radius:10px;overflow:hidden}.form-review h3{padding:16px 18px!important;margin:0!important;background:var(--bleuf);color:#fff!important}.form-review dl>div{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(0,1.5fr);gap:18px;padding:11px 16px;border-top:1px solid #e7edf4}.form-review dt{font-weight:800;color:#46566a;text-transform:capitalize}.form-review dd{margin:0;color:var(--texte);overflow-wrap:anywhere}@keyframes kvPanelIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@media(max-width:640px){.citizen-online-form .steps{display:grid;grid-template-columns:repeat(4,minmax(76px,1fr));gap:6px;overflow-x:auto;padding-bottom:5px}.citizen-online-form .step{min-width:76px;padding:9px 4px}.citizen-online-form .step-num{width:27px;height:27px}.citizen-online-form .step-t{font-size:9px}.form-review dl>div{grid-template-columns:1fr;gap:2px}.form-review dt{font-size:12px}.form-actions .step-forward,.form-actions [type=submit]{width:100%;min-width:0}.kv-form-panel{animation:none}}
