/* Homepage only: original artwork on contrast-matched, equal-size stages. */
body.home-page .home-collaborations {
  --collaboration-light-surface: #f5f6fa;
  --collaboration-dark-surface: var(--dark2);
  --collaboration-edge: var(--border);
  padding: 64px 0;
  overflow: hidden;
  border-block: 1px solid var(--collaboration-edge);
  background: var(--dark2);
}
body.home-page .hl-head {
  padding: 0 clamp(20px, 5vw, 80px);
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
}
body.home-page .hl-copy { min-width: 0; }
body.home-page .hl-head .section-title {
  margin: 0;
  letter-spacing: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem) !important;
  line-height: 1.2;
}
body.home-page .hl-head p {
  color: var(--muted);
  margin: 14px 0 0;
  line-height: 1.6;
}
body.home-page .hl-toggle.btn {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  flex-shrink: 0;
}
body.home-page .hl-toggle:focus-visible,
body.home-page .hl-row:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
body.home-page .hl-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
body.home-page .hl-row {
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
  min-width: 0;
  touch-action: pan-x pan-y;
}
body.home-page .hl-row::-webkit-scrollbar { display: none; }
body.home-page .hl-row.hl-animated { overflow: hidden; touch-action: pan-y; }
body.home-page .hl-track,
body.home-page .hl-group {
  display: flex;
  width: max-content;
  flex-shrink: 0;
}
body.home-page .hl-group { gap: 24px; padding-right: 24px; }
/* Carte extérieure identique pour toutes les marques ; seule la plaque
   intérieure s'adapte (claire douce ou encre) pour garder le contraste. */
body.home-page .hl-logo {
  display: grid;
  place-items: center;
  width: 232px;
  height: 140px;
  flex: 0 0 232px;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid rgba(165, 140, 255, 0.22);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(124, 92, 255, 0.14), rgba(40, 60, 140, 0.08) 60%, rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 30px -20px rgba(110, 80, 255, 0.55);
}
body.home-page .hl-logo::before { content: none; }
body.home-page .hl-art {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #1a1830;
}
body.home-page .hl-logo[data-surface="light"] .hl-art { background: #e7e6ef; }
body.home-page .hl-logo[data-surface="dark"] .hl-art { background: radial-gradient(circle at 50% 40%, #2a2550, #15132a 75%); }
body.home-page .hl-art img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76%;
  height: 72%;
  object-fit: contain;
  opacity: 1;
  filter: none;
}
/* Équilibre optique : les marques compactes/carrées un peu moins larges. */
body.home-page .hl-logo:is([data-logo="olis-digital"], [data-logo="assises-2027"], [data-logo="maison-dunamis"], [data-logo="wauls-art-sur-meuse"], [data-logo="ose-avec-francis"]) .hl-art img { width: 56%; height: 80%; }
body.home-page .hl-logo[data-logo="aureguitare"] .hl-art img { width: 46%; height: 82%; }
/* Ignore les grandes marges transparentes du fichier fourni, pas son dessin. */
body.home-page .hl-logo[data-logo="clemilia"] .hl-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.15); }
body.home-page .hl-logo[data-logo="fondation-generations-futures"] .hl-art img { width: 86%; }
@media (max-width: 760px) {
  body.home-page .home-collaborations { padding: 56px 0; }
  body.home-page .hl-head { gap: 12px; margin-bottom: 28px; }
  body.home-page .hl-head .section-title { font-size: 1.6rem !important; }
  body.home-page .hl-head p { font-size: 0.9rem; }
  body.home-page .hl-group { gap: 18px; padding-right: 18px; }
  body.home-page .hl-rows { gap: 16px; }
  body.home-page .hl-logo { width: 196px; flex-basis: 196px; height: 120px; padding: 8px; border-radius: 16px; }
  body.home-page .hl-art { border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  body.home-page .hl-toggle { display: none; }
}