/* Vidéothèque Neoo (/videos, /en/videos, /nl-be/videos) : feuille conçue nuit d'abord, sur les jetons --nf-* de
   neoo-fusion.css (non enregistrée dans generate-neoo-fusion-styles.mjs ; règles portées par #main pour passer devant
   les replis génériques Fusion). Cerebri Sans Light 300 à -0.052em / 1.06 pour les titres d'affichage, accent violet.
   Rythme des fonds : hero salle de projection (#0b0d18, halo violet) → vidéothèque (#10111b) → appel final (#0b0d18).
   Sans JavaScript tout reste visible : le lecteur joue le film mis en avant, les cartes ouvrent leur MP4. */
.neoo-videos-page { --nv-violet: #c9bfff; --nv-ink: #0b0d18; --nv-display: "Cerebri Sans", "CerebriSans", system-ui, sans-serif; --nv-ease: var(--nf-ease, cubic-bezier(.22, 1, .36, 1)); --nv-header: var(--partner-overview-header-h, 64px); }
.neoo-videos-page [hidden] { display: none !important; }
.neoo-videos-page #main { background: var(--nf-bg-0, #10111b); color: var(--nf-text, #f2f4fb); }
.neoo-videos-page #main svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nv-shell { width: min(calc(100% - 48px), 1320px); margin: 0 auto; }
.neoo-videos-page #main .nv-eyebrow { margin: 0 0 16px; color: var(--nv-violet); font-size: 13px; font-weight: 600; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.neoo-videos-page #main .nv-lead { margin: 0; color: var(--nf-text-2, #b7bfd6); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; }
.neoo-videos-page #main .nv-accent { color: var(--nv-violet); }
.neoo-videos-page #main .nv-soft { color: var(--nf-text-2, #b7bfd6); }
.neoo-videos-page #main :is(h1, h2, h3, h4) { color: var(--nf-text, #f2f4fb); }
.neoo-videos-page #main :is(#nv-title, #nv-library-title, #nv-final-title) span { display: block; }

/* Boutons et liens (même langage que la home : pilule violette, flèche qui glisse). */
.neoo-videos-page #main .nv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 1px solid var(--nf-line-strong, rgba(255, 255, 255, .18)); border-radius: 999px; background: rgba(255, 255, 255, .04); color: #fff; font-size: 16px; font-weight: 500; text-decoration: none; transition: background-color .25s var(--nv-ease), border-color .25s var(--nv-ease), transform .35s var(--nv-ease); }
.neoo-videos-page #main .nv-btn svg { width: 18px; height: 18px; transition: transform .3s var(--nv-ease); }
.neoo-videos-page #main .nv-btn:hover { border-color: rgba(201, 191, 255, .6); background: rgba(255, 255, 255, .08); transform: translateY(-1px); }
.neoo-videos-page #main .nv-btn:hover svg { transform: translateX(3px); }
.neoo-videos-page #main .nv-btn--primary { border-color: transparent; background: var(--nf-accent, #6a58ff); box-shadow: 0 14px 34px rgba(106, 88, 255, .35); }
.neoo-videos-page #main .nv-btn--primary:hover { border-color: transparent; background: var(--nf-accent-hover, #7f70ff); }
.neoo-videos-page #main .nv-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(201, 191, 255, .55); text-underline-offset: 5px; }
.neoo-videos-page #main .nv-link svg { width: 17px; height: 17px; transition: transform .3s var(--nv-ease); }
.neoo-videos-page #main .nv-link:hover { text-decoration-color: #fff; }
.neoo-videos-page #main .nv-link:hover svg { transform: translateY(3px); }
.neoo-videos-page #main :is(a, button, video):focus-visible { outline: 3px solid var(--nf-focus, #b9c8ff); outline-offset: 3px; }

/* ---------- Hero : salle de projection ---------- */
.nv-hero { position: relative; isolation: isolate; overflow: clip; padding: clamp(40px, 6vw, 84px) 0 clamp(64px, 7vw, 104px); background: radial-gradient(46% 52% at 12% 0%, rgba(64, 44, 160, .42), transparent 70%), radial-gradient(40% 40% at 92% 30%, rgba(18, 44, 86, .55), transparent 72%), var(--nv-ink); }
/* Titre sur toute la largeur (deux lignes maîtrisées), puis chapeau et actions sur une rangée. */
.nv-hero__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 2vw, 28px); margin-bottom: clamp(32px, 3.6vw, 52px); }
/* --cb-title-hero : neoo-product-system.css (si présent) l'impose en !important aux H1 d'affichage. */
.neoo-videos-page #main #nv-title { --cb-title-hero: clamp(40px, 5vw, 80px); margin: 0; font-family: var(--nv-display); font-size: var(--cb-title-hero); font-weight: 300; letter-spacing: -.052em; line-height: 1.06; text-wrap: balance; }
.nv-hero__aside { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; }
.neoo-videos-page #main .nv-hero__aside .nv-lead { max-width: 64ch; }
.nv-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

.nv-theatre { scroll-margin-top: calc(var(--nv-header) + 20px); display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 26vw, 400px); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.nv-stage { position: relative; margin: 0; }
.nv-stage::before { content: ""; position: absolute; inset: 8% 6% -6%; z-index: -1; border-radius: 48px; background: radial-gradient(closest-side, rgba(106, 88, 255, .45), transparent); filter: blur(46px); pointer-events: none; }
.nv-stage__frame { overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; background: #05060d; box-shadow: 0 40px 120px rgba(0, 0, 0, .6); }
.nv-video { display: block; width: 100%; height: 100%; background: #05060d; object-fit: contain; }
.neoo-videos-page #main .nv-stage__note { margin-top: 12px; color: var(--nf-text-3, #8b94b0); font-size: 12.5px; line-height: 1.5; }

.nv-panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: clamp(20px, 1.8vw, 28px); border: 1px solid var(--nf-line, rgba(255, 255, 255, .1)); border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01)), var(--nf-surface-1, #161a2b); }
.neoo-videos-page #main .nv-panel__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--nv-violet); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.nv-panel__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nf-success, #34c48f); box-shadow: 0 0 0 4px rgba(52, 196, 143, .18); }
.nv-theatre.is-playing .nv-panel__dot { animation: nv-live 1.6s ease-in-out infinite; }
@keyframes nv-live { 50% { box-shadow: 0 0 0 7px rgba(52, 196, 143, .06); } }
.neoo-videos-page #main #nv-now-title { margin: 14px 0 0; font-family: var(--nv-display); font-size: clamp(24px, 1.9vw, 30px); font-weight: 300; letter-spacing: -.04em; line-height: 1.12; text-wrap: balance; }
.neoo-videos-page #main .nv-panel__meta { margin: 10px 0 0; color: var(--nf-text-3, #8b94b0); font-size: 13.5px; font-variant-numeric: tabular-nums; line-height: 1.5; }
.neoo-videos-page #main .nv-panel__text { margin: 12px 0 0; color: var(--nf-text-2, #b7bfd6); font-size: 15.5px; line-height: 1.55; }
.neoo-videos-page #main .nv-copy { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; min-height: 40px; margin-top: 14px; padding: 0 14px; border: 1px solid var(--nf-line-strong, rgba(255, 255, 255, .18)); border-radius: 999px; background: transparent; color: var(--nf-text, #f2f4fb); font: inherit; font-size: 13.5px; cursor: pointer; transition: background-color .2s var(--nv-ease), border-color .2s var(--nv-ease); }
.neoo-videos-page #main .nv-copy svg { width: 16px; height: 16px; }
.neoo-videos-page #main .nv-copy:hover { border-color: rgba(201, 191, 255, .6); background: rgba(255, 255, 255, .06); }
.neoo-videos-page #main .nv-copy.is-done { border-color: rgba(52, 196, 143, .6); color: #b6f1d8; }
.nv-chapters { display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--nf-line, rgba(255, 255, 255, .1)); }
.neoo-videos-page #main .nv-chapters__title { margin: 0 0 8px; color: var(--nf-text-2, #b7bfd6); font-family: inherit; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.nv-chapters ol { flex: 1 1 0; display: grid; align-content: start; gap: 2px; min-height: 120px; max-height: 100%; margin: 0 -8px; padding: 0 4px 0 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; list-style: none; }
.neoo-videos-page #main .nv-chapters button { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 6px; width: 100%; min-height: 40px; padding: 7px 10px; overflow: hidden; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--nf-text-2, #b7bfd6); font: inherit; font-size: 14px; line-height: 1.3; text-align: left; cursor: pointer; transition: background-color .2s var(--nv-ease), color .2s var(--nv-ease); }
.neoo-videos-page #main .nv-chapters button:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nv-ch__time { color: var(--nf-text-3, #8b94b0); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.nv-ch__bar { position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--nv-violet); transform: scaleX(var(--p, 0)); transform-origin: left center; opacity: 0; }
.neoo-videos-page #main .nv-chapters button[aria-current="true"] { border-color: rgba(201, 191, 255, .36); background: rgba(106, 88, 255, .16); color: #fff; }
.nv-chapters button[aria-current="true"] .nv-ch__time { color: var(--nv-violet); }
.nv-chapters button[aria-current="true"] .nv-ch__bar { opacity: 1; }

/* ---------- Vidéothèque ---------- */
.nv-library { position: relative; padding: clamp(80px, 9vw, 128px) 0; background: radial-gradient(50% 30% at 50% 0%, rgba(42, 29, 100, .45), transparent 72%), var(--nf-bg-0, #10111b); }
.nv-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 72px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.neoo-videos-page #main #nv-library-title, .neoo-videos-page #main #nv-final-title { margin: 0; font-family: var(--nv-display); font-size: clamp(34px, 3.6vw, 56px); font-weight: 300; letter-spacing: -.048em; line-height: 1.06; text-wrap: balance; }
.nv-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(40px, 4.5vw, 64px); }
.neoo-videos-page #main .nv-filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 18px; border: 1px solid var(--nf-line-strong, rgba(255, 255, 255, .18)); border-radius: 999px; background: transparent; color: var(--nf-text-2, #b7bfd6); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .2s var(--nv-ease), border-color .2s var(--nv-ease), color .2s var(--nv-ease); }
.neoo-videos-page #main .nv-filters button:hover { border-color: rgba(201, 191, 255, .55); color: #fff; }
.neoo-videos-page #main .nv-filters button[aria-pressed="true"] { border-color: transparent; background: #fff; color: var(--nv-ink); }
.nv-filters__count { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12px; font-variant-numeric: tabular-nums; }
.nv-filters button[aria-pressed="true"] .nv-filters__count { background: rgba(11, 13, 24, .1); }

.nv-group + .nv-group, .nv-group + .nv-pair, .nv-pair + .nv-group { margin-top: clamp(56px, 6vw, 88px); }
.nv-group__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--nf-line, rgba(255, 255, 255, .1)); }
.neoo-videos-page #main .nv-group__head h3 { margin: 0; font-family: var(--nv-display); font-size: clamp(24px, 2vw, 30px); font-weight: 300; letter-spacing: -.04em; line-height: 1.15; }
.neoo-videos-page #main .nv-group__head p { max-width: 62ch; margin: 0; color: var(--nf-text-3, #8b94b0); font-size: 15px; line-height: 1.55; }
.nv-grid { display: grid; gap: 20px 18px; margin: 0; padding: 0; list-style: none; }
.nv-grid--overview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.nv-grid--module { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nv-grid--partner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nv-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.nv-pair .nv-group + .nv-group { margin-top: 0; }
.nv-pair .nv-grid { grid-template-columns: minmax(0, 1fr); }
/* Un seul de ces deux groupes publié : pleine largeur, une carte horizontale de largeur limitée. */
.nv-pair--solo { grid-template-columns: minmax(0, 1fr); }
.nv-pair--solo .nv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .nv-pair--solo .nv-grid { grid-template-columns: minmax(0, 1fr); } }
/* En-têtes empilés (titre puis phrase) pour aligner les deux cartes côte à côte. */
.nv-pair .nv-group__head { display: block; }
.neoo-videos-page #main .nv-pair .nv-group__head p { margin-top: 6px; }

/* Carte : vignette 16:9 (vrai écran), durée, catégorie, titre (lien étiré sur toute la carte), description. */
.nv-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 10px 10px 18px; border: 1px solid var(--nf-line, rgba(255, 255, 255, .1)); border-radius: 18px; background: var(--nf-surface-1, #161a2b); transition: border-color .3s var(--nv-ease), background-color .3s var(--nv-ease), transform .4s var(--nv-ease); }
.nv-card:hover, .nv-card:focus-within { border-color: rgba(201, 191, 255, .5); background: #1b1f35; transform: translateY(-2px); }
.nv-card__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 11px; background: #e9ebf2; }
.nv-card__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1s var(--nv-ease); }
.nv-card:hover .nv-card__thumb img { transform: scale(1.035); }
.nv-card__time { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; background: rgba(11, 13, 24, .84); color: #fff; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.neoo-videos-page #main .nv-card__time svg { width: 22px; height: 22px; padding: 6px 5px 6px 7px; box-sizing: border-box; border-radius: 50%; background: var(--nf-accent, #6a58ff); fill: #fff; stroke: none; }
.nv-card__now { position: absolute; top: 8px; left: 8px; display: none; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--nf-accent, #6a58ff); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nv-card__now::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.nv-card.is-current { border-color: rgba(201, 191, 255, .7); background: linear-gradient(180deg, rgba(106, 88, 255, .2), rgba(106, 88, 255, .06)), var(--nf-surface-1, #161a2b); }
.nv-card.is-current .nv-card__now { display: inline-flex; }
.neoo-videos-page #main .nv-card__kicker { margin: 14px 6px 0; color: var(--nf-text-3, #8b94b0); font-size: 12px; font-weight: 600; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.nv-card--excerpt .nv-card__kicker { color: rgba(201, 191, 255, .8); }
.neoo-videos-page #main .nv-card__title { margin: 6px 6px 0; font-family: inherit; font-size: 17px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.neoo-videos-page #main .nv-card__title a { color: inherit; text-decoration: none; }
.neoo-videos-page #main .nv-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.neoo-videos-page #main .nv-card__title a:focus-visible { outline: none; }
.neoo-videos-page #main .nv-card:has(.nv-card__title a:focus-visible) { outline: 3px solid var(--nf-focus, #b9c8ff); outline-offset: 3px; }
.neoo-videos-page #main .nv-card__text { margin: 6px 6px 0; color: var(--nf-text-2, #b7bfd6); font-size: 14.5px; line-height: 1.5; }
/* Présentation : deux grandes cartes, titre d'affichage. */
.nv-grid--overview .nv-card { padding: 12px 12px 24px; border-radius: 22px; }
.nv-grid--overview .nv-card__thumb { border-radius: 14px; }
.neoo-videos-page #main .nv-grid--overview .nv-card__title { margin: 8px 8px 0; font-family: var(--nv-display); font-size: clamp(22px, 1.9vw, 28px); font-weight: 300; letter-spacing: -.035em; line-height: 1.15; }
.neoo-videos-page #main .nv-grid--overview :is(.nv-card__kicker, .nv-card__text) { margin-inline: 8px; }
.neoo-videos-page #main .nv-grid--overview .nv-card__text { font-size: 15.5px; }
/* Processus et partenaires : une carte horizontale chacun. */
@media (min-width: 1181px) {
  .nv-pair .nv-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 20px; padding: 12px 20px 12px 12px; }
  .nv-pair .nv-card__thumb { grid-row: 1 / span 3; }
  .neoo-videos-page #main .nv-pair .nv-card__kicker { align-self: end; margin: 8px 0 0; }
  .neoo-videos-page #main .nv-pair .nv-card__title { margin: 6px 0 0; font-size: 19px; }
  .neoo-videos-page #main .nv-pair .nv-card__text { margin: 6px 0 0; }
}

/* ---------- Appel final ---------- */
.nv-final { padding: clamp(80px, 9vw, 128px) 0; background: radial-gradient(44% 60% at 50% 100%, rgba(106, 88, 255, .28), transparent 72%), var(--nv-ink); text-align: center; }
.nv-final .nv-shell { max-width: 920px; }
.neoo-videos-page #main .nv-final .nv-lead { max-width: 56ch; margin: 22px auto 0; }
.nv-final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: 34px; }

/* ---------- Apparitions (seulement avec JavaScript, jamais de contenu caché sans lui) ---------- */
html.nv-js .nv-hero__head > *, html.nv-js .nv-theatre { animation: nv-rise .9s var(--nv-ease) both; }
html.nv-js .nv-hero__aside { animation-delay: .08s; }
html.nv-js .nv-theatre { animation-delay: .16s; }
@keyframes nv-rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
html.nv-js [data-nv-reveal] > * { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .7s var(--nv-ease), transform .8s var(--nv-ease), border-color .3s var(--nv-ease), background-color .3s var(--nv-ease); transition-delay: calc(var(--i, 0) * 50ms); }
html.nv-js [data-nv-reveal].is-in > * { opacity: 1; transform: none; }
html.nv-js [data-nv-reveal].is-in > :hover { transform: translateY(-2px); transition-delay: 0s; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nv-theatre { grid-template-columns: minmax(0, 1fr); }
  /* Panneau sous le lecteur : hauteur naturelle (plus de colonne étirée à la hauteur de la vidéo). */
  .nv-chapters, .nv-chapters ol { flex: none; }
  .nv-chapters ol { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; max-height: none; overflow: visible; }
  .nv-grid--module { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nv-grid--partner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nv-split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .nv-pair { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .nv-pair .nv-group + .nv-group { margin-top: clamp(56px, 6vw, 88px); }
  .nv-grid--module { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nv-shell { width: calc(100% - 32px); }
  .nv-hero { padding-top: 32px; }
  .nv-hero__actions { flex-direction: column; align-items: stretch; }
  .neoo-videos-page #main .nv-hero__actions .nv-btn { width: 100%; }
  .nv-stage__frame { border-radius: 14px; }
  .nv-panel { padding: 18px; border-radius: 16px; }
  .nv-chapters ol { grid-template-columns: minmax(0, 1fr); max-height: 300px; overflow-y: auto; }
  .nv-grid--overview, .nv-grid--partner { grid-template-columns: minmax(0, 1fr); }
  .nv-grid--module { gap: 12px; }
  .neoo-videos-page #main .nv-grid--module .nv-card__title { font-size: 15.5px; }
  .neoo-videos-page #main .nv-grid--module .nv-card__text { display: none; }
  .nv-grid--module .nv-card { padding: 8px 8px 14px; border-radius: 14px; }
  .neoo-videos-page #main .nv-grid--module .nv-card__kicker { font-size: 11px; letter-spacing: .06em; }
  .nv-final__actions { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .nv-card, .nv-card__thumb img, .neoo-videos-page #main :is(.nv-btn, .nv-btn svg, .nv-link svg) { transition: none; }
  .nv-card:hover, .nv-card:focus-within, .nv-card:hover .nv-card__thumb img { transform: none; }
  .nv-theatre.is-playing .nv-panel__dot { animation: none; }
  html.nv-js .nv-hero__head > *, html.nv-js .nv-theatre { animation: none; }
  html.nv-js [data-nv-reveal] > * { opacity: 1; transform: none; transition: none; }
}
