/* ===== TOPO / HERO ===== */

#topo {
  padding: 48px 0;
  background: #fff;
}

.topo__h1 {
  font-size: 33px;
  font-weight: 700;
  line-height: 1.25;
  color: #303030;
  margin-bottom: 16px;
}

.topo__h1--destaque {
  color: inherit;
}

.topo__desc {
  font-size: 16px;
  line-height: 1.5;
  color: #5C5C5C;
  margin-bottom: 24px;
}

/* Orientações card */
.orientacoes {
  background: #f5f5f5;
  border-radius: 16px;
  padding: 20px 24px 24px;
}

.orientacoes__titulo {
  font-size: 18px;
  font-weight: 700;
  color: #303030;
  margin-bottom: 12px;
}

.orientacoes__lista {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.orientacoes__lista li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #303030;
}

.orientacoes__check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.orientacoes__lista li span {
  flex: 1;
}

.orientacoes__lista li a {
  color: #2D34CE;
  font-weight: 700;
  text-decoration: none;
}

.orientacoes__lista li a:hover {
  text-decoration: underline;
}

/* Ações */
.orientacoes__acoes {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn-participar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  background: #2C31C9;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-participar:hover {
  opacity: 0.85;
}

.btn-regulamento-topo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #2C31C9;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-regulamento-topo img {
  width: 14px;
  height: 14px;
}

.btn-regulamento-topo:hover {
  opacity: 0.8;
  color: #2C31C9;
}

.topo__sem-conta {
  font-size: 14px;
  color: #5C5C5C;
  margin: 0;
}

.topo__sem-conta a {
  color: #2D34CE;
  font-weight: 700;
  text-decoration: underline;
}

.topo__sem-conta a:hover {
  text-decoration: underline;
}

/* Coluna direita – imagem */
.topo__card-imagem {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Wrapper da imagem – contém o badge sobreposto */
.topo__img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  flex: 1;
}

.topo__img-hero {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}

/* Bloco sobreposto no rodapé da imagem */
.topo__overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Badge de data – colado no topo do card branco, alinhado com o ícone */
.topo__data-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #10004F;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  width: fit-content;
  margin-left: 14px;
}

.topo__data-badge img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}


/* Card branco – colado abaixo do badge */
.topo__data-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.topo__data-wrap p {
  font-size: 13px;
  line-height: 18px;
  color: #303030;
  font-weight: 700;
  margin: 0;
}

.topo__icon-periodo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

/* Responsivo */
@media (max-width: 992px) {
  .topo__h1 {
    font-size: 27px;
  }
}

@media (max-width: 768px) {
  .topo__h1 {
    font-size: 22px;
  }

  .orientacoes__acoes {
    flex-direction: column;
    align-items: flex-start;
  }

  .topo__img-hero {
    height: 260px;
  }
}
