.section {
  padding: 2.75rem 0;
  @media (min-width: $md) {
    padding: 4rem 0;
  }
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  @media (min-width: $lg) {
    gap: 3.75rem;
  }
}

.section-header {
}
.section-footer {
  width: 100%;
  .btn {
    width: 100%;
    @media (min-width: $lg) {
      width: auto;
    }
  }
}

.section-title {
  @extend .mob-h1;
  @extend .desk-h1;
  max-width: 350px;
  width: 100%;
  text-align: start;
  position: relative;
  color: $secondary-color;
  > div {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    span {
      position: relative;
    }
    hr {
      margin: 0;
      height: 5px;
      width: 100%;
      transform: translateY(10px);
      flex-grow: 1;
      background-color: $secondary-color;
    }
    &:first-child {
      padding-right: 5px;
      justify-content: flex-start;
    }
    &:last-child {
      flex-direction: row-reverse;
      justify-content: flex-end;
    }
  }
  span {
    flex-grow: 1;
    white-space: nowrap;
  }
}
.section-title-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 150px;
  @keyframes twinkle {
    0% {
      clip-path: circle(50% at center);
      opacity: 1;
    }
    15% {
      clip-path: circle(45% at center);
      opacity: 1;
    }
    30% {
      clip-path: circle(10% at center);
      opacity: 0;
    }
    45% {
      clip-path: circle(45% at center);
      opacity: 1;
    }
    60% {
      clip-path: circle(50% at center);
      opacity: 1;
    }
    100% {
      clip-path: circle(50% at center);
      opacity: 1;
    }
  }

  .stars {
    display: none;
    position: relative;

    @media (min-width: $lg) {
      color: $white;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-grow: 1;

      svg {
        will-change: transform, opacity;
        transform-origin: center;
        overflow: visible;
      }
    }
  }
  // Respecter les préférences utilisateurs de réduction d'animations
  @media (prefers-reduced-motion: reduce) {
    .stars svg {
      animation: none !important;
    }
  }
  .star-1 {
    position: absolute;
    top: 0;
    left: 0;
  }
  .star-2 {
    position: absolute;
    top: -10px;
    left: 100px;
  }
  .star-3 {
    position: absolute;
    top: 10px;
    left: 145px;
  }
  .star-4 {
    position: absolute;
    top: 20px;
    left: 300px;
    transform: rotate(30deg);
  }
  .star-5 {
    position: absolute;
    top: -10px;
    left: 340px;
    transform: rotate(-30deg);
  }
  .star-6 {
    position: absolute;
    transform: rotate(30deg);
    top: 10px;
    left: 400px;
  }
}

.section-title_light {
  color: white;
  > div {
    hr {
      background-color: white;
    }
  }
}

@media (max-width: $md-min) {
  .section__inline-cols {
    .section-body > .row {
      gap: 1.5rem;
      > [class^='col-'] {
        padding-left: 0px;
        padding-right: 0px;
      }
    }
  }
}
@media (min-width: $md) and (max-width: $lg-min) {
  .section__inline-cols {
    .section-body > .row {
      justify-content: space-between;
      > [class^='col-'] {
        padding-left: 7px;
        padding-right: 7px;
      }
    }
  }
}

.section__agenda {
  .card__agenda {
    height: 100%;
  }
}

.section__transversal {
  .card {
    height: 100%;
  }
}

.section__news {
  overflow: hidden;
}
