@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: rgba(255, 255, 255, 0.9);
}

header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  background-color: #6a1b9a;

  #imgBompa {
    width: 8%;
    height: 10%;
    padding: 1.5vw;
  }

  .listaHeader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    padding: 1vw;
    ul {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 2vw;
      #none {
        list-style: none;
      }

      li::marker {
        color: rgba(255, 255, 255, 0.9);
      }
      li {
        a {
          text-decoration: none;
          color: rgba(255, 255, 255, 0.9);
          font-size: 1vw;
          font-weight: 500;
          transition: all 0.4s ease-in-out;
          &:hover {
            color: rgba(0, 0, 0, 0.8);
            transform: scale(1.1);
          }
        }
      }
    }
  }
}

main {
  .inicio {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;

    #drPriscila {
      width: 40%;
      height: 80%;
      padding: 2vw;
      justify-content: space-between;
    }
    #text {
      font-size: 1.2vw;
      width: 100%;
      height: 50%;

      #draClaudia {
        font-size: 2vw;
      }
    }
    #imgPriscila {
      margin-top: 8%;
      width: 90%;
      height: 50%;
    }
  }

  .servicos {
    background-color: #7935a386;
    padding: 60px 50px;
    margin-top: 40px;
    text-align: center;

    .servicos h2 {
      margin-bottom: 40px;
    }

    .container-servicos {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 30px;
      flex-wrap: wrap;
      padding-top: 2vw;
      gap: 7%;

      .box-servicos {
        background: white;
        width: 150px;
        height: 150px;
        border-radius: 20px;
        box-shadow: 0 10px 25px rgba(106, 27, 154, 0.2);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: 0.3s;

        span {
          font-size: 2.5vw;
        }
        p {
          margin-top: 5px;
          font-size: 1vw;
        }
      }

      .box-servicos:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(65, 19, 94, 0.651);
      }
    }
  }

  .sobreNos {
    margin-top: 40px;
    text-align: center;

    h2 {
      margin-bottom: 20px;
    }
    #video {
      width: 60%;
      height: auto;
      border-radius: 25px;
    }
  }

  .pacientes {
    margin-top: 40px;
    background: #a685bd;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;

    .textoInfinito {
      overflow: hidden;
      width: 100%;
      cursor: grab;
    }

    .linhaPacientes1,
    .linhaPacientes2 {
      display: flex;
      gap: 24px;
      width: max-content;
      flex-wrap: nowrap;
    }

    .box-pacientes {
      flex-shrink: 0;
    }

    .box-pacientes {
      background: #efeff1;
      border-radius: 25px;
      padding: 20px 24px;
      width: 300px;
      min-height: 110px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
      flex-shrink: 0;
    }

    .box-pacientes p {
      font-size: 0.86vw;
      line-height: 1.4;
      color: #222;
    }

    .pacientesBox {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
      flex-shrink: 0;
    }
  }

  .contato {
    display: flex;

    .faleConosco {
      padding: 60px 0px 40px 150px;
      width: 400px;
      height: 200px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      h2 {
        font-size: 1.2vw;
      }
      p {
        font-size: 1vw;
      }
      a {
        text-decoration: none;
        color: inherit;
      }
    }
  }

  .horarioFuncionamento {
    padding: 60px 80px 0px 0px;
    width: 40%;
    height: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    h2 {
      font-size: 1.2vw;
    }
    h3 {
      font-size: 1vw;
    }
    p {
      font-size: .9vw;
    }

    #horaFun {
      display: flex;
      gap: 40px;
    }

    #endereco {
      p {
        font-size: 1vw;
        font-weight: 500;
      }
    }

    #bompaLocal {
      width: 60%;
      float: right;
      margin-top: -35%;
      margin-right: -80%;
    }
  }
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #6a1b9a;
  color: white;
  padding: 20px;
  flex-wrap: wrap;
  margin-top: 8%;

  a {
    text-decoration: none;
    color: inherit;
  }
}

footer p {
  margin: 0 6px 0 0;
  font-size: 20px;
  display: inline-block;
}
#nome {
  margin: 0 auto;
  text-align: center;
}

#direitosReservados {
  margin: 0;
  font-size: 14px;
}

footer i {
  cursor: pointer;
  transition: 0.2s;
}

footer i:hover {
  transform: scale(1.2);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  z-index: 1000;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* animação X ao abrir */
.hamburger.ativo span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.ativo span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.ativo span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* MENU MOBILE */
.menuMobile {
  display: none;
  flex-direction: column;
  align-items: center;
  background-color: #6a1b9a;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.menuMobile.aberto {
  max-height: 400px;
  padding: 16px 0 20px;
}

.menuMobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0;
  margin: 0;
  width: 100%;
}

.menuMobile ul li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s;
  display: block;
  padding: 6px 20px;
}

.menuMobile ul li a:hover {
  color: rgba(200, 150, 255, 1);
}

@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .listaHeader {
    display: none !important;
  }

  .menuMobile {
    display: flex;
  }

  header {
    flex-direction: row !important;
    align-items: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 1024px) {

  /* HEADER */
  header {
    flex-direction: column;
    align-items: center;
  }

  header #imgBompa {
    width: 80px;
    height: auto;
    padding: 12px;
  }

  .listaHeader ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 10px;
  }

  .listaHeader ul li a {
    font-size: 16px;
  }

  /* INÍCIO */
  .inicio {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 30px 20px;
  }

  #drPriscila {
    width: 90% !important;
  }

  #text {
    font-size: 16px !important;
  }

  #draClaudia {
    font-size: 22px !important;
  }

  #imgDr {
    width: 70%;
    display: flex;
    justify-content: center;
  }

  #imgPriscila {
    width: 100% !important;
    margin-top: 0 !important;
  }

  /* SERVIÇOS */
  .container-servicos {
    gap: 20px !important;
  }

  .box-servicos {
    width: 130px !important;
    height: 130px !important;
  }

  .box-servicos span {
    font-size: 30px !important;
  }

  .box-servicos p {
    font-size: 14px !important;
  }

  /* SOBRE NÓS */
  #video {
    width: 90% !important;
  }

  /* PACIENTES */
  .box-pacientes {
    width: 250px !important;
  }

  .box-pacientes p {
    font-size: 13px !important;
  }

  .pacientesBox {
    width: 90px !important;
    height: 90px !important;
  }

  /* CONTATO */
  .contato {
    flex-direction: column;
    align-items: center;
  }

  .faleConosco {
    padding: 40px 20px !important;
    width: 100% !important;
    height: auto !important;
    align-items: center;
    text-align: center;
  }

  .faleConosco h2 {
    font-size: 20px !important;
  }

  .faleConosco p {
    font-size: 16px !important;
  }

  .horarioFuncionamento {
    width: 100% !important;
    padding: 20px 40px 40px !important;
    height: auto !important;
    text-align: center;
    align-items: center;
  }

  .horarioFuncionamento h2 {
    font-size: 20px !important;
  }

  .horarioFuncionamento h3,
  .horarioFuncionamento p {
    font-size: 16px !important;
  }

  #horaFun {
    justify-content: center;
  }

  #endereco p {
    font-size: 15px !important;
  }

  #bompaLocal {
    float: none !important;
    margin: 20px auto 0 !important;
    width: 80%;
    display: block;
  }

  /* FOOTER */
  footer {
    margin-top: 40px;
  }
}


@media (max-width: 768px) {

  /* HEADER */
  .listaHeader ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
  }

  .listaHeader ul li {
    list-style: none;
  }

  .listaHeader ul li a {
    font-size: 15px;
  }

  /* INÍCIO */
  .inicio {
    padding: 20px 15px;
    gap: 20px;
  }

  #drPriscila {
    width: 100% !important;
    padding: 10px !important;
  }

  #text {
    font-size: 14px !important;
  }

  #draClaudia {
    font-size: 20px !important;
  }

  #imgDr {
    width: 85%;
  }

  #imgPriscila {
    width: 100% !important;
  }

  /* SERVIÇOS */
  .servicos {
    padding: 40px 20px;
  }

  .container-servicos {
    flex-direction: column;
    align-items: center;
    gap: 16px !important;
  }

  .box-servicos {
    width: 200px !important;
    height: 100px !important;
    flex-direction: row !important;
    gap: 12px;
    padding: 0 20px;
    border-radius: 16px;
  }

  .box-servicos span {
    font-size: 28px !important;
  }

  .box-servicos p {
    font-size: 15px !important;
    margin-top: 0 !important;
  }

  /* SOBRE NÓS */
  .sobreNos {
    padding: 0 10px;
  }

  #video {
    width: 100% !important;
    border-radius: 15px;
  }

  /* PACIENTES */
  .pacientes {
    padding: 40px 20px;
  }

  .box-pacientes {
    width: 220px !important;
    padding: 15px !important;
  }

  .box-pacientes p {
    font-size: 12px !important;
  }

  .pacientesBox {
    width: 70px !important;
    height: 70px !important;
  }

  /* CONTATO */
  .faleConosco {
    padding: 30px 20px !important;
  }

  .faleConosco h2,
  .horarioFuncionamento h2 {
    font-size: 20px !important;
  }

  .faleConosco p,
  .horarioFuncionamento p {
    font-size: 14px !important;
  }

  .horarioFuncionamento {
    padding: 10px 20px 40px !important;
  }

  #bompaLocal {
    width: 95% !important;
  }

  /* FOOTER */
  footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    margin-top: 40px;
  }

  #nome {
    margin: 10px 0;
  }
}


@media (max-width: 480px) {

  /* HEADER */
  header #imgBompa {
    width: 60px;
  }

  .listaHeader ul li a {
    font-size: 14px;
  }

  /* INÍCIO */
  #text {
    font-size: 13px !important;
  }

  #draClaudia {
    font-size: 18px !important;
  }

  /* SERVIÇOS */
  .box-servicos {
    width: 85% !important;
    max-width: 280px;
  }

  /* PACIENTES */
  .box-pacientes {
    width: 190px !important;
  }

  .pacientesBox {
    width: 60px !important;
    height: 60px !important;
  }

  /* CONTATO */
  .faleConosco {
    padding: 20px 15px !important;
  }

  .horarioFuncionamento {
    padding: 10px 15px 30px !important;
  }

  #horaFun {
    flex-direction: column;
    gap: 4px !important;
    align-items: center;
  }
}