#box_servicos {
    display: flex;
    justify-content: center; 
    align-items: stretch;    
    margin: 30px auto;       
    width: 100%;
    max-width: 900px;         
    gap: 50px;  
    border: #000000;
}

.servicos_cont {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 500px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 12px;
    justify-content: flex-start;
}

.servicos_cont h3{
    color: #00a764;
    font-weight: bold;
    font-size: 20px;
}

.servico_item {
    display: flex;
    align-items: stretch;
    gap: 24px;
    margin-bottom: 32px;
}

.servico_item .servico_icon {
    width: 100px;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    flex-shrink: 0;
    align-self: stretch;
}

.servicos_video {
    display: flex;
    align-items: stretch;
    width: 300px; /* mais fino que a box de serviços */
    min-width: 200px;
    max-width: 350px;
}

.servicos_video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    background: #000;
}


@media (max-width: 768px) {
    .servico_item,
    .servico_item.reverse {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .servico_item .servico_icon {
        width: 80px;
        height: 80px;
        max-height: none;
        align-self: center;
    }
}

/* Additional responsive tweaks for service page */
@media (max-width: 900px) {
    #box_servicos {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 0 16px;
        max-width: 720px;
    }

    .servicos_cont {
        width: 100%;
        padding: 18px;
    }

    .servicos_video {
        width: 100%;
        min-width: auto;
        max-width: 100%;
        display: block;
    }

    .servicos_video video {
        height: 220px;
        border-radius: 10px;
    }
}

@media (max-width: 768px) {
    /* keep existing icon adjustments and make sure layout stacks */
    #box_servicos {
        max-width: 100%;
        padding: 0 12px;
        gap: 16px;
    }

    .servico_item .servico_icon {
        width: 70px;
        height: 70px;
    }

    .servico_item {
        padding: 6px 0;
    }
}

@media (max-width: 480px) {
    .servicos_cont {
        padding: 12px;
    }

    .servicos_cont h3 {
        text-align: center;
    }

    .servico_item .servico_icon {
        display: none;
    }

    .servicos_video {
        display: none;
    }
}
