/* Guia isolado: utiliza a paleta existente do catálogo. */
.bc-guide-entry, .bc-guide-dialog { --guide-blue: var(--bc-blue, #194d88); --guide-ink: var(--bc-ink, #142135); --guide-muted: var(--bc-muted, #526174); --guide-line: #d7e3f0; color: var(--guide-ink); font-family: Inter, Arial, sans-serif; }
.bc-guide-entry, .bc-guide-entry *, .bc-guide-dialog, .bc-guide-dialog * { box-sizing: border-box; }
.bc-guide-entry { display: flex; align-items: center; gap: 18px; max-width: 1192px; margin: 24px auto 0; padding: 22px 24px; border: 1px solid var(--guide-line); border-radius: 16px; background: #f1f6fc; }
.bc-guide-entry-icon { flex: 0 0 44px; width: 44px; height: 50px; color: var(--guide-blue); }
.bc-guide-entry-icon svg { width: 100%; height: 100%; }
.bc-guide-entry h2 { margin: 0 0 6px; font-size: 20px; font-weight: 650; letter-spacing: -.6px; line-height: 1.3; }
.bc-guide-entry p { margin: 0; color: var(--guide-muted); font-size: 14px; line-height: 1.6; }
.bc-guide-entry .bc-guide-primary { margin-left: auto; flex-shrink: 0; }
.bc-guide-primary, .bc-guide-secondary, .bc-guide-contact { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 48px; padding: 13px 20px; border: 1px solid transparent; border-radius: 9px; font: 600 14px/1.5 Inter, Arial, sans-serif; text-align: center; text-decoration: none; cursor: pointer; }
.bc-guide-primary { color: #fff; background: var(--guide-blue); }
.bc-guide-primary:hover { background: var(--bc-blue-dark, #103b70); }
.bc-guide-primary:disabled { background: #dbe4ee; color: #66788c; cursor: not-allowed; }
.bc-guide-secondary { border-color: var(--guide-line); background: #fff; color: var(--guide-blue); }
.bc-guide-secondary:hover { background: #f1f6fc; }
.bc-guide-entry button:focus-visible, .bc-guide-dialog :is(button, a, input):focus-visible { outline: 3px solid #377cce; outline-offset: 4px; }
.bc-guide-dialog { position: fixed; inset: 0; width: min(1100px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 1px solid var(--guide-line); border-radius: 22px; background: #fff; box-shadow: 0 24px 80px #14213533; overflow: auto; overscroll-behavior: contain; }
.bc-guide-dialog:not([open]) { display: none; }
.bc-guide-dialog::backdrop { background: #10213699; }
body:has(.bc-guide-dialog[open]) { overflow: hidden; }
.bc-guide-header { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 28px; border-bottom: 1px solid var(--guide-line); background: #fff; }
.bc-guide-brand { font-size: 18px; font-weight: 750; letter-spacing: -.5px; }
.bc-guide-brand span { font-size: 13px; font-weight: 450; letter-spacing: 0; color: var(--guide-muted); }
.bc-guide-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid var(--guide-line); border-radius: 9px; background: #fff; color: var(--guide-blue); font-size: 28px; cursor: pointer; }
.bc-guide-content { padding: 32px; }
.bc-guide-step { max-width: 670px; margin: 0 auto; }
.bc-guide-step-label { margin: 0 0 10px; font-size: 12px; font-weight: 650; color: var(--guide-blue); letter-spacing: 1.5px; text-transform: uppercase; }
.bc-guide-progress { display: flex; gap: 6px; margin-bottom: 30px; }
.bc-guide-progress span { height: 4px; flex: 1; background: #e6edf5; border-radius: 3px; }
.bc-guide-progress span.is-done { background: var(--guide-blue); }
.bc-guide-dialog h2 { margin: 0 0 12px; font: 650 clamp(25px, 3vw, 34px)/1.15 Inter, Arial, sans-serif; letter-spacing: -1px; }
.bc-guide-intro { margin: 0 0 26px; color: var(--guide-muted); font-size: 15px; line-height: 1.7; }
.bc-guide-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 0; padding: 0; margin: 0; border: 0; }
.bc-guide-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.bc-guide-choice { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 94px; padding: 19px; border: 1px solid var(--guide-line); border-radius: 12px; background: #fff; cursor: pointer; }
.bc-guide-choice:hover { border-color: #8aaed8; background: #f8fbff; }
.bc-guide-choice:has(input:checked) { border-color: var(--guide-blue); background: #eef5fc; box-shadow: inset 0 0 0 1px var(--guide-blue); }
.bc-guide-choice:has(input:focus-visible) { outline: 3px solid #377cce; outline-offset: 3px; }
.bc-guide-choice input { flex-shrink: 0; width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--guide-blue); }
.bc-guide-choice strong { display: block; font-size: 15px; line-height: 1.5; font-weight: 650; }
.bc-guide-choice small { display: block; margin-top: 5px; color: var(--guide-muted); font-size: 12px; line-height: 1.6; }
.bc-guide-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--guide-line); }
.bc-guide-actions p { color: var(--guide-muted); font-size: 12px; line-height: 1.6; margin: 0; }
.bc-guide-summary { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 24px; list-style: none; }
.bc-guide-summary li { padding: 7px 11px; border-radius: 7px; background: #f1f5fa; color: var(--guide-muted); font-size: 12px; }
.bc-guide-result-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.bc-guide-result-heading .bc-guide-secondary { flex-shrink: 0; }
.bc-guide-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 26px; }
.bc-guide-results:has(> :only-child) { grid-template-columns: minmax(0, 1fr); max-width: 410px; }
.bc-guide-results:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.bc-guide-result { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--guide-line); border-radius: 15px; overflow: hidden; background: #fff; }
.bc-guide-picture { display: grid; place-items: center; min-height: 212px; padding: 20px; background: #f5f7fa; }
.bc-guide-picture img { display: block; width: 100%; height: 184px; object-fit: contain; }
.bc-guide-image-fallback { width: 80px; height: 120px; color: #6e8aa8; }
.bc-guide-result-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.bc-guide-status { margin: 0 0 9px; font-size: 11px; font-weight: 650; color: var(--guide-blue); text-transform: uppercase; letter-spacing: .6px; }
.bc-guide-result h3 { margin: 0 0 16px; font-size: 21px; font-weight: 650; line-height: 1.3; letter-spacing: -.6px; }
.bc-guide-price { margin: 0 0 4px; font-size: 27px; font-weight: 700; letter-spacing: -1px; }
.bc-guide-price span { font-size: 12px; font-weight: 450; letter-spacing: 0; color: var(--guide-muted); }
.bc-guide-installment { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--guide-blue); line-height: 1.6; }
.bc-guide-finance-total { margin: 0 0 18px; color: var(--guide-muted); font-size: 11px; line-height: 1.7; }
.bc-guide-reason { margin: 0 0 15px; font-size: 13px; line-height: 1.75; }
.bc-guide-reason strong, .bc-guide-attention strong { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .5px; }
.bc-guide-attention { margin: 0 0 17px; color: var(--guide-muted); font-size: 12px; line-height: 1.75; }
.bc-guide-source { align-self: flex-start; margin: auto 0 16px; color: var(--guide-blue); font-size: 12px; text-underline-offset: 3px; }
.bc-guide-result .bc-guide-primary { width: 100%; margin-top: auto; }
.bc-guide-consult-title { font-size: 18px; font-weight: 650; margin: 28px 0 8px; }
.bc-guide-note { margin: 0 0 20px; color: var(--guide-muted); font-size: 13px; line-height: 1.8; }
.bc-guide-help { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; border: 1px solid var(--guide-line); border-radius: 13px; background: #f1f6fc; }
.bc-guide-help h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.4px; }
.bc-guide-help p { margin: 0; color: var(--guide-muted); font-size: 13px; line-height: 1.7; }
.bc-guide-contact { flex-shrink: 0; color: #fff; background: var(--guide-blue); }
.bc-guide-empty { padding: 24px; margin-bottom: 24px; border: 1px solid var(--guide-line); border-radius: 12px; color: var(--guide-muted); font-size: 14px; line-height: 1.8; background: #f8fafc; }
@media (prefers-reduced-motion: no-preference) {
  .bc-guide-step, .bc-guide-result-view { animation: bc-guide-reveal .18s ease-out; }
  @keyframes bc-guide-reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1240px) { .bc-guide-entry { margin-left: 24px; margin-right: 24px; } }
@media (max-width: 820px) {
  .bc-guide-entry { flex-wrap: wrap; }
  .bc-guide-entry .bc-guide-primary { margin-left: 62px; }
  .bc-guide-results, .bc-guide-results:has(> :nth-child(2):last-child) { grid-template-columns: 1fr; max-width: none; }
  .bc-guide-results:has(> :only-child) { max-width: none; }
  .bc-guide-picture { min-height: 240px; }
  .bc-guide-picture img { height: 210px; }
  .bc-guide-help { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
  .bc-guide-entry { margin: 16px 16px 0; padding: 20px; gap: 12px; }
  .bc-guide-entry-icon { display: none; }
  .bc-guide-entry h2 { font-size: 20px; }
  .bc-guide-entry .bc-guide-primary { width: 100%; margin-left: 0; }
  .bc-guide-dialog { width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
  .bc-guide-header { padding: 12px 16px; }
  .bc-guide-content { padding: 24px 18px max(24px, env(safe-area-inset-bottom)); }
  .bc-guide-options { grid-template-columns: 1fr; gap: 10px; }
  .bc-guide-choice { min-height: 78px; padding: 16px; }
  .bc-guide-progress { margin-bottom: 24px; }
  .bc-guide-actions { align-items: stretch; gap: 10px; }
  .bc-guide-actions .bc-guide-primary { flex: 1; }
  .bc-guide-result-heading { flex-direction: column; gap: 0; margin-bottom: 20px; }
  .bc-guide-help { padding: 20px; }
  .bc-guide-contact { width: 100%; }
}
/* O acesso móvel fica dentro do menu, sem ocupar espaço antes dos produtos. */
#navbar .bc-guide-menu-start { display: none; }
@media (max-width: 980px) {
  .bc-guide-entry { display: none; }
  #navbar .bc-guide-menu-start { display: flex; flex-basis: 100%; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; width: 100%; margin: 0 0 10px; padding: 12px 14px; border: 1px solid #d7e3f0; border-radius: 8px; background: #f1f6fc; color: var(--bc-blue, #194d88); font: 600 14px/1.5 Inter, Arial, sans-serif; text-align: left; cursor: pointer; }
  #navbar .bc-guide-menu-start small { display: block; margin-top: 3px; color: var(--bc-muted, #526174); font-size: 12px; font-weight: 400; line-height: 1.6; }
  #navbar .bc-guide-menu-start:hover { background: #eaf2fc; }
  #navbar .bc-guide-menu-start:focus-visible { outline: 3px solid #377cce; outline-offset: 2px; }
}
