/* Estilo automático para o tipo de post: empreendimento */
.tab-content {
  height: 100%;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.5s ease-in-out;
  transform: translateY(-100%);
  position: absolute;

  &.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    height: 450px;
    transform: translateY(0);
  }

  iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
}

.tab-outer {
  position: absolute;
  bottom: -10%;
  left: 50%;
  transform: translate(-50%);
  /* padding: 1rem; */
  background-color: rgba(255, 255, 255);
  border: 1px solid var(--roxo);
  border-radius: 10px;
  z-index: 2;
  overflow: hidden;

  .tabs {
    cursor: pointer;
    padding: 32px;
    text-transform: capitalize;
    border-right: 1px solid var(--roxo);
    display: flex;
    align-items: center;
    gap: 8px;

    &:last-child {
      border-right: none;
    }

    &.active {
      background-color: var(--roxo);
      color: #fff;

      svg path {
        fill: var(--creme);
        stroke: var(--creme);
      }
    }
  }
}

section.tab-mobile {
  margin-bottom: 12px;

  .holder {
    position: relative;

    &::after {
      content: '';
      position: absolute;
      width: 100%;
      bottom: 0;
      left: 0;
      height: 2px;
      background: #E1E3E9;
      padding-right: calc(var(--bs-gutter-x) * .5);
      padding-left: calc(var(--bs-gutter-x) * .5);
      z-index: -1;
    }
  }

  .tabs {
    text-transform: capitalize;
    padding-bottom: 18px;
    border-bottom: 2px solid #E1E3E9;

    &.active {
      border-bottom: 4px solid var(--laranja);
    }
  }
}

section.sobre {
  nav {
    a {
      color: var(--cinza);
    }
  }

  .texto {
    h2 {
      font-family: Flama;
      font-weight: 600;
      font-size: 40px;
      line-height: 100%;
      color: var(--titulos);
    }

    h3 {
      font-family: Flama;
      font-weight: 600;
      font-size: 22px;
      line-height: 135%;
      color: var(--roxo);
    }

    p {
      font-size: 18px;
      line-height: 145%;
      color: var(--cinza);
    }
  }

  .form-container {
    box-shadow: 4px 4px 4px 0px #5659671f;

    h4 {
      font-family: Flama;
      font-weight: 600;
      font-size: 18px;
      line-height: 140%;
      color: var(--roxo);
    }

    .form-group {
      margin-bottom: 1rem;

      label {
        display: inline-block;
        margin-bottom: 10px;
        font-size: 15px;
        font-weight: 500;
        color: var(--roxo);
      }

      .form-control {
        box-shadow: 0px 4px 4px 0px #0000000d;
        display: block;
        width: 100%;
        padding: 16px;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        color: var(--cinza);
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-color: white;
        background-clip: padding-box;
        border: 1px solid #d9d9d9;
        border-radius: 5px;
        transition:
          border-color 0.15s ease-in-out,
          box-shadow 0.15s ease-in-out;
      }
    }
  }
}

section.banner {
  overflow-x: hidden;

  h2 {
    font-size: 32px;
    color: white;
    font-weight: 600;
    margin-bottom: 16px;

    @media (max-width: 540px) {
      text-align: center;
      font-size: 22px;
      margin: 0;
    }
  }

  p {
    color: white;
    margin-bottom: 32px;
    font-weight: 500;

    @media (max-width: 540px) {
      text-align: center;
      font-size: 16px;
      margin: 0;
    }
  }

  .outer {
    &::after {
      content: '';
      position: absolute;
      width: 98svw;
      height: 120%;
      background: var(--laranja);
      border-bottom-left-radius: 20px;
      border-bottom-right-radius: 20px;
      box-shadow: 0px 8px 6px 0px #55586626;
      top: 20%;
      left: 50%;
      right: 0;
      z-index: -1;
      transform: translateX(-50%);
    }
  }
}