/* Rôle : maquette éditoriale lot 16, desktop et mobile. Domaine : blog.
 * Méthode : règles limitées au corps article, palette du site, header/footer communs.
 * Guide : docs/points-de-vue.md. */
.article-page {
  --art-corps-taille:18px; --art-corps-interligne:1.7;
  --art-deep:var(--theme-texte-principal); --art-accent:var(--theme-vitrine-accent);
  --art-ink:var(--theme-vitrine-texte); --art-white:var(--theme-surface);
  --art-muted:color-mix(in oklab,var(--art-ink) 50%,var(--art-white));
  --art-ink3:color-mix(in oklab,var(--art-ink) 66%,var(--art-white));
  --art-faint:color-mix(in oklab,var(--art-ink) 36%,var(--art-white));
  --art-border:color-mix(in oklab,var(--art-deep) 9%,var(--art-white));
  --art-tint:color-mix(in oklab,var(--art-accent) 12%,var(--art-white));
  --art-tint2:color-mix(in oklab,var(--art-accent) 7%,var(--art-white));
  --art-bg2:color-mix(in oklab,var(--art-deep) 6%,var(--theme-vitrine-fond-doux));
  --art-primary:color-mix(in oklab,var(--art-deep) 55%,var(--art-accent));
  color:var(--art-ink); background:var(--theme-vitrine-fond); font-family:var(--theme-police-interface);
}
.article-page a { color:var(--art-primary); }
.article-page a:hover { color:var(--art-deep); }
.article-page .article-large { box-sizing:border-box; width:100%; max-width:1304px; margin:0 auto; padding-left:32px; padding-right:32px; }
.article-hero { padding-top:28px; }
.article-ariane { display:flex; flex-wrap:wrap; gap:8px; align-items:center; font-size:13.5px; margin-bottom:28px; color:var(--art-muted); }
.article-ariane a { color:var(--art-muted); }
.article-hero-grille { display:grid; grid-template-columns:minmax(0,1fr) 520px; gap:48px; align-items:center; }
.article-hero-texte { display:flex; flex-direction:column; gap:18px; min-width:0; }
.article-hero h1 { margin:0; font-size:44px; line-height:1.1; font-weight:800; letter-spacing:-.025em; color:var(--art-deep); text-wrap:balance; }
.article-chapo { margin:0; font-size:19px; line-height:1.55; color:var(--art-ink3); text-wrap:pretty; }
.article-page .ahero-img { display:block; width:100%; max-width:none; margin:0; aspect-ratio:16/11; border-radius:28px; overflow:hidden; background:var(--art-tint2); }
.article-page .ahero-img img { display:block; width:100%; height:100%; object-fit:cover; }
.article-signature { display:flex; align-items:center; flex-wrap:wrap; gap:10px 22px; font-size:14px; color:var(--art-muted); padding-top:4px; }
.article-relecteur { display:flex; align-items:center; gap:10px; line-height:1.3; color:var(--art-muted)!important; }
.article-relecteur strong { color:var(--art-deep); }
.article-relecteur .expert-photo { width:36px; height:36px; }
.article-relu { font-size:12.5px; color:var(--art-faint); }
.article-date { border-left:1px solid var(--art-border); padding-left:22px; }
.article-page .article-document { display:grid; grid-template-columns:minmax(0,820px) 300px; justify-content:center; gap:40px; padding-top:48px; padding-bottom:0; align-items:start; }
.article-lecture { min-width:0; width:100%; }
.article-sommaire { min-width:0; margin-bottom:20px; }
.article-sommaire details { border-radius:12px; background:var(--art-bg2); }
.article-sommaire summary { display:flex; justify-content:space-between; align-items:center; gap:12px; cursor:pointer; list-style:none; box-sizing:border-box; min-height:44px; margin:0; padding:10px 14px; font-size:14px; line-height:20px; font-weight:800; color:var(--art-deep); }
.article-sommaire summary::-webkit-details-marker { display:none; }
.article-sommaire summary::after { content:none; }
.article-chevron { display:block; flex:0 0 18px; width:18px; height:18px; }
.article-sommaire details[open] .article-chevron { transform:rotate(180deg); }
.article-sommaire nav { display:grid; grid-template-columns:minmax(0,1fr); gap:0 12px; max-height:min(260px,45vh); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; padding:0 8px 8px; counter-reset:toc; }
.article-sommaire nav a { display:flex; align-items:baseline; gap:8px; min-width:0; padding:6px 8px; border-radius:8px; font-size:13px; font-weight:600; line-height:1.4; color:var(--art-ink3); }
.article-sommaire nav a::before { counter-increment:toc; content:counter(toc,decimal-leading-zero); color:var(--art-faint); font-size:11px; font-weight:800; }
.article-sommaire nav a[data-complement]::before { counter-increment:none; content:'—'; }
.article-sommaire nav a:hover { background:var(--art-bg2); }
.article-sommaire nav a.on { background:var(--art-tint); color:var(--art-deep); }
.article-avancement { padding:6px 16px 12px; font-size:11px; color:var(--art-faint); }
.article-avancement progress { display:block; width:100%; height:3px; margin:0 0 6px; border:0; border-radius:999px; background:var(--art-border); color:var(--art-accent); appearance:none; }
.article-avancement progress::-webkit-progress-bar { background:var(--art-border); border-radius:999px; }
.article-avancement progress::-webkit-progress-value { background:var(--art-accent); border-radius:999px; }
.article-avancement progress::-moz-progress-bar { background:var(--art-accent); border-radius:999px; }
.article-page .post { padding:0; border:0; border-radius:0; background:transparent; min-width:0; max-width:none; font-size:var(--art-corps-taille); line-height:var(--art-corps-interligne); color:var(--art-ink); counter-reset:section; }
.article-page .post p,.article-page .post li { font-size:var(--art-corps-taille); line-height:var(--art-corps-interligne); }
.article-page .post p { margin:0 0 24px; }
/* Les styles éditoriaux externalisés par la CSP gardent la police du site.
 * Les éléments de prose en ligne suivent la taille de leur parent. */
.article-page .post [data-contenu-style] { font-family:inherit!important; }
.article-page .post :is(span,strong,b,em,i,a)[data-contenu-style] { font-size:inherit!important; line-height:inherit!important; }
.article-page .post h2 { font-size:27px; line-height:1.2; font-weight:800; letter-spacing:-.02em; color:var(--art-deep); margin:40px 0 14px; scroll-margin-top:100px; }
.article-page .post h2[data-section]::before { content:attr(data-section); display:inline-block; font-size:13px; font-weight:800; margin-right:12px; color:var(--art-accent); vertical-align:middle; }
.article-page .post h3 { color:var(--art-deep); font-size:22px; line-height:1.35; }
.article-page .post ul,.article-page .post ol { padding-left:24px; }
.article-page .post li { margin-bottom:10px; }
.article-page .post .faq-sec { margin:44px 0 0; }
.article-page .post .faq-h { margin:0 0 18px; }
.article-page .faq-liste { overflow:hidden; background:var(--art-white); border:1px solid var(--art-border); border-radius:20px; }
.article-page .faq-it { margin:0; background:transparent; border:0; border-radius:0; }
.article-page .faq-it+.faq-it { border-top:1px solid var(--art-border); }
.article-page .faq-it summary { padding:18px 22px; font-size:var(--art-corps-taille); font-weight:700; color:var(--art-deep); }
.article-page .faq-chev { width:16px; height:16px; background:none; font-size:0; color:var(--art-deep); }
.article-page .faq-chev svg { display:none; }
.article-page .faq-chev::after { content:""; width:8px; height:8px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:translateY(-2px) rotate(45deg); }
.article-page .post .faq-a { padding:0 22px 20px; }
.article-page .post .faq-a p { font-size:var(--art-corps-taille); line-height:var(--art-corps-interligne); margin:0; color:var(--art-ink3); }
.article-page .post .aur-tldr { margin:32px 0 0; border:1px solid var(--art-border); border-radius:24px; padding:26px 30px; background:var(--art-white); box-shadow:0 18px 44px color-mix(in oklab,var(--theme-ombre) 42%,transparent); }
.article-page .aur-hd { margin-bottom:18px; }
.article-page .aur-ai { display:none; }
.article-page .post .aur-tldr h2 { margin:0; font-size:24px; }
.article-page .aur-sub { color:var(--art-muted); font-size:12px; }
.article-page .post .aur-tldr ul { margin:0; padding:0; list-style:none; }
.article-page .post .aur-tldr li { display:flex; gap:12px; margin:0 0 14px; font-size:var(--art-corps-taille); line-height:var(--art-corps-interligne); }
.article-page .post .aur-tldr .aur-dot { width:18px; height:18px; flex:0 0 18px; margin-top:4px; border-radius:50%; background:var(--art-accent); color:var(--art-white); display:flex; align-items:center; justify-content:center; }
.article-page .post .aur-tldr .aur-dot::after { content:'✓'; font-size:13px; font-weight:800; }
.article-page .aur-ft { border-top:1px solid var(--art-border); margin-top:14px; padding-top:14px; color:var(--art-muted); font-size:12px; }
.article-page .post .art-sources { background:var(--art-bg2); border:0; border-radius:20px; margin:32px 0 0; padding:24px 28px; }
.article-page .post .art-sources h2 { font-size:17px; margin:0 0 12px; }
.article-page .post .art-sources ol { margin:0; padding-left:18px; font-size:13px; line-height:1.6; color:var(--art-ink3); }
.article-page .lea-note { background:var(--art-tint2); border:1px solid var(--art-tint); border-radius:24px; padding:24px 28px; margin:28px 0; }
.article-page .lea-note-av { display:none; }
.article-page .lea-note-body { padding:0; }
.article-page .post .lea-note-text { font-size:var(--art-corps-taille); line-height:var(--art-corps-interligne); margin:0; }
.article-page .lea-note-eyebrow { font-size:12px; font-weight:800; text-transform:uppercase; color:var(--art-accent); letter-spacing:.08em; margin-bottom:10px; }
.article-accompagnement { position:sticky; top:100px; }
.article-offre { border:1px solid var(--art-border); border-radius:22px; padding:22px; background:var(--art-white); box-shadow:0 18px 44px color-mix(in oklab,var(--theme-ombre) 42%,transparent); }
.article-offre-label { font-size:12px; letter-spacing:.07em; font-weight:800; text-transform:uppercase; color:var(--art-accent); }
.article-offre h2 { font-size:19px; letter-spacing:-.01em; text-wrap:balance; font-weight:800; line-height:1.3; color:var(--art-deep); margin:14px 0; }
.article-offre-psy { display:flex; align-items:center; gap:12px; padding-top:4px; }
.article-offre-psy .expert-photo { width:52px; height:52px; flex:0 0 52px; }
.article-offre-psy>div { display:flex; flex-direction:column; min-width:0; gap:3px; font-size:13px; color:var(--art-muted); }
.article-offre-psy strong { color:var(--art-deep); font-size:15px; line-height:1.35; overflow-wrap:anywhere; }
.article-offre-avis { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:12px; font-size:13px; color:var(--art-ink3); }
.article-offre-avis strong { color:var(--art-deep); }
.article-offre ul { margin:0 0 16px; list-style:none; padding:0; font-size:13.5px; color:var(--art-ink3); }
.article-offre-psy~ul { border-top:1px solid var(--art-border); margin-top:16px; padding-top:8px; }
.article-offre li { display:flex; gap:8px; margin:8px 0; }
.article-offre li::before { content:'✓'; color:var(--art-accent); }
.article-offre>a { display:block; text-align:center; background:var(--art-deep); color:var(--art-white); border-radius:999px; padding:14px 8px; font-size:14px; font-weight:800; }
.article-offre>a:hover { color:var(--art-white); background:var(--art-primary); }
.article-page .article-lies { padding-top:64px; padding-bottom:64px; }
.article-lies-entete { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:22px; }
.article-lies h2 { font-size:26px; font-weight:800; margin:0; color:var(--art-deep); }
.article-lies-entete>a { font-size:14px; font-weight:700; }
.article-page .rgrid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.article-page .rcard { border:1px solid var(--art-border); background:var(--art-white); border-radius:22px; overflow:hidden; }
.article-page .rcard .ph { border:0; border-radius:0; aspect-ratio:16/10; height:auto; }
.article-page .rcard .ph img { width:100%; height:100%; object-fit:cover; }
.article-page .rcard .in { padding:20px; }
.article-page .rcard h3 { margin:8px 0 12px; font-size:18px; line-height:1.35; }
.article-page .anav-fly { display:none; }
@media (max-width:1200px) {
  .article-hero-grille { grid-template-columns:minmax(0,1fr) 42%; gap:32px; }
  .article-page .article-document { grid-template-columns:minmax(0,820px); }
  .article-accompagnement { display:none; }
}
@media (max-width:900px) {
  .article-page { --art-corps-taille:16px; --art-corps-interligne:1.65; }
  .article-page .article-large { padding-left:20px; padding-right:20px; }
  .article-hero { padding-top:20px; }
  .article-ariane { margin-bottom:14px; font-size:12.5px; }
  .article-accueil { display:none; }
  .article-hero-grille { display:flex; flex-direction:column; gap:14px; align-items:stretch; }
  .article-hero-texte { gap:14px; }
  .article-hero h1 { font-size:28px; line-height:1.15; letter-spacing:-.02em; text-wrap:initial; }
  .article-chapo { font-size:16.5px; line-height:1.5; }
  .article-signature { gap:10px; font-size:12px; padding:0; }
  .article-relecteur .expert-photo { width:32px; height:32px; }
  .article-relu { font-size:11px; }
  .article-date { flex-basis:100%; padding:0; border:0; font-size:12px; }
  .article-page .ahero-img { aspect-ratio:16/9; border-radius:20px; }
  .article-page .article-document { display:block; padding-top:24px; }
  .article-avancement { display:none; }
  .article-page .post p { margin-bottom:22px; }
  .article-page .post h2 { margin-top:32px; margin-bottom:12px; font-size:22px; }
  .article-page .post h2[data-section]::before { font-size:12px; margin-right:10px; }
  .article-page .post .aur-tldr { padding:22px 20px; border-radius:20px; margin-top:24px; }
  .article-page .post .aur-tldr h2 { font-size:22px; }
  .article-page .post .aur-tldr li { gap:10px; margin-bottom:12px; }
  .article-page .post .art-sources { padding:20px; margin-top:24px; }
  .article-page .lea-note { padding:22px 20px; border-radius:20px; }
  .article-page .faq-it summary { padding:16px; }
  .article-page .post .faq-a { padding:0 16px 16px; }
  .article-page .article-lies { padding-top:36px; padding-bottom:36px; overflow:hidden; }
  .article-lies h2 { font-size:22px; }
  .article-lies-entete { align-items:baseline; }
  .article-lies-entete>a { font-size:12px; }
  .article-page .rgrid { display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:12px; }
  .article-page .rcard { flex:0 0 230px; scroll-snap-align:start; border-radius:20px; }
  .article-page .rcard h3 { font-size:16px; }
}
.article-invitation { display:flex; flex-direction:column; gap:14px; margin:36px 0; background:var(--art-tint2); border:1px solid var(--art-tint); border-radius:24px; padding:22px 24px 20px; }
.article-message-exemple { align-self:flex-end; max-width:82%; background:var(--art-accent); color:var(--art-white); border-radius:18px 18px 4px 18px; padding:12px 16px; font-size:15px; line-height:1.5; }
.article-reponse-exemple { align-self:flex-start; max-width:88%; background:var(--art-white); border:1px solid var(--art-border); border-radius:18px 18px 18px 4px; padding:12px 16px; font-size:15px; line-height:1.5; }
.article-exemple-note { font-size:11.5px; color:var(--art-muted); }
.article-invitation-pied { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; padding-top:14px; border-top:1px solid var(--art-tint); }
.article-invitation-pied>span { font-size:13px; color:var(--art-muted); }
.article-invitation-pied a { padding:14px 22px; border-radius:999px; background:var(--art-accent); color:var(--art-white); font-size:15px; line-height:1.3; font-weight:800; }
.article-invitation-pied a:hover { color:var(--art-white); background:var(--art-primary); }
@media(max-width:900px) {
  .article-invitation { padding:20px; border-radius:20px; margin:28px 0; }
  .article-message-exemple,.article-reponse-exemple { font-size:14px; }
  .article-invitation-pied { flex-direction:column; align-items:stretch; text-align:center; }
}
/* Les cartes liées restent visibles sans attendre une animation de défilement. */
.article-page .rcard.rv { opacity:1; transform:none; }

.article-sommaire nav a[data-section]::before { content:attr(data-section); }
@media(min-width:768px) {
  .article-sommaire nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Les intitulés de spécialité peuvent être longs dans le maillage des villes. */
.article-page .cities-all { white-space:normal; overflow-wrap:anywhere; min-width:0; max-width:100%; }
