/* Grammaire commune des pages de la structure Enskel : elle prolonge celle de la landing
   (repères, titres en deux temps, chapeaux) sans palette ni rythme parallèles. */
.page-section {
  padding-top: clamp(96px, 10vw, 160px);
}
.page-section-head h2 {
  margin-top: 30px;
  max-width: 18ch;
  /* Sous 440 px, la taille suit l’écran : Archivo Expanded est large, un titre d’un seul
     tenant (« un seul système. ») tient ainsi sur sa ligne. */
  font-size: clamp(min(38px, 8.6vw), 4.4vw, 64px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.058em;
  text-wrap: balance;
}
.page-section-head h2 > span {
  display: block;
}
.page-section-head--accent h2 > span + span {
  margin-top: 5px;
  color: var(--color-accent);
}
.page-section-head--period h2 > span + span {
  margin-top: 5px;
}
.page-title-period {
  color: var(--color-accent);
}
.page-section-subtitle {
  max-width: 34ch;
  margin-top: 18px;
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.045em;
  color: var(--color-muted);
  text-wrap: balance;
}
.page-section-lead {
  max-width: 46ch;
  margin-top: 26px;
  font-size: clamp(18px, 1.48vw, 21px);
  line-height: 1.55;
  letter-spacing: -0.035em;
  color: color-mix(in srgb, var(--color-graphite) 76%, var(--color-canvas));
  text-wrap: pretty;
}
/* Le sujet de la page, dans les mots d'une recherche, ouvre le titre : même place et même
   graphie que le repère qu'il remplace, mais dans le h1. */
.page-hero h1 .page-hero-topic {
  margin-bottom: 34px;
  max-width: none;
  color: var(--color-graphite);
  text-transform: uppercase;
  text-wrap: balance;
}
/* Sur deux lignes, le trait rouge reste au milieu de la première (interligne 1,5). */
.page-hero h1 .page-hero-topic {
  align-items: flex-start;
}
.page-hero-topic > span:first-child {
  margin-top: 0.75em;
}
/* Le trait rouge du repère est son premier span ; le texte ne doit pas en prendre la forme. */
.page-hero-topic > .page-hero-topic-text {
  width: auto;
  height: auto;
  flex: 0 1 auto;
  background: none;
}
/* Le titre se coupe en lignes d'égale longueur, comme le h1 qui le porte. */
.page-hero-title {
  display: block;
  text-wrap: balance;
}
/* Surtitres des sections et de l'ouverture : un repère sur deux lignes se coupe en parts égales. */
.page-hero > .section-index,
.page-section-head .section-index {
  text-wrap: balance;
}
.page-hero h1 {
  max-width: 17ch;
  /* Pages commerciales : la graisse des titres de l’ancienne landing, de « Pourquoi » et
     d’« À propos » (710 à 740), pas celle des articles (520, gardée par les guides). */
  font-weight: 740;
}
.page-faq {
  padding-top: clamp(96px, 10vw, 160px);
}
.rich-link {
  text-decoration: underline;
  text-decoration-color: color-mix(
    in srgb,
    var(--color-accent) 55%,
    transparent
  );
  text-underline-offset: 4px;
  transition: text-decoration-color var(--motion-hover) var(--motion-ease-out);
}
.rich-link:hover {
  text-decoration-color: var(--color-accent);
}

/* Points numérotés (« En bref », « La méthode ») : repère mono, titre, texte. */
.page-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(34px, 4vw, 64px) clamp(28px, 4vw, 72px);
  margin-top: clamp(48px, 6vw, 84px);
}
.page-points > li {
  display: grid;
  align-content: start;
  gap: 14px;
}
.page-points-index {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 400 11px/1.5 var(--font-mono);
  letter-spacing: 0.14em;
  color: var(--color-muted);
}
.page-points-index::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--color-accent);
}
.page-points h3 {
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.page-points p {
  color: #565656;
  font-size: 16px;
  line-height: 1.7;
  text-wrap: pretty;
}

/* Les titres de FAQ des pages sont plus longs que « Vos questions. » : ils passent à la ligne. */
.page-faq .faq-copy h2 > span {
  white-space: normal;
  text-wrap: balance;
}
