footer {
    background: linear-gradient(180deg, var(--color-2) 0%, rgba(183, 200, 138, 0.9) 100%);
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

:root[data-theme="dark"] footer {
    background: linear-gradient(180deg, rgba(168, 184, 141, 0.3) 0%, rgba(168, 184, 141, 0.2) 100%);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.4;
    pointer-events: none;
}

.wave-color {
    stop-color: var(--color-1);
}

#wave {
    width: 100%;
    height: 80px;
    display: block;
    overflow: visible;
    /* vertical-align: bottom; */
    margin: 0;
    padding: 0;
}

#db9_footer_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 6% 14px 6%;
    position: relative;
    gap: 40px;
    min-height: auto;
}

#db9_footer_left {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 10px;
}

#db9_footer_copyright {
    color: var(--neutral-color-1);
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.85;
    white-space: nowrap;
}

#db9_footer_logo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 10px;
}

#db9_footer_logo img {
    height: 180px;
    width: auto;
    filter: drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.08));
    transition: all 0.3s ease;
    opacity: 0.95;
}

#db9_footer_logo img:hover {
    transform: scale(1.03) translateY(-2px);
    filter: drop-shadow(0px 3px 12px rgba(0, 0, 0, 0.12));
    opacity: 1;
}

/* Botões de redes sociais no footer */
#db9_footer_left .db9_social-media-buttons {
    gap: 12px;
}

#db9_footer_left .db9_social-media-buttons a {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
}

@media screen and (max-width: 768px) {
    #wave {
        height: 60px;
        overflow: visible;
        /* vertical-align: bottom; */
    }

    #db9_footer_content {
        flex-direction: column;
        gap: 16px;
        padding: 10px 5%;
        min-height: auto;
    }

    #db9_footer_left {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        margin-left: 0;
    }

    #db9_footer_copyright {
        font-size: 0.88rem;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
    }

    #db9_footer_logo {
        justify-content: center;
        margin-right: 0;
    }

    #db9_footer_logo img {
        height: 90px;
    }

    #db9_footer_left .db9_social-media-buttons a {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }
}

@media screen and (max-width: 480px) {
    #wave {
        height: 50px;
        overflow: visible;
        vertical-align: bottom;
    }

    #db9_footer_content {
        padding: 10px 3%;
        gap: 14px;
    }

    #db9_footer_logo img {
        height: 130px;
    }

    #db9_footer_copyright {
        font-size: 0.82rem;
    }
}