/* ──────────────────────────────────────────────────────────────────────────
   habillage-site.css — la feuille propre à www.estuaire-leadership.com
   ──────────────────────────────────────────────────────────────────────────

   Déposée par `deployer.py` en `mu-habillage-site.css` et chargée par le
   mu-plugin APRÈS la feuille commune : elle ne redéfinit que ce qui distingue
   ce site, jamais ne recopie la commune.

   Le parti pris, tel que `cabinet.json` le dit : beaucoup de blanc, UNE seule
   colonne étroite, texte long assumé, titres en Fraunces très contrastés,
   texte en Work Sans. Pas de chiffres en bandeau, peu de cartes, des
   paragraphes. Un estuaire : l'endroit où un courant rencontre la marée. La
   page doit se lire comme une lettre posée, pas comme une plaquette.

   Les trois couleurs de la marque arrivent par les variables de la feuille
   commune, substituées par deployer.py depuis `apparence` :
     --td-orange        = prune  #5B2A4E   (accent, titres de section, liens)
     --td-orange-clair  = or     #C9A227   (filets, soulignés, petit relief)
     --td-orange-sombre = encre  #241621   (texte)
   Le fond chaud #FAF7F5 vient de la marque et n'a pas d'équivalent dans la
   commune : il est posé ici.

   ⚠ Aucun sélecteur de thème ici. Rien que les classes `.td-*` produites par
   `outils/publier.py`, `body` et les titres pour la typographie. Changer de
   thème ne doit rien déshabiller.
   ────────────────────────────────────────────────────────────────────────── */

/* Polices servies par le site lui-même (2026-10-28) : l'@import vers Google Fonts envoyait
   l'adresse IP du visiteur à Google avant tout choix. Sous-ensembles latin et latin-ext,
   fichiers dans mu-plugins/polices/ (licence OFL) — outil 06-METHODE-SITE/outils/polices_locales.py. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/wp-content/mu-plugins/polices/fraunces-normal-latin-ext-0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/wp-content/mu-plugins/polices/fraunces-normal-latin-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/mu-plugins/polices/fraunces-normal-latin-ext-0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/mu-plugins/polices/fraunces-normal-latin-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/wp-content/mu-plugins/polices/fraunces-normal-latin-ext-0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/wp-content/mu-plugins/polices/fraunces-normal-latin-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/wp-content/mu-plugins/polices/work-sans-normal-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/wp-content/mu-plugins/polices/work-sans-normal-latin-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/mu-plugins/polices/work-sans-normal-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/mu-plugins/polices/work-sans-normal-latin-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/wp-content/mu-plugins/polices/work-sans-normal-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/wp-content/mu-plugins/polices/work-sans-normal-latin-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/wp-content/mu-plugins/polices/work-sans-normal-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/wp-content/mu-plugins/polices/work-sans-normal-latin-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --el-prune:    var(--td-orange);
  --el-or:       var(--td-orange-clair);
  --el-encre:    var(--td-orange-sombre);
  --el-fond:     #FAF7F5;
  --el-fond-2:   #F2ECE8;   /* bandeaux, cartes : à peine plus foncé que la page */
  --el-gris:     #6E6069;   /* surtitres, crédits, dates */

  --el-serif: 'Fraunces', Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --el-sans:  'Work Sans', 'Helvetica Neue', Arial, sans-serif;

  /* La colonne de lecture, resserrée : ~40rem, soit 65 caractères par ligne.
     C'est le réglage le plus important de cette feuille — tout le parti pris
     « une colonne étroite, texte long » tient à lui. */
  --td-largeur: 40rem;
  --td-rayon:   4px;
}

/* ───────────── le fond et le texte ──────────────────────────────────────── */

body {
  background: var(--el-fond);
  color: var(--el-encre);
  font-family: var(--el-sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
}

body strong { font-weight: 600; }

/* Les titres : Fraunces, fort contraste, interlignage serré, et de l'air
   au-dessus — c'est l'air qui fait le « beaucoup de blanc ». */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--el-serif);
  font-weight: 300;
  font-variation-settings: 'opsz' 144;
  color: var(--el-encre);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-top: 0; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 3.5rem; margin-bottom: 1rem; color: var(--el-prune); }
h3 { font-size: 1.35rem; font-weight: 400; margin-top: 2.25rem; }
h4 { font-size: 1.1rem; font-family: var(--el-sans); font-weight: 600; }

/* La page : de l'air en haut et en bas, rien d'autre. */
.td-page { padding-top: 2rem; padding-bottom: 5rem; }
.td-page p + p { margin-top: 1.4rem; }

/* Les liens dans le texte : prune, souligné d'or, fin. */
.td-page a:not(.wp-block-button__link) {
  color: var(--el-prune);
  text-decoration: underline;
  text-decoration-color: var(--el-or);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.td-page a:not(.wp-block-button__link):hover { text-decoration-thickness: 2px; }

/* Les citations (les mots des coachs, sur la page équipe) : Fraunces, un
   filet d'or à gauche, pas de guillemets ajoutés — ils sont dans le texte. */
.td-page blockquote {
  font-family: var(--el-serif);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--el-prune);
  border-left: 2px solid var(--el-or);
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
}

/* ───────────── le héros : du blanc, pas un aplat ────────────────────────── */

.td-hero {
  background: transparent;
  color: var(--el-encre);
  padding: 3rem 0 2.5rem;
}
.td-hero .td-inner { max-width: var(--td-largeur); }
.td-hero .td-chapeau, .td-chapeau {
  font-family: var(--el-sans);
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--el-encre);
  max-width: none;
}
/* Le surtitre : petit, Work Sans, espacé, or. */
.td-hero > .td-inner > p:first-child,
.td-hero .td-surtitre {
  font-family: var(--el-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--el-gris);
}
.td-hero h1, .td-hero h2 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 300;
  color: var(--el-encre);
  margin: 0.75rem 0 1.25rem;
}

/* ───────────── les boutons : un plein prune, un creux à filet d'or ──────── */

.td-boutons { gap: 1rem; margin-top: 1.75rem; }
.td-boutons .wp-block-button__link {
  font-family: var(--el-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: var(--td-rayon);
  padding: 0.8rem 1.4rem;
}
.td-boutons .is-style-outline .wp-block-button__link,
.td-boutons .wp-block-button.is-style-outline .wp-block-button__link {
  border: 1px solid var(--el-or);
  color: var(--el-prune);
  background: transparent;
}

/* ───────────── les sections pleine largeur : chaudes, pas colorées ──────── */

.td-large.td-bandeau,
.td-large.td-cta {
  background: var(--el-fond-2);
  color: var(--el-encre);
  padding: 3rem 0;
  margin: 3.5rem 0;
}
.td-bandeau h3, .td-cta h2 {
  color: var(--el-prune);
  margin-top: 0;
}
.td-cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.td-cta .td-inner, .td-bandeau .td-inner { max-width: var(--td-largeur); }

/* ───────────── les étapes : une liste, pas une grille ───────────────────── */

/* Le parti pris refuse les cartes en vitrine : les étapes se lisent de haut
   en bas, numérotées en Fraunces, dans la colonne de lecture. */
.td-etapes {
  display: block;
  counter-reset: etape;
  max-width: var(--td-largeur);
  margin: 2rem auto;
}
.td-etape {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--el-or);
  border-radius: 0;
  padding: 1.5rem 0 1.5rem 3.5rem;
  margin: 0;
  position: relative;
  box-shadow: none;
}
.td-etape::before {
  counter-increment: etape;
  content: counter(etape);
  position: absolute;
  left: 0; top: 1.35rem;
  font-family: var(--el-serif);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--el-or);
  line-height: 1;
}
.td-etape h3 { margin-top: 0; font-size: 1.25rem; }

/* ───────────── les cartes : peu, sobres, sans ombre ─────────────────────── */

.td-cartes { gap: 1.25rem; }
.td-carte {
  background: #FFFFFF;
  border: 1px solid #E8DFDA;
  border-radius: var(--td-rayon);
  box-shadow: none;
  padding: 1.5rem;
}
.td-carte h3 { margin-top: 0; font-size: 1.2rem; }
.td-carte--accent { background: var(--el-fond-2); border-color: transparent; }

/* ───────────── le zigzag, s'il sert un jour ────────────────────────────── */

.td-zigzag__media img { border-radius: var(--td-rayon); }

/* ───────────── la page équipe : portraits à gauche, ronds, petits ───────── */

.td-page .wp-block-image img[src*="/uploads/estuaire-leadership/"] {
  width: 7.5rem;
  height: 7.5rem;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--el-fond-2);
}

/* ───────────── le blog ─────────────────────────────────────────────────── */

.td-articles .wp-block-post-title { font-family: var(--el-serif); font-weight: 400; }
.td-articles .wp-block-post-title a { color: var(--el-encre); text-decoration: none; }
.td-articles .wp-block-post-date { color: var(--el-gris); font-size: 0.85rem; }
.td-articles .wp-block-post-terms a { color: var(--el-prune); }

/* ───────────── les tableaux (contact, confidentialité) ─────────────────── */

.td-page table { font-size: 0.95rem; }
.td-page th { font-family: var(--el-sans); font-weight: 600; color: var(--el-prune); }
.td-page td, .td-page th { border-color: #E8DFDA; }

/* ───────────── petits écrans ───────────────────────────────────────────── */

@media (max-width: 640px) {
  .td-etape { padding-left: 2.5rem; }
  .td-etape::before { font-size: 1.5rem; }
  h2 { margin-top: 2.5rem; }
}

/* ───────────── portraits de l'équipe (2026-10-26) ─────────────
   Les monogrammes des consultants : ronds, à la même taille, quel que soit le
   bloc qui les porte. Ciblés par leur dossier de versement, pour laisser les
   autres images du site tranquilles. */
.td-page img[src*="/wp-content/uploads/estuaire-leadership/"] {
  width: 150px; height: 150px; border-radius: 50%; object-fit: cover;
  display: block; margin: 0 0 1rem;
}
.td-carte img[src*="/wp-content/uploads/estuaire-leadership/"] { width: 120px; height: 120px; }
