/* Page Degas — mise en page historique (uniquement liée depuis degas.html) */

.degas-page { padding-top: 48px; }
.degas-page__wrap {
  max-width: 800px;
  margin: 0 auto;
}
.degas-page__wrap > h2,
.degas-page__wrap .degas-section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin: 2.4rem 0 0.9rem;
  color: var(--color-ink);
}
.degas-lead,
.degas-page__wrap > p,
.degas-prose {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--color-ink);
  margin: 0 0 1.15rem;
}
.degas-lead {
  font-size: 1.18rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Frise 1834–1887 */
.degas-timeline {
  list-style: none;
  margin: 0 0 2.6rem;
  padding: 1.35rem 0 1.25rem;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.degas-timeline__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin: 0 0 1.2rem;
}
.degas-timeline ol {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.15rem;
  border-left: 2px solid var(--color-accent);
}
.degas-timeline li {
  position: relative;
  padding: 0 0 1.15rem 1.35rem;
}
.degas-timeline li:last-child { padding-bottom: 0.2rem; }
.degas-timeline li::before {
  content: "";
  position: absolute;
  left: -1.15rem;
  top: 0.45rem;
  width: 9px;
  height: 9px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-bg);
}
.degas-timeline__year {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--color-burgundy);
  line-height: 1.3;
  margin-bottom: 0.15rem;
}
.degas-timeline__text {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Citation */
.degas-quote {
  margin: 1.6rem 0 1.8rem;
  padding: 1.25rem 1.4rem 1.15rem;
  background: #f7f4ee;
  border-left: 3px solid var(--color-accent);
  border-radius: 0 6px 6px 0;
}
.degas-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--color-ink);
  margin: 0 0 0.55rem;
}
.degas-quote footer {
  font-size: 0.82rem;
  font-style: normal;
  color: var(--color-ink-soft);
  line-height: 1.45;
}

/* Œuvres */
.degas-page .degas-figure {
  margin: 1.5rem 0 1.8rem;
  padding: 0;
}
.degas-page .degas-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #f3f1ee;
}
.degas-page .degas-figure figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #8a8a8a;
  text-align: center;
}

/* Documents d'archive */
.degas-docs { margin: 0.4rem 0 2rem; }
.degas-docs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 1.4rem;
}
.degas-docs figure { margin: 0; }
.degas-docs__full { margin: 0 0 0.2rem; }
.degas-docs picture,
.degas-docs img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.degas-docs figcaption,
.degas-docs__credit {
  margin: 8px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #6e6e6e;
}
.degas-docs__credit { margin-top: 4px; }
.degas-docs a {
  color: inherit;
  text-decoration: underline;
}
.degas-docs a:hover { color: #3a3a3a; }

/* Sources */
.degas-sources {
  margin: 2.8rem 0 0;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--color-line);
}
.degas-sources h2 { margin-top: 0; }
.degas-sources h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 1.1rem 0 0.45rem;
  color: var(--color-ink);
}
.degas-sources p,
.degas-sources li {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-ink-soft);
}
.degas-sources ul {
  margin: 0 0 0.6rem 1.15rem;
  padding: 0;
}
.degas-sources li { margin: 0 0 0.4rem; }
.degas-sources a {
  color: inherit;
  text-decoration: underline;
}
.degas-sources a:hover { color: #3a3a3a; }

.degas-cta {
  margin: 1.8rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

[dir="rtl"] .degas-timeline ol { padding: 0 1.15rem 0 0; border-left: 0; border-right: 2px solid var(--color-accent); }
[dir="rtl"] .degas-timeline li { padding: 0 1.35rem 1.15rem 0; }
[dir="rtl"] .degas-timeline li::before { left: auto; right: -1.15rem; margin-left: 0; margin-right: -5px; }
[dir="rtl"] .degas-quote { border-left: 0; border-right: 3px solid var(--color-accent); border-radius: 6px 0 0 6px; }
[dir="rtl"] .degas-sources ul { margin: 0 1.15rem 0.6rem 0; }

@media (max-width: 560px) {
  .degas-page { padding-top: 32px; }
  .degas-lead { font-size: 1.08rem; }
  .degas-page__wrap > p, .degas-prose { font-size: 1.02rem; }
  .degas-docs__grid { grid-template-columns: 1fr; }
  .degas-quote { padding: 1.05rem 1rem; }
  .degas-quote p { font-size: 1.12rem; }
  .degas-page .degas-figure figcaption { text-align: left; }
  [dir="rtl"] .degas-page .degas-figure figcaption { text-align: right; }
}

.degas-docs__link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.degas-cta .btn { min-width: 8.5rem; text-align: center; }
.degas-page__wrap > h2:first-of-type { margin-top: 0.4rem; }

.degas-ltr-num {
  unicode-bidi: isolate;
  direction: ltr;
  display: inline-block;
}
.degas-docs__full img {
  max-height: 920px;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
}
