/* Finition de l'accueil : uniquement les sections éditoriales et les formats. */
/* Les libellés masqués des vidéos restent dans leur carte, sans élargir la page. */
.csb-vs-piste > .csb-video-card { position: relative; }
body.csb-home .csb-cn-presentation p:first-child:not(#csb) {
  font-size: clamp(17px, 1vw + 13px, 19px);
  line-height: 1.6;
  font-weight: 500;
}
body.csb-home .csb-cn-phrase:not(#csb) {
  margin: 18px 0 0;
  padding: 2px 0 2px 18px;
  border-left: 3px solid var(--a-mil-vif, #ffe06a);
  font: italic 600 clamp(17px, 1vw + 14px, 20px)/1.45 var(--csb-font-titre, Georgia, serif);
  color: var(--a-foret, #004540);
}
body.csb-home .csb-cn-objectifs { margin-top: 18px; }
body.csb-home .csb-cn-objectifs .csb-liste-titre:not(#csb) { margin: 0 0 10px; }
.csb-cn-demarche { width: 100%; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--a-trait); }
.csb-cn-demarche li { display: grid; grid-template-columns: minmax(100px, 130px) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--a-trait); }
.csb-cn-demarche strong { color: var(--a-foret, #004540); font-weight: 700; }
.csb-cn-demarche span { color: #111; }
body.csb-home .csb-cn-actions { margin-top: 20px; }

/* Les parcours sont une composition ouverte ; les filières suivantes restent des cartes en slider. */
body.csb-home .csb-rea { padding: clamp(44px, 5vw, 68px) 0 clamp(34px, 4vw, 56px); }
.csb-rea-entete { margin-bottom: 28px; }
body.csb-home .csb-rea-surtitre:not(#csb) { margin: 0 0 10px; color: var(--a-vegetal, #23734a); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
body.csb-home main .csb-rea-entete h2:not(#csb) { margin: 0 0 9px; color: #111; font-family: var(--csb-font-titre, Georgia, serif); font-size: clamp(28px, 2.3vw, 36px); line-height: 1.2; }
body.csb-home .csb-rea-entete > p:last-child:not(#csb) { margin: 0; font-size: 17px; line-height: 1.55; color: #111; }
body.csb-home .csb-rea-grille { gap: clamp(20px, 2.4vw, 36px); align-items: stretch; }
body.csb-home .csb-rea-carte { align-items: flex-start; text-align: left; padding: 17px 0 0; border-top: 1px solid var(--a-trait); min-width: 0; }
body.csb-home .csb-rea-carte + .csb-rea-carte { border-left: 0; }
body.csb-home .csb-rea-carte::before { display: none; }
.csb-rea-repere { margin-bottom: 9px; color: var(--a-vegetal, #23734a); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
body.csb-home main h3.csb-rea-titre:not(#csb) { margin: 0 0 16px; color: #111; font: 600 clamp(21px, 1.4vw + 15px, 25px)/1.2 var(--csb-font-titre, Georgia, serif); text-align: left; }
.csb-rea-photo { display: block; width: 100%; aspect-ratio: 16/10; height: auto; object-fit: cover; border-radius: 8px; background: #eef4ef; }
body.csb-home main p.csb-rea-texte:not(#csb) { margin: 16px 0 10px; max-width: none; color: #111; font-size: 15.5px; line-height: 1.55; text-align: left; }
body.csb-home main p.csb-rea-detail:not(#csb) { margin: 0 0 22px; max-width: none; color: #111; font-size: 14.5px; line-height: 1.5; text-align: left; }
.csb-rea-detail::before { content: '↗'; padding-right: 8px; color: var(--a-vegetal, #23734a); font-weight: 700; }
body.csb-home .csb-rea-lien { margin-top: auto; min-height: 36px; font-size: 14px; }

@media (max-width: 991px) {
  body.csb-home .csb-rea-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body.csb-home .csb-rea-grille { grid-template-columns: 1fr; gap: 26px; }
  body.csb-home .csb-rea-carte { padding: 17px 0 0; }
  body.csb-home .csb-rea-carte + .csb-rea-carte { border-top: 1px solid var(--a-trait); }
  .csb-rea-photo { aspect-ratio: 16/9; }
}
@media (max-width: 420px) {
  .csb-cn-demarche li { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  body.csb-home .csb-rea-lien { transition: none; }
}
