:root{--navy:#0a1d35;--blue:#12365d;--gold:#d4a84f;--paper:#f5f7fa}*{box-sizing:border-box}body{font-family:Inter,system-ui,sans-serif;color:#172a3d;background:#fff}.navy{background:var(--navy)}.hero{background:linear-gradient(120deg,#07182d,#12365d);color:#fff}.hero h1{font-size:clamp(2.2rem,5vw,4.6rem);font-weight:800;letter-spacing:-.04em}.eyebrow{font-size:.75rem;letter-spacing:.16em;font-weight:700;color:var(--gold)}.btn-gold{background:var(--gold);color:#081a30;border:0;font-weight:700}.btn-navy{background:var(--navy);color:#fff}.hero-card{background:rgba(255,255,255,.1);padding:2rem;border:1px solid rgba(255,255,255,.2);border-radius:1rem}.signal{font-size:3rem;font-weight:800;color:var(--gold)}.news-card,.location-card,.action{border:1px solid #e5ebf2;border-radius:1rem;padding:1.2rem;transition:transform .18s,box-shadow .18s}.news-card:hover{transform:translateY(-4px);box-shadow:0 1rem 2rem #102b4814}.badge-soft{display:inline-block;background:#eaf0f7;color:#1b4b78;padding:.35rem .6rem;border-radius:999px;font-size:.75rem;font-weight:700}.light-band{background:var(--paper)}.footer{background:#091a2e;color:#d9e3ee}.narrow{max-width:820px}.slider-image{height:420px;object-fit:cover;filter:brightness(.65)}.admin-shell{background:#f5f7fa;min-height:70vh}.admin-card{display:flex;flex-direction:column;gap:.35rem;background:#fff;border:1px solid #e5ebf2;border-radius:1rem;padding:1.25rem;color:#172a3d;transition:transform .18s,box-shadow .18s}.admin-card:hover{transform:translateY(-3px);box-shadow:0 1rem 2rem #102b4814}.admin-card strong{font-size:2rem;color:var(--blue)}.admin-card small{color:#59708a}.article-body{font-size:1.15rem;line-height:1.8}.comment{border-left:3px solid var(--gold);padding:.5rem 1rem;margin:1rem 0}.comment small{margin-left:1rem;color:#789}.verify-ok{color:#16834b;font-weight:800}.verify-bad{color:#b42318;font-weight:800}label{display:block;font-weight:600}input,textarea,select{margin-top:.4rem}.table{--bs-table-bg:transparent}@media(max-width:600px){.hero{padding:1rem 0}.hero-card{margin-top:2rem}.slider-image{height:280px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.service-hero{background:linear-gradient(120deg,#07182d,#12365d);color:#fff}.service-hero h1{font-size:clamp(3rem,8vw,6rem);font-weight:800;letter-spacing:-.06em;margin-bottom:0}.hero-subtitle{font-size:clamp(1.4rem,3vw,2rem);font-weight:600}.hero-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}.service-tile{height:100%;display:flex;flex-direction:column;gap:.55rem;padding:1.4rem;background:#fff;border:1px solid #e1e8f0;border-radius:1rem;color:#172a3d;text-decoration:none;box-shadow:0 .25rem 1rem #102b4808;transition:transform .18s,box-shadow .18s}.service-tile:hover,.service-tile:focus-visible{transform:translateY(-3px);box-shadow:0 1rem 2rem #102b4817}.service-tile strong{font-size:1.05rem}.service-tile span:not(.service-icon){color:#61758b}.service-tile b{margin-top:auto;color:#12365d}.service-icon{font-size:1.8rem;color:var(--gold);font-weight:800}.help-band{background:#f5f7fa}.emergency-card{border-left:4px solid var(--gold);background:#fff;padding:1.5rem;border-radius:.75rem}.empty-state{display:flex;flex-direction:column;gap:.35rem;padding:1.5rem;border:1px dashed #b7c5d4;border-radius:.75rem;background:#fff}.empty-state strong{font-size:1.05rem}.empty-state a{font-weight:700}.empty-state.compact{padding:.5rem;border:0}.nav-admin{color:var(--gold)!important;font-weight:700}.admin-layout{display:flex;min-height:75vh;background:#f5f7fa}.admin-sidebar{width:260px;background:#07182d;color:#fff;padding:1.5rem;flex-shrink:0}.admin-sidebar h2{font-size:1.2rem;margin-bottom:1.25rem}.admin-sidebar nav{display:flex;flex-direction:column;gap:.25rem}.admin-sidebar a{color:#d9e3ee;text-decoration:none;padding:.65rem .75rem;border-radius:.5rem}.admin-sidebar a:hover,.admin-sidebar a.active{background:#12365d;color:#fff}.admin-main{padding:2rem;flex:1;min-width:0}@media(max-width:768px){.admin-layout{display:block}.admin-sidebar{width:100%}.admin-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.admin-main{padding:1rem}.hero-actions .btn{width:100%}}@media(prefers-reduced-motion:reduce){.service-tile{transition:none}}
.admin-lock{font-size:1.1rem;padding-left:.8rem!important;padding-right:.8rem!important;opacity:.9}.admin-lock:hover,.admin-lock:focus-visible{color:var(--gold)!important;transform:scale(1.08)}#ipkin-slider{background:var(--navy);overflow:hidden}.carousel-fade .carousel-item{transition:opacity 1s ease-in-out}.carousel-caption{max-width:760px;left:9%;right:auto;bottom:2.5rem;text-shadow:0 2px 12px #0008}.carousel-indicators [data-bs-target]{width:2.2rem;height:.25rem;border:0;border-radius:1rem;opacity:.65}.carousel-indicators .active{opacity:1;background:var(--gold)}@media(prefers-reduced-motion:reduce){.carousel-fade .carousel-item{transition:none}.admin-lock:hover,.admin-lock:focus-visible{transform:none}}
.footer a{color:#d9e3ee;text-decoration:none}.footer a:hover,.footer a:focus-visible{color:var(--gold);text-decoration:underline}.footer-control,.language-form select{background:transparent;color:#d9e3ee;border:1px solid #71849a;border-radius:.35rem;padding:.25rem .5rem}.language-form{display:inline-block}.language-form select option{color:#172a3d;background:#fff}.local-search{max-width:900px}.dark-mode body{background:#111c29;color:#e8eef5}.dark-mode .card,.dark-mode .service-tile,.dark-mode .location-card,.dark-mode .empty-state{background:#1c2a3a;color:#e8eef5;border-color:#385069}.dark-mode .text-muted{color:#b8c5d2!important}.dark-mode .light-band,.dark-mode .help-band{background:#162333}.dark-mode input,.dark-mode textarea,.dark-mode select{background:#203247;color:#fff;border-color:#50677d}.dark-mode .footer{background:#07111e}.local-news a{font-weight:700}

/* comprovkin. presentation back-office */
.backoffice-shell{display:flex;min-height:calc(100vh - 70px);background:#f4f7fa}.backoffice-sidebar{width:258px;background:#07182d;color:#d9e3ee;padding:1.35rem 1rem;flex:0 0 auto;display:flex;flex-direction:column}.sidebar-brand{padding:.4rem .7rem 1.4rem;border-bottom:1px solid #ffffff18;display:flex;flex-direction:column}.sidebar-brand strong{font-size:1.35rem;color:#fff}.sidebar-brand small{color:#8fa5ba;font-size:.72rem;margin-top:.25rem}.backoffice-sidebar nav{display:flex;flex-direction:column;gap:.15rem;padding-top:1rem}.backoffice-sidebar nav a{color:#bdcada;text-decoration:none;padding:.65rem .75rem;border-radius:.55rem;font-size:.86rem}.backoffice-sidebar nav a:hover,.backoffice-sidebar nav a.active{background:#12365d;color:#fff}.menu-label{color:#7690a8;font-size:.62rem;letter-spacing:.14em;font-weight:800;padding:.9rem .75rem .3rem}.sidebar-site{margin-top:auto;color:#d4a84f;text-decoration:none;border-top:1px solid #ffffff18;padding:1rem .7rem .2rem;font-size:.85rem}.backoffice-main{padding:1.6rem 2rem 3rem;flex:1;min-width:0}.backoffice-topbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.25rem}.backoffice-topbar h1{margin:.15rem 0 0;font-size:clamp(1.65rem,3vw,2.35rem);letter-spacing:-.03em}.topbar-user{display:flex;align-items:center;gap:.55rem}.topbar-user small{display:block;color:#71849a;font-size:.72rem}.topbar-user a{color:#71849a;text-decoration:none;font-size:1.3rem;margin-left:.5rem}.avatar{display:grid;place-items:center;width:2.35rem;height:2.35rem;border-radius:50%;background:#12365d;color:#fff;font-weight:800}.welcome-strip{display:flex;justify-content:space-between;align-items:center;gap:1rem;background:#fff;border:1px solid #e3eaf1;border-radius:1rem;padding:1rem 1.2rem;margin-bottom:1.2rem}.welcome-strip strong{display:block;color:#12365d}.welcome-strip span:not(.live-dot){display:block;color:#71849a;font-size:.85rem}.live-dot{color:#27845a;font-size:.78rem;font-weight:700}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;margin-bottom:1.25rem}.bo-metric{display:flex;flex-direction:column;gap:.25rem;min-height:122px;padding:1rem 1.1rem;border-radius:1rem;background:#fff;border:1px solid #e3eaf1;text-decoration:none;color:#172a3d;box-shadow:0 .25rem 1rem #102b4808}.bo-metric:hover{transform:translateY(-2px);box-shadow:0 .8rem 1.6rem #102b4814}.bo-metric span{font-size:.78rem;color:#71849a}.bo-metric strong{font-size:1.65rem;letter-spacing:-.04em}.bo-metric small{margin-top:auto;color:#71849a}.bo-blue{border-top:3px solid #3b82b5}.bo-slate{border-top:3px solid #7b8da1}.bo-gold{border-top:3px solid #d4a84f}.bo-navy{border-top:3px solid #12365d}.bo-green{border-top:3px solid #27845a}.chart-grid{display:grid;grid-template-columns:1.4fr .8fr;gap:1rem;margin-bottom:1rem}.bo-panel{background:#fff;border:1px solid #e3eaf1;border-radius:1rem;padding:1.15rem;min-width:0}.chart-wide{grid-column:1}.bo-panel canvas{max-height:270px}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.panel-heading h2{font-size:1rem;margin:.2rem 0 0}.panel-heading a{font-size:.8rem;color:#12365d;text-decoration:none;font-weight:700}.period-chips{display:flex;gap:.25rem}.period-chips button{border:1px solid #dce5ed;background:#fff;color:#71849a;border-radius:999px;padding:.25rem .55rem;font-size:.72rem}.period-chips button.active{background:#12365d;color:#fff}.bo-lower-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:1rem}.audit-row{display:flex;gap:.6rem;padding:.7rem 0;border-bottom:1px solid #edf1f5}.audit-row:last-child{border-bottom:0}.audit-icon{display:grid;place-items:center;width:1.5rem;height:1.5rem;border-radius:50%;background:#e7f4ec;color:#27845a;font-size:.75rem}.audit-row strong,.audit-row small{display:block}.audit-row small{color:#71849a;font-size:.75rem;margin-top:.2rem}.status-pill{display:inline-block;padding:.28rem .55rem;border-radius:999px;background:#edf2f6;color:#50667b;font-size:.72rem;font-weight:700}.status-progress,.status-assigned{background:#fff3d6;color:#8b691f}.status-closed,.status-resolved,.status-validated,.status-paid{background:#e4f4ea;color:#23734e}.status-rejected,.status-cancelled{background:#fde8e7;color:#a3332c}.status-submitted,.status-received{background:#e8f0fa;color:#245882}.citizen-hero{background:linear-gradient(120deg,#07182d,#12365d);color:#fff}.citizen-hero h1{font-size:clamp(2rem,4vw,3.4rem);margin:.2rem 0}.metric-card{background:#fff;border:1px solid #e3eaf1;border-radius:1rem;padding:1rem;min-height:120px;display:flex;flex-direction:column}.metric-card span,.metric-card small{color:#71849a;font-size:.78rem}.metric-card strong{font-size:2rem;color:#12365d;margin:.25rem 0}.dashboard-panel{background:#fff;border:1px solid #e3eaf1;border-radius:1rem;padding:1.2rem}.quick-card{display:flex;flex-direction:column;gap:.3rem;min-height:145px;background:#fff;border:1px solid #e3eaf1;border-radius:1rem;padding:1rem;color:#172a3d;text-decoration:none}.quick-card:hover{border-color:#d4a84f;box-shadow:0 .7rem 1.4rem #102b4810}.quick-icon{color:#d4a84f;font-size:1.5rem;font-weight:800}.quick-card small{color:#71849a}.table-actions{min-width:220px}
@media(max-width:1100px){.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.backoffice-sidebar{width:225px}.backoffice-main{padding:1.2rem}.bo-lower-grid{grid-template-columns:1fr}}
@media(max-width:800px){.backoffice-shell{display:block}.backoffice-sidebar{width:100%;padding:.8rem}.backoffice-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.2rem}.backoffice-sidebar .menu-label{grid-column:1/-1}.sidebar-site{margin-top:.5rem}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-grid{grid-template-columns:1fr}.chart-wide{grid-column:auto}.backoffice-topbar{align-items:flex-start;flex-direction:column}.welcome-strip{align-items:flex-start;flex-direction:column}}
@media(max-width:480px){.backoffice-main{padding:.85rem}.metric-grid{gap:.55rem}.bo-metric{min-height:108px;padding:.8rem}.bo-metric strong{font-size:1.3rem}.table-actions{min-width:100%;width:100%}.panel-heading{flex-wrap:wrap}}

/* Request 3: compact institutional UX */
body{font-size:.94rem}.navbar-brand strong{font-size:.88rem}.navbar-brand small{font-size:.62rem}.nav-link{font-size:.82rem}.compact-lead,.compact-copy{font-size:.98rem;line-height:1.65}.reveal{animation:fadeUp .45s ease both}.institution-card{display:flex;flex-direction:column;height:100%;padding:1rem;border:1px solid #e2e9f1;border-radius:.9rem;text-decoration:none;color:#172a3d;background:#fff;transition:transform .2s,box-shadow .2s}.institution-card:hover{transform:translateY(-4px);box-shadow:0 .8rem 1.8rem #102b4818}.institution-card img{width:100%;height:140px;object-fit:cover;border-radius:.65rem;margin-bottom:.75rem}.institution-card h2{font-size:1.15rem;margin:.35rem 0}.institution-card p{font-size:.88rem;color:#61758b}.institution-hero{background:linear-gradient(120deg,#07182d,#12365d);color:#fff}.institution-hero h1{font-size:clamp(2rem,4vw,3.5rem)}.back-link{color:#fff;text-decoration:none}.institution-feature{width:100%;max-height:420px;object-fit:cover;border-radius:1rem;margin-bottom:1.5rem}.news-thumb{width:100%;height:170px;object-fit:cover;border-radius:1rem 1rem 0 0}.news-feature{width:100%;max-height:460px;object-fit:cover;border-radius:1rem;margin:1rem 0 1.5rem}.library-card{border-radius:.9rem;transition:transform .2s,box-shadow .2s}.library-card:hover{transform:translateY(-3px);box-shadow:0 .8rem 1.8rem #102b4818}@keyframes fadeUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}


/* Header institutionnel : composants isolés, palette existante conservée. */
.site-header{background:#fff;border-bottom:1px solid #dfe6ee;position:relative;z-index:20}.site-header__top{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1rem}.official-brand{display:flex;align-items:center;gap:.9rem;color:#172a3d;text-decoration:none}.official-brand img{width:68px;height:68px;object-fit:contain}.official-brand strong{display:block;font-family:Georgia,serif;font-size:1.35rem;line-height:1.1}.official-brand small{display:block;color:#526176;letter-spacing:.08em;font-size:.65rem;font-weight:700;margin-top:.35rem}.site-header__tools{display:flex;align-items:center;gap:1.25rem;font-size:.9rem}.site-header__tools a,.header-tool{color:#102d70;text-decoration:none;font-weight:600}.header-tool{background:none;border:0;padding:.35rem}.site-header__tools a:hover,.header-tool:hover{color:#d4a84f}.site-header__search{display:flex;justify-content:flex-end;padding:0 1rem .75rem}.site-header__search form{display:flex;width:min(470px,100%);border-bottom:3px solid #102d70}.site-header__search input{border:0;outline:0;background:#f4f5f7;padding:.65rem 1rem;font-style:italic;flex:1;margin:0}.site-header__search button{border:0;background:#102d70;color:#fff;width:3rem;font-size:1.35rem}.site-nav{border-top:1px solid #e5e9ef}.site-nav__inner{padding:0 1rem}.site-nav__menu{display:flex;align-items:stretch}.site-nav__menu>a,.discover-menu>summary{display:flex;align-items:center;min-height:3.25rem;padding:.7rem 1.25rem;color:#172a3d;text-decoration:none;list-style:none;cursor:pointer;border-right:1px solid #edf0f4}.site-nav__menu>a:hover,.discover-menu[open]>summary,.discover-menu>summary:hover{background:#eef0ff;color:#102d70}.discover-menu{position:relative}.discover-menu>summary::-webkit-details-marker{display:none}.discover-menu>summary:after{content:'⌄';font-size:.8rem;margin-left:.5rem}.discover-menu[open]>summary:after{content:'⌃'}.discover-menu__dropdown{position:absolute;top:100%;left:0;min-width:280px;background:#fff;border:1px solid #dfe6ee;box-shadow:0 .7rem 1.5rem #102b4820;padding:.45rem 0;z-index:30}.discover-menu__dropdown a{display:block;padding:.7rem 1rem;color:#172a3d;text-decoration:none;white-space:nowrap}.discover-menu__dropdown a:hover{background:#eef0ff;color:#102d70}.site-nav__toggle{display:none;border:0;background:transparent;color:#102d70;font-size:1.35rem;padding:.65rem}.display-dialog{position:fixed;inset:0;background:#07182d66;z-index:1100;display:grid;place-items:center;padding:1rem}.display-dialog[hidden]{display:none}.display-dialog__card{width:min(390px,100%);background:#fff;border-radius:.8rem;padding:1.4rem;box-shadow:0 1rem 3rem #07182d33}.display-dialog__card input{width:100%}.display-dialog__card label{margin-top:.8rem}.high-contrast body{filter:contrast(1.12)}html{font-size:calc(100% * var(--font-scale,1))}.high-contrast .site-header,.high-contrast .discover-menu__dropdown{border-color:#111}.high-contrast a{ text-decoration-thickness:2px}@media(max-width:800px){.site-header__top{align-items:flex-start;flex-direction:column}.site-header__tools{width:100%;justify-content:space-between;gap:.5rem;font-size:.8rem}.site-header__search{padding-left:1rem;padding-right:1rem}.site-nav__toggle{display:block}.site-nav__menu{display:none;flex-direction:column}.site-nav__menu.is-open{display:flex}.site-nav__menu>a,.discover-menu>summary{min-height:auto;border-right:0;border-bottom:1px solid #edf0f4;padding:.75rem 1rem}.discover-menu__dropdown{position:static;box-shadow:none;border:0;border-top:1px solid #edf0f4;padding-left:1rem}.official-brand img{width:54px;height:54px}.official-brand strong{font-size:1.05rem}.official-brand small{font-size:.54rem}}
.search-result{padding:1rem 0;border-bottom:1px solid #e5ebf2}.search-result h3{margin:.5rem 0}.search-result a{color:#12365d}.dark-mode .site-header,.dark-mode .discover-menu__dropdown{background:#1c2a3a;color:#e8eef5}.dark-mode .official-brand,.dark-mode .site-nav__menu>a,.dark-mode .discover-menu>summary,.dark-mode .discover-menu__dropdown a{color:#e8eef5}

/* Corrections ciblées : identité partagée, animations et thèmes d’affichage. */
:root{--institution-navy:#091a2e;--institution-blue:#12365d;--institution-accent:#d4a84f}
.site-header{background:var(--institution-navy);border-bottom-color:#203b58;color:#d9e3ee}
.official-brand,.site-header__tools a,.site-header__tools .header-tool,.site-nav__menu>a,.discover-menu>summary{color:#f1f5f9}
.official-brand small{color:#b9c9d9}.site-header__tools a:hover,.header-tool:hover{color:var(--institution-accent)}
.site-header__search form{border-bottom-color:var(--institution-accent)}
.site-header__search input{background:#f4f5f7;color:#172a3d}.site-header__search button{background:var(--institution-blue)}
.site-nav{border-top-color:#203b58}.site-nav__menu>a,.discover-menu>summary{border-right-color:#203b58}
.site-nav__menu>a:hover,.discover-menu[open]>summary,.discover-menu>summary:hover{background:#12365d;color:#fff}
.discover-menu__dropdown{background:var(--institution-navy);border-color:#34516d}.discover-menu__dropdown a{color:#edf3f8}.discover-menu__dropdown a:hover{background:#12365d;color:#fff}
.footer{background:var(--institution-navy)}.footer-identity{display:flex;align-items:flex-start;gap:.9rem}.footer-identity img{width:58px;height:58px;object-fit:contain;background:#fff;border-radius:50%;padding:.2rem}.footer-identity strong{display:block;font-size:1.05rem;color:#fff}
.news-card,.location-card,.service-tile,.institution-card,.library-card,.admin-card,.bo-metric,.quick-card,.dashboard-panel,.metric-card{transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease,background-color .28s ease}
.news-card:hover,.location-card:hover,.service-tile:hover,.institution-card:hover,.library-card:hover,.admin-card:hover,.bo-metric:hover,.quick-card:hover{border-color:var(--institution-blue);box-shadow:0 1rem 2rem #07182d24;transform:translateY(-5px)}
.news-card:hover .badge-soft,.service-tile:hover .service-icon{background:var(--institution-blue);color:#fff}.reveal{animation:fadeUp .5s ease both}.reveal:nth-child(2){animation-delay:.05s}.reveal:nth-child(3){animation-delay:.1s}.reveal:nth-child(4){animation-delay:.15s}
.theme-choices{display:flex;flex-wrap:wrap;gap:.4rem}.theme-choices button{border:1px solid #cbd7e3;background:#fff;border-radius:999px;padding:.35rem .55rem;font-size:.75rem;cursor:pointer}.theme-choices button:hover{background:var(--institution-blue);color:#fff}
html[data-theme="green"]{--institution-blue:#17634a;--institution-accent:#c5a24a}html[data-theme="green"] .site-nav__menu>a:hover,html[data-theme="green"] .discover-menu[open]>summary,html[data-theme="green"] .discover-menu>summary:hover,html[data-theme="green"] .discover-menu__dropdown a:hover{background:#17634a}
html[data-theme="burgundy"]{--institution-blue:#702f3d;--institution-accent:#d4a84f}html[data-theme="burgundy"] .site-nav__menu>a:hover,html[data-theme="burgundy"] .discover-menu[open]>summary,html[data-theme="burgundy"] .discover-menu>summary:hover,html[data-theme="burgundy"] .discover-menu__dropdown a:hover{background:#702f3d}
@media(prefers-reduced-motion:reduce){.reveal{animation:none}.news-card,.location-card,.service-tile,.institution-card,.library-card,.admin-card,.bo-metric,.quick-card{transition:none}}
@media(max-width:800px){.footer-identity{align-items:flex-start}.site-header__tools{flex-wrap:wrap}}

/* Présentation actualités : grille éditoriale et filtres accessibles. */
.news-index__intro{max-width:760px;margin-bottom:2.2rem}.news-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:2.4rem;align-items:start}.news-filters{position:sticky;top:1rem;padding:1.25rem;background:#fff;border:1px solid #e1e7ee;border-radius:.7rem}.news-filters h2{font-size:1.6rem;margin:0 0 1.2rem;color:#172a3d}.news-filters label{margin:.9rem 0 .35rem}.news-filters input,.news-filters select{width:100%;min-height:2.65rem;border:1px solid #d4dce5;border-radius:.2rem;padding:.55rem .7rem;background:#f7f8fa}.news-search-row{display:flex;border-bottom:2px solid var(--institution-blue)}.news-search-row input{border:0;border-radius:0;margin:0}.news-search-row button{border:0;background:var(--institution-blue);color:#fff;width:2.75rem;font-size:1.25rem}.news-results__heading{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:1rem;color:#526176}.news-results__heading strong{color:#172a3d;font-size:1.05rem}.news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}.news-card--listing{padding:0;overflow:hidden;background:#fff;display:flex;flex-direction:column;border:1px solid #dfe5eb;border-radius:0}.news-card--listing .news-thumb{height:210px;border-radius:0}.news-card__body{display:flex;flex-direction:column;gap:.65rem;padding:1.2rem;flex:1}.news-card__body h2{font-size:1.35rem;line-height:1.2;color:#102d70;margin:.2rem 0}.news-card__body p{color:#526176;line-height:1.6;margin:0}.news-card__meta{display:flex;justify-content:space-between;align-items:end;gap:.7rem;margin-top:auto;padding-top:1.2rem;color:#526176;font-size:.85rem}.news-card__meta a{color:#102d70;font-weight:700;text-decoration:none}.news-card__meta a:hover{color:var(--institution-accent)}@media(max-width:900px){.news-layout{grid-template-columns:1fr}.news-filters{position:static}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.news-grid{grid-template-columns:1fr}.news-results__heading{align-items:flex-start;flex-direction:column}}

/* Accueil : bloc éditorial des 3 dernières actualités, inspiré de la maquette. */
.home-news-band{background:#fff}.home-news-heading{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.5rem}.home-news-heading h2{font-size:clamp(1.55rem,3vw,2.15rem);margin:.2rem 0 0;color:#171717}.home-news-heading>a{color:#102d70;font-size:1rem;text-decoration:underline;text-underline-offset:.25rem;white-space:nowrap}.home-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.35rem}.home-news-card{display:flex;flex-direction:column;min-width:0;border:1px solid #d9dfe5;background:#fff;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.home-news-card:hover{transform:translateY(-5px);border-color:#102d70;box-shadow:0 1rem 2rem #102d7020}.home-news-card>img{width:100%;height:250px;object-fit:cover;display:block}.home-news-card__body{display:flex;flex:1;flex-direction:column;padding:1.25rem 1.35rem 1.15rem}.home-news-card__body h3{font-size:1.35rem;line-height:1.2;color:#061b84;margin:.85rem 0 .65rem}.home-news-card__body p{color:#4f5660;line-height:1.65;margin:0}.home-news-card__meta{display:flex;justify-content:space-between;align-items:end;gap:.75rem;margin-top:auto;padding-top:1.6rem;color:#555;font-size:.86rem}.home-news-card__meta a{color:#061b84;font-weight:700;text-decoration:none;white-space:nowrap}.home-news-card__meta a span{font-size:1.35rem;line-height:0;vertical-align:-.1rem}.home-news-card--featured{grid-column:span 1}.home-news-card--featured>img{height:250px}@media(max-width:800px){.home-news-heading{align-items:flex-start;flex-direction:column}.home-news-grid{grid-template-columns:1fr 1fr}.home-news-card--featured{grid-column:span 2}.home-news-card--featured>img{height:300px}}@media(max-width:520px){.home-news-grid{grid-template-columns:1fr}.home-news-card--featured{grid-column:auto}.home-news-card>img,.home-news-card--featured>img{height:220px}}

/* Maquette accueil : une actualité principale horizontale, puis deux cartes secondaires. */
.home-news-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.35rem}.home-news-lead{display:grid;grid-template-columns:42% 58%;min-height:345px;border:1px solid #d9dfe5;background:#fff;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.home-news-lead:hover{transform:translateY(-4px);border-color:#102d70;box-shadow:0 1rem 2rem #102d7020}.home-news-lead>img{width:100%;height:100%;min-height:345px;object-fit:cover}.home-news-lead__body{display:flex;flex-direction:column;padding:2rem 1.65rem 1.35rem}.home-news-lead__body h3{font-size:1.65rem;line-height:1.16;color:#061b84;margin:.9rem 0 .75rem}.home-news-lead__body p{color:#4f5660;line-height:1.65;margin:0}.home-news-secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.35rem}.home-news-secondary .home-news-card{border-radius:0;padding:0;overflow:hidden;background:#fff;border:1px solid #d9dfe5;display:flex;flex-direction:column;min-width:0}.home-news-secondary .home-news-card>img{width:100%;height:250px;object-fit:cover;border-radius:0}.home-news-secondary .home-news-card__body{padding:1.2rem 1.15rem 1rem}.home-news-secondary .home-news-card__body h3{font-size:1.18rem;line-height:1.2}.home-news-secondary .home-news-card__body p{font-size:.92rem}.home-news-secondary .home-news-card__meta{padding-top:1rem;display:block}.home-news-secondary .home-news-card__meta a{display:block;margin-top:.8rem}@media(max-width:1000px){.home-news-layout{grid-template-columns:1fr}.home-news-lead{grid-template-columns:40% 60%}}@media(max-width:620px){.home-news-heading>a{white-space:normal}.home-news-lead{display:flex;flex-direction:column}.home-news-lead>img{height:240px;min-height:240px}.home-news-lead__body{padding:1.25rem}.home-news-secondary{grid-template-columns:1fr}.home-news-secondary .home-news-card>img{height:220px}}

/* Ajustement final conforme à la maquette : la une occupe toute la largeur. */
.home-news-layout{display:block}.home-news-lead{grid-template-columns:40% 60%;width:100%;min-height:345px;margin-bottom:1.35rem}.home-news-lead>img{min-height:345px;height:345px}.home-news-secondary{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.35rem}.home-news-secondary .home-news-card>img{height:250px}@media(max-width:620px){.home-news-lead{display:flex;flex-direction:column}.home-news-lead>img{height:240px;min-height:240px}.home-news-secondary{grid-template-columns:1fr}.home-news-secondary .home-news-card>img{height:220px}}

/* Maquette finale : trois cartes secondaires et interactions visibles au survol. */
.home-news-secondary{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.35rem}.home-news-lead,.home-news-secondary .home-news-card{position:relative;isolation:isolate}.home-news-lead:before,.home-news-secondary .home-news-card:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,#12365d1c,#d4a84f1c);opacity:0;pointer-events:none;transition:opacity .28s ease;z-index:0}.home-news-lead:hover:before,.home-news-secondary .home-news-card:hover:before{opacity:1}.home-news-lead__body,.home-news-card__body,.home-news-lead>img,.home-news-card>img{position:relative;z-index:1}.home-news-lead:hover .badge-soft,.home-news-secondary .home-news-card:hover .badge-soft{background:#12365d;color:#fff}.home-news-lead:hover h3,.home-news-secondary .home-news-card:hover h3{color:#091a2e}.home-news-lead>img,.home-news-secondary .home-news-card>img{transition:transform .45s cubic-bezier(.23,1,.32,1),filter .3s ease}.home-news-lead:hover>img,.home-news-secondary .home-news-card:hover>img{transform:scale(1.045);filter:saturate(1.12) contrast(1.03)}.home-news-lead:hover .home-news-card__meta a,.home-news-secondary .home-news-card:hover .home-news-card__meta a{color:#091a2e}@media(max-width:800px){.home-news-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.home-news-secondary{grid-template-columns:1fr}}

/* Refonte Bootstrap 5 : tokens, header compact, offcanvas et motion sobre. */
:root{--font-scale:1;--navy:#091a2e;--blue:#12365d;--gold:#d4a84f;--paper:#f5f7fa;--bs-primary:#12365d;--bs-link-color:#12365d;font-size:calc(16px * var(--font-scale))}body{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#172a3d;background:#fff;line-height:1.55}.site-header{background:#fff;z-index:1030}.site-header .navbar{min-height:66px}.official-brand{display:flex;align-items:center;gap:.65rem;color:#172a3d;text-decoration:none}.official-brand img{width:48px;height:48px;object-fit:contain}.official-brand strong{display:block;font-family:Georgia,serif;font-size:1.02rem;line-height:1.1}.official-brand small{display:block;color:#526176;letter-spacing:.06em;font-size:.52rem;font-weight:700;margin-top:.2rem;white-space:nowrap}.header-quick,.header-tool{color:#102d70;text-decoration:none;font-weight:600;font-size:.78rem;background:transparent;border:0;white-space:nowrap}.header-quick:hover,.header-tool:hover{color:#b4862f}.site-header__search{padding:.35rem 0 .45rem;border-top:1px solid #edf0f4}.site-header__search form{display:flex;width:min(420px,100%);margin-left:auto;border:1px solid #ccd6e1;border-radius:.3rem;overflow:hidden}.site-header__search input{border:0;outline:0;background:#f7f9fb;padding:.42rem .7rem;flex:1;min-width:0;font-size:.82rem;margin:0}.site-header__search button{border:0;background:var(--blue);color:#fff;width:2.3rem;font-size:1rem}.navbar-nav .nav-link{font-size:.84rem;font-weight:600;color:#25384d;padding:.6rem .75rem!important}.navbar-nav .nav-link:hover,.navbar-nav .nav-link:focus{color:var(--blue);background:#eef3f8;border-radius:.35rem}.dropdown-menu{border:1px solid #dce5ed;border-radius:.4rem;padding:.35rem}.dropdown-item{font-size:.82rem;padding:.5rem .7rem;border-radius:.25rem}.dropdown-item:hover,.dropdown-item:focus{background:#eef3f8;color:var(--blue)}.mobile-quick-links{display:grid;gap:.1rem;padding:1rem;border-bottom:1px solid #e6edf3}.mobile-quick-links a,.mobile-quick-links button{display:block;text-align:left;padding:.6rem .2rem;border:0;background:transparent;color:var(--blue);text-decoration:none;font-size:.9rem;font-weight:600}.mobile-quick-links button{width:100%}.back-to-top{position:fixed;right:1rem;bottom:5.2rem;z-index:1020;display:grid;place-items:center;width:2.4rem;height:2.4rem;border:0;border-radius:50%;background:var(--blue);color:#fff;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s ease,transform .2s ease,visibility .2s}.back-to-top.show{opacity:1;visibility:visible;transform:none}.btn{transition:transform .16s ease,box-shadow .2s ease,background-color .2s ease}.btn:active{transform:scale(.97)}.navbar-toggler:focus{box-shadow:0 0 0 .2rem #12365d33}@media(max-width:991.98px){.site-header .navbar{min-height:58px}.official-brand img{width:42px;height:42px}.official-brand strong{font-size:.9rem}.official-brand small{font-size:.44rem}.site-header__search form{width:100%}.offcanvas{max-width:320px}.navbar-nav{padding:1rem}.navbar-nav .nav-link{padding:.7rem .5rem!important;border-bottom:1px solid #edf0f4}}@media(max-width:480px){.official-brand strong{font-size:.78rem}.official-brand small{font-size:.38rem;letter-spacing:.03em}.official-brand{gap:.4rem}.official-brand img{width:36px;height:36px}.site-header .navbar{padding-top:.35rem!important;padding-bottom:.35rem!important}.header-tool{font-size:1rem}.back-to-top{right:.6rem;bottom:4.8rem}}
@media(prefers-reduced-motion:reduce){.back-to-top,.btn{transition:none!important}}

.history-timeline{position:relative;padding-left:2rem}.history-timeline:before{content:"";position:absolute;left:.62rem;top:.4rem;bottom:.4rem;width:2px;background:#d9e3ec}.history-item{position:relative;margin-bottom:1.25rem}.history-marker{position:absolute;left:-2rem;top:.9rem;width:1.3rem;height:1.3rem;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:var(--navy);font-size:.7rem;font-weight:800;z-index:1}.history-content{display:grid;grid-template-columns:150px 1fr;gap:1rem;padding:1rem;background:#fff;border:1px solid #e1e8f0;border-radius:.75rem;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.history-content:hover{transform:translateX(4px);border-color:var(--blue);box-shadow:0 .7rem 1.4rem #102b4814}.history-content img{width:150px;height:150px;object-fit:cover;border-radius:.5rem}.history-content h3{font-size:1.2rem;color:var(--blue);margin:.65rem 0 .25rem}@media(max-width:520px){.history-content{grid-template-columns:1fr}.history-content img{width:100%;height:190px}.history-timeline{padding-left:1.7rem}.history-marker{left:-1.7rem}}

/* Urgence présentation : transitions du slider, micro-interactions, galeries et PDF. */
.carousel-fade .carousel-item img{animation:sliderZoom 5s ease-out both}.carousel-fade .carousel-item.active .carousel-caption{animation:captionRise .55s cubic-bezier(.23,1,.32,1) both}.btn,.nav-link,.dropdown-item,.news-card,.library-card,.service-tile,.home-news-card,.home-news-lead{transition:transform .2s cubic-bezier(.23,1,.32,1),box-shadow .2s ease,background-color .2s ease,color .2s ease}.btn:hover,.nav-link:hover,.dropdown-item:hover,.news-card:hover,.library-card:hover,.service-tile:hover,.home-news-card:hover,.home-news-lead:hover{transform:translateY(-5px);box-shadow:0 1rem 2rem #102b4820}.btn:active{transform:scale(.97)}@keyframes sliderZoom{from{transform:scale(1.04)}to{transform:scale(1)}}@keyframes captionRise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}.news-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin:1rem 0 1.5rem}.news-gallery figure{margin:0}.news-gallery img{width:100%;height:180px;object-fit:cover;border-radius:.8rem;transition:transform .22s ease,filter .22s ease}.news-gallery img:hover{transform:scale(1.03);filter:brightness(1.05)}.news-gallery figcaption{font-size:.8rem;color:#61758b;margin-top:.35rem}.library-card__cover,.library-cover{width:100%;height:180px;object-fit:cover;border-radius:.7rem;background:#eaf0f7}.library-cover{height:330px}.library-card__placeholder,.library-cover--placeholder{display:grid;place-items:center;align-content:center;color:#12365d;font-weight:800;font-size:2rem;background:linear-gradient(135deg,#eaf0f7,#d6e1ee)}.library-cover--placeholder strong{font-size:1rem;text-align:center;padding:1rem}.library-stats{display:flex;flex-wrap:wrap;gap:1rem;color:#61758b;font-size:.9rem}.pdf-reader{width:100%;height:650px;border:1px solid #dbe4ee;border-radius:.8rem;background:#f5f7fa}@media(max-width:768px){.pdf-reader{height:520px}.carousel-caption{left:7%;right:7%;bottom:1rem}.carousel-caption h1{font-size:1.5rem}.carousel-caption p{font-size:.9rem}}@media(prefers-reduced-motion:reduce){.carousel-fade .carousel-item img,.carousel-fade .carousel-item.active .carousel-caption{animation:none}.btn,.nav-link,.dropdown-item,.news-card,.library-card,.service-tile,.home-news-card,.home-news-lead{transition:none}}

.local-editor{border:1px solid #d7e0ea;border-radius:.65rem;overflow:hidden;background:#fff}.local-editor__toolbar{display:flex;flex-wrap:wrap;gap:.35rem;padding:.55rem;background:#eef3f8;border-bottom:1px solid #d7e0ea}.local-editor__toolbar button{border:1px solid #c4d0dc;background:#fff;border-radius:.35rem;padding:.3rem .55rem;font-size:.8rem;color:#12365d}.local-editor__toolbar button:hover{background:#dce9f5;transform:translateY(-1px)}.local-editor__area{min-height:260px;padding:1rem;outline:none;line-height:1.6}.local-editor__area:focus{box-shadow:inset 0 0 0 2px #d4a84f}

.header-quick span,.mobile-quick-links span{color:var(--gold);font-size:1.05em;font-weight:800}.institution-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin:0 0 1.5rem}.institution-gallery figure{margin:0}.institution-gallery img{width:100%;height:180px;object-fit:cover;border-radius:.8rem;transition:transform .2s ease,box-shadow .2s ease}.institution-gallery img:hover{transform:translateY(-4px);box-shadow:0 .8rem 1.6rem #102b4820}.institution-gallery figcaption{font-size:.8rem;color:#61758b;margin-top:.35rem}

/* Timeline institutionnelle des anciens responsables */
.history-timeline{padding:1.5rem 0 2rem}.history-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:1.5rem;margin-bottom:2rem}.history-track{position:relative;padding-left:2.3rem}.history-track:before{content:"";position:absolute;left:.72rem;top:.8rem;bottom:.8rem;width:2px;background:linear-gradient(var(--gold),#b9c9d9)}.history-item{position:relative;margin-bottom:1.1rem}.history-item:last-child{margin-bottom:0}.history-marker{position:absolute;left:-2.3rem;top:1.25rem;display:grid;place-items:center;width:1.5rem;height:1.5rem;border:3px solid #fff;border-radius:50%;background:var(--gold);color:var(--navy);font-size:.68rem;font-weight:800;box-shadow:0 0 0 2px var(--gold);z-index:1}.history-content{display:grid;grid-template-columns:118px 1fr;gap:1.25rem;align-items:center;padding:1.1rem;background:#fff;border:1px solid #e2e9f1;border-left:4px solid var(--navy);border-radius:.9rem;transition:transform .2s,box-shadow .2s,border-color .2s}.history-content:hover{transform:translateX(5px);box-shadow:0 .8rem 1.8rem #102b4818;border-left-color:var(--gold)}.history-photo-wrap{width:118px;height:135px;border-radius:.65rem;overflow:hidden;background:linear-gradient(135deg,var(--navy),var(--blue));display:grid;place-items:center}.history-photo{width:100%;height:100%;object-fit:cover}.history-photo-placeholder{color:#fff;font-size:2.4rem;font-weight:800}.history-dates{color:#8b691f;font-size:.8rem;font-weight:800;letter-spacing:.02em}.history-dates span{padding:0 .3rem}.history-copy h3{margin:.35rem 0 .2rem;color:var(--navy);font-size:1.25rem}.history-role{margin:0;color:var(--blue);font-weight:800}.history-period{display:inline-block;margin:.45rem 0;padding:.25rem .55rem;border-radius:999px;background:#eaf0f7;color:#50667b;font-size:.78rem}.footer-column{display:flex;flex-direction:column;gap:.45rem}.footer-column h2{color:#fff;font-size:.95rem;text-transform:uppercase;letter-spacing:.1em;margin:0 0 .5rem}.footer-column p{color:#d9e3ee;margin:0;line-height:1.65}.footer-bottom{border-top:1px solid #ffffff2b}.footer-identity{display:flex;align-items:flex-start;gap:1rem}.footer-identity img{width:72px;height:72px;object-fit:contain}.footer-identity strong{display:block;color:#fff;font-size:1.15rem}.footer a{transition:color .2s,transform .2s}.footer a:hover{transform:translateX(2px)}
@media(max-width:640px){.history-heading{display:block}.history-heading .badge-soft{margin-top:.8rem}.history-track{padding-left:1.65rem}.history-track:before{left:.48rem}.history-marker{left:-1.65rem}.history-content{grid-template-columns:72px 1fr;gap:.8rem;padding:.8rem}.history-photo-wrap{width:72px;height:86px}.history-copy h3{font-size:1.05rem}.history-dates{font-size:.7rem}.history-dates span{display:block;padding:0}.footer-identity{align-items:center}.footer-bottom{align-items:flex-start!important}}
@media(prefers-reduced-motion:reduce){.history-content,.footer a{transition:none}}

/* Timeline alternée : ligne centrale desktop, ligne latérale sur mobile */
@media(min-width:769px){.history-track{max-width:1080px;margin:0 auto;padding:0}.history-track:before{left:50%;top:0;bottom:0;transform:translateX(-50%);background:linear-gradient(to bottom,transparent,var(--gold) 8%,var(--gold) 92%,transparent);animation:historyLineReveal 1.4s ease both}.history-item{width:50%;padding:0 2.6rem 1.6rem}.history-item:nth-child(odd){margin-left:0;text-align:right}.history-item:nth-child(even){margin-left:50%;text-align:left}.history-item:nth-child(odd) .history-content{grid-template-columns:1fr 118px;border-left:1px solid #e2e9f1;border-right:4px solid var(--navy)}.history-item:nth-child(odd) .history-content:hover{border-right-color:var(--gold);border-left-color:#e2e9f1;transform:translateX(-5px)}.history-item:nth-child(odd) .history-marker{left:auto;right:-.75rem}.history-item:nth-child(even) .history-marker{left:-.75rem}.history-item:nth-child(odd) .history-copy{order:1}.history-item:nth-child(odd) .history-photo-wrap{order:2}.history-item:nth-child(odd) .history-dates span{display:inline}.history-marker{animation:historyPulse 2.4s ease-in-out infinite}.history-item{opacity:0;transform:translateX(-28px);transition:opacity .65s ease,transform .65s ease}.history-item:nth-child(even){transform:translateX(28px)}.history-item.is-visible{opacity:1;transform:none}}
@keyframes historyLineReveal{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0)}}@keyframes historyPulse{0%,100%{box-shadow:0 0 0 2px var(--gold),0 0 0 0 #d4a84f66}50%{box-shadow:0 0 0 2px var(--gold),0 0 0 7px #d4a84f00}}
@media(max-width:768px){.history-item{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}.history-item.is-visible{opacity:1;transform:none}.history-marker{animation:historyPulse 2.4s ease-in-out infinite}}


/* Footer institutionnel : identité en tête, puis trois panneaux alignés et animés. */
.footer > .container{position:relative}
.footer-identity--identity{display:flex}
.footer-panel--identity{max-width:48rem;margin:0 auto 2rem;padding:1.1rem 1.25rem;border:1px solid rgba(212,168,79,.28);border-radius:1rem;background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.02));box-shadow:0 .8rem 2rem rgba(0,0,0,.12)}
.footer-panel--identity img{flex:0 0 auto}
.footer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:stretch}
.footer-grid .footer-panel{min-height:100%;padding:1.35rem;border:1px solid rgba(212,168,79,.22);border-radius:1rem;background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.025));box-shadow:0 .65rem 1.6rem rgba(0,0,0,.12);transition:transform .22s cubic-bezier(.23,1,.32,1),border-color .22s,box-shadow .22s,background .22s}
.footer-grid .footer-panel:hover,.footer-grid .footer-panel:focus-within{transform:translateY(-5px);border-color:rgba(212,168,79,.8);background:linear-gradient(145deg,rgba(212,168,79,.14),rgba(255,255,255,.04));box-shadow:0 1rem 2.2rem rgba(0,0,0,.2)}
.footer-column h2{display:flex;align-items:center;gap:.55rem;margin:0 0 1rem;padding-bottom:.7rem;border-bottom:1px solid rgba(255,255,255,.18);font-size:.88rem;letter-spacing:.1em}
.footer-panel__icon{display:grid;place-items:center;width:1.8rem;height:1.8rem;border-radius:.55rem;background:var(--gold);color:var(--navy);font-size:1rem;box-shadow:0 .25rem .6rem rgba(0,0,0,.15)}
.footer-links{display:grid;gap:.45rem}
.footer-links a{display:block;padding:.18rem 0;transition:color .18s,transform .18s,padding-left .18s}
.footer-links a:hover,.footer-links a:focus-visible{padding-left:.3rem;text-decoration:none;transform:none}
.footer-contact{display:grid;gap:.65rem}
.footer-contact p{margin:0}
.footer-bottom{position:relative}
@media(max-width:900px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid .footer-panel:last-child{grid-column:1/-1}}
@media(max-width:600px){.footer-panel--identity{margin-bottom:1.25rem}.footer-grid{grid-template-columns:1fr}.footer-grid .footer-panel:last-child{grid-column:auto}.footer-grid .footer-panel{padding:1.1rem}.footer-bottom{align-items:flex-start!important}}
@media(prefers-reduced-motion:reduce){.footer-grid .footer-panel,.footer-links a{transition:none}}

/* Ajustements formulaires utilisateur — Bootstrap 5, responsive et léger. */
.user-form-card,.card form{border:1px solid #e2e9f1;border-radius:1rem;box-shadow:0 .6rem 1.5rem #102b4810;background:#fff;}
form .form-control,form .form-select{border:1px solid #cbd7e3;border-radius:.7rem;padding:.7rem .85rem;transition:border-color .18s,box-shadow .18s,transform .18s;}
form .form-control:focus,form .form-select:focus{border-color:var(--gold);box-shadow:0 0 0 .22rem #d4a84f35;transform:translateY(-1px);}
form .btn{border-radius:.65rem;transition:transform .16s ease-out,box-shadow .16s ease-out;}
form .btn:hover{transform:translateY(-2px);box-shadow:0 .5rem 1rem #102b4820;}
form .btn:active{transform:scale(.97);}.contact-hero-link{color:#172a3d!important;font-weight:800;}
.communication-recipient{display:flex;gap:.6rem;align-items:flex-start;padding:.65rem .75rem;border:1px solid #e4ebf2;border-radius:.65rem;transition:background .18s,border-color .18s;}
.communication-recipient:hover{background:#fff9e9;border-color:var(--gold);}
@media (prefers-reduced-motion:reduce){form .form-control,form .form-select,form .btn{transition:none!important;}}

/* Formulaires citoyens : couche moderne commune, compatible avec la charte institutionnelle. */
.user-form-card,.form-shell,.contact-panel{background:#fff;border:1px solid #e3eaf1;border-radius:1.25rem;box-shadow:0 1rem 2.5rem rgba(7,24,45,.08);animation:formEnter .55s ease both}.user-form-card,.form-shell{padding:clamp(1.25rem,3vw,2.25rem)}.form-shell{max-width:760px;margin-inline:auto}.form-section-title{display:flex;align-items:center;gap:.7rem;color:var(--blue);font-size:1rem;font-weight:800;margin:1.35rem 0 .8rem}.form-section-title:before{content:'';width:.35rem;height:1.3rem;border-radius:1rem;background:var(--gold)}.user-form-card label,.form-shell label,.contact-panel label{display:block;color:#243a52;font-size:.83rem;font-weight:750;margin-bottom:.4rem}.user-form-card input,.user-form-card textarea,.user-form-card select,.form-shell input,.form-shell textarea,.form-shell select,.contact-panel input,.contact-panel textarea,.contact-panel select{width:100%;margin:.15rem 0 0;padding:.78rem .9rem;border:1px solid #d4dee8;border-radius:.7rem;background:#fbfcfe;color:#172a3d;transition:border-color .2s,box-shadow .2s,transform .2s}.user-form-card input:focus,.user-form-card textarea:focus,.user-form-card select:focus,.form-shell input:focus,.form-shell textarea:focus,.form-shell select:focus,.contact-panel input:focus,.contact-panel textarea:focus,.contact-panel select:focus{border-color:var(--gold);box-shadow:0 0 0 .22rem rgba(212,168,79,.18);outline:0;transform:translateY(-1px)}.user-form-card .helptext,.form-shell .helptext{display:block;color:#71849a;font-size:.76rem;margin-top:.35rem}.user-form-card ul.errorlist,.form-shell ul.errorlist,.contact-panel ul.errorlist{list-style:none;padding:0;margin:.35rem 0 0;color:#b42318;font-size:.78rem}.user-form-card button,.form-shell button,.contact-panel button{transition:transform .2s,box-shadow .2s}.user-form-card button:hover,.form-shell button:hover,.contact-panel button:hover{transform:translateY(-2px);box-shadow:0 .65rem 1.3rem rgba(7,24,45,.16)}.form-actions{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center;margin-top:1.5rem}.contact-hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#07182d 0%,#12365d 62%,#1c4d78 100%);color:#fff}.contact-hero:after{content:'';position:absolute;width:24rem;height:24rem;border:1px solid rgba(212,168,79,.35);border-radius:50%;right:-8rem;top:-10rem;box-shadow:0 0 0 2rem rgba(212,168,79,.06),0 0 0 5rem rgba(212,168,79,.04)}.contact-hero .container{position:relative;z-index:1}.contact-hero h1{font-size:clamp(2.3rem,6vw,4.8rem);letter-spacing:-.05em;font-weight:850}.contact-hero .lead{max-width:720px;color:#dce8f4}.contact-points{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.25rem}.contact-point{display:inline-flex;align-items:center;gap:.45rem;padding:.5rem .75rem;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.08);font-size:.78rem}.contact-panel{padding:clamp(1.25rem,3vw,2rem);height:100%}.contact-panel--accent{background:linear-gradient(145deg,#0a1d35,#12365d);color:#fff;border:0;position:relative;overflow:hidden}.contact-panel--accent:before{content:'✦';position:absolute;right:1.2rem;top:.7rem;color:var(--gold);font-size:4rem;opacity:.35}.contact-panel--accent h2,.contact-panel--accent p{position:relative;z-index:1}.contact-panel--accent a{color:#f1d48b}.contact-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;margin:1rem 0 1.4rem}.contact-progress span{height:.3rem;border-radius:1rem;background:#e7edf3}.contact-progress span:first-child,.contact-progress span:nth-child(2){background:var(--gold)}.contact-counter{display:flex;justify-content:space-between;color:#71849a;font-size:.75rem;margin-top:.35rem}.contact-panel textarea{min-height:9rem;resize:vertical}.preview-highlight{border-left:4px solid var(--gold);background:#fff8e8;padding:.8rem 1rem;border-radius:.65rem}@keyframes formEnter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@media(max-width:576px){.form-actions>*{width:100%}.contact-hero:after{opacity:.5}.contact-progress{margin-top:.8rem}.contact-panel{padding:1.1rem}}@media(prefers-reduced-motion:reduce){.user-form-card,.form-shell,.contact-panel{animation:none}.user-form-card input,.form-shell input,.contact-panel input{transition:none}}

/* RBAC et conversations */
.permission-matrix{border:1px solid rgba(17,55,88,.15);border-radius:18px;padding:1.25rem;background:#f8fafc}.permission-matrix legend{font-weight:700;color:#113758}.permission-group{height:100%;padding:1rem;border-radius:14px;background:#fff;border:1px solid rgba(17,55,88,.12);box-shadow:0 8px 24px rgba(17,55,88,.06)}.permission-group strong{display:block;margin-bottom:.65rem;color:#113758}.permission-group .form-check{margin:.35rem 0}.conversation-thread{display:flex;flex-direction:column;gap:.75rem}.conversation-message{max-width:82%;padding:1rem 1.1rem;border-radius:16px;background:#f1f5f9;border:1px solid rgba(17,55,88,.1)}.conversation-message--citizen{align-self:flex-end;background:#fff5cf;border-color:#e0b83f}.conversation-message--staff{align-self:flex-start;background:#eaf3fb}.conversation-message strong{display:block;color:#113758}.conversation-message small{display:block;color:#64748b;margin:.2rem 0 .55rem}.conversation-message p{margin:0;white-space:pre-wrap}@media(max-width:576px){.conversation-message{max-width:100%}}

/* Application shell: navigation séparée du site public, responsive et sans scroll horizontal. */
html,body{max-width:100%;overflow-x:hidden}.app-shell-nav{position:sticky;top:0;z-index:1030;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.8rem clamp(1rem,3vw,2.5rem);background:#07182d;color:#fff;box-shadow:0 4px 18px rgba(7,24,45,.16)}.app-shell-nav>div{display:flex;flex-direction:column;line-height:1.1}.app-shell-nav small{opacity:.7;font-size:.7rem;margin-top:.25rem}.app-shell-nav nav{display:flex;align-items:center;flex-wrap:wrap;gap:.8rem}.app-shell-nav a{color:#fff;text-decoration:none;font-size:.85rem}.app-shell-nav a:hover{color:#f0c75e}.session-remaining{border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:.35rem .65rem;font-size:.72rem;color:#f5d989}.profile-preview{display:flex;align-items:center;gap:1rem;padding:1rem;border:1px solid #d9e2eb;border-radius:1rem;background:#f8fafc}.profile-avatar{width:5rem;height:5rem;border-radius:50%;display:grid;place-items:center;background:#d5a843;color:#07182d;font-size:2rem;font-weight:800;overflow:hidden}.profile-avatar--image{object-fit:cover}.profile-preview strong{font-size:1.1rem}.local-editor{border:1px solid #d4dee8;border-radius:.7rem;overflow:hidden;background:#fff}.local-editor__toolbar{display:flex;flex-wrap:wrap;gap:.35rem;padding:.55rem;background:#f4f7fa;border-bottom:1px solid #d4dee8}.local-editor__toolbar button{border:1px solid #cad6e2;background:#fff;border-radius:.35rem;padding:.35rem .55rem;font-size:.78rem;color:#243a52}.local-editor__toolbar button:hover{background:#e8f0f7;transform:translateY(-1px)}.local-editor__area{min-height:14rem;padding:1rem;outline:0;line-height:1.6}.local-editor__area:focus{box-shadow:inset 0 0 0 .18rem rgba(212,168,79,.18)}.local-editor__area img{max-width:100%;height:auto;border-radius:.55rem}@media(max-width:720px){.app-shell-nav{align-items:flex-start;flex-direction:column}.app-shell-nav nav{gap:.55rem}.app-shell-nav a{font-size:.78rem}.app-shell-nav .session-remaining{margin-top:.15rem}}
.avatar--image{object-fit:cover}

/* Shell applicatif final : chaque zone Admin défile indépendamment. */
.app-admin-bar{min-height:3.15rem;display:flex;align-items:center;gap:.85rem;flex-wrap:wrap;padding:.55rem clamp(.85rem,2vw,1.5rem);background:#061426;color:#f4f7fa;border-bottom:1px solid #294765;position:sticky;top:0;z-index:1040}.app-admin-bar strong{font-size:.82rem;letter-spacing:.03em}.app-admin-bar__status{font-size:.74rem;color:#9fb4c8;margin-right:auto}.app-admin-bar a{color:#fff;text-decoration:none;font-size:.78rem;border:1px solid #52718f;border-radius:.35rem;padding:.3rem .55rem}.app-admin-bar a:hover,.app-admin-bar a:focus-visible{color:#f0c75e;border-color:#d4a84f}.app-admin-bar .session-remaining{white-space:nowrap}
.backoffice-shell{height:calc(100dvh - 3.15rem);min-height:32rem;display:flex;align-items:stretch;overflow:hidden}.backoffice-sidebar{height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;position:relative}.backoffice-main{height:100%;min-height:0;overflow-y:auto;overflow-x:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.backoffice-main>.backoffice-topbar{position:sticky;top:0;z-index:10;background:#f4f7fa;padding-top:.1rem}.backoffice-main .bo-panel,.backoffice-main .chart-grid,.backoffice-main .bo-lower-grid{min-width:0}.backoffice-main .table-responsive{width:100%;max-width:100%;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.backoffice-main table{min-width:42rem}.app-shell-nav{min-height:3.2rem;position:sticky;top:0;overflow:visible}.app-shell-nav nav{min-width:0}.app-shell-nav a,.app-shell-nav .session-remaining{white-space:nowrap}
@media(max-width:800px){.app-admin-bar{gap:.45rem}.app-admin-bar__status{flex-basis:100%;order:3;margin:0}.app-admin-bar .session-remaining{margin-left:auto}.backoffice-shell{height:calc(100dvh - 6rem);min-height:34rem;display:flex;flex-direction:column;overflow:hidden}.backoffice-sidebar{width:100%;height:35%;max-height:35%;flex:0 0 35%;padding:.8rem;overflow-y:auto;overflow-x:hidden}.backoffice-main{width:100%;height:65%;flex:1 1 65%;overflow-y:auto;overflow-x:auto;padding:1rem}.backoffice-main>.backoffice-topbar{position:sticky;top:0}.backoffice-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.2rem}.backoffice-sidebar nav .menu-label{grid-column:1/-1}.backoffice-sidebar .sidebar-site{margin-top:.5rem}.backoffice-main table{min-width:38rem}.app-shell-nav{position:sticky;top:0}}
@media(max-width:480px){.app-admin-bar a{font-size:.72rem;padding:.25rem .4rem}.backoffice-shell{height:calc(100dvh - 6.7rem)}.backoffice-sidebar{height:38%;max-height:38%;flex-basis:38%}.backoffice-main{height:62%;flex-basis:62%;padding:.75rem}.backoffice-sidebar nav{grid-template-columns:1fr}.backoffice-main table{min-width:34rem}}

/* Tableau de bord de diagnostic SMS. */
.sms-status-card{height:100%;display:flex;flex-direction:column;gap:.35rem;padding:1rem;border:1px solid #e3eaf1;border-radius:.85rem;background:#fff;min-width:0}.sms-status-card span{color:#71849a;font-size:.76rem}.sms-status-card strong{color:#12365d;font-size:1.15rem;overflow-wrap:anywhere}.sms-status-card small{color:#71849a;font-size:.72rem}.sms-preview-message{white-space:pre-wrap;padding:1rem;border:1px dashed #d4a84f;border-radius:.65rem;background:#fffaf0;color:#25384b}.sms-recipient-list{max-height:14rem;overflow-y:auto;border:1px solid #e1e8ef;border-radius:.55rem;padding:.45rem}.communication-recipient{display:flex;align-items:flex-start;gap:.55rem;padding:.5rem;border-radius:.35rem}.communication-recipient:hover{background:#f4f7fa}.status-disabled{background:#f3f4f6;color:#536273}.status-sent{background:#e4f4ea;color:#23734e}.status-failed{background:#fde8e7;color:#a3332c}


/* Apparition progressive au défilement : transform/opacity uniquement, sans déplacement de mise en page. */
.reveal{animation:none;opacity:0;transform:translateY(24px) scale(.98);transition:opacity .55s cubic-bezier(.23,1,.32,1),transform .55s cubic-bezier(.23,1,.32,1)}
.reveal.is-visible{opacity:1;transform:none}
.article-body img,.compact-copy img{max-width:100%;height:auto;display:block;border-radius:.55rem;margin:1rem 0}
@media(prefers-reduced-motion:reduce){.reveal,.reveal.is-visible{opacity:1;transform:none;transition:none}}

/* Dashboard Admin : avatar carré lisible, palette institutionnelle conservée. */
.backoffice-topbar .topbar-user .avatar,.backoffice-topbar .topbar-user .avatar--image{width:2.85rem;height:2.85rem;border-radius:.55rem;object-fit:cover;flex:0 0 2.85rem}

/* Dashboard Admin — adaptation fidèle aux maquettes fournies, palette institutionnelle conservée. */
.reference-dashboard{display:flex;height:calc(100dvh - 3.15rem);min-height:32rem;background:#f5f6fb;color:#20233a;overflow:hidden}.reference-sidebar{width:258px;flex:0 0 258px;background:linear-gradient(180deg,#07182d 0%,#12365d 100%);color:#fff;padding:1rem .85rem;display:flex;flex-direction:column;height:100%;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;box-shadow:4px 0 18px #0a4dcc25}.reference-brand{display:flex;align-items:center;gap:.65rem;padding:.2rem .55rem 1rem}.reference-brand-mark{display:grid;place-items:center;width:2.45rem;height:2.45rem;border-radius:50%;background:#fff;color:#12365d;font-size:1.35rem;font-weight:900}.reference-brand strong{display:block;font-size:1.12rem;letter-spacing:.01em}.reference-brand small{display:block;font-size:.67rem;opacity:.8;margin-top:.15rem}.reference-collapse{align-self:flex-start;color:#fff;background:transparent;border:0;font-size:1.1rem;padding:.3rem .55rem;margin-bottom:.55rem}.reference-nav{display:flex;flex-direction:column;gap:.16rem}.reference-nav a{position:relative;display:flex;align-items:center;gap:.65rem;color:#eaf2ff;text-decoration:none;border-radius:.55rem;padding:.68rem .7rem;font-size:.82rem;transition:background .18s,transform .18s}.reference-nav a span{width:1.15rem;text-align:center;font-size:1rem;opacity:.9}.reference-nav a:hover,.reference-nav a.is-active{background:#d4a84f;color:#07182d;transform:translateX(2px)}.reference-nav a.reference-create{background:#12365d;color:#fff;border:1px solid #ffffff28}.reference-section{color:#a8c9ff;font-size:.61rem;letter-spacing:.15em;font-weight:800;padding:.95rem .7rem .28rem}.reference-badge{margin-left:auto;background:#ff766d;color:#fff;border-radius:999px;min-width:1.3rem;padding:.12rem .35rem;text-align:center;font-size:.65rem}.reference-sidebar-footer{margin-top:auto;border-top:1px solid #ffffff30;padding-top:.8rem;display:flex;flex-direction:column;gap:.15rem}.reference-sidebar-footer a{color:#eaf2ff;text-decoration:none;padding:.55rem .7rem;font-size:.78rem;border-radius:.45rem}.reference-sidebar-footer a:hover{background:#ffffff1a}.reference-main{flex:1;height:100%;min-width:0;min-height:0;overflow-y:auto;overflow-x:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 1.45rem 2rem}.reference-topbar{height:4.1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid #e7e9f2}.reference-search{display:flex;align-items:center;gap:.55rem;background:#eef0f8;border-radius:.45rem;color:#a1a8bd;padding:.55rem .8rem;width:min(330px,55vw)}.reference-search input{border:0;background:transparent;outline:0;margin:0;width:100%;font-size:.8rem}.reference-top-actions{display:flex;align-items:center;gap:1rem;color:#788096;font-size:.78rem}.reference-top-actions button{border:0;background:#eef0f8;color:#788096;border-radius:50%;width:2rem;height:2rem}.reference-user-link{display:grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:50%;overflow:hidden;background:#6546d8;color:#fff;text-decoration:none;font-weight:800}.reference-user-link img{width:100%;height:100%;object-fit:cover}.reference-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;padding:1.55rem 0 1.15rem}.reference-heading h1{font-size:1.85rem;margin:.25rem 0 0;letter-spacing:-.04em}.reference-session{color:#27845a;font-size:.78rem;font-weight:800}.reference-session small{display:block;color:#858ca0;font-weight:500;text-align:right;margin-top:.2rem}.reference-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1rem}.reference-stat{display:flex;align-items:center;gap:.75rem;background:#fff;border-radius:.8rem;padding:1rem;min-height:112px;text-decoration:none;color:#20233a;box-shadow:0 5px 18px #263d7b0d;transition:transform .18s,box-shadow .18s}.reference-stat:hover{transform:translateY(-3px);box-shadow:0 12px 25px #263d7b18}.stat-icon{display:grid;place-items:center;width:3rem;height:3rem;border-radius:50%;font-size:1.4rem}.reference-stat strong{display:block;font-size:1.45rem;letter-spacing:-.04em}.reference-stat small,.reference-stat em{display:block;color:#858ca0;font-size:.73rem;font-style:normal}.reference-stat em{margin-top:.25rem;font-weight:700}.stat-purple .stat-icon{background:#eee9ff;color:#6846d9}.stat-purple em{color:#6846d9}.stat-yellow .stat-icon{background:#fff5df;color:#e7b34f}.stat-yellow em{color:#d89d2f}.stat-blue .stat-icon{background:#e8f1ff;color:#2169e8}.stat-blue em{color:#2169e8}.stat-green .stat-icon{background:#e5fbf1;color:#41bb8b}.stat-green em{color:#41bb8b}.reference-content-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:1rem}.reference-panel{background:#fff;border-radius:.8rem;padding:1.1rem;box-shadow:0 5px 18px #263d7b0d;min-width:0}.reference-chart-panel,.reference-table-panel{min-width:0}.reference-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.7rem}.reference-panel h2{font-size:1rem;margin:0;color:#25283b}.reference-panel p{margin:.25rem 0 0;color:#8a91a5;font-size:.74rem}.reference-panel-head a,.reference-purple-panel a{color:#6846d9;text-decoration:none;font-size:.75rem;font-weight:800;white-space:nowrap}.reference-chart-wrap{height:260px}.reference-purple-panel{background:linear-gradient(160deg,#6231e9,#7c41ef);color:#fff;overflow:hidden}.reference-purple-panel h2{color:#fff}.reference-purple-panel p{color:#e8ddff}.reference-purple-panel strong{display:block;font-size:1.55rem;margin-top:.65rem}.mini-chart-wrap{height:120px;margin:1rem -0.4rem .3rem}.reference-purple-panel a{color:#fff}.reference-table-panel{grid-column:1}.reference-table{width:100%;border-collapse:collapse;font-size:.76rem}.reference-table th{color:#9aa1b4;font-weight:600;text-align:left;padding:.65rem .45rem;border-bottom:1px solid #edf0f6}.reference-table td{padding:.75rem .45rem;border-bottom:1px solid #f0f2f7;color:#50566c}.reference-table td strong{color:#30354a}.reference-status{background:#eaf8ef;color:#27845a;border-radius:999px;padding:.28rem .5rem;font-size:.68rem;font-weight:800}.reference-categories{grid-column:2;grid-row:2}.reference-categories a{display:flex;justify-content:space-between;gap:.5rem;color:#444a5d;text-decoration:none;padding:.68rem 0;border-bottom:1px solid #edf0f5;font-size:.77rem}.reference-categories a:hover{color:#12365d}.reference-categories strong{color:#31364b}.reference-dashboard .table-responsive{overflow-x:auto}.reference-dashboard .table-responsive::-webkit-scrollbar{height:7px}.reference-dashboard .table-responsive::-webkit-scrollbar-thumb{background:#ccd3e4;border-radius:8px}@media(max-width:1100px){.reference-sidebar{width:225px;flex-basis:225px}.reference-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-content-grid{grid-template-columns:minmax(0,1fr) 240px}}@media(max-width:800px){.reference-dashboard{display:flex;flex-direction:column;height:calc(100dvh - 3.15rem);overflow:hidden}.reference-sidebar{width:100%;height:38%;max-height:38%;flex:0 0 38%;overflow:auto}.reference-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.reference-section{grid-column:1/-1}.reference-sidebar-footer{flex-direction:row}.reference-main{height:62%;flex:1 1 62%;overflow-y:auto;overflow-x:auto;padding:0 .85rem 1.5rem}.reference-topbar{height:auto;padding:.75rem 0}.reference-heading{align-items:flex-start;flex-direction:column}.reference-session small{text-align:left}.reference-content-grid{grid-template-columns:1fr}.reference-table-panel,.reference-categories{grid-column:auto;grid-row:auto}.reference-chart-wrap{height:220px}}@media(max-width:480px){.reference-sidebar{height:40%;max-height:40%;flex-basis:40%}.reference-main{height:60%;flex-basis:60%}.reference-stat-grid{grid-template-columns:1fr}.reference-nav{grid-template-columns:1fr}.reference-top-actions{gap:.45rem}.reference-search{width:55%}.reference-heading h1{font-size:1.5rem}.reference-table{min-width:620px}}

.reference-restored-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.8fr);gap:1rem;margin-top:1rem}.reference-restored-grid .reference-wide-panel{min-width:0}.reference-chart-small{height:210px;position:relative}.reference-mini-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem;margin:.75rem 0 1rem}.reference-mini-metrics div{padding:.55rem .6rem;border-radius:.55rem;background:#f7f8fb}.reference-mini-metrics small{display:block;color:#8a91a5;font-size:.65rem}.reference-mini-metrics strong{display:block;color:#12365d;font-size:.9rem;margin-top:.2rem}.reference-audit-row{display:flex;gap:.6rem;padding:.55rem 0;border-bottom:1px solid #edf0f5}.reference-audit-row>span{color:#d4a84f}.reference-audit-row strong{display:block;color:#30354a;font-size:.74rem}.reference-audit-row small{display:block;color:#8a91a5;font-size:.66rem;margin-top:.15rem}.reference-muted{color:#8a91a5;font-size:.75rem}.reference-alert-row{display:flex;align-items:center;gap:.55rem;text-decoration:none;color:#444a5d;border-bottom:1px solid #edf0f5;padding:.75rem 0;font-size:.76rem}.reference-alert-row span{color:#12365d}.reference-alert-row strong{flex:1}.reference-alert-row b{color:#fff;background:#d4a84f;border-radius:999px;min-width:1.35rem;padding:.15rem .35rem;text-align:center;font-size:.67rem}.reference-finance-panel{border-top:3px solid #d4a84f}@media(max-width:800px){.reference-restored-grid{grid-template-columns:1fr}.reference-mini-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.reference-mini-metrics{grid-template-columns:1fr 1fr}.reference-chart-small{height:190px}}

.reference-dashboard .reference-sidebar::-webkit-scrollbar,.reference-dashboard .reference-main::-webkit-scrollbar{width:9px;height:9px}.reference-dashboard .reference-sidebar::-webkit-scrollbar-thumb,.reference-dashboard .reference-main::-webkit-scrollbar-thumb{background:#9aa8b8;border-radius:8px;border:2px solid transparent;background-clip:padding-box}.reference-dashboard .reference-sidebar::-webkit-scrollbar-track,.reference-dashboard .reference-main::-webkit-scrollbar-track{background:#07182d22}.reference-dashboard .reference-main{scrollbar-color:#9aa8b8 transparent;scrollbar-width:auto}.reference-dashboard .reference-sidebar{scrollbar-color:#9aa8b8 transparent;scrollbar-width:auto}

/* Correctif non destructif : le contenu institutionnel reste visible même si une
   galerie volumineuse retarde l’IntersectionObserver. Les animations des blocs
   internes et des autres pages sont conservées. */
main.narrow.reveal {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}


/* Actualités : interactions, commentaires en fondu et pagination. */
.article-main-container{background:#fff;border:1px solid #e2e9f1;border-radius:1rem;padding:clamp(1rem,2.5vw,2rem);box-shadow:0 .7rem 1.8rem #102b480b}
.article-interactions,.news-card__actions{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem}
.article-interactions{padding:.85rem 0;margin:1.1rem 0 1.6rem;border-top:1px solid #e5ebf2;border-bottom:1px solid #e5ebf2}
.interaction-button,.comment-like-button{border:1px solid #d8e1ea;background:#fff;color:#29435d;border-radius:999px;padding:.42rem .78rem;font-size:.82rem;font-weight:700;cursor:pointer;transition:transform .18s ease,background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}
.interaction-button:hover,.interaction-button:focus-visible,.comment-like-button:hover,.comment-like-button:focus-visible{transform:translateY(-2px);border-color:var(--gold);box-shadow:0 .35rem .8rem #102b4814;outline:0}
.interaction-button.is-active,.comment-like-button.is-active{background:#fff4d7;border-color:var(--gold);color:#7b5a15}
.news-card__actions{margin-top:1rem;padding-top:.8rem;border-top:1px solid #edf1f5}
.news-card__actions .interaction-button{font-size:.74rem;padding:.34rem .65rem}
.news-thumb--placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#07182d,#12365d);color:#f4d88b;font-weight:800;letter-spacing:.08em}
.comment-fade{border:1px solid #e5d7b2;border-left:4px solid var(--gold);border-radius:.85rem;background:linear-gradient(135deg,#fffdf7 0%,#fff7df 48%,#f8fbff 100%);box-shadow:0 .45rem 1.1rem #102b480b;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.comment-fade:hover{transform:translateX(4px);box-shadow:0 .8rem 1.5rem #102b4814;background:linear-gradient(135deg,#fff8df,#f1f7ff)}
.comment-like-button{font-size:.75rem;padding:.3rem .65rem}
.news-pagination{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:2rem;padding:1rem;border-top:1px solid #e5ebf2;color:#61758b;font-size:.88rem}
.news-pagination a{color:var(--blue);font-weight:800;text-decoration:none;padding:.45rem .75rem;border:1px solid #d8e1ea;border-radius:999px;transition:transform .18s ease,background-color .18s ease,color .18s ease}
.news-pagination a:hover,.news-pagination a:focus-visible{background:var(--blue);color:#fff;transform:translateY(-2px);outline:0}
.news-recent-panel{overflow:hidden}
@media(max-width:576px){.news-pagination{gap:.45rem;font-size:.78rem}.news-pagination a{padding:.4rem .55rem}.article-interactions{justify-content:flex-start}}
