@media (max-width: 1350px) {
    #history .corpo {
        flex-direction: column;
        gap: 50px;
    }
}
@media (max-width: 1024px) {
    header {
        padding-inline: 24px;
    }
    main #contact {
        padding: 50px 50px;
    }
    #contact .linha {
        grid-template-columns: 1fr;
    }
    #services .card-ttkgarden {
        width: 100%;
        max-width: 640px;
        height: auto;
    }
}
@media (max-width: 780px) {
    header #navbar {
        cursor: pointer;
        display: block;
    }
    header #navbar.ativo .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    header #navbar.ativo .bar:nth-child(2) {
        opacity: 0;
    }
    header #navbar.ativo .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    header .menu-list {
        display: flex;
        flex-direction: column;
        gap: 50px;
        position: fixed;
        z-index:9999;
        top: 63.2px;
        right: -100%;
        width: 50%;
        height: calc(100vh - 63.2px);
        background-color: var(--bg-header);
        border-left: 1px solid var(--bg-border);
        overflow-y: auto;
        padding: 20px;
    }
    header .menu-list.ativo {
        right: 0;
    }
    header .menu-list li {
        width: 100%;
    }
    #home .linha-grande.left,
    #home .linha-grande.right {
        width: 150px;
    }
    #home .linha-pequena.left,
    #home .linha-pequena.right {
        width: 65px;
    }
    #home .linha-center {
        gap: 8px;
    }
    #home .slogan {
        font-size: 16px;
    }
    #home .marca-registrada {
        font-size: 22px;
        margin-top: 6px;
    }
    #history {
        padding-inline: 60px;
    }
    #history .cards {
        grid-template-columns: repeat(2, 200px);
        grid-template-rows: repeat(2, 200px);
        gap: 20px;  
    }
    #projects {
        padding-inline: 60px;
    }
    #projects .imagens {
        grid-template-columns: repeat(3, 1fr);
    }
    #contact .contact-container {
        flex-direction: column;
        align-items: center;
    }
    #contact .descricao {
        letter-spacing: 0.12em;
    }
    #services .logo-ttkgarden {
        height: 260px;
    }
    #services .logo-ttkgarden img {
        width: 110px;
    }
    #services .logo-ttkgarden h2 {
        font-size: 32px;
        letter-spacing: 0.08em;
    }
    #services .logo-ttkgarden h3 {
        font-size: 14px;
        letter-spacing: 0.25em;
    }
    #services .content h3 {
        font-size: 22px;
    }
    #services .content .slogan {
        font-size: 14px;
    }
    footer {
        padding: 24px;
    }
}
@media (max-width: 480px) {
    #home .logotipo {
        gap: 10px;
    }
    #home .linha {
        height: 10px;
    }
    #home .linha-grande.left,
    #home .linha-grande.right {
        width: 100px;
    }
    #home .linha-pequena.left,
    #home .linha-pequena.right {
        width: 46px;
    }
    #home .titulo {
        font-size: clamp(22px, 10vw, 48px);
        letter-spacing: clamp(1px, 1vw, 4px);
    }
    #home .slogan {
        font-size: 14px;
    }
    #home .marca-registrada {
        font-size: 18px;
    }
    #history {
        padding-inline: 30px;
    }
    #history .cards {
        grid-template-columns: repeat(2, 140px);
        grid-template-rows: repeat(2, 140px);
        gap: 10px;  
    }
    #projects {
        padding-left: 30px;
        padding-right: 30px;
    }
    #projects .imagens {
        grid-template-columns: repeat(2, 1fr);
    }
    #projects .ver-mais {
        padding: 10px 20px;
    }
    #services .logo-ttkgarden {
        height: auto;
    }
    #services .logo-ttkgarden img {
        width: 96px;
    }
    #services .logo-ttkgarden h2 {
        font-size: 28px;
        letter-spacing: 0.06em;
    }
    #services .logo-ttkgarden h3 {
        font-size: 12px;
        letter-spacing: 0.2em;
    }
    #services .content h3 {
        font-size: 20px;
    }
    #services .content .text-ttk {
        font-size: 13px;
        line-height: 1.6;
    }
    #services .card-ttkgarden .button-insta a {
        font-size: 13px;
    }
    footer {
        font-size: 13px;
    }
    .footer-top h2 {
        font-size: 20px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;

        width: 50px;
        height: 50px;
    }
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}
