/* ==========================================================================
   BVQ DIGITAL LLC — Design System
   --------------------------------------------------------------------------
   Arquitetura de tokens espelhada no sistema RUI de revolut.com (escalas de
   cor neutra, raio, espaco, sombra, tipo e movimento), com a identidade, o
   conteudo e a paleta de marca proprios da BVQ.

   Ordem do arquivo — NAO apendar regras no fim. Edite a secao correspondente:
     1. Fonte
     2. Tokens
     3. Reset e base
     4. Tipografia
     5. Componentes
     6. Layout
     7. Blocos de pagina
     8. Responsivo
     9. Movimento
   ========================================================================== */


/* 1. FONTE =================================================================
   Inter (SIL OFL 1.1) auto-hospedada. Nenhuma requisicao a terceiros: manter
   assim preserva a afirmacao da politica de privacidade. Licenca completa em
   /assets/inter-LICENSE.txt. Inter e a fonte de UI do proprio sistema da
   Revolut; a fonte de marketing deles (Aeonik Pro) e comercial e nao e usada.
   ========================================================================== */
@font-face {
  font-family: "Inter";
  src: url("/assets/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


/* 2. TOKENS ================================================================ */
:root {
  /* --- Cor: base neutra --- */
  --bvq-fg: #1f1f1f;              /* texto principal          16.5:1 no branco */
  --bvq-fg-muted: #696a6c;        /* texto de apoio    AA em todos os fundos  */
  --bvq-fg-subtle: #717173;       /* apenas texto grande e elementos nao-texto */
  --bvq-bg: #ffffff;
  --bvq-bg-grouped: #f3f4f5;      /* fundo de secao alternada */
  --bvq-bg-card: #ffffff;
  --bvq-bg-contact: #eaf0ff;

  --bvq-line: rgba(31, 31, 31, 0.12);
  --bvq-tone-3: rgba(31, 31, 31, 0.03);
  --bvq-tone-5: rgba(31, 31, 31, 0.05);
  --bvq-tone-8: rgba(31, 31, 31, 0.08);

  /* --- Cor: identidade BVQ --- */
  --bvq-accent: #244dea;
  --bvq-accent-ink: #1c3fc4;
  --bvq-focus: #4169ff;

  /* --- Cor: superficie escura --- */
  --bvq-dark: #080d18;
  --bvq-on-dark: #ffffff;
  --bvq-on-dark-muted: #a8b4cc;   /* 9.3:1 sobre o hero */
  --bvq-on-dark-accent: #b9caff;  /* 12.0:1 sobre o hero */
  --bvq-on-dark-line: rgba(255, 255, 255, 0.22);

  /* --- Grafico do hero --- */
  --bvq-hero-dot: #b9caff;
  --bvq-hero-line: #5b7cff;
  --bvq-hero-marker: #dce6ff;

  /* --- Espaco: escala 4/8 --- */
  --bvq-s4: 0.25rem;
  --bvq-s8: 0.5rem;
  --bvq-s12: 0.75rem;
  --bvq-s16: 1rem;
  --bvq-s20: 1.25rem;
  --bvq-s24: 1.5rem;
  --bvq-s32: 2rem;
  --bvq-s40: 2.5rem;
  --bvq-s48: 3rem;
  --bvq-s56: 3.5rem;
  --bvq-s64: 4rem;
  --bvq-s80: 5rem;
  --bvq-s96: 6rem;
  --bvq-s112: 7rem;

  /* --- Raio --- */
  --bvq-r8: 0.5rem;
  --bvq-r12: 0.75rem;
  --bvq-r16: 1rem;
  --bvq-r24: 1.5rem;
  --bvq-r32: 2rem;
  --bvq-r-pill: 9999px;

  /* --- Sombra --- */
  --bvq-shadow-1: 0 0.125rem 0.1875rem rgba(0, 0, 0, 0.05);
  --bvq-shadow-2: 0 0.1875rem 0.5rem rgba(0, 0, 0, 0.1);
  --bvq-shadow-3: 0 0.1875rem 1.875rem rgba(0, 0, 0, 0.08);
  --bvq-shadow-4: 0 1rem 4rem rgba(0, 0, 0, 0.12);

  /* --- Movimento --- */
  --bvq-dur-xs: 100ms;
  --bvq-dur-sm: 200ms;
  --bvq-dur-md: 300ms;
  --bvq-dur-lg: 450ms;
  --bvq-ease: cubic-bezier(0.15, 0.5, 0.5, 1);

  /* --- Layout --- */
  --bvq-max: 1240px;
  /* O teto em vw impede que a margem dobre junto com o root em zoom de texto. */
  --bvq-gutter: min(clamp(1.25rem, 5vw, 5rem), 8vw);
  --bvq-header-h: 4.5rem;         /* 72px */
  --bvq-section-y: clamp(4.5rem, 8vw, 7rem);

  /* --- Camadas --- */
  --bvq-z-header: 40;
  --bvq-z-menu: 30;
  --bvq-z-skip: 100;
}


/* 3. RESET E BASE ========================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bvq-header-h) + var(--bvq-s24));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bvq-bg);
  color: var(--bvq-fg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Inter traz as formas opticas corretas por tamanho e algarismos tabulares. */
@supports (font-variation-settings: normal) {
  body { font-optical-sizing: auto; }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

:is(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--bvq-focus);
  outline-offset: 4px;
  border-radius: var(--bvq-r8);
}

::selection { background: #c6d9fd; color: var(--bvq-fg); }

.skip {
  position: fixed;
  left: var(--bvq-s16);
  top: -6rem;
  z-index: var(--bvq-z-skip);
  padding: var(--bvq-s16) var(--bvq-s24);
  background: var(--bvq-fg);
  color: #fff;
  border-radius: var(--bvq-r12);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: top var(--bvq-dur-sm) var(--bvq-ease);
}
.skip:focus { top: var(--bvq-s16); }


/* 4. TIPOGRAFIA ============================================================
   Assinatura do sistema: display em peso 500 (nunca bold), entrelinha 1.0 e
   tracking negativo que aperta conforme o tamanho cresce.
   ========================================================================== */
.display {
  margin: 0;
  font-size: min(clamp(3rem, 6.2vw, 5.5rem), 13vw);
  line-height: 1;
  letter-spacing: -0.024em;
  font-weight: 500;
}

h2, .h2 {
  margin: 0;
  font-size: min(clamp(2.25rem, 3.6vw, 3.25rem), 10vw);
  line-height: 1.04;
  letter-spacing: -0.018em;
  font-weight: 500;
}

h3, .h3 {
  margin: 0;
  font-size: min(clamp(1.375rem, 1.8vw, 1.625rem), 7vw);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.lead {
  font-size: min(clamp(1.125rem, 1.6vw, 1.375rem), 6vw);
  line-height: 1.4;
  letter-spacing: -0.012em;
  font-weight: 400;
}

.body {
  font-size: 1.125rem;
  line-height: 1.4444;   /* 18 / 26 */
  letter-spacing: -0.008em;
}

.body-sm {
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.006em;
}

.caption {
  font-size: 0.875rem;
  line-height: 1.4286;
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
}

.muted { color: var(--bvq-fg-muted); }
.on-dark-muted { color: var(--bvq-on-dark-muted); }

/* URLs, e-mails e IDs podem refluir; prosa comum nao. */
.wrap-anywhere { overflow-wrap: anywhere; }

/* Equilibra as linhas de textos curtos em vez de deixar a ultima palavra
   sozinha. E heuristica do navegador: onde nao ha suporte, quebra normal. */
.balance { text-wrap: balance; }


/* 5. COMPONENTES =========================================================== */

/* --- 5.1 Botao pilula --- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bvq-s12);
  min-height: 3rem;              /* 48px — acima do minimo de 44px */
  padding: 0 var(--bvq-s24);
  border: 0;
  border-radius: var(--bvq-r-pill);
  background: var(--bvq-fg);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  cursor: pointer;
  transition:
    background-color var(--bvq-dur-md) var(--bvq-ease),
    color var(--bvq-dur-md) var(--bvq-ease),
    box-shadow var(--bvq-dur-sm) var(--bvq-ease);
}
.button:hover { background: #3a3a3a; }
.button:active { background: #4a4a4a; }
.button > /* Sprite fora do fluxo, e o tamanho grande do icone: eram atributos style
   inline, que obrigariam a CSP a aceitar 'unsafe-inline'. */
.sprite { position: absolute; }
.icon--lg { width: 1.375rem; height: 1.375rem; }

.icon { transition: transform var(--bvq-dur-md) var(--bvq-ease); }
.button:hover > .icon { transform: translate(0.125rem, -0.125rem); }
.button--down:hover > .icon { transform: translateY(0.1875rem); }

.button--light {
  background: #fff;
  color: var(--bvq-fg);
}
.button--light:hover { background: var(--bvq-bg-grouped); box-shadow: var(--bvq-shadow-2); }
.button--light:active { background: #e6e8ea; }

.button--sm {
  min-height: 2.75rem;           /* 44px */
  padding: 0 var(--bvq-s20);
  font-size: 0.9375rem;
}

/* --- 5.2 Link de texto com icone --- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--bvq-s8);
  min-height: 2.75rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.text-link > .icon {
  transition: transform var(--bvq-dur-md) var(--bvq-ease);
}
.text-link:hover { text-decoration: underline; text-underline-offset: 0.375rem; }
.text-link:hover > .icon { transform: translate(0.125rem, -0.125rem); }
.text-link--down:hover > .icon { transform: translateY(0.125rem); }

/* --- 5.3 Icone --- */
.icon {
  flex: none;
  width: 1em;
  height: 1em;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- 5.4 Marca --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--bvq-s16);
  min-height: 2.75rem;
}
.brand img { display: block; object-fit: contain; }
.brand span {
  padding-left: var(--bvq-s16);
  border-left: 1px solid var(--bvq-line);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--bvq-fg-muted);
}

/* --- 5.5 Cartao --- */
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bvq-bg-card);
  border-radius: var(--bvq-r24);
  box-shadow: var(--bvq-shadow-1);
  transition: box-shadow var(--bvq-dur-md) var(--bvq-ease);
}
.card:hover { box-shadow: var(--bvq-shadow-3); }

.card__visual {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #edf0f4;
}
.card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.22,1,.36,1);
}
.card:hover .card__visual img { transform: scale(1.04); }
.card__index {
  position: absolute;
  top: var(--bvq-s16);
  left: var(--bvq-s16);
  padding: var(--bvq-s8) var(--bvq-s12);
  border-radius: var(--bvq-r-pill);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(0.5rem);
  backdrop-filter: blur(0.5rem);
  color: var(--bvq-fg);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.card__body {
  padding: var(--bvq-s32);
}
.card__body > h3 { margin-bottom: var(--bvq-s12); }
.card__body > p { margin: 0; color: var(--bvq-fg-muted); }

/* --- 5.6 Par rotulo/valor --- */
.stat {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bvq-s12);
  justify-content: space-between;
  align-items: baseline;
  padding-top: var(--bvq-s24);
  border-top: 1px solid var(--bvq-line);
  font-size: 0.9375rem;
}
.stat dt { color: var(--bvq-fg-muted); }
.stat dd { margin: 0; font-weight: 500; }


/* 6. LAYOUT ================================================================ */
.shell {
  width: 100%;
  max-width: var(--bvq-max);
  margin-inline: auto;
}

.section {
  padding: var(--bvq-section-y) var(--bvq-gutter);
}
.section--grouped { background: var(--bvq-bg-grouped); }

.section__head {
  max-width: 46rem;
  margin: 0 auto var(--bvq-s56);
  text-align: center;
}
.section__head > .eyebrow { margin-bottom: var(--bvq-s20); }
.section__head > p { margin: var(--bvq-s24) 0 0; color: var(--bvq-fg-muted); text-wrap: balance; }

/* --- 6.1 Cabecalho --- */
.header {
  position: sticky;
  top: 0;
  z-index: var(--bvq-z-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bvq-s16);
  height: var(--bvq-header-h);
  padding-inline: var(--bvq-gutter);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(0.75rem);
  backdrop-filter: blur(0.75rem);
  border-bottom: 1px solid transparent;
  transition: border-color var(--bvq-dur-md) var(--bvq-ease);
}
.header[data-scrolled="true"] { border-bottom-color: var(--bvq-line); }

.nav {
  display: flex;
  align-items: center;
  gap: var(--bvq-s32);
  min-width: 0;
  flex-shrink: 1;
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav > a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--bvq-fg-muted);
  transition: color var(--bvq-dur-sm) var(--bvq-ease);
}
.nav > a:not(.button):hover { color: var(--bvq-fg); }

/* Secao corrente: orienta o leitor numa pagina longa. */
.nav > a:not(.button) { position: relative; }
.nav > a:not(.button)[aria-current="true"] { color: var(--bvq-fg); }
.nav > a:not(.button)[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.5rem;
  height: 2px;
  border-radius: 2px;
  background: var(--bvq-accent);
}

.menu-toggle { display: none; }

/* --- 6.2 Rodape --- */
.footer {
  padding: var(--bvq-s64) var(--bvq-gutter) var(--bvq-s32);
  border-top: 1px solid var(--bvq-line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: var(--bvq-s40);
  align-items: start;
}
.footer__about > strong { display: block; font-size: 0.9375rem; font-weight: 500; }
.footer__about > p {
  margin: var(--bvq-s8) 0 var(--bvq-s12);
  color: var(--bvq-fg-muted);
  font-size: 0.875rem;
}
.footer__address {
  margin: var(--bvq-s8) 0 var(--bvq-s12);
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--bvq-fg-muted);
}
.footer__about > a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  max-width: 100%;
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.footer__about > a:hover { text-decoration: underline; text-underline-offset: 0.25rem; }
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--bvq-s8);
  font-size: 0.875rem;
}
.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--bvq-fg-muted);
}
.footer__links a:hover { color: var(--bvq-fg); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bvq-s16);
  justify-content: space-between;
  margin-top: var(--bvq-s48);
  padding-top: var(--bvq-s24);
  border-top: 1px solid var(--bvq-line);
  color: var(--bvq-fg-muted);
  font-size: 0.75rem;
}


/* 7. BLOCOS DE PAGINA ====================================================== */

/* --- 7.1 Hero --- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  /* Um unico bloco em fluxo desde que a faixa inferior saiu: centraliza. */
  justify-content: center;
  min-height: min(46rem, calc(100svh - var(--bvq-header-h)));
  padding: var(--bvq-s80) var(--bvq-gutter) var(--bvq-s32);
  overflow: hidden;
  background-color: var(--bvq-dark);
  /* Sem foto: o grafico entra por canvas. O gradiente sustenta a superficie
     quando o canvas nao roda (sem JS, ou navegador sem suporte). */
  background-image:
    radial-gradient(120% 90% at 78% 38%, rgba(36, 77, 234, 0.22), transparent 62%),
    radial-gradient(80% 70% at 100% 100%, rgba(91, 124, 255, 0.12), transparent 60%);
  color: var(--bvq-on-dark);
}
/* Veu que garante contraste do texto sobre o grafico em qualquer largura.
   E ::after, nao ::before: pseudo-elemento ::after pinta DEPOIS dos filhos do
   elemento, entao cobre o canvas sem depender de z-index. Com ::before o
   canvas ficava por cima e o veu nao escurecia nada. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(8, 13, 24, 0.92) 0%,
    rgba(8, 13, 24, 0.72) 34%,
    rgba(8, 13, 24, 0) 62%
  );
}
.hero > * { position: relative; }

.hero__content { position: relative; z-index: 2; max-width: 38rem; }
.hero__title { display: block; }
.hero__title em { font-style: normal; color: var(--bvq-on-dark-accent); }
.hero__lead {
  margin: var(--bvq-s32) 0 var(--bvq-s16);
  max-width: 34rem;
  text-wrap: balance;
}
.hero__detail {
  margin: 0 0 var(--bvq-s40);
  max-width: 32rem;
  color: var(--bvq-on-dark-muted);
  text-wrap: balance;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bvq-s24);
}
/* Desktop: o grafico ocupa a direita, atras do texto e acima do veu. */
/* Camadas do hero: grafico no fundo, veu no meio, texto por cima. Sem
   z-index explicito o canvas, por ser o ultimo posicionado no DOM, pinta
   ACIMA do veu -- e o veu deixa de escurecer o que esta atras do texto. */
.hero__art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  pointer-events: none;
}
.hero__canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--bvq-dur-xl, 900ms) var(--bvq-ease);
}
.hero__canvas.is-ready { opacity: 1; }

/* --- 7.2 Faixa de fatos --- */
.facts {
  padding: var(--bvq-s32) var(--bvq-gutter);
  border-bottom: 1px solid var(--bvq-line);
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--bvq-s24);
  margin: 0;
}
.facts__item dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bvq-fg-muted);
  /* Rotulo em caixa alta e palavra unica: sem isso, "JURISDICTION" nao cabe
     na coluna quando o usuario amplia o texto e empurra a pagina. */
  overflow-wrap: anywhere;
}
.facts__item dd {
  margin: var(--bvq-s8) 0 0;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

/* --- 7.2 Sobre --- */
.about {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.about__title { margin-top: var(--bvq-s20); }
.about__copy > p { margin: 0 0 var(--bvq-s20); color: var(--bvq-fg-muted); }
.about__copy > .lead { color: var(--bvq-fg); margin-bottom: var(--bvq-s24); }
.about__copy > .stat { margin-top: var(--bvq-s32); }

/* --- 7.3 Abordagem --- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--bvq-s24);
}

/* --- 7.4 Ciclo do pedido --- */
.steps {
  display: grid;
  /* Cinco passos: ou cabem os cinco lado a lado, ou viram uma lista vertical.
     Qualquer valor intermediario deixa um passo orfao na segunda linha. */
  grid-template-columns: minmax(0, 1fr);
  gap: var(--bvq-s32);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps__item {
  position: relative;
  padding-top: var(--bvq-s20);
  border-top: 2px solid var(--bvq-line);
}
/* Linha de progresso sobre a borda: cheia por padrao, desenha na revelacao. */
.steps__item::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--bvq-accent);
  transform: scaleX(1);
  transform-origin: left;
}
.steps__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bvq-s12);
  margin-bottom: var(--bvq-s16);
}
.steps__icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--bvq-accent);
}
.steps__num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--bvq-fg-muted);
  font-variant-numeric: tabular-nums;
}
.steps__item h3 { margin-bottom: var(--bvq-s12); }

@media (max-width: 1099px) {
  .steps { gap: var(--bvq-s24); }
  .steps__item {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: var(--bvq-s16);
    align-items: baseline;
  }
  .steps__head { flex-direction: column; align-items: flex-start; gap: var(--bvq-s4); margin-bottom: 0; }
  .steps__item h3 { margin-bottom: var(--bvq-s8); }
  .steps__item p { grid-column: 2; }
}
.steps__item p { margin: 0; color: var(--bvq-fg-muted); }

/* --- 7.5 Operacoes --- */
.ops {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  gap: var(--bvq-s24);
}
.ops__item {
  padding: var(--bvq-s32);
  background: var(--bvq-bg-card);
  border-radius: var(--bvq-r24);
  box-shadow: var(--bvq-shadow-1);
}
.ops__icon {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: var(--bvq-s20);
  color: var(--bvq-accent);
}
.ops__item h3 { margin-bottom: var(--bvq-s16); }
.ops__item p { margin: 0; color: var(--bvq-fg-muted); }

/* --- 7.6 Compromissos publicados --- */
.commitments {
  margin-top: var(--bvq-s48);
  padding: var(--bvq-s32);
  background: var(--bvq-fg);
  color: #fff;
  border-radius: var(--bvq-r24);
}
.commitments__title {
  margin: 0 0 var(--bvq-s24);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b9b9bb;
}
.commitments__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
  gap: var(--bvq-s24);
  margin: 0;
}
.commitments__list dt {
  font-size: 0.875rem;
  color: #b9b9bb;
}
.commitments__list dd {
  margin: var(--bvq-s4) 0 0;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.commitments__note {
  margin: var(--bvq-s32) 0 0;
  padding-top: var(--bvq-s20);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.875rem;
  color: #b9b9bb;
}

/* --- 7.4 Contato --- */
.contact {
  background: var(--bvq-bg-contact);
  text-align: center;
}
.contact__inner { max-width: 44rem; margin-inline: auto; }
.contact .eyebrow { margin-bottom: var(--bvq-s20); color: var(--bvq-fg-muted); }
.contact h2 { font-size: min(clamp(2.5rem, 5vw, 4.25rem), 12vw); }
.contact__intro { margin: var(--bvq-s24) 0 var(--bvq-s40); color: var(--bvq-fg-muted); text-wrap: balance; }

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: var(--bvq-s16);
  max-width: 100%;
  padding: var(--bvq-s12) 0;
  border-bottom: 1px solid var(--bvq-fg);
  font-size: min(clamp(1.125rem, 2.6vw, 1.75rem), 7vw);
  font-weight: 500;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
  transition: color var(--bvq-dur-md) var(--bvq-ease);
}
.contact__email:hover { color: var(--bvq-accent-ink); }
.contact__address {
  margin: var(--bvq-s40) 0 0;
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--bvq-fg-muted);
}
.contact__note { margin: var(--bvq-s24) 0 0; font-size: 0.875rem; color: var(--bvq-fg-muted); }
.contact__note a { color: var(--bvq-accent-ink); text-decoration: underline; text-underline-offset: 0.1875rem; }

/* --- 7.7 Governanca: editorial rail and policy panels --- */
#governance > .shell { display: grid; gap: 3rem; }
#governance .section__head { margin: 0; max-width: 36rem; }
#governance .section__head .body { max-width: 29rem; }
.gov { display: grid; gap: 1.5rem; min-width: 0; counter-reset: policy; }
.gov-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem; padding: clamp(1.5rem, 3vw, 2.5rem); min-width: 0; overflow-wrap: anywhere;
  background: var(--bvq-bg-card); border: 1px solid var(--bvq-line);
  border-radius: var(--bvq-r24); counter-increment: policy;
  box-shadow: 0 8px 32px -24px rgba(8,13,24,.2);
}
.gov-row::after {
  content: "0" counter(policy); position: absolute; top: 2rem; right: 2rem;
  font-size: .75rem; font-weight: 500; letter-spacing: .12em;
  color: var(--bvq-fg-muted); font-variant-numeric: tabular-nums;
}
.gov-row__icon {
  box-sizing: content-box; width: 1.5rem; height: 1.5rem;
  padding: .875rem; border-radius: 1rem; color: var(--bvq-accent-ink);
  background: #eaf0ff;
}
.gov-row h3 { margin-bottom: .75rem; font-size: clamp(1.5rem, 2.2vw, 1.875rem); letter-spacing: -.035em; }
.gov-row p { margin: 0; color: var(--bvq-fg-muted); }
.gov-row a { color: var(--bvq-accent-ink); text-decoration: underline; text-underline-offset: .1875rem; }
.gov-row > div > p:first-of-type { margin-bottom: 1.5rem; }
.gov-row .gov-note {
  margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--bvq-line);
  font-size: .875rem; line-height: 1.65;
}
.gov-note strong { color: var(--bvq-fg); font-weight: 500; }
.gate { display: grid; gap: 1.25rem; }
.gate__step {
  position: relative; padding: 1.25rem; background: var(--bvq-bg-grouped);
  border-radius: 1rem; font-size: .9375rem; line-height: 1.5;
}
.gate__step::after {
  content: ""; position: absolute; height: 1.25rem; width: 1px;
  background: var(--bvq-line); left: 50%; top: 100%;
}
.gate__label { display: block; margin-bottom: .5rem; font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bvq-accent-ink); }
.gate__outcomes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.gate__out { position: relative; padding: 2.75rem 1rem 1rem; border: 1px solid var(--bvq-line); border-radius: 1rem; font-size: .8125rem; line-height: 1.55; }
.gate__out span { display: block; margin-top: .5rem; color: var(--bvq-fg); font-weight: 500; }
.gate__icon { position: absolute; left: 1rem; top: 1rem; width: 1.125rem; height: 1.125rem; }
.gate__out--pass { background: #f3f8f4; }
.gate__out--pass .gate__icon { color: #2f6b3a; }
.gate__out--stop { background: #fcf4f4; }
.gate__out--stop .gate__icon { color: #9b2f2f; }
.conds { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .625rem; margin: 0; padding: 0; list-style: none; }
.conds li { position: relative; padding: 1rem 1rem 1rem 2rem; border-radius: .75rem; background: var(--bvq-bg-grouped); font-size: .875rem; line-height: 1.5; color: var(--bvq-fg-muted); }
.conds li::before { content: ""; position: absolute; left: 1rem; top: 1.5rem; width: .25rem; height: .25rem; border-radius: 50%; background: var(--bvq-accent); }
.evid { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: ev; }
.evid li { counter-increment: ev; display: flex; align-items: center; gap: 1rem; padding: .875rem 0; border-bottom: 1px solid var(--bvq-line); font-size: .9375rem; line-height: 1.4; }
.evid li:last-child { border: 0; }
.evid li::before { content: "0" counter(ev); display: grid; place-items: center; flex: 0 0 2rem; height: 2rem; border-radius: 50%; background: #eaf0ff; font-size: .6875rem; font-weight: 600; color: var(--bvq-accent-ink); font-variant-numeric: tabular-nums; }
.zeros { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(8rem,100%),1fr)); gap: .75rem; margin: 1.5rem 0; }
.zeros > div { display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; padding: 1rem; background: #eaf0ff; border-radius: 1rem; }
.zeros dt { font-size: .75rem; line-height: 1.5; color: #4e5e7b; }
.zeros dd { margin: 0; font-size: clamp(1.25rem,2.3vw,1.875rem); font-weight: 500; letter-spacing: -.04em; color: var(--bvq-accent-ink); }
@media (min-width: 1100px) {
  #governance > .shell { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 4rem; align-items: start; }
  #governance .section__head { position: sticky; top: 8rem; }
  #governance h2 { font-size: clamp(2.75rem,4.1vw,4rem); }
}
@media (max-width: 600px) {
  .gate__outcomes, .conds { grid-template-columns: 1fr; }
  .zeros { gap: .5rem; }
  .zeros > div { padding: .75rem; }
  .gov-row::after { top: 1.75rem; right: 1.5rem; }
}
/* Child details arrive after their panel, once, without scroll listeners. */
[data-reveal-ready] .gov-row :is(.conds li,.evid li,.gate__out,.zeros > div) { opacity: 0; transform: translateY(8px); }
[data-reveal-ready] .gov-row.is-visible :is(.conds li,.evid li,.gate__out,.zeros > div) {
  opacity: 1; transform: none;
  transition: opacity 500ms ease, transform 600ms cubic-bezier(.22,1,.36,1);
  transition-delay: 100ms;
}
[data-reveal-ready] .gov-row.is-visible :is(li,.gate__out,.zeros > div):nth-child(2) { transition-delay: 150ms; }
[data-reveal-ready] .gov-row.is-visible :is(li,.zeros > div):nth-child(3) { transition-delay: 200ms; }
[data-reveal-ready] .gov-row.is-visible li:nth-child(4) { transition-delay: 250ms; }
[data-reveal-ready] .gov-row.is-visible li:nth-child(5) { transition-delay: 300ms; }
[data-reveal-ready] .gov-row.is-visible li:nth-child(6) { transition-delay: 350ms; }
/* --- 7.7 Paginas legais --- */
.legal {
  max-width: 46rem;
  margin-inline: auto;
  padding: var(--bvq-s80) var(--bvq-gutter) var(--bvq-s112);
}
.legal h1 {
  margin: 0 0 var(--bvq-s24);
  font-size: min(clamp(2.5rem, 5vw, 3.75rem), 12vw);
  line-height: 1.05;
  letter-spacing: -0.022em;
  font-weight: 500;
}
.legal h2 {
  margin: var(--bvq-s48) 0 var(--bvq-s16);
  font-size: 1.375rem;
  line-height: 1.3;
  letter-spacing: -0.012em;
}
.legal p { margin: 0 0 var(--bvq-s20); color: var(--bvq-fg-muted); }
.legal__updated { font-size: 0.875rem; }
.legal a:not(.text-link) { color: var(--bvq-accent-ink); text-decoration: underline; text-underline-offset: 0.1875rem; }
.legal .text-link { margin-top: var(--bvq-s40); }

/* Link de e-mail sozinho no paragrafo: e um alvo independente, entao precisa
   dos 44px, e precisa refluir quando o usuario amplia o texto. */
.email-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  max-width: 100%;
  color: var(--bvq-accent-ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
  overflow-wrap: anywhere;
}

/* --- 7.9 404 --- */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: var(--bvq-s80) var(--bvq-gutter);
  text-align: center;
}
.not-found .eyebrow { color: var(--bvq-fg-muted); margin-bottom: var(--bvq-s20); }
.not-found h1 {
  margin: 0 0 var(--bvq-s16);
  font-size: min(clamp(2.5rem, 5vw, 4rem), 12vw);
  line-height: 1.05;
  letter-spacing: -0.022em;
  font-weight: 500;
}
.not-found > p { margin: 0 0 var(--bvq-s32); color: var(--bvq-fg-muted); }


/* 8. RESPONSIVO ============================================================
   Pontos de quebra: 1024 / 768 / 600.
   ========================================================================== */
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--bvq-s24); }
}

@media (max-width: 1024px) {
  .hero__art { width: 52%; opacity: 0.7; }
  .about { grid-template-columns: 1fr; gap: var(--bvq-s32); }
  .approach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--bvq-s24) var(--bvq-s32); }
}

@media (max-width: 768px) {
  .approach-grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__links { grid-column: 2; }
}

@media (max-width: 600px) {
  :root {
    --bvq-header-h: 3.5rem;       /* 56px */
    --bvq-section-y: 4rem;
  }

  /* Cabecalho: navegacao vira menu */
  .header { gap: var(--bvq-s12); }
  .header > .brand { margin-right: auto; }   /* agrupa acoes a direita */
  .nav { gap: var(--bvq-s8); }
  .brand { gap: var(--bvq-s8); }
  .brand img { width: 4.25rem; height: auto; }
  .brand span { display: none; }

  .nav > a:not(.button) { display: none; }
  .header[data-menu="open"] .nav {
    position: absolute;
    top: var(--bvq-header-h);
    left: 0;
    right: 0;
    z-index: var(--bvq-z-menu);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--bvq-s12) var(--bvq-gutter) var(--bvq-s24);
    background: #fff;
    border-bottom: 1px solid var(--bvq-line);
    box-shadow: var(--bvq-shadow-2);
  }
  .header[data-menu="open"] .nav > a:not(.button) {
    display: flex;
    min-height: 3.25rem;
    font-size: 1.0625rem;
    color: var(--bvq-fg);
  }
  .header[data-menu="open"] .nav > .button { margin-top: var(--bvq-s12); }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: var(--bvq-r-pill);
    background: var(--bvq-tone-5);
    color: var(--bvq-fg);
    cursor: pointer;
    transition: background-color var(--bvq-dur-sm) var(--bvq-ease);
  }
  .menu-toggle:hover { background: var(--bvq-tone-8); }

  /* Hero: a imagem sai do fundo e vira arte propria, para o texto nunca
     competir com o assunto da foto em tela estreita. */
  .hero {
    min-height: 0;
    padding-top: var(--bvq-s48);
    background-image: none;
  }
  .hero::before { display: none; }
  .hero__content { max-width: none; }
  .hero__lead, .hero__detail { max-width: 30rem; }
  /* O grafico deixa de ocupar espaco no fluxo: passa a ser o fundo do hero,
     atras do texto, para o bloco ler como uma coisa so. */
  .hero__art {
    inset: 0;
    width: 100%;
    margin: 0;
    aspect-ratio: auto;
  }
  .hero { min-height: 86svh; }
  /* Veu mais forte e mais vertical: no celular o texto cobre o globo. */
  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(8, 13, 24, 0.94) 0%,
      rgba(8, 13, 24, 0.90) 55%,
      rgba(8, 13, 24, 0.55) 72%,
      rgba(8, 13, 24, 0.42) 86%,
      rgba(8, 13, 24, 0.40) 100%
    );
  }
  .section__head { text-align: left; }
  .card__body { padding: var(--bvq-s24); }
  .facts { padding-block: var(--bvq-s24); }
  .gov-row { grid-template-columns: minmax(0, 1fr); gap: var(--bvq-s16); padding: var(--bvq-s24); }
  .steps { gap: var(--bvq-s24); }
  .ops__item { padding: var(--bvq-s24); }
  .commitments { padding: var(--bvq-s24); }
  .footer__grid { grid-template-columns: 1fr; gap: var(--bvq-s24); }
  .footer__links { grid-column: auto; }
  .footer__bottom { margin-top: var(--bvq-s32); }
}


/* 9. MOVIMENTO =============================================================
   Revelacao discreta ao rolar. O conteudo nasce visivel: a classe so e
   aplicada depois que o JS confirma suporte, entao sem JS nada some.
   ========================================================================== */
@keyframes bvq-rise {
  from { opacity: 0; transform: translateY(0.625rem); }
  to   { opacity: 1; transform: none; }
}

/* Entrada do hero: uma vez, no carregamento, em cascata curta. */
[data-reveal-ready] .hero__content > *,
[data-reveal-ready] .hero__content > *:nth-child(1) { animation-delay: 60ms; }
[data-reveal-ready] .hero__content > *:nth-child(2) { animation-delay: 140ms; }
[data-reveal-ready] .hero__content > *:nth-child(3) { animation-delay: 200ms; }
[data-reveal-ready] .hero__content > *:nth-child(4) { animation-delay: 260ms; }

/* Linha de progresso do passo: so recolhe quando ha JS para revelar. */
[data-reveal-ready] .steps__item::before { transform: scaleX(0); }
[data-reveal-ready] .steps__item.is-visible::before {
  transform: scaleX(1);
  transition: transform var(--bvq-dur-lg) var(--bvq-ease) 120ms;
}

[data-reveal-ready] .reveal {
  opacity: 0;
  transform: translateY(1.25rem);
}
[data-reveal-ready] .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 600ms ease,
    transform 700ms cubic-bezier(.22,1,.36,1);
}

/* Na impressao nada e revelado por rolagem: o conteudo abaixo da dobra
   precisa sair no papel. */
@media print {
  [data-reveal-ready] .reveal { opacity: 1 !important; transform: none !important; }
  [data-reveal-ready] .hero__content > *,
  [data-reveal-ready] .steps__item::before { transform: scaleX(1) !important; }
  [data-reveal-ready] .zeros > div,
  [data-reveal-ready] .conds li,
  [data-reveal-ready] .evid li,
  [data-reveal-ready] .gate__out { opacity: 1 !important; transform: none !important; }
  .header, .skip, .menu-toggle { display: none !important; }
  .hero { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal-ready] .reveal { opacity: 1; transform: none; }
  [data-reveal-ready] .hero__content > *,
  [data-reveal-ready] .steps__item::before { transform: scaleX(1); }
  [data-reveal-ready] .zeros > div,
  [data-reveal-ready] .conds li,
  [data-reveal-ready] .evid li,
  [data-reveal-ready] .gate__out { opacity: 1; transform: none; }
  .hero__canvas { opacity: 1; transition: none; }
  .card:hover .card__visual img { transform: none; }
  .button:hover > .icon,
  .button--down:hover > .icon,
  .text-link:hover > .icon { transform: none; }
}
