.top-header {
  border-bottom: 1px solid #eaecf0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  will-change: transform, opacity;
  animation: header-intro 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.04s both;
}

.header-shell {
  position: relative;
}

.header-shell > * {
  opacity: 0;
  animation: intro-rise 0.74s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.header-logo-link {
  animation-delay: 0.14s;
}

.header-desktop-nav,
.header-mobile-nav {
  animation-delay: 0.24s;
}

.header-brand-logo {
  display: block;
  height: 38px;
  width: auto;
}

.header-nav-link {
  font-family: "Sora", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #98a2b3;
  transition: color 0.2s ease;
}

.header-nav-link:hover {
  color: #4241dc;
}

.header-action-link {
  display: inline-flex;
  align-items: center;
  font-family: "Sora", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #4241dc;
  transition: opacity 0.2s ease;
}

.header-action-link:hover {
  opacity: 0.8;
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  border: 1px solid rgba(66, 65, 220, 0.22);
  background: rgba(255, 255, 255, 0.96);
  padding: 8px 12px;
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #4241dc;
  box-shadow: 0 8px 18px rgba(66, 65, 220, 0.16);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.mobile-menu-toggle[aria-expanded="true"] {
  border-color: rgba(66, 65, 220, 0.4);
  background: #f3f2ff;
}

.mobile-menu-toggle:hover {
  border-color: rgba(66, 65, 220, 0.36);
}

.mobile-menu-toggle:active {
  transform: translateY(1px);
}

.mobile-menu-icon {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.mobile-menu-panel {
  margin: 0 24px 12px;
  border-radius: 14px;
  border: 1px solid rgba(66, 65, 220, 0.18);
  background: rgba(255, 255, 255, 0.98);
  padding: 10px;
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.14);
  animation: mobile-menu-drop 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu-panel[hidden] {
  display: none;
}

.mobile-menu-links {
  display: grid;
  gap: 6px;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: "Sora", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #475467;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu-link:hover {
  background: rgba(66, 65, 220, 0.1);
  color: #3130b1;
}

.mobile-menu-cta {
  margin-top: 8px;
  width: 100%;
}

.vagas-hero {
  background:
    radial-gradient(44rem 24rem at 75% 10%, rgba(66, 65, 220, 0.16), transparent 70%),
    radial-gradient(40rem 18rem at 10% 100%, rgba(255, 60, 0, 0.12), transparent 70%),
    linear-gradient(180deg, #f9faff 0%, #f4f6ff 100%);
}

.vagas-hero-box {
  border-radius: 20px;
  border: 1px solid rgba(66, 65, 220, 0.12);
  background: rgba(255, 255, 255, 0.75);
  padding: 24px;
}

.vagas-hero-box > * {
  opacity: 0;
  animation: intro-rise 0.82s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.vagas-kicker {
  font-family: "Sora", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5857ea;
  animation-delay: 0.2s;
}

.vagas-title {
  margin-top: 8px;
  font-family: "Sora", sans-serif;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 300;
  color: #1d2939;
  animation-delay: 0.28s;
}

.vagas-title strong {
  font-weight: 700;
  color: #3130b1;
}

.vagas-subtitle {
  margin-top: 12px;
  max-width: 64ch;
  font-family: "Red Hat Text", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #475467;
  animation-delay: 0.36s;
}

.vagas-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
}

.filters-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(66, 65, 220, 0.24);
  background: #f7f6ff;
  padding: 9px 12px;
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #4241dc;
}

.filters-panel {
  position: sticky;
  top: 106px;
  max-height: calc(100vh - 122px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 14px;
  border: 1px solid rgba(66, 65, 220, 0.14);
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.08);
  opacity: 0;
  animation: intro-rise 0.86s cubic-bezier(0.22, 1, 0.36, 1) 0.44s both;
}

.filters-panel::-webkit-scrollbar {
  width: 10px;
}

.filters-panel::-webkit-scrollbar-track {
  background: #f2f4f7;
  border-radius: 9999px;
}

.filters-panel::-webkit-scrollbar-thumb {
  background: rgba(66, 65, 220, 0.34);
  border-radius: 9999px;
  border: 2px solid #f2f4f7;
}

.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.filters-title {
  font-family: "Sora", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #1d2939;
}

.filters-clear-btn {
  border-radius: 8px;
  border: 1px solid rgba(66, 65, 220, 0.26);
  background: #f8f7ff;
  padding: 7px 10px;
  font-family: "Sora", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #4241dc;
  transition: background-color 0.2s ease;
}

.filters-clear-btn:hover {
  background: #efedff;
}

.filters-group {
  margin-top: 14px;
}

.filter-label {
  display: block;
  margin-bottom: 6px;
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #344054;
}

.filter-hint {
  margin-bottom: 8px;
  font-family: "Red Hat Text", sans-serif;
  font-size: 13px;
  color: #667085;
}

.filter-control {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #d0d5dd;
  background: #fff;
  padding: 10px 12px;
  font-family: "Red Hat Text", sans-serif;
  font-size: 15px;
  color: #1d2939;
}

.filter-control:focus {
  outline: 2px solid rgba(66, 65, 220, 0.2);
  outline-offset: 1px;
  border-color: rgba(66, 65, 220, 0.58);
}

.filter-turns-grid {
  max-height: 180px;
  overflow-y: auto;
  display: grid;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid #d0d5dd;
  background: #fff;
  padding: 10px 12px;
}

.filter-turns-grid::-webkit-scrollbar {
  width: 8px;
}

.filter-turns-grid::-webkit-scrollbar-thumb {
  background: rgba(66, 65, 220, 0.28);
  border-radius: 9999px;
}

.filter-turns-empty {
  font-family: "Red Hat Text", sans-serif;
  font-size: 14px;
  color: #667085;
}

.filters-checks {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Red Hat Text", sans-serif;
  font-size: 15px;
  color: #344054;
}

.filter-check input[type="checkbox"] {
  accent-color: #4241dc;
}

.filter-check-turn {
  font-size: 14px;
}

.filters-foot-note {
  margin-top: 16px;
  border-top: 1px solid #eaecf0;
  padding-top: 12px;
  font-family: "Red Hat Text", sans-serif;
  font-size: 14px;
  color: #667085;
}

.jobs-panel {
  min-width: 0;
  opacity: 0;
  animation: intro-rise 0.86s cubic-bezier(0.22, 1, 0.36, 1) 0.52s both;
}

.jobs-panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.jobs-title {
  font-family: "Sora", sans-serif;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
  color: #1d2939;
}

.jobs-meta {
  font-family: "Red Hat Text", sans-serif;
  font-size: 14px;
  color: #667085;
}

.jobs-feedback {
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid #eaecf0;
  background: #ffffff;
  padding: 16px;
  font-family: "Red Hat Text", sans-serif;
  font-size: 16px;
}

.jobs-feedback.loading {
  color: #475467;
}

.jobs-feedback.error {
  border-color: rgba(255, 60, 0, 0.25);
  background: #fff6f3;
  color: #b42318;
}

.jobs-feedback.empty {
  color: #475467;
}

.retry-btn {
  margin-top: 10px;
  border-radius: 8px;
  border: 1px solid rgba(66, 65, 220, 0.26);
  background: #fff;
  padding: 8px 12px;
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #4241dc;
}

.jobs-list {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.jobs-pagination {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #eaecf0;
  padding-top: 14px;
}

.jobs-pagination.is-top {
  margin-top: 14px;
  margin-bottom: 10px;
  border-top: 0;
  border-bottom: 1px solid #eaecf0;
  padding-top: 0;
  padding-bottom: 14px;
}

.jobs-pagination-left {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.jobs-pagination-info {
  font-family: "Red Hat Text", sans-serif;
  font-size: 14px;
  color: #667085;
}

.jobs-page-size-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Red Hat Text", sans-serif;
  font-size: 13px;
  color: #667085;
}

.jobs-page-size-select {
  border-radius: 8px;
  border: 1px solid rgba(66, 65, 220, 0.24);
  background: #fff;
  padding: 6px 10px;
  font-family: "Sora", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #4241dc;
}

.jobs-pagination-controls {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pagination-pages {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pagination-btn,
.pagination-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(66, 65, 220, 0.24);
  background: #ffffff;
  padding: 8px 12px;
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #4241dc;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.pagination-page {
  min-width: 40px;
  padding: 8px;
}

.pagination-btn:hover,
.pagination-page:hover {
  background: #f2f0ff;
}

.pagination-page.is-active {
  border-color: #4241dc;
  background: #4241dc;
  color: #ffffff;
}

.pagination-btn:disabled,
.pagination-page:disabled {
  opacity: 0.45;
  pointer-events: none;
}

.pagination-ellipsis {
  padding: 0 2px;
  font-family: "Sora", sans-serif;
  font-size: 16px;
  color: #667085;
}

.scroll-top-btn {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 35;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  border: 1px solid rgba(66, 65, 220, 0.28);
  background: #4241dc;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.2);
  font-family: "Sora", sans-serif;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
}

.job-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(66, 65, 220, 0.12);
  background: #fff;
  padding: 16px;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  opacity: 0;
  animation: job-card-in 0.56s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--job-index, 0) * 0.06s + 0.06s);
}

.job-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(112deg, #4b49e6 0%, #6069ff 62%, #ff5a3d 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.job-card:hover,
.job-card:focus-within {
  border-color: rgba(66, 65, 220, 0.24);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.1);
}

.job-card:hover::before,
.job-card:focus-within::before {
  opacity: 0.96;
}

.job-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.job-company-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.job-company-info {
  min-width: 0;
}

.job-company-logo,
.job-company-logo-fallback {
  width: 88px;
  height: 88px;
  flex: none;
  border-radius: 9999px;
  border: 1px solid #eaecf0;
  background: #ffffff;
}

.job-company-logo {
  object-fit: cover;
}

.job-company-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Sora", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #3130b1;
  background: linear-gradient(180deg, #f8f7ff 0%, #f1efff 100%);
}

.job-company {
  margin-top: 2px;
  font-family: "Red Hat Text", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #667085;
}

.job-status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 5px 10px;
  font-family: "Sora", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.job-status-badge.is-open {
  background: #e7f6ec;
  color: #067647;
}

.job-status-badge.is-closed {
  background: #fef3f2;
  color: #b42318;
}

.job-title {
  margin-top: 6px;
  font-family: "Sora", sans-serif;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
  color: #1d2939;
}

.job-role-badge {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(66, 65, 220, 0.22);
  background: #f5f3ff;
  padding: 5px 10px;
  font-family: "Sora", sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  color: #4241dc;
}

.job-desc {
  margin-top: 10px;
  font-family: "Red Hat Text", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #475467;
}

.job-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(66, 65, 220, 0.18);
  background: #f7f6ff;
  padding: 7px 11px;
  font-family: "Sora", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #4241dc;
}

.job-card-bottom {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #eaecf0;
  padding-top: 12px;
}

.job-dates {
  font-family: "Red Hat Text", sans-serif;
  font-size: 13px;
  color: #667085;
}

.job-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(66, 65, 220, 0.22);
  background: #4241dc;
  padding: 9px 14px;
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  transition: opacity 0.2s ease;
}

.job-cta:hover {
  opacity: 0.9;
}

.job-cta.is-disabled {
  border-color: #d0d5dd;
  background: #f2f4f7;
  color: #98a2b3;
  pointer-events: none;
}

@keyframes mobile-menu-drop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes header-intro {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.988);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes job-card-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1023px) {
  .header-brand-logo {
    height: 34px;
  }

  .vagas-title {
    font-size: 34px;
  }

  .vagas-subtitle {
    font-size: 17px;
  }

  .vagas-grid {
    grid-template-columns: 1fr;
  }

  .filters-panel {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 767px) {
  .header-brand-logo {
    height: 30px;
  }

  .mobile-menu-panel {
    margin: 0 16px 10px;
  }

  .vagas-hero-box {
    padding: 18px;
  }

  .vagas-title {
    font-size: 30px;
  }

  .vagas-subtitle {
    font-size: 16px;
  }

  .filters-mobile-toggle {
    display: inline-flex;
    width: 100%;
    margin-bottom: 12px;
  }

  .jobs-title {
    font-size: 26px;
  }

  .jobs-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .jobs-pagination-left {
    justify-content: space-between;
  }

  .jobs-pagination-controls {
    justify-content: space-between;
  }

  .scroll-top-btn {
    right: 14px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    font-size: 22px;
  }

  .job-card-head {
    flex-direction: column;
    align-items: stretch;
  }

  .job-status-badge {
    align-self: flex-start;
  }

  .job-company-logo,
  .job-company-logo-fallback {
    width: 72px;
    height: 72px;
  }

  .job-title {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-header,
  .header-shell > *,
  .vagas-hero-box > *,
  .filters-panel,
  .jobs-panel,
  .job-card {
    opacity: 1;
    animation: none;
    transform: none;
    filter: none;
    transition: none;
  }

  .mobile-menu-panel {
    animation: none;
  }
}
