/* Recalage responsive de l’arbre et de l’introduction. */
:root{--ink:#122e26;--muted:#2f4940;--paper:#ffffff;--card:#ffffff;--line:#6f9883;--accent:#b84f28;--deep:#174d3d;--shadow:0 16px 36px #18372f26}
body{background:#ffffff;color:#122e26;-webkit-font-smoothing:antialiased}
.site-header{background:#ffffff;border-bottom-color:#b9cbbd;backdrop-filter:none}
.intro-text,.legend,.tree-help,.mobile-tip,.header-note{color:#2f4940;opacity:1}
.intro-text{font-size:18px}
.legend{font-size:14px}
.tree-help{font-size:13px}
.tree-canvas{background:#edf5ef;border-color:#9db9a6}
.tree-canvas:before{background:#edf5ef;opacity:1}
.connections path{stroke:#7fa18f}
.node a{background:#fffdf8;border-color:#8eaf9c}
.node-action{color:#52645b}
.intro{display:block}
.intro h1{max-width:900px}
.intro-text{margin-top:0}
.legend{margin-top:10px}
.tree-canvas{aspect-ratio:1200/650;min-height:560px}
.node-root{top:3%;width:15%;min-width:125px}
.node-alain{left:35%}.node-myriam{left:65%}
.node-children{top:33.2%}
.node-grand{top:63.8%;width:8%;min-width:84px}
.node-matthieu{left:10.4%}.node-emma{left:18.75%}.node-romane{left:27.1%}
.node-solene{left:43.75%}.node-maelle{left:52.1%}.node-lilian{left:60.4%}.node-raphael{left:83.3%}
@media(max-width:720px){
  html,body{overflow-x:hidden}
  .site-header{width:100%;min-width:0}
  .tree-canvas{height:auto;min-height:0;aspect-ratio:auto;overflow:visible;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px 6px;padding:24px 10px 28px}
  .tree-canvas:before{inset:0;position:absolute}
  .connections{display:none}
  .node,.node-root,.node-children,.node-grand{position:relative;inset:auto;transform:none;width:auto;min-width:0}
  .node a{min-height:76px;padding:8px 3px;box-shadow:0 3px 0 #d3dfd4}
  .node-name{font-size:12px}
  .node-action{font-size:7px;line-height:1.1;letter-spacing:.03em}
  .node-initial{width:23px;height:23px;font-size:15px}
  .node-root{grid-row:1}
  .node-alain{grid-column:2 / span 2}.node-myriam{grid-column:4 / span 2}
  .node-children{grid-row:2}
  .node-cedric{grid-column:1}.node-marine{grid-column:2}.node-arnaud{grid-column:3}.node-celine{grid-column:4}.node-damien{grid-column:5}.node-delphine{grid-column:6}
  .node-grand{grid-row:3}
  .node-matthieu{grid-column:1}.node-emma{grid-column:2}.node-romane{grid-column:3}.node-solene{grid-column:4}.node-maelle{grid-column:5}.node-lilian{grid-column:6}
  .node-raphael{grid-column:3 / span 2;grid-row:4}
  .mobile-tip{margin-top:12px}
}
