/* FURY · les pages que nous dessinons — hubs, fiches, articles.
   Chargée sur le gabarit « page hub » et sur les fiches (sphère, réalisation, article).
   La page d'accueil n'en a pas besoin : tout son design vit dans les styles en ligne
   repris du prototype.

   Ce fichier prolonge le langage de la page d'accueil, il n'en crée pas un autre :
   mêmes couleurs, mêmes polices, même rayon de carte, même point final rose sur les titres.
   Les valeurs viennent de la charte actée le 14/09/2026.

   Un écart assumé, et un seul : les pages hub ne portent pas de surtitre numéroté.
   La numérotation est le fil du récit de la page d'accueil ; ailleurs elle ne raconte rien,
   et l'audit du 15/09 a montré qu'elle était déjà employée dix fois sur douze sections. */

.fury-page {
  --encre: #1E1D4F;
  --texte: #4A4860;
  --muted: #6B6675;
  --ligne: #E4E0E8;
  --surface: #F4F1F6;
  --nuit: #07101F;
  --indigo: #7A4BC9;
  --gulal: #D9317A;
  --safran: #E8891A;
  --vision: #2E86C1;
  --solutions: #6FA33A;

  display: block;
  background: #fff;
  color: var(--encre);
  font-family: "Hanken Grotesk", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  padding: 0 0 128px;
}
.fury-page * { box-sizing: border-box; }

/* La largeur de contenu des autres blocs du site : 1728 moins les 64 px de marge
   intérieure font 1600 px, exactement comme la page d'accueil.

   La gouttière est posée une seule fois, au niveau le plus haut : le titre, l'enveloppe du
   contenu, la fiche. Tout ce qui vit dedans se cale naturellement à gauche — c'est ce qui
   permet au chapô d'être limité à 68 caractères sans se retrouver centré au milieu du vide. */
.fury-page > .wp-block-post-title,
.fury-page > .wp-block-post-content,
.fury-page > .fury-fiche {
  width: min(1728px, 100%);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 64px);
}

/* ---------------------------------------------------------------- l'en-tête de page */

.fury-page > .wp-block-post-title {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.04;
  color: var(--encre);
  margin: 96px auto 0;
  text-wrap: pretty;
}
/* Le point final rose, signature des titres de section du site. Posé ici en décoration :
   il ne doit pas être lu par un lecteur d'écran, le titre se suffit. */
.fury-page > .wp-block-post-title::after {
  content: ".";
  color: var(--gulal);
}

.fury-page .wp-block-post-content > p {
  color: var(--texte);
  font-size: 19px;
  line-height: 1.6;
  max-width: 68ch;
  margin: 24px 0 0;
  text-wrap: pretty;
}
.fury-page .wp-block-post-content > p:first-of-type { margin-top: 28px; }
.fury-page .wp-block-post-content > p strong { color: var(--encre); font-weight: 600; }
.fury-page .wp-block-post-content > p a { color: #5B2FA8; }

/* ---------------------------------------------------------------- deux colonnes */

.fury-colonnes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px clamp(32px, 4vw, 64px);
  align-items: start;
  margin-top: 64px;
}

/* La colonne latérale suit la lecture : sur ces pages, elle sert à circuler.
   Elle ne colle jamais au bord haut de l'écran, 24 px de respiration. */
.fury-cote { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 28px; }

.fury-cote section { border-top: 2px solid var(--encre); padding-top: 18px; }
.fury-cote h2 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--encre);
  margin: 0 0 14px;
}
.fury-cote ul { list-style: none; margin: 0; padding: 0; }
.fury-cote li + li { border-top: 1px solid var(--ligne); }
/* 44 px de haut : c'est la taille minimale pour être atteint au doigt sans se tromper.
   L'audit du 14/09 avait relevé des liens de 24 px dans le pied de page. */
.fury-cote a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 0;
  color: var(--encre);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.fury-cote a:hover { color: #A8215C; }
.fury-cote .compte {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.fury-cote p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--texte); }

/* L'encart d'appel, en bleu nuit : la seule tache sombre de la colonne. */
.fury-appel {
  border: 0 !important;
  border-radius: 22px;
  background: var(--nuit);
  color: #fff;
  padding: 24px 24px 26px;
}
.fury-appel h2 { color: #fff; }
.fury-appel p { color: #C7CCE0; margin-bottom: 18px; }
.fury-appel a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  background: linear-gradient(90deg, var(--indigo) 0%, var(--gulal) 60%, var(--safran) 100%);
}
.fury-appel a:hover { opacity: .88; color: #fff; }

/* ---------------------------------------------------------------- la grille de cartes */

.fury-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.fury-carte {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ligne);
  border-radius: 22px;          /* le rayon des cartes du site */
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease;
}
.fury-carte:hover { border-color: var(--indigo); transform: translateY(-2px); }
.fury-carte:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }

.fury-carte .visuel {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--surface);
}
.fury-carte .visuel img { width: 100%; height: 100%; object-fit: cover; display: block; }

.fury-carte .corps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 24px;
  flex: 1;
}
/* L'étiquette de famille. En encre, pas en pigment : à cette taille, un pigment clair sur
   fond blanc tombe sous le seuil de lisibilité — c'est ce que l'audit du 15/09 a mesuré sur
   les cartes de l'équipe. Le pigment reste, mais sur le filet à gauche. */
.fury-carte .famille {
  align-self: flex-start;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--encre);
  background: var(--surface);
  border-radius: 6px;
  padding: 5px 9px;
}
.fury-carte h2 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--encre);
  margin: 0;
  text-wrap: pretty;
}
.fury-carte .extrait {
  font-size: 15px;
  line-height: 1.55;
  color: var(--texte);
  margin: 0;
  text-wrap: pretty;
}
.fury-carte .pied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--encre);
}
.fury-carte .date {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

/* ---------------------------------------------------------------- les sphères, en lignes */

/* Une sphère n'est pas une carte parmi d'autres : c'est une offre. Elle prend toute la
   largeur, son pigment la signe à gauche, et le détail se lit à droite. */
.fury-spheres { display: flex; flex-direction: column; gap: 0; border-top: 2px solid var(--encre); }

.fury-sphere {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px clamp(32px, 4vw, 72px);
  align-items: start;
  padding: 36px 0 38px;
  border-bottom: 1px solid var(--ligne);
  text-decoration: none;
  color: inherit;
  transition: background .2s ease;
}
.fury-sphere:hover { background: var(--surface); }
.fury-sphere:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }

.fury-sphere .identite { display: flex; flex-direction: column; gap: 12px; padding-left: 20px; border-left: 4px solid var(--indigo); }
.fury-sphere[data-pigment="strategy"] .identite { border-left-color: var(--safran); }
.fury-sphere[data-pigment="rag"] .identite      { border-left-color: var(--gulal); }
.fury-sphere[data-pigment="vision"] .identite   { border-left-color: var(--vision); }
.fury-sphere[data-pigment="solutions"] .identite{ border-left-color: var(--solutions); }

.fury-sphere .rang {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.fury-sphere h2 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.1;
  color: var(--encre);
  margin: 0;
}
.fury-sphere .detail { display: flex; flex-direction: column; gap: 14px; }
.fury-sphere .detail p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--texte); text-wrap: pretty; }
.fury-sphere .quand {
  font-size: 15px;
  line-height: 1.5;
  color: var(--encre);
  font-weight: 500;
  border-left: 2px solid var(--ligne);
  padding-left: 14px;
}
.fury-sphere .lire { font-weight: 700; color: var(--encre); font-size: 15px; }
.fury-sphere:hover .lire { color: #A8215C; }

/* ---------------------------------------------------------------- la fiche */

/* Une sphère, une réalisation, un article : une seule mise en page. Le texte tient dans une
   colonne de lecture — jamais toute la largeur de l'écran — et la colonne latérale sert à
   circuler, comme sur latitude32nord.com et intilaq2050.org. */

.fury-fiche { display: block; }

/* Sur une fiche, rien ne s'étale sur les 1600 px du site : une colonne de lecture de
   68 caractères laissée seule au milieu d'un écran large produit un vide que rien ne remplit.
   La contrainte porte sur chaque partie de la fiche — fil d'Ariane, titre, colonnes — pour que
   le filet de pigment s'arrête exactement au-dessus du texte qu'il surplombe. Le bord gauche,
   lui, reste celui du site : la fiche s'aligne sur le logo, elle ne se recentre pas. */
.fury-fiche > * { max-width: 1180px; }

.fury-ariane {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.fury-ariane a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.fury-ariane a:hover { color: var(--encre); text-decoration: underline; }

/* Le filet de pigment sous le surtitre : la seule couleur de la page, et elle dit laquelle
   des quatre sphères on lit. Sur une réalisation ou un article, il reste indigo. */
.fury-tete { margin-top: 28px; padding-top: 22px; border-top: 4px solid var(--indigo); }
.fury-fiche[data-pigment="strategy"] .fury-tete { border-top-color: var(--safran); }
.fury-fiche[data-pigment="rag"] .fury-tete      { border-top-color: var(--gulal); }
.fury-fiche[data-pigment="vision"] .fury-tete   { border-top-color: var(--vision); }
.fury-fiche[data-pigment="solutions"] .fury-tete{ border-top-color: var(--solutions); }

.fury-tete .surtitre {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.fury-tete h1 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.06;
  color: var(--encre);
  margin: 0;
  max-width: 22ch;
  text-wrap: pretty;
}
.fury-tete h1::after { content: "."; color: var(--gulal); }
.fury-tete .chapo {
  margin: 18px 0 0;
  font-size: 17px;
  color: var(--texte);
}

/* La colonne de lecture : 68 caractères au plus. Au-delà, l'œil perd la ligne suivante. */
.fury-texte { max-width: 68ch; }
.fury-texte > * { margin: 0 0 22px; }
.fury-texte > *:last-child { margin-bottom: 0; }
.fury-texte p { font-size: 19px; line-height: 1.68; color: var(--texte); text-wrap: pretty; }
.fury-texte p strong { color: var(--encre); font-weight: 600; }
.fury-texte a { color: #5B2FA8; }
.fury-texte h2 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 1.15;
  color: var(--encre);
  margin: 44px 0 16px;
}
.fury-texte h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--encre);
  margin: 34px 0 12px;
}
.fury-texte ul, .fury-texte ol { padding-left: 22px; color: var(--texte); font-size: 18px; line-height: 1.6; }
.fury-texte li { margin-bottom: 8px; }
.fury-texte img { border-radius: 22px; display: block; height: auto; }
.fury-texte blockquote {
  border-left: 4px solid var(--indigo);
  padding-left: 22px;
  margin-left: 0;
  font-size: 20px;
  color: var(--encre);
}

/* « Quand elle intervient » : l'encart de la sphère, repris du bloc 07 de la page d'accueil. */
.fury-quand {
  border-radius: 22px;
  background: var(--surface);
  padding: 24px 26px 26px;
  margin-top: 44px;
}
.fury-quand h2 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--encre);
  margin: 0 0 10px;
}
.fury-quand p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--texte); }

.fury-retour { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--ligne); }
.fury-retour a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--encre);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.fury-retour a:hover { color: #A8215C; }

/* Le manager, dans la colonne : une photo ronde, un nom, une ligne. */
.fury-manager .personne { display: flex; align-items: center; gap: 14px; }
.fury-manager img { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; flex: 0 0 auto; }
.fury-manager strong { display: block; color: var(--encre); font-size: 16px; line-height: 1.3; }
.fury-manager .personne span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--texte); }
.fury-manager .lien { margin-top: 14px; }
.fury-manager .lien a { min-height: 44px; display: inline-flex; align-items: center; color: var(--encre); font-weight: 600; font-size: 15px; text-decoration: none; }
.fury-manager .lien a:hover { color: #A8215C; }

/* ---------------------------------------------------------------- la pagination */

/* Les hubs sont des pages, pas des archives : la pagination est la nôtre, sur « ?pg= ».
   Chaque bouton fait 44 px de haut, la taille minimale pour être atteint au doigt. */
.fury-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--ligne);
}
.fury-pages a,
.fury-pages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--encre);
  border: 1px solid var(--ligne);
}
.fury-pages a:hover { border-color: var(--indigo); color: #A8215C; }
.fury-pages span[aria-current] { background: var(--encre); border-color: var(--encre); color: #fff; }

/* ---------------------------------------------------------------- rien à afficher */

/* Un hub vide doit dire ce qui manque et où aller, pas rester blanc. */
.fury-vide {
  border: 1px dashed var(--ligne);
  border-radius: 22px;
  padding: 48px 32px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
}
.fury-vide strong { display: block; color: var(--encre); font-size: 18px; margin-bottom: 8px; }

/* ---------------------------------------------------------------- écrans étroits */

@media (max-width: 1100px) {
  .fury-colonnes { grid-template-columns: 1fr; gap: 48px; }
  .fury-texte { max-width: none; }
  .fury-cote { position: static; }
  .fury-sphere { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .fury-page { padding-bottom: 84px; }
  .fury-page > .wp-block-post-title { margin-top: 64px; }
  .fury-grille { grid-template-columns: 1fr; }
  .fury-texte p { font-size: 17px; }
  .fury-tete h1 { max-width: none; }
}
