/* Índice do blog "Por dentro da iSol" (W34) — tema preto; só tokens de public/styles.css. */
.bh-page { background: var(--bg-0); color: var(--on-dark-soft); }
.bh-page main h1, .bh-page main h2 { color: var(--white); }
.bh-page .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.22); background: transparent; }
.bh-page .btn-ghost:hover { border-color: var(--cyan); background: rgba(52,195,240,.08); }
.bh-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* hero */
.bh-hero { padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 72px); background: var(--glow), var(--bg-0); overflow: hidden; }
.bh-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.bh-tag { font: 600 15px var(--f-display); color: var(--cyan); margin-bottom: 16px; }
.bh-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.06; max-width: 17ch; }
.bh-lede { margin-top: 20px; max-width: 52ch; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; }
.bh-hero-art { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; }
.bh-hero-art > img { width: clamp(150px, 17vw, 240px); height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.65)) drop-shadow(0 0 60px rgba(27,157,224,.25)); }
.bh-shelf { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bh-shelf li { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border: 1px solid var(--line-exec); border-left: 3px solid var(--cyan); border-radius: 10px; background: var(--bg-2); font: 600 13.5px/1.3 var(--f-display); color: var(--white); }
.bh-shelf li:nth-child(2n) { margin-left: 18px; }
.bh-shelf img { width: 30px; height: auto; flex: none; }

/* fórmula */
.bh-formula-sec { padding: clamp(56px, 7vw, 96px) 0; background: var(--bg-1); border-top: 1px solid var(--line-exec); }
.bh-formula-sec h2, .bh-lib-t { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; max-width: 22ch; }
.bh-formula { list-style: none; margin: 36px 0 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.bh-formula::before { content: ""; position: absolute; top: 27px; left: 7%; right: 7%; height: 2px; background: linear-gradient(90deg, var(--azure), var(--cyan)); opacity: .5; }
.bh-formula li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 0 4px; }
.bh-formula svg { width: 56px; height: 56px; padding: 14px; margin-bottom: 6px; border-radius: 50%; border: 1px solid rgba(52,195,240,.4); background: var(--bg-2); fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bh-formula b { font: 600 15px/1.25 var(--f-display); color: var(--white); }
.bh-formula small { font-size: 13px; line-height: 1.4; color: var(--on-dark-mut); }
.bh-formula li.bh-human svg { background: var(--grad); stroke: var(--navy-900); border-color: transparent; box-shadow: 0 0 0 7px rgba(52,195,240,.14); }
.bh-formula li.bh-human b { color: var(--cyan); }
.bh-cap { margin-top: 28px; font-size: 15px; color: var(--on-dark-soft); }

/* compromisso */
.bh-pledge-sec { padding: 0 0 clamp(56px, 7vw, 88px); background: var(--bg-1); }
.bh-pledge { display: flex; gap: 22px; align-items: flex-start; padding: clamp(22px, 3vw, 32px) !important; border: 1px solid rgba(52,195,240,.35); border-radius: 20px; background: radial-gradient(60% 80% at 0% 0%, rgba(27,157,224,.16), transparent 70%), var(--bg-2); max-width: calc(var(--container) - 48px); }
.bh-pledge > svg { width: 44px; height: 44px; flex: none; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bh-pledge h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.25; }
.bh-pledge ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 20px; }
.bh-pledge li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; }
.bh-pledge li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }

/* biblioteca */
.bh-lib { padding: clamp(56px, 7vw, 96px) 0; background: var(--bg-0); scroll-margin-top: 64px; }
.bh-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; }
.bh-filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: var(--bg-2); color: var(--on-dark); font: 500 14px var(--f-body); cursor: pointer; }
.bh-filters button i { font: 500 12px var(--f-mono); font-style: normal; color: var(--cyan); }
.bh-filters button:hover { border-color: var(--cyan); }
.bh-filters button[aria-pressed="true"] { background: var(--grad); color: var(--navy-900); border-color: transparent; font-weight: 600; }
.bh-filters button[aria-pressed="true"] i { color: var(--navy-900); }
.bh-series { padding: 40px 0; border-bottom: 1px solid var(--line-exec); scroll-margin-top: 72px; }
.bh-series-head { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(220px, 280px); gap: 20px; align-items: start; margin-bottom: 20px; }
.bh-series-head > img { width: 72px; height: auto; filter: drop-shadow(0 12px 14px rgba(0,0,0,.55)); }
.bh-num { font: 500 12.5px var(--f-mono); color: var(--on-dark-mut); }
.bh-series h2 { margin-top: 4px; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.2; }
.bh-promise { margin-top: 8px; max-width: 58ch; font-size: 15.5px; }
.bh-new { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; border: 1px dashed rgba(52,195,240,.6); font: 500 12px var(--f-mono); color: var(--cyan); }
.bh-cluster { display: grid; gap: 6px; }
.bh-lk { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-exec); border-radius: 12px; background: var(--bg-2); color: var(--on-dark); font-size: 14px; font-weight: 500; transition: border-color .18s; }
.bh-lk:hover { border-color: var(--cyan); }
.bh-lk2 { background: var(--grad); color: var(--navy-900); border-color: transparent; font-weight: 600; }
.bh-lk2:hover { border-color: transparent; filter: brightness(1.08); }
.bh-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bh-card { display: flex; flex-direction: column; gap: 8px; height: 100%; min-height: 108px; padding: 16px 18px; border: 1px solid var(--line-exec); border-radius: 16px; background: var(--bg-2); transition: border-color .18s, background-color .18s; }
.bh-card:hover { border-color: rgba(52,195,240,.55); background: var(--bg-3); }
.bh-card b { font: 600 15.5px/1.35 var(--f-display); color: var(--white); }
.bh-kind { align-self: flex-start; padding: 2px 9px; border-radius: 999px; border: 1px solid currentColor; font: 500 11.5px/1.4 var(--f-mono); }
.bh-k-uso { color: var(--cyan); }
.bh-k-case { color: var(--on-dark); border-style: double; border-width: 3px; padding: 0 7px; }
.bh-k-guide { color: var(--on-dark-soft); border-style: dashed; }
.bh-k-ref { color: var(--on-dark-mut); }
.bh-lang { margin-top: auto; font: 500 12px var(--f-mono); font-style: normal; color: var(--on-dark-mut); }
.bh-lang[hidden], .bh-series[hidden], .bh-ref[hidden] { display: none; }
.bh-ref { padding-top: 40px; }
.bh-ref h2 { font-size: 1.3rem; margin-bottom: 16px; }

/* faixa de conversão */
.bh-band { padding: clamp(48px, 6vw, 80px) 0; background: var(--glow), var(--bg-1); border-top: 1px solid var(--line-exec); }
.bh-band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.bh-band h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.bh-band p { margin-top: 8px; max-width: 52ch; }
.bh-band .bh-cta { margin-top: 0; }

@media (max-width: 1000px) {
  .bh-formula { grid-template-columns: 1fr; gap: 0; }
  .bh-formula::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(var(--azure), var(--cyan)); }
  .bh-formula li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; align-items: center; text-align: left; padding: 6px 0; }
  .bh-formula svg { grid-row: 1 / span 2; margin: 0; }
  .bh-formula b { align-self: end; } .bh-formula small { align-self: start; }
  .bh-series-head { grid-template-columns: 56px minmax(0, 1fr); }
  .bh-series-head > img { width: 56px; }
  .bh-cluster { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bh-pledge ul { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .bh-hero-grid { grid-template-columns: 1fr; }
  .bh-hero-art { grid-template-columns: 110px minmax(0, 1fr); }
  .bh-hero-art > img { width: 110px; }
  .bh-shelf li:nth-child(2n) { margin-left: 0; }
}
@media (max-width: 560px) {
  .bh-grid, .bh-cluster { grid-template-columns: 1fr; }
  .bh-pledge { flex-direction: column; gap: 12px; }
  .bh-hero-art { grid-template-columns: 1fr; }
  .bh-shelf { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .bh-page * { transition: none !important; } }
.bh-grid > li[data-more] { display: none; }
.bh-grid.is-all > li[data-more] { display: block; }
.bh-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 14px; padding: 0 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: none; color: var(--white); font: 600 14px var(--f-body); cursor: pointer; }
.bh-more:hover { border-color: var(--cyan); }
.bh-more i { font: 500 12px var(--f-mono); font-style: normal; color: var(--cyan); }
.bh-more[aria-expanded="true"] { display: none; }

/* W38: documentação no visual da rodada 2/3 — cabeçalho com robô, trilha "Comece aqui" e grade por ferramenta */
.bh-start, .bh-tools { padding: clamp(48px, 6vw, 80px) 0 0; }
.bh-sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.bh-sec-head img { width: 56px; height: auto; flex: none; filter: drop-shadow(0 10px 18px rgba(0,0,0,.6)) drop-shadow(0 0 24px rgba(27,157,224,.25)); }
.bh-sec-head .bh-tag { margin: 0 0 4px; font-size: 13px; }
.bh-sec-head h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; }
.bh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bh-steps li { position: relative; }
.bh-steps li:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -16px; width: 16px; height: 2px; background: var(--cyan); }
.bh-step { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 4px; height: 100%; padding: 22px; border: 1px solid var(--line-exec); border-radius: 18px; background: radial-gradient(80% 60% at 0% 0%, rgba(27,157,224,.14), transparent 70%), var(--bg-2); text-decoration: none; transition: border-color .18s, transform .18s var(--ease); }
.bh-step:hover, .bh-step:focus-visible { border-color: rgba(52,195,240,.55); transform: translateY(-2px); }
.bh-step-n { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--cyan); color: var(--cyan); font: 600 1.1rem var(--f-mono); }
.bh-step b { font: 600 1.08rem/1.3 var(--f-display); color: var(--white); align-self: end; }
.bh-step small { font-size: 14px; line-height: 1.5; color: var(--on-dark-soft); }
.bh-tfilters { margin-top: 0; }
.bh-toolgrid { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bh-toolgrid li[hidden] { display: none; }
.bh-tool { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; min-height: 72px; padding: 14px 16px; border: 1px solid var(--line-exec); border-radius: 14px; background: var(--bg-2); text-decoration: none; transition: border-color .18s, background-color .18s; }
.bh-tool:hover, .bh-tool:focus-visible { border-color: rgba(52,195,240,.5); background: var(--bg-3); }
.bh-tool-logo { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; }
.bh-tool-logo img { width: 28px; height: 28px; object-fit: contain; }
.bh-tool-logo svg { width: 26px; height: 26px; fill: none; stroke: #10161F; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bh-tool b { font: 600 15px/1.25 var(--f-display); color: var(--white); align-self: end; }
.bh-tool small { font-size: 12.5px; color: var(--on-dark-mut); }
@media (max-width: 980px) { .bh-toolgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .bh-steps { grid-template-columns: 1fr; }
  .bh-steps li:not(:last-child)::after { top: auto; bottom: -16px; right: auto; left: 43px; width: 2px; height: 16px; }
  .bh-tfilters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .bh-tfilters button { flex: none; }
}
@media (max-width: 420px) { .bh-toolgrid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .bh-step { transition: none; } .bh-step:hover { transform: none; } }
.bh-tool-logo.bh-tool-dark { background: var(--bg-3); border: 1px solid rgba(255,255,255,.14); }
