.edital-hero-video {
  aspect-ratio: 16 / 9;
  background: #07110d;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 28px 60px -30px rgba(0, 0, 0, 0.85);
  margin: 8px auto 4px;
  max-width: 760px;
  overflow: hidden;
  width: 100%;
}

.edital-hero-video iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.edital-content {
  --ed-bg: #06110d;
  --ed-bg-2: #0a1712;
  --ed-surface: #0e1f19;
  --ed-surface-2: #132a21;
  --ed-line: rgba(255, 255, 255, 0.09);
  --ed-line-2: rgba(255, 255, 255, 0.16);
  --ed-text: #f3f5f3;
  --ed-text-2: rgba(243, 245, 243, 0.72);
  --ed-text-3: rgba(243, 245, 243, 0.5);
  --ed-green: #3fd98a;
  --ed-gold: #e3b64c;
  --ed-gold-2: #c9962c;
  --ed-gold-soft: #f0cd74;
  --ed-on-gold: #1a1204;
  --ed-radius: 20px;
  background: var(--ed-bg);
  color: var(--ed-text);
  font-family: "Sora", sans-serif;
  letter-spacing: normal;
  line-height: 1.55;
}

.edital-content *,
.edital-content *::before,
.edital-content *::after {
  box-sizing: border-box;
}

.edital-content h2,
.edital-content h3,
.edital-content p,
.edital-content ul,
.edital-content dl {
  margin: 0;
}

.edital-content h2,
.edital-content h3 {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.edital-content h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.375rem);
}

.edital-content h2 em,
.edital-content h3 em {
  color: var(--ed-gold);
  font-style: normal;
}

.edital-wrap {
  margin-inline: auto;
  max-width: 1120px;
  padding-inline: clamp(20px, 4vw, 32px);
  position: relative;
  width: 100%;
}

.edital-label,
.edital-tag {
  color: var(--ed-green);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 12px !important;
  text-transform: uppercase;
}

.edital-cta {
  align-items: center;
  background: linear-gradient(180deg, var(--ed-gold-soft), var(--ed-gold) 45%, var(--ed-gold-2));
  border: 0;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 28px -12px rgba(227, 182, 76, 0.55);
  color: var(--ed-on-gold);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: -0.2px;
  min-height: 54px;
  padding: 0 28px;
  text-decoration: none;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.edital-cta:hover { filter: brightness(1.06); }
.edital-cta:active { transform: scale(0.985); }

.edital-section-action {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.edital-news {
  background: var(--ed-bg-2);
  border-top: 1px solid var(--ed-line);
  padding-block: clamp(56px, 7vw, 88px);
}

.edital-news-card {
  background: var(--ed-surface);
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
}

.edital-news-photo img {
  display: block;
  filter: saturate(0.9);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.edital-news-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
}

.edital-news-source {
  color: var(--ed-text-3);
  font-size: 0.875rem;
  font-weight: 600;
}

.edital-news-body h2 { font-size: clamp(1.5rem, 2.3vw, 1.875rem); }
.edital-news-body p:not(.edital-news-source) { color: var(--ed-text-2); }

.edital-salary {
  background: var(--ed-bg);
  padding-block: clamp(64px, 8vw, 104px);
}

.edital-salary-head {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  justify-content: space-between;
  margin-bottom: 36px;
}

.edital-salary-note {
  color: var(--ed-text-3);
  font-size: 0.9375rem;
  max-width: 34ch;
}

.edital-tabs {
  background: var(--ed-surface);
  border: 1px solid var(--ed-line);
  border-radius: 12px;
  display: inline-flex;
  gap: 4px;
  margin-bottom: 36px;
  max-width: 100%;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
}

.edital-tabs::-webkit-scrollbar { display: none; }

.edital-tab {
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: var(--ed-text-2);
  cursor: pointer;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  padding: 11px 18px;
  white-space: nowrap;
}

.edital-tab.is-on {
  background: var(--ed-gold);
  color: var(--ed-on-gold);
}

.edital-salary-panel { display: none; }
.edital-salary-panel.is-on { display: block; }

.edital-sheet {
  background: var(--ed-surface);
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  overflow: hidden;
}

.edital-sheet-stat {
  background: radial-gradient(90% 70% at 0 0, rgba(227, 182, 76, 0.16), transparent 60%), var(--ed-surface-2);
  border-right: 1px solid var(--ed-line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3.6vw, 44px);
}

.edital-sheet-kicker {
  color: var(--ed-text-3);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 26px !important;
}

.edital-sheet-label {
  color: var(--ed-text-2);
  font-size: 0.9375rem;
  font-weight: 600;
}

.edital-sheet-value {
  color: var(--ed-gold);
  font-size: clamp(2.25rem, 3.8vw, 3.25rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1;
  margin-top: 8px !important;
}

.edital-sheet-mult {
  color: var(--ed-text-2);
  font-size: 0.9375rem;
  margin-top: 14px !important;
}

.edital-sheet-mult b {
  color: var(--ed-gold-soft);
  font-size: 1.35rem;
}

.edital-sheet-meta {
  border-top: 1px solid var(--ed-line);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
  margin-top: 28px !important;
  padding-top: 22px;
}

.edital-sheet-meta dt {
  color: var(--ed-text-3);
  font-size: 0.8125rem;
  font-weight: 600;
}

.edital-sheet-meta dd {
  font-size: 1.0625rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  margin: 4px 0 0;
}

.edital-sheet-break { padding: clamp(28px, 3.6vw, 44px); }

.edital-sheet-break-title {
  color: var(--ed-text-2);
  font-size: 0.9375rem;
  margin-bottom: 18px !important;
}

.edital-comp-bar {
  border-radius: 8px;
  display: flex;
  gap: 3px;
  height: 14px;
  overflow: hidden;
}

.edital-comp-bar i {
  background: var(--segment);
  border-radius: 2px;
  flex: var(--value) 1 0;
  min-width: 3px;
}

.edital-c1 { --segment: var(--ed-gold); }
.edital-c2 { --segment: var(--ed-gold-soft); }
.edital-c3 { --segment: var(--ed-gold-2); }
.edital-c4 { --segment: var(--ed-green); }
.edital-c5 { --segment: #24a866; }
.edital-c6 { --segment: #8fd9b3; }
.edital-c7 { --segment: #f3f5f3; }
.edital-c8 { --segment: #b8c4bf; }

.edital-comp-list {
  display: grid;
  gap: 0 32px;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  margin-top: 22px !important;
  padding: 0;
}

.edital-comp-list li {
  align-items: center;
  border-top: 1px solid var(--ed-line);
  display: flex;
  font-size: 0.9375rem;
  gap: 10px;
  padding: 11px 0;
}

.edital-comp-list li:nth-child(-n + 2) { border-top: 0; }

.edital-comp-list i {
  background: var(--segment);
  border-radius: 50%;
  flex: 0 0 auto;
  height: 9px;
  width: 9px;
}

.edital-comp-list span {
  color: var(--ed-text-2);
  flex: 1;
}

.edital-comp-list b {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.edital-enfases { margin-top: 28px; }

.edital-enfases h3 {
  color: var(--ed-text-2);
  font-size: 0.9375rem;
  margin-bottom: 12px !important;
}

.edital-enfases ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.edital-enfases li {
  border: 1px solid var(--ed-line-2);
  border-radius: 999px;
  color: var(--ed-text-2);
  font-size: 0.875rem;
  padding: 7px 13px;
}

.edital-perks {
  background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px), var(--ed-bg-2);
  background-size: 56px 56px, 56px 56px, auto;
  border-top: 1px solid var(--ed-line);
  padding-block: clamp(64px, 8vw, 104px);
}

.edital-perks-head {
  margin: 0 auto 44px;
  max-width: 760px;
  text-align: center;
}

.edital-perks-lede {
  color: var(--ed-text-2);
  margin: 18px auto 0 !important;
  max-width: 58ch;
}

.edital-perks-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  padding: 0;
}

.edital-perk {
  background: linear-gradient(180deg, var(--ed-surface), rgba(14, 31, 25, 0.6));
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 26px 26px 28px;
}

.edital-perk-icon {
  align-items: center;
  background: rgba(227, 182, 76, 0.12);
  border: 1px solid rgba(227, 182, 76, 0.3);
  border-radius: 50%;
  color: var(--ed-gold);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.edital-perk-icon svg {
  color: var(--ed-gold);
  height: 20px;
  width: 20px;
}

.edital-perk h3 {
  font-size: 1.0625rem;
  margin-top: 22px !important;
}

.edital-perk p {
  color: var(--ed-text-2);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-top: 8px !important;
}

.edital-perks-cta {
  align-items: center;
  background: radial-gradient(60% 80% at 50% 100%, rgba(63,217,138,.16), transparent 70%), var(--ed-surface);
  border: 1px solid var(--ed-line-2);
  border-radius: var(--ed-radius);
  display: flex;
  flex-direction: column;
  margin-top: 28px;
  padding: clamp(32px, 4.5vw, 56px) clamp(20px, 4vw, 48px);
  text-align: center;
}

.edital-perks-cta h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  margin-top: 6px !important;
}

.edital-perks-cta p {
  color: var(--ed-text-2);
  margin: 14px 0 28px !important;
  max-width: 60ch;
}

@media (max-width: 960px) {
  .edital-news-card { grid-template-columns: 1fr; }
  .edital-news-photo img { aspect-ratio: 16 / 9; }
  .edital-perks-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .edital-news,
  .edital-salary,
  .edital-perks { padding-block: 52px; }

  .edital-tabs {
    background: none;
    border: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    overflow: visible;
    padding: 0;
  }

  .edital-tab {
    background: var(--ed-surface);
    border: 1px solid var(--ed-line);
    border-radius: 10px;
    flex: 1 1 auto;
    padding: 11px 14px;
  }

  .edital-sheet { grid-template-columns: 1fr; }

  .edital-sheet-stat {
    border-bottom: 1px solid var(--ed-line);
    border-right: 0;
  }

  .edital-comp-list { grid-template-columns: 1fr; }
  .edital-comp-list li:nth-child(2) { border-top: 1px solid var(--ed-line); }
  .edital-perks-grid { grid-template-columns: 1fr; }

  .edital-perk {
    align-items: start;
    display: grid;
    column-gap: 16px;
    grid-template-columns: 40px 1fr;
    padding: 18px 18px 20px;
  }

  .edital-perk-icon {
    grid-row: 1 / 3;
    height: 40px;
    width: 40px;
  }

  .edital-perk h3 { margin-top: 0 !important; }
  .edital-perk p { margin-top: 4px !important; }

  .edital-section-action .edital-cta,
  .edital-perks-cta .edital-cta { width: 100%; }
}
