/* === RESET === */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body, h1, h2, h3, h4, p, ol, ul, blockquote, figure, dl, dd {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* === TOKENS === */
:root {
  --bg: #050505;
  --bg-elevated: #0d0c0a;
  --surface: #13110f;
  --surface-alt: #181613;
  --surface-strong: #1d1b17;
  --text: #e8decf;
  --text-strong: #f3eadc;
  --text-muted: #b9ae9b;
  --text-faint: #8e8577;
  --border: #3c372e;
  --border-strong: #5d5648;
  --accent: #d7ccb8;
  --accent-soft: rgba(232, 222, 207, 0.08);
  --accent-strong: rgba(243, 234, 220, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  --shell: 1240px;
  --measure: 46rem;
  --measure-wide: 60rem;
}

/* === TYPOGRAPHY === */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

::selection {
  color: var(--bg);
  background: var(--accent);
}

body {
  min-height: 100vh;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.72;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(232, 222, 207, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 18%),
    var(--bg);
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--text-strong);
}

p, li, dd {
  font-size: 1.06rem;
}

a {
  color: var(--text);
  text-decoration-color: rgba(232, 222, 207, 0.3);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--text-strong);
  text-decoration-color: currentColor;
}

strong {
  font-weight: 700;
}

code {
  padding: 0.08rem 0.35rem;
  font-size: 0.92em;
  color: var(--text-strong);
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

/* === LAYOUT === */
.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin: 0 auto;
}

.main-content {
  padding: 2rem 0 4rem;
}

.page-hero,
.article-header,
.section-heading {
  margin-bottom: 1.5rem;
}

.page-hero,
.article-header {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border);
}

.section-heading {
  display: grid;
  gap: 0.35rem 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.section-heading__eyebrow,
.page-hero__eyebrow,
.article-header__eyebrow,
.card__eyebrow,
.thesis-box__label,
.pager__label,
.brand__domain {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.section-heading__eyebrow,
.section-heading h2 {
  grid-column: 1;
}

.section-heading a {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  white-space: nowrap;
}

.page-hero__summary,
.article-header__summary,
.article-chapo,
.card__summary,
.glossary-entry__summary,
.content-redacted,
.editorial-note,
.toc a,
.home-hero__aside,
.site-footer__meta {
  color: var(--text-muted);
}

.page-body,
.article-body,
.doctrine-body {
  max-width: var(--measure);
}

.prose > * + * {
  margin-top: 1rem;
}

.page-body.prose p,
.page-body.prose dd,
.page-body.prose li,
.article-body.prose p,
.article-body.prose dd,
.article-body.prose li,
.doctrine-body.prose p,
.doctrine-body.prose dd,
.doctrine-body.prose li {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.prose h2 {
  margin-top: 2.75rem;
  font-size: clamp(1.7rem, 2vw, 2.25rem);
}

.prose h3 {
  margin-top: 1.9rem;
  font-size: 1.35rem;
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose blockquote {
  padding: 1.2rem 1.25rem;
  border-left: 2px solid var(--accent);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(232, 222, 207, 0.06);
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
}

/* === ACCESSIBILITY === */
.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--bg);
  background: var(--accent);
}

.skip-link:focus {
  top: 1rem;
}

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 4.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  color: inherit;
  text-decoration: none;
}

.brand__mark {
  flex: 0 0 auto;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background:
    #d6cbb6 url("../IMG/arbre-fendu-mark-320.png") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(5, 5, 5, 0.12);
}

.brand__lockup {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand__name {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  padding: 0.35rem 0;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: transparent;
}

/* === HOME === */
.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 2rem;
  padding: clamp(2rem, 6vw, 4rem) 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.home-hero::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -4rem;
  width: 18rem;
  height: 18rem;
  opacity: 0.05;
  pointer-events: none;
  background: url("../IMG/arbre-fendu-mark-320.png") center / contain no-repeat;
}

.home-hero__manifesto {
  position: relative;
  z-index: 1;
}

.home-hero__manifesto p:last-child {
  max-width: 15ch;
  font-family: "Source Sans 3", sans-serif;
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}

.home-hero__aside {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.home-hero__aside-link {
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.home-ribbon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  margin: 2rem 0;
  padding: 1rem 1.2rem;
  color: var(--bg);
  text-decoration: none;
  background: var(--accent);
}

.home-ribbon:hover {
  color: var(--bg);
}

.home-ribbon__label,
.home-ribbon__handle,
.home-ribbon__arrow {
  font-family: "Source Sans 3", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-transition {
  padding: 0 0 2rem;
  border-bottom: 1px solid var(--border);
}

.home-transition h2 a {
  font-family: "Source Sans 3", sans-serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.home-transition__feature {
  margin-top: 1.5rem;
}

.home-diptych {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding-top: 2rem;
}

.home-section + .home-section {
  margin-top: 0;
}

.home-tail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.home-tail a {
  text-decoration: none;
}

/* === CARDS === */
.card-grid,
.connection-grid,
.glossary-scaffold {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card-grid--feature {
  grid-template-columns: minmax(0, 1fr);
}

.card {
  min-width: 0;
  background: var(--surface);
}

.card__frame {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 100%;
  padding: 1.35rem;
  color: inherit;
  text-decoration: none;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent 35%),
    var(--surface);
}

.card__frame:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 35%),
    var(--surface-alt);
}

.card--feature .card__frame {
  aspect-ratio: 4 / 3;
  padding: 1.6rem;
}

.card__top,
.card__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.card__title {
  max-width: 15ch;
  font-size: clamp(1.4rem, 2.5vw, 2.15rem);
}

.card--feature .card__title {
  max-width: 18ch;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.card__summary {
  display: -webkit-box;
  overflow: hidden;
  max-width: 30ch;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
}

.card__cta {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* === TAGS === */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-list--card {
  justify-content: flex-end;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.1rem 0.6rem;
  border: 1px solid rgba(232, 222, 207, 0.18);
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(232, 222, 207, 0.04);
}

/* === STATUS === */
.status-banner,
.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  background: rgba(232, 222, 207, 0.06);
}

.status-banner {
  padding: 0.4rem 0.7rem;
  font-size: 0.9rem;
}

.status-pill {
  min-height: 1.75rem;
  padding: 0.12rem 0.6rem;
  font-size: 0.82rem;
}

.status-pill--draft,
.status-banner--draft {
  border-color: rgba(232, 222, 207, 0.28);
}

.status-pill--provisional,
.status-banner--provisional {
  border-style: dashed;
}

.status-pill--stable,
.status-banner--stable {
  color: var(--text-strong);
  border-color: rgba(243, 234, 220, 0.4);
}

/* === ARTICLES === */
.article-header h1,
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  margin-top: 0.3rem;
}

.article-chapo {
  max-width: 42rem;
  font-size: 1.22rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  margin-top: 1rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.article-body,
.page-body {
  min-width: 0;
}

.article-body + .connection-block,
.page-body + .connection-block,
.related-section + .connection-block,
.reading-next + .connection-block {
  margin-top: 3rem;
}

.editorial-note,
.thesis-box {
  max-width: 42rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.thesis-box {
  margin: 1.5rem 0;
}

.article--doctrine .article-header {
  max-width: var(--measure-wide);
}

.doctrine-layout {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.related-section,
.reading-next {
  margin-top: 3rem;
}

.listing-feature,
.doctrine-groups {
  margin-top: 2.5rem;
}

.doctrine-group + .doctrine-group {
  margin-top: 2.5rem;
}

.pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  background: var(--border);
  border: 1px solid var(--border);
}

.pager__item {
  min-height: 100%;
  padding: 1rem 1.1rem;
  color: var(--text);
  text-decoration: none;
  background: var(--surface);
}

.pager__item:hover {
  background: var(--surface-alt);
}

.pager__item strong {
  display: block;
  margin-top: 0.35rem;
}

.pager__item--empty {
  visibility: hidden;
}

/* === PAGE VARIANTS === */
.page {
  min-width: 0;
}

.page--commencer-ici .page-body {
  max-width: 48rem;
}

.page--commencer-ici .page-body p:first-of-type {
  max-width: 17ch;
  font-family: "Source Sans 3", sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.page--commencer-ici .page-body p:nth-of-type(2) {
  margin-top: 2rem;
  padding: 1rem 0;
  border-block: 1px solid var(--border);
  font-size: 1.22rem;
  color: var(--text);
}

.page--a-propos .page-body,
.page--contact .page-body {
  max-width: 38rem;
}

/* === CONNECTIONS === */
.connection-block {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.connection-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.connection-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
  padding: 1rem 1.1rem;
  color: var(--text);
  text-decoration: none;
  background: var(--surface);
}

.connection-card:hover {
  background: var(--surface-alt);
}

.connection-card__label {
  max-width: 18ch;
}

.connection-card__arrow {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
}

/* === TOC === */
.toc {
  position: sticky;
  top: 6rem;
  padding: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.toc__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.toc__header h2 {
  font-size: 1rem;
  font-family: "Source Sans 3", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.toc__toggle {
  display: none;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: transparent;
}

.toc ul {
  padding-left: 0;
  list-style: none;
}

.toc li + li {
  margin-top: 0.5rem;
}

.toc a {
  text-decoration: none;
}

.toc a.is-active,
.toc a:hover {
  color: var(--text);
}

/* === BREADCRUMBS === */
.breadcrumbs {
  margin-bottom: 1.4rem;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  list-style: none;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.breadcrumbs__list li:not(:last-child)::after {
  content: "/";
  margin-left: 0.45rem;
  color: var(--border-strong);
}

.breadcrumbs__list a {
  color: inherit;
  text-decoration: none;
}

/* === GLOSSARY === */
.alphabet-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}

.alphabet-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 2.4rem;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border-strong);
  background: var(--surface);
}

.glossary-letter + .glossary-letter {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.glossary-letter h2 {
  margin-bottom: 1rem;
}

.glossary-entry {
  max-width: var(--measure);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.glossary-empty-state {
  display: grid;
  place-items: center;
  min-height: 8rem;
  max-width: var(--measure);
  padding: 1.25rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  text-align: center;
}

.glossary-placeholder {
  display: grid;
  place-items: center;
  min-height: 9.5rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: var(--surface);
}

/* === FOOTNOTES === */
.footnote-ref {
  font-size: 0.7em;
}

.footnote {
  margin-top: 2.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.footnote ol {
  padding-left: 1.1rem;
}

.footnote-backref {
  text-decoration: none;
}

/* === EMPTY === */
.empty-state {
  padding: 1rem 1.15rem;
  color: var(--text-muted);
  border: 1px dashed var(--border-strong);
  background: var(--surface);
}

/* === FOOTER === */
.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  justify-content: space-between;
  padding: 1.15rem 0 2rem;
}

.site-footer__brand {
  color: var(--text);
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
}

.site-footer__meta a {
  color: inherit;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .home-diptych,
  .home-hero,
  .doctrine-layout {
    grid-template-columns: 1fr;
  }

  .home-hero::after {
    width: 14rem;
    height: 14rem;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    position: relative;
    align-items: flex-start;
    padding: 0.8rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav__list {
    gap: 0.65rem 0.9rem;
    flex-wrap: wrap;
  }

  .js .site-nav__list {
    display: none;
    padding-top: 0.9rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .js .site-nav.is-open .site-nav__list {
    display: flex;
  }
}

@media (max-width: 720px) {
  p,
  li,
  dd {
    font-size: 1rem;
  }

  .main-content {
    padding-top: 1.5rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading a {
    grid-column: 1;
    grid-row: auto;
  }

  .home-ribbon {
    grid-template-columns: 1fr auto;
  }

  .home-ribbon__label {
    grid-column: 1 / -1;
  }

  .card__frame,
  .card--feature .card__frame {
    aspect-ratio: auto;
    min-height: 16rem;
  }

  .pager {
    grid-template-columns: 1fr;
  }

  .toc__toggle {
    display: inline-flex;
  }

  .js .toc__panel {
    display: none;
  }

  .js .toc.is-open .toc__panel {
    display: block;
  }
}

/* ── Contact encadrés ── */
.encadres-contact {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}
.encadre-item {
  border: 1px solid currentColor;
  padding: 1rem 1.5rem;
  display: inline-block;
}

/* ── Accueil : blocs restructurés ── */
.bloc-fondateur,
.bloc-x,
.bloc-accueil-billets,
.bloc-accueil-theses {
  border: 1px solid var(--border);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}

.bloc-fondateur p {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--text-strong);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
}

.bloc-x {
  display: flex;
  align-items: center;
}

.bloc-x a {
  color: var(--text-muted);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  text-decoration: none;
}

.bloc-x a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.bloc-accueil-billets h2,
.bloc-accueil-theses h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--text-strong);
  font-size: 1.15rem;
  margin: 0 0 1rem;
  font-weight: 700;
}

.bloc-accueil-billets ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.bloc-accueil-billets ul li {
  border-top: 1px solid var(--border);
  padding: 0.5rem 0;
}

.bloc-accueil-billets ul li:first-child {
  border-top: none;
  padding-top: 0;
}

.bloc-accueil-billets ul li a,
.bloc-accueil-theses a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.bloc-accueil-billets ul li a:hover,
.bloc-accueil-theses a:hover {
  border-bottom-color: var(--accent);
}

.bloc-accueil__lien {
  margin: 0.75rem 0 0;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.9rem;
}

.bloc-accueil__lien a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.bloc-accueil__lien a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* ── Bloc Poursuivre (contenus liés par tags) ── */
.bloc-poursuivre {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.bloc-poursuivre h2 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.poursuivre-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.poursuivre-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
}

.poursuivre-item a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  flex: 1;
}

.poursuivre-item a:hover {
  border-bottom-color: var(--accent);
}

.poursuivre-type {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
