/* Hub des démos : la maison OctyVIBE, presque-noir, violet réservé aux actions */
:root {
  --bg: #121214; --surface: #1a1a1d; --surface-2: #222226;
  --ink: #f1efeb; --muted: #a3a09a; --line: #2e2e33;
  --accent: #b98cff; --accent-ink: #16101f; --danger: #ff8a80; --ok: #7fd49b;
  --font-display: 'Instrument Serif', Georgia, serif; --font-text: Inter, system-ui, sans-serif;
  --radius: 16px; --radius-sm: 10px;
  --max: 1280px;
}
body { background: var(--bg); }
.democredit { border-color: var(--line); }

.hub-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.hub-brand { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; font-weight: 600; font-size: 15px; text-decoration: none; letter-spacing: .01em; }
.hub-brand span { color: var(--muted); font-weight: 400; }
.hub-back { min-height: 44px; }

.hub-intro { padding-block: clamp(48px, 10vw, 128px) clamp(40px, 6vw, 72px); display: grid; gap: 22px; }
.hub-kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hub-intro h1 { font-size: clamp(44px, 8.4vw, 116px); line-height: .95; font-weight: 400; letter-spacing: -.02em; max-width: 13ch; }
.hub-intro h1 em { font-style: italic; color: var(--muted); }
.hub-lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 58ch; }

/* Liste éditoriale : une rangée par démo, le numéro et le nom portent la lecture */
.hub-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.hub-card { display: grid; gap: 16px; text-decoration: none; border-radius: var(--radius); }
.hub-shot { display: block; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); aspect-ratio: 16 / 10; outline: 1px solid var(--line); outline-offset: -1px; }
.hub-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 600ms var(--ease-out), opacity var(--t-in); }
.hub-card:hover .hub-shot img { transform: scale(1.025); }
.hub-meta { display: grid; grid-template-columns: 44px 1fr auto; align-items: baseline; gap: 2px 12px; }
.hub-num { grid-row: span 2; font: 400 14px/1 var(--font-text); color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 10px; }
.hub-name { font: 400 clamp(30px, 3vw, 40px)/1.05 var(--font-display); }
.hub-sector { justify-self: end; font-size: 13px; color: var(--muted); }
.hub-does { grid-column: 2 / -1; font-size: 15px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.hub-does::after { content: "→"; color: var(--accent); transition: translate var(--t-in) var(--ease-out); }
.hub-card:hover .hub-does::after { translate: 4px 0; }

.hub-more { padding-block: clamp(72px, 10vw, 128px) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 40px; }
.hub-more h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 400; }
.hub-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hub-links li { border-bottom: 1px solid var(--line); }
.hub-links a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 22px 4px; min-height: 64px; text-decoration: none; }
.hub-links__t { font-weight: 600; font-size: 17px; }
.hub-links__d { grid-column: 1; color: var(--muted); font-size: 15px; }
.hub-links .i { grid-row: 1 / span 2; grid-column: 2; color: var(--accent); transition: translate var(--t-in) var(--ease-out); }
.hub-links a:hover .i { translate: 4px 0; }

.hub-cta { padding-block: clamp(72px, 10vw, 140px); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.hub-cta h2 { font-size: clamp(34px, 4.6vw, 64px); font-weight: 400; max-width: 16ch; }

@media (max-width: 760px) {
  .hub-back { display: none; }
  .hub-list { grid-template-columns: 1fr; }
  .hub-more { grid-template-columns: 1fr; }
  .hub-meta { grid-template-columns: 36px 1fr; }
  .hub-sector { grid-column: 2; justify-self: start; }
  .hub-cta .btn { width: 100%; }
}
