/* Página de produto, versão A (enxuta) — Steelbras */
.stbp {
  --verde: #45AD4B; --azul: #0068A9; --ink: #111A2B; --texto: #455168; --cinza: #677591; --claro: #8D97AB; --linha: #E3E8F0; --linha2: #EEF2F7;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif; color: var(--texto); background: #fff;
}
.stbp *, .stbp *::before, .stbp *::after { box-sizing: border-box; }
.stbp-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.stbp a:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; }
.stbp h1, .stbp h2 { font-family: inherit; font-weight: 300; color: var(--ink); margin: 0; letter-spacing: 0; text-transform: none; }
.stbp h2 strong { font-weight: 800; color: inherit; }

/* Topo */
.stbp-topo { padding-top: 24px; padding-bottom: 64px; }
.stbp-trilha { margin-bottom: 28px; font-size: 13px; color: var(--claro); }
.stbp-trilha a { color: var(--claro); }
.stbp-trilha > span > span + span::before { content: '/'; margin: 0 8px; color: #C9D3E1; }
.stbp-topo-in { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.stbp-info { flex: 1 1 500px; min-width: 0; }
.stbp-ey { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--cinza); }
.stbp .stbp-info h1 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; font-weight: 700; }
.stbp-dest { margin: 16px 0 0; font-size: 15px; color: var(--texto); }
.stbp-chave {
  display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); margin: 32px 0 0; max-width: calc(var(--n, 4) * 25%);
  border: 1px solid var(--linha); border-radius: 14px; overflow: hidden; background: #fff;
}
.stbp-chave > div { padding: 16px 18px; border-left: 1px solid var(--linha); min-width: 0; }
.stbp-chave > div:first-child { border-left: 0; }
.stbp-chave dt { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--claro); line-height: 1.3; }
.stbp-chave dd { margin: 8px 0 0; font-size: 17px; font-weight: 800; line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.stbp-chave dd small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--cinza); }
.stbp-acoes { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 32px; }
.stbp .stbp-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--verde); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none;
}
.stbp .stbp-btn:hover { background: #3A9A40; color: #fff; }
.stbp .stbp-pdf { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--azul); text-decoration: none; }
.stbp .stbp-pdf:hover { color: #00507F; }

/* Foto: fundo branco com sombra de chão */
.stbp-foto { flex: 1 1 400px; min-width: 0; position: relative; display: flex; align-items: flex-end; justify-content: center; height: 480px; padding-bottom: 36px; }
.stbp-foto img { position: relative; z-index: 1; max-height: 420px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.stbp-chao { position: absolute; left: 50%; bottom: 30px; width: 260px; height: 26px; margin-left: -130px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(17, 26, 43, .16) 0%, rgba(17, 26, 43, 0) 70%); }

/* Sobre + ficha */
.stbp-faixa { background: #F7F9FB; border-top: 1px solid var(--linha2); }
.stbp-faixa-in { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 56px; padding-bottom: 64px; }
.stbp-sobre { flex: 1 1 440px; min-width: 0; }
.stbp .stbp-sobre h2, .stbp .stbp-ficha h2, .stbp .stbp-rel h2 { font-size: 26px; line-height: 1.2; }
.stbp-sobre h2 { margin-bottom: 18px !important; }
.stbp-texto { max-width: 600px; font-size: 16px; line-height: 1.75; color: var(--texto); text-align: left; }
.stbp-texto p { margin: 0 0 16px; text-align: left; }
.stbp-texto p:last-child { margin-bottom: 0; }
.stbp-texto * { color: inherit; font-family: inherit; }
.stbp-ficha { flex: 1 1 380px; min-width: 0; }
.stbp-ficha-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.stbp-ficha-links { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.stbp-ficha-cab a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--azul); }
.stbp-ficha dl { margin: 0; background: #fff; border-radius: 16px; border: 1px solid var(--linha); overflow: hidden; }
.stbp-ficha dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 20px; border-top: 1px solid var(--linha2); }
.stbp-ficha dl > div:first-child { border-top: 0; }
.stbp-ficha dt { font-size: 13.5px; font-weight: 400; color: var(--cinza); }
.stbp-ficha dd { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); text-align: right; }

/* Da mesma linha */
.stbp-rel { padding-top: 56px; padding-bottom: 72px; }
.stbp-rel-cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.stbp-rel-cab a { font-size: 14px; font-weight: 700; color: var(--azul); }
.stbp-rel-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.stbp .stbp-card { display: block; border-radius: 16px; border: 1px solid var(--linha); overflow: hidden; color: var(--texto); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.stbp .stbp-card:hover { border-color: #C9D3E1; box-shadow: 0 10px 28px rgba(17, 26, 43, .08); }
.stbp-card-img { display: grid; place-items: center; height: 180px; }
.stbp-card-img img { max-height: 150px; width: auto; object-fit: contain; }
.stbp-card-txt { display: block; padding: 14px 18px 18px; border-top: 1px solid var(--linha2); }
.stbp-card-txt em { display: block; font-style: normal; font-size: 12px; font-weight: 700; color: var(--claro); }
.stbp-card-txt strong { display: block; margin-top: 4px; font-size: 15px; line-height: 1.35; font-weight: 700; color: var(--ink); }

/* Barra fixa no celular */
.stbp-barra { display: none; }
@media (max-width: 760px) {
  .stbp-topo-in { gap: 8px; flex-direction: column-reverse; align-items: stretch; }
  .stbp-foto { height: 300px; padding-bottom: 24px; flex-basis: auto; }
  .stbp-foto img { max-height: 260px; }
  .stbp-chave { grid-template-columns: repeat(min(var(--n, 4), 2), minmax(0, 1fr)); max-width: none; }
  .stbp-chave > div:nth-child(3) { border-left: 0; }
  .stbp-chave > div:nth-child(n+3) { border-top: 1px solid var(--linha); }
  .stbp-faixa-in { gap: 40px; padding-top: 40px; padding-bottom: 48px; }
  .stbp { padding-bottom: 84px; }
  .stbp-barra {
    display: flex; gap: 8px; align-items: center; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
    padding: 8px 8px 8px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--linha); box-shadow: 0 -6px 24px rgba(17, 26, 43, .12);
  }
  .stbp-barra > span { flex: none; font-size: 13px; font-weight: 800; color: var(--ink); }
  .stbp-barra .stbp-btn { flex: 1; min-height: 46px; padding: 0 16px; font-size: 14px; }
  .stbp .stbp-barra-pdf { flex: none; width: 46px; height: 46px; display: grid; place-items: center; color: var(--azul); }
}

/* O botão do assistente sobe para não cobrir a barra fixa */
@media (max-width: 760px) { .stb-chat-launch { bottom: 96px !important; } }
