/* NARSA Prévention - nouveau design (v2) - page d'accueil
   Toutes les classes sont préfixées nv- pour ne pas entrer en conflit avec theme.css */

:root {
  --nv-navy: #0B1B4D;
  --nv-navy-deep: #071A4A;
  --nv-blue: #0A2472;
  --nv-link: #1F4CFF;
  --nv-yellow: #F7B500;
  --nv-yellow-btn: #F9D71C;
  --nv-text: #2B3A6B;
  --nv-font: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --nv-font-display: 'Plus Jakarta Sans', 'Roboto', system-ui, sans-serif;
  --nv-shadow: 0 12px 34px rgba(11, 27, 77, .10);
}

.nv, .nv *, .nv *::before, .nv *::after { box-sizing: border-box; }

body.nv { margin: 0; background: #fff; }

/* .nv est posé sur <body> (pages entièrement refaites) ou seulement sur
   l'en-tête et le pied de page (pages internes à l'ancien contenu). */
.nv {
  color: var(--nv-text);
  font-family: var(--nv-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.nv img { max-width: 100%; height: auto; display: block; }
.nv a { color: inherit; text-decoration: none; }
/* :where() garde une spécificité minimale : les marges des composants priment */
:where(.nv) :where(h1, h2, h3, p, ul, dl, dd, figure) { margin: 0; padding: 0; }
.nv p, .nv li { font-weight: inherit; }
.nv ul { list-style: none; }
.nv button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.nv :focus-visible { outline: 3px solid var(--nv-link); outline-offset: 3px; border-radius: 4px; }
/* Champs de recherche et newsletter : le focus est signalé par l'anneau jaune de leur cadre (:focus-within) */
.nv .nv-search input:focus-visible, .nv .nv-hsearch__form input:focus-visible, .nv .nv-newsletter input:focus-visible { outline: 0; border-radius: 0; }
.nv .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

.nv-container { width: min(1152px, 100% - 48px); margin-inline: auto; }
.nv-section { margin-top: 56px; }
.nv-arrow { width: 22px; height: 22px; flex: none; }

/* Titre de section + barre jaune */
.nv-title {
  color: var(--nv-blue);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
}
.nv-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  margin-top: 18px;
  background: var(--nv-yellow);
}
.nv-title--light { color: #fff; }

/* Boutons */
.nv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 12px 22px 12px 28px;
  font-size: 14px;
  color: #fff;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.nv a.nv-btn { color: #fff; }
.nv-btn .nv-arrow { width: 18px; height: 18px; transition: transform .2s; }
.nv-btn:hover .nv-arrow { transform: translateX(4px); }
.nv-btn--teal { background: #0B5A66; border-radius: 999px; min-height: 60px; }
.nv-btn--teal:hover { background: #084650; }
.nv-btn--outline { border: 1px solid rgba(255, 255, 255, .32); border-radius: 12px; padding-left: 20px; min-width: 224px; }
.nv-btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- En-tête ---------- */
.nv-header { background: #fff; position: relative; z-index: 50; }
.nv-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 99px; gap: 24px; }
.nv-header__logo { flex: none; margin-left: 20px; }
.nv-header__logo img { width: 205px; }

.nv-nav { display: flex; align-items: center; gap: 28px; }
.nv-menu { display: flex; align-items: center; gap: clamp(20px, 4.4vw, 64px); margin-right: clamp(0px, 1.6vw, 24px); }
.nv-menu__item, .nv-lang { position: relative; }
.nv .nv-menu__link, .nv .nv-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 2px;
  color: #12287A;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.nv-menu__link:hover, .nv-menu__item.is-active > .nv-menu__link { color: var(--nv-link); }
.nv .nv-lang__btn { font-weight: 700; font-size: 14px; }

.nv-menu__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 230px;
  padding: 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(11, 27, 77, .16);
}
.nv-lang__sub { left: auto; right: 0; min-width: 140px; }
.nv-menu__sub a { display: block; padding: 9px 12px; border-radius: 8px; color: #12287A; font-size: 14px; }
.nv-menu__sub a:hover { background: #EEF4FF; color: var(--nv-link); }
.has-sub.is-open > .nv-menu__sub { display: block; }
@media (hover: hover) and (min-width: 992px) {
  .has-sub:hover > .nv-menu__sub, .has-sub:focus-within > .nv-menu__sub { display: block; }
}

.nv .nv-btn-univers {
  padding: 9px 24px;
  background: var(--nv-yellow-btn);
  border-radius: 999px;
  color: #12287A;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .2s;
}
.nv .nv-btn-univers:hover { background: #FFE450; }
.nv-univers { position: relative; }
.nv-univers__sub { left: auto; right: 0; min-width: 210px; }
.nv a.nv-header__search { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #12287A; transition: background-color .2s, color .2s; }
.nv a.nv-header__search:hover { background: #EEF4FF; color: var(--nv-link); }
.nv-header__search svg { width: 20px; height: 20px; }
/* Champ de recherche ouvert par l'icône de l'en-tête */
.nv-hsearch { position: relative; }
.nv .nv-hsearch.is-open > a.nv-header__search { background: #EEF4FF; color: var(--nv-link); }
.nv-hsearch__form { display: flex; visibility: hidden; opacity: 0; transform: translateY(-8px) scale(.96); transform-origin: top right; transition: opacity .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .3s, box-shadow .2s; position: absolute; top: calc(100% + 14px); right: 0; z-index: 60; gap: 6px; width: 380px; max-width: 80vw; padding: 6px; background: #fff; border: 1px solid #E8EDF8; border-radius: 999px; box-shadow: 0 18px 40px rgba(11, 27, 77, .18); }
.nv-hsearch.is-open .nv-hsearch__form { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nv-hsearch__form:focus-within { box-shadow: 0 0 0 3px var(--nv-yellow-btn), 0 18px 40px rgba(11, 27, 77, .18); }
.nv .nv-hsearch__form input { flex: 1; min-width: 0; height: 42px; padding: 0 8px 0 18px; background: transparent; border: 0; outline: 0; color: var(--nv-navy); font: 400 15px var(--nv-font); }
.nv-hsearch__form input::placeholder { color: #8A93C4; opacity: 1; }
.nv .nv-hsearch__form button { flex: none; height: 42px; padding: 0 20px; background: var(--nv-yellow-btn); border: 0; border-radius: 999px; color: #12287A; font: 700 14px var(--nv-font); cursor: pointer; transition: background-color .2s; }
.nv .nv-hsearch__form button:hover { background: #FFE450; }

/* Bouton du menu mobile : pastille arrondie, trois barres (la dernière plus courte) qui se croisent à l'ouverture */
.nv .nv-burger { display: none; flex: none; flex-direction: column; align-items: flex-end; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 12px; background: #F3F7FE; border-radius: 14px; transition: background-color .3s; }
.nv-burger span { display: block; width: 22px; height: 2.5px; background: #12287A; border-radius: 2px; transition: transform .4s cubic-bezier(.6, 0, .2, 1.3), width .3s, opacity .2s, background-color .3s; }
.nv-burger span:nth-child(3) { width: 14px; }
.nv .nv-burger[aria-expanded="true"] { background: var(--nv-navy-deep); }
.nv-burger[aria-expanded="true"] span { background: #fff; }
.nv-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nv-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nv .nv-burger[aria-expanded="true"] span:nth-child(3) { width: 22px; transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.nv-hero { position: relative; container-type: inline-size; background: #2A6FC9; }
.nv-hero__img { width: 100%; }
/* Photo sans texte : cadrage fixe, slogan écrit par-dessus (tailles en cqw : proportionnelles à la largeur du bandeau) */
.nv-hero--photo .nv-hero__img { aspect-ratio: 1440 / 346; object-fit: cover; }
.nv-hero__slogan { position: absolute; left: 50%; top: 11%; width: 21cqw; padding-bottom: 1.6cqw; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 18'%3E%3Cpath d='M3 15C55 6 110 3 177 4' fill='none' stroke='%23FFC61A' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") 60% bottom / 60% 1.4cqw no-repeat; color: #fff; font: 700 4.9cqw/.95 'Caveat', cursive; text-align: center; text-shadow: 0 2px 12px rgba(7, 26, 74, .35); transform: rotate(-8deg); }
.nv-hero__slogan em { display: block; color: #FFC61A; font-size: .86em; font-style: normal; }
.nv-hero__credit { position: absolute; right: 8px; bottom: 5px; color: rgba(255, 255, 255, .85); font-size: 10px; line-height: 1; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
/* Sur le visuel provisoire, le champ recouvre exactement celui dessiné dans l'image */
.nv-search {
  position: absolute;
  left: 3.4%;
  top: 44.5%;
  width: 44.5%;
  height: 17.4%;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(7, 26, 74, .18);
  overflow: hidden;
}
.nv-search button { flex: none; display: grid; place-items: center; height: 100%; padding: 0 1.1cqw 0 1.7cqw; color: #12287A; }
.nv-search svg { width: clamp(16px, 2cqw, 30px); height: clamp(16px, 2cqw, 30px); }
.nv-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 1.6cqw 0 .6cqw;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--nv-navy);
  font: 400 clamp(13px, 1.25cqw, 20px) var(--nv-font);
}
.nv-search input::placeholder { color: #8A93C4; opacity: 1; }
.nv-search:focus-within { box-shadow: 0 0 0 3px var(--nv-yellow-btn), 0 8px 24px rgba(7, 26, 74, .18); }

/* ---------- Publics ---------- */
.nv-publics { margin-top: 36px; }
.nv-publics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 78px 19px 30px;
  background: #FEFDFD;
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(11, 27, 77, .05);
}
.nv-public {
  --from: #EAF4FE; --to: #DBECFC; --bar: #0377E3;
  position: relative;
  display: block;
  min-height: 232px;
  padding: 84px 18px 34px;
  background: linear-gradient(135deg, var(--from), var(--to));
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 20px;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--bar) 12%, transparent);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.nv-public::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 44%; height: 28%;
  background: rgba(255, 255, 255, .28);
  border-radius: 0 100% 0 20px;
  pointer-events: none;
}
.nv-public--orange { --from: #FDF4E3; --to: #FEEFD2; --bar: #F9A403; }
.nv-public--teal { --from: #E8FAFC; --to: #D6F4F8; --bar: #01A4B2; }
.nv-public--purple { --from: #F2ECFC; --to: #EADCFC; --bar: #7222DF; }
.nv-public img {
  position: absolute;
  left: 50%; top: -58px;
  height: 124px; width: auto; max-width: none;
  transform: translateX(-50%);
  transition: transform .25s;
}
.nv-public h2 {
  position: relative;
  color: var(--nv-navy);
  font: 700 22px/1.25 var(--nv-font-display);
  letter-spacing: -.03em;
}
.nv-public h2::after {
  content: '';
  display: block;
  width: 48px; height: 5px;
  margin: 14px auto 18px;
  background: var(--bar);
  border-radius: 3px;
}
.nv-public p { position: relative; max-width: 190px; margin-inline: auto; color: #14265C; font-size: 15px; line-height: 1.4; }
.nv-public:hover { transform: translateY(-4px); box-shadow: 0 14px 28px color-mix(in srgb, var(--bar) 22%, transparent); }
.nv-public:hover img { transform: translateX(-50%) translateY(-4px) scale(1.04); }

/* ---------- Médiathèque ---------- */
.nv-media {
  position: relative;
  display: grid;
  grid-template-columns: 252px 1fr;
  gap: 0;
  padding: 24px 24px 24px 32px;
  background: linear-gradient(120deg, #F6FAFF 0%, #F1F6FC 100%);
  border-radius: 28px;
  box-shadow: var(--nv-shadow);
  overflow: hidden;
}
/* Bande "route" décorative en bas à droite */
.nv-media::before, .nv-media::after { content: ''; position: absolute; right: 0; bottom: 0; pointer-events: none; }
.nv-media::before { width: 38%; height: 54px; background: #80A1C0; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.nv-media::after { width: 7%; height: 14px; background: #FDD222; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.nv-media__intro { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 0 18px; }
.nv-media__intro p { margin: 26px 0 28px; max-width: 240px; font-size: 14px; line-height: 2.3; }
.nv-media__intro .nv-btn { margin-top: auto; }
.nv-media__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nv-media-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(11, 27, 77, .10);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.nv-media-card > img { width: 100%; height: 172px; object-fit: cover; transition: transform .4s; }
.nv-media-card__body { position: relative; flex: 1; margin-top: -22px; padding: 50px 20px 26px; background: #fff; border-radius: 20px 20px 0 0; }
.nv-media-card__badge {
  position: absolute;
  left: 20px; top: -24px;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  background: var(--badge);
  border-radius: 50%;
  color: #fff;
}
.nv-media-card__badge svg { width: 20px; height: 20px; }
.nv-media-card h3 { color: var(--nv-navy); font-size: 19px; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.nv-media-card p { margin-top: 18px; font-size: 12.5px; line-height: 2.25; }
.nv-media-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(11, 27, 77, .16); }
.nv-media-card:hover > img { transform: scale(1.05); }

/* ---------- S'informer ---------- */
.nv-infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nv-info {
  --from: #EEF7FE; --to: #E0F0FE; --bar: #2C87FE;
  position: relative;
  display: block;
  min-height: 345px;
  padding: 14px 30px 34px;
  background: linear-gradient(135deg, var(--from), var(--to));
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 22px;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--bar) 12%, transparent);
  transition: transform .25s, box-shadow .25s;
}
.nv-info--yellow { --from: #FDF9F2; --to: #FEF2DA; --bar: #FEB707; }
.nv-info--purple { --from: #F5F1FD; --to: #EBE5FC; --bar: #7E55FD; }
.nv-info img {
  height: 166px; width: auto;
  margin-bottom: 14px;
  /* visuels provisoires non détourés : bords fondus dans la carte */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-composite: intersect;
}
.nv-info h2 { max-width: 270px; color: var(--nv-navy); font: 800 22px/1.2 var(--nv-font-display); letter-spacing: -.02em; }
.nv-info h2::after { content: ''; display: block; width: 44px; height: 5px; margin: 14px 0 12px; background: var(--bar); border-radius: 3px; }
.nv-info p { max-width: 232px; padding-right: 8px; color: #14265C; font-size: 15px; line-height: 1.55; }
.nv-info__go {
  position: absolute;
  right: 24px; bottom: 26px;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(11, 27, 77, .16);
  color: #1546C4;
  transition: background-color .2s, color .2s;
}
.nv-info:hover { transform: translateY(-4px); box-shadow: 0 18px 36px color-mix(in srgb, var(--bar) 22%, transparent); }
.nv-info:hover .nv-info__go { background: #1546C4; color: #fff; }

/* ---------- Actions en région ---------- */
.nv-regions {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(200px, 1fr) minmax(0, 501px);
  gap: 24px;
  align-items: stretch;
  padding: 24px 28px 24px 32px;
  background: var(--nv-navy-deep);
  border-radius: 28px;
  box-shadow: var(--nv-shadow);
  color: #fff;
}
.nv-regions__intro { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 0 0; }
.nv-regions__intro p { margin: 26px 0 28px; color: rgba(255, 255, 255, .88); font-size: 14px; line-height: 2.3; }
.nv-regions__intro .nv-btn { margin-top: auto; }
.nv-regions__map { align-self: center; width: 100%; max-width: 330px; margin-inline: auto; }
.nv-regions__map svg { display: block; }
.nv-regions__map path { cursor: pointer; }

.nv-region-card { position: relative; min-height: 305px; background: #fff; border-radius: 24px; overflow: hidden; color: var(--nv-text); }
.nv-region-card__photo { position: absolute; inset: 0 0 0 auto; width: 40%; background: #BFD3EA center / cover no-repeat; }
/* Bord droit arrondi + liseré jaune */
.nv-region-card::before {
  content: '';
  position: absolute;
  z-index: 1;
  left: 8%; top: -25%; bottom: -25%;
  width: 63%;
  background: #fff;
  border-right: 5px solid #FBBA03;
  border-radius: 0 50% 50% 0 / 0 50% 50% 0;
}
.nv-region-card__body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; width: 64%; min-height: 305px; padding: 24px 0 22px 24px; }
.nv-pill { padding: 9px 16px; background: var(--nv-link); border-radius: 999px; color: #fff; font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
/* Hauteur réservée pour 2 lignes : le pavé ne bouge pas quand le nom de la région change */
.nv-region-card h3 { display: flex; align-items: center; width: 100%; height: 2.5em; margin-top: 14px; color: var(--nv-navy); font-size: 23px; font-weight: 900; line-height: 1.25; }
.nv-region-card h3 a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.nv-region-card h3 a:hover { color: var(--nv-link); }
.nv-region-card p { margin: 10px 0 14px; font-size: 14px; line-height: 2; }
.nv-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 12px; width: 100%; margin-top: auto; text-align: center; }
.nv-stats div { display: flex; flex-direction: column-reverse; }
.nv-stats dd { color: var(--nv-navy); font-size: 23px; font-weight: 900; line-height: 1.3; }
.nv-stats dt { color: var(--nv-navy); font-size: 12px; font-weight: 500; }

/* ---------- Programmes phares ---------- */
.nv-programmes { margin-bottom: 64px; }
.nv-programmes__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 38px; }
.nv-prog {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--nv-shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.nv-prog > img { width: 100%; height: 170px; object-fit: cover; transition: transform .4s; }
.nv-prog__body { position: relative; flex: 1; padding: 11px 20px 30px; }
.nv-tag { display: inline-block; min-width: 108px; padding: 6px 13px; background: var(--tag); border-radius: 999px; color: #fff; font-size: 10px; font-weight: 700; line-height: 1.4; }
.nv-prog h3 { margin-top: 10px; color: var(--nv-navy); font-size: 19px; font-weight: 700; line-height: 1.6; }
.nv-prog p { margin-top: 14px; padding-right: 22px; font-size: 14px; line-height: 2; }
.nv-prog .nv-arrow { position: absolute; right: 14px; bottom: 20px; color: var(--nv-link); transition: transform .2s; }
.nv-prog:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 27, 77, .16); }
.nv-prog:hover > img { transform: scale(1.05); }
.nv-prog:hover .nv-arrow { transform: translateX(4px); }

/* ---------- Pied de page ---------- */
.nv-footer { padding: 22px 0 26px; background: var(--nv-navy-deep); color: #C9CFDE; font-size: 13px; }
.nv-footer__grid { display: grid; grid-template-columns: repeat(3, 1fr) 264px; gap: 24px; }
.nv-footer__brand img { width: 236px; margin: -26px 0 -14px; }
.nv-footer__brand p { max-width: 190px; font-size: 12px; line-height: 1.55; }
.nv-footer__social { display: flex; gap: 14px; margin-top: 10px; color: #fff; }
.nv-footer__social a { display: grid; place-items: center; width: 20px; height: 20px; transition: color .2s; }
.nv-footer__social a:hover { color: var(--nv-yellow-btn); }
.nv-footer__social svg { height: 15px; width: auto; }
.nv-footer__col { padding-top: 14px; }
.nv-footer__col h2 { margin-bottom: 14px; color: #fff; font-size: 15px; font-weight: 700; }
.nv-footer__col li { line-height: 1.8; }
.nv-footer a:hover { color: #fff; text-decoration: underline; }
.nv-newsletter { display: flex; align-items: center; height: 45px; margin-top: 12px; padding: 0 6px 0 16px; background: #fff; border-radius: 8px; }
.nv-newsletter input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--nv-navy); font: 400 14px var(--nv-font); }
.nv-newsletter input::placeholder { color: var(--nv-navy); opacity: 1; }
.nv-newsletter:focus-within { box-shadow: 0 0 0 3px var(--nv-yellow-btn); }
.nv-newsletter button { display: grid; place-items: center; width: 36px; height: 36px; color: var(--nv-yellow); }
.nv-newsletter svg { width: 16px; height: 16px; }
.nv-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 18px; font-size: 12px; }
.nv-footer__bottom ul { display: flex; gap: 34px; }

/* ---------- Page intérieure : bandeau de titre ---------- */
.nv-pagehead { padding: 34px 0 40px; background: linear-gradient(120deg, #F6FAFF 0%, #EAF2FD 100%); }
.nv-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: #5A6794; font-size: 13px; }
.nv-breadcrumb a { color: #12287A; font-weight: 500; }
.nv-breadcrumb a:hover { color: var(--nv-link); text-decoration: underline; }
.nv .nv-pagehead h1 { margin: 0; font-size: 40px; }
.nv-pagehead__intro { max-width: 640px; margin-top: 22px; font-size: 15px; line-height: 1.9; }

/* Bandeau compact (médiathèque) : titre et onglets sur une même ligne */
.nv-pagehead--compact { padding: 18px 0 22px; }
.nv-pagehead--compact .nv-breadcrumb { margin-bottom: 10px; }
.nv-pagehead__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; }
.nv .nv-pagehead--compact h1 { font-size: 30px; }
.nv-pagehead--compact .nv-title::after { width: 32px; height: 3px; margin-top: 8px; }
.nv-pagehead--compact .nv-pagehead__intro { margin-top: 8px; font-size: 14px; line-height: 1.5; }
.nv-pagehead--compact .nv-tabs { margin-top: 0; }
.nv .nv-pagehead--compact .nv-tabs a { padding: 8px 16px; font-size: 13px; }
.nv-pagehead--compact + .nv-gallery-section { margin-top: 28px; }
/* Bandeau avec photo (pages de base) : la photo occupe la droite et se fond dans le fond clair */
.nv-pagehead--photo { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 190px; overflow: hidden; }
.nv-pagehead__img { position: absolute; inset: 0 0 0 auto; z-index: -1; width: 48%; height: 100%; object-fit: cover; object-position: center 35%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 30%, #000 65%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 30%, #000 65%); }
.nv-pagehead--photo .nv-breadcrumb, .nv-pagehead--photo h1 { max-width: 56%; }
@media (max-width: 767px) {
  .nv-pagehead--photo { display: block; min-height: 0; }
  .nv-pagehead__img { display: none; }
  .nv-pagehead--photo .nv-breadcrumb, .nv-pagehead--photo h1 { max-width: none; }
}

/* ---------- Page "Actions en région" ---------- */.nv-explorer-section { margin-top: 40px; margin-bottom: 72px; }
.nv-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 32px;
  align-items: center;
  padding: 28px 28px 28px 32px;
  background: var(--nv-navy-deep);
  border-radius: 28px;
  box-shadow: var(--nv-shadow);
  scroll-margin-top: 16px;
}
.nv-explorer__map { width: 100%; max-width: 500px; margin-inline: auto; }
.nv-explorer__map svg { display: block; }
.nv-explorer__map path { cursor: pointer; }
.nv-explorer__hint { margin-top: 10px; color: rgba(255, 255, 255, .7); font-size: 13px; text-align: center; }
.nv-explorer__panel { align-self: stretch; display: flex; flex-direction: column; min-height: 520px; padding: 28px; background: #fff; border-radius: 24px; }

.nv-region-list h2, .nv-region-detail h2 { margin-top: 18px; color: var(--nv-navy); font-size: 26px; font-weight: 900; line-height: 1.25; }
.nv-region-list ul { margin-top: 16px; }
.nv-region-list li + li { border-top: 1px solid #EEF1F8; }
.nv-region-list a { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 10px; color: #12287A; font-size: 15px; font-weight: 500; transition: background-color .15s, color .15s; }
.nv-region-list a span { flex: 1; }
.nv-region-list a em { min-width: 26px; padding: 2px 8px; background: #EEF4FF; border-radius: 999px; color: var(--nv-link); font-size: 12px; font-style: normal; font-weight: 700; text-align: center; }
.nv-region-list a .nv-arrow { width: 16px; height: 16px; color: #A9B4D6; transition: transform .15s, color .15s; }
.nv-region-list a:hover { background: #F3F7FE; color: var(--nv-link); }
.nv-region-list a:hover .nv-arrow { color: var(--nv-link); transform: translateX(3px); }

.nv-region-detail { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.nv-region-detail + .nv-region-detail { margin-top: 32px; padding-top: 32px; border-top: 1px solid #EEF1F8; }
.nv a.nv-region-detail__back { display: none; align-items: center; gap: 8px; margin-bottom: 22px; color: #5A6794; font-size: 13px; font-weight: 500; }
.nv a.nv-region-detail__back:hover { color: var(--nv-link); }
.nv-region-detail__back .nv-arrow { width: 16px; height: 16px; }
.nv-region-detail__stat { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; padding: 12px 18px; background: #F3F7FE; border-radius: 14px; }
.nv-region-detail__stat dd { color: var(--nv-link); font-size: 30px; font-weight: 900; line-height: 1.1; }
.nv-region-detail__stat dt { color: var(--nv-navy); font-size: 14px; font-weight: 500; }
.nv-contact { width: 100%; margin: 22px 0 28px; }
.nv-contact li { display: flex; gap: 14px; padding: 13px 0; }
.nv-contact li + li { border-top: 1px solid #EEF1F8; }
.nv-contact svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--nv-yellow); }
.nv-contact strong { display: block; color: var(--nv-navy); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.nv-contact span, .nv-contact a { font-size: 15px; line-height: 1.6; }
.nv-contact a { color: var(--nv-link); }
.nv-contact a:hover { text-decoration: underline; }
.nv-contact p { margin: 0; }
.nv-region-detail .nv-btn { margin-top: auto; }

/* Liste des actions de la région sélectionnée */
.nv-actions { margin-top: 48px; scroll-margin-top: 16px; }
.nv-actions__empty { margin-top: 26px; padding: 22px 24px; background: #F3F7FE; border-radius: 16px; font-size: 15px; }
.nv-actions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.nv-action { display: flex; flex-direction: column; padding: 22px 22px 18px; background: #fff; border: 1px solid #EEF1F8; border-radius: 18px; box-shadow: var(--nv-shadow); transition: transform .25s, box-shadow .25s; }
.nv-action:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11, 27, 77, .14); }
.nv-action__date { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; background: #EEF4FF; border-radius: 999px; color: var(--nv-link); font-size: 12px; font-weight: 700; }
.nv-action__date svg { width: 15px; height: 15px; }
.nv-action h3 { margin-top: 14px; color: var(--nv-navy); font-size: 18px; font-weight: 700; line-height: 1.4; }
.nv-action h3 a:hover { color: var(--nv-link); }
.nv-action dl { margin-top: 12px; font-size: 14px; line-height: 1.6; }
.nv-action dl div { display: flex; gap: 8px; }
.nv-action dt { flex: none; color: #5A6794; }
.nv-action dt::after { content: ' :'; }
.nv-action dd { color: var(--nv-navy); font-weight: 500; }
.nv-action__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 18px; margin-top: auto; padding-top: 18px; }
.nv .nv-action__links a { display: inline-flex; align-items: center; gap: 8px; color: var(--nv-link); font-size: 14px; font-weight: 500; }
.nv-action__links a:hover { text-decoration: underline; }
.nv-action__links .nv-arrow { width: 16px; height: 16px; }
.nv-explorer-section.is-ready .nv-actions { display: none; }
.nv-explorer-section.is-ready .nv-actions.is-active { display: block; }

/* Avec JavaScript : la liste, ou la fiche de la région sélectionnée */.nv-explorer.is-ready .nv-region-detail { display: none; margin: 0; padding: 0; border: 0; }
.nv-explorer.is-ready .nv-region-detail.is-active { display: flex; }
.nv-explorer.is-ready.has-selection .nv-region-list { display: none; }
.nv-explorer.is-ready .nv-region-detail__back { display: inline-flex; }

@media (max-width: 991px) {
  .nv-explorer { grid-template-columns: 1fr; padding: 24px 20px; }
  .nv-explorer__map { max-width: 380px; }
  .nv-explorer__panel { min-height: 0; padding: 24px 20px; }
  .nv-actions__grid { grid-template-columns: repeat(2, 1fr); }
  .nv .nv-pagehead h1 { font-size: 32px; }
}

/* ---------- Médiathèque : onglets, filtres, grille de photos ---------- */
.nv-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.nv .nv-tabs a { padding: 10px 20px; background: #fff; border: 1px solid #DCE4F5; border-radius: 999px; color: #12287A; font-size: 14px; font-weight: 500; transition: background-color .15s, color .15s, border-color .15s; }
.nv .nv-tabs a:hover { border-color: var(--nv-blue); }
.nv .nv-tabs a.is-active { background: var(--nv-blue); border-color: var(--nv-blue); color: #fff; }

.nv-gallery-section { margin-top: 36px; margin-bottom: 72px; }
.nv-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.nv .nv-filters button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px 8px 16px; background: #fff; border: 1px solid #DCE4F5; border-radius: 999px; color: #12287A; font-size: 13px; font-weight: 500; transition: background-color .15s, color .15s, border-color .15s; }
.nv-filters em { min-width: 24px; padding: 1px 7px; background: #EEF4FF; border-radius: 999px; color: var(--nv-link); font-size: 11px; font-style: normal; font-weight: 700; text-align: center; }
.nv .nv-filters button:hover { border-color: var(--nv-link); color: var(--nv-link); }
.nv .nv-filters button.is-active { background: var(--nv-link); border-color: var(--nv-link); color: #fff; }
.nv-filters button.is-active em { background: rgba(255, 255, 255, .22); color: #fff; }

.nv-gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px !important; }
.nv-gallery__empty { margin-top: 30px !important; padding: 22px 24px; background: #F3F7FE; border-radius: 16px; }
.nv-photo { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 18px; box-shadow: var(--nv-shadow); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.nv-photo__img { position: relative; display: block; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #EEF7FE, #E0F0FE); overflow: hidden; }
.nv-photo__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.nv-photo.is-broken img { visibility: hidden; }
.nv-photo__zoom { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; background: #fff; border-radius: 50%; box-shadow: 0 8px 20px rgba(11, 27, 77, .2); color: #1546C4; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.nv-photo__zoom svg { width: 20px; height: 20px; }
.nv-photo__title { padding: 14px 16px 16px; color: var(--nv-navy); font-size: 15px; font-weight: 700; line-height: 1.4; }
.nv-photo:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 27, 77, .16); }
.nv-photo:hover img { transform: scale(1.05); }
.nv-photo:hover .nv-photo__zoom, .nv-photo:focus-visible .nv-photo__zoom { opacity: 1; transform: none; }

/* Vidéos, documents, podcasts */
.nv-gallery--video .nv-photo__img { aspect-ratio: 16 / 9; background: var(--nv-navy-deep); }
.nv-photo__play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(to top, rgba(7, 26, 74, .45), rgba(7, 26, 74, 0) 60%); color: #fff; }
.nv-photo__play svg { box-sizing: content-box; width: 24px; height: 24px; padding: 16px; background: rgba(7, 26, 74, .6); border: 2px solid #fff; border-radius: 50%; transition: background-color .2s, transform .2s; }
.nv-photo:hover .nv-photo__play svg { background: var(--nv-link); transform: scale(1.08); }
.nv-photo__title em { display: block; margin-top: 4px; color: #5A6794; font-size: 13px; font-style: normal; font-weight: 400; }
.nv-emissions { margin-top: 0 !important; }
.nv-emissions .nv-photo__img { aspect-ratio: 1; }
.nv-emissions .nv-photo__play { place-items: end; padding: 14px; background: none; }
.nv-emissions .nv-photo__play svg { padding: 11px; background: var(--nv-link); border: 0; }
.nv-lightbox iframe { width: min(100%, calc((100dvh - 120px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; border: 0; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); pointer-events: auto; }

.nv-gallery--docs .nv-gallery__grid { gap: 14px; }
.nv-doc { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 14px; background: #fff; border: 1px solid #EEF1F8; border-radius: 16px; box-shadow: 0 6px 20px rgba(11, 27, 77, .07); transition: transform .2s, box-shadow .2s, border-color .2s; }
.nv-doc__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; background: #FDECE7; border-radius: 12px; color: #F4420B; }
.nv-doc__icon svg { width: 22px; height: 22px; }
.nv-doc__text { flex: 1; min-width: 0; }
.nv-doc strong { display: block; color: var(--nv-navy); font-size: 14px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.nv-doc em { display: block; margin-top: 2px; color: #5A6794; font-size: 12px; font-style: normal; font-weight: 500; letter-spacing: .04em; }
.nv-doc .nv-arrow { width: 20px; height: 20px; color: #A9B4D6; transition: color .2s; }
.nv-doc:hover { transform: translateY(-2px); border-color: #C9D6F5; box-shadow: 0 14px 30px rgba(11, 27, 77, .12); }
.nv-doc:hover .nv-arrow { color: var(--nv-link); }

.nv-emission { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; align-items: start; }
.nv-emission__cover img { width: 100%; border-radius: 22px; box-shadow: var(--nv-shadow); }
.nv-emission__episodes ol { margin: 26px 0 0; padding: 0; list-style: none; }
.nv-episode { display: flex; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid #EEF1F8; border-radius: 16px; box-shadow: 0 6px 20px rgba(11, 27, 77, .07); }
.nv-episode + .nv-episode { margin-top: 14px; }
.nv-episode__num { flex: none; display: grid; place-items: center; width: 36px; height: 36px; background: #EEF4FF; border-radius: 50%; color: var(--nv-link); font-size: 14px; font-weight: 700; }
.nv-episode > div { flex: 1; min-width: 0; }
.nv-episode h3 { color: var(--nv-navy); font-size: 16px; font-weight: 700; line-height: 1.4; }
.nv-episode audio { display: block; width: 100%; height: 40px; margin-top: 12px; }
.nv a.nv-emission__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: #5A6794; font-size: 14px; font-weight: 500; }
.nv a.nv-emission__back:hover { color: var(--nv-link); }
.nv-emission__back .nv-arrow { width: 16px; height: 16px; }
@media (max-width: 767px) { .nv-emission { grid-template-columns: 1fr; } .nv-emission__cover { max-width: 260px; } }

/* Grille mixte (thématiques) : photos, vidéos et documents */
.nv-gallery--mixed .nv-photo__img { aspect-ratio: 4 / 3; }
.nv-photo__img--doc { display: grid; place-items: center; background: linear-gradient(135deg, #FDF9F2, #FEF2DA); color: #F4420B; }
.nv-photo__img--doc svg { width: 72px; height: 72px; transition: transform .25s; }
.nv-photo:hover .nv-photo__img--doc svg { transform: scale(1.08); }

/* Visionneuse */
.nv-lightbox { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; background: transparent; border: 0; color: #fff; }
.nv-lightbox[open] { display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center; }
.nv-lightbox::backdrop { background: rgba(7, 26, 74, .92); }
.nv-lightbox figure { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0; pointer-events: none; }
.nv-lightbox figure img { max-width: 100%; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); pointer-events: auto; }
.nv-lightbox figcaption { display: flex; gap: 14px; align-items: baseline; font-size: 15px; font-weight: 500; pointer-events: auto; }
.nv-lightbox figcaption em { color: rgba(255, 255, 255, .7); font-size: 13px; font-style: normal; }
.nv.nv-lightbox button { display: grid; place-items: center; width: 48px; height: 48px; margin: auto; background: rgba(255, 255, 255, .12); border-radius: 50%; color: #fff; transition: background-color .2s; }
.nv.nv-lightbox button:hover { background: rgba(255, 255, 255, .28); }
.nv-lightbox button svg { width: 22px; height: 22px; }
.nv-lightbox__prev { grid-column: 1; grid-row: 1; }
.nv-lightbox__next { grid-column: 3; grid-row: 1; }
.nv.nv-lightbox .nv-lightbox__close { position: absolute; top: 16px; right: 16px; margin: 0; }
.nv-lightbox.is-single .nv-lightbox__nav { visibility: hidden; }

@media (max-width: 1180px) { .nv-gallery__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) { .nv-gallery__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .nv-gallery__grid { grid-template-columns: 1fr; }
  .nv-lightbox[open] { grid-template-columns: 52px minmax(0, 1fr) 52px; }
  .nv.nv-lightbox button { width: 40px; height: 40px; }
}
/* ---------- Pages de base (node--page) ---------- */
.nv-btn--sm { min-height: 42px !important; padding: 9px 18px 9px 22px; gap: 12px; }
.nv a.nv-btn--yellow { background: var(--nv-yellow-btn); border-radius: 999px; color: #12287A; font-weight: 700; }
.nv a.nv-btn--yellow:hover { background: #FFE450; }


/* Texte riche saisi dans le back-office */
.nv-prose { font-size: 15px; line-height: 1.85; overflow-wrap: break-word; }
.nv-prose > * + * { margin-top: 1em; }
.nv .nv-prose a { color: var(--nv-link); text-decoration: underline; text-underline-offset: 2px; }
.nv .nv-prose a:hover { color: var(--nv-blue); }
.nv .nv-prose ul, .nv .nv-prose ol { padding-left: 1.3em; }
.nv .nv-prose ul { list-style: disc; }
.nv-prose li + li { margin-top: .4em; }
.nv-prose li::marker { color: var(--nv-yellow); }
.nv-prose h2, .nv-prose h3, .nv-prose h4, .nv-prose h5 { color: var(--nv-navy); font-weight: 700; line-height: 1.35; }
.nv-prose h2 { font-size: 22px; } .nv-prose h3 { font-size: 19px; } .nv-prose h4, .nv-prose h5 { font-size: 17px; }
.nv-prose strong, .nv-prose b { color: var(--nv-navy); font-weight: 700; }
.nv-prose img { height: auto; border-radius: 14px; }
.nv-prose img[data-align="center"] { display: block; margin-inline: auto; }
.nv-prose img[data-align="right"] { float: right; margin: 0 0 14px 20px; }
.nv-prose img.w-50 { width: 50%; }
/* Dans les cartes (étroites), l'image du texte passe en pleine largeur au-dessus du texte,
   quelle que soit la taille saisie dans le back-office */
.nv-card .nv-prose img { display: block; float: none !important; width: 100% !important; max-height: 240px; margin: 0 0 16px !important; object-fit: cover; }
/* Frise chronologique saisie dans le texte : <ul class="timeline"> où alternent un <li> année (.tldate)
   et un <li> chiffres (.timeline-panel). Horizontale : les années sur l'axe, les chiffres dessous ;
   verticale sur mobile. */
.nv .nv-prose ul.timeline { display: grid; grid-auto-flow: column; grid-template-rows: auto 1fr; grid-auto-columns: minmax(168px, 1fr); column-gap: 16px; margin-top: 8px; padding: 0 4px 14px; list-style: none; overflow-x: auto; }
.nv-prose .timeline li { position: relative; margin: 0; }
.nv-prose .timeline li:nth-child(odd) { padding-bottom: 34px; text-align: center; }
.nv-prose .timeline li:nth-child(odd)::before { content: ''; position: absolute; left: 0; right: -16px; bottom: 15px; height: 2px; background: rgba(11, 27, 77, .2); }
.nv-prose .timeline li:first-child::before { left: 50%; }
.nv-prose .timeline li:nth-last-child(2)::before { right: 50%; }
.nv-prose .timeline li:nth-child(odd)::after { content: ''; position: absolute; left: 50%; bottom: 8px; box-sizing: border-box; width: 16px; height: 16px; margin-left: -8px; background: var(--nv-yellow); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px var(--nv-navy-deep); }
.nv-prose .timeline .tldate { display: inline-block; padding: 5px 18px; background: var(--nv-navy-deep); border-radius: 999px; color: #fff; font-size: 18px; font-weight: 900; line-height: 1.3; }
.nv-prose .timeline li:nth-child(even) { margin-top: 8px; background: #fff; border: 1px solid #EEF1F8; border-radius: 16px; box-shadow: 0 6px 20px rgba(11, 27, 77, .07); }
.nv-prose .timeline li:nth-child(even)::before { content: ''; position: absolute; top: -7px; left: 50%; box-sizing: border-box; width: 12px; height: 12px; margin-left: -6px; background: #fff; border: solid #EEF1F8; border-width: 1px 0 0 1px; transform: rotate(45deg); }
.nv-prose .timeline .tl-circ { display: none; }
.nv-prose .timeline .timeline-panel { padding: 14px 18px 16px; text-align: left !important; }
.nv-prose .timeline p, .nv-prose .timeline h6 { margin: 0; color: #5A6794; font-size: 13px; font-weight: 500; line-height: 1.5; }
.nv-prose .timeline p + p, .nv-prose .timeline h6 + h6 { margin-top: 10px !important; }
.nv-prose .timeline strong, .nv-prose .timeline h6 span { display: block; color: var(--nv-link) !important; font-size: 20px; font-weight: 900; line-height: 1.3; }
@media (max-width: 767px) {
  .nv .nv-prose ul.timeline { position: relative; display: block; padding: 0 0 0 28px; overflow: visible; }
  .nv .nv-prose ul.timeline::before { content: ''; position: absolute; top: 10px; bottom: 10px; left: 7px; width: 2px; background: rgba(11, 27, 77, .2); }
  .nv-prose .timeline li:nth-child(odd) { margin: 20px 0 10px; padding-bottom: 0; text-align: left; }
  .nv-prose .timeline li:first-child { margin-top: 0; }
  .nv-prose .timeline li:nth-child(odd)::before, .nv-prose .timeline li:nth-child(even)::before { content: none; }
  .nv-prose .timeline li:nth-child(odd)::after { top: 50%; bottom: auto; left: -28px; margin: -8px 0 0; }
  .nv-prose .timeline li:nth-child(even) { margin-top: 0; }
}
.nv-prose iframe { max-width: 100%; border: 0; border-radius: 14px; }
.nv-prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.nv-prose th, .nv-prose td { padding: 10px 12px; border: 1px solid #DCE4F5; text-align: left; vertical-align: top; }
.nv-prose th { background: #F3F7FE; color: var(--nv-navy); }
/* Boutons saisis dans le texte (anciennes classes Bootstrap) */
.nv .nv-prose a.btn { display: inline-flex; align-items: center; margin: 4px 6px 4px 0; padding: 9px 20px; background: #0B5A66; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 500; line-height: 1.4; text-decoration: none; transition: background-color .2s; }
.nv .nv-prose a.btn:hover { background: #084650; color: #fff; }

.nv-page-intro .nv-container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 40px; align-items: start; }
.nv-page-intro--text-only .nv-container, .nv-page-intro--toc-only .nv-container { grid-template-columns: minmax(0, 1fr); }
.nv-page-intro__text { font-size: 16px; }
.nv-page-intro--text-only .nv-page-intro__text { max-width: 900px; }
.nv-toc { padding: 24px 26px 22px; background: linear-gradient(135deg, #FDF9F2, #FEF2DA); border: 1px solid rgba(255, 255, 255, .9); border-radius: 22px; box-shadow: 0 10px 28px rgba(254, 183, 7, .12); }
.nv-toc h2 { color: var(--nv-navy); font-size: 20px; font-weight: 900; }
.nv-toc ol { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: toc; }
.nv-toc li { counter-increment: toc; }
.nv-toc li + li { border-top: 1px solid rgba(11, 27, 77, .08); }
.nv .nv-toc a { display: flex; gap: 12px; padding: 10px 0; color: #12287A; font-size: 15px; font-weight: 500; line-height: 1.4; }
.nv-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; color: #C98A00; font-size: 12px; font-weight: 700; line-height: 1.75; }
.nv .nv-toc a:hover { color: var(--nv-link); }
.nv-page-intro--toc-only .nv-toc ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 32px; }
.nv-page-intro--toc-only .nv-toc li + li { border-top: 0; }

.nv-page-body { margin: 0 0 72px; }
.nv-page-body > .nv-container > * { margin-top: 30px; }
.nv-page-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-top: 60px !important; scroll-margin-top: 20px; }
.nv-page-heading .nv-title { font-size: 28px; }

.nv-info-block { padding: 28px 30px; background: #fff; border: 1px solid #EEF1F8; border-radius: 22px; box-shadow: var(--nv-shadow); }
.nv-info-block--media { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 34px; align-items: start; }
.nv-info-block__img img { width: 100%; border-radius: 16px; }
.nv-info-block h3, .nv-card h3 { color: var(--nv-navy); font-size: 21px; font-weight: 900; line-height: 1.3; }
.nv-info-block h3::after { content: ''; display: block; width: 36px; height: 4px; margin: 12px 0 16px; background: var(--nv-yellow); }

.nv-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.nv-card { display: flex; flex-direction: column; align-items: flex-start; padding: 26px 28px; border-radius: 22px; }
.nv-card h3 { margin-bottom: 12px; }
.nv-card .nv-prose { width: 100%; }
.nv-card .nv-btn { margin-top: auto; }
.nv-card .nv-prose + .nv-btn { margin-top: 20px; }
.nv-card--soft { background: linear-gradient(135deg, #FDF9F2, #FEF2DA); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 10px 28px rgba(254, 183, 7, .12); }
/* Carte « document » : bloc "plus_infos" qui propose un fichier à télécharger (node--page.html.twig).
   En-tête bleu marine (pictogramme + titre), texte sur fond blanc, boutons en pilule en pied de carte. */
.nv-card--doc { align-items: stretch; padding: 0; background: #fff; border: 1px solid #E8EDF8; box-shadow: var(--nv-shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.nv-card--doc:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11, 27, 77, .16); }
.nv-card__head { display: flex; align-items: center; gap: 14px; padding: 18px 24px; background: linear-gradient(120deg, #071A4A, #0A2472); border-bottom: 4px solid var(--nv-yellow); }
.nv-card__icon { display: grid; flex: none; place-items: center; width: 44px; height: 44px; background: var(--nv-yellow); border-radius: 50%; color: var(--nv-navy-deep); }
.nv-card__icon svg { width: 22px; height: 22px; }
.nv .nv-card--doc h3 { margin: 0; color: #fff; font-size: 19px; line-height: 1.35; }
.nv-card__main { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px 24px 24px; }
.nv-card--doc .nv-prose { display: flex; flex: 1; flex-direction: column; font-size: 15px; line-height: 1.7; }
.nv-card--doc .nv-prose:empty { display: none; }
/* Les boutons de téléchargement saisis dans le texte : en pied de carte */
.nv-card--doc .nv-prose p:has(> a.btn) { display: flex; flex-wrap: wrap; gap: 10px; margin: auto 0 0; padding-top: 18px; font-size: 0; }
.nv .nv-card--doc .nv-prose a.btn, .nv .nv-card__dl { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 22px; background: none; border: 2px solid #12287A; border-radius: 999px; color: #12287A; font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.nv .nv-card--doc .nv-prose a.btn:hover, .nv .nv-card--doc .nv-prose a.btn:first-of-type:hover { background: var(--nv-navy-deep); border-color: var(--nv-navy-deep); color: #fff; }
/* Premier bouton : jaune plein, comme les boutons principaux du site */
.nv .nv-card--doc .nv-prose a.btn:first-of-type, .nv .nv-card__dl { background: var(--nv-yellow-btn); border-color: var(--nv-yellow-btn); }
.nv .nv-card__dl:hover { background: #FFE450; border-color: #FFE450; color: #12287A; }
.nv .nv-card--doc .nv-prose a.btn::before, .nv-card__dl::before { content: ''; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 11l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 11l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat; }
.nv .nv-card__dl { margin-top: auto; }
.nv .nv-prose + .nv-card__dl { margin-top: 18px; }
.nv .nv-prose:empty + .nv-card__dl { margin-top: auto; }

/* Ligne de document : bloc "plus_infos" réduit à un titre et un fichier (node--page.html.twig) */
.nv .nv-file { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid #E8EDF8; border-radius: 16px; box-shadow: 0 6px 20px rgba(11, 27, 77, .07); color: var(--nv-navy); font-size: 15px; font-weight: 700; line-height: 1.4; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.nv .nv-file:hover { transform: translateY(-2px); border-color: var(--nv-yellow); box-shadow: 0 14px 30px rgba(11, 27, 77, .13); color: var(--nv-navy); }
.nv-file .nv-card__icon { background: #EEF3FF; border-radius: 12px; color: var(--nv-link); }
.nv-file__title { flex: 1; min-width: 0; }
.nv-file__dl { display: grid; flex: none; place-items: center; width: 38px; height: 38px; background: var(--nv-yellow-btn); border-radius: 50%; color: #12287A; transition: background-color .2s, color .2s; }
.nv-file__dl svg { width: 18px; height: 18px; }
.nv-file:hover .nv-file__dl { background: var(--nv-navy-deep); color: #fff; }

.nv-card--dark { background: var(--nv-navy-deep); box-shadow: var(--nv-shadow); color: rgba(255, 255, 255, .88); }
.nv-card--dark h3 { color: #fff; }
.nv-card--dark h3::after { content: ''; display: block; width: 36px; height: 4px; margin-top: 12px; background: var(--nv-yellow); }
.nv-card--dark .nv-prose strong, .nv-card--dark .nv-prose b, .nv-card--dark .nv-prose h2, .nv-card--dark .nv-prose h3, .nv-card--dark .nv-prose h4 { color: #fff; }
.nv .nv-card--dark .nv-prose a:not(.btn) { color: var(--nv-yellow-btn); }
.nv .nv-card--dark .nv-prose a.btn { background: var(--nv-yellow-btn); color: #12287A; font-weight: 700; }
.nv .nv-card--dark .nv-prose a.btn:hover { background: #FFE450; color: #12287A; }

.nv-page-media__title { color: var(--nv-navy); font-size: 19px; font-weight: 700; }
.nv-page-media .nv-gallery__grid { margin-top: 16px !important; }
.nv-photo__img--wide { aspect-ratio: 16 / 9; }
.nv-page-podcasts ol { max-width: 760px; margin: 16px 0 0; padding: 0; list-style: none; }
.nv-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nv-articles .nv-prog > img { height: 190px; }

.nv-themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px !important; }
.nv-theme { display: block; padding: 28px 24px; background: linear-gradient(135deg, #EEF7FE, #E0F0FE); border: 1px solid rgba(255, 255, 255, .9); border-radius: 22px; box-shadow: 0 10px 28px rgba(44, 135, 254, .12); text-align: center; transition: transform .25s, box-shadow .25s; }
.nv-theme:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(44, 135, 254, .22); }
.nv-theme__icon { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 16px; background: #fff; border-radius: 50%; box-shadow: 0 8px 20px rgba(11, 27, 77, .1); }
.nv-theme__icon img { max-width: 56px; max-height: 56px; }
.nv-theme h3 { color: var(--nv-navy); font: 700 19px/1.3 var(--nv-font-display); }
.nv-theme .nv-prose { margin-top: 8px; font-size: 14px; line-height: 1.6; }

.nv-faq { max-width: 860px; margin-top: 40px !important; }
.nv-faq details { background: #fff; border: 1px solid #EEF1F8; border-radius: 16px; box-shadow: 0 6px 20px rgba(11, 27, 77, .07); }
.nv-faq details + details { margin-top: 12px; }
.nv-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; color: var(--nv-navy); font-size: 16px; font-weight: 700; cursor: pointer; list-style: none; }
.nv-faq summary::-webkit-details-marker { display: none; }
.nv-faq summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2.4px solid var(--nv-link); border-bottom: 2.4px solid var(--nv-link); transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.nv-faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.nv-faq .nv-prose { padding: 0 22px 20px; }

@media (max-width: 991px) {
  .nv-page-intro .nv-container, .nv-info-block--media { grid-template-columns: minmax(0, 1fr); }
  .nv-articles, .nv-themes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .nv-articles, .nv-themes, .nv-cards { grid-template-columns: 1fr; }
  .nv-info-block { padding: 22px 20px; }
}
/* ---------- Articles : annonces, conventions, actualités ---------- */
.nv-article__date { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: #5A6794; font-size: 13px; font-weight: 500; }
.nv-article__date svg { width: 15px; height: 15px; }
.nv-article-section { margin-top: 36px; margin-bottom: 72px; }
.nv-article { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 44px; align-items: start; }
.nv-article--single { grid-template-columns: minmax(0, 860px); }
.nv-article__text { font-size: 16px; }
.nv-article__aside { position: sticky; top: 20px; }
.nv-article__aside img { width: 100%; border-radius: 22px; box-shadow: var(--nv-shadow); }
.nv-share { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: #5A6794; font-size: 13px; font-weight: 500; }
.nv .nv-share a { display: grid; place-items: center; width: 38px; height: 38px; background: #EEF4FF; border-radius: 50%; color: #12287A; transition: background-color .2s, color .2s; }
.nv .nv-share a:hover { background: var(--nv-link); color: #fff; }
.nv-share svg { height: 15px; width: auto; }
.nv-related { margin-top: 64px; }
.nv-related .nv-articles { margin-top: 30px; }
.nv-prog__date { display: block; color: #5A6794; font-size: 12px; font-weight: 500; }
@media (max-width: 991px) {
  .nv-article { grid-template-columns: minmax(0, 1fr); }
  .nv-article__aside { position: static; order: -1; }
}
/* ---------- Page d'une action en région ---------- */
.nv-action-page { margin-top: 36px; margin-bottom: 72px; }
.nv-action-page__grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 36px; align-items: start; }
.nv-action-facts { position: sticky; top: 20px; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 26px 26px; background: #fff; border: 1px solid #EEF1F8; border-radius: 22px; box-shadow: var(--nv-shadow); }
.nv-action-facts ul { width: 100%; margin-bottom: 22px; }
.nv-action-facts li { display: flex; gap: 14px; padding: 13px 0; }
.nv-action-facts li + li { border-top: 1px solid #EEF1F8; }
.nv-action-facts li > svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--nv-yellow); }
.nv-action-facts strong { display: block; color: #5A6794; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.nv-action-facts li span, .nv-action-facts li a { color: var(--nv-navy); font-size: 15px; font-weight: 500; line-height: 1.5; }
.nv .nv-action-facts li a { color: var(--nv-link); }
.nv .nv-action-facts li a:hover { text-decoration: underline; }
.nv-action-facts .nv-btn { align-self: stretch; }
.nv-action-facts .nv-emission__back { margin-top: 18px; }
.nv-action-page__main > * + * { margin-top: 28px; }
.nv-action-page__main > .nv-prose { font-size: 16px; }
.nv-doc-preview h2 { color: var(--nv-navy); font-size: 20px; font-weight: 900; }
.nv-doc-preview object { display: block; width: 100%; height: 760px; margin-top: 14px; background: #F3F7FE; border: 1px solid #EEF1F8; border-radius: 18px; box-shadow: var(--nv-shadow); }
.nv-doc-preview object p { padding: 24px; }
@media (max-width: 991px) {
  .nv-action-page__grid { grid-template-columns: minmax(0, 1fr); }
  .nv-action-facts { position: static; }
  /* Les navigateurs mobiles n'affichent pas les PDF intégrés : le bouton de téléchargement suffit */
  .nv-doc-preview { display: none; }
}
/* ---------- Pages génériques : formulaires, recherche, compte, messages ---------- */
.nv a.nv-btn--ghost { border: 1px solid #DCE4F5; border-radius: 999px; color: #12287A; }
.nv a.nv-btn--ghost:hover { border-color: var(--nv-link); color: var(--nv-link); }
.nv-generic-section { margin-top: 36px; margin-bottom: 72px; }
.nv-generic form { max-width: 640px; }
.nv-generic .form-item, .nv-generic .form-actions, .nv-generic .form-wrapper { margin-top: 18px; }
.nv-generic label { display: block; margin-bottom: 6px; color: var(--nv-navy); font-size: 14px; font-weight: 500; }
.nv-generic label.option { display: inline; margin-left: 6px; }
.nv-generic .form-required::after { content: ' *'; color: #D93025; }
.nv-generic input[type="text"], .nv-generic input[type="search"], .nv-generic input[type="password"], .nv-generic input[type="email"], .nv-generic input[type="tel"], .nv-generic input[type="number"], .nv-generic input[type="url"], .nv-generic select, .nv-generic textarea {
  width: 100%; max-width: 100%; min-height: 46px; padding: 9px 16px; background: #fff; border: 1px solid #DCE4F5; border-radius: 12px; color: var(--nv-navy); font: 400 15px var(--nv-font);
}
.nv-generic textarea { min-height: 140px; }
.nv-generic input:focus, .nv-generic select:focus, .nv-generic textarea:focus { border-color: var(--nv-link); box-shadow: 0 0 0 3px rgba(31, 76, 255, .18); outline: 0; }
.nv-generic .description { margin-top: 6px; color: #5A6794; font-size: 13px; line-height: 1.5; }
.nv .nv-generic input[type="submit"], .nv .nv-generic .button { min-height: 44px; padding: 10px 26px; background: #0B5A66; border: 0; border-radius: 999px; color: #fff; font: 500 14px var(--nv-font); cursor: pointer; transition: background-color .2s; }
.nv .nv-generic input[type="submit"]:hover, .nv .nv-generic .button:hover { background: #084650; }
.nv-generic .container-inline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.nv-generic .container-inline .form-item { flex: 1; min-width: 220px; margin-top: 0; }
/* Onglets (se connecter / créer un compte...) et messages Drupal */
.nv .nv-generic #block-narsa-local-tasks ul, .nv .nv-generic ul.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.nv .nv-generic #block-narsa-local-tasks a, .nv .nv-generic ul.tabs a { display: block; padding: 8px 18px; background: #fff; border: 1px solid #DCE4F5; border-radius: 999px; color: #12287A; font-size: 14px; font-weight: 500; text-decoration: none; }
.nv .nv-generic #block-narsa-local-tasks a.is-active, .nv .nv-generic ul.tabs a.is-active { background: var(--nv-blue); border-color: var(--nv-blue); color: #fff; }
.nv-generic [data-drupal-messages] > div, .nv-generic .messages { margin-bottom: 20px; padding: 14px 18px; background: #EEF4FF; border-left: 4px solid var(--nv-link); border-radius: 12px; color: var(--nv-navy); }
.nv-generic .messages--error, .nv-generic [role="alert"] { background: #FDECE7; border-left-color: #D93025; }
.nv-generic .messages--warning { background: #FEF2DA; border-left-color: var(--nv-yellow); }
/* Recherche */
.nv .nv-generic .search-help-link { display: inline-block; margin-top: 10px; font-size: 13px; }
.nv .nv-generic ol.search-results, .nv .nv-generic ol.node_search-results { margin: 18px 0 0; padding: 0; list-style: none; }
.nv-generic ol.search-results > li, .nv-generic ol.node_search-results > li { margin: 0; }
.nv-result { margin-top: 14px; padding: 18px 22px; background: #fff; border: 1px solid #EEF1F8; border-radius: 16px; box-shadow: 0 6px 20px rgba(11, 27, 77, .07); }
.nv .nv-result h3 a { color: var(--nv-navy); font-size: 18px; text-decoration: none; }
.nv .nv-result h3 a:hover { color: var(--nv-link); }
.nv-result p { margin-top: 8px; font-size: 14px; line-height: 1.7; }
.nv-result strong { background: #FEF2DA; color: var(--nv-navy); }
/* Pagination (templates/navigation/pager.html.twig) */
.nv-pager { margin-top: 36px; }
.nv .nv-pager ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nv-pager li { margin: 0 !important; }
.nv .nv-pager a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 14px; background: #fff; border: 1px solid #DCE4F5; border-radius: 999px; color: #12287A; font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.nv .nv-pager a:hover { border-color: var(--nv-link); color: var(--nv-link); }
.nv .nv-pager a.is-current { background: var(--nv-link); border-color: var(--nv-link); color: #fff; }
.nv-pager__gap { color: #5A6794; }
/* Résultats de recherche : pas de numérotation devant les cartes */
.nv .nv-prose ol:has(> li > .nv-result) { margin: 18px 0 0; padding: 0; list-style: none; }
.nv-prose ol:has(> li > .nv-result) > li { margin: 0; }

/* Pagination */.nv .nv-generic .pager__items, .nv .pager__items { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 32px 0 0; padding: 0; list-style: none; }
.nv .pager__items a { display: block; min-width: 40px; padding: 8px 12px; border: 1px solid #DCE4F5; border-radius: 999px; color: #12287A; font-size: 14px; text-align: center; text-decoration: none; }
.nv .pager__items .is-active a, .nv .pager__items a:hover { background: var(--nv-link); border-color: var(--nv-link); color: #fff; }
/* Listes de contenus résumés (page d'un terme, /node) */
.nv-generic .views-row, .nv-generic > div > .nv-teaser { margin-top: 18px; }
.nv .nv-prose a.nv-teaser { color: inherit; text-decoration: none; max-width: 420px; }
.nv-teaser h3 { margin-top: 0; }
.nv-generic .field__label { color: var(--nv-navy); font-weight: 700; }
.nv-generic .field + .field { margin-top: 14px; }
.nv-generic .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Pages d'erreur */
.nv-error { margin: 72px 0 96px; text-align: center; }
.nv-error__code { color: #E0EAFB; font-size: 140px; font-weight: 900; line-height: 1; }
.nv-error .nv-title { margin-top: -18px; }
.nv-error .nv-title::after { margin-inline: auto; }
.nv-error p:not(.nv-error__code) { margin-top: 18px; font-size: 16px; }
.nv-error__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.nv a.nv-backoffice { position: fixed; left: 12px; bottom: 12px; z-index: 60; padding: 6px 12px; background: var(--nv-navy); border-radius: 999px; color: #fff; font-size: 12px; }

/* ---------- Vitrine d'une catégorie de programmes (node--vitrine-programmes) ---------- */
.nv-vit { --vit-yellow: #FFC61A; --vit-cat: #2F6DF6; margin-bottom: 32px; }
.nv-vit-section { margin-top: 28px; }
.nv-vit-section--wide { margin-top: 44px; }
.nv-vit svg:not(.nv-arrow) { fill: currentColor; }

.nv a.nv-vit-btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 12px 24px; background: var(--vit-yellow); border: 1px solid var(--vit-yellow); border-radius: 10px; color: var(--nv-navy); font-size: 14px; font-weight: 700; transition: background-color .2s, border-color .2s, color .2s; }
.nv a.nv-vit-btn:hover { background: #FFD654; border-color: #FFD654; }
.nv-vit-btn .nv-arrow { width: 18px; height: 18px; transition: transform .2s; }
.nv-vit-btn:hover .nv-arrow, .nv-vit-more:hover .nv-arrow { transform: translateX(4px); }
.nv a.nv-vit-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .8); color: #fff; }
.nv a.nv-vit-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.nv a.nv-vit-btn--line { min-height: 38px; padding: 7px 14px; gap: 10px; background: #fff; border-color: var(--nv-link); border-radius: 8px; color: var(--nv-link); font-size: 13px; font-weight: 500; }
.nv a.nv-vit-btn--line:hover { background: var(--nv-link); border-color: var(--nv-link); color: #fff; }
.nv a.nv-vit-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--nv-link); font-size: 13px; font-weight: 700; }
.nv-vit-more .nv-arrow { width: 16px; height: 16px; transition: transform .2s; }
.nv-vit-heading { color: var(--nv-blue); font-size: 28px; font-weight: 900; line-height: 1.2; text-align: center; }
.nv-vit-heading--sm { font-size: 23px; }
/* Pastille ronde d'un pictogramme : bleue, jaune, bleue... */
.nv-vit-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; background: #2B49D0; border-radius: 50%; color: #fff; }
.nv-vit-icon svg { width: 22px; height: 22px; }
:nth-child(even) > .nv-vit-icon { background: var(--vit-yellow); }

/* Bandeau */
.nv-vit-hero { position: relative; isolation: isolate; padding: 64px 0 60px; background: var(--nv-blue) center / cover no-repeat; color: #fff; }
.nv-vit-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 30, 130, .97) 0%, rgba(10, 30, 130, .88) 45%, rgba(10, 36, 114, .5) 100%); }
.nv-vit-hero .nv-container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 48px; align-items: center; }
.nv-vit-badge { display: inline-block; padding: 8px 15px; background: var(--vit-cat); border-radius: 999px; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.nv-vit-hero h1 { max-width: 640px; margin-top: 18px; font-size: 46px; font-weight: 900; line-height: 1.15; }
.nv-vit-hero h1 em { color: var(--vit-yellow); font-style: normal; }
.nv-vit-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.nv-vit-hero__stats { display: grid; gap: 16px; }
.nv-vit-stat { display: flex; align-items: center; gap: 22px; min-height: 96px; padding: 14px 26px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(7, 26, 74, .2); color: var(--nv-navy); }
.nv-vit-stat svg { flex: none; width: 36px; height: 36px; color: #2F6DF6; }
.nv-vit-stat p, .nv-vit-figures p { font-size: 13px; font-weight: 500; line-height: 1.5; }
.nv-vit-stat strong, .nv-vit-figures strong { display: block; font-size: 20px; font-weight: 900; line-height: 1.4; }

/* Messages clés */
.nv-vit-band { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 20px 0; background: var(--nv-blue); border-radius: 14px; box-shadow: var(--nv-shadow); color: #fff; }
.nv-vit-band li { display: flex; align-items: center; gap: 22px; padding: 4px 36px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.nv-vit-band li + li { border-left: 1px solid rgba(255, 255, 255, .22); }
.nv-vit-band li:first-child:last-child { justify-content: center; }
.nv-vit-band svg { flex: none; width: 40px; height: 40px; color: var(--vit-yellow); }
.nv-vit-band li:nth-child(even) svg { color: #8FB0FF; }
.nv-vit-band strong { color: var(--vit-yellow); font-weight: 700; }
.nv-vit-band div > strong { display: block; }

/* Présentation */
.nv-vit-about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: center; }
.nv-vit-about--text { grid-template-columns: minmax(0, 860px); }
.nv-vit-about--reverse > img { order: 2; }
.nv-vit-about > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; box-shadow: var(--nv-shadow); }
.nv-vit-about h2 { max-width: 460px; color: var(--nv-blue); font-size: 36px; font-weight: 900; line-height: 1.12; }
.nv-vit-about .nv-prose { margin-top: 18px; }

/* Cartes d'information */
.nv-vit-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 32px; }
.nv-vit-card { display: flex; align-items: flex-start; gap: 20px; padding: 24px 24px 26px; background: #fff; border: 1px solid #EEF1F8; border-radius: 14px; box-shadow: 0 6px 20px rgba(11, 27, 77, .09); }
.nv-vit-card h3, .nv-vit-target h3 { color: var(--nv-navy); font-size: 19px; font-weight: 700; line-height: 1.35; }
.nv-vit-card p, .nv-vit-target p { margin-top: 8px; color: #5A6794; font-size: 14px; line-height: 1.65; }
.nv-vit-card .nv-vit-icon { width: 60px; height: 60px; }
.nv-vit-card .nv-vit-icon svg { width: 24px; height: 24px; }

/* Programmes de la catégorie */
.nv-vit-programmes { margin-top: 44px; padding: 30px 0 28px; background: var(--nv-blue); color: #fff; }
.nv-vit-programmes h2 { font-size: 30px; font-weight: 900; line-height: 1.2; text-align: center; }
.nv-vit-programmes__intro { margin-top: 8px; font-size: 15px; text-align: center; }
.nv-vit-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 26px; }
.nv-vit-figures li { display: grid; justify-content: center; align-content: center; min-height: 132px; padding: 16px 22px; background: #fff; border-radius: 10px; color: var(--nv-navy); }
.nv-vit-figures p { max-width: 180px; }
.nv-vit-figures strong { font-size: 30px; line-height: 1.3; }
.nv-vit-programmes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.nv-vit-programmes__all { margin-top: 30px; text-align: center; }
.nv-vit-prog { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(11, 27, 77, .10); color: var(--nv-text); overflow: hidden; }
.nv-vit-prog > a { overflow: hidden; }
.nv-vit-prog img { width: 100%; height: 176px; object-fit: cover; transition: transform .4s; }
.nv-vit-prog:hover img { transform: scale(1.05); }
.nv-vit-prog__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 26px 20px 24px; }
.nv-vit-prog .nv-tag { margin: -10px 0 12px; }
.nv-vit-prog h3 { color: var(--nv-navy); font-size: 18px; font-weight: 700; line-height: 1.35; }
.nv-vit-prog h3 a:hover { color: var(--nv-link); }
.nv-vit-prog p { margin: 12px 0 18px; color: #5A6794; font-size: 13.5px; line-height: 1.75; }
.nv-vit-prog .nv-vit-btn { margin-top: auto; }
.nv-gallery--programmes .nv-vit-prog { border: 1px solid #EEF1F8; }

/* Nos cibles, nos partenaires */
.nv-vit-targets { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 26px; }
.nv-vit-target { display: flex; align-items: center; gap: 16px; padding: 26px 20px; background: #F4F6FB; border: 1px solid #E9EDF6; border-radius: 14px; }
/* Carrousel : --per-view logos visibles, défilement horizontal aimanté ; la marge négative laisse la place aux ombres */
.nv-vit-carousel { position: relative; margin-top: 18px; }
.nv-vit-partners { --per-view: 5; display: flex; gap: 10px; margin: -14px -8px; padding: 14px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 8px; scrollbar-width: none; }
.nv-vit-partners::-webkit-scrollbar { display: none; }
.nv-vit-partners:not(.is-scrollable) { justify-content: center; }
.nv-vit-partners li { flex: 0 0 calc((100% - (var(--per-view) - 1) * 10px) / var(--per-view)); display: grid; place-items: center; height: 72px; padding: 10px 16px; background: #fff; border: 1px solid #EEF1F8; border-radius: 10px; box-shadow: 0 4px 14px rgba(11, 27, 77, .06); scroll-snap-align: start; }
.nv-vit-partners a { display: grid; place-items: center; width: 100%; height: 100%; }
.nv-vit-partners img { width: auto; max-width: 100%; max-height: 50px; object-fit: contain; }
.nv-vit-carousel__nav { position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -18px; background: #fff; border: 1px solid #E9EDF6; border-radius: 50%; box-shadow: 0 4px 14px rgba(11, 27, 77, .14); color: var(--nv-navy); cursor: pointer; transition: background .2s, color .2s; }
.nv-vit-carousel__nav[hidden] { display: none; }
.nv-vit-carousel__nav:hover { background: var(--nv-blue); color: #fff; }
.nv-vit-carousel__nav svg { width: 18px; height: 18px; }
.nv-vit-carousel__prev { left: -18px; }
.nv-vit-carousel__next { right: -18px; }

/* Appel à l'action */
.nv-vit-cta { display: grid; grid-template-columns: 34% minmax(0, 1fr) auto; gap: 32px; align-items: center; min-height: 180px; padding-right: 28px; background: var(--nv-blue); border-radius: 14px; box-shadow: var(--nv-shadow); color: #fff; overflow: hidden; }
.nv-vit-cta--text { grid-template-columns: minmax(0, 1fr) auto; padding-left: 36px; }
.nv-vit-cta__img { position: relative; align-self: stretch; min-height: 180px; background: center / cover no-repeat; }
.nv-vit-cta__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 36, 114, 0) 45%, var(--nv-blue) 100%); }
.nv-vit-cta__text { padding: 24px 0; }
.nv-vit-cta h2 { font-size: 25px; font-weight: 900; line-height: 1.3; }
.nv-vit-cta__text p { margin-top: 12px; font-size: 15px; line-height: 1.7; }
.nv-vit-cta__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 0; font-size: 14px; font-weight: 500; }
.nv-vit-cta__contact .nv-vit-btn { margin-bottom: 8px; }
.nv-vit-cta__contact a:not(.nv-vit-btn) { display: inline-flex; align-items: center; gap: 12px; }
.nv-vit-cta__contact a:not(.nv-vit-btn):hover { text-decoration: underline; }
.nv-vit-cta__contact svg:not(.nv-arrow) { width: 15px; height: 15px; color: var(--vit-yellow); }

@media (max-width: 991px) {
  .nv-vit-hero { padding: 44px 0; }
  .nv-vit-hero .nv-container { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .nv-vit-hero h1 { font-size: 36px; }
  .nv-vit-hero__stats { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .nv-vit-about { grid-template-columns: minmax(0, 1fr); }
  .nv-vit-about--reverse > img { order: 0; }
  .nv-vit-partners { --per-view: 3; }
  .nv-vit-programmes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nv-vit-cta { grid-template-columns: 34% minmax(0, 1fr); }
  .nv-vit-cta--text { grid-template-columns: minmax(0, 1fr); padding-right: 36px; }
  .nv-vit-cta__contact { grid-column: 2; padding-top: 0; }
  .nv-vit-cta--text .nv-vit-cta__contact { grid-column: 1; }
  .nv-vit-cta__text { padding-bottom: 0; }
}
@media (max-width: 767px) {
  .nv-vit-band { grid-auto-flow: row; padding: 8px 0; }
  .nv-vit-band li { padding: 14px 22px; font-size: 16px; }
  .nv-vit-band li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
  .nv-vit-about h2 { font-size: 28px; }
  .nv-vit-cta, .nv-vit-cta--text { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 0 8px; }
  .nv-vit-cta__text, .nv-vit-cta__contact { grid-column: 1; padding: 20px 22px 0; }
  .nv-vit-cta__contact { padding-bottom: 16px; }
}
@media (max-width: 560px) {
  .nv-vit-hero h1 { font-size: 30px; }
  .nv-vit-partners { --per-view: 2; }
  .nv-vit-programmes__grid, .nv-vit-cards { grid-template-columns: minmax(0, 1fr); }
  .nv-vit-card { padding: 20px 18px; gap: 14px; }
}

/* ---------- Page d'un programme (node--programme) ---------- */
.nv-pg { --vit-yellow: #FFC61A; --pg-blue: #0B47B8; margin-bottom: 56px; }
.nv-pg svg:not([class]) { fill: currentColor; }
.nv-pg-section { margin-top: 40px; }
.nv-pg-title { color: var(--nv-blue); font-size: 21px; font-weight: 700; line-height: 1.3; }
.nv-pg-title::after { content: ''; display: block; width: 48px; height: 2px; margin-top: 12px; background: var(--nv-yellow); }
.nv-pg-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 24px; }
.nv a.nv-pg-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--pg-blue); font-size: 13px; font-weight: 500; }
.nv-pg-more .nv-arrow { width: 16px; height: 16px; transition: transform .2s; }
.nv-pg-more:hover .nv-arrow { transform: translateX(4px); }

/* Bandeau : image à droite, fondue dans le bleu à gauche ; vague blanche en bas */
.nv-pg-hero { position: relative; isolation: isolate; padding: 44px 0 96px; background: var(--pg-blue) right center / cover no-repeat; color: #fff; overflow: hidden; }
.nv-pg-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0A2F8F 0%, rgba(11, 71, 184, .96) 28%, rgba(11, 71, 184, .7) 46%, rgba(11, 71, 184, 0) 66%); }
.nv-pg-hero--slogan::before { background: linear-gradient(90deg, #0A2F8F 0%, rgba(11, 71, 184, .96) 28%, rgba(11, 71, 184, .7) 46%, rgba(11, 71, 184, 0) 66%, rgba(255, 255, 255, 0) 74%, rgba(255, 255, 255, .82) 100%); }
.nv-pg-hero .nv-container { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 32px; }
.nv-pg-hero .nv-breadcrumb { margin-bottom: 10px; color: rgba(255, 255, 255, .8); font-size: 12px; }
.nv .nv-pg-hero .nv-breadcrumb a { color: rgba(255, 255, 255, .8); font-weight: 400; }
.nv .nv-pg-hero .nv-breadcrumb a:hover { color: #fff; }
.nv-pg-hero .nv-breadcrumb > span:last-child { color: #fff; font-weight: 500; }
.nv-pg-hero h1 { font-size: 34px; font-weight: 700; line-height: 1.18; }
.nv-pg-hero h1 em { color: var(--vit-yellow); font-style: normal; }
.nv-pg-hero__intro { max-width: 470px; margin-top: 20px; font-size: 15.5px; line-height: 1.6; }
.nv-pg-hero__facts { display: flex; flex-wrap: wrap; gap: 18px 44px; margin-top: 34px; }
.nv-pg-hero__facts li { display: flex; align-items: center; gap: 10px; }
.nv-pg-hero__facts svg { flex: none; width: 26px; height: 26px; }
.nv-pg-hero__facts p { font-size: 11.5px; line-height: 1.4; }
.nv-pg-hero__facts strong { display: block; font-size: 13.5px; font-weight: 700; }
.nv-pg-hero__slogan { justify-self: end; align-self: start; max-width: 230px; margin-top: 6px; padding-bottom: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 18'%3E%3Cpath d='M3 15C55 6 110 3 177 4' fill='none' stroke='%23FFC61A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center bottom / 170px 18px no-repeat; color: var(--nv-blue); font: 700 30px/1.15 'Caveat', cursive; text-align: center; transform: rotate(-9deg); }
.nv-pg-hero__wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; fill: #fff; }

/* Navigation entre les programmes de la catégorie */
.nv-pg-nav { margin-top: 18px; }
.nv-pg-nav .nv-container { display: flex; align-items: center; gap: 6px; }
.nv-pg-nav ul { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nv-pg-nav ul::-webkit-scrollbar { display: none; }
.nv .nv-pg-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; color: var(--nv-blue); font-size: 13px; font-weight: 500; white-space: nowrap; transition: background-color .2s; }
.nv .nv-pg-nav a:hover, .nv .nv-pg-nav a.is-active { background: #E3EDFC; }
.nv a.nv-pg-nav__all { flex: none; padding-left: 0; }
.nv a.nv-pg-nav__all:hover { background: none; color: var(--nv-link); }
.nv-pg-nav__all svg { width: 14px; height: 14px; }
.nv-pg-nav + .nv-pg-section { margin-top: 34px; }

/* Présentation : texte, image, citation */
.nv-pg-about { display: flex; align-items: flex-start; gap: 34px; }
.nv-pg-about__text { flex: 1; min-width: 0; }
.nv-pg-about .nv-prose { margin-top: 20px; color: var(--nv-blue); line-height: 1.6; }
.nv-pg-about > img { flex: none; width: 306px; aspect-ratio: 306 / 156; object-fit: cover; border-radius: 16px; }
.nv-pg-quote { flex: none; width: 218px; margin: 0; padding: 16px 16px 14px; background: #DCE9FD; border-radius: 8px; color: var(--nv-blue); }
.nv-pg-quote svg { width: 30px; height: 30px; color: var(--pg-blue); }
.nv-pg-quote p { margin-top: 10px; font-size: 14.5px; font-weight: 500; line-height: 1.6; }

/* Objectifs : une couleur par carte */
.nv-pg-goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 24px; }
.nv-pg-goals li { --goal: var(--pg-blue); padding: 26px 24px 30px; background: #FFF8EC; border-radius: 12px; color: var(--nv-text); font-size: 13px; line-height: 1.55; text-align: center; }
.nv-pg-goals li:nth-child(4n + 2) { --goal: #F7B500; }
.nv-pg-goals li:nth-child(4n + 3) { --goal: #0B6E6E; }
.nv-pg-goals li:nth-child(4n + 4) { --goal: #7A1F8A; }
.nv-pg-goals svg { width: 36px; height: 36px; margin: 0 auto; color: var(--goal); }
.nv-pg-goals h3 { margin-top: 12px; color: var(--goal); font-size: 14.5px; font-weight: 700; }
.nv-pg-goals p { max-width: 190px; margin: 4px auto 0; }

/* Supports et ressources, publics */
.nv-pg-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 10px; margin-top: 18px; }
.nv-pg-duo > :only-child.nv-pg-targets { margin-top: -18px; }
.nv-pg-res { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px 16px; padding: 22px 24px 26px; background: #FFF8EC; border-radius: 12px; }
.nv .nv-pg-res .nv-pg-res__item { display: flex; flex-direction: column; align-items: center; gap: 12px; height: auto; background: none; border-radius: 0; box-shadow: none; overflow: visible; color: var(--nv-blue); font-size: 13.5px; line-height: 1.4; text-align: center; transform: none; }
.nv-pg-res__img { position: relative; display: grid; place-items: center; width: 160px; max-width: 100%; aspect-ratio: 16 / 10; background: #FCE9C4; border-radius: 6px; color: #F7B500; overflow: hidden; }
.nv-pg-res__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.nv-pg-res__img > svg { width: 40px; height: 40px; }
.nv-pg-res__item:hover img { transform: scale(1.05); }
.nv-pg-res a.nv-pg-res__item:hover strong { color: var(--nv-link); }
.nv-pg-res__play { position: absolute; inset: 0; display: grid; place-items: center; }
.nv-pg-res__play svg { box-sizing: content-box; width: 22px; height: 22px; padding: 10px; background: #fff; border: 3px solid var(--pg-blue); border-radius: 50%; color: var(--pg-blue); }
.nv-pg-targets { padding: 28px 24px 26px; background: #DCE9FD; border-radius: 12px; }
.nv-pg-targets ul { display: grid; gap: 28px; margin-top: 22px; }
.nv-pg-targets li { display: flex; align-items: flex-start; gap: 18px; }
.nv-pg-targets li > svg { flex: none; width: 24px; height: 24px; margin-top: 2px; color: #F7B500; }
.nv-pg-targets li:nth-child(3n + 2) > svg { color: #0B6E6E; }
.nv-pg-targets li:nth-child(3n + 3) > svg { color: #7A1F8A; }
.nv-pg-targets h3 { color: var(--nv-blue); font-size: 15px; font-weight: 700; line-height: 1.4; }
.nv-pg-targets p { margin-top: 4px; color: var(--nv-blue); font-size: 13px; }

/* Impact */
.nv-pg-impact { position: relative; padding: 26px 24px 78px; background: #F3F7FD; border-radius: 12px; overflow: hidden; }
.nv-pg-impact ul { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px 32px; align-items: center; margin-top: 30px; }
.nv-pg-impact li { display: flex; align-items: center; gap: 14px; color: var(--nv-blue); font-size: 13px; line-height: 1.5; }
.nv-pg-impact li > svg { flex: none; width: 30px; height: 30px; color: #0B8F7A; }
.nv-pg-impact li:nth-child(n + 3) > svg { color: var(--nv-blue); }
.nv-pg-impact__figure { display: block; font-size: 27px; font-weight: 700; line-height: 1.25; }
.nv-pg-impact p { max-width: 170px; }
.nv-pg-impact p strong { font-weight: 700; }
.nv-pg-impact__road { position: absolute; right: 0; bottom: 0; width: 50%; height: 70px; }

/* Appel à l'action */
.nv-pg-cta { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; padding: 22px 24px; background: var(--nv-blue); border-radius: 18px; color: #fff; }
.nv-pg-cta .nv-pg-title { color: #fff; font-size: 15px; line-height: 1.6; }
.nv-pg-cta .nv-pg-title::after { margin-top: 6px; }
.nv-pg-cta__text { justify-self: end; max-width: 460px; font-size: 13.5px; line-height: 1.7; }
.nv .nv-pg-cta a.nv-vit-btn { gap: 10px; min-height: 40px; padding: 8px 16px; border-radius: 8px; }
.nv-pg-cta .nv-vit-btn svg:not(.nv-arrow) { width: 16px; height: 16px; }

@media (max-width: 991px) {
  .nv-pg-hero { padding: 32px 0 80px; }
  .nv-pg-hero::before, .nv-pg-hero--slogan::before { background: linear-gradient(90deg, rgba(10, 47, 143, .96) 0%, rgba(11, 71, 184, .86) 60%, rgba(11, 71, 184, .6) 100%); }
  .nv-pg-hero .nv-container { grid-template-columns: minmax(0, 1fr); }
  .nv-pg-hero__slogan { justify-self: start; max-width: none; margin-top: 0; padding-bottom: 18px; background-position: left bottom; color: #fff; font-size: 26px; text-align: left; transform: none; }
  .nv-pg-about { flex-wrap: wrap; }
  .nv-pg-about__text { flex-basis: 100%; }
  .nv-pg-quote { flex: 1; }
  .nv-pg-cta { grid-template-columns: minmax(0, 1fr) auto; }
  .nv-pg-cta .nv-pg-title { grid-column: 1 / -1; }
  .nv-pg-cta__text { justify-self: start; }
}
@media (max-width: 767px) {
  .nv-pg-hero h1 { font-size: 28px; }
  .nv-pg-hero__facts { gap: 16px 28px; }
  .nv-pg-nav .nv-container { flex-wrap: wrap; }
  .nv-pg-about > img { width: 100%; }
  .nv-pg-quote { flex-basis: 100%; }
  .nv-pg-impact { padding-bottom: 60px; }
  .nv-pg-impact__road { width: 80%; height: 44px; }
  .nv-pg-cta { grid-template-columns: minmax(0, 1fr); }
  .nv-pg-res { padding: 20px 16px 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Adaptatif ---------- */
@media (max-width: 1180px) {
  .nv-regions { grid-template-columns: 1fr 1fr; }
  .nv-region-card { grid-column: 1 / -1; }
  .nv-programmes__grid { grid-template-columns: repeat(2, 1fr); }
  .nv-public h2 { font-size: 19px; }
}

@media (max-width: 991px) {
  .nv-header__inner { min-height: 76px; }
  .nv-header__logo { margin-left: 0; }
  .nv-header__logo img { width: 170px; }
  .nv .nv-burger { display: flex; }
  /* Menu mobile : panneau sous l'en-tête. Recherche en tête, rubriques en accordéon,
     « Univers NARSA » en bouton pleine largeur, langue en pastille. */
  .nv-nav {
    display: flex;
    visibility: hidden;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transition: opacity .25s ease .1s, clip-path .4s cubic-bezier(.6, 0, .2, 1), visibility 0s linear .4s;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 76px);
    padding: 16px 20px 26px;
    background: #fff;
    border-top: 1px solid #EEF1F8;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 24px 40px rgba(11, 27, 77, .16);
    overflow-y: auto;
  }
  .nv-nav.is-open { visibility: visible; opacity: 1; clip-path: inset(0 0 -60px 0); transition: opacity .2s ease, clip-path .45s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
  /* À l'ouverture, le panneau se déroule et ses éléments arrivent l'un après l'autre */
  .nv-nav.is-open > .nv-hsearch, .nv-nav.is-open .nv-menu__item, .nv-nav.is-open > .nv-univers, .nv-nav.is-open > .nv-lang { animation: nv-nav-in .45s cubic-bezier(.2, .8, .2, 1) both; }
  .nv-nav.is-open > .nv-hsearch { animation-delay: .05s; }
  .nv-nav.is-open .nv-menu__item:nth-child(1) { animation-delay: .1s; }
  .nv-nav.is-open .nv-menu__item:nth-child(2) { animation-delay: .14s; }
  .nv-nav.is-open .nv-menu__item:nth-child(3) { animation-delay: .18s; }
  .nv-nav.is-open .nv-menu__item:nth-child(4) { animation-delay: .22s; }
  .nv-nav.is-open .nv-menu__item:nth-child(n + 5) { animation-delay: .26s; }
  .nv-nav.is-open > .nv-univers { animation-delay: .3s; }
  .nv-nav.is-open > .nv-lang { animation-delay: .34s; }

  /* Recherche : affichée directement en haut du panneau, sans icône */
  .nv-hsearch { order: -1; margin-bottom: 10px; }
  .nv .nv-hsearch > a.nv-header__search { display: none; }
  .nv-hsearch__form { visibility: visible; opacity: 1; transform: none; transition: box-shadow .2s; position: static; width: 100%; max-width: none; background: #F3F7FE; border-color: transparent; box-shadow: none; }
  .nv-hsearch__form:focus-within { background: #fff; box-shadow: 0 0 0 3px var(--nv-yellow-btn); }

  /* Rubriques */
  .nv-menu { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nv .nv-menu__link { width: 100%; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid #EEF1F8; font-size: 16px; font-weight: 700; }
  .nv-menu__item.has-sub > .nv-menu__link::after { content: ''; flex: none; width: 8px; height: 8px; margin: -4px 6px 0 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .25s, margin .25s; }
  .nv-menu__item.has-sub.is-open > .nv-menu__link { border-bottom-color: transparent; color: var(--nv-link); }
  .nv-menu__item.has-sub.is-open > .nv-menu__link::after { margin-top: 4px; transform: rotate(-135deg); }
  .nv-menu__sub, .nv-lang__sub { position: static; min-width: 0; margin: 0 0 12px; padding: 6px; background: #F6F9FF; border-radius: 14px; box-shadow: none; }
  .nv-menu__sub a { padding: 11px 14px; font-size: 15px; }

  /* Univers NARSA */
  .nv-univers { margin-top: 20px; }
  .nv .nv-btn-univers { width: 100%; padding: 14px 24px; font-size: 15px; }
  .nv-univers__sub { margin: 10px 0 0; }

  /* Langue */
  .nv-lang { align-self: flex-start; margin-top: 14px; }
  .nv .nv-lang__btn { padding: 8px 16px; border: 1px solid #DCE4F5; border-radius: 999px; }
  .nv-lang__sub { margin: 8px 0 0; }

  .nv-publics__grid { grid-template-columns: repeat(2, 1fr); row-gap: 76px; }
  .nv-media { grid-template-columns: 1fr; padding: 24px; }
  .nv-media__intro p { max-width: none; margin: 18px 0; line-height: 1.9; }
  .nv-media__intro .nv-btn { margin: 0 0 24px; }
  .nv-infos { grid-template-columns: 1fr; }
  .nv-info { min-height: 0; }
  .nv-info h2, .nv-info p { max-width: calc(100% - 70px); }
  .nv-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .nv-section { margin-top: 40px; }
  .nv-title { font-size: 27px; }
  /* Bandeau : hauteur fixe (le sélecteur doit primer sur « .nv img { height: auto } »), slogan en haut à gauche
     sur le ciel, champ de recherche à cheval sur le bas de la photo */
  .nv .nv-hero__img { height: 250px; object-fit: cover; object-position: 35% center; }
  .nv .nv-hero--photo .nv-hero__img { aspect-ratio: auto; object-position: 88% center; }
  .nv-hero__slogan { left: 20px; top: 26px; width: 200px; padding-bottom: 12px; background-size: 120px 12px; font-size: 40px; transform: rotate(-5deg); }
  .nv-hero__credit { bottom: 62px; }
  .nv-search { position: relative; left: auto; top: auto; width: calc(100% - 48px); height: 54px; margin: -27px auto 0; }
  .nv-search button { padding: 0 10px 0 18px; }
  .nv-search svg { width: 20px; height: 20px; }
  .nv-search input { padding: 0 16px 0 4px; font-size: 15px; }
  .nv-hero { background: transparent; }

  .nv-media__grid { grid-template-columns: 1fr; }
  .nv-regions { grid-template-columns: 1fr; padding: 24px 20px; }
  .nv-regions__intro .nv-btn { margin-top: 0; }
  .nv-regions__intro p { margin: 18px 0 20px; line-height: 1.9; }
  .nv-region-card::before { display: none; }
  .nv-region-card__photo { position: static; width: 100%; height: 170px; }
  .nv-region-card__body { width: 100%; min-height: 0; padding: 20px; }
  .nv-region-card p { line-height: 1.8; }
}

@media (max-width: 560px) {
  .nv-container { width: calc(100% - 32px); }
  .nv-publics__grid { grid-template-columns: 1fr; padding-inline: 14px; }
  .nv-public { min-height: 0; }
  .nv-programmes__grid { grid-template-columns: 1fr; }
  .nv-actions__grid { grid-template-columns: 1fr; }
  .nv-footer__grid { grid-template-columns: 1fr; }
  .nv-footer__bottom ul { gap: 20px; }
}

@keyframes nv-nav-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .nv *, .nv *::before, .nv *::after { transition: none !important; animation: none !important; }
}
