/* ==========================================================================
   NESCOM — Feuille de style du site
   Jetons repris de la charte (nescom/assets/css/nescom-tokens.css).
   Organisation :
     1. Polices           5. En-tête et navigation   9. Pages (préfixes acc-,
     2. Jetons            6. Sections et titres          pre-, ent-, con-, leg-)
     3. Base              7. Composants             10. Responsive
     4. Utilitaires       8. Pied de page           11. Accessibilité, impression
   ========================================================================== */

/* ---------- 1. Polices (auto-hébergées, aucun appel externe) ---------- */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-400.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); }

/* ---------- 2. Jetons ---------- */
:root {
  --nc-anthracite: #171A1D;
  --nc-anthracite-800: #23282C;
  --nc-anthracite-700: #2F353A;
  --nc-cuivre: #B87333;
  --nc-cuivre-fonce: #955A26;
  --nc-cuivre-clair: #CD8B52;
  --nc-or: #D6B66A;
  --nc-blanc: #F5F5F2;
  --nc-blanc-200: #E9E9E4;
  --nc-blanc-pur: #FFFFFF;
  --nc-ligne: #D5D5CF;
  --nc-gris: #687078;
  --nc-gris-clair: #9BA2A9;
  --nc-texte-2: #474E55;
  --nc-erreur: #B83A2E;
  --nc-succes: #2F7A55;

  --nc-font-titre: "Barlow", "Bahnschrift", "DIN Alternate", Arial, sans-serif;
  --nc-font-texte: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --nc-font-mono: "IBM Plex Mono", Consolas, Menlo, monospace;

  --nc-t-display: clamp(2.5rem, 1.6rem + 3.6vw, 4rem);
  --nc-t-h1: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  --nc-t-h2: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem);
  --nc-t-h3: 1.25rem;
  --nc-t-lead: 1.125rem;

  --nc-s1: 4px; --nc-s2: 8px; --nc-s3: 16px; --nc-s4: 24px;
  --nc-s5: 32px; --nc-s6: 48px; --nc-s7: 64px; --nc-s8: 96px;

  --nc-rayon: 4px;
  --nc-contenu: 1180px;
  --nc-gouttiere: 20px;
  --nc-entete: 72px;
  --nc-filet-double: linear-gradient(to bottom,
    var(--nc-cuivre) 0 1px, transparent 1px 2px, var(--nc-cuivre) 2px 5px);
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nc-entete) + 16px); }
body {
  font-family: var(--nc-font-texte);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--nc-anthracite);
  background: var(--nc-blanc);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--nc-cuivre-fonce); text-underline-offset: 3px; }
a:hover { color: var(--nc-anthracite); }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--nc-cuivre); outline-offset: 3px; }
.ns-fonce :focus-visible { outline-color: var(--nc-or); }
::selection { background: var(--nc-cuivre); color: var(--nc-blanc-pur); }

/* ---------- 4. Utilitaires ---------- */
.ns-interieur { width: 100%; max-width: var(--nc-contenu); margin: 0 auto; padding: 0 var(--nc-gouttiere); }
.ns-visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ns-evitement {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--nc-cuivre); color: var(--nc-anthracite); padding: 10px 16px;
  border-radius: var(--nc-rayon); font-family: var(--nc-font-titre); font-weight: 600; text-decoration: none;
}
.ns-evitement:focus { top: 12px; }
.ns-filet { display: block; width: 56px; height: 5px; background: var(--nc-filet-double); }
.ns-a-completer { font-family: var(--nc-font-mono); font-size: .9em; color: var(--nc-gris); }
.ns-fonce .ns-a-completer { color: var(--nc-gris-clair); }

/* ---------- 5. En-tête et navigation ---------- */
.ns-entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 26, 29, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nc-anthracite-700);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .ns-entete { background: var(--nc-anthracite); }
}
.ns-entete .ns-interieur { display: flex; align-items: center; justify-content: space-between; gap: var(--nc-s4); min-height: var(--nc-entete); }
.ns-marque { display: block; flex: none; }
.ns-marque img { height: 34px; width: auto; }
.ns-nav ul { display: flex; align-items: center; gap: var(--nc-s1); }
.ns-nav a {
  display: block; padding: 10px 14px; border-radius: var(--nc-rayon);
  font-family: var(--nc-font-titre); font-weight: 500; font-size: 1rem;
  color: var(--nc-gris-clair); text-decoration: none; transition: color .2s, background-color .2s;
}
.ns-nav a:hover { color: var(--nc-blanc); background: var(--nc-anthracite-800); }
.ns-nav a[aria-current="page"] { color: var(--nc-blanc); box-shadow: inset 0 -2px 0 var(--nc-cuivre); border-radius: 0; }
.ns-nav .ns-nav-cta { margin-left: var(--nc-s2); }
.ns-nav .ns-nav-cta a { background: var(--nc-cuivre); color: var(--nc-anthracite); font-weight: 600; padding: 10px 18px; }
.ns-nav .ns-nav-cta a:hover { background: var(--nc-cuivre-clair); color: var(--nc-anthracite); }
.ns-nav .ns-nav-cta a[aria-current="page"] { box-shadow: none; border-radius: var(--nc-rayon); }
.ns-menu-bouton {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  background: transparent; border: 1px solid var(--nc-anthracite-700); border-radius: var(--nc-rayon);
  color: var(--nc-blanc); font-family: var(--nc-font-titre); font-weight: 600; cursor: pointer;
}
.ns-menu-bouton span[aria-hidden] { display: block; width: 18px; height: 12px; position: relative; }
.ns-menu-bouton span[aria-hidden]::before,
.ns-menu-bouton span[aria-hidden]::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s;
}
.ns-menu-bouton span[aria-hidden]::before { top: 1px; }
.ns-menu-bouton span[aria-hidden]::after { bottom: 1px; }
.ns-menu-bouton[aria-expanded="true"] span[aria-hidden]::before { transform: translateY(4px) rotate(45deg); }
.ns-menu-bouton[aria-expanded="true"] span[aria-hidden]::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 6. Sections et titres ---------- */
.ns-section { padding: var(--nc-s8) 0; }
.ns-section--blanc { background: var(--nc-blanc-pur); }
.ns-section--gris { background: var(--nc-blanc-200); }
.ns-fonce { background: var(--nc-anthracite); color: var(--nc-blanc); }
.ns-rubrique {
  font-family: var(--nc-font-titre); font-weight: 600; font-size: .8125rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--nc-cuivre-fonce); margin-bottom: var(--nc-s3);
}
.ns-fonce .ns-rubrique { color: var(--nc-cuivre-clair); }
.ns-titre-section {
  font-family: var(--nc-font-titre); font-weight: 700; font-size: var(--nc-t-h2);
  line-height: 1.15; letter-spacing: -.01em; max-width: 24ch;
}
.ns-chapeau { font-size: var(--nc-t-lead); color: var(--nc-texte-2); max-width: 62ch; margin-top: var(--nc-s3); }
.ns-fonce .ns-chapeau { color: var(--nc-gris-clair); }
.ns-entete-section { margin-bottom: var(--nc-s6); }
.ns-texte p + p { margin-top: var(--nc-s3); }
.ns-texte { max-width: 68ch; }
.ns-texte h3 { font-family: var(--nc-font-titre); font-weight: 600; font-size: var(--nc-t-h3); margin: var(--nc-s5) 0 var(--nc-s2); }

/* Bandeau de page intérieure */
.ns-bandeau { position: relative; overflow: hidden; padding: var(--nc-s8) 0 var(--nc-s7); }
.ns-bandeau h1 {
  font-family: var(--nc-font-titre); font-weight: 700; font-size: var(--nc-t-h1);
  line-height: 1.1; letter-spacing: -.015em; max-width: 20ch;
}
.ns-bandeau .ns-chapeau { margin-top: var(--nc-s4); }
.ns-bandeau .ns-interieur { position: relative; z-index: 1; }
.ns-diagonale { position: absolute; top: 0; right: 0; height: 100%; width: 34%; pointer-events: none; }
.ns-fil { font-size: .875rem; color: var(--nc-gris-clair); margin-bottom: var(--nc-s4); }
.ns-fil ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.ns-fil li + li::before { content: "/"; margin-right: 6px; color: var(--nc-anthracite-700); }
.ns-fil a { color: var(--nc-gris-clair); }
.ns-fil a:hover { color: var(--nc-blanc); }

/* ---------- 7. Composants ---------- */
.ns-bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--nc-rayon); border: 1px solid transparent;
  font-family: var(--nc-font-titre); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.ns-bouton--principal { background: var(--nc-cuivre-fonce); color: var(--nc-blanc-pur); }
.ns-bouton--principal:hover { background: var(--nc-anthracite); color: var(--nc-blanc-pur); }
.ns-fonce .ns-bouton--principal { background: var(--nc-cuivre); color: var(--nc-anthracite); }
.ns-fonce .ns-bouton--principal:hover { background: var(--nc-cuivre-clair); color: var(--nc-anthracite); }
.ns-bouton--secondaire { background: transparent; color: var(--nc-anthracite); border-color: var(--nc-ligne); }
.ns-bouton--secondaire:hover { border-color: var(--nc-anthracite); color: var(--nc-anthracite); }
.ns-fonce .ns-bouton--secondaire { color: var(--nc-blanc); border-color: var(--nc-anthracite-700); }
.ns-fonce .ns-bouton--secondaire:hover { border-color: var(--nc-gris-clair); color: var(--nc-blanc); }
.ns-boutons { display: flex; flex-wrap: wrap; gap: var(--nc-s3); margin-top: var(--nc-s5); }
.ns-bouton svg { width: 18px; height: 18px; }

.ns-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--nc-s3); }
.ns-carte {
  position: relative; display: flex; flex-direction: column; gap: var(--nc-s2);
  background: var(--nc-blanc-pur); border: 1px solid var(--nc-ligne); border-radius: var(--nc-rayon);
  padding: var(--nc-s5) var(--nc-s4);
}
.ns-section--blanc .ns-carte { background: var(--nc-blanc); }
.ns-carte h3 { font-family: var(--nc-font-titre); font-weight: 600; font-size: var(--nc-t-h3); line-height: 1.25; }
.ns-carte p { color: var(--nc-texte-2); }
.ns-picto { width: 36px; height: 36px; color: var(--nc-cuivre-fonce); margin-bottom: var(--nc-s2); }
.ns-carte--lien { text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.ns-carte--lien:hover { border-color: var(--nc-anthracite); color: inherit; transform: translateY(-2px); }
.ns-carte--lien .ns-suite {
  margin-top: auto; padding-top: var(--nc-s3); font-family: var(--nc-font-titre); font-weight: 600;
  color: var(--nc-cuivre-fonce); display: inline-flex; align-items: center; gap: 8px;
}
.ns-suite svg { width: 16px; height: 16px; transition: transform .2s; }
.ns-carte--lien:hover .ns-suite svg { transform: translateX(3px); }

.ns-liste-puces { display: grid; gap: 10px; }
.ns-liste-puces li { position: relative; padding-left: 26px; }
.ns-liste-puces li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 5px; background: var(--nc-filet-double);
}

.ns-etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--nc-s3); counter-reset: etape; }
.ns-etape { border-top: 1px solid var(--nc-anthracite-700); padding-top: var(--nc-s4); counter-increment: etape; }
.ns-etape::before {
  content: counter(etape, decimal-leading-zero); display: block; font-family: var(--nc-font-mono);
  font-size: .875rem; color: var(--nc-cuivre-clair); margin-bottom: var(--nc-s3);
}
.ns-etape h3 { font-family: var(--nc-font-titre); font-weight: 600; font-size: var(--nc-t-h3); margin-bottom: var(--nc-s2); }
.ns-etape p { color: var(--nc-gris-clair); }

.ns-zone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--nc-s6); align-items: start; }
.ns-cantons { display: grid; gap: var(--nc-s3); }
.ns-canton {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--nc-s3); align-items: start;
  background: var(--nc-blanc-pur); border: 1px solid var(--nc-ligne); border-radius: var(--nc-rayon); padding: var(--nc-s4);
}
.ns-section--blanc .ns-canton { background: var(--nc-blanc); }
.ns-canton abbr {
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  background: var(--nc-anthracite); color: var(--nc-blanc); border-radius: var(--nc-rayon);
  font-family: var(--nc-font-titre); font-weight: 700; font-size: 1.125rem; letter-spacing: .04em; text-decoration: none;
}
.ns-canton h3 { font-family: var(--nc-font-titre); font-weight: 600; font-size: 1.125rem; }
.ns-canton p { color: var(--nc-texte-2); font-size: .9375rem; }

.ns-appel { position: relative; overflow: hidden; }
.ns-appel .ns-interieur { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--nc-s5); }
.ns-appel h2 { font-family: var(--nc-font-titre); font-weight: 700; font-size: var(--nc-t-h2); line-height: 1.15; max-width: 22ch; }
.ns-appel p { color: var(--nc-gris-clair); margin-top: var(--nc-s2); max-width: 52ch; }
.ns-appel .ns-boutons { margin-top: 0; }

.ns-encadre {
  border-left: 3px solid var(--nc-cuivre); background: var(--nc-blanc-pur);
  padding: var(--nc-s4); border-radius: 0 var(--nc-rayon) var(--nc-rayon) 0;
}
.ns-encadre p { color: var(--nc-texte-2); }

/* ---------- 8. Pied de page ---------- */
.ns-pied { background: var(--nc-anthracite); color: var(--nc-gris-clair); border-top: 1px solid var(--nc-anthracite-700); }
.ns-pied-haut { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--nc-s5); padding: var(--nc-s7) 0 var(--nc-s6); }
.ns-pied-marque img { height: auto; width: 220px; }
.ns-pied-marque p { margin-top: var(--nc-s4); font-size: .9375rem; max-width: 34ch; }
.ns-pied h2 {
  font-family: var(--nc-font-titre); font-weight: 600; font-size: .8125rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--nc-blanc); margin-bottom: var(--nc-s3);
}
.ns-pied li { margin-bottom: 8px; font-size: .9375rem; }
.ns-pied a { color: var(--nc-gris-clair); text-decoration: none; }
.ns-pied a:hover { color: var(--nc-blanc); text-decoration: underline; }
.ns-pied address { font-style: normal; font-size: .9375rem; }
.ns-pied-bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--nc-s3);
  padding: var(--nc-s4) 0; border-top: 1px solid var(--nc-anthracite-700); font-size: .875rem;
}
.ns-pied-bas .ns-filet { margin-bottom: var(--nc-s3); }

/* ---------- 9. Pages ---------- */

/* Accueil (acc-) */
.acc-hero { position: relative; overflow: hidden; padding: var(--nc-s8) 0 calc(var(--nc-s8) + 16px); }
.acc-hero .ns-interieur { position: relative; z-index: 1; }
.acc-hero h1 {
  font-family: var(--nc-font-titre); font-weight: 700; font-size: var(--nc-t-display);
  line-height: 1.02; letter-spacing: -.02em; max-width: 16ch;
}
.acc-hero .ns-chapeau { font-size: 1.1875rem; margin-top: var(--nc-s4); max-width: 54ch; }
.acc-hero .ns-diagonale { width: 42%; }
.acc-atouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--nc-s5); margin-top: var(--nc-s7); max-width: 900px; }
.acc-atouts li { border-top: 1px solid var(--nc-anthracite-700); padding-top: var(--nc-s3); }
.acc-atouts strong { display: block; font-family: var(--nc-font-titre); font-weight: 600; color: var(--nc-blanc); font-size: 1.0625rem; }
.acc-atouts span { font-size: .9375rem; color: var(--nc-gris-clair); }
.acc-famille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--nc-s7); align-items: center; }
.acc-symbole { background: var(--nc-anthracite); border-radius: var(--nc-rayon); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.acc-symbole img { width: 34%; height: auto; position: relative; z-index: 1; }
.acc-symbole .ns-trame { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Prestations (pre-) */
.pre-sommaire { display: flex; flex-wrap: wrap; gap: var(--nc-s2); margin-top: var(--nc-s5); }
.pre-sommaire a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--nc-anthracite-700);
  border-radius: var(--nc-rayon); color: var(--nc-gris-clair); text-decoration: none; font-family: var(--nc-font-titre); font-weight: 500;
}
.pre-sommaire a:hover { color: var(--nc-blanc); border-color: var(--nc-gris-clair); }
.pre-bloc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--nc-s6); padding: var(--nc-s7) 0; border-top: 1px solid var(--nc-ligne); }
.pre-bloc:first-child { border-top: 0; padding-top: 0; }
.pre-bloc:last-child { padding-bottom: 0; }
.pre-bloc-titre .ns-picto { width: 44px; height: 44px; margin-bottom: var(--nc-s3); }
.pre-num { display: block; font-family: var(--nc-font-mono); font-size: .875rem; color: var(--nc-cuivre-fonce); margin-bottom: var(--nc-s2); }
.pre-bloc h2 { font-family: var(--nc-font-titre); font-weight: 700; font-size: 1.75rem; line-height: 1.2; }
.pre-bloc-titre p { color: var(--nc-texte-2); margin-top: var(--nc-s3); }
.pre-bloc h3 { font-family: var(--nc-font-titre); font-weight: 600; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--nc-gris); margin-bottom: var(--nc-s3); }
.pre-engagements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--nc-s3); }

/* Entreprise (ent-) */
.ent-nom { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--nc-s3); margin-top: var(--nc-s5); }
.ent-nom div { background: var(--nc-blanc-pur); border: 1px solid var(--nc-ligne); border-radius: var(--nc-rayon); padding: var(--nc-s4); }
.ent-nom b { display: block; font-family: var(--nc-font-titre); font-weight: 700; font-size: 2rem; letter-spacing: .04em; color: var(--nc-anthracite); line-height: 1; margin-bottom: var(--nc-s2); }
.ent-nom b span { color: var(--nc-cuivre); }
.ent-nom p { color: var(--nc-texte-2); }
.ent-deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--nc-s6); align-items: start; }
.ent-deux .ns-cartes { grid-template-columns: minmax(0, 1fr); }
.ent-formation { font-size: .9375rem; color: var(--nc-texte-2); border-top: 1px solid var(--nc-ligne); padding-top: var(--nc-s3); }
.ent-parcours { display: grid; border-left: 2px solid var(--nc-ligne); }
.ent-parcours li { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--nc-s3); padding: 0 0 var(--nc-s5) var(--nc-s4); }
.ent-parcours li:last-child { padding-bottom: 0; }
.ent-parcours li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; background: var(--nc-cuivre); border: 2px solid var(--nc-blanc); }
.ent-parcours li:last-child::before { background: var(--nc-anthracite); }
.ent-annees { font-family: var(--nc-font-mono); font-size: .875rem; color: var(--nc-cuivre-fonce); padding-top: 2px; }
.ent-parcours h3 { font-family: var(--nc-font-titre); font-weight: 600; font-size: 1.125rem; line-height: 1.3; }
.ent-parcours p { color: var(--nc-texte-2); font-size: .9375rem; margin-top: 4px; }
.ent-horizons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--nc-s3); margin-top: var(--nc-s5); }
.ent-horizons li { position: relative; padding-top: var(--nc-s4); }
.ent-horizons li::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 5px; background: var(--nc-filet-double); }
.ent-horizons span { font-family: var(--nc-font-mono); font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--nc-cuivre-fonce); }
.ent-horizons h3 { font-family: var(--nc-font-titre); font-weight: 600; font-size: var(--nc-t-h3); margin: 6px 0; }
.ent-horizons p { color: var(--nc-texte-2); }

/* Contact (con-) */
.con-grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--nc-s6); align-items: start; }
.con-formulaire { background: var(--nc-blanc-pur); border: 1px solid var(--nc-ligne); border-radius: var(--nc-rayon); padding: var(--nc-s5); }
.con-champs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--nc-s4) var(--nc-s3); }
.con-champ { display: flex; flex-direction: column; gap: 6px; }
.con-champ--large { grid-column: 1 / -1; }
.con-champ label, .con-champ legend { font-family: var(--nc-font-titre); font-weight: 600; font-size: .9375rem; }
.con-champ label small { font-weight: 500; color: var(--nc-gris); font-family: var(--nc-font-texte); }
.con-champ input, .con-champ select, .con-champ textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; background: var(--nc-blanc);
  border: 1px solid #B9BDB8; border-radius: var(--nc-rayon); color: var(--nc-anthracite); font-size: 1rem;
  transition: border-color .2s, background-color .2s;
}
.con-champ textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.con-champ select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--nc-anthracite) 50%), linear-gradient(135deg, var(--nc-anthracite) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; }
.con-champ input:hover, .con-champ select:hover, .con-champ textarea:hover { border-color: var(--nc-gris); }
.con-champ input:focus, .con-champ select:focus, .con-champ textarea:focus { border-color: var(--nc-anthracite); background: var(--nc-blanc-pur); outline: 2px solid var(--nc-cuivre); outline-offset: 1px; }
.con-champ input[aria-invalid="true"], .con-champ textarea[aria-invalid="true"] { border-color: var(--nc-erreur); }
.con-aide { font-size: .875rem; color: var(--nc-gris); }
.con-pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.con-info { font-size: .875rem; color: var(--nc-texte-2); margin-top: var(--nc-s4); }
.con-envoi { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nc-s3); margin-top: var(--nc-s4); }
.con-message { padding: var(--nc-s3) var(--nc-s4); border-radius: var(--nc-rayon); margin-bottom: var(--nc-s4); border-left: 3px solid; background: var(--nc-blanc); }
.con-message[hidden] { display: none; }
.con-message:focus { outline: none; }
.con-message--erreur { border-color: var(--nc-erreur); color: var(--nc-erreur); }
.con-message--succes { border-color: var(--nc-succes); color: var(--nc-succes); }
.con-coord { display: grid; gap: var(--nc-s3); }
.con-coord .ns-carte { padding: var(--nc-s4); }
.con-coord dl { display: grid; gap: var(--nc-s3); }
.con-coord dt { font-family: var(--nc-font-titre); font-weight: 600; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--nc-gris); }
.con-coord dd { margin-top: 2px; }

/* Mentions légales (leg-) */
.leg-texte h2 { font-family: var(--nc-font-titre); font-weight: 700; font-size: 1.5rem; margin: var(--nc-s6) 0 var(--nc-s3); }
.leg-texte h2:first-child { margin-top: 0; }
.leg-texte h3 { font-family: var(--nc-font-titre); font-weight: 600; font-size: 1.125rem; margin: var(--nc-s4) 0 var(--nc-s2); }
.leg-texte dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px var(--nc-s4); }
.leg-texte dt { font-weight: 600; }
.leg-texte ul { list-style: disc; padding-left: 1.2em; }
.leg-texte li + li { margin-top: 6px; }

/* Page d'erreur */
.err-code { font-family: var(--nc-font-mono); color: var(--nc-cuivre-clair); font-size: 1rem; margin-bottom: var(--nc-s3); }

/* ---------- 10. Responsive ---------- */
@media (max-width: 1060px) {
  .ns-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ns-etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--nc-s5); }
  .ns-pied-haut { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc-famille, .ns-zone, .ent-deux { gap: var(--nc-s5); }
}

@media (max-width: 860px) {
  :root { --nc-entete: 64px; }
  .ns-menu-bouton { display: inline-flex; }
  .js .ns-nav { display: none; }
  .js .ns-nav.est-ouvert { display: block; }
  .ns-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--nc-anthracite); border-bottom: 1px solid var(--nc-anthracite-700);
    padding: var(--nc-s2) var(--nc-gouttiere) var(--nc-s4);
  }
  .no-js .ns-nav { position: static; padding: 0 0 var(--nc-s3); background: none; border: 0; width: 100%; }
  .no-js .ns-entete .ns-interieur { flex-wrap: wrap; }
  .no-js .ns-menu-bouton { display: none; }
  .ns-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .ns-nav a { padding: 14px 8px; font-size: 1.0625rem; }
  .ns-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--nc-cuivre); padding-left: 16px; }
  .ns-nav .ns-nav-cta { margin: var(--nc-s3) 0 0; }
  .ns-nav .ns-nav-cta a { text-align: center; padding: 14px 18px; }
  .ns-marque img { height: 30px; }
  .ns-diagonale { width: 60%; opacity: .5; }
  .acc-hero .ns-diagonale { width: 70%; }
  .acc-atouts { grid-template-columns: minmax(0, 1fr); gap: var(--nc-s3); margin-top: var(--nc-s6); }
  .acc-famille, .ns-zone, .ent-deux, .con-grille, .pre-bloc { grid-template-columns: minmax(0, 1fr); }
  .pre-bloc { gap: var(--nc-s4); }
  .ent-nom, .ent-horizons { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .ns-section { padding: var(--nc-s7) 0; }
  .ns-bandeau { padding: var(--nc-s7) 0 var(--nc-s6); }
  .acc-hero { padding: var(--nc-s7) 0 var(--nc-s8); }
  .ns-cartes, .ns-etapes, .pre-engagements { grid-template-columns: minmax(0, 1fr); }
  .ns-pied-haut { grid-template-columns: minmax(0, 1fr); padding-top: var(--nc-s6); }
  .con-champs { grid-template-columns: minmax(0, 1fr); }
  .con-formulaire { padding: var(--nc-s4) var(--nc-s3); }
  .ns-boutons .ns-bouton { width: 100%; }
  .leg-texte dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ent-parcours li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .leg-texte dd { margin-bottom: var(--nc-s2); }
  .ns-diagonale { display: none; }
}

/* ---------- 11. Accessibilité, impression ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .ns-entete, .ns-menu-bouton, .ns-diagonale, .ns-appel, .ns-evitement { display: none !important; }
  body { background: #fff; }
  .ns-fonce { background: #fff; color: var(--nc-anthracite); }
  .ns-section { padding: 24px 0; }
}
