/* page-etude-de-cas.css — la part propre à cette page.
 *
 * PORTÉ depuis la maquette du Studio « Cas d’usage — étude de cas (gabarit) » (version 01.00.02), par
 * `site/vitrine/porter-pages.py`. C'est ce que sa feuille `#design` porte EN
 * PLUS du socle commun (`pages.css`), qui doit être chargé avant elle.
 *
 * NE PAS RETOUCHER ICI. On retravaille la maquette, puis on rejoue le portage.
 */
/* ===================== LA FICHE D'UNE FONCTIONNALITÉ =====================
   Le gabarit d'une page /fonctionnalites/<slug>/, montré sur « Maquettes et
   prototypes ». Même barre, même rideau, même pied que l'accueil et que le
   catalogue : c'est le MÊME site.
   30 septembre 2026 : le hero n'a plus de scène. Il PROMET, les sections
   MONTRENT — chacune avec son exemple à l'échelle, plutôt qu'une vignette
   abstraite en tête qui ne disait rien de précis.
   ========================================================================= */
.fd-hero { padding-top: var(--e7); padding-bottom: var(--e6) }

.fil { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px;
  color: var(--gris-fumee); margin-bottom: var(--e3) }
.fil a { color: var(--gris-chaud) }
.fil a:hover { color: var(--bleu-glacier) }

.fd-fam { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border-radius: var(--r-pill); background: var(--bleu-nuit); color: var(--bleu-glacier);
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase }
.fd-fam i { width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  animation: pouls 2.4s ease-in-out infinite }

.fd-hero h1 { margin-top: var(--e3); font-size: clamp(34px, 5.6vw, 72px); font-weight: 800;
  letter-spacing: -.045em; line-height: 1.02; max-width: 17ch }
.fd-hero h1 em { font-style: normal; color: var(--bleu-glacier) }
.fd-hero .chapeau { margin-top: var(--e4); max-width: 66ch }
.fd-cta { display: flex; flex-wrap: wrap; gap: 11px; margin-top: var(--e4) }

/* Les quatre promesses, en TEXTE : le hero reste sans visuel. */
.fd-cles { display: grid; gap: var(--e4); margin-top: var(--e7) }
@media (min-width: 700px) { .fd-cles { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (min-width: 1100px) { .fd-cles { grid-template-columns: repeat(4, minmax(0, 1fr)) } }
.fd-cle { position: relative; padding-top: var(--e3); border-top: 1.5px solid var(--filet) }
.fd-cle::before { content: ""; position: absolute; left: 0; top: -1.5px; width: 40px; height: 1.5px;
  background: var(--bleu-nexus) }
.fd-cle small { display: block; font-family: var(--f-mono); font-size: 11.5px; color: var(--bleu-glacier);
  letter-spacing: .04em; margin-bottom: 10px }
.fd-cle b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px }
.fd-cle span { display: block; font-size: 14.5px; line-height: 1.5; color: var(--gris-chaud) }

/* ——— LE SOMMAIRE, collé sous la barre ———
   Une fiche dense se parcourt : le sommaire reste là pendant la lecture.
   `top: 73px` = la hauteur de la barre, mesurée (voir `scroll-margin-top`). */
.fd-som { position: sticky; top: 73px; z-index: 30; border-block: 1.5px solid var(--filet);
  background: rgba(14, 14, 13, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px) }
.fd-som__in { max-width: 1320px; margin: 0 auto; padding: 0 var(--marge); display: flex; align-items: center;
  gap: 2px; overflow-x: auto; scrollbar-width: none }
.fd-som__in::-webkit-scrollbar { display: none }
.fd-som__nom { flex: 0 0 auto; font-size: 13px; font-weight: 800; letter-spacing: -.01em;
  padding-right: var(--e3); margin-right: var(--e1); border-right: 1.5px solid var(--filet) }
.fd-som a { flex: 0 0 auto; position: relative; display: inline-flex; align-items: baseline; gap: 7px;
  padding: 15px 12px; font-size: 13.5px; font-weight: 600; color: var(--gris-chaud); white-space: nowrap;
  transition: color .2s var(--ease) }
.fd-som a small { font-family: var(--f-mono); font-size: 10.5px; color: var(--gris-fumee) }
.fd-som a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1.5px; height: 1.5px;
  background: var(--bleu-nexus); scale: 0 1; transition: scale .25s var(--ease) }
.fd-som a:hover { color: var(--craie) }
.fd-som a:hover::after { scale: 1 1 }

/* ——— Les blocs ——— */
.fd-bloc { padding-top: var(--e8); padding-bottom: var(--e8) }
.fd-bloc[id] { scroll-margin-top: 124px }
.fd-tete { display: grid; gap: var(--e3); margin-bottom: var(--e6) }
@media (min-width: 1000px) { .fd-tete { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: end; gap: var(--e7) } }
.fd-tete .chapeau { margin-top: 0 }
.fd-duo2 { display: grid; gap: var(--e5); align-items: start }
@media (min-width: 1060px) { .fd-duo2 { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--e6) } }
.fd-duo2--inv { align-items: center }
@media (min-width: 1060px) { .fd-duo2--inv { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) } }
/* Sur une colonne, le titre passe AVANT l'exemple : on sait ce qu'on regarde. */
@media (max-width: 1059px) { .fd-duo2--inv > :first-child { order: 2 } }
.fd-sous { font-size: 20px; font-weight: 800; letter-spacing: -.03em; margin: var(--e6) 0 var(--e3) }

/* ——— QUI FAIT QUOI ——— */
.fd-roles { display: grid; gap: var(--e3) }
@media (min-width: 960px) { .fd-roles { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
.role__t { display: flex; align-items: center; gap: 14px; padding-bottom: var(--e3); margin-bottom: var(--e3);
  border-bottom: 1.5px solid var(--filet) }
.role__i { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  background: var(--bleu-nuit); color: var(--bleu-glacier) }
.role--vous .role__i { background: rgba(240, 144, 143, .12); color: var(--corail) }
.role__i svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round }
.carte .role__t h3 { font-size: 22px; margin: 0 }
.carte .role__t p { font-size: 13.5px; color: var(--gris-cendre); margin-top: 2px }
.role__l { display: grid; gap: 17px }
.role__l li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px }
.role__l svg { width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--bleu-glacier);
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round }
.role--vous .role__l svg { stroke: var(--corail) }
.role__l b { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -.015em }
.role__l span { display: block; font-size: 14px; line-height: 1.5; color: var(--gris-chaud); margin-top: 2px }

/* ——— QUESTIONS : `<details>`, donc ouvertes sans script ——— */
.faq { border-top: 1.5px solid var(--filet) }
.faq details { border-bottom: 1.5px solid var(--filet) }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: var(--e3); padding: 22px 0; font-size: 18px; font-weight: 700; letter-spacing: -.02em; transition: color .2s var(--ease) }
.faq summary::-webkit-details-marker { display: none }
.faq summary:hover { color: var(--bleu-glacier) }
.faq summary svg { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: var(--gris-cendre); stroke-width: 2;
  stroke-linecap: round; transition: rotate .25s var(--ease) }
.faq details[open] summary svg { rotate: 45deg; stroke: var(--bleu-glacier) }
.faq details p { padding: 0 0 24px; max-width: 74ch; font-size: 15.5px; line-height: 1.65; color: var(--gris-chaud) }
.faq details p b { color: var(--craie); font-weight: 600 }

/* ——— L'APPEL, avant les voisines ——— */
.fd-appel { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--e4);
  padding: var(--e6) var(--e5); border: 1.5px solid var(--filet); border-radius: 22px;
  background: radial-gradient(ellipse 60% 130% at 100% 0%, rgba(78, 129, 238, .24), transparent 62%),
              linear-gradient(180deg, var(--panneau), var(--graphite)) }
.fd-appel h2 { font-size: clamp(26px, 3.6vw, 42px); max-width: 19ch }
.fd-appel h2 em { font-style: normal; color: var(--bleu-glacier) }
.fd-appel p { margin-top: 12px; font-size: 16px; color: var(--gris-chaud); max-width: 52ch }
.fd-appel .fd-cta { margin-top: 0 }

/* ——— LES VOISINES, PUIS PRÉCÉDENT / SUIVANT ——— */
.fd-voisines { padding-top: var(--e6); padding-bottom: var(--e6) }
.fd-voisines h2 { font-size: clamp(20px, 2.4vw, 27px); font-weight: 800; letter-spacing: -.03em;
  margin-bottom: var(--e4) }
.fiches { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 14px }
.fiche { position: relative; display: grid; gap: 8px; align-content: start; padding: var(--e3);
  border: 1.5px solid var(--filet); border-radius: var(--r-carte); overflow: hidden;
  background: linear-gradient(180deg, var(--panneau), var(--graphite));
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease) }
.fiche::after { content: ""; position: absolute; inset: 0 0 auto; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--bleu-nexus), transparent);
  opacity: 0; transition: opacity .28s var(--ease) }
.fiche:hover { transform: translateY(-5px); border-color: var(--releve);
  box-shadow: 0 26px 54px -30px #000 }
.fiche:hover::after { opacity: 1 }
.fiche b { font-size: 16.5px; font-weight: 700; letter-spacing: -.02em; color: var(--craie) }
.fiche > span { font-size: 13.5px; line-height: 1.5; color: var(--gris-chaud) }
.fiche em { display: inline-flex; align-items: center; gap: 7px; margin-top: 2px; font-style: normal;
  font-size: 12.5px; font-weight: 700; color: var(--bleu-glacier) }
.fiche em svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; transition: translate .28s var(--ease) }
.fiche:hover em svg { translate: 4px 0 }

.fd-pn { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px;
  margin-top: var(--e5) }
.fd-pn a { display: grid; gap: 4px; padding: var(--e3); border: 1.5px solid var(--filet);
  border-radius: var(--r-carte);
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease) }
.fd-pn a:hover { border-color: var(--bleu-nexus); background: rgba(78, 129, 238, .07);
  transform: translateY(-3px) }
.fd-pn span { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gris-fumee); font-weight: 700 }
.fd-pn b { font-size: 16px; font-weight: 700; letter-spacing: -.02em; color: var(--craie) }
.fd-pn a:last-child { text-align: right }
.pt { width: 8px; height: 8px; border-radius: 50%; background: var(--releve); flex: 0 0 auto }

/* L'onglet de la page où l'on est : allumé, souligné. */
.nav__lien[aria-current="page"] { color: var(--craie) }
.nav__lien[aria-current="page"]::after { right: 0 }

/* ——— Repris de la page « Cas d’usage » : accent, parcours, cartes, technos ——— */
#page { --accent: var(--bleu-nexus); --accent-clair: var(--bleu-glacier); --accent-fond: var(--bleu-nuit); --accent-bord: var(--bleu-profond) }
.parcours { display: flex; flex-wrap: wrap; align-items: center; gap: 6px }
.parcours span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: var(--r-pill);
  border: 1px solid var(--filet); background: var(--noir-chaud); font-size: 12px; font-weight: 600; color: var(--gris-chaud) }
.parcours span i { width: 7px; height: 7px; border-radius: 50%; background: var(--x, var(--gris-cendre)) }
.parcours > svg { width: 14px; height: 14px; fill: none; stroke: var(--gris-fumee); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.une__lire { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--accent-clair) }
.une__lire svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
  stroke-linejoin: round; transition: translate .28s var(--ease) }
.une:hover .une__lire svg { translate: 4px 0 }

/* ——— Les familles, et leurs cartes ——— */
.famille { display: grid; gap: var(--e4); padding-top: var(--e6); margin-top: var(--e6); border-top: 1.5px solid var(--filet) }
@media (min-width: 1060px) {
  .famille { grid-template-columns: 270px minmax(0, 1fr); gap: var(--e6) }
  .famille__t { position: sticky; top: 158px; align-self: start }
}
.famille__t small { display: block; margin-bottom: 10px; font-family: var(--f-mono); font-size: 11.5px; color: var(--accent-clair) }
.famille__t h3 { font-size: 27px; letter-spacing: -.035em }
.famille__t p { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--gris-chaud) }
.cas-grille { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) }
.cas { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; overflow: hidden;
  border: 1.5px solid var(--filet); border-radius: var(--r-carte); background: linear-gradient(180deg, var(--panneau), var(--graphite));
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease) }
.cas::after { content: ""; position: absolute; inset: 0 0 auto; height: 1.5px; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); transition: opacity .28s var(--ease) }
.cas:hover { transform: translateY(-4px); border-color: var(--accent-bord); box-shadow: 0 26px 54px -30px #000 }
.cas:hover::after { opacity: 1 }
.cas__i { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 4px; border-radius: 12px;
  background: var(--accent-fond); color: var(--accent-clair) }
.cas__i svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.cas b { font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25 }
.cas p { font-size: 14px; line-height: 1.5; color: var(--gris-chaud) }
.etiq { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px }
.etiq span { padding: 3px 8px; border-radius: 6px; border: 1px solid var(--filet); background: var(--noir-chaud);
  font-family: var(--f-mono); font-size: 11px; color: var(--gris-chaud) }
.cas__voir { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--accent-clair) }
.cas__voir svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
  stroke-linejoin: round; transition: translate .28s var(--ease) }
.cas:hover .cas__voir svg { translate: 4px 0 }
.cas--etude { border-color: var(--accent-bord) }
.cas--etude .cas__voir::before { content: "Étude complète"; margin-right: 4px; padding: 2px 7px; border-radius: var(--r-pill);
  background: var(--accent-fond); font-size: 10.5px; letter-spacing: .04em }

/* ——— Toutes les technos ——— */
.technos { overflow: hidden; border: 1.5px solid var(--filet); border-radius: var(--r-carte); background: var(--noir-chaud) }
.techno { display: grid; gap: 12px; padding: 18px 22px; border-top: 1.5px solid var(--filet) }
.techno:first-child { border-top: 0 }
@media (min-width: 800px) { .techno { grid-template-columns: 210px minmax(0, 1fr); align-items: center } }
.techno > b { font-size: 14.5px; font-weight: 700 }
.techno > b small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--gris-fumee) }
.puces-t { display: flex; flex-wrap: wrap; gap: 7px }
.puces-t span { padding: 6px 11px; border-radius: 8px; border: 1px solid var(--filet); background: var(--graphite);
  font-size: 13px; font-weight: 600; color: var(--gris-chaud); transition: border-color .2s var(--ease), color .2s var(--ease) }
.puces-t span:hover { border-color: var(--accent-bord); color: var(--craie) }
.puces-t span.autre { border-style: dashed; color: var(--accent-clair) }
.cu-note { display: flex; gap: 12px; align-items: flex-start; margin-top: var(--e4); max-width: 92ch; font-size: 14.5px;
  line-height: 1.55; color: var(--gris-cendre) }
.cu-note svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--accent-clair); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round }
.cu-note b { color: var(--craie); font-weight: 600 }

/* ========================= UNE ÉTUDE DE CAS =========================
   Le GABARIT d'une page /cas-d-usage/<mode>/<slug>/, montré sur la
   boutique WooCommerce de « Lune » (marque d'exemple, la même que sur la
   maquette d'accueil). Même logique que la fiche d'une fonctionnalité :
   le hero PROMET, sans visuel ; les sections MONTRENT. Ce qui change d'un
   cas à l'autre est listé en tête de <main>.
   ==================================================================== */

/* ——— Le besoin : la galerie, la prose, la fiche du projet ——— */
.ec-galerie { display: grid; gap: 10px; margin-bottom: var(--e6) }
@media (min-width: 760px) { .ec-galerie { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; height: 440px } }
.ec-galerie figure { position: relative; overflow: hidden; min-height: 180px; border-radius: 14px; border: 1.5px solid var(--filet) }
.ec-galerie figure:first-child { aspect-ratio: 3 / 2 }
@media (min-width: 760px) { .ec-galerie figure:first-child { grid-row: span 2; aspect-ratio: auto } .ec-galerie figure:last-child { grid-column: span 2 } }
.ec-galerie img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.ec-galerie figcaption { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(14, 14, 13, .8); font-size: 11.5px; font-weight: 700 }
.ec-besoin { display: grid; gap: var(--e5) }
@media (min-width: 1000px) { .ec-besoin { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--e7) } }
.ec-prose h2, .ec-prose h3 { font-size: clamp(20px, 2.2vw, 25px); letter-spacing: -.03em; margin: var(--e5) 0 10px }
.ec-prose h2:first-child, .ec-prose h3:first-child { margin-top: 0 }
.ec-prose p { max-width: 66ch; font-size: 16px; line-height: 1.7; color: var(--gris-chaud) }
.ec-prose p b { color: var(--craie); font-weight: 600 }
.ec-fiche { align-self: start; position: sticky; top: 140px; padding: var(--e4) }
.ec-fiche dl { display: grid }
.ec-fiche dl > div { display: grid; gap: 4px; padding: 13px 0; border-top: 1px solid var(--filet) }
.ec-fiche dl > div:first-child { border-top: 0; padding-top: 0 }
.ec-fiche dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gris-fumee) }
.ec-fiche dd { font-size: 14.5px; line-height: 1.5; color: var(--craie) }
.ec-fiche .etiq { margin-top: 4px; padding-top: 0 }

/* ——— Le parcours : huit étapes, chacune avec son mode, ses outils, ses mains ——— */
.ec-etapes { display: grid }
.ec-etape { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding-bottom: var(--e3) }
.ec-etape::before { content: ""; position: absolute; left: 25px; top: 56px; bottom: 4px; width: 1.5px;
  background: linear-gradient(180deg, var(--x), var(--filet)) }
.ec-etape:last-child::before { display: none }
.ec-etape__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; border: 1.5px solid var(--x);
  background: var(--graphite); color: var(--x); font-family: var(--f-mono); font-size: 15px }
.ec-etape__c { display: grid; gap: var(--e3); padding: 22px 24px; border: 1.5px solid var(--filet); border-radius: var(--r-carte);
  background: linear-gradient(180deg, var(--panneau), var(--graphite)); transition: border-color .28s var(--ease) }
.ec-etape:hover .ec-etape__c { border-color: var(--releve) }
@media (min-width: 1000px) { .ec-etape__c { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--e5) } }
@media (max-width: 599px) {
  .ec-etape { grid-template-columns: 38px minmax(0, 1fr); gap: 12px }
  .ec-etape__n { width: 38px; height: 38px; border-radius: 11px; font-size: 13px }
  .ec-etape::before { left: 18px; top: 42px }
  .ec-etape__c { padding: 18px }
}
.ec-mode { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: var(--r-pill);
  border: 1px solid var(--x); color: var(--x); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase }
.ec-mode i { width: 6px; height: 6px; border-radius: 50%; background: currentColor }
.ec-etape h3 { margin-top: 12px; font-size: 20px; letter-spacing: -.025em }
.ec-etape__c > div > p { margin-top: 8px; max-width: 64ch; font-size: 15px; line-height: 1.6; color: var(--gris-chaud) }
.ec-etape__c > div > p b { color: var(--craie); font-weight: 600 }
.ec-dans { display: grid; gap: 12px; align-content: start; padding: 16px; border-radius: 12px; background: var(--noir-chaud);
  border: 1px solid var(--filet) }
.ec-dans small { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gris-fumee) }
.ec-dans .etiq { margin: 0; padding: 0 }
.mains { display: flex; flex-wrap: wrap; gap: 6px }
.main-a, .main-h { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700 }
.main-a { background: var(--bleu-nuit); color: var(--bleu-glacier) }
.main-h { background: rgba(34, 197, 94, .12); color: var(--vert-valide) }
.main-a svg, .main-h svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.ec-legende { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: var(--e4); font-size: 13px; color: var(--gris-cendre) }
.ec-legende span { display: inline-flex; align-items: center; gap: 7px }
.ec-legende i { width: 9px; height: 9px; border-radius: 50%; background: var(--x) }

/* ——— En session : le journal, le courriel capturé, la demande de fusion ——— */
.ec-session { display: grid; gap: 14px; align-items: start }
@media (min-width: 1060px) { .ec-session { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr) } }
.term { overflow: hidden; border: 1.5px solid var(--filet); border-radius: var(--r-carte); background: #0B0B0A;
  box-shadow: 0 50px 110px -70px #000 }
.term__bar { display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-bottom: 1.5px solid var(--filet);
  background: var(--noir-chaud); font-size: 12.5px }
.term__bar b { margin-left: 4px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.term__bar .pastille { margin-left: auto; padding: 4px 10px; font-size: 10px; flex: 0 0 auto }
.term__l { display: grid; gap: 6px; padding: 18px 20px 22px; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.55;
  color: var(--gris-chaud); overflow-x: auto }
.term__l p { white-space: pre-wrap; overflow-wrap: anywhere }
.term__l .d { color: var(--gris-fumee) }
.term__l .c { color: var(--craie) }
.term__l .ok { color: var(--vert-valide) }
.term__l .i { color: var(--bleu-glacier) }
.term__l .m { color: var(--corail) }
.term__l .t { color: var(--orange-signal) }
.term__l .sep { height: 1px; margin: 6px 0; background: var(--filet) }
.term__cur { display: inline-block; width: 8px; height: 15px; vertical-align: -2px; background: var(--bleu-glacier) }
.ec-col { display: grid; gap: 14px }
.mail { overflow: hidden; border: 1.5px solid var(--filet); border-radius: var(--r-carte); background: var(--graphite) }
.mail__t { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1.5px solid var(--filet);
  background: var(--noir-chaud); font-size: 12.5px; font-weight: 700 }
.mail__t .pastille { margin-left: auto; padding: 3px 9px; font-size: 10px }
.mail__en { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 12px 14px;
  border-bottom: 1px solid var(--filet); font-size: 12px }
.mail__en dt { color: var(--gris-fumee) }
.mail__en dd { color: var(--craie); overflow-wrap: anywhere }
.mail__corps { margin: 14px; padding: 16px; border-radius: 10px; background: #F3EEE6; color: #2B2622 }
.mail__corps b { display: block; font-size: 15px; letter-spacing: -.02em }
.mail__corps p { margin-top: 6px; font-size: 12.5px; line-height: 1.5 }
.mail__art { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #D9C7B0; font-size: 12.5px }
.mail__art img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover }
.mail__art span { flex: 1 1 auto }
.mail__art i { font-style: normal; font-weight: 800 }
.fusion { padding: 18px }
.fusion__t { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--gris-chaud) }
.fusion__t b { padding: 3px 8px; border-radius: 6px; background: var(--bleu-nuit); color: var(--bleu-glacier); font-weight: 500 }
.fusion__t svg { width: 14px; height: 14px; fill: none; stroke: var(--gris-fumee); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.fusion ul { display: grid; gap: 8px; margin-top: 14px }
.fusion li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; font-size: 13px; line-height: 1.45; color: var(--gris-chaud) }
.fusion li i { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; border: 2px solid var(--bleu-glacier) }
.fusion li code { font-family: var(--f-mono); font-size: 11.5px; color: var(--bleu-glacier) }

/* ——— Sur une autre techno ——— */
.techno > p { font-size: 14.5px; line-height: 1.55; color: var(--gris-chaud) }
.techno > p b { color: var(--craie); font-weight: 600 }

@media (prefers-reduced-motion: no-preference) {
  .term__l p { animation: ligne 14s var(--ease) infinite; animation-delay: calc(var(--i, 0) * .45s) }
  .term__cur { animation: curseurT 1s steps(1) infinite }
}
@keyframes ligne { 0% { opacity: 0; translate: -6px 0 } 3%, 94% { opacity: 1; translate: 0 } 100% { opacity: 0 } }
@keyframes curseurT { 50% { opacity: 0 } }
