/* Estilo automático para a página: app */


section.banner{
    margin-top: 90px;
    margin-bottom: 0;

    .app-dest{
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

section.aplicativo{
    padding-top: 72px;

    h2{
        color: var(--roxo);
        span{
            color: var(--laranja);
        }
    }
    p{
        font-size: 24px;
        font-weight: 300;
        line-height: 120%;
    }

    h4{
        color: var(--roxo);
        font-size: 40px;
        font-weight: 550;
        text-align: center;
    }
    

    .card-app {
        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 100%;


        .card-body {
            width: 100%;
            padding: 24px;
            gap: 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            box-shadow: 0px 4px 4px 0px #00000014;
            border-radius: 20px;
            border: 1px solid #e4e4e4;
            background-color: transparent;
            margin: 10px 0;
            justify-content: center;

            .icon-app {
                width: 64px;
                height: 64px;
                object-fit: contain;
            }

            .title {
                width: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;

                .loc {
                display: flex;
                align-items: center;
                gap: 8px;
                color: #23252f;
                }
            }

            .texto{
                min-height: 60px;
                display: flex;
                align-items: center;

                h3 {
                    color: #23252F;
                    font-size: 18px;
                    font-weight: 550;
                    line-height: 135%;
                    text-align: center;
                    padding: 0 8px;
            
                    @media (max-width: 768px) {
                        font-size: 20px;
                    }
                    @media (min-width: 992px) and (max-width: 1400px) {
                        font-size: 22px;
                    }
                }

            }
        }
    }

    .links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;

        .link-app {
            color: #FFF;
            text-align: center;
            font-size: 16px;
            font-weight: 600;
            line-height: 120%;
            border-radius: 80px;
            background: #441F5D;
            padding: 18px 36px;
            margin: 4px 8px;
        }
    }
}







section.video {
  background-color: var(--bg-2);
  padding: 56px 0;

    p{
        font-size: 24px;
        font-weight: 300;
        line-height: 120%;
    }

  .swiper {
    padding: 20px 0;
    overflow: visible;

    .swiper-wrapper {
      align-items: stretch;
    }

    .swiper-slide {
      display: flex;
      flex-direction: column;
      height: auto;
      user-select: none;
      transition: 150ms all ease-in-out;
      opacity: 0;
      pointer-events: none;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px 15px 0 0;
        transition: 500ms all ease-in-out;
      }
    }

    .swiper-slide-active,
    .swiper-slide-next,
    .swiper-slide-visible,
    .swiper-slide-next + .swiper-slide {
      opacity: 1;
      pointer-events: auto;
    }

    @media (max-width: 768px) {
      .swiper-slide-prev {
        opacity: 1;
        pointer-events: auto;
      }
    }

    .swiper-pagination {
      position: relative;
      bottom: 0 !important;
      margin-top: 48px;

      .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        opacity: 1;
        background-color: #a9abb2;

        &.swiper-pagination-bullet-active {
          background-color: #555866;
        }
      }
    }
  }

  .card-video {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;

    .card-thumb {
      position: relative;
      z-index: 0;
      max-height: 250px;
      height: 32svh;
      overflow: hidden;
      @media (max-width: 768px) {
        max-height: 200px;
        height: 32svh;
      }

      img {
        filter: brightness(0.5);
      }

      svg {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        pointer-events: auto;
        cursor: pointer;
      }
    }

    .price {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      padding: 8px;
      transition: 300ms all ease-in-out;
    }

    .card-body {
      width: 100%;
      height: auto;
      flex-grow: 1;
      padding: 24px;
      gap: 24px;
      z-index: 2;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      justify-content: space-around;
      align-items: center;
      box-shadow: 0px 4px 4px 0px #00000014;
      border-radius: 0 0 15px 15px;
      border: 1px solid #e4e4e4;
      background-color: transparent;

      .title {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .loc {
          display: flex;
          align-items: center;
          gap: 8px;
          color: #23252f;
        }
      }

      h3 {
        color: #23252f;
        font-weight: 600;
        font-size: 24px;
        line-height: 135%;
        @media (max-width: 768px) {
          font-size: 20px;
        }
        @media (min-width: 992px) and (max-width: 1400px) {
          font-size: 22px;
        }
      }

      .diferenciais {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 16px;

        .dif {
          flex: 1 1 calc(50% - 8px);
          padding: 22px;
          border-radius: 5px;

          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          gap: 12px;

          text-align: center;

          border: 1px solid var(--laranja);
          background-color: #ff6a001a;

          &.renda {
            flex: 2;
            flex-direction: row;
            gap: 16px;
            text-align: start;
            line-height: 110%;
          }
        }
      }

      @media (max-width: 768px) {
        padding: 16px;
      }
    }
  }
}

section.duvidas {

    h2{
        color: var(--roxo);
    }
    p{
        font-size: 24px;
        font-weight: 300;
        line-height: 120%;
    }

  .collapse.show {
    display: block !important;
  }
  
  /* Limita pergunta */
  .faq-title {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
  }
  
  /* Container colapsável */
  .faq-collapse {
      height: 0;
      overflow: hidden;
      transition: height 0.35s ease;
  }
  
  /* Estado aberto */
  .faq-item.is-open .faq-icon {
      transform: rotate(180deg);
  }
}



section.download{
    margin-bottom: 0;
    background-color: #ffefcc;

    .central{
        display: flex;
        align-items: center;

        h3 {
            color: var(--titulos);
            font-size: 40px;
            font-weight: 550;
            line-height: 120%;
            margin-bottom: 40px;
        }
    }

    .links {
        display: flex;
        justify-content: space-evenly;
    }
}



/* TABLET */
@media (min-width: 768px) and (max-width: 1024px) {
    
}

/* MOBILE */
@media all and (max-width: 767px) { 

    section.banner {
        margin-top: 50px;
    }
    section.aplicativo{
        h4{
            font-size: 28px;
        }
    }
    section.duvidas {
        padding: 45px 0 0 0;
    }
    section.video {
        .card-video {
            .card-body {
    
                align-items: flex-start;
            }
        }
    }
    section.download{
        padding-top: 40px;
        .order-2-mob{
            order: 2;
        }
    }
}

