/* Responsividade para iPad (tablet) */
@media (max-width: 1024px) {

    .container {
        padding: 0;
    }

    /************************** SOBRE ***/
    .sobre {
        height: auto;
    }

    .logo {
        font-size: 1.2rem;
    }

    .header{
        max-height: 12%;
    }

    .container-sobre {
        height: auto;
    }
    
    .headline-sobre {
        height: auto;
        position: relative;
    }

    .conteudo-sobre {
        flex-direction: column-reverse;
        height: auto;
        gap: 3rem;
    }

    .left-sobre {
        width: 100%;
        height: auto;
    }

    .right-sobre {
        width: 100%;
        height: auto;
    }

    .imagem-sobre {
        justify-content: center;
    }

    .complemento-sobre {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .complemento-sobre img {
        position: unset;
        width: 100%;
    }

    /************************** SERVIÇOS ***/

    .headline-servicos {
        flex-direction: column;
        height: auto;
    }

    .titulo-servicos {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: left;
    }

    .titulo-servicos h1 {
        font-size: 6rem;
    }

    .descricao-servicos {
        width: 100%;
        text-align: justify;
        font-size: 1rem;
        margin-top: 15px;
    }

    /************************** PORTFOLIO ***/

    .container-portfolio {
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .headline-portfolio {
        flex-direction: column;
        height: auto;
    }

    .headline-portfolio .titulo {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: left;
    }

    .headline-portfolio .titulo {
        font-size: 6rem;
    }

    .headline-portfolio .descricao {
        width: 100%;
        text-align: right;
        font-size: 1.4rem;
    }

    .container-case {
        gap: 2rem;
    }

    .case1,
    .case3 {
        flex-direction: column;
        gap: 1rem;
        height: auto;
        justify-content: center;
    }

    .case2, 
    .case4 {
        flex-direction: column-reverse;
        gap: 1rem;
        height: auto;
        height: auto;
        justify-content: center;
    }
    
    .imagens-case {
        width: 100%;
        height: 60vh
    }

    .textos-case {
        width: 100%;
        height: 35vh;
    }

    /************************** CONTATO ***/
    .contato {
        padding: 0rem 1rem 2rem 1rem;
        height: auto;
    }

    .container-contato {
        width: 100%;
        height: auto;
    }

    .headline-contato {
        flex-direction: column;
        height: auto;
    }

    .titulo-contato {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: left;
    }

    .titulo-contato h1 {
        font-size: 6rem;
    }

    .descricao-contato {
        width: 100%;
        text-align: right;
        font-size: 1.4rem;
    }

    .descricao-contato a {
        text-decoration: none;
        color: var(--color-black);
        font-size: 1.5rem;
        letter-spacing: 1.5px;
        line-height: 1.4;
        font-weight: bold;
    }


    .conteudo-contato {
        padding-top: 2rem;
        flex-direction: column-reverse;
    }

    .logo-contato {
        width: 100%;
        justify-content: center;
    }

    .logo-contato img{
        width: 100%;
        max-height: 500px;
        object-fit: cover;
    }

    .formulario-contato {
        width: 100%;
    }

    .credits-column {
        width: auto;
        text-align: right;
        margin-top: 0;
    }
}


/* Ocultar o botão em telas menores */
@media (max-width: 768px) {
    #whatsappButton {
        display: none;
    }
}

/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
    .descricao-contato {
        width: 100%; /* Faz a descrição ocupar a largura completa da tela */
        text-align: center; /* Centraliza o texto para melhor visualização */
        padding: 10px 0; /* Adiciona espaçamento vertical */
    }

    .descricao-contato a {
        font-size: 1.2rem; /* Reduz o tamanho da fonte para caber na tela */
        letter-spacing: 1px; /* Reduz o espaçamento entre letras */
        line-height: 1.2;
    }

    .lista-contato li {
        margin-bottom: 5px; /* Ajusta o espaçamento entre os itens */
    }
}

















@media (max-width: 768px) {
    /* Ajuste da seção principal */
    .sobre {
        padding: 1rem;
        height: auto;
    }

    .container-sobre {
        height: auto;
    }

    /* Ajuste do título "SOBRE mim" no scroll infinito */
    .headline-scroll span {
        font-size: 2rem;
    }

    .headline-sobre {
        margin-bottom: 1rem; /* Espaço entre o scroll infinito e o conteúdo abaixo */
    }

    /* Ajuste do conteúdo principal */
    .conteudo-sobre {
        flex-direction: column;
        top: 0;
        height: auto;
        align-items: center;
    }

    .left-sobre {
        width: 90%;
        align-items: center;
        text-align: center;
        gap: 2rem;
        margin-top: 30px;
    }

    .textos-sobre h1 {
        font-size: 2rem;
        margin-top: 0;
    }

    .textos-sobre p {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .redes-sociais a {
        font-size: 1rem;
    }

    /* Ajuste da imagem */
    .right-sobre {
        width: 90%;
        margin-top: 1.5rem;
    }

    .imagem-sobre {
        position: relative;
        width: 100%;
    }

    .imagem-sobre img {
        width: 100%;
    }
}



@media (max-width: 768px) {
    .certificados-section {
        padding: 2rem 1rem;
    }
    
    .certificados-grid {
        gap: 1rem;
    }
    
    .certificado-item {
        padding: 1rem;
    }
    
    .certificado-item h3 {
        font-size: 1rem;
    }
    
    .certificado-item p {
        font-size: 0.8rem;
    }
    
    .btn-ver-mais {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}


@media (max-width: 768px) {
    .destaque-inicio {
      font-size: 2.5rem;
    }
  }

  @media (max-width: 480px) {
    .destaque-inicio {
      font-size: 2rem;
    }
  }

  