.accordeons {
  .container {
    z-index: 1;
    position: relative;

    .bloc_accordeon {
      display: flex;
      justify-content: space-between;
      gap: 30px;
      flex-direction: column;
      align-items: center;

      @media (min-width: 992px) {
        flex-direction: row;
        align-items: start;
        gap: 60px;
      }

      &:not(.has-image) {
        .section__title {
          width: 400px;
          margin: 0;
          flex-shrink: 0;

          > * {
            text-align: left;
          }

          p {
            margin-left: 0;
          }
        }
      }

      .navigation {
        display: flex;
        flex-direction: column;
        gap: 16px;

        @media (min-width: 992px) {
          height: 100%;
        }

        .accordeon-button {
          background: transparent;
          display: flex;
          justify-content: space-between;
          align-items: center;
          border-radius: 8px;
          margin: 0px;
          transition: var(--transition);
          position: relative;
          text-align: left;
          color: var(--peach);
          font-weight: var(--bold);

          @media (min-width: 992px) {
            font-size: 24px;
            line-height: 32px;
          }

          &:not(.has-image) {
            padding: 16px 70px 16px 24px;
            border: 0px;
            display: flex;
            flex-direction: column;
            align-items: start;
            background-color: var(--white);
            transition: var(--transition);

            @media (max-width: 991px) {
              padding-right: 60px;
              text-align: left;
            }

            &:after {
              content: "";
              background-image: url(../../img/chevron-border.svg);
              background-color: var(--peach);
              border: 1px solid var(--white);
              border-radius: 50px;
              width: 40px;
              height: 40px;
              position: absolute;
              right: 24px;
              display: grid;
              place-items: center;
              padding: 0px 0px 0px 1px;
              transition: var(--transition);
              background-repeat: no-repeat;
              background-position: center;
            }

            &.active,
            &:hover {
              background-color: var(--peach);
              color: var(--white) !important;

              &:after {
                transform: rotate(180deg);
              }

            }

            &.active {
              .accordeon-content {
                max-height: fit-content;
                pointer-events: auto;
                opacity: 1;
                text-align: left;
                border-top: 1px solid var(--dark);
                margin: 16px 0;
                padding-top: 16px;

                * {
                  margin-bottom: 0;
                  font-weight: var(--regular) !important;
                }
              }
            }

            .accordeon-content {
              max-height: 0;
              overflow: hidden;
              opacity: 0;
              pointer-events: none;
              transition: var(--transition);
              padding-top: 0;
            }
          }

          &.has-image {
            padding: 14px 26px;
            border: 1px solid var(--purple-opacity-33);
            color: var(--purple);

            &:after {
              content: "";
              background-image: url("../../img/arrow_purple.svg");
              width: 18px;
              height: 14px;
              background-size: contain;
              background-repeat: no-repeat;
              display: inline-block;
            }

            &:hover,
            &.active {
              background-color: var(--light-purple);
              color: var(--white);

              &:after {
                filter: brightness(100);
              }
            }
          }
        }

        .section__title {
          text-align: left;
        }
      }
    }
  }
}
