/* Tablets (até 1024px) */
@media (max-width: 1024px) {
  /*Barra de navegação Tag Header*/
  header {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: auto;
    padding: 1rem;
    gap: 1rem;
  }

  header img {
    width: 400px;
    height: auto;
    margin: 0;
  }

  header nav ul {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding: 0;
  }

  header nav {
    display: none;
    position: absolute;
    margin: 0;
    top: 120px;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 3rem 4rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex-direction: column;
  }

  .hamburger {
    display: flex;
    position: fixed;
    right: -20px;
    top: 30px;
  }

  header nav.show {
    display: flex;
  }

  /* 🔚 Barra de navegação Tag Header*/  
  /* ⏩ Section@0 (Logo e img do Mateus)*/
  .mateus-0-img img {
    margin-top: 2.7rem;
    margin-left: -8rem;
    width: 70%;
    height: 92%;
  }

  .mateus-0-logo img {
    width: 250px;
    height: auto;
    margin-left: -6rem;
  }

  /* 🔚 Section@0 (Logo e img do Mateus)*/
  /* ⏩ Section@1 (Logo da empresa e foto da academia junto com Jonathan)*/
  .inicial {
    position: relative;
    z-index: 3;
    margin-top: -4rem;
    width: 100%;
    height: 340px;
  }

  .inicial div{
    width: 100%;
  }

  .img-jonathan img {
    z-index: 1;
    margin-top: 6rem;
    margin-left: -2rem;
    width: 350px;
    height: 520px;
  }

  .inicial p {
    margin-right: 5rem;
    padding-right: 1rem;
    font-size: 1rem;
    text-align: center;
    margin: 0;
  }

  .img-inicial img {
    margin-left: 4rem;
    margin-bottom: .5rem;
  }

  /* 🔚 Section@1 (Logo da empresa e foto da academia junto com Jonathan)
  /* ⏩ Section@2 (Contando um pouco sobre os serviços e exemplos do trabalho da fisio) */

  .servicos-div {
    margin-top: -2rem;
  }

  .servicos-imagens img {
    width: 26rem;
    height: 24rem;
    object-fit: cover;
  }

  .imagem img{
    margin-top: 1.2rem;
    margin-left: 1rem;
    width: 80%;
    height: 80%;
  }

  .servicos p {
    font-size: 1rem;
  }
  /* 🔚 Section@2 (Contando um pouco sobre os serviços e exemplos do trabalho da fisio) */
  /* ⏩ Section@5 (Contando um pouco sobre o Mateus)*/

  .mateus-text h1 {
    font-size: 1.5rem;
    padding: 0;
    padding-left: 8rem;
  }

  .mateus-text p {
    font-size: .8rem;
    padding: 0;
    padding-left: 8rem;
  }

  .mateus-fisio {
    height: 50vh;
  }

  .mateus-fisio img {
    width: 385px;
    position: relative;
    right: -22px;
    top: 10px;
    z-index: 1;
  }
  .dentro-div {
    width: 600px;
    height: 900px;
    margin-left: 2px;
  }

  .mateus-text {
    position: relative;
    width: 2000px;
    left: -140px;
    height: 220px;
    opacity: 0.9;
    border-radius: none;
  }

  /* 🔚 Section@5 (Contando um pouco sobre o Mateus)*/
  /*OUTROS*/
  .contato-section {
    background-image: none;
  }

  .mateus-0 {
    background-size: 50px auto;
  }

}

/* Celulares grandes (até 768px) */
@media (max-width: 768px) {
  * {
    box-sizing: border-box;
  }

  /*Barra de navegação Tag Header*/
  header {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: auto;
    padding: 1rem;
    gap: 1rem;
  }

  header img {
    width: 280px;
    height: auto;
    margin: 0;
  }

  header nav ul {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding: 0;
  }

  header nav {
    display: none;
    position: absolute;
    margin: 0;
    top: 80px;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex-direction: column;
  }

  .hamburger {
    display: flex;
    position: fixed;
    right: -10px;
    top: 25px;
  }

  header nav.show {
    display: flex;
  }

  /* 🔚 Barra de navegação Tag Header*/
  /* ⏩ Section@0 (Logo e img do Mateus)*/

  .mateus-0 {
    margin-top: 5rem;
  }

  .mateus-0-logo img {
    margin-top: 2.4rem;
    width: 250px;
    height: auto;
  }

  .mateus-0-logo {
    width: 120%;
    height: 320px;
  }

   .mateus-0-logo img{
    width: 100px;
    margin-left: -26rem;
  }

  .mateus-0-logo h1 {
    font-size: 2rem;
  }

  .mateus-0-img {
    margin: 0;
    padding-right: 4rem;
    margin-left: -10rem;
    width: 300px;
  }

  .mateus-0-img img {
    width: 200px;
    height: 96%;
    margin: 0;
    margin-top: 1rem;
    margin-left: -5rem;
    padding: 0;
    z-index: 2;
  }

  /* 🔚 Section@0 */
  /* ⏩ Section@1 (Logo da empresa e foto da academia junto com Jonathan)*/

  .inicial {
    position: relative;
    z-index: 10;
    margin-top: -4rem;
    width: 100%;
    height: 300px;
  }

  .inicial div{
    width: 100%;
  }

  .img-jonathan img {
    z-index: 1;
    margin-top: 6rem;
    margin-left: -2rem;
    width: 250px;
    height: 420px;
  }

  .inicial p {
    font-size: .7rem;
    text-align: center;
    margin: 0;
  }

  .img-inicial img {
    width: 140px;
    margin-left: -1rem;
    margin-bottom: 0;
  }

  /* 🔚 Section@1 (Logo da empresa e foto da academia junto com Jonathan)
  /* ⏩ Section@2 (Contando um pouco sobre os serviços e exemplos do trabalho da fisio) */

  #servicos-texto-mobile {
    display: block;
  }

  #servicos-texto-desktop {
    display: none;
  }

  .servicos div {
    z-index: 100;
    flex-direction: column;
    width: 100%;
    /* margin-top: 2rem; */
    text-align: center;
  }

  .servicos {
    width: 100%;
    z-index: 3;
    margin: 0;
    background-color: #181c21;
  }

  .servicos p {
    width: 100%;
    font-size: 1rem;
    margin: 1rem 0;
    margin-top: 25px;
  }

  .servicos-div {
    border-radius: 0;
    margin: 0;
  }

  .servicos-imagens {
    display: flex;
    flex-direction: column;
  }

  .servicos-imagens img {
    width: 100%;
    height: 450px;
  }

  /* 🔚 Section@2 (Contando um pouco sobre os serviços e exemplos do trabalho da fisio) */
  /* ⏩ Section@3 (Demonstração do trabalho e do serviço da equipe) */

  .equipe img {
    width: 300px;
  }

  .equipe-text {
    width: 100%;
    padding: 2rem 1rem;
    background-position: center;
    background-size: cover;
  }

  .equipe {
    flex-direction: column;
    align-items: center;
  }

  .equipe-text {
    width: 100%;
    padding: 2rem 1rem;
    background-size: cover;
    text-align: center;
  }

  .equipe-text h1 {
    font-size: 2rem;
  }

  .equipe-text p {
    font-size: 1rem;
  }

  .imagem {
    display: none;
  }

  /* 🔚 Section@3 (Demonstração do trabalho e do serviço da equipe) */
  /* ⏩ Section@4 (Carrosel da Estrutura da empresa)*/
  /* ⏩ Section@6 (Carrosel de comentarios)*/

  .title-carrossel h1 {
    font-size: 2rem;
  }

  .title-carrossel p {
    font-size: 1rem;
  }

  .title-carrossel h1 {
    font-size: 2rem;
  }

  .title-carrossel p {
    font-size: 1rem;
  }

  .carrossell {
    width: 100%;
  }

  /* 🔚 Section@4 (Carrosel da Estrutura da empresa)*/
  /* 🔚 Section@6 (Carrosel de comentarios)*/
  /* ⏩ Section@5 (Contando um pouco sobre o Mateus)*/

  .mateus-text h1 {
    font-size: 1rem;
    padding: 0;
    padding-left: 8rem;
  }

  .mateus-text p {
    font-size: 0.55rem;
    padding: 0;
    padding-left: 8rem;
  }

  .mateus-fisio {
    height: 32vh;
  }

  .mateus-fisio img {
    width: 285px;
    position: relative;
    right: -22px;
    top: 7px;
    z-index: 1;
  }
  .dentro-div {
    width: 360px;
    height: 700px;
    margin-left: 2px;
  }

  .mateus-text {
    position: relative;
    width: 2000px;
    left: -140px;
    height: 220px;
    opacity: 0.9;
    border-radius: none;
  }

  /* 🔚 Section@5 (Contando um pouco sobre o Mateus)*/

  /*Icone Do WPP*/

  .whatsapp-icon {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    display: block;
  }
  
  /*Footer mostrando mapa e rede sociais*/

  .mapa-container {
    flex-direction: column;
    align-items: center;
  }

  .mapa-container img {
    width: 100%;
  }

  .losangos::before,
  .losangos::after {
    display: none;
  }

  .elementos-esquerda {
    display: none;
  }

  .texto-motivacional {
    font-family: Inter;
    font-size: 20px;
    text-shadow: none;
  }

  .mateus-0 {
    background-size: 40px auto;
  }
  .contato-section {
    background-image: none;
  }
   /* .mateus-0-logo img {
    width: 200px;
    padding: 20px;
  } */
}

@media (max-width:400px){
  /* ⏩ Section@5 (Contando um pouco sobre o Mateus)*/

  .mateus-fisio {
    height: 35vh;
  }

  /* 🔚 Section@5 (Contando um pouco sobre o Mateus)*/
}