@import './datatables.min.css';
@import '../MaterialDesign-Webfont-master/css/materialdesignicons.min.css';
@import './bootstrap.min.css';

/* Reset e base */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    margin: 0;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #333 !important;
}

.navbar-toggler {
    background-color: #000;
}

/* Z-index para garantir ordem correta */
.z-index-10 {
    z-index: 10;
}

/* Estilo do texto branco */
.text-white {
    color: #fff !important;
}
.fontlogo {
    color: black;
}

/* inicio */
.tamanhobanner {
    height: 500px !important;
}

.carimbo {
    height: 120px;
    width: auto;
    margin-left: 10px;
}

/* funcionalidade */
.cortexttitulo {
    color: white;
}
.cortexttec {
    color: white !important;
}

/* Botão com flexbox para centralizar conteúdo */
.btn-outside {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    font-weight: 500;
}

/* Tamanho do ícone */
.btn-outside .mdi {
    font-size: 1.2em;
}

/* Remove padding do container-fluid */
.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Remove gutters internos das colunas */
.row.g-0 > .col-12,
.row.g-0 > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Item do produto */
.product-item {
    position: relative;
    width: 100%;
    height: 500px; /* Aumentado de 420px para 500px */
    overflow: hidden;
    background: #000;
    display: flex;
    flex-direction: column;
}

/* Imagem responsiva */
.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Camada de opacidade sobre a imagem */
.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.61);
    z-index: 1;
    pointer-events: none;
}

/* Título e texto centralizados com mais espaço */
.img-title {
    position: absolute;
    top: 35%; /* Subiu um pouco para dar espaço embaixo */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    text-align: center;
    z-index: 2;
    max-height: 180px; /* Aumentado para caber mais linhas */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.text-overlay p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: white !important;
}

.text-overlay h5 {
    margin: 0;
    color: white;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Limita a 2 linhas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 80px; /* Altura máxima para 2 linhas */
}

/* Botão fixo - com margem segura */
.img-button {
    position: absolute;
    bottom: 20px; /* Pode aumentar para 30px se necessário */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* Botão personalizado */
.btn-primary {
    background-color: #0d6efd;
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 19px !important;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
}

/* Efeito de zoom opcional */
.product-item:hover img {
    transform: scale(1.05);
}

/* Cards com transição suave */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.329) !important;
}

/* Título da seção */
h3 strong {
    color: #222;
}

/* Botão principal */
.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.btn-dark {
    background-color: #000000 !important;
    border: none;
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 27px;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: #ffffff !important;
    color: #000 !important;
    transform: translateY(-2px);
}

.btn-red {
    background-color: #e74c3c !important;
    color: white !important;
    border: none;
    padding: 12px 24px;
    font-size: 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-red:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(231, 76, 54, 0.3);
}

/* SVG decorativo */
.svg-secondary path {
    fill: #007bff;
}

/* Clientes e parceiros */
.client-logo-wrapper {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    width: 160px;
    margin: 0 auto;
    opacity: 0.8;
    overflow: hidden;
}

.logo-center {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    vertical-align: middle;
}

.client-logo-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    opacity: 1;
    border: 1px solid #e9ecef;
}

/* Carrossel */
#clients-carousel {
    overflow-x: hidden;
}

.clients-carousel .owl-stage-outer {
    padding: 20px 0;
}

.clients-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.clients-carousel .owl-dots button span {
    background: #ccc !important;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.clients-carousel .owl-dots button.active span,
.clients-carousel .owl-dots button:hover span {
    background: #007bff !important;
    transform: scale(1.2);
}

/* Footer - Links e hover */
footer a {
    color: #ccc;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

footer i {
    margin-right: 5px;
}

.btn-outline-light {
    border-color: white;
    color: white !important;
    font-size: 0.85rem;
}

/* Antigo */
.bg-nav {
    background-color: #f8f9fa;
}

.logo {
    width: 76px;
    height: auto !important;
}

.logo-marca {
    height: 70px;
    width: auto;
}

/* Modal */
.fechar {
    position: absolute;
    top: 0;
    right: 0;
    margin: -0.5rem !important;
}

.modal-header {
    border-bottom: none;
}

.eye {
    position: relative;
}

.icone {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 0.8rem;
}

/* Mobile */
@media (max-width: 767.98px) {
    body, html {
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    .container, .container-fluid, .row {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

/* Borda divisória entre os cards (apenas em telas médias e maiores) */
@media (min-width: 768px) {
    .border-divider {
        position: relative;
    }

    .border-divider:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 1px;
        background-color: white;
        z-index: 3;
        pointer-events: none;
    }
}     