/* Grid exclusivo para os cards */
.conmea-grid-cards {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* 12-column grid */
    gap: 32px;
    justify-items: stretch;
    align-items: stretch;
    margin: 40px 0 0 0;
    width: 100%;
}

/* Limit the grid container width so columns are larger on wide screens */
.conmea-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
}

/* Column utility classes (use on the grid child element) */
.col-12 { grid-column: span 12; }
.col-6  { grid-column: span 6; }
.col-4  { grid-column: span 4; }
.col-3  { grid-column: span 3; }

/* Responsive: collapse to single column on small screens */
@media (max-width: 900px) {
    .conmea-grid-cards { grid-template-columns: repeat(6, 1fr); gap: 20px; }
    .col-12, .col-6, .col-4, .col-3 { grid-column: span 6; }
}

@media (max-width: 600px) {
    .conmea-grid-cards { grid-template-columns: 1fr; gap: 12px; }
    .col-12, .col-6, .col-4, .col-3 { grid-column: span 1; }
}
/* Imagens responsivas dentro dos cards */
.conmea-card img,
.conmea-card .small-img,
.conmea-card .svg {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
    opacity: 0.15;
    pointer-events: none;
}
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

body {
    overflow-x: hidden;
}


.conmea-card {
    height: 200px;
    border-radius: 12px;
    color: white;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    padding: 32px 16px 24px 16px;
    min-width: 0; /* allow shrinking inside grid */
    max-width: none; /* let grid column determine width */
    width: 100%;
    align-self: stretch; /* ensure card stretches vertically in the grid cell */
    box-sizing: border-box;
    word-break: break-word;
    overflow: hidden;
}

/* ensure direct children of the grid take full column width */
.conmea-grid-cards > .conmea-card,
.conmea-grid-cards > a {
    width: 100%;
}

.conmea-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transform: translateY(-5px);
    filter: brightness(1.08);
}

@media (max-width: 1100px) {
    .conmea-card {
        min-width: 120px;
        max-width: 100%;
        padding: 16px 4px 12px 4px;
        height: 160px;
    }
}

@media (max-width: 900px) {
    .conmea-card {
        min-width: 80px;
        max-width: 100%;
        padding: 10px 2px 8px 2px;
        height: 120px;
    }
}

@media (max-width: 600px) {
    .conmea-card {
        min-width: 60px;
        max-width: 100%;
        padding: 8px 1px 6px 1px;
        height: auto;
    }
}

.bg-green-gradient {
    background: linear-gradient(180deg, #2ecc71, #27ae60);
}

.bg-red-gradient {
    background: linear-gradient(180deg, #e74c3c, #c0392b);
}

.bg-purple-gradient {
    background: linear-gradient(180deg, #9b59b6, #8e44ad);
}

.small-box:hover .icon-1 {
    transform: scale(1.0);
}

@media (max-width: 767px) {
    .buttonMobile {
        width: 100%;
        display: inline-block;
    }
}

.styleButton {
    display: flex;
    flex-direction: column;
    /* Coloca os elementos um abaixo do outro */
    justify-content: center;
    /* Centraliza verticalmente */
    align-items: center;
    /* Centraliza horizontalmente */
    text-align: center;
    margin-top: 5px;
    height: 100%;
    /* Garante que ocupe todo o espaço disponível */
}

.title {
    font-size: 2.3rem !important;
    font-weight: bold;
}

.description {
    font-size: 1.5rem !important;
}