/* DNA association : page « Qui est Néalya ? L'interview » (12/11/2026).
   Fichier séparé : site.css n'est pas modifié, les autres pages restent identiques.
   Couleurs et polices = variables du site (--teal, --nuit, --peche, --orange, --f-titre…). */

/* La carte du lecteur chevauche le bas du bandeau de titre */
.nl-lecteur { position: relative; z-index: 5; margin-top: -64px; padding: 0 0 clamp(48px, 6vw, 84px); }
.nl-carte { max-width: 1240px; margin: 0 auto; width: calc(100% - 2 * clamp(20px, 4vw, 44px)); padding: clamp(14px, 2vw, 26px); border-radius: 30px; background: var(--nuit, #012628); color: #fff; box-shadow: 0 44px 90px -40px rgba(1, 38, 40, .75); border: 2px solid var(--peche, #ffab91); display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.nl-scene { min-width: 0; }
.nl-chap { min-width: 0; }
@media (min-width: 1000px) {
  .nl-carte { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 28px; }
}

/* Lecteur */
.lecteur { position: relative; border-radius: 22px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.lecteur video { display: block; width: 100%; height: 100%; background: #000; object-fit: contain; }
.lecteur video:focus-visible { outline: 4px solid #fff; outline-offset: -4px; border-radius: 0; }
.lecteur__lire { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; width: 100%; border: 0; padding: 0; cursor: pointer; background: transparent; color: #fff; }
.lecteur__lire::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 38, 40, .04), rgba(1, 38, 40, .36)); }
.lecteur__rond { position: relative; display: grid; place-items: center; width: clamp(68px, 10vw, 108px); aspect-ratio: 1; border-radius: 50%; background: var(--orange, #ff5722); color: #0b2b2d; box-shadow: 0 0 0 10px rgba(255, 87, 34, .28), 0 18px 40px -10px rgba(0, 0, 0, .6); transition: transform .3s var(--ease-out, ease-out); }
.lecteur__rond svg { width: 44%; height: 44%; margin-left: 6%; fill: currentColor; }
.lecteur__lire:hover .lecteur__rond, .lecteur__lire:focus-visible .lecteur__rond { transform: scale(1.08); }
.lecteur__lire:focus-visible { outline: 4px solid #fff; outline-offset: -8px; }
.lecteur__txt { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); padding: .45em 1.05em; border-radius: 999px; background: rgba(1, 38, 40, .92); border: 1px solid rgba(255, 171, 145, .7); font-family: var(--f-titre, 'Montserrat', sans-serif); font-weight: 750; font-size: .92rem; white-space: nowrap; }
.lecteur.is-lu .lecteur__lire { display: none; }

.nl-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; margin: 14px 2px 0; font-family: var(--f-titre, 'Montserrat', sans-serif); font-weight: 700; font-size: .85rem; letter-spacing: .06em; color: rgba(255, 255, 255, .88); }
.nl-meta__dur { color: var(--peche, #ffab91); }
.nl-clavier { margin: 8px 2px 0; font-size: .84rem; line-height: 1.55; color: rgba(255, 255, 255, .8); }
.nl-clavier kbd { display: inline-block; min-width: 1.6em; padding: 0 .4em; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); font: inherit; font-size: .9em; text-align: center; }
.nl-credit { margin: 10px 2px 0; font-size: .8rem; color: rgba(255, 255, 255, .75); }
.nl-credit a { color: #fff; text-underline-offset: .2em; }

/* Chapitres */
.nl-chap__titre { margin: 4px 0 12px; font-family: var(--f-titre, 'Montserrat', sans-serif); font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.nl-chap ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.chap { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); gap: 2px 12px; align-items: baseline; padding: 11px 14px; border-radius: 16px; border: 1px solid rgba(255, 171, 145, .4); background: rgba(255, 255, 255, .04); color: #fff; text-decoration: none; transition: background-color .2s, border-color .2s; }
.chap:hover { background: rgba(255, 255, 255, .11); border-color: var(--peche, #ffab91); color: #fff; }
.chap:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.chap__t { grid-row: 1 / span 2; font-family: var(--f-titre, 'Montserrat', sans-serif); font-weight: 800; font-size: .95rem; color: var(--peche, #ffab91); font-variant-numeric: tabular-nums; }
.chap__n { font-family: var(--f-titre, 'Montserrat', sans-serif); font-weight: 750; font-size: .98rem; line-height: 1.25; }
.chap__d { font-size: .84rem; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.chap[aria-current="true"] { background: var(--peche, #ffab91); border-color: var(--peche, #ffab91); color: #0b2b2d; }
.chap[aria-current="true"] .chap__t, .chap[aria-current="true"] .chap__d { color: #0b2b2d; }

/* Transcription repliée */
.nl-transcription { margin-top: 16px; border: 1px solid rgba(255, 171, 145, .5); border-radius: 18px; background: rgba(255, 255, 255, .04); }
.nl-transcription summary { cursor: pointer; padding: 14px 20px; font-family: var(--f-titre, 'Montserrat', sans-serif); font-weight: 750; list-style-position: inside; }
.nl-transcription summary:focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-radius: 14px; }
.nl-transcription__corps { padding: 0 22px 18px; color: rgba(255, 255, 255, .94); line-height: 1.7; max-width: 78ch; }
.nl-transcription__corps p { margin: 0 0 .7em; }
.nl-transcription__corps .nl-images { font-style: italic; color: rgba(255, 255, 255, .8); }
.nl-transcription__corps strong { color: var(--peche, #ffab91); }

/* Écosystème */
.nl-eco { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); }
.nl-eco__tete { max-width: 62ch; margin-bottom: 30px; }
.nl-eco__grille { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .nl-eco__grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nl-struct { padding: 24px 24px 22px; border-radius: 24px; background: var(--sable, #f4eee5); border: 1px solid var(--trait, rgba(11, 43, 45, .14)); border-top: 6px solid var(--c, var(--teal)); }
.nl-struct--asso { --c: #ff5722; }
.nl-struct--conseil { --c: #1db9c3; }
.nl-struct--rayoneo { --c: #9a00ff; }
.nl-struct h3 { font-size: 1.2rem; margin: 0 0 .45em; }
.nl-struct p { margin: 0; font-size: .98rem; line-height: 1.6; color: var(--encre, #0b2b2d); }
.nl-struct__ici { display: inline-block; margin: 0 0 .7em; padding: .15em .7em; border-radius: 999px; background: var(--teal, #006064); color: #fff; font-family: var(--f-titre, 'Montserrat', sans-serif); font-weight: 750; font-size: .78rem; }

/* FAQ */
.nl-faq { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 7vw, 96px); }
.nl-faq__liste { display: grid; gap: 10px; max-width: 860px; margin-top: 22px; }
.nl-faq details { border: 1px solid var(--trait, rgba(11, 43, 45, .14)); border-radius: 18px; background: var(--papier, #fffcf7); }
.nl-faq summary { cursor: pointer; padding: 16px 22px; font-family: var(--f-titre, 'Montserrat', sans-serif); font-weight: 750; font-size: 1.05rem; line-height: 1.3; list-style-position: inside; }
.nl-faq summary:focus-visible { outline: 3px solid var(--orange-txt, #ad3608); outline-offset: 2px; }
.nl-faq details[open] { background: var(--sable, #f4eee5); }
.nl-faq details p { margin: 0; padding: 0 22px 18px 22px; line-height: 1.7; max-width: 72ch; }

/* Appel à l'action unique */
.nl-cta { padding: clamp(44px, 6vw, 80px) 0; background: radial-gradient(120% 140% at 85% 20%, #00585c 0%, var(--teal-2, #00393c) 55%, var(--nuit, #012628) 100%); color: #fff; }
.nl-cta__in { max-width: 760px; }
.nl-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.7rem); margin: 0 0 .4em; }
.nl-cta h2 em { color: var(--peche, #ffab91); }
.nl-cta p { color: rgba(255, 255, 255, .92); font-size: 1.08rem; max-width: 56ch; }
.nl-cta .btn { margin-top: 8px; }

@media (max-width: 999px) {
  .nl-lecteur { margin-top: -40px; }
  .nl-carte { border-radius: 22px; }
}
@media (max-width: 520px) {
  .nl-carte { padding: 12px; gap: 16px; width: calc(100% - 24px); }
  .lecteur { border-radius: 16px; }
  .lecteur__txt { display: none; }
  .nl-cta .btn { width: 100%; }
  .chap { padding: 10px 12px; }
}

/* Modes d'accessibilité du site */
html.a11y-nomotion .lecteur__rond, html.a11y-simple .lecteur__rond { transition: none; }
html.a11y-simple .nl-lecteur, html.a11y-nomotion .nl-lecteur { margin-top: 0; padding-top: 24px; }
html.a11y-contrast .nl-carte { background: #000; border-color: #fff; box-shadow: none; }
html.a11y-contrast .lecteur { border: 2px solid #fff; }
html.a11y-contrast .lecteur__rond { background: #fff; color: #000; box-shadow: 0 0 0 6px #000; }
html.a11y-contrast .chap { border-color: #fff; background: #000; }
html.a11y-contrast .chap[aria-current="true"] { background: #fff; color: #000; }
html.a11y-contrast .chap[aria-current="true"] .chap__t, html.a11y-contrast .chap[aria-current="true"] .chap__d { color: #000; }
html.a11y-contrast .nl-transcription { border-color: #fff; background: #000; }
html.a11y-contrast .nl-struct, html.a11y-contrast .nl-faq details { border: 2px solid currentColor; }
html.a11y-contrast .nl-cta { background: #000; }
html.a11y-noimg .lecteur video { visibility: visible; }
@media (prefers-reduced-motion: reduce) {
  .lecteur__rond { transition: none; }
}

@media (hover: none) { .nl-clavier { display: none; } }
