/* ==========================================================================
   Next Medical — main.css
   Tokens centralisés + base + chrome (nav, footer) + composants signature
   partagés (glass, vagues, eyebrow, boutons, listes éditoriales, process,
   split, FAQ, CTA, reveal). DA « medtech apaisé » teal, portée du handoff
   Claude Design. Tous les CSS de template lisent var(--nm-*).
   ========================================================================== */

:root {
  /* — Palette teal — */
  --nm-teal: #0d5049;
  --nm-teal-deep: #06302c;
  --nm-teal-mid: #0a3f3a;
  --nm-teal-soft: #4a8580;
  --nm-teal-glow: #8bb8b1;

  /* — Neutres / fonds — */
  --nm-paper: #f9f9f9;
  --nm-paper-warm: #f4f0e8;
  --nm-ink: #0a1f1d;
  --nm-ink-soft: #4a5a58;
  --nm-white: #ffffff;

  /* — Lignes / hairlines — */
  --nm-line-dark: rgba(13, 80, 73, 0.15);
  --nm-line-dark-strong: rgba(13, 80, 73, 0.3);
  --nm-line-light: rgba(255, 255, 255, 0.18);

  /* — Typo — */
  --nm-font-sans: 'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --nm-font-serif: 'Newsreader', 'Times New Roman', Times, serif;
  --nm-font-mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* — Rythme / chrome — */
  --nm-wrap: 1200px;
  --nm-gutter: 48px;
  --nm-gutter-mobile: 24px;
  --nm-section-y: 160px;
  --nm-section-y-lg: 180px;
  --nm-radius-sm: 8px;
  --nm-radius: 20px;
  --nm-radius-lg: 24px;
  --nm-pill: 999px;

  /* — Élévations — */
  --nm-shadow-glass: 0 24px 60px -20px rgba(0, 0, 0, 0.35);
  --nm-shadow-stat: 0 30px 80px -30px rgba(0, 0, 0, 0.5);
}

/* — Reset léger — */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--nm-font-sans);
  background: var(--nm-paper);
  color: var(--nm-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* — Familles utilitaires — */
.nm-serif { font-family: var(--nm-font-serif); font-weight: 400; letter-spacing: -0.005em; }
.nm-it { font-style: italic; }
.nm-sans { font-family: var(--nm-font-sans); }

/* Titres : DM Sans léger ; les <em> internes passent en Newsreader italique. */
h1, h2, h3 { font-family: var(--nm-font-sans); font-weight: 300; letter-spacing: -0.025em; }
h1 em, h2 em, h3 em,
.nm-lead em, .nm-hero-h em, .nm-teal-lead em, .nm-cta-lead em,
.nm-quote-body em, .nm-pname em {
  font-family: var(--nm-font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* — Accessibilité — */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; word-wrap: normal !important;
}
.nm-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--nm-teal); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.nm-skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--nm-teal-glow); outline-offset: 2px; }

/* — Conteneur — */
.nm-wrap { max-width: var(--nm-wrap); margin: 0 auto; padding: 0 var(--nm-gutter); }
@media (max-width: 720px) { .nm-wrap { padding: 0 var(--nm-gutter-mobile); } }

/* ==========================================================================
   Vagues décoratives (filigrane SVG)
   ========================================================================== */
/* Lignes de fond : sobres (1–2 courbes), avec variantes pour ne pas répéter
   le même tracé d'une section à l'autre. On n'en met pas sur toutes les sections. */
.nm-waves-light, .nm-waves-teal {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-repeat: no-repeat; background-size: cover; background-position: center;
}
/* — Clair, variante A (défaut) : une courbe basse qui balaie l'espace — */
.nm-waves-light {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='none'><g fill='none' stroke='%230d5049' stroke-opacity='0.08' stroke-width='1'><path d='M0,560 C420,470 780,700 1120,560 C1340,485 1500,545 1600,520'/><path d='M0,610 C420,520 780,750 1120,610 C1340,535 1500,595 1600,570' stroke-opacity='0.5'/></g></svg>");
}
/* — Clair, variante B : une courbe haute, côté droit — */
.nm-waves-light.nm-waves-2 {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='none'><g fill='none' stroke='%230d5049' stroke-opacity='0.08' stroke-width='1'><path d='M240,130 C640,60 1040,300 1600,150'/><path d='M300,185 C700,115 1080,350 1600,205' stroke-opacity='0.5'/></g></svg>");
}
/* — Clair, variante C : deux courbes douces qui se croisent — */
.nm-waves-light.nm-waves-3 {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='none'><g fill='none' stroke='%230d5049' stroke-opacity='0.07' stroke-width='1'><path d='M0,300 C520,440 980,170 1600,380'/><path d='M0,660 C520,520 980,790 1600,560'/></g></svg>");
}
/* — Teal (sur fond sombre), variante A — */
.nm-waves-teal {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='none'><g fill='none' stroke='%238bb8b1' stroke-opacity='0.16' stroke-width='1'><path d='M-120,650 C420,540 960,780 1720,560'/><path d='M-120,705 C420,595 960,835 1720,615' stroke-opacity='0.5'/></g></svg>");
}
/* — Teal, variante B : courbe haute — */
.nm-waves-teal.nm-waves-2 {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='none'><g fill='none' stroke='%238bb8b1' stroke-opacity='0.15' stroke-width='1'><path d='M-120,230 C500,140 1020,360 1720,180'/></g></svg>");
}

/* ==========================================================================
   Lignes animées (SVG inline, helper nm_wave) : un dégradé vert parcourt le
   tracé — il se remplit puis s'efface en boucle, donnant du mouvement.
   ========================================================================== */
.nm-wave { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: visible; }
.nm-wave svg { width: 100%; height: 100%; display: block; }
.nm-wave-base { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
/* Flux continu : un segment dégradé glisse le long du tracé, sans arrêt ni
   retour (boucle sans couture car le motif vaut une période de pathLength). */
.nm-wave-line {
  fill: none; stroke-width: 1.3; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 22 78; /* sur pathLength=100 */
  opacity: 0.4;
  animation: nm-wave-flow var(--nm-wave-dur, 13s) linear infinite;
}
@keyframes nm-wave-flow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -100; }
}
@media (prefers-reduced-motion: reduce) {
  .nm-wave-line { animation: none; opacity: 0.25; stroke-dasharray: none; }
}

/* ==========================================================================
   Aperçu d'image au survol (suit le curseur) — listing des domaines/clients
   ========================================================================== */
.nm-hover-preview {
  position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none;
  width: 230px; height: 155px; border-radius: 14px; overflow: hidden;
  opacity: 0; transform: translate(-50%, -118%) scale(0.96);
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: 0 26px 60px -20px rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.25);
}
.nm-hover-preview.nm-show { opacity: 1; transform: translate(-50%, -118%) scale(1); }
.nm-hover-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (pointer: coarse) { .nm-hover-preview { display: none !important; } }

/* ==========================================================================
   Bases de sections (les 3 styles de la DA)
   ========================================================================== */
section { position: relative; overflow: hidden; }
.nm-s-light { background: var(--nm-paper); color: var(--nm-ink); }
.nm-s-cream { background: var(--nm-paper-warm); color: var(--nm-ink); }
.nm-s-teal {
  /* vert très foncé → plus clair (réf. design), avec un halo lumineux bas-droite */
  background:
    radial-gradient(ellipse at 80% 90%, rgba(74, 133, 128, 0.45), transparent 55%),
    linear-gradient(155deg, #04221f 0%, #073931 42%, #0d5049 100%);
  color: #fff;
}
.nm-s-image { color: #fff; }
.nm-s-image .nm-ph-bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: #1a3a36;
  background-image:
    radial-gradient(ellipse at 72% 82%, rgba(127, 184, 177, 0.42), transparent 55%),
    radial-gradient(ellipse at 22% 16%, rgba(3, 26, 23, 0.7), transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='280'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.28  0 0 0 0 0.26  0 0 0 0.12 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    linear-gradient(155deg, #041f1c 0%, #0a3f3a 45%, #0d5049 78%, #1c5e55 100%);
  background-size: cover; background-position: center;
}
.nm-s-image .nm-ph-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15) 30%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.85) 100%);
}
/* Vraie photo (image à la une / média hero) posée sur la zone .s-image. */
.nm-s-image .nm-ph-photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.nm-ph-tag {
  position: absolute; bottom: 18px; right: 18px; z-index: 3;
  font-family: var(--nm-font-mono); font-size: 10px; letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45); text-transform: uppercase;
  background: rgba(0, 0, 0, 0.4); padding: 6px 10px; border-radius: 4px;
  backdrop-filter: blur(4px);
}
.nm-s-image .nm-inner,
.nm-s-teal .nm-inner,
.nm-s-light .nm-inner,
.nm-s-cream .nm-inner { position: relative; z-index: 2; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nm-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, border-color .3s, color .3s; }
.nm-nav.nm-scrolled,
.nm-solid-nav .nm-nav {
  background: rgba(249, 249, 249, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(13, 80, 73, 0.08);
}
.nm-nav.nm-scrolled .nm-nav-link,
.nm-nav.nm-scrolled .nm-brand-name,
.nm-solid-nav .nm-nav .nm-nav-link,
.nm-solid-nav .nm-nav .nm-brand-name { color: var(--nm-ink); }
.nm-nav-row { display: flex; align-items: center; justify-content: space-between; height: 80px; color: #fff; gap: 24px; }
.nm-brand { display: inline-flex; align-items: baseline; gap: 4px; text-decoration: none; color: inherit; }
.nm-brand img { max-height: 40px; width: auto; }
.nm-brand-name { font-family: var(--nm-font-serif); font-size: 22px; font-weight: 400; letter-spacing: -0.01em; color: #fff; transition: color .3s; }
.nm-plus { font-size: 0.7em; vertical-align: super; color: var(--nm-teal-glow); margin-left: 2px; }
.nm-nav.nm-scrolled .nm-plus,
.nm-solid-nav .nm-nav .nm-plus { color: var(--nm-teal); }
.nm-nav-links { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nm-nav-links li { margin: 0; }
.nm-nav-link, .nm-nav-links a { font-size: 14px; text-decoration: none; opacity: 0.85; color: #fff; transition: opacity .2s, color .3s; }
.nm-nav-link:hover, .nm-nav-links a:hover { opacity: 1; }
.nm-nav-cta { display: flex; align-items: center; gap: 16px; }
.nm-nav-pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 18px; border-radius: var(--nm-pill);
  font-size: 13px; font-weight: 500; text-decoration: none;
  background: rgba(255, 255, 255, 0.12); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(8px);
  transition: background .2s, color .2s, border-color .2s;
}
.nm-nav-pill:hover { background: rgba(255, 255, 255, 0.22); }
.nm-nav.nm-scrolled .nm-nav-pill,
.nm-solid-nav .nm-nav .nm-nav-pill { background: var(--nm-teal); border-color: var(--nm-teal); color: #fff; }
.nm-nav.nm-scrolled .nm-nav-pill:hover,
.nm-solid-nav .nm-nav .nm-nav-pill:hover { background: var(--nm-teal-deep); }

/* Burger + menu mobile */
.nm-nav-burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; padding: 8px; }
.nm-nav-burger span { display: block; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .25s; }
.nm-nav.nm-scrolled .nm-nav-burger, .nm-solid-nav .nm-nav .nm-nav-burger { color: var(--nm-ink); }
.nm-nav-burger { color: #fff; }
.nm-nav-mobile { display: none; flex-direction: column; gap: 4px; padding: 8px var(--nm-gutter-mobile) 20px; background: rgba(249,249,249,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--nm-line-dark); }
.nm-nav-mobile a { color: var(--nm-ink); text-decoration: none; font-size: 16px; padding: 12px 0; border-bottom: 1px solid var(--nm-line-dark); }
.nm-nav-mobile a:last-child { border-bottom: 0; }
@media (max-width: 860px) {
  .nm-nav-links, .nm-nav-cta { display: none; }
  .nm-nav-burger { display: block; }
  .nm-nav-mobile[hidden] { display: none; }
  .nm-nav-mobile:not([hidden]) { display: flex; }
}

/* ==========================================================================
   Boutons
   ========================================================================== */
.nm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border-radius: var(--nm-pill);
  font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; border: 0;
  font-family: inherit;
  transition: transform .15s ease, background .2s, color .2s, box-shadow .2s, opacity .2s;
}
.nm-btn-primary { background: var(--nm-teal); color: #fff; }
.nm-btn-primary:hover { background: var(--nm-teal-deep); transform: translateY(-1px); }
.nm-btn-light { background: #fff; color: var(--nm-teal-deep); }
.nm-btn-light:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -12px rgba(0,0,0,.4); }
.nm-btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.nm-btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); }
.nm-btn-ghost-dark { background: transparent; color: var(--nm-teal-deep); border: 1px solid var(--nm-line-dark-strong); }
.nm-btn-ghost-dark:hover { background: rgba(13, 80, 73, 0.06); }
.nm-arr { display: inline-block; transition: transform .2s; }
.nm-btn:hover .nm-arr, .nm-link:hover .nm-arr, .nm-sol-item:hover .nm-arr { transform: translateX(3px); }
.nm-link { color: var(--nm-teal); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }

/* ==========================================================================
   Glassmorphisme
   ========================================================================== */
.nm-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 -1px 0 rgba(0, 0, 0, 0.05) inset, var(--nm-shadow-glass);
}
.nm-glass-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: var(--nm-pill);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff; font-size: 13px;
}
.nm-glass-badge .nm-gb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nm-teal-glow); box-shadow: 0 0 0 4px rgba(139, 184, 177, 0.2); }

/* Cartes de stats en verre (réutilisées : home, audiences) */
.nm-glass-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 60px; margin-top: 80px; border-top: 1px solid var(--nm-line-light); }
@media (max-width: 900px) { .nm-glass-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .nm-glass-stats { grid-template-columns: 1fr; } }
.nm-glass-stat {
  padding: 32px 28px; border-radius: var(--nm-radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, var(--nm-shadow-stat);
}
.nm-glass-stat .nm-val { font-family: var(--nm-font-serif); font-style: italic; font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; color: #fff; }
.nm-glass-stat .nm-val sup { font-size: 0.5em; color: var(--nm-teal-glow); font-style: normal; vertical-align: top; }
.nm-glass-stat .nm-lbl { font-weight: 400; font-size: 17px; margin-top: 16px; color: #fff; line-height: 1.3; letter-spacing: -0.015em; }
.nm-glass-stat .nm-desc { margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.72); line-height: 1.55; }

/* ==========================================================================
   Eyebrow (en-têtes de section)
   ========================================================================== */
.nm-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--nm-teal); }
.nm-eyebrow .nm-eyebrow-num { font-family: var(--nm-font-mono); opacity: 0.6; }
.nm-eyebrow::before { content: ''; display: inline-block; width: 36px; height: 1px; background: currentColor; }
.nm-eyebrow-teal { color: var(--nm-teal-glow); }
/* eyebrow sur fond sombre, avec pastille pulsée */
.nm-eyebrow-dot { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.nm-eyebrow-dot .nm-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nm-teal-glow); box-shadow: 0 0 0 4px rgba(139, 184, 177, 0.25); animation: nm-pulse 2.4s ease-in-out infinite; }
@keyframes nm-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

/* — Énoncé de section (lead) — */
.nm-lead {
  font-family: var(--nm-font-sans); font-weight: 300;
  font-size: clamp(36px, 4.5vw, 64px); line-height: 1.1; letter-spacing: -0.028em;
  margin: 36px 0 0; max-width: 22ch;
}
.nm-lead em { color: var(--nm-teal); }
.nm-s-teal .nm-lead em, .nm-s-image .nm-lead em { color: var(--nm-teal-glow); }
.nm-s-teal .nm-lead, .nm-s-image .nm-lead { color: #fff; }

/* ==========================================================================
   Liste éditoriale (solutions / catalogue / enjeux) — sans cartes
   ========================================================================== */
.nm-sol-list { margin-top: 80px; }
.nm-sol-item {
  display: grid; grid-template-columns: 80px 1fr 1.2fr auto; gap: 40px; align-items: baseline;
  padding: 36px 0; border-top: 1px solid var(--nm-line-light); transition: transform .3s ease;
  text-decoration: none; will-change: transform;
}
.nm-s-light .nm-sol-item, .nm-s-cream .nm-sol-item { border-top-color: var(--nm-line-dark); }
.nm-sol-list .nm-sol-item:last-child { border-bottom: 1px solid var(--nm-line-light); }
.nm-s-light .nm-sol-list .nm-sol-item:last-child, .nm-s-cream .nm-sol-list .nm-sol-item:last-child { border-bottom-color: var(--nm-line-dark); }
.nm-sol-item:hover { transform: translateX(12px); } /* translate : pas de reflow, le texte ne se réorganise pas */
.nm-sol-item .nm-sn { font-family: var(--nm-font-mono); font-size: 12px; color: var(--nm-teal-glow); letter-spacing: 0.12em; }
.nm-s-light .nm-sol-item .nm-sn, .nm-s-cream .nm-sol-item .nm-sn { color: var(--nm-teal); }
.nm-sol-item .nm-st { font-weight: 400; font-size: 30px; line-height: 1.15; letter-spacing: -0.022em; color: #fff; }
.nm-s-light .nm-sol-item .nm-st, .nm-s-cream .nm-sol-item .nm-st { color: var(--nm-ink); }
.nm-sol-item .nm-sd { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.7); max-width: 44ch; }
.nm-s-light .nm-sol-item .nm-sd, .nm-s-cream .nm-sol-item .nm-sd { color: var(--nm-ink-soft); }
.nm-sol-item .nm-sa { color: #fff; text-decoration: none; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; opacity: 0.8; transition: opacity .2s; white-space: nowrap; }
.nm-s-light .nm-sol-item .nm-sa, .nm-s-cream .nm-sol-item .nm-sa { color: var(--nm-teal); }
.nm-sol-item:hover .nm-sa { opacity: 1; }
@media (max-width: 900px) {
  .nm-sol-item { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .nm-sol-item .nm-sa { justify-self: start; margin-top: 8px; }
}

/* ==========================================================================
   Grille « process » (étapes, divisions verticales)
   ========================================================================== */
.nm-process { padding: var(--nm-section-y-lg) 0; }
.nm-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 80px; }
.nm-process-grid.nm-cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .nm-process-grid, .nm-process-grid.nm-cols-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .nm-process-grid, .nm-process-grid.nm-cols-5 { grid-template-columns: 1fr; } }
.nm-proc { padding: 32px 32px 32px 0; border-right: 1px solid var(--nm-line-dark); position: relative; }
.nm-s-teal .nm-proc, .nm-s-image .nm-proc { border-right-color: var(--nm-line-light); }
.nm-proc:last-child { border-right: 0; }
.nm-proc::before { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 32px; background: var(--nm-teal); }
.nm-s-teal .nm-proc::before, .nm-s-image .nm-proc::before { background: var(--nm-teal-glow); }
.nm-proc .nm-sn { font-family: var(--nm-font-mono); font-size: 12px; color: var(--nm-teal); letter-spacing: 0.12em; }
.nm-s-teal .nm-proc .nm-sn, .nm-s-image .nm-proc .nm-sn { color: var(--nm-teal-glow); }
.nm-proc .nm-st { font-weight: 400; font-size: 24px; line-height: 1.15; margin: 18px 0 12px; letter-spacing: -0.02em; }
.nm-proc .nm-sd { font-size: 14px; line-height: 1.6; color: var(--nm-ink-soft); }
.nm-s-teal .nm-proc .nm-sd, .nm-s-image .nm-proc .nm-sd { color: rgba(255, 255, 255, 0.7); }

/* ==========================================================================
   Section split (image | texte) — témoignage / expérience
   ========================================================================== */
.nm-split { min-height: 85vh; display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .nm-split { grid-template-columns: 1fr; } }
.nm-split-img {
  position: relative; min-height: 60vh; overflow: hidden;
  background-image:
    radial-gradient(ellipse at 75% 85%, rgba(127, 184, 177, 0.4), transparent 55%),
    radial-gradient(ellipse at 20% 18%, rgba(3, 26, 23, 0.7), transparent 60%),
    linear-gradient(150deg, #04201d 0%, #0a3f3a 45%, #0d5049 78%, #1f6157 100%);
  background-size: cover; background-position: center;
}
.nm-split-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.35) 100%); }
.nm-split-img .nm-ph-tag { z-index: 2; }
.nm-split-text { padding: 120px 80px; display: flex; flex-direction: column; justify-content: center; background: var(--nm-paper); }
@media (max-width: 1100px) { .nm-split-text { padding: 80px 48px; } }
@media (max-width: 720px) { .nm-split-text { padding: 64px 24px; } }
.nm-quote-mark { font-family: var(--nm-font-serif); font-size: 88px; line-height: 0.6; color: var(--nm-teal); }
.nm-quote-body { font-family: var(--nm-font-sans); font-weight: 300; font-size: clamp(24px, 3vw, 36px); line-height: 1.28; letter-spacing: -0.025em; margin: 24px 0 0; max-width: 30ch; }
.nm-quote-body em { color: var(--nm-teal); }
.nm-quote-author { margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(13, 80, 73, 0.18); display: flex; align-items: center; gap: 16px; }
.nm-quote-author .nm-av { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--nm-teal-soft), var(--nm-teal-deep)); display: grid; place-items: center; color: #fff; font-family: var(--nm-font-serif); font-style: italic; font-size: 22px; flex: 0 0 auto; }
.nm-quote-author .nm-n { font-weight: 500; font-size: 16px; }
.nm-quote-author .nm-r { font-size: 13px; color: var(--nm-ink-soft); margin-top: 2px; }

/* ==========================================================================
   FAQ (accordéon) — réutilisé partout, source des données FAQPage JSON-LD
   ========================================================================== */
.nm-faq { padding: var(--nm-section-y) 0; }
.nm-faq-list { margin-top: 64px; max-width: 880px; }
.nm-faq-item { border-top: 1px solid var(--nm-line-dark); }
.nm-faq-list .nm-faq-item:last-child { border-bottom: 1px solid var(--nm-line-dark); }
.nm-faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 28px 0; font-family: var(--nm-font-sans); font-weight: 400; font-size: 21px;
  letter-spacing: -0.02em; color: var(--nm-ink); line-height: 1.3;
}
.nm-faq-q .nm-faq-icon { flex: 0 0 auto; width: 24px; height: 24px; position: relative; margin-top: 4px; transition: transform .3s; }
.nm-faq-q .nm-faq-icon::before, .nm-faq-q .nm-faq-icon::after { content: ''; position: absolute; background: var(--nm-teal); transition: opacity .3s; }
.nm-faq-q .nm-faq-icon::before { top: 11px; left: 2px; right: 2px; height: 2px; }
.nm-faq-q .nm-faq-icon::after { left: 11px; top: 2px; bottom: 2px; width: 2px; }
.nm-faq-q[aria-expanded="true"] .nm-faq-icon::after { opacity: 0; }
.nm-faq-a { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.nm-faq-a-inner { padding: 0 48px 28px 0; color: var(--nm-ink-soft); font-size: 16px; line-height: 1.65; max-width: 70ch; }
.nm-faq-q[aria-expanded="true"] + .nm-faq-a { max-height: 600px; }

/* ==========================================================================
   CTA plein cadre (image) — clôture de page, réutilisé partout
   ========================================================================== */
.nm-cta-section { min-height: 80vh; display: flex; align-items: center; padding: 140px 0; }
.nm-cta-section .nm-ph-bg {
  background-image:
    radial-gradient(ellipse at 70% 88%, rgba(127, 184, 177, 0.4), transparent 55%),
    radial-gradient(ellipse at 24% 16%, rgba(3, 24, 21, 0.72), transparent 60%),
    linear-gradient(160deg, #041d1a 0%, #0a3f3a 45%, #0d5049 80%, #1c5e55 100%);
}
.nm-cta-section .nm-ph-overlay { background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.7) 100%); }
.nm-cta-inner { text-align: center; width: 100%; }
.nm-cta-lead { font-family: var(--nm-font-sans); font-weight: 300; font-size: clamp(40px, 6vw, 92px); line-height: 1.02; letter-spacing: -0.035em; color: #fff; margin: 24px auto 0; max-width: 22ch; }
.nm-cta-lead em { color: var(--nm-teal-glow); }
.nm-cta-desc { font-size: 18px; color: rgba(255, 255, 255, 0.78); max-width: 52ch; margin: 36px auto 0; line-height: 1.6; }
.nm-cta-actions { margin-top: 48px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.nm-glass-cta {
  margin: 48px auto 0; max-width: 720px; padding: 40px; border-radius: var(--nm-radius-lg);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 40px 100px -30px rgba(0, 0, 0, 0.5);
}
.nm-cta-meta { margin-top: 48px; display: flex; gap: 32px; justify-content: center; font-size: 13px; color: rgba(255, 255, 255, 0.55); flex-wrap: wrap; letter-spacing: 0.05em; }
.nm-cta-meta .nm-dot { width: 4px; height: 4px; background: var(--nm-teal-glow); border-radius: 50%; align-self: center; }

/* ==========================================================================
   Fil d'Ariane
   ========================================================================== */
.nm-breadcrumb { font-size: 13px; color: var(--nm-ink-soft); letter-spacing: 0.02em; margin-bottom: 8px; }
.nm-breadcrumb a { color: var(--nm-teal); text-decoration: none; }
.nm-breadcrumb a:hover { text-decoration: underline; }
.nm-breadcrumb .nm-sep { margin: 0 8px; opacity: 0.5; }

/* ==========================================================================
   Footer SEO
   ========================================================================== */
.nm-footer { background: var(--nm-teal-deep); color: #fff; position: relative; overflow: hidden; }
.nm-footer .nm-waves-teal { opacity: 0.5; }
.nm-footer-top { padding: 100px 0 60px; position: relative; z-index: 2; }
.nm-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 60px; }
@media (max-width: 900px) { .nm-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 560px) { .nm-footer-grid { grid-template-columns: 1fr; } }
.nm-footer-brand .nm-brand-name { font-size: 28px; color: #fff; }
.nm-footer-brand p { font-size: 14px; color: rgba(255, 255, 255, 0.6); margin-top: 16px; max-width: 36ch; line-height: 1.6; }
.nm-footer-parent { font-style: italic; font-family: var(--nm-font-serif); color: var(--nm-teal-glow) !important; }
.nm-footer-addr { margin-top: 24px; font-size: 13px; color: rgba(255, 255, 255, 0.55); line-height: 1.7; }
.nm-footer-addr a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.nm-footer-addr a:hover { color: #fff; }
.nm-fcol-title { font-family: var(--nm-font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--nm-teal-glow); margin: 0 0 18px; font-weight: 500; }
.nm-fcol-title--spaced { margin-top: 28px; }
.nm-fcol a { display: block; font-size: 14px; color: rgba(255, 255, 255, 0.78); text-decoration: none; padding: 5px 0; transition: color .2s; }
.nm-fcol a:hover { color: #fff; }
.nm-footer-zone { font-size: 13px; color: rgba(255, 255, 255, 0.6); line-height: 1.6; margin: 0 0 10px; }
.nm-footer-zone-canton { color: var(--nm-teal-glow); }
.nm-footer-bottom { padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255, 255, 255, 0.5); flex-wrap: wrap; gap: 12px; }
.nm-footer-legal a { color: rgba(255, 255, 255, 0.5); text-decoration: none; margin-left: 24px; }
.nm-footer-legal a:first-child { margin-left: 0; }
.nm-footer-legal a:hover { color: #fff; }
@media (max-width: 560px) { .nm-footer-legal a { margin-left: 0; margin-right: 16px; } }

/* ==========================================================================
   Reveal au scroll (posé par main.js)
   ========================================================================== */
.nm-reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.nm-reveal.nm-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .nm-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .nm-eyebrow-dot .nm-dot { animation: none; }
}

/* ==========================================================================
   Contenu générique / prose (page.php, single.php, contenu libre Gutenberg)
   ========================================================================== */
.nm-generic { padding: 140px 0 100px; }
.nm-prose { max-width: 740px; margin-top: 32px; font-size: 17px; line-height: 1.75; color: var(--nm-ink-soft); }
.nm-prose h2 { font-size: 30px; margin: 48px 0 16px; color: var(--nm-ink); letter-spacing: -0.02em; }
.nm-prose h3 { font-size: 22px; margin: 36px 0 12px; color: var(--nm-ink); letter-spacing: -0.015em; }
.nm-prose p { margin: 0 0 18px; }
.nm-prose ul, .nm-prose ol { margin: 0 0 22px; padding-left: 0; list-style: none; }
.nm-prose ul li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.nm-prose ul li::before { content: '—'; position: absolute; left: 0; color: var(--nm-teal); }
.nm-prose ol { counter-reset: nm-ol; }
.nm-prose ol li { position: relative; padding-left: 32px; margin-bottom: 10px; counter-increment: nm-ol; }
.nm-prose ol li::before { content: counter(nm-ol); position: absolute; left: 0; font-family: var(--nm-font-mono); color: var(--nm-teal); font-size: 13px; top: 4px; }
.nm-prose a { color: var(--nm-teal); }
.nm-prose strong { color: var(--nm-ink); font-weight: 600; }
.nm-prose img { border-radius: var(--nm-radius-sm); margin: 24px 0; }
.nm-prose blockquote { border-left: 2px solid var(--nm-teal); padding-left: 24px; margin: 24px 0; font-family: var(--nm-font-serif); font-style: italic; color: var(--nm-ink); font-size: 22px; }

/* Listes d'articles / pagination / 404 */
.nm-post-list { display: grid; gap: 40px; margin-top: 56px; }
.nm-post-card { padding-bottom: 32px; border-bottom: 1px solid var(--nm-line-dark); }
.nm-post-title { font-size: 28px; margin: 0 0 8px; }
.nm-post-title a { text-decoration: none; }
.nm-post-meta { font-family: var(--nm-font-mono); font-size: 12px; color: var(--nm-ink-soft); letter-spacing: 0.08em; margin-bottom: 12px; }
.nm-pagination { margin-top: 56px; }
.nm-pagination .page-numbers { display: inline-flex; padding: 8px 14px; border: 1px solid var(--nm-line-dark); border-radius: 8px; margin-right: 8px; text-decoration: none; }
.nm-pagination .current { background: var(--nm-teal); color: #fff; border-color: var(--nm-teal); }
.nm-404-text { margin-top: 28px; font-size: 18px; color: var(--nm-ink-soft); max-width: 48ch; }
.nm-404-actions { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.nm-404-search { margin-top: 40px; max-width: 420px; }

/* ==========================================================================
   Layouts de sections partagés (hero, éditorial, teal, image-stats)
   Réutilisés par plusieurs gabarits → centralisés ici.
   ========================================================================== */

/* — Hero plein écran — */
.nm-hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 0 80px; }
.nm-hero-h { font-family: var(--nm-font-sans); font-weight: 300; font-size: clamp(48px, 7vw, 112px); line-height: 1.0; letter-spacing: -0.035em; margin: 0; color: #fff; max-width: 18ch; }
.nm-hero-h em { color: #d4e5e1; }
.nm-hero .nm-eyebrow-dot { margin-bottom: 28px; }
.nm-hero-foot { margin-top: 48px; display: grid; grid-template-columns: 1.4fr auto; align-items: end; gap: 40px; }
@media (max-width: 900px) { .nm-hero-foot { grid-template-columns: 1fr; gap: 28px; } }
.nm-hero-foot p { font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, 0.82); max-width: 46ch; margin: 0; }
.nm-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.nm-scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; }
.nm-scroll-line { display: block; width: 1px; height: 40px; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.6)); animation: nm-scroll 2s ease-in-out infinite; }
@keyframes nm-scroll { 0%, 100% { transform: scaleY(1); transform-origin: top; } 50% { transform: scaleY(0.4); transform-origin: top; } }
/* sous-titre hero des pages internes (svc/aud/contact) */
.nm-hero--inner { min-height: 70vh; }

/* — Éditorial clair — */
.nm-editorial { padding: var(--nm-section-y) 0; }
.nm-editorial-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; margin-top: 64px; align-items: start; }
@media (max-width: 900px) { .nm-editorial-row { grid-template-columns: 1fr; gap: 32px; } }
.nm-editorial-row p { font-size: 17px; line-height: 1.65; color: var(--nm-ink-soft); margin: 0 0 18px; }
.nm-signature { font-family: var(--nm-font-serif); font-style: italic; color: var(--nm-teal); font-size: 18px; margin-top: 24px; }

/* — Section teal pleine — */
.nm-teal-section { padding: var(--nm-section-y-lg) 0; }
.nm-teal-lead { font-family: var(--nm-font-sans); font-weight: 300; font-size: clamp(40px, 5.5vw, 80px); line-height: 1.05; letter-spacing: -0.03em; margin: 36px 0 0; max-width: 20ch; color: #fff; }
.nm-teal-lead em { color: var(--nm-teal-glow); }
.nm-teal-more { margin-top: 56px; }

/* — Section image-stats — */
.nm-image-stats { min-height: 90vh; padding: 0; }
.nm-image-stats-content { min-height: 90vh; display: flex; flex-direction: column; justify-content: space-between; padding: 120px 0 90px; }
.nm-image-stats-content .nm-lead { color: #fff; max-width: 28ch; }
.nm-image-stats-content .nm-lead em { color: var(--nm-teal-glow); }
.nm-image-stats .nm-glass-stats { margin-top: 0; }

/* — Puce « check » (listes de prestations / enjeux sur fond teal) — */
.nm-feature-check { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: rgba(139, 184, 177, 0.18); position: relative; }
.nm-feature-check::after { content: ''; position: absolute; left: 6px; top: 5px; width: 5px; height: 9px; border: solid var(--nm-teal-glow); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* — Zones d'intervention : grille cantons (accueil + contact) — */
.nm-zone-section { padding: var(--nm-section-y) 0; }
.nm-zone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
@media (max-width: 860px) { .nm-zone-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .nm-zone-grid { grid-template-columns: 1fr; } }
.nm-zone-canton { padding-top: 20px; border-top: 1px solid var(--nm-line-dark); }
.nm-zone-canton h3 { font-family: var(--nm-font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nm-teal); margin: 0 0 10px; font-weight: 500; }
.nm-zone-canton p { font-size: 14px; line-height: 1.7; color: var(--nm-ink-soft); margin: 0; }
