:root {
  --emp-text: #0f172a;
  --emp-muted: #64748b;
  --emp-line: rgba(15, 23, 42, 0.08);
  --emp-orange: #f97316;
  --emp-orange-hover: #ea580c;
  --emp-blue: #2563eb;
  --emp-width: min(1080px, 100%);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  color: var(--emp-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f8fafc;
}

.emp-app {
  width: var(--emp-width);
  margin: 0 auto;
  padding: 22px 18px 64px;
}

.emp-topbar {
  display: flex;
  align-items: center;
  padding: 6px 2px 18px;
}

.emp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--emp-text);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.emp-brand img {
  border-radius: 8px;
}

.emp-state {
  background: #fff;
  border: 1px solid var(--emp-line);
  border-radius: 12px;
  padding: 3rem 1.5rem;
  text-align: left;
}

.emp-state h1 {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
}

.emp-state p { color: var(--emp-muted); }

.emp-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  border: 3px solid #e2e8f0;
  border-top-color: var(--emp-blue);
  animation: emp-spin 0.8s linear infinite;
}

@keyframes emp-spin { to { transform: rotate(360deg); } }

.emp-hero,
.emp-cultura,
.emp-vaga-card,
.emp-redes {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--emp-line);
  border-radius: 12px;
}

.emp-hero { overflow: hidden; }

.emp-capa {
  aspect-ratio: 3.4 / 1;
  max-height: 280px;
  background: #e2e8f0;
}

.emp-capa-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.emp-identidade {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.6rem 1.7rem 1.7rem;
}

.emp-logo-slot {
  flex: 0 0 auto;
}

.emp-logo,
.emp-monograma {
  width: 92px;
  height: 92px;
  border-radius: 26px;
  display: block;
}

.emp-logo {
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--emp-line);
  box-shadow: 0 10px 24px -16px rgba(15, 23, 42, 0.45);
}

.emp-monograma {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: #2563eb;
}

.emp-kicker {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #3e4c59;
}

.emp-identidade h1 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.emp-contagem {
  margin: 0.55rem 0 0;
  color: var(--emp-muted);
  font-weight: 600;
}

.emp-cultura,
.emp-vagas {
  margin-top: 1.15rem;
}

.emp-cultura { padding: 1.5rem 1.7rem 1.65rem; }

.emp-cultura-head,
.emp-vagas-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.emp-cultura h2,
.emp-vagas h2 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.emp-cultura-link {
  color: var(--emp-blue);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.emp-cultura-link:hover { text-decoration: underline; }

.emp-cultura-texto {
  margin-top: 0.85rem;
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 72ch;
}

.emp-cultura-texto p { margin: 0 0 0.85rem; }
.emp-cultura-texto p:last-child { margin-bottom: 0; }

.emp-cultura-vazio { color: var(--emp-muted); }

.emp-vagas-lead {
  margin: 0.2rem 0 0;
  color: var(--emp-muted);
}

.emp-lista {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-top: 1rem;
}

.emp-vaga-card {
  padding: 1.2rem 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.emp-vaga-card:hover {
  border-color: #2563eb;
}

.emp-vaga-card--atual {
  outline: 2px solid rgba(37, 99, 235, 0.45);
}

.emp-vaga-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.emp-vaga-card h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.emp-badge-atual {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 750;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
}

.emp-meta {
  margin: 0.35rem 0 0;
  color: var(--emp-muted);
  font-size: 0.92rem;
}

.emp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.emp-chip {
  font-size: 0.78rem;
  font-weight: 650;
  color: #334155;
  background: #f8fafc;
  border: 1px solid var(--emp-line);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
}

.emp-vaga-card .emp-btn { align-self: flex-start; margin-top: auto; }

.emp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 750;
  border: none;
  cursor: pointer;
}

.emp-btn--primary {
  background: var(--emp-orange);
  color: #fff;
  padding: 0.62rem 1.05rem;
  font-size: 0.92rem;
}

.emp-btn--primary:hover { background: var(--emp-orange-hover); }

.emp-redes {
  margin-top: 1.15rem;
  padding: 1rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.emp-rede {
  color: #1e293b;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  background: #f8fafc;
  border: 1px solid var(--emp-line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
}

.emp-rede:hover { border-color: #93c5fd; }

.emp-vazio {
  background: rgba(255, 255, 255, 0.92);
  border: 1px dashed rgba(15, 23, 42, 0.16);
  border-radius: 18px;
  padding: 1.4rem;
  color: var(--emp-muted);
}

.hidden { display: none !important; }

@media (min-width: 760px) {
  .emp-app { padding-top: 32px; }
  .emp-lista { grid-template-columns: 1fr 1fr; }
  .emp-identidade { padding: 1.8rem 2rem 2rem; }
}

@media (max-width: 640px) {
  .emp-identidade { align-items: flex-start; }
  .emp-logo, .emp-monograma { width: 72px; height: 72px; border-radius: 20px; font-size: 1.45rem; }
}
