.patria-bloqueios {
  --pb-navy: #004b8a;
  --pb-blue: #0868ac;
  --pb-purple: #5208a5;
  --pb-ink: #172033;
  --pb-muted: #657083;
  --pb-line: #dfe6ef;
  --pb-soft: #f4f7fb;
  --pb-white: #fff;
  max-width: 1320px;
  margin: 0 auto 64px;
  color: var(--pb-ink);
  font-family: inherit;
}

.patria-bloqueios * { box-sizing: border-box; }

.pb-intro {
  position: relative;
  overflow: hidden;
  margin: 0 0 28px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 24px;
  color: var(--pb-white);
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.22), transparent 28%),
    linear-gradient(125deg, var(--pb-navy), var(--pb-purple));
  box-shadow: 0 18px 48px rgba(24, 51, 90, .18);
}

.pb-intro h1 {
  margin: 5px 0 10px;
  color: inherit;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
}

.pb-intro p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: clamp(16px, 2vw, 20px);
}

.pb-eyebrow {
  color: var(--pb-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pb-intro .pb-eyebrow { color: #d7ebff; }

.pb-sync-status {
  display: inline-flex;
  margin-top: 20px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.12);
  font-size: 13px;
}

.pb-sync-status.is-error { background: rgba(139, 0, 0, .35); }

.pb-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 30px;
  padding: 22px;
  border: 1px solid var(--pb-line);
  border-radius: 18px;
  background: var(--pb-white);
  box-shadow: 0 10px 34px rgba(22, 50, 85, .08);
}

.pb-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.pb-field span {
  color: #3c485c;
  font-size: 12px;
  font-weight: 750;
}

.pb-field input,
.pb-field select {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid #cdd7e4;
  border-radius: 9px;
  color: var(--pb-ink);
  background: var(--pb-white);
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
}

.pb-field input:focus,
.pb-field select:focus {
  border-color: var(--pb-blue);
  outline: 3px solid rgba(8, 104, 172, .14);
}

.pb-field-search,
.pb-field-package { grid-column: span 2; }

.pb-clear {
  align-self: end;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #cbd6e3;
  border-radius: 9px;
  color: var(--pb-navy);
  background: var(--pb-soft);
  font-weight: 750;
  cursor: pointer;
}

.pb-clear:hover { background: #e8f0f8; }

.pb-routes,
.pb-results {
  margin-top: 28px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--pb-line);
  border-radius: 20px;
  background: var(--pb-white);
  box-shadow: 0 10px 34px rgba(22, 50, 85, .07);
}

.pb-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.pb-section-heading h2 {
  margin: 3px 0 0;
  color: var(--pb-ink);
  font-size: clamp(22px, 3vw, 30px);
}

.pb-total-seats,
.pb-result-count {
  color: var(--pb-muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.pb-route-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 10px;
}

.pb-route {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--pb-line);
  border-radius: 12px;
  color: var(--pb-ink);
  background: linear-gradient(145deg, #fff, #f4f7fb);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.pb-route:hover,
.pb-route:focus-visible {
  border-color: var(--pb-blue);
  outline: none;
  box-shadow: 0 8px 20px rgba(0,75,138,.12);
  transform: translateY(-2px);
}

.pb-route-airports {
  color: var(--pb-purple);
  font-size: 16px;
  font-weight: 850;
}

.pb-route strong { font-size: 13px; }
.pb-route small { color: var(--pb-muted); font-size: 11px; }

.pb-table-wrap {
  overflow: auto;
  max-height: 760px;
  border: 1px solid var(--pb-line);
  border-radius: 13px;
  overscroll-behavior: contain;
}

.pb-table {
  width: 100%;
  min-width: 1680px;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

.pb-table th,
.pb-table td {
  padding: 12px 11px;
  border: 0;
  border-bottom: 1px solid #e7edf4;
  background: var(--pb-white);
  text-align: left;
  white-space: nowrap;
}

.pb-table th {
  position: sticky;
  z-index: 3;
  top: 0;
  color: var(--pb-white);
  background: var(--pb-navy);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pb-table tbody tr:nth-child(even) td { background: #f8fafc; }
.pb-table tbody tr:hover td { background: #edf5fc; }
.pb-table .pb-iata { color: var(--pb-purple); font-weight: 850; }
.pb-table .pb-money { color: #075d45; font-weight: 800; }
.pb-table .pb-seats { color: var(--pb-navy); font-weight: 800; text-align: center; }

.pb-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.pb-pagination button {
  min-width: 105px;
  padding: 9px 14px;
  border: 1px solid var(--pb-navy);
  border-radius: 9px;
  color: var(--pb-navy);
  background: var(--pb-white);
  font-weight: 750;
  cursor: pointer;
}

.pb-pagination button:hover:not(:disabled) { color: var(--pb-white); background: var(--pb-navy); }
.pb-pagination button:disabled { cursor: not-allowed; opacity: .42; }
.pb-pagination span { min-width: 145px; color: var(--pb-muted); font-size: 13px; text-align: center; }

.pb-empty {
  padding: 40px 18px;
  border: 1px dashed #c5d2e0;
  border-radius: 12px;
  color: var(--pb-muted);
  background: var(--pb-soft);
  text-align: center;
}

@media (max-width: 1120px) {
  .pb-filters { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
  .pb-route-grid { grid-template-columns: repeat(4, minmax(130px, 1fr)); }
}

@media (max-width: 760px) {
  .patria-bloqueios { margin-bottom: 36px; }
  .pb-intro { border-radius: 16px; }
  .pb-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; }
  .pb-field-search,
  .pb-field-package { grid-column: 1 / -1; }
  .pb-route-grid { display: flex; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .pb-route { min-width: 160px; scroll-snap-align: start; }
  .pb-section-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .pb-table-wrap { max-height: 660px; }
}

@media (max-width: 480px) {
  .pb-filters { grid-template-columns: 1fr; }
  .pb-field-search,
  .pb-field-package { grid-column: auto; }
  .pb-clear { width: 100%; }
  .pb-pagination { gap: 8px; }
  .pb-pagination button { min-width: 82px; padding-inline: 10px; }
  .pb-pagination span { min-width: 116px; font-size: 12px; }
}
