:root {
  --blue: #004aad;
  --blue-mid: #0066ff;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #f3f4f6;
  --white: #ffffff;
  --ok: #059669;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Roboto, system-ui, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header — mesmo padrão do site */

.site-header {
  background: var(--white);
  color: var(--blue);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.08);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.35rem;
}

.brand img { height: 48px; width: auto; }

.nav-desktop {
  display: none;
  gap: 22px;
  align-items: center;
}

.nav-desktop a {
  color: var(--blue);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-desktop a:hover,
.nav-desktop a.is-active { color: var(--blue-mid); }

.hamburger {
  width: 24px;
  height: 24px;
  position: relative;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--blue);
  position: absolute;
  left: 0;
  transition: 0.2s ease;
}

.hamburger span:nth-child(1) { top: 4px; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.open span:nth-child(1) { transform: rotate(45deg); top: 11px; }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg); top: 11px; }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
}

.mobile-overlay.open { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 264px;
  height: 100%;
  background: var(--white);
  z-index: 50;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  padding: 24px;
  box-shadow: 8px 0 30px rgba(0, 0, 0, 0.12);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  display: block;
  padding: 12px 8px;
  color: var(--blue);
  font-weight: 500;
  border-radius: 8px;
}

.mobile-menu a:hover,
.mobile-menu a.is-active { background: #eef4ff; }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .hamburger { display: none; }
}

/* Hero */

.hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 48px 0 36px;
}

.hero-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0;
  max-width: 46ch;
  color: #4b5563;
  font-size: 1.05rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.16);
}

.wa-banner {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border: 1px solid #d1fae5;
  background: #f0fdf4;
  border-radius: 999px;
  color: #14532d;
  font-size: 13px;
  font-weight: 500;
}

.wa-banner:hover {
  border-color: #86efac;
}

.wa-banner__icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  flex-shrink: 0;
}

.wa-banner__icon svg { width: 13px; height: 13px; }

/* Filters */

.toolbar {
  padding: 20px 0 8px;
}

@media (min-width: 800px) {
  .toolbar {
    position: sticky;
    top: 76px;
    z-index: 20;
    background: rgba(243, 244, 246, 0.94);
    backdrop-filter: blur(10px);
  }
}

.filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 800px) {
  .filters {
    grid-template-columns: 1.6fr repeat(3, minmax(0, 0.8fr));
  }
}

.field {
  position: relative;
}

.field input,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.12);
}

.count-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 14px 0 6px;
  color: var(--muted);
  font-size: 13px;
}

/* Jobs */

.job-list {
  display: grid;
  gap: 12px;
  padding: 8px 0 48px;
}

.job-card {
  display: grid;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.job-card:hover {
  border-color: #c7d7f5;
  box-shadow: 0 8px 24px rgba(0, 74, 173, 0.06);
}

.job-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.job-company {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.job-logo,
.job-logo-fallback {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.job-logo-fallback {
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.job-company strong {
  display: block;
  font-size: 0.92rem;
}

.job-company span {
  color: var(--muted);
  font-size: 12px;
}

.job-card h2 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.job-card h2 a:hover { color: var(--blue); }

.job-excerpt {
  margin: 0;
  color: #4b5563;
  font-size: 0.92rem;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface);
  color: #374151;
  border: 1px solid var(--line);
}

.job-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 13px;
}

.apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 999px;
}

.apply:hover { background: var(--blue-mid); }

.empty,
.loading,
.error {
  text-align: center;
  padding: 48px 16px;
  color: var(--muted);
}

.skeleton {
  height: 132px;
  border-radius: 14px;
  background: linear-gradient(90deg, #fff 0%, #eef2f7 50%, #fff 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite linear;
  border: 1px solid var(--line);
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* CTA */

.cta {
  background: var(--blue);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}

.cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.cta p {
  margin: 0 auto 24px;
  max-width: 42ch;
  opacity: 0.92;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-light {
  background: #fbbf24;
  color: #1f2937;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 999px;
}

.btn-light:hover { background: #f59e0b; }

.btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: var(--white);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 999px;
}

.btn-ghost:hover { background: var(--white); color: var(--blue); }

/* Footer */

.site-footer {
  background: #1f2937;
  color: var(--white);
  text-align: center;
  padding: 32px 0;
}

.site-footer p { margin: 0 0 16px; color: #d1d5db; }

.socials {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.socials a { color: var(--white); }
.socials a:hover { color: #fde047; }
.socials svg { width: 24px; height: 24px; display: block; }
