/* ==========================================================
   V37 — NUANCES INSTITUTIONNELLES & LOGO CORRIGÉ
   Palette EMSS83 : bleu institutionnel, gris bleuté, rouge logo
   Objectif : supprimer l'effet "tout blanc" sans assombrir le site.
   ========================================================== */
:root{
  --v37-navy:#173c55;
  --v37-deep:#102f43;
  --v37-slate:#405a6b;
  --v37-red:#c63d48;
  --v37-mist:#eaf0f3;
  --v37-pale:#f2f5f6;
  --v37-paper:#f8fafb;
  --v37-line:#d6e0e4;
}
html{background:var(--v37-mist)}
body{background:var(--v37-pale)!important;color:#304957}
/* Header: plus net, avec logo isolé du texte */
.site-header-v36{background:rgba(248,250,251,.98)!important}
.header-v36{min-height:96px!important}
.brand-logo-frame{
  width:72px!important;height:72px!important;flex-basis:72px!important;
  border-radius:50%!important;padding:5px!important;overflow:hidden!important;
  background:linear-gradient(145deg,#fff,#edf2f4)!important;
  border:2px solid rgba(198,61,72,.24)!important;
  box-shadow:0 8px 20px rgba(15,49,68,.12)!important;
}
.brand-logo-frame img{
  width:100%!important;height:100%!important;max-width:none!important;
  object-fit:contain!important;display:block!important;
}
.brand-name-v36 strong{font-size:16px!important;color:#193d54!important;letter-spacing:.025em!important}
.brand-name-v36 span{font-size:10px!important;color:#657783!important;max-width:235px}
.nav-v36{background:#fdfefe!important;border-color:#d5e0e4!important}
.header-socials-v36 .header-social{background:#f7fafb!important}
/* Hero: fond gris-bleuté nuancé, sans bloc blanc brutal */
.public-hero-v19{
  background:
    radial-gradient(circle at 10% 5%,rgba(198,61,72,.08),transparent 23%),
    radial-gradient(circle at 88% 22%,rgba(23,60,85,.08),transparent 28%),
    linear-gradient(135deg,#edf2f4 0%,#e3ebee 52%,#f0f3f4 100%)!important;
  border-bottom:1px solid rgba(23,60,85,.09)!important;
}
.hero-copy .eyeline{background:rgba(255,255,255,.72)!important}
.hero-values .value{background:rgba(248,250,251,.82)!important}
/* Missions: contraste doux, cartes légèrement teintées */
.public-missions-v36{
  background:linear-gradient(180deg,#f8fafb 0%,#eef3f5 100%)!important;
  border-top:0!important;
}
.mission-strip-grid-v36 .strip-item{
  background:linear-gradient(180deg,#fbfcfc 0%,#f0f5f6 100%)!important;
  border-color:#d5e0e4!important;
}
.mission-strip-grid-v36 .strip-item:nth-child(even){
  background:linear-gradient(180deg,#f5f8f9 0%,#eaf0f2 100%)!important;
}
/* Actualités: section institutionnelle légèrement bleutée */
.news-showcase{
  background:
    linear-gradient(180deg,#dfe8ec 0%,#edf2f4 100%)!important;
  border-top:1px solid rgba(23,60,85,.07)!important;
  border-bottom:1px solid rgba(23,60,85,.07)!important;
}
.news-showcase .featured{background:#f9fbfc!important;border:1px solid #d5e0e4!important}
.news-showcase .featured-content{background:#f9fbfc!important}
/* Stats: bleu très clair, différencié du reste */
.emss-stats-premium{
  background:linear-gradient(135deg,#e8eff2,#dce7eb)!important;
}
.stat-card{
  background:rgba(250,252,252,.9)!important;
  border:1px solid rgba(23,60,85,.10)!important;
  box-shadow:0 10px 24px rgba(18,53,72,.06)!important;
}
/* Newsletter: fond extérieur pour éviter l'effet carte posée sur du blanc */
.public-module-newsletter{
  background:linear-gradient(180deg,#eef3f5 0%,#e4ecef 100%)!important;
  border-top:1px solid rgba(23,60,85,.06)!important;
}
.newsletter-public-card{border:1px solid rgba(255,255,255,.16)!important}
.newsletter-form-wrap{background:#f7f9fa!important}
/* Footer plus profond et plus institutionnel */
.public-footer-v19{
  background:linear-gradient(135deg,#102f43 0%,#173c55 58%,#234b65 100%)!important;
}
/* Sections génériques et pages publiques */
.public-page,.content-section,.contact-section{background:#eef3f5!important}
/* Réduction des blancs purs résiduels */
section{scroll-margin-top:110px}
@media(max-width:820px){
  .brand-logo-frame{width:60px!important;height:60px!important;flex-basis:60px!important}
}
