/* Arbre du collectif (15/10/2026) : le client est à la racine, l'arbre pousse au scroll. */
.arbre { --t-trunk: #efdec6; --t-leaf: #c8ee5e; --t-root: #ff2d6f; --t-ink: #f6ecdf; --t-mut: #d3c5c9; --t-bg: #0f0c0e;
  --f-name: 12.5px; --f-sk: 12px; --f-cl: 17px; --f-cls: 13.5px;
  max-width: 1280px; margin-inline: auto; padding: clamp(48px, 7vw, 110px) clamp(16px, 5vw, 72px) 0; position: relative; }
.arbre__intro { max-width: 46ch; margin-bottom: 24px; }
.arbre__intro h2 { margin-bottom: 18px; }
.arbre__intro p:not(:first-child):not(h2) { color: var(--t-mut); margin: 0 0 .75em; max-width: 46ch; font-size: 18px; line-height: 1.5; }
.arbre__steps { display: none; list-style: none; margin: 0; padding: 0; }
.arbre__scroll { height: 330vh; }
.arbre__stage { position: sticky; top: 72px; height: calc(100vh - 72px); height: calc(100svh - 72px); display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 10px; }
.ar-top { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; flex: none; min-height: 30px; }
.ar-tag { margin: 0; padding: 4px 12px; border: 1px solid var(--t-leaf); border-radius: 999px; color: var(--t-leaf); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.ar-pick { display: flex; gap: 6px; }
.ar-pick[hidden] { display: none; }
.ar-pick button { font: inherit; font-size: 13px; color: var(--t-ink); background: transparent; border: 1px solid rgba(246, 236, 223, .4); border-radius: 999px; padding: 3px 11px; cursor: pointer; }
.ar-pick button[aria-pressed="true"] { background: var(--t-leaf); color: #14110f; border-color: var(--t-leaf); }
.ar-caps { position: relative; width: 100%; max-width: 520px; height: 6.9em; flex: none; font-size: 15.5px; line-height: 1.4; color: var(--t-mut); }
.ar-cap { position: absolute; left: 0; right: 0; top: 0; margin: 0; opacity: 0; }
.ar-cap[data-s="4"] { opacity: 1; }
.ar-cap strong { color: var(--t-leaf); font-weight: 600; }
.ar-tree { position: relative; flex: 1 1 0; min-height: 0; aspect-ratio: 400 / 800; max-width: 100%; container-type: inline-size; }
.ar-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ar-ground { stroke: var(--t-trunk); stroke-opacity: .35; stroke-width: 1; stroke-dasharray: 3 7; }
.ar-bl, .ar-root, .ar-thread { fill: none; stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.ar-trunk { fill: var(--t-trunk); stroke: none; }
.ar-bl { stroke: var(--t-trunk); stroke-width: 1.7; stroke-linecap: round; }
.ar-root { stroke: var(--t-root); stroke-width: 2.6; stroke-opacity: .85; }
.ar-lf path { fill: var(--t-leaf); fill-opacity: .6; }
.ar-crown .ar-lf path { fill-opacity: .5; }

.ar-nodes { list-style: none; margin: 0; padding: 0; }
.ar-n { position: absolute; width: 11.5cqw; height: 11.5cqw; transform: translate(-50%, -50%); }
.ar-n a { display: block; position: relative; width: 100%; height: 100%; color: inherit; text-decoration: none; }
.ar-n img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #181317; border: 2px solid var(--t-leaf); box-shadow: 0 0 0 4px rgba(200, 238, 94, .16), 0 0 22px rgba(200, 238, 94, .25); }
.ar-lab { position: absolute; bottom: 74%; width: 31cqw; font-size: var(--f-name); line-height: 1.22; }
.ar-n--L .ar-lab { left: calc(100% + 1.5cqw); text-align: left; }
.ar-n--R .ar-lab { right: calc(100% + 1.5cqw); text-align: right; }
.ar-lab strong, .ar-clab strong, .ar-glab strong { display: block; color: var(--t-ink); font-weight: 700; }
.ar-sk { display: block; color: var(--t-mut); font-size: var(--f-sk); margin-top: 1px; }
.ar-n a:hover img, .ar-n a:focus-visible img { box-shadow: 0 0 0 4px rgba(255, 45, 111, .45), 0 0 26px rgba(255, 45, 111, .35); border-color: var(--t-root); }
.ar-n a:focus-visible { outline: 2px solid var(--t-ink); outline-offset: 4px; border-radius: 50%; }
.ar-face { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 2px dashed var(--t-leaf); color: var(--t-leaf); font-size: 1.4em; position: absolute; inset: 0; }

.ar-client { position: absolute; left: 50%; top: 86%; width: 0; height: 0; }
.ar-seed { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); width: 9.5cqw; height: 9.5cqw; border-radius: 50%; background: var(--t-bg); border: 2px solid var(--t-root); display: grid; place-items: center; box-shadow: 0 0 20px rgba(255, 45, 111, .35); }
.ar-seed svg { width: 55%; height: 55%; fill: none; stroke: var(--t-leaf); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ar-clab { position: absolute; top: 6cqw; left: 0; transform: translateX(-50%); width: 76cqw; text-align: center; line-height: 1.2; background: rgba(15, 12, 14, .85); padding: 3px 0; }
.ar-clab strong { font-size: var(--f-cl); }
.ar-clab .ar-sk { font-size: var(--f-cls); color: var(--t-ink); }
.ar-gate { position: absolute; left: 49%; top: 74.5%; width: 0; height: 0; }
.ar-ring { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); width: 7cqw; height: 7cqw; border-radius: 50%; background: var(--t-bg); border: 2px solid var(--t-leaf); box-shadow: 0 0 0 4px rgba(200, 238, 94, .18), 0 0 16px rgba(200, 238, 94, .4); }
.ar-glab { position: absolute; left: 5.5cqw; top: 0; transform: translateY(-50%); width: 38cqw; font-size: var(--f-name); line-height: 1.22; }
.ar-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (min-width: 960px) {
  .arbre { --f-name: 16px; --f-sk: 14.5px; --f-cl: 22px; --f-cls: 16.5px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4vw; align-items: stretch; }
  .arbre__intro { margin: 0 0 8vh; }
  .arbre__intro p:not(:first-child):not(h2) { font-size: 19px; }
  .arbre__scroll { height: auto; }
  .arbre__stage { top: 84px; height: calc(100vh - 100px); height: calc(100svh - 100px); }
  .ar-caps { display: none; }
  .ar-n { width: 15cqw; height: 15cqw; }
  .arbre__steps { display: block; padding-bottom: 42vh; }
  .arbre__steps li { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; gap: 8px; opacity: .3; transition: opacity .4s; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.45; color: var(--t-ink); max-width: 30em; }
  .arbre__steps li.is-on { opacity: 1; }
  .arbre__steps li strong { color: var(--t-leaf); font-size: 1.15em; }
  /* les noms sortent de l'arbre : plus de place pour de grandes polices */
  .ar-lab { bottom: auto; top: 50%; transform: translateY(-50%); width: 150px; }
  .ar-n--L .ar-lab { left: auto; right: calc(100% + 14px); text-align: right; }
  .ar-n--R .ar-lab { right: auto; left: calc(100% + 14px); text-align: left; }
  .ar-glab { left: 7cqw; width: 170px; }
  .ar-clab { width: 100cqw; }
}
@media (min-width: 960px) and (max-height: 820px) {
  .arbre { --f-name: 15px; --f-sk: 13.5px; --f-cl: 20px; --f-cls: 15px; }
}
@media (max-width: 959px) {
  .arbre__intro { margin-inline: auto; }
  .arbre__scroll { height: auto; }
  .arbre__stage { position: relative; top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .arbre__scroll { height: auto; }
  .arbre__stage { position: static; height: auto; }
  .ar-tree { flex: none; width: min(100%, 520px); height: auto; }
  .arbre__steps li { opacity: 1; min-height: 0; padding-block: 12px; }
}
.arbre.is-static .arbre__scroll { height: auto; }
.arbre.is-static .arbre__stage { position: static; height: auto; }
.arbre.is-static .ar-tree { flex: none; width: min(100%, 520px); height: auto; }
.arbre.is-static .arbre__steps li { opacity: 1; min-height: 0; padding-block: 12px; }

/* LAB_1710 */
@media (min-width: 960px) and (max-width: 1420px) { .ar-n--R .ar-lab { width: 20cqw; } }

/* VISAGES_1710 : plusieurs experts au bout d'une branche */
/* MEME_TAILLE_1710 : tous les visages d'une branche ont la taille du premier, en éventail vers le tronc */
.ar-n .ar-more { position: absolute; top: 0; display: flex; height: 100%; pointer-events: none; }
.ar-n--R .ar-more { right: 72%; flex-direction: row-reverse; }
.ar-n--L .ar-more { left: 72%; }
.ar-n .ar-more { width: 100%; }
.ar-n .ar-more img { flex: none; width: 100%; height: auto; aspect-ratio: 1; margin: 0 0 0 -28%; border-width: 2px; box-shadow: 0 0 0 3px #0d0a0c; }
.ar-n--R .ar-more img { margin: 0 -28% 0 0; }
.ar-n .ar-more img:first-child { margin: 0; }
.ar-n a > img { position: relative; z-index: 1; }
.ar-pick button { text-align: center; justify-content: center; }

/* MOBILE_1710 : sur téléphone, le texte passe sous la bulle, petit et aligné sur le bord, pour ne plus toucher le tronc ni les feuilles */
@media (max-width: 959px) {
  .ar-n .ar-lab { top: calc(100% + 6px); bottom: auto; transform: none; width: 30cqw; font-size: 11.5px; line-height: 1.25; }
  .ar-n--R .ar-lab { right: 0; left: auto; text-align: right; }
  .ar-n--L .ar-lab { left: 0; right: auto; text-align: left; }
  .ar-n .ar-lab strong { font-size: 12px; }
  .ar-n .ar-lab .ar-sk { font-size: 11px; }
}

/* PORTE_1710 */
@media (max-width: 959px) {
  .ar-glab { left: auto; right: 6cqw; width: 30cqw; text-align: right; font-size: 11.5px; }
  .ar-glab strong { font-size: 12px; }
  .ar-n .ar-lab { width: 27cqw; }
}

/* GRANDS_TEXTES_1710 */
@media (max-width: 959px) {
  .ar-n .ar-lab { width: 38cqw; }
  .ar-glab { white-space: nowrap; width: auto; }
  .ar-glab .ar-sk { display: none; }
}

/* ARC_1710 : sur ordinateur, les autres visages s'ouvrent en arc de cercle au-dessus de la bulle principale */
@media (min-width: 960px) {
  .ar-n .ar-more { inset: 0; width: 100%; height: 100%; right: auto; left: 0; top: 0; display: block; }
  .ar-n .ar-more img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0 !important;
    --a: calc(var(--a0) + var(--i) * (var(--ouv) / max(1, var(--n) - 1)));
    transform: rotate(var(--a)) translateY(-108%) rotate(calc(var(--a) * -1)) scale(.86); transform-origin: 50% 50%; }
  .ar-n--R .ar-more { --a0: -78deg; --ouv: 88deg; }
  .ar-n--L .ar-more { --a0: -10deg; --ouv: 88deg; }
  .ar-n--R .ar-more[style*="--n:1"] img { --a: -30deg; }
  .ar-n--L .ar-more[style*="--n:1"] img { --a: 30deg; }
  .ar-n .ar-more img:hover { z-index: 3; }
}

/* 960 a 1279 px : colonne arbre plus large, noms plus etroits, rien ne depasse de l'ecran */
@media (min-width: 960px) and (max-width: 1279px) {
  .arbre { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 3vw; overflow-x: clip; }
  .ar-lab, .ar-n--R .ar-lab { width: 118px; font-size: 14.5px; }
  .ar-n--L .ar-lab { right: calc(100% + 8px); }
  .ar-n--R .ar-lab { left: calc(100% + 8px); }
  .arbre__steps li { max-width: 24em; }
  .arbre__stage { padding-inline: 110px; }
}

/* residus du fond noir : libelle Vous et anneau des visages en vert du site */
.ar-clab { background: rgba(13, 26, 20, .85); }
.ar-n .ar-more img { box-shadow: 0 0 0 3px #0d1a14; }

/* vocaux 2610 : texte gris blanc */
.arbre{--t-mut:#cdd3ce}
