/* Tabela de horários: defina --cor (cabeçalho) e --cor-clara (corpo) no elemento .tabela-horario */
.tabela-horario {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding-left: 45px;
  font-family: Poppins, sans-serif;
}
.tabela-horario__icone {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 105px;
  height: 105px;
  padding: 16px;
  border-radius: 50%;
  background: var(--cor);
  z-index: 1;
}
.tabela-horario table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}
.tabela-horario th,
.tabela-horario td {
  padding: 14px 12px;
  border-left: 1px solid rgba(255, 255, 255, .6);
  vertical-align: middle;
}
.tabela-horario th:first-child { border-left: 0; padding-left: 66px; white-space: nowrap; }
.tabela-horario tbody td { vertical-align: top; padding-top: 22px; padding-bottom: 22px; }
.tabela-horario thead th {
  background: var(--cor);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
}
.tabela-horario tbody th,
.tabela-horario tbody td {
  background: var(--cor-clara);
  color: #13294B;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.5;
}
.tabela-horario tbody th { font-size: 18px; }
.tabela-horario small { display: block; font-weight: 400; font-size: 14px; }
/* Um item por bloco: rótulo pequeno em cima, horário em negrito embaixo, sem quebrar no meio */
.tabela-horario .linha { display: block; white-space: nowrap; margin-top: 12px; }
.tabela-horario .linha:first-child { margin-top: 0; }
.tabela-horario .linha small { font-size: 13px; line-height: 1.3; }
.tabela-horario .publico { font-weight: 600; margin-bottom: 12px; }

/* Tablet: a tabela larga (Internacional) não cabe sem quebrar linha */
@media (max-width: 1099px) {
  .tabela-horario .linha { white-space: normal; }
}

/* Mobile: cada coluna vira um bloco com o título na cor do cabeçalho */
@media (max-width: 767px) {
  .tabela-horario { padding-left: 0; padding-top: 50px; }
  .tabela-horario__icone { left: 50%; top: 0; transform: translateX(-50%); width: 80px; height: 80px; padding: 12px; }
  .tabela-horario thead,
  .tabela-horario tbody th { display: none; }
  .tabela-horario tbody td { display: block; border-left: 0; padding: 0 12px 14px; }
  .tabela-horario tbody td::before {
    content: attr(data-label);
    display: block;
    margin: 0 -12px 12px;
    padding: 10px;
    background: var(--cor);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
  }
  .tabela-horario tbody td:first-of-type::before { padding-top: 40px; }
}
