/* ============================================================
   BRIEFING HUB NEXUS — component styles
   Builds on nexus-tokens.css. Dark-first, preto + ouro.
   3 visual directions via .dir-* on root:
     .dir-precision  (default · engenharia, grid, contido)
     .dir-cinematic  (glow ambiente, display grande, dramático)
     .dir-editorial  (serif Cormorant, numerado, revista premium)
   Accent overridable via --brand (tweak).
   Density via --pad-scale (tweak).
   ============================================================ */

.bf-root{
  --pad-scale: 1;
  --maxw: 720px;
  /* accent cascades from --brand (set by tweak) */
  --brand-glow: color-mix(in srgb, var(--brand) 30%, transparent);
  --gold-soft: color-mix(in srgb, var(--brand) 10%, transparent);
  --glow-gold: 0 0 0 1px color-mix(in srgb, var(--brand) 30%, transparent), 0 12px 42px -16px color-mix(in srgb, var(--brand) 46%, transparent);
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ---------- ambient background layers ---------- */
.bf-bg{ position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.bf-bg .grid{
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 75%);
}
.bf-bg .glow{
  position: absolute; left: 50%; top: -22%; width: 920px; height: 920px;
  transform: translateX(-50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 18%, transparent) 0%, transparent 62%);
  opacity: .5; filter: blur(8px); transition: opacity var(--t-slower) var(--ease-standard);
}
.bf-bg .vignette{
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 80% at 50% 30%, transparent 40%, rgba(0,0,0,.55) 100%);
}
.dir-cinematic .bf-bg .glow{ opacity: .9; width: 1100px; height: 1100px; top: -28%; }
.dir-precision .bf-bg .glow{ opacity: .32; }
.dir-editorial .bf-bg .glow{ opacity: .28; }
.dir-editorial .bf-bg .grid{ opacity: .5; }

/* ---------- top chrome ---------- */
.bf-top{
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: var(--s-4);
  padding: 20px clamp(18px, 4vw, 40px);
  max-width: 1180px; width: 100%; margin: 0 auto;
}
.bf-brand{ display: flex; align-items: center; gap: 11px; }
.bf-brand img{ height: 22px; width: auto; display: block; }
.bf-brand img.orb{ height: 34px; width: 34px; border-radius: 50%; object-fit: cover; object-position: center 42%; }
.bf-brand .wm{ font-weight: 600; letter-spacing: .14em; font-size: 13px; color: var(--text); text-transform: uppercase; }
.bf-brand .sub{ font-size: 11px; color: var(--text-subtle); letter-spacing: .06em; }
.bf-top .spacer{ flex: 1; }
.bf-secure{ display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--text-subtle); letter-spacing: .02em; }
.bf-secure .dotk{ width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); }

/* progress */
.bf-progress-wrap{ position: relative; z-index: 3; max-width: 1180px; width: 100%; margin: 0 auto; padding: 0 clamp(18px,4vw,40px); }
.bf-progress{ height: 3px; border-radius: 99px; background: var(--gray-800); overflow: hidden; }
.bf-progress > i{ display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 70%, #fff));
  box-shadow: 0 0 12px color-mix(in srgb, var(--brand) 60%, transparent);
  transition: width var(--t-slow) var(--ease-standard); }
.bf-progress-meta{ display: flex; justify-content: space-between; margin-top: 9px; font-size: 11px; letter-spacing: .04em; color: var(--text-subtle); }
.bf-progress-meta .mono{ font-family: var(--font-mono); }

/* ---------- stage / centered content ---------- */
.bf-stage{
  position: relative; z-index: 2; flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(20px, 4vw, 48px) clamp(18px, 4vw, 40px) clamp(40px, 7vw, 88px);
}
.bf-panel{ width: 100%; max-width: var(--maxw); }

/* screen transition */
.bf-screen{ animation: bfRise var(--t-slower) var(--ease-entrance) both; }
@keyframes bfRise{ from{ opacity: 0; transform: translateY(14px); } to{ opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){ .bf-screen{ animation: none; } }

/* ---------- question header ---------- */
.bf-qhead{ margin-bottom: calc(28px * var(--pad-scale)); }
.bf-step{ display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.bf-step .num{ font-family: var(--font-mono); font-size: 12px; color: var(--brand);
  background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  padding: 3px 9px; border-radius: 99px; letter-spacing: .03em; }
.bf-step .et{ font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--text-subtle); }
.bf-qtitle{
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(26px, 4.4vw, 40px); line-height: 1.12; letter-spacing: -0.02em;
  color: var(--text); text-wrap: balance;
}
.bf-qtitle .hl{ color: var(--brand); }
.bf-qhelp{ margin-top: 14px; font-size: clamp(14px,1.6vw,16px); line-height: 1.55; color: var(--text-muted); max-width: 52ch; text-wrap: pretty; }

.dir-editorial .bf-qtitle{ font-family: var(--font-serif); font-weight: 600; font-size: clamp(28px,4vw,40px); letter-spacing: 0; line-height: 1.12; }
.dir-editorial .bf-step .num{ border-radius: 4px; }

/* ---------- single-choice options ---------- */
.bf-opts{ display: grid; gap: 10px; }
.bf-opts.cols-2{ grid-template-columns: 1fr 1fr; }
.bf-opt{
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: calc(15px * var(--pad-scale)) 18px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-size: 15.5px; font-weight: 500; cursor: pointer; position: relative;
  transition: border-color var(--t-base) var(--ease-standard), background var(--t-base) var(--ease-standard), transform var(--t-fast) var(--ease-standard);
}
.bf-opt:hover{ border-color: var(--gold-dim); background: var(--surface-raised); transform: translateY(-1px); }
.bf-opt .key{
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 7px;
  display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px;
  background: var(--gray-800); border: 1px solid var(--border-strong); color: var(--text-muted);
  transition: all var(--t-base) var(--ease-standard);
}
.bf-opt .lab{ flex: 1; }
.bf-opt .tick{ opacity: 0; transform: scale(.6); color: var(--brand); transition: all var(--t-base) var(--ease-standard); }
.bf-opt.is-sel{ border-color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, var(--surface)); box-shadow: 0 0 0 1px var(--brand), 0 8px 30px -16px var(--brand-glow); }
.bf-opt.is-sel .key{ background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.bf-opt.is-sel .tick{ opacity: 1; transform: scale(1); }

/* multi-select chips */
.bf-multi{ display: flex; flex-wrap: wrap; gap: 10px; }
.bf-mchip{
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 16px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border); color: var(--text-muted);
  font-size: 14.5px; font-weight: 500; cursor: pointer;
  transition: all var(--t-base) var(--ease-standard);
}
.bf-mchip:hover{ color: var(--text); border-color: var(--border-strong); }
.bf-mchip .box{ width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--border-strong); display: grid; place-items: center; transition: all var(--t-base) var(--ease-standard); }
.bf-mchip.is-sel{ color: var(--text); border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); }
.bf-mchip.is-sel .box{ background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

/* ---------- text fields ---------- */
.bf-fields{ display: grid; gap: 16px; }
.bf-fields.two{ grid-template-columns: 1fr 1fr; }
.bf-field{ display: flex; flex-direction: column; gap: 8px; }
.bf-field.col-span{ grid-column: 1 / -1; }
.bf-field > label{ font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--text-subtle); display: flex; gap: 7px; align-items: center; }
.bf-field > label .opt{ font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--gray-500); }
.bf-inwrap{ display: flex; align-items: center; gap: 11px; padding: 13px 15px; border-radius: var(--r-sm); background: var(--surface-raised); border: 1px solid var(--border); transition: border-color var(--t-base) var(--ease-standard), box-shadow var(--t-base) var(--ease-standard); }
.bf-inwrap:focus-within{ border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); }
.bf-inwrap .pre{ font-size: 14px; color: var(--text-subtle); font-family: var(--font-mono); white-space: nowrap; }
.bf-inwrap input, .bf-inwrap textarea{ border: none; background: transparent; outline: none; color: var(--text); font: inherit; font-size: 15px; width: 100%; resize: none; }
.bf-inwrap input::placeholder, .bf-inwrap textarea::placeholder{ color: var(--gray-500); }
.bf-field.invalid .bf-inwrap{ border-color: var(--error); }
.bf-fielderr{ font-size: 12px; color: var(--error); }

/* ---------- nav ---------- */
.bf-nav{ display: flex; align-items: center; gap: 14px; margin-top: calc(30px * var(--pad-scale)); }
.bf-nav .spacer{ flex: 1; }
.bf-back{ display: inline-flex; align-items: center; gap: 8px; background: transparent; border: none; color: var(--text-subtle); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; padding: 10px 6px; transition: color var(--t-fast); }
.bf-back:hover{ color: var(--text); }
.bf-cta{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--r-md); border: 1px solid transparent;
  background: var(--brand); color: var(--brand-ink); font: inherit; font-weight: 600; font-size: 15.5px;
  cursor: pointer; transition: transform var(--t-fast) var(--ease-standard), box-shadow var(--t-base) var(--ease-standard), background var(--t-base);
}
.bf-cta:hover{ box-shadow: var(--glow-gold); transform: translateY(-1px); }
.bf-cta:active{ transform: translateY(0); }
.bf-cta[disabled]{ opacity: .35; pointer-events: none; }
.bf-cta.ghost{ background: transparent; border-color: var(--border-strong); color: var(--text); }
.bf-cta.ghost:hover{ border-color: var(--gold-dim); box-shadow: none; background: var(--surface-raised); }
.bf-hint{ font-size: 12px; color: var(--text-subtle); display: inline-flex; align-items: center; gap: 6px; }
.bf-hint .kbd{ font-family: var(--font-mono); font-size: 11px; border: 1px solid var(--border-strong); border-radius: 5px; padding: 1px 6px; color: var(--text-muted); }

/* ============================================================ WELCOME */
.bf-welcome{ text-align: center; display: flex; flex-direction: column; align-items: center; }
.bf-mark{ position: relative; width: 132px; height: 132px; display: grid; place-items: center; margin-bottom: 30px; }
.bf-mark img{ width: 58px; height: auto; filter: drop-shadow(0 0 24px var(--brand-glow)); position: relative; z-index: 2; }
.bf-ring{ position: absolute; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent); }
.bf-ring.r1{ inset: 0; }
.bf-ring.r2{ inset: -22px; border-style: dashed; border-color: color-mix(in srgb, var(--brand) 16%, transparent); animation: bfSpin 36s linear infinite; }
.bf-ring.r3{ inset: 14px; background: radial-gradient(circle, var(--gold-soft), transparent 70%); border: none; }
@keyframes bfSpin{ to{ transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .bf-ring.r2{ animation: none; } }
.bf-welcome h1{
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(30px, 5.4vw, 52px); line-height: 1.06; text-wrap: balance; margin-bottom: 18px;
}
.bf-welcome h1 .hl{ color: var(--brand); }
.dir-editorial .bf-welcome h1{ font-family: var(--font-serif); letter-spacing: 0; }
.bf-welcome .lede{ font-size: clamp(15px,1.9vw,18px); line-height: 1.6; color: var(--text-muted); max-width: 46ch; margin: 0 auto 14px; text-wrap: pretty; }
.bf-meta-row{ display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin: 22px 0 34px; }
.bf-meta-row .it{ display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.bf-meta-row .it svg{ color: var(--brand); }
.bf-welcome .bf-cta{ font-size: 16.5px; padding: 16px 32px; }
.bf-trust{ margin-top: 26px; font-size: 12px; color: var(--text-subtle); letter-spacing: .03em; }

/* ============================================================ COMPUTING */
.bf-computing{ text-align: center; display: flex; flex-direction: column; align-items: center; padding: 20px 0; }
.bf-meter{ position: relative; width: 168px; height: 168px; margin-bottom: 34px; }
.bf-meter svg{ transform: rotate(-90deg); }
.bf-meter .val{ position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-mono); font-size: 34px; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.bf-computing h2{ font-family: var(--font-display); font-size: clamp(22px,3vw,30px); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; }
.bf-computing .steps{ display: flex; flex-direction: column; gap: 10px; margin-top: 8px; min-height: 96px; }
.bf-cstep{ display: inline-flex; align-items: center; gap: 11px; font-size: 14px; color: var(--text-subtle); justify-content: center; opacity: 0; transition: opacity var(--t-base) var(--ease-standard); }
.bf-cstep.on{ opacity: 1; color: var(--text-muted); }
.bf-cstep .ck{ width: 18px; height: 18px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; }

/* ============================================================ OUTCOME */
.bf-outcome{ width: 100%; }
.bf-oc-head{ display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 30px; }
.bf-tier-badge{ display: inline-flex; align-items: center; gap: 8px; padding: 6px 15px; border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: .03em; margin-bottom: 22px; white-space: nowrap; }
.bf-tier-badge .dot{ width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bf-tier-badge.t-success{ background: var(--success-soft); color: var(--success); }
.bf-tier-badge.t-warning{ background: var(--warning-soft); color: var(--warning); }
.bf-tier-badge.t-neutral{ background: var(--surface-raised); color: var(--text-muted); border: 1px solid var(--border); }
.bf-score-ring{ position: relative; width: 124px; height: 124px; margin-bottom: 24px; }
.bf-score-ring svg{ transform: rotate(-90deg); }
.bf-score-ring .n{ position: absolute; inset: 0; display: grid; place-items: center; flex-direction: column; font-family: var(--font-mono); }
.bf-score-ring .n b{ font-size: 36px; font-weight: 600; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; }
.bf-score-ring .n s{ font-size: 10px; text-decoration: none; color: var(--text-subtle); letter-spacing: .18em; text-transform: uppercase; margin-top: 4px; }
.bf-outcome h1{ font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(26px,4.2vw,40px); line-height: 1.1; text-wrap: balance; margin-bottom: 14px; }
.dir-editorial .bf-outcome h1{ font-family: var(--font-serif); letter-spacing: 0; }
.bf-outcome .lede{ font-size: clamp(14px,1.8vw,16.5px); line-height: 1.6; color: var(--text-muted); max-width: 50ch; margin: 0 auto; text-wrap: pretty; }

/* ---------- calendar (Calendly-style) ---------- */
.bf-cal{ margin-top: 30px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); }
.bf-cal-head{ display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.bf-cal-head .gi{ width: 30px; height: 30px; border-radius: 8px; background: var(--gold-soft); color: var(--brand); display: grid; place-items: center; }
.bf-cal-head .ti{ font-weight: 600; font-size: 14.5px; }
.bf-cal-head .mo{ font-size: 12px; color: var(--text-subtle); }
.bf-cal-head .gcal{ margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--text-subtle); }
.bf-cal-body{ display: grid; grid-template-columns: 1.15fr 1fr; }
.bf-days{ padding: 16px; border-right: 1px solid var(--border); }
.bf-dow{ display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; margin-bottom: 8px; }
.bf-dow span{ text-align: center; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-subtle); }
.bf-grid7{ display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.bf-day{ aspect-ratio: 1; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--text-muted);
  font: inherit; font-size: 13.5px; font-variant-numeric: tabular-nums; cursor: pointer; position: relative;
  display: grid; place-items: center; transition: all var(--t-fast) var(--ease-standard); }
.bf-day.muted{ color: var(--gray-600); pointer-events: none; }
.bf-day.avail:hover{ background: var(--surface-raised); border-color: var(--gold-dim); color: var(--text); }
.bf-day.avail::after{ content: ""; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }
.bf-day.is-sel{ background: var(--brand); color: var(--brand-ink); font-weight: 600; }
.bf-day.is-sel::after{ background: var(--brand-ink); }
.bf-day.disabled{ color: var(--gray-700); pointer-events: none; }
.bf-slots{ padding: 16px; display: flex; flex-direction: column; gap: 8px; max-height: 280px; overflow-y: auto; }
.bf-slots .sl-label{ font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--text-subtle); margin-bottom: 4px; }
.bf-slot{ display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-radius: var(--r-sm);
  background: var(--surface-raised); border: 1px solid var(--border); color: var(--text); font: inherit; font-weight: 600; font-size: 14.5px;
  font-variant-numeric: tabular-nums; cursor: pointer; transition: all var(--t-fast) var(--ease-standard); }
.bf-slot:hover{ border-color: var(--brand); transform: translateX(2px); }
.bf-slot.is-sel{ background: color-mix(in srgb, var(--brand) 12%, var(--surface-raised)); border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.bf-slot .am{ font-size: 11px; color: var(--text-subtle); font-weight: 500; }

/* confirmation strip */
.bf-confirm{ margin-top: 18px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--r-lg);
  background: var(--success-deep); border: 1px solid color-mix(in srgb, var(--success) 30%, transparent); }
.bf-confirm .ic{ width: 38px; height: 38px; border-radius: 10px; background: var(--success); color: #06241a; display: grid; place-items: center; flex-shrink: 0; }
.bf-confirm .tx b{ display: block; font-size: 14.5px; }
.bf-confirm .tx span{ font-size: 12.5px; color: var(--gray-200); }

/* request-meeting (medium) */
.bf-req{ margin-top: 28px; display: grid; gap: 12px; }
.bf-reqcard{ display: flex; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.bf-reqcard .ic{ width: 40px; height: 40px; border-radius: 10px; background: var(--gold-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.bf-reqcard b{ display: block; font-size: 15px; margin-bottom: 4px; }
.bf-reqcard p{ font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }

/* internal summary (what Nexus receives) */
.bf-internal{ margin-top: 16px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--gray-950); overflow: hidden; }
.bf-internal summary{ list-style: none; cursor: pointer; padding: 15px 20px; display: flex; align-items: center; gap: 11px; font-size: 13px; color: var(--text-muted); }
.bf-internal summary::-webkit-details-marker{ display: none; }
.bf-internal summary .tag{ font-family: var(--font-mono); font-size: 10.5px; color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); border-radius: 5px; padding: 2px 7px; letter-spacing: .02em; }
.bf-internal summary .chev{ margin-left: auto; transition: transform var(--t-base); color: var(--text-subtle); }
.bf-internal[open] summary .chev{ transform: rotate(180deg); }
.bf-mail{ padding: 4px 20px 20px; font-family: var(--font-mono); font-size: 12.5px; }
.bf-mail .subj{ color: var(--text); padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.bf-mail .subj b{ color: var(--brand); }
.bf-mailrow{ display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; color: var(--text-muted); }
.bf-mailrow .k{ color: var(--text-subtle); }
.bf-mailrow .v{ color: var(--gray-100); text-align: right; }
.bf-breakdown{ margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); display: grid; gap: 5px; }
.bf-bd{ display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-subtle); }
.bf-bd .p{ color: var(--success); }

/* outcome actions */
.bf-oc-actions{ display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* integrations strip */
.bf-integ{ margin-top: 34px; text-align: center; }
.bf-integ .lab{ font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--text-subtle); margin-bottom: 14px; }
.bf-integ .logos{ display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.bf-integ .logos span{ font-size: 12px; color: var(--text-muted); padding: 7px 14px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); }

/* responsive */
@media (max-width: 720px){
  .bf-opts.cols-2{ grid-template-columns: 1fr; }
  .bf-fields.two{ grid-template-columns: 1fr; }
  .bf-cal-body{ grid-template-columns: 1fr; }
  .bf-days{ border-right: none; border-bottom: 1px solid var(--border); }
  .bf-secure{ display: none; }
}

/* ============================================================ DIAGNÓSTICO DE PRODUTO */
a{ color: var(--brand); } a:hover{ color: var(--brand-hover); }
.bf-fitpanel{ margin: 0 auto 22px; max-width: 560px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px 20px; }
.bf-fitpanel .lab{ font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--text-subtle); margin-bottom: 14px; }
.bf-fitrow{ display: grid; grid-template-columns: minmax(120px, 165px) 1fr 44px; align-items: center; gap: 12px; padding: 6px 0; }
.bf-fitrow .nm{ font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-fitrow .bar{ height: 6px; border-radius: 99px; background: var(--gray-800); overflow: hidden; display: block; }
.bf-fitrow .bar i{ display: block; height: 100%; border-radius: 99px; background: var(--gray-500); animation: bfBarIn .9s var(--ease-standard) both; }
@keyframes bfBarIn{ from{ width: 0; } }
.bf-fitrow .pc{ font-family: var(--font-mono); font-size: 12px; color: var(--text-subtle); text-align: right; font-variant-numeric: tabular-nums; }
.bf-fitrow.lead .nm{ color: var(--text); font-weight: 600; }
.bf-fitrow.lead .bar i{ background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 70%, #fff)); box-shadow: 0 0 10px color-mix(in srgb, var(--brand) 55%, transparent); }
.bf-fitrow.lead .pc{ color: var(--brand); font-weight: 600; }
/* primary product card */
.bf-prod{ background: var(--surface); border: 1px solid color-mix(in srgb, var(--brand) 38%, var(--border)); border-radius: var(--r-lg); padding: 22px; box-shadow: 0 14px 44px -20px var(--brand-glow); }
.bf-prod .ph{ display: flex; align-items: center; gap: 14px; }
.bf-prod .pic{ width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.bf-prod .pt{ display: flex; flex-direction: column; gap: 3px; }
.bf-prod .ptag{ font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--brand); }
.bf-prod .pt b{ font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.bf-prod .pfit{ margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 32%, transparent); background: var(--gold-soft); border-radius: 99px; padding: 4px 11px; white-space: nowrap; }
.bf-prod .psolve{ margin-top: 14px; font-size: 14.5px; line-height: 1.55; color: var(--text-muted); max-width: 56ch; }
.bf-prod .pfoot{ display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.bf-prod .pprice{ display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.bf-prod .pprice b{ font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.bf-prod .pprice s{ text-decoration: none; font-size: 12px; color: var(--text-subtle); }
.bf-prod .pnote{ margin-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-subtle); }
/* complementary products */
.bf-comps{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.bf-prodmini{ display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
.bf-prodmini .pic{ width: 34px; height: 34px; border-radius: 9px; background: var(--surface-raised); border: 1px solid var(--border); color: var(--text-muted); display: grid; place-items: center; flex-shrink: 0; }
.bf-prodmini .tx{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bf-prodmini .tx b{ font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-prodmini .tx span{ font-size: 11.5px; color: var(--text-subtle); }
.bf-prodmini .add{ margin-left: auto; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: 12px; font-weight: 600; color: var(--text-muted); background: transparent; border: 1px solid var(--border-strong); border-radius: 99px; padding: 7px 13px; cursor: pointer; white-space: nowrap; transition: all var(--t-fast) var(--ease-standard); }
.bf-prodmini .add:hover{ color: var(--brand); border-color: var(--gold-dim); }
a.bf-cta{ text-decoration: none; }
/* presentation banner */
.bf-present{ display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 16px 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text); transition: border-color var(--t-base), transform var(--t-fast); }
.bf-present:hover{ border-color: var(--gold-dim); transform: translateY(-1px); color: var(--text); }
.bf-present .pic{ width: 34px; height: 34px; border-radius: 9px; background: var(--gold-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.bf-present .tx{ display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.bf-present .tx b{ font-size: 14px; }
.bf-present .tx span{ font-size: 12px; color: var(--text-subtle); }
.bf-present > svg{ color: var(--brand); flex-shrink: 0; }
/* coming soon strip */
.bf-soon{ margin-top: 18px; display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 12px; color: var(--text-subtle); }
.bf-soon .tag{ font-family: var(--font-mono); font-size: 10px; color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); border-radius: 5px; padding: 2px 7px; letter-spacing: .06em; }
.bf-prod .bf-cal{ margin-top: 16px; }
@media (max-width: 720px){ .bf-comps{ grid-template-columns: 1fr; } .bf-fitrow{ grid-template-columns: minmax(90px, 120px) 1fr 40px; } }

/* demo helper note (internal) */
.bf-low-note{ margin-top: 26px; font-size: 12px; color: var(--text-subtle); display: flex; align-items: center; gap: 8px; justify-content: center; }
