/* =========================================
   CATALOGUE - VERSION SOBRE SANS IMAGE
   ========================================= */

/* Conteneur global */
.ft-catalogue-wrapper {
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.ft-catalogue-wrapper section.ft-catalogue-category .ft-category-hero {
  background: color-mix(in srgb, var(--bs-light) 55%, transparent);  /*var(--bs-secondary) !important; /*var(--bs-light) !important*/;
  border: 2px solid !important;
  border-color: var(--bs-primary) !important;
  border-radius: 0px !important;
  padding: 12px 14px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.05) !important;
  min-height: auto !important;
}

.ft-catalogue-wrapper section.ft-catalogue-category .ft-category-hero-overlay {
  background: transparent !important;
  min-height: auto !important;
  display: block !important;
}

.ft-catalogue-wrapper section.ft-catalogue-category .ft-category-hero-content {
  padding: 0 !important;
  color: #212529 !important;
  max-width: 900px !important;
}

.ft-catalogue-wrapper section.ft-catalogue-category .ft-category-title {
  margin: 0 0 10px 0 !important;
  color: #1e2f4a !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
}

.ft-catalogue-wrapper section.ft-catalogue-category .ft-category-count {
  margin: 0 !important;
  color: #6c757d !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
}

/* Barre de recherche éventuelle */
.ft-catalogue-search {
  max-width: 760px;
  margin-bottom: 2rem;
  border:5px;
  border-color: black;
  border-radius:0px;
}

.form-label {
  font-weight: bold;
}


/* Section catégorie */
.ft-catalogue-category {
  margin-bottom: 3rem;
}


.ft-category-hero {
  border-left: 8px solid #0d6efd !important;
}

.ft-category-hero-overlay {
  min-height: 150px;
  display: flex;
  align-items: center;
  background: transparent;
}

.ft-category-hero-content {
  padding: 20px;
  color: var(--bs-body-color, #212529);
  max-width: 900px;
}

.ft-category-hero-content h3 {
    text-transform: uppercase;
}
.ft-category-eyebrow {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bs-secondary-color, #6c757d);
}
/*
.ft-category-title {
  margin: 0;
  color: var(--bs-body-color, #212529);
  font-size: 1rem; //clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  //line-height: 1.08;
}
*/


.ft-category-count {
  margin-top: 0.65rem;
  font-size: 1rem;
  color: var(--bs-secondary-color, #6c757d);
  font-weight: 500;
}

/* Liste des cours */
.ft-course-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Cartes cours */
.ft-course-row-card {
  background: #fff;
  border: 1px solid ;
  border-color:var(--bs-prinary);
  border-radius: 0px;
  /*box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.06);*/
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ft-course-row-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 110, 253, 0.18);
  box-shadow: 0 0.9rem 2rem rgba(15, 23, 42, 0.10);
}

.ft-course-row-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 2rem;
  padding: 1.5rem;
}

.ft-course-main {
  min-width: 0;
}

.ft-course-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.ft-status-badge {
  font-size: 0.78rem;
  padding: 0.42rem 0.62rem;
  border-radius: 999px;
}

.ft-meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #f3f6fb;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
}

.ft-course-row-title {
  margin: 0.75rem 0 0.75rem;
  color: #1e2f4a;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 800;
  line-height: 1.18;
}

.ft-course-row-summary {
  max-width: 900px;
  margin: 0;
  color: #3f4654;
  font-size: 1rem;
  line-height: 1.65;
}

.ft-course-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ft-course-keywords .badge {
  font-weight: 600;
  padding: 0.45rem 0.65rem;
  border-radius: 0.5rem;
}

/* Colonne latérale */
.ft-course-side {
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ft-course-side-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ft-course-side-label {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ft-course-side strong {
  color: #1e293b;
  font-size: 0.98rem;
  line-height: 1.35;
}

.ft-course-cta {
  margin-top: auto;
  width: 100%;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-weight: 700;
  border-radius: 0.75rem;
}

/* Responsive tablette */
@media (max-width: 991.98px) {
  .ft-course-row-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ft-course-side {
    border-left: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-left: 0;
    padding-top: 1.25rem;
  }

  .ft-course-cta {
    width: auto;
    align-self: flex-start;
  }
}

/* Responsive mobile */
@media (max-width: 575.98px) {
  .ft-category-hero {
    min-height: 130px;
    border-radius: 0.85rem;
    border-left-width: 6px;
  }

  .ft-category-hero-overlay {
    min-height: 130px;
  }

  .ft-category-hero-content {
    padding: 1.15rem 1.1rem 1.15rem 1.2rem;
  }

  .ft-category-title {
    font-size: 1.8rem;
  }

  .ft-category-count {
    font-size: 0.95rem;
  }

  .ft-course-row-inner {
    padding: 1.15rem;
  }

  .ft-course-row-summary {
    font-size: 0.95rem;
  }
}