/* ══════════════════════════════════════════════════════════════
   QUATRE V2 — PAGE ARTICLE
   Cover « UX law » générée en hero (fond accent + motif), puis
   titre / meta / corps sur une colonne de lecture. Voir COVERS.md.
   ═════════════════════════════════════════════════════════════ */

.art {
  padding-top: var(--nav-h, 88px);
}

/* ── Hero : la cover, contenue et arrondie ── */
.art-hero {
  width: min(var(--content-w), calc(100% - 2 * var(--pad-x)));
  margin: clamp(20px, 4vh, 52px) auto 0;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius-tile);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.art-hero .cov-svg {
  width: min(24%, 280px);
  height: auto;
}

/* ── Colonne de lecture : centrée sur la page, largeur confortable ── */
.art-wrap {
  width: min(720px, calc(100% - 2 * var(--pad-x)));
  margin-inline: auto;
  padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px);
}

/* En-tête centré (label + titre) */
.art-head {
  text-align: center;
  margin-bottom: clamp(36px, 4.5vw, 64px);
}

.art-head .mono-label {
  color: var(--grey-400);
  margin-bottom: 18px;
}

.art-title {
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--white);
}

/* Corps : colonne de lecture centrée, texte aligné à gauche (~62 caractères) */
.art-prose {
  max-width: 62ch;
  margin-inline: auto;
  color: var(--white);
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.7;
}

.art-prose > * + * {
  margin-top: 1.25em;
}

.art-lead {
  font-size: clamp(21px, 1.7vw, 26px);
  line-height: 1.45;
  color: var(--white);
}

.art-prose p {
  color: #cfcabd;
}

.art-prose blockquote {
  margin: clamp(28px, 3.5vw, 48px) 0;
  padding-left: 24px;
  border-left: 2px solid var(--brand);
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.3;
  color: var(--white);
}

/* ── Prose étendue (pages légales) ── */
.art-prose h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.2;
  color: var(--white);
  margin-top: clamp(36px, 4vw, 56px);
}

.art-prose ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #cfcabd;
}

.art-prose ul li {
  padding-left: 18px;
  position: relative;
}

.art-prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand);
}

.art-prose a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--brand);
}

.art-prose .art-note {
  font-size: 14px;
  color: var(--grey-400);
}

/* ── Bouton retour (haut de l'article) ── */
.art-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(28px, 4vw, 44px);
  padding: 10px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.art-back:hover,
.art-back:focus-visible {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--black);
}

/* ── Rebond : autres articles + projets liés ──
   Hors de .exp-body → il faut remettre le texte en blanc à la main
   (sinon les titres de section héritent du noir du body). */
.art-related {
  color: var(--white);
}

.art-related:first-of-type {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.art-rel-arts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.art-rel-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-tile);
  overflow: hidden;
  background-color: #0c0b0b;
  color: var(--white);
  transition: transform 0.6s var(--ease-out);
}

.art-rel-card:hover {
  transform: translateY(-4px);
}

.art-rel-cover {
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.art-rel-cover .cov-svg {
  width: 52%;
}

.art-rel-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 1.8vw, 28px);
}

.art-rel-title {
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.22;
}

@media (max-width: 860px) {
  .art-rel-arts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .art-hero {
    aspect-ratio: 3 / 2;
  }
  .art-hero .cov-svg {
    width: 42%;
  }
}
