/* À propos : lettre du fondateur posée sur le fond de la page (sans feuille blanche), signature,
   colonne « Pour mémoire » au style des colonnes latérales du site, fin de page pilote. */

/* Colonne alignée sur le logo de l'en-tête. */
.ab-wrap {
  box-sizing: border-box;
  max-width: var(--ps-container);
  margin: 0 auto;
  padding-right: var(--ps-gutter);
  padding-left: var(--ps-gutter);
}

.ab-page {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 56px;
  padding-bottom: 112px;
}

.ab-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #8a7266;
  font-size: 14px;
}

.ps-page main .ab-crumbs a {
  color: inherit;
  text-decoration: none;
}

.ps-page main .ab-crumbs a:hover {
  color: var(--ps-ink);
}

.ab-crumbs [aria-current="page"] {
  color: var(--ps-ink);
}

.ab-layout {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 1fr);
  justify-content: space-between;
  align-items: start;
  gap: 72px;
}

/* ---------- Lettre ---------- */

.ab-letter {
  box-sizing: border-box;
  max-width: 680px;
  color: #2d1f18;
  font-size: 19px;
  line-height: 1.65;
}

.ps-page .ab-letter p {
  margin: 0 0 16px;
}

.ab-letter-head {
  display: flex;
  padding-bottom: 18px;
  border-bottom: 1px solid #e3d2c6;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.ab-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ps-font-sans);
}

.ab-brand img {
  width: 40px;
  height: 40px;
}

.ab-brand b {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.ab-place {
  color: #8a7266;
  font-size: 14px;
  line-height: 1.5;
  text-align: right;
}

/* Titre de la lettre : même échelle que les titres d'article. */
.ps-page main .ab-h1 {
  margin: 30px 0 22px;
  color: var(--ps-ink);
  font-family: var(--ps-font-sans);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

/* Signature : nom, puis fonction. */
.ps-page .ab-letter .ab-sign {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 32px 0 0;
  padding-top: 18px;
  border-top: 1px solid #e3d2c6;
  font-family: var(--ps-font-sans);
}

.ab-sign-name {
  color: var(--ps-ink);
  font-size: 18px;
  font-weight: 800;
}

.ab-sign-role {
  color: #8a7266;
  font-size: 15px;
}

/* ---------- Faits ---------- */

/* Colonne latérale : même traitement que le sommaire des articles (filet en haut, petit titre en capitales). */
.ab-facts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-self: end;
  width: 100%;
  max-width: 360px;
  padding-top: 14px;
  border-top: 1.5px solid var(--ps-ink);
}

.ps-page main .ab-facts-title {
  margin: 0;
  color: var(--ps-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ab-fact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ab-fact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid #e3d2c6;
  scroll-margin-top: calc(var(--ps-header-height) + 24px);
}

.ab-fact:first-child {
  border-top: 0;
}

.ab-fact-label {
  color: var(--ps-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ps-page main .ab-fact p {
  margin: 0;
  color: var(--ps-muted-light);
  font-size: 16px;
  line-height: 1.55;
}

.ps-page main .ab-fact-link {
  font-size: 15px;
  font-weight: 700;
}

.ps-page main .ab-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--ps-line-light);
  border-radius: var(--ps-radius-md);
  background: transparent;
  color: var(--ps-ink);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s var(--ps-ease);
}

.ps-page main .ab-mark:hover {
  border-color: var(--ps-orange);
  color: var(--ps-ink);
  transform: translateY(-2px);
}

.ab-mark img {
  flex: none;
  object-fit: contain;
}

.ab-mark-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ab-mark-copy strong {
  font-size: 15px;
}

.ab-mark-copy span {
  color: var(--ps-muted-light);
  font-size: 14px;
}

/* ---------- Mobile et mouvement réduit ---------- */

/* À côté de la lettre, « Pour mémoire » reste visible pendant la lecture. */
@media (min-width: 1001px) {
  .ab-facts {
    position: sticky;
    top: 120px;
  }
}

@media (max-width: 1000px) {
  .ab-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .ab-facts {
    justify-self: start;
    max-width: 680px;
  }
}

@media (max-width: 900px) {
  .ab-page {
    padding-bottom: 88px;
  }

  .ab-letter {
    font-size: 18px;
  }
}

@media (hover: none) {
  .ps-page main .ab-mark:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ps-page main .ab-mark {
    transition: none;
  }
}
