/* MLK Consulting — feuille de style principale
   Charte : fond blanc, texte noir, une seule couleur d'accent (le rouge du carré du logo),
   utilisée en touches minuscules. */

/* Polices hébergées sur le site (aucun appel à Google) — licences OFL, voir /assets/fonts/LICENCES.md */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/libre-baskerville-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/libre-baskerville-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Libre Baskerville";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/libre-baskerville-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Libre Baskerville";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/libre-baskerville-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #111111;
  --ink-soft: #4a4a4a;
  --ink-mute: #767676;
  --line: #e4e4e4;
  --bg: #ffffff;
  --bg-alt: #f6f6f5;
  --red: #c8102e;

  --serif: "Libre Baskerville", Baskerville, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }

p { margin: 0; text-wrap: pretty; }

ul, ol { margin: 0; padding: 0; list-style: none; }

blockquote, figure { margin: 0; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Boutons et liens ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  font: 500 15px/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--red); border-color: var(--red); }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }

.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 40px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.text-link:hover { color: var(--red); border-color: var(--red); }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* fond plein, pas de backdrop-filter : il piégerait le menu mobile (position: fixed) */
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand img { width: 238px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 30px; }
.site-nav ul a {
  position: relative;
  font-size: 15px;
  text-decoration: none;
  padding: 6px 0;
}
.site-nav ul a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--red);
  transition: right .25s;
}
.site-nav ul a:hover::after,
.site-nav ul a[aria-current="page"]::after { right: 0; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */

.hero { padding: clamp(64px, 11vw, 150px) 0 clamp(72px, 10vw, 128px); }

.hero-kicker {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.hero h1 {
  max-width: 15em;
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6.4vw, 5.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
/* Le point final reprend le carré rouge du logo */
.hero h1 .dot { color: var(--red); }

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px 64px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 32px;
  border-top: 1px solid var(--ink);
}

.lead {
  max-width: 34em;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
}

.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Bandeau de conviction ---------- */

.conviction { background: var(--ink); color: #fff; padding: clamp(64px, 9vw, 112px) 0; }

.conviction-text {
  max-width: 30em;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  line-height: 1.45;
}
.conviction-text em { font-style: italic; color: #cfcfcf; }

/* ---------- Sections génériques ---------- */

.section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-alt); }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }

/* Variante : intitulé à gauche, phrase d'introduction à droite */
.section-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 24px 48px;
  align-items: start;
}
.section-head-split .section-intro { margin-top: 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--red);
  flex: none;
}

.section-intro {
  margin-top: 22px;
  max-width: 26em;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.4;
}

/* ---------- Piliers ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
}
.pillar { border-top: 1px solid var(--ink); padding-top: 28px; }
.pillar-num { font-size: 13px; color: var(--ink-mute); letter-spacing: .1em; }
.pillar h3 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.65rem);
  line-height: 1.25;
}
.pillar p { margin-top: 16px; color: var(--ink-soft); }

/* ---------- Chaîne de valeur ---------- */

.chain {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}
/* le fil qui relie les maillons */
.chain::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 6px;
  height: 1px;
  background: var(--ink);
}
.link { position: relative; padding-top: 40px; }
.link-node {
  position: absolute; top: 0; left: 0;
  width: 13px; height: 13px;
  background: var(--bg-alt);
  border: 1px solid var(--ink);
  transition: background-color .2s, border-color .2s;
}
.link:hover .link-node { background: var(--red); border-color: var(--red); }
.link h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.25;
}
.link ul { margin-top: 16px; }
.link li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* ---------- Offres ---------- */

.offers { border-top: 1px solid var(--ink); }
.offers li { border-bottom: 1px solid var(--line); }
.offer {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.4fr) 32px;
  align-items: baseline;
  gap: 8px 32px;
  padding: 28px 0;
  text-decoration: none;
}
.offer-num { font-size: 13px; letter-spacing: .1em; color: var(--ink-mute); }
.offer-title {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  line-height: 1.3;
  transition: color .2s;
}
.offer-desc { color: var(--ink-soft); font-size: 16px; }
.offer-arrow { justify-self: end; font-size: 1.2rem; transition: transform .2s, color .2s; }
.offer:hover .offer-title,
.offer:hover .offer-arrow { color: var(--red); }
.offer:hover .offer-arrow { transform: translateX(4px); }

/* ---------- Notre expérience (sans photo ni nom : discrétion du fondateur) ---------- */

/* suit la liste des offres sur le même fond : pas de double marge */
.experience-section { padding-top: 0; }
.experience {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px clamp(40px, 7vw, 112px);
  padding-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--ink);
}
.experience-statement {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.experience-statement .dot { color: var(--red); }
.experience-lead { font-size: clamp(1.05rem, 1.4vw, 1.15rem); color: var(--ink-soft); }
.experience-facts { margin-top: 32px; border-top: 1px solid var(--line); }
.experience-facts li,
.row-list li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.experience-facts li::before,
.row-list li::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  margin-top: .6em;
  background: var(--ink);
}
.experience-note { margin-top: 20px; font-size: 14px; color: var(--ink-mute); font-style: italic; }

.manifesto {
  max-width: 34em;
  margin: clamp(64px, 8vw, 104px) auto 0;
  text-align: center;
}
.manifesto p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.45;
}
.manifesto p::before { content: "«\00a0"; }
.manifesto p::after { content: "\00a0»"; }
.manifesto footer {
  margin-top: 20px;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- Méthode ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
}
.step { border-top: 1px solid var(--ink); padding-top: 24px; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 500;
}
.step h3 {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 1.3rem;
}
.step p { margin-top: 12px; font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* Contenus en attente des données du client : visibles, mais signalés */
.is-placeholder { color: var(--ink-mute); }

/* ---------- Appel à l'action final ---------- */

.final-cta { padding: var(--section-y) 0; }
.final-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.final-cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.2;
}
.final-cta-lead {
  margin-top: 24px;
  max-width: 30em;
  font-size: 1.1rem;
  color: var(--ink-soft);
}
.final-cta-box { border: 1px solid var(--ink); padding: clamp(28px, 3vw, 40px); }
.final-cta-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.final-cta-list { margin: 20px 0 28px; counter-reset: cta; }
.final-cta-list li {
  counter-increment: cta;
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.final-cta-list li::before {
  content: counter(cta);
  flex: none;
  width: 18px;
  color: var(--ink-mute);
}
.final-cta-note { margin-top: 14px; font-size: 13px; color: var(--ink-mute); text-align: center; }


/* ---------- Pages intérieures ---------- */

.page-hero { padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 {
  max-width: 16em;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.page-hero h1 .dot { color: var(--red); }
.page-hero .lead { margin-top: 28px; }

.page-hero-center { text-align: center; padding-bottom: var(--section-y); }
.page-hero-center h1, .page-hero-center .lead { margin-left: auto; margin-right: auto; }
.actions-center { justify-content: center; margin-top: 40px; }

.narrow { max-width: 860px; }

.prose-section { padding: 0 0 var(--section-y); }
.prose { border-top: 1px solid var(--ink); }
.prose h2 {
  margin-top: 44px;
  font-family: var(--serif);
  font-size: 1.35rem;
}
.prose p { margin-top: 12px; color: var(--ink-soft); }
.prose a { text-underline-offset: 3px; }
.prose a:hover { color: var(--red); }

/* ---------- Approche, Offres, Industries, Technologies, À propos ---------- */

.page-hero .hero-foot { margin-top: clamp(32px, 5vw, 56px); }
.page-hero .hero-foot .lead { margin-top: 0; }
/* même fond que l'en-tête de page : pas de double marge */
.page-hero + .section:not(.section-alt) { padding-top: clamp(16px, 2vw, 32px); }

/* boutons empilés, de même largeur, calés à droite */
.final-cta .actions { display: grid; justify-content: end; }

/* Variante à quatre colonnes des piliers (Ce qui nous distingue, Nos valeurs) */
.pillars-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Intitulé à gauche, texte à droite */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 28px 48px;
  align-items: start;
}
.split + .split,
.split + .experience { margin-top: clamp(56px, 7vw, 96px); }
.split-text p { color: var(--ink-soft); font-size: clamp(1.05rem, 1.4vw, 1.15rem); }
.split-text p + p { margin-top: 1em; }
.split-statement {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.35;
}
.split-statement + p { margin-top: 24px; }

.manifesto-text p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  line-height: 1.55;
}
.manifesto-text p + p { margin-top: 1em; }
.manifesto-text p:last-child { padding-left: 24px; border-left: 2px solid var(--red); }

/* Lignes numérotées : offres détaillées, technologies */
.rows { border-top: 1px solid var(--ink); }
.row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: baseline;
  gap: 12px 32px;
  padding: clamp(32px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.row-num { font-size: 13px; letter-spacing: .1em; color: var(--ink-mute); }
.row-title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.3;
}
.row-body > p { color: var(--ink-soft); }
.row-list { margin-top: 22px; border-top: 1px solid var(--line); }
.row-list li { color: var(--ink); }

/* Innovation Lab : bandeau noir */
.lab { background: var(--ink); color: #fff; padding: var(--section-y) 0; }
.lab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px clamp(40px, 7vw, 112px);
  align-items: start;
}
.lab h2 {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.lab-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #cfcfcf; }
.lab-facts { margin: 28px 0 36px; border-top: 1px solid #333; counter-reset: lab; }
.lab-facts li {
  counter-increment: lab;
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #333;
  font-size: 15px;
}
.lab-facts li::before { content: counter(lab); flex: none; width: 18px; color: #8a8a8a; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* Industries : tableau des secteurs */
.sector-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.sector-table th,
.sector-table td {
  padding: 22px 28px 22px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
}
.sector-table thead th {
  padding-top: 16px;
  padding-bottom: 16px;
  font: 500 12px/1.4 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.sector-table tbody th {
  width: 27%;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.35;
}
.sector-table td { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.sector-table td:nth-child(2) { width: 28%; }
.sector-table tbody tr { transition: background-color .2s; }
.sector-table tbody tr:hover { background: var(--bg-alt); }
.sector-table tbody tr:hover th { color: var(--red); }

.functions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  border-top: 1px solid var(--ink);
}
.functions li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.15rem;
}

/* Approche : schéma Métier × Technologie × Innovation */
.approach-figure { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.approach-figure svg { width: 100%; max-width: 760px; margin: 0 auto; overflow: visible; }
.approach-figure figcaption {
  max-width: 34em;
  margin: 28px auto 0;
  text-align: center;
  font-size: 14px;
  font-style: italic;
  color: var(--ink-mute);
}
.fig-ring { fill: none; stroke: #bdbdbd; stroke-width: 1; }
.fig-arrow { fill: #bdbdbd; }
.fig-circle { fill: rgba(17, 17, 17, .04); stroke: var(--ink); stroke-width: 1; }
.fig-core { fill: var(--red); }
.fig-node { fill: var(--bg); stroke: var(--ink); stroke-width: 1; }
.fig-num { font: 500 13px var(--sans); fill: var(--ink); }
.fig-step { font: 400 18px var(--serif); fill: var(--ink); }
.fig-label { font: 500 12px var(--sans); letter-spacing: .14em; fill: var(--ink); }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.contact-aside { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--ink); }
.contact-aside > p:not(.final-cta-label) { margin-top: 12px; color: var(--ink-soft); }
.contact-aside .final-cta-list { margin-bottom: 0; }
.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 40px;
  font-style: normal;
  font-size: 15px;
}
.contact-details a { text-decoration: none; border-bottom: 1px solid var(--line); justify-self: start; }
.contact-details a:hover { color: var(--red); border-color: var(--red); }

.contact-form {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--ink);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.optional { font-weight: 400; color: var(--ink-mute); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.4 var(--sans);
  transition: border-color .2s;
}
.field select {
  appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-mute); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

.consent { display: flex; gap: 12px; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ink); }
.consent a { color: var(--ink); text-underline-offset: 3px; }

.contact-form .btn { justify-self: start; }
.form-legal { font-size: 12.5px; line-height: 1.55; color: var(--ink-mute); }

/* champ anti-spam invisible (Netlify Forms) */
.hp { position: absolute; left: -9999px; }

/* ---------- Pied de page ---------- */

.site-footer { background: var(--ink); color: #fff; font-size: 15px; }
.site-footer a { text-decoration: none; color: #d6d6d6; transition: color .2s; }
.site-footer a:hover { color: #fff; }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 56px;
}
.footer-brand img { width: 238px; }
.footer-brand p { margin-top: 22px; max-width: 22em; color: #bdbdbd; }

.footer-nav ul { display: grid; gap: 10px; }

.footer-contact { display: grid; align-content: start; gap: 10px; font-style: normal; color: #d6d6d6; }
.site-footer .is-placeholder { color: #8a8a8a; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 32px;
  border-top: 1px solid #2c2c2c;
  font-size: 13px;
  color: #9a9a9a;
}
.footer-bottom ul { display: flex; gap: 24px; }

/* ---------- Apparition au défilement (activée par main.js, jamais sans JS) ---------- */

.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .chain, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .chain::before { display: none; }
  .link { border-top: 1px solid var(--ink); padding-top: 28px; }
  .link-node { top: -7px; }
  .offer { grid-template-columns: 48px minmax(0, 1fr) 24px; }
  .offer-desc { grid-column: 2; }
  .offer-arrow { grid-column: 3; grid-row: 1; }
  .pillars-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .row { grid-template-columns: 48px minmax(0, 1fr); }
  .row-body { grid-column: 2; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }

  .brand img { width: 190px; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    margin-right: -10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle-bar,
  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--ink);
    transition: transform .2s, background-color .2s;
  }
  .nav-toggle-bar { position: relative; }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -7px; }
  .nav-toggle-bar::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 24px var(--gutter) 40px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s, visibility .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 1.4rem;
  }
  .site-nav ul a::after { display: none; }
  .site-nav .btn { min-height: 52px; }

  .hero-foot { grid-template-columns: 1fr; }

  .section-head-split { grid-template-columns: 1fr; }

  .pillars { grid-template-columns: 1fr; }
  .pillars-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .experience { grid-template-columns: 1fr; }

  .split, .lab-grid { grid-template-columns: 1fr; }
  .functions { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .final-cta-grid { grid-template-columns: 1fr; }
  .final-cta .actions { justify-content: start; }
  .contact-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .actions .btn { flex: 1 1 100%; }
  .final-cta .actions { justify-content: stretch; }
  .chain, .steps { grid-template-columns: 1fr; row-gap: 40px; }
  .offer { grid-template-columns: minmax(0, 1fr) 24px; padding: 24px 0; }
  .offer-num { display: none; }
  .offer-desc { grid-column: 1; }
  .offer-arrow { grid-column: 2; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; }
  .pillars-4, .functions { grid-template-columns: 1fr; }
  /* le schéma est réduit de moitié : on grossit son texte pour qu'il reste lisible */
  .fig-step { font-size: 25px; }
  .fig-num { font-size: 16px; }
  .fig-label { font-size: 14px; letter-spacing: .1em; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .row-body { grid-column: 1; }
  .row-num { display: none; }
}

/* Tableau des secteurs : une fiche par secteur sur petit écran */
@media (max-width: 760px) {
  .sector-table thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
  .sector-table,
  .sector-table tbody,
  .sector-table tr,
  .sector-table th,
  .sector-table td { display: block; width: auto !important; }
  .sector-table tbody tr { padding: 24px 0; border-bottom: 1px solid var(--line); }
  .sector-table tbody th,
  .sector-table td { padding: 0; border: 0; }
  .sector-table td { margin-top: 12px; }
  .sector-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font: 500 11px/1.4 var(--sans);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-mute);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}
