/* Les P'tits Coachs: styles supplémentaires seulement, palette officielle héritée. */
.ptits-page .header.wrap{background:#fff}
.ptits-page .ptits-back{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid currentColor;border-radius:12px;text-decoration:none;font-size:14px;font-weight:650}
.ptits-page .ptits-back:hover{text-decoration:underline}
/* Paleta editorial reducida: violeta como identidad, verde como acento secundario. */
.ptits-page main>section{--section-accent:var(--sp-violeta-medio)}
.ptits-page .pc-foundations,.ptits-page .pc-training,.ptits-page .pc-evaluation{--section-accent:var(--sp-verde-medio)}
.ptits-page .pc-hero h1{font-size:clamp(48px,6vw,82px);max-width:650px}
.ptits-page .pc-claim{font:400 clamp(28px,3vw,43px)/1.15 Caacupe,sans-serif}
.ptits-page .pc-status{padding-top:14px;border-top:1px solid currentColor;font-size:13px;line-height:1.7}
.ptits-page .pc-evidence-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-top:50px}
.ptits-page .pc-evidence-grid article,.ptits-page .pc-levels>div{padding:24px 18px;border-top:6px solid var(--section-accent);background:#fff}
.ptits-page .pc-evidence-grid span{font:700 14px Epilogue,sans-serif}
.ptits-page .pc-evidence-grid h3,.ptits-page .pc-levels h3{font-size:clamp(24px,2.4vw,30px);margin:12px 0}
.ptits-page .pc-evidence-grid p,.ptits-page .pc-levels p{font-size:15px}
.ptits-page .pc-evidence-note,.ptits-page .pc-formula,.ptits-page .pc-simple-example{margin-top:40px;padding:30px;border-left:8px solid var(--section-accent);background:#fff}
.ptits-page .pc-evidence-note h3,.ptits-page .pc-formula h3{font-size:clamp(26px,3vw,36px)}
.ptits-page .pc-steps{counter-reset:pc;list-style:none;margin:50px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 38px}
.ptits-page .pc-steps li{counter-increment:pc;display:grid;grid-template-columns:40px 1fr;gap:5px 15px;border-top:2px solid currentColor;padding:20px 0}
.ptits-page .pc-steps li:before{content:counter(pc,decimal-leading-zero);grid-row:1/3;font:700 13px Epilogue,sans-serif;padding-top:3px}
.ptits-page .pc-steps strong{font-size:18px}
.ptits-page .pc-steps span{grid-column:2;font-size:15px}
.ptits-page .pc-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;margin-top:46px}
.ptits-page .pc-levels strong{font:700 14px Epilogue,sans-serif}
.ptits-page .pc-training-table{max-width:1000px;margin-top:42px;border-top:2px solid currentColor}
.ptits-page .pc-training-table>div{display:grid;grid-template-columns:110px 1fr;gap:25px;padding:15px 0;border-bottom:1px solid currentColor}
.ptits-page .pc-training-table strong{font:700 15px Epilogue,sans-serif}
.ptits-page .pc-training-table span{font-size:16px}
.ptits-page .pc-small{font-size:14px;max-width:900px;margin-top:24px}
.ptits-page .pc-session-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:45px}
.ptits-page .pc-session-strip>div{border-top:6px solid currentColor;padding-top:18px;display:flex;flex-direction:column;gap:10px}
.ptits-page .pc-session-strip strong{font:700 30px Caacupe,sans-serif}
.ptits-page .pc-session-strip span{font-weight:650;font-size:14px}
.ptits-page .pc-sources-intro{max-width:920px;font-size:18px}
.ptits-page .pc-bibliography{max-width:1000px;margin:42px 0 0}
.ptits-page .pc-bibliography article{border-top:2px solid currentColor;padding:26px 0 32px;scroll-margin-top:150px}
.ptits-page .pc-bibliography article>span{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.ptits-page .pc-bibliography h3{font-size:clamp(25px,3vw,35px);margin:14px 0}
.ptits-page .pc-bibliography article p{max-width:85ch;font-size:15px}
.ptits-page .pc-bibliography .pc-citation{font-size:13px}
.ptits-page .pc-bibliography article a{font-size:14px;font-weight:700}
.ptits-page .pc-source-note{max-width:1000px;border-top:2px solid currentColor;padding-top:25px;font-size:14px}
.ptits-page .pc-cite{font-weight:700;white-space:nowrap}
@media(max-width:900px){.ptits-page .pc-evidence-grid{grid-template-columns:repeat(2,1fr)}.ptits-page .pc-levels{grid-template-columns:1fr}}
@media(max-width:640px){.ptits-page .pc-evidence-grid,.ptits-page .pc-steps{grid-template-columns:1fr}.ptits-page .pc-session-strip{grid-template-columns:repeat(2,1fr)}.ptits-page .pc-training-table>div{grid-template-columns:75px 1fr;gap:15px}.ptits-page .header.wrap{gap:10px}.ptits-page .header .brand{width:125px}.ptits-page .ptits-back{font-size:12px}}

/* Menu contextuel propre à cette page : mêmes composants que projet.html. */
.detail-header-actions { display:flex; align-items:center; justify-content:flex-end; gap:16px; min-width:0; }
.detail-header-actions .detail-page-nav { display:block; flex-shrink:0; }
.detail-header-actions .project-menu { position:relative; }
.detail-header-actions .project-menu summary { min-height:44px; align-items:center; white-space:nowrap; color:var(--sp-violeta-medio); }
.detail-header-actions .project-menu-links { width:min(410px,calc(100vw - 40px)); max-height:min(72vh,620px); overflow-y:auto; color:var(--sp-violeta-medio); }
.detail-header-actions .project-menu-links a { font-size:13px; }
.detail-header-actions .project-menu-links a:focus-visible { outline:2px solid currentColor; outline-offset:-2px; }
.detail-header-actions > a { flex-shrink:0; }
@media (max-width:640px) {
 .detail-header-actions { gap:8px; }
 .detail-header-actions .project-menu summary { font-size:12px; padding:9px; gap:5px; white-space:normal; }
 .detail-header-actions > a { flex-shrink:1; text-align:center; padding:9px; }
 .detail-header-actions .project-menu-links { right:0; }
}

/* Composición estática: ningún componente se fija ni se apila al desplazarse. */
.ptits-page .pc-evidence-grid article,
.ptits-page .pc-levels>div {
  position:static;
  top:auto;
  box-shadow:none;
  border-top-width:3px;
  border-radius:0;
}
.ptits-page .pc-evidence-note,
.ptits-page .pc-formula,
.ptits-page .pc-simple-example {
  position:static;
  top:auto;
  border-left-width:4px;
  box-shadow:none;
}
.ptits-page .pc-session-strip>div {border-top-width:3px}

/* Données scientifiques : graphique statique avec source explicite. */
.ptits-page .pc-evidence-note {margin-top:40px}
.ptits-page .pc-study-figure {margin:30px 0 0;padding:22px;background:#fff;border:1px solid #e5e2e9;border-radius:10px}
.ptits-page .pc-study-figure img {display:block;width:100%;height:auto}
.ptits-page .pc-study-figure figcaption {margin-top:16px;color:#5e5865;font-size:13px;line-height:1.65}
.ptits-page .pc-study-figure figcaption a {text-decoration:underline}
@media(max-width:640px) {.ptits-page .pc-study-figure {padding:10px;margin-top:22px}.ptits-page .pc-study-figure figcaption {font-size:12px}}

/* Typographie conforme à la charte : Epilogue pour légendes, repères et petits textes. */
.ptits-page .eyebrow,
.ptits-page .number {font-family:Epilogue,sans-serif}

/* Alternance des sections comme dans la maquette : violet, vert, violet, vert.
   Une seule teinte dominante par section, fond très clair et défilement normal. */
.ptits-page main > section:nth-of-type(odd) {
  --section-accent:var(--sp-violeta-medio);
  color:var(--section-accent);
}
.ptits-page main > section:nth-of-type(even) {
  --section-accent:var(--sp-verde-medio);
  color:var(--section-accent);
}
.ptits-page main > section:nth-of-type(odd),
.ptits-page main > section:nth-of-type(even) {
  background:linear-gradient(90deg,
    color-mix(in srgb,var(--section-accent) 9%,white),
    color-mix(in srgb,var(--section-accent) 3%,white));
}
