/* Bolt Solar — seção de baterias (tema claro, no ritmo do restante do site) */
.bf { --ok: #1fa35a; --ok2: #37d67a; --sun: #f0a21b; --grid: #2b78d0; --bad: #e0483d; --ink: #0f2f57; --ink2: #57718c; --line: #dbe4ef;
  position: relative; padding: 110px 0; color: var(--ink); background: linear-gradient(180deg, #f6f8fc 0%, #eef3f9 100%); }
.bf-k { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 700 11px "DM Sans", sans-serif; letter-spacing: 2px; color: var(--ok); text-transform: uppercase; }
.bf-k span { width: 9px; height: 9px; border-radius: 50%; background: var(--ok2); box-shadow: 0 0 10px var(--ok2); }
.bf h2 { margin: 0; font: 700 clamp(36px, 4vw, 58px)/1.05 "Manrope", sans-serif; letter-spacing: -1.8px; color: var(--ink); }
.bf h2 em { font-style: normal; color: #2b65ac; white-space: normal; }
.bf h2 em::after { display: none; }
.bf-lead { margin: 18px 0 0; max-width: 540px; font-size: 16.5px; line-height: 1.65; color: var(--ink2); }

/* chamada: vídeo real + perfis */
.bf-convite { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: center; }
.bf-real { position: relative; margin: 0; aspect-ratio: 9 / 16; max-height: 640px; overflow: hidden; border-radius: 24px; background: #dfe5ec; box-shadow: 0 40px 80px -40px #0a2a5580; }
.bf-real video { width: 100%; height: 100%; object-fit: cover; }
.bf-real figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: #061733b3; backdrop-filter: blur(8px); color: #fff; font: 600 12.5px "DM Sans", sans-serif; }
.bf-live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok2); box-shadow: 0 0 8px var(--ok2); animation: bf-pulse 1.6s infinite; }
@keyframes bf-pulse { 50% { opacity: .35; } }
.bf-ask { margin: 30px 0 14px; font-size: 15.5px; color: var(--ink); }
.bf-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bf-cards button { position: relative; display: grid; align-content: end; min-height: 190px; padding: 14px; overflow: hidden; border: 0; border-radius: 16px; background: #0a2a55; color: #fff; text-align: left; cursor: pointer; isolation: isolate; transition: transform .25s, box-shadow .25s; }
.bf-cards img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22, .8, .24, 1); }
.bf-cards button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #061733e6 0%, #06173300 70%); }
.bf-cards button:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -18px #0a2a55; }
.bf-cards button:hover img { transform: scale(1.06); }
.bf-cards button[aria-pressed="true"] { box-shadow: 0 0 0 3px #fcb133; }
.bf-cards b { font: 700 17px "Manrope", sans-serif; }
.bf-cards span { font-size: 12.5px; color: #dbe6f4; }

/* painel */
.bf-painel { display: grid; grid-template-columns: minmax(0, 1fr) 320px; margin-top: 64px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 40px 90px -60px #0a2a55; scroll-margin-top: 100px; }
.bf-main { padding: 22px 26px 22px; min-width: 0; }
.bf-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.bf-tabs, .bf-modos { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: #eef3f9; }
.bf-tabs button { padding: 8px 15px; border: 0; border-radius: 999px; background: transparent; color: var(--ink2); font: 600 13px "DM Sans", sans-serif; cursor: pointer; }
.bf-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.bf-modos { background: transparent; padding: 0; gap: 8px; }
.bf-btn { padding: 8px 15px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 700 13px "DM Sans", sans-serif; cursor: pointer; }
.bf-btn:hover { border-color: #2b65ac; }
.bf-btn[aria-pressed="true"] { border-color: var(--ok); background: #1fa35a14; color: #137a41; }
.bf-btn--red[aria-pressed="true"] { border-color: var(--bad); background: #e0483d12; color: #b8322a; }

.bf-stage { position: relative; margin-top: 12px; border-radius: 18px; overflow: hidden; background: radial-gradient(80% 90% at 50% 40%, #ffffff 0%, #eaf1f8 100%); }
.bf-scene { position: relative; display: none; aspect-ratio: 1800 / 1100; }
.bf.bf-has-scene .bf-scene { display: block; }
.bf.bf-has-scene .bf-svg { display: none; }
.bf-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.bf-img--night { opacity: 0; transition: opacity .6s; }
.bf-flows { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bf-edge { fill: none; stroke: #0a2a5514; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s, stroke-width .35s; }
.bf-flows .bf-edge { stroke-width: 3; }
.bf-edge.on { stroke-dasharray: 2 12; animation: bf-flow .8s linear infinite; }
.bf-flows .bf-edge.on { stroke-dasharray: 4 22; animation-name: bf-flow2; }
.bf-edge.on.rev { animation-direction: reverse; }
.bf-edge.sun { stroke: var(--sun); filter: drop-shadow(0 0 6px #fcb133aa); }
.bf-edge.bat { stroke: var(--ok2); filter: drop-shadow(0 0 6px #37d67aaa); }
.bf-edge.grid { stroke: var(--grid); filter: drop-shadow(0 0 6px #6ea8ffaa); }
@keyframes bf-flow { to { stroke-dashoffset: -14; } }
@keyframes bf-flow2 { to { stroke-dashoffset: -26; } }
.bf-x { stroke: var(--bad); stroke-width: 6; stroke-linecap: round; opacity: 0; transition: opacity .3s; }
.bf-svg .bf-x { stroke-width: 4; }
.bf.bf-falha .bf-x { opacity: 1; }
.bf-chip { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #ffffffee; box-shadow: 0 6px 16px -8px #0a2a5580; font: 600 12px "DM Sans", sans-serif; color: var(--ink2); transform: translate(-50%, -50%); white-space: nowrap; transition: opacity .3s; }
.bf-chip b { color: var(--ink); font-weight: 700; }
.bf-chip.off { opacity: .55; }
.bf-chip i, .bf-read i, .bf-leg i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
i.s { background: var(--sun); } i.b { background: var(--ok2); } i.g { background: var(--grid); } i.l { background: var(--ink); }
.bf-clock { position: absolute; left: 12px; top: 12px; display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: #ffffffee; box-shadow: 0 6px 16px -8px #0a2a5580; }
.bf-clock button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 10px; cursor: pointer; }
.bf-clock b { font: 700 15px "Manrope", sans-serif; font-variant-numeric: tabular-nums; }
.bf-svg { display: block; width: 100%; height: auto; padding: 18px 10px 6px; overflow: visible; }
.bf-svg text { fill: var(--ink); font: 600 14px "DM Sans", sans-serif; text-anchor: middle; }
.bf-svg .bf-in { font-size: 12.5px; fill: #fff; }
.bf-node rect { fill: #fff; stroke: var(--line); stroke-width: 1.5; }
.bf-inv rect { fill: var(--ink); stroke: none; }
.bf-pv { fill: #1a3a6a; stroke: #9fc1ec; stroke-width: 1.6; }
.bf-bolt { fill: #fcb133; }
.bf-batt { fill: none; stroke: var(--ok); stroke-width: 2.4; }
.bf-pole { fill: none; stroke: #8a9bb0; stroke-width: 2.4; stroke-linecap: round; }

.bf-frase { min-height: 2.8em; margin: 14px 0 8px; font: 600 16.5px/1.45 "Manrope", sans-serif; color: var(--ink); }
.bf-read { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 10px 0 14px; border-bottom: 1px solid var(--line); font: 500 13px "DM Sans", sans-serif; color: var(--ink2); }
.bf-read span { display: inline-flex; align-items: center; gap: 6px; }
.bf-read b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.bf-socw { margin-left: auto; }
.bf-soc { display: inline-block; width: 70px; height: 8px; border-radius: 99px; background: #e6edf5; overflow: hidden; }
.bf-soc i { display: block; height: 100%; background: var(--ok2); transition: width .3s; }

.bf-chartw { margin-top: 12px; }
.bf-chart { display: block; width: 100%; height: auto; cursor: ew-resize; touch-action: none; }
.bf-chart .c-grid { stroke: #e3eaf2; }
.bf-chart .c-ax { fill: #8193a8; font: 500 11px "DM Sans", sans-serif; text-anchor: middle; }
.bf-chart .c-sun { fill: #fcb13355; stroke: var(--sun); stroke-width: 1.5; }
.bf-chart .c-grid-a { fill: #2b78d02e; stroke: var(--grid); stroke-width: 1.4; }
.bf-chart .c-bat { fill: #37d67a66; stroke: var(--ok); stroke-width: 1.2; }
.bf-chart .c-load { fill: none; stroke: var(--ink); stroke-width: 2.2; }
.bf-chart .c-ess { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 4 4; }
.bf-chart .c-lim { stroke: var(--bad); stroke-width: 1.6; stroke-dasharray: 6 5; }
.bf-chart .c-band { fill: #2b65ac10; } .bf-chart .c-band--red { fill: #e0483d12; }
.bf-chart .c-bt { fill: #2b65ac; font: 700 10.5px "DM Sans", sans-serif; } .bf-chart .c-bt--red { fill: #c43a30; }
.bf-chart .c-head { stroke: var(--ink); stroke-width: 1.2; }
.bf-chart .c-dot { fill: #fcb133; stroke: #fff; stroke-width: 2; }
.bf-leg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 4px; font: 500 12px "DM Sans", sans-serif; color: var(--ink2); }
.bf-leg span { display: inline-flex; align-items: center; gap: 6px; }
.bf-leg small { margin-left: auto; color: #8193a8; }

.bf-slider { display: grid; gap: 4px; margin-top: 14px; --v: 70%; }
.bf-slider > span { display: flex; justify-content: space-between; font: 600 13px "DM Sans", sans-serif; color: var(--ink2); }
.bf-slider b { color: #c4830c; }
.bf-slider input { -webkit-appearance: none; appearance: none; width: 100%; height: 38px; margin: 0; background: transparent; cursor: pointer; }
.bf-slider input::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, #fcb133 var(--v), #e3eaf2 var(--v)); }
.bf-slider input::-moz-range-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, #fcb133 var(--v), #e3eaf2 var(--v)); }
.bf-slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 46px; height: 32px; margin-top: -12px; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 32'%3E%3Cpath d='M6 3h34l5 26H1z' fill='%231a3a6a' stroke='%23fcb133' stroke-width='2'/%3E%3Cpath d='M4 16h38M17 3l-3 26M29 3l3 26' stroke='%239fc1ec' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 4px 8px #0a2a5555); }
.bf-slider input::-moz-range-thumb { width: 46px; height: 32px; border: 0; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 32'%3E%3Cpath d='M6 3h34l5 26H1z' fill='%231a3a6a' stroke='%23fcb133' stroke-width='2'/%3E%3Cpath d='M4 16h38M17 3l-3 26M29 3l3 26' stroke='%239fc1ec' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; }
.bf-note { display: block; margin-top: 8px; font-size: 11.5px; line-height: 1.5; color: #8193a8; }

.bf-side { padding: 24px 24px 22px; border-left: 1px solid var(--line); background: #f8fafd; }
.bf-side h3 { margin: 0 0 12px; font: 700 16px/1.3 "Manrope", sans-serif; letter-spacing: -.2px; color: var(--ink); }
.bf-faz { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; }
.bf-faz li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.5; color: var(--ink2); }
.bf-faz li::before { content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--ok2); }
.bf-obj { display: grid; gap: 8px; margin-bottom: 18px; }
.bf-obj label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 14px; color: var(--ink); cursor: pointer; }
.bf-obj input { width: 16px; height: 16px; accent-color: #2b65ac; }
.bf-obj label:has(input:checked) { border-color: #2b65ac88; background: #2b65ac0a; }
.bf-cta { width: 100%; justify-content: center; }
.bf-side small { display: block; margin-top: 10px; font-size: 11.5px; color: #8193a8; text-align: center; }

@media (max-width: 1100px) { .bf-painel { grid-template-columns: 1fr; } .bf-side { border-left: 0; border-top: 1px solid var(--line); } .bf-convite { grid-template-columns: 280px 1fr; gap: 36px; } }
@media (max-width: 800px) { .bf-convite { grid-template-columns: 1fr; } .bf-real { max-height: 460px; aspect-ratio: 4 / 5; } .bf-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  .bf { padding: 80px 0; } .bf h2 { font-size: 34px; letter-spacing: -1.1px; } .bf-lead { font-size: 15px; }
  .bf-cards button { min-height: 150px; }
  .bf-main { padding: 14px 12px; } .bf-tabs { display: flex; width: 100%; } .bf-tabs button { flex: 1; padding: 8px 4px; font-size: 12px; }
  .bf-chip { font-size: 10px; padding: 3px 7px; } .bf-socw { margin-left: 0; } .bf-leg small { margin-left: 0; }
  .bf-frase { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .bf-edge.on { animation: none; stroke-dasharray: none; } .bf-live { animation: none; } }

/* painel numa tela só: maquete à esquerda, controles e gráfico à direita, detalhes abaixo */
.bf-painel { display: block; padding: 18px 20px 0; }
.bf-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.bf-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.bf-stage { margin-top: 0; }
.bf-ctl { display: grid; gap: 10px; }
.bf-frase { min-height: 3.1em; margin: 0; font-size: 16px; }
.bf-read { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0; border: 0; }
.bf-read span { justify-content: space-between; padding: 8px 12px; border-radius: 12px; background: #f3f6fa; }
.bf-read span b { margin-left: auto; }
.bf-socw { display: flex; align-items: center; gap: 10px; margin: 0; font: 500 13px "DM Sans", sans-serif; color: var(--ink2); }
.bf-socw .bf-soc { flex: 1; width: auto; height: 10px; }
.bf-socw b { color: var(--ink); font-weight: 700; min-width: 3ch; text-align: right; }
.bf-chart { margin-top: 2px; }
.bf-leg { margin: 0; }
.bf-slider { margin-top: 2px; }
.bf-note { margin: 0 0 4px; }
.bf-side { display: grid; grid-template-columns: 1.2fr 1fr 280px; gap: 28px; align-items: start; margin: 20px -20px 0; padding: 22px 24px; border: 0; border-top: 1px solid var(--line); }
.bf-faz { margin-bottom: 0; }
.bf-obj { margin-bottom: 0; }
.bf-go { align-self: center; }

/* fluxo na maquete */
.bf-flows .bf-edge { stroke: #0a2a5530; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: none; animation: none; filter: none; }
.bf-flows .bf-edge.on.sun { stroke: #f5a62399; } .bf-flows .bf-edge.on.bat { stroke: #2fd17488; } .bf-flows .bf-edge.on.grid { stroke: #3d8bf088; }
.bf-svg .bf-edge.on { stroke-dasharray: none; animation: none; }
.bf-svg .bf-edge.on.sun { stroke: #fcb13366; } .bf-svg .bf-edge.on.bat { stroke: #37d67a66; } .bf-svg .bf-edge.on.grid { stroke: #6ea8ff66; }
.bf-parts circle { fill: #fcb133; }
.bf-parts.sun circle { fill: #ffb41f; } .bf-parts.bat circle { fill: #2fd174; } .bf-parts.grid circle { fill: #3d8bf0; }
.bf-halo { fill: none; stroke: transparent; stroke-width: 4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.bf-halo.on { opacity: 1; animation: bf-halo 1.8s ease-out infinite; }
.bf-halo.on.sun { stroke: #fcb133; fill: #fcb13322; } .bf-halo.on.bat { stroke: #37d67a; fill: #37d67a22; } .bf-halo.on.grid { stroke: #3d8bf0; fill: #3d8bf01c; } .bf-halo.on.inv { stroke: #fcb133; fill: #fcb13333; }
@keyframes bf-halo { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.bf-sun { position: absolute; left: 3%; top: 4%; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, #fff6d8 0 22%, #ffd36b 30%, #ffc24a55 48%, #ffc24a00 70%); pointer-events: none; transition: opacity .5s; }
.bf-chip { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 7px; align-items: center; padding: 6px 12px 6px 10px; border-radius: 12px; border: 1.5px solid transparent; }
.bf-chip i { grid-row: span 2; width: 10px; height: 10px; }
.bf-chip em { font-style: normal; font-size: 11px; color: var(--ink2); line-height: 1.1; }
.bf-chip b { grid-column: 2; font: 700 14px "Manrope", sans-serif; line-height: 1.15; }
.bf-chip small { grid-column: 2; font-size: 10.5px; color: var(--ink2); line-height: 1.1; }
.bf-chip em { grid-column: 2; grid-row: 1; }
.bf-chip[data-cls="sun"] { border-color: #fcb13399; } .bf-chip[data-cls="bat"] { border-color: #37d67a99; } .bf-chip[data-cls="grid"] { border-color: #3d8bf099; }
.bf-chip[data-cls="bad"] { border-color: #e0483d; } .bf-chip[data-cls="bad"] b { color: #c43a30; }
.bf-chip.off { opacity: .6; }

@media (max-width: 1100px) { .bf-grid { grid-template-columns: 1fr; } .bf-side { grid-template-columns: 1fr 1fr; } .bf-go { grid-column: 1 / -1; } }
@media (max-width: 700px) {
  .bf-painel { padding: 12px 10px 0; } .bf-side { grid-template-columns: 1fr; margin: 16px -10px 0; padding: 18px 14px; }
  .bf-chip { padding: 3px 7px; } .bf-chip b { font-size: 11px; } .bf-chip em, .bf-chip small { font-size: 9px; } .bf-sun { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) { .bf-halo.on { animation: none; } }

/* tubos: contorno escuro + núcleo colorido; setas brancas com borda na cor do fluxo */
.bf-flows .bf-edge { stroke: #0f2f5738; }
.bf-flows .bf-edge.on { stroke: #0f2f57b0; }
.bf-svg .bf-edge.on { stroke: #0f2f5766; }
.bf-core { fill: none; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.bf-core.sun { stroke: #ffb41f; } .bf-core.bat { stroke: #2fd174; } .bf-core.grid { stroke: #4b95f5; }
.bf-parts path { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke: #fff; }
.bf-svg .bf-parts path { stroke-width: 2.4; }
.bf-parts.sun path { stroke: #fff7e0; } .bf-parts.bat path { stroke: #eafff2; } .bf-parts.grid path { stroke: #eef5ff; }
.bf-leads line { stroke: #0f2f5766; stroke-width: 2; stroke-dasharray: 5 6; }
.bf-chip--hub { background: #0f2f57; color: #fff; border-color: #0f2f57; }
.bf-chip--hub em { color: #fcb133; font-weight: 700; } .bf-chip--hub small { color: #c9d7ea; }
@media (max-width: 700px) { .bf-chip small, .bf-chip--hub, .bf-leads { display: none; } .bf-chip { grid-template-rows: auto; } }
/* etiquetas mais discretas; nível da bateria dentro da etiqueta do BESS */
.bf-chip { padding: 4px 10px 4px 8px; border-radius: 10px; column-gap: 6px; box-shadow: 0 4px 12px -6px #0a2a5570; }
.bf-chip em { font-size: 10px; } .bf-chip b { font-size: 12.5px; } .bf-chip small { font-size: 9.5px; }
.bf-chip i { width: 8px; height: 8px; }
.bf-lvl { grid-column: 3; grid-row: 1 / span 3; position: relative; width: 9px; height: 30px; margin-left: 4px; border-radius: 3px; background: #e6edf5; overflow: hidden; border: 1px solid #c9d6e4; }
.bf-lvl i { position: absolute; left: 0; right: 0; bottom: 0; width: auto; height: 50%; border-radius: 0; background: var(--ok2); transition: height .4s; }
/* linhas indicadoras: contínuas, com ponto sobre o componente */
.bf-leads line { stroke: #0f2f57; stroke-width: 2.4; stroke-dasharray: none; opacity: .75; }
.bf-leads circle { fill: #fff; stroke: #0f2f57; stroke-width: 3; }
.bf-chip.off { opacity: 1; background: #fff; } .bf-chip.off b, .bf-chip.off em { color: #9aa9bb; }
.bf-chip[data-cls="bad"] b { color: #c43a30 !important; }
@media (max-width: 700px) {
  .bf-chip em, .bf-chip small, .bf-lvl { display: none !important; }
  .bf-chip { display: inline-flex; gap: 4px; padding: 2px 6px; border-radius: 8px; } .bf-chip b { font-size: 10px; }
  .bf-leads { display: inline !important; } .bf-leads line { stroke-width: 3; } .bf-leads circle { r: 9; }
  .bf-clock { left: 6px; top: 6px; padding: 2px 8px 2px 2px; transform: scale(.82); transform-origin: left top; }
}
@media (max-width: 700px) { .bf-chip--hub { display: none !important; } }

/* explicação da aplicação escolhida */
.bf-info { padding: 12px 14px; border-left: 3px solid #fcb133; border-radius: 0 12px 12px 0; background: #fff8ea; }
.bf-info b { display: block; margin-bottom: 4px; font: 700 14.5px "Manrope", sans-serif; color: var(--ink); }
.bf-info p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink2); }
.bf-frase { font-size: 14.5px; min-height: 2.6em; }
.bf-info { padding: 9px 12px; } .bf-info b { font-size: 13.5px; margin-bottom: 2px; } .bf-info p { font-size: 12.5px; line-height: 1.45; }
.bf-ctl { gap: 8px; } .bf-read span { padding: 6px 10px; } .bf-frase { min-height: 0; }
/* rede caiu / voltou */
.bf-chip.is-back { border-color: #3d8bf0 !important; animation: bf-back 1s ease-out 3; }
.bf-chip.is-back b { color: #1f6fd6 !important; }
.bf-chip.is-down { animation: bf-down .8s ease-out 3; }
@keyframes bf-back { 0% { box-shadow: 0 0 0 0 #3d8bf0aa; transform: translate(-50%, -50%) scale(1.08); } 100% { box-shadow: 0 0 0 18px #3d8bf000; transform: translate(-50%, -50%) scale(1); } }
@keyframes bf-down { 0% { box-shadow: 0 0 0 0 #e0483daa; transform: translate(-50%, -50%) scale(1.08); } 100% { box-shadow: 0 0 0 18px #e0483d00; transform: translate(-50%, -50%) scale(1); } }
.bf-aviso { position: absolute; left: 50%; bottom: 14px; z-index: 3; margin: 0; padding: 8px 16px; border-radius: 999px; background: #0f2f57; color: #fff; font: 700 13px "DM Sans", sans-serif; white-space: nowrap; transform: translate(-50%, 12px); opacity: 0; transition: opacity .35s, transform .35s; pointer-events: none; }
.bf-aviso.on { opacity: 1; transform: translate(-50%, 0); }
.bf-aviso.ok { background: #1f6fd6; } .bf-aviso.bad { background: #c43a30; }
@media (max-width: 700px) { .bf-aviso { font-size: 11px; padding: 5px 10px; white-space: normal; width: 86%; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .bf-chip.is-back, .bf-chip.is-down { animation: none; } }
/* demanda da rede x contratada (controle de demanda) */
.bf-dem { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: #fff1f0; border: 1px solid #f3c6c2; font: 600 13px "DM Sans", sans-serif; color: #0f2f57; }
.bf-dem small { display: block; font-weight: 500; font-size: 11px; color: #b8322a; }
.bf-dem-t { position: relative; height: 10px; border-radius: 99px; background: #fff; border: 1px solid #f3c6c2; overflow: hidden; }
.bf-dem-t i { position: absolute; left: 0; top: 0; bottom: 0; background: #3d8bf0; transition: width .3s; }
.bf-dem b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bf-dem.is-cap .bf-dem-t i { background: #e0483d; }
.bf-dem.is-cap b::after { content: " · bateria cobrindo o excesso"; color: #1fa35a; font-size: 11px; }
