.footer {
    margin-top: 1rem;
    position: relative;
}

.footer_top,
.footer_bottom {
    width: 100%;
    height: 6rem;
}

.footer_top {
    position: relative;
    top: 2px;
    width: 101%;
}

.footer_bottom {
    position: relative;
    top: -2px;
}

.footer_top svg,
.footer_bottom svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: #E36634;
    /* fill: white; */
}

.footer_content {
    background-color: #E36634;
    color: white;
}

.footer_logo {
    padding: 4rem;
}

.footer_logo img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.footer_menu {
    background-color: #E36634;
    color: white;
    display: flex;
    align-items: center;
}

.footer_menu-content {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.footer_menu-content h5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
    padding: 0 .5rem;
}

.footer_menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer_menu-content ul li {
    margin-bottom: 6px;
}

.footer_menu-content ul li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0 .5rem;
    transition: background-color 0.3s ease;
}

.footer_menu-content ul li a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.footer_menu article {
    margin-bottom: 1.25rem;
}

.footer_fundo {
    position: absolute;
    bottom: -6rem;
    z-index: -1;
    width: 100%;
    height: 200px;
}

.footer_fundo-padronagem {
    width: 100%;
    height: 100%;
    padding: 20px;
    background-image: url('/img/footer_fundo.png');
    background-repeat: repeat;
    background-size: auto;
    background-size: 200px 114px;
}

@media (min-width: 768px) {
    .footer_menu-content {
        flex-direction: row;
        justify-content: space-around;
        align-items: flex-start;
        text-align: left;
        gap: 30px;
    }

    .footer_menu-content > div {
        min-width: 180px;
    }

    .footer_menu-content h5 {
        margin-bottom: 15px;
    }

    .footer_menu-content ul li {
        margin-bottom: 8px;
    }
}

@media (min-width: 992px) {
    .footer_logo {
        padding: 1rem;
    }
}

.newsletter-container {
    background-color: #E36634;
    padding: 30px;
    border-radius: 8px;
}

.newsletter-box {
    background-color: white;
    padding: 30px 40px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-box h3 {
    color: #b34e30;
    font-size: 2.5rem;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    padding: 12px 15px;
    border: 1px solid #cce0e8;
    border-radius: 5px;
    font-size: 1em;
    width: 250px;
    max-width: 100%;
    box-sizing: border-box;
    color: #333;
    background-color: #f2f7f9;
}

.newsletter-form input[type="email"]::placeholder {
    color: #889ba5;
}

.newsletter-form button[type="submit"] {
    background-color: #5F8C9B;
    color: white;
    padding: 12px 25px;
    margin-left: 1rem;
    border: none;
    border-radius: 5rem;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button[type="submit"]:hover {
    background-color: #4c7784;
}

@media (max-width: 600px) {
    .newsletter-box {
        padding: 20px;
    }

    .newsletter-box h3 {
        font-size: 2em;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .newsletter-form input[type="email"] {
        width: 80%;
    }

    .newsletter-form button[type="submit"] {
        width: 80%;
        margin-left: 0;
    }
}