footer {
    background: #122e2e;
    color: #fff;
    padding: 40px 20px;
    width: 100%;
    margin-top: auto;
}

#footer-content {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* permite quebrar no celular */
    gap: 40px;
}

/* --- BLOCO 1 (logo + texto) --- */
#footer-contacts {
    flex: 1 1 250px;
    text-align: center;
}

.logoaccs {
    display: block;
    margin: 0 auto;
    width: 50%;
    height: auto;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

#footer-contacts p a {
    color: #fff;
    text-decoration: none;
}

/* --- BLOCO 2 (lista do site) --- */
.footer-list {
    text-align: center;
    list-style: none;
    padding: 0;
    flex: 1 1 200px;
}

.footer-list li {
    margin-bottom: 8px;
}

.footer-list h3 {
    margin-bottom: 10px;
}

.footer-link {
    color: #fff;
    text-decoration: none;
}

/* --- BLOCO 3 (formulário) --- */
#footer-subcribe {
    flex: 1 1 250px;
    text-align: center;
}

#footer-subcribe h3 {
    margin-bottom: 10px;
}
.footer-list .footer-link:hover {
    color: #66cfcf;
}

#input-group {
    display: flex;
    align-items: center;
    background-color: var(--accent-dark);
    border-radius: 4px;
    color: black;
    text-decoration: center;
}

#input-group input {
    all: unset;
    padding: 0.75rem;
}

#input-group button {
    background-color: #136363;
    border: none;
    color: #ffffff;
    font-size: 1.125rem;
    height: 100%;
    border-radius: 0px 4px 4px 0px;
    cursor: pointer;
    transition: 1s;
    text-align: center;
    justify-content: center;
}

#input-group button:hover {
    opacity: 0.8;
}

/* --- COPYRIGHT --- */
#footer-copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    #footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-list,
    #footer-contacts,
    #footer-subcribe {
        max-width: 350px;
        width: 100%;
    }
    #footer-contacts {
        text-align: center;
        justify-content: center;
    }
    #footer-contacts p {
        justify-content: center;
        text-align: center;
        align-items: center;
    }
}