/* ════════════════════════════════════════════════════════════════════════
   cnpj/ob — sistema visual do site público
   Linguagem visual do BoardUI (plano gratuito, MIT): neutros sem matiz,
   um azul de destaque, Inter, cards de 24px, botão primário em degradê.
   Referência: docs/design/boardui-reference.md

   Tema: claro por padrão; o escuro é escolha da pessoa (botão no cabeçalho
   e no rodapé). A escolha vale para todo o *.cnpjob.com.br (cookie
   cnpjob_theme) — site, portal e módulos ficam sempre no mesmo tema.
   ════════════════════════════════════════════════════════════════════════ */

:root,
[data-theme="light"] {
  color-scheme: light;

  /* Superfícies */
  --b-bg:            #ffffff;  /* fundo da página (background-full) */
  --b-surface:       #ffffff;  /* campos, cards de marketing (background-primary) */
  --b-surface-2:     #f7f7f7;  /* cards de produto, painéis (background-secondary) */
  --b-surface-3:     #ebebeb;  /* trilhos, selos (background-tertiary) */
  --b-surface-hover: #f7f7f7;
  --b-code-bg:       #f7f7f7;

  /* Texto */
  --b-text:      #0a0a0a;
  --b-text-2:    #525252;  /* corpo e descrições — 7.8:1 */
  --b-text-3:    #737373;  /* rótulos e apoio — 4.7:1 */
  --b-text-4:    #a3a3a3;  /* só decorativo, nunca texto essencial */

  /* Bordas */
  --b-border:        #ebebeb;
  --b-border-strong: #d4d4d4;
  --b-separator:     #ebebeb;

  /* Destaque (azul da marca) */
  --b-accent:         #2563eb;
  --b-accent-text:    #1d4ed8;
  --b-accent-soft:    #eff6ff;
  --b-accent-ring:    #3b82f6;
  --b-grad-from:      #3b82f6;
  --b-grad-to:        #2563eb;
  --b-grad-hover-from:#60a5fa;
  --b-grad-hover-to:  #3b82f6;
  --b-sheen:          rgba(255, 255, 255, 0.25);

  /* Estados (pílulas: fundo 200 / texto 800) */
  --b-ok-bg: #d9f99d;   --ok-fg: #3f6212;
  --b-warn-bg: #fef08a; --warn-fg: #854d0e;
  --b-err-bg: #fecdd3;  --err-fg: #9f1239;
  --b-info-bg: #dbeafe; --info-fg: #1e40af;

  /* Elevação */
  --b-shadow-xs:    0 1px 2px rgba(0, 0, 0, 0.05);
  --b-shadow-card:  0 1px 1px rgba(0, 0, 0, 0.05);
  --b-shadow-float: 0 1px 0 rgba(0, 0, 0, 0.02), 0 1px 12px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.32);
  --b-shadow-pop:   0 0 6px rgba(0, 0, 0, 0.06), 0 0 64px rgba(0, 0, 0, 0.16), 0 0 1px rgba(0, 0, 0, 0.32), 0 1px 12px rgba(0, 0, 0, 0.06);
  --b-glass:        rgba(255, 255, 255, 0.78);

  /* Raios do hero */
  --b-ray-a: rgba(59, 130, 246, 0.7);
  --b-ray-b: rgba(92, 236, 255, 0.55);
  --b-ray-c: rgba(255, 92, 141, 0.35);
}

[data-theme="dark"] {
  color-scheme: dark;

  --b-bg:            #121212;
  --b-surface:       #262626;
  --b-surface-2:     #171717;
  --b-surface-3:     #262626;
  --b-surface-hover: rgba(255, 255, 255, 0.06);
  --b-code-bg:       #171717;

  --b-text:      #fafafa;
  --b-text-2:    #b5b5b5;
  --b-text-3:    #8f8f8f;
  --b-text-4:    #525252;

  --b-border:        #262626;
  --b-border-strong: #404040;
  --b-separator:     #262626;

  --b-accent:         #5b8def;
  --b-accent-text:    #93b4ff;
  --b-accent-soft:    rgba(30, 58, 138, 0.45);
  --b-accent-ring:    #5b8def;
  --b-grad-from:      #5b8def;
  --b-grad-to:        #3b6fd8;
  --b-grad-hover-from:#7aa2f3;
  --b-grad-hover-to:  #5b8def;
  --b-sheen:          rgba(255, 255, 255, 0.2);

  --b-ok-bg: rgba(25, 46, 3, 0.6);    --ok-fg: #84cc16;
  --b-warn-bg: rgba(67, 32, 4, 0.6);  --warn-fg: #eab308;
  --b-err-bg: rgba(77, 2, 24, 0.6);   --err-fg: #f43f5e;
  --b-info-bg: rgba(22, 36, 86, 0.6); --info-fg: #93c5fd;

  --b-shadow-xs:    0 1px 2px rgba(0, 0, 0, 0.18);
  --b-shadow-card:  0 1px 1px rgba(0, 0, 0, 0.14);
  --b-shadow-float: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 12px rgba(0, 0, 0, 0.16), 0 0 1px rgba(255, 255, 255, 0.12);
  --b-shadow-pop:   0 0 6px rgba(0, 0, 0, 0.12), 0 0 64px rgba(0, 0, 0, 0.22), 0 0 1px rgba(255, 255, 255, 0.14), 0 1px 12px rgba(0, 0, 0, 0.14);
  --b-glass:        rgba(23, 23, 23, 0.78);

  --b-ray-a: rgba(59, 130, 246, 0.45);
  --b-ray-b: rgba(92, 236, 255, 0.25);
  --b-ray-c: rgba(255, 92, 141, 0.18);
}

:root {
  --b-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --b-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --b-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --b-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --b-page-w: 1120px;
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--b-bg);
  color: var(--b-text);
  font-family: var(--b-font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
  transition: background-color 200ms var(--b-ease), color 200ms var(--b-ease);
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
::selection { background: var(--b-accent-soft); color: var(--b-text); }
:focus-visible { outline: 2px solid var(--b-accent-ring); outline-offset: 2px; border-radius: 6px; }
code, kbd, pre { font-family: var(--b-mono); }

.b-wrap { width: 100%; max-width: var(--b-page-w); margin: 0 auto; padding: 0 20px; }
.b-skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 8px 12px; border-radius: 10px; background: var(--b-accent); color: #fff; font-size: 14px; font-weight: 500; }
.b-skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ── Cabeçalho flutuante ──────────────────────────────────────────────── */
.b-header { position: sticky; top: 12px; z-index: 50; padding: 0 12px; }
.b-header-inner {
  display: flex; align-items: center; gap: 24px;
  max-width: var(--b-page-w); height: 56px; margin: 12px auto 0; padding: 0 10px 0 16px;
  border-radius: 18px;
  background: var(--b-glass);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border: 1px solid var(--b-border);
  box-shadow: var(--b-shadow-float);
}
.b-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--b-text); flex-shrink: 0; }
.b-brand img { width: 26px; height: 26px; border-radius: 7px; }
.b-nav { position: relative; display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--b-text-3); }
.b-nav a { position: relative; z-index: 1; padding: 6px 10px; border-radius: 9px; color: var(--b-text-3); transition: color 200ms var(--b-ease); }
/* Pílula que desliza até o item ativo (posicionada pelo site.js) */
.b-nav-pill {
  position: absolute; top: 50%; left: 0; z-index: 0; height: 32px; width: 0;
  border-radius: 9px; background: var(--b-surface-3); opacity: 0; pointer-events: none;
  transform: translate(var(--pill-x, 0), -50%);
  transition: transform 380ms var(--b-ease-out), width 380ms var(--b-ease-out), opacity 200ms var(--b-ease);
}
.b-nav-pill.is-on { opacity: 1; }
[data-theme="dark"] .b-nav-pill { background: #2a2a2a; }
/* Cabeçalho e rodapé não herdam regras genéricas de link de cada página */
.b-header a, .b-footer a, .b-btn, .b-announce, .b-cookie .b-btn { text-decoration: none !important; }
.b-nav a:hover, .b-nav a[aria-current="page"] { color: var(--b-text); }
.b-header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.b-menu-btn { display: none; }
@media (max-width: 860px) {
  .b-nav { display: none; }
  .b-header-inner { gap: 12px; }
  .b-header-actions .b-hide-sm { display: none; }
}

/* ── Botões ───────────────────────────────────────────────────────────── */
.b-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 14px; border-radius: 10px;
  font-family: var(--b-font); font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; user-select: none;
  transition: background-color 150ms var(--b-ease), border-color 150ms var(--b-ease), color 150ms var(--b-ease), box-shadow 150ms var(--b-ease), transform 420ms var(--b-ease);
}
.b-btn:active { transform: scale(0.98); transition-duration: 150ms; }
.b-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.b-btn-primary {
  background: linear-gradient(180deg, var(--b-grad-from), var(--b-grad-to));
  color: #fff;
  box-shadow: 0 0 0 1px var(--b-accent-ring), inset 0 1px 0 var(--b-sheen), var(--b-shadow-xs);
}
.b-btn-primary:hover { background: linear-gradient(180deg, var(--b-grad-hover-from), var(--b-grad-hover-to)); }
.b-btn-secondary { background: var(--b-surface); color: var(--b-text); border-color: var(--b-border); box-shadow: var(--b-shadow-xs); }
.b-btn-secondary:hover { border-color: var(--b-border-strong); }
.b-btn-ghost { background: transparent; color: var(--b-text-3); }
.b-btn-ghost:hover { color: var(--b-text); background: var(--b-surface-hover); }
.b-btn-lg { height: 44px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.b-btn-sm { height: 32px; padding: 0 10px; font-size: 13px; }

/* ── Seletor de tema (sol / lua) ──────────────────────────────────────── */
.b-theme {
  align-self: flex-start; flex: none; height: auto;
  display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px;
  background: var(--b-surface-2); border: 1px solid var(--b-border);
}
.b-theme button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 26px; border: 0; border-radius: 7px;
  background: transparent; color: var(--b-text-3); cursor: pointer;
  transition: background-color 150ms var(--b-ease), color 150ms var(--b-ease);
}
.b-theme button svg { width: 16px; height: 16px; }
.b-theme button:hover { color: var(--b-text); }
.b-theme button[aria-pressed="true"] { background: var(--b-surface); color: var(--b-text); box-shadow: var(--b-shadow-xs); }
[data-theme="dark"] .b-theme button[aria-pressed="true"] { background: #404040; }

/* ── Tipografia de marketing ──────────────────────────────────────────── */
.b-display {
  margin: 0; font-size: clamp(36px, 7vw, 72px); line-height: 1.167; font-weight: 500;
  letter-spacing: -0.02em; text-wrap: balance; color: var(--b-text);
}
.b-display .b-accent { color: var(--b-accent); }
.b-h2 {
  margin: 0; font-size: clamp(32px, 5vw, 48px); line-height: 1.1; font-weight: 500;
  letter-spacing: -0.02em; text-wrap: balance; color: var(--b-text);
}
.b-h3 { margin: 0; font-size: 16px; line-height: 22px; font-weight: 500; color: var(--b-text); }
.b-lede { margin: 0; font-size: clamp(15px, 2vw, 17px); line-height: 1.45; font-weight: 500; color: var(--b-text-2); text-wrap: pretty; }
.b-text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--b-text-2); text-wrap: pretty; }
.b-caption { font-size: 12px; line-height: 16px; letter-spacing: 0.15px; color: var(--b-text-3); }
.b-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--b-text-3); }

/* ── Anúncio (pílula "NOVO") ──────────────────────────────────────────── */
.b-announce {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px 4px 5px; border-radius: 999px;
  background: var(--b-glass); border: 1px solid var(--b-border); box-shadow: var(--b-shadow-xs);
  font-size: 13px; font-weight: 500; color: var(--b-text-2);
  transition: color 150ms var(--b-ease), border-color 150ms var(--b-ease);
}
.b-announce:hover { color: var(--b-text); border-color: var(--b-border-strong); }
.b-announce .b-new {
  padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--b-accent) 12%, transparent);
  color: var(--b-accent); font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}

/* ── Seções ───────────────────────────────────────────────────────────── */
.b-section { padding: 120px 0; }
.b-section-head { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 600px; margin: 0 auto 56px; text-align: center; }
.b-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 720px) { .b-section { padding: 80px 0; } .b-section-head { margin-bottom: 40px; } }

/* ── Cards ────────────────────────────────────────────────────────────── */
.b-card { border-radius: 24px; background: var(--b-surface); border: 1px solid var(--b-border); box-shadow: var(--b-shadow-card); }
.b-card-muted { border-radius: 24px; background: var(--b-surface-2); }
.b-grid { display: grid; gap: 16px; }
.b-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.b-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 980px) { .b-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .b-grid-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .b-grid-4, .b-grid-2 { grid-template-columns: minmax(0, 1fr); } }

/* Card de recurso: prévia viva em cima, título + descrição embaixo */
.b-feature { position: relative; display: flex; flex-direction: column; overflow: hidden; transition: border-color 150ms var(--b-ease), transform 300ms var(--b-ease-out); }
.b-feature:hover { border-color: var(--b-border-strong); box-shadow: var(--b-shadow-float); }
.b-feature-preview { position: relative; height: 236px; margin: 10px 10px 0; border-radius: 18px; background: var(--b-surface-2); overflow: hidden; }
.b-feature-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 24px; }
.b-feature-body .b-h3 { font-size: 18px; line-height: 24px; }
.b-feature-body p { margin: 0; font-size: 15px; line-height: 22px; color: var(--b-text-3); }
.b-feature:hover { transform: translateY(-3px); }

/* ── Pílulas de status / selos ────────────────────────────────────────── */
.b-pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.b-pill-ok { background: var(--b-ok-bg); color: var(--ok-fg); }
.b-pill-warn { background: var(--b-warn-bg); color: var(--warn-fg); }
.b-pill-err { background: var(--b-err-bg); color: var(--err-fg); }
.b-pill-info { background: var(--b-info-bg); color: var(--info-fg); }
.b-pill-neutral { background: var(--b-surface-3); color: var(--b-text-2); }
.b-dot { position: relative; display: inline-flex; width: 12px; height: 12px; border-radius: 999px; align-items: center; justify-content: center; background: color-mix(in srgb, currentColor 20%, transparent); }
.b-dot::after { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }

/* ── Preços: card em duas camadas ─────────────────────────────────────── */
.b-price { display: flex; flex-direction: column; border-radius: 24px; background: var(--b-surface-2); border: 1px solid var(--b-border); overflow: hidden; }
.b-price-top { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 22px; background: var(--b-surface); box-shadow: var(--b-shadow-card); }
.b-price-top h3 { margin: 0; font-size: 20px; line-height: 26px; font-weight: 500; }
.b-price-top p { margin: 0; font-size: 14px; line-height: 20px; color: var(--b-text-3); }
.b-price-value { display: flex; align-items: baseline; gap: 6px; }
.b-price-value strong { font-size: 36px; line-height: 1.2; font-weight: 600; letter-spacing: -0.72px; }
.b-price-value span { font-size: 13px; color: var(--b-text-3); }
.b-price ul { list-style: none; margin: 0; padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.b-price li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 21px; font-weight: 500; color: var(--b-text-2); }
.b-price li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--b-text-4); }
.b-price.is-featured { border-color: color-mix(in srgb, var(--b-accent) 35%, var(--b-border)); }
.b-price-flag { align-self: flex-start; padding: 2px 8px; border-radius: 999px; background: var(--b-info-bg); color: var(--info-fg); font-size: 12px; font-weight: 600; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.b-faq { display: flex; flex-direction: column; gap: 8px; max-width: 640px; margin: 0 auto; }
.b-faq details { border-radius: 23px; background: var(--b-surface); border: 1px solid var(--b-border); box-shadow: var(--b-shadow-card); }
.b-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none;
  font-size: 17px; line-height: 24px; font-weight: 500; color: var(--b-text);
}
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq summary::after {
  content: ""; width: 14px; height: 14px; flex-shrink: 0;
  background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  color: var(--b-text-3); transition: transform 200ms var(--b-ease);
}
.b-faq details[open] summary::after { transform: rotate(45deg); }
.b-faq details > div { padding: 0 22px 20px; font-size: 15px; line-height: 1.6; color: var(--b-text-2); }
.b-faq details > div p { margin: 0 0 8px; }

/* ── Rodapé ───────────────────────────────────────────────────────────── */
.b-footer { border-top: 1px solid var(--b-separator); padding: 56px 0 28px; margin-top: 40px; }
.b-footer-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.b-footer-about { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.b-footer-about p { margin: 0; font-size: 14px; line-height: 20px; color: var(--b-text-3); }
.b-footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.b-footer-col h4 { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--b-text-3); }
.b-footer-col a { display: block; padding: 4px 0; font-size: 14px; color: var(--b-text-2); transition: color 150ms var(--b-ease); }
.b-footer-col a:hover { color: var(--b-text); }
.b-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--b-separator); font-size: 13px; color: var(--b-text-3); }
.b-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.b-footer-bottom a { color: inherit; }
.b-footer-bottom a:hover { color: var(--b-text); }
@media (max-width: 720px) { .b-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Aviso de cookies ─────────────────────────────────────────────────── */
.b-cookie {
  position: fixed; left: 50%; bottom: 16px; z-index: 90; transform: translateX(-50%);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  width: calc(100% - 32px); max-width: 640px; padding: 16px 18px;
  border-radius: 20px; background: var(--b-surface); border: 1px solid var(--b-border); box-shadow: var(--b-shadow-pop);
}
.b-cookie p { flex: 1; min-width: 220px; margin: 0; font-size: 14px; line-height: 20px; color: var(--b-text-2); }
.b-cookie a { color: var(--b-accent-text); text-decoration: underline; text-underline-offset: 2px; }
.b-cookie.is-hidden { display: none; }

/* ── Movimento: entrada suave ao rolar ────────────────────────────────── */
.js .b-reveal {
  opacity: 0; transform: translateY(28px) scale(.98);
  transition: opacity 700ms var(--b-ease-out), transform 800ms var(--b-ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .b-reveal.is-in { opacity: 1; transform: none; }
/* cascata automática dentro de grades */
.b-grid > .b-reveal:nth-child(2) { --i: 1; } .b-grid > .b-reveal:nth-child(3) { --i: 2; }
.b-grid > .b-reveal:nth-child(4) { --i: 3; } .b-grid > .b-reveal:nth-child(5) { --i: 4; }
.b-grid > .b-reveal:nth-child(6) { --i: 5; }

/* ── Fundo animado: raios de luz do topo ──────────────────────────────── */
/* Só transform e opacity (compostos na GPU): rolar não recalcula pintura. */
.b-rays { position: absolute; inset: 0 0 auto; height: 760px; z-index: -1; pointer-events: none; overflow: hidden; }
.b-rays::before, .b-rays::after { content: ""; position: absolute; inset: 0; will-change: transform, opacity; }
.b-rays::before {
  background:
    radial-gradient(10% 62% at 41% 0%, var(--b-ray-b), transparent 72%),
    radial-gradient(7% 78% at 47% 0%, var(--b-ray-a), transparent 74%),
    radial-gradient(9% 70% at 53% 0%, var(--b-ray-a), transparent 72%),
    radial-gradient(11% 58% at 60% 0%, var(--b-ray-c), transparent 72%),
    radial-gradient(40% 46% at 50% 0%, color-mix(in srgb, var(--b-ray-a) 35%, transparent), transparent 75%);
  transform-origin: 50% 0;
  animation: b-rays-sway 14s ease-in-out infinite alternate;
}
.b-rays::after {
  background:
    radial-gradient(8% 66% at 36% 0%, var(--b-ray-c), transparent 72%),
    radial-gradient(9% 74% at 50% 0%, var(--b-ray-b), transparent 74%),
    radial-gradient(8% 62% at 65% 0%, var(--b-ray-a), transparent 72%);
  transform-origin: 50% 0;
  opacity: 0;
  animation: b-rays-shift 11s ease-in-out infinite alternate;
}
@keyframes b-rays-sway { 0% { transform: rotate(-3deg) scaleX(.96); opacity: .85; } 100% { transform: rotate(3deg) scaleX(1.06); opacity: 1; } }
@keyframes b-rays-shift { 0% { transform: rotate(4deg); opacity: 0; } 50% { opacity: .75; } 100% { transform: rotate(-4deg); opacity: .2; } }

/* Brilho suave atrás de chamadas finais */
.b-glow { position: relative; overflow: hidden; isolation: isolate; }
.b-glow::before {
  content: ""; position: absolute; left: 50%; bottom: -60%; width: 120%; height: 140%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--b-accent) 18%, transparent), transparent 70%);
  transform: translateX(-50%); will-change: transform, opacity;
  animation: b-glow 8s ease-in-out infinite alternate;
}
@keyframes b-glow { from { transform: translateX(-58%) scale(.9); opacity: .7; } to { transform: translateX(-42%) scale(1.1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .js .b-reveal { opacity: 1; transform: none; transition: none; }
  .b-rays::before, .b-rays::after, .b-glow::before { animation: none; }
  * { scroll-behavior: auto !important; }
}
