.edital-banner-2027 {
  position: relative;
  /* Contém as camadas internas abaixo do menu principal. */
  z-index: 0;
  overflow: hidden;
  /* Reserva espaço para o cabeçalho fixo antes do título. */
  padding: 16rem 0 8rem;
  color: #fff;
  background: linear-gradient(120deg, #18466b, #205b66 60%, #397f6b);
}
.edital-banner-2027 > .container {
  position: relative;
}
.edital-banner-2027-background,
.edital-banner-2027-background img,
.edital-banner-2027::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.edital-banner-2027-background img {
  object-fit: cover;
}
.edital-banner-2027::after {
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.15));
  pointer-events: none;
}
.edital-banner-2027 > .container {
  z-index: 1;
}
.edital-banner-2027-content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}
.edital-banner-2027-status {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #d1eee3;
  border-radius: 2rem;
  color: #fff;
}
.edital-banner-2027 h1 {
  margin: 0 0 1.5rem;
  font-family: "Gotham Bold", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.15;
  color: #fff;
}
.edital-banner-2027 h1 span {
  color: #ffdf7e;
}
.edital-banner-2027 p {
  max-width: 32rem;
  margin-bottom: 2rem;
  font-size: 1.125rem;
  color: #fff;
}
.edital-banner-2027 .edital-banner-2027-headline {
  max-width: 38rem;
  font-family: "Gotham Bold", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.3;
}
.edital-banner-2027-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: #d22828;
  border-radius: 0.5rem;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
.edital-banner-2027-cta:hover {
  background: #a61d21;
  color: #fff;
}
.edital-banner-2027-cta:focus-visible {
  outline: 3px solid #ffdf7e;
  outline-offset: 5px;
}
.edital-banner-2027-year {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Gotham Bold", sans-serif;
  font-size: clamp(8rem, 19vw, 18rem);
  line-height: 1;
  opacity: 0.08;
  pointer-events: none;
}
@media (max-width: 768px) {
  .edital-banner-2027 {
    padding: 8rem 0 3rem;
  }
  .edital-banner-2027-year {
    right: -2rem;
    top: 35%;
  }
}
.edital-banner-2027-art {
  position: relative;
  /* Área visível da arte na home: 78% do banner de 38rem. */
  height: 29.64rem;
  padding: 0;
  margin: 0;
  margin-top: 8.4rem;
  background-image: var(--banner-desktop);
  background-size: auto 100%;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-color: #2f2f2f;
}
.edital-banner-2027-art a {
  position: absolute;
  inset: 0;
  display: block;
}
.edital-banner-2027-art a:focus-visible {
  outline: 3px solid #d22828;
  outline-offset: -3px;
}
@media (max-width: 991.98px) {
  .edital-banner-2027-art {
    /* Cabeçalho compacto: 80px, sem a barra de navegação desktop. */
    margin-top: 80px;
  }
}
@media (max-width: 768px) {
  .edital-banner-2027-art {
    height: 38rem;
    background-image: var(--banner-mobile);
    background-size: cover;
  }
}
