/*--------VARIABLES--------*/ /*------------MIXINS-----------*/
/*@mixin bouton($text_color, $hover_bg, $hover_text_color){
    position: relative;
    display: inline-block;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    padding: 15px 30px;
    border : none;
    min-width: 150px;
    box-sizing: border-box;
    font-family: "Arial", serif;
    color: $text_color;
    background-color: transparent;
    transition : $trans;
    &:last-of-type{
      margin-bottom: 0;
    }
    @media(max-width: 1300px){
      font-size: 16px;
      margin: 18px auto; 
    }
    @media(max-width: 992px){
      font-size: 18px;
      width: 300px;
    }
    @media(max-width: 768px){
      width: 100%;
    }
    // ?? picto
    i {
      font-weight: 100;
      vertical-align: text-top;
      padding-right: 10px;
      &.fas.fa-phone-volume {
        transform: rotate(-45deg) translate(-3px, -5px);
        vertical-align: initial !important;
        font-size: 17px;
        padding: 0;
      }
    }
    // ?? animations
    &::before,
    &::after {
      content: '';
      position: absolute;
      background: transparent;
      z-index: 2;
      width: 50%; 
      height: 75%;
      transition: 0.35s;
    }
    &:before {
      top: 0; left: 0;
      border-left: 2px solid $jaune;
      border-top: 2px solid $jaune;
    }
    &:after {
      bottom: 0; right: 0;
      border-right: 2px solid $jaune;
      border-bottom: 2px solid $jaune;
    }
    // ?? hover
    &:active, &:hover, &:focus {
      outline: 0!important;
      outline-offset: 0;
    }
    &:hover{
      background-color: $hover_bg;
      color: $hover_text_color;
      text-decoration: none;
      &::before,
      &::after {
        width: 100%;
        height: 98%;
      }
    }
    @media(max-width:768px){
      &::before,
      &::after {
        content: '';
        width: 85%; 
        height: 75%;
      }
    }
}*/
.formations-header-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  width: 100%;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media (min-width: 768px) {
  .formations-header-wrapper {
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    gap: 16px;
  }
}

@media (max-width: 992px) {
  .formation-item {
    width: 100%;
  }
}
.formation-link {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background-color: #DFE3FF;
  -webkit-border-radius: 16px;
          border-radius: 16px;
  padding: 8px 15px 8px 15px;
  text-decoration: none;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  max-width: 100%;
  width: 100%;
  gap: 8px;
}
@media (min-width: 480px) {
  .formation-link {
    padding: 10px 20px 10px 20px;
    gap: 10px;
  }
}
@media (min-width: 992px) {
  .formation-link {
    gap: 12px;
    padding: 12px 20px 12px 20px;
    width: auto;
  }
}
.formation-link:hover .formation-label {
  text-decoration: underline;
}

.formation-picto {
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  padding: 5px;
  -webkit-border-radius: 8px;
          border-radius: 8px;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  -o-object-fit: contain;
     object-fit: contain;
  margin-right: 5px;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
  display: block;
}
@media (min-width: 480px) {
  .formation-picto {
    width: 24px;
    height: 24px;
    padding: 8px;
  }
}

.formation-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #110035;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
@media (min-width: 480px) {
  .formation-label {
    font-size: 16px;
  }
}

.card-formation {
  height: 100%;
  text-align: left;
  padding-bottom: 40px;
  /* --- 4. LE TITRE --- */
  /* --- 5. LA DESCRIPTION --- */
}
.card-formation .card-formation__image img {
  -webkit-border-radius: 16px;
          border-radius: 16px;
  height: 200px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
}
.card-formation .card-formation__body {
  padding: 24px 24px 32px 24px;
}
.card-formation .card-formation__meta {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 12px;
  color: #110035;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
}
.card-formation .card-formation__meta .icon-pin {
  width: 24px;
  height: auto;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
  margin-right: 8px;
}
.card-formation .card-formation__meta .meta-content {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.card-formation .card-formation__meta .sep {
  font-weight: bold;
  margin: 0 2px;
  color: #110035;
  font-size: 14px;
}
.card-formation .card-formation__title {
  color: #110035;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px;
}
.card-formation .card-formation__desc {
  color: #110035;
  margin-bottom: 32px;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-formation .card-formation__action {
  margin-top: auto;
}
.card-formation .card-formation__action .btn.js-contact-formation {
  background-color: transparent !important;
  border: none !important;
  -webkit-border-radius: 0;
          border-radius: 0;
  padding: 0 0 4px 0;
  color: #110035 !important;
  font-weight: 500;
  font-size: 14px;
  text-transform: none;
  border-bottom: 2px solid #110035 !important;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.card-formation .card-formation__action .btn.js-contact-formation:hover {
  opacity: 0.7;
}