.bu-panneau {
  --bu-feuille: var(--ha-fond);
  --bu-encre: var(--ha-noir);
  --bu-trait: rgba(24, 25, 27, .16);
  --bu-ombre: 0 1px 2px rgba(24, 25, 27, .06), 0 12px 28px -14px rgba(24, 25, 27, .28);
}

/* --- 1. les onglets en classeur ------------------------------------------------------------- */
.td-onglets.bu-onglets {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: end;
  max-width: 1280px; margin: 0 auto; padding: 0;
}
.td-onglet.bu-onglet {
  grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 16px;
  min-height: 0; padding: 24px 28px 26px; border-radius: 28px 28px 0 0;
  background: var(--ha-fond-fonce); color: var(--ha-texte-2);
  box-shadow: inset 0 -14px 14px -14px rgba(24, 25, 27, .22);
}
.td-onglet.bu-onglet:hover { background: #e6e7ea; color: var(--ha-noir); }
.td-onglet.bu-onglet:focus-visible { outline: 2px solid var(--ha-noir); outline-offset: -6px; }
/* l'onglet ouvert : la couleur de son panneau, sans couture, plus haut que l'autre, le liseré jaune sur sa tranche */
.td-onglet.bu-onglet[aria-selected="true"] {
  background: var(--ha-fond); color: var(--ha-noir); box-shadow: none; cursor: default;
  padding-top: 34px;
}
.td-onglet.bu-onglet[aria-selected="true"] { box-shadow: inset 0 6px 0 var(--ha-jaune); }
.td-onglet.bu-onglet::after, .td-onglet.bu-onglet[aria-selected="true"]::after { content: none; }
.td-onglet.bu-onglet .td-onglet-mots { gap: 8px; }
.td-onglet.bu-onglet .td-onglet-titre { font-size: 28px; color: inherit; }
.td-onglet.bu-onglet:not([aria-selected="true"]) .td-onglet-titre { color: var(--ha-texte-2); }
.td-onglet.bu-onglet:not([aria-selected="true"]):hover .td-onglet-titre { color: var(--ha-noir); }
.td-onglet.bu-onglet .td-onglet-rond { display: none; }
/* le panneau sous les onglets : collé, les deux angles du haut droits (les onglets les couvrent) */
.bu-onglets ~ .td-panneau-onglet { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }

/* --- 2. le panneau en clair ---------------------------------------------------------------- */
.td-builders.bu-panneau {
  display: grid; background: var(--bu-feuille); color: var(--bu-encre);
  padding: 52px 56px 60px;
}
/* l'onglet des services ouvert : le panneau des builders se cache (sa règle display: grid passait devant [hidden]) */
.td-builders.bu-panneau[hidden] { display: none; }
.bu-decor { opacity: .22; }
.bu-decor svg g { stroke: var(--ha-noir); }

/* --- 3. l'équation, le « = », le nom, la phrase ---------------------------------------------- */
.bu-equation { grid-area: eq; min-width: 0; }
.bu-intitule {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font-family: var(--ha-mono); font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: var(--ha-texte-2);
}
.bu-intitule::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--ha-jaune); box-shadow: 0 0 0 1px rgba(24, 25, 27, .25); }
.bu-termes { margin: 0; padding: 0; list-style: none; }
.bu-terme { display: flex; flex-direction: column; min-width: 0; }
.bu-terme-tete { display: flex; align-items: center; gap: 16px; min-width: 0; width: 100%; }
.bu-terme-icone { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 17px; background: var(--ha-blanc); box-shadow: inset 0 0 0 1px var(--bu-trait); }
.bu-terme-icone svg { display: block; width: 36px; height: 36px; }
.bu-terme-icone img { display: block; width: 22px; height: auto; }
.bu-terme-texte { font-weight: 700; font-size: 19px; line-height: 1.28; letter-spacing: -.012em; text-wrap: balance; }
.bu-signe { display: grid; place-items: center; flex: none; font-weight: 900; font-size: 30px; line-height: 1; color: var(--ha-jaune); }

.bu-resultat { grid-area: res; min-width: 0; }
.bu-egal { display: inline-grid; place-items: center; border-radius: 50%; background: var(--ha-jaune); box-shadow: 0 0 0 1.5px var(--ha-noir); }
.bu-egal svg { display: block; fill: var(--ha-noir); }
.bu-nom { margin: 0; font-weight: 900; letter-spacing: -.035em; line-height: .98; text-wrap: balance; color: var(--ha-noir); }
.bu-phrase { margin: 0; font-weight: 500; letter-spacing: -.01em; text-wrap: pretty; color: var(--ha-noir); }

/* --- 4. la scène ------------------------------------------------------------------------------ */
.bu-scene { grid-area: scene; position: relative; min-width: 0; isolation: isolate; }
.bu-orbites { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.bu-orbites-arriere { z-index: 1; }
.bu-orbites-avant { z-index: 3; }
.bu-orbite { fill: none; stroke: var(--ha-noir); vector-effect: non-scaling-stroke; }
.bu-orbite-1 { stroke-width: 1.5; }
.bu-orbite-2 { stroke-width: 1.2; stroke-dasharray: 2 7; stroke-dasharray: .004 .012; stroke-linecap: round; opacity: .7; }
.bu-orbites-avant .bu-orbite-1 { stroke-width: 2; }

.bu-astre { position: absolute; z-index: 2; left: 0; width: 100%; pointer-events: none; }
.bu-halo { position: absolute; left: 50%; aspect-ratio: 1; border-radius: 50%; background: var(--ha-jaune); transform: translateX(-50%); }
.bu-figure { position: relative; display: block; height: 100%; aspect-ratio: 500 / 1000; margin: 0 auto; }
.bu-transformateur, .bu-toile { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }

.bu-profils { margin: 0; padding: 0; list-style: none; }
.bu-profil { position: absolute; z-index: 4; left: var(--bu-x); top: var(--bu-y); }
.bu-satellite {
  display: flex; align-items: center; margin: 0; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: var(--ha-sans); color: var(--ha-noir); text-align: left;
}
.bu-satellite:focus-visible { outline: none; }
.bu-satellite:focus-visible .bu-photo { outline: 3px solid var(--ha-noir); outline-offset: 4px; }
.bu-photo { position: relative; display: block; flex: none; overflow: hidden; background: var(--ha-noir); box-shadow: 0 0 0 4px var(--ha-blanc), var(--bu-ombre); }
.bu-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.bu-satellite:hover .bu-photo, .bu-satellite:focus-visible .bu-photo { transform: scale(1.05); }
.bu-etiquette { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.bu-profil-nom { font-weight: 900; font-size: 21px; line-height: 1.05; letter-spacing: -.02em; white-space: nowrap; }
.bu-plus { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; font-size: 14px; line-height: 1; white-space: nowrap; }
.bu-plus-rond { position: relative; display: block; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ha-noir); }
.bu-plus-rond::before, .bu-plus-rond::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; border-radius: 1px; background: var(--ha-jaune); }
.bu-plus-rond::after { transform: rotate(90deg); }
.bu-satellite:hover .bu-plus-rond, .bu-satellite:focus-visible .bu-plus-rond { transform: rotate(90deg); }

html.bu-a .bu-panneau {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "eq" "res" "scene";
  justify-items: center;
}
html.bu-a .bu-equation { display: flex; flex-direction: column; align-items: center; width: 100%; }
html.bu-a .bu-termes { display: flex; align-items: flex-start; justify-content: center; gap: 0; margin-top: 20px; width: 100%; height: var(--bu-tete, auto); }
html.bu-a .bu-terme {
  flex: 1 1 0; max-width: 330px; border-radius: 22px;
  background: var(--ha-blanc); box-shadow: var(--bu-ombre);
}
html.bu-a .bu-terme { position: relative; }
html.bu-a .bu-terme-tete { padding: 16px; min-height: var(--bu-tete, 0); }
html.bu-a .bu-terme-icone { background: var(--ha-fond); box-shadow: none; }
html.bu-a .bu-terme-texte { font-size: 17.5px; }
html.bu-a .bu-signe { align-self: flex-start; width: 44px; height: 44px; margin: calc((var(--bu-tete, 86px) - 44px) / 2) -6px 0; z-index: 1; border-radius: 50%; background: var(--ha-noir); font-size: 28px; }
/* le « = » : un trait qui descend de l'équation vers la scène */
html.bu-a .bu-equation::after {
  content: ""; display: block; width: 2px; height: 46px; margin-top: 4px;
  background: repeating-linear-gradient(to bottom, var(--ha-noir) 0 4px, transparent 4px 9px);
}
html.bu-a .bu-scene { width: min(100%, 980px); aspect-ratio: 1000 / 720; margin-top: 8px; }
html.bu-a .bu-astre { top: 0; height: 100%; }
html.bu-a .bu-halo { top: 9%; width: 44%; }
html.bu-a .bu-profil { transform: translate(-50%, -50%); }
html.bu-a .bu-satellite { flex-direction: column; gap: 12px; text-align: center; }
html.bu-a .bu-photo { width: 116px; height: 116px; border-radius: 50%; }
html.bu-a .bu-etiquette { align-items: center; padding: 10px 16px 12px; border-radius: 18px; background: var(--ha-blanc); box-shadow: var(--bu-ombre); }
/* la photo se pose sur l'orbite, l'étiquette pend dessous */
html.bu-a .bu-profil { transform: translate(-50%, -58px); }
html.bu-a .bu-profil[data-place="pm-ia"] { --bu-x: 11.1%; --bu-y: 60.6%; }
html.bu-a .bu-profil[data-place="product-builder"] { --bu-x: 85%; --bu-y: 44%; }
html.bu-a .bu-profil[data-place="data-builder"] { --bu-x: 77%; --bu-y: 77%; }
html.bu-a .bu-resultat { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 0; max-width: 900px; }
html.bu-a .bu-egal { width: 64px; height: 64px; }
html.bu-a .bu-egal svg { width: 30px; height: 19px; }
html.bu-a .bu-nom { margin-top: 20px; font-size: 64px; }
html.bu-a .bu-phrase { margin-top: 18px; max-width: 34em; font-size: 22px; line-height: 1.45; }

.bu-toile { visibility: hidden; }
html.bu-suite .bu-toile { visibility: visible; }
html.bu-suite .bu-transformateur { visibility: hidden; }

/* --- 8. l'entrée : l'état de départ ; le mouvement est joué par builders.js (l'API d'animation du
   navigateur : ha-page.css coupe toute transition et toute animation CSS de la page) ------------------------ */
html.bu-anime .bu-panneau:not(.bu-vu) .bu-orbite-1 { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.bu-anime .bu-panneau:not(.bu-vu) .bu-halo,
html.bu-anime .bu-panneau:not(.bu-vu) .bu-satellite { opacity: 0; }

/* --- 9. les largeurs moyennes et le téléphone --------------------------------------------------- */
@media (max-width: 1180px) {
  html.bu-a .bu-terme-tete { padding: 14px 14px 14px 12px; gap: 12px; }
  html.bu-a .bu-detail { padding: 0 14px 16px 12px; }
  html.bu-a .bu-terme-texte { font-size: 16px; }
  html.bu-a .bu-nom { font-size: 54px; }
}
@media (max-width: 1024px) {
  .td-onglet.bu-onglet .td-onglet-titre { font-size: 23px; }
  .td-builders.bu-panneau { padding: 44px 36px 48px; }
  html.bu-a .bu-photo { width: 92px; height: 92px; }
  html.bu-a .bu-profil { transform: translate(-50%, -46px); }
}
@media (min-width: 761px) and (max-width: 900px) {
  /* la tablette : trois cartes serrées, le texte ne passe plus sous la flèche ; le Data Builder ne coiffe plus l'étiquette du Product Builder */
  html.bu-a .bu-terme-tete { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 8px; padding: 14px 14px 16px; }
  html.bu-a .bu-terme-icone { justify-self: start; width: 44px; height: 44px; border-radius: 14px; }
  html.bu-a .bu-terme-icone svg { width: 28px; height: 28px; }
  html.bu-a .bu-terme-icone img { width: 18px; }
  html.bu-a .bu-terme-texte { grid-column: 1 / -1; grid-row: 2; font-size: 15.5px; }
  html.bu-a .bu-terme-pli { align-self: start; }
  html.bu-a .bu-detail { padding: 0 14px 16px; }
  html.bu-a .bu-profil[data-place="product-builder"] { --bu-x: 86%; --bu-y: 40%; }
  html.bu-a .bu-profil[data-place="data-builder"] { --bu-x: 72%; --bu-y: 77%; }
}
@media (max-width: 760px) {
  .td-onglets.bu-onglets { gap: 6px; }
  .td-onglet.bu-onglet { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 16px 14px 18px; border-radius: 20px 20px 0 0; }
  .td-onglet.bu-onglet[aria-selected="true"] { padding-bottom: 22px; --bu-conge: 16px; }
  .td-onglet.bu-onglet[aria-selected="true"] { box-shadow: inset 0 5px 0 var(--ha-jaune); }
  .td-onglet.bu-onglet .td-onglet-titre { font-size: 17px; line-height: 1.12; letter-spacing: -.02em; }
  .td-builders.bu-panneau { padding: 30px 16px 34px; border-radius: 0 0 28px 28px; }
  .bu-decor { width: 140%; right: -50%; top: -30px; }
  .bu-terme-tete { gap: 14px; }
  .bu-terme-icone { width: 46px; height: 46px; border-radius: 14px; }
  .bu-terme-icone svg { width: 30px; height: 30px; }
  .bu-terme-icone img { width: 19px; }

  html.bu-a .bu-termes { flex-direction: column; align-items: stretch; gap: 0; margin-top: 16px; height: auto; }
  html.bu-a .bu-terme { flex: none; max-width: none; border-radius: 18px; }
  html.bu-a .bu-terme-tete { padding: 12px 14px; min-height: 0; }
  html.bu-a .bu-detail { padding: 0 14px 16px; }
  html.bu-a .bu-terme-texte { font-size: 16px; }
  html.bu-a .bu-signe { align-self: center; width: 34px; height: 34px; margin: 10px 0; font-size: 22px; }
  html.bu-a .bu-equation::after { height: 30px; margin-top: 10px; }
  /* la scène : tout se mesure sur sa largeur (le rapport est fixe) ; la silhouette garde sa taille, l'ovale se réduit et
     passe derrière elle, plat comme à l'ordinateur : à la taille, devant le halo, les profils de chaque côté et le Data
     Builder au-dessus de sa tête */
  html.bu-a .bu-scene { --sc-r: 326 / 595; --fig-t: 24.9%; --fig-h: 71.6%; --halo-t: 6%; --halo-w: 76%;
    --o-l: 2.1%; --o-t: 33.6%; --o-w: 95.8%; --o-h: 50.1%;
    width: min(100%, 440px); aspect-ratio: var(--sc-r); margin: 24px auto 0; }
  html.bu-a .bu-astre { top: var(--fig-t); height: var(--fig-h); }
  html.bu-a .bu-halo { top: var(--halo-t); width: var(--halo-w); }
  html.bu-a .bu-orbites { left: var(--o-l); top: var(--o-t); width: var(--o-w); height: var(--o-h); }
  html.bu-a .bu-photo { width: 70px; height: 70px; box-shadow: 0 0 0 3px var(--ha-blanc), var(--bu-ombre); }
  html.bu-a .bu-satellite { gap: 6px; }
  html.bu-a .bu-etiquette { padding: 6px 10px 8px; border-radius: 13px; }
  html.bu-a .bu-profil-nom { font-size: 15px; }
  html.bu-a .bu-plus { margin-top: 3px; font-size: 12px; gap: 6px; }
  html.bu-a .bu-plus-rond { width: 18px; height: 18px; }
  html.bu-a .bu-plus-rond::before, html.bu-a .bu-plus-rond::after { width: 8px; margin-left: -4px; }
  /* l'ovale passe devant le halo jaune et derrière la silhouette */
  html.bu-a .bu-astre { z-index: auto; }
  html.bu-a .bu-halo { z-index: 1; }
  html.bu-a .bu-orbites-arriere { z-index: 2; }
  html.bu-a .bu-figure { z-index: 3; }
  html.bu-a .bu-orbites-avant { z-index: 4; }
  html.bu-a .bu-profil { z-index: 5; }
  /* la photo se pose sur l'ovale, l'étiquette pend dessous, calée sur le bord de l'écran : à gauche pour l'un, à droite pour l'autre */
  html.bu-a .bu-profil { transform: translate(-50%, -35px); }
  html.bu-a .bu-profil[data-place="pm-ia"] { --bu-x: max(11%, 36px); --bu-y: 66.8%; transform: translate(-35px, -35px); }
  html.bu-a .bu-profil[data-place="pm-ia"] .bu-satellite { align-items: flex-start; }
  html.bu-a .bu-profil[data-place="product-builder"] { --bu-x: min(89%, calc(100% - 36px)); --bu-y: 61.6%; transform: translate(calc(-100% + 35px), -35px); }
  html.bu-a .bu-profil[data-place="product-builder"] .bu-satellite { align-items: flex-end; }
  html.bu-a .bu-profil[data-place="data-builder"] { --bu-x: 50%; --bu-y: 18%; transform: translate(-50%, calc(-100% + 35px)); }
  html.bu-a .bu-profil[data-place="data-builder"] .bu-satellite { flex-direction: column-reverse; }
  html.bu-a .bu-resultat { margin-top: 0; }
  html.bu-a .bu-egal { width: 48px; height: 48px; }
  html.bu-a .bu-egal svg { width: 22px; height: 14px; }
  html.bu-a .bu-nom { margin-top: 12px; font-size: 38px; }
  html.bu-a .bu-phrase { margin-top: 12px; font-size: 18px; }

}
@media (max-width: 359px) {
  /* les plus petits écrans : photos et étiquettes resserrées, pour que les trois profils ne se coiffent pas */
  html.bu-a .bu-photo { width: 58px; height: 58px; }
  html.bu-a .bu-profil { transform: translate(-50%, -29px); }
  html.bu-a .bu-profil[data-place="pm-ia"] { transform: translate(-29px, -29px); }
  html.bu-a .bu-profil[data-place="product-builder"] { transform: translate(calc(-100% + 29px), -29px); }
  html.bu-a .bu-profil[data-place="data-builder"] { transform: translate(-50%, calc(-100% + 29px)); }
  html.bu-a .bu-etiquette { padding: 5px 8px 7px; }
  html.bu-a .bu-profil-nom { font-size: 14px; }
  html.bu-a .bu-plus { font-size: 11px; gap: 5px; }
}

.td-onglet.bu-onglet { align-items: center; column-gap: 18px; padding: 22px 24px 24px; }
.td-onglet.bu-onglet[aria-selected="true"] { padding-top: 30px; }
.td-onglet.bu-onglet .td-onglet-num.bu-onglet-num {
  display: grid; place-items: center; align-self: center; flex: none;
  width: 58px; height: 58px; margin: 0; padding: 0; border-radius: 50%;
  font-family: var(--ha-sans); font-weight: 900; font-size: 33px; line-height: 1; letter-spacing: -.04em;
  font-variant-numeric: lining-nums;
  background: var(--ha-blanc); color: var(--ha-noir); box-shadow: inset 0 0 0 2px var(--ha-noir);
}
.td-onglet.bu-onglet[aria-selected="true"] .td-onglet-num.bu-onglet-num { background: var(--ha-noir); color: var(--ha-jaune); box-shadow: none; }
.td-onglet.bu-onglet:not([aria-selected="true"]):hover .td-onglet-num.bu-onglet-num { background: var(--ha-jaune); }
.td-onglet.bu-onglet .td-onglet-mots { justify-content: center; }
.td-onglet.bu-onglet .td-onglet-titre { font-size: 26px; }

.bu-surligne {
  font-weight: 700; color: var(--ha-noir);
  padding: 0 .22em; margin: 0 -.12em;
  background: linear-gradient(to bottom, transparent 45%, var(--ha-jaune) 45%, var(--ha-jaune) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.bu-conviction { margin: clamp(56px, 6.5vw, 96px) auto 0; padding: 0; max-width: 1000px; text-align: center; }
.bu-conviction-postit {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 26px;
  background: var(--ha-jaune); border-radius: 3px; transform: rotate(-7deg);
  box-shadow: 0 1px 1px rgba(24, 25, 27, .12), 0 8px 16px -6px rgba(24, 25, 27, .28);
}
.bu-conviction-postit img { display: block; width: 20px; height: auto; }
.bu-conviction-citation { margin: 0; padding: 0; }
.bu-conviction-texte {
  margin: 0; color: var(--ha-noir);
  font-family: var(--ha-sans); font-weight: 900; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; letter-spacing: -.028em;
  text-wrap: balance;
}

.td-fenetre.td-fenetre-profil { width: min(1000px, calc(100vw - 48px)); height: min(600px, calc(100vh - 48px)); background: var(--ha-blanc); }
.td-fenetre-profil .td-fp { display: grid; grid-template-columns: 340px minmax(0, 1fr); overflow: hidden; }
.td-fenetre-profil .td-fp-tete { display: flex; flex-direction: column; min-height: 0; padding: 26px 28px 30px; background: var(--ha-fond); }
.td-fenetre-profil .td-fp-portrait { flex: none; width: 100%; }
.td-fenetre-profil .td-fp-identite { margin: 22px 0 0; }
.td-fenetre-profil .td-fp-nom { margin: 0; font-size: 40px; }
.td-fenetre-profil .td-fp-texte { margin: 16px 0 0; font-size: 18px; line-height: 1.45; }
.bu-nuage { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: var(--ha-blanc); }

@media (max-width: 1024px) {
  .td-onglet.bu-onglet .td-onglet-titre { font-size: 22px; }
  .td-onglet.bu-onglet .td-onglet-num.bu-onglet-num { width: 50px; height: 50px; font-size: 28px; }
}
@media (max-width: 900px) {
  .td-fenetre-profil .td-fp { grid-template-columns: 270px minmax(0, 1fr); }
  .td-fenetre-profil .td-fp-nom { font-size: 34px; }
  .td-fenetre-profil .td-fp-texte { font-size: 17px; }
}
@media (max-width: 760px) {
  /* au téléphone : le rond du numéro au-dessus du titre, qui garde toute la largeur de l'onglet */
  .td-onglet.bu-onglet { grid-template-columns: minmax(0, 1fr); align-items: start; row-gap: 10px; padding: 16px 14px 18px; }
  .td-onglet.bu-onglet[aria-selected="true"] { padding-top: 20px; }
  .td-onglet.bu-onglet .td-onglet-num.bu-onglet-num { justify-self: start; width: 42px; height: 42px; font-size: 24px; }
  .td-onglet.bu-onglet .td-onglet-titre { font-size: 17px; }
  .bu-conviction { margin-top: 44px; padding: 0 4px; }
  .bu-conviction-postit { width: 38px; height: 38px; margin-bottom: 20px; }
  .bu-conviction-postit img { width: 17px; }
  .bu-conviction-texte { font-size: 21px; line-height: 1.24; }
}
@media (max-width: 640px) {
  /* au téléphone, plein écran comme toutes les fenêtres : la photo, le nom et la phrase en haut, le nuage dessous */
  .td-fenetre.td-fenetre-profil { width: 100%; height: 100%; }
  .td-fenetre-profil .td-fp { display: flex; flex-direction: column; }
  .td-fenetre-profil .td-fp-tete { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 20px 64px 20px 18px; }
  .td-fenetre-profil .td-fp-portrait { grid-column: 1; grid-row: 1; border-radius: 16px; }
  .td-fenetre-profil .td-fp-identite { grid-column: 2; grid-row: 1; margin: 0; }
  .td-fenetre-profil .td-fp-nom { font-size: 30px; }
  .td-fenetre-profil .td-fp-texte { grid-column: 1 / -1; grid-row: 2; margin-top: 14px; font-size: 16.5px; }
  .bu-nuage { flex: 1; min-height: 340px; margin-bottom: var(--rt-barre, 0px); }
}

.bu-terme-tete {
  margin: 0; border: 0; background: none; text-align: left; cursor: pointer; border-radius: inherit;
  -webkit-tap-highlight-color: transparent;
}
.bu-terme-tete .bu-terme-texte { flex: 1 1 auto; min-width: 0; }
.bu-terme-tete:focus-visible { outline: 2px solid var(--ha-noir); outline-offset: 3px; }
/* le signe : un chevron dans un petit rond, vers le bas fermé, vers le haut ouvert (la rotation jouée par builders.js ;
   pas de « + », qui doublerait celui de l'addition) */
.bu-terme-pli {
  display: grid; place-items: center; flex: none; align-self: flex-start; width: 26px; height: 26px;
  border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(24, 25, 27, .32); color: var(--ha-noir);
}
.bu-terme-pli svg { display: block; width: 16px; height: 16px; transform-origin: 50% 50%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.bu-terme-tete[aria-expanded="true"] .bu-terme-pli svg { transform: rotate(180deg); }
.bu-terme-tete[aria-expanded="true"] .bu-terme-pli { background: var(--ha-jaune); box-shadow: inset 0 0 0 1.5px var(--ha-noir); }
/* le survol : le signe s'affirme, la carte se soulève à peine (une ombre, posée d'un coup) */
@media (hover: hover) {
  .bu-terme-tete:hover .bu-terme-pli { background: var(--ha-noir); color: var(--ha-blanc); box-shadow: none; }
  .bu-terme-tete[aria-expanded="true"]:hover .bu-terme-pli { background: var(--ha-jaune); color: var(--ha-noir); box-shadow: inset 0 0 0 1.5px var(--ha-noir); }
  html.bu-a .bu-terme:hover { box-shadow: 0 0 0 1.5px rgba(24, 25, 27, .2), var(--bu-ombre); }
}
html.bu-a .bu-terme.bu-ouvert { box-shadow: 0 0 0 1.5px var(--ha-noir), var(--bu-ombre); z-index: 2; }
/* le détail */
.bu-detail { padding: 0 20px 20px 16px; }
.bu-detail[hidden] { display: none; }
.bu-detail::before {
  content: ""; display: block; height: 1px; margin: 0 0 14px; background: var(--bu-trait);
}
.bu-detail p, .bu-detail ul { margin: 0; }
.bu-detail-texte { font-size: 15px; line-height: 1.45; color: var(--ha-texte-2, #4a4b4f); }
.bu-detail-fort { font-weight: 700; font-size: 15.5px; line-height: 1.4; }
.bu-detail-texte + .bu-detail-fort { margin-top: 10px; }
.bu-detail-liste { padding: 0; list-style: none; display: grid; gap: 8px; }
.bu-detail-liste li { position: relative; padding-left: 18px; font-weight: 700; font-size: 15px; line-height: 1.35; }
.bu-detail-liste li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ha-jaune); box-shadow: 0 0 0 1px rgba(24, 25, 27, .35);
}
.bu-detail-exemples { margin-top: 14px !important; font-size: 12.5px; line-height: 1.55; color: var(--ha-texte-2, #4a4b4f); }
.bu-detail-point { color: rgba(24, 25, 27, .4); }
.bu-detail-suite { margin-left: 2px; font-weight: 700; }
@media (max-width: 760px) {
  .bu-terme-pli { align-self: center; }
  .bu-detail-texte, .bu-detail-fort, .bu-detail-liste li { font-size: 14.5px; }
}
