/* Compléments propres à la page Résultats. Tout le reste vient de la feuille de style du site officiel
   (variables --mainColor, --mainColor2, --jauneColor, police Fira Sans). */

.bg-f5f7fa { background-color: #f5f7fa; }
.rc-maj { font-size: 16px; color: var(--optionalColor); }
.rc-maj i { color: var(--mainColor); margin-right: 4px; }
.rc-nd { color: var(--optionalColor); font-style: italic; font-size: 15px; }
.rc-petit { color: var(--mainColor); font-weight: 700; text-decoration: none; cursor: help; }

/* Chiffres clés */
.rc-cles .section-title h2 { color: var(--whiteColor); max-width: none; }
.rc-kpi { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 8px;
  padding: 24px 22px; margin-bottom: 24px; min-height: 170px; transition: var(--transition); }
.rc-kpi:hover { background: rgba(255,255,255,.12); }
.rc-kpi-val { color: var(--jauneColor); font-size: 44px; font-weight: 800; line-height: 1.1; }
.rc-kpi-label { color: var(--whiteColor); font-weight: 700; font-size: 17px; line-height: 1.3; margin-top: 8px; }
.rc-kpi-sub { color: var(--mainColor); font-size: 14px; margin-top: 6px; }
.rc-kpi-sub .rc-petit { color: var(--jauneColor); }

/* Sommaire des formations */
.rc-sommaire { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 30px 0 40px; }
.rc-sommaire a { background: var(--whiteColor); color: var(--mainColor2); border: 2px solid var(--mainColor2);
  border-radius: 100px; padding: 6px 18px; font-weight: 700; font-size: 16px; }
.rc-sommaire a:hover { background: var(--mainColor2); color: var(--whiteColor); }

/* Carte formation */
.rc-formation { background: var(--whiteColor); border-radius: 8px; box-shadow: 0 8px 16px 0 rgba(146,184,255,.2);
  padding: 34px 36px; margin-bottom: 30px; scroll-margin-top: 110px; }
.rc-formation-head { border-left: 6px solid var(--jauneColor); padding-left: 18px; margin-bottom: 24px; }
.rc-formation-head h3 { font-size: 30px; font-weight: 800; margin: 0 0 4px; }
.rc-intitule { font-size: 17px; margin-bottom: 4px; }
.rc-meta { font-size: 15px; color: var(--optionalColor); }
.rc-meta a { color: var(--mainColor2); font-weight: 700; }

.rc-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: 16px; }
.rc-table caption { caption-side: top; color: var(--mainColor2); font-weight: 800; font-size: 18px; padding: 0 0 8px;
  border-bottom: 2px solid var(--mainColor); }
.rc-table th, .rc-table td { padding: 9px 8px; border-bottom: 1px solid #e6ebf2; vertical-align: top; text-align: left; }
.rc-table th[scope=row] { font-weight: 400; color: var(--paragraphColor); width: 52%; }
.rc-table .rc-val { font-weight: 800; color: var(--mainColor2); white-space: nowrap; }
.rc-table .rc-det { color: var(--optionalColor); font-size: 14px; }

.rc-metiers h4, .rc-causes h4 { color: var(--mainColor2); font-weight: 800; font-size: 18px; margin: 6px 0 10px; }
.rc-metiers ul { padding-left: 20px; font-size: 16px; }
.rc-causes ul { list-style: none; padding: 0; margin: 0; }
.rc-causes li { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: center; font-size: 15px; padding: 5px 0; }
.rc-bar { background: #e6ebf2; border-radius: 100px; height: 10px; overflow: hidden; }
.rc-bar span { display: block; height: 100%; background: var(--mainColor); border-radius: 100px; }
.rc-cause-n { color: var(--optionalColor); white-space: nowrap; }
.rc-comment { background: #fffbea; border-left: 4px solid var(--jauneColor); padding: 12px 16px; font-size: 16px; margin-top: 10px; }

/* Méthodologie */
.rc-methodo thead th { background: var(--mainColor2); color: var(--whiteColor); font-weight: 700; }
.rc-methodo th[scope=row] { font-weight: 700; color: var(--mainColor2); width: 26%; }
.rc-methodo td { font-size: 15px; }
.rc-notes { font-size: 15px; margin-top: 20px; padding-left: 20px; }
.rc-notes li { margin-bottom: 6px; }

/* Sessions précédentes */
.rc-archive { margin-top: 30px; margin-bottom: 30px; }
.rc-archive > summary { cursor: pointer; font-weight: 700; color: var(--mainColor2); font-size: 18px; padding: 14px 0; }

.rc-btn { color: var(--blackColor); }
.rc-btn i { position: static; margin-right: 8px; }

@media (max-width: 767px) {
  .rc-formation { padding: 24px 18px; }
  .rc-kpi-val { font-size: 36px; }
  .rc-causes li { grid-template-columns: 1fr auto; }
  .rc-causes .rc-bar { grid-column: 1 / -1; order: 3; }
  .rc-table th[scope=row] { width: auto; }
}

/* Formations qualifiantes et certifiantes */
.rc-kpi-clair .rc-kpi { background: #F6F9FC; border-color: #e6ebf2; }
.rc-kpi-clair .rc-kpi:hover { background: #eef3f9; }
.rc-kpi-clair .rc-kpi-val { color: var(--mainColor2); }
.rc-kpi-clair .rc-kpi-label { color: var(--blackColor); }
.rc-kpi-clair .rc-kpi-sub { color: var(--optionalColor); }
.rc-nd-table { min-width: 980px; }
.rc-nd-table thead th { background: var(--mainColor2); color: var(--whiteColor); font-weight: 700; font-size: 15px; vertical-align: bottom; }
.rc-nd-table tbody th[scope=row] { width: 24%; }
.rc-nd-table td { font-size: 15px; }
.rc-nd-table tbody tr:nth-child(even) { background: #F6F9FC; }
.rc-so { color: #9aa3ad; font-size: 14px; font-style: italic; }
.rc-tags { margin: 4px 0; }
.rc-tag { display: inline-block; white-space: nowrap; background: var(--jauneColor); color: var(--mainColor2); font-weight: 700; font-size: 12px; border-radius: 100px; padding: 2px 10px; margin: 0 4px 4px 0; }
.rc-tag-light { background: #e3f6f9; }
.rc-mini summary { cursor: pointer; color: var(--mainColor2); font-size: 14px; font-weight: 700; }
.rc-mini ul { font-size: 14px; padding-left: 18px; margin: 4px 0 0; }
.rc-methodo-titre { font-size: 22px; font-weight: 800; margin: 40px 0 12px; }
