/* Valois Conseil, version sobre */
:root {
  --blue: #013476;
  --blue-hover: #0A4FA8;
  --ink: #14181F;
  --text: #1C2029;
  --text-2: #3A3F48;
  --muted: #545A64;
  --line: #D9DCE1;
  --line-soft: #E6E8EB;
  --bg-alt: #F5F6F8;
  --footer-muted: #C9D3E6;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
}

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

body {
  margin: 0;
  background: #FFFFFF;
  font-family: var(--sans);
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-underline-offset: 4px; }
a:hover { color: var(--blue-hover); }
img { max-width: 100%; }

.skip-link {
  position: absolute; left: 16px; top: -48px;
  padding: 10px 16px; background: var(--blue); color: #fff; z-index: 10;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* En-tête */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  padding-top: 20px; padding-bottom: 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 40px;
}
.site-header .brand { display: block; line-height: 0; }
.site-header .brand img { display: block; width: 105px; height: 70px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0 32px; font-size: 15px; line-height: 1.4; }
.site-nav a {
  padding: 12px 0; color: var(--text); text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--blue); }
.site-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }

/* Typographie */
.eyebrow {
  margin: 0 0 24px; display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); line-height: 1.4;
}
.eyebrow::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--blue); }
.label {
  margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue);
}
h1, .h1 {
  margin: 0 0 24px; max-width: 760px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem); line-height: 1.18; letter-spacing: -0.01em;
  color: var(--ink); text-wrap: balance;
}
.lead {
  margin: 0; max-width: 720px;
  font-family: var(--serif); font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.65;
  color: var(--text-2); text-wrap: pretty;
}
.lead + .lead { margin-top: 16px; }
h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.25; color: var(--ink);
}
h3 {
  margin: 0; font-family: var(--serif); font-weight: 600;
  font-size: 21px; line-height: 1.35; color: var(--ink);
}
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }

/* Sections */
.section { border-top: 1px solid var(--line); }
.section > .wrap { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--bg-alt); }
.page-intro > .wrap { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); }

/* Titre à gauche, contenu à droite */
.split { display: flex; flex-wrap: wrap; gap: 20px 64px; }
.split > :first-child { flex: 1 1 240px; max-width: 320px; }
.split > :last-child { flex: 999 1 560px; min-width: 0; max-width: 700px; }
.split + .split { margin-top: 40px; }

/* Lignes de détail (interventions) */
.rows h2 { margin-bottom: 36px; }
.row {
  display: flex; flex-wrap: wrap; gap: 12px 64px;
  padding: 28px 0; border-top: 1px solid var(--line-soft);
}
.row:last-child { border-bottom: 1px solid var(--line-soft); }
.section--alt .row { border-color: var(--line); }
.row > h3 { flex: 1 1 240px; max-width: 320px; }
.row > div { flex: 999 1 560px; min-width: 0; max-width: 700px; }
.row p { margin-bottom: 14px; }
.row ul { margin: 0; padding: 0 0 0 20px; color: var(--text-2); }
.row li { padding: 3px 0; }
.row .label { margin-top: 18px; }

/* Accueil : introduction */
.hero > .wrap {
  padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 48px 72px;
}
.hero-text { flex: 999 1 520px; min-width: 0; max-width: 720px; }
.hero h1 { margin-bottom: 28px; }
.portrait { flex: 0 1 200px; margin: 0; }
.portrait img { display: block; width: 200px; height: 200px; object-fit: cover; }
.portrait figcaption { margin-top: 14px; line-height: 1.4; }
.portrait figcaption a { font-family: var(--serif); font-size: 18px; color: var(--ink); text-decoration: none; }
.portrait figcaption a:hover { color: var(--blue); text-decoration: underline; }
.portrait figcaption span { font-size: 14px; color: var(--muted); }

/* Cartes métiers */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px; margin-top: 40px;
}
.card { border-top: 4px solid var(--blue); background: var(--bg-alt); padding: 28px 28px 32px; }
.card h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.3; }
.card > p { margin-bottom: 16px; font-size: 16px; color: var(--text-2); }
.ticks { list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 1.5; }
.ticks li { display: flex; gap: 12px; padding: 7px 0; border-top: 1px solid #DDE0E5; }
.ticks li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; background: var(--blue); }

/* Secteurs */
.sectors-block { margin-top: clamp(48px, 6vw, 80px); }
.sectors {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 0 24px; border-top: 1px solid var(--line);
}
.sectors > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.sectors .name { margin: 0 0 4px; font-family: var(--serif); font-size: 19px; color: var(--ink); }
.sectors .desc { margin: 0; font-size: 15px; color: var(--muted); }
.more { margin: 22px 0 0; }
.more a { display: inline-block; padding: 8px 0; }

/* Références */
.ref-names {
  margin: 0; font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.75; color: var(--text-2);
}
.logos {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.logos li {
  flex: 0 1 164px; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  height: 100px; padding: 20px; background: #FFFFFF; border: 1px solid var(--line);
}
.logos img {
  display: block; max-width: 100%; max-height: 52px; width: auto; height: auto;
  filter: grayscale(1); opacity: 0.75; transition: filter .25s, opacity .25s;
}
.logos li:hover img { filter: none; opacity: 1; }
/* FMM : le fichier juxtapose RFI, France 24, MCD et le nom du groupe ; on n'en montre que le nom */
.logos img.crop-fmm { width: 66px; height: 64px; max-height: none; object-fit: cover; object-position: right center; }
@media (max-width: 560px) {
  .logos li { flex-basis: calc(50% - 6px); height: 88px; padding: 16px; }
}

/* Listes de publications */
.pubs { list-style: none; margin: 0; padding: 0; }
.pubs li { padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.pubs li:first-child { padding-top: 0; }
.pubs li:last-child { border-bottom: 0; padding-bottom: 0; }
.section--alt .pubs li { border-color: var(--line); }
.pubs .meta { margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.pubs .title {
  font-family: var(--serif); font-size: 19px; line-height: 1.45;
  color: var(--ink); text-decoration: none;
}
.pubs .title:hover { color: var(--blue); text-decoration: underline; }

/* Michel Grall */
.profile > .wrap {
  padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(48px, 6vw, 72px);
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 64px;
}
.profile .photo { flex: none; display: block; width: 200px; height: 200px; object-fit: cover; }
.profile .text { flex: 999 1 520px; min-width: 0; max-width: 720px; }
.profile .eyebrow { margin-bottom: 20px; }
.profile h1 { font-size: clamp(2.3rem, 4vw, 3.4rem); line-height: 1.12; }
.facts { margin: 0; }
.facts > div { padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.facts > div:first-child { padding-top: 0; }
.facts dt {
  margin: 0 0 4px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue);
}
.facts dd { margin: 0; }
.affiliation { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.affiliation img { width: 56px; height: 56px; }
.affiliation a { font-size: 15px; }

/* Contact */
.contact-grid > .wrap {
  padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 112px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px;
}
.contact-card { border-top: 4px solid var(--blue); background: var(--bg-alt); padding: 32px 32px 36px; }
.contact-card h2 {
  margin: 0 0 16px; font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
}
.contact-card .big {
  display: inline-block; margin: 0; font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.4; color: var(--ink);
  text-underline-offset: 6px; word-break: break-word;
}
.button {
  display: inline-block; margin-top: 28px; padding: 12px 22px;
  border: 1px solid var(--blue); color: var(--blue);
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: background .2s, color .2s;
}
.button:hover { background: var(--blue); color: #FFFFFF; }

/* Mentions légales */
.legal h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.legal dl { margin: 0; }

/* Pied de page */
.site-footer { background: var(--blue); color: #FFFFFF; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 24px; }
.site-footer .top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px 48px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.25);
}
.site-footer .top p { margin: 0; font-size: 16px; line-height: 1.6; }
.site-footer .top .name { font-family: var(--serif); font-size: 21px; }
.site-footer .top a { display: inline-block; padding: 4px 0; font-size: 16px; color: #FFFFFF; }
.site-footer .bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 8px 32px; padding-top: 16px; font-size: 14px; color: var(--footer-muted);
}
.site-footer .bottom a { padding: 10px 0; color: var(--footer-muted); text-decoration: none; }
.site-footer .bottom a:hover { color: #FFFFFF; text-decoration: underline; }

:focus-visible { outline: 2px solid var(--blue-hover); outline-offset: 3px; }
.site-footer :focus-visible { outline-color: #FFFFFF; }
