.page-ambiental {

  // -----------------------------------------------------------------------------
  // ABA - AÇÕES EKO
  // -----------------------------------------------------------------------------
  .section-acoes-eko {
    padding-top: 133px;

    // Telas até SM
    @include media($xs-max) {
      .col-12:has(.triangle-wrapper) {
        order: 2;
      }
    }

    .triangle-wrapper {
      position: relative;
      height: 525px;

      img {
        position: absolute;
        left: -32vw;
        top: -7vw;
        width: 791px;
      }

      // Telas até SM
      @include media($xs-max) {
        height: fit-content;
        margin-bottom: 40px;

        img {
          position: static;
          width: 100%;
          max-width: 100%;
        }
      }

      // Telas à partir de XXL
      @include media($xxl-min) {
        left: 10vw;
      }
    }

    h2,
    h2 span {
      font-weight: 900;
      font-family: 'Montserrat Alternates', sans-serif;
      color: #7DC193;
      margin-bottom: 25px;
    }

    p {
      color: #5A5A5A;
    }

    .text-wrapper {
      max-width: 345px;
    }

    .swiper-container {
      position: relative;

      // Telas á partir de SM
      @include media($sm-min) {
        &::before {
          display: block;
          content: '';
          width: 1158px;
          height: 1158px;
          background-image: url("data:image/svg+xml,%3csvg width='386' height='1158' viewBox='0 0 386 1158' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='579' cy='579' r='577' stroke='%231D9E9A' stroke-width='4' stroke-linejoin='round' stroke-dasharray='5 20'/%3e%3c/svg%3e");
          position: absolute;
          background-repeat: no-repeat;
          top: 50%;
          left: 190%;
          transform: translate(-50%, -50%);
        }
      }

      // Telas á partir de XXL
      @include media($xxl-min) {
        &::before {
          left: 165%;
        }
      }
    }

    .swiper-icones {
      margin-top: 40px;

      &::before {
        display: block;
        content: "";
        position: absolute;
        width: 1200px;
        height: 576px;
        border-top: 4px dashed #1d9e9a;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -6%);
        border-radius: 50%;
      }

      .swiper-slide {
        width: 50% !important;

        .item {
          display: flex;
          flex-direction: column;
          align-items: center;

          .icon-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 65px;
            height: 65px;
            min-width: 65px;
            background-color: #1D9E9A;
            border-radius: 50%;
          }

          p {
            font-size: 18px;
            font-weight: 600;
            color: #1D9E9A;
            text-align: center;
            line-height: 25px;
            margin-top: 12px;
          }
        }
      }

      // Telas até SM
      @include media($xs-max) {
        overflow: visible;
      }

      // Telas à partir de SM
      @include media($sm-min) {
        height: 460px !important;
        padding-left: 70px;
        margin-top: 0;

        &::before {
          display: none;
        }

        .swiper-slide {
          width: 100% !important;
          height: 76px !important;
          transition: all ease .9s;

          .item {
            flex-direction: row;
            width: 100%;

            .icon-wrapper {
              margin-right: 15px;
            }

            p {
              text-align: start;
              max-height: 50px;

            }
          }
        }

        .swiper-slide-active {
          transform: translateX(0);
        }

        .swiper-slide-active+.swiper-slide {
          transform: translateX(-30px);
        }

        .swiper-slide-active+.swiper-slide+.swiper-slide {
          transform: translateX(-50px);
        }

        .swiper-slide-active+.swiper-slide+.swiper-slide+.swiper-slide {
          transform: translateX(-30px);
        }

        .swiper-slide-active+.swiper-slide+.swiper-slide+.swiper-slide+.swiper-slide {
          transform: translateX(0);
        }
      }
    }


    .swiper-button-next,
    .swiper-button-prev {
      position: static;
      background-image: none;
      width: 12px;
      min-width: 12px;
      height: 18px;
      transform: none !important;
    }

    .icones-pagination {
      gap: 20px;
      transform: none !important;

      .swiper-pagination-bullet {
        position: relative;
        width: 16px;
        min-width: 16px;
        height: 16px;
        background: #65D98B;
        border-radius: 50%;
        transition: all ease-in-out .3s;
        cursor: pointer;

        &::before {
          display: block;
          content: '';
          width: 34.64px;
          min-width: 34.64px;
          height: 34.64px;
          border-radius: 50%;
          border: 2px solid transparent;
          left: 50%;
          top: 50%;
          transform: translate(-50%, -50%);
          position: absolute;
          transition: all ease-in-out .3s;
        }

        &.swiper-pagination-bullet-active,
        &:hover {
          &::before {
            border-color: #65D98B;
          }
        }
      }
    }

    .img-wrapper {
      position: relative;
      z-index: 10;
    }

    // Telas até SM
    @include media($xs-max) {
      padding-top: 90px;
    }
  }

  // ---------------------------------------------------------------------------
  // ABA - METAS
  // -----------------------------------------------------------------------------
  .section-metas {
    padding: 90px 0;

    div[data-secondary-tab="netzero"] {
      position: relative;

      .logo {
        position: absolute;
        right: 0;
        top: 0;

        // Telas até XL
        @include media($lg-max) {
          position: static;
        }
      }

      .triangulo {
        position: absolute;
        left: -40%;
        bottom: -35%;

        // Telas até XL
        @include media($lg-max) {
          position: static;
        }
      }

      p {
        width: 542px;
        max-width: 100%;

        &:nth-of-type(2) {
          margin-left: 180px;
        }

        &:nth-of-type(3) {
          margin-left: 360px;
        }

        // Telas até XL
        @include media($lg-max) {
          width: 100%;
          margin-left: 0 !important;
        }
      }
    }


    div[data-secondary-tab="descarbonizacao"] {
      display: none;

      .aba-content {
        display: none; 
        padding-top: 70px;
        max-width: 92%;

        h2 {
          font-size: 48px;
          line-height: 51px;

          // Telas até SM
          @include media($xs-max) {
            font-size: 36px;
            line-height: 39px;
          }
        }

        .card-wrapper.font18 {
          @extend.font18;
          padding: 60px 50px 57px 60px;

          // Telas até SM
          @include media($xs-max) {
            padding: 60px 35px 44px 35px;            
          }
        }

        img {
          max-width: 100%;
          height: auto;
        }

        &.active {
          display: block;
        }

        // Telas até LG
        @include media($md-max) {
          max-width: 100%;
        }
      }
    }

    // Telas até LG
    @include media($sm-max) {
      padding-bottom: 70px;
    }
  }
}