/* D. Une invitation discrète en fin de chapitre (18/10).
   Pour retirer : supprimer ce fichier, son lien dans index.html, et les trois blocs <div class="chapter-next"> de index.html. */
.chapter-next{max-width:1240px;margin:44px auto 0;padding-top:16px;border-top:1px solid var(--line)}
.chapter-next a{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:0 8px;min-height:44px;padding:10px 0;color:inherit;font-size:13px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;text-decoration:none}
.chapter-next-lead{opacity:.6}
.chapter-next-num{color:var(--terra)}
.chapter-next-arrow{display:inline-block;color:var(--terra);transition:transform .3s cubic-bezier(.2,.75,.2,1)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .chapter-next a:hover .chapter-next-arrow{transform:translateY(4px)}
}
.chapter-next a:hover{text-decoration:underline;text-underline-offset:5px}
/* Voyageurs : collé sous le texte « Après le départ », qui porte déjà sa marge basse */
#pendant-sejour>.chapter-next{max-width:none;margin-top:0;margin-inline:max(20px,calc((100% - 1240px) / 2))}
/* Le filet qui relie au chapitre suivant (.chapter-connector) déborde de 38 px vers le haut : on lui laisse la place */
#pendant-sejour>.chapter-next,.team-section>.chapter-next{padding-bottom:52px}
/* Équipes : fond vert forêt, le terracotta d'origine y manque de contraste, on prend sa version claire */
.team-section>.chapter-next{border-top-color:#f6eee238}
.team-section .chapter-next-num,.team-section .chapter-next-arrow{color:#d9825f}
@media(max-width:760px){
 .chapter-next{margin-top:28px;padding-top:10px}
 #pendant-sejour>.chapter-next,.team-section>.chapter-next{padding-bottom:40px}
 .chapter-next a{font-size:12px;letter-spacing:.1em}
}
