/* NEXXCAP — mini-site Carbodiam · couche projet au-dessus de samedia-ds.css (data-brand="carbodiam", thème sombre)
   Accent = rouge du logo NEXXCAP (#FF0000, relevé dans le PNG fourni par Carbodiam, 08/10/2026) ; logo uniquement sur fond sombre.
   Bloc NEXX-DRILL (ex-Vampire) passé du jaune Carbodiam au rouge NEXXCAP à la demande de Carbodiam (16/10/2026).
   30/10/2026 : DA Carbodiam au-dessus de NEXxCAP (demande John / Julien) → accent jaune #FFD600, voir bloc V10 en fin de fichier. */

:root {
  --nx-bg: #161615;            /* noir carbodiam.com (30/10/2026) */
  --nx-panel: #0d0d0d;
  --nx-line: rgb(255 255 255 / .1);
  --nx-line-strong: rgb(255 255 255 / .22);
  --nx-muted: #b5b5b5;
  --nx-a: #FFD600;            /* jaune carbodiam.com (était le rouge NEXXCAP #FF0000 jusqu'au 29/10/2026) */
  --nx-a-rgb: 255 214 0;
  --nx-crb: var(--smd-brand, #FFE500); /* jaune Carbodiam */
  --nx-header-h: 72px;
  --nx-gutter: clamp(16px, 4vw, 48px);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nx-header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.nx {
  margin: 0;
  background: var(--nx-bg);
  color: var(--smd-white);
  font-family: var(--smd-font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html:has(body.nx), body.nx, .nx-section { overflow-x: clip; } /* les apparitions latérales ne doivent pas élargir la page */
.nx ::selection { background: var(--nx-a); color: #000; }

.nx-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--nx-gutter); box-sizing: border-box; }
.nx-sr, .nx-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nx-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--nx-a); color: #000; padding: 10px 16px; font-weight: 700; }
.nx-skip:focus { top: 12px; }
.nx a:focus-visible, .nx button:focus-visible { outline: 2px solid var(--nx-a); outline-offset: 3px; }

/* ── En-tête ─────────────────────────────────────────── */
.nx-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nx-header-h);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nx-header.is-scrolled { background: rgb(5 5 5 / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--nx-line); }
.nx-header__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.nx-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.nx-brand__logo { display: block; height: 44px; width: auto; }
.nx-brand__by { font-weight: 300; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--nx-muted); padding-left: 10px; border-left: 1px solid var(--nx-line-strong); }
.nx-nav { margin-left: auto; }
.nx-lang-mobile { display: none !important; }
.nx-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nx-nav li:has(> a[href="#contact"]) { display: none; }
.nx-nav a { color: var(--nx-muted); text-decoration: none; font-size: .82rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; transition: color .2s; position: relative; }
.nx-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--nx-a); transition: right .3s var(--smd-ease); }
.nx-nav a:hover, .nx-nav a.is-active { color: #fff; }
.nx-nav a:hover::after, .nx-nav a.is-active::after { right: 0; }
.nx-header__end { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nx-lang { margin: 0; display: flex; gap: 6px; font-size: .78rem; letter-spacing: .1em; color: var(--nx-line-strong); }
.nx-lang a { color: var(--nx-muted); text-decoration: none; font-weight: 400; }
.nx-lang a[aria-current] { color: var(--nx-a); font-weight: 700; }
.nx-burger { display: none; width: 40px; height: 40px; background: none; border: 1px solid var(--nx-line-strong); border-radius: 2px; cursor: pointer; position: relative; }
.nx-burger > span:first-child, .nx-burger > span:first-child::before, .nx-burger > span:first-child::after { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; content: ""; transition: transform .25s, opacity .25s; }
.nx-burger > span:first-child { top: 19px; }
.nx-burger > span:first-child::before { left: 0; right: 0; top: -6px; }
.nx-burger > span:first-child::after { left: 0; right: 0; top: 6px; }
.nx-burger[aria-expanded="true"] > span:first-child { background: transparent; }
.nx-burger[aria-expanded="true"] > span:first-child::before { transform: translateY(6px) rotate(45deg); }
.nx-burger[aria-expanded="true"] > span:first-child::after { transform: translateY(-6px) rotate(-45deg); }

/* ── Boutons ─────────────────────────────────────────── */
.nx-btn { gap: 12px; letter-spacing: .08em; --_bg: transparent; --_fg: #fff; --_bd: var(--nx-a); transition: background .25s, color .25s, box-shadow .25s; }
.nx-btn:hover, .nx-btn:focus-visible { --_bg: var(--nx-a); --_fg: #000; background: var(--nx-a); color: #000; box-shadow: 0 0 32px rgb(var(--nx-a-rgb) / .45); }
.nx-header__cta { --_bg: var(--nx-a); --_fg: #000; --_bd: var(--nx-a); background: var(--nx-a); color: #000; border-color: var(--nx-a); }
.nx-arrow { display: inline-block; transition: transform .25s var(--smd-ease); }
.nx-btn:hover .nx-arrow, .nx-link:hover .nx-arrow { transform: translateX(5px); }
.nx-link { display: inline-flex; gap: 12px; align-items: center; color: var(--nx-a); font-weight: 700; letter-spacing: .1em; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid currentColor; }

/* ── 01 Héros ────────────────────────────────────────── */
.nx-hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(48% 55% at 74% 48%, rgb(var(--nx-a-rgb) / .16), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgb(255 255 255 / .04), transparent 70%),
    var(--nx-bg);
}
.nx-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.nx-hero__grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.nx-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--nx-bg)); z-index: -1; }
.nx-hero__in { position: relative; padding-top: calc(var(--nx-header-h) + 32px); padding-bottom: 96px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 48px); align-items: center; }
.nx-hero__index { position: absolute; top: calc(var(--nx-header-h) + 44px); right: var(--nx-gutter); margin: 0; font-size: .75rem; letter-spacing: .3em; color: var(--nx-muted); writing-mode: vertical-rl; }
.nx-hero__title { margin: 0; display: flex; flex-direction: column; gap: clamp(14px, 2vw, 24px); }
.nx-hero__logo { display: block; width: min(100%, 470px); height: auto; animation: nx-rise 1s var(--smd-ease) both; filter: drop-shadow(0 0 40px rgb(var(--nx-a-rgb) / .25)); }
.nx-hero__tagline {
  display: flex; align-items: center; gap: 16px;
  font-size: clamp(.8rem, 1.45vw, 1.12rem); font-weight: 900; letter-spacing: .14em; color: #fff;
  animation: nx-rise 1s .15s var(--smd-ease) both;
}
.nx-hero__tagline::before { content: ""; flex: 0 0 clamp(28px, 4vw, 56px); height: 2px; background: var(--nx-a); }
.nx-mesh-word { font-style: normal; color: var(--nx-a); }
.nx-hero__sub { max-width: 34ch; margin: clamp(22px, 3.4vw, 36px) 0 32px; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.5; color: var(--nx-muted); animation: nx-rise 1s .3s var(--smd-ease) both; }
.nx-hero .nx-btn { animation: nx-rise 1s .45s var(--smd-ease) both; }
.nx-hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 56px; background: var(--nx-line); overflow: hidden; }
.nx-hero__scroll span { position: absolute; inset: 0 0 auto; height: 40%; background: var(--nx-a); animation: nx-scroll 2.2s infinite var(--smd-ease); }

/* Sphère NEXXCAP : scène Three.js (assets/js/nexxcap-sphere.js), sans image de secours */
.nx-hero__visual { position: relative; }
.nx-sphere { position: relative; width: min(116%, 720px); margin: 0 0 0 -8%; aspect-ratio: 1; } /* déborde un peu sur la gouttière, jamais hors écran */
.nx-sphere canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s var(--smd-ease); cursor: grab; }
.nx-sphere canvas:active { cursor: grabbing; }
.nx-sphere.is-live canvas { opacity: 1; }
/* repères de visée, repris du visuel */
.nx-sphere__hud { position: absolute; inset: 2%; pointer-events: none; opacity: 0; transition: opacity 1.4s .4s; }
.nx-sphere.is-live .nx-sphere__hud { opacity: 1; }
.nx-sphere__hud, .nx-sphere__hud::before, .nx-sphere__hud::after {
  --c: rgb(var(--nx-a-rgb) / .7);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 18px 1px no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / 1px 18px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 18px 1px no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / 1px 18px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 18px 1px no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / 1px 18px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 18px 1px no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / 1px 18px no-repeat;
}
.nx-sphere__hud::before, .nx-sphere__hud::after { content: ""; position: absolute; background: none; }
.nx-sphere__hud::before { left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, rgb(255 255 255 / .08) 20% 80%, transparent); }
.nx-sphere__hud::after { top: 50%; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .08) 20% 80%, transparent); }
@keyframes nx-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes nx-scroll { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ── Sections communes ───────────────────────────────── */
.nx-section { position: relative; padding-block: clamp(80px, 12vw, 160px); }
.nx-section + .nx-section { border-top: 1px solid var(--nx-line); }
.nx-kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--nx-muted); }
.nx-kicker > span:first-child { color: var(--nx-a); font-weight: 900; letter-spacing: .1em; }
.nx-kicker > span:first-child::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--nx-line-strong); margin-left: 14px; vertical-align: middle; }
.nx-h2 { margin: 0 0 24px; font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 900; line-height: 1.08; text-transform: uppercase; letter-spacing: -.005em; }
.nx-h2--xl { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.nx-body { margin: 0 0 24px; font-size: 1.05rem; line-height: 1.7; color: var(--nx-muted); max-width: 56ch; }
.nx-body--lg { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #e6e6e6; }
.nx-claim { margin: 36px 0 0; padding-left: 20px; border-left: 3px solid var(--nx-a); font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 700; line-height: 1.4; color: #fff; }
.nx-center { text-align: center; margin: 56px 0 0; }
.nx-note { margin: 18px 0 0; text-align: center; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--smd-gray-400); }

.nx-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.nx-split--rev { grid-template-columns: 1fr 1.05fr; }

/* Emplacements visuels (en attente des visuels de Maud) */
.nx-ph {
  position: relative; margin: 0; aspect-ratio: 4 / 3.4; border: 1px dashed var(--nx-line-strong); border-radius: 2px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 24px; box-sizing: border-box;
  background:
    radial-gradient(45% 45% at 50% 45%, rgb(var(--nx-a-rgb) / .12), transparent 70%),
    repeating-linear-gradient(135deg, rgb(255 255 255 / .025) 0 1px, transparent 1px 14px),
    var(--nx-panel);
}
.nx-ph::before { /* diamant encapsulé, symbolique */
  content: ""; position: absolute; left: 50%; top: 44%; width: 26%; aspect-ratio: 1; translate: -50% -50%;
  border: 1px solid rgb(var(--nx-a-rgb) / .55); border-radius: 50%;
  box-shadow: 0 0 0 18px rgb(var(--nx-a-rgb) / .04), 0 0 0 38px rgb(var(--nx-a-rgb) / .025), 0 0 80px rgb(var(--nx-a-rgb) / .15);
  background: conic-gradient(from 45deg, transparent 0 25%, rgb(var(--nx-a-rgb) / .0) 25%), radial-gradient(circle, transparent 54%, rgb(var(--nx-a-rgb) / .06) 55%);
  animation: nx-breathe 5s ease-in-out infinite;
}
.nx-ph::after { content: ""; position: absolute; left: 50%; top: 44%; width: 9%; aspect-ratio: 1; translate: -50% -50%; rotate: 45deg; background: linear-gradient(135deg, #fff, var(--nx-a) 60%, #8a7a00); box-shadow: 0 0 30px rgb(var(--nx-a-rgb) / .5); }
.nx-ph--product::before { border-radius: 2px; width: 14%; aspect-ratio: 1 / 3.4; top: 42%; box-shadow: 0 0 0 14px rgb(var(--nx-a-rgb) / .04), 0 0 80px rgb(var(--nx-a-rgb) / .12); }
.nx-ph--product::after { top: 18%; width: 7%; }
.nx-ph__tag { align-self: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #000; background: var(--nx-a); padding: 4px 8px; }
.nx-ph__label { font-size: .9rem; color: var(--nx-muted); }
@keyframes nx-breathe { 50% { scale: 1.06; box-shadow: 0 0 0 24px rgb(var(--nx-a-rgb) / .05), 0 0 0 48px rgb(var(--nx-a-rgb) / .02), 0 0 110px rgb(var(--nx-a-rgb) / .22); } }

/* ── 03 Avantages ────────────────────────────────────── */
.nx-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--nx-line); }
.nx-card { position: relative; padding: clamp(28px, 3vw, 40px) clamp(22px, 2.4vw, 32px) 40px; border-right: 1px solid var(--nx-line); transition: background .35s; overflow: hidden; }
.nx-card:last-child { border-right: 0; }
.nx-card::before { content: ""; position: absolute; inset: 0 100% auto 0; height: 3px; background: var(--nx-a); transition: right .5s var(--smd-ease); }
.nx-card:hover { background: rgb(255 255 255 / .03); }
.nx-card:hover::before { right: 0; }
.nx-card__num { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .2em; color: var(--smd-gray-500); margin-bottom: 44px; }
.nx-icon { width: 40px; height: 36px; color: var(--nx-a); margin-bottom: 24px; display: block; }
.nx-card__title { margin: 0 0 12px; font-size: 1.2rem; font-weight: 900; letter-spacing: .02em; }
.nx-card__text { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--nx-muted); }

/* ── 04 Schémas ──────────────────────────────────────── */
.nx-schemas { background: linear-gradient(180deg, var(--nx-bg), #0a0a0a 50%, var(--nx-bg)); }
.nx-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 3vw, 40px); align-items: stretch; }
.nx-compare__item { margin: 0; border: 1px solid var(--nx-line); background: var(--nx-panel); display: flex; flex-direction: column; }
.nx-compare__item--nx { border-color: rgb(var(--nx-a-rgb) / .4); box-shadow: 0 0 80px rgb(var(--nx-a-rgb) / .06); }
.nx-compare figcaption { padding: 20px 24px 26px; border-top: 1px solid var(--nx-line); display: grid; gap: 6px; }
.nx-compare__title { font-weight: 900; font-size: .95rem; letter-spacing: .06em; }
.nx-compare__item--nx .nx-compare__title { color: var(--nx-a); }
.nx-compare__text { font-size: .9rem; color: var(--nx-muted); line-height: 1.5; }
.nx-compare__vs { width: 1px; background: linear-gradient(transparent, var(--nx-a), transparent); align-self: stretch; }
.nx-mesh { display: block; width: 100%; height: auto; }
.nx-mesh .bg { fill: transparent; }
.nx-mesh .d { fill: #6e6e6e; }
.nx-mesh .d--off { fill: #2a2a2a; }
.nx-mesh--nx .d { fill: var(--nx-a); }
.nx-mesh--nx .c { fill: rgb(var(--nx-a-rgb) / .04); stroke: rgb(var(--nx-a-rgb) / .35); stroke-width: 1; }
html[data-motion="rich"] .nx-mesh--nx .c { animation: nx-pulse 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
html[data-motion="rich"] .nx-mesh--nx circle:nth-of-type(3n) { animation-delay: -1.2s; }
html[data-motion="rich"] .nx-mesh--nx circle:nth-of-type(3n+1) { animation-delay: -2.4s; }
@keyframes nx-pulse { 50% { transform: scale(1.12); stroke: rgb(var(--nx-a-rgb) / .8); } }
.nx-statement { margin: clamp(56px, 8vw, 96px) auto 0; max-width: 22ch; text-align: center; font-size: clamp(1.7rem, 4.2vw, 3.4rem); font-weight: 900; line-height: 1.1; text-transform: uppercase; }

/* ── 05 Différence ───────────────────────────────────── */
.nx-manifesto { margin: 0 0 clamp(56px, 8vw, 96px); font-size: clamp(1.9rem, 5.2vw, 4.6rem); font-weight: 900; line-height: 1.02; letter-spacing: -.01em; text-transform: uppercase; max-width: 18ch; }
.nx-manifesto .is-dim { color: var(--smd-gray-500); }
.nx-manifesto .is-hl { color: var(--nx-a); }
.nx-pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.nx-pillars li { position: relative; padding-top: 28px; }
.nx-pillars__bar { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--nx-line-strong); }
.nx-pillars__bar::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 3px; background: var(--nx-a); }
.nx-pillars h3 { margin: 0 0 12px; font-size: 1.15rem; font-weight: 900; letter-spacing: .08em; }
.nx-pillars p { margin: 0; color: var(--nx-muted); line-height: 1.65; }
.nx-conclusion { margin: clamp(56px, 8vw, 96px) 0 0; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 300; color: #fff; max-width: 40ch; }

/* ── 06 NEXX-DRILL : base blanche, exergues rouges, encart noir derrière les photos (choix Julien 16/10/2026).
   Rouge #FF0000 réservé aux grands éléments et aux traits (rouge sur blanc = 4:1, insuffisant pour du petit texte). ── */
.nx-vampire { background: #fff; color: #0b0b0b; border-top: 6px solid var(--nx-a) !important; }
.nx-vampire .nx-kicker { color: #0b0b0b; }
.nx-vampire .nx-kicker > span:first-child { color: var(--nx-a); }
.nx-vampire .nx-kicker > span:first-child::after { background: var(--nx-a); }
.nx-vampire__title { margin: 0 0 20px; font-size: clamp(2.2rem, 7.4vw, 6.2rem); white-space: nowrap; font-weight: 900; line-height: .85; letter-spacing: -.02em; color: #0b0b0b; }
.nx-vampire__title small { white-space: normal; display: block; font-size: max(.2em, .78rem); font-weight: 300; letter-spacing: .3em; margin-bottom: .6em; color: #555; }
.nx-vampire__title em { font-style: normal; color: var(--nx-a); }
.nx-vampire .nx-body--lg { color: #0b0b0b; font-weight: 400; }
.nx-args { list-style: none; margin: 32px 0 40px; padding: 0; border-top: 1px solid #e4e4e4; }
.nx-args li { display: grid; grid-template-columns: minmax(0, 15rem) 1fr; gap: 8px 24px; padding: 16px 0; border-bottom: 1px solid #e4e4e4; }
.nx-args strong { font-weight: 900; font-size: .9rem; letter-spacing: .06em; color: #0b0b0b; }
.nx-args span { font-size: .95rem; line-height: 1.5; color: #3a3a3a; }
.nx-args .is-inside strong { display: inline-flex; align-items: center; gap: 8px; }
.nx-args .is-inside strong::before { content: ""; width: 10px; height: 10px; background: var(--nx-a); border-radius: 50%; }
.nx-vampire .smd-btn { background: #0b0b0b; color: #fff; border-color: #0b0b0b; }
.nx-vampire .smd-btn .nx-arrow { color: var(--nx-a); }
.nx-vampire .smd-btn:hover { background: var(--nx-a); color: #000; border-color: var(--nx-a); }
.nx-vampire .smd-btn:hover .nx-arrow { color: #000; }
.nx-vampire .smd-todo { background: #fff7ed; color: #9a3412; border-color: #9a3412; }
/* Encart noir décalé derrière la photo (sinon le béton clair se fond dans le blanc), liseré rouge à sa base */
.nx-vampire .nx-duo { position: relative; isolation: isolate; }
.nx-vampire .nx-duo::before { content: ""; position: absolute; z-index: -1; left: -28px; top: -28px; right: 22%; bottom: 18%; background: #0b0b0b; border-bottom: 6px solid var(--nx-a); }
/* Vignette carotte : agrandie, déborde sur le fond blanc, cadre blanc (sinon béton sur béton, illisible — 16/10/2026) */
.nx-vampire .nx-duo__inset { width: 46%; right: -8%; bottom: -10%; border: 8px solid #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 28px 56px rgb(0 0 0 / .35); }
@media (max-width: 860px) { .nx-vampire .nx-duo__inset { right: 0; bottom: -8%; } }
.nx-vampire .nx-ph { border-color: rgb(0 0 0 / .35); background: radial-gradient(45% 45% at 50% 45%, rgb(var(--nx-a-rgb) / .14), transparent 70%), repeating-linear-gradient(135deg, rgb(255 255 255 / .03) 0 1px, transparent 1px 14px), #0b0b0b; }
@media (max-width: 560px) { .nx-vampire .nx-duo::before { left: -14px; top: -14px; } }

/* ── 07 Contact ──────────────────────────────────────── */
.nx-contact { border-top: 0 !important; background: radial-gradient(50% 60% at 85% 20%, rgb(var(--nx-a-rgb) / .07), transparent 70%), var(--nx-bg); }
.nx-contact__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.nx-form { background: var(--nx-panel); border: 1px solid var(--nx-line); padding: clamp(24px, 3.5vw, 44px); position: relative; }
.nx-form::before { content: ""; position: absolute; top: -1px; left: -1px; width: 64px; height: 3px; background: var(--nx-a); }
.nx-form .smd-input, .nx-form .smd-textarea { background: #050505; }
.nx-form .smd-check { color: var(--nx-muted); font-size: .88rem; line-height: 1.5; }
.nx-form__submit { margin-top: 28px; width: 100%; justify-content: center; white-space: normal; text-align: center; }
.nx-form, .nx-form .smd-field { min-width: 0; }
.nx-form__status { margin: 16px 0 0; font-size: .9rem; color: var(--nx-a); min-height: 1.4em; }

/* ── Pied de page ────────────────────────────────────── */
.nx-footer { border-top: 1px solid var(--nx-line); padding-block: 48px; background: #000; }
.nx-footer__in { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 40px; align-items: center; }
.nx-footer__logo img { display: block; width: 64px; height: auto; }
.nx-footer__word { margin: 0; font-weight: 900; letter-spacing: .14em; font-size: .9rem; }
.nx-footer__word span { font-weight: 300; color: var(--nx-muted); letter-spacing: .14em; }
.nx-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .82rem; }
.nx-footer__links a { color: var(--nx-muted); text-decoration: none; }
.nx-footer__links a:hover { color: #fff; }
.nx-footer__copy { grid-column: 1 / -1; margin: 16px 0 0; padding-top: 20px; border-top: 1px solid var(--nx-line); font-size: .75rem; color: var(--smd-gray-500); }
.nx .smd-todo { vertical-align: middle; margin-left: 6px; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1080px) {
  .nx-nav ul { gap: 18px; }
  .nx-brand__by { display: none; }
  .nx-cards { grid-template-columns: repeat(2, 1fr); }
  .nx-card:nth-child(2) { border-right: 0; }
  .nx-card:nth-child(-n+2) { border-bottom: 1px solid var(--nx-line); }
}
@media (max-width: 860px) {
  .nx-nav { position: fixed; inset: var(--nx-header-h) 0 auto; background: rgb(5 5 5 / .97); border-bottom: 1px solid var(--nx-line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s; }
  .nx-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nx-nav ul { flex-direction: column; gap: 0; padding: 8px var(--nx-gutter) 20px; }
  .nx-nav a { display: block; padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--nx-line); }
  .nx-nav a::after { display: none; }
  .nx-burger { display: block; }
  .nx-nav li:has(> a[href="#contact"]) { display: block; }
  .nx-lang-mobile { display: flex !important; gap: 24px; padding-top: 14px; }
  .nx-lang-mobile a { border: 0 !important; padding: 4px 0 !important; color: var(--nx-muted); }
  .nx-lang-mobile a[aria-current] { color: var(--nx-a); font-weight: 700; }
  .nx-header__cta { display: none; }
  .nx-header { background: rgb(5 5 5 / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .nx-split, .nx-split--rev, .nx-contact__in { grid-template-columns: minmax(0, 1fr); }
  .nx-split--rev .nx-split__visual { order: 2; }
  .nx-compare { grid-template-columns: minmax(0, 1fr); }
  .nx-compare__vs { width: auto; height: 1px; background: linear-gradient(90deg, transparent, var(--nx-a), transparent); }
  .nx-pillars { grid-template-columns: 1fr; }
  .nx-footer__in { grid-template-columns: auto 1fr; }
  .nx-footer__links { grid-column: 1 / -1; }
  .nx-hero__index { display: none; }
  .nx-hero__in { grid-template-columns: minmax(0, 1fr); padding-bottom: 72px; gap: 8px; }
  .nx-hero__in { padding-top: calc(var(--nx-header-h) + 8px); }
  .nx-hero__visual { order: -1; margin-inline: auto; width: min(84vw, 440px); margin-bottom: -12px; }
  .nx-sphere { width: 100%; margin-inline: 0; }
  .nx-hero__logo { width: min(62vw, 300px); }
  .nx-hero__sub { margin: 18px 0 24px; }
  .nx-brand__logo { height: 38px; }
}
@media (max-width: 560px) {
  .nx-cards { grid-template-columns: 1fr; }
  .nx-card { border-right: 0; border-bottom: 1px solid var(--nx-line); }
  .nx-card:last-child { border-bottom: 0; }
  .nx-card__num { margin-bottom: 24px; }
  .nx-args li { grid-template-columns: 1fr; }
  .nx-hero__tagline { letter-spacing: .1em; font-size: .78rem; }
  .nx-hero__tagline::before { flex-basis: 24px; }
  .nx-lang { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nx *, .nx *::before, .nx *::after { animation: none !important; transition: none !important; }
}

/* Captures pleine page (?capture) */
.nx-capture .nx-hero { min-height: 900px; }

/* Visuels fournis (remplacent les emplacements) */
.nx-img { display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 2px; background: var(--nx-panel); }
.nx-img--schema { aspect-ratio: 16 / 9; object-fit: contain; border-radius: 0; background: #000; }
.nx-img--portrait { aspect-ratio: 3 / 4; }
.nx-img--natural { aspect-ratio: auto; height: auto; } /* visuels annotés : jamais recadrés */
.nx-duo { position: relative; margin: 0; }
.nx-duo .nx-img--portrait { width: 82%; }
.nx-duo__inset { position: absolute; right: 0; bottom: -6%; width: 40%; aspect-ratio: 3 / 4; border: 6px solid var(--nx-a); box-shadow: 0 20px 50px rgb(0 0 0 / .35); }
.nx-split__visual .smd-todo { margin: 10px 0 0; }
/* Badges « à compléter » dans les listes : sous le texte, sans élargir la colonne */
.nx-args .smd-todo, .nx-compare .smd-todo { display: table; margin: 6px 0 0; white-space: normal; }
.nx-footer__word { display: flex; align-items: center; gap: 18px; }
.nx-footer__nexxcap { display: block; height: 44px; width: auto; }

/* ── Langues (alignées sur carbodiam.com : FR, EN, DE, ES, NL) ── */
.nx-footer__langs { display: flex; gap: 12px; }
.nx-footer__links .nx-footer__langs a[aria-current] { color: var(--nx-a); font-weight: 700; }
.nx-lang-mobile { flex-wrap: wrap; }
/* Page traduite par SAMEDIA, à faire relire : badge fixe, discret, sur toutes les sections */
.nx-i18n-todo { position: fixed; left: 16px; bottom: 16px; z-index: 60; margin: 0; pointer-events: none; }
.nx-i18n-todo .smd-todo { margin: 0; background: #000; color: #fdba74; border-color: #fdba74; }
@media (max-width: 1080px) { .nx-header__in { gap: 20px; } .nx-header__end { gap: 12px; } .nx-lang { gap: 4px; } }
/* Badges longs (légendes à demander) : retour à la ligne sur mobile */
.nx-note .smd-todo, .nx-split__visual .smd-todo { white-space: normal; text-align: left; }

/* ════════════════════════════════════════════════════════════════════════
   V6 — ALLÈGEMENT DU ONE-PAGE (16/10/2026, demande Julien)
   Rythme : héros noir (logo sur fond sombre uniquement) → blanc → gris clair → UN bandeau noir (manifeste)
   → blanc (NEXX-DRILL) → gris clair (contact) → pied noir.
   Rouge #FF0000 : grands éléments et traits seulement (rouge sur blanc = 4:1, trop faible en petit texte).
   Visuels Carbodiam sur fond noir = « plaques » posées sur le clair.
   ════════════════════════════════════════════════════════════════════════ */
:root {
  --nx-paper: #fff;
  --nx-mist: #f2f2f1;      /* gris clair neutre (pas crème) */
  --nx-ink: #0a0a0a;
  --nx-graphite: #454545;  /* texte courant sur clair : 9,7:1 */
  --nx-rule: #dedede;
}
.nx-section { padding-block: clamp(72px, 10vw, 136px); }
.nx-section + .nx-section { border-top: 0; }

/* Sections claires */
.nx-tech, .nx-benefits, .nx-vampire { background: var(--nx-paper); color: var(--nx-ink); }
.nx-schemas, .nx-contact { background: var(--nx-mist); color: var(--nx-ink); }
.nx-benefits { padding-top: 0; } /* suite directe de « Technologie » */

/* Typo : capitales réservées aux titres déjà en capitales dans le brief ; graisse 800 au lieu de 900 */
.nx-kicker { margin: 0 0 20px; font-size: .95rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--nx-graphite); gap: 0; }
.nx-kicker::before { content: ""; width: 24px; height: 3px; background: var(--nx-a); margin-right: 12px; flex: none; }
.nx-diff .nx-kicker, .nx-hero .nx-kicker { color: var(--nx-muted); }
.nx-kicker > span:first-child { color: inherit; font-weight: inherit; letter-spacing: inherit; }
.nx-kicker > span:first-child::after { display: none; }
.nx-h2 { text-transform: none; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
.nx-tech .nx-h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); max-width: 20ch; }
.nx-tech .nx-body, .nx-contact .nx-body { color: var(--nx-graphite); }
.nx-tech .nx-claim { color: var(--nx-ink); font-weight: 600; border-left-width: 3px; }

/* Plaques sombres (visuels) : encart noir décalé + base rouge, même code que NEXX-DRILL */
.nx-tech .nx-split__visual { position: relative; isolation: isolate; }
.nx-tech .nx-split__visual::before { content: ""; position: absolute; z-index: -1; inset: -24px 24px 24px -24px; background: var(--nx-ink); border-bottom: 5px solid var(--nx-a); }
.nx-tech .nx-img { display: block; width: 100%; height: auto; }
.nx-tech .smd-todo, .nx-schemas .smd-todo, .nx-contact .smd-todo { background: #fff7ed; color: #9a3412; border-color: #9a3412; }

/* Avantages : 4 colonnes ouvertes, filet fin, plus de cadres ni de numéros */
.nx-cards { border: 0; gap: clamp(24px, 3vw, 48px); }
.nx-card { padding: 28px 0 0; border: 0 !important; border-top: 1px solid var(--nx-rule) !important; background: none !important; overflow: visible; }
.nx-card::before { display: none; }
.nx-card__title { color: var(--nx-ink); font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; }
.nx-card__text { color: var(--nx-graphite); }
.nx-icon { margin-bottom: 20px; }
.nx-benefits .nx-link { color: var(--nx-ink); border-bottom: 3px solid var(--nx-a); padding-bottom: 4px; letter-spacing: .06em; }
.nx-benefits .nx-link:hover { color: var(--nx-a); }

/* Schémas : deux plaques sur gris clair, légendes en dessous, sans cadre */
.nx-compare { gap: clamp(20px, 3vw, 40px); grid-template-columns: 1fr 1fr; }
.nx-compare__vs { display: none; }
.nx-compare__item, .nx-compare__item--nx { background: none; border: 0; box-shadow: none; }
.nx-compare__item .nx-img { display: block; width: 100%; height: auto; }
.nx-compare__item { position: relative; }
/* trait sous chaque plaque : noir (conventionnel, fondu dans l'image) / rouge (NEXXCAP) */
.nx-compare figcaption { padding: 14px 0 0; border-top: 5px solid var(--nx-ink); }
.nx-compare .nx-compare__item--nx figcaption { border-top-color: var(--nx-a); }
.nx-compare__title, .nx-compare__item--nx .nx-compare__title { color: var(--nx-ink); font-weight: 800; }
.nx-compare__text { color: var(--nx-graphite); }
.nx-note { text-align: left; letter-spacing: 0; text-transform: none; }
.nx-statement { margin-left: 0; text-align: left; text-transform: none; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; color: var(--nx-ink); max-width: 24ch; font-size: clamp(1.6rem, 3.6vw, 2.9rem); }

/* Différence : le seul bandeau noir du milieu de page, manifeste conservé en capitales (moment fort) */
.nx-diff { background: var(--nx-ink); }
.nx-manifesto { font-weight: 800; font-size: clamp(1.8rem, 4.6vw, 4rem); }
.nx-manifesto .is-dim { color: #8a8a8a; }
.nx-pillars p { color: #c9c9c9; }
.nx-pillars h3 { font-weight: 800; }
.nx-conclusion { color: #e9e9e9; }

/* NEXX-DRILL : titre 800 */
.nx-vampire__title { font-weight: 800; }

/* Contact : gris clair, formulaire sur carte blanche */
.nx-contact { background: var(--nx-mist); }
.nx-contact .nx-h2 { text-transform: none; color: var(--nx-ink); font-weight: 800; font-size: clamp(2rem, 4vw, 3.4rem); }
.nx-form { background: var(--nx-paper); border: 0; box-shadow: 0 1px 0 var(--nx-rule); }
.nx-form::before { width: 100%; left: 0; top: 0; height: 4px; }
.nx-form .smd-label { color: var(--nx-ink); }
.nx-form .smd-input, .nx-form .smd-textarea { background: #fff; color: var(--nx-ink); border-color: #c8c8c8; }
.nx-form .smd-input:focus, .nx-form .smd-textarea:focus { border-color: var(--nx-ink); outline: 2px solid var(--nx-a); outline-offset: 1px; }
.nx-form .smd-check { color: var(--nx-graphite); }
.nx-form__submit { --_fg: #fff; --_bg: var(--nx-ink); --_bd: var(--nx-ink); background: var(--nx-ink); color: #fff; border-color: var(--nx-ink); }
.nx-form__submit:hover, .nx-form__submit:focus-visible { background: var(--nx-a); color: #000; border-color: var(--nx-a); box-shadow: none; }
.nx-form__status { color: var(--nx-ink); }

/* Focus clavier visible sur clair */
.nx-tech a:focus-visible, .nx-benefits a:focus-visible, .nx-vampire a:focus-visible, .nx-contact a:focus-visible, .nx-contact button:focus-visible { outline: 2px solid var(--nx-ink); outline-offset: 3px; }

/* Héros : on retire l'indicateur de défilement (décor) */
.nx-hero__scroll { display: none; }
.nx-hero__canvas { opacity: .7; } /* trame adoucie, la sphère reste le point fort */
/* En-tête toujours lisible au-dessus des sections claires */
.nx-header.is-scrolled { background: rgb(0 0 0 / .94); }
@media (max-width: 860px) { .nx-compare { grid-template-columns: minmax(0, 1fr); } .nx-tech .nx-split__visual::before { inset: -14px 14px 14px -14px; } }
.nx-footer__copy { color: #8f8f8f; } /* 6:1 sur noir (était 4,1:1) */

/* ════════════════════════════════════════════════════════════════════════
   V7 — ALTERNANCE (16/10/2026) : V6 jugée « trop blanche » par Julien.
   Héros noir · Technologie blanc · Avantages graphite · Schémas gris clair · Différence noir
   · NEXX-DRILL blanc · Contact graphite · pied noir. Deux sombres distincts pour éviter l'effet « même bloc ».
   ════════════════════════════════════════════════════════════════════════ */
:root { --nx-graphite-bg: #161616; }

/* Avantages : bloc sombre graphite */
.nx-benefits { background: var(--nx-graphite-bg); color: #fff; padding-top: clamp(72px, 10vw, 136px); }
.nx-benefits .nx-kicker { color: var(--nx-muted); }
.nx-benefits .nx-card { border-top-color: rgb(255 255 255 / .16) !important; }
.nx-benefits .nx-card__title { color: #fff; }
.nx-benefits .nx-card__text { color: #c4c4c4; }
.nx-benefits .nx-link { color: #fff; }
.nx-benefits .nx-link:hover { color: var(--nx-a); }
.nx-benefits a:focus-visible { outline-color: #fff; }

/* Contact : bloc sombre graphite, formulaire sur panneau noir */
.nx-contact { background: var(--nx-graphite-bg); color: #fff; }
.nx-contact .nx-kicker { color: var(--nx-muted); }
.nx-contact .nx-h2 { color: #fff; }
.nx-contact .nx-body { color: #c4c4c4; }
.nx-form { background: #0a0a0a; box-shadow: none; }
.nx-form .smd-label { color: #fff; }
.nx-form .smd-input, .nx-form .smd-textarea { background: #161616; color: #fff; border-color: #3a3a3a; }
.nx-form .smd-input:focus, .nx-form .smd-textarea:focus { border-color: #fff; }
.nx-form .smd-check { color: #c4c4c4; }
.nx-form__submit { background: var(--nx-a); color: #000; border-color: var(--nx-a); --_bg: var(--nx-a); --_fg: #000; --_bd: var(--nx-a); }
.nx-form__submit:hover, .nx-form__submit:focus-visible { background: #fff; color: #000; border-color: #fff; }
.nx-form__status { color: #fff; }
.nx-contact a:focus-visible, .nx-contact button:focus-visible { outline-color: #fff; }
.nx-contact .smd-todo { background: #000; color: #fdba74; border-color: #fdba74; }
.nx-form .smd-req { color: var(--nx-a); } /* 5:1 sur le panneau noir (était 3,5:1) */

/* NEXxCAP : x minuscule conservé dans les titres en capitales (demande Maud 26/10/2026) */
.nx-name { text-transform: none; display: contents; } /* contents : pas d’élément flex séparé (boutons, listes) */
/* Conclusion Différence en exergue, NEXxCAP en rouge (demande Julien 26/10/2026) */
.nx-conclusion { font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1.15; color: #fff; max-width: 26ch; }
.nx-conclusion strong { color: var(--nx-a); font-weight: 800; }
/* Lien vers la déclaration de confidentialité Carbodiam sous la case RGPD (validé Julien 26/10/2026) */
.nx-form__privacy { margin: 8px 0 0 30px; font-size: .8rem; }
.nx-form__privacy a { color: inherit; opacity: .75; text-decoration: underline; text-underline-offset: 3px; }
.nx-form__privacy a:hover { opacity: 1; }

/* ════════════════════════════════════════════════════════════════════════
   V10 — DA CARBODIAM (30/10/2026, validé Julien) : la marque Carbodiam passe au-dessus de NEXxCAP.
   Valeurs relevées sur carbodiam.com : jaune #FFD600, noir #161615, Poppins, boutons jaunes arrondis 12 px.
   Header = logo Carbodiam ; héros = titre texte « NEXxCAP » (x jaune) ; logo NEXxCAP rouge gardé en signature au pied.
   Jaune jamais en texte sur fond clair (1,4:1) : sur blanc, il passe en surligné derrière du texte noir.
   ════════════════════════════════════════════════════════════════════════ */
html[data-brand="carbodiam"] {
  --smd-brand-light: #FFD600; --smd-brand-dark: #FFD600;
  --smd-brand-rgb-light: 255 214 0; --smd-brand-rgb-dark: 255 214 0;
  --nx-radius: 12px;
  --nx-header-h: 84px;
}

/* En-tête : logo Carbodiam (format carré, plus haut), NEXxCAP en rappel */
.nx-header.is-scrolled, .nx-header { --_hbg: rgb(22 22 21 / .94); }
.nx-header.is-scrolled { background: var(--_hbg); }
.nx-brand { gap: 14px; }
.nx-brand__logo { height: 60px; }
.nx-brand__by { font-size: .9rem; font-weight: 700; letter-spacing: .04em; text-transform: none; color: #fff; padding-left: 14px; }
@media (max-width: 860px) { .nx-header { background: var(--_hbg); } .nx-brand__logo { height: 50px; } .nx-nav { background: rgb(22 22 21 / .98); } }

/* Héros : « Carbodiam présente » + logo NEXxCAP jaune fourni par Carbodiam (Maud, 02/11/2026), slogan inclus dans le logo */
.nx-hero { background: radial-gradient(48% 55% at 74% 48%, rgb(var(--nx-a-rgb) / .09), transparent 70%), radial-gradient(40% 40% at 10% 90%, rgb(255 255 255 / .04), transparent 70%), var(--nx-bg); }
.nx-hero__presents { display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(18px, 2.4vw, 28px); font-size: clamp(.78rem, 1.1vw, .9rem); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #fff; animation: nx-rise 1s var(--smd-ease) both; }
.nx-hero__presents::before { content: ""; flex: 0 0 clamp(28px, 4vw, 48px); height: 2px; background: var(--nx-a); }
.nx-hero__logo { width: min(100%, 540px); filter: none; animation-delay: .1s; }
@media (max-width: 860px) { .nx-hero__logo { width: min(84vw, 380px); } }

/* Boutons façon carbodiam.com : aplat jaune, texte noir, coins 12 px ; survol blanc */
.nx .smd-btn { border-radius: var(--nx-radius); }
.nx-btn, .nx-header__cta { --_bg: var(--nx-a); --_fg: #161615; --_bd: var(--nx-a); background: var(--nx-a); color: #161615; border-color: var(--nx-a); }
.nx-btn:hover, .nx-btn:focus-visible, .nx-header__cta:hover { --_bg: #fff; --_fg: #161615; --_bd: #fff; background: #fff; color: #161615; border-color: #fff; box-shadow: none; }
.nx-vampire .smd-btn { background: #161615; color: #fff; border-color: #161615; }
.nx-vampire .smd-btn:hover, .nx-vampire .smd-btn:focus-visible { background: var(--nx-a); color: #161615; border-color: var(--nx-a); }
.nx-form__submit:hover, .nx-form__submit:focus-visible { background: #fff; color: #161615; border-color: #fff; }
.nx-burger { border-radius: 10px; }

/* Visuels et formulaire : coins arrondis comme les cartes carbodiam.com */
.nx-img, .nx-tech .nx-split__visual::before, .nx-vampire .nx-duo::before, .nx-vampire .nx-duo__inset { border-radius: var(--nx-radius); }
.nx-compare__item .nx-img { border-radius: var(--nx-radius) var(--nx-radius) 0 0; }
.nx-tech .nx-split__visual::before, .nx-vampire .nx-duo::before { border-bottom: 0; box-shadow: inset 0 -5px 0 var(--nx-a); }
.nx-form { border-radius: 16px; overflow: hidden; }
.nx-form .smd-input, .nx-form .smd-textarea { border-radius: 10px; }

/* NEXx-DRILL sur blanc : « NEXx » surligné jaune, texte noir (le jaune seul serait illisible) */
.nx-vampire__title em { color: #161615; background: linear-gradient(transparent 58%, var(--nx-a) 58% 90%, transparent 90%); padding-inline: .04em; }
.nx-args .is-inside strong::before { box-shadow: 0 0 0 1px #161615; }
.nx-vampire .nx-kicker > span:first-child { color: inherit; }

/* Sphère : repères de visée plus discrets en jaune */
.nx-sphere__hud, .nx-sphere__hud::before, .nx-sphere__hud::after { --c: rgb(var(--nx-a-rgb) / .55); }

/* ════════════════════════════════════════════════════════════════════════
   V11 — COHÉRENCE DA (02/11/2026) : corrections de la revue better-interface
   ════════════════════════════════════════════════════════════════════════ */
html[data-brand="carbodiam"] { --nx-radius-lg: 16px; }
/* Restes du style anguleux : liserés jaunes rognés par les coins arrondis → supprimés */
.nx-tech .nx-split__visual::before, .nx-vampire .nx-duo::before { box-shadow: none; }
.nx-form::before { display: none; }
/* Rayons : un seul jeu de jetons */
.nx-skip, .nx-burger { border-radius: var(--nx-radius); }
.nx-form { border-radius: var(--nx-radius-lg); }
.nx-form .smd-input, .nx-form .smd-textarea { border-radius: calc(var(--nx-radius) - 2px); }
/* Champs du formulaire visibles (bord 3,9:1, WCAG 1.4.11) */
.nx-form .smd-input, .nx-form .smd-textarea { border-color: var(--smd-gray-500, #6e6e6e); }
/* NEXx-DRILL : bouton jaune comme partout (texte noir 12,8:1), noir au survol */
.nx-vampire .smd-btn { background: var(--nx-a); color: #161615; border-color: var(--nx-a); }
.nx-vampire .smd-btn:hover, .nx-vampire .smd-btn:focus-visible { background: #161615; color: #fff; border-color: #161615; }
/* Typo : h2 à une seule graisse ; surtitre NEXx-DRILL gris comme Technologie ; « Découvrez » lisible */
.nx-contact .nx-h2 { font-weight: 700; }
.nx-vampire .nx-kicker { color: var(--nx-graphite); }
.nx-vampire__title small { font-weight: 400; }
/* Avantages : surtitre devenu h2 (plan de la page), même rendu */
.nx-benefits h2.nx-kicker { font-size: .95rem; line-height: inherit; }
/* Un seul aplat jaune dans le premier écran : Contact en contour tant que l'en-tête est transparent */
.nx-header:not(.is-scrolled) .nx-header__cta { background: transparent; color: #fff; border-color: var(--nx-a); }
.nx-header:not(.is-scrolled) .nx-header__cta:hover, .nx-header:not(.is-scrolled) .nx-header__cta:focus-visible { background: var(--nx-a); color: #161615; }
/* Écrans tactiles : pas de survol « collé » après un tap */
@media (hover: none) {
  .nx-btn:hover:not(:focus-visible), .nx-form__submit:hover:not(:focus-visible), .nx-vampire .smd-btn:hover:not(:focus-visible) { background: var(--nx-a); color: #161615; border-color: var(--nx-a); box-shadow: none; }
  .nx-header .nx-header__cta:hover:not(:focus-visible) { background: var(--nx-a); color: #161615; border-color: var(--nx-a); }
  .nx-header:not(.is-scrolled) .nx-header__cta:hover:not(:focus-visible) { background: transparent; color: #fff; }
  .nx-card:hover { background: none; }
  .nx-benefits .nx-link:hover { color: #fff; }
}
.nx-form__legend { margin: 20px 0 0; font-size: .8rem; color: #c4c4c4; } /* légende des champs obligatoires */
.nx-form__legend + .nx-form__submit { margin-top: 16px; }

/* Mention « NEXxCAP » dans le texte = logo horizontal (02/11/2026) : lettres = couleur du texte, X jaune ;
   hauteur = capitales Poppins (~0,7em), posé sur la ligne de base */
.nx-wm { display: inline-block; vertical-align: baseline; white-space: nowrap; }
.nx-wm__svg { display: block; height: .72em; width: calc(.72em * 5.938); overflow: visible; }
.nx-wm--drill .nx-wm__svg { width: calc(.72em * 7.2014); }
.nx-wm__txt { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Nom en texte hors titres (03/11/2026) : gras dans le texte courant pour garder la marque visible */
.nx-word { display: contents; } /* pas d’élément flex séparé (liens, boutons) */
.nx-body .nx-word, .nx-compare__text .nx-word, .nx-compare__title .nx-word { font-weight: 700; }

/* Logo JFC GROUP (05/11/2026) : même dispositif que carbodiam.com (petit logo en en-tête + bloc « fait partie du groupe JFC » au pied) */
.nx-header__jfc { display: block; width: 38px; height: auto; flex: none; }
.nx-footer__jfc { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 8px 0 0; font-size: .75rem; line-height: 1.4; color: #8f8f8f; }
.nx-footer__jfc img { display: block; width: 56px; height: auto; flex: none; }
@media (max-width: 575px) { .nx-header__jfc { display: none; } }
