@media(max-width: 1650px) {
    .sobre_a_portenha .card-red {
        margin-right: 0px;
    }

    .sobre_a_portenha .card-text .top h3 {
        font-size: 27px;
    }

    .sobre_a_portenha .card-text p {
        width: 100%;
    }
}

@media(max-width: 1500px) {
    .menu-principal {
        margin-right: 30px;
        margin-left: -60px;
    }

    .vitrine .product-reel {
        column-gap: 0;
        margin: 40px 0 40px 0px;
    }

    .product-display .product-specification {
        gap: 20px;
    }

    .sobre_a_portenha-container {
        margin: 0px 15px 0 30px;
    }

    .sobre_a_portenha .card-image-container h3 {
        left: 20px;
    }

    .diferenciais {
        margin-left: 30px;
    }

    .diferenciais-right .texto {
        padding-right: 30px;
    }

    .diferenciais-right p {
        width: 490px;
    }

    .diferenciais-grid-texto {
        padding: 50px 13px 50px 16px;
    }

    .other-products-container,
    .cta-container,
    .footer-container {
        margin-left: 30px;
    }

    .footer-credits span {
        margin-left: 0px;
    }
}

@media(max-width: 1200px) {
    #pag_produtos .nossos_produtos {
        min-height: 940px;
    }

    .nossos_produtos .vitrine {
        flex-direction: column;
    }

    .vitrine .brown-side {
        width: 100%;
        height: 220px;
    }

    #pag_produtos .vitrine .brown-side,
    #pag_projetos .vitrine .brown-side {
        height: 180px;
    }

    .vitrine .categorias {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 40px;
        gap: 55px;
    }

    .vitrine .categorias .vertical-bar {
        display: none;
    }

    #pag_projetos .vitrine .product-reel,
    #pag_produtos .vitrine .product-reel {
        margin-right: 20px;
        margin-left: 20px;
    }

    .sobre_a_portenha .cards {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sobre_a_portenha .card-text {
        height: 450px;
    }

    .sobre_a_portenha .card-image-container {
        width: 560px;
    }

    .sobre_a_portenha .card-image-container h3 {
        left: 60px;
    }

    #pag_quem_somos .sobre_a_portenha .btn-produtos {
        top: -1266px;
    }

    .diferenciais .centro {
        flex-direction: column-reverse;
        align-items: center;
    }

    .diferenciais-left {
        padding-top: 30px;
    }

    .diferenciais-right {
        width: 85%;
        max-width: 100%;
        padding: 70px clamp(0.875rem, -2.188rem + 10.83vw, 5.938rem);
        transition: width 0.3s ease-in-out;
    }

    .diferenciais-right p {
        width: 95%;
        text-align: justify;
    }

    .sobre_a_portenha .card-text {
        margin: 20px 15px;
    }


    .product-display .product-specification {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .caixa-container {
        position: relative;
        bottom: unset;
        width: 100%;
        height: unset;
        margin-top: 20px;
    }

    .mask_caixa {
        aspect-ratio: 1 / 1;
        width: 100%;
        height: auto;
    }

    .product-container {
        padding-top: 0;
        padding-left: 0;
    }

    .footer-container {
        display: flex;
        flex-direction: row;
        margin-top: 25px;
        padding: 45px 0px 45px 0px;
    }

    .footer-top {
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: center;
        gap: 62px;
    }

    .footer-bottom {
        display: flex;
        flex: 0.6;
        flex-direction: column;
        align-items: flex-start;
        margin: auto;
        gap: 35px;
    }
}

@media(max-width: 1000px) {
    .menu-principal ul {
        justify-content: center;
    }

    .menu-principal ul li {
        display: none;
    }

    .menu-principal ul li:has(a.logo) {
        display: inline;
    }

    /* Unused old index banner styles */
    #pag_inicial .banner-section .black-square {
        width: 0px;
    }

    #pag_inicial .banner-section .flame-icon {
        display: none;
        right: -450px;
    }

    #pag_inicial .banner-section .black-square .text {
        border-radius: 125px;
        background-color: rgba(0, 0, 0, 0.5);
        /* text-shadow: 0px 0px 24px #c0b298; */
        box-shadow: 0px -8px 29px 40px rgba(0, 0, 0, 0.5);
        font-size: 28px;
        /* padding: 220px 0px 0px 6.25rem; */
        /* color: #1c1c1c; */
        text-align: left;
        text-shadow: 0px 0px 24px #000000;
    }

    #pag_projeto_interno .banner,
    #pag_produto_interno .banner,
    #pag_quem_somos .banner {
        height: 462px;
    }

    #pag_projeto_interno .banner-image,
    #pag_produto_interno .banner-image,
    #pag_quem_somos .banner-image {
        height: min(462px, 100%);
    }

    #pag_produtos .banner-section .flame-icon,
    #pag_projeto_interno .flame-icon,
    #pag_produto_interno .flame-icon,
    #pag_quem_somos .banner-section .flame-icon {
        left: 51px;
        height: 468px;
    }

    #pag_produtos .banner-section .play-button,
    #pag_projeto_interno .play-button,
    #pag_produto_interno .play-button,
    #pag_quem_somos .banner-section .play-button {
        top: 185px;
    }

    #pag_quem_somos .sobre_a_portenha .sobre_a_portenha-header {
        padding-left: 45px;
    }

    /* 
    #pag_projeto_interno .banner .title-container,
    #pag_produto_interno .banner .title-container {
        justify-content: center;
    }

    #pag_projeto_interno .banner .title-shadow,
    #pag_produto_interno .banner .title-shadow {
        margin-right: 0;
    }

    #pag_projeto_interno .banner .title-container .title,
    #pag_produto_interno .banner .title-container .title {
        gap: 25px;
    }

    #pag_projeto_interno .banner .title-container .title img,
    #pag_produto_interno .banner .title-container .title img {
        width: clamp(3.75rem, 0.351rem + 15.54vw, 10.063rem);
    }

    #pag_projeto_interno .banner .title-container .title h1,
    #pag_produto_interno .banner .title-container .title h1 {
        width: 60vw;
        font-size: clamp(1.438rem, 0.125rem + 6vw, 3.875rem);
    } */

    .video-container {
        bottom: 0px;
    }

    .vitrine .product-reel {
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: 1fr;
        row-gap: 50px;
        justify-items: center;
        margin-top: 50px;
    }


    .features-container {
        width: 100%;
    }

    .feature-item {
        padding: 20px 30px;
    }

    .text-content h3 {
        font-size: 29px;
    }

    .text-content p {
        font-size: 17px;
    }

    .diferenciais {
        margin-right: 15px;
        margin-left: 15px;
    }

    .diferenciais-right {
        width: 100%;
    }

    .cta-content h1 {
        font-size: 8vw;
    }

    .footer-credits {
        flex-direction: column;
        padding: 20px 40px;
        gap: 20px;
    }

    .story-container {
        flex-direction: column;
        padding: 40px 15px;
        gap: 0px;
    }

    .story-text {
        width: 100%;
        max-width: unset;
        padding: 0 15px;
        text-align: left;
    }

    .story-image {
        width: 100%;
        max-width: unset;
    }

    .story-image img {
        margin: 0 auto;
    }

    .production-gallery {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }

    .differentials-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
}

@media (max-width: 800px) {

    #pag_projeto_interno .banner .banner-image,
    #pag_produto_interno .banner .banner-image {
        min-height: inherit;
    }

    #pag_projeto_interno .banner .title-container .title,
    #pag_produto_interno .banner .title-container .title {
        flex-direction: column;
    }

    .mask_video {
        width: 97vw;
        height: 88.2vw;
    }

    .product-display .thumbnails {
        justify-content: center;
        width: calc(100% - 20px);
        gap: 10px;
    }

    .product-display .thumbnails img {
        width: 154px;
        height: 120px;
        margin: 3px;
        border-width: 5px;
        border-style: solid;
        border-color: rgb(192, 178, 152);
    }

    .sobre_a_portenha-container {
        margin: 0px;
    }

    .sobre_a_portenha .card-image-container {
        width: 100%;
    }

    .story-text h2 {
        font-size: 43px;
    }

    .story-text p {
        font-size: 15px;
    }

    .black-bar {
        width: clamp(17.5rem, -5rem + 60vw, 25rem);
    }

    .vitrine .categorias {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        gap: 20px;
    }

    .vitrine .diamond-wrapper {
        display: none;
    }

    .vitrine .button-wrapper {
        display: block;
    }
}

@media(max-width: 600px) {

    .bt_menu_mobile {
        left: -115px;
        height: 130px;
    }

    .bt_menu_mobile img {
        top: 49px;
        right: 30px;
    }

    .menu-principal {
        margin-right: 1px;
        margin-left: -116px;
    }

    .menu-principal .logo img {
        width: 150px;
    }

    .vitrine .brown-side {
        height: 180px;
        padding-top: 16px;
    }

    #pag_produtos .nossos_produtos {
        min-height: 870px;
    }

    .product-reel {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 30px;
    }

    #pag_inicial .banner-section .black-square .text {
        margin-left: clamp(1.7rem, -4.67rem + 29.12vw, 6.25rem);
    }

    #pag_onde_comprar .banner-section .black-square .text,
    #pag_projetos .banner-section .black-square .text,
    #pag_produtos .banner-section .black-square .text {
        padding: 120px 0px 0px 30px;
        font-size: 26px;
    }

    #pag_onde_comprar .banner-section .escolha-uma-cidade {
        width: 333px;
        max-width: 82vw;
    }

    .mapa {
        height: fit-content;
    }

    .mapa-container,
    .mapa_vendors {
        /* top: -232px; */
        left: 0;
    }

    .black-bar {
        width: 100%;
        height: 100%;
        margin-top: 462px;
        padding: 36px 24px;
    }

    .production-section {
        padding: 50px 0;
    }

    .production-gallery {
        grid-template-columns: 1fr;
    }

    .differentials-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 300px;
    }

    .story-text h1,
    .production-header h1,
    .differentials-header h1 {
        font-size: 36px;
    }

    .story-container {
        padding-top: 20px;
    }

    .sobre_a_portenha {
        padding-top: 30px;
        padding-bottom: 15px;
    }

    .sobre_a_portenha .sobre_a_portenha-header h1,
    .other-products-container h1 {
        font-size: 34px;
    }

    .sobre_a_portenha .card-image-container h3 {
        left: clamp(0.75rem, -5.25rem + 24vw, 3.75rem);
    }

    .sobre_a_portenha .card-text {
        width: 90%;
        height: fit-content;
        margin: 20px 0px;
        margin-bottom: 0;
        padding: 20px;
        gap: 10px;
    }

    .sobre_a_portenha .card-red {
        margin-bottom: 25px;
    }

    .diferenciais-right p {
        width: 95%;
        font-size: 15px;
        text-align: left;
    }

    .product-display .product-specification {
        width: calc(100% - 40px);
    }

    .product-container {
        font-size: 13px;
    }

    .product-details .details-column .details-list p {
        font-size: 13px;
    }

    .preco-produto {
        font-size: 24px;
    }

    .features {
        margin-top: 0px;
    }

    .text-content h3 {
        font-size: 22px;
    }

    .text-content p {
        font-size: 15px;
    }

    .vitrine .brown-side {
        padding-top: 30px;
    }

    .vitrine .brown-side h1 {
        font-size: 35px;
    }

    #pag_projetos .vitrine,
    #pag_produtos .vitrine {
        margin-bottom: 20px;
    }

    #pag_projeto_interno .nossos_produtos .product-item,
    #pag_projetos .nossos_produtos .product-item {
        width: 100%;
    }

    .diferenciais {
        margin: 0px;
    }

    .diferenciais-left {
        grid-template-rows: repeat(3, 180px);
        padding-top: 0px;
    }

    .diferenciais-right h1 {
        font-size: 35px;
    }

    .diferenciais-right p {
        width: 100%;
        line-height: 23px;
    }

    .diferenciais-right .texto {
        padding-right: 20px;
        padding-left: 20px;
    }

    .diferenciais-grid-texto h2 {
        font-size: 20px;
    }

    .other-products-container {
        margin-left: 0px;
        padding: 30px 20px;
    }

    .cta-container {
        height: 450px;
        margin-top: 0px;
        margin-left: 0px;
        background-position-x: 91%;
    }

    .lg-outer .lg-video-cont {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        margin-top: 0px;
        margin-left: 0px;
        gap: 27px;
    }

    .footer-top {
        width: 100%;
        gap: 40px;
    }

    .newsletter-form {
        width: 90%;
    }

    .footer-bottom {
        width: max-content;
    }

    .footer-credits {
        flex-direction: column;
        padding: 5px 15px;
        gap: 6px;
    }

    .footer-credits span {
        font-size: 13px;
    }

    .footer-credits a {
        font-size: 13px;
    }

    footer .whatsapp {
        right: 15px;
    }

}