/* =====================================================================
   GUIDE ENGINE — TOKENS / CONTRAT DE VARIABLES
   ---------------------------------------------------------------------
   Tout est piloté par des custom properties posées sur la racine du
   site (.nmp-site[style=...]) par configToVars(). Aucun composant n'a de
   couleur/typo/forme en dur : tout lit var(--xxx).

   Familles : .nmp-site--dark / .nmp-site--light
   Squelettes : .nmp-site--A / .nmp-site--B (ordre + variantes de layout)

   Contraintes dures respectées : aucun gradient, aucun glow coloré,
   aucun glassmorphism, pas d'emoji (SVG inline), accent UNIQUE en aplat.
   ===================================================================== */

/* ---- Valeurs par défaut (surchargées par configToVars) ------------- */
.nmp-site {
  /* couleur */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f1ec;
  --ink: #16130f;
  --ink-soft: #6b635c;
  --ink-faint: #9b938c;
  --line: #e4ded4;
  --line-strong: #cbc4b8;
  --accent: #c4402b;
  --accent-strong: #a8331f;   /* variante AA pour petit texte */
  --accent-ink: #ffffff;       /* texte sur aplat accent */
  --accent2: #1f5d57;
  --accent2-ink: #ffffff;
  --ok: #16a34a;               /* « en ligne » : vert stable, indépendant du thème */
  --ok-ink: #ffffff;

  /* typo */
  --font-head: "Libre Franklin", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --case-head: none;
  --tracking-head: -0.01em;
  --tracking-eyebrow: 0.16em;
  --weight-head: 800;
  --weight-h: 700;
  --leading-body: 1.62;
  --measure: 66ch;

  /* type scale (fluide, capée) — MOBILE-FIRST : planchers de clamp calibrés pour
     360px (pas de débordement / d'orphelin sur un titre long, cf. UX_MOBILE §5).
     Hero plancher ≤ 2.4rem (titre long sans casse), corps ≥ 16px (1rem). */
  --fs-hero: clamp(2.3rem, 1.5rem + 3.6vw, 5.4rem);
  --fs-h1: clamp(1.95rem, 1.45rem + 2.4vw, 3.4rem);
  --fs-h2: clamp(1.45rem, 1.2rem + 1.1vw, 2.1rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  --fs-lead: clamp(1.08rem, 1rem + 0.5vw, 1.35rem);
  --fs-body: 1.0625rem;        /* 17px ≥ 16 (UX_MOBILE §5) */
  --fs-sm: 0.9375rem;          /* 15px : méta/secondaire encore confortable au doigt */
  --fs-xs: 0.8125rem;          /* 13px : plancher des légendes (≥ 12, viser 13-14) */

  /* forme */
  --radius: 6px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --border-w: 1px;
  --shadow: 0 1px 2px rgba(20,16,12,.05), 0 10px 28px rgba(20,16,12,.05);
  --shadow-hard: 4px 4px 0 var(--line-strong);

  /* rythme — MOBILE-FIRST : la gouttière est l'UNIQUE bord de page (cf. UX_MOBILE
     §2, défaut client n°1). Plancher ≥ 16px à 360px (jamais coller le texte au bord),
     plafond raisonnable mobile ≤ 24px, puis on enrichit vers le desktop. */
  --space: 1rem;
  --gutter: clamp(1rem, 0.5rem + 2.2vw, 2.4rem);
  --section-y: clamp(2.6rem, 1.8rem + 4vw, 5.5rem);
  --maxw: 1180px;
  /* hauteur de cible tactile (UX_MOBILE §1) : seuil 44px, idéal 48px pour les CTA */
  --tap: 44px;
  --tap-cta: 48px;

  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Reset doux scoped ---------------------------------------------- */
/* RESET UA n°1 (mobile-first) : le navigateur pose body{margin:8px} → un bord
   gauche fantôme de 8px QUI S'AJOUTE à la gouttière (défaut client n°1 : marge
   incohérente). Le bundle design est la SEULE feuille de style de la page → on
   annule la marge UA du document hôte pour que `--gutter` soit l'UNIQUE source du
   bord de page. Ciblé sur le body porteur de .nmp-site (pas un reset global agressif). */
body:has(> .nmp-site), body > .nmp-site:first-child { margin: 0; }
html:has(> body > .nmp-site) { margin: 0; padding: 0; }
.nmp-site *, .nmp-site *::before, .nmp-site *::after { box-sizing: border-box; }
/* Garde-fou : aucun élément ne doit produire de scroll horizontal (mobile).
   `clip` n'introduit pas de scroll-container et n'affecte pas le sticky. */
.nmp-site { overflow-x: clip; }
.nmp-site h1, .nmp-site h2, .nmp-site h3, .nmp-site h4, .nmp-site p, .nmp-site figure,
.nmp-site ul, .nmp-site ol, .nmp-site blockquote { margin: 0; }
.nmp-site ul, .nmp-site ol { padding: 0; list-style: none; }
.nmp-site img, .nmp-site svg { display: block; max-width: 100%; }
.nmp-site a { color: inherit; text-decoration: none; }
.nmp-site button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }

/* ---- Titres -------------------------------------------------------- */
.nmp-site h1, .nmp-site h2, .nmp-site h3, .nmp-site .nmp-display {
  font-family: var(--font-head);
  font-weight: var(--weight-h);
  letter-spacing: var(--tracking-head);
  text-transform: var(--case-head);
  line-height: 1.04;
  text-wrap: balance;
  color: var(--ink);
}
.nmp-site .nmp-display { font-weight: var(--weight-head); font-size: var(--fs-hero); }
.nmp-site h1 { font-size: var(--fs-h1); }
.nmp-site h2 { font-size: var(--fs-h2); }
.nmp-site h3 { font-size: var(--fs-h3); line-height: 1.12; }

/* ---- Eyebrow / kicker ---------------------------------------------- */
.nmp-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .5em;
}
.nmp-eyebrow svg { width: 1em; height: 1em; flex: none; }
.nmp-eyebrow--muted { color: var(--ink-soft); }

/* ---- Layout helpers ------------------------------------------------ */
.nmp-wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); width: 100%; }
.nmp-wrap--narrow { max-width: 820px; }
.nmp-section { padding-block: var(--section-y); }
.nmp-prose { max-width: var(--measure); }
.nmp-prose p + p { margin-top: 1.15em; }

/* MOBILE-FIRST : la grille générique est en UNE colonne par défaut (le cas à 99%
   du trafic), enrichie en multi-colonnes à partir des breakpoints des composants
   eux-mêmes. On ne « répare » plus une grille desktop à max-width (cf. UX_MOBILE §0). */
.nmp-grid { display: grid; gap: var(--gutter); grid-template-columns: 1fr; }
.nmp-flex { display: flex; gap: .6rem; align-items: center; }
.nmp-flex-wrap { display: flex; flex-wrap: wrap; gap: .5rem; }
.nmp-stack { display: grid; gap: 1rem; }
.nmp-divider { height: var(--border-w); background: var(--line); border: 0; width: 100%; }

/* ---- Section heading shared --------------------------------------- */
.nmp-sec-head { display: grid; gap: .55rem; margin-bottom: clamp(1.4rem, 1rem + 1.5vw, 2.4rem); }
.nmp-sec-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.nmp-sec-head p { color: var(--ink-soft); max-width: 62ch; font-size: var(--fs-lead); line-height: 1.5; }

/* ---- Focus visible (a11y) ------------------------------------------ */
.nmp-site a:focus-visible,
.nmp-site button:focus-visible,
.nmp-site [tabindex]:focus-visible,
.nmp-site summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---- Sélection ----------------------------------------------------- */
.nmp-site ::selection { background: var(--accent); color: var(--accent-ink); }

/* ---- Cibles tactiles (UX_MOBILE §1) -------------------------------- */
.nmp-tap { min-height: var(--tap); display: inline-flex; align-items: center; }

/* =====================================================================
   GUIDE ENGINE — COMPOSANTS (tous pilotés par var(--xxx))
   Variantes de squelette via .nmp-site--A / .nmp-site--B et classes layout.
   ===================================================================== */

/* ---------- Boutons (UX_MOBILE §1+§3) ------------------------------- */
/* MOBILE-FIRST : tout bouton/CTA a une cible ≥ 44px (CTA principal ≥ 48px), un
   padding qui laisse respirer le libellé, et un état :active PERCEPTIBLE (le doigt
   n'a pas de :hover). Aucun glow : feedback = translateY plat + brightness. */
.nmp-btn {
  --bh: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--tap); padding: .7rem 1.2rem;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-sm);
  letter-spacing: .01em; line-height: 1.2;
  border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink);
  border: var(--border-w) solid var(--accent);
  transition: transform .12s ease, filter .12s ease;
}
.nmp-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
/* état pressé distinct du repos (perceptible au doigt) : enfoncement + assombri */
.nmp-btn:active { transform: translateY(1px); filter: brightness(.94); }
.nmp-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.nmp-btn--ghost:hover { border-color: var(--ink); filter: none; background: var(--surface-2); }
.nmp-btn--ghost:active { background: var(--surface-2); filter: none; }
.nmp-btn--ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
/* --sm : typo/padding resserrés MAIS cible ≥ 44px sur mobile (UX_MOBILE §1 : la
   hauteur ne descend jamais sous le seuil tactile, seul le rembourrage se réduit). */
.nmp-btn--sm { min-height: var(--tap); padding: .5rem 1rem; }
/* CTA pleine largeur sur mobile : un CTA principal empilé occupe sa carte/colonne
   (UX_MOBILE §3). À partir de 600px ils peuvent reprendre leur largeur naturelle. */
.nmp-btn--block { width: 100%; }
@media (min-width: 600px) { .nmp-btn--block { width: auto; } }
.nmp-site--A .nmp-btn { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }

/* ---------- Hatch placeholder (toutes les images) ------------------- */
.nmp-hatch {
  position: relative; overflow: hidden;
  background-color: var(--surface-2);
  background-image: repeating-linear-gradient(
    45deg, transparent 0 9px, color-mix(in srgb, var(--ink) 9%, transparent) 9px 10px);
  border: var(--border-w) solid var(--line);
  border-radius: inherit;
  color: var(--ink-faint);
}
.nmp-hatch__tag {
  position: absolute; left: 0; bottom: 0;
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: .04em; text-transform: lowercase;
  padding: .3rem .5rem; color: var(--ink-soft);
  background: var(--surface); border-top: var(--border-w) solid var(--line);
  border-right: var(--border-w) solid var(--line);
}

/* ---------- Étoiles + note ----------------------------------------- */
.nmp-stars { display: inline-flex; align-items: center; gap: 1px; color: var(--accent); }
.nmp-stars svg { width: 1em; height: 1em; }
.nmp-stars--muted { color: var(--ink-soft); }
.nmp-rating { display: inline-flex; align-items: baseline; gap: .4rem; font-family: var(--font-mono); }
.nmp-rating b { font-size: 1.05em; color: var(--ink); font-weight: 700; }
.nmp-rating span { color: var(--ink-soft); font-size: var(--fs-xs); }

/* ---------- Anneau de score (affiliés) ----------------------------- */
.nmp-ring { position: relative; width: 56px; height: 56px; flex: none; }
.nmp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.nmp-ring__bg { stroke: var(--line); }
.nmp-ring__fg { stroke: var(--accent); stroke-linecap: butt; }
.nmp-ring__num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: .95rem; color: var(--ink);
}

/* ---------- Chips / tags ------------------------------------------- */
.nmp-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em;
  padding: .26rem .6rem; border-radius: var(--radius);
  background: var(--surface-2); color: var(--ink-soft);
  border: var(--border-w) solid var(--line);
}
.nmp-chip--accent { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent-strong); border-color: color-mix(in srgb, var(--accent) 28%, var(--line)); }
.nmp-chip--area { font-family: var(--font-mono); text-transform: none; }
.nmp-site--A .nmp-chip { text-transform: uppercase; border-radius: 2px; }

/* ---------- Busy meter --------------------------------------------- */
.nmp-busy { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--fs-xs); color: var(--ink-soft); }
.nmp-busy__bars { display: inline-flex; gap: 3px; align-items: flex-end; }
.nmp-busy__bars i { width: 5px; background: var(--line-strong); border-radius: 1px; display: block; }
.nmp-busy__bars i:nth-child(1){ height: 7px; }
.nmp-busy__bars i:nth-child(2){ height: 11px; }
.nmp-busy__bars i:nth-child(3){ height: 15px; }
.nmp-busy[data-lvl="1"] i:nth-child(-n+1),
.nmp-busy[data-lvl="2"] i:nth-child(-n+2),
.nmp-busy[data-lvl="3"] i:nth-child(-n+3) { background: var(--accent); }

/* ---------- Header (UX_MOBILE §4) ---------------------------------- */
/* MOBILE-FIRST : header compact ≤ 64px, logo ≤ 60% de la largeur, burger/sélecteur
   ≥ 44px, tout sur UNE ligne sans débordement. Sticky léger (< 12% du viewport). */
.nmp-header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: var(--border-w) solid var(--line); }
.nmp-header__in { display: flex; flex-wrap: nowrap; align-items: center; gap: .8rem; min-height: 56px; min-width: 0; }
/* Le logo est le SEUL élément autorisé à se réduire ; sélecteur de ville,
   CTA et burger restent à taille fixe et insécables (cf. flex:none plus bas).
   Mobile : police plafonnée pour ne jamais pousser le burger hors écran. */
.nmp-logo { display: inline-flex; align-items: center; gap: .12em; min-height: var(--tap); font-family: var(--font-head); font-weight: var(--weight-head); font-size: clamp(1.05rem, .92rem + .9vw, 1.32rem); letter-spacing: var(--tracking-head); text-transform: var(--case-head); color: var(--ink); min-width: 0; max-width: 60%; flex: 0 1 auto; line-height: 1.1; overflow: hidden; }
/* MOBILE : le logo NE DOIT PAS pousser la hauteur du header (≤ 64px, UX_MOBILE §4).
   On le force sur UNE ligne avec ellipsis — un nom de marque long (ex. « Les Rendez-vous
   de Juliette ») se tronque proprement au lieu de wrapper sur 2-3 lignes et faire enfler
   le header. Le mot accentué (<b>) reste insécable pour garder l'identité lisible. */
.nmp-logo > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nmp-logo b { color: var(--accent); font-weight: inherit; white-space: nowrap; flex: none; }
.nmp-logo__dot { width:.42em;height:.42em;background:var(--accent);display:inline-block; border-radius: var(--radius); transform: translateY(-.05em); }
.nmp-site--A .nmp-logo { letter-spacing: .04em; }
.nmp-nav { display: flex; gap: 1.15rem; margin-left: auto; align-items: center; }
.nmp-nav a { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft); padding: .4rem 0; position: relative; }
.nmp-nav a:hover { color: var(--ink); }
.nmp-nav a[aria-current="page"] { color: var(--ink); }
.nmp-nav a[aria-current="page"]::after { content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background: var(--accent); }
/* sélecteur de ville : cible ≥ 44px (UX_MOBILE §4), insécable, à droite */
.nmp-city-select { display: inline-flex; align-items: center; gap: .4rem; flex: none; min-height: var(--tap); white-space: nowrap; font-size: var(--fs-sm); font-weight: 600; padding: .35rem .7rem; border: var(--border-w) solid var(--line-strong); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
.nmp-header__cta { margin-left: .2rem; flex: none; }
/* burger : cible carrée ≥ 44px (UX_MOBILE §4). Caché tant que la nav desktop tient. */
.nmp-menu-btn { display: none; min-width: var(--tap); min-height: var(--tap); padding: 0; justify-content: center; }

/* ---- Sélecteur de ville = <details> natif (zéro JS) ---------------- */
.nmp-citymenu { position: relative; flex: none; }
.nmp-citymenu > summary { list-style: none; }
.nmp-citymenu > summary::-webkit-details-marker { display: none; }
.nmp-citymenu__cur { white-space: nowrap; }
.nmp-menu__chev { transition: transform .15s ease; flex: none; color: var(--ink-soft); }
.nmp-citymenu[open] > summary .nmp-menu__chev { transform: rotate(-90deg); }
.nmp-citymenu__panel,
.nmp-menu__panel {
  position: absolute; top: calc(100% + .5rem); right: 0; z-index: 60;
  min-width: 14rem; max-width: min(20rem, calc(100vw - 1.5rem));
  background: var(--surface); border: var(--border-w) solid var(--line-strong);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: .5rem; max-height: min(70vh, 26rem); overflow-y: auto;
}
.nmp-citymenu__list { list-style: none; margin: 0; padding: 0; }
.nmp-citymenu__list a,
.nmp-menu__cities a { display: flex; align-items: center; padding: .5rem .6rem; border-radius: var(--radius); font-size: var(--fs-sm); color: var(--ink); min-height: var(--tap); line-height: 1.4; }
.nmp-citymenu__list a:hover,
.nmp-menu__cities a:hover,
.nmp-menu__nav a:hover { background: var(--surface-2); }
.nmp-citymenu__all { display: inline-flex; align-items: center; gap: .4rem; margin: .35rem .2rem .15rem; padding: .55rem .4rem; min-height: var(--tap); font-size: var(--fs-sm); font-weight: 600; color: var(--accent-strong); border-top: var(--border-w) solid var(--line); width: calc(100% - .4rem); }

/* ---- Burger = <details> natif (zéro JS, déclencheur = summary) ----- */
.nmp-menu { position: relative; }
.nmp-menu > summary { list-style: none; }
.nmp-menu > summary::-webkit-details-marker { display: none; }
.nmp-menu__nav { display: flex; flex-direction: column; }
.nmp-menu__nav a { padding: .55rem .6rem; border-radius: var(--radius); font-size: var(--fs-sm); font-weight: 600; color: var(--ink); min-height: var(--tap); display: flex; align-items: center; }
.nmp-menu__nav a[aria-current="page"] { color: var(--accent-strong); }
.nmp-menu__group { margin-top: .4rem; padding-top: .4rem; border-top: var(--border-w) solid var(--line); }
.nmp-menu__head { display: block; padding: .15rem .6rem .3rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); }
.nmp-menu__cities { list-style: none; margin: 0; padding: 0; max-height: 16rem; overflow-y: auto; }
.nmp-menu__cta { margin-top: .5rem; width: 100%; justify-content: center; }

/* MOBILE-FIRST : par défaut (mobile) on est en mode burger — la nav desktop et le
   CTA inline sont masqués, le burger est visible. On REVÈLE la nav desktop à partir
   de 861px (et on masque alors le burger). Inverse du pattern desktop-first. */
.nmp-nav, .nmp-header__cta { display: none; }
.nmp-menu { margin-left: auto; }
.nmp-menu-btn { display: inline-flex; flex: none; }
@media (min-width: 861px) {
  .nmp-nav { display: flex; }
  .nmp-header__cta { display: inline-flex; }
  .nmp-menu { display: none; }
  .nmp-header__in { gap: 1.4rem; min-height: 64px; }
  .nmp-logo { max-width: none; }
}
/* Sélecteur de ville : le libellé courant ne doit pas, lui non plus, faire enfler le
   header sur un nom long (« Cherbourg-en-Cotentin ») — il se tronque en ellipsis sur
   UNE ligne. La cible reste ≥ 44px (min-height inchangé), on borne juste la LARGEUR. */
.nmp-citymenu__cur { display: inline-block; max-width: 9.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
/* Très petit écran (≤ 380px) : on resserre la gouttière interne du header et on
   plafonne plus durement logo + libellé ville pour tenir la ligne unique ≤ 64px à
   320/360px, SANS toucher aux cibles tactiles (min-height var(--tap) conservé). */
@media (max-width: 380px) {
  .nmp-header__in { gap: .5rem; }
  .nmp-logo { max-width: 50%; font-size: 1.02rem; }
  .nmp-city-select { padding-inline: .55rem; gap: .3rem; }
  .nmp-citymenu__cur { max-width: 6.5rem; }
  .nmp-citymenu__panel, .nmp-menu__panel { right: 0; max-width: calc(100vw - 1rem); }
}

/* ---------- Fil d'Ariane ------------------------------------------- */
.nmp-crumb { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: var(--fs-sm); color: var(--ink-soft); padding-block: 1rem; }
.nmp-crumb a:hover { color: var(--accent-strong); }
.nmp-crumb svg { width: .8em; height: .8em; color: var(--ink-faint); }
.nmp-crumb [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Disclosure (transparence) ------------------------------ */
.nmp-disclosure { display: flex; align-items: center; gap: .7rem; font-size: var(--fs-sm); color: var(--ink-soft); padding: .8rem 1rem; background: var(--surface-2); border: var(--border-w) solid var(--line); border-radius: var(--radius); }
.nmp-disclosure svg { width: 1.2em; height: 1.2em; color: var(--ink-soft); flex: none; }
.nmp-disclosure b { color: var(--ink); font-weight: 700; }

/* ---------- Liens DANS LE CONTENU (prose SEO / éditorial / FAQ) -----
   Retour client : les liens in-text (maillage interne `seo_intext` + affiliés
   `aff_intext`, rel="sponsored") héritaient du reset doux `.nmp-site a {color:inherit;
   text-decoration:none}` → invisibles. On les rend distinctifs UNIQUEMENT dans les
   conteneurs de prose, sans toucher nav/footer/cartes/boutons/chips/auteur/ariane
   (stylés exprès ailleurs). Couleur = `--accent-strong` (variante AA pour petit
   texte, theme-aware : foncée sur fonds clairs, claire sur fonds sombres → AA 4.5:1
   garanti sur les 12 squelettes, y c. K sombre). Soulignement = invariant n°1 même
   si la couleur d'accent passe inaperçue. Aucun dégradé / glow. `:not(.nmp-btn)` =
   garde-fou si un CTA atterrissait un jour dans la prose. */
.nmp-prose a:not(.nmp-btn),
.nmp-editorial__body a:not(.nmp-btn),
.nmp-faq__a a:not(.nmp-btn) {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  text-decoration-color: color-mix(in srgb, var(--accent-strong) 55%, transparent);
  border-radius: 2px;
}
.nmp-prose a:not(.nmp-btn):hover,
.nmp-editorial__body a:not(.nmp-btn):hover,
.nmp-faq__a a:not(.nmp-btn):hover {
  color: var(--accent);
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor;
}
.nmp-prose a:not(.nmp-btn):visited,
.nmp-editorial__body a:not(.nmp-btn):visited,
.nmp-faq__a a:not(.nmp-btn):visited { color: var(--accent-strong); }

/* ---------- Tableaux DANS LE CONTENU (markdown → <table class="nmp-seo-table">)
   Les textes SEO/FAQ peuvent contenir de vrais tableaux convertis depuis le
   markdown (md_inline.blockify_escaped). Sans style ils débordent / sont moches.
   Règle SOBRE, tokens uniquement, theme-aware (clair ET sombre) : aucun dégradé,
   aucun glow, aucun glassmorphism. MOBILE-FIRST : un tableau plus large que le
   viewport scrolle DANS son `__wrap` (overflow-x), JAMAIS la page (invariant
   anti-overflow 360/320, gate _check_overflow). Le fond d'entête = `--ink` à 5 %
   sur `transparent` : `--ink` est toujours la couleur de PREMIER PLAN du thème
   (sombre sur clair / clair sur sombre) → tint léger mais lisible dans les deux
   familles. Préfixe CSS par site : nmp- réécrit avec le reste du markup. */
.nmp-seo-table__wrap { overflow-x: auto; max-width: 100%; margin: 1.2rem 0; -webkit-overflow-scrolling: touch; }
.nmp-seo-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); line-height: 1.5; }
.nmp-seo-table th, .nmp-seo-table td { padding: .55rem .7rem; border: var(--border-w) solid var(--line); text-align: left; vertical-align: top; }
.nmp-seo-table thead th { background: color-mix(in srgb, var(--ink) 5%, transparent); color: var(--ink); font-weight: 600; }
/* zébrage très discret pour la lecture en diagonale, même teinte theme-aware */
.nmp-seo-table tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--ink) 2.5%, transparent); }
/* squelettes "A" (display capital) : entête en mono/maj pour rester cohérent */
.nmp-site--A .nmp-seo-table thead th { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }

/* ---------- HERO ---------------------------------------------------- */
.nmp-hero { position: relative; }
.nmp-hero__eyebrow { margin-bottom: 1.1rem; }
.nmp-hero__lead { font-family: var(--font-serif); font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); max-width: 54ch; }
.nmp-hero__meta { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; align-items: center; margin-top: 1.6rem; }

/* hero A — sombre, split éditorial impact */
.nmp-hero--impact { padding-top: clamp(2.4rem,1rem+5vw,5rem); padding-bottom: var(--section-y); }
.nmp-hero--impact .nmp-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem,1rem+3vw,3.2rem); align-items: end; }
.nmp-hero--impact .nmp-display { margin: .2rem 0 1.3rem; }
.nmp-hero--impact .nmp-hero__img { aspect-ratio: 4/5; border-radius: var(--radius-lg); }
.nmp-hero--impact .nmp-hero__statline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: var(--border-w) solid var(--line); border-radius: var(--radius); margin-top: 2rem; overflow: hidden; }
.nmp-hero--impact .nmp-hero__statline div { padding: .8rem .7rem; border-right: var(--border-w) solid var(--line); min-width: 0; }
.nmp-hero--impact .nmp-hero__statline div:last-child { border-right: 0; }
.nmp-hero--impact .nmp-hero__statline b { display:block; font-family: var(--font-head); font-size: clamp(1.3rem, 1rem + 1.6vw, 1.7rem); line-height:1; color: var(--ink); }
.nmp-hero--impact .nmp-hero__statline span { font-size: var(--fs-xs); color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }

/* hero B — clair, éditorial centré chapô + auteur */
.nmp-hero--editorial { padding-top: clamp(2rem,1rem+3vw,3.6rem); padding-bottom: clamp(1.6rem,1rem+2vw,2.6rem); }
.nmp-hero--editorial .nmp-hero__head { max-width: 22ch; margin-bottom: 1.4rem; }
.nmp-hero--editorial .nmp-hero__lead { font-size: clamp(1.2rem,1.05rem+.7vw,1.55rem); color: var(--ink); max-width: 60ch; }
.nmp-hero--editorial .nmp-hero__img { aspect-ratio: 21/9; border-radius: var(--radius-lg); margin-top: clamp(1.6rem,1rem+2vw,2.6rem); }

@media (max-width: 980px) {
  .nmp-hero--impact .nmp-hero__grid { grid-template-columns: 1fr; }
  .nmp-hero--impact .nmp-hero__img { aspect-ratio: 16/10; }
}

/* ---------- Top 3 / Podium ----------------------------------------- */
.nmp-top3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.nmp-podium { position: relative; display: grid; gap: .9rem; padding: 1.3rem; background: var(--surface); border: var(--border-w) solid var(--line); border-radius: var(--radius-lg); }
.nmp-podium__rank { position: absolute; top: -.5rem; left: 1.2rem; font-family: var(--font-head); font-weight: var(--weight-head); font-size: 2.2rem; line-height: 1; color: var(--accent); background: var(--surface); padding: 0 .25rem; }
.nmp-podium__img { aspect-ratio: 16/11; border-radius: var(--radius); margin-top: .8rem; }
.nmp-podium h3 { font-size: 1.15rem; }
.nmp-podium__meta { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; color: var(--ink-soft); font-size: var(--fs-sm); }
.nmp-site--A .nmp-podium { border-color: var(--line); box-shadow: var(--shadow-hard); }
.nmp-site--A .nmp-podium__rank { font-size: 2.8rem; top: -.7rem; }
@media (max-width: 860px){ .nmp-top3 { grid-template-columns: 1fr; } }

/* ---------- Bandeau stats (aplat) ---------------------------------- */
.nmp-stats { background: var(--ink); color: var(--bg); border-radius: var(--radius-lg); padding: clamp(1.6rem,1rem+2vw,2.6rem); display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.nmp-stats--accent { background: var(--accent); color: var(--accent-ink); }
.nmp-stats__item b { display: block; font-family: var(--font-head); font-weight: var(--weight-head); font-size: clamp(2rem,1.4rem+2vw,3rem); line-height: 1; }
.nmp-stats__item span { font-size: var(--fs-sm); opacity: .82; }
.nmp-stats--accent .nmp-stats__item span { opacity: .92; }
@media (max-width: 760px){ .nmp-stats { grid-template-columns: 1fr 1fr; } }

/* ---------- CLASSEMENT — variante RANGÉES (A) ---------------------- */
.nmp-rank-rows { display: grid; gap: 0; border-top: var(--border-w) solid var(--line); }
.nmp-rowplace { display: grid; grid-template-columns: auto 124px 1fr auto; gap: 1.3rem; align-items: center; padding: 1.4rem 0; border-bottom: var(--border-w) solid var(--line); }
.nmp-rowplace__n { font-family: var(--font-head); font-weight: var(--weight-head); font-size: clamp(2rem,1.4rem+1.6vw,3.2rem); line-height: 1; color: var(--ink-faint); width: 2ch; }
.nmp-rowplace:hover .nmp-rowplace__n { color: var(--accent); }
.nmp-rowplace__img { aspect-ratio: 5/4; border-radius: var(--radius); }
.nmp-rowplace__body { display: grid; gap: .5rem; }
.nmp-rowplace__title { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.nmp-rowplace__title h3 { font-size: 1.35rem; }
.nmp-rowplace__desc { color: var(--ink-soft); font-size: var(--fs-sm); max-width: 60ch; }
.nmp-rowplace__aside { display: grid; gap: .5rem; justify-items: end; text-align: right; min-width: 120px; }
@media (max-width: 860px){
  .nmp-rowplace { grid-template-columns: auto 1fr; grid-template-areas: "n body" "img img" "aside aside"; gap: .8rem 1rem; }
  .nmp-rowplace__n{grid-area:n;} .nmp-rowplace__body{grid-area:body;} .nmp-rowplace__img{grid-area:img; aspect-ratio:16/9;} .nmp-rowplace__aside{grid-area:aside; justify-items:start; text-align:left;}
}

/* ---------- CLASSEMENT — variante CARTES (B) ----------------------- */
/* minmax(min(100%, NNNpx), 1fr) : la 1re piste ne force JAMAIS une largeur > viewport
   → 1 colonne propre à 320/360, multi-colonnes quand la place existe (UX_MOBILE §7,
   zéro scroll horizontal sans media query réparatrice). */
.nmp-rank-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px),1fr)); gap: var(--gutter); }
.nmp-cardplace { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: var(--border-w) solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .16s ease, border-color .16s ease; }
.nmp-cardplace:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.nmp-cardplace__img { aspect-ratio: 16/10; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.nmp-cardplace__num { position: absolute; top: .7rem; left: .7rem; width: 30px; height: 30px; display: grid; place-items: center; background: var(--surface); color: var(--ink); border: var(--border-w) solid var(--line); border-radius: var(--radius); font-family: var(--font-mono); font-weight: 700; font-size: .9rem; }
.nmp-cardplace__body { display: grid; gap: .7rem; padding: 1.1rem 1.15rem 1.25rem; align-content: start; }
.nmp-cardplace__title { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; }
.nmp-cardplace__title h3 { font-size: 1.18rem; }
.nmp-cardplace__desc { color: var(--ink-soft); font-size: var(--fs-sm); }
.nmp-cardplace__foot { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; justify-content: space-between; padding-top: .5rem; border-top: var(--border-w) solid var(--line); }

/* ---------- Affiliés (monétisation) -------------------------------- */
.nmp-aff { display: grid; gap: 1rem; }
.nmp-affrow { display: grid; grid-template-columns: auto auto 1fr auto; gap: 1.2rem; align-items: center; padding: 1.2rem 1.3rem; background: var(--surface); border: var(--border-w) solid var(--line); border-radius: var(--radius-lg); }
.nmp-affrow--chosen { border-color: var(--accent); border-width: 2px; }
.nmp-affrow__rank { font-family: var(--font-mono); font-weight: 700; color: var(--ink-soft); width: 2ch; }
.nmp-afflogo { width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; color: #fff; font-size: 1.05rem; border: var(--border-w) solid rgba(0,0,0,.12); }
.nmp-affrow__main { display: grid; gap: .35rem; }
.nmp-affrow__name { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.nmp-affrow__name h3 { font-size: 1.15rem; }
.nmp-affrow__tag { color: var(--ink-soft); font-size: var(--fs-sm); }
.nmp-affrow__pc { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-top: .2rem; }
.nmp-pro, .nmp-con { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--fs-xs); color: var(--ink-soft); }
.nmp-pro svg { color: var(--accent2); } .nmp-con svg { color: var(--ink-faint); }
.nmp-affrow__aside { display: grid; gap: .55rem; justify-items: end; }
.nmp-badge-chosen { position: absolute; }
.nmp-affrow { position: relative; }
.nmp-affrow__flag { position: absolute; top: -.7rem; right: 1.2rem; background: var(--accent); color: var(--accent-ink); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .2rem .55rem; border-radius: var(--radius); }
.nmp-promo { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--accent-strong); border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); padding: .2rem .45rem; border-radius: var(--radius); }
@media (max-width: 860px){
  .nmp-affrow { grid-template-columns: auto auto 1fr; }
  .nmp-affrow__aside { grid-column: 1/-1; justify-items: start; border-top: var(--border-w) solid var(--line); padding-top: .8rem; }
}

/* ---------- Témoignages -------------------------------------------- */
.nmp-stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px),1fr)); gap: var(--gutter); }
.nmp-story { display: grid; gap: .9rem; padding: 1.4rem; background: var(--surface); border: var(--border-w) solid var(--line); border-radius: var(--radius-lg); }
.nmp-story blockquote { font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.5; color: var(--ink); }
.nmp-story__who { display: flex; align-items: center; gap: .7rem; }
.nmp-story__av { width: 38px; height: 38px; border-radius: var(--radius-pill); flex: none; }
.nmp-story__who b { font-size: var(--fs-sm); } .nmp-story__who span { font-size: var(--fs-xs); color: var(--ink-soft); }
.nmp-story__place { font-size: var(--fs-xs); font-family: var(--font-mono); color: var(--accent-strong); }
.nmp-site--A .nmp-story__av { border-radius: var(--radius); }

/* ---------- Méthodologie (E-E-A-T) --------------------------------- */
.nmp-method { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px),1fr)); gap: var(--gutter); counter-reset: step; }
.nmp-method__step { display: grid; gap: .6rem; padding-top: 1.2rem; border-top: 2px solid var(--ink); }
.nmp-method__step::before { counter-increment: step; content: counter(step,decimal-leading-zero); font-family: var(--font-mono); font-weight: 700; color: var(--accent-strong); font-size: var(--fs-sm); }
.nmp-method__step h3 { font-size: 1.05rem; }
.nmp-method__step svg { width: 1em; height: 1em; }
.nmp-method__step p { color: var(--ink-soft); font-size: var(--fs-sm); }

/* ---------- Bloc auteur (E-E-A-T) ---------------------------------- */
.nmp-author { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; padding: 1.4rem; background: var(--surface-2); border: var(--border-w) solid var(--line); border-radius: var(--radius-lg); }
.nmp-author--inline { background: transparent; border: 0; padding: 0; align-items: center; }
.nmp-author__photo { width: 76px; height: 76px; border-radius: var(--radius-pill); flex: none; }
.nmp-site--A .nmp-author__photo { border-radius: var(--radius); }
.nmp-author__name { display: flex; align-items: center; flex-wrap: wrap; row-gap: .2rem; gap: .5rem; font-family: var(--font-head); font-weight: var(--weight-h); font-size: 1.15rem; }
.nmp-author__role { font-size: var(--fs-xs); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-strong); margin-top: .25rem; }
.nmp-author__bio { color: var(--ink-soft); font-size: var(--fs-sm); margin-top: .4rem; max-width: 60ch; }
.nmp-author__stats { display: flex; flex-wrap: wrap; gap: .4rem .6rem; margin-top: .7rem; }
.nmp-verify { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; font-size: var(--fs-xs); color: var(--accent2); font-weight: 700; }
.nmp-verify svg { width: 1em; height: 1em; }

/* ---------- Date MAJ ------------------------------------------------ */
.nmp-updated { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--fs-sm); color: var(--ink-soft); }
.nmp-updated svg { width: 1em; height: 1em; }
.nmp-updated time { color: var(--ink); font-weight: 600; }

/* ---------- Éditorial long-forme ----------------------------------- */
.nmp-editorial { display: grid; gap: 1.4rem; }
.nmp-editorial__body { font-family: var(--font-serif); font-size: var(--fs-lead); line-height: var(--leading-body); color: var(--ink); max-width: var(--measure); }
.nmp-editorial__body p + p { margin-top: 1.2em; }
.nmp-editorial__lead { font-family: var(--font-serif); font-size: clamp(1.25rem,1.1rem+.8vw,1.7rem); line-height: 1.42; color: var(--ink); max-width: 34ch; }
.nmp-editorial__body p:first-of-type::first-letter {
  font-family: var(--font-head); font-weight: var(--weight-head);
  font-size: 3.2em; line-height: .78; float: left; padding: .04em .12em 0 0; color: var(--accent);
}
.nmp-site--B .nmp-editorial { grid-template-columns: minmax(0,30ch) minmax(0,1fr); gap: clamp(1.5rem,1rem+3vw,3.5rem); }
@media (max-width: 980px){ .nmp-site--B .nmp-editorial { grid-template-columns: 1fr; } }

/* ---------- Offre du mois ------------------------------------------ */
.nmp-offer { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; border: 2px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; }
.nmp-offer__body { padding: clamp(1.5rem,1rem+2vw,2.4rem); display: grid; gap: 1rem; align-content: center; }
.nmp-offer__side { background: var(--ink); color: var(--bg); padding: clamp(1.5rem,1rem+2vw,2.4rem); display: grid; gap: .8rem; align-content: center; }
.nmp-offer__side .nmp-promo { color: var(--accent); border-color: var(--accent); }
.nmp-offer h2 { font-size: var(--fs-h2); }
@media (max-width: 760px){ .nmp-offer { grid-template-columns: 1fr; } }

/* ---------- Maillage interne --------------------------------------- */
.nmp-mesh { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px),1fr)); gap: var(--gutter); }
.nmp-mesh__col h3 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); font-family: var(--font-mono); font-weight: 600; margin-bottom: .8rem; }
.nmp-mesh__col ul { display: grid; gap: .15rem; }
.nmp-mesh__col a { display: inline-flex; align-items: center; gap: .4rem; min-height: var(--tap); padding: .55rem 0; font-size: var(--fs-sm); color: var(--ink); border-bottom: var(--border-w) solid transparent; }
.nmp-mesh__col a:hover { color: var(--accent-strong); }
.nmp-mesh__col a svg { width: .75em; height: .75em; color: var(--ink-faint); }
.nmp-mesh__static { display: inline-flex; padding: .4rem 0; font-size: var(--fs-sm); color: var(--ink-soft); }

/* ---------- FAQ accordéon (a11y) ----------------------------------- */
.nmp-faq { display: grid; gap: 0; border-top: var(--border-w) solid var(--line); max-width: 820px; }
.nmp-faq details { border-bottom: var(--border-w) solid var(--line); }
.nmp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; font-family: var(--font-head); font-weight: var(--weight-h); font-size: 1.1rem; list-style: none; cursor: pointer; min-height: 44px; }
.nmp-faq summary::-webkit-details-marker { display: none; }
.nmp-faq summary .nmp-faq__ico { flex: none; width: 1.1rem; height: 1.1rem; color: var(--accent); transition: transform .2s ease; }
.nmp-faq details[open] summary .nmp-faq__ico { transform: rotate(45deg); }
.nmp-faq__a { padding: 0 0 1.3rem; color: var(--ink-soft); max-width: 68ch; line-height: 1.6; }

/* ---------- Footer -------------------------------------------------- */
.nmp-footer { background: var(--surface-2); border-top: var(--border-w) solid var(--line); padding-block: clamp(2.5rem,2rem+2vw,4rem); margin-top: var(--section-y); }
.nmp-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: var(--gutter); }
.nmp-footer__brand { display: grid; gap: .9rem; align-content: start; }
.nmp-footer__brand p { color: var(--ink-soft); font-size: var(--fs-sm); max-width: 40ch; }
.nmp-footer h4 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-family: var(--font-mono); font-weight: 600; margin-bottom: .9rem; }
.nmp-footer ul { display: grid; gap: .5rem; }
.nmp-footer a { font-size: var(--fs-sm); color: var(--ink); } .nmp-footer a:hover { color: var(--accent-strong); }
.nmp-footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: clamp(2rem,1.5rem+2vw,3rem); padding-top: 1.4rem; border-top: var(--border-w) solid var(--line); font-size: var(--fs-xs); color: var(--ink-soft); }
@media (max-width: 760px){ .nmp-footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Switcher de démo (hors site) --------------------------- */
.demo-bar { position: fixed; z-index: 100; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: .4rem; background: #15120f; color: #f5f1ea; border: 1px solid #2c2722; border-radius: 999px; padding: .4rem .5rem; box-shadow: 0 8px 30px rgba(0,0,0,.28); font-family: ui-sans-serif, system-ui, sans-serif; }
.demo-bar button { font-size: 13px; font-weight: 600; color: #b8b0a6; padding: .5rem .95rem; border-radius: 999px; min-height: 40px; }
.demo-bar button[data-on="1"] { background: #f5f1ea; color: #15120f; }
.demo-bar .demo-bar__lbl { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #6f675e; padding-left: .6rem; white-space: nowrap; }
.demo-bar { max-width: 94vw; overflow-x: auto; scrollbar-width: thin; }
.demo-bar button { white-space: nowrap; flex: none; }

/* =====================================================================
   SQUELETTES 2 — heros & classements supplémentaires (C→G)
   ===================================================================== */

/* ---------- HERO C — POSTER (fun/pop) ------------------------------ */
.nmp-hero--poster { padding-block: clamp(1.4rem,1rem+2vw,2.4rem) clamp(2rem,1.4rem+2.5vw,3.2rem); }
.nmp-poster { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(1.2rem,.6rem+2vw,2rem); align-items: start; }
.nmp-poster__block { background: var(--accent); color: var(--accent-ink); border: var(--border-w) solid var(--ink); border-radius: var(--radius-lg); padding: clamp(2rem,1.4rem+2.4vw,3.2rem); box-shadow: var(--shadow-hard); display: grid; align-content: start; gap: 1.1rem; }
.nmp-poster__block .nmp-eyebrow { color: var(--accent-ink); }
.nmp-poster__block .nmp-display { color: var(--accent-ink); }
.nmp-poster__lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--accent-ink); max-width: 42ch; }
.nmp-poster__stats { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: .2rem; }
.nmp-poster__stats b { display: block; font-family: var(--font-head); font-size: 1.9rem; line-height: 1; }
.nmp-poster__stats span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
.nmp-poster__side { display: grid; grid-template-rows: 1fr auto; gap: 1rem; }
.nmp-poster__img { border-radius: var(--radius-lg); border: var(--border-w) solid var(--ink); min-height: 200px; }
@media (min-width: 901px){ .nmp-poster__side { align-self: stretch; } }
.nmp-poster__by { display: grid; gap: .8rem; }
@media (max-width: 900px){ .nmp-poster { grid-template-columns: 1fr; } .nmp-poster__img { aspect-ratio: 16/10; min-height: 0; } }

/* ---------- HERO D — COMPACT (annuaire dense) ---------------------- */
.nmp-hero--compact { padding-block: clamp(1.4rem,1rem+1.5vw,2.2rem) 0; }
.nmp-compact { display: grid; grid-template-columns: 1.4fr auto; gap: 1.5rem 2rem; align-items: end; padding-bottom: 1.4rem; }
.nmp-compact h1 { margin: .4rem 0 .7rem; }
.nmp-compact__meta { display: grid; gap: .9rem; justify-items: end; }
.nmp-compact__bar { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; justify-content: space-between; padding: .8rem 0; border-block: var(--border-w) solid var(--line); }
.nmp-compact__search { display: inline-flex; align-items: center; gap: .6rem; flex: 1 1 320px; min-width: 240px; padding: .7rem 1rem; border: var(--border-w) solid var(--line-strong); border-radius: var(--radius); color: var(--ink-faint); font-size: var(--fs-sm); background: var(--surface); }
.nmp-compact__search svg { width: 1.1em; height: 1.1em; color: var(--accent); }
@media (max-width: 860px){ .nmp-compact { grid-template-columns: 1fr; } .nmp-compact__meta { justify-items: start; } }

/* ---------- HERO E — QUIET (premium clair) ------------------------- */
.nmp-hero--quiet { padding-block: clamp(2.4rem,1.5rem+4vw,5rem) 0; }
.nmp-quiet__head { display: grid; justify-items: center; text-align: center; gap: 1.2rem; }
.nmp-quiet__rule { width: 64px; height: 2px; background: var(--accent); border: 0; }
.nmp-quiet__head .nmp-hero__lead { max-width: 56ch; color: var(--ink-soft); }
.nmp-quiet__meta { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; align-items: center; justify-content: center; margin-top: .6rem; }
.nmp-quiet__img { aspect-ratio: 21/8; border-radius: var(--radius-lg); margin-top: clamp(2.4rem,1.5rem+3vw,4rem); }

/* ---------- HERO F — HOMEMADE (fait-maison) ------------------------ */
.nmp-hero--homemade { padding-block: clamp(1.8rem,1rem+2vw,2.8rem) 0; }
.nmp-hero--homemade h1 { margin: .5rem 0 .8rem; max-width: 18ch; }
.nmp-hero--homemade .nmp-hero__lead { color: var(--ink-soft); }
.nmp-homemade__fig { margin: clamp(1.4rem,1rem+1.5vw,2rem) 0 1.2rem; }
.nmp-homemade__img { aspect-ratio: 16/9; border-radius: var(--radius); }
.nmp-homemade__cap { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-soft); margin-top: .5rem; }
.nmp-homemade__by { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }

/* ---------- HERO G — MASTHEAD (sombre éditorial sérieux) ----------- */
.nmp-hero--masthead { padding-block: clamp(1.4rem,1rem+1.5vw,2.2rem) 0; }
.nmp-masthead__top { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-block: 2px solid var(--ink); font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); }
.nmp-masthead__top span:first-child { color: var(--ink); font-weight: 700; }
.nmp-masthead__head { display: grid; justify-items: center; text-align: center; gap: 1rem; padding-block: clamp(1.8rem,1.2rem+2vw,3rem); }
.nmp-masthead__head .nmp-display { max-width: 18ch; }
.nmp-masthead__head .nmp-hero__lead { max-width: 60ch; color: var(--ink-soft); font-family: var(--font-serif); }
.nmp-masthead__byline { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between; align-items: center; padding: .8rem 0; border-block: var(--border-w) solid var(--line); font-size: var(--fs-sm); color: var(--ink-soft); }
.nmp-masthead__byline b { color: var(--ink); }
.nmp-masthead__img { aspect-ratio: 21/8; margin-top: 1.4rem; }

/* ---------- CLASSEMENT C — TILES (fun/pop) ------------------------- */
.nmp-rank-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px),1fr)); gap: var(--gutter); }
.nmp-tile { display: grid; gap: .8rem; padding: 1.2rem; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-hard); }
.nmp-tile__top { display: flex; align-items: center; justify-content: space-between; }
.nmp-tile__n { font-family: var(--font-head); font-weight: var(--weight-head); font-size: 2.2rem; line-height: 1; color: var(--accent); }
.nmp-tile__img { aspect-ratio: 16/10; border-radius: var(--radius); border: var(--border-w) solid var(--ink); }
.nmp-tile__desc { color: var(--ink-soft); font-size: var(--fs-sm); }
.nmp-tile__foot { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between; padding-top: .4rem; border-top: 2px solid var(--line); }

/* ---------- CLASSEMENT D — TABLE (annuaire dense) ------------------ */
.nmp-rank-table-wrap { overflow-x: auto; border: var(--border-w) solid var(--line); border-radius: var(--radius); }
.nmp-rank-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 640px; }
.nmp-rank-table thead th { text-align: left; font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); font-weight: 600; padding: .8rem 1rem; border-bottom: var(--border-w) solid var(--line-strong); background: var(--surface-2); position: sticky; top: 0; }
.nmp-rank-table tbody td { padding: .85rem 1rem; border-bottom: var(--border-w) solid var(--line); vertical-align: middle; }
.nmp-rank-table tbody tr:nth-child(even) { background: var(--surface-2); }
.nmp-rank-table tbody tr:hover { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.nmp-rank-table tbody tr:last-child td { border-bottom: 0; }
.nmp-rank-table__n { font-family: var(--font-mono); font-weight: 700; color: var(--accent-strong); width: 2.5rem; }
.nmp-rank-table__name b { font-family: var(--font-head); font-weight: var(--weight-h); font-size: 1.02rem; display: block; }
.nmp-rank-table__name span { font-size: var(--fs-xs); color: var(--ink-faint); }
.nmp-mono-cell { font-family: var(--font-mono); color: var(--ink-soft); }

/* ---------- CLASSEMENT E — FEATURE (premium clair) ---------------- */
.nmp-rank-feature { display: grid; gap: clamp(2rem,1.5rem+2vw,3.4rem); }
.nmp-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.4rem,1rem+2vw,2.6rem); align-items: center; }
.nmp-feature[data-flip="1"] .nmp-feature__img { order: 2; }
.nmp-feature__img { aspect-ratio: 4/3; border-radius: var(--radius-lg); }
.nmp-feature__body { display: grid; gap: .8rem; align-content: center; }
.nmp-feature__n { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-strong); }
.nmp-feature__body h3 { font-size: clamp(1.5rem,1.2rem+1vw,2.1rem); }
.nmp-feature__meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; color: var(--ink-soft); font-size: var(--fs-sm); }
.nmp-feature__desc { font-family: var(--font-serif); font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); max-width: 52ch; }
.nmp-feature__foot { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; margin-top: .3rem; }
@media (max-width: 860px){ .nmp-feature { grid-template-columns: 1fr; } .nmp-feature[data-flip="1"] .nmp-feature__img { order: 0; } }

/* ---------- CLASSEMENT F — LIST (fait-maison) --------------------- */
.nmp-rank-list { display: grid; gap: 0; max-width: 760px; counter-reset: none; border-top: var(--border-w) solid var(--line); }
.nmp-listitem { display: grid; grid-template-columns: auto 84px 1fr; gap: 1rem 1.1rem; align-items: start; padding: 1.3rem 0; border-bottom: var(--border-w) solid var(--line); }
.nmp-listitem__n { font-family: var(--font-head); font-weight: var(--weight-head); font-size: 1.4rem; color: var(--ink-faint); }
.nmp-listitem__img { width: 84px; aspect-ratio: 1/1; border-radius: var(--radius); }
.nmp-listitem__body { display: grid; gap: .45rem; }
.nmp-listitem__title { display: flex; align-items: baseline; gap: .8rem; justify-content: space-between; flex-wrap: wrap; }
.nmp-listitem__title h3 { font-size: 1.2rem; }
.nmp-listitem__meta { font-size: var(--fs-sm); color: var(--ink-soft); }
.nmp-listitem__desc { font-size: var(--fs-sm); color: var(--ink); }
.nmp-listitem__vibe { font-size: var(--fs-xs); color: var(--ink-soft); }
@media (max-width: 620px){ .nmp-listitem { grid-template-columns: auto 1fr; } .nmp-listitem__img { grid-column: 2; width: 100%; aspect-ratio: 16/9; } }

/* =====================================================================
   SQUELETTE H — LE MAGAZINE (clair éditorial print « mensuel de ville »)
   ===================================================================== */
/* ---------- HERO H — MAGAZINE (bandeau de une) --------------------- */
.nmp-hero--magazine { padding-block: clamp(1.4rem,1rem+1.5vw,2.4rem) var(--section-y); }
.nmp-mag__rail { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .7rem 0; border-block: 2px solid var(--line-strong); }
.nmp-mag__kicker { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.nmp-mag__rail .nmp-mag__kicker:first-child { color: var(--ink); font-weight: 500; }
/* MOBILE-FIRST : le bloc de tête occupe TOUTE la gouttière. La mesure éditoriale du
   titre est portée par le h1 lui-même (max-width en ch, résolu sur SA grande fonte),
   pas par un cap `ch` sur ce conteneur (qui se résoudrait sur la fonte de CORPS de 17px
   → ~165px, d'où le titre empilé mot par mot en desktop, régression 2026-06-07). */
.nmp-mag__head { margin: clamp(1.6rem,1rem+2vw,2.6rem) 0 0; }
.nmp-mag__h1 { max-width: 15ch; font-size: clamp(2.1rem,1.4rem+3.2vw,3.9rem); line-height: 1.02; margin: .8rem 0 1rem; }
.nmp-mag__lead { max-width: 60ch; font-family: var(--font-serif); font-size: clamp(1.15rem,1.05rem+.6vw,1.45rem); line-height: 1.5; color: var(--ink); }
.nmp-mag__byline { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; margin-top: 1.4rem; padding-top: 1rem; border-top: var(--border-w) solid var(--line); }
.nmp-mag__figure { margin: clamp(1.8rem,1.2rem+2vw,3rem) 0 0; }
.nmp-mag__img { aspect-ratio: 4/3; border-radius: var(--radius); border: var(--border-w) solid var(--line); }
.nmp-mag__cap { font-family: var(--font-serif); font-style: italic; font-size: var(--fs-sm); color: var(--ink-soft); padding-top: .7rem; }
/* Desktop : la photo de une retrouve son bandeau panoramique (21/9) ; sur mobile elle
   reste en 4/3 (base ci-dessus) pour ne pas écraser le sujet sur écran étroit. */
@media (min-width: 861px){ .nmp-mag__img { aspect-ratio: 21/9; } }

/* ---------- CLASSEMENT H — EDITORIAL (carnet d'adresses numéroté) -- */
.nmp-rank-mag { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: var(--border-w) solid var(--line); }
.nmp-magplace { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1rem,.6rem+2vw,2rem); align-items: start; padding: clamp(1.3rem,1rem+1.4vw,1.8rem) 0; border-bottom: var(--border-w) solid var(--line); }
.nmp-magplace__n { font-family: var(--font-head); font-weight: var(--weight-head); font-size: clamp(1.9rem,1.3rem+2.4vw,2.9rem); line-height: 1; color: var(--line-strong); font-variant-numeric: lining-nums; min-width: 1.6ch; }
.nmp-magplace:hover .nmp-magplace__n { color: var(--accent-strong); }
.nmp-magplace__body { min-width: 0; display: grid; gap: .55rem; }
.nmp-magplace__head { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.nmp-magplace__name { font-family: var(--font-head); font-weight: var(--weight-h); font-size: clamp(1.3rem,1.1rem+1vw,1.7rem); line-height: 1.1; }
/* note accolée au nom (UX_MOBILE §6) — sur mobile l'aside (grand score) est masqué
   pour ne pas dupliquer ; il revient en colonne droite dès qu'il y a la place. */
.nmp-magplace__note { font-family: var(--font-head); font-weight: var(--weight-head); font-size: 1.15rem; color: var(--accent-strong); white-space: nowrap; }
.nmp-magplace__note span { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-soft); font-weight: 500; }
@media (min-width: 721px) { .nmp-magplace__note { display: none; } }
.nmp-magplace__tags { display: flex; flex-wrap: wrap; gap: .3rem .5rem; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.nmp-magplace__sep { color: var(--line-strong); }
.nmp-magplace__verdict { font-family: var(--font-serif); font-style: italic; font-size: 1.02rem; color: var(--ink); max-width: 56ch; }
.nmp-magplace__aside { display: grid; gap: .8rem; justify-items: end; text-align: right; min-width: 124px; }
.nmp-magscore { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.nmp-magscore b { font-family: var(--font-head); font-weight: var(--weight-head); font-size: clamp(1.7rem,1.3rem+1.4vw,2.4rem); color: var(--ink); }
.nmp-magscore span { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .03em; text-transform: uppercase; color: var(--ink-soft); margin-top: .25rem; }
@media (max-width: 720px){
  .nmp-magplace { grid-template-columns: auto 1fr; }
  .nmp-magplace__aside { grid-column: 2; justify-items: start; text-align: left; padding-top: .4rem; border-top: var(--border-w) solid var(--line); }
  .nmp-magscore { display: none; }   /* note déjà accolée au nom (nmp-magplace__note) */
}

/* =====================================================================
   SQUELETTE I — REPÈRE (sombre fonctionnel « app utilitaire », mobile-first)
   Tout en aplat : aucune ombre teintée, aucun glow, aucun glassmorphism.
   --shadow-hard = liseré sombre net (offset noir) ; l'accent reste réservé
   à l'action (CTA, pastille de note : star seule en accent).
   ===================================================================== */
/* ---------- HERO I — APPBAR (bandeau d'app compact + chips de filtres) -- */
.nmp-hero--appbar { padding-block: clamp(1.2rem,1rem+1vw,2rem) clamp(1.4rem,1rem+1.5vw,2.2rem); border-bottom: var(--border-w) solid var(--line); }
.nmp-hero--appbar .nmp-hero__eyebrow { margin-bottom: .7rem; }
.nmp-app__h1 { font-family: var(--font-head); font-weight: var(--weight-head); font-size: clamp(1.9rem,1.4rem+2.4vw,2.9rem); line-height: 1.08; letter-spacing: var(--tracking-head); margin: 0 0 .55rem; max-width: 18ch; }
.nmp-app__sub { color: var(--ink-soft); font-size: clamp(1rem,.96rem+.2vw,1.15rem); max-width: 48ch; margin: 0 0 1rem; }
.nmp-app__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; }
.nmp-app__meta .nmp-hero__cta { margin-top: 0; }
/* rangée de chips de filtres (scroll horizontal au pouce, jamais wrap) */
.nmp-appchips { display: flex; gap: .5rem; overflow-x: auto; margin: 1.1rem calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) .3rem; scrollbar-width: none; }
.nmp-appchips::-webkit-scrollbar { display: none; }
.nmp-appchip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 .9rem; white-space: nowrap;
  background: var(--surface); color: var(--ink-soft); border: var(--border-w) solid var(--line); border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: var(--fs-sm); }
.nmp-appchip--on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }

/* ---------- CLASSEMENT I — APPROWS (cartes-rangées denses scannables) ---- */
.nmp-rank-app { display: flex; flex-direction: column; gap: .7rem; }
.nmp-arow { background: var(--surface); border: var(--border-w) solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-hard); }
.nmp-arow--top { border-color: var(--line-strong); }
.nmp-arow__main { display: grid; grid-template-columns: auto 56px 1fr auto; align-items: center; gap: .85rem; padding: var(--row-pad, .9rem); }
.nmp-arow__rank { font-family: var(--font-mono); font-weight: 700; font-size: .95rem; color: var(--ink-faint); min-width: 1.8ch; text-align: center; }
.nmp-arow--top .nmp-arow__rank { color: var(--accent); }
.nmp-arow__thumb { width: 56px; height: 56px; border-radius: var(--radius); aspect-ratio: 1/1; }
.nmp-arow__body { min-width: 0; }
/* titre + note accolée (UX_MOBILE §6) : la pastille NOTE est poussée à droite du nom */
.nmp-arow__title { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.nmp-arow__title h3 { font-family: var(--font-head); font-weight: var(--weight-h); font-size: 1.05rem; line-height: 1.15; letter-spacing: var(--tracking-head); min-width: 0; }
.nmp-arow__title .nmp-notepill { flex: none; }
.nmp-arow__sub { display: flex; align-items: center; gap: .35rem; margin-top: .15rem; font-size: var(--fs-sm); color: var(--ink-faint); }
.nmp-arow__sub svg { color: var(--ink-faint); flex: none; }
.nmp-arow__dot { color: var(--line-strong); }
.nmp-arow__line { margin-top: .35rem; font-size: var(--fs-sm); color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nmp-arow__aside { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
/* pastille NOTE : mono sur aplat surface-2, liseré net ; SEULE la star prend l'accent */
.nmp-notepill { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-mono); font-weight: 700; font-size: .9rem;
  padding: .25rem .5rem; border-radius: var(--radius); background: var(--surface-2); color: var(--ink); border: var(--border-w) solid var(--line-strong); }
.nmp-notepill svg { width: .8em; height: .8em; color: var(--accent); }
.nmp-arow__detail { padding: 0 var(--row-pad, .9rem) var(--row-pad, .9rem); border-top: var(--border-w) solid var(--line); display: grid; gap: .6rem; padding-top: .8rem; }
@media (max-width: 620px) {
  .nmp-arow__main { grid-template-columns: auto 1fr auto; }
  .nmp-arow__thumb { display: none; }
  .nmp-arow__line { white-space: normal; }
}

/* =====================================================================
   SQUELETTE J — LE CARNET (clair « fait-maison crédible », carnet d'habitant·e)
   Le plus épuré : filets fins, ombres NEUTRES minimales, corps en serif (lecture
   carnet). Touche manuscrite = SVG (soulignement feutre + astérisque), jamais
   un emoji, jamais une police « comic ». Aucun dégradé / glow / glass.
   ===================================================================== */
/* ---------- HERO J — CARNET (intro personnelle + soulignement feutre) ---- */
.nmp-hero--carnet { padding-block: clamp(1.6rem,1.1rem+1.6vw,2.6rem) clamp(1.4rem,1rem+1.5vw,2.2rem); }
.nmp-carnet__ast { color: var(--accent); font-weight: 700; }
.nmp-carnet__h1 { font-size: clamp(2rem,1.4rem+2.8vw,3rem); line-height: 1.12; margin: .2rem 0 .9rem; max-width: 17ch; }
.nmp-carnet__scribwrap { position: relative; display: inline; }
.nmp-carnet__scribble { position: absolute; left: -1%; bottom: -.34em; width: 102%; height: .42em; color: var(--accent); overflow: visible; }
.nmp-carnet__lead { font-family: var(--font-serif); font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; margin-bottom: 1.3rem; }
.nmp-carnet__by { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; }
.nmp-carnet__fig { margin: clamp(1.4rem,1rem+1.5vw,2rem) 0 0; }
.nmp-carnet__img { aspect-ratio: 4/3; border-radius: var(--radius-lg); border: var(--border-w) solid var(--line-strong); }
.nmp-carnet__cap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: var(--font-serif); font-style: italic; font-size: var(--fs-sm); color: var(--ink-faint); padding-top: .55rem; }
.nmp-carnet__credit { font-style: normal; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: -.02em; }

/* ---------- CLASSEMENT J — ANNOTATED (liste annotée, filets fins) -------- */
.nmp-rank-carnet { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
.nmp-cplace { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; padding: clamp(1.2rem,1rem+1vw,1.5rem) 0; border-top: var(--border-w) solid var(--line); }
.nmp-cplace:first-child { border-top: 0; }
.nmp-cplace__num { font-family: var(--font-head); font-weight: var(--weight-head); font-size: 1.5rem; line-height: 1; color: var(--ink-faint); min-width: 1.4ch; text-align: right; }
.nmp-cplace--top .nmp-cplace__num { color: var(--accent); }
.nmp-cplace__body { min-width: 0; display: grid; gap: .5rem; }
.nmp-cplace__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem .8rem; }
.nmp-cplace__top h3 { font-size: clamp(1.2rem,1.05rem+.7vw,1.4rem); }
.nmp-cplace__type { font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-strong); background: var(--surface); border: var(--border-w) solid var(--line); padding: .18em .6em; border-radius: var(--radius-pill); }
.nmp-cplace__area { font-family: var(--font-serif); font-style: italic; color: var(--ink-faint); font-size: var(--fs-sm); }
.nmp-cplace__rate { display: inline-flex; align-items: center; gap: .5rem; }
.nmp-cplace__rate .nmp-stars { color: var(--accent); }
.nmp-cplace__val { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); color: var(--ink-soft); }
.nmp-cplace__verdict { font-family: var(--font-serif); font-style: italic; font-size: 1.02rem; color: var(--ink-soft); border-left: 2px solid var(--line-strong); padding-left: .85rem; max-width: 58ch; }
.nmp-cplace__vibe { margin-top: .1rem; }
.nmp-cplace__facts { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
@media (max-width: 540px) { .nmp-cplace { gap: .8rem; } }

/* =====================================================================
   SQUELETTE K — LE CLUB DE NUIT (sombre sensuel « after-dark », immersif)
   Noir profond + UN accent vif en aplat. Ombres DURES décalées (blur 0),
   jamais de glow. Le scrim hero est un APLAT opaque (jamais un dégradé).
   ===================================================================== */
/* ---------- HERO K — NIGHTCLUB (immersif : média + scrim + filet) ------- */
.nmp-hero--nightclub { position: relative; overflow: hidden; border-bottom: var(--border-w) solid var(--line); }
.nmp-night__media { position: absolute; inset: 0; z-index: 0; }
.nmp-night__img { width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; }
.nmp-night__media .nmp-hatch { height: 100%; }
.nmp-night__scrim { position: absolute; inset: 0; z-index: 1; background: rgba(6,4,5,.66); }  /* aplat opaque, jamais un dégradé */
.nmp-night__edge { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; z-index: 2; background: var(--accent); }
.nmp-night__in { position: relative; z-index: 3; padding-block: clamp(3.4rem,2rem+6vw,8rem); }
.nmp-night__grid { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: clamp(1.6rem,1rem+3vw,3rem); }
.nmp-night__h1 { font-size: clamp(2.8rem,1.8rem+6.6vw,8rem); line-height: 1.02; max-width: 14ch; margin: clamp(1rem,.6rem+1.4vw,1.8rem) 0 0; }
.nmp-night__lead { margin-top: clamp(1.4rem,1rem+1.6vw,2.4rem); max-width: 52ch; }
.nmp-night__sign { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.6rem; margin-top: clamp(1.4rem,1rem+1.4vw,2.2rem); }
.nmp-night__facts { display: flex; flex-direction: column; gap: 1.1rem; border-left: var(--border-w) solid var(--line-strong); padding-left: 1.6rem; }
.nmp-night__factn { font-family: var(--font-head); font-weight: var(--weight-head); text-transform: var(--case-head); font-size: clamp(2rem,1.4rem+2vw,3.2rem); line-height: .9; color: var(--ink); }
.nmp-night__factl { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-top: .35rem; }
.nmp-hero--nightland { background: var(--surface); }
@media (max-width: 980px) {
  .nmp-night__grid { grid-template-columns: 1fr; }
  .nmp-night__facts { flex-direction: row; flex-wrap: wrap; border-left: 0; border-top: var(--border-w) solid var(--line-strong); padding-left: 0; padding-top: 1.5rem; gap: 1.8rem; margin-top: 1.6rem; }
}

/* ---------- CLASSEMENT K — NIGHTROWS (rangées after-dark) --------------- */
.nmp-rank-night { display: flex; flex-direction: column; }
.nmp-nrow { display: grid; grid-template-columns: 56px 92px minmax(0,1fr) auto; gap: clamp(1rem,.6rem+1.6vw,2rem); align-items: start; padding: clamp(1.6rem,1.1rem+1.6vw,2.4rem) 0; border-top: var(--border-w) solid var(--line); position: relative; }
.nmp-nrow:last-child { border-bottom: var(--border-w) solid var(--line); }
.nmp-nrow__rank { font-family: var(--font-head); font-weight: var(--weight-head); font-size: clamp(2.5rem,1.8rem+2.4vw,3.9rem); line-height: .8; color: var(--ink-faint); }
/* vignette after-dark : slot vertical compact, aplat bordé, aspect-ratio fixe (anti-CLS) */
.nmp-nrow__thumb { width: 92px; aspect-ratio: 3 / 4; border: var(--border-w) solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.nmp-nrow--top .nmp-nrow__thumb { border-color: var(--accent); }
.nmp-nrow__thumb--mono { display: flex; align-items: center; justify-content: center; background: var(--surface-2); font-family: var(--font-head); font-weight: var(--weight-head); font-size: 2.4rem; color: var(--ink-faint); }
.nmp-nrow--top .nmp-nrow__thumb--mono { color: var(--accent); }
.nmp-nrow--top .nmp-nrow__rank { color: var(--accent); }
.nmp-nrow--top::after { content: ""; display: var(--filet-n1, block); position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent); }
.nmp-nrow__head { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.nmp-nrow__name { font-family: var(--font-head); font-weight: var(--weight-h); text-transform: var(--case-head); letter-spacing: .02em; font-size: clamp(1.4rem,1.1rem+1.4vw,2rem); line-height: 1.04; }
/* note accolée au nom (UX_MOBILE §6) : visible sur mobile (où l'aside passe sous la
   rangée), masquée sur desktop où le grand badge NOTE de l'aside prend le relais. */
.nmp-nrow__note { font-family: var(--font-head); font-weight: var(--weight-head); font-size: 1.3rem; color: var(--accent); line-height: 1; white-space: nowrap; }
.nmp-nrow__note span { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-soft); }
@media (min-width: 981px) { .nmp-nrow__note { display: none; } }
.nmp-nrow--top .nmp-nrow__name { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 7px; text-decoration-thickness: 2px; }
.nmp-nrow__sub { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--accent2); margin-top: .7rem; }
.nmp-nrow__vibe { margin-top: .9rem; }
.nmp-nrow__detail { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem 1.8rem; margin-top: 1.1rem; max-width: 560px; }
.nmp-nrow__kv { display: flex; flex-direction: column; gap: .2rem; }
.nmp-nrow__kv dt { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.nmp-nrow__kv dd { font-size: var(--fs-sm); color: var(--ink); }
.nmp-nrow__kv dd a { color: var(--accent-strong); }
.nmp-nrow__kv dd a:hover { color: var(--accent); }
.nmp-nrow__aside { display: flex; flex-direction: column; align-items: flex-end; gap: .8rem; min-width: 140px; }
.nmp-nnote { display: inline-flex; align-items: baseline; gap: .15rem; background: var(--accent); color: var(--accent-ink); padding: .5rem .9rem; border-radius: var(--radius); }
.nmp-nnote b { font-family: var(--font-head); font-weight: var(--weight-head); font-size: 1.7rem; line-height: .85; }
.nmp-nnote span { font-family: var(--font-mono); font-size: var(--fs-xs); }
.nmp-nnote--soft { background: var(--surface-2); color: var(--ink); border: var(--border-w) solid var(--line-strong); }
.nmp-nrow__aside .nmp-stars { color: var(--accent); }
@media (max-width: 980px) {
  .nmp-nrow { grid-template-columns: 44px 64px 1fr; gap: 1rem; }
  .nmp-nrow__thumb { width: 64px; }
  .nmp-nrow__thumb--mono { font-size: 1.7rem; }
  .nmp-nrow__aside { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 1.1rem; flex-wrap: wrap; margin-top: .4rem; }
  .nmp-nrow__detail { grid-template-columns: 1fr; }
  /* UX_MOBILE §6 : sur mobile la note inline (accolée au nom) est la SEULE note.
     Le grand badge NOTE de l'aside ferait doublon (défaut client « note en bas pas
     naturelle ») → on le masque ; étoiles + jauge d'affluence de l'aside restent. */
  .nmp-nnote { display: none; }
}

/* =====================================================================
   SQUELETTE L — LE COMPARATEUR (clair « data-first dense », Wirecutter)
   Aplats only, ombres NEUTRES discrètes, mono tabulaire pour les chiffres.
   Aucun dégradé / glow / glassmorphism. Accent = aplat unique.
   ===================================================================== */
/* ---------- HERO L — COMPARE (utilitaire + barre de repères) ----------- */
.nmp-hero--compare { padding-block: clamp(1.4rem,1rem+1.5vw,2.2rem) clamp(1.6rem,1.2rem+2vw,2.6rem); }
.nmp-cmp__h1 { font-size: clamp(1.9rem,1.4rem+2.6vw,3.1rem); line-height: 1.08; max-width: 19ch; margin: .8rem 0 0; }
.nmp-cmp__lead { margin-top: .9rem; max-width: 60ch; }
.nmp-cmp__byline { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; margin-top: 1.1rem; }
.nmp-cmp-reperes { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--border-w); margin-top: 1.6rem; background: var(--line); border: var(--border-w) solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.nmp-cmp-rep { background: var(--surface); padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .25rem; }
.nmp-cmp-rep__k { font-size: var(--fs-sm); color: var(--ink-soft); }
.nmp-cmp-rep__v { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
@media (max-width: 980px) { .nmp-cmp-reperes { grid-template-columns: 1fr 1fr; } }

/* ---------- CLASSEMENT L — RANKTABLE (tableau dense scannable) ---------- */
.nmp-ranktable { border: var(--border-w) solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.nmp-rt-head, .nmp-rt-row { display: grid; grid-template-columns: 46px 64px minmax(0,1fr) 168px 124px 120px; align-items: center; gap: 14px; padding: var(--row-pad,14px) 16px; }
.nmp-rt-head { background: var(--surface-2); border-bottom: var(--border-w) solid var(--line); }
.nmp-rt-head span { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.nmp-rt-row { border-bottom: var(--border-w) solid var(--line); position: relative; }
.nmp-rt-row:last-child { border-bottom: 0; }
.nmp-rt-row:hover { background: var(--surface-2); }
.nmp-rt-row--top { box-shadow: inset 3px 0 0 var(--accent); }
.nmp-rt-rank { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.nmp-rt-row--top .nmp-rt-rank { color: var(--accent); }
.nmp-rt-thumb { width: 56px; height: 56px; border-radius: var(--radius); overflow: hidden; border: var(--border-w) solid var(--line); aspect-ratio: 1/1; }
.nmp-rt-thumb--mono { display: grid; place-items: center; background: var(--surface-2); color: var(--ink-soft); font-family: var(--font-head); font-weight: var(--weight-head); font-size: 1.35rem; }
.nmp-rt-name { min-width: 0; }
.nmp-rt-nm { font-family: var(--font-head); font-weight: var(--weight-h); font-size: 1.03rem; letter-spacing: -.01em; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.nmp-rt-type { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-xs); color: var(--ink-soft); background: var(--surface-2); border: var(--border-w) solid var(--line); padding: .12em .5em; border-radius: var(--badge-radius,999px); text-transform: none; letter-spacing: 0; }
.nmp-rt-meta { font-size: .8rem; color: var(--ink-soft); margin-top: .35rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.nmp-rt-mi { display: inline-flex; align-items: center; gap: .35rem; }
.nmp-rt-mi svg { width: 1em; height: 1em; opacity: .7; }
.nmp-rt-tel { color: var(--accent-strong); font-family: var(--font-mono); min-height: var(--tap); }
.nmp-rt-tel:hover { color: var(--accent); }
@media (min-width: 600px) { .nmp-rt-tel { min-height: 0; } }
.nmp-rt-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.nmp-rt-vibe { margin-top: .5rem; gap: .35rem; }
.nmp-chip--ghost { background: transparent; color: var(--ink-soft); border-color: var(--line-strong); }
.nmp-rt-note { display: flex; flex-direction: column; gap: .3rem; }
.nmp-rt-score { display: inline-flex; align-items: center; gap: .5rem; }
.nmp-pastille { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; padding: .25rem .5rem; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 700; font-size: .95rem; }
.nmp-rt-note .nmp-stars { color: var(--accent); }
.nmp-rt-gnote { font-size: var(--fs-xs); color: var(--ink-soft); }
.nmp-rt-busy { display: flex; flex-direction: column; gap: .3rem; }
.nmp-rt-action { display: flex; justify-content: flex-end; min-width: 0; }
.nmp-rt-action .nmp-revacc { margin-top: 0; border-top: 0; }
@media (max-width: 980px) {
  .nmp-rt-head { display: none; }
  .nmp-rt-row { grid-template-columns: 44px 1fr; grid-auto-rows: min-content; gap: .7rem 14px; padding: 16px; }
  .nmp-rt-thumb { grid-row: 1; grid-column: 1; width: 44px; height: 44px; }
  .nmp-rt-rank { grid-row: 1; grid-column: 1; align-self: start; }
  .nmp-rt-name { grid-column: 1 / -1; }
  .nmp-rt-note, .nmp-rt-busy, .nmp-rt-action { grid-column: 1 / -1; }
  .nmp-rt-note { flex-direction: row; align-items: center; justify-content: space-between; padding-top: .6rem; border-top: var(--border-w) solid var(--line); }
  .nmp-rt-busy { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ── COMPARATIF DATA AVIS v2 (E-E-A-T) — UNE LIGNE PAR LIEU AFFICHÉ ──
   Atout le plus loué + moment le plus cité + note/nb d'avis, lieu par lieu (de quoi
   choisir où aller). Grille compacte, LISIBLE MOBILE. Tokens only, AUCUN dégradé/glow. */
.nmp-avissum {
  border: var(--border-w) solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.1rem, .8rem + 1.5vw, 1.8rem);
}
.nmp-avissum__lead { color: var(--ink-soft); max-width: 64ch; margin: .2rem 0 1.1rem; }
.nmp-avissum__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.nmp-avissum__row {
  display: flex; flex-direction: column; gap: .5rem;
  padding: .85rem 0; border-top: var(--border-w) solid var(--line);
}
.nmp-avissum__row:first-child { border-top: 0; }
.nmp-avissum__rhead { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.nmp-avissum__rnom { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.nmp-avissum__rnote { display: inline-flex; align-items: baseline; gap: .5rem; white-space: nowrap; }
.nmp-avissum__note {
  font-family: var(--font-head); font-weight: 700;
  color: var(--accent-strong, var(--accent)); font-size: 1.05rem;
}
.nmp-avissum__note small { font-size: .7em; color: var(--ink-soft); font-weight: 500; }
.nmp-avissum__note--na { color: var(--ink-soft); }
.nmp-avissum__navis { font-size: var(--fs-xs); color: var(--ink-soft); }
.nmp-avissum__rtags { display: flex; flex-wrap: wrap; gap: .4rem; }
.nmp-avissum__tag {
  font-size: var(--fs-xs); line-height: 1.3; padding: .22rem .6rem;
  border: var(--border-w) solid var(--line); border-radius: 999px;
  color: var(--ink); background: var(--surface-2, transparent);
}
.nmp-avissum__tag--soft { color: var(--ink-soft); }
.nmp-avissum__tag--na { color: var(--ink-soft); border-style: dashed; }
/* Desktop : alignement tabulaire (nom | note | atouts) pour la lecture comparative */
@media (min-width: 720px) {
  .nmp-avissum__row {
    display: grid; grid-template-columns: minmax(8rem, 1.2fr) auto 2fr;
    align-items: center; gap: 1rem;
  }
  .nmp-avissum__rhead { display: contents; }
  .nmp-avissum__rnote { justify-self: end; }
  .nmp-avissum__rtags { justify-content: flex-end; }
}

/* Surcouche prod : branchement des VRAIES photos dans les slots du bundle.
   Le wrapper .nmp-hatch garde le dimensionnement (aspect-ratio/width/radius) ;
   l'<img.nmp-photo> le remplit en object-fit:cover. Aucun dégradé/glow ajouté. */
.nmp-site .nmp-hatch { position: relative; overflow: hidden; }
.nmp-site .nmp-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: inherit;
}

/* Contact d'un lieu : adresse + téléphone (local SEO + tracking ultérieur) */
.nmp-site .nmp-place-contact { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: .55rem 0 .2rem; font-size: var(--fs-sm); }
.nmp-site .nmp-pc-addr, .nmp-site .nmp-pc-tel { display: inline-flex; align-items: center; gap: .4em; line-height: 1.3; }
.nmp-site .nmp-pc-addr { color: var(--ink-soft); }
.nmp-site .nmp-pc-addr svg, .nmp-site .nmp-pc-tel svg { width: 1em; height: 1em; flex: none; color: var(--accent-strong); }
/* tél = vraie cible tactile (appel) : hauteur ≥ 44px sur mobile (UX_MOBILE §1) */
.nmp-site .nmp-pc-tel { color: var(--accent-strong); font-weight: 600; font-family: var(--font-mono); min-height: var(--tap); }
.nmp-site .nmp-pc-tel:hover { color: var(--accent); }
@media (min-width: 600px) { .nmp-site .nmp-pc-tel { min-height: 0; } }
.nmp-site .nmp-rank-table__name .nmp-tel-inline { display: inline-flex; margin-top: .2rem; font-size: var(--fs-xs); }

/* DOM ≠ visuel (STRUCTURE.pdf p.3/p.5) : le contenu SEO est tôt dans le DOM,
   l'ordre d'AFFICHAGE est piloté par `order` sur chaque bloc. */
.nmp-site .nmp-flow { display: flex; flex-direction: column; }

/* Plus d'air dans les encarts stats + offre */
.nmp-site .nmp-stats { padding: clamp(2.1rem, 1.4rem + 2.6vw, 3.2rem); gap: 1.6rem 2rem; }
.nmp-site .nmp-offer__body, .nmp-site .nmp-offer__side { padding: clamp(2rem, 1.4rem + 2.4vw, 3rem); }

/* FIX contraste CTA : le reset `.nmp-site a{color:inherit}` (spécif. 0,1,1) écrasait
   `.nmp-btn{color:var(--accent-ink)}` (0,1,0) → texte sombre sur fond accent. On rétablit
   la bonne couleur de contraste sur les liens-boutons (sauf ghost qui garde l'encre). */
.nmp-site a.nmp-btn:not(.nmp-btn--ghost):not(.nmp-btn--ink) { color: var(--accent-ink); }
.nmp-site a.nmp-btn--ghost { color: var(--ink); }
.nmp-site .nmp-profil__cta, .nmp-site .nmp-profil__cta .call_tel { color: var(--accent-ink); }

/* Header MOBILE-FIRST (UX_MOBILE §4) : compact ≤ 64px sur mobile (cible du chantier).
   On garde la même spécificité que les media queries pour que le réglage gagne.
   `min-height` (pas padding-block) → la hauteur réelle reste prévisible et ≤ 64px. */
.nmp-site .nmp-header__in { padding-block: .35rem; gap: .8rem; align-items: center; min-width: 0; min-height: 56px; }
.nmp-site .nmp-header__cta { margin-left: auto; flex: none; }
@media (min-width: 861px) {
  /* desktop : on peut donner plus d'air, la contrainte ≤ 64px ne vise que le mobile */
  .nmp-site .nmp-header__in { padding-block: .8rem; gap: 1.4rem; min-height: 64px; }
  .nmp-site .nmp-nav { gap: 1.3rem; }
}

/* Hero unique propre (texte, gauche, CTA, auteur inline) */
.nmp-site .nmp-hero--main { padding-block: clamp(2.2rem, 1.4rem + 3vw, 4.2rem); border-bottom: var(--border-w) solid var(--line); }
.nmp-site .nmp-hero--main .nmp-hero__col { max-width: 780px; display: grid; gap: 1.1rem; }
.nmp-site .nmp-hero--main .nmp-display { margin: 0; }
/* CTA du hero : empilés et pleine largeur sur mobile (UX_MOBILE §3 : un CTA principal
   atteignable au pouce), côte à côte dès qu'il y a la place. */
.nmp-site .nmp-hero__cta { display: flex; flex-direction: column; gap: .6rem; margin-top: .4rem; align-items: stretch; }
.nmp-site .nmp-hero__cta .nmp-btn { width: 100%; }
@media (min-width: 600px) {
  .nmp-site .nmp-hero__cta { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .nmp-site .nmp-hero__cta .nmp-btn { width: auto; }
}
.nmp-site .nmp-hero--main .nmp-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: .4rem; }

/* Hero LANDING (home/région) en variante impact/poster : pas de statline ni de
   photo de lieu — une colonne texte + CTA, calée sur l'identité de l'archétype. */
.nmp-site .nmp-hero--landing .nmp-hero__col { max-width: 820px; display: grid; gap: 1.1rem; }
.nmp-site .nmp-hero--landing .nmp-display { margin: 0; }
.nmp-site .nmp-hero--landing .nmp-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: .4rem; }

/* Bloc TEXTE SEO : pleine largeur (pas une colonne étriquée) */
.nmp-site .nmp-seo.nmp-prose { max-width: none; }
.nmp-site .nmp-seo h2 { margin: 1.6rem 0 .7rem; }
.nmp-site .nmp-seo h2:first-child { margin-top: 0; }
.nmp-site .nmp-seo p { color: var(--ink-soft); margin-top: 1rem; }
/* desktop : mise en colonnes type magazine, les H2 enjambent toute la largeur */
@media (min-width: 980px) {
  .nmp-site .nmp-seo { columns: 2; column-gap: 2.8rem; }
  .nmp-site .nmp-seo h2 { column-span: all; }
  .nmp-site .nmp-seo p { break-inside: avoid; margin-top: 0; margin-bottom: 1rem; }
}

/* Footer léger : nav de site (le maillage vit dans la section dédiée, pas ici) */
.nmp-site .nmp-footer__grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.nmp-site .nmp-footer__nav { display: flex; flex-direction: column; gap: .45rem; align-items: flex-start; }
.nmp-site .nmp-footer__nav a { color: var(--ink-soft); font-size: var(--fs-sm); }
.nmp-site .nmp-footer__nav a:hover { color: var(--accent-strong); }

/* Grille de profils (cdlabonne + Numtour) */
/* Grille de profils : nombre VARIABLE par site (4 à 16+). minmax(min(100%,170px),1fr)
   → de 1 colonne (≤340px) à autant que la place permet, SANS jamais déborder ni
   laisser un trou ; toute cardinalité (5, 7, 13…) se range proprement (UX_MOBILE §7). */
.nmp-site .nmp-profils { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: var(--gutter); }
.nmp-site .nmp-profil { display: flex; flex-direction: column; border: var(--border-w) solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.nmp-site .nmp-profil__media { position: relative; }
.nmp-site .nmp-profil__img { aspect-ratio: 4/5; }
.nmp-site .nmp-profil__live { position: absolute; top: .55rem; left: .55rem; display: inline-flex; align-items: center;
  gap: .4em; background: var(--ok); color: var(--ok-ink); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .02em;
  padding: .22rem .6rem; border-radius: var(--radius-pill); box-shadow: 0 2px 8px rgba(22,163,74,.35); }
.nmp-site .nmp-profil__live::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: nmp-livepulse 1.8s ease-out infinite; }
@keyframes nmp-livepulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  70% { box-shadow: 0 0 0 .35em rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { .nmp-site .nmp-profil__live::before { animation: none; } }
/* Carte profil cliquable (home : dernières inscrites → page ville) */
.nmp-site a.nmp-profil { transition: transform .15s ease, box-shadow .15s ease; }
.nmp-site a.nmp-profil:hover { transform: translateY(-3px); box-shadow: var(--shadow-hard); }
.nmp-site .nmp-profil--link .nmp-profil__cta { margin-top: auto; }
.nmp-site .nmp-profil__b { padding: .8rem .85rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.nmp-site .nmp-profil__name { font-family: var(--font-head); font-weight: var(--weight-h); font-size: 1.05rem; }
.nmp-site .nmp-profil__loc { display: inline-flex; align-items: center; gap: .35em; color: var(--ink-soft); font-size: var(--fs-sm); }
.nmp-site .nmp-profil__loc svg { width: 1em; height: 1em; flex: none; color: var(--accent-strong); }
.nmp-site .nmp-profil .trk_profile_tel_container { margin-top: auto; padding-top: .6rem; }
.nmp-site .nmp-profil__cta { width: 100%; justify-content: center; gap: .5em; white-space: nowrap; min-width: 0; }
.nmp-site .nmp-profil__cta svg { width: 1.1em; height: 1.1em; flex: none; }
/* le libellé peut être plus long que la carte étroite (320px) : on l'empêche de
   déborder (min-width:0 + troncature propre) plutôt que de pousser la mise en page. */
.nmp-site .nmp-profil__cta .call_tel { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Accordéon « Avis Google » par lieu */
.nmp-site .nmp-revacc { margin-top: .6rem; border-top: var(--border-w) solid var(--line); }
.nmp-site .nmp-revacc > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .45rem; min-height: var(--tap); padding: .55rem 0; font-size: var(--fs-sm); font-weight: 600; color: var(--accent-strong); }
.nmp-site .nmp-revacc > summary::-webkit-details-marker { display: none; }
.nmp-site .nmp-revacc > summary svg { width: 1em; height: 1em; }
.nmp-site .nmp-revacc__chev { margin-left: auto; transition: transform .2s; }
.nmp-site .nmp-revacc[open] .nmp-revacc__chev { transform: rotate(90deg); }
.nmp-site .nmp-revacc__b { display: grid; gap: .65rem; padding-bottom: .7rem; }
.nmp-site .nmp-rev { margin: 0; padding-left: .8rem; border-left: 2px solid var(--line-strong); }
.nmp-site .nmp-rev p { font-size: var(--fs-sm); color: var(--ink); font-style: italic; margin: 0; }
.nmp-site .nmp-rev cite { display: flex; align-items: center; gap: .4rem; font-size: var(--fs-xs); color: var(--ink-soft); font-style: normal; margin-top: .3rem; }
.nmp-site .nmp-rev .nmp-stars svg { width: .85em; height: .85em; }

/* POI : idées de rendez-vous / balade */
.nmp-site .nmp-rdv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: var(--gutter); }
.nmp-site .nmp-rdv { border: var(--border-w) solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.nmp-site .nmp-rdv__img { aspect-ratio: 16/10; }
.nmp-site .nmp-rdv__b { padding: .9rem 1rem; display: grid; gap: .45rem; }
.nmp-site .nmp-rdv__desc { color: var(--ink-soft); font-size: var(--fs-sm); }
/* POI gratuit / plein air SANS photo : en-tête texte sobre (jamais le placeholder hachuré),
   accent en aplat, lisible sur les familles claires ET sombres (tokens uniquement). */
.nmp-site .nmp-rdv--txt { background: var(--surface); }
.nmp-site .nmp-rdv__noimg { display: flex; align-items: center; gap: .5rem; padding: .85rem 1rem;
  border-bottom: var(--border-w) solid var(--line); background: var(--surface-2);
  color: var(--ink-soft); font-size: var(--fs-sm); font-weight: 600; }
.nmp-site .nmp-rdv__noimg svg { width: 1.15em; height: 1.15em; flex: none; color: var(--accent); }
.nmp-site .nmp-rdv__free { display: inline-flex; align-items: center; padding: .14rem .55rem;
  border-radius: var(--radius); background: var(--accent); color: var(--accent-ink);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .01em; }

/* Nom d'auteur cliquable (→ /auteur/) */
.nmp-site .nmp-author__name-link { color: inherit; }
.nmp-site .nmp-author__name-link:hover { color: var(--accent-strong); text-decoration: underline; }

/* Maillage « Continuer la visite » : liens en CHIPS horizontales (pas une liste verticale) */
.nmp-site .nmp-mesh__col ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.nmp-site .nmp-mesh__col li { margin: 0; }
.nmp-site .nmp-mesh__col a { display: inline-flex; align-items: center; min-height: var(--tap);
  border: var(--border-w) solid var(--line); border-radius: var(--radius-pill);
  padding: .5rem .9rem; background: var(--surface); font-size: var(--fs-sm); }
.nmp-site .nmp-mesh__col a:hover { border-color: var(--accent); color: var(--accent-strong); }
.nmp-site .nmp-mesh__col a svg { display: none; }

/* Logo affilié en image (sinon tuile monogramme) */
.nmp-site .nmp-afflogo--img { background: #fff; padding: 0; overflow: hidden; }
.nmp-site .nmp-afflogo--img img { width: 100%; height: 100%; object-fit: contain; padding: 14%; }

/* Pages légales : image (CGU/CGV, confidentialité) */
.nmp-site .nmp-legal-img { display: block; width: 100%; max-width: 920px; height: auto;
  border: var(--border-w) solid var(--line); border-radius: var(--radius); }

/* Grilles de villes (pages home / région) */
.nmp-site .nmp-citygrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: .6rem; }
.nmp-site .nmp-citylink { display: flex; align-items: center; gap: .6rem; border: var(--border-w) solid var(--line);
  border-radius: var(--radius); padding: .7rem .9rem; background: var(--surface); }
.nmp-site .nmp-citylink:hover { border-color: var(--accent); color: var(--accent-strong); }
.nmp-site .nmp-citylink b { flex: 1; font-weight: 600; }
.nmp-site .nmp-citylink span { color: var(--ink-faint); font-size: var(--fs-sm); }
.nmp-site .nmp-citylink svg { width: 1em; height: 1em; flex: none; color: var(--accent-strong); }
