/* ========================================================================== 
   CNOM-RDC — Refonte éditoriale V2 / Accueil & parcours publics
   Objectif : hiérarchie claire, découverte progressive, confiance institutionnelle.
   ========================================================================== */

body.public-body {
  --cnom-navy: #073b78;
  --cnom-navy-2: #052c5c;
  --cnom-blue: #0b63b7;
  --cnom-blue-soft: #eaf4fb;
  --cnom-red: #e21d2f;
  --cnom-ink: #193753;
  --cnom-muted: #657b90;
  --cnom-line: #d7e3ed;
  --cnom-bg: #f7fafc;
  --cnom-shadow: 0 18px 50px rgba(6, 58, 111, 0.10);
  --cnom-shadow-soft: 0 8px 26px rgba(6, 58, 111, 0.07);
}

body.public-body .site-main {
  background: #fff;
}

body.public-body .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #3a6e9d;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

body.public-body .section-kicker::before {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--cnom-red);
  content: "";
}

body.public-body .text-link,
body.public-body .page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cnom-blue);
  font-size: .88rem;
  font-weight: 800;
}

body.public-body .text-link:hover,
body.public-body .page-back-link:hover {
  color: var(--cnom-navy);
}

/* ---------- HERO ACCUEIL ---------- */
body.public-body .home-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #d9e5ef;
  background:
    radial-gradient(circle at 12% 12%, rgba(255,255,255,.98), transparent 33%),
    linear-gradient(110deg, #f8fbfe 0%, #eef6fb 50%, #e7f1f8 100%);
}

body.public-body .home-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(5,71,128,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5,71,128,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  pointer-events: none;
}

body.public-body .home-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(calc(100% - 48px), 1380px);
  min-height: 620px;
  grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr);
  align-items: center;
  gap: clamp(30px, 5vw, 78px);
  margin: 0 auto;
  padding: 62px 0 72px;
}

body.public-body .home-hero-copy {
  max-width: 720px;
}

body.public-body .home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  color: #366a99;
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.public-body .home-eyebrow i {
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: var(--cnom-red);
}

body.public-body .home-hero h1 {
  max-width: 750px;
  margin: 0 0 20px;
  color: var(--cnom-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.15rem, 5.2vw, 5.85rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.05em;
}

body.public-body .home-hero h1 em {
  display: block;
  margin-top: 7px;
  color: #0a5da9;
  font-style: normal;
}

body.public-body .home-hero-lead {
  max-width: 650px;
  margin: 0 0 27px;
  color: #536d84;
  font-size: 1.08rem;
  line-height: 1.68;
}

body.public-body .home-hero-actions,
body.public-body .province-actions,
body.public-body .page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

body.public-body .home-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-top: 24px;
  color: #60788f;
  font-size: .78rem;
  font-weight: 650;
}

body.public-body .home-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

body.public-body .home-trust-row i {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #e9f5ef;
  color: #167553;
  font-size: .62rem;
  font-style: normal;
  font-weight: 900;
}

body.public-body .home-hero-media {
  position: relative;
  min-height: 500px;
}

body.public-body .hero-photo {
  position: absolute;
  inset: 0 0 0 7%;
  overflow: hidden;
  border-radius: 28px 0 28px 28px;
  background:
    linear-gradient(90deg, rgba(232,244,252,.30), rgba(232,244,252,0) 35%),
    url("../images/hero-medecin.jpg") center 18% / cover no-repeat,
    linear-gradient(145deg, #dcecf7, #f6fbfe);
  box-shadow: 0 28px 70px rgba(5, 56, 105, .16);
}

body.public-body .hero-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,50,95,0) 52%, rgba(4,50,95,.17) 100%);
  content: "";
}

body.public-body .hero-floating-card {
  position: absolute;
  z-index: 2;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 42px rgba(4,50,95,.15);
  backdrop-filter: blur(12px);
}

body.public-body .hero-floating-card small {
  color: #63809a;
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .09em;
}

body.public-body .hero-floating-card strong {
  display: block;
  margin: 2px 0 1px;
  color: var(--cnom-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

body.public-body .hero-floating-card span {
  color: #64798d;
  font-size: .72rem;
}

body.public-body .hero-card-top {
  top: 38px;
  left: 0;
  min-width: 210px;
}

body.public-body .hero-card-bottom {
  right: -14px;
  bottom: 42px;
  display: flex;
  max-width: 320px;
  align-items: center;
  gap: 12px;
}

body.public-body .hero-card-bottom > i {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  background: #e8f4fb;
  color: var(--cnom-blue);
  font-style: normal;
  font-weight: 900;
}

body.public-body .hero-scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6a8094;
  font-size: .7rem;
  font-weight: 750;
  transform: translateX(-50%);
}

body.public-body .hero-scroll-cue i {
  font-style: normal;
  animation: cnomCue 1.6s ease-in-out infinite;
}

@keyframes cnomCue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ---------- SECTIONS COMMUNES ACCUEIL ---------- */
body.public-body .home-actions,
body.public-body .home-mission,
body.public-body .home-news,
body.public-body .institution-structure {
  width: min(calc(100% - 48px), 1280px);
  margin: 0 auto;
  padding: clamp(66px, 7vw, 96px) 0;
}

body.public-body .home-section-heading,
body.public-body .services-intro,
body.public-body .news-page-intro,
body.public-body .province-directory-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

body.public-body .home-section-heading > div,
body.public-body .services-intro > div,
body.public-body .news-page-intro > div {
  max-width: 730px;
}

body.public-body .home-section-heading h2,
body.public-body .services-intro h2,
body.public-body .news-page-intro h2,
body.public-body .province-directory-head h2,
body.public-body .institution-intro h2,
body.public-body .president-copy h2,
body.public-body .province-copy h2,
body.public-body .home-stats-intro h2 {
  margin: 11px 0 0;
  color: var(--cnom-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.08;
}

body.public-body .home-section-heading > p,
body.public-body .services-intro > p,
body.public-body .news-page-intro > p {
  max-width: 430px;
  margin: 0;
  color: var(--cnom-muted);
  font-size: .92rem;
  line-height: 1.65;
}

/* Démarches */
body.public-body .home-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

body.public-body .home-action-card {
  position: relative;
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--cnom-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(6,58,111,.045);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

body.public-body .home-action-card::after {
  position: absolute;
  width: 0;
  height: 4px;
  left: 0;
  bottom: 0;
  background: var(--cnom-red);
  content: "";
  transition: width .3s ease;
}

body.public-body .home-action-card:hover {
  border-color: #a7c5df;
  box-shadow: var(--cnom-shadow-soft);
  transform: translateY(-5px);
}

body.public-body .home-action-card:hover::after {
  width: 100%;
}

body.public-body .action-number {
  position: absolute;
  right: 17px;
  top: 14px;
  color: #c1d2e1;
  font-size: .72rem;
  font-weight: 900;
}

body.public-body .action-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid #c7dbea;
  border-radius: 11px;
  background: #f3f9fd;
  color: var(--cnom-navy);
  font-size: 1.25rem;
}

body.public-body .home-action-card small {
  color: #4d7498;
  font-size: .61rem;
  font-weight: 850;
  letter-spacing: .09em;
}

body.public-body .home-action-card h3 {
  margin: 8px 0 9px;
  color: var(--cnom-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

body.public-body .home-action-card p {
  margin: 0 0 20px;
  color: var(--cnom-muted);
  font-size: .83rem;
  line-height: 1.58;
}

body.public-body .home-action-card b {
  margin-top: auto;
  color: var(--cnom-blue);
  font-size: .8rem;
}

/* Mot du président */
body.public-body .president-section {
  background: linear-gradient(112deg, #f7fbfe 0%, #eef6fb 100%);
  border-block: 1px solid #deE8f0;
}

body.public-body .president-wrap,
body.public-body .institution-leadership {
  display: grid;
  width: min(calc(100% - 48px), 1180px);
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(42px, 6vw, 88px);
  margin: 0 auto;
  padding: clamp(66px, 8vw, 104px) 0;
}

body.public-body .president-photo {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(6,58,111,0) 55%, rgba(6,58,111,.18) 100%),
    url("../images/president-ordre.jpg") center top / cover no-repeat,
    linear-gradient(145deg, #dcebf5, #eef6fb);
  box-shadow: 0 24px 58px rgba(6,58,111,.14);
}

body.public-body .president-photo span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.88);
  color: var(--cnom-navy);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
}

body.public-body .president-copy blockquote {
  margin: 22px 0;
  padding: 0 0 0 22px;
  border-left: 3px solid var(--cnom-red);
}

body.public-body .president-copy blockquote p {
  margin: 0;
  color: #4d667d;
  font-size: 1rem;
  line-height: 1.8;
}

body.public-body .president-signature {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 21px;
}

body.public-body .president-signature strong {
  color: var(--cnom-navy);
  font-size: .9rem;
}

body.public-body .president-signature span,
body.public-body .president-note {
  color: var(--cnom-muted);
  font-size: .75rem;
}

body.public-body .president-note {
  margin: 14px 0 0;
  font-style: italic;
}

/* Missions */
body.public-body .mission-grid,
body.public-body .institution-principles,
body.public-body .structure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

body.public-body .mission-card,
body.public-body .structure-card,
body.public-body .institution-principles article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--cnom-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(6,58,111,.045);
}

body.public-body .mission-card > span,
body.public-body .structure-card > span,
body.public-body .institution-principles article > span {
  color: var(--cnom-red);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
}

body.public-body .mission-card h3,
body.public-body .structure-card h3,
body.public-body .institution-principles h3 {
  margin: 14px 0 10px;
  color: var(--cnom-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
}

body.public-body .mission-card p,
body.public-body .structure-card p,
body.public-body .institution-principles p {
  margin: 0;
  color: var(--cnom-muted);
  font-size: .86rem;
  line-height: 1.66;
}

/* Chiffres */
body.public-body .home-stats {
  padding: clamp(66px, 7vw, 92px) max(24px, calc((100vw - 1280px) / 2));
  background: var(--cnom-navy-2);
  color: #fff;
}

body.public-body .home-stats .section-kicker {
  color: #a9cdea;
}

body.public-body .home-stats-intro {
  max-width: 820px;
  margin-bottom: 34px;
}

body.public-body .home-stats-intro h2 {
  color: #fff;
}

body.public-body .home-stats-intro p {
  max-width: 690px;
  color: rgba(255,255,255,.7);
}

body.public-body .home-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.10);
}

body.public-body .home-stat {
  min-height: 165px;
  padding: 24px;
  background: rgba(255,255,255,.05);
}

body.public-body .home-stat strong {
  display: block;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4vw, 3.7rem);
  line-height: 1;
}

body.public-body .home-stat span {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
}

body.public-body .home-stat small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.59);
  font-size: .7rem;
}

/* Territoire */
body.public-body .home-provinces {
  display: grid;
  width: min(calc(100% - 48px), 1240px);
  grid-template-columns: minmax(0, 1fr) minmax(390px, .85fr);
  align-items: center;
  gap: clamp(42px, 6vw, 80px);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 110px) 0;
}

body.public-body .province-copy > p {
  max-width: 650px;
  color: var(--cnom-muted);
  line-height: 1.75;
}

body.public-body .territory-card {
  padding: 27px;
  border: 1px solid #cbddea;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #f3f9fd);
  box-shadow: var(--cnom-shadow-soft);
}

body.public-body .territory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dbe7ef;
}

body.public-body .territory-head span {
  color: #587691;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .08em;
}

body.public-body .territory-head b {
  color: var(--cnom-navy);
  font-size: .85rem;
}

body.public-body .territory-path {
  display: grid;
  gap: 11px;
  padding: 20px 0;
}

body.public-body .territory-path > div {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px;
  border: 1px solid #dce7ef;
  border-radius: 10px;
  background: #fff;
}

body.public-body .territory-path i {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 9px;
  background: #eaf4fb;
  color: var(--cnom-blue);
  font-size: .65rem;
  font-style: normal;
  font-weight: 900;
}

body.public-body .territory-path span {
  display: flex;
  flex-direction: column;
}

body.public-body .territory-path b {
  color: var(--cnom-navy);
  font-size: .84rem;
}

body.public-body .territory-path small {
  color: var(--cnom-muted);
  font-size: .7rem;
}

body.public-body .territory-card > a {
  color: var(--cnom-blue);
  font-size: .8rem;
  font-weight: 800;
}

/* Actualités accueil */
body.public-body .home-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
  gap: 17px;
}

body.public-body .featured-news {
  min-height: 330px;
  padding: 34px;
  border: 1px solid var(--cnom-line);
  border-radius: 16px;
  background: linear-gradient(145deg, #f8fbfe, #fff);
  box-shadow: var(--cnom-shadow-soft);
}

body.public-body .featured-news-meta,
body.public-body .news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.public-body .featured-news time,
body.public-body .secondary-news time,
body.public-body .news-card-meta time {
  color: #8395a7;
  font-size: .7rem;
}

body.public-body .featured-news h3 {
  max-width: 780px;
  margin: 22px 0 15px;
  color: var(--cnom-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}

body.public-body .featured-news p {
  max-width: 760px;
  color: var(--cnom-muted);
  line-height: 1.7;
}

body.public-body .featured-news > a,
body.public-body .secondary-news > a {
  color: var(--cnom-blue);
  font-size: .82rem;
  font-weight: 800;
}

body.public-body .secondary-news-list {
  display: grid;
  gap: 14px;
}

body.public-body .secondary-news {
  padding: 23px;
  border: 1px solid var(--cnom-line);
  border-radius: 13px;
  background: #fff;
}

body.public-body .secondary-news h3 {
  margin: 13px 0 18px;
  color: var(--cnom-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

body.public-body .news-empty {
  padding: 36px;
  border: 1px dashed #bdd2e3;
  border-radius: 14px;
  background: #f8fbfe;
}

/* CTA final */
body.public-body .home-final-cta {
  display: flex;
  width: min(calc(100% - 48px), 1240px);
  min-height: 260px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin: 0 auto 86px;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255,255,255,.13), transparent 25%),
    linear-gradient(125deg, #052f62, #075da9);
  box-shadow: 0 26px 62px rgba(5,47,98,.19);
}

body.public-body .home-final-cta .section-kicker {
  color: #b7d8f0;
}

body.public-body .home-final-cta h2 {
  max-width: 760px;
  margin: 10px 0 8px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
}

body.public-body .home-final-cta p {
  margin: 0;
  color: rgba(255,255,255,.72);
}

body.public-body .home-final-cta > div:last-child {
  display: flex;
  min-width: 260px;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

body.public-body .cta-login {
  color: rgba(255,255,255,.86);
  font-size: .78rem;
  font-weight: 750;
  text-align: center;
}

/* ---------- PAGES INTERNES ---------- */
body.public-body .page-hero {
  padding: 0;
  border-bottom: 1px solid #d9e5ef;
  background:
    radial-gradient(circle at 82% 15%, rgba(95,168,220,.12), transparent 25%),
    linear-gradient(105deg, #f9fcfe, #edf6fb);
  color: var(--cnom-ink);
}

body.public-body .page-hero::after {
  display: none;
}

body.public-body .page-hero-inner {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: clamp(60px, 7vw, 88px) 0;
}

body.public-body .page-hero h1 {
  max-width: 1000px;
  margin: 14px 0 17px;
  color: var(--cnom-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 4.65rem);
  line-height: 1.02;
}

body.public-body .page-hero p {
  max-width: 800px;
  color: #5e768d;
  font-size: 1rem;
  line-height: 1.68;
}

body.public-body .page-hero-actions {
  margin-top: 25px;
}

body.public-body .page-back-link {
  margin-bottom: 20px;
}

/* Institution */
body.public-body .institution-intro {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: clamp(70px, 8vw, 105px) 0;
}

body.public-body .institution-intro-copy {
  max-width: 850px;
  margin-bottom: 33px;
}

body.public-body .institution-intro-copy p {
  max-width: 760px;
  color: var(--cnom-muted);
  line-height: 1.75;
}

body.public-body .institution-leadership {
  border-block: 1px solid #dfe9f1;
}

body.public-body .section-center {
  margin-top: 27px;
  text-align: center;
}

body.public-body .legal-banner-refined {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto 90px;
  border-radius: 15px;
}

/* Services */
body.public-body .services-intro,
body.public-body .news-page-intro,
body.public-body .province-directory-head {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: 58px 0 26px;
}

body.public-body .service-grid-refined {
  width: min(calc(100% - 48px), 1180px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 0 78px;
}

body.public-body .service-card-refined {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 25px;
  border-radius: 13px;
}

body.public-body .service-card-refined .service-number {
  position: absolute;
  right: 19px;
  top: 16px;
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: #bdcede;
  font-size: .72rem;
}

body.public-body .service-card-refined .service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid #c7dbea;
  border-radius: 11px;
  background: #f3f9fd;
  color: var(--cnom-navy);
  font-size: 1.18rem;
  font-style: normal;
}

body.public-body .service-card-refined small {
  color: #52799c;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

body.public-body .service-card-refined h2 {
  margin: 10px 0 11px;
  color: var(--cnom-navy);
  font-size: 1.33rem;
}

body.public-body .service-card-refined p {
  color: var(--cnom-muted);
  font-size: .86rem;
  line-height: 1.65;
}

body.public-body .service-card-refined > b {
  margin-top: auto;
  color: var(--cnom-blue);
  font-size: .8rem;
}

body.public-body .service-help {
  display: flex;
  width: min(calc(100% - 48px), 1180px);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto 88px;
  padding: 34px;
  border: 1px solid #cfe0ec;
  border-radius: 14px;
  background: #f4f9fd;
}

body.public-body .service-help h2 {
  margin: 8px 0 6px;
  color: var(--cnom-navy);
  font-size: 1.65rem;
}

body.public-body .service-help p {
  max-width: 650px;
  margin: 0;
  color: var(--cnom-muted);
}

body.public-body .service-help > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

/* Conseils */
body.public-body .province-directory-head {
  align-items: center;
}

body.public-body .province-search-box {
  width: min(100%, 390px);
}

body.public-body .province-grid-refined {
  width: min(calc(100% - 48px), 1180px);
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  padding: 8px 0 86px;
}

body.public-body .province-card-refined {
  min-height: 205px;
  padding: 24px;
  border-radius: 13px;
}

body.public-body .province-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.public-body .province-card-refined h2 {
  margin: 22px 0 9px;
  color: var(--cnom-navy);
}

body.public-body .province-card-refined p {
  color: var(--cnom-muted);
}

body.public-body .province-card-refined > a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--cnom-blue);
  font-size: .82rem;
  font-weight: 800;
}

body.public-body .province-detail-grid {
  display: grid;
  width: min(calc(100% - 48px), 1080px);
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  margin: 0 auto;
  padding: 70px 0 88px;
}

body.public-body .province-detail-card {
  padding: 30px;
  border: 1px solid var(--cnom-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--cnom-shadow-soft);
}

body.public-body .province-detail-card h2 {
  margin: 11px 0 14px;
  color: var(--cnom-navy);
  font-size: 1.55rem;
}

body.public-body .province-detail-card p {
  color: var(--cnom-muted);
}

/* Actualités */
body.public-body .news-grid-refined {
  width: min(calc(100% - 48px), 1180px);
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  padding: 0 0 88px;
}

body.public-body .news-card-refined {
  min-height: 300px;
  border-radius: 13px;
}

body.public-body .news-card-refined h2 {
  margin: 18px 0 13px;
  color: var(--cnom-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
}

body.public-body .article-detail-refined {
  width: min(calc(100% - 48px), 900px);
  padding-top: 64px;
  padding-bottom: 88px;
}

body.public-body .article-detail-refined .article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

body.public-body .article-detail-refined h1 {
  color: var(--cnom-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.03;
}

body.public-body .article-divider {
  width: 68px;
  height: 4px;
  margin: 32px 0;
  border-radius: 999px;
  background: var(--cnom-red);
}

body.public-body .article-return {
  margin-top: 36px;
}

/* Connexion et formulaires publics — harmonisation */
body.public-body .auth-section,
body.public-body .form-page,
body.public-body .tracking-page {
  position: relative;
}

body.public-body .auth-section {
  min-height: 650px;
  background: linear-gradient(105deg, #f7fbfe, #eef6fb);
}

body.public-body .auth-aside {
  background:
    radial-gradient(circle at 80% 15%, rgba(255,255,255,.14), transparent 25%),
    linear-gradient(145deg, #052f62, #075da9);
}

body.public-body .form-card,
body.public-body .institutional-form,
body.public-body .tracking-card {
  border: 1px solid #cfdeea;
  border-radius: 13px;
  box-shadow: 0 12px 36px rgba(6,58,111,.07);
}

body.public-body .form-page {
  width: min(calc(100% - 48px), 1040px);
  padding-top: 58px;
  padding-bottom: 88px;
}

body.public-body .form-page-head h1,
body.public-body .tracking-card h1 {
  color: var(--cnom-navy);
  font-family: Georgia, "Times New Roman", serif;
}

body.public-body .institutional-form legend {
  color: var(--cnom-navy);
  font-family: Georgia, "Times New Roman", serif;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
  body.public-body .home-hero-inner {
    grid-template-columns: minmax(0, .95fr) minmax(430px, 1.05fr);
  }

  body.public-body .home-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.public-body .home-stat-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  body.public-body .service-grid-refined,
  body.public-body .province-grid-refined,
  body.public-body .news-grid-refined {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 920px) {
  body.public-body .home-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  body.public-body .home-hero-copy {
    max-width: 800px;
  }

  body.public-body .home-hero-media {
    min-height: 470px;
  }

  body.public-body .hero-photo {
    left: 0;
  }

  body.public-body .president-wrap,
  body.public-body .institution-leadership,
  body.public-body .home-provinces,
  body.public-body .home-news-layout {
    grid-template-columns: 1fr;
  }

  body.public-body .president-photo {
    min-height: 520px;
    max-width: 650px;
  }

  body.public-body .mission-grid,
  body.public-body .institution-principles,
  body.public-body .structure-grid {
    grid-template-columns: 1fr;
  }

  body.public-body .home-section-heading,
  body.public-body .services-intro,
  body.public-body .news-page-intro,
  body.public-body .province-directory-head,
  body.public-body .service-help,
  body.public-body .home-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  body.public-body .home-final-cta > div:last-child {
    width: 100%;
    min-width: 0;
  }

  body.public-body .province-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.public-body .home-hero-inner,
  body.public-body .home-actions,
  body.public-body .home-mission,
  body.public-body .home-news,
  body.public-body .institution-structure,
  body.public-body .president-wrap,
  body.public-body .institution-leadership,
  body.public-body .home-provinces,
  body.public-body .page-hero-inner,
  body.public-body .institution-intro,
  body.public-body .services-intro,
  body.public-body .news-page-intro,
  body.public-body .province-directory-head,
  body.public-body .service-grid-refined,
  body.public-body .province-grid-refined,
  body.public-body .news-grid-refined,
  body.public-body .service-help,
  body.public-body .province-detail-grid,
  body.public-body .legal-banner-refined,
  body.public-body .article-detail-refined {
    width: min(calc(100% - 30px), 1180px);
  }

  body.public-body .home-hero-inner {
    min-height: 0;
    padding: 42px 0 58px;
  }

  body.public-body .home-hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  body.public-body .home-hero-lead {
    font-size: .96rem;
  }

  body.public-body .home-hero-actions .btn {
    width: 100%;
  }

  body.public-body .home-trust-row {
    gap: 10px 16px;
  }

  body.public-body .home-hero-media {
    min-height: 360px;
  }

  body.public-body .hero-photo {
    inset: 0;
    border-radius: 16px;
  }

  body.public-body .hero-card-top {
    top: 16px;
    left: 12px;
    min-width: 180px;
  }

  body.public-body .hero-card-bottom {
    right: 12px;
    bottom: 16px;
    max-width: calc(100% - 24px);
  }

  body.public-body .hero-scroll-cue {
    display: none;
  }

  body.public-body .home-action-grid,
  body.public-body .home-stat-grid,
  body.public-body .service-grid-refined,
  body.public-body .province-grid-refined,
  body.public-body .news-grid-refined {
    grid-template-columns: 1fr;
  }

  body.public-body .president-photo {
    min-height: 390px;
  }

  body.public-body .home-stat-grid {
    gap: 0;
  }

  body.public-body .home-stat {
    min-height: 135px;
  }

  body.public-body .featured-news {
    padding: 25px;
  }

  body.public-body .home-final-cta {
    width: min(calc(100% - 30px), 1240px);
    margin-bottom: 58px;
    padding: 28px 22px;
  }

  body.public-body .service-help {
    padding: 26px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.public-body .hero-scroll-cue i {
    animation: none;
  }
}

/* ========================================================================== 
   CNOM-RDC — Signature institutionnelle grand format
   Image attendue : /public/assets/images/identite-cnom.jpg
   ========================================================================== */
body.public-body .official-identity-section {
  width: min(calc(100% - 48px), 1380px);
  margin: 0 auto;
  padding: 72px 0 88px;
}

body.public-body .official-identity-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 28px;
}

body.public-body .official-identity-heading h2 {
  max-width: 820px;
  margin: 9px 0 0;
  color: var(--blue-950);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}

body.public-body .official-identity-heading > p {
  max-width: 520px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

body.public-body .official-identity-visual {
  position: relative;
  margin: 0;
  padding: clamp(22px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(244, 249, 254, 0.72), rgba(255, 255, 255, 0.98) 28%),
    #fff;
  box-shadow: 0 22px 60px rgba(5, 43, 88, 0.09);
}

body.public-body .official-identity-visual::before {
  position: absolute;
  width: 140px;
  height: 4px;
  left: 38px;
  top: 0;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--red-600) 0 34%, var(--blue-700) 34% 100%);
  content: "";
}

body.public-body .official-identity-visual img {
  display: block;
  width: 100%;
  max-width: 1280px;
  height: auto;
  max-height: 390px;
  margin: 0 auto;
  object-fit: contain;
}

body.public-body .institution-signature {
  width: min(calc(100% - 48px), 1180px);
  margin: 54px auto 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

body.public-body .institution-signature img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  margin: 0 auto;
  object-fit: contain;
}

@media (max-width: 860px) {
  body.public-body .official-identity-section {
    width: min(calc(100% - 36px), 1380px);
    padding: 56px 0 66px;
  }

  body.public-body .official-identity-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 22px;
  }

  body.public-body .official-identity-heading > p {
    max-width: 720px;
  }

  body.public-body .official-identity-visual {
    padding: 20px;
    border-radius: 17px;
  }

  body.public-body .official-identity-visual::before {
    left: 20px;
    width: 96px;
  }

  body.public-body .institution-signature {
    width: min(calc(100% - 36px), 1180px);
    margin-top: 38px;
  }
}

@media (max-width: 560px) {
  body.public-body .official-identity-section {
    width: min(calc(100% - 28px), 1380px);
    padding: 44px 0 54px;
  }

  body.public-body .official-identity-heading h2 {
    font-size: 1.75rem;
  }

  body.public-body .official-identity-visual {
    padding: 15px 10px;
    border-radius: 14px;
  }

  body.public-body .official-identity-visual img {
    max-height: none;
  }

  body.public-body .institution-signature {
    width: min(calc(100% - 28px), 1180px);
    padding: 14px 8px;
  }
}

/* ==========================================================================
   CNOM-RDC — LAYOUT PUBLIC V3
   Header institutionnel, navigation, footer et responsive.
   ========================================================================== */

body.public-body {
  --layout-max: 1380px;
}

/* Barre institutionnelle */
body.public-body .institution-bar {
  position: relative;
  z-index: 120;
  min-height: 34px;
  padding: 0;
  background: #052f5f;
  color: #fff;
  font-size: .72rem;
}

body.public-body .institution-bar-inner {
  display: flex;
  width: min(calc(100% - 48px), var(--layout-max));
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

body.public-body .institution-country,
body.public-body .institution-utility {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.public-body .institution-country {
  font-weight: 780;
  letter-spacing: .015em;
}

body.public-body .institution-utility {
  margin-left: auto;
  color: rgba(255,255,255,.78);
}

body.public-body .institution-utility a {
  color: #fff;
  font-weight: 700;
}

body.public-body .institution-utility a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Header */
body.public-body .public-header {
  position: sticky;
  z-index: 110;
  top: 0;
  min-height: 0;
  padding: 0;
  border-bottom: 1px solid rgba(207, 221, 233, .95);
  background: rgba(255,255,255,.97);
  box-shadow: 0 8px 25px rgba(5,43,88,.055);
  backdrop-filter: blur(16px) saturate(145%);
}

body.public-body .public-header-inner {
  display: grid;
  width: min(calc(100% - 48px), var(--layout-max));
  min-height: 92px;
  grid-template-columns: minmax(310px, .95fr) auto auto;
  align-items: center;
  gap: clamp(18px, 2.2vw, 38px);
  margin: 0 auto;
}

body.public-body .brand-public {
  min-width: 0;
}

body.public-body .brand-logo-wrap {
  display: grid;
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  place-items: center;
  overflow: hidden;
}

body.public-body .brand-public .brand-logo,
body.public-body .footer-brand .brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.public-body .brand-public .brand-copy {
  gap: 1px;
}

body.public-body .brand-public .brand-copy b {
  color: #073b78;
  font-size: 1.2rem;
  font-weight: 880;
  letter-spacing: .11em;
}

body.public-body .brand-public .brand-copy small {
  max-width: 340px;
  color: #385a78;
  font-size: .72rem;
  font-weight: 720;
}

body.public-body .brand-public .brand-copy em {
  display: block;
  max-width: 360px;
  margin-top: 2px;
  color: #8192a3;
  font-size: .57rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.35;
}

body.public-body .public-nav {
  display: block;
  margin: 0;
}

body.public-body .public-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

body.public-body .public-nav-links > a {
  position: relative;
  padding: 13px 11px;
  border-radius: 9px;
  color: #304d69;
  font-size: .84rem;
  font-weight: 760;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}

body.public-body .public-nav-links > a::after {
  position: absolute;
  width: 0;
  height: 3px;
  left: 50%;
  bottom: 4px;
  border-radius: 999px;
  background: #e21d2f;
  content: "";
  transform: translateX(-50%);
  transition: width .2s ease;
}

body.public-body .public-nav-links > a:hover,
body.public-body .public-nav-links > a.is-active {
  background: #f0f6fb;
  color: #0757a6;
}

body.public-body .public-nav-links > a:hover::after,
body.public-body .public-nav-links > a.is-active::after {
  width: 26px;
}

body.public-body .header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

body.public-body .header-actions .btn {
  min-height: 42px;
  padding-inline: 16px;
}

body.public-body .header-user {
  display: flex;
  max-width: 190px;
  align-items: center;
  gap: 9px;
}

body.public-body .header-user > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

body.public-body .header-user small {
  color: #8092a4;
  font-size: .58rem;
  font-weight: 700;
  text-transform: uppercase;
}

body.public-body .header-user b {
  overflow: hidden;
  color: #173b5e;
  font-size: .75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.public-body .nav-mobile-meta {
  display: none;
}

/* Footer */
body.public-body .public-footer {
  position: relative;
  margin-top: 0;
  background: #052c58;
  color: rgba(255,255,255,.75);
}

body.public-body .footer-accent {
  height: 5px;
  background: linear-gradient(90deg, #e21d2f 0 16%, #fff 16% 32%, #169bd5 32% 100%);
}

body.public-body .footer-main {
  padding: 68px 0 52px;
}

body.public-body .footer-grid {
  display: grid;
  width: min(calc(100% - 48px), var(--layout-max));
  grid-template-columns: minmax(300px, 1.35fr) repeat(3, minmax(150px, .65fr));
  gap: clamp(32px, 5vw, 72px);
  margin: 0 auto;
  padding: 0;
}

body.public-body .footer-intro {
  max-width: 420px;
}

body.public-body .footer-brand .brand-logo-wrap {
  width: 66px;
  height: 66px;
  flex-basis: 66px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
}

body.public-body .footer-brand b,
body.public-body .footer-brand small {
  color: #fff;
}

body.public-body .footer-intro > p {
  max-width: 380px;
  margin: 22px 0 18px;
  color: rgba(255,255,255,.72);
  font-size: .88rem;
  line-height: 1.7;
}

body.public-body .footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.public-body .footer-trust span {
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.78);
  font-size: .62rem;
  font-weight: 720;
}

body.public-body .footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

body.public-body .footer-column h2 {
  margin: 2px 0 9px;
  color: #fff;
  font-family: inherit;
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.public-body .footer-column a,
body.public-body .footer-column address {
  color: rgba(255,255,255,.72);
  font-size: .79rem;
  font-style: normal;
  line-height: 1.45;
}

body.public-body .footer-column a:hover {
  color: #fff;
  transform: translateX(2px);
}

body.public-body .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  background: #042448;
}

body.public-body .footer-bottom-inner {
  display: grid;
  width: min(calc(100% - 48px), var(--layout-max));
  min-height: 64px;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 22px;
  margin: 0 auto;
  color: rgba(255,255,255,.56);
  font-size: .68rem;
}

body.public-body .footer-domain {
  color: rgba(255,255,255,.9);
  font-weight: 800;
  letter-spacing: .05em;
}

body.public-body .footer-security {
  justify-self: end;
}

body.public-body .footer-security i {
  margin: 0 6px;
  color: #e21d2f;
}

body.public-body .back-to-top {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 1rem;
  font-weight: 850;
}

body.public-body .back-to-top:hover {
  background: rgba(255,255,255,.11);
}

/* Dashboard topbar minimal enhancement */
.dashboard-topbar-left {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

/* Responsive */
@media (max-width: 1180px) {
  body.public-body .public-header-inner {
    grid-template-columns: minmax(260px, 1fr) auto auto;
    gap: 14px;
  }

  body.public-body .brand-public .brand-copy em {
    display: none;
  }

  body.public-body .public-nav-links > a {
    padding-inline: 8px;
    font-size: .79rem;
  }

  body.public-body .header-actions .btn {
    padding-inline: 12px;
  }
}

@media (max-width: 1024px) {
  body.public-body .institution-bar-inner,
  body.public-body .public-header-inner,
  body.public-body .footer-grid,
  body.public-body .footer-bottom-inner {
    width: min(calc(100% - 36px), var(--layout-max));
  }

  body.public-body .public-header-inner {
    display: flex;
    min-height: 78px;
  }

  body.public-body .brand-public {
    margin-right: auto;
  }

  body.public-body .brand-logo-wrap {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  body.public-body .brand-public .brand-copy b {
    font-size: 1.05rem;
  }

  body.public-body .brand-public .brand-copy small {
    max-width: 260px;
    font-size: .64rem;
  }

  body.public-body .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  body.public-body .header-actions {
    order: 2;
  }

  body.public-body .public-nav {
    position: fixed;
    z-index: 1200;
    width: min(390px, 90vw);
    height: calc(100dvh - 18px);
    top: 9px;
    right: 9px;
    display: flex;
    padding: 88px 22px 24px;
    overflow-y: auto;
    border: 1px solid #d8e4ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 26px 80px rgba(3,29,61,.24);
    flex-direction: column;
    transform: translateX(110%);
    transition: transform .3s var(--ease);
  }

  body.public-body .public-nav.is-open,
  body.public-body .public-nav.open,
  body.public-body.menu-open .public-nav {
    transform: translateX(0);
  }

  body.public-body .public-nav-links {
    align-items: stretch;
    flex-direction: column;
    gap: 3px;
  }

  body.public-body .public-nav-links > a {
    padding: 14px 13px;
    border-radius: 10px;
    font-size: .93rem;
  }

  body.public-body .public-nav-links > a::after {
    display: none;
  }

  body.public-body .nav-mobile-actions {
    display: grid;
    gap: 8px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e0e9f1;
  }

  body.public-body .nav-mobile-actions a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid #bed2e4;
    border-radius: 9px;
    color: #0a4e8e;
    font-size: .83rem;
    font-weight: 800;
  }

  body.public-body .nav-mobile-actions .mobile-primary-action,
  body.public-body .nav-mobile-actions .mobile-account-link {
    border-color: #0757a6;
    background: #0757a6;
    color: #fff;
  }

  body.public-body .nav-mobile-meta {
    display: flex;
    margin-top: auto;
    padding-top: 26px;
    color: #7d91a3;
    flex-direction: column;
  }

  body.public-body .nav-mobile-meta span {
    color: #073b78;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .08em;
  }

  body.public-body .nav-mobile-meta small {
    font-size: .65rem;
  }

  body.public-body .footer-grid {
    grid-template-columns: 1.2fr repeat(2, 1fr);
  }

  body.public-body .footer-contact {
    grid-column: 2 / -1;
  }

  body.public-body .footer-bottom-inner {
    grid-template-columns: 1fr auto;
    padding: 15px 0;
  }

  body.public-body .footer-domain {
    display: none;
  }

  body.public-body .footer-security {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  body.public-body .institution-utility .institution-bar-note,
  body.public-body .institution-utility a {
    display: none;
  }

  body.public-body .institution-bar-inner {
    justify-content: center;
  }

  body.public-body .brand-public .brand-copy small {
    display: none;
  }

  body.public-body .header-actions .header-login {
    display: none;
  }

  body.public-body .public-header-inner {
    min-height: 72px;
  }

  body.public-body .footer-main {
    padding: 48px 0 38px;
  }

  body.public-body .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  body.public-body .footer-intro {
    grid-column: 1 / -1;
  }

  body.public-body .footer-contact {
    grid-column: 1 / -1;
  }

  body.public-body .footer-bottom-inner {
    grid-template-columns: 1fr auto;
  }

  body.public-body .footer-security {
    display: none;
  }
}

@media (max-width: 520px) {
  body.public-body .institution-bar-inner,
  body.public-body .public-header-inner,
  body.public-body .footer-grid,
  body.public-body .footer-bottom-inner {
    width: min(calc(100% - 28px), var(--layout-max));
  }

  body.public-body .brand {
    gap: 8px;
  }

  body.public-body .brand-logo-wrap {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  body.public-body .brand-public .brand-copy b {
    font-size: .9rem;
  }

  body.public-body .header-actions .header-register {
    min-height: 38px;
    padding: 8px 11px;
    font-size: .72rem;
  }

  body.public-body .public-nav {
    width: calc(100vw - 16px);
    right: 8px;
    top: 8px;
  }

  body.public-body .footer-grid {
    grid-template-columns: 1fr;
  }

  body.public-body .footer-intro,
  body.public-body .footer-contact {
    grid-column: auto;
  }

  body.public-body .footer-bottom-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
}

/* ==========================================================================
   CNOM-RDC — Ajustement Institution & Président
   - La page Institution démarre directement par l'identité officielle.
   - La photo du Président remplit proprement son cadre.
   ========================================================================== */

body.public-body .institution-signature-primary {
  margin-top: clamp(34px, 4vw, 58px);
}

body.public-body .president-photo {
  min-height: 0;
  aspect-ratio: 4 / 5;
  background: #eaf2f8;
}

body.public-body .president-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 860px) {
  body.public-body .institution-signature-primary {
    margin-top: 28px;
  }

  body.public-body .president-photo {
    aspect-ratio: 5 / 4;
  }
}

@media (max-width: 560px) {
  body.public-body .institution-signature-primary {
    margin-top: 20px;
  }

  body.public-body .president-photo {
    aspect-ratio: 4 / 5;
  }
}

/* ==========================================================================\n   CNOM-RDC — CARTE INTERACTIVE DES CONSEILS PROVINCIAUX\n   ========================================================================== */
body.public-body .coprom-map-intro,
body.public-body .coprom-map-section,
body.public-body .coprom-detail-hero-inner,
body.public-body .coprom-profile { width:min(calc(100% - 48px),1380px); margin-inline:auto; }
body.public-body .coprom-map-intro { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:36px; padding:clamp(54px,6vw,82px) 0 34px; }
body.public-body .coprom-map-intro-copy { max-width:820px; }
body.public-body .coprom-map-intro h1 { margin:8px 0 14px; color:#073b78; font-family:Georgia,"Times New Roman",serif; font-size:clamp(2.3rem,4.3vw,4.2rem); line-height:1.02; letter-spacing:-.035em; }
body.public-body .coprom-map-intro p { max-width:720px; margin:0; color:#617990; line-height:1.7; }
body.public-body .coprom-map-intro-stat { min-width:190px; padding:20px 22px; border:1px solid #d5e2ed; border-radius:14px; background:#f7fbfe; }
body.public-body .coprom-map-intro-stat strong { display:block; color:#073b78; font:700 2.35rem/1 Georgia,"Times New Roman",serif; }
body.public-body .coprom-map-intro-stat span,body.public-body .coprom-map-intro-stat small { display:block; }
body.public-body .coprom-map-intro-stat span { margin-top:5px; color:#254b70; font-size:.78rem; font-weight:800; }
body.public-body .coprom-map-intro-stat small { margin-top:7px; color:#7b8fa2; font-size:.64rem; line-height:1.45; }
body.public-body .coprom-map-section { padding-bottom:clamp(64px,7vw,96px); }
body.public-body .coprom-map-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,350px); gap:22px; align-items:stretch; }
body.public-body .coprom-map-card,body.public-body .coprom-map-panel { border:1px solid #d5e2ed; border-radius:18px; background:#fff; box-shadow:0 12px 34px rgba(7,59,120,.07); }
body.public-body .coprom-map-card { min-width:0; overflow:hidden; }
body.public-body .coprom-map-toolbar { display:flex; align-items:center; justify-content:space-between; gap:22px; padding:22px 24px 18px; border-bottom:1px solid #e2ebf2; }
body.public-body .coprom-map-toolbar h2 { margin:3px 0 0; color:#073b78; font:700 1.65rem/1.1 Georgia,"Times New Roman",serif; }
body.public-body .coprom-map-search { width:min(320px,42%); margin:0; }
body.public-body .coprom-map-search input { width:100%; min-height:44px; margin:0; padding:10px 13px; border:1px solid #c9d9e7; border-radius:9px; background:#f9fcfe; font-size:.82rem; }
body.public-body .coprom-map-canvas { position:relative; min-height:610px; display:grid; place-items:center; overflow:hidden; background:radial-gradient(circle at 50% 42%,rgba(49,128,189,.08),transparent 52%),linear-gradient(180deg,#f7fbfe,#edf6fb); }
body.public-body .coprom-map-svg { width:100%; height:auto; max-height:640px; padding:18px; overflow:visible; }
body.public-body .coprom-province { fill:#dceaf4; stroke:#fff; stroke-width:1.6; cursor:default; transition:fill .16s ease,stroke .16s ease,filter .16s ease; }
body.public-body .coprom-province.is-configured { fill:#bcd7e9; cursor:pointer; }
body.public-body .coprom-province.is-configured:hover,body.public-body .coprom-province.is-configured:focus,body.public-body .coprom-province.is-selected { fill:#0b63b7; stroke:#073b78; stroke-width:2.4; filter:drop-shadow(0 4px 7px rgba(7,59,120,.18)); outline:none; }
body.public-body .coprom-province.is-unconfigured { fill:#e9eff4; opacity:.72; }
body.public-body .coprom-map-loading,body.public-body .coprom-map-error { display:flex; max-width:440px; align-items:center; justify-content:center; gap:12px; padding:24px; color:#52708b; text-align:center; flex-direction:column; }
body.public-body .map-spinner { width:34px; height:34px; border:3px solid #d5e5f1; border-top-color:#0b63b7; border-radius:50%; animation:cnom-map-spin .85s linear infinite; }
@keyframes cnom-map-spin { to { transform:rotate(360deg); } }
body.public-body .coprom-map-tooltip { position:absolute; z-index:5; max-width:220px; padding:7px 10px; border-radius:7px; background:#052f5f; color:#fff; box-shadow:0 8px 24px rgba(4,36,72,.18); font-size:.72rem; font-weight:800; pointer-events:none; }
body.public-body .coprom-map-foot { display:flex; justify-content:space-between; gap:18px; padding:14px 22px; border-top:1px solid #e2ebf2; color:#61798f; font-size:.67rem; }
body.public-body .coprom-map-foot small { color:#8a9bab; text-align:right; }
body.public-body .coprom-map-panel { display:flex; min-height:100%; padding:28px; flex-direction:column; }
body.public-body .coprom-panel-empty { display:flex; min-height:100%; justify-content:center; flex-direction:column; }
body.public-body .coprom-panel-icon { display:grid; width:54px; height:54px; margin-bottom:20px; place-items:center; border-radius:14px; background:#edf6fc; color:#0b63b7; font-size:1.45rem; }
body.public-body .coprom-map-panel h2 { margin:7px 0 12px; color:#073b78; font:700 1.7rem/1.08 Georgia,"Times New Roman",serif; }
body.public-body .coprom-map-panel p { margin:0; color:#647b91; font-size:.82rem; line-height:1.65; }
body.public-body .coprom-panel-selected dl { display:grid; gap:0; margin:24px 0 26px; border-top:1px solid #e1eaf1; }
body.public-body .coprom-panel-selected dl>div { display:grid; grid-template-columns:92px 1fr; gap:12px; padding:13px 0; border-bottom:1px solid #e1eaf1; }
body.public-body .coprom-panel-selected dt { color:#8193a4; font-size:.65rem; font-weight:800; text-transform:uppercase; }
body.public-body .coprom-panel-selected dd { margin:0; color:#1d405f; font-size:.78rem; font-weight:750; }
body.public-body .coprom-directory-fallback { margin-top:22px; border:1px solid #d8e4ee; border-radius:13px; background:#fff; }
body.public-body .coprom-directory-fallback summary { padding:16px 18px; color:#17466f; font-size:.8rem; font-weight:800; cursor:pointer; }
body.public-body .coprom-directory-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:0 18px 18px; }
body.public-body .coprom-directory-list>a { display:flex; min-width:0; align-items:center; justify-content:space-between; gap:12px; padding:13px 12px; border-bottom:1px solid #edf2f6; color:#214766; }
body.public-body .coprom-directory-list>a:hover { background:#f6fafd; }
body.public-body .coprom-directory-list>a span { display:flex; min-width:0; flex-direction:column; }
body.public-body .coprom-directory-list>a b { font-size:.76rem; }
body.public-body .coprom-directory-list>a small { margin-top:2px; color:#8295a7; font-size:.61rem; }
body.public-body .coprom-directory-list>a i { color:#0b63b7; font-style:normal; font-weight:900; }
body.public-body .coprom-detail-hero { border-bottom:1px solid #d9e5ef; background:linear-gradient(105deg,#f8fbfe,#edf6fc); }
body.public-body .coprom-detail-hero-inner { display:flex; min-height:310px; align-items:center; justify-content:space-between; gap:32px; padding:56px 0; }
body.public-body .coprom-detail-hero h1 { margin:7px 0 11px; color:#073b78; font:700 clamp(2.5rem,5vw,4.5rem)/.98 Georgia,"Times New Roman",serif; }
body.public-body .coprom-detail-hero p { margin:0; color:#61798f; }
body.public-body .coprom-profile { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,360px); gap:22px; padding:clamp(52px,6vw,82px) 0; }
body.public-body .coprom-profile-main,body.public-body .coprom-profile-side { padding:28px; border:1px solid #d7e3ed; border-radius:15px; background:#fff; box-shadow:0 8px 26px rgba(7,59,120,.055); }
body.public-body .coprom-profile h2 { margin:7px 0 20px; color:#073b78; font:700 1.75rem/1.1 Georgia,"Times New Roman",serif; }
body.public-body .coprom-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin:0; border-top:1px solid #e4ebf1; }
body.public-body .coprom-facts>div { padding:16px 4px; border-bottom:1px solid #e4ebf1; }
body.public-body .coprom-facts dt { margin-bottom:5px; color:#7d91a4; font-size:.64rem; font-weight:800; text-transform:uppercase; }
body.public-body .coprom-facts dd { margin:0; color:#1d405f; font-size:.86rem; font-weight:750; }
body.public-body .coprom-contact-block { margin-top:24px; padding:18px; border-radius:10px; background:#f5f9fc; }
body.public-body .coprom-contact-block h3 { margin:0 0 10px; color:#173f64; font-size:.9rem; }
body.public-body .coprom-contact-block p { margin:6px 0; color:#5f778d; font-size:.78rem; }
body.public-body .coprom-actions { display:grid; gap:10px; margin-top:24px; }
@media (prefers-reduced-motion:reduce) { body.public-body .map-spinner { animation:none; } body.public-body .coprom-province { transition:none; } }
@media (max-width:1024px) { body.public-body .coprom-map-layout,body.public-body .coprom-profile { grid-template-columns:1fr; } body.public-body .coprom-map-panel { min-height:0; } body.public-body .coprom-map-canvas { min-height:520px; } body.public-body .coprom-directory-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:720px) { body.public-body .coprom-map-intro,body.public-body .coprom-map-section,body.public-body .coprom-detail-hero-inner,body.public-body .coprom-profile { width:min(calc(100% - 30px),1180px); } body.public-body .coprom-map-intro { grid-template-columns:1fr; gap:18px; } body.public-body .coprom-map-intro-stat { width:100%; min-width:0; } body.public-body .coprom-map-toolbar { align-items:stretch; flex-direction:column; } body.public-body .coprom-map-search { width:100%; } body.public-body .coprom-map-canvas { min-height:420px; } body.public-body .coprom-map-foot { align-items:flex-start; flex-direction:column; } body.public-body .coprom-map-foot small { text-align:left; } body.public-body .coprom-directory-list,body.public-body .coprom-facts { grid-template-columns:1fr; } body.public-body .coprom-detail-hero-inner { min-height:0; align-items:flex-start; flex-direction:column; } }

/* ==========================================================================
   CNOM-RDC — COPROM V3
   Carte chargée directement dans une iframe same-origin + présidences COPROM.
   ========================================================================== */

body.public-body .coprom-map-canvas {
  position: relative;
  min-height: 610px;
  display: block;
  overflow: hidden;
}

body.public-body .coprom-map-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f7fbfe;
}

body.public-body .coprom-map-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  background: rgba(247, 251, 254, .92);
  pointer-events: none;
}

body.public-body .coprom-map-error {
  position: absolute;
  z-index: 4;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 520px;
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid #d9e5ef;
  border-radius: 10px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 28px rgba(5,45,88,.10);
  color: #56718a;
  font-size: .72rem;
}

body.public-body .coprom-map-error b,
body.public-body .coprom-map-error span {
  display: block;
}

body.public-body .coprom-map-error b {
  color: #173f64;
  margin-bottom: 3px;
}

body.public-body .coprom-map-tooltip {
  z-index: 6;
}

body.public-body .coprom-panel-president {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 12px;
  background: #eef5fa;
  box-shadow: 0 8px 22px rgba(7,59,120,.08);
}

body.public-body .coprom-panel-president img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

body.public-body .coprom-panel-president-name {
  margin: -3px 0 18px !important;
  color: #1c4c77 !important;
  font-size: .78rem !important;
  font-weight: 800;
  line-height: 1.45 !important;
}

/* Fiche détaillée d'un conseil provincial */
body.public-body .coprom-detail-layout {
  display: grid;
  width: min(calc(100% - 48px), 1180px);
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
  gap: 24px;
  margin: 0 auto;
  padding: clamp(52px, 6vw, 82px) 0;
}

body.public-body .coprom-president-card,
body.public-body .coprom-profile-main {
  border: 1px solid #d7e3ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(7,59,120,.06);
}

body.public-body .coprom-president-card {
  overflow: hidden;
}

body.public-body .coprom-president-photo,
body.public-body .coprom-president-placeholder {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  margin: 0;
  background: #edf5fa;
}

body.public-body .coprom-president-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

body.public-body .coprom-president-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(11,99,183,.10), transparent 36%),
    linear-gradient(145deg, #f5f9fc, #e7f1f8);
  color: #0b63b7;
}

body.public-body .coprom-president-placeholder span {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 1px solid #c8dce9;
  border-radius: 50%;
  background: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .14em;
}

body.public-body .coprom-president-copy {
  padding: 24px 26px 28px;
}

body.public-body .coprom-president-copy h2 {
  margin: 8px 0 9px;
  color: #073b78;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.08;
}

body.public-body .coprom-president-copy p {
  margin: 0;
  color: #657c91;
  font-size: .79rem;
  line-height: 1.65;
}

body.public-body .coprom-detail-layout .coprom-profile-main {
  padding: 30px;
}

body.public-body .coprom-detail-layout .coprom-profile-main h2 {
  margin: 7px 0 22px;
  color: #073b78;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
}

@media (max-width: 1024px) {
  body.public-body .coprom-detail-layout {
    grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  }
}

@media (max-width: 820px) {
  body.public-body .coprom-map-canvas {
    min-height: 500px;
  }

  body.public-body .coprom-detail-layout {
    width: min(calc(100% - 34px), 1180px);
    grid-template-columns: 1fr;
  }

  body.public-body .coprom-president-card {
    display: grid;
    grid-template-columns: minmax(190px, .7fr) 1fr;
  }

  body.public-body .coprom-president-photo,
  body.public-body .coprom-president-placeholder {
    aspect-ratio: auto;
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  body.public-body .coprom-map-canvas {
    min-height: 420px;
  }

  body.public-body .coprom-president-card {
    display: block;
  }

  body.public-body .coprom-president-photo,
  body.public-body .coprom-president-placeholder {
    min-height: 0;
    aspect-ratio: 4 / 4.7;
  }
}

/* ==========================================================================
   CNOM-RDC — ACCUEIL PREMIUM V4
   ========================================================================== */

body.public-body.is-home {
  --home-max:1380px;
  --home-blue:#073b78;
  --home-blue-2:#0b63b7;
  --home-red:#e31e2f;
  --home-line:#d7e4ee;
}

body.public-body.is-home .home-hero-v4 {
  padding:clamp(38px,5vw,72px) 0 clamp(48px,6vw,82px);
  overflow:hidden;
  border-bottom:1px solid #d9e5ee;
  background:
    radial-gradient(circle at 18% 18%,rgba(27,123,184,.08),transparent 34%),
    linear-gradient(115deg,#f9fcfe 0%,#f3f9fd 55%,#edf7fc 100%);
}

body.public-body.is-home .home-hero-v4::before,
body.public-body.is-home .home-hero-v4::after { display:none; }

body.public-body.is-home .home-hero-v4-inner {
  display:grid;
  width:min(calc(100% - 48px),var(--home-max));
  grid-template-columns:minmax(0,.88fr) minmax(520px,1.12fr);
  align-items:center;
  gap:clamp(38px,5vw,72px);
  margin:0 auto;
}

body.public-body.is-home .home-hero-v4-copy {
  max-width:660px;
  padding:22px 0;
}

body.public-body.is-home .home-hero-v4 h1 {
  max-width:680px;
  margin:14px 0 22px;
  color:var(--home-blue);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(3rem,5vw,5.2rem);
  font-weight:700;
  line-height:.97;
  letter-spacing:-.045em;
}

body.public-body.is-home .home-hero-v4 h1 em {
  color:#0e5ca3;
  font-style:normal;
}

body.public-body.is-home .home-hero-v4 .home-hero-lead {
  max-width:650px;
  color:#536e86;
  font-size:clamp(.96rem,1.25vw,1.09rem);
  line-height:1.75;
}

body.public-body.is-home .home-hero-v4 .home-hero-actions { margin-top:28px; }
body.public-body.is-home .home-hero-v4 .home-trust-row { margin-top:22px; }

/* Diaporama */
body.public-body.is-home .home-slider { min-width:0; }

body.public-body.is-home .home-slider-stage {
  position:relative;
  min-height:585px;
  overflow:hidden;
  border:1px solid rgba(192,211,225,.96);
  border-radius:24px;
  background:#dcebf4;
  box-shadow:0 30px 70px rgba(5,45,88,.16);
  isolation:isolate;
}

body.public-body.is-home .home-slide {
  position:absolute;
  inset:0;
  visibility:hidden;
  opacity:0;
  transform:scale(1.015);
  transition:opacity .7s ease,transform 1.1s ease,visibility .7s ease;
  pointer-events:none;
}

body.public-body.is-home .home-slide.is-active {
  visibility:visible;
  opacity:1;
  transform:scale(1);
  pointer-events:auto;
}

body.public-body.is-home .home-slide-media {
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  background:#edf5fa;
}

body.public-body.is-home .home-slide-media img {
  width:100%;
  height:100%;
  display:block;
}

body.public-body.is-home .home-slide-media--cover img {
  object-fit:cover;
  object-position:center;
}

body.public-body.is-home .home-slide-media--contain {
  padding:7%;
  background:#fff;
}

body.public-body.is-home .home-slide-media--contain img { object-fit:contain; }

body.public-body.is-home .home-slide-shade {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,25,50,.02) 25%,rgba(3,33,62,.12) 52%,rgba(3,31,58,.9) 100%);
}

body.public-body.is-home .home-slide-media--contain + .home-slide-shade {
  background:linear-gradient(180deg,transparent 45%,rgba(3,31,58,.92) 100%);
}

body.public-body.is-home .home-slide-caption {
  position:absolute;
  z-index:3;
  right:0;
  bottom:0;
  left:0;
  max-width:650px;
  padding:34px 38px 38px;
  color:#fff;
}

body.public-body.is-home .home-slide-caption>span {
  display:inline-flex;
  margin-bottom:9px;
  color:#c8e8ff;
  font-size:.65rem;
  font-weight:850;
  letter-spacing:.12em;
}

body.public-body.is-home .home-slide-caption h2 {
  max-width:590px;
  margin:0;
  color:#fff;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.75rem,2.7vw,2.7rem);
  line-height:1.03;
}

body.public-body.is-home .home-slide-caption p {
  max-width:570px;
  margin:10px 0 14px;
  color:rgba(255,255,255,.84);
  font-size:.82rem;
  line-height:1.58;
}

body.public-body.is-home .home-slide-caption a {
  color:#fff;
  font-size:.75rem;
  font-weight:800;
}

body.public-body.is-home .home-slide-caption a:hover {
  text-decoration:underline;
  text-underline-offset:4px;
}

body.public-body.is-home .home-slider-arrow {
  position:absolute;
  z-index:6;
  top:50%;
  display:grid;
  width:44px;
  height:44px;
  place-items:center;
  border:1px solid rgba(255,255,255,.42);
  border-radius:50%;
  background:rgba(4,35,66,.45);
  color:#fff;
  font-size:1.9rem;
  line-height:1;
  backdrop-filter:blur(8px);
  transform:translateY(-50%);
  cursor:pointer;
}

body.public-body.is-home .home-slider-arrow:hover { background:rgba(4,35,66,.76); }
body.public-body.is-home .home-slider-prev { left:18px; }
body.public-body.is-home .home-slider-next { right:18px; }

body.public-body.is-home .home-slider-counter {
  position:absolute;
  z-index:6;
  top:20px;
  right:20px;
  display:flex;
  min-width:92px;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:9px 12px;
  border:1px solid rgba(255,255,255,.4);
  border-radius:999px;
  background:rgba(3,31,58,.5);
  color:#fff;
  backdrop-filter:blur(8px);
}

body.public-body.is-home .home-slider-counter b,
body.public-body.is-home .home-slider-counter small {
  font-size:.66rem;
  font-weight:800;
}

body.public-body.is-home .home-slider-counter span {
  width:18px;
  height:1px;
  background:rgba(255,255,255,.55);
}

body.public-body.is-home .home-slider-footer {
  display:flex;
  min-height:52px;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:10px 6px 0;
}

body.public-body.is-home .home-slider-dots {
  display:flex;
  align-items:center;
  gap:7px;
}

body.public-body.is-home .home-slider-dots button {
  width:28px;
  height:4px;
  padding:0;
  border:0;
  border-radius:999px;
  background:#c7d8e5;
  cursor:pointer;
}

body.public-body.is-home .home-slider-dots button.is-active {
  width:48px;
  background:var(--home-blue-2);
}

body.public-body.is-home .home-slider-pause {
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:6px 8px;
  border:0;
  background:transparent;
  color:#687f94;
  font-size:.68rem;
  font-weight:750;
  cursor:pointer;
}

body.public-body.is-home .home-slider-pause>span {
  display:grid;
  width:25px;
  height:25px;
  place-items:center;
  border:1px solid #cbdce8;
  border-radius:50%;
  color:#0b63b7;
  font-size:.66rem;
}

/* Démarches */
body.public-body.is-home .home-actions-v4 {
  padding-top:clamp(58px,6vw,84px);
}

body.public-body.is-home .home-actions-v4 .home-section-heading {
  margin-bottom:25px;
}

body.public-body.is-home .home-actions-v4 .home-section-heading>p {
  max-width:480px;
}

body.public-body.is-home .home-actions-v4 .home-action-card {
  min-height:285px;
}

/* Présidence */
body.public-body.is-home .home-president-v4 {
  margin-top:clamp(60px,7vw,98px);
}

body.public-body.is-home .home-president-v4 .president-wrap {
  align-items:stretch;
}

body.public-body.is-home .home-president-v4 .president-photo {
  aspect-ratio:4/5;
  min-height:0;
  overflow:hidden;
}

body.public-body.is-home .home-president-v4 .president-photo img {
  width:100%;
  height:100%;
  min-height:0;
  display:block;
  object-fit:cover;
  object-position:center top;
}

body.public-body.is-home .home-president-v4 .president-lead {
  max-width:680px;
  color:#526d86;
  font-size:1rem;
  line-height:1.75;
}

/* Repères */
body.public-body.is-home .home-stats-v4 { margin-top:0; }
body.public-body.is-home .home-stat-grid-v4 {
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
}
body.public-body.is-home .home-stat-grid-v4 .home-stat { min-height:150px; }

/* Actualités */
body.public-body.is-home .home-news-v4 .news-card.is-featured {
  border-top:3px solid var(--home-red);
}
body.public-body.is-home .home-news-v4 .news-card h3 {
  font-size:1.18rem;
}

/* Accessibilité */
body.public-body.is-home .home-slider button:focus-visible,
body.public-body.is-home .home-slider a:focus-visible {
  outline:3px solid #72b9ed;
  outline-offset:3px;
}

@media (max-width:1100px) {
  body.public-body.is-home .home-hero-v4-inner { grid-template-columns:1fr; }
  body.public-body.is-home .home-hero-v4-copy { max-width:860px; }
  body.public-body.is-home .home-hero-v4 h1 { max-width:900px; }
  body.public-body.is-home .home-slider-stage { min-height:610px; }
}

@media (max-width:760px) {
  body.public-body.is-home .home-hero-v4 { padding-top:30px; }
  body.public-body.is-home .home-hero-v4-inner {
    width:min(calc(100% - 30px),var(--home-max));
    gap:34px;
  }
  body.public-body.is-home .home-hero-v4 h1 {
    font-size:clamp(2.5rem,12vw,3.55rem);
  }
  body.public-body.is-home .home-hero-v4 .home-hero-actions {
    align-items:stretch;
    flex-direction:column;
  }
  body.public-body.is-home .home-hero-v4 .home-hero-actions .btn { width:100%; }
  body.public-body.is-home .home-slider-stage {
    min-height:520px;
    border-radius:18px;
  }
  body.public-body.is-home .home-slide-caption { padding:26px 24px 29px; }
  body.public-body.is-home .home-slide-caption h2 {
    font-size:clamp(1.6rem,8vw,2.2rem);
  }
  body.public-body.is-home .home-slider-arrow {
    top:44%;
    width:38px;
    height:38px;
  }
  body.public-body.is-home .home-slider-prev { left:10px; }
  body.public-body.is-home .home-slider-next { right:10px; }
  body.public-body.is-home .home-president-v4 .president-photo { aspect-ratio:5/4; }
}

@media (max-width:520px) {
  body.public-body.is-home .home-slider-stage { min-height:455px; }
  body.public-body.is-home .home-slide-caption p { font-size:.76rem; }
  body.public-body.is-home .home-slide-media--contain { padding:5%; }
  body.public-body.is-home .home-slider-counter {
    top:12px;
    right:12px;
  }
  body.public-body.is-home .home-president-v4 .president-photo { aspect-ratio:4/5; }
}

@media (prefers-reduced-motion:reduce) {
  body.public-body.is-home .home-slide,
  body.public-body.is-home .home-slider-dots button,
  body.public-body.is-home .home-slider-arrow { transition:none!important; }
}

