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

    .container {
        padding: 0;
    }

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

    .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: right;
        font-size: 1.4rem;
    }

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

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

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

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

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

    .headline-planos .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;
    }
}

@media screen and (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 1rem;
    }
}

@media screen and (max-width: 992px) {
    .conteudo-sobre {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .right-sobre {
        order: -1;
    }
    
    .conteudo-contato {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .container-footer {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .headline-servicos {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .titulo-inicio h1 {
        font-size: clamp(1.8rem, 4vw, 3rem);
    }
    
    .paragrafo-inicio p {
        font-size: clamp(1rem, 1.5vw, 1.3rem);
    }

    .container-free-your-mind span {
        font-size: clamp(1.5rem, 4vw, 3rem);
    }

    .container-footer {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .menu-column, .social-column {
        text-align: center;
    }

    .menu-column h3::after, .social-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links a {
        justify-content: center;
    }

    .social-links a:hover {
        transform: translateX(0) scale(1.05);
    }
}

@media screen and (max-width: 576px) {
    .line-container.center {
        flex-direction: column;
        gap: 1rem;
    }

    .line-container.center .line {
        width: 100%;
        margin: 0.5rem 0;
    }

    .formulario-contato {
        padding: 2rem 1.5rem;
    }

    .pricing-box {
        max-width: 100%;
    }
}