@media all and (max-width: 47.94em) {
  html {
    font-size: 43.75%;
  }

  .section {
    scroll-margin-top: 7rem;
  }

  /* HEADER */
  header {
    justify-content: space-between;
    height: 10rem;
    padding: 1.02rem;

    & .logo {
      & img {
        max-width: 8rem;
        max-height: 8rem;
      }
    }

    &.open {
      & .nav-divider {
        & .navegacao {
          transform: translateY(93%);
          padding: 2.5rem;
          /* top: 10rem; */
          left: 0;
          right: 0;
          position: fixed;
          display: flex;
          justify-content: center;
          background-color: rgba(255, 255, 255, 90%);
          backdrop-filter: blur(30px);
          border-bottom: 1px solid rgba(0, 0, 0, 0.1);
          box-shadow: 0 0.21rem 0.4rem rgb(0, 0, 0, 0.1);
          z-index: 95;
        }
      }

      & .nav-mobile {
        & .nav-icon {
          &.icon-close {
            display: flex;
          }

          &.icon-open {
            display: none;
          }
        }
      }
    }

    & .nav-mobile {
      & .nav-icon {
        &.icon-close {
          display: none;
        }

        &.icon-open {
          display: block;
        }
      }
    }

    & .navegacao {
      display: none;
    }

    & .nav-divider {
      margin-left: auto;
      padding: 2rem 0;
      align-items: center;
      flex-flow: column;
    }

    & .box-social {
      margin-right: auto;
    }

    & .nav-mobile {
      display: flex;
    }
  }

  /* CLINICA */
  .section-clinica {
    padding: 6.1rem;

    & .container-clinica {
      justify-content: center;
      flex-flow: column-reverse;

      & .box-text {
        transform: translate(0);
        margin-bottom: 2.5rem;
      }
    }
  }

  .carousel-controls {
    transform: translateY(-190px);
    justify-content: space-between;
  }

  /* PROCEDIMENTOS */
  .procedimentos-card.is-visible {
    transition: all 0.5s ease 0.5s;
    pointer-events: none;
    transition-delay: 0.5s;
    border-left-color: #7e5217;
    border-right-color: transparent;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);

    & h4 {
      transition-delay: 0.5s;
      color: #7e5217;
    }
  }

  /* PROCEDIMENTOS INJETÁVEIS */
  .card-text {
    display: none;
  }

  .popup-injetaveis {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 900;
    padding: 31.2px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);

    &.open {
      display: flex;
    }

    & .popup-card {
      position: relative;
      display: flex;
      flex-flow: column;
      gap: 20px;
      border-radius: var(--top-left-bottom-right);
      z-index: 905;
      padding: 25px;
      max-width: min-content;
      width: 100%;
      height: 100%;
      max-height: fit-content;
      background: #f4f9f8;
      background: linear-gradient(180deg,
          rgba(244, 249, 248, 1) 50%,
          rgba(134, 184, 169, 1) 70%);

      & .icon-close {
        top: 5px;
        right: 5px;
        position: absolute;
        width: 20px;
      }

      & .title {
        color: var(--cor-brown);
        text-align: center;
      }

      & .card {
        position: relative;
        display: flex;
        flex-flow: column;
        gap: 10.2px;
        overflow: hidden;
        object-fit: contain;

        & .text {
          text-align: center;
        }

        &::before {
          content: "";
          position: absolute;
          bottom: 0;
          width: 100%;
          height: 50%;
          background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
          z-index: 1;
        }
      }
    }
  }

  /* CIRUGIA DERMATOLÓGICA */
  .container-cirurgia {
    gap: 2.5rem;

    & .card-title {
      & .card-bio {
        transform: translateY(40px);
      }
    }

    & .cirurgia-img {
      max-height: 36rem;
      grid-row: 3 / 4;
      grid-column: 1 / span 2;
      width: 100%;
    }

    & .title-procedimentos {
      grid-column: 1 / 3;
    }

    & .text-cirugia {
      grid-column: 1 / 3;
    }

    & .card-cirurgia {
      gap: 2.5rem;
      grid-column: 1 / 3;
    }
  }

  /* TRATAMENTOS CAPILARES */
  .content-capilares {
    flex-flow: column;
  }

  /* TECNOLOGIAS */
  .box-tec.is-visible {

    & img,
    & h2,
    & p {
      pointer-events: none;
    }

    & img {
      transition: all 0.5s ease 1s;
      filter: blur(4px);
      opacity: 0.5;
      transform: scale(1.1);
    }

    h2 {
      transition-delay: 1s;
      transform: translateY(0);
    }

    p {
      transition-delay: 1.3s;
      transform: translateY(0);
      opacity: 1;
    }
  }


  /* FOOTER */
  footer {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: space-around;

    .box-contatos {
      align-items: start;
    }

    & .a-contatos {
      flex-direction: row;
    }

    & .box-localizacao {
      grid-column: 1 / span 2;

      & .localizacao {
        align-items: center;

        & .mapa {
          align-items: center;
        }
      }
    }
  }
}