.meio4 {
    background: url('/pic/fundo_meio4_3000.png') no-repeat center center;
    background-size: cover;
    padding: 40px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    position: relative;
}

.meio4 .corner {
    flex: 1;
}

.meio4 .middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.meio4 .title {
    color: #0056b3;
    text-shadow: 2px 2px 4px #000000;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: -50px;
}

.meio4 .image {
    margin-bottom: 5px;
    transform: scale(0.6);
    margin-bottom: -50px;
}

.meio4 .fibra-text {
    color: #ffcc00;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 4px #000000;
    margin-bottom: 20px;
}

.meio4 .plans {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
    flex-wrap: wrap;
}

.meio4 .plans button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

.meio4 .plans img {
    max-width: 105px;
    max-height: 185px;
    width: 100%;
    height: auto;
    margin: 10px;
    display: block;
}

.meio4 .additional-content {
    width: 100%;
    padding: 20px;
    background-color: #f0f0f0;
    text-align: center;
    box-sizing: border-box;
    margin-top: 20px;
}

.meio4 .footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 48px;
    text-shadow: 2px 2px 4px #000000;
}

.meio4 .footer img {
    position: absolute;
    right: 0px;
    bottom: 10px;
    width: 400px;
    height: auto;
}

@media (min-width: 1240px) {
    .meio4 .plans {
        max-width: 1040px;
        justify-content: space-around;
    }
    .meio4 .plans img {
        max-width: 195px;
        max-height: 345px;
        margin-bottom: 50px;
    }
    .meio4 .additional-content {
        margin-top: 40px;
    }
}

@media (max-width: 1240px) {
    .meio4 .plans img {
        margin: 30px;
    }
    .meio4 .middle {
        align-items: center;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    .meio4 .plans {
        display: flex;
        justify-content: space-between;
        width: 120%;
        flex-wrap: wrap;
    }
}

@media (max-width: 800px) {
    .meio4 {
        background: url('/pic/fundo4_2300.png') no-repeat center center;
        background-size: cover;
        height: auto;
    }

    .meio4 .plans img {
        margin: 30px;
        bottom: 150px;
        margin-bottom: 80px;
        height: 2000px !important;
    }

    .meio4 .footer {
        display: none; /* Remove o .meio4 .footer */
    }
}
