/* ===== ACOMP Page ===== */

.acomp {
    background: var(--green-soft);
    padding: 36px 16px 56px;
    color: var(--text);
}

.acomp__wrap {
    max-width: 1180px;
    margin: 0 auto;
}

.acomp__title {
    margin: 0 0 24px;
    font-size: 2.267rem;
    font-weight: 800;
    color: var(--green);
}

/* Grade dos cartões */
.acomp__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

@media (max-width: 1024px) {
    .acomp__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .acomp__grid {
        grid-template-columns: 1fr;
    }
}

/* Cartão/botão */
.acompItem {
    display: grid;
    place-items: center;
    min-height: 92px;
    padding: 18px;
    text-align: center;
    font-weight: 800;
    font-size: 1.333rem;
    color: var(--text);
    text-decoration: none;
    background: #ece8e6;
    border: 1px solid #dbd7d5;
    border-radius: var(--radius);
    box-shadow: 0 6px 0 rgba(0, 0, 0, .08), var(--shadow-sm);
    transition: transform .08s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

/* Hover/foco: leve destaque verde */
.acompItem:hover,
.acompItem:focus-visible {
    background: var(--green-light);
    border-color: #cfe6d6;
    box-shadow: 0 8px 0 rgba(0, 0, 0, .07), var(--shadow-sm);
    outline: none;
    color: var(--green-dark);
}

/* Efeito “press” ao clicar */
.acompItem:active {
    transform: translateY(1px);
}

/* Acessibilidade do foco */
.acompItem:focus-visible {
    box-shadow: 0 8px 0 rgba(0, 0, 0, .07), 0 0 0 4px rgba(30, 126, 52, .18);
}

/* Espaços extras abaixo da grade em telas largas */
@media (min-width: 1280px) {
    .acomp__wrap {
        padding-right: 8px;
        padding-left: 8px;
    }
}

/* ===== Seletor ACOMP (OGU -> Município) ===== */
.acomp-selectors-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

.acomp-selectors-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.acomp-selectors-title {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 2.267rem;
    line-height: 1.05;
    font-weight: 800;
}

.acomp-selectors-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.acomp-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.acomp-label {
    color: var(--muted);
    font-family: var(--font-sans);
    font-size: 0.8667rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.acomp-select {
    width: 100%;
    height: var(--btn-h);
    border: 1px solid var(--border);
    border-radius: var(--btn-radius);
    padding: 0 14px;
    font-family: var(--font-sans);
    font-size: 0.8667rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: var(--text);
    background: var(--paper);
}

.acomp-select:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(30, 126, 52, .16);
}

.acomp-select:disabled {
    color: #94a3b8;
    background: #f8fafc;
}

.acomp-btn-go {
    margin-top: 14px;
    height: var(--btn-h);
    min-width: 170px;
    border: 0;
    border-radius: var(--btn-radius);
    padding: 0 var(--btn-px);
    font-size: var(--btn-fs);
    font-weight: var(--btn-fw);
    letter-spacing: .02em;
    color: #fff;
    background: var(--green);
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(30, 126, 52, .20);
    transition: filter .15s ease, box-shadow .15s ease, transform .1s ease;
}

.acomp-btn-go:hover {
    filter: brightness(1.08);
    box-shadow: 0 8px 20px rgba(30, 126, 52, .28);
}

.acomp-btn-go:active {
    transform: translateY(1px);
}

@media (max-width: 900px) {
    .acomp-selectors-title {
        font-size: 1.867rem;
    }

    .acomp-selectors-grid {
        grid-template-columns: 1fr;
    }

    .acomp-btn-go {
        width: 100%;
    }
}