/* =========================================================
   Cabinet Michel Klopfer — Design system 2026
   Aligné sur la charte graphique CMK 2026
   Palette : bleus institutionnels · neutres anthracite
   Typographie : Marianne (titres) + Inter (texte courant)
   ========================================================= */

/* ---------- Marianne (DSFR @gouvfr/dsfr 1.14.4 — auto-hébergée) ---------- */
@font-face {
  font-family: "Marianne";
  src: url("../fonts/Marianne-Regular.woff2") format("woff2"),
       url("../fonts/Marianne-Regular.woff")  format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Marianne";
  src: url("../fonts/Marianne-Regular_Italic.woff2") format("woff2"),
       url("../fonts/Marianne-Regular_Italic.woff")  format("woff");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Marianne";
  src: url("../fonts/Marianne-Medium.woff2") format("woff2"),
       url("../fonts/Marianne-Medium.woff")  format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Marianne";
  src: url("../fonts/Marianne-Medium_Italic.woff2") format("woff2"),
       url("../fonts/Marianne-Medium_Italic.woff")  format("woff");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Marianne";
  src: url("../fonts/Marianne-Bold.woff2") format("woff2"),
       url("../fonts/Marianne-Bold.woff")  format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Marianne";
  src: url("../fonts/Marianne-Bold_Italic.woff2") format("woff2"),
       url("../fonts/Marianne-Bold_Italic.woff")  format("woff");
  font-weight: 700; font-style: italic; font-display: swap;
}

/* --- Inter (auto-hébergé, sous-ensemble latin) --- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* --- Bleus CMK 2026 --- */
  --blue-deep:  #1F2A52;  /* hover + surfaces sombres profondes */
  --blue-dark:  #2E3A6B;  /* bleu nuit — surfaces dark, titres impact */
  --blue:       #3A5A99;  /* bleu CMK principal (logo) — liens, accent */
  --blue-mid:   #4A66AC;  /* bleu intermédiaire */
  --blue-light: #707EB3;  /* bleu clair CMK (logo) — filets, légendes dark */
  --blue-soft:  #A5B3D9;  /* bleu très clair — accents sur fond sombre */
  --blue-tint:  #EEF1F8;  /* tint UI — placeholders photo */

  /* --- Neutres --- */
  --ink:        #1F2937;  /* anthracite — texte, titres */
  --text:       #1F2937;
  --muted:      #6B7280;  /* gris moyen — légendes */
  --mute-2:     #9CA3AF;
  --border:     #D8DCE6;  /* ligne UI */
  --bg-soft:    #F5F6F8;  /* fond alternatif clair */
  --bg:         #FAFBFD;  /* fond principal */
  --white:      #FFFFFF;

  /* --- Palette secondaire (version couleur) ---
     Quatre familles institutionnelles désaturées, accents systématiques. */
  --ocre:        #B35C2E;  --ocre-dark: #8A4520;  --ocre-soft: #F0E0D0;  --ocre-tint: #FAF1E8;  --ocre-ondark: #E8B98C;
  --sage:        #5F8775;  --sage-dark: #456A5B;  --sage-soft: #DCE8E0;  --sage-tint: #EDF3EF;  --sage-ondark: #A8C6B2;
  --plum:        #7C2E3F;  --plum-dark: #5A1E2C;  --plum-soft: #EFD3D8;  --plum-tint: #F9EBEE;  --plum-ondark: #D08D9B;

  /* --- Ombres --- */
  --shadow-sm: 0 2px 6px rgba(31, 42, 82, .06);
  --shadow-md: 0 12px 32px rgba(31, 42, 82, .10);
  --shadow-lg: 0 24px 60px rgba(31, 42, 82, .14);

  /* --- Rayons --- */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;

  /* --- Layout --- */
  --container: 1240px;
  --container-narrow: 960px;

  /* --- Typographies --- */
  --title: "Marianne", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --sans:  "Inter", "Marianne", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 {
  font-family: var(--title);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  margin: 0;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 4.1rem); line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.8rem); line-height: 1.14; }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.3; font-weight: 700; }
h4 { font-size: 1.05rem; line-height: 1.3; font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  color: var(--blue);
  margin-bottom: 1.1rem;
}
.lede { font-size: 1.2rem; color: var(--text); line-height: 1.55; max-width: 62ch; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.container--narrow { max-width: var(--container-narrow); }

section { padding: clamp(64px, 10vw, 140px) 0; }
.section-tight { padding: clamp(48px, 7vw, 88px) 0; }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 1000;
  background: var(--blue-deep, #1F2A52);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--sans, "Inter", sans-serif);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(31,42,82,.25);
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; outline: 2px solid #A5B3D9; outline-offset: 2px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 253, .88);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid rgba(46, 58, 107, .08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--title);
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: .01em;
}
.brand strong { font-weight: 700; color: var(--blue-dark); }
.brand .brand-sub { color: var(--muted); font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: .93rem;
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color .2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover { color: var(--blue-dark); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--blue-dark); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  font-size: .88rem;
  font-weight: 600;
  padding: 11px 20px;
  border: 1px solid var(--blue-dark);
  border-radius: 999px;
  color: var(--blue-dark);
  transition: all .25s var(--ease);
}
.nav-cta:hover { background: var(--blue-dark); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  font-family: var(--sans);
  transition: all .25s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--blue-dark); color: var(--white); }
.btn-primary:hover { background: var(--blue); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--blue-dark); color: var(--blue-dark); background: transparent; }
.btn-outline:hover { background: var(--blue-dark); color: var(--white); }
.btn-ghost { color: var(--blue-dark); padding-left: 0; padding-right: 0; }
.btn-ghost:hover .arrow { transform: translateX(6px); }
.arrow { transition: transform .3s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0 clamp(80px, 10vw, 120px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% -10%, rgba(112, 126, 179, .20), transparent 55%),
    radial-gradient(ellipse at -10% 110%, rgba(46, 58, 107, .12), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
}
.hero h1 .italic { font-style: italic; color: var(--blue); font-weight: 700; }
.hero-meta {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-meta-item strong {
  display: block;
  font-family: var(--title);
  font-weight: 700;
  font-size: 2rem;
  color: var(--blue-dark);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-meta-item span {
  font-size: .82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.hero-ctas { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(31, 42, 82, .62));
}
.hero-visual-label {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  color: var(--white);
  font-family: var(--title);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  z-index: 2;
  line-height: 1.4;
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.02);
}

/* ---------- Bandeau chiffres clés ---------- */
.stats {
  background: var(--blue-dark);
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stat {
  background: var(--blue-dark);
  padding: 44px 32px;
  text-align: left;
}
.stat-num {
  font-family: var(--title);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--blue-soft);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: .95rem;
  color: rgba(255, 255, 255, .85);
  line-height: 1.4;
}

/* ---------- Expertise cards ---------- */
.section-header { margin-bottom: 60px; max-width: 780px; }
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.expertise-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.expertise-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.expertise-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.expertise-card:hover::before { transform: scaleX(1); }
.expertise-card .num {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--blue);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: inline-block;
}
.expertise-card h3 {
  margin-bottom: 14px;
  color: var(--ink);
}
.expertise-card p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
  margin: 0 0 20px 0;
}
.expertise-card .link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.expertise-card .link:hover { color: var(--blue-dark); }
.expertise-card .link:hover .arrow { transform: translateX(4px); }

/* ---------- Split / Vision ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.split-image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--blue-tint);
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-body p { font-size: 1.05rem; margin-bottom: 1.1rem; color: var(--text); }

.quote {
  border-left: 3px solid var(--blue);
  padding-left: 24px;
  font-family: var(--title);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--blue-dark);
  margin: 30px 0;
}
.quote-author { display: block; margin-top: 16px; font-family: var(--sans); font-style: normal; font-weight: 600; font-size: .88rem; color: var(--muted); letter-spacing: .05em; }

/* ---------- Logos clients ---------- */
.logo-band { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logo-band .section-header { margin-bottom: 40px; }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 24px 36px;
  align-items: center;
  justify-items: center;
}
.logo-grid img {
  max-height: 64px;
  max-width: 110px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(.65);
  transition: filter .35s var(--ease), transform .35s var(--ease);
}
.logo-grid img:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.04);
}

.logo-count {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--title);
  color: var(--ink);
}
.logo-count strong { font-size: 2.2rem; color: var(--blue); font-weight: 700; }

/* ---------- Équipe ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 28px;
}
.team-card {
  display: block;
}
.team-photo {
  aspect-ratio: 4 / 5;
  background: var(--blue-tint);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .6s var(--ease);
  filter: saturate(.95);
}
.team-card:hover .team-photo img { transform: scale(1.04); filter: saturate(1.05); }
.team-name {
  font-family: var(--title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -.005em;
}
.team-role {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- Actu / Publications ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s var(--ease);
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-cover {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  position: relative;
  overflow: hidden;
}
.news-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(165, 179, 217, .28), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,.06), transparent 50%);
}
.news-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.news-meta {
  display: flex;
  gap: 10px;
  font-size: .76rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.news-meta .tag { color: var(--blue); font-weight: 700; }
.news-card h3 { font-size: 1.22rem; line-height: 1.28; margin-bottom: 14px; }
.news-card p { font-size: .95rem; color: var(--muted); flex: 1; }
.news-card .link { margin-top: 18px; font-weight: 600; color: var(--blue); font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.news-card .link:hover { color: var(--blue-dark); }

/* ---------- Contact / CTA ---------- */
.cta-band {
  background: var(--blue-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 80px);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(112, 126, 179, .22), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(165, 179, 217, .12), transparent 55%);
}
.cta-band h2 { color: var(--white); max-width: 18ch; }
.cta-band .btn-primary { background: var(--white); color: var(--blue-dark); }
.cta-band .btn-primary:hover { background: var(--blue-soft); color: var(--blue-dark); }
.cta-band .btn-outline { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  position: relative;
}
.cta-grid-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .75);
  padding: 72px 0 40px;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer a { display: block; padding: 4px 0; color: rgba(255, 255, 255, .72); transition: color .2s var(--ease); }
.footer a:hover { color: var(--blue-soft); }
.footer a.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-social-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 auto;
  opacity: .85;
  transition: opacity .2s var(--ease);
}
.footer a.footer-social:hover .footer-social-icon { opacity: 1; }
.footer-brand { font-family: var(--title); font-weight: 700; font-size: 1.3rem; color: var(--white); margin-bottom: 12px; }
.footer-brand + p { max-width: 38ch; line-height: 1.55; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(58, 90, 153, .12);
}
.field textarea { min-height: 140px; resize: vertical; }

/* ---------- Expertise detail page ---------- */
.expertise-hero {
  padding: clamp(80px, 10vw, 120px) 0 60px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.expertise-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(165, 179, 217, .22), transparent 55%),
    radial-gradient(ellipse at 5% 100%, rgba(255, 255, 255, .06), transparent 55%);
  pointer-events: none;
}
.expertise-hero > * { position: relative; }
.expertise-hero h1 { color: var(--white); max-width: 20ch; }
.expertise-hero .lede { color: rgba(255, 255, 255, .85); margin-top: 24px; }

.expertise-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.expertise-item {
  background: var(--white);
  padding: 40px 36px;
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.expertise-item:hover {
  background: var(--bg-soft);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -24px rgba(46, 58, 107, .25);
}
.expertise-item h3 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}
.expertise-item h3 .num {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--blue);
  font-size: .85rem;
  letter-spacing: .12em;
}
.expertise-item p { color: var(--muted); font-size: .95rem; line-height: 1.55; margin: 0; }

/* ---------- Team detail page ---------- */
.team-intro {
  padding: clamp(80px, 10vw, 120px) 0 40px;
}
.team-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 24px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}
.team-filter {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: .88rem;
  color: var(--muted);
  font-family: var(--sans);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.team-filter.is-active, .team-filter:hover {
  background: var(--blue-dark);
  color: var(--white);
  border-color: var(--blue-dark);
}

/* ---------- Team card (cliquable) ---------- */
.team-card {
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  font-family: inherit;
  width: 100%;
  transition: transform .25s var(--ease);
}
.team-card:hover { transform: translateY(-2px); }
.team-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; border-radius: 4px; }

/* ---------- Modale Consultant ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(31, 42, 82, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.modal.is-open {
  display: flex;
  opacity: 1;
}
.modal-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  max-width: 880px;
  width: 100%;
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-columns: 340px 1fr;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: scale(.96) translateY(12px);
  transition: transform .35s var(--ease);
  position: relative;
}
.modal.is-open .modal-card { transform: none; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
  box-shadow: var(--shadow-sm);
}
.modal-close:hover { background: var(--white); transform: scale(1.05); }
.modal-photo {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.modal-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.modal-body {
  padding: 44px 44px 48px;
  overflow-y: auto;
}
.modal-name {
  font-family: var(--title);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.15;
}
.modal-role {
  font-size: .88rem;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 22px;
}
.modal-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--muted);
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.modal-meta span strong { color: var(--ink); font-weight: 600; }
.modal-bio p { font-size: .98rem; line-height: 1.65; margin: 0 0 14px; color: var(--text); }
.modal-bio p:last-child { margin-bottom: 0; }
.modal-expertise {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.modal-expertise h4 {
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 12px;
}
.modal-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-tag {
  font-size: .8rem;
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--blue-dark);
  font-weight: 500;
}

body.modal-open { overflow: hidden; }

@media (max-width: 720px) {
  .modal-card { grid-template-columns: 1fr; max-height: calc(100vh - 32px); }
  .modal-photo { min-height: 220px; aspect-ratio: 4/3; }
  .modal-body { padding: 28px 24px 32px; }
  .modal-name { font-size: 1.5rem; }
}

/* ---------- News detail page ---------- */
.news-featured {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.news-featured .news-cover { aspect-ratio: auto; }
.news-featured .news-body { padding: clamp(32px, 5vw, 56px); justify-content: center; }
.news-featured h2 { margin-bottom: 18px; }

/* ---------- Book cover (publications) ---------- */
.book-cover-stage {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 36px);
  min-height: 520px;
}
.book-cover-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(165, 179, 217, .28), transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(255, 255, 255, .06), transparent 60%);
  pointer-events: none;
}
.book-cover {
  position: relative;
  z-index: 1;
  max-width: 340px;
  width: 100%;
  aspect-ratio: 1819 / 2371;
  border-radius: 2px 6px 6px 2px;
  background: var(--white);
  box-shadow:
    -1px 0 0 rgba(0,0,0,.25),
    0 20px 40px rgba(0,0,0,.35),
    0 40px 80px rgba(0,0,0,.25);
  overflow: hidden;
  transform: perspective(900px) rotateY(-6deg);
  transition: transform .6s var(--ease);
}
.book-cover:hover { transform: perspective(900px) rotateY(-2deg) translateY(-4px); }
.book-cover::after {
  /* tranche gauche simulée */
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 8px;
  background: linear-gradient(90deg, rgba(0,0,0,.25), transparent);
  pointer-events: none;
}
.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Version compacte (carte standard) */
.news-cover.news-cover--book {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.news-cover.news-cover--book::after { display: none; }
.news-cover.news-cover--book .book-cover {
  max-width: 190px;
  transform: perspective(700px) rotateY(-5deg);
  box-shadow:
    -1px 0 0 rgba(0,0,0,.22),
    0 12px 28px rgba(0,0,0,.38);
}
.news-card:hover .news-cover.news-cover--book .book-cover {
  transform: perspective(700px) rotateY(-2deg) translateY(-2px);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-info {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-block { margin-bottom: 32px; }
.contact-block:last-child { margin-bottom: 0; }
.contact-block h4 {
  margin-bottom: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-block p, .contact-block a { font-size: 1rem; color: var(--ink); line-height: 1.55; }
.contact-block a:hover { color: var(--blue); }

/* ---------- Animations au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 3/2; order: -1; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-image { aspect-ratio: 4/3; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-grid { grid-template-columns: 1fr; align-items: start; }
  .expertise-list { grid-template-columns: 1fr; }
  .news-featured { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav-links, .nav-cta {
    position: fixed;
    top: 80px;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 24px 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    display: none;
  }
  .nav-cta { top: auto; box-shadow: none; border-bottom: none; border-top: 1px solid var(--border); padding-top: 20px; margin-top: 4px; }
  body.nav-open .nav-links { display: flex; }
  body.nav-open .nav-cta { display: inline-flex; }
  .expertise-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 28px; }
  .stat { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   ACCENTS COULEUR (version "-color")
   Application systématique de 4 familles chromatiques :
   bleu (dominante) + ocre + sage + plum.
   ========================================================= */

/* ---------- Expertise items (page /expertise) — 12 items en 4 groupes de 3 ---------- */
.expertise-item:nth-child(-n+3) .num                           { color: var(--blue); }
.expertise-item:nth-child(n+4):nth-child(-n+6) .num            { color: var(--ocre); }
.expertise-item:nth-child(n+7):nth-child(-n+9) .num            { color: var(--sage); }
.expertise-item:nth-child(n+10) .num                           { color: var(--plum); }

.expertise-item:nth-child(-n+3):hover                          { border-color: var(--blue); }
.expertise-item:nth-child(n+4):nth-child(-n+6):hover           { border-color: var(--ocre); }
.expertise-item:nth-child(n+7):nth-child(-n+9):hover           { border-color: var(--sage); }
.expertise-item:nth-child(n+10):hover                          { border-color: var(--plum); }

/* Petite puce colorée devant le titre pour renforcer le code couleur */
.expertise-item h3::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 2px;
  flex-shrink: 0;
}
.expertise-item:nth-child(-n+3) h3::before                     { background: var(--blue); }
.expertise-item:nth-child(n+4):nth-child(-n+6) h3::before      { background: var(--ocre); }
.expertise-item:nth-child(n+7):nth-child(-n+9) h3::before      { background: var(--sage); }
.expertise-item:nth-child(n+10) h3::before                     { background: var(--plum); }

/* ---------- Bandeau chiffres clés (home) — 4 stats = 4 couleurs ---------- */
.stats-grid .stat:nth-child(1) .stat-num { color: var(--blue-soft); }
.stats-grid .stat:nth-child(2) .stat-num { color: var(--ocre-ondark); }
.stats-grid .stat:nth-child(3) .stat-num { color: var(--sage-ondark); }
.stats-grid .stat:nth-child(4) .stat-num { color: var(--plum-ondark); }

/* ---------- Cartes expertise home (6 cartes) — rotation 4 couleurs ---------- */
.expertise-card:nth-child(1) .num { color: var(--blue); }
.expertise-card:nth-child(2) .num { color: var(--ocre); }
.expertise-card:nth-child(3) .num { color: var(--sage); }
.expertise-card:nth-child(4) .num { color: var(--plum); }
.expertise-card:nth-child(5) .num { color: var(--blue); }
.expertise-card:nth-child(6) .num { color: var(--ocre); }

.expertise-card:nth-child(1)::before { background: linear-gradient(90deg, var(--blue-dark),  var(--blue-light)); }
.expertise-card:nth-child(2)::before { background: linear-gradient(90deg, var(--ocre-dark),  var(--ocre)); }
.expertise-card:nth-child(3)::before { background: linear-gradient(90deg, var(--sage-dark),  var(--sage)); }
.expertise-card:nth-child(4)::before { background: linear-gradient(90deg, var(--plum-dark),  var(--plum)); }
.expertise-card:nth-child(5)::before { background: linear-gradient(90deg, var(--blue-dark),  var(--blue-light)); }
.expertise-card:nth-child(6)::before { background: linear-gradient(90deg, var(--ocre-dark),  var(--ocre)); }

/* ---------- Tags d'actualités par catégorie ---------- */
.news-meta .tag--analyse   { color: var(--blue); }
.news-meta .tag--etude     { color: var(--sage); }
.news-meta .tag--interview { color: var(--plum); }
.news-meta .tag--note      { color: var(--ocre); }
.news-meta .tag--tribune   { color: var(--plum); }
.news-meta .tag--une       { color: var(--ocre); }
.news-meta .tag--warm      { color: var(--ocre); } /* compat version bis */

/* ---------- Halo multicolore du stage livre (actualités / à la une) ---------- */
.book-cover-stage::before {
  background:
    radial-gradient(circle at 18% 18%, rgba(165, 179, 217, .30), transparent 52%),
    radial-gradient(circle at 82% 28%, rgba(232, 185, 140, .22), transparent 55%),
    radial-gradient(circle at 70% 85%, rgba(168, 198, 178, .18), transparent 55%);
}

/* ---------- Filtres équipe — accent coloré au survol ---------- */
.team-filter:nth-child(2):hover,
.team-filter[data-filter="direction"]:hover  { border-color: var(--plum);  color: var(--plum); }
.team-filter[data-filter="associe"]:hover    { border-color: var(--ocre);  color: var(--ocre); }
.team-filter[data-filter="admin"]:hover      { border-color: var(--sage);  color: var(--sage); }

/* ---------- Eyebrow des sections — rotation discrète ---------- */
.section-header:nth-of-type(odd) .eyebrow  { color: var(--ocre); }
.section-header:nth-of-type(even) .eyebrow { color: var(--sage); }

/* ---------- Liens texte (hors CTA/nav) gagnent un hover coloré ---------- */
.news-card:nth-child(4n+2) .link:hover { color: var(--ocre); }
.news-card:nth-child(4n+3) .link:hover { color: var(--sage); }
.news-card:nth-child(4n)   .link:hover { color: var(--plum); }


/* =========================================================
   ICONES — système outline + duotone
   SVG inline, couleur héritée via currentColor
   ========================================================= */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: inherit;
}
.icon svg { width: 100%; height: 100%; display: block; }

/* Outline : trait seul, épaisseur fine, bouts arrondis */
.icon--outline svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Duotone : fond aplati très clair (12% currentColor) + pictogramme en trait */
.icon--duotone { width: 44px; height: 44px; }
.icon--duotone .ico-bg { fill: currentColor; opacity: .12; }
.icon--duotone .ico-fg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Intégration dans la liste d'expertises --- */
.expertise-item h3 { align-items: center; gap: 14px; }
.expertise-item .icon {
  color: var(--blue);
  width: 26px;
  height: 26px;
}

/* --- Intégration dans une carte expertise (home) --- */
.expertise-card .icon {
  color: var(--blue);
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  display: block;
}

/* --- Intégration dans les blocs d'info contact --- */
.contact-info .contact-block {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.contact-info .contact-block .icon--duotone { color: var(--blue); }
.contact-info .contact-block__text { flex: 1; }
.contact-info .contact-block__text h4 { margin-top: 2px; }


/* --- Icônes expertises : héritent du code chromatique par quadrant --- */
.expertise-item:nth-child(-n+3) .icon                          { color: var(--blue); }
.expertise-item:nth-child(n+4):nth-child(-n+6) .icon           { color: var(--ocre); }
.expertise-item:nth-child(n+7):nth-child(-n+9) .icon           { color: var(--sage); }
.expertise-item:nth-child(n+10) .icon                          { color: var(--plum); }

/* --- Icônes cartes expertise home : rotation des 4 couleurs --- */
.expertise-card:nth-child(1) .icon { color: var(--blue); }
.expertise-card:nth-child(2) .icon { color: var(--ocre); }
.expertise-card:nth-child(3) .icon { color: var(--sage); }
.expertise-card:nth-child(4) .icon { color: var(--plum); }
.expertise-card:nth-child(5) .icon { color: var(--blue); }
.expertise-card:nth-child(6) .icon { color: var(--ocre); }

/* ================================ */
/* LOGO CMK - brand images          */
/* ================================ */
.brand {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  font-size: 0;
  gap: 0;
}
.brand-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: 280px;
}
.footer-brand {
  margin-bottom: 16px;
  padding: 0;
  font-size: 0;
  line-height: 0;
  color: transparent;
}
.footer-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 260px;
}
@media (max-width: 720px) {
  .brand-logo { height: 32px; max-width: 220px; }
  .footer-logo { height: 38px; }
}

/* ================================ */
/* Hero punchline — fade transition */
/* ================================ */
.hero-visual-label {
  transition: opacity .5s ease;
}
.hero-visual-label.is-fading {
  opacity: 0;
}

/* ================================ */
/* Hero gondole photo — fade transition (rotation auto toutes les 5 s) */
/* ================================ */
#hero-gondole-img {
  transition: opacity .5s ease;
}
#hero-gondole-img.is-fading {
  opacity: 0;
}
