/* Le hub des outils : en-tête centré, puis deux tablettes de miroirs.
   Chaque miroir porte un emblème typographique sur la glace nacrée. */
.hub { padding: clamp(1.5rem, 3vw, 2.5rem) var(--gout) clamp(2.5rem, 5vw, 4rem); text-align: center; }
.hub__t { margin: 1.2rem auto 0; max-width: 18em; font-family: var(--f-titre); font-weight: 300; font-size: var(--t-xl); line-height: 1.04; letter-spacing: -0.02em; }
.hub__t em { display: block; font-style: italic; color: var(--rose-f); }
.hub__chapo { margin: 1.4rem auto 0; max-width: 36em; color: var(--gris); font-size: var(--t-corps); line-height: 1.6; }

.hub-rang { padding-block: clamp(3rem, 6vw, 5rem); }
.hub-rang + .hub-rang { padding-top: clamp(2rem, 4vw, 3rem); }
.hub-rang__liste {
  margin: clamp(2.5rem, 4.5vw, 3.5rem) auto 0; max-width: 72rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
  justify-items: center; align-items: start;
}
.hub-objet { width: 100%; max-width: 20rem; }
.hub-objet__lien { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.55rem; }
.hub-objet__m { --w: 9.5rem; margin-bottom: 0.6rem; transition: translate 0.7s var(--ease); }
.hub-objet__glace { display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 20%, var(--blanc), var(--nacre) 55%, var(--perle)); }
.hub-objet__emb { font-family: var(--f-titre); font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: 0.02em; color: var(--encre); font-variant-numeric: tabular-nums; }
.hub-objet__nom { font-family: var(--f-titre); font-size: var(--t-m); line-height: 1.15; }
.hub-objet__quoi { max-width: 22em; color: var(--gris); font-size: var(--t-s); line-height: 1.5; }
.hub-objet__action { margin-top: 0.25rem; font-size: var(--t-s); font-weight: 500; background: linear-gradient(currentColor 0 0) center bottom / 0 1px no-repeat; padding-bottom: 0.15rem; transition: background-size 0.45s var(--ease); }
@media (hover: hover) {
  .hub-objet__lien:hover .hub-objet__m { translate: 0 -0.45rem; }
  .hub-objet__lien:hover .hub-objet__action { background-size: 100% 1px; }
  .hub-objet__lien:hover .fleche { translate: 0.35rem 0; }
}
.hub-objet__lien:focus-visible .hub-objet__m { translate: 0 -0.45rem; }
.hub-objet__lien:focus-visible .hub-objet__action { background-size: 100% 1px; }

@media (max-width: 899px) {
  .hub-rang__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-objet__m { --w: 7rem; }
  .hub-objet__quoi { font-size: var(--t-xs); }
}
@media (max-width: 479px) {
  .hub-rang__liste { gap: 2.2rem 1rem; }
  .hub-objet__m { --w: 6rem; }
  .hub-objet__emb { font-size: 1.4rem; }
  .hub-objet__nom { font-size: var(--t-corps); }
}
@media (prefers-reduced-motion: reduce) {
  .hub-objet__m, .hub-objet__action, .fleche { transition: none; }
}
