footer {
    background-color: #3C3C3B;
    padding: 50px 0 30px 0;
    margin-top: -1px;
    position: relative;
}

.footer__container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.footer__content {
    padding: 20px 40px;
    display: flex;
    gap: 40px;
    color: white;
    border-radius: 12px;
}

.footer__content > * {
    flex: 1;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__secretarias {
    font-size: 16px;
    color: white;
    font-family: "Nunito";
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.footer__secretarias:hover {
    opacity: 0.8;
}

.footer__secretarias-arrow {
    transition: transform 0.3s ease;
}

.footer__secretarias--active .footer__secretarias-arrow {
    transform: rotate(180deg);
}

/* Dropdown de Secretarias */
.footer__secretarias-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #DBDBDB;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.footer__secretarias-dropdown--active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footer__secretarias-wrapper {
    width: 100%;
}

.footer__secretarias-content {
    padding: 30px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer__secretarias-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__secretaria-item {
    color: #000;
}

.footer__secretaria-sigla {
    font-family: "Nunito";
    font-weight: bold;
    font-size: 16px;
    margin: 0 0 5px 0;
    color: #000;
}

.footer__secretaria-sigla:hover {
	color: #3c3c3c;
}

.footer__secretaria-nome {
    font-family: "Nunito";
    font-size: 14px;
    margin: 0;
    color: #3C3C3B;
    line-height: 1.4;
}

.footer__secretaria-empty {
    color: #666;
    font-family: "Nunito";
    font-size: 14px;
    font-style: italic;
}

.footer__content--titulo {
    font-family: "Nunito";
    font-weight: bold;
}

.footer__content--geral {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer__textcopy {
    color: white;
    text-align: center;
    font-size: 12px;
}

.footer__content--detalhes {
    font-family: "Nunito";
    font-size: 14px;
}

.footer__detalhes--single {
    text-decoration: underline;
}

.footer__geral--denuncie, .footer__geral--prevencao {
    width: 100px;
    height: auto;
}


/* RESPONSIVIDADE */

@media (max-width: 768px) {
    .footer {
        padding: 40px 20px;;
    }

    .footer__content {
        flex-direction: column;
        gap: 20px;
        background-color: transparent;
        padding: 0;
    }

    .footer__content--geral {
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .footer__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer__secretarias-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .footer__secretarias-dropdown {
        transform: translateY(20px);
    }
}

.footer__top img {
	width: 415px;
}