/* SEG Académie — CN-SEG-007 R9 : Comprendre mon cours
   CSS de présentation uniquement. Aucune donnée, aucun droit, aucun parcours modifié. */
body.seg-cmc-page {
  --cmc-navy: #123b5d;
  --cmc-ink: #163c59;
  --cmc-muted: #557187;
  --cmc-blue: #176a9e;
  --cmc-border: #bad4df;
  --cmc-blue-soft: #e7f1f5;
  background: linear-gradient(180deg,#f3f8fb 0,#f8fafc 410px,#f6f9fb 100%);
  color: var(--cmc-ink);
  font-family: Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
body.seg-cmc-page .seg-cmc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: calc(100% - 32px);
  max-width: 1152px;
  margin: 24px auto 0;
  min-height: 206px;
  padding: clamp(27px,3.4vw,44px) clamp(24px,4vw,54px);
  border: 1px solid #2c7195;
  border-radius: 22px;
  background: linear-gradient(112deg,#103b60 0%,#135782 54%,#187da0 100%);
  box-shadow: 0 16px 38px rgba(18,59,93,.13);
}
body.seg-cmc-page .seg-cmc-hero::before,
body.seg-cmc-page .seg-cmc-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(232,248,255,.19);
  border-radius: 50%;
}
body.seg-cmc-page .seg-cmc-hero::before {
  width: 330px;
  height: 330px;
  right: -90px;
  top: -155px;
  background: rgba(210,243,252,.035);
}
body.seg-cmc-page .seg-cmc-hero::after {
  width: 235px;
  height: 235px;
  right: 100px;
  bottom: -173px;
  border-width: 2px;
}
body.seg-cmc-page .seg-cmc-hero small {
  display: inline-block;
  padding: 7px 12px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(221,245,255,.27);
  border-radius: 999px;
  color: #d6edf8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .105em;
}
body.seg-cmc-page .seg-cmc-hero h1 {
  font-size: clamp(29px,3.5vw,43px);
  line-height: 1.14;
  letter-spacing: -.03em;
  color: #fff;
  max-width: 780px;
  margin: 17px 0 12px;
}
body.seg-cmc-page .seg-cmc-hero p {
  font-size: clamp(14px,1.45vw,16px);
  color: #e5f4fc;
  line-height: 1.65;
  max-width: 710px;
}
body.seg-cmc-page .seg-cmc-main {
  max-width: 1184px;
  padding: 0 16px 64px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
body.seg-cmc-page .seg-cmc-filter,
body.seg-cmc-page .seg-cmc-intro,
body.seg-cmc-page .seg-cmc-catalogue,
body.seg-cmc-page .seg-cmc-note {
  margin: 0;
  min-width: 0;
  padding: clamp(20px,2.6vw,30px);
  border-radius: 19px;
  box-shadow: 0 5px 22px rgba(17,57,85,.06);
}
body.seg-cmc-page .seg-cmc-main > .seg-cmc-filter { margin-top: 19px; }
body.seg-cmc-page .seg-cmc-filter {
  border: 1.5px solid var(--cmc-border);
  background: #fff;
}
body.seg-cmc-page .seg-cmc-filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 23px;
}
body.seg-cmc-page .seg-cmc-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #34769c;
  letter-spacing: .1em;
  margin-bottom: 7px;
}
body.seg-cmc-page .seg-cmc-filter-heading h2,
body.seg-cmc-page .seg-cmc-intro h2,
body.seg-cmc-page .seg-cmc-catalogue h2 {
  font-size: clamp(21px,2vw,25px);
  line-height: 1.25;
  letter-spacing: -.012em;
  color: var(--cmc-navy);
  margin: 0 0 9px;
}
body.seg-cmc-page .seg-cmc-filter-heading p {
  color: var(--cmc-muted);
  margin: 0;
  max-width: 780px;
  font-size: 14px;
  line-height: 1.6;
}
body.seg-cmc-page .seg-cmc-filter-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid #cde2eb;
  border-radius: 16px;
  background: #eaf5fa;
  font-size: 22px;
  font-weight: 800;
  color: #4383a6;
}
body.seg-cmc-page .seg-cmc-filter-grid {
  grid-template-columns: minmax(0,1.05fr) minmax(0,.73fr) minmax(0,1.32fr);
  gap: 16px;
}
body.seg-cmc-page .seg-cmc-filter-grid label {
  gap: 9px;
  font-size: 13px;
  font-weight: 750;
  color: #365b76;
}
body.seg-cmc-page .seg-cmc-filter select {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 1.5px solid #c5dce8;
  border-radius: 12px;
  color: #123e60;
  background-color: #fcfeff;
  padding: 11px 13px;
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 2px 6px rgba(27,76,110,.03);
  transition: border-color .15s ease,box-shadow .15s ease;
}
body.seg-cmc-page .seg-cmc-filter select:hover { border-color: #7fb6cd; }
body.seg-cmc-page .seg-cmc-filter select:focus-visible {
  outline: 3px solid #b9e8fa;
  outline-offset: 2px;
  border-color: #176a9e;
  box-shadow: 0 0 0 4px rgba(28,124,170,.08);
}
body.seg-cmc-page .seg-cmc-filter select:disabled {
  color: #738b9b;
  background: #f3f6f8;
}
body.seg-cmc-page .seg-cmc-status {
  margin: 16px 0 0;
  padding: 10px 13px;
  border: 1px solid #d6e8f0;
  border-radius: 10px;
  background: #f5fafc;
  min-height: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #466d84;
}
body.seg-cmc-page .seg-cmc-intro {
  border: 1px solid #ccdde6;
  background: var(--cmc-blue-soft);
}
body.seg-cmc-page .seg-cmc-intro h2 {
  margin-bottom: 7px;
}
body.seg-cmc-page .seg-cmc-intro p {
  max-width: 920px;
  margin: 0 0 19px;
  font-size: 14px;
  line-height: 1.6;
  color: #507187;
}
body.seg-cmc-page .seg-cmc-stages {
  counter-reset: cmcstep;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 13px;
}
body.seg-cmc-page .seg-cmc-stage {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 15px 13px;
  min-width: 0;
  min-height: 72px;
  border: 1px solid #c9dce6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(20,62,88,.04);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 800;
  color: #194a6b;
}
body.seg-cmc-page .seg-cmc-stage::before {
  counter-increment: cmcstep;
  content: counter(cmcstep);
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 850;
  background: #e5f2f8;
  color: #20658d;
}
body.seg-cmc-page .seg-cmc-stage:nth-child(2)::before { background: #eaf1fa; }
body.seg-cmc-page .seg-cmc-stage:nth-child(3)::before { background: #e4f4ee; color:#26705a; }
body.seg-cmc-page .seg-cmc-stage:nth-child(4)::before { background: #fff2df; color:#9a662c; }
body.seg-cmc-page .seg-cmc-catalogue {
  border: 1.5px solid #cedfe8;
  background: #fff;
}
body.seg-cmc-page .seg-cmc-related {
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
body.seg-cmc-page .seg-cmc-catalogue .seg-cmc-related {
  padding-bottom: 15px;
  border-bottom: 1px solid #e0eaf0;
}
body.seg-cmc-page #segCmcCount:not(:empty) {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #c9e1ec;
  color: #216c95;
  background: #eaf6fc;
  font-size: 12px;
  font-weight: 800;
}
body.seg-cmc-page .seg-cmc-catalogue h2 { margin: 0; }
body.seg-cmc-page .seg-cmc-list {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 15px;
  margin-top: 18px;
}
body.seg-cmc-page .seg-cmc-card {
  background: #fff;
  border: 1.5px solid var(--cmc-border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 11px rgba(16,58,88,.055);
  gap: 11px;
  transition: box-shadow .2s ease,transform .2s ease,border-color .2s ease;
}
body.seg-cmc-page .seg-cmc-card:hover {
  border-color: #7fb7d0;
  box-shadow: 0 10px 22px rgba(20,74,111,.12);
  transform: translateY(-2px);
}
body.seg-cmc-page .seg-cmc-card h3 {
  font-size: 17px;
  line-height: 1.44;
  color: #143e5e;
}
body.seg-cmc-page .seg-cmc-card small {
  font-size: 12px;
  line-height: 1.4;
  color: #668299;
}
body.seg-cmc-page .seg-cmc-card a {
  margin-top: auto;
  min-height: 46px;
  align-self: flex-start;
  background: var(--cmc-blue);
  border: 1px solid #145a86;
  border-radius: 11px;
  padding: 10px 18px;
  font-size: 13px;
  box-shadow: 0 4px 10px rgba(23,106,158,.15);
}
body.seg-cmc-page .seg-cmc-card a:hover {
  background: #10557f;
  color: #fff!important;
}
body.seg-cmc-page .seg-cmc-empty {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed #b7d0df;
  border-radius: 13px;
  background: #f7fbfd;
  color: #54748b;
  margin: 0;
  line-height: 1.5;
}
body.seg-cmc-page .seg-cmc-note {
  border: 1px solid #d3e4ea;
  background: #f3f8fb;
  color: #264e68;
}
body.seg-cmc-page .seg-cmc-note[hidden] { display:none!important; }
body.seg-cmc-page #segCmcTfe {
  border-left: 4px solid #cf973c;
  background: #fffaf0;
}
body.seg-cmc-page .seg-cmc-note.seg-cmc-related {
  border-left: 4px solid #3984b0;
  background: #f0f7fb;
  padding: 19px 23px;
}
body.seg-cmc-page .seg-cmc-note p {
  color: #547187;
  line-height: 1.55;
  margin: 7px 0 0;
}
body.seg-cmc-page .seg-cmc-note a {
  background: #fff;
  border: 1px solid #bad4df;
  color: #145b89!important;
  font-size: 13px;
  font-weight: 800;
  border-radius: 11px;
  min-height: 45px;
}
body.seg-cmc-page .seg-cmc-note a:hover {
  background: #e4f2fa;
  color: #0e4a74!important;
}
body.seg-cmc-page .seg-cmc-card a:focus-visible,
body.seg-cmc-page .seg-cmc-note a:focus-visible {
  outline: 3px solid #f0b64e;
  outline-offset: 3px;
}
@media (max-width: 850px) {
 body.seg-cmc-page .seg-cmc-filter-grid {
   grid-template-columns: repeat(2,minmax(0,1fr));
 }
 body.seg-cmc-page .seg-cmc-filter-grid label:last-child {
   grid-column: 1 / -1;
 }
 body.seg-cmc-page .seg-cmc-stages {
   grid-template-columns: repeat(2,minmax(0,1fr));
 }
}
@media (max-width: 600px) {
 body.seg-cmc-page .seg-cmc-hero {
   width: 100%;
   max-width: none;
   min-height: 0;
   border-radius: 0 0 20px 20px;
   border: 0;
   margin: 0;
   padding: 29px 19px 33px;
 }
 body.seg-cmc-page .seg-cmc-hero::before { width: 210px; height: 210px;right:-92px;top:-95px; }
 body.seg-cmc-page .seg-cmc-hero::after { display: none; }
 body.seg-cmc-page .seg-cmc-main {
   gap: 14px;
   padding: 0 13px 92px;
 }
 body.seg-cmc-page .seg-cmc-main > .seg-cmc-filter { margin-top: 14px; }
 body.seg-cmc-page .seg-cmc-filter,
 body.seg-cmc-page .seg-cmc-intro,
 body.seg-cmc-page .seg-cmc-catalogue,
 body.seg-cmc-page .seg-cmc-note {
   border-radius: 15px;
   padding: 18px 16px;
 }
 body.seg-cmc-page .seg-cmc-filter-heading { margin-bottom: 17px; }
 body.seg-cmc-page .seg-cmc-filter-mark { width: 40px;height: 40px;font-size: 16px;border-radius: 12px; }
 body.seg-cmc-page .seg-cmc-filter-grid {
   grid-template-columns: minmax(0,1fr);
   gap: 15px;
 }
 body.seg-cmc-page .seg-cmc-filter-grid label:last-child { grid-column: auto; }
 body.seg-cmc-page .seg-cmc-filter select { min-height: 51px; }
 body.seg-cmc-page .seg-cmc-stages { gap: 9px; }
 body.seg-cmc-page .seg-cmc-stage { padding: 12px 10px;gap: 9px;min-height: 65px;font-size: 12px; }
 body.seg-cmc-page .seg-cmc-stage::before { width: 29px;height: 29px;border-radius: 9px;font-size: 12px; }
 body.seg-cmc-page .seg-cmc-list {
   grid-template-columns: minmax(0,1fr);
   gap: 12px;
 }
 body.seg-cmc-page .seg-cmc-card { padding: 17px; }
 body.seg-cmc-page .seg-cmc-card a { align-self: stretch; width: 100%; }
 body.seg-cmc-page .seg-cmc-related { align-items: stretch; }
 body.seg-cmc-page .seg-cmc-note.seg-cmc-related { align-items: stretch; }
 body.seg-cmc-page .seg-cmc-note.seg-cmc-related a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
 body.seg-cmc-page .seg-cmc-card,
 body.seg-cmc-page .seg-cmc-filter select {
   transition: none!important;
 }
 body.seg-cmc-page .seg-cmc-card:hover { transform: none!important; }
}
