/* Boyce Data, site 2026.
   Marca 2026.1 (brand/tokens.css): só roxo, roxo claro e branco, com Tinta e Papel
   de fundo. Schibsted Grotesk em tudo, inclusive rótulos e números.
   Regras da casa: raio de 4px, sem sombra difusa, sem degradê, sem pílula, sem
   rótulo em caixa alta com ícone. O sublinhado-sorriso marca a palavra que importa. */

/* Schibsted Grotesk servida pelo próprio site (brand/fonts, licença OFL em
   assets/fonts), recortada para latim: nada de Google Fonts, nem o IP do visitante. */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("assets/fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --roxo: #6C5FD6;
  --roxo-escuro: #4B3FB0;
  --roxo-claro: #A79DF5;
  --tinta: #17142E;
  --tinta-2: #221E40;
  --papel: #F7F6FB;
  --branco: #FFFFFF;
  --lavanda: #E6E2FB;
  --grafite: #4A4760;
  --cinza: #8C8AA0;
  --linha: #DCD9E6;
  --linha-escura: #332E57;

  --ok: #1F7A5C;
  --alerta: #B86A0B;
  --erro: #C2362B;

  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  /* rótulos e números usam a mesma fonte do texto, com algarismos tabulares */
  --mono: var(--font);
  --r: 4px;
  --wrap: 1180px;
  --header: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0;
  font-variant-numeric: tabular-nums;
  background: var(--papel);
  color: var(--tinta);
  font: 400 1.0625rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--roxo-escuro); text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--roxo); outline-offset: 2px; }

.bd-wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 560px) { .bd-wrap { padding-inline: 16px; } }
.bd-skip { position: absolute; left: -9999px; }
.bd-skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--branco); padding: 8px 12px; }
.bd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Símbolo ---------- */
svg.bd-mark { fill: currentColor; overflow: visible; }

/* ---------- Botões ---------- */
.bd-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 20px;
  border: 1px solid var(--roxo); border-radius: var(--r);
  background: var(--roxo); color: var(--branco);
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.bd-btn:hover { background: var(--roxo-escuro); border-color: var(--roxo-escuro); }
.bd-btn svg { width: 16px; height: 16px; transition: transform .2s; }
.bd-btn:hover svg { transform: translateX(3px); }
.bd-btn--linha { background: transparent; color: var(--tinta); border-color: var(--tinta); }
.bd-btn--linha:hover { background: var(--tinta); color: var(--branco); border-color: var(--tinta); }
.bd-btn--claro { background: var(--branco); color: var(--tinta); border-color: var(--branco); }
.bd-btn--claro:hover { background: var(--roxo-claro); border-color: var(--roxo-claro); }
.bd-btn--linha-claro { background: transparent; color: var(--branco); border-color: rgba(255,255,255,.5); }
.bd-btn--linha-claro:hover { border-color: var(--branco); background: rgba(255,255,255,.08); }
.bd-btn--sm { height: 38px; padding: 0 14px; font-size: .9375rem; }
.bd-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--roxo-escuro); text-decoration: none;
}
.bd-link svg { width: 15px; height: 15px; transition: transform .2s; }
.bd-link:hover svg { transform: translateX(3px); }
.bd-link:hover { text-decoration: underline; }

/* ---------- Cabeçalho ---------- */
.bd-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 246, 251, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.bd-header.is-solid { border-bottom-color: var(--linha); }
.bd-header__in { height: var(--header); display: flex; align-items: center; gap: 28px; }
.bd-logo { display: flex; align-items: flex-end; flex: none; color: var(--roxo); text-decoration: none; height: 34px; }
.bd-logo__sim { height: 34px; width: auto; fill: currentColor; shape-rendering: geometricPrecision; flex: none; }
/* o nome fica no topo e recolhe quando a página desce (proporções da assinatura horizontal) */
.bd-logo__nome { display: block; overflow: hidden; max-width: 110px; margin-left: 8px; margin-bottom: 3.8px; transition: max-width .45s cubic-bezier(.65,0,.35,1), opacity .3s, margin .45s; }
.bd-logo__nome svg { height: 19px; width: auto; fill: var(--tinta); display: block; }
.bd-header.is-solid .bd-logo__nome { max-width: 0; opacity: 0; margin-left: 0; }
.bd-header.is-menu .bd-logo__nome { max-width: 110px; opacity: 1; margin-left: 8px; }
.bd-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.bd-nav > a, .bd-nav__trigger {
  padding: 8px 12px; border-radius: var(--r); border: 0; background: none; cursor: pointer;
  color: var(--tinta); text-decoration: none; font-weight: 500; font-size: .9875rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.bd-nav > a:hover, .bd-nav__trigger:hover, .bd-nav__item.is-open .bd-nav__trigger { background: var(--lavanda); }
.bd-nav > a.is-current { color: var(--roxo-escuro); }
.bd-nav__trigger svg { width: 12px; height: 12px; transition: transform .2s; }
.bd-nav__item { position: relative; }
.bd-nav__item.is-open .bd-nav__trigger svg { transform: rotate(180deg); }
.bd-drop {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 420px;
  background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r);
  padding: 8px; display: none;
}
.bd-nav__item.is-open .bd-drop { display: block; }
.bd-drop a {
  display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; align-items: center;
  padding: 12px; border-radius: var(--r); text-decoration: none; color: var(--tinta);
}
.bd-drop a:hover { background: var(--papel); }
.bd-drop a svg { grid-row: span 2; width: 34px; color: var(--roxo); }
.bd-drop b { font-weight: 650; font-size: 1rem; }
.bd-drop span { color: var(--grafite); font-size: .875rem; line-height: 1.35; }
.bd-header__end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.bd-nav > a, .bd-nav__trigger, .bd-header__login, .bd-header__end .bd-btn { white-space: nowrap; }
.bd-header__login { color: var(--tinta); text-decoration: none; font-weight: 500; font-size: .9875rem; }
.bd-header__login:hover { color: var(--roxo-escuro); }

.bd-lang { display: flex; gap: 4px; }
.bd-lang-btn { border: 1px solid transparent; background: transparent; cursor: pointer; padding: 5px; border-radius: var(--r); display: grid; place-items: center; transition: border-color .2s, background .2s; }
.bd-lang-btn img, .bd-lang-btn svg { width: 22px; height: 16px; object-fit: cover; border-radius: 2px; opacity: .55; transition: opacity .2s; display: block; }
.bd-lang-btn:hover img, .bd-lang-btn.is-active img, .bd-lang-btn:hover svg, .bd-lang-btn.is-active svg { opacity: 1; }
.bd-lang-btn.is-active { border-color: var(--linha); background: var(--branco); }

.bd-burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--linha); border-radius: var(--r); background: var(--branco); cursor: pointer; position: relative; }
.bd-burger span { position: absolute; left: 11px; width: 18px; height: 2px; background: var(--tinta); transition: transform .25s, opacity .2s, top .25s; }
.bd-burger span:nth-child(1) { top: 13px; } .bd-burger span:nth-child(2) { top: 19px; } .bd-burger span:nth-child(3) { top: 25px; }
.bd-header.is-menu .bd-burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.bd-header.is-menu .bd-burger span:nth-child(2) { opacity: 0; }
.bd-header.is-menu .bd-burger span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 1120px) {
  .bd-burger { display: block; }
  .bd-nav, .bd-header__end { display: none; }
  .bd-header.is-menu { background: var(--papel); }
  .bd-header.is-menu .bd-header__in { flex-wrap: wrap; height: auto; min-height: var(--header); padding-block: 13px 20px; }
  .bd-header.is-menu .bd-nav {
    display: flex; flex-direction: column; align-items: stretch; width: 100%; order: 3; margin: 12px 0 0;
  }
  .bd-header.is-menu .bd-nav > a, .bd-header.is-menu .bd-nav__trigger { padding: 14px 4px; border-bottom: 1px solid var(--linha); border-radius: 0; width: 100%; font-size: 1.0625rem; }
  .bd-header.is-menu .bd-drop { position: static; width: auto; display: block; border: 0; padding: 4px 0 8px; background: transparent; }
  .bd-header.is-menu .bd-nav__trigger svg { display: none; }
  .bd-header.is-menu .bd-header__end { display: flex; width: 100%; order: 4; margin: 18px 0 0; flex-wrap: wrap; }
}

/* ---------- Sublinhado-sorriso ---------- */
.u { position: relative; white-space: nowrap; display: inline-block; }
.nw { white-space: nowrap; }
.u > svg {
  position: absolute; left: 1%; width: 98%; bottom: -0.2em; height: 0.34em;
  color: var(--roxo-claro); pointer-events: none;
}
.u > svg path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.u.is-on > svg path { animation: bd-traco .9s cubic-bezier(.65,0,.35,1) forwards; animation-delay: var(--u-delay, .15s); }
@keyframes bd-traco { to { stroke-dashoffset: 0; } }
.bd-escuro .u > svg { color: var(--roxo-claro); }

/* ---------- Revelação ao rolar ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .u > svg path { stroke-dashoffset: 0; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Seções ---------- */
.bd-sec { padding-block: 96px; }
.bd-sec--branco { background: var(--branco); }
.bd-sec--lavanda { background: var(--lavanda); }
.bd-sec--tinta, .bd-escuro { background: var(--tinta); color: var(--branco); }
.bd-sec--roxo { background: var(--roxo); color: var(--branco); }
.bd-sec--borda { border-top: 1px solid var(--linha); }
@media (max-width: 760px) { .bd-sec { padding-block: 72px; } }

.bd-rotulo { font: 500 .8125rem/1.3 var(--mono); color: var(--grafite); display: flex; gap: 10px; align-items: baseline; }
.bd-rotulo b { color: var(--roxo-escuro); font-weight: 500; }
.bd-escuro .bd-rotulo, .bd-sec--tinta .bd-rotulo { color: #B4B1C9; }
.bd-escuro .bd-rotulo b, .bd-sec--tinta .bd-rotulo b { color: var(--roxo-claro); }

.bd-h1 { font-size: clamp(2.4rem, 4.8vw, 4.1rem); line-height: 1.02; font-weight: 750; letter-spacing: -0.035em; }
.bd-h2 { font-size: clamp(1.85rem, 3.3vw, 2.7rem); line-height: 1.1; font-weight: 720; letter-spacing: -0.03em; }
.bd-h3 { font-size: 1.375rem; line-height: 1.2; font-weight: 650; letter-spacing: -0.015em; }
.bd-lead { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.55; color: var(--grafite); max-width: 54ch; }
.bd-escuro .bd-lead, .bd-sec--tinta .bd-lead { color: #CFCBE6; }
.bd-muted { color: var(--grafite); }
.bd-escuro .bd-muted, .bd-sec--tinta .bd-muted { color: #B4B1C9; }

/* Cabeça de seção: rótulo à esquerda, título e texto à direita (como o manual da marca). */
.bd-cabeca { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
.bd-cabeca > .bd-rotulo { padding-top: 14px; border-top: 1px solid currentColor; border-color: var(--linha); }
.bd-sec--tinta .bd-cabeca > .bd-rotulo { border-color: var(--linha-escura); }
.bd-cabeca__txt { display: grid; gap: 22px; max-width: 820px; }
@media (max-width: 860px) {
  .bd-cabeca { grid-template-columns: 1fr; margin-bottom: 44px; }
  .bd-cabeca > .bd-rotulo { border-top: 0; padding-top: 0; }
}

/* ---------- Herói ---------- */
.bd-hero { padding-block: 96px 88px; position: relative; overflow: hidden; }
.bd-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: end; }
.bd-hero__txt { display: grid; gap: 28px; }
.bd-hero__acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.bd-hero__nota { font: 500 .8125rem/1.5 var(--mono); color: var(--grafite); }
@media (max-width: 980px) { .bd-hero__grid { grid-template-columns: 1fr; } .bd-hero { padding-block: 64px 56px; } }

/* Lista de fatos ao lado do herói */

/* ---------- Grade de cartões planos ---------- */
.bd-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--tinta); border-left: 1px solid var(--linha); }
.bd-grade--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bd-grade--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bd-cel { padding: 30px 28px 34px; border-right: 1px solid var(--linha); border-bottom: 1px solid var(--linha); display: grid; gap: 14px; align-content: start; background: transparent; }
.bd-cel__num { font: 500 .8125rem/1 var(--mono); color: var(--roxo-escuro); }
.bd-cel h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.015em; line-height: 1.25; }
.bd-cel p { color: var(--grafite); font-size: .9875rem; }
.bd-sec--tinta .bd-grade { border-top-color: var(--branco); border-left-color: var(--linha-escura); }
.bd-sec--tinta .bd-cel { border-color: var(--linha-escura); }
.bd-sec--tinta .bd-cel p { color: #CFCBE6; }
.bd-sec--tinta .bd-cel__num { color: var(--roxo-claro); }
@media (max-width: 980px) { .bd-grade, .bd-grade--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .bd-grade, .bd-grade--2, .bd-grade--4 { grid-template-columns: 1fr; } .bd-cel { padding: 24px 20px; } }

/* ---------- Casos de uso ---------- */
.bd-casos { display: grid; gap: 0; border-top: 1px solid var(--tinta); }
.bd-caso { display: grid; grid-template-columns: 70px 1.1fr 1fr 1fr; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--linha); align-items: start; }
.bd-caso__num { font: 500 .875rem/1 var(--mono); color: var(--roxo-escuro); padding-top: 6px; }
.bd-caso h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.bd-caso h3 small { display: block; font: 500 .75rem/1.4 var(--mono); color: var(--cinza); letter-spacing: 0; margin-top: 10px; }
.bd-caso dl { margin: 0; display: grid; gap: 6px; }
.bd-caso dt { font: 500 .75rem/1.3 var(--mono); color: var(--cinza); }
.bd-caso dd { margin: 0; color: var(--grafite); font-size: .9875rem; }
@media (max-width: 900px) { .bd-caso { grid-template-columns: 1fr; gap: 14px; } .bd-caso__num { padding: 0; } }

/* ---------- Dividido: texto + tela ---------- */
.bd-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.bd-split--inv { grid-template-columns: 1.1fr .9fr; }
.bd-split--inv > :first-child { order: 2; }
.bd-split__txt { display: grid; gap: 16px; align-content: start; }
.bd-split__txt ul { display: grid; border-top: 1px solid var(--linha); margin-top: 6px; }
.bd-split__txt li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--linha); position: relative; color: var(--grafite); }
.bd-split__txt li::before { content: ""; position: absolute; left: 0; top: 22px; width: 12px; height: 2px; background: var(--roxo); }
.bd-split__txt li b { color: var(--tinta); font-weight: 600; }
@media (max-width: 980px) { .bd-split, .bd-split--inv { grid-template-columns: 1fr; gap: 36px; } .bd-split--inv > :first-child { order: 0; } }

/* ---------- Perguntas ---------- */
.bd-faq { border-top: 1px solid var(--tinta); max-width: 900px; }
.bd-faq details { border-bottom: 1px solid var(--linha); }
.bd-faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-size: 1.1875rem; font-weight: 600; position: relative; letter-spacing: -0.01em; }
.bd-faq summary::-webkit-details-marker { display: none; }
.bd-faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background:
  linear-gradient(var(--tinta), var(--tinta)) center / 14px 2px no-repeat,
  linear-gradient(var(--tinta), var(--tinta)) center / 2px 14px no-repeat; transition: transform .2s; }
.bd-faq details[open] summary::after { transform: rotate(45deg); }
.bd-faq details p { padding: 0 48px 24px 0; color: var(--grafite); max-width: 70ch; }

/* ---------- Chamada final ---------- */
.bd-cta { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; }
.bd-cta__acoes { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 860px) { .bd-cta { grid-template-columns: 1fr; } .bd-cta__acoes { justify-content: flex-start; } }

/* ---------- Rodapé ---------- */
.bd-footer { background: var(--tinta); color: #CFCBE6; padding: 80px 0 36px; }
.bd-footer__top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--linha-escura); }
.bd-footer__marca { display: grid; gap: 18px; align-content: start; }
.bd-footer__marca svg { height: 30px; width: auto; fill: var(--branco); }
.bd-footer__marca p { max-width: 34ch; font-size: .9375rem; }
.bd-footer h4 { font: 500 .8125rem/1.3 var(--mono); color: var(--roxo-claro); margin-bottom: 16px; letter-spacing: 0; }
.bd-footer ul { display: grid; gap: 10px; }
.bd-footer a { color: #E4E1F3; text-decoration: none; font-size: .9375rem; }
.bd-footer a:hover { color: var(--branco); text-decoration: underline; }
.bd-footer .bd-lang-btn.is-active { border-color: var(--linha-escura); background: var(--tinta-2); }
.bd-footer__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; font-size: .8125rem; flex-wrap: wrap; }
@media (max-width: 860px) { .bd-footer__top { grid-template-columns: 1fr 1fr; } .bd-footer__marca { grid-column: 1 / -1; } }

/* ---------- Formulário ---------- */
.bd-form { display: grid; gap: 18px; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r); padding: 32px; }
.bd-campo { display: grid; gap: 7px; }
.bd-campo label { font-weight: 600; font-size: .9375rem; }
.bd-campo input, .bd-campo select, .bd-campo textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--linha); border-radius: var(--r); background: var(--papel); color: var(--tinta);
}
.bd-campo input:focus, .bd-campo select:focus, .bd-campo textarea:focus { outline: 2px solid var(--roxo); outline-offset: -1px; border-color: var(--roxo); background: var(--branco); }
.bd-campo textarea { min-height: 120px; resize: vertical; }
.bd-check { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--grafite); }
.bd-check input { margin-top: 3px; accent-color: var(--roxo); }
.bd-form__ok { display: none; padding: 14px; border: 1px solid var(--ok); border-radius: var(--r); color: var(--ok); background: #E5F2EC; font-size: .9375rem; }
.bd-form.is-enviado .bd-form__ok { display: block; }

/* ---------- Abertura: a assinatura vira bd sorrindo (abertura.js) ---------- */
.bd-abertura { position: fixed; inset: 0; z-index: 60; background: var(--roxo); color: var(--branco); cursor: pointer; overflow: hidden; }
.bd-abertura[hidden] { display: none; }
.bd-abertura.is-saindo { transform: translateY(-100%); transition: transform .85s cubic-bezier(.77,0,.18,1); }
.ab-linha {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  text-align: center; white-space: nowrap; line-height: 1; letter-spacing: -0.025em;
  font-family: var(--font);
}
.ab-p { display: inline-block; position: relative; transition: transform .8s cubic-bezier(.65,0,.35,1), opacity .5s ease-in; }
.ab-espaco { width: .22em; }
.ab-c { display: inline-block; transform: translateY(.52em); opacity: 0; transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .25s; }
.is-entrando .ab-c { transform: none; opacity: 1; }
.ab-p.is-cai { transform: translateY(.64em); opacity: 0; transition: transform .5s cubic-bezier(.55,0,1,.45), opacity .5s cubic-bezier(.55,0,1,.45); }
.ab-p.is-viaja { transition: transform .8s cubic-bezier(.65,0,.35,1), opacity .2s; }
.ab-base { display: inline-block; width: 0; height: 0; }
.is-troca .ab-p.ab-bd { opacity: 0; }
.ab-simbolo { position: absolute; fill: currentColor; overflow: visible; }
.ab-letras { opacity: 0; transition: opacity .2s ease-out; }
.is-troca .ab-letras { opacity: 1; }
.ab-sorriso { transform-origin: 122px 164px; opacity: 0; }
.is-sorri .ab-sorriso { opacity: 1; }
.ab-meio { fill: none; stroke: currentColor; stroke-width: 16; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-sorri .ab-meio { animation: bd-traco .55s cubic-bezier(.33,1,.68,1) forwards; }
.is-sorri .ab-sorriso { animation: ab-flecha .75s ease-out .25s; }
@keyframes ab-flecha { 0% { transform: scaleY(1); } 45% { transform: scaleY(1.5); } 100% { transform: scaleY(1); } }
.ab-legenda { position: absolute; left: 0; right: 0; bottom: 9vh; text-align: center; font: 500 clamp(.875rem, 1.4vw, 1.0625rem)/1 var(--mono); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; color: #E6E2FB; }
.is-legenda .ab-legenda { opacity: .9; transform: none; }
.ab-pular { position: absolute; right: 20px; bottom: 20px; border: 1px solid rgba(255,255,255,.45); border-radius: var(--r); background: transparent; padding: 8px 12px; font: 500 .75rem/1 var(--mono); cursor: pointer; color: var(--branco); }
.ab-pular:hover { border-color: var(--branco); }

/* ---------- Corrente de etapas ---------- */
.bd-papeis { list-style: none; margin: 0; padding: 0; display: grid; border-left: 2px solid var(--roxo); }
.bd-papeis li { padding: 18px 0 18px 28px; position: relative; display: grid; gap: 2px; border-bottom: 1px solid var(--linha); }
.bd-papeis li:last-child { border-bottom: 0; }
.bd-papeis li::before { content: ""; position: absolute; left: -7px; top: 26px; width: 12px; height: 12px; background: var(--roxo); border-radius: 2px; }
.bd-papeis b { font-size: 1.375rem; font-weight: 680; letter-spacing: -0.02em; }
.bd-papeis span { color: var(--grafite); }

/* ---------- Produtos em painéis (home) ---------- */
.bd-paineis { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bd-painel { border-radius: var(--r); padding: 40px 40px 36px; display: flex; flex-direction: column; gap: 22px; color: var(--branco); text-decoration: none; position: relative; overflow: hidden; min-height: 620px; }
.bd-painel--od { background: var(--tinta); }
.bd-painel--pv { background: var(--roxo); }
.bd-painel__marca { display: flex; align-items: flex-end; }
.bd-painel__marca svg { width: 76px; fill: var(--branco); flex: none; shape-rendering: geometricPrecision; }
.bd-painel__marca span { font-size: 2.9rem; font-weight: 600; letter-spacing: -0.035em; line-height: .86; margin-left: 6px; }
.bd-painel h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 680; letter-spacing: -0.02em; line-height: 1.2; max-width: 26ch; }
.bd-painel p { color: rgba(255,255,255,.8); max-width: 46ch; }
.bd-painel__ir { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; align-self: flex-start; }
.bd-painel__ir svg { width: 16px; transition: transform .2s; }
.bd-painel:hover .bd-painel__ir svg { transform: translateX(4px); }
@media (max-width: 900px) { .bd-paineis { grid-template-columns: 1fr; } .bd-painel { min-height: 0; padding: 28px 22px; } .bd-painel__marca svg { width: 58px; } .bd-painel__marca span { font-size: 2.2rem; } }

/* ---------- Na mídia ---------- */
.bd-midia { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--tinta); border-left: 1px solid var(--linha); }
.bd-midia a { height: 150px; display: grid; place-items: center; padding: 28px; border-right: 1px solid var(--linha); border-bottom: 1px solid var(--linha); background: var(--branco); transition: background .2s; }
.bd-midia a:hover { background: var(--papel); }
/* logos em silhueta escura, como no site atual (o da Finsiders é branco no original) */
.bd-midia img { max-height: 62px; max-width: 80%; width: auto; filter: grayscale(1) brightness(0); opacity: .72; transition: opacity .25s, transform .25s; }
.bd-midia a:hover img { opacity: 1; transform: scale(1.04); }
@media (max-width: 860px) { .bd-midia { grid-template-columns: 1fr 1fr; } .bd-midia a { height: 120px; } }

/* ---------- Blog ---------- */
.bd-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bd-post { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r); padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--tinta); min-height: 230px; transition: border-color .2s; position: relative; }
.bd-post:hover { border-color: var(--roxo); }
.bd-post__tema { font-size: .8125rem; font-weight: 600; color: var(--roxo-escuro); }
.bd-post h3 { font-size: 1.375rem; font-weight: 660; letter-spacing: -0.02em; line-height: 1.22; }
.bd-post time { margin-top: auto; color: var(--grafite); font-size: .875rem; }
.bd-post::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 3px; background: var(--roxo); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.bd-post:hover::after { transform: scaleX(1); }
.bd-cabeca__acao { margin-top: 4px; }
@media (max-width: 900px) { .bd-posts { grid-template-columns: 1fr; } .bd-post { min-height: 0; } }

/* ---------- Newsletter no rodapé ---------- */
.bd-news { display: grid; gap: 14px; align-content: start; }
.bd-news p { font-size: .9375rem; color: #CFCBE6; max-width: 40ch; }
.bd-news form { display: flex; gap: 8px; }
.bd-news input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--linha-escura); background: var(--tinta-2); color: var(--branco); font: inherit; font-size: .9375rem; }
.bd-news input::placeholder { color: #8582A0; }
.bd-news input:focus { outline: 2px solid var(--roxo-claro); outline-offset: -1px; }
.bd-news button { width: 46px; height: 46px; flex: none; border-radius: var(--r); border: 1px solid var(--roxo); background: var(--roxo); color: var(--branco); cursor: pointer; display: grid; place-items: center; }
.bd-news button:hover { background: var(--roxo-escuro); }
.bd-news button svg { width: 18px; height: 18px; }
.bd-news__ok { display: none; font-size: .875rem; color: var(--roxo-claro); }
.bd-news.is-ok .bd-news__ok { display: block; }
.bd-news.is-ok form { display: none; }
.bd-news__erro { display: block; margin-top: 8px; font-size: .875rem; color: #F4C6C6; }
.bd-news__erro a { color: var(--branco); }
.bd-news__sair { display: block; margin-top: 10px; font-size: .8125rem; color: #8F8BAE; }
/* campo-isca contra robô: fora da tela, ninguém vê nem chega pelo teclado */
.bd-mel { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bd-form__falha { padding: 14px 16px; border: 1px solid #E3B6B6; border-radius: var(--r); background: #FBEFEF; color: #7A2E2E; font-size: .9375rem; }
.bd-form__falha p { margin: 0; }
.bd-form__falha p + p { margin-top: 12px; }
.bd-form__falha a { color: inherit; font-weight: 600; }
.bd-form__falha-acoes { display: flex; flex-wrap: wrap; gap: 8px; }
.bd-form__falha-acoes .bd-btn { font-weight: 600; }
.bd-news__erro[hidden], .bd-form__falha[hidden] { display: none; }
.bd-footer__top { grid-template-columns: 1.1fr .7fr .7fr 1.3fr; }
@media (max-width: 860px) { .bd-footer__top { grid-template-columns: 1fr 1fr; } .bd-news { grid-column: 1 / -1; } }

/* ---------- Fontes com logos (bdOpenData) ---------- */
.bd-fontes2 { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.bd-fontes2__num { display: grid; gap: 18px; }
.bd-fontes2__num > b { font-size: clamp(5rem, 11vw, 8.5rem); font-weight: 780; letter-spacing: -0.06em; line-height: .9; color: var(--branco); }
.bd-fontes2__num > b em { font-style: normal; color: var(--roxo-claro); }
.bd-fontes2__num > span { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.bd-fontes2__num p { color: #CFCBE6; max-width: 40ch; }
.bd-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bd-logo-fonte { aspect-ratio: 1.45; background: var(--branco); border-radius: var(--r); display: grid; place-items: center; padding: 14px; text-align: center; color: var(--tinta); animation: bd-flutua 6s ease-in-out infinite; }
.bd-logo-fonte:nth-child(3n) { animation-delay: -2s; } .bd-logo-fonte:nth-child(3n+1) { animation-delay: -4s; }
@keyframes bd-flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.bd-logo-fonte img { max-width: 90%; max-height: 66px; width: auto; }
.bd-logo-fonte b { font-size: 1.35rem; font-weight: 760; letter-spacing: -0.03em; line-height: 1; display: block; color: var(--roxo-escuro); }
.bd-logo-fonte small { display: block; font-size: .6875rem; color: var(--grafite); margin-top: 6px; line-height: 1.25; }
.bd-logo-fonte--mais { background: transparent; border: 1px dashed var(--linha-escura); color: var(--roxo-claro); }
.bd-logo-fonte--mais b { color: var(--roxo-claro); }
.bd-logo-fonte--mais small { color: #B4B1C9; }
@media (max-width: 980px) { .bd-fontes2 { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .bd-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bd-logo-fonte b { font-size: 1.05rem; } }
@media (prefers-reduced-motion: reduce) { .bd-logo-fonte { animation: none; } }

/* ---------- Layout com tela real (revisão "menos cara de IA") ---------- */
.bd-hero--tela { padding-block: 72px 0; }
.bd-hero__topo { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: end; margin-bottom: 56px; }
.bd-hero__lado { display: grid; gap: 24px; }
.tela--heroi { margin-bottom: -1px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
@media (max-width: 980px) { .bd-hero__topo { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; } .bd-hero--tela { padding-top: 44px; } }
.bd-titulo { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.bd-titulo .bd-h2 { max-width: 22ch; }
.bd-blocos { display: grid; gap: 96px; }
.bd-blocos .bd-split { align-items: center; }
.bd-blocos .bd-split__txt { max-width: 46ch; }
@media (max-width: 760px) { .bd-blocos { gap: 72px; } .bd-titulo { margin-bottom: 32px; } }
.bd-painel figure.tela { margin-top: auto; }
.bd-painel { min-height: 0; }
.bd-casos2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.bd-casos2 article { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--tinta); }
.bd-casos2 h3 { font-size: 1.25rem; font-weight: 680; letter-spacing: -0.015em; }
.bd-casos2__p { font-weight: 600; color: var(--tinta); }
.bd-casos2 p { color: var(--grafite); font-size: .9875rem; }
@media (max-width: 980px) { .bd-casos2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bd-casos2 { grid-template-columns: 1fr; } }
.bd-grade--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bd-grade--5 .bd-cel h3 { font-size: 1.0625rem; font-weight: 600; }
@media (max-width: 1100px) { .bd-grade--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .bd-grade--5 { grid-template-columns: 1fr; } }
.bd-sec--tinta .bd-split__txt li { color: #CFCBE6; border-color: var(--linha-escura); }
.bd-sec--tinta .bd-split__txt li b { color: var(--branco); }
.bd-sec--tinta .bd-split__txt ul { border-color: var(--linha-escura); }
.bd-sec--tinta .bd-split__txt li::before { background: var(--roxo-claro); }
.bd-nav > a.is-current { color: var(--roxo-escuro); font-weight: 600; }

/* ---------- bdOpenData: desenho da demarcação (camadas.js) ---------- */
.bd-camadas { background: var(--branco); border: 1px solid var(--linha); border-radius: 6px; overflow: hidden; }
.cm-mapa { background: #F1F0EC; aspect-ratio: 520 / 330; overflow: hidden; }
.cm-mapa svg { width: 100%; height: 100%; }
.cm-t { font: 500 12px/1 "Schibsted Grotesk", sans-serif; }
.cm-car { fill: none; stroke: var(--roxo); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-car .cm-car { transition: stroke-dashoffset 1s cubic-bezier(.65,0,.35,1); stroke-dashoffset: 0; }
.cm-car-fill { fill: rgba(108,95,214,.12); opacity: 0; transition: opacity .5s .8s; }
.is-car .cm-car-fill, .is-car .cm-rot { opacity: 1; }
.cm-rot { opacity: 0; transition: opacity .4s 1s; }
.cm-c { opacity: 0; transform: translateY(-14px); transition: opacity .45s, transform .55s cubic-bezier(.2,.8,.2,1); transform-box: fill-box; }
.cm-c.is-on { opacity: 1; transform: none; }
.cm-sobra.is-on { opacity: .55; }
.cm-pulso { transform-origin: center; transform-box: fill-box; animation: cm-pulso 1.8s ease-out infinite; }
@keyframes cm-pulso { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.cm-lista { list-style: none; margin: 0; padding: 6px 20px 12px; }
.cm-lista li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--linha); opacity: .3; transition: opacity .4s; font-size: .9375rem; }
.cm-lista li:first-child { border-top: 0; }
.cm-lista li.is-on { opacity: 1; }
.cm-b { font-weight: 650; color: var(--roxo-escuro); font-size: .875rem; }
.cm-r { display: flex; gap: 10px; align-items: baseline; justify-content: flex-end; min-height: 22px; font-weight: 600; font-size: .875rem; }
.cm-r small { color: var(--grafite); font-weight: 400; font-size: .8125rem; }
.cm-nv--ate { color: var(--alerta); } .cm-nv--inf { color: var(--roxo-escuro); } .cm-nv--nada { color: var(--ok); }
@media (max-width: 560px) { .cm-r small { display: none; } }
@media (prefers-reduced-motion: reduce) { .cm-pulso { animation: none; } }

/* ---------- Casos de uso interativos (casos.js) ---------- */
.bd-casosx { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 28px; align-items: start; }
.bd-casosx__lista { display: grid; gap: 6px; }
.bd-casox {
  position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 4px 16px; align-items: center;
  width: 100%; text-align: left; padding: 16px 18px; border: 1px solid transparent; border-radius: 6px;
  background: transparent; cursor: pointer; overflow: hidden; transition: background .2s, border-color .2s;
}
.bd-casox:hover { background: rgba(108, 95, 214, .06); }
.bd-casox.is-on { background: var(--branco); border-color: var(--linha); }
.bd-casox__ic { grid-row: span 2; width: 46px; height: 46px; border-radius: 6px; display: grid; place-items: center; background: var(--lavanda); color: var(--roxo-escuro); transition: background .25s, color .25s, transform .3s cubic-bezier(.2,.8,.2,1); }
.bd-casox__ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bd-casox.is-on .bd-casox__ic { background: var(--roxo); color: var(--branco); transform: rotate(-6deg); }
.bd-casox b { font-size: 1.125rem; font-weight: 660; letter-spacing: -0.01em; color: var(--tinta); }
.bd-casox small { font-size: .9375rem; color: var(--grafite); line-height: 1.35; }
.bd-casox__barra { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--roxo); transform-origin: left; transform: scaleX(var(--p, 0)); opacity: 0; }
.bd-casox.is-on .bd-casox__barra { opacity: 1; }
.bd-casosx__palco { background: var(--branco); border: 1px solid var(--linha); border-radius: 6px; padding: 28px; position: relative; min-height: 100%; }
.bd-casosx__item { display: grid; gap: 18px; }
.bd-casosx__item[hidden] { display: none; }
.bd-casosx__item.is-entra > * { animation: bd-caso-entra .55s cubic-bezier(.2,.8,.2,1) both; }
.bd-casosx__item.is-entra > :nth-child(2) { animation-delay: .06s; }
.bd-casosx__item.is-entra > :nth-child(3) { animation-delay: .12s; }
.bd-casosx__item.is-entra > :nth-child(4) { animation-delay: .18s; }
@keyframes bd-caso-entra { from { opacity: 0; transform: translateY(10px); } }
.bd-casosx__prod { font-size: .875rem; font-weight: 600; color: var(--roxo-escuro); }
.bd-casosx__item h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; }
.bd-casosx__antes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bd-casosx__antes div { display: grid; gap: 4px; align-content: start; }
.bd-casosx__antes b { font-size: .8125rem; font-weight: 650; color: var(--grafite); }
.bd-casosx__antes div + div b { color: var(--roxo-escuro); }
.bd-casosx__antes p { font-size: .9375rem; color: var(--grafite); }
.bd-casosx__item figure.tela { margin-top: 4px; }
@media (max-width: 900px) {
  .bd-casosx { grid-template-columns: 1fr; }
  .bd-casosx__lista { grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .bd-casox { scroll-snap-align: start; }
  .bd-casosx__palco { padding: 20px; }
  .bd-casosx__antes { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .bd-casosx__item.is-entra > * { animation: none; } }
.bd-cta__txt { display: grid; gap: 16px; }
.bd-cta__txt p { color: rgba(255,255,255,.85); font-size: 1.1875rem; max-width: 52ch; }

/* ---------- Cabeçalho de produto na home ---------- */
.bd-prodcab { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 40px; align-items: end; padding-bottom: 24px; margin-bottom: 56px; border-bottom: 1px solid var(--linha); }
.bd-sec--tinta .bd-prodcab { border-bottom-color: var(--linha-escura); }
.bd-prodcab__marca { display: flex; align-items: flex-end; }
.bd-prodcab__marca svg { width: 84px; fill: var(--roxo); flex: none; }
.bd-sec--tinta .bd-prodcab__marca svg { fill: var(--branco); }
.bd-prodcab__marca span { font-size: 3.2rem; font-weight: 600; letter-spacing: -0.035em; line-height: .86; margin-left: 6px; }
.bd-prodcab__frase { font-size: 1.25rem; color: var(--grafite); padding-bottom: 4px; }
.bd-sec--tinta .bd-prodcab__frase { color: #CFCBE6; }
.bd-sec--tinta .bd-link { color: var(--roxo-claro); }
.bd-prodcab__ir { padding-bottom: 6px; }
@media (max-width: 760px) { .bd-prodcab { grid-template-columns: 1fr; margin-bottom: 48px; } .bd-prodcab__marca svg { width: 62px; } .bd-prodcab__marca span { font-size: 2.4rem; } }
.bd-sec--tinta .bd-split__txt .bd-h2 { color: var(--branco); }

/* ---------- Página do post (blog.js) ---------- */
.bd-leitura { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--roxo); transform-origin: 0 0; transform: scaleX(0); z-index: 50; }
.bd-post-topo { padding-block: 56px 40px; border-bottom: 1px solid var(--linha); }
.bd-post-topo__in { max-width: 860px; display: grid; gap: 18px; }
.bd-trilha { display: flex; gap: 8px; align-items: center; font-size: .9375rem; color: var(--grafite); }
.bd-trilha a { color: var(--grafite); text-decoration: none; } .bd-trilha a:hover { color: var(--roxo-escuro); }
.bd-trilha b { color: var(--roxo-escuro); font-weight: 600; }
.bd-post-topo h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 740; letter-spacing: -0.035em; line-height: 1.06; }
.bd-post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--grafite); font-size: .9375rem; align-items: center; }
.bd-post-meta span { display: inline-flex; gap: 8px; align-items: center; }
.bd-post-meta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.bd-post-meta .bd-post-autor svg { width: 22px; height: 22px; fill: var(--roxo); stroke: none; }
.bd-post-grade { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; padding-block: 56px 96px; align-items: start; }
.bd-artigo__corpo { font-size: 1.1875rem; line-height: 1.75; color: #2A2740; max-width: 70ch; display: grid; gap: 22px; }
.bd-artigo__corpo h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--tinta); margin-top: 22px; scroll-margin-top: 100px; }
.bd-artigo__corpo h3 { font-size: 1.3125rem; font-weight: 680; color: var(--tinta); margin-top: 10px; scroll-margin-top: 100px; }
.bd-artigo__corpo ul, .bd-artigo__corpo ol { padding-left: 1.3em; display: grid; gap: 10px; }
.bd-artigo__corpo ul { list-style: none; padding-left: 0; }
.bd-artigo__corpo ul li { padding-left: 24px; position: relative; }
.bd-artigo__corpo ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 2px; background: var(--roxo); }
.bd-artigo__corpo a { color: var(--roxo-escuro); word-break: break-word; }
.bd-artigo__corpo figure { margin: 28px 0; }
.bd-artigo__corpo img { display: block; max-width: 100%; height: auto; border: 1px solid rgba(23,20,46,.08); }
.bd-artigo__corpo > p:first-child { font-size: 1.3125rem; line-height: 1.6; color: var(--tinta); }
.bd-artigo__corpo blockquote { margin: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--roxo); font-size: 1.25rem; color: var(--tinta); }
.bd-artigo__aviso { border: 1px solid var(--linha); border-left: 3px solid var(--roxo); background: var(--branco); padding: 18px 20px; border-radius: var(--r); color: var(--grafite); }
.bd-post-lado { position: sticky; top: calc(var(--header) + 24px); display: grid; gap: 32px; }
.bd-post-lado h4 { font-size: .875rem; font-weight: 650; color: var(--tinta); margin-bottom: 12px; }
.bd-relacionados { display: grid; gap: 2px; }
.bd-relacionados a { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--linha); text-decoration: none; color: var(--tinta); }
.bd-relacionados a:hover b { color: var(--roxo-escuro); }
.bd-relacionados b { font-weight: 600; font-size: .9375rem; line-height: 1.35; transition: color .2s; }
.bd-relacionados small { color: var(--cinza); font-size: .8125rem; }
.bd-post-fim { border-top: 1px solid var(--linha); padding-block: 72px 96px; }
.bd-post-fim h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 28px; }
@media (max-width: 980px) {
  .bd-post-grade { grid-template-columns: 1fr; gap: 48px; }
  .bd-post-lado { position: static; }
  .bd-artigo__corpo { font-size: 1.0625rem; }
}

/* ---------- Números em órbita (bdOpenData) ---------- */
.bd-orbita { background: var(--branco); border-top: 1px solid var(--linha); overflow: hidden; }
.bd-orbita__in { display: grid; grid-template-columns: 1fr minmax(300px, 420px) 1fr; gap: 40px; align-items: center; }
.bd-orbita__lado { display: grid; gap: 0; }
.bd-orbita__lado > div { display: grid; gap: 6px; padding: 26px 0; border-bottom: 1px solid var(--linha); }
.bd-orbita__lado--esq { text-align: right; }
.bd-orbita__lado b { font-size: clamp(2.6rem, 4.6vw, 3.8rem); font-weight: 760; letter-spacing: -0.045em; line-height: 1; color: var(--roxo); font-variant-numeric: tabular-nums; }
.bd-orbita__lado > div > span { color: var(--grafite); font-size: 1.0625rem; }
.bd-orbita__centro { position: relative; aspect-ratio: 1; width: 100%; }
.bd-orbita__arcos { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bd-orbita__arcos .arco { fill: none; stroke: var(--lavanda); stroke-width: 1.5; }
.bd-orbita__arcos .arco--dentro { stroke: #D6D0F7; stroke-dasharray: 2 6; }
.bd-orbita__arcos .giro { transform-origin: 200px 200px; fill: var(--roxo); }
.giro--fora { animation: bd-orbita 18s linear infinite; }
.giro--dentro { animation: bd-orbita 12s linear infinite reverse; fill: var(--roxo-claro) !important; }
@keyframes bd-orbita { to { transform: rotate(360deg); } }
.bd-orbita__nucleo { position: absolute; left: 50%; top: 50%; width: 42%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--branco); border: 1px solid var(--linha); display: grid; place-items: center; }
.bd-orbita__nucleo svg { width: 56%; fill: var(--roxo); }
.bd-orbita__ic { position: absolute; width: 15%; aspect-ratio: 1; border-radius: 10px; background: var(--lavanda); color: var(--roxo-escuro); display: grid; place-items: center; animation: bd-flutua 6s ease-in-out infinite; }
.bd-orbita__ic svg { width: 46%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic-1 { left: 14%; top: 10%; } .ic-2 { left: 0; top: 52%; animation-delay: -1.5s; } .ic-3 { right: 14%; top: 10%; animation-delay: -3s; } .ic-4 { right: 0; top: 52%; animation-delay: -4.5s; }
@media (max-width: 900px) {
  .bd-orbita__in { grid-template-columns: 1fr 1fr; }
  .bd-orbita__centro { grid-column: 1 / -1; grid-row: 1; max-width: 300px; margin: 0 auto; }
  .bd-orbita__lado--esq { text-align: left; }
  .bd-orbita__lado b { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) { .giro--fora, .giro--dentro, .bd-orbita__ic { animation: none; } }

/* ---------- Perfis (bdOpenData): ícone, nome e o que mais usa ---------- */
.bd-perfis2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bd-perfil { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; gap: 4px 18px; align-items: center; padding: 24px; background: var(--branco); border: 1px solid var(--linha); border-radius: 6px; transition: border-color .25s, transform .25s cubic-bezier(.2,.8,.2,1); }
.bd-perfil:hover { border-color: var(--roxo); transform: translateY(-3px); }
.bd-perfil__ic { grid-row: span 2; width: 52px; height: 52px; border-radius: 8px; background: var(--lavanda); color: var(--roxo-escuro); display: grid; place-items: center; transition: background .25s, color .25s; }
.bd-perfil__ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bd-perfil:hover .bd-perfil__ic { background: var(--roxo); color: var(--branco); }
.bd-perfil b { font-size: 1.1875rem; font-weight: 660; letter-spacing: -0.01em; align-self: end; }
.bd-perfil small { font-size: .875rem; color: var(--roxo-escuro); align-self: start; }
@media (max-width: 980px) { .bd-perfis2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bd-perfis2 { grid-template-columns: 1fr; } }

/* ---------- Prazos do bdPrivacy: cartões com o prazo em destaque ---------- */
.bd-filas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bd-fila { display: grid; gap: 10px; align-content: start; padding: 24px; background: var(--branco); border: 1px solid var(--linha); border-radius: 6px; transition: border-color .25s, transform .25s cubic-bezier(.2,.8,.2,1); }
.bd-fila:hover { border-color: var(--roxo); transform: translateY(-3px); }
.bd-fila:hover .bd-perfil__ic { background: var(--roxo); color: var(--branco); }
.bd-fila__topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.bd-fila__topo em { font-style: normal; font-size: .8125rem; font-weight: 650; color: var(--roxo-escuro); background: var(--lavanda); padding: 4px 9px; border-radius: 3px; white-space: nowrap; }
.bd-fila h3 { font-size: 1.1875rem; font-weight: 660; letter-spacing: -0.01em; }
.bd-fila p { color: var(--grafite); font-size: .9375rem; }
@media (max-width: 980px) { .bd-filas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bd-filas { grid-template-columns: 1fr; } }

/* Os mesmos cartões viram abas: cada um troca a tela real logo abaixo. */
button.bd-fila { font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; }
.bd-fila[aria-selected="true"] { border-color: var(--roxo); box-shadow: inset 0 -3px 0 var(--roxo); }
.bd-fila[aria-selected="true"] .bd-perfil__ic { background: var(--roxo); color: var(--branco); }
.bd-fila:focus-visible, .pv-troca button:focus-visible { outline: 2px solid var(--roxo); outline-offset: 2px; }
.pv-palcos { margin-top: 24px; }
[role="tabpanel"][hidden] { display: none; }
.pv-dupla { display: grid; grid-template-columns: 2fr 3fr; gap: 16px; align-items: start; }
.pv-dupla__rot { display: block; font-size: .8125rem; font-weight: 650; color: var(--roxo-escuro); margin-bottom: 8px; }
@media (max-width: 860px) { .pv-dupla { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .bd-filas[role="tablist"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bd-filas[role="tablist"] .bd-fila__topo { flex-wrap: wrap; margin-bottom: 2px; }
  .bd-filas[role="tablist"] .bd-fila__topo em { white-space: normal; }
  .bd-filas[role="tablist"] .bd-fila { padding: 14px; gap: 6px; }
  .bd-filas[role="tablist"] .bd-fila p { display: none; }
  .bd-filas[role="tablist"] .bd-fila h3 { font-size: 1rem; }
}

/* Troca curta entre duas telas (Relatório e Trilha). */
.pv-troca { display: inline-flex; border: 1px solid var(--linha); border-radius: 6px; margin-bottom: 12px; background: var(--branco); }
.pv-troca button { font: inherit; font-size: .875rem; font-weight: 600; padding: 7px 16px; border: 0; background: none; color: var(--grafite); cursor: pointer; }
.pv-troca button + button { border-left: 1px solid var(--linha); }
.pv-troca button[aria-selected="true"] { background: var(--lavanda); color: var(--roxo-escuro); }

/* Como começa: três passos numerados. */
.pv-comeco { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--linha); }
.pv-comeco li { padding: 24px 24px 0 0; display: grid; gap: 8px; align-content: start; }
.pv-comeco b { font-size: 2.25rem; font-weight: 700; line-height: 1; color: var(--roxo); }
.pv-comeco h3 { font-size: 1.1875rem; font-weight: 660; letter-spacing: -0.01em; }
.pv-comeco p { color: var(--grafite); font-size: .9375rem; }
@media (max-width: 760px) { .pv-comeco { grid-template-columns: 1fr; } .pv-comeco li { padding: 20px 0 4px; border-bottom: 1px solid var(--linha); } }

/* Matriz de riscos acima dos cartões do resto do programa. */
.pv-matriz { margin-bottom: 16px; }

/* ---------- Página não encontrada (404) ---------- */
.bd-erro { min-height: 70vh; display: grid; align-items: center; }
.bd-erro__in { display: grid; gap: 22px; justify-items: start; }
.bd-erro__marca { width: 120px; fill: var(--roxo); margin-bottom: 8px; }

/* ---------- Entrar: tela dividida entre os dois produtos (entrar.html) ---------- */
.bd-entrar-pagina { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--tinta); }
.bd-entrar__topo { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 28px; }
.bd-entrar__marca svg { height: 30px; width: auto; fill: var(--branco); display: block; }
.bd-entrar__topo-fim { display: flex; align-items: center; gap: 18px; }
.bd-entrar__voltar { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 500; font-size: .9375rem; white-space: nowrap; }
.bd-entrar__voltar:hover { color: var(--branco); text-decoration: underline; }
.bd-entrar__topo .bd-lang-btn.is-active { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.bd-entrar { flex: 1; display: flex; min-height: 0; }
.bd-entrar__lado {
  flex: 1 1 50%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px;
  padding: 120px clamp(28px, 6vw, 96px) 96px; color: var(--branco); text-decoration: none;
  transition: flex-grow .5s cubic-bezier(.2,.8,.2,1), background .3s;
}
.bd-entrar__lado--od { background: var(--tinta); }
.bd-entrar__lado--pv { background: var(--roxo); }
.bd-entrar:hover .bd-entrar__lado { flex-grow: .82; }
.bd-entrar .bd-entrar__lado:hover, .bd-entrar .bd-entrar__lado:focus-visible { flex-grow: 1.22; }
.bd-entrar__lado:focus-visible { outline: 3px solid var(--roxo-claro); outline-offset: -6px; }
.bd-entrar__marca-prod { display: flex; align-items: flex-end; }
.bd-entrar__marca-prod svg { width: clamp(72px, 8vw, 112px); fill: var(--branco); flex: none; overflow: visible; }
.bd-entrar__marca-prod .sorriso { fill: none; stroke: var(--branco); stroke-width: 16; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.bd-entrar__lado:hover .sorriso, .bd-entrar__lado:focus-visible .sorriso { animation: bd-entrar-sorri .7s cubic-bezier(.65,0,.35,1); }
@keyframes bd-entrar-sorri { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
.bd-entrar__marca-prod > span { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 600; letter-spacing: -0.035em; line-height: .86; margin-left: 8px; }
.bd-entrar__frase { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.82); }
.bd-entrar__botao { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; height: 50px; padding: 0 22px; border-radius: var(--r); background: var(--branco); color: var(--tinta); font-weight: 650; }
.bd-entrar__botao svg { width: 16px; height: 16px; transition: transform .2s; }
.bd-entrar__lado:hover .bd-entrar__botao svg { transform: translateX(4px); }
/* faixa branca embaixo das duas metades, para a frase não ficar cortada no meio */
.bd-entrar__rodape { flex: none; margin: 0; padding: 18px 16px; background: var(--branco); text-align: center; color: var(--roxo); font-size: .9375rem; }
.bd-entrar__rodape a { color: var(--roxo); font-weight: 600; text-underline-offset: 3px; }
.bd-entrar__rodape a:hover { color: var(--tinta); }
@media (max-width: 760px) {
  .bd-entrar__topo { padding: 14px 16px; }
  .bd-entrar__marca svg { height: 24px; }
  .bd-entrar__topo-fim { gap: 10px; }
  .bd-entrar__voltar { font-size: .875rem; }
  .bd-entrar { flex-direction: column; }
  .bd-entrar__lado { flex: 1 1 50%; padding: 76px 22px 34px; gap: 14px; justify-content: flex-end; }
  .bd-entrar__lado--pv { padding-top: 34px; padding-bottom: 72px; justify-content: flex-start; }
  .bd-entrar:hover .bd-entrar__lado, .bd-entrar .bd-entrar__lado:hover { flex-grow: 1; }
  .bd-entrar__botao { height: 46px; width: 100%; justify-content: space-between; }
  .bd-entrar__rodape { padding: 14px 16px; font-size: .875rem; }
}
.bd-entrar__topo .bd-lang-btn { flex: none; }
/* no celular estreito o logo já leva de volta ao site: some o texto, ficam as bandeiras inteiras */
@media (max-width: 380px) { .bd-entrar__voltar { display: none; } }
@media (prefers-reduced-motion: reduce) { .bd-entrar__lado { transition: none; } .bd-entrar__lado:hover .sorriso { animation: none; } }
