.home {
  padding-top: var(--space-4);
}

.home__title {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
  line-height: var(--lh-heading);
}

.home__lead {
  font-size: var(--text-md);
  color: var(--text-muted);
  max-inline-size: 40ch;
  margin-bottom: var(--space-16);
}

.home__subtitle {
  font-size: var(--text-sm);
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
}

.matieres {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.matieres__item {
  display: block;
}

.matieres__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-4);
  min-height: 64px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease-out-expo),
              background var(--dur-fast) var(--ease-out-expo),
              transform var(--dur-fast) var(--ease-out-expo);
}
@media (hover: hover) and (pointer: fine) {
  .matieres__link:hover {
    border-color: var(--accent);
    background: var(--bg-soft);
  }
}
.matieres__link:active {
  transform: scale(0.99);
}

.matieres__item--disabled .matieres__link {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
  background: transparent;
  border-style: dashed;
}

.matieres__titre {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--text-strong);
  flex: 1;
}

.matieres__item--disabled .matieres__titre {
  color: var(--text-muted);
}

.matieres__status {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  background: var(--bg-soft);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.matieres__item--disabled .matieres__status {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--text-muted);
}
