/* =====================================================
   SECÇÃO DISCIPLINA DE MERCADO
===================================================== */
.bs-disciplina-mercado{
  padding: 64px 0;
  background: #ffffff;
}

.bs-disciplina-mercado .container{
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

/* =====================================================
   GRID
===================================================== */
.bs-dm-grid{
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

/* =====================================================
   CONTEÚDO
===================================================== */
.bs-dm-content{
  background: linear-gradient(180deg, #fffef8 0%, #ffffff 100%);
  border: 1px solid #eceff3;
  border-radius: 20px;
  padding: 28px 26px;
}

.bs-dm-kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8a6a00;
}

.bs-dm-kicker::before{
  content: "";
  width: 24px;
  height: 2px;
  background: #FFD200;
  border-radius: 999px;
}

.bs-dm-content h3{
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 700;
  color: #0f172a;
}

.bs-dm-meta{
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.bs-dm-item{
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef1f4;
}

.bs-dm-item:last-child{
  border-bottom: none;
  padding-bottom: 0;
}

.bs-dm-item strong{
  font-size: 14px;
  line-height: 1.6;
  color: #0f172a;
}

.bs-dm-item span{
  font-size: 14px;
  line-height: 1.7;
  color: #475467;
}

.bs-dm-lead{
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 600;
  color: #1f2937;
}.bs-dm-content p{
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.8;
  color: #475467;text-align:justify;hyphens:auto;}

.bs-dm-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* =====================================================
   BOTÕES
===================================================== */
.bs-dm-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all .25s ease;
  border: 1px solid transparent;
}

.bs-dm-btn-primary{
  background: #FFD200;
  color: #0b1220;
}

.bs-dm-btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255,210,0,.24);
}

.bs-dm-btn-secondary{
  background: transparent;
  color: #0f172a;
  border-color: #d7dce3;
}

.bs-dm-btn-secondary:hover{
  transform: translateY(-2px);
  border-color: #bfc7d1;
  background: #f8fafc;
}

/* =====================================================
   IMAGEM LATERAL
===================================================== */
.bs-dm-visual{
  position: relative;
  min-height: 100%;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  isolation: isolate;
}

.bs-dm-visual img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

.bs-dm-visual-shade{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15,23,42,.12) 0%, rgba(15,23,42,.04) 36%, rgba(15,23,42,.84) 100%),
    linear-gradient(90deg, rgba(15,23,42,.34) 0%, rgba(15,23,42,0) 62%);
}

.bs-dm-visual::before{
  content: "";
  position: absolute;
  top: -92px;
  right: -68px;
  width: 238px;
  height: 238px;
  border: 1px solid rgba(255, 210, 0, .42);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(255, 210, 0, .055);
  z-index: 2;
  pointer-events: none;
}

.bs-dm-visual-badge{
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .93);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .16);
  backdrop-filter: blur(8px);
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bs-dm-visual-badge i{
  color: #8a6a00;
  font-size: 13px;
}

.bs-dm-visual-caption{
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  color: #ffffff;
}

.bs-dm-visual-caption > span{
  display: inline-flex;
  align-items: center;
  color: #FFD200;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.bs-dm-visual-caption h4{
  max-width: 380px;
  margin: 12px 0 9px;
  color: #ffffff;
  font-size: clamp(23px, 2.1vw, 31px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -.015em;
}

.bs-dm-visual-caption p{
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
  hyphens: auto;
}

@media (hover: hover){
  .bs-dm-visual:hover img{
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce){
  .bs-dm-visual img{
    transition: none;
  }
}

/* =====================================================
   RESPONSIVO
===================================================== */
@media (max-width: 991px){
  .bs-dm-grid{
    grid-template-columns: 1fr;
  }

  .bs-dm-visual{
    min-height: 460px;
  }
}

@media (max-width: 768px){
  .bs-disciplina-mercado{
    padding: 52px 0;
  }

  .bs-disciplina-mercado .container{
    width: min(100% - 20px, 1220px);
  }

  .bs-dm-content,
  .bs-dm-visual{
    border-radius: 16px;
  }

  .bs-dm-content{
    padding: 22px 18px;
  }

  .bs-dm-content h3{
    font-size: 24px;
  }

  .bs-dm-item{
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .bs-dm-actions{
    flex-direction: column;
  }

  .bs-dm-btn{
    width: 100%;
  }

  .bs-dm-visual{
    min-height: 380px;
  }

  .bs-dm-visual-badge{
    top: 16px;
    left: 16px;
    min-height: 34px;
    padding: 0 13px;
    font-size: 10px;
  }

  .bs-dm-visual-caption{
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .bs-dm-visual-caption h4{
    font-size: 22px;
  }

  .bs-dm-visual-caption p{
    font-size: 13px;
  }
}

/* ── Justificação de texto ── */
.bs-dm-lead,
.bs-dm-content p { text-align: justify; hyphens: auto; }
