/* ============================================================
   notafacto — site vitrine
   Editorial serif + sober Shibui palette, accent ochre
   Forké du DS notamicro (préfixe .nf-*), sans tweaks panel
   ============================================================ */

:root {
  /* Shibui palette */
  --shibui-red: #762D38;
  --shibui-ochre: #B8A04A;
  --shibui-green: #687A3A;
  --shibui-blue: #7A8FA3;
  --shibui-indigo: #4A3F5C;

  /* Surfaces (light mode default) */
  --bg: #F8F6F2;
  --surface: #EFECE8;
  --border: #DDD8CE;
  --text: #2C2832;
  --text-2: #686570;
  --text-3: #ABA9AE;

  /* Accent — figé en ochre pour notafacto, override possible via data-accent */
  --accent: var(--shibui-ochre);
  --accent-soft: color-mix(in oklab, var(--accent) 14%, var(--bg));

  /* Typography */
  --serif: 'Lora', 'PT Serif', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --maxw: 1240px;
  --gut: clamp(20px, 4vw, 56px);
}

[data-theme='dark'] {
  --bg: #1E1924;
  --surface: #2A2632;
  --border: #3D384A;
  --text: #EFECE8;
  --text-2: #ABA9AE;
  --text-3: #686570;
  --accent-soft: color-mix(in oklab, var(--accent) 22%, var(--bg));
}

[data-accent='olive']  { --accent: #687A3A; }
[data-accent='ochre']  { --accent: #B8A04A; }
[data-accent='red']    { --accent: #762D38; }
[data-accent='blue']   { --accent: #7A8FA3; }
[data-accent='indigo'] { --accent: #4A3F5C; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* ---------- Logo ---------- */
.nf-logo {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.nf-logo__a { color: var(--accent); font-style: italic; font-weight: 400; }
.nf-logo__b { color: var(--text); }

/* ---------- Nav ---------- */
.nf-nav {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.nf-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 40px;
}
.nf-nav__links {
  display: flex;
  gap: 36px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-2);
}
.nf-nav__links a:hover { color: var(--text); }
.nf-nav__links a.is-active { color: var(--text); }
.nf-nav__cta { display: flex; gap: 12px; align-items: center; }

/* ---------- Buttons (wireframe) ---------- */
.nf-btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 14px;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  display: inline-block;
  text-align: center;
}
.nf-btn--md { padding: 10px 18px; font-size: 14px; }
.nf-btn--lg { padding: 14px 22px; font-size: 15px; }
.nf-btn:hover { border-color: var(--text); }

.nf-btn--ghost { background: transparent; }
.nf-btn--solid {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.nf-btn--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.nf-btn--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.nf-btn--accent:hover { filter: brightness(.92); }
.nf-btn--link {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--text);
  padding: 4px 0;
  font-style: italic;
  font-family: var(--serif);
  font-size: 15px;
}

/* ---------- Hero ---------- */
.nf-hero { padding: 88px 0 64px; position: relative; }
.nf-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.nf-hero__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  color: var(--text);
  text-wrap: balance;
}
.nf-hero__title em { font-style: normal; }
.nf-hero__sub {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 20px;
  color: var(--text);
  max-width: 520px;
  text-wrap: pretty;
}
.nf-hero__lede {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 0 32px;
}
.nf-hero__cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.nf-hero__meta {
  margin-top: 32px;
  display: flex;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  text-transform: uppercase;
  flex-wrap: wrap;
}

/* Right side — diagram */
.nf-hero__diagram {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 32px;
  position: relative;
  min-height: 380px;
}
.nf-hero__diagram-overline {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.nf-hero__flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 12px;
}
.nf-flow-node {
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 16px 12px;
  text-align: center;
  font-size: 12px;
  color: var(--text-2);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.nf-flow-node--strong {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0;
  padding: 22px 12px;
}
.nf-flow-arrow {
  font-family: var(--mono);
  color: var(--text-3);
  font-size: 14px;
}
.nf-hero__legend {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  font-size: 12px;
  color: var(--text-2);
}
.nf-hero__legend > div { border-top: 1px solid var(--border); padding-top: 10px; }
.nf-hero__legend strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; font-size: 13px; }

/* Hero variants (poseables en dur sur <html data-hero="...">) */
[data-hero='editorial'] .nf-hero__grid { grid-template-columns: 1fr; gap: 40px; }
[data-hero='editorial'] .nf-hero__title { font-size: clamp(48px, 7vw, 96px); max-width: 14ch; }
[data-hero='editorial'] .nf-hero__diagram { max-width: 720px; margin: 0 auto; }
[data-hero='split'] .nf-hero__grid { grid-template-columns: 1.2fr 1fr; }

/* ---------- Trust band ---------- */
.nf-trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  background: var(--surface);
}
.nf-trust__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.nf-trust__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  text-transform: uppercase;
  white-space: nowrap;
}
.nf-trust__items {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--text);
}
.nf-trust__items span {
  display: inline-flex; align-items: center; gap: 10px;
}
.nf-trust__items span::before {
  content: ''; width: 10px; height: 10px;
  border: 1px solid var(--text-2); display: inline-block;
}

/* ---------- Generic section ---------- */
.nf-section { padding: 96px 0; border-top: 1px solid var(--border); position: relative; }
.nf-section--alt { background: var(--surface); }

.nf-overline {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}
.nf-shead { margin-bottom: 56px; max-width: 720px; }
.nf-shead--center { margin-left: auto; margin-right: auto; text-align: center; }
.nf-shead__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--text);
  text-wrap: balance;
}
.nf-shead__title.is-italic { font-style: italic; font-weight: 400; }
.nf-shead__title em { font-style: italic; }
.nf-shead__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
  max-width: 60ch;
}

/* ---------- Steps ---------- */
.nf-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  position: relative;
}
.nf-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  border-top: 1px dashed var(--border);
  z-index: 0;
}
.nf-step { position: relative; z-index: 1; }
.nf-step__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.nf-step__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  margin: 16px 0 10px;
  color: var(--text);
}
.nf-step__body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
  max-width: 32ch;
}

[data-sections='cards'] .nf-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
[data-sections='cards'] .nf-steps::before { display: none; }
[data-sections='cards'] .nf-step {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 32px;
}
[data-sections='cards'] .nf-section--alt .nf-step { background: var(--bg); }

[data-sections='stacked'] .nf-steps { grid-template-columns: 1fr; gap: 0; }
[data-sections='stacked'] .nf-steps::before { display: none; }
[data-sections='stacked'] .nf-step {
  display: grid;
  grid-template-columns: 80px 200px 1fr;
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
[data-sections='stacked'] .nf-step:last-child { border-bottom: 1px solid var(--border); }
[data-sections='stacked'] .nf-step__title { margin-top: 0; }

/* ---------- Placeholders ---------- */
.nf-ph { display: inline-flex; flex-direction: column; gap: 10px; }
.nf-ph--center { align-items: center; text-align: center; }
.nf-ph--left { align-items: flex-start; }
.nf-ph__box {
  background: repeating-linear-gradient(
    -45deg,
    var(--surface) 0 8px,
    color-mix(in oklab, var(--surface) 70%, var(--border)) 8px 9px
  );
  border: 1px solid var(--border);
}
.nf-ph__cap { display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.nf-ph__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.nf-ph__caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--text-2);
}

/* ---------- Send/Receive ---------- */
.nf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}
.nf-split > article {
  padding: 56px;
  border-right: 1px solid var(--border);
  background: var(--bg);
}
.nf-split > article:last-child { border-right: none; }
.nf-split__h {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.15;
  margin: 0 0 12px;
}
.nf-split__sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.nf-split__body { font-size: 15px; color: var(--text-2); line-height: 1.65; max-width: 38ch; margin-bottom: 32px; }
.nf-split__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
  font-size: 14px;
}
.nf-split__list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  color: var(--text);
}
.nf-split__list li:last-child { border-bottom: 1px solid var(--border); }
.nf-split__list li::before {
  content: attr(data-i);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.08em;
}

/* ---------- Dashboard preview ---------- */
.nf-preview {
  border: 1px solid var(--border);
  background: var(--bg);
  display: grid;
  grid-template-columns: 220px 1fr;
}
.nf-preview__side {
  border-right: 1px solid var(--border);
  padding: 24px 20px;
  background: var(--surface);
  font-size: 13px;
}
.nf-preview__side h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 12px;
  font-weight: 500;
}
.nf-preview__side ul {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.nf-preview__side li {
  padding: 8px 10px;
  color: var(--text-2);
  border: 1px solid transparent;
}
.nf-preview__side li.is-active {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text);
  font-weight: 500;
}
.nf-preview__main { padding: 28px 32px; }
.nf-preview__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  margin: 0 0 4px;
}
.nf-preview__crumbs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.nf-row {
  display: grid;
  grid-template-columns: 80px 1fr 100px 110px;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  align-items: center;
  font-size: 13px;
}
.nf-row:last-child { border-bottom: 1px solid var(--border); }
.nf-row__ref { font-family: var(--mono); font-size: 11px; color: var(--text-3); letter-spacing: 0.05em; }
.nf-row__client { color: var(--text); }
.nf-row__amount { font-family: var(--mono); font-size: 13px; text-align: right; color: var(--text); }

.nf-pill {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-2);
  text-transform: lowercase;
  letter-spacing: 0.02em;
  justify-self: start;
}
.nf-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.nf-pill--olive { color: #687A3A; border-color: color-mix(in oklab, #687A3A 30%, var(--border)); }
.nf-pill--olive .nf-pill__dot { background: #687A3A; }
.nf-pill--ochre { color: #B8A04A; border-color: color-mix(in oklab, #B8A04A 30%, var(--border)); }
.nf-pill--ochre .nf-pill__dot { background: #B8A04A; }
.nf-pill--red { color: #762D38; border-color: color-mix(in oklab, #762D38 30%, var(--border)); }
.nf-pill--red .nf-pill__dot { background: #762D38; }
.nf-pill--blue { color: #7A8FA3; border-color: color-mix(in oklab, #7A8FA3 30%, var(--border)); }
.nf-pill--blue .nf-pill__dot { background: #7A8FA3; }

/* ---------- Compliance ---------- */
.nf-comply {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  background: var(--bg);
}
.nf-comply > div { padding: 32px 28px; border-right: 1px solid var(--border); }
.nf-comply > div:last-child { border-right: none; }
.nf-comply__k {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  line-height: 1;
  margin: 0 0 12px;
  color: var(--accent);
}
.nf-comply__l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.nf-comply__d { font-size: 13px; color: var(--text-2); margin: 0; line-height: 1.5; }

/* ---------- Pricing ---------- */
.nf-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}
.nf-pricing__plan {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 16px;
  background: var(--bg);
}
.nf-pricing__plan:last-child { border-right: none; }
.nf-pricing__plan--featured { background: var(--accent-soft); }
.nf-pricing__name { font-family: var(--serif); font-style: italic; font-size: 22px; margin: 0; }
.nf-pricing__price {
  font-family: var(--serif); font-size: 44px; margin: 0;
  line-height: 1; letter-spacing: -0.02em;
}
.nf-pricing__price small { font-family: var(--sans); font-size: 13px; color: var(--text-2); font-weight: 400; }
.nf-pricing__desc { font-size: 13px; color: var(--text-2); margin: 0; min-height: 60px; }
.nf-pricing__feats { list-style: none; padding: 0; margin: 0 0 16px; font-size: 13px; }
.nf-pricing__feats li { padding: 8px 0; border-top: 1px solid var(--border); color: var(--text-2); }
.nf-pricing__feats li::before { content: '— '; color: var(--text-3); }

/* Carte de plan unique (centré) — variante notafacto */
.nf-pricing--single {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
  margin: 0 auto;
}
.nf-pricing--single .nf-pricing__plan { border-right: none; padding: 56px 48px; }
.nf-pricing__plan .nf-btn { margin-top: auto; }
.nf-btn.is-disabled { opacity: 0.55; cursor: default; pointer-events: none; }

/* ---------- FAQ ---------- */
.nf-faq { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
.nf-faq__list { display: flex; flex-direction: column; }
.nf-faq__item { border-top: 1px solid var(--border); padding: 24px 0; }
.nf-faq__item:last-child { border-bottom: 1px solid var(--border); }
.nf-faq__q {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}
.nf-faq__plus { font-family: var(--sans); color: var(--text-3); font-weight: 300; }
.nf-faq__a { font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.6; max-width: 60ch; }

/* ---------- Final CTA ---------- */
.nf-final { text-align: center; padding: 120px 0 100px; border-top: 1px solid var(--border); }
.nf-final__h {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  margin: 0 0 20px;
  text-wrap: balance;
}
.nf-final__sub { font-size: 16px; color: var(--text-2); margin: 0 auto 36px; max-width: 50ch; }
.nf-final__cta { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.nf-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
  font-size: 13px;
  color: var(--text-2);
}
.nf-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.nf-footer__col h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 16px;
  font-weight: 500;
}
.nf-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.nf-footer__col a:hover { color: var(--text); }
.nf-footer__about { font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.5; max-width: 38ch; color: var(--text-2); margin: 12px 0 0; }
.nf-footer__base {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Wireframe tags ---------- */
.nf-wireframe-tag {
  position: absolute;
  top: 24px;
  right: var(--gut);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px dashed var(--border);
  padding: 4px 10px;
}
[data-wire-tags='off'] .nf-wireframe-tag { display: none; }

/* ---------- Misc ---------- */
.muted { color: var(--text-2); }

/* ---------- Tableau comparatif ---------- */
.nf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
}
.nf-table th, .nf-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.nf-table th:last-child, .nf-table td:last-child { border-right: none; }
.nf-table tr:last-child td { border-bottom: none; }
.nf-table th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  background: var(--surface);
}
.nf-table td.is-yes { color: var(--accent); font-weight: 500; }
.nf-table td.is-no  { color: var(--text-3); }

/* ---------- Bloc réassurance (4 piliers) ---------- */
.nf-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  background: var(--bg);
}
.nf-pillars > div { padding: 36px 28px; border-right: 1px solid var(--border); }
.nf-pillars > div:last-child { border-right: none; }
.nf-pillars__l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.nf-pillars__k {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--text);
}
.nf-pillars__d { font-size: 13px; color: var(--text-2); margin: 0; line-height: 1.55; }

/* ---------- Liste piliers (cards) ---------- */
.nf-pillar-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.nf-pillar-card {
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 32px;
}
.nf-section--alt .nf-pillar-card { background: var(--bg); }
.nf-pillar-card__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}
.nf-pillar-card__h {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--text);
}
.nf-pillar-card__b { font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.6; }

/* ---------- Calendrier (timeline) ---------- */
.nf-timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  background: var(--bg);
}
.nf-timeline > div {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  position: relative;
}
.nf-timeline > div:last-child { border-right: none; }
.nf-timeline__date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.nf-timeline__h {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 12px;
}
.nf-timeline__b { font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.6; }

/* ---------- Carte prestataire (souverainete) ---------- */
.nf-vendor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  background: var(--bg);
}
.nf-vendor {
  padding: 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.nf-vendor:nth-child(2n) { border-right: none; }
.nf-vendor:nth-last-child(-n+2):not(:nth-last-child(1):nth-child(odd)) { border-bottom: none; }
.nf-vendor:last-child { border-bottom: none; }
.nf-vendor__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  margin: 0 0 4px;
  color: var(--text);
}
.nf-vendor__role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.nf-vendor__b { font-size: 14px; color: var(--text-2); margin: 0 0 12px; line-height: 1.6; }
.nf-vendor__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

/* ---------- Article prose (mentions, à propos) ---------- */
.nf-prose {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}
.nf-prose h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin: 48px 0 16px;
  color: var(--text);
}
.nf-prose h2.is-italic { font-style: italic; font-weight: 400; }
.nf-prose h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin: 32px 0 12px;
}
.nf-prose p { margin: 0 0 16px; color: var(--text-2); }
.nf-prose ul { padding-left: 20px; color: var(--text-2); }
.nf-prose li { margin-bottom: 8px; }
.nf-prose a { border-bottom: 1px solid var(--border); }
.nf-prose a:hover { border-color: var(--text); }

/* ---------- Contact ---------- */
.nf-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  background: var(--bg);
}
.nf-contact > div {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
}
.nf-contact > div:last-child { border-right: none; }
.nf-contact__l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.nf-contact__v {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--text);
}
.nf-contact__d { font-size: 13px; color: var(--text-2); margin: 0; line-height: 1.5; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nf-hero__grid,
  .nf-split,
  .nf-faq { grid-template-columns: 1fr; }
  .nf-split > article { border-right: none; border-bottom: 1px solid var(--border); padding: 36px 28px; }
  .nf-split > article:last-child { border-bottom: none; }
  .nf-steps { grid-template-columns: 1fr; gap: 32px; }
  .nf-steps::before { display: none; }
  .nf-comply, .nf-pricing, .nf-pillars, .nf-timeline, .nf-vendor-grid, .nf-contact { grid-template-columns: 1fr; }
  .nf-comply > div,
  .nf-pricing__plan,
  .nf-pillars > div,
  .nf-timeline > div,
  .nf-contact > div { border-right: none; border-bottom: 1px solid var(--border); }
  .nf-comply > div:last-child,
  .nf-pricing__plan:last-child,
  .nf-pillars > div:last-child,
  .nf-timeline > div:last-child,
  .nf-contact > div:last-child { border-bottom: none; }
  .nf-vendor { border-right: none; }
  .nf-pillar-cards { grid-template-columns: 1fr; }
  .nf-preview { grid-template-columns: 1fr; }
  .nf-preview__side { border-right: none; border-bottom: 1px solid var(--border); }
  .nf-footer__grid { grid-template-columns: 1fr 1fr; }
  [data-sections='stacked'] .nf-step { grid-template-columns: 1fr; gap: 16px; }
  .nf-nav__inner { gap: 16px; flex-wrap: wrap; padding: 16px 0; }
  .nf-nav__links { gap: 20px; font-size: 14px; order: 3; flex-basis: 100%; }
  .nf-row { grid-template-columns: 1fr auto; gap: 8px; }
  .nf-row__ref, .nf-row__amount { font-size: 12px; }
  .nf-table { font-size: 13px; }
  .nf-table th, .nf-table td { padding: 10px 12px; }
}
