I understand how it works!
Decision
QTableView#tableWidget QHeaderView
{
height: 24px;
border-top: 1px solid #161618;
border-bottom: 1px solid #161618;
}
QTableView#tableWidget QHeaderView::section:horizontal:first
{
border-left-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #f4f4f6, stop:1 #ceced6);
}
QTableView#tableWidget QHeaderView::section:horizontal:last
{
border-right-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #f4f4f6, stop:1 #ceced6);
}
QTableView#tableWidget QHeaderView::section:horizontal
{
height: 24px;
border-style: none;
border-left: 1px solid #ecedef;
border-right: 1px solid #b1b1b5;
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #f4f4f6, stop:1 #ceced6);
}
And for more information on how this looks:

Anyway, thanks to everyone!