/* ============================================================
   BB SOLUÇÕES EMPRESARIAIS — Design System
   Manual de marca v2 + melhorias para web institucional
   ============================================================ */

:root {
  /* Brand */
  --navy: #0B2239;          /* contorno escudo esquerdo */
  --inst: #0F2A44;          /* azul institucional (B esquerdo, texto) */
  --inst-2: #163655;        /* variação para hover/profundidade */
  --cyan: #2FA4C6;          /* ciano sofisticado */
  --cyan-2: #269ab8;        /* cyan hover */
  --cyan-soft: rgba(47,164,198,0.08);
  --deep: #1B5F8A;          /* azul profundo */
  --metal-1: #C7C9CC;
  --metal-2: #A6A8AB;
  --metal-3: #8E9195;

  /* Neutrals */
  --ink: #0A1726;           /* texto headlines profundo */
  --body: #4D5668;          /* texto corpo */
  --body-2: #6B7588;        /* texto secundário */
  --muted: #9FA3A7;         /* labels muted */
  --white: #FFFFFF;
  --snow: #F8F9FB;          /* fundo alternado */
  --mist: #F1F3F6;          /* hover state, fundos terciários */
  --line: #E4E7EC;          /* bordas */
  --line-2: #D6DBE2;        /* bordas mais fortes */

  /* Dark surfaces (hero, banners CTA) */
  --dark-1: #071420;
  --dark-2: #0B2239;
  --dark-3: #0F2A44;

  /* Status */
  --success: #15803D;
  --success-soft: #DCFCE7;
  --warn: #B45309;
  --warn-soft: #FEF3C7;

  /* Type */
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Sizing */
  --container: 1200px;
  --container-narrow: 960px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(11,34,57,0.06);
  --shadow: 0 4px 24px rgba(11,34,57,0.08);
  --shadow-lg: 0 12px 40px rgba(11,34,57,0.14);
  --shadow-xl: 0 20px 60px rgba(11,34,57,0.18);
  --shadow-cyan: 0 8px 28px rgba(47,164,198,0.25);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 280ms;
  --dur-fast: 160ms;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.625rem); line-height: 1.15; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25; }
h4 { font-size: 1.125rem; line-height: 1.3; }

p { line-height: 1.7; text-wrap: pretty; }
strong { font-weight: 600; color: var(--ink); }

/* Numeric / tabular */
.num { font-family: var(--font-mono); font-feature-settings: "tnum" 1; letter-spacing: -0.01em; }
.num--serif { font-family: var(--font-serif); font-feature-settings: "tnum" 1; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--container-narrow); }

.section { padding: 96px 0; position: relative; }
.section--snow { background: var(--snow); }
.section--dark {
  background: var(--dark-3);
  color: rgba(255,255,255,0.86);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin-bottom: 18px;
}
.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.section-label--muted { color: var(--muted); }
.section-label--white { color: rgba(255,255,255,0.6); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--body-2);
  max-width: 64ch;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn--lg { padding: 16px 32px; font-size: 14px; }
.btn--sm { padding: 10px 18px; font-size: 12px; }

.btn--primary {
  background: var(--cyan);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--cyan-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-cyan);
}

.btn--navy {
  background: var(--inst);
  color: var(--white);
}
.btn--navy:hover {
  background: var(--inst-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--white {
  background: var(--white);
  color: var(--inst);
}
.btn--white:hover {
  background: var(--snow);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background: transparent;
  color: var(--inst);
  border: 1.5px solid var(--line-2);
}
.btn--outline:hover {
  border-color: var(--inst);
  color: var(--inst);
  transform: translateY(-1px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.32);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.6);
}

.btn--ghost {
  background: transparent;
  color: var(--inst);
  padding: 8px 0;
}
.btn--ghost:hover { color: var(--cyan); }
.btn--ghost .arrow { transition: transform var(--dur) var(--ease); }
.btn--ghost:hover .arrow { transform: translateX(4px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  padding: 14px 0;
}
.nav.scrolled {
  padding: 10px 0;
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(11,34,57,0.04);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav__logo { display: flex; align-items: center; }
.nav__logo img {
  height: 56px;
  width: auto;
  display: block;
  transition: height var(--dur) var(--ease);
}
.nav.scrolled .nav__logo img { height: 46px; }
@media (max-width: 760px) {
  .nav__logo img { height: 44px; }
  .nav.scrolled .nav__logo img { height: 38px; }
}

.nav__links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav__links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body);
  position: relative;
  padding: 4px 0;
  transition: color var(--dur) var(--ease);
}
.nav__links a:hover { color: var(--inst); }
.nav__links a::after {
  content: "";
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1.5px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { display: flex; align-items: center; gap: 12px; }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
}
.nav__burger:hover { background: var(--mist); }
.nav__burger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--inst);
  position: relative;
}
.nav__burger span::before,
.nav__burger span::after {
  content: ""; position: absolute; left: 0; right: 0;
  height: 1.5px; background: var(--inst);
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }

/* Mobile menu drawer */
.nav__drawer {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
  padding: 80px 24px 32px;
  display: flex; flex-direction: column;
}
.nav__drawer.open { transform: translateX(0); }
.nav__drawer ul { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.nav__drawer a {
  display: block;
  padding: 18px 8px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 140px 0 96px;
  overflow: hidden;
}

/* Variant: dark */
.hero--dark {
  background: linear-gradient(180deg, var(--dark-1) 0%, var(--dark-3) 100%);
  color: rgba(255,255,255,0.86);
}
.hero--dark h1 { color: var(--white); }
.hero--dark .lead { color: rgba(255,255,255,0.7); }

/* Variant: light editorial */
.hero--light {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

/* Variant: split */
.hero--split {
  background: var(--snow);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
.hero--split .hero__inner {
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
}
@media (max-width: 900px) {
  .hero--split .hero__inner { grid-template-columns: 1fr; gap: 48px; }
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
}
.hero--light .hero__eyebrow,
.hero--split .hero__eyebrow {
  border-color: var(--line);
  background: var(--white);
  color: var(--inst);
}
.hero__eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(47,164,198,0.15);
}

.hero h1 {
  max-width: 18ch;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--cyan);
  font-weight: 400;
}

.hero__sub {
  max-width: 56ch;
  font-size: 1.125rem;
  line-height: 1.65;
  margin-bottom: 36px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero metrics inline */
.hero__metrics {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.hero--light .hero__metrics,
.hero--split .hero__metrics { border-top-color: var(--line); }
.hero__metric .val {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 400;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.hero--light .hero__metric .val,
.hero--split .hero__metric .val { color: var(--ink); }
.hero__metric .lbl {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero--light .hero__metric .lbl,
.hero--split .hero__metric .lbl { color: var(--muted); }

/* Hero background: subtle technical pattern (dark variant) */
.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.hero__bg::before {
  content: "";
  position: absolute;
  top: -10%; right: -10%;
  width: 60%; height: 120%;
  background: radial-gradient(circle at center, rgba(47,164,198,0.18) 0%, transparent 60%);
  filter: blur(60px);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
  pointer-events: none;
}

/* Watermark shield for light hero */
.hero__watermark {
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 580px;
  opacity: 0.04;
  pointer-events: none;
}

/* ============================================================
   VERTICAL CARDS (Hero direcionador)
   ============================================================ */
.verticals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
@media (max-width: 980px) { .verticals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .verticals { grid-template-columns: 1fr; } }

.vertical-card {
  display: flex; flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: all var(--dur) var(--ease);
  overflow: hidden;
}
.hero--dark .vertical-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
}
.vertical-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.hero--dark .vertical-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(47,164,198,0.5);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(47,164,198,0.2);
}

.vertical-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--cyan-soft);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.hero--dark .vertical-card__icon {
  background: rgba(47,164,198,0.12);
  color: var(--cyan);
}
.vertical-card__icon svg { width: 22px; height: 22px; }

.vertical-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.vertical-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.hero--dark .vertical-card__title { color: var(--white); }

.vertical-card__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--body-2);
  margin-top: 4px;
}
.hero--dark .vertical-card__desc { color: rgba(255,255,255,0.6); }

.vertical-card__arrow {
  position: absolute;
  bottom: 24px; right: 24px;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--mist);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease);
  color: var(--inst);
}
.hero--dark .vertical-card__arrow { background: rgba(255,255,255,0.06); color: var(--white); }
.vertical-card:hover .vertical-card__arrow {
  background: var(--cyan);
  color: var(--white);
  transform: translate(2px, -2px);
}

/* ============================================================
   PROOF STRIP (logos clientes / metrics)
   ============================================================ */
.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 32px 0;
}
.proof-strip__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 48px;
}
@media (max-width: 720px) {
  .proof-strip__inner { grid-template-columns: 1fr; gap: 20px; }
}
.proof-strip__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 14ch;
  line-height: 1.5;
}
.proof-strip__logos {
  display: flex; align-items: center; gap: 48px;
  flex-wrap: wrap;
  font-family: var(--font-serif);
  color: var(--body-2);
}
.proof-strip__logos span {
  font-size: 1rem;
  letter-spacing: 0.04em;
  opacity: 0.7;
  transition: opacity var(--dur) var(--ease);
}
.proof-strip__logos span:hover { opacity: 1; }

/* ============================================================
   SOBRE
   ============================================================ */
.sobre {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 900px) {
  .sobre { grid-template-columns: 1fr; gap: 48px; }
}

.sobre__photo {
  position: relative;
}
.sobre__photo img {
  width: 100%;
  border-radius: var(--radius);
  filter: saturate(0.92) contrast(1.02);
}
.sobre__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(11,34,57,0.08);
  pointer-events: none;
}

.sobre__cred {
  position: absolute;
  bottom: -24px; left: -24px;
  background: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--line);
}
@media (max-width: 540px) {
  .sobre__cred { left: 12px; right: 12px; bottom: -16px; }
}
.sobre__cred .name {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--ink);
}
.sobre__cred .role {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.sobre__cred .divider {
  width: 1px; height: 32px; background: var(--line);
}
.sobre__cred .stat {
  text-align: left;
}
.sobre__cred .stat .val {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--inst);
  display: block;
}
.sobre__cred .stat .lbl {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.sobre__copy h2 { margin-bottom: 24px; }
.sobre__copy p { margin-bottom: 16px; }
.sobre__copy p:last-of-type { margin-bottom: 0; }

.sobre__quote {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--snow);
  border-left: 3px solid var(--cyan);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--inst);
}

.sobre__chips {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.chip {
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--body);
  background: var(--white);
  transition: all var(--dur) var(--ease);
}
.chip:hover { border-color: var(--cyan); color: var(--inst); }

/* ============================================================
   TAX GROUP
   ============================================================ */
.taxgroup__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .taxgroup__head { grid-template-columns: 1fr; gap: 20px; } }
.taxgroup__head h2 { max-width: 22ch; }

/* Mega metrics */
.tg-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .tg-metrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .tg-metrics { grid-template-columns: 1fr; } }

.tg-metric {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background var(--dur) var(--ease);
}
.tg-metric:last-child { border-right: none; }
.tg-metric:hover { background: var(--snow); }
@media (max-width: 900px) {
  .tg-metric:nth-child(2n) { border-right: none; }
  .tg-metric { border-bottom: 1px solid var(--line); }
}

.tg-metric .val {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  color: var(--inst);
  letter-spacing: -0.02em;
  line-height: 1.05;
  display: block;
  margin-bottom: 8px;
}
.tg-metric .val .unit {
  font-size: 0.7em;
  color: var(--cyan);
}
.tg-metric .lbl {
  font-size: 12px;
  line-height: 1.5;
  color: var(--body-2);
}

/* Pillars */
.tg-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .tg-pillars { grid-template-columns: 1fr; } }

.tg-pillar {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
}
.tg-pillar:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.tg-pillar h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--ink);
}
.tg-pillar p { font-size: 14.5px; line-height: 1.6; color: var(--body); }
.tg-pillar__icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--cyan-soft);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.tg-pillar__icon svg { width: 20px; height: 20px; }

/* Timeline */
.tg-timeline {
  margin-top: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}
@media (max-width: 720px) { .tg-timeline { padding: 28px 24px; } }
.tg-timeline h3 { margin-bottom: 28px; }
.tg-timeline__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 720px) { .tg-timeline__grid { grid-template-columns: 1fr; } }
.tg-time {
  padding: 24px 0;
  border-top: 2px solid var(--cyan);
  position: relative;
}
.tg-time::before {
  content: "";
  position: absolute;
  top: -7px; left: 0;
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--cyan);
}
.tg-time__when {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.tg-time__what {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--ink);
  line-height: 1.4;
}

/* Authority badges */
.tg-badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 24px;
}
.tg-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--body);
}
.tg-badge svg { width: 14px; height: 14px; color: var(--cyan); }

/* CTA block */
.cta-block {
  margin-top: 64px;
  padding: 48px;
  background: var(--inst);
  color: rgba(255,255,255,0.86);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px) {
  .cta-block { grid-template-columns: 1fr; padding: 32px 28px; gap: 24px; }
}
.cta-block::before {
  content: "";
  position: absolute;
  right: -20%; top: -50%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(47,164,198,0.2) 0%, transparent 50%);
  pointer-events: none;
}
.cta-block h3 { color: var(--white); margin-bottom: 12px; max-width: 24ch; }
.cta-block p { color: rgba(255,255,255,0.7); max-width: 50ch; }
.cta-block__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* CTA block alternative — outline */
.cta-block--outline {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--body);
}
.cta-block--outline h3 { color: var(--ink); }
.cta-block--outline p { color: var(--body); }
.cta-block--outline::before { display: none; }

/* CTA block alternative — cyan accent */
.cta-block--cyan {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--deep) 100%);
}
.cta-block--cyan::before { display: none; }

/* ============================================================
   BB LEILÕES (Dashboard)
   ============================================================ */
.leiloes__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
  align-items: start;
}
@media (max-width: 900px) { .leiloes__head { grid-template-columns: 1fr; gap: 32px; } }
.leiloes__head h2 { max-width: 22ch; }

.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 720px) { .problem-solution { grid-template-columns: 1fr; } }

.ps-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}
.ps-card .lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.ps-card--solution .lbl { color: var(--cyan); }
.ps-card p { font-size: 15px; line-height: 1.6; color: var(--ink); }
.ps-card--solution { border-color: rgba(47,164,198,0.3); background: var(--snow); }

/* Dashboard mockup — codificado, dark, technical */
.dash {
  background: var(--dark-3);
  border-radius: var(--radius);
  padding: 32px;
  color: rgba(255,255,255,0.86);
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px) { .dash { padding: 20px; } }

.dash__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  margin-bottom: 28px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 720px) {
  .dash__head { grid-template-columns: 1fr; align-items: start; }
}

.dash__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
}
.dash__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  display: flex; gap: 16px; flex-wrap: wrap;
}
.dash__sub span::before {
  content: "·";
  margin-right: 16px;
  color: rgba(255,255,255,0.3);
}
.dash__sub span:first-child::before { display: none; }

.dash__pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(47,164,198,0.12);
  color: var(--cyan);
  border: 1px solid rgba(47,164,198,0.32);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}
.dash__pill .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(47,164,198,0.2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.dash__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 900px) { .dash__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .dash__grid { grid-template-columns: 1fr; } }

.dash__metric {
  padding: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  transition: all var(--dur) var(--ease);
}
.dash__metric:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}
.dash__metric--accent {
  background: rgba(47,164,198,0.08);
  border-color: rgba(47,164,198,0.24);
}
.dash__metric .lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.dash__metric--accent .lbl { color: var(--cyan); }
.dash__metric .val {
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: block;
  margin-bottom: 6px;
  font-feature-settings: "tnum" 1;
}
.dash__metric--accent .val { color: var(--cyan); }
.dash__metric .sub {
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1;
}

.dash__highlight {
  margin-top: 8px;
  padding: 20px 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(47,164,198,0.16) 0%, rgba(27,95,138,0.16) 100%);
  border: 1px solid rgba(47,164,198,0.32);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
@media (max-width: 720px) {
  .dash__highlight { grid-template-columns: 1fr; gap: 12px; text-align: left; }
}
.dash__highlight .lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  white-space: nowrap;
}
.dash__highlight .val {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  color: var(--white);
  line-height: 1;
}
.dash__highlight .val .num { font-family: var(--font-serif); }
.dash__highlight .sub {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-align: right;
}
@media (max-width: 720px) {
  .dash__highlight .sub { text-align: left; }
}

/* ============================================================
   BB POSTOS
   ============================================================ */
.postos__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 900px) { .postos__inner { grid-template-columns: 1fr; gap: 40px; } }

.postos__copy h2 { margin-bottom: 24px; max-width: 18ch; }
.postos__copy p { margin-bottom: 16px; max-width: 56ch; }

.postos__list {
  margin-top: 32px;
  display: flex; flex-direction: column;
  gap: 8px;
}
.postos__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.postos__item:last-child { border-bottom: 1px solid var(--line); }
.postos__item .ic {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--cyan-soft);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.postos__item .ic svg { width: 14px; height: 14px; }
.postos__item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 2px;
  font-weight: 400;
}
.postos__item span {
  font-size: 13.5px;
  color: var(--body-2);
  line-height: 1.5;
}

/* Postos offers (right column) */
.postos__offers { display: flex; flex-direction: column; gap: 16px; }
.offer-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
}
.offer-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.offer-card .badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.offer-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.offer-card p {
  font-size: 14px;
  color: var(--body);
  margin-bottom: 16px;
}
.offer-card .link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--inst);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--dur) var(--ease);
}
.offer-card .link:hover { color: var(--cyan); }
.offer-card .link svg { transition: transform var(--dur) var(--ease); }
.offer-card .link:hover svg { transform: translateX(4px); }

/* ============================================================
   CRÉDITO
   ============================================================ */
.credito__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
@media (max-width: 900px) { .credito__inner { grid-template-columns: 1fr; gap: 40px; } }

.credito__head h2 { max-width: 22ch; }
.credito__list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 540px) { .credito__list { grid-template-columns: 1fr; } }
.credito__list .item {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.45;
  display: flex; align-items: flex-start; gap: 10px;
}
.credito__list .item::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--cyan);
  margin-top: 8px;
  flex-shrink: 0;
}

.credito__access {
  padding: 36px;
  background: var(--inst);
  color: var(--white);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.credito__access::before {
  content: "";
  position: absolute;
  right: -30%; top: -30%;
  width: 200px; height: 200px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(47,164,198,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.credito__access h3 { color: var(--white); margin-bottom: 24px; }
.credito__access .big {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.credito__access .big sup { font-size: 0.4em; color: var(--cyan); vertical-align: super; }
.credito__access .big-lbl { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 32px; }
.credito__access .institutions {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.credito__access .institution {
  padding: 6px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* ============================================================
   CASES / CLIENTES
   ============================================================ */
.cases-head { text-align: center; max-width: 56ch; margin: 0 auto 56px; }
.cases-head h2 { margin-bottom: 16px; }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cases-grid { grid-template-columns: 1fr; } }

.case-card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  min-height: 240px;
  transition: all var(--dur) var(--ease);
}
.case-card:hover { border-color: var(--cyan); box-shadow: var(--shadow); transform: translateY(-2px); }
.case-card .vertical-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.case-card h4 {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  margin-bottom: 16px;
  color: var(--ink);
  line-height: 1.35;
  flex-grow: 1;
}
.case-card .metrics {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.case-card .metric {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
}
.case-card .metric .lbl {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.case-card .metric .val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--inst);
  font-feature-settings: "tnum" 1;
}
.case-card .metric .val--cyan { color: var(--cyan); }

/* Logos carousel */
.logos-row {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-serif);
}
.logos-row .logo-text {
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--body-2);
  letter-spacing: 0.04em;
  opacity: 0.7;
  transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease);
}
.logos-row .logo-text:hover { opacity: 1; color: var(--inst); }

/* ============================================================
   CONTATO / CTA FINAL
   ============================================================ */
.contato {
  background: linear-gradient(180deg, var(--dark-1) 0%, var(--dark-3) 100%);
  color: rgba(255,255,255,0.86);
  position: relative;
  overflow: hidden;
}
.contato::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
}
.contato__inner {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.contato h2 { color: var(--white); margin-bottom: 20px; }
.contato p { color: rgba(255,255,255,0.7); margin-bottom: 36px; font-size: 1.0625rem; }
.contato__actions {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.contato__data {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex; justify-content: center; gap: 56px; flex-wrap: wrap;
}
.contato__data .item {
  display: flex; flex-direction: column; gap: 4px;
  text-align: center;
}
.contato__data .lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.contato__data .val {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--white);
  font-feature-settings: "tnum" 1;
}
.contato__data .val:hover { color: var(--cyan); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--white);
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .footer__top { grid-template-columns: 1fr; } }

.footer__brand img { height: 64px; width: auto; margin-bottom: 16px; }
.footer__brand p {
  font-size: 13.5px;
  color: var(--body-2);
  line-height: 1.6;
  max-width: 36ch;
}

.footer__col h5 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--inst);
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 13.5px;
  color: var(--body);
  transition: color var(--dur) var(--ease);
}
.footer__col a:hover { color: var(--cyan); }

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.footer__bottom .num { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.fab-whats {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 999px;
  background: #25D366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  z-index: 50;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.fab-whats:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 32px rgba(37,211,102,0.5);
}
.fab-whats svg { width: 28px; height: 28px; }
.fab-whats::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid rgba(37,211,102,0.4);
  animation: fab-pulse 2.4s ease-out infinite;
}
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .hero { padding: 110px 0 64px; }
  .nav__links { display: none; }
  .nav__cta .btn:not(.btn--primary) { display: none; }
  .nav__burger { display: flex; }
}

@media (max-width: 540px) {
  .container { padding: 0 20px; }
  .hero__metrics { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .nav, .fab-whats, .tweaks-panel { display: none !important; }
}
