* {
    margin: 0;
    padding: 0;
    font-family: 'Baloo Thambi 2', cursive;
    box-sizing: border-box;
    /* Garante que padding não aumente o tamanho dos elementos */
}

nav a {
    color: #ff5000;
    text-decoration: none;
    transition: 0.3s;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 35px;
    background-color: rgb(255, 255, 255);
    height: 10vh;
}

main {
    background-color: #3b3b3b;
    background-size: cover;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.nav-list {
    list-style: none;
    display: flex;

}

.nav-list li {
    letter-spacing: 2px;
    margin-left: 32px;
    font-weight: 600;
    font-size: 18px;
}

.nav-disabled {
    color: #ffbd99 !important;
    pointer-events: none;
    cursor: default;
}

.nav-list li:after {
    content: "";
    width: 0%;
    height: 1.8px;
    background: #ff5000;
    display: block;
    margin: auto;
    transition: 0.25s;
}

.nav-list li:hover:after {
    width: 100%;
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu div {
    width: 32px;
    height: 3px;
    background: #ff5000;
    margin: 8px;
    transition: 0.3s;
}

.capavibracampobelo {
    max-width: 100%;
    position: relative;
    margin: auto;
    display: flex;
    align-items: center;
}

.bannercapa {
    display: flex;
    overflow: hidden;
}

.logoprodutoresp {
    display: none;
}

.logoproduto {
    position: absolute;
    top: 15%;
    width: 30%;
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.7);
}

.containerinfo {
    width: 90%;
    margin: 1rem auto;
}

.cardinfo {
    background-color: rgb(240, 240, 240);
    box-shadow: 0 0 2.5rem rgba(0, 0, 0, 0.28);
    align-items: center;
    border-radius: 15px;
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    /* Garante que as imagens respeitem o border-radius */
}

.cardimg {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.cardimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cardcontent {
    padding: 1rem 5rem;
    margin: auto;
    position: relative;

}

.cardtext {
    margin-bottom: 30px;
}

.cardbtn {
    justify-content: center;
    display: flex;
}

.btntour {
    text-decoration: none;
    color: #fff;
    padding: 0.6rem;
    background-color: #ff5000;
    border-radius: 20px;
    cursor: pointer;
    letter-spacing: 3px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.btntour:hover {
    background-color: #3b3b3b;
    color: #ff5000;
}

.cardinfo h1 {
    color: #3b3b3b;
    text-align: center;
    font-size: 200%;
}

.cardinfo h2 {
    color: #ff5000;
    font-weight: 700;
}

.cardinfo p {
    font-size: 18px;
    color: black;
}

.optionsbtns {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.btnopt {
    background-color: #ff5000;
    margin: 5px;
    border: none;
    padding: 6px;
    border-radius: 30px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    letter-spacing: 2px;
    text-decoration: none;
}

.btnopt:hover {
    background-color: #3b3b3b;
    color: #ff5000;
}

.boxcoord {
    background-color: #ff5000;
    padding: 12px 0;
}

.boxcoordtext {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.boxtext {
    text-align: center;
    line-height: 0.9;
    display: flex;
    align-items: center;
    color: #fff;
}

.coord {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
}

.boxtext .fa {
    color: #fff;
    margin: 0 10px;
    font-size: 50px;
}

.boxtext a {
    text-decoration: none;
}

.boxtext a :after {
    content: "";
    width: 0%;
    height: 3px;
    background: #3b3b3b;
    display: block;
    margin: auto;
    transition: 0.25s;
    border-radius: 5px;
}

.boxtext a :hover:after {
    width: 100%;
}

footer {
    position: relative;
    height: auto;
    padding: 30px 50px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footercontainer {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
}

.sec {
    margin-top: 1px;
    margin-right: 30px;
    justify-content: space-between;
    align-items: center;
}

.sec.aboutus {
    width: 40%;
}

.sec.aboutus img {
    margin-left: 80px;
    margin-top: 30px;
}

.footercontainer h2 {
    position: relative;
    color: #ff5000;
    margin-bottom: 10px;
}

.footercontainer h2:before {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #ff5000;
}

footer p {
    color: #3b3b3b;
}

.sci {
    margin-top: 40px;
    display: flex;
}

.sci li {
    list-style: none;
}

.sci li a {
    display: inline-flex;
    width: 70px;
    height: 50px;
    align-items: center;
    margin-right: 10px;
    text-decoration: none;
    color: #ff5000;
    font-size: 40px;
}

.sci li a:hover {
    color: #3b3b3b;
}

.quickLinks {
    position: relative;
    width: 25%;
}

.quickLinks h2 {
    margin-left: 30px;
}

.quickLinks ul li {
    list-style: none;
}

.quickLinks ul li a {
    color: #3b3b3b;
    text-decoration: none;
    margin-bottom: 5px;
    display: inline-block;
    margin-left: 30px;
}

.quickLinks ul li a:hover {
    color: #ff5000;
}

.contactus {
    width: calc(35% - 60px);
    margin-right: 0 !important;
    overflow: hidden;
}

.contactus h2 {
    margin-left: 20px;
}

.contactus .info {
    position: relative;
}

.contactus .info li {
    display: flex;
    margin-bottom: 30px;
    align-items: center;
    margin-left: 20px;
}

.contactus .info li span:nth-child(1) {
    color: #ff5000;
    font-size: 30px;
    margin-right: 20px;
}

.contactus .info li span {
    color: #3b3b3b;
}

.contactus .info li a {
    color: #ff5000;
    text-decoration: none;
}

.contactus .info li a:hover {
    color: #3b3b3b;
}

@media (max-width: 999px) {

    /* Responsividade - Mobile part */
    body {
        overflow-x: hidden;
        position: relative;
    }

    html {
        overflow-x: hidden;
    }

    .nav-list {
        position: absolute;
        top: 8vh;
        right: 0;
        width: 50vw;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        transform: translateX(100%);
        z-index: 1;
    }

    .nav-list li {
        margin-left: 10px;
        opacity: 0;
    }

    .mobile-menu {
        display: block;
        background-color: #fff;
    }

    .backgndimg {
        display: none;
    }

    .logoproduto {
        display: none;
    }

    .logoprodutoresp {
        display: block;
        position: static;
        width: 100%;
        margin: 0 auto;
        background-color: #ff5000;
    }

    .boxtext {
        font-size: 10px;
    }

    .boxtext .fa {
        font-size: 28px;
    }

    .coord {
        font-size: 18px;
    }

    footer {
        padding: 30px 50px;
    }

    .footercontainer {
        flex-direction: column;
    }

    .footercontainer .sec {
        margin-right: 0;
        margin-bottom: 40px;
    }

    .sec.aboutus,
    .quickLinks,
    .contactus {
        width: 100%;
    }

    .sci {
        margin-left: -20px;
    }

    .sci li a {
        margin-right: 14px;
        justify-content: center;
    }

    .quickLinks h2 {
        margin-left: 0;
    }

    .quickLinks ul li a {
        margin-left: 0;
    }

    .contactus h2 {
        margin-left: 0;
    }

    .contactus .info li {
        margin-left: 0;
    }

    .cardtext h1 {
        font-size: 30px;
    }

    .cardcontent {
        padding: 1rem 2rem;
    }



}

@media (max-width: 500px) {
    .boxcoordtext {
        flex-direction: column;
        align-items: baseline;
        align-content: center;
        flex-wrap: wrap;
    }

    .boxtext {
        margin: 3% 0;
    }

    .boxtext h1 {
        font-size: 30px;
    }

    .coord {
        font-size: 25px;
    }

}


@media screen and (min-width: 999px) {

    .cardinfo {
        display: flex;
        min-height: 35rem;
        height: auto;
        align-items: stretch;
        /* Garante que a coluna da imagem cresça com o texto */
    }

    .cardcontent {
        padding: 1rem 2rem;
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .cardimg,
    .cardimg-sup {
        width: 50%;
        position: relative;
        /* Referência para a imagem absoluta */
        min-height: 35rem;
        /* Garante altura mínima igual ao pai */
    }

    .cardimg img,
    .cardimg-sup img {
        position: absolute;
        /* Fixa a imagem no tamanho do container pai */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Cobre todo o espaço sem distorcer */
        display: block;
    }
}

.nav-list.active {
    transform: translateX(0);
    transition: transform 0.3s ease-in;
}

@keyframes navLinkFade {

    /* Menu Return */
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}

.mobile-menu.active .line1 {
    transform: rotate(-45deg) translate(-8px, 8px);
}

.mobile-menu.active .line2 {
    opacity: 0;
}

.mobile-menu.active .line3 {
    transform: rotate(45deg) translate(-5px, -7px);
}

@media (min-width: 1100px) {

    .sci li a {
        margin-right: 1px;
    }

}

.list-fichatec {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 18px;
}

.li-fichatec {
    font-weight: bold;
}

span {
    font-weight: normal;
    font-size: 16px;
}

/* Modal Styles */
.modal {
    display: none;
    /* JS changes this to flex */
    position: absolute;
    z-index: 99999;
    left: 0;
    /* top set via JS */
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    /* Prevent overlay scroll */
    background-color: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 900px;
    /* Fixed width as requested */
    max-width: 95vw;
    /* Safety for mobile */
    height: 550px;
    /* Fixed height (500 + padding/header approx) */
    border-radius: 15px;
    position: relative;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Prevent dragging/overflow issues */
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #ff5000;
    text-decoration: none;
    cursor: pointer;
}

#modal-title {
    color: #ff5000;
    text-align: center;
    margin-bottom: 20px;
}

#modal-files-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    /* Fill available space */
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
}

#modal-files-list a {
    font-size: 14px;
}

.file-link {
    display: block;
    color: #ff5000;
    text-decoration: none;
    margin-bottom: 5px;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    /* Prevents layout jump if border is added on hover */
}


.file-link:hover {
    background-color: #ff5000;
    color: #3b3b3b;
    font-weight: bold;
}

.modal-body-container {
    display: flex;
    gap: 20px;
    flex: 1;
    /* Take remaining height after title */
    min-height: 0;
    /* Crucial for nested scrolling */
    width: 100%;
}

@media (max-width: 768px) {
    .modal-body-container {
        flex-direction: column;
    }

    .modal-right {
        border-left: none !important;
        border-top: 1px solid #ddd;
        padding-left: 0 !important;
        padding-top: 20px;
        min-height: 200px;
    }

    #modal-files-list {
        max-height: 200px;
    }
}

#modal-preview-container {
    width: 100%;
    height: 100%;
    /* Fill the fixed modal height */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    overflow: hidden;
    /* Ensure nothing spills out */
}

#modal-preview-container img,
#modal-preview-container iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensures images fit within the box without distortion */
    border: none;
}

.lista-corretores {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}