/* Subset mínimo para POI — substitui Bootstrap grid/accordion na página empresa */
.poi-wrap {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    contain: layout style;
}

.poi-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.poi-primary {
    flex: 1 1 100%;
    min-width: 0;
}

.poi-sidebar {
    flex: 1 1 100%;
    min-width: 0;
}

@media (min-width: 768px) {
    .poi-primary { flex: 1 1 calc(66.666% - 1rem); }
    .poi-sidebar { flex: 1 1 calc(33.333% - 1rem); }
}

.poi-breadcrumb-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.d-none { display: none !important; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.text-center { text-align: center; }
.text-muted { color: #5a6268; }

.accordion-item {
    border: 1px solid #dee2e6;
    margin-bottom: -1px;
}

.accordion-button {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    background: #f8f9fa;
    border: 0;
    cursor: pointer;
}

.accordion-button.collapsed::after {
    content: "+";
    float: right;
}

.accordion-body {
    padding: 1rem 1.25rem;
}

.collapse:not(.show) { display: none; }

.btn {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: #1a0dab;
    color: #fff;
}

.form-select,
.form-control {
    width: 100%;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    font-size: 1rem;
    box-sizing: border-box;
}

.input-group {
    flex: 1 1 auto;
    min-width: 0;
}

.gap-2 { gap: 0.5rem; }
.d-flex { display: flex; }
.flex-column { flex-direction: column; }

/* Neutraliza pixels de tracking injetados no body */
body.poi-page > img {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

/* Mapa: placeholder até interação */
.empresa-mapa-lazy {
    height: 280px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    background: #eef2f7;
    border-radius: 8px;
    border: 1px solid #dde3ea;
    contain: layout style;
}

.empresa-mapa-lazy__btn {
    background: #1a0dab;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 0.65rem 1.25rem;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.empresa-mapa-lazy__coords {
    font-size: 12px;
    color: #666;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.breadcrumb-item.active {
    color: #333;
}

.btn-ligar,
.btn-ver-detalhes {
    min-height: 44px;
    padding: 10px 14px;
}

.btn-ligar {
    background-color: #1e7e34;
    color: #fff;
    border: 1px solid #1e7e34;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.empresa-proxima-nome a {
    display: inline-block;
    min-height: 44px;
    padding: 8px 0;
    line-height: 1.4;
}

.footer > div:first-child {
    color: #495057;
}

.empresas-proximas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .empresas-proximas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .empresas-proximas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.empresas-proximas-item {
    min-width: 0;
}

.footer-links a,
.footer-legal {
    color: #495057;
}
