/*
Theme Name: Yves Mafongo Makanda
Theme URI: https://example.com
Author: Yves Mafongo Makanda
Description: Thème bloc sur mesure du site officiel de Yves Mafongo Makanda — gouvernance publique, financement du développement et coopération internationale. Bleu nuit, blanc et or.
Version: 1.4.0
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yves-mafongo
Tags: block-theme, full-site-editing, one-column, custom-colors
*/

/* =========================================================
   Prélude Gutenberg — placé AVANT le CSS de la maquette.
   Spécificité d'une classe : bat les règles natives
   (:where(figure), .wp-block-image…) sans jamais battre
   une règle de composant écrite plus bas.
   ========================================================= */
.wp-block-image:where(figure) { margin: 0; }
.wp-block-buttons:where(div) { margin: 0; }
/* Les boutons de la maquette partent d'un lien nu : on annule le style global
   des boutons (theme.json), les variantes .bouton-or / -nuit / -ligne / -contour
   déclarées plus bas posent ensuite leurs propres couleurs. */
.wp-block-button.bouton > .wp-block-button__link,
.wp-block-button.lien-fleche > .wp-block-button__link { background: transparent; color: inherit; border-radius: 0; font-family: var(--sans); }
:where(p).el-span, :where(p).el-dt, :where(p).el-dd, :where(p).el-button, :where(p).el-label { margin: 0; }

:root {
  --nuit: #0B1F3A;
  --encre: #06142A;
  --or: #C9A24A;
  --or-pale: #E9D9A8;
  --blanc: #FFFFFF;
  --brume: #F2F4F7;
  --texte: #1B2433;
  --gris: #5A6475;
  --filet: #DCE1E8;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Public Sans", Arial, sans-serif;
  --largeur: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img:not(#_) { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  hyphens: none;
  text-wrap: balance;
}
h2 { font-size: clamp(40px, 5vw, 64px); color: var(--nuit); }
h2 em, h1 em { font-style: italic; color: var(--or); font-weight: 500; }
p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)) { margin: 0 0 1em; }

.enveloppe { max-width: var(--largeur); margin: 0 auto; padding: 0 32px; }

.etiquette {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.etiquette::before { content: ""; width: 36px; height: 1px; background: currentColor; }

.wp-block-button.bouton > .wp-block-button__link {
  display: inline-block;
  padding: 16px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s;
}
.wp-block-button.bouton-or > .wp-block-button__link { background: var(--or); color: var(--encre); }
.wp-block-button.bouton-or > .wp-block-button__link:hover { background: var(--or-pale); }
.wp-block-button.bouton-ligne > .wp-block-button__link { border-color: rgba(233, 217, 168, .55); color: var(--or-pale); }
.wp-block-button.bouton-ligne > .wp-block-button__link:hover { border-color: var(--or); background: rgba(201, 162, 74, .12); }
.wp-block-button.bouton-nuit > .wp-block-button__link { background: var(--nuit); color: var(--blanc); }
.wp-block-button.bouton-nuit > .wp-block-button__link:hover { background: var(--encre); }

.wp-block-button.lien-fleche > .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--nuit);
  border-bottom: 1px solid var(--or);
  padding-bottom: 6px;
}
.wp-block-button.lien-fleche > .wp-block-button__link::after { content: "→"; color: var(--or); transition: transform .25s; }
.wp-block-button.lien-fleche > .wp-block-button__link:hover::after { transform: translateX(5px); }

/* ---------- En-tête ---------- */
.entete {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  color: var(--blanc);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.entete-inner { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.marque { display: flex; align-items: center; gap: 14px; }
.monogramme {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--or);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--or);
}
.marque-nom { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.1; }
.marque-nom small {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--or-pale);
  opacity: .8;
  margin-top: 3px;
}
.nav-maquette { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
.nav-maquette a { opacity: .85; transition: opacity .2s, color .2s; }
.nav-maquette a:hover, .nav-maquette a.actif { opacity: 1; color: var(--or-pale); }
.nav-maquette .nav-cta { opacity: 1; border: 1px solid var(--or); padding: 10px 20px; color: var(--or-pale); }
.burger-maquette { display: none; }

/* ---------- Hero ---------- */
.hero {
  background: var(--nuit);
  color: var(--blanc);
  padding: 170px 0 90px;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 15% 20%, rgba(201, 162, 74, .10), transparent 55%);
  pointer-events: none;
}
.hero-grille {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.surtitre {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 28px;
}
.hero-titre {
  font-size: clamp(54px, 7.4vw, 108px);
  line-height: .98;
  letter-spacing: -.01em;
  margin-bottom: 34px;
}
.hero-chapo { max-width: 560px; font-size: 18px; color: rgba(255, 255, 255, .78); margin-bottom: 40px; }
.boutons { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-photo {
  margin: 0;
  position: relative;
  margin: 30px 0 -400px;
  z-index: 2;
  align-self: start;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, .55) 0%, rgba(11, 31, 58, .1) 45%, rgba(11, 31, 58, 0) 70%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero-photo::before {
  content: "";
  position: absolute;
  top: -22px; right: -22px; bottom: 22px; left: 22px;
  border: 1px solid var(--or);
  z-index: -1;
}
.hero-photo img:not(#_) {
  width: 100%;
  height: 1100px;
  object-fit: cover;
  object-position: 44% 75%;
  filter: saturate(.8) contrast(1.05);
}
.hero-photo figcaption {
  z-index: 1;
  position: absolute;
  left: 0; bottom: 0;
  background: var(--encre);
  color: var(--or-pale);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 12px 18px;
}

.piliers {
  list-style: none;
  margin: 80px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(201, 162, 74, .45);
  position: relative;
  z-index: 1;
}
.piliers .el-li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 26px 20px 30px 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .85);
  line-height: 1.35;
}
.piliers .num { font-family: var(--serif); font-size: 30px; color: var(--or); font-weight: 600; }

/* ---------- Vision ---------- */
.vision { padding: 120px 0 0; position: relative; }
.vision-grille { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }
.vision-citation { padding-right: 20px; }
.vision-texte { padding-top: 220px; }
.vision blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.12;
  font-style: italic;
  font-weight: 500;
  color: var(--nuit);
  text-wrap: balance;
}
.vision-texte { color: var(--gris); }
.vision-texte .wp-block-button.lien-fleche > .wp-block-button__link { margin-top: 12px; }
.vision-photo {
  margin: 90px 0 0 auto;
  width: calc(50% + 620px - 32px);
  max-width: 92%;
  position: relative;
}
.vision-photo img:not(#_) { width: 100%; height: 520px; object-fit: cover; object-position: center 92%; }
.vision-photo::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 10px;
  background: var(--or);
}

/* ---------- Expertise ---------- */
.expertise {
  background: var(--brume);
  padding: 300px 0 120px;
  margin-top: -200px;
}
.entete-section { margin-bottom: 64px; }
.cartes-expertise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 56px;
  position: relative;
}
.cartes-expertise::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 58px;
  height: 2px;
  background: var(--or);
}
.carte-expertise {
  padding: 0 44px 0 0;
  position: relative;
}
.carte-expertise + .carte-expertise { padding-left: 44px; border-left: 1px solid var(--filet); }
.grand-num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 96px;
  line-height: 1;
  color: var(--nuit);
  font-weight: 600;
  background: var(--brume);
  padding-right: 18px;
  position: relative;
  margin-bottom: 26px;
}
.carte-expertise + .carte-expertise .grand-num { padding-left: 0; }
.carte-expertise h3 { font-size: 34px; color: var(--nuit); margin-bottom: 16px; }
.carte-expertise p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)) { color: var(--gris); }
.carte-expertise ul { list-style: none; padding: 0; margin: 24px 0 0; }
.carte-expertise li {
  padding: 11px 0;
  border-top: 1px solid var(--filet);
  font-size: 15px;
  font-weight: 500;
  color: var(--nuit);
  display: flex;
  gap: 12px;
}
.carte-expertise li::before { content: "—"; color: var(--or); }

/* ---------- Entretiens ---------- */
.entretiens { background: var(--encre); color: var(--blanc); padding: 130px 0 120px; overflow: hidden; }
.etiquette-or { color: var(--or); }
.entretiens-titre {
  font-size: clamp(56px, 9vw, 140px);
  line-height: .9;
  color: var(--blanc);
  margin-bottom: 70px;
  letter-spacing: -.015em;
}
.entretiens-titre span { font-style: italic; font-weight: 500; color: var(--or); }
.entretiens-grille { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; margin-bottom: 60px; }
.episode-une { position: relative; display: block; overflow: hidden; min-height: 480px; }
.episode-une img:not(#_) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.episode-une:hover img:not(#_) { transform: scale(1.03); }
.episode-une::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 42, 0) 30%, rgba(6, 20, 42, .92) 100%);
}
/* bouton lecture : pseudo-élément, aucun élément vide dans le contenu */
.episode-une::before, .video-une::before {
  content: "";
  position: absolute;
  top: 32px; left: 32px;
  width: 84px; height: 84px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 84'%3E%3Ccircle cx='42' cy='42' r='42' fill='%23C9A24A'/%3E%3Cpath d='M35 28v28l20-14z' fill='%2306142A'/%3E%3C/svg%3E") center / contain no-repeat;
  z-index: 2;
}
.episode-une-texte { position: absolute; left: 32px; right: 32px; bottom: 32px; z-index: 2; }
.episode-meta { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--or-pale); margin-bottom: 12px; }
.episode-titre { display: block; font-family: var(--serif); font-size: 36px; line-height: 1.1; font-weight: 600; }
.episodes { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.episodes .lien-bloc {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: padding .25s;
}
.episodes .lien-bloc:hover { padding-left: 10px; }
.ep-num { font-family: var(--serif); font-size: 30px; color: var(--or); font-weight: 600; }
.ep-titre { font-family: var(--serif); font-size: 23px; line-height: 1.2; font-weight: 600; }
.ep-duree { font-size: 13px; color: rgba(255, 255, 255, .55); white-space: nowrap; }

/* ---------- Publications ---------- */
.publications { padding: 140px 0; }
.publications-grille { display: grid; grid-template-columns: 4fr 8fr; gap: 90px; }
.publications-intro { position: sticky; top: 40px; align-self: start; }
.publications-intro h2 { margin-bottom: 24px; }
.publications-intro p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)) { color: var(--gris); margin-bottom: 30px; }
.liste-publications { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--nuit); }
.liste-publications .lien-bloc {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--filet);
}
.pub-cat { grid-column: 1 / -1; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--or); }
.pub-titre { font-family: var(--serif); font-size: 30px; line-height: 1.15; font-weight: 600; color: var(--nuit); transition: color .2s; }
.liste-publications .lien-bloc:hover .pub-titre { color: var(--or); }
.pub-date { font-size: 14px; color: var(--gris); white-space: nowrap; align-self: end; }

/* ---------- Actualités ---------- */
.actualites { background: var(--brume); padding: 130px 0; }
.entete-ligne { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.cartes-actu { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto; gap: 32px; }
.carte-actu { background: var(--blanc); display: flex; flex-direction: column; }
.carte-actu-large { grid-row: span 2; }
.carte-actu-ligne { position: relative; padding-left: 42%; min-height: 280px; }
.carte-actu.carte-actu-ligne img:not(#_) { position: absolute; left: 0; top: 0; width: 42%; height: 100%; }
.carte-actu-ligne .carte-actu-texte { flex: 1; }
.carte-actu-ligne .carte-actu-texte { border-top: 0; border-left: 3px solid var(--or); }
.carte-actu img:not(#_) { width: 100%; height: 260px; object-fit: cover; }
.carte-actu-large img:not(#_) { height: 100%; min-height: 340px; flex: 1; }
.carte-actu-texte { padding: 30px 30px 36px; border-top: 3px solid var(--or); }
.actu-date { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--or); margin-bottom: 12px; }
.carte-actu h3 { font-size: 27px; line-height: 1.15; color: var(--nuit); }
.carte-actu-large h3 { font-size: 34px; margin-bottom: 14px; }
.carte-actu-texte p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)):last-child { color: var(--gris); margin: 0; }

/* ---------- Appel ---------- */
.appel { background: var(--or); padding: 110px 0; color: var(--encre); }
.appel-grille { display: grid; grid-template-columns: 7fr 4fr; gap: 80px; align-items: end; }
.appel h2 { color: var(--encre); font-size: clamp(40px, 5vw, 68px); }
.appel h2 em { color: var(--blanc); }
.appel p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)) { font-size: 18px; margin-bottom: 30px; }

/* ---------- Pied ---------- */
.pied { background: var(--encre); color: rgba(255, 255, 255, .72); padding: 100px 0 0; font-size: 15px; }
.pied-grille { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1fr; gap: 50px; padding-bottom: 70px; }
.pied-nom { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--blanc); margin: 22px 0 10px; }
.pied-marque p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)):last-child { max-width: 320px; }
.pied-titre { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--or); margin-bottom: 20px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 10px; }
.pied a:hover { color: var(--or-pale); }
.pied-bas {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 26px;
  padding-bottom: 30px;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}
.pied-bas p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)) { margin: 0; }

/* =========================================================
   Pages internes
   ========================================================= */

/* ---------- En-tête de page ---------- */
.page-hero {
  background: var(--nuit);
  color: var(--blanc);
  padding: 190px 0 110px;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 12% 18%, rgba(201, 162, 74, .10), transparent 55%);
  pointer-events: none;
}
.page-hero > .enveloppe { position: relative; z-index: 1; }
.page-hero-encre { background: var(--encre); padding-bottom: 130px; }
.fil-ariane {
  display: flex;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 30px;
}
.fil-ariane a { color: rgba(255, 255, 255, .6); }
.fil-ariane a:hover { color: var(--or-pale); }
.fil-ariane span::before { content: "/"; margin-right: 12px; color: rgba(255, 255, 255, .3); }
.page-titre { font-size: clamp(48px, 6.4vw, 96px); line-height: .98; letter-spacing: -.01em; }
.page-chapo { font-size: 18px; color: rgba(255, 255, 255, .78); max-width: 560px; margin: 0; }
.page-hero-grille { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; }
.page-hero-simple { align-items: end; }
.page-hero-simple .page-titre { margin: 0; }
.page-hero-cote { border-left: 1px solid rgba(201, 162, 74, .45); padding-left: 40px; }
.sommaire { list-style: none; margin: 36px 0 0; padding: 0; }
.sommaire a {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s, padding .2s;
}
.sommaire a:hover { color: var(--or-pale); padding-left: 6px; }
.sommaire span { font-family: var(--serif); font-size: 24px; color: var(--or); min-width: 34px; }

/* variante avec photo qui déborde */
.page-hero-photo { padding-bottom: 90px; }
.page-hero-photo .page-hero-grille { align-items: start; }
.page-hero-photo .page-titre { margin-bottom: 32px; }
.page-hero-image { margin: 0 0 -260px; position: relative; }
.page-hero-image::before {
  content: "";
  position: absolute;
  top: -22px; right: -22px; bottom: 22px; left: 22px;
  border: 1px solid var(--or);
}
.page-hero-image img:not(#_) { position: relative; width: 100%; height: 620px; object-fit: cover; object-position: 30% center; }

/* ---------- À propos ---------- */
.biographie { padding: 130px 0 120px; }
.biographie-grille { display: grid; grid-template-columns: 4fr 7fr; gap: 90px; }
.biographie-cote { padding-top: 200px; }
.fiche { margin: 0; border-top: 2px solid var(--nuit); }
.fiche div { padding: 20px 0; border-bottom: 1px solid var(--filet); }
.fiche .el-dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--or); margin-bottom: 6px; }
.fiche .el-dd { margin: 0; color: var(--nuit); font-weight: 500; }
.biographie-texte { font-size: 18px; color: var(--gris); max-width: 680px; }
.biographie-texte em { color: var(--nuit); }
.lettrine { font-family: var(--serif); font-size: 30px; line-height: 1.35; color: var(--nuit); font-weight: 500; margin-bottom: 1.2em; }
.lettrine::first-letter {
  float: left;
  font-size: 108px;
  line-height: .78;
  font-weight: 600;
  color: var(--or);
  margin: 10px 16px 0 0;
}
.sous-titre { font-size: 36px; margin: 56px 0 18px; color: var(--nuit); }

.parcours { background: var(--brume); padding: 120px 0; }
.frise {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  position: relative;
}
.frise::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 34px;
  height: 2px;
  background: var(--or);
}
.frise .el-li { position: relative; }
.frise-num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  font-weight: 600;
  color: var(--nuit);
  background: var(--brume);
  padding-right: 16px;
  margin-bottom: 26px;
}
.frise h3 { font-size: 30px; color: var(--nuit); margin-bottom: 14px; }
.frise p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)) { color: var(--gris); font-size: 16px; }

.convictions { background: var(--nuit); color: var(--blanc); padding: 130px 0; }
.convictions-titre { color: var(--blanc); font-size: clamp(44px, 6vw, 84px); max-width: 900px; margin-bottom: 80px; }
.convictions-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.convictions-grille article { padding: 0 40px; border-left: 1px solid rgba(201, 162, 74, .4); }
.convictions-grille article:first-child { padding-left: 0; border-left: 0; }
.conviction-num { display: block; font-family: var(--serif); font-size: 120px; line-height: .9; color: var(--or); font-weight: 500; font-style: italic; margin-bottom: 24px; }
.convictions-grille h3 { font-size: 32px; margin-bottom: 16px; }
.convictions-grille p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)) { color: rgba(255, 255, 255, .72); }

.bandeau-photo { margin: 0; position: relative; }
.bandeau-photo img:not(#_) { width: 100%; height: 560px; object-fit: cover; }
.bandeau-photo figcaption {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 20, 42, .55);
  padding: 0 32px;
}
.bandeau-photo figcaption span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  color: var(--blanc);
  text-align: center;
  max-width: 900px;
  text-wrap: balance;
}
.bandeau-fleuve img:not(#_) { height: 420px; object-position: center 95%; }

/* ---------- Expertise ---------- */
.domaine { padding: 130px 0 0; }
.domaine-fin { padding-bottom: 130px; }
.domaine-grille { display: grid; grid-template-columns: 6fr 5fr; gap: 90px; align-items: center; }
.domaine-inverse .domaine-image { order: 2; }
.domaine-image { margin: 0; position: relative; }
.domaine-image img:not(#_) { width: 100%; height: 560px; object-fit: cover; }
.domaine-num {
  position: absolute;
  right: -40px; bottom: -50px;
  font-family: var(--serif);
  font-size: 220px;
  line-height: .8;
  font-weight: 600;
  color: var(--or);
}
.domaine-inverse .domaine-num { right: auto; left: -40px; }
.domaine-texte h2 { margin-bottom: 20px; }
.domaine-intro { font-family: var(--serif); font-size: 26px; line-height: 1.25; font-style: italic; color: var(--nuit); }
.domaine-texte > p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)):not(.etiquette):not(.domaine-intro) { color: var(--gris); }
.liste-or { list-style: none; padding: 0; margin: 28px 0 0; border-top: 2px solid var(--nuit); }
.liste-or li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--filet);
  font-weight: 500;
  color: var(--nuit);
  font-size: 16px;
}
.liste-or li::before { content: "—"; color: var(--or); }

.methode { background: var(--encre); color: var(--blanc); padding: 130px 0; }
.methode h2 { color: var(--blanc); }
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: e; }
.etapes .el-li { padding: 36px 32px 10px 0; border-top: 2px solid var(--or); position: relative; }
.etapes .el-li + .el-li { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .12); }
.etape-num { display: block; font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--or); margin-bottom: 22px; }
.etapes h3 { font-size: 32px; margin-bottom: 12px; }
.etapes p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)) { color: rgba(255, 255, 255, .7); font-size: 16px; }

.formats { padding: 130px 0; }
.formats-grille { display: grid; grid-template-columns: 4fr 7fr; gap: 90px; }
.formats-liste { margin: 0; border-top: 2px solid var(--nuit); }
.formats-liste div { display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding: 28px 0; border-bottom: 1px solid var(--filet); }
.formats-liste .el-dt { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--nuit); line-height: 1.15; }
.formats-liste .el-dd { margin: 0; color: var(--gris); }

/* ---------- Publications ---------- */
.wp-block-button.bouton-contour > .wp-block-button__link { border-color: var(--nuit); color: var(--nuit); }
.wp-block-button.bouton-contour > .wp-block-button__link:hover { background: var(--nuit); color: var(--blanc); }
.pub-une { padding: 0; margin-top: -60px; position: relative; z-index: 2; }
.pub-une-grille { display: grid; grid-template-columns: 5fr 6fr; background: var(--blanc); box-shadow: 0 30px 60px -30px rgba(6, 20, 42, .35); padding: 0; }
.pub-une-image { margin: 0; }
.pub-une-image img:not(#_) { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.pub-une-texte { padding: 60px 56px; border-top: 4px solid var(--or); }
.pub-une-texte h2 { font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 22px; }
.pub-une-texte > p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)):not(.etiquette) { color: var(--gris); }
.pub-une-meta { font-size: 14px; font-weight: 600; letter-spacing: .06em; margin-bottom: 30px !important; }

.bibliotheque { padding: 110px 0 130px; }
.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.filtre {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 12px 22px;
  background: none;
  border: 1px solid var(--filet);
  color: var(--nuit);
  cursor: pointer;
  transition: all .2s;
}
.filtre:hover { border-color: var(--or); }
.filtre.actif { background: var(--nuit); border-color: var(--nuit); color: var(--blanc); }
.grille-pubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--nuit); }
.carte-pub { padding: 36px 36px 40px 0; border-bottom: 1px solid var(--filet); display: flex; flex-direction: column; }
.carte-pub:not(:nth-child(3n+1)) { padding-left: 36px; border-left: 1px solid var(--filet); }
.carte-pub h3 { font-size: 28px; line-height: 1.15; color: var(--nuit); margin: 10px 0 16px; }
.carte-pub h3 a:hover { color: var(--or); }
.carte-pub > p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)):not(.pub-cat):not(.pub-date) { color: var(--gris); font-size: 16px; flex: 1; }
.carte-pub .pub-date { margin: 10px 0 0; }
.cache { display: none !important; }

/* ---------- Médias ---------- */
.page-hero-encre .entretiens-titre { margin-bottom: 64px; }
.emission-grille { display: grid; grid-template-columns: 8fr 4fr; gap: 56px; align-items: end; }
.video-une { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; }
.video-une img:not(#_) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.video-une:hover img:not(#_) { transform: scale(1.03); }
.video-une::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 20, 42, 0) 35%, rgba(6, 20, 42, .9) 100%); }
.video-une::before { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 104px; height: 104px; }
.video-une-texte { position: absolute; left: 36px; right: 36px; bottom: 32px; z-index: 2; }
.emission-texte { color: rgba(255, 255, 255, .75); }
.emission-texte .wp-block-button.bouton > .wp-block-button__link { margin-top: 14px; }

.episodes-page { padding: 120px 0; }
.grille-episodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.carte-episode { display: block; }
.vignette { display: block; position: relative; overflow: hidden; margin-bottom: 20px; }
.vignette img:not(#_) { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s; }
.carte-episode:hover .vignette img:not(#_) { transform: scale(1.04); }
.vignette-duree { position: absolute; right: 0; bottom: 0; background: var(--encre); color: var(--or-pale); font-size: 12px; font-weight: 600; letter-spacing: .1em; padding: 8px 14px; }
.carte-episode .ep-num { display: block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.carte-episode-titre { display: block; font-family: var(--serif); font-size: 27px; line-height: 1.15; font-weight: 600; color: var(--nuit); transition: color .2s; }
.carte-episode:hover .carte-episode-titre { color: var(--or); }

.interviews { background: var(--brume); padding: 120px 0; }
.interviews-grille { display: grid; grid-template-columns: 4fr 7fr; gap: 90px; }
.interviews-intro { color: var(--gris); margin-top: 22px; }
.liste-medias { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--nuit); }
.liste-medias .lien-bloc {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--filet);
}
.media-type { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
.media-titre { font-family: var(--serif); font-size: 25px; line-height: 1.2; font-weight: 600; color: var(--nuit); transition: color .2s; }
.liste-medias .lien-bloc:hover .media-titre { color: var(--or); }
.media-date { font-size: 14px; color: var(--gris); white-space: nowrap; }

/* ---------- Actualités ---------- */
.agenda { padding: 120px 0; }
.agenda-grille { display: grid; grid-template-columns: 4fr 7fr; gap: 90px; }
.liste-agenda { list-style: none; margin: 0; padding: 0; }
.liste-agenda .el-li { display: grid; grid-template-columns: 150px 1fr; gap: 36px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--filet); }
.liste-agenda .el-li:first-child { border-top: 2px solid var(--nuit); }
.agenda-date { display: flex; flex-direction: column; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.agenda-date strong { font-family: var(--serif); font-size: 72px; line-height: .9; color: var(--nuit); letter-spacing: 0; }
.agenda-titre { display: block; font-family: var(--serif); font-size: 29px; line-height: 1.15; font-weight: 600; color: var(--nuit); margin-bottom: 8px; }
.agenda-lieu { display: block; font-size: 14px; color: var(--or); font-weight: 600; letter-spacing: .04em; }
.liste-breves { list-style: none; margin: 56px 0 0; padding: 0; border-top: 2px solid var(--nuit); }
.liste-breves .lien-bloc { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--filet); }
.liste-breves .actu-date { margin: 0; }
.breve-titre { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--nuit); transition: color .2s; }
.liste-breves .lien-bloc:hover .breve-titre { color: var(--or); }

.presse { background: var(--nuit); color: var(--blanc); padding: 120px 0; }
.presse-grille { display: grid; grid-template-columns: 5fr 6fr; gap: 90px; align-items: end; }
.presse h2 { color: var(--blanc); margin-bottom: 22px; }
.presse p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)) { color: rgba(255, 255, 255, .72); }
.kit-presse { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--or); }
.kit-presse .lien-bloc { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); transition: padding .2s; }
.kit-presse .lien-bloc:hover { padding-left: 10px; }
.kit-titre { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.kit-format { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--or); }

/* ---------- Contact ---------- */
.page-hero-contact { padding-bottom: 0; }
.contact-grille { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }
.contact-texte .page-titre { margin-bottom: 30px; }
.coordonnees { margin: 50px 0 0; border-top: 1px solid rgba(201, 162, 74, .45); }
.coordonnees div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.coordonnees .el-dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--or); padding-top: 4px; }
.coordonnees .el-dd { margin: 0; color: var(--blanc); }
.formulaire {
  background: var(--blanc);
  color: var(--texte);
  padding: 52px 52px 56px;
  border-top: 4px solid var(--or);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5);
  margin-bottom: -120px;
  position: relative;
  z-index: 2;
}
.formulaire-titre { font-family: var(--serif); font-size: 36px; font-weight: 600; color: var(--nuit); margin-bottom: 28px; }
.formulaire label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--nuit); margin-bottom: 22px; }
.champs-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.formulaire input:not([type=checkbox]), .formulaire select, .formulaire textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--texte);
  background: var(--brume);
  border: 1px solid transparent;
  border-bottom: 1px solid var(--filet);
  padding: 13px 14px;
  border-radius: 0;
  outline: none;
  transition: border-color .2s, background .2s;
}
.formulaire textarea { resize: vertical; min-height: 150px; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { background: var(--blanc); border-color: var(--or); }
.formulaire .case { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; letter-spacing: 0; font-size: 14px; color: var(--gris); }
.formulaire .case input { margin-top: 3px; accent-color: var(--nuit); }
.formulaire .wp-block-button.bouton > .wp-block-button__link { border: 0; cursor: pointer; font-family: var(--sans); }

.demandes { background: var(--brume); padding: 220px 0 110px; }
.demandes-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.demandes .grand-num { font-size: 72px; border-bottom: 2px solid var(--or); padding-right: 40px; margin-bottom: 22px; }
.demandes h3 { font-size: 32px; color: var(--nuit); margin-bottom: 12px; }
.demandes p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)) { color: var(--gris); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-maquette { gap: 20px; font-size: 13px; }
  .piliers { width: 100%; }
  .hero-photo { margin: 0; }
  .hero-photo img:not(#_) { height: 520px; }
  .vision { padding-top: 110px; }
  .vision-texte { padding-top: 0; }
  .expertise { margin-top: 0; padding-top: 110px; }
}

@media (max-width: 900px) {
  .burger-maquette {
    display: grid;
    gap: 7px;
    background: none;
    border: 0;
    padding: 10px;
    cursor: pointer;
  }
  .burger-maquette span { display: block; width: 28px; height: 2px; background: var(--or-pale); }
  .nav-maquette {
    display: none;
    position: absolute;
    top: 92px; left: 0; right: 0;
    background: var(--encre);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 32px 32px;
    gap: 18px;
    font-size: 16px;
  }
  .entete.ouvert .nav-maquette { display: flex; }
  .hero-grille, .vision-grille, .entretiens-grille, .publications-grille, .appel-grille { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo::before { top: -14px; right: -14px; bottom: 14px; left: 14px; }
  .vision-photo { width: 100%; max-width: 100%; margin-top: 60px; }
  .vision-photo img:not(#_) { height: 340px; }
  .cartes-expertise { grid-template-columns: 1fr; gap: 50px; }
  .cartes-expertise::before { display: none; }
  .carte-expertise, .carte-expertise + .carte-expertise { padding: 0; border: 0; }
  .grand-num { font-size: 72px; border-bottom: 2px solid var(--or); padding-right: 40px; }
  .publications-intro { position: static; }
  .cartes-actu { grid-template-columns: 1fr; }
  .carte-actu-large { grid-row: auto; }
  .carte-actu-ligne { padding-left: 0; }
  .carte-actu.carte-actu-ligne img:not(#_) { position: static; width: 100%; height: 240px; }
  .carte-actu-ligne .carte-actu-texte { border-left: 0; border-top: 3px solid var(--or); }
  .vision-texte { columns: 1; }
  .entete-ligne { flex-direction: column; align-items: start; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .enveloppe { padding: 0 20px; }
  .marque-nom { font-size: 18px; }
  .hero { padding-top: 140px; }
  .hero-photo img:not(#_) { height: 380px; }
  .piliers { grid-template-columns: 1fr; margin-top: 60px; }
  .piliers .el-li { padding: 18px 0; border-bottom: 1px solid rgba(201, 162, 74, .25); }
  .episode-une { min-height: 380px; }
  .episode-titre { font-size: 27px; }
  .episode-une::before { width: 64px; height: 64px; top: 22px; left: 22px; }
  .episodes .lien-bloc { grid-template-columns: 44px 1fr; }
  .ep-duree { grid-column: 2; }
  .liste-publications .lien-bloc { grid-template-columns: 1fr; }
  .pub-titre { font-size: 25px; }
  .pied-grille { grid-template-columns: 1fr; }
  .pied-bas { flex-direction: column; }
}

/* ---------- Responsive pages internes ---------- */
@media (max-width: 1080px) {
  .page-hero-image { margin-bottom: 0; }
  .page-hero-image img:not(#_) { height: 480px; }
  .biographie-cote { padding-top: 0; }
  .domaine-num { font-size: 150px; right: -16px; bottom: -36px; }
  .domaine-inverse .domaine-num { left: -16px; }
  .frise { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .frise::before { display: none; }
  .frise-num { border-bottom: 2px solid var(--or); padding-right: 30px; }
  .etapes { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .etapes .el-li + .el-li { padding-left: 0; border-left: 0; }
  .etapes .el-li:nth-child(even) { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .12); }
  .grille-pubs { grid-template-columns: repeat(2, 1fr); }
  .carte-pub:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .carte-pub:nth-child(even) { padding-left: 36px; border-left: 1px solid var(--filet); }
}

@media (max-width: 900px) {
  .page-hero { padding: 150px 0 80px; }
  .page-hero-grille, .biographie-grille, .domaine-grille, .formats-grille, .interviews-grille,
  .agenda-grille, .presse-grille, .contact-grille, .emission-grille, .pub-une-grille { grid-template-columns: 1fr; gap: 44px; }
  .page-hero-cote { border-left: 0; padding-left: 0; border-top: 1px solid rgba(201, 162, 74, .45); padding-top: 30px; }
  .page-hero-image::before { top: -14px; right: -14px; bottom: 14px; left: 14px; }
  .biographie { padding: 90px 0; }
  .convictions-grille { grid-template-columns: 1fr; gap: 50px; }
  .convictions-grille article, .convictions-grille article:first-child { padding: 0; border: 0; }
  .domaine { padding-top: 90px; }
  .domaine-fin { padding-bottom: 90px; }
  .domaine-inverse .domaine-image { order: 0; }
  .domaine-image img:not(#_) { height: 380px; }
  .formats-liste div { grid-template-columns: 1fr; gap: 8px; }
  .pub-une { margin-top: 0; }
  .pub-une-image img:not(#_) { min-height: 0; height: 300px; }
  .pub-une-texte { padding: 40px 28px; }
  .grille-episodes { grid-template-columns: repeat(2, 1fr); }
  .formulaire { margin-bottom: -80px; padding: 36px 26px 40px; }
  .demandes { padding-top: 160px; }
  .demandes-grille { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .page-hero { padding-top: 130px; }
  .fil-ariane { font-size: 11px; }
  .page-hero-image img:not(#_) { height: 340px; }
  .lettrine { font-size: 24px; }
  .lettrine::first-letter { font-size: 80px; }
  .frise, .etapes, .grille-pubs, .grille-episodes { grid-template-columns: 1fr; }
  .etapes .el-li:nth-child(even), .carte-pub:nth-child(even) { padding-left: 0; border-left: 0; }
  .carte-pub { padding-right: 0; }
  .bandeau-photo img:not(#_) { height: 380px; }
  .domaine-num { font-size: 110px; }
  .domaine-image img:not(#_) { height: 300px; }
  .video-une::before { width: 72px; height: 72px; }
  .video-une-texte { left: 20px; right: 20px; bottom: 18px; }
  .video-une .episode-titre { font-size: 22px; }
  .liste-medias .lien-bloc { grid-template-columns: 1fr; gap: 6px; }
  .liste-agenda .el-li { grid-template-columns: 1fr; gap: 10px; }
  .liste-breves .lien-bloc { grid-template-columns: 1fr; gap: 6px; }
  .champs-duo { grid-template-columns: 1fr; gap: 0; }
  .coordonnees div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Cadrage des portraits ----------
   Ciblés par nom de fichier : le nom est conservé à l'import dans la
   médiathèque WordPress, la règle suit donc la photo sur le site. */
img:not(#_)[src*="yves-bras-croises"] { object-position: 46% 8%; }
img:not(#_)[src*="yves-portrait-studio"] { object-position: 50% 22%; }
img:not(#_)[src*="yves-fauteuil-regard"] { object-position: 50% 30%; }
img:not(#_)[src*="yves-fauteuil-lecture"] { object-position: 45% 34%; }
img:not(#_)[src*="yves-bureau-sourire"] { object-position: 62% 36%; }
img:not(#_)[src*="yves-debout-bureau"] { object-position: 50% 14%; }
img:not(#_)[src*="yves-tablette-regard"] { object-position: 50% 30%; }
img:not(#_)[src*="yves-lecture-negociation"] { object-position: 50% 62%; }
img:not(#_)[src*="yves-lecture-economie"] { object-position: 60% 40%; }
img:not(#_)[src*="yves-tablette-travail"] { object-position: 50% 32%; }

/* =========================================================
   Photos de section
   ========================================================= */
.carte-expertise-photo { margin: 0 0 34px; overflow: hidden; }
.carte-expertise-photo img:not(#_) { width: 100%; height: 240px; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.carte-expertise:hover .carte-expertise-photo img:not(#_) { transform: scale(1.05); }
.cartes-expertise::before { top: calc(240px + 34px + 58px); }

/* cadre doré décalé, repris du héros */
.publications-photo, .biographie-photo, .formats-photo, .presse-photo { position: relative; isolation: isolate; margin: 48px 18px 18px 0; }
.publications-photo::before, .biographie-photo::before, .formats-photo::before, .presse-photo::before {
  content: "";
  position: absolute;
  top: 18px; right: -18px; bottom: -18px; left: 18px;
  border: 1px solid var(--or);
  z-index: -1;
}
.publications-photo img:not(#_) { width: 100%; height: 380px; object-fit: cover; }
.biographie-photo img:not(#_) { width: 100%; height: 520px; object-fit: cover; }
.formats-photo img:not(#_) { width: 100%; height: 460px; object-fit: cover; }
.presse-photo img:not(#_) { width: 100%; height: 420px; object-fit: cover; }

.appel { position: relative; }
.appel-grille { grid-template-columns: 7fr 4fr 3.2fr; gap: 56px; }
.appel-grille h2 { font-size: clamp(38px, 4.1vw, 58px); }
.appel-photo { position: relative; z-index: 2; margin: -230px 0 -110px; align-self: end; }
.appel-photo::before {
  content: "";
  position: absolute;
  top: -16px; left: -16px; right: 16px; bottom: 16px;
  border: 1px solid var(--nuit);
  z-index: -1;
}
.appel-photo img:not(#_) { width: 100%; height: 500px; object-fit: cover; }

.methode .entete-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.methode-photo { margin: 0; overflow: hidden; }
.methode-photo img:not(#_) { width: 100%; height: 300px; object-fit: cover; filter: saturate(.85); }

.interviews-photo, .agenda-photo { margin: 40px 0 0; overflow: hidden; }
.interviews-photo img:not(#_) { width: 100%; height: 300px; object-fit: cover; }
.agenda-photo img:not(#_) { width: 100%; height: 360px; object-fit: cover; }

.carte-pub-photo { margin: 0 0 22px; overflow: hidden; }
.carte-pub-photo img:not(#_) { width: 100%; height: 200px; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.carte-pub:hover .carte-pub-photo img:not(#_) { transform: scale(1.05); }

/* zoom doux des photos de cartes */
.carte-actu { overflow: hidden; }
.carte-actu img:not(#_) { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.carte-actu:hover img:not(#_) { transform: scale(1.04); }

@media (max-width: 1080px) {
  .appel-grille { grid-template-columns: 1fr 1fr; }
  .appel-photo { grid-column: 1 / -1; margin: 10px 0 -110px; max-width: 420px; }
  .appel-photo img:not(#_) { height: 380px; }
}
@media (max-width: 900px) {
  .carte-expertise-photo img:not(#_) { height: 220px; }
  .methode .entete-section { grid-template-columns: 1fr; gap: 36px; }
  .publications-photo img:not(#_), .formats-photo img:not(#_), .presse-photo img:not(#_) { height: 340px; }
  .biographie-photo img:not(#_) { height: 420px; }
  .appel-grille { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .publications-photo, .biographie-photo, .formats-photo, .presse-photo { margin-right: 14px; }
  .publications-photo::before, .biographie-photo::before, .formats-photo::before, .presse-photo::before { top: 14px; right: -14px; bottom: -14px; left: 14px; }
  .appel-photo img:not(#_) { height: 320px; }
  .methode-photo img:not(#_), .interviews-photo img:not(#_) { height: 220px; }
  .agenda-photo img:not(#_) { height: 260px; }
}

/* cadrage des nouvelles photos */
img:not(#_)[src*="yves-bureau-serieux"] { object-position: 50% 42%; }
img:not(#_)[src*="yves-bureau-rire"] { object-position: 50% 36%; }
img:not(#_)[src*="yves-tablette-lecture"] { object-position: 50% 30%; }
.carte-expertise-photo img:not(#_)[src*="yves-debout-bureau"] { object-position: 50% 16%; }
.presse-photo img:not(#_)[src*="yves-portrait-studio"] { object-position: 50% 18%; }

/* =========================================================
   Animations — activées par html.anime (posée en tête de page,
   jamais dans l'éditeur, jamais si l'on a demandé moins de
   mouvement). Le script ne fait que basculer des classes.
   ========================================================= */
@keyframes ymm-monter { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes ymm-devoiler { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ymm-cadre { from { opacity: 0; transform: translate(-16px, 16px); } to { opacity: 1; transform: none; } }
@keyframes ymm-entete { from { transform: translateY(-100%); } to { transform: none; } }

/* entrée du héros et des en-têtes de page */
.anime .hero-texte > *,
.anime .page-hero .fil-ariane, .anime .page-titre, .anime .page-chapo, .anime .page-hero-cote,
.anime .page-hero-encre .entretiens-titre, .anime .contact-texte .coordonnees, .anime .formulaire {
  animation: ymm-monter .9s cubic-bezier(.2,.7,.2,1) both;
}
.anime .hero-texte > :nth-child(2), .anime .page-titre, .anime .page-hero-encre .entretiens-titre { animation-delay: .12s; }
.anime .hero-texte > :nth-child(3), .anime .page-chapo { animation-delay: .3s; }
.anime .hero-texte > :nth-child(4), .anime .page-hero-cote, .anime .contact-texte .coordonnees { animation-delay: .45s; }
.anime .hero-texte > :nth-child(5), .anime .formulaire { animation-delay: .6s; }
.anime .hero-photo img:not(#_), .anime .page-hero-image img:not(#_) { animation: ymm-devoiler 1.4s .2s cubic-bezier(.7,0,.2,1) both; }
.anime .hero-photo::before, .anime .page-hero-image::before { animation: ymm-cadre 1s 1s cubic-bezier(.2,.7,.2,1) both; }

/* apparition au défilement */
.anime .a-reveler { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--delai, 0s), transform .9s cubic-bezier(.2,.7,.2,1) var(--delai, 0s); }
.anime .a-reveler.visible { opacity: 1; transform: none; }
.anime .a-devoiler img:not(#_) { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s cubic-bezier(.7,0,.2,1) var(--delai, 0s), transform .8s cubic-bezier(.2,.7,.2,1); }
.anime .a-devoiler.visible img:not(#_) { clip-path: inset(0 0 0 0); }

/* les fils d'or se tracent */
.anime .cartes-expertise::before, .anime .frise::before { transform: scaleX(0); transform-origin: left center; transition: transform 1.8s cubic-bezier(.7,0,.2,1) .3s; }
.anime .cartes-expertise.visible::before, .anime .frise.visible::before { transform: scaleX(1); }

/* en-tête fixé au défilement */
.entete.fixe {
  position: fixed;
  background: rgba(6, 20, 42, .97);
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .7);
  animation: ymm-entete .45s cubic-bezier(.2,.7,.2,1) both;
}
.entete.fixe .entete-inner { height: 74px; }

@media (max-width: 900px) { .entete.fixe .nav-maquette { top: 74px; } }


/* =========================================================
   Actualités : listes d'articles (balisage de la boucle de
   requête WordPress : ul.wp-block-post-template > li.wp-block-post)
   ========================================================= */
.requete-articles { margin: 0; }
.cartes-articles { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.cartes-articles > li { position: relative; margin: 0; background: var(--blanc); display: flex; flex-direction: column; overflow: hidden; }
.cartes-articles .wp-block-post-featured-image { margin: 0; overflow: hidden; }
.cartes-articles .wp-block-post-featured-image a { display: block; }
.cartes-articles .wp-block-post-featured-image img:not(#_) { display: block; width: 100%; height: 240px; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.cartes-articles > li:hover .wp-block-post-featured-image img:not(#_) { transform: scale(1.04); }
.article-carte-texte { flex: 1; padding: 28px 30px 34px; border-top: 3px solid var(--or); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.65; }
.article-meta .wp-block-post-terms a { position: relative; z-index: 4; color: var(--or); text-decoration: none; }
.article-meta .wp-block-post-date { color: var(--gris); }
.article-meta .wp-block-post-date::before { content: "·"; margin-right: 12px; color: var(--or); }
.cartes-articles .wp-block-post-title { margin: 0 0 14px; font-size: 27px; line-height: 1.15; color: var(--nuit); }
.cartes-articles .wp-block-post-title a { color: inherit; text-decoration: none; transition: color .2s; }
.cartes-articles .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.cartes-articles > li:hover .wp-block-post-title a { color: var(--or); }
.cartes-articles .wp-block-post-excerpt { margin: 0; }
.cartes-articles .wp-block-post-excerpt__excerpt { margin: 0; font-size: 16px; color: var(--gris); }

/* grille : toutes les actualités, « à lire aussi » */
.cartes-articles.grille, .cartes-articles.lire-aussi { grid-template-columns: repeat(3, 1fr); }

/* une : le plus récent en grand, les deux suivants en vis-à-vis */
.cartes-articles.une { grid-template-columns: 1.1fr 1fr; }
.cartes-articles.une > li:first-child { grid-row: span 2; }
.cartes-articles.une > li:first-child .wp-block-post-featured-image img:not(#_) { height: 400px; }
.cartes-articles.une > li:first-child .wp-block-post-title { font-size: 34px; }
.cartes-articles.une > li:not(:first-child) { padding-left: 42%; min-height: 280px; }
.cartes-articles.une > li:not(:first-child) .wp-block-post-featured-image { position: absolute; left: 0; top: 0; bottom: 0; width: 42%; }
.cartes-articles.une > li:not(:first-child) .wp-block-post-featured-image a { height: 100%; }
.cartes-articles.une > li:not(:first-child) .wp-block-post-featured-image img:not(#_) { height: 100%; }
.cartes-articles.une > li:not(:first-child) .article-carte-texte { border-top: 0; border-left: 3px solid var(--or); }
.cartes-articles.une > li:not(:first-child) .wp-block-post-excerpt__excerpt { font-size: 15px; }

/* pagination */
.wp-block-query-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 56px; font-size: 14px; font-weight: 600; }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--filet); color: var(--nuit); text-decoration: none; }
.wp-block-query-pagination .page-numbers.current { background: var(--nuit); border-color: var(--nuit); color: var(--blanc); }

/* =========================================================
   Page article
   ========================================================= */
.article-hero { padding-bottom: 170px; }
.fil-ariane a + a::before { content: "/"; margin-right: 12px; color: rgba(255, 255, 255, .3); }
.article-hero .article-meta { margin-bottom: 22px; font-size: 13px; }
.article-hero .article-meta .wp-block-post-date { color: rgba(255, 255, 255, .65); }
.article-titre { max-width: 1000px; margin: 0 0 28px; font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -.01em; color: var(--blanc); }
.article-chapo { margin: 0; }
.article-chapo .wp-block-post-excerpt__excerpt { max-width: 780px; margin: 0; font-size: 20px; color: rgba(255, 255, 255, .78); }

.article-image-env { position: relative; z-index: 2; margin-top: -120px; }
.article-image { position: relative; isolation: isolate; margin: 0 22px 0 0; }
.article-image::before { content: ""; position: absolute; top: 22px; right: -22px; bottom: -22px; left: 22px; border: 1px solid var(--or); z-index: -1; }
.article-image img:not(#_) { display: block; width: 100%; height: 580px; object-fit: cover; }

.article-corps { padding: 100px 0 120px; }
.article-grille { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 90px; align-items: start; }
.article-signature { position: sticky; top: 110px; padding-top: 22px; border-top: 2px solid var(--nuit); }
.article-signature-etiquette { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--or); }
.article-signature-nom { margin: 0 0 8px; font-family: var(--serif); font-size: 27px; font-weight: 600; line-height: 1.1; color: var(--nuit); }
.article-signature-role { margin: 0 0 18px; font-size: 14px; color: var(--gris); }
.article-signature-lien { margin: 0; }
.article-signature-lien a, .lien-retour a {
  display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--nuit); border-bottom: 1px solid var(--or); text-decoration: none;
}
.article-signature-lien a::after, .lien-retour a::after { content: "→"; color: var(--or); transition: transform .25s; }
.article-signature-lien a:hover::after, .lien-retour a:hover::after { transform: translateX(5px); }
.lien-retour { margin: 0; }

.prose { max-width: 740px; font-size: 19px; line-height: 1.75; color: var(--texte); }
.prose > p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)) { margin: 0 0 1.3em; }
.prose > p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)):first-child::first-letter { float: left; margin: 8px 14px 0 0; font-family: var(--serif); font-size: 84px; line-height: .8; font-weight: 600; color: var(--or); }
.prose > h2 { margin: 1.7em 0 .6em; font-size: 38px; line-height: 1.1; color: var(--nuit); }
.prose > blockquote { margin: 1.8em 0; padding: 4px 0 4px 32px; border-left: 3px solid var(--or); }
.prose > blockquote p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)) { margin: 0; font-family: var(--serif); font-size: 30px; font-style: italic; line-height: 1.28; color: var(--nuit); }
.prose > :last-child { margin-bottom: 0; }

.a-lire-aussi { background: var(--brume); padding: 110px 0 120px; }

@media (max-width: 1080px) {
  .cartes-articles.grille, .cartes-articles.lire-aussi { grid-template-columns: repeat(2, 1fr); }
  .article-grille { grid-template-columns: 1fr; gap: 50px; }
  .article-signature { position: static; max-width: 520px; }
  .article-image img:not(#_) { height: 460px; }
}
@media (max-width: 900px) {
  .cartes-articles.une { grid-template-columns: 1fr; }
  .cartes-articles.une > li:first-child { grid-row: auto; }
  .cartes-articles.une > li:first-child .wp-block-post-featured-image img:not(#_) { height: 300px; }
  .cartes-articles.une > li:not(:first-child) { padding-left: 0; min-height: 0; }
  .cartes-articles.une > li:not(:first-child) .wp-block-post-featured-image { position: static; width: auto; }
  .cartes-articles.une > li:not(:first-child) .wp-block-post-featured-image img:not(#_) { height: 240px; }
  .cartes-articles.une > li:not(:first-child) .article-carte-texte { border-left: 0; border-top: 3px solid var(--or); }
  .article-hero { padding-bottom: 130px; }
  .article-image-env { margin-top: -90px; }
  .article-image img:not(#_) { height: 360px; }
  .article-corps { padding: 80px 0 90px; }
}
@media (max-width: 560px) {
  .cartes-articles.grille, .cartes-articles.lire-aussi { grid-template-columns: 1fr; }
  .cartes-articles .wp-block-post-title, .cartes-articles.une > li:first-child .wp-block-post-title { font-size: 25px; }
  .article-chapo .wp-block-post-excerpt__excerpt { font-size: 17px; }
  .article-image { margin-right: 14px; }
  .article-image::before { top: 14px; right: -14px; bottom: -14px; left: 14px; }
  .article-image img:not(#_) { height: 260px; }
  .prose { font-size: 17px; }
  .prose > h2 { font-size: 30px; }
  .prose > blockquote p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)) { font-size: 24px; }
  .prose > p:where(:not(.el-span, .el-dt, .el-dd, .el-button, .el-label)):first-child::first-letter { font-size: 66px; }
}

/* animations de la page article */
.anime .article-hero .article-meta, .anime .article-titre, .anime .article-chapo { animation: ymm-monter .9s cubic-bezier(.2,.7,.2,1) both; }
.anime .article-titre { animation-delay: .12s; }
.anime .article-chapo { animation-delay: .3s; }
.anime .article-image img:not(#_) { animation: ymm-devoiler 1.4s .35s cubic-bezier(.7,0,.2,1) both; }
.anime .article-image::before { animation: ymm-cadre 1s 1.1s cubic-bezier(.2,.7,.2,1) both; }

.article-hero .fil-ariane a + a { color: var(--or); }


/* =========================================================
   Adaptations Gutenberg
   Le CSS ci-dessus est celui de la maquette, transformé par
   theme-src/construire.js. Ici : ce que le DOM des blocs change.
   ========================================================= */

/* (les remises à zéro des blocs sont dans le prélude, en tête de feuille) */

/* Le contenu de page : aucune enveloppe ne doit contraindre les sections. */
.wp-site-blocks, .wp-block-post-content, main.wp-block-group { margin: 0; padding: 0; }

/* Liens étendus : une carte entière est cliquable, le lien vit sur son titre. */
.lien-bloc { position: relative; }
.lien-bloc a { color: inherit; text-decoration: none; }
.lien-bloc a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.episode-une-texte a::after, .video-une-texte a::after { inset: -600px -40px -40px; }

/* Boutons : la classe du bloc est sur le conteneur, le style sur le lien. */
.wp-block-buttons.boutons, .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
/* Les enveloppes des blocs bouton n'existaient pas dans la maquette : elles
   deviennent transparentes à la mise en page, et le lien se place exactement
   comme le <a> d'origine (sur une ligne de texte dans un bloc, en élément
   flex dans un conteneur flex). Une rangée .boutons garde son flex. */
.wp-block-buttons > .wp-block-button.bouton, .wp-block-buttons > .wp-block-button.lien-fleche { display: contents; }
.wp-block-buttons.boutons-seul { display: contents; }
/* Le CSS natif donne au lien height:100% et width:100% : retour à la taille naturelle. */
.wp-block-button.bouton > .wp-block-button__link,
.wp-block-button.lien-fleche > .wp-block-button__link { height: auto; width: auto; }
.wp-block-button.bouton > .wp-block-button__link { border-radius: 0; line-height: 1.65; font-family: var(--sans); }
.wp-block-button.lien-fleche > .wp-block-button__link { border-radius: 0; padding: 0 0 6px; background: none; line-height: 1.65; font-family: var(--sans); }

/* Images dans des cartes : la figure prend la place qu'occupait l'<img>. */
/* La hauteur naturelle de la photo fixe celle des lignes de la grille, comme dans la maquette. */
.carte-actu-large > .wp-block-image { flex: 1 1 auto; min-height: 340px; display: flex; flex-direction: column; }
.carte-actu-large > .wp-block-image img:not(#_) { flex: 1 1 auto; height: auto; min-height: 0; }
.domaine-image > .wp-block-image, .vignette > .wp-block-image { margin: 0; }

/* Citation : le texte est maintenant dans un paragraphe interne. */
.vision blockquote p { margin: 0; }
.wp-block-quote { margin: 0; padding: 0; border: 0; }

/* Filtres : des paragraphes, plus des <button>. */
.filtres .filtre { margin: 0; user-select: none; }

/* La barre d'administration (connecté) ne doit pas recouvrir l'en-tête flottant. */
.admin-bar .entete { top: 32px; }
@media (max-width: 782px) { .admin-bar .entete { top: 46px; } }

/* ---------- En-tête : marque et core/navigation ---------- */
/* Le nom et sa mention se centrent ensemble face au monogramme, sorti du flux. */
.marque { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0; min-height: 46px; padding-left: 60px; }
.marque .monogramme { position: absolute; left: 0; top: 50%; transform: translateY(-50%); margin: 0; }
.monogramme { margin: 0; }
.monogramme a, .marque-nom a { color: inherit; text-decoration: none; }
.marque .marque-nom { margin: 0; }
.marque-sous {
  margin: 3px 0 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--or-pale);
  opacity: .8;
  line-height: 1.1;
}
.entete .wp-block-navigation.nav { font-size: 14px; font-weight: 500; color: var(--blanc); }
.entete .wp-block-navigation.nav .wp-block-navigation__container { gap: 30px; align-items: center; }
.entete .wp-block-navigation.nav .wp-block-navigation-item__content { color: var(--blanc); opacity: .85; text-decoration: none; transition: opacity .2s, color .2s; padding: 0; }
.entete .wp-block-navigation.nav .wp-block-navigation-item__content:hover { opacity: 1; color: var(--or-pale); }
.page-slug-accueil .entete .wp-block-navigation.nav .lien-accueil > .wp-block-navigation-item__content,
.page-slug-a-propos .entete .wp-block-navigation.nav .lien-a-propos > .wp-block-navigation-item__content,
.page-slug-expertise .entete .wp-block-navigation.nav .lien-expertise > .wp-block-navigation-item__content,
.page-slug-publications .entete .wp-block-navigation.nav .lien-publications > .wp-block-navigation-item__content,
.page-slug-medias .entete .wp-block-navigation.nav .lien-medias > .wp-block-navigation-item__content,
.page-slug-actualites .entete .wp-block-navigation.nav .lien-actualites > .wp-block-navigation-item__content { opacity: 1; color: var(--or-pale); }
.entete .wp-block-navigation.nav .nav-cta > .wp-block-navigation-item__content { opacity: 1; border: 1px solid var(--or); padding: 10px 20px; color: var(--or-pale); }
.entete .wp-block-navigation__responsive-container-open,
.entete .wp-block-navigation__responsive-container-close { color: var(--or-pale); }
.entete .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
/* Le panneau mobile s'ouvre blanc sur blanc sans ceci (CSS du bloc imprimé après le thème). */
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--encre) !important;
  color: var(--blanc) !important;
  padding: 32px !important;
}
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 22px; font-size: 18px; }

/* Le menu bascule en burger à 900 px comme dans la maquette (WordPress : 600 px). */
@media (max-width: 900px) {
  .entete .wp-block-navigation.nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .entete .wp-block-navigation.nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}

/* ---------- Formulaire Contact Form 7 (classes de la maquette) ---------- */
.formulaire .wpcf7 form p { margin: 0; }
.formulaire .wpcf7-form-control-wrap { display: block; }
.formulaire .wpcf7-list-item { margin: 0; }
.formulaire .case { margin-bottom: 22px; }
.formulaire .wpcf7-acceptance label { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-weight: 400; letter-spacing: 0; font-size: 14px; color: var(--gris); }
.formulaire .wpcf7-acceptance input { margin-top: 3px; accent-color: var(--nuit); }
/* Plus spécifique que « .formulaire input:not([type=checkbox]) » de la maquette. */
.formulaire input.wpcf7-submit:not([type=checkbox]) { display: inline-block; width: auto; margin: 0; border: 1px solid transparent; border-radius: 0; cursor: pointer; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: normal; padding: 16px 30px; background: var(--or); color: var(--encre); transition: background .25s; }
.formulaire input.wpcf7-submit:not([type=checkbox]):hover { background: var(--or-pale); }
.formulaire .wpcf7-not-valid-tip { color: #B3261E; font-size: 13px; margin-top: 6px; }
.formulaire .wpcf7-response-output { margin: 20px 0 0 !important; padding: 14px 18px !important; border: 1px solid var(--or) !important; font-size: 14px; }
.formulaire .wpcf7-spinner { display: none; }
.formulaire .wpcf7 form:is(.init, .submitting, .resetting) .wpcf7-response-output { display: none; }

/* ---------- Accessibilité ---------- */
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
