/* =========================================================
   ibusiness — Escritório de Inteligência Empresarial
   Operação Comercial Enxuta · PME B2B · Igor Batista
   Paleta do site original (navy / paper). Azul = detalhe + separação.
   Tipografia: Manrope (única)
========================================================= */

:root {
  /* navy (dark sections) */
  --bg:        #0b1f3a;  /* ink */
  --bg-2:      #0a1a31;
  --bg-3:      #102441;
  --surface:   #102441;
  --surface-2: #16294a;
  --line:        rgba(250, 250, 247, 0.09);
  --line-strong: rgba(250, 250, 247, 0.18);

  /* foreground on navy */
  --fg:   #fafaf7;  /* paper */
  --fg-2: #c2c9d6;
  --fg-3: #8b99ad;
  --fg-4: #5a6b82;  /* mute */

  /* light sections */
  --bone:    #f2f1eb;  /* paper-deep */
  --bone-2:  #e6e9ef;  /* bone */
  --paper:   #fafaf7;
  --ink:     #0b1f3a;
  --ink-2:   #1b3358;
  --ink-mute:rgba(11, 31, 58, 0.72);
  --line-ink:rgba(11, 31, 58, 0.10);

  /* accent azul (detalhe) */
  --blue:      #5C86CF;  /* azul sobre navy */
  --blue-soft: #9DBDEC;
  --blue-ink:  #2c5293;  /* azul sobre paper */
  --blue-deep: #243d6a;  /* accent original */
  --glow:      rgba(92, 134, 207, 0.30);

  /* feedback (console) */
  --ok:   #2BB3A3;
  --warm: #C99A3C;
  --red:  #D45A6B;

  --radius:    18px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --ease:      cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { max-width: 100vw; overflow-x: clip; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a   { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--blue); color: #0b1f3a; }

/* ================ CONTAINER / SECTION ================ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .container { padding: 0 24px; } }

section { position: relative; }
.section-pad { padding: clamp(78px, 11vh, 150px) 0; }

/* separação de seção: filete azul sutil no topo */
.sec--light, .sec--dark { position: relative; }
.sec-divider { border-top: 1px solid var(--line); }
.sec-divider--ink { border-top: 1px solid var(--line-ink); }
.sec-mark { position: absolute; top: 0; left: 0; width: 64px; height: 2px; background: linear-gradient(90deg, var(--blue), transparent); }

/* light section base (cool light da paleta original, evita o bege quente) */
.sec--light { background: var(--bone-2); color: var(--ink); }
.sec--light .lede { color: var(--ink-mute); }
.sec--light .eyebrow { color: var(--blue-ink); }
.sec--light .eyebrow::before { background: linear-gradient(90deg, var(--blue-ink), transparent); }

/* ================ TYPOGRAPHY ================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: linear-gradient(90deg, var(--blue), transparent); }
.eyebrow--center { justify-content: center; }

h1, h2, h3 { font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; }
.display { font-size: clamp(2.5rem, 6.6vw, 5.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.99; }
.h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; }
.lede { font-size: clamp(1.04rem, 1.6vw, 1.28rem); color: var(--fg-2); line-height: 1.5; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head--center { margin: 0 auto 56px; text-align: center; }
.sec-head .lede { margin-top: 20px; }

/* ================ BUTTONS ================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 100px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  transition: transform .4s var(--ease-out), background .3s, box-shadow .4s, color .3s, border-color .3s;
  will-change: transform;
}
.btn svg { transition: transform .4s var(--ease-out); }
.btn--wa { background: var(--blue); color: #fff; box-shadow: 0 8px 26px -10px var(--glow); }
.btn--wa:hover { background: #6f97da; transform: translateY(-2px); box-shadow: 0 14px 36px -12px var(--glow); }
.btn--wa:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--fg); border: 1px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.sec--light .btn--ghost { color: var(--ink); border-color: var(--line-ink); }
.sec--light .btn--ghost:hover { border-color: var(--blue-ink); color: var(--blue-ink); }
.btn--lg { padding: 17px 30px; font-size: 16px; }

/* CTA de seção (faixa simples com botão WhatsApp) */
.sec-cta { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 56px; text-align: center; }
.sec-cta__q { font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 700; letter-spacing: -0.02em; }
.sec--light .sec-cta__q { color: var(--ink); }

/* ================ NAV ================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 11px 40px;
  background: rgba(11, 31, 58, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 32px; width: auto; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--fg-2); position: relative; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px; background: var(--blue); transition: width .35s var(--ease-out); }
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 100px; background: var(--blue); color: #fff; font-weight: 600; font-size: 14px; transition: transform .4s var(--ease-out), box-shadow .4s; }
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--glow); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--fg); border-radius: 2px; }

.mobile-menu { position: fixed; inset: 0; z-index: 200; background: var(--bg-2); padding: 24px; display: flex; flex-direction: column; gap: 8px; transform: translateY(-100%); transition: transform .5s var(--ease); visibility: hidden; }
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.mobile-menu__head img { height: 30px; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu__nav a { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu__cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px; border-radius: 100px; background: var(--blue); color: #fff; font-weight: 700; font-size: 17px; }
.mobile-menu__close { color: var(--fg); }

/* floating WhatsApp */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 18px 13px 15px; border-radius: 100px;
  background: #25D366; color: #08331b; font-weight: 700; font-size: 14.5px;
  box-shadow: 0 12px 34px -10px rgba(37,211,102,.5);
  transform: translateY(120px); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .4s, box-shadow .3s;
}
.fab.is-visible { transform: none; opacity: 1; }
.fab:hover { box-shadow: 0 16px 40px -10px rgba(37,211,102,.6); }
.fab svg { width: 22px; height: 22px; }
.fab__txt { white-space: nowrap; }
@media (max-width: 560px) { .fab__txt { display: none; } .fab { padding: 14px; } }

/* scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0%; background: linear-gradient(90deg, var(--blue-deep), var(--blue)); z-index: 150; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(30px); }

/* ============================================================
   HERO (navy)
============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 130px 0 70px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: -1px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 35%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 35%, #000 30%, transparent 78%);
}
.hero__glow { position: absolute; top: -8%; left: 50%; transform: translateX(-50%); width: 1000px; height: 620px; background: radial-gradient(ellipse at center, var(--glow), transparent 66%); filter: blur(10px); opacity: .6; }
.hero__inner { position: relative; z-index: 2; }
.hero__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.hero__loc { font-size: 12px; color: var(--fg-3); letter-spacing: 0.16em; text-transform: uppercase; }
.hero h1 { max-width: 15ch; line-height: 1.06; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.12em; }
.hero h1 .line > span { display: block; line-height: 1.06; }
.hero__strike { color: var(--fg-3); }
.hero__sub { margin-top: 28px; max-width: 56ch; font-size: clamp(1.04rem, 1.7vw, 1.3rem); color: var(--fg-2); }
.hero__sub b { color: var(--fg); }
.hero__ctas { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__founder { margin-top: 56px; display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 100px; background: var(--surface); border: 1px solid var(--line); }
.hero__founder .av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.hero__founder .who b { font-size: 13.5px; font-weight: 700; display: block; }
.hero__founder .who small { font-size: 11.5px; color: var(--fg-3); }

/* ============================================================
   CLIENTES (logo wall, light strip)
============================================================ */
.clientes { background: var(--bg-2); color: var(--fg); padding: 50px 0 54px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clientes__lbl { text-align: center; font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin-bottom: 30px; padding: 0 24px; max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.clientes__lbl b { color: var(--fg); }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; flex: none; animation: marquee 46s linear infinite; }
.clientes:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__track img { height: 34px; width: auto; max-width: 132px; margin-right: 58px; object-fit: contain; filter: brightness(0) invert(1); opacity: .55; transition: opacity .3s; }
.marquee__track img:hover { opacity: 1; }

/* ============================================================
   OPERAÇÃO — Centro de Operações (navy, signature)
============================================================ */
.ops { background: var(--bg-2); overflow: hidden; }
.ops__console {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: var(--surface); padding: 20px;
  box-shadow: 0 40px 110px -50px #000;
}
.console__bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.console__dots { display: flex; gap: 6px; }
.console__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-2); }
.console__dots i:nth-child(1){opacity:.5;background:#3a9} .console__dots i:nth-child(2){opacity:.5;background:var(--warm)} .console__dots i:nth-child(3){opacity:.5;background:var(--red)}
.console__title { font-size: 13px; color: var(--fg-3); font-weight: 600; }
.console__live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ok); }
.console__live .ping { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: ping 1.8s infinite; }
@keyframes ping { 0%{box-shadow:0 0 0 0 rgba(43,179,163,.5);} 70%{box-shadow:0 0 0 9px rgba(43,179,163,0);} 100%{box-shadow:0 0 0 0 rgba(43,179,163,0);} }

.agents { display: flex; flex-direction: column; gap: 10px; }
.agents__lbl, .feed__lbl { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-4); margin-bottom: 2px; }
.agent { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line); transition: border-color .5s, background .5s, opacity .5s; opacity: .42; }
.agent.is-live { opacity: 1; border-color: var(--line-strong); background: var(--bg-3); }
.agent__icon { width: 38px; height: 38px; border-radius: 9px; flex: none; display: grid; place-items: center; background: rgba(250,250,247,.06); color: var(--fg-2); }
.agent.is-live .agent__icon { color: var(--blue-soft); background: rgba(92,134,207,.12); }
.agent__icon svg { width: 20px; height: 20px; }
.agent__body { flex: 1; line-height: 1.25; }
.agent__body b { font-size: 14px; font-weight: 700; display: block; }
.agent__body span { font-size: 11.5px; color: var(--fg-3); }
.agent__status { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-4); display: inline-flex; align-items: center; gap: 6px; }
.agent.is-live .agent__status { color: var(--ok); }
.agent__status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.agent.is-live .agent__status i { animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }

.feed { display: flex; flex-direction: column; }
.feed__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.feed__count { font-size: 12px; color: var(--fg-3); }
.feed__count b { color: var(--blue-soft); font-variant-numeric: tabular-nums; font-size: 15px; }
.feed__list { display: flex; flex-direction: column; gap: 8px; height: 360px; overflow: hidden; mask-image: linear-gradient(180deg, transparent, #000 7%, #000 92%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 7%, #000 92%, transparent); }
.alert { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line); animation: alertIn .55s var(--ease-out) both; }
@keyframes alertIn { from { opacity: 0; transform: translateY(-12px) scale(.98); } to { opacity: 1; transform: none; } }
.alert__tag { font-size: 10px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.alert--info .alert__tag { background: rgba(92,134,207,.14); color: var(--blue-soft); }
.alert--ok   .alert__tag { background: rgba(43,179,163,.14); color: var(--ok); }
.alert--crit .alert__tag { background: rgba(212,90,107,.14); color: var(--red); }
.alert__msg { font-size: 13px; color: var(--fg); line-height: 1.35; }
.alert__msg b { font-weight: 700; }
.alert__time { font-size: 11px; color: var(--fg-4); font-variant-numeric: tabular-nums; white-space: nowrap; }

.systems { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.systems__lbl { width: 100%; text-align: center; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-4); margin-bottom: 4px; }
.systems .sys { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--fg-2); padding: 8px 14px; border-radius: 100px; border: 1px solid var(--line); background: var(--surface); }
.systems .sys i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* ============================================================
   FRENTES — cards claros (problema -> solução)
============================================================ */
.frentes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.frente {
  position: relative; display: flex; flex-direction: column;
  padding: 22px 22px 26px; border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid var(--line-ink);
  transition: transform .5s var(--ease-out), box-shadow .5s, border-color .4s;
}
.frente:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -28px rgba(11,31,58,.28); border-color: rgba(11,31,58,.16); }
.frente__head { display: flex; align-items: baseline; gap: 11px; margin-bottom: 14px; }
.frente__idx { font-size: 12px; font-weight: 800; color: var(--blue-ink); letter-spacing: 0.1em; flex: none; }

/* ---- infográfico animado por card ---- */
.viz { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; background: linear-gradient(158deg, #ffffff, var(--bone-2)); border: 1px solid var(--line-ink); overflow: hidden; margin-bottom: 20px; }
.viz__chip { position: absolute; top: 11px; right: 11px; z-index: 2; font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-ink); background: rgba(44,82,147,.10); padding: 4px 9px; border-radius: 100px; }
.viz__chip::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: middle; animation: blink 1.4s infinite; }
.viz__num { position: absolute; top: 12px; left: 14px; z-index: 2; font-size: 18px; font-weight: 800; color: var(--blue-ink); letter-spacing: -0.02em; }

/* 01 — automação (tarefas que se completam) */
.viz--ai { display: flex; flex-direction: column; justify-content: center; padding: 18px 16px; gap: 9px; }
.viz--ai .task { display: flex; align-items: center; gap: 10px; }
.viz--ai .task i { width: 17px; height: 17px; border-radius: 5px; background: var(--bone-2); border: 1px solid var(--line-ink); flex: none; animation: aiDot 3.2s var(--ease) infinite; }
.viz--ai .task .bar { flex: 1; height: 8px; border-radius: 4px; background: rgba(11,31,58,.08); overflow: hidden; }
.viz--ai .task .fill { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--blue-ink), var(--blue)); animation: aiFill 3.2s var(--ease) infinite; }
.viz--ai .task:nth-child(3) .fill, .viz--ai .task:nth-child(3) i { animation-delay: .45s; }
.viz--ai .task:nth-child(4) .fill, .viz--ai .task:nth-child(4) i { animation-delay: .9s; }
@keyframes aiFill { 0%{width:0} 34%{width:100%} 86%{width:100%} 100%{width:0} }
@keyframes aiDot { 0%,30%{background:var(--bone-2)} 40%,86%{background:var(--ok);border-color:var(--ok)} 100%{background:var(--bone-2)} }

/* 02 — CRM (card percorre o funil) */
.viz--crm .cols { position: absolute; inset: 14px 14px 26px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.viz--crm .col { background: rgba(11,31,58,.04); border: 1px solid var(--line-ink); border-radius: 8px; }
.viz--crm .kcard { position: absolute; top: 24px; width: 26%; height: 34px; border-radius: 7px; background: #fff; border: 1px solid rgba(44,82,147,.45); box-shadow: 0 7px 16px -9px rgba(11,31,58,.4); animation: crmMove 4.6s var(--ease) infinite; }
.viz--crm .lbls { position: absolute; left: 14px; right: 14px; bottom: 9px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.viz--crm .lbls span { font-size: 8.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-mute); text-align: center; }
@keyframes crmMove { 0%,14%{left:7%} 40%,52%{left:37%} 78%,90%{left:67%} 100%{left:7%} }

/* 03 — prospecção (leads entrando) */
.viz--pros { display: flex; align-items: center; padding: 14px 16px; }
.viz--pros .leads { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.viz--pros .lead { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line-ink); border-radius: 8px; padding: 8px 10px; opacity: 0; transform: translateY(-9px); animation: leadIn 4.2s var(--ease) infinite; }
.viz--pros .lead:nth-child(2){animation-delay:.5s} .viz--pros .lead:nth-child(3){animation-delay:1s}
.viz--pros .lead i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.viz--pros .lead .ln { flex: 1; height: 6px; border-radius: 3px; background: rgba(11,31,58,.10); }
.viz--pros .lead b { font-size: 8.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 3px 7px; border-radius: 5px; }
.viz--pros .lead.hot b  { color: var(--ok);   background: rgba(43,179,163,.14); }
.viz--pros .lead.warm b { color: var(--warm); background: rgba(201,154,60,.16); }
@keyframes leadIn { 0%{opacity:0;transform:translateY(-9px)} 12%{opacity:1;transform:none} 82%{opacity:1} 96%,100%{opacity:0} }

/* 04 — indicadores (barras crescendo) */
.viz--rot { display: flex; align-items: flex-end; padding: 16px; }
.viz--rot .rbars { width: 100%; display: flex; align-items: flex-end; gap: 7px; height: 58%; }
.viz--rot .rbars span { flex: 1; background: linear-gradient(180deg, var(--blue), var(--blue-ink)); border-radius: 4px 4px 0 0; transform: scaleY(.18); transform-origin: bottom; animation: barGrow 2.8s var(--ease) infinite alternate; }
.viz--rot .rbars span:nth-child(2){animation-delay:.18s} .viz--rot .rbars span:nth-child(3){animation-delay:.36s} .viz--rot .rbars span:nth-child(4){animation-delay:.54s} .viz--rot .rbars span:nth-child(5){animation-delay:.72s} .viz--rot .rbars span:nth-child(6){animation-delay:.9s}
@keyframes barGrow { from{transform:scaleY(.18)} to{transform:scaleY(1)} }

/* 05 — presença digital (site carregando + avaliação) */
.viz--site .win { position: absolute; inset: 14px; background: #fff; border: 1px solid var(--line-ink); border-radius: 9px; overflow: hidden; display: flex; flex-direction: column; }
.viz--site .win__bar { display: flex; align-items: center; gap: 5px; padding: 7px 9px; border-bottom: 1px solid var(--line-ink); }
.viz--site .win__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--bone-2); }
.viz--site .win__bar .url { margin-left: 6px; flex: 1; max-width: 58%; height: 7px; border-radius: 4px; background: rgba(11,31,58,.08); }
.viz--site .win__body { position: relative; flex: 1; padding: 13px; }
.viz--site .ld { position: absolute; top: 0; left: 0; height: 3px; width: 0; background: var(--blue); animation: siteLoad 3.8s var(--ease) infinite; }
.viz--site .lines { display: flex; flex-direction: column; gap: 7px; opacity: 0; animation: siteShow 3.8s var(--ease) infinite; }
.viz--site .lines span { height: 7px; border-radius: 4px; background: rgba(11,31,58,.10); }
.viz--site .lines span:nth-child(1){width:78%} .viz--site .lines span:nth-child(2){width:52%}
.viz--site .stars { margin-top: 11px; color: var(--warm); font-size: 14px; letter-spacing: 3px; opacity: 0; animation: siteShow 3.8s var(--ease) infinite; }
@keyframes siteLoad { 0%{width:0} 30%{width:100%} 92%{width:100%} 100%{width:0} }
@keyframes siteShow { 0%,28%{opacity:0} 42%{opacity:1} 92%{opacity:1} 100%{opacity:0} }

.frente__name { font-size: 1.24rem; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 0; }
.frente__block { margin-bottom: 13px; }
.frente__k { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 7px; }
.frente__k.pain { color: var(--red); }
.frente__k.fix  { color: var(--ok); }
.frente__k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.frente__pain { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.frente__fix  { font-size: 15px; font-weight: 500; color: var(--ink-2); line-height: 1.55; }
.frente__tags { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.frente__tags span { font-size: 11px; font-weight: 600; color: var(--blue-ink); background: rgba(44,82,147,.08); padding: 4px 10px; border-radius: 100px; }

/* ============================================================
   CASES — parede de imagens reais (light)
============================================================ */
.casos__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.casos__head h2 { color: var(--ink); max-width: 18ch; }
.casos__honest { font-size: 13px; color: var(--ink-mute); max-width: 30ch; line-height: 1.5; padding-left: 16px; border-left: 2px solid var(--blue-ink); }

/* highlights de reestruturação (sem imagem) */
.casos__highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 44px; }
.hl { padding: 26px 26px 24px; border-radius: var(--radius); background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.hl::after { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 3px; background: var(--blue); }
.hl__num { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.hl__num .u { color: var(--blue-soft); }
.hl__lbl { margin-top: 10px; font-size: 14px; font-weight: 700; }
.hl__seg { margin-top: 4px; font-size: 12.5px; color: var(--fg-3); }

/* grupos por categoria (dá sentido: o que é cada coisa) */
.casos__group { margin-bottom: 52px; }
.casos__group:last-child { margin-bottom: 0; }
.casos__group-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 15px; border-bottom: 1px solid var(--line-ink); }
.casos__group-head .gidx { font-size: 12px; font-weight: 800; color: var(--blue-ink); letter-spacing: 0.1em; }
.casos__group-head h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 800; letter-spacing: -0.025em; color: var(--ink); }
.casos__group-head p { flex: 1; min-width: 220px; font-size: 14px; color: var(--ink-mute); line-height: 1.45; }
.casos__group-head .count { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-ink); white-space: nowrap; }

.casos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { background: var(--paper); border: 1px solid var(--line-ink); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease-out), box-shadow .5s, border-color .4s; }
.case:hover { transform: translateY(-6px); box-shadow: 0 30px 56px -30px rgba(11,31,58,.30); border-color: rgba(11,31,58,.18); }
.case__shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0a1a31; border-bottom: 1px solid var(--line-ink); }
.case__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; will-change: transform; }
.case__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
/* PARA QUEM foi */
.case__for { display: flex; flex-direction: column; gap: 2px; }
.case__client-name { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.case__seg-txt { font-size: 12.5px; font-weight: 600; color: var(--blue-ink); letter-spacing: 0.01em; }
/* O QUE aconteceu */
.case__metric { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.18; color: var(--ink); }
.case__desc { font-size: 14.5px; color: var(--ink-mute); line-height: 1.5; }
.case__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-ink); }
.case__verify { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-ink); display: inline-flex; align-items: center; gap: 5px; }
.case__verify svg { width: 13px; height: 13px; }

/* ============================================================
   NÚMEROS (navy)
============================================================ */
.numeros__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.numeros__cell { background: var(--bg); padding: 38px 28px; }
.numeros__num { font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.numeros__num .u { color: var(--blue); }
.numeros__lbl { margin-top: 12px; font-size: 13.5px; color: var(--fg-3); line-height: 1.4; }

/* ============================================================
   FUNDADOR (navy)
============================================================ */
.fundador { background: var(--bg-2); }
.fundador__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.fundador__photo { position: relative; aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); }
.fundador__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.fundador__badge { position: absolute; left: 18px; bottom: 18px; background: rgba(11,31,58,.72); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 14px; padding: 11px 15px; }
.fundador__badge b { font-size: 15px; font-weight: 800; display: block; }
.fundador__badge span { font-size: 12px; color: var(--fg-3); }
.fundador__body h2 { margin-bottom: 20px; }
.fundador__body h2 em { color: var(--blue); font-style: normal; }
.fundador__body p { color: var(--fg-2); font-size: 16px; margin-bottom: 16px; max-width: 52ch; }
.fundador__creds { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0; }
.fundador__creds span { font-size: 12.5px; font-weight: 600; color: var(--fg-2); padding: 8px 14px; border: 1px solid var(--line); border-radius: 100px; background: var(--surface); }
.fundador__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.fundador__social { display: flex; gap: 14px; }
.fundador__social a { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--fg-2); transition: color .3s; }
.fundador__social a:hover { color: var(--blue); }
.fundador__social svg { width: 18px; height: 18px; }

/* ============================================================
   GRUPO FB CONSULT (destaque institucional — light, sem box)
============================================================ */
.fbgroup { overflow: hidden; }
.fbgroup__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.fbgroup__logo { display: block; height: clamp(44px, 6vw, 64px); width: auto; margin: 8px auto 0; }
.fbgroup h2 { color: var(--ink); font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-top: 28px; }
.fbgroup h2 em { color: var(--blue-ink); font-style: normal; }
.fbgroup p { color: var(--ink-mute); max-width: 60ch; margin: 22px auto 0; font-size: clamp(1.02rem, 1.5vw, 1.16rem); }
.fbgroup__pills { margin-top: 32px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.fbgroup__pills span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 9px 16px; border: 1px solid var(--line-ink); border-radius: 100px; background: var(--paper); }
.fbgroup__pills span b { color: var(--blue-ink); }
.fbgroup__cta { margin-top: 34px; display: flex; justify-content: center; }

/* ============================================================
   CTA FINAL (navy)
============================================================ */
.cta { text-align: center; overflow: hidden; }
.cta__wrap { position: relative; max-width: 880px; margin: 0 auto; }
.cta__glow { position: absolute; inset: -40% -20% auto; height: 560px; background: radial-gradient(ellipse at center, var(--glow), transparent 62%); pointer-events: none; opacity: .7; }
.cta h2 { font-size: clamp(2.1rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; position: relative; }
.cta h2 em { color: var(--blue); font-style: normal; }
.cta p { margin: 24px auto 0; max-width: 52ch; color: var(--fg-2); font-size: 1.08rem; position: relative; }
.cta__ctas { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta__note { margin-top: 22px; font-size: 13px; color: var(--fg-4); position: relative; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 66px 0 30px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.footer__brand img { height: 32px; margin-bottom: 16px; }
.footer__brand p { color: var(--fg-3); font-size: 14px; max-width: 40ch; }
.footer__assoc { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--fg-4); }
.footer__assoc img { height: 22px; filter: brightness(0) invert(1); opacity: .8; }
.footer__col .lbl { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-4); margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 14px; color: var(--fg-2); transition: color .3s; }
.footer__col a:hover { color: var(--blue); }
.footer__bottom { padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bottom span, .footer__bottom a { font-size: 12.5px; color: var(--fg-4); }
.footer__bottom a { color: var(--fg-2); font-weight: 600; }
.footer__bottom a:hover { color: var(--blue); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1000px) {
  .ops__console { grid-template-columns: 1fr; }
  .frentes__grid { grid-template-columns: repeat(2, 1fr); }
  .fundador__grid { grid-template-columns: 1fr; gap: 34px; }
  .fundador__photo { max-width: 360px; }
  .casos__highlights { grid-template-columns: 1fr; }
  .casos__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav { padding: 14px 22px; }
  .nav.is-scrolled { padding: 11px 22px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .numeros__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  .frentes__grid { grid-template-columns: 1fr; }
  .casos__grid { grid-template-columns: 1fr; }

  /* foco no scroll: o box central em destaque, o resto recua (mobile) */
  .focus-mode .frente, .focus-mode .case { transition: opacity .45s var(--ease), transform .5s var(--ease); will-change: opacity, transform; }
  .focus-mode .frente:not(.is-focus), .focus-mode .case:not(.is-focus) { opacity: .32; transform: scale(.92); }
  .focus-mode .frente.is-focus, .focus-mode .case.is-focus { opacity: 1; transform: scale(1); }
}
@media (max-width: 560px) {
  .numeros__grid { grid-template-columns: 1fr; }
  .feed__list { height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none !important; }
}

/* =======================================================
   TRC INTELIGENTE — adições sobre o design system ibusiness
======================================================= */

/* hero: pílulas dos 3 pilares (capa do deck) */
.hero__pills { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__pills span {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: 100px;
  font-size: 14px; font-weight: 600; color: var(--fg);
  background: linear-gradient(180deg, var(--blue-deep), #1c3158);
  border: 1px solid var(--line-strong);
}
.hero__pills span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-soft); box-shadow: 0 0 10px var(--blue); }

/* eyebrow da loc no hero — TRC */
.hero__seg { margin-top: 8px; color: var(--fg-3); font-size: 13.5px; letter-spacing: .01em; }

/* ============ DORES ============ */
.dores__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dor {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px; position: relative; overflow: hidden;
  color: var(--fg);
}
.dor h3 { color: var(--fg); }
.dor::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(180deg, var(--red), transparent); opacity: .8; }
.dor__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(212,90,107,.12); color: var(--red); margin-bottom: 18px; }
.dor__icon svg { width: 22px; height: 22px; }
.dor h3 { font-size: 1.04rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.dor p { margin-top: 10px; font-size: .93rem; line-height: 1.55; color: var(--fg-3); }

/* ============ FUNDADORES (dois) ============ */
.founders__grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.founder {
  display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px;
}
.founder__ph { aspect-ratio: 1; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); }
.founder__ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.founder__name { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.founder__role { margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--blue-soft); text-transform: uppercase; letter-spacing: .08em; }
.founder__bio { margin-top: 14px; font-size: .9rem; line-height: 1.6; color: var(--fg-2); }
.founder__bio + .founder__bio { margin-top: 10px; }

/* capacidades: screenshot inteiro (slide do deck), sem cortar texto */
.case__shot--full { aspect-ratio: 16 / 9; background: #0a1a31; }
.case__shot--full img { object-fit: contain; }

@media (max-width: 920px) {
  .dores__grid { grid-template-columns: 1fr 1fr; }
  .founders__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .dores__grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 110px 1fr; gap: 16px; padding: 20px; }
}

/* CTA final — linha de contatos */
.cta__contacts { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.cta__contacts a {
  font-size: 13.5px; font-weight: 600; color: var(--fg-2);
  display: inline-flex; align-items: center; gap: 8px; transition: color .25s;
}
.cta__contacts a:hover { color: var(--blue-soft); }
.cta__contacts a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
