/* Chargé uniquement sur les présentations ; aucun effet sur les autres cartes. */
.chapter-section{container-type:inline-size}
.chapter-grid{grid-template-columns:minmax(0,1fr);gap:24px}
@container(min-width:640px){.chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.chapter-grid .chapter-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:28px;border:1px solid #dce2ef;border-radius:18px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}
.chapter-card .chapter-icon{display:grid;place-items:center;width:56px;height:56px;flex-shrink:0;margin-bottom:22px;border-radius:15px;color:var(--coral-text);background:#fff0e8}
.chapter-card .chapter-icon .icon{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.chapter-card .tag{margin:0 0 12px}
.chapter-card h3{margin:0 0 12px}
.chapter-card p{margin:0 0 28px}
.chapter-card .chapter-cta{margin-top:auto;max-width:100%;min-height:44px;background:#315bea;color:#fff;border:1px solid transparent;border-radius:10px;padding:12px 16px;font-size:14px;font-weight:700;line-height:1.4;text-align:left;text-decoration:none;filter:none}
.chapter-cta svg{flex-shrink:0}
@media(hover:hover){
 .chapter-grid .chapter-card:hover{border-color:#a6b5e4;box-shadow:0 6px 20px #1721390a}
 .chapter-card .chapter-cta:hover{background:#274bc8;text-decoration:none;filter:none}
}
.chapter-grid .chapter-card:focus-within{border-color:#315bea}
.chapter-card .chapter-cta:focus-visible{outline:3px solid #172139;outline-offset:4px}
.chapter-card .chapter-cta:active{background:#203da5}
@media(prefers-reduced-motion:reduce){.chapter-grid .chapter-card{transition:none}}
