:root { --primary-font: "Montserrat", sans-serif;  } 

/* --- New "Quem Somos" Section --- */
.new-empresa-section {
    position: relative;
    padding: 80px 0;
    background-color: #e3e3e3;
}
.new-empresa-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 100%;
    background-color: #ba0c0c;
    z-index: 0;
}
.new-empresa-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 15px;
}
.new-empresa-lines {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
}
.new-empresa-text {
    width: 60%;
    padding-right: 50px;
    padding-left: 30px;
    color: #fff;
    font-family: "Montserrat", "Lato", sans-serif;
    position: relative;
}
.new-empresa-text h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 25px;
    letter-spacing: 1px;
}
.new-empresa-text p {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 300;
}
.new-empresa-image {
    width: 45%;
    position: relative;
    left: 20px;
}
.new-empresa-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: block;
}

@media screen and (max-width: 991px) {
    .new-empresa-section {
        background-color: #ba0c0c;
        padding: 40px 0;
    }
    .new-empresa-section::before {
        display: none;
    }
    .new-empresa-container {
        flex-direction: column;
    }
    .new-empresa-text {
        width: 100%;
        padding-right: 15px !important;
        padding-left: 55px !important;
    }
    .new-empresa-image {
        width: 100%;
        left: 0;
        margin-top: 30px;
    }
    .new-empresa-lines {
        display: block !important;
        position: absolute !important;
        left: -17px !important;
        top: 110px !important;
        bottom: 10px !important;
        width: 26px !important;
        transform: none !important;
        background-image: url("../../upload/tracos.png") !important;
        background-repeat: no-repeat !important;
        background-position: top center !important;
        background-size: 100% auto !important;
    }
    .new-empresa-lines svg {
        display: none !important;
    }
}

/* --- New "Terceira Dobra" Section --- */
.new-terceira-dobra {
    background-color: #ffffff;
    padding: 70px 15px;
    width: 100%;
}
.new-terceira-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.new-terceira-texto {
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 40px;
}
.new-terceira-selo {
    max-width: 300px;
    height: auto;
}

/* --- New "Produtos e Serviços" Sections --- */
.new-produtos-section {
    background-color: #ba0c0c;
    padding: 60px 15px;
    width: 100%;
}
.new-servicos-section {
    position: relative;
    padding: 20px 15px 80px 15px;
    width: 100%;
    background-color: #ba0c0c;
}

.new-produtos-container,
.new-servicos-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.new-section-title {
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
}
.new-section-title strong {
    font-weight: 700;
}

/* Produto Grid */
.new-produtos-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.new-produto-card {
    background: #fff;
    width: 300px;
    position: relative;
    text-decoration: none;
    transition: transform 0.3s;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.new-produto-card:hover {
    transform: translateY(-5px);
}
.new-produto-img {
    padding: 20px;
    text-align: center;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.new-produto-img img {
    max-width: 100%;
    max-height: 100%;
}
.new-produto-title {
    background-color: rgba(238, 77, 77, 0.85);
    color: #fff;
    text-align: center;
    padding: 15px;
    font-weight: 700;
    font-size: 16px;
    position: absolute;
    bottom: 0;
    width: 100%;
    font-family: "Montserrat", sans-serif;
}

/* Servico Grid */
.new-servicos-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.new-servico-card {
    background: #fff;
    width: 320px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.new-servico-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}
.new-servico-header img {
    height: 40px;
    width: 40px;
    border: 2px solid #333;
    border-radius: 50%;
    padding: 5px;
    object-fit: contain;
}
.new-servico-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    font-family: "Montserrat", sans-serif;
}
.new-servico-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.new-servico-content {
    padding: 25px 20px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.new-servico-content p {
    color: #777;
    font-size: 14px;
    margin-bottom: 25px;
    flex-grow: 1;
    font-family: "Montserrat", sans-serif;
}
.new-btn-saiba-mais {
    display: inline-block;
    background-color: #ea1c24;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    align-self: flex-start;
    transition: 0.3s;
    font-family: "Montserrat", sans-serif;
}
.new-btn-saiba-mais:hover {
    background-color: #b0050f;
}

@media screen and (max-width: 991px) {
    .new-servicos-section::before {
        display: none;
    }
    .new-servicos-section {
        background-color: #d80000;
        padding-top: 40px;
    }
}

/* --- New "Clientes" Section --- */
.new-clientes-section {
    padding: 60px 15px;
    background-color: #ffffff;
    text-align: center;
}
.new-clientes-title {
    color: #ea1c24;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 1px;
}
.new-clientes-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px; /* Space for arrows */
}
.new-clientes-carousel .owl-item {
    outline: none;
    min-height: 220px;
}
.new-clientes-carousel .owl-item img {
    display: block;
    width: 180px !important;
    height: 180px !important;
    object-fit: contain;
    margin: 15px auto;
    transition: transform 0.3s;
    background-color: transparent;
}
.new-clientes-carousel .owl-item img:hover {
    transform: scale(1.05);
}

/* Custom Owl Arrows for Clientes */
.new-clientes-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #fff !important;
    border: 1px solid #eaeaea !important;
    display: block;
    cursor: pointer;
    color: transparent;
    font-size: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: 0.3s;
    padding: 0 !important;
    margin: 0 !important;
}
.new-clientes-carousel .owl-nav button:hover {
    border-color: #ea1c24 !important;
    box-shadow: 0 4px 12px rgba(234, 28, 36, 0.15);
}
.new-clientes-carousel .owl-prev {
    left: -20px;
}
.new-clientes-carousel .owl-next {
    right: -20px;
}
.new-clientes-carousel .owl-prev::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #ea1c24;
    border-left: 2px solid #ea1c24;
    transform: rotate(-45deg);
    margin: 0 auto;
    margin-left: 14px;
}
.new-clientes-carousel .owl-next::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #ea1c24;
    border-right: 2px solid #ea1c24;
    transform: rotate(45deg);
    margin: 0 auto;
    margin-right: 14px;
}

/* --- New "Depoimentos" Section --- */
.new-depoimentos-section {
    background-color: #e30613;
    width: 100%;
    padding: 60px 15px;
}
.new-depoimentos-container {
    max-width: 1200px;
    margin: 0 auto;
}
.new-depoimentos-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 1px;
}
.new-depoimentos-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.new-depoimento-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 320px;
}
.new-depoimento-item video {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background-color: #000;
}
.new-depoimento-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    margin-top: 20px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
}

/* Correção Sessão Novidades */
.blog-home .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 30px;
}
.blog-home .row::before,
.blog-home .row::after {
    display: none !important;
}

.blog-card {
    display: flex;
    flex-direction: column;
    width: calc(33.333% - 30px);
}

@media (max-width: 991px) {
    .blog-card {
        width: 100%;
    }
}

.blog-card__image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    display: block;
    background-color: #ffffff;
}

.blog-card__image > a:first-child {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-card__cover {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 10px;
}

.blog-card__category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e30613;
    color: #fff;
    padding: 5px 15px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    z-index: 2;
}
.blog-card__category:hover {
    color: #fff;
    background-color: #ba0c0c;
}

.blog-card__info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: #f1f1f1;
    padding: 25px;
}

.blog-card__title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
.blog-card__title a {
    color: #333;
    text-decoration: none;
}
.blog-card__title a:hover {
    color: #e30613;
}

.blog-card__date, .blog-card__author {
    font-size: 12px;
    color: #777;
    margin-bottom: 5px;
}
.blog-card__author {
    margin-bottom: 15px;
}
.blog-card__author a {
    color: #e30613;
    text-decoration: none;
}

.blog-card__description {
    flex-grow: 1;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}
.blog-card__content-text {
    margin: 0;
}

/* Correção Destaques MPI */
.destaques-mpi {
    margin-top: 60px;
    margin-bottom: 40px;
}
.destaques-mpi__title {
    color: #e30613;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: none;
}
.destaques-mpi__title span {
    color: #333;
}
.destaques-mpi .card-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.destaques-mpi .card {
    position: relative;
    width: calc(25% - 15px);
    display: block;
    overflow: hidden;
    text-decoration: none;
    background-color: #fff;
}
.destaques-mpi .card__image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: #fff;
    display: block;
}
.destaques-mpi .card__title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(235, 96, 100, 0.9);
    color: #fff;
    padding: 15px 10px;
    margin: 0;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    transition: background-color 0.3s;
}
.destaques-mpi .card:hover .card__title {
    background-color: rgba(227, 6, 19, 0.95);
}

@media (max-width: 991px) {
    .destaques-mpi .card {
        width: calc(50% - 10px);
    }
}
@media (max-width: 575px) {
    .destaques-mpi .card {
        width: 100%;
    }
}

/* Modal Pop-up */
#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}
.popup-box {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    animation: popup-scale 0.4s ease forwards;
}
.popup-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
}
.popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background-color: #e30613;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    padding-bottom: 2px; /* optical alignment */
}
.popup-close:hover {
    background-color: #ba0c0c;
}
@keyframes popup-scale {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Hide banner on mobile */
@media (max-width: 991px) {
    .wrap_banner {
        display: none !important;
    }
}