.sectionMatieres {
  width: 100%;
  padding-left: var(--gutter-container);
  padding-right: var(--gutter-container);

  .sectionMatieres__title {
    width: 100%;
    margin-bottom: 16px;
    text-transform: uppercase;
  }

  .matiere__items {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2px;

    .matiere__item {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 2px;
      grid-column: span 12;
      padding-top: 8px;
      padding-bottom: 80px;
      border-top: 1px solid var(--color-secondary-light-grey-200);

      @media (max-width: 768px) {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 2px;
      }

      &:first-child {
        border-top: none;
      }

      .matiere__item__group1 {
        grid-column: span 1;

        @media (max-width: 768px) {
          width: calc(4 / 12 * 100%);
          position: sticky;
          top: 24px;
        }
      }

      .matiere__item__group2 {
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        gap: 2px;
        grid-column: 5 / span 8;

        @media (max-width: 1300px) {
          grid-template-columns: repeat(9, 1fr);
          grid-column: 4 / span 9;
        }

        @media (max-width: 1024px) {
          grid-template-columns: repeat(10, 1fr);
          gap: 16px;
          grid-column: 3 / span 11;
        }

        @media (max-width: 768px) {
          width: calc(6 / 12 * 100%);
          display: flex;
          flex-direction: column;
          gap: 16px;
        }
      }

      .matiere__item__col2 {
        grid-column: span 3;

        @media (max-width: 1300px) {
          grid-column: span 3;
        }

        @media (max-width: 1024px) {
          grid-column: span 4;
        }

        @media (max-width: 768px) {
          width: 100%;
        }
      }

      .matiere__item__col3 {
        grid-column: 5 / span 2;

        @media (max-width: 1300px) {
          grid-column: 5 / span 3;
        }

        @media (max-width: 1024px) {
          grid-column: 5 / span 4;
        }

        @media (max-width: 768px) {
          margin-top: 8px;
          width: 100%;
        }
      }

      .matiere__item__col4 {
        grid-column: 7 / span 2;

        @media (max-width: 1300px) {
          grid-column: 8 / span 2;
        }

        @media (max-width: 1024px) {
          grid-column: 9 / span 2;
        }

        @media (max-width: 768px) {
          grid-column: 7 / span 6;
          grid-row: 3;
        }
      }

      .matiere__item__img {
        background-color: Linen;
        aspect-ratio: 0.8;
        overflow: hidden;
        width: 100%;

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }

      .matiere__item__col__title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 8px;

        font-family: var(--font-sans);
        font-style: normal;
        font-weight: 400;
        font-size: 1.2rem;
        line-height: 120%;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--color-primary-black);

        svg {
          display: inline-block;
          position: relative;
          top: -2px;
          width: 16px;
          height: auto;

          @media (min-width: 768px) {
            display: none;
          }
        }
      }

      .matiere__item__col__content {
        font-family: var(--font-serif);
        font-style: normal;
        font-weight: 400;
        font-size: 1.6rem;
        line-height: 120%;
        color: var(--color-primary-black);
      }

      .matiere__item__composition {
        font-family: var(--font-sans);
        font-style: normal;
        font-weight: 400;
        font-size: 1.2rem;
        line-height: 120%;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        text-align: right;
        direction: rtl;
        color: var(--color-secondary-dark-grey-100);
        max-width: 50%;
        margin-left: auto;

        @media (max-width: 768px) {
          max-width: 100%;
          margin-left: 0;
          text-align: left;
          direction: ltr;
        }
      }

      .matiere__item__name {
        margin-top: 4px;
      }

      &:nth-child(2) {
        .matiere__item__img {
          background-color: Beige;
        }
      }

      &:nth-child(3) {
        .matiere__item__img {
          background-color: Lavender;
        }
      }
    }
  }

  [data-accordion] {
    .accordion__icon {
      transform: rotate(-180deg);
      transition: transform 0.3s ease;
    }

    .is-open {
      .accordion__icon {
        transform: rotate(0deg);
      }
    }
  }
}
