/* Bandeau Compétences transversales (grille texte gauche / encart droite) */

.fc-ct-hero .fc-ct-hero__content {
  align-items: flex-start;
  justify-content: center;
  padding-bottom: 3rem;
  text-align: left;
}

.fc-ct-hero .fc-ct-hero__content > nav {
  margin-bottom: 2rem;
  width: 100%;
}

.fc-ct-hero__body {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
}

@media (min-width: 900px) {
  .fc-ct-hero__body {
    column-gap: clamp(2.5rem, 8vw, 6rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 21rem);
    row-gap: 0;
  }
}

.fc-ct-hero__copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
}

.fc-ct-hero .fc-ct-hero__title,
.fc-ct-hero .fc-ct-hero__description,
.fc-ct-hero .fc-ct-hero__copy .hero-band__title,
.fc-ct-hero .fc-ct-hero__copy .hero-band__description {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.fc-ct-hero h1.hero-band__title.fc-ct-hero__title {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  max-width: none;
  width: 100%;
}

.fc-ct-hero__description {
  line-height: 1.55;
  max-width: none;
  width: 100%;
}

@media (min-width: 900px) {
  .fc-ct-hero__aside {
    justify-self: end;
    width: 100%;
    max-width: 21rem;
  }
}

@media (max-width: 899px) {
  .fc-ct-hero__aside {
    width: 100%;
  }

  .fc-ct-hero-panel {
    margin-left: 0;
    max-width: 21rem;
  }
}

.fc-ct-hero-panel {
  background: rgb(4 18 40 / 0.95);
  border: 1px solid rgb(116 169 207 / 0.9);
  border-radius: 10px;
  box-shadow: none;
  color: #fff;
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 1.35rem 1.4rem 1.45rem;
  width: 100%;
}

@media (min-width: 900px) {
  .fc-ct-hero-panel {
    padding: 1.45rem 1.5rem 1.55rem;
  }
}

.fc-ct-hero-panel__item {
  align-items: flex-start;
  display: flex;
  font-size: 0.92rem;
  gap: 0.65rem;
  line-height: 1.45;
}

.fc-ct-hero-panel__check {
  color: #fff;
  flex-shrink: 0;
  font-size: 1.1rem;
  margin-top: 0.1rem;
  --fa-primary-color: #fff;
  --fa-secondary-color: var(--page-accent, #74a9cf);
  --fa-secondary-opacity: 1;
}

/* Catalogue formations */
.fc-ct-catalog {
  padding: 3rem 1rem 4rem;
}

@media (min-width: 1024px) {
  .fc-ct-catalog {
    padding: 3.5rem 2rem 5rem;
  }
}

.fc-ct-catalog__kicker {
  color: var(--page-accent, #74a9cf);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}

.fc-ct-catalog__title {
  color: #020d22;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 1rem 0 0;
  max-width: none;
  width: 100%;
}

.fc-ct-catalog .accent-line {
  margin-top: 1.25rem;
}

.fc-ct-catalog__lead {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.65;
  margin: 1.25rem 0 0;
  max-width: none;
  width: 100%;
}

.fc-ct-catalog__lead p {
  margin: 0;
}

.fc-ct-formations-grid {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .fc-ct-formations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .fc-ct-formations-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 3rem;
  }
}

.fc-ct-formation-card {
  display: flex;
  flex-direction: column;
}

.fc-ct-formation-card__media {
  overflow: visible;
  position: relative;
  z-index: 2;
}

.fc-ct-formation-card__photo {
  aspect-ratio: 16 / 10;
  border-radius: 12px 12px 0 0;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.fc-ct-formation-card__icon {
  align-items: center;
  background: #fff;
  border-radius: 10px;
  bottom: -1.25rem;
  box-shadow: 0 6px 16px rgb(0 0 0 / 12%);
  display: flex;
  height: 3.25rem;
  justify-content: center;
  left: 1.25rem;
  position: absolute;
  width: 3.25rem;
  z-index: 3;
}

.fc-ct-formation-card__icon .fc-ct-formation-card__glyph,
.fc-ct-formation-card__icon i {
  --fa-primary-color: var(--page-accent, #74a9cf);
  --fa-secondary-color: #020d22;
  --fa-secondary-opacity: 0.35;
  font-size: 1.35rem;
}

.fc-ct-formation-card__body {
  border: 1px solid #e5e7eb;
  border-radius: 0 0 12px 12px;
  border-top: none;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 2rem 1.25rem 1.5rem;
  position: relative;
  z-index: 1;
}

.fc-ct-formation-card__title {
  color: #020d22;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.fc-ct-formation-card__desc {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0.75rem 0 0;
}

.fc-ct-formation-card__duration {
  align-items: center;
  color: #374151;
  display: flex;
  font-size: 0.9rem;
  gap: 0.45rem;
  margin: 1rem 0 0;
}

.fc-ct-formation-card__duration-icon,
.fc-ct-formation-card__duration .fa-clock {
  color: var(--page-accent, #74a9cf);
  flex-shrink: 0;
}

.fc-ct-formation-card__link {
  align-items: center;
  color: var(--page-accent, #3d6f99);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 600;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1.25rem;
  text-decoration: none;
}

.fc-ct-formation-card__link:hover {
  text-decoration: underline;
}

.fc-ct-formation-card__arrow {
  font-size: 1rem;
}

.fc-ct-contact {
  isolation: isolate;
  min-height: 16rem;
  overflow: hidden;
  position: relative;
}

@media (min-width: 768px) {
  .fc-ct-contact {
    min-height: 20rem;
  }
}

.fc-ct-contact__bg {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.fc-ct-contact__overlay {
  background: linear-gradient(90deg, rgb(2 13 34 / 92%) 0%, rgb(2 13 34 / 55%) 55%, rgb(2 13 34 / 35%) 100%);
  inset: 0;
  position: absolute;
  z-index: 1;
}

.fc-ct-contact__wrap {
  position: relative;
  z-index: 2;
}

.fc-ct-contact__inner {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  margin-inline: 0;
  max-width: 36rem;
  min-height: 16rem;
  padding: 3rem 1rem;
  text-align: left;
  width: 100%;
}

@media (min-width: 768px) {
  .fc-ct-contact__inner {
    min-height: 20rem;
    padding: 4rem 2rem;
  }
}

.fc-ct-contact__accent {
  background-color: #7d93cb;
  border-radius: 0.125rem;
  flex-shrink: 0;
  height: 3px;
  width: 5rem;
}

.fc-ct-contact__head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.fc-ct-contact__title {
  color: #fff;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  text-align: left;
  width: 100%;
}

.fc-ct-contact__intro {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
  max-width: 32rem;
  text-align: left;
}
