/* geralVars.css */
body {
    background-color: #fff;
}

.compras-vmi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: left;
    color: #0c2140;
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 25px;
}

p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    text-align: justify;
    margin: 15px 0;
}

.subtitulo {
    color: #0c2140;
    font-size: 1rem;
    font-weight: bold;
}

.compras-vmi-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 quadrantes por linha */
    gap: 30px; /* Aumentar espaço horizontal entre quadrantes */
    margin-top: 30px; /* Espaçamento entre texto e quadrantes */
}

.compras-vmi-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #0c2140; /* Borda estilizada */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.compras-vmi-item i {
    font-size: 35px;
    color: #0c2140;
    margin-right: 15px; /* Espaço entre ícone e texto */
}

.compras-vmi-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.compras-vmi-text h3 {
    font-size: 1.3rem;
    color: #0c2140;
    margin-bottom: 10px;
    margin-top: 0;
}

.compras-vmi-text p {
    font-size: 16px;
    color: #333; /* Ajuste para a cor do texto dentro do quadrante */
    line-height: 1.5;
}

/* Efeito de hover */
.compras-vmi-item:hover {
    background-color: #0c2140;
    border-color: #afa4ce; /* Mudança na borda ao hover */
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.compras-vmi-item:hover i {
    color: #afa4ce;
}

.compras-vmi-item:hover .compras-vmi-text h3,
.compras-vmi-item:hover .compras-vmi-text p {
    color: #fff; /* Cor do texto ao passar o mouse */
}

.btn-descubra {
    background-color: #0c2140;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 35px;
    transition: background-color 0.3s ease;
    
}

.btn-descubra:hover {
    background-color: #afa4ce;
}

/* Estilos Responsivos */
@media (max-width: 768px) {
    .compras-vmi-container {
        padding: 10px;
        width: 95%;
    }

    h1 {
        font-size: 1.5rem;
    }

    p {
        font-size: 14px;
    }

    .compras-vmi-list {
        grid-template-columns: 1fr; /* Quadrantes em uma coluna no mobile */
    }

    .compras-vmi-item {
        flex-direction: row;
        align-items: center;
    }

    .compras-vmi-item i {
        margin-right: 10px;
    }
}
