/* ==========================================================================
   NEXTUP v2 — feuille de style commune
   Une seule source pour couleurs, typographie, largeurs et composants.
   Tout est préfixé .nx- pour ne jamais entrer en conflit avec Astra/Elementor.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap");

:root {
  /* Couleurs de marque */
  --nx-navy: #002B89;
  --nx-navy-deep: #001D5C;
  --nx-navy-soft: #0B3A9E;
  --nx-cyan: #14A4E2;
  --nx-cyan-ink: #0075A5;      /* cyan lisible sur fond blanc (contraste AA) */
  --nx-cyan-tint: #E8F6FD;

  /* Neutres */
  --nx-ink: #14203D;
  --nx-muted: #4E5E7E;
  --nx-line: #E1E7F2;
  --nx-soft: #EEF3FA;
  --nx-white: #FFFFFF;

  /* États (seule couleur chaude du site : les alertes) */
  --nx-warn-bg: #FFF6DB;
  --nx-warn-ink: #8A4B00;
  --nx-low-bg: #FDE8E8;
  --nx-low-ink: #A11A1A;
  --nx-ok-bg: #E3F6EE;
  --nx-ok-ink: #046C4E;

  /* Typographie : 17 px pour le texte courant, 14 px minimum */
  --nx-font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nx-font-head: "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;
  --nx-fs-min: 0.875rem;    /* 14 px — plancher absolu */
  --nx-fs-small: 0.9375rem; /* 15 px */
  --nx-fs-body: 1.0625rem;  /* 17 px */
  --nx-fs-lead: 1.1875rem;  /* 19 px */
  --nx-fs-h3: 1.3125rem;
  --nx-fs-h2: clamp(1.625rem, 1.15rem + 1.4vw, 2.25rem);
  --nx-fs-h1: clamp(2.125rem, 1.3rem + 3vw, 3.5rem);

  /* Mise en page : une seule largeur, une seule marge */
  --nx-container: 1200px;
  --nx-gutter: clamp(20px, 4vw, 40px);
  --nx-section-y: clamp(32px, 4vw, 56px);
  --nx-radius: 14px;
  --nx-radius-lg: 22px;
  --nx-shadow: 0 1px 2px rgba(0, 29, 92, .06), 0 8px 24px rgba(0, 29, 92, .06);

  /* Jetons de thème (clair par défaut) */
  --nx-bg: #FFFFFF;
  --nx-surface: #FFFFFF;
  --nx-soft-bg: #EEF3FA;
  --nx-heading: var(--nx-navy);
  --nx-action: var(--nx-navy);
  --nx-action-hover: var(--nx-navy-soft);
  --nx-header-bg: rgba(255, 255, 255, .96);
  --nx-line-strong: #C5D3EA;
  color-scheme: light;
}

/* Mode nuit : suit l'appareil, sauf choix explicite (bouton ☾/☀) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --nx-bg: #0A1224; --nx-surface: #111C33; --nx-soft-bg: #0E1830;
    --nx-ink: #E4EAF6; --nx-muted: #A7B4CE; --nx-heading: #F1F5FD;
    --nx-line: #22304D; --nx-line-strong: #34466B;
    --nx-cyan-ink: #5CC4F0; --nx-cyan-tint: #12284A;
    --nx-action: #1C56D6; --nx-action-hover: #2A66EA;
    --nx-header-bg: rgba(10, 18, 36, .94);
    --nx-warn-bg: #3A2A08; --nx-warn-ink: #F6D58A;
    --nx-low-bg: #451414; --nx-low-ink: #FFB4B4; --nx-ok-bg: #0B3527; --nx-ok-ink: #8BE3BE;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --nx-bg: #0A1224; --nx-surface: #111C33; --nx-soft-bg: #0E1830;
  --nx-ink: #E4EAF6; --nx-muted: #A7B4CE; --nx-heading: #F1F5FD;
  --nx-line: #22304D; --nx-line-strong: #34466B;
  --nx-cyan-ink: #5CC4F0; --nx-cyan-tint: #12284A;
  --nx-action: #1C56D6; --nx-action-hover: #2A66EA;
  --nx-header-bg: rgba(10, 18, 36, .94);
  --nx-warn-bg: #3A2A08; --nx-warn-ink: #F6D58A;
  --nx-low-bg: #451414; --nx-low-ink: #FFB4B4; --nx-ok-bg: #0B3527; --nx-ok-ink: #8BE3BE;
  color-scheme: dark;
}

/* ---------- Base ---------- */
.nx-site, .nx-site *, .nx-site *::before, .nx-site *::after { box-sizing: border-box; }
.nx-site {
  margin: 0;
  font-family: var(--nx-font-body);
  font-size: var(--nx-fs-body);
  line-height: 1.6;
  color: var(--nx-ink);
  background: var(--nx-bg);
  -webkit-font-smoothing: antialiased;
}
.nx-site :where(h1, h2, h3, h4) {
  font-family: var(--nx-font-head);
  font-weight: 800;
  color: var(--nx-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  padding: 0;
}
.nx-site :where(h3, h4) { font-weight: 700; }
/* Le thème (Astra) ajoute marges et retraits aux paragraphes et listes : on les neutralise ici */
.nx-site :where(p, figure, blockquote, ul, ol, dl, dd) { margin: 0; padding: 0; }
.nx-site :where(ul, ol) { list-style: none; }
.nx-site :where(img) { max-width: 100%; height: auto; display: block; }
.nx-site :where(a) { color: var(--nx-cyan-ink); }
.nx-site :focus-visible { outline: 3px solid var(--nx-cyan); outline-offset: 3px; border-radius: 6px; }
.nx-site small { font-size: var(--nx-fs-min); }

/* ---------- Mise en page ---------- */
.nx-container { width: 100%; max-width: calc(var(--nx-container) + 2 * var(--nx-gutter)); margin-inline: auto; padding-inline: var(--nx-gutter); }
.nx-section { padding-block: var(--nx-section-y); }
.nx-section--soft { background: var(--nx-soft-bg); }
.nx-section--navy { background: var(--nx-navy); color: var(--nx-white); }
.nx-section--navy h2, .nx-section--navy h3 { color: var(--nx-white); }
.nx-section--tight { padding-block: clamp(28px, 4vw, 44px); }

.nx-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(16px, 2.2vw, 26px); flex-wrap: wrap; }
.nx-head > div { max-width: 720px; }
.nx-eyebrow { display: block; font-size: var(--nx-fs-small); font-weight: 700; color: var(--nx-cyan-ink); margin-bottom: 10px; }
.nx-section--navy .nx-eyebrow { color: var(--nx-cyan); }
.nx-h2 { font-size: var(--nx-fs-h2); }
.nx-lead { font-size: var(--nx-fs-lead); color: var(--nx-muted); margin-top: 14px; }
.nx-section--navy .nx-lead { color: rgba(255, 255, 255, .78); }

.nx-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.nx-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.nx-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }

/* ---------- Boutons ---------- */
.nx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px;
  font: 700 var(--nx-fs-body)/1.2 var(--nx-font-body); text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.nx-site .nx-btn--primary { background: var(--nx-cyan); color: var(--nx-navy-deep); }
.nx-site .nx-btn--primary:hover { background: #3BB4EA; }
.nx-site .nx-btn--navy { background: var(--nx-action); color: var(--nx-white); }
.nx-site .nx-btn--navy:hover { background: var(--nx-action-hover); }
.nx-site .nx-btn--ghost { border-color: rgba(255, 255, 255, .5); color: var(--nx-white); }
.nx-site .nx-btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--nx-white); }
.nx-site .nx-btn--outline { border-color: var(--nx-line); color: var(--nx-heading); background: var(--nx-surface); }
.nx-site .nx-btn--outline:hover { border-color: var(--nx-heading); }

.nx-link { font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.nx-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- En-tête ---------- */
.nx-header { position: sticky; top: 0; z-index: 50; background: var(--nx-header-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--nx-line); }
.nx-header .nx-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.nx-logo img { height: 46px; width: auto; }
.nx-nav { display: flex; align-items: center; gap: 4px; }
.nx-nav > ul { display: flex; list-style: none; padding: 0; gap: 2px; }
.nx-nav li { position: relative; }
.nx-nav a, .nx-nav summary { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 8px; color: var(--nx-ink); font-weight: 500; text-decoration: none; cursor: pointer; list-style: none; white-space: nowrap; }
.nx-nav summary::-webkit-details-marker { display: none; }
.nx-nav summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.nx-nav a:hover, .nx-nav summary:hover { background: var(--nx-soft-bg); color: var(--nx-heading); }
.nx-sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; background: var(--nx-surface); border: 1px solid var(--nx-line); border-radius: var(--nx-radius); box-shadow: var(--nx-shadow); padding: 8px; list-style: none; }
.nx-sub a { padding: 10px 12px; }
.nx-sub .nx-sub-label { display: block; padding: 10px 12px 4px; font-size: var(--nx-fs-small); font-weight: 700; color: var(--nx-muted); }
.nx-sub .nx-sub-label a { padding: 0; font-size: inherit; font-weight: inherit; color: inherit; }
.nx-sub .nx-sub-label a:hover { background: none; text-decoration: underline; }
.nx-sub .nx-indent a { padding-left: 24px; }
.nx-nav .nx-btn { margin-left: 8px; padding: 10px 18px; min-height: 44px; }
.nx-burger { display: none; }

@media (max-width: 1240px) {
  .nx-burger { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--nx-line); border-radius: 10px; background: var(--nx-surface); font: 700 var(--nx-fs-body) var(--nx-font-body); color: var(--nx-heading); cursor: pointer; }
  .nx-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--nx-surface); border-bottom: 1px solid var(--nx-line); box-shadow: var(--nx-shadow); padding: 12px var(--nx-gutter) 20px; flex-direction: column; align-items: stretch; max-height: calc(100vh - 76px); overflow: auto; }
  .nx-header.is-open .nx-nav { display: flex; }
  .nx-nav > ul { flex-direction: column; }
  .nx-nav a, .nx-nav summary { padding: 14px 8px; justify-content: space-between; font-size: var(--nx-fs-lead); }
  .nx-nav > ul > li + li { border-top: 1px solid var(--nx-line); }
  .nx-sub { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; border-left: 3px solid var(--nx-cyan); border-radius: 0; margin-left: 8px; }
  .nx-sub a { font-size: var(--nx-fs-body); padding: 10px 8px; }
  .nx-nav .nx-btn { margin: 16px 0 0; }
}

/* ---------- Badges & pastilles ---------- */
.nx-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: var(--nx-fs-small); font-weight: 700; }
.nx-pill--glass { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: var(--nx-white); }
.nx-spots { font-size: var(--nx-fs-min); font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.nx-spots--low { background: var(--nx-low-bg); color: var(--nx-low-ink); }
.nx-spots--ok { background: var(--nx-ok-bg); color: var(--nx-ok-ink); }

/* ---------- Pied de page ---------- */
.nx-footer { background: var(--nx-navy-deep); color: rgba(255, 255, 255, .78); padding: clamp(48px, 6vw, 72px) 0 28px; }
.nx-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.nx-footer a:hover { color: var(--nx-white); text-decoration: underline; text-underline-offset: 4px; }
.nx-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.nx-footer-brand img { height: 52px; width: auto; background: #FFFFFF; padding: 8px 12px; border-radius: 10px; }
.nx-footer-brand p { margin-top: 18px; max-width: 340px; }
.nx-footer-legal { margin-top: 16px; font-size: var(--nx-fs-min); color: rgba(255, 255, 255, .62); line-height: 1.7; }
.nx-footer details summary { font: 700 var(--nx-fs-body) var(--nx-font-body); color: var(--nx-white); list-style: none; margin-bottom: 16px; pointer-events: none; }
.nx-footer details summary::-webkit-details-marker { display: none; }
.nx-footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.nx-qualiopi { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; margin-top: 44px; padding-block: 28px; border-block: 1px solid rgba(255, 255, 255, .14); }
.nx-qualiopi img { height: 72px; width: auto; background: #FFFFFF; padding: 10px 14px; border-radius: 10px; }
.nx-qualiopi strong { color: var(--nx-white); display: block; margin-bottom: 4px; }
.nx-qualiopi p { font-size: var(--nx-fs-small); }
.nx-footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; font-size: var(--nx-fs-small); color: rgba(255, 255, 255, .62); }
.nx-footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .nx-footer-grid { grid-template-columns: 1fr 1fr; }
  .nx-footer-brand { grid-column: 1 / -1; }
  .nx-qualiopi { grid-template-columns: auto 1fr; }
  .nx-qualiopi .nx-btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .nx-footer-grid { grid-template-columns: 1fr; gap: 0; }
  .nx-footer-brand { margin-bottom: 24px; }
  .nx-footer details { border-top: 1px solid rgba(255, 255, 255, .14); }
  .nx-footer details summary { pointer-events: auto; cursor: pointer; margin: 0; padding: 16px 0; display: flex; justify-content: space-between; font-size: var(--nx-fs-small); }
  .nx-footer details summary::after { content: "+"; font-size: 1.25rem; line-height: 1; }
  .nx-footer details[open] summary::after { content: "–"; }
  .nx-footer details ul { padding-bottom: 18px; }
  .nx-qualiopi { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Accessibilité ---------- */
.nx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .nx-site * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ==========================================================================
   Composants de page
   ========================================================================== */

/* ---------- Hero ---------- */
.nx-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, #0B4BC2 0%, transparent 60%), linear-gradient(160deg, var(--nx-navy) 0%, var(--nx-navy-deep) 100%); color: var(--nx-white); padding-block: clamp(40px, 5.5vw, 80px); }
.nx-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -260px; border-radius: 50%; border: 80px solid rgba(20, 164, 226, .08); pointer-events: none; }
.nx-hero .nx-container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.nx-hero h1 { font-size: clamp(2.125rem, 1.4rem + 2.4vw, 3.25rem); color: var(--nx-white); margin-top: 22px; text-wrap: balance; }
.nx-hero h1 em { font-style: normal; color: var(--nx-cyan); }
.nx-hero-sub { font-size: var(--nx-fs-lead); color: rgba(255, 255, 255, .82); margin-top: 20px; max-width: 600px; }
.nx-hero-acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.nx-stats { display: flex; gap: clamp(24px, 4vw, 48px); margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .16); flex-wrap: wrap; }
.nx-stat strong { display: block; font: 800 clamp(1.5rem, 1rem + 1.4vw, 2rem)/1 var(--nx-font-head); color: var(--nx-white); }
.nx-stat span { display: block; margin-top: 6px; font-size: var(--nx-fs-small); color: rgba(255, 255, 255, .72); }
@media (max-width: 900px) { .nx-hero .nx-container { grid-template-columns: 1fr; } }

/* ---------- Carte « Prochaines sessions » ---------- */
.nx-sessions { background: var(--nx-surface); color: var(--nx-ink); border-radius: var(--nx-radius-lg); padding: clamp(20px, 2.4vw, 28px); box-shadow: 0 30px 60px rgba(0, 12, 40, .35); }
.nx-sessions h2 { font-size: var(--nx-fs-h3); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.nx-sessions h2 small { font: 500 var(--nx-fs-min) var(--nx-font-body); color: var(--nx-muted); letter-spacing: 0; }
.nx-sessions ul { list-style: none; padding: 0; margin: 16px 0 20px; }
.nx-sessions li + li { border-top: 1px solid var(--nx-line); }
.nx-sess { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; }
.nx-sess strong { display: block; color: var(--nx-heading); }
.nx-sess span.nx-sess-date { font-size: var(--nx-fs-small); color: var(--nx-muted); }
.nx-sessions .nx-btn { width: 100%; }
.nx-sessions-empty { padding: 16px 0; color: var(--nx-muted); }

/* ---------- Bandeau de confiance ---------- */
.nx-trust { border-bottom: 1px solid var(--nx-line); }
.nx-trust .nx-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 20px; }
.nx-trust-item { display: flex; align-items: center; gap: 10px; color: var(--nx-muted); }
.nx-trust-item strong { color: var(--nx-heading); }
.nx-stars { color: #E6A700; letter-spacing: 2px; }

/* ---------- Cartes (actualités, contenus) ---------- */
.nx-card { display: flex; flex-direction: column; background: var(--nx-surface); border: 1px solid var(--nx-line); border-radius: var(--nx-radius); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.nx-card:hover { border-color: var(--nx-line-strong); box-shadow: var(--nx-shadow); transform: translateY(-2px); }
.nx-card-visual { aspect-ratio: 2 / 1; display: grid; place-items: end start; padding: 20px; font: 800 clamp(1.5rem, 1rem + 1.5vw, 2.25rem)/1 var(--nx-font-head); color: var(--nx-heading); background: var(--nx-cyan-tint); position: relative; overflow: hidden; }
.nx-card-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nx-card-visual--navy { background: var(--nx-navy); color: var(--nx-white); }
.nx-card-visual--soft { background: var(--nx-soft-bg); }
.nx-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nx-card-meta { font-size: var(--nx-fs-min); color: var(--nx-muted); display: flex; gap: 10px; align-items: center; }
.nx-tag { font-size: var(--nx-fs-min); font-weight: 700; color: var(--nx-cyan-ink); }
.nx-card h3 { font-size: var(--nx-fs-h3); }
.nx-card p { color: var(--nx-muted); }
.nx-card-more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--nx-cyan-ink); }

/* ---------- Deux parcours ---------- */
.nx-path { border-radius: var(--nx-radius-lg); padding: clamp(24px, 3vw, 40px); background: var(--nx-surface); border: 1px solid var(--nx-line); }
.nx-path--navy { background: var(--nx-navy); border-color: var(--nx-heading); color: var(--nx-white); }
.nx-path h3 { font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem); }
.nx-path--navy h3 { color: var(--nx-white); }
.nx-path > p { margin-top: 8px; color: var(--nx-muted); }
.nx-path--navy > p { color: rgba(255, 255, 255, .75); }
.nx-path ul { list-style: none; padding: 0; margin-top: 20px; }
.nx-path-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; border-top: 1px solid var(--nx-line); text-decoration: none; color: inherit; }
.nx-path--navy .nx-path-row { border-color: rgba(255, 255, 255, .16); }
.nx-path-row strong { display: block; font-size: var(--nx-fs-lead); color: var(--nx-heading); }
.nx-path--navy .nx-path-row strong { color: var(--nx-white); }
.nx-path-row small { display: block; font-size: var(--nx-fs-small); color: var(--nx-muted); margin-top: 2px; }
.nx-path--navy .nx-path-row small { color: rgba(255, 255, 255, .7); }
.nx-path-row::after { content: "→"; font-size: 1.25rem; color: var(--nx-cyan-ink); transition: transform .15s; }
.nx-path--navy .nx-path-row::after { color: var(--nx-cyan); }
.nx-path-row:hover::after { transform: translateX(4px); }
.nx-path-row:hover strong { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Bandeau financement ---------- */
.nx-band { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding: clamp(24px, 3vw, 36px); border-radius: var(--nx-radius-lg); background: var(--nx-cyan-tint); }
.nx-band h2 { font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem); }
.nx-band p { margin-top: 8px; color: var(--nx-muted); max-width: 680px; }

/* ---------- Avis défilants (pleine largeur) ---------- */
.nx-reviews { overflow: hidden; padding-bottom: clamp(32px, 4vw, 48px); }
.nx-reviews-viewport { margin-top: 8px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.nx-reviews-track { display: flex; gap: 20px; width: max-content; animation: nx-scroll 60s linear infinite; padding-block: 8px; }
.nx-reviews.is-paused .nx-reviews-track, .nx-reviews-viewport:hover .nx-reviews-track, .nx-reviews-viewport:focus-within .nx-reviews-track { animation-play-state: paused; }
@keyframes nx-scroll { to { transform: translateX(calc(-50% - 10px)); } }
.nx-review { width: 340px; flex: none; background: var(--nx-surface); color: var(--nx-ink); border-radius: var(--nx-radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.nx-review blockquote { color: var(--nx-ink); }
.nx-review figcaption { margin-top: auto; display: flex; gap: 12px; align-items: center; }
.nx-review figcaption strong { display: block; color: var(--nx-heading); }
.nx-review figcaption small { color: var(--nx-muted); }
.nx-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--nx-cyan-tint); color: var(--nx-heading); font-weight: 700; font-size: var(--nx-fs-small); flex: none; }
.nx-pause { background: transparent; color: var(--nx-white); border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; padding: 10px 18px; font: 700 var(--nx-fs-small) var(--nx-font-body); cursor: pointer; min-height: 44px; }
.nx-pause:hover { border-color: var(--nx-white); }

/* ---------- Lieu ---------- */
.nx-place { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.nx-place figure { position: relative; }
.nx-place img { border-radius: var(--nx-radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.nx-place figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 360px; background: var(--nx-surface); border-radius: var(--nx-radius); padding: 14px 18px; box-shadow: var(--nx-shadow); }
.nx-place figcaption strong { display: block; color: var(--nx-heading); }
.nx-place figcaption span { font-size: var(--nx-fs-small); color: var(--nx-muted); }
.nx-address { font-size: var(--nx-fs-lead); font-weight: 700; color: var(--nx-ink); margin-top: 18px; }
.nx-address span { display: block; font-weight: 400; font-size: var(--nx-fs-body); color: var(--nx-muted); }
.nx-details { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; padding-block: 22px; border-block: 1px solid var(--nx-line); }
.nx-details strong { display: block; color: var(--nx-heading); margin-bottom: 4px; }
.nx-details p { color: var(--nx-muted); }
.nx-place-acts { display: flex; gap: 12px 24px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
@media (max-width: 900px) { .nx-place { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .nx-details { grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.nx-article-head { background: var(--nx-soft-bg); padding-block: clamp(40px, 6vw, 72px); }
.nx-article-head h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); max-width: 860px; margin-top: 14px; }
.nx-article-head .nx-lead { max-width: 760px; }
.nx-breadcrumb { font-size: var(--nx-fs-small); color: var(--nx-muted); }
.nx-breadcrumb a { color: var(--nx-muted); }
.nx-article { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: clamp(32px, 5vw, 80px); justify-content: space-between; }
.nx-prose { font-size: var(--nx-fs-lead); line-height: 1.7; }
.nx-prose > * + * { margin-top: 1.1em; }
.nx-prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); margin-top: 1.8em; }
.nx-prose ul { padding-left: 1.2em; list-style: disc; }
.nx-prose ol { padding-left: 1.4em; list-style: decimal; }
.nx-site .nx-prose > * + * { margin-top: 1.1em; }
.nx-prose li + li { margin-top: .4em; }
.nx-aside { position: sticky; top: 100px; align-self: start; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); padding: 24px; display: grid; gap: 14px; }
.nx-aside h2 { font-size: var(--nx-fs-h3); }
.nx-aside p { color: var(--nx-muted); }
.nx-draft { background: var(--nx-warn-bg); color: var(--nx-warn-ink); border-radius: var(--nx-radius); padding: 14px 18px; font-size: var(--nx-fs-small); }
.nx-note { border-left: 3px solid var(--nx-line); padding: 4px 0 4px 14px; font-size: var(--nx-fs-small); color: var(--nx-muted); }
@media (max-width: 960px) { .nx-article { grid-template-columns: 1fr; } .nx-aside { position: static; } }

/* ---------- Filtres d'actualités ---------- */
.nx-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.nx-filter { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--nx-line); background: var(--nx-surface); color: var(--nx-ink); font: 500 var(--nx-fs-body) var(--nx-font-body); cursor: pointer; }
.nx-filter[aria-pressed="true"] { background: var(--nx-navy); border-color: var(--nx-heading); color: var(--nx-white); }
.nx-feature { display: grid; grid-template-columns: 1.2fr 1fr; margin-bottom: clamp(24px, 3vw, 40px); }
.nx-feature .nx-card-visual { aspect-ratio: auto; min-height: 260px; }
.nx-feature .nx-card-body { padding: clamp(24px, 3vw, 40px); justify-content: center; }
.nx-feature h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
@media (max-width: 860px) { .nx-feature { grid-template-columns: 1fr; } .nx-feature .nx-card-visual { min-height: 200px; } }
.nx-site [hidden] { display: none !important; }

/* ---------- Illustrations ---------- */
.nx-card-visual--img { padding: 0; background: var(--nx-soft-bg); }
.nx-card-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nx-card-visual span { position: relative; }

/* ---------- Bandeau de logos ---------- */
.nx-logos { padding-block: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--nx-line); }
.nx-logos .nx-container { display: grid; grid-template-columns: auto 1fr; gap: 16px 40px; align-items: center; }
.nx-logos p { font-size: var(--nx-fs-small); font-weight: 700; color: var(--nx-muted); max-width: 200px; }
.nx-logos ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.nx-logos img { height: 40px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(.4); opacity: .9; transition: filter .2s, opacity .2s; }
.nx-logos li:hover img { filter: none; opacity: 1; }
@media (max-width: 760px) {
  .nx-logos .nx-container { grid-template-columns: 1fr; }
  .nx-logos ul { justify-content: flex-start; gap: 20px 28px; }
  .nx-logos img { height: 32px; }
}

/* ---------- Icônes des parcours ---------- */
.nx-path-row { justify-content: flex-start; }
.nx-path-row::after { margin-left: auto; }
.nx-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--nx-cyan-tint); color: var(--nx-heading); }
.nx-path--navy .nx-icon { background: rgba(255, 255, 255, .1); color: var(--nx-cyan); }
.nx-icon svg { width: 22px; height: 22px; }

/* ---------- Bouton de thème ---------- */
.nx-theme { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--nx-line); background: var(--nx-surface); color: var(--nx-heading); cursor: pointer; font-size: 1.125rem; flex: none; }
.nx-theme:hover { border-color: var(--nx-line-strong); }
.nx-header-tools { display: flex; align-items: center; gap: 8px; }

/* ---------- Ajustements du mode nuit ---------- */
:root[data-theme="dark"] .nx-logos li { background: #FFFFFF; border-radius: 8px; padding: 6px 10px; }
:root[data-theme="dark"] .nx-logo img { background: #FFFFFF; border-radius: 8px; padding: 2px 6px; }
:root[data-theme="dark"] .nx-section--navy, :root[data-theme="dark"] .nx-path--navy { background: #0B2A73; border-color: #0B2A73; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nx-logos li { background: #FFFFFF; border-radius: 8px; padding: 6px 10px; }
  :root:not([data-theme="light"]) .nx-logo img { background: #FFFFFF; border-radius: 8px; padding: 2px 6px; }
  :root:not([data-theme="light"]) .nx-section--navy, :root:not([data-theme="light"]) .nx-path--navy { background: #0B2A73; border-color: #0B2A73; }
}

/* ---------- Ajustements mobile ---------- */
@media (max-width: 900px) {
  /* Sessions juste après l'appel à l'action, chiffres ensuite */
  .nx-hero .nx-container { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nx-hero-copy { display: contents; }
  .nx-hero .nx-pill { align-self: flex-start; }
  .nx-hero-acts { margin-top: 24px; }
  .nx-sessions { margin-top: 28px; order: 1; }
  .nx-stats { order: 2; margin-top: 28px; }
}
@media (max-width: 640px) {
  .nx-hero-sub { font-size: var(--nx-fs-body); }
  .nx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 0; border-top: 0; }
  .nx-stat span { font-size: var(--nx-fs-min); }
  .nx-sessions h2 { flex-direction: column; align-items: flex-start; gap: 2px; }
  /* Cartes en défilement horizontal */
  .nx-scroller { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(-1 * var(--nx-gutter)); padding: 4px var(--nx-gutter) 12px; scroll-padding-inline: var(--nx-gutter); scrollbar-width: none; }
  .nx-scroller::-webkit-scrollbar { display: none; }
  .nx-scroller > * { flex: 0 0 84%; scroll-snap-align: start; }
  .nx-review { width: 280px; padding: 18px; }
  .nx-reviews-viewport { mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
}

/* ==========================================================================
   Pages intérieures (gabarits par blocs)
   ========================================================================== */

/* ---------- En-tête de page ---------- */
.nx-page-hero { background: var(--nx-soft-bg); padding-block: clamp(28px, 4vw, 56px); border-bottom: 1px solid var(--nx-line); }
.nx-page-hero--split .nx-container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.nx-page-hero h1 { font-size: var(--nx-fs-h1); margin-top: 10px; text-wrap: balance; }
.nx-page-hero .nx-lead { max-width: 640px; }
.nx-kicker { margin-top: 18px; font-weight: 700; color: var(--nx-cyan-ink); }
.nx-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 24px 0 0; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); background: var(--nx-surface); overflow: hidden; width: fit-content; max-width: 100%; }
.nx-facts > div { padding: 12px 20px; border-right: 1px solid var(--nx-line); }
.nx-facts > div:last-child { border-right: 0; }
.nx-facts dt { font-size: var(--nx-fs-min); color: var(--nx-muted); }
.nx-facts dd { margin: 2px 0 0; font-weight: 700; color: var(--nx-heading); }
.nx-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.nx-panel { background: var(--nx-surface); border: 1px solid var(--nx-line); border-radius: var(--nx-radius-lg); padding: clamp(18px, 2.2vw, 26px); box-shadow: var(--nx-shadow); display: grid; gap: 14px; }
.nx-panel h2 { font-size: var(--nx-fs-h3); }
.nx-panel p { color: var(--nx-muted); }
.nx-hero-fig img { border-radius: var(--nx-radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .nx-page-hero--split .nx-container { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .nx-facts { width: 100%; }
  .nx-facts > div { flex: 1 1 0; min-width: 0; padding: 10px 12px; }
  .nx-site .nx-page-hero .nx-facts > div { padding: 10px 12px; }
  .nx-facts dd { font-size: var(--nx-fs-small); }
}

/* ---------- Tuile de date (convocation) : élément signature ---------- */
.nx-tile { flex: none; display: grid; width: 64px; text-align: center; background: var(--nx-surface); border: 1.5px solid var(--nx-line-strong); border-radius: 10px; overflow: hidden; line-height: 1.1; }
.nx-tile-dow { background: var(--nx-navy); color: var(--nx-white); font-size: var(--nx-fs-min); font-weight: 700; padding: 3px 0; }
.nx-tile-day { font: 800 1.625rem/1.1 var(--nx-font-head); color: var(--nx-heading); padding-top: 5px; }
.nx-tile-mon { font-size: var(--nx-fs-min); color: var(--nx-muted); padding-bottom: 6px; }
.nx-tile--sm { width: 54px; }
.nx-tile--sm .nx-tile-day { font-size: 1.375rem; padding-top: 3px; }
:root[data-theme="dark"] .nx-tile-dow { background: #1C56D6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nx-tile-dow { background: #1C56D6; } }

/* ---------- Listes de sessions ---------- */
.nx-bucket { font-size: var(--nx-fs-body); color: var(--nx-muted); font-family: var(--nx-font-body); font-weight: 700; margin: 28px 0 10px; }
.nx-bucket:first-child { margin-top: 0; }
.nx-slots { list-style: none; padding: 0; display: grid; gap: 10px; }
.nx-slot { display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: var(--nx-surface); border: 1px solid var(--nx-line); border-radius: var(--nx-radius); }
.nx-slot-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.nx-slot-main strong { color: var(--nx-heading); font-size: var(--nx-fs-lead); }
.nx-slot-meta { color: var(--nx-muted); font-size: var(--nx-fs-small); }
.nx-slot-side { display: flex; align-items: center; gap: 12px; flex: none; }
.nx-combo-hint { font-size: var(--nx-fs-small); font-weight: 700; color: var(--nx-cyan-ink); text-decoration: none; margin-top: 4px; width: fit-content; }
.nx-combo-hint:hover { text-decoration: underline; }
.nx-btn--sm { min-height: 44px; padding: 8px 18px; }
.nx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.nx-chip { display: inline-flex; align-items: baseline; gap: 6px; min-height: 44px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--nx-line-strong); background: var(--nx-surface); color: var(--nx-ink); text-decoration: none; font-size: var(--nx-fs-small); flex-wrap: wrap; }
.nx-chip b { font-size: var(--nx-fs-body); color: var(--nx-heading); }
.nx-chip small { width: 100%; color: var(--nx-low-ink); font-weight: 700; }
.nx-chip:hover { border-color: var(--nx-action); background: var(--nx-cyan-tint); }
.nx-slot--day { align-items: flex-start; }
.nx-panel .nx-slot { padding: 12px 0; border: 0; border-radius: 0; border-top: 1px solid var(--nx-line); background: none; flex-wrap: nowrap; gap: 14px; }
.nx-panel .nx-slots { gap: 0; }
.nx-panel .nx-slot-main strong { font-size: var(--nx-fs-body); }
.nx-panel .nx-bucket { margin: 14px 0 4px; font-size: var(--nx-fs-small); }
.nx-after-list { margin-top: 18px; }
.nx-nexts { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 8px; }
.nx-next { display: flex; align-items: center; gap: 14px; padding: 8px; margin: 0 -8px; border-radius: 12px; text-decoration: none; color: inherit; }
.nx-next:hover { background: var(--nx-soft-bg); }
.nx-next > span:nth-child(2) { flex: 1; display: grid; }
.nx-next strong { color: var(--nx-heading); }
@media (max-width: 640px) {
  .nx-slot { flex-wrap: wrap; gap: 12px 14px; }
  .nx-slot-side { width: 100%; justify-content: space-between; }
  .nx-slot--day .nx-slot-main { flex-basis: calc(100% - 80px); }
  .nx-chip { flex: 1 1 calc(50% - 8px); }
}

/* ---------- Agenda ---------- */
.nx-agenda-filters, .nx-agenda-motifs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; align-items: center; }
.nx-agenda-motifs { padding: 12px 14px; border-radius: var(--nx-radius); background: var(--nx-soft-bg); }
.nx-agenda-motifs > span { font-weight: 700; color: var(--nx-heading); margin-right: 4px; }
.nx-filter--sm { min-height: 40px; padding: 6px 14px; font-size: var(--nx-fs-small); }
.nx-agenda-list { margin-top: 18px; }
@media (max-width: 640px) {
  .nx-agenda-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--nx-gutter)); padding-inline: var(--nx-gutter); scrollbar-width: none; }
  .nx-agenda-filters::-webkit-scrollbar { display: none; }
  .nx-agenda-filters .nx-filter { flex: none; }
}

/* ---------- Encadrés ---------- */
.nx-notice { margin-top: clamp(24px, 3vw, 36px); padding: 16px 20px; border-radius: var(--nx-radius); border-left: 4px solid var(--nx-cyan); background: var(--nx-cyan-tint); }
.nx-notice--warn { border-color: #E6A817; background: var(--nx-warn-bg); color: var(--nx-warn-ink); }
.nx-notice--warn a { color: inherit; font-weight: 700; }
.nx-notice strong { color: inherit; }

/* ---------- Choix (cartes d'offre) ---------- */
.nx-choices { display: grid; gap: clamp(14px, 2vw, 22px); }
/* Nombre de colonnes fixe par bloc (pas de carte orpheline), une colonne sur mobile */
.nx-choices { grid-template-columns: 1fr; }
@media (min-width: 700px) { .nx-choices--2, .nx-choices--3, .nx-choices--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .nx-choices--3 { grid-template-columns: repeat(3, 1fr); } .nx-choices--4 { grid-template-columns: repeat(4, 1fr); } }
.nx-choice { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--nx-line); border-radius: var(--nx-radius-lg); background: var(--nx-surface); }
.nx-choice h3 { font-size: var(--nx-fs-h3); }
.nx-choice > p { color: var(--nx-muted); }
.nx-code { width: fit-content; font: 800 1.25rem/1 var(--nx-font-head); color: var(--nx-heading); padding: 8px 12px; border-radius: 10px; background: var(--nx-cyan-tint); }
.nx-badge { position: absolute; top: 18px; right: 18px; font-size: var(--nx-fs-min); font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--nx-cyan-tint); color: var(--nx-heading); }
.nx-ticks { list-style: none; padding: 0; display: grid; gap: 6px; }
.nx-ticks li { padding-left: 26px; position: relative; }
.nx-ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--nx-cyan-ink); border-bottom: 2.5px solid var(--nx-cyan-ink); transform: rotate(-45deg); }
.nx-choice-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--nx-line); }
.nx-price { font: 800 1.5rem/1 var(--nx-font-head); color: var(--nx-heading); }

/* ---------- Étapes ---------- */
.nx-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: clamp(14px, 2vw, 22px); }
.nx-steps > li { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-content: start; padding: 22px; border-radius: var(--nx-radius); border: 1px solid var(--nx-line); background: var(--nx-surface); }
.nx-step-n { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--nx-navy); color: var(--nx-white); font: 800 1.125rem var(--nx-font-head); }
.nx-steps h3 { font-size: var(--nx-fs-h3); }
.nx-steps p { color: var(--nx-muted); margin-top: 4px; }
.nx-step-meta { grid-column: 2; font-weight: 700; color: var(--nx-cyan-ink); }
.nx-section .nx-note { margin-top: 18px; }

/* ---------- Liste à cocher ---------- */
.nx-checklist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.nx-checklist li { display: grid; gap: 4px; padding: 18px 18px 18px 52px; position: relative; border-radius: var(--nx-radius); background: var(--nx-surface); border: 1px solid var(--nx-line); }
.nx-checklist li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 20px; height: 20px; border-radius: 6px; background: var(--nx-ok-bg); box-shadow: inset 0 0 0 2px var(--nx-ok-ink); }
.nx-checklist strong { color: var(--nx-heading); }
.nx-checklist span { color: var(--nx-muted); font-size: var(--nx-fs-small); }

/* ---------- Texte + média ---------- */
.nx-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.nx-split--rev .nx-split-copy { order: 2; }
.nx-prose--sm { font-size: var(--nx-fs-body); margin-top: 16px; }
.nx-split-fig img { border-radius: var(--nx-radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nx-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--nx-radius-lg); overflow: hidden; background: var(--nx-navy-deep); margin: 0; }
.nx-video img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.nx-video-play { position: absolute; left: 50%; top: 45%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--nx-white); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.nx-video-play::after { content: ""; position: absolute; left: 29px; top: 23px; border-left: 20px solid var(--nx-navy); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.nx-video figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; color: var(--nx-white); font-weight: 700; background: linear-gradient(transparent, rgba(0, 12, 40, .8)); }
@media (max-width: 860px) { .nx-split { grid-template-columns: 1fr; } .nx-split--rev .nx-split-copy { order: 0; } }

/* ---------- Offre combinée (ticket) ---------- */
.nx-combo { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.nx-combo-ticket { background: var(--nx-surface); border: 1.5px solid var(--nx-line-strong); border-radius: var(--nx-radius-lg); padding: 24px 26px; position: relative;
  -webkit-mask: radial-gradient(circle 12px at 0 62%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 62%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 12px at 0 62%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 62%, #0000 98%, #000) right / 51% 100% no-repeat; }
.nx-combo-ticket ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.nx-combo-ticket li { display: flex; justify-content: space-between; gap: 16px; }
.nx-combo-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 16px; border-top: 2px dashed var(--nx-line-strong); }
.nx-combo-total strong { font: 800 2rem/1 var(--nx-font-head); color: var(--nx-heading); }
.nx-combo-note { margin-top: 12px; font-size: var(--nx-fs-small); color: var(--nx-muted); }
@media (max-width: 860px) { .nx-combo { grid-template-columns: 1fr; } }

/* ---------- Questions fréquentes ---------- */
.nx-faq { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); align-items: start; }
.nx-faq-item { border: 1px solid var(--nx-line); border-radius: var(--nx-radius); background: var(--nx-surface); }
.nx-faq-item summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font-weight: 700; color: var(--nx-heading); position: relative; }
.nx-faq-item summary::-webkit-details-marker { display: none; }
.nx-faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--nx-cyan-ink); }
.nx-faq-item[open] summary::after { content: "–"; }
.nx-faq-item .nx-prose--sm { margin: 0; padding: 0 20px 20px; color: var(--nx-muted); }

/* ---------- Appel final ---------- */
.nx-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px 48px; flex-wrap: wrap; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--nx-radius-lg); background: var(--nx-cyan-tint); }
.nx-cta .nx-lead { margin-top: 8px; max-width: 640px; }
.nx-cta .nx-acts { margin-top: 0; }

/* ---------- Cartes-liens ---------- */
.nx-link-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--nx-radius-lg); border: 1px solid var(--nx-line); background: var(--nx-surface); text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.nx-link-card:hover { border-color: var(--nx-line-strong); box-shadow: var(--nx-shadow); }
.nx-link-card h3 { font-size: var(--nx-fs-h3); }
.nx-link-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.nx-link-card p { color: var(--nx-muted); }
.nx-link-card-meta { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--nx-heading); }

/* ---------- Infos pratiques ---------- */
.nx-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.nx-info-item h3 { font-size: var(--nx-fs-body); font-family: var(--nx-font-body); font-weight: 700; }
.nx-info-item p { margin-top: 6px; color: var(--nx-muted); }

/* ---------- Tableau ---------- */
.nx-table-wrap { overflow-x: auto; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); background: var(--nx-surface); }
.nx-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.nx-table th, .nx-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--nx-line); vertical-align: top; }
.nx-table thead th { color: var(--nx-heading); font-family: var(--nx-font-head); background: var(--nx-soft-bg); }
.nx-table td:first-child { font-weight: 700; color: var(--nx-heading); white-space: nowrap; }
.nx-table tr:last-child td { border-bottom: 0; }

/* ---------- Sommaire (pages longues) ---------- */
.nx-toc { position: sticky; top: 100px; align-self: start; border-left: 3px solid var(--nx-line); padding-left: 18px; }
.nx-toc h2 { font-size: var(--nx-fs-body); font-family: var(--nx-font-body); }
.nx-toc ol { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 8px; font-size: var(--nx-fs-small); }
@media (max-width: 960px) { .nx-toc { position: static; order: -1; } }

/* ---------- Barre de réservation mobile ---------- */
.nx-sticky { display: none; }
@media (max-width: 760px) {
  .nx-sticky { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--nx-surface); border-top: 1px solid var(--nx-line); box-shadow: 0 -8px 24px rgba(0, 29, 92, .1); }
  .nx-sticky div { display: grid; line-height: 1.3; }
  .nx-sticky strong { color: var(--nx-heading); }
  .nx-sticky span { font-size: var(--nx-fs-min); color: var(--nx-muted); }
  .nx-sticky .nx-btn { min-height: 44px; padding: 8px 16px; flex: none; }
  body:has(.nx-sticky) .nx-footer { padding-bottom: 96px; }
}
.nx-article-date { margin-top: 14px; font-size: var(--nx-fs-small); color: var(--nx-muted); }
.nx-aside .nx-slot { padding: 10px 0; border: 0; border-radius: 0; border-top: 1px solid var(--nx-line); background: none; flex-wrap: wrap; }
.nx-aside .nx-slots { gap: 0; }
.nx-aside .nx-bucket { margin: 10px 0 2px; font-size: var(--nx-fs-small); }
.nx-aside .nx-slot-main strong { font-size: var(--nx-fs-body); }
.nx-aside .nx-slot-side { width: 100%; justify-content: space-between; }
.nx-prose table { width: 100%; border-collapse: collapse; font-size: var(--nx-fs-body); }
.nx-prose th, .nx-prose td { padding: 10px 12px; border-bottom: 1px solid var(--nx-line); text-align: left; }
.nx-prose thead th { background: var(--nx-soft-bg); color: var(--nx-heading); }
/* ---------- Maquette du paiement ---------- */
.nx-checkout-demo { padding-block: clamp(24px, 4vw, 48px); }
.nx-checkout-demo .nx-notice { margin: 0 0 24px; }
.nx-checkout-title { font-size: var(--nx-fs-h2); margin-bottom: 20px; }
.nx-checkout-demo .elementor-widget-woocommerce-cart { margin-bottom: 32px; }
.nx-stripe-mock { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; }
.nx-stripe-mock span { padding: 12px; border: 1.5px solid #C5D3EA; border-radius: 8px; color: #7C8AA5; font-size: 15px; background: #fff; }
@media (max-width: 640px) {
  .nx-panel .nx-slot { flex-wrap: wrap; }
  .nx-panel .nx-slot-main { flex-basis: calc(100% - 80px); }
  .nx-panel .nx-slot-side { width: 100%; justify-content: flex-end; }
}

/* ==========================================================================
   Pages examen : en-tête bleu marine, sections plus courtes et plus colorées
   ========================================================================== */
.nx-page-hero { position: relative; overflow: hidden; border-bottom: 0; color: var(--nx-white); padding-block: clamp(22px, 3vw, 40px) clamp(26px, 3.4vw, 44px);
  background: radial-gradient(900px 480px at 85% -20%, #0B4BC2 0%, transparent 60%), linear-gradient(160deg, var(--nx-navy) 0%, var(--nx-navy-deep) 100%); }
.nx-page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; left: -180px; bottom: -260px; border-radius: 50%; border: 70px solid rgba(20, 164, 226, .08); pointer-events: none; }
.nx-page-hero .nx-container { position: relative; z-index: 1; }
.nx-page-hero--split .nx-container { align-items: center; }
.nx-site .nx-page-hero h1 { color: var(--nx-white); font-size: clamp(1.875rem, 1.3rem + 1.9vw, 2.75rem); margin-top: 6px; }
.nx-page-hero .nx-lead { color: rgba(255, 255, 255, .84); margin-top: 12px; }
.nx-page-hero .nx-kicker { color: var(--nx-cyan); margin-top: 14px; }
.nx-page-hero .nx-breadcrumb, .nx-page-hero .nx-breadcrumb a { color: rgba(255, 255, 255, .7); }
.nx-page-hero .nx-facts { margin-top: 20px; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); }
.nx-page-hero .nx-facts > div { border-color: rgba(255, 255, 255, .18); padding: 10px 18px; }
.nx-page-hero .nx-facts dt { color: rgba(255, 255, 255, .7); }
.nx-page-hero .nx-facts dd { color: var(--nx-white); }
.nx-page-hero .nx-acts { margin-top: 20px; }
.nx-site .nx-page-hero .nx-btn--outline { background: transparent; color: var(--nx-white); border-color: rgba(255, 255, 255, .45); }
.nx-site .nx-page-hero .nx-btn--outline:hover { border-color: var(--nx-white); background: rgba(255, 255, 255, .08); }
.nx-page-hero .nx-panel { box-shadow: 0 24px 50px rgba(0, 12, 40, .35); border: 0; gap: 8px; }
.nx-page-hero .nx-panel h2 { font-size: var(--nx-fs-h3); }

/* Colonne des dates : tuile, texte, bouton sur une ligne */
.nx-site .nx-panel .nx-slot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 10px 0; }
.nx-panel .nx-slot-main { gap: 0; }
.nx-panel .nx-slot-side { gap: 8px; }
.nx-panel .nx-tile { width: 56px; }
.nx-panel .nx-tile-day { font-size: 1.375rem; padding-top: 3px; }
.nx-panel .nx-combo-hint { margin-top: 2px; }
.nx-panel .nx-btn--sm { min-height: 42px; padding: 8px 16px; }
.nx-panel .nx-bucket { margin: 12px 0 0; }
@media (max-width: 640px) {
  .nx-site .nx-panel .nx-slot { grid-template-columns: auto minmax(0, 1fr); }
  .nx-panel .nx-slot-side { grid-column: 1 / -1; justify-content: flex-end; }
}

/* Couleur : cartes avec accent, sections alternées, offre combinée sur fond bleu marine */
.nx-choice { border-top: 4px solid var(--nx-cyan); }
.nx-code { background: var(--nx-navy); color: var(--nx-white); }
.nx-section--soft .nx-choice, .nx-section--soft .nx-steps > li, .nx-section--soft .nx-checklist li, .nx-section--soft .nx-faq-item { border-color: #D6E2F3; }
.nx-steps > li { padding: 18px; }
.nx-choice { padding: clamp(18px, 2vw, 24px); }
.nx-section .nx-combo { padding: clamp(22px, 3vw, 36px); border-radius: var(--nx-radius-lg); background: linear-gradient(140deg, var(--nx-navy) 0%, var(--nx-navy-deep) 100%); color: var(--nx-white); }
.nx-site .nx-combo h2 { color: var(--nx-white); }
.nx-combo .nx-lead { color: rgba(255, 255, 255, .82); }
.nx-site .nx-combo .nx-btn--navy { background: var(--nx-cyan); color: var(--nx-navy-deep); }
.nx-site .nx-combo .nx-btn--outline { background: transparent; color: var(--nx-white); border-color: rgba(255, 255, 255, .45); }
.nx-combo-ticket { border: 0; color: var(--nx-ink); }
.nx-cta { background: linear-gradient(120deg, var(--nx-cyan-tint) 0%, var(--nx-soft-bg) 100%); border: 1px solid var(--nx-line); }

/* Colonne des dates : journée d'examen civique sur toute la largeur, créneaux compacts */
.nx-site .nx-panel .nx-slot--day { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
.nx-panel .nx-slot--day .nx-chips { margin-top: 6px; gap: 6px; }
.nx-panel .nx-chip { min-height: 38px; padding: 7px 10px; font-size: var(--nx-fs-min); flex: 0 1 auto; }
.nx-panel .nx-chip b { font-size: var(--nx-fs-small); }
.nx-panel .nx-chip small { width: auto; }
/* Grilles de cartes : trois colonnes au plus (pas de 4 + 2) */
@media (min-width: 980px) { .nx-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Articles : en-tête bleu marine, date lisible, texte confortable */
.nx-article-hero .nx-breadcrumb { margin-bottom: 6px; }
.nx-site .nx-article-hero h1 { max-width: 900px; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); }
.nx-article-hero .nx-lead { max-width: 760px; }
.nx-page-hero .nx-article-date { color: rgba(255, 255, 255, .7); margin-top: 12px; }
.nx-site .nx-prose h2 { margin-top: 1.6em; }
.nx-site .nx-prose a { text-decoration: underline; text-underline-offset: 3px; }
.nx-aside .nx-sessions-empty { font-size: var(--nx-fs-small); }
.nx-article-figure { margin: 0 0 1.4em; }
.nx-article-figure img { width: 100%; height: auto; border-radius: var(--nx-radius-lg); }
/* Agenda : nouvel agenda si le script fonctionne, sinon l'agenda du plugin (filet de sécurité) */
.nx-js .nx-agenda-fallback { display: none; }
html:not(.nx-js) .nx-agenda { display: none; }

/* Accueil : prochaine date de chaque examen, avec réservation directe */
.nx-site .nx-next { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 10px 0; margin: 0; border-radius: 0; }
.nx-nexts { gap: 0; }
.nx-nexts > li + li { border-top: 1px solid var(--nx-line); }
.nx-next:hover { background: none; }
.nx-next-main { display: grid; gap: 1px; justify-items: start; }
.nx-next-main a { text-decoration: none; }
.nx-next-main a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.nx-next-main .nx-spots { margin-top: 4px; }
.nx-next .nx-btn--sm { min-height: 42px; padding: 8px 14px; font-size: var(--nx-fs-small); }
@media (max-width: 640px) {
  .nx-next .nx-btn--sm { min-height: 40px; padding: 6px 12px; font-size: var(--nx-fs-min); }
  .nx-site .nx-next { gap: 4px 12px; }
}
/* Bouton principal lisible sur l'en-tête bleu marine */
.nx-site .nx-page-hero-copy .nx-btn--navy { background: var(--nx-cyan); color: var(--nx-navy-deep); }
.nx-site .nx-page-hero-copy .nx-btn--navy:hover { background: #3BB4EA; }
/* Encadré entre deux sections : marge sous l'encadré pour ne pas coller au bloc suivant */
.nx-site > .nx-container:has(> .nx-notice), .nx-site .nx-container:has(> .nx-notice:only-child) { padding-bottom: clamp(24px, 3vw, 36px); }
/* 5 ou 6 étapes : trois colonnes (3 + 2 ou 3 + 3) au lieu de 4 + 1 ou 4 + 2 */
@media (min-width: 980px) { .nx-steps:has(> li:nth-child(5)) { grid-template-columns: repeat(3, 1fr); } }

/* Informations pratiques : une carte par information, plus lisible qu'un bloc de texte */
.nx-info { gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.nx-info-item { padding: 16px 18px; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); background: var(--nx-surface); }
.nx-section--soft .nx-info-item { border-color: #D6E2F3; }
.nx-site .nx-info-item h3 { font-size: var(--nx-fs-small); color: var(--nx-cyan-ink); }
.nx-site .nx-info-item p { margin-top: 4px; font-size: var(--nx-fs-small); line-height: 1.5; }
@media (min-width: 1100px) { .nx-info:has(> .nx-info-item:nth-child(7)) { grid-template-columns: repeat(4, 1fr); } }
:root[data-theme="dark"] .nx-section--soft .nx-info-item { border-color: var(--nx-line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nx-section--soft .nx-info-item { border-color: var(--nx-line); } }
