/* =========================================================
   FBSJ Tecnologia — estilos do site institucional
   Paleta: navy #0B1E3C · azul #007BFF · ciano #00D4FF · branco
   ========================================================= */
:root {
  --navy: #0B1E3C;
  --navy-900: #06122A;
  --navy-800: #0A1A35;
  --navy-700: #12284D;
  --blue: #007BFF;
  --cyan: #00D4FF;
  --white: #FFFFFF;
  --gray-100: #EEF2F8;
  --gray-300: #B8C4D9;
  --gray-400: #8A9AB6;
  --gray-600: #4A5A78;
  --text: #0E1B33;
  --text-soft: #4A5A78;
  --grad: linear-gradient(120deg, var(--blue), var(--cyan));
  --glass: rgba(255,255,255,.06);
  --glass-border: rgba(255,255,255,.12);
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 30px 80px -30px rgba(0, 40, 120, .45);
  --container: 1200px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22,.8,.24,1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", var(--font);
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; font-size: 1rem; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* Barra de progresso de rolagem */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Botões ---------- */
.btn { --pad: 14px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: var(--pad); border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s; font-family: var(--font); white-space: nowrap; }
.btn--lg { --pad: 16px 30px; font-size: 1.02rem; }
.btn--sm { --pad: 10px 18px; font-size: .9rem; }
.btn--primary { background: var(--grad); color: var(--white); box-shadow: 0 10px 30px -10px rgba(0,123,255,.7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(0,180,255,.8); }
.btn--glass { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.12); border-color: rgba(0,212,255,.6); transform: translateY(-2px); }

/* ---------- Cabeçalho ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); transition: background .4s var(--ease), box-shadow .4s, height .4s var(--ease), backdrop-filter .4s; }
.nav.is-scrolled { background: rgba(8, 20, 42, .78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 20px 40px -30px rgba(0,0,0,.6); --nav-h: 66px; }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,212,255,.35), 0 0 24px rgba(0,212,255,.25); }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.brand__name span { font-weight: 500; color: var(--cyan); }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu a:not(.btn) { color: rgba(255,255,255,.78); text-decoration: none; font-size: .94rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; position: relative; transition: color .25s, background .25s; }
.nav__menu a:not(.btn):hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav__menu a.is-active { color: var(--white); }
.nav__menu a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 16px; height: 2px; border-radius: 2px; background: var(--grad); transform: translateX(-50%); }
.nav__cta { margin-left: 10px; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); cursor: pointer; position: relative; z-index: 110; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease); }
.nav__toggle span:nth-child(1) { top: 15px; } .nav__toggle span:nth-child(2) { top: 22px; } .nav__toggle span:nth-child(3) { top: 29px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: var(--white); background: radial-gradient(1200px 700px at 75% 20%, #12306a 0%, transparent 60%), radial-gradient(900px 600px at 10% 90%, #0c2a5c 0%, transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy) 60%, var(--navy-800)); padding: calc(var(--nav-h) + 40px) 0 90px; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero__grid { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(0,212,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,212,255,.06) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%); }
.hero__light { position: absolute; border-radius: 50%; filter: blur(90px); z-index: -2; pointer-events: none; }
.hero__light--a { width: 520px; height: 520px; right: -80px; top: 6%; background: rgba(0,123,255,.45); animation: drift 14s ease-in-out infinite alternate; }
.hero__light--b { width: 380px; height: 380px; right: 22%; bottom: -120px; background: rgba(0,212,255,.28); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(-40px, 30px, 0) scale(1.08); } }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 500; letter-spacing: .04em; color: var(--gray-300); padding: 8px 16px 8px 12px; border-radius: 999px; border: 1px solid rgba(0,212,255,.25); background: rgba(0,212,255,.06); margin-bottom: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(0,212,255,.6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(0,212,255,.6); } 80%,100% { box-shadow: 0 0 0 10px rgba(0,212,255,0); } }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin-bottom: 22px; }
.hero__sub { font-size: clamp(1.05rem, .95rem + .45vw, 1.28rem); color: var(--gray-300); max-width: 34ch; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; color: var(--gray-400); font-size: .88rem; }
.hero__tags li { display: inline-flex; align-items: center; gap: 8px; }
.hero__tags li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 14px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: var(--cyan); transform: translateX(-50%); animation: scrolly 1.8s ease-in-out infinite; }
@keyframes scrolly { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* Composição 3D: pilha de arquitetura */
.hero__art { position: relative; height: 520px; perspective: 1400px; }
.stack { position: absolute; left: 50%; top: 50%; width: 400px; height: 420px; transform: translate(-50%, -50%) rotateX(56deg) rotateZ(-38deg); transform-style: preserve-3d; transition: transform .2s linear; }
.layer { position: absolute; left: 0; width: 400px; height: 220px; border-radius: 26px; border: 1px solid rgba(0,212,255,.35); background: linear-gradient(135deg, rgba(0,123,255,.22), rgba(0,212,255,.06)); box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 40px 80px -20px rgba(0,30,90,.8), 0 0 40px rgba(0,180,255,.15); backdrop-filter: blur(4px); padding: 22px; }
.layer--ui { top: -40px; transform: translateZ(150px); animation: float-a 7s ease-in-out infinite; }
.layer--api { top: 100px; transform: translateZ(60px); animation: float-b 7s ease-in-out infinite; }
.layer--data { top: 240px; transform: translateZ(-30px); animation: float-c 7s ease-in-out infinite; }
@keyframes float-a { 50% { transform: translateZ(168px); } }
@keyframes float-b { 50% { transform: translateZ(74px); } }
@keyframes float-c { 50% { transform: translateZ(-20px); } }
.layer__label { font-family: var(--font-mono); font-size: 13px; color: var(--cyan); letter-spacing: .02em; }
.layer__ui { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.layer__ui i { height: 46px; border-radius: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); }
.layer__ui b { grid-column: 1 / -1; height: 70px; border-radius: 12px; background: linear-gradient(90deg, rgba(0,123,255,.45), rgba(0,212,255,.25)); }
.layer__nodes { margin-top: 30px; display: flex; justify-content: space-around; }
.layer__nodes em { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle, var(--cyan), rgba(0,123,255,.4)); box-shadow: 0 0 24px rgba(0,212,255,.8); animation: glow 2.6s ease-in-out infinite; }
.layer__nodes em:nth-child(2) { animation-delay: .4s; } .layer__nodes em:nth-child(3) { animation-delay: .8s; } .layer__nodes em:nth-child(4) { animation-delay: 1.2s; }
@keyframes glow { 50% { box-shadow: 0 0 40px rgba(0,212,255,1); transform: scale(1.08); } }
.layer__db { margin-top: 22px; display: flex; gap: 22px; justify-content: center; }
.layer__db u { width: 76px; height: 96px; border-radius: 40px / 14px; background: linear-gradient(180deg, rgba(0,212,255,.45), rgba(0,123,255,.2)); border: 1px solid rgba(0,212,255,.5); }
.stack__beams { position: absolute; inset: 0; width: 400px; height: 420px; transform: translateZ(60px); overflow: visible; }
.stack__beams path { stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 6 12; fill: none; opacity: .7; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -36; } }
.glass { position: absolute; color: var(--white); background: rgba(10, 30, 66, .55); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); transition: transform .2s linear; }
.glass--code { right: -10px; top: 6%; width: 300px; font-size: 12.5px; }
.glass__bar, .term__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--font-mono); font-size: 11px; color: var(--gray-400); }
.glass__bar i, .term__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; } .glass__bar i:nth-child(2), .term__bar i:nth-child(2) { background: #febc2e; } .glass__bar i:nth-child(3), .term__bar i:nth-child(3) { background: #28c840; }
.glass__bar span, .term__bar span { margin-left: 8px; }
.glass pre { margin: 0; padding: 14px 16px 16px; font-family: var(--font-mono); line-height: 1.6; color: #d6e4ff; white-space: pre; overflow: hidden; }
.k { color: #6cb6ff; } .t { color: var(--cyan); } .c { color: #6b7fa3; }
.glass--status { left: 0; bottom: 14%; display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.glass--status b { display: block; font-size: .92rem; } .glass--status small { color: var(--gray-300); font-family: var(--font-mono); font-size: .75rem; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #2ee59d; box-shadow: 0 0 0 0 rgba(46,229,157,.6); animation: ping 2s infinite; }
.glass--sync { right: 4%; bottom: 4%; padding: 14px 18px; }
.glass--sync small { color: var(--gray-300); font-size: .75rem; }
.sync { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .8rem; margin-bottom: 4px; }
.sync__line { position: relative; width: 70px; height: 2px; background: rgba(255,255,255,.15); overflow: hidden; border-radius: 2px; }
.sync__line::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--grad); animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- Seções ---------- */
.section { padding: clamp(80px, 9vw, 130px) 0; position: relative; }
.section--deep { background: linear-gradient(180deg, var(--navy), var(--navy-800)); color: var(--white); }
.section--deep .lead, .section--deep p { color: var(--gray-300); }
.section__head { max-width: 760px; margin-bottom: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; font-weight: 500; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.section--deep .eyebrow, .impact .eyebrow, .contact .eyebrow { color: var(--cyan); }
.lead { font-size: clamp(1.02rem, .96rem + .3vw, 1.16rem); color: var(--text-soft); }

/* Sobre */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.about__copy > p { color: var(--text-soft); font-size: 1.04rem; }
.about__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about__list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--gray-100); border: 1px solid #e1e8f3; transition: transform .3s var(--ease), box-shadow .3s; }
.about__list li:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -24px rgba(0,60,160,.5); }
.about__list li:last-child { grid-column: 1 / -1; }
.about__list .ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--cyan); font-weight: 700; font-size: 1rem; }
.about__list b { display: block; font-family: var(--font-display); font-size: .98rem; color: var(--navy); }
.about__list small { color: var(--text-soft); font-size: .88rem; }
.about__art { display: grid; place-items: center; }
.orbit { position: relative; width: min(100%, 440px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #12306a 0%, var(--navy) 55%, var(--navy-900) 100%); box-shadow: var(--shadow), inset 0 0 80px rgba(0,180,255,.25); display: grid; place-items: center; overflow: hidden; }
.orbit::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,212,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0,212,255,.08) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(circle, #000 40%, transparent 72%); -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 72%); }
.orbit__core { position: relative; z-index: 2; width: 34%; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 60px rgba(0,212,255,.55); }
.orbit__core img { width: 100%; height: 100%; border-radius: 50%; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(0,212,255,.4); animation: spin 40s linear infinite; }
.orbit__ring--1 { inset: 22%; } .orbit__ring--2 { inset: 8%; animation-duration: 60s; animation-direction: reverse; }
.orbit__ring span { position: absolute; padding: 6px 12px; border-radius: 999px; font-size: .74rem; font-weight: 600; color: var(--white); background: rgba(0,123,255,.35); border: 1px solid rgba(0,212,255,.5); backdrop-filter: blur(6px); white-space: nowrap; animation: spin 40s linear infinite reverse; }
.orbit__ring--2 span { animation-duration: 60s; animation-direction: normal; }
.orbit__ring--1 span:nth-child(1) { top: -14px; left: 50%; margin-left: -40px; } .orbit__ring--1 span:nth-child(2) { bottom: -14px; left: 50%; margin-left: -44px; }
.orbit__ring--2 span:nth-child(1) { top: 18%; left: -10px; } .orbit__ring--2 span:nth-child(2) { top: 22%; right: -26px; } .orbit__ring--2 span:nth-child(3) { bottom: 4%; left: 34%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Serviços: cards com borda iluminada */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { --mx: 50%; --my: 0%; position: relative; padding: 32px 28px 28px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.09); display: flex; flex-direction: column; transition: transform .45s var(--ease), border-color .3s; overflow: hidden; isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0,212,255,.16), transparent 45%); opacity: 0; transition: opacity .4s; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(0,212,255,.9), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { transform: translateY(-6px); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0,123,255,.3), rgba(0,212,255,.12)); border: 1px solid rgba(0,212,255,.35); margin-bottom: 22px; box-shadow: 0 0 30px -6px rgba(0,212,255,.45); }
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { color: var(--white); font-size: 1.2rem; }
.card p { font-size: .96rem; }
.card__benefit { padding: 12px 14px; border-radius: 12px; background: rgba(0,212,255,.06); border-left: 2px solid var(--cyan); font-size: .9rem !important; }
.card__benefit b { color: var(--white); }
.card__link { margin-top: auto; padding-top: 8px; color: var(--cyan); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.card__link span { transition: transform .3s var(--ease); }
.card__link:hover span { transform: translateX(5px); }

/* Impacto */
.impact { position: relative; padding: clamp(90px, 10vw, 150px) 0; color: var(--white); background: radial-gradient(900px 500px at 80% 50%, rgba(0,123,255,.28), transparent 60%), radial-gradient(600px 400px at 10% 10%, rgba(0,212,255,.12), transparent 60%), var(--navy-900); overflow: hidden; }
.impact::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(0,212,255,.25) 1px, transparent 1.4px); background-size: 28px 28px; mask-image: linear-gradient(90deg, transparent, #000 50%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%, transparent); opacity: .5; }
.impact__inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.impact h2 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.2rem); }
.impact .lead { color: var(--gray-300); }
.diagram { position: relative; padding-bottom: 70px; }
.diagram__svg { width: 100%; height: auto; overflow: visible; }
.diagram__links path { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 2; }
.diagram__flow path { fill: none; stroke: url(#lg); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 14 220; animation: flow 3s linear infinite; filter: drop-shadow(0 0 6px rgba(0,212,255,.9)); }
.diagram__flow path:nth-child(2) { animation-delay: .5s; } .diagram__flow path:nth-child(3) { animation-delay: 1s; } .diagram__flow path:nth-child(4) { animation-delay: 1.5s; } .diagram__flow path:nth-child(5) { animation-delay: 2s; }
@keyframes flow { from { stroke-dashoffset: 234; } to { stroke-dashoffset: 0; } }
.diagram__nodes rect { fill: rgba(12, 32, 70, .9); stroke: rgba(0,212,255,.45); stroke-width: 1.2; }
.diagram__nodes text { fill: var(--white); font-family: var(--font-display); font-size: 15px; font-weight: 600; text-anchor: middle; }
.diagram__nodes .hub rect { fill: url(#lg); stroke: none; filter: drop-shadow(0 0 22px rgba(0,180,255,.7)); }
.diagram__nodes .hub text { font-size: 20px; font-weight: 800; }
.diagram__nodes .hub text.sub { font-family: var(--font-mono); font-size: 11px; font-weight: 500; }
.term { position: absolute; right: 0; bottom: -20px; width: 250px; background: rgba(6, 18, 42, .85); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.term__lines { list-style: none; margin: 0; padding: 12px 16px 14px; font-family: var(--font-mono); font-size: 12px; color: #cfe0ff; }
.term__lines li { opacity: 0; transform: translateY(6px); }
.is-visible .term__lines li { animation: line-in .5s var(--ease) forwards; }
.is-visible .term__lines li:nth-child(2) { animation-delay: .5s; } .is-visible .term__lines li:nth-child(3) { animation-delay: 1s; } .is-visible .term__lines li:nth-child(4) { animation-delay: 1.5s; }
@keyframes line-in { to { opacity: 1; transform: none; } }
.ok { color: #2ee59d; margin-right: 6px; }

/* Metodologia */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline__line { position: absolute; left: 4%; right: 4%; top: 34px; height: 2px; background: #e1e8f3; border-radius: 2px; }
.timeline__line span { display: block; height: 100%; background: var(--grad); border-radius: 2px; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .2s linear; box-shadow: 0 0 12px rgba(0,212,255,.7); }
.step { position: relative; padding-top: 0; }
.step__n { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 22px; background: var(--white); border: 1px solid #dbe4f2; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--blue); margin-bottom: 22px; box-shadow: 0 16px 34px -20px rgba(0,60,160,.6); transition: background .4s, color .4s, border-color .4s; }
.step.is-visible .step__n { background: var(--navy); color: var(--cyan); border-color: var(--navy); }
.step h3 { color: var(--navy); font-size: 1.25rem; }
.step p { color: var(--text-soft); }

/* Tecnologias */
.tech { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.tech li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 22px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); transition: transform .35s var(--ease), border-color .3s, background .3s; }
.tech li:hover { transform: translateY(-4px); border-color: rgba(0,212,255,.45); background: rgba(0,212,255,.06); }
.tech__ico { display: grid; place-items: center; min-width: 52px; height: 52px; padding: 0 10px; border-radius: 14px; margin-bottom: 12px; font-family: var(--font-mono); font-weight: 600; font-size: .95rem; color: var(--white); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 55%, transparent), color-mix(in srgb, var(--c) 15%, transparent)); border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); }
.tech b { color: var(--white); font-family: var(--font-display); }
.tech small { color: var(--gray-400); font-size: .84rem; }

/* Portfólio */
.portfolio { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid #e3eaf5; box-shadow: 0 30px 60px -40px rgba(0,40,120,.5); transition: transform .45s var(--ease), box-shadow .45s; }
.project:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(0,60,160,.65); }
.project figure { margin: 0; background: var(--navy); overflow: hidden; aspect-ratio: 1200 / 760; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover img { transform: scale(1.04); }
.project__body { padding: 24px 26px 26px; }
.project h3 { color: var(--navy); font-size: 1.22rem; margin-top: 12px; }
.project p { color: var(--text-soft); font-size: .96rem; }
.project__stack { font-family: var(--font-mono); font-size: .8rem !important; color: var(--blue) !important; margin: 0; }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: rgba(0,123,255,.08); border: 1px solid rgba(0,123,255,.2); padding: 4px 10px; border-radius: 999px; }

/* Diferenciais */
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.features li { padding: 34px 30px; background: var(--navy); position: relative; transition: background .4s; }
.features li:hover { background: #0e2550; }
.features li::before { content: ""; display: block; width: 34px; height: 3px; border-radius: 3px; background: var(--grad); margin-bottom: 20px; transition: width .4s var(--ease); }
.features li:hover::before { width: 60px; }
.features b { display: block; font-family: var(--font-display); font-size: 1.12rem; color: var(--white); margin-bottom: 8px; }
.features p { margin: 0; font-size: .95rem; }

/* CTA */
.cta { position: relative; padding: clamp(90px, 10vw, 140px) 0; text-align: center; color: var(--white); background: var(--navy-900); overflow: hidden; isolation: isolate; }
.cta__glow { position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0,123,255,.35) 60deg, transparent 120deg, rgba(0,212,255,.3) 220deg, transparent 300deg); filter: blur(60px); animation: spin 22s linear infinite; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, transparent 30%, var(--navy-900) 75%); }
.cta h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); max-width: 18ch; margin-inline: auto; }
.cta p { color: var(--gray-300); font-size: 1.12rem; max-width: 56ch; margin: 0 auto 36px; }

/* Contato */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.contact__info .lead { margin-bottom: 30px; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact__list li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; border: 1px solid #e3eaf5; background: var(--gray-100); }
.contact__ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--cyan); font-size: 1.1rem; }
.contact__list small { display: block; color: var(--gray-600); font-size: .8rem; font-weight: 500; }
.contact__list a, .contact__list p { color: var(--navy); font-weight: 600; text-decoration: none; margin: 0; word-break: break-word; }
.contact__list a:hover { color: var(--blue); }
.form { padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--navy), var(--navy-900)); color: var(--white); box-shadow: var(--shadow); border: 1px solid rgba(0,212,255,.18); }
.form h3 { font-size: 1.5rem; margin-bottom: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: .86rem; font-weight: 500; color: var(--gray-300); margin-bottom: 14px; }
.form input, .form select, .form textarea { width: 100%; margin-top: 6px; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: var(--white); font: inherit; font-size: 1rem; transition: border-color .25s, background .25s, box-shadow .25s; }
.form select option { color: var(--navy); }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan); background: rgba(0,212,255,.06); box-shadow: 0 0 0 4px rgba(0,212,255,.12); }
.form .is-invalid { border-color: #ff6b81; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form__msg { min-height: 1.4em; font-size: .92rem; margin: 4px 0 10px; }
.form__msg.ok { color: #2ee59d; } .form__msg.err { color: #ff8a9a; }
.form__note { font-size: .8rem; color: var(--gray-400); margin: 16px 0 0; }
.form__note a { color: var(--cyan); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Rodapé */
.footer { background: var(--navy-900); color: var(--gray-300); padding: 80px 0 30px; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 18px; font-family: var(--font-display); }
.footer a { display: block; color: var(--gray-300); text-decoration: none; margin-bottom: 10px; transition: color .25s; word-break: break-word; }
.footer a:hover { color: var(--cyan); }
.footer__brand p { margin: 18px 0 20px; max-width: 40ch; }
.footer .brand { margin: 0; display: inline-flex; }
.social { display: inline-grid !important; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.footer__bottom { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding-top: 26px; font-size: .85rem; color: var(--gray-400); }
.footer__bottom p { grid-column: 1; grid-row: 1; margin: 0; }
.footer__bottom a { grid-column: 2; grid-row: 1; display: inline; margin: 0; }
.footer__visitas { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; justify-content: flex-start; gap: 6px; width: fit-content; padding: 5px 8px; border: 1px solid rgba(184,196,217,.12); border-radius: 999px; background: rgba(255,255,255,.025); color: rgb(184,196,217); font-family: Inter, sans-serif; font-size: 11px; line-height: 1.35; opacity: .68; white-space: nowrap; }
.footer__visitas svg { flex: 0 0 13px; width: 13px; height: 13px; }
.footer__visitas strong { color: inherit; font-weight: 600; }
.footer__visitas[hidden] { display: none !important; }
@media (max-width: 640px) {
  .footer__bottom { grid-template-columns: 1fr; }
  .footer__bottom p { grid-column: 1; grid-row: 1; }
  .footer__bottom a { grid-column: 1; grid-row: 2; }
  .footer__visitas { grid-column: 1; grid-row: 3; white-space: normal; }
}

/* Botão flutuante WhatsApp */
.wa-float { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 90; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: var(--white); box-shadow: 0 14px 30px -8px rgba(37,211,102,.7); transition: transform .3s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: wa 2.4s ease-out infinite; }
@keyframes wa { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.wa-float svg { width: 32px; height: 32px; fill: currentColor; }
.wa-float:hover { transform: scale(1.08); }

/* Animação de entrada (scroll reveal) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (min-width: 1800px) {
  :root { --container: 1360px; }
  .hero__art { height: 600px; }
}
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 20px; }
  .hero__copy { text-align: center; margin-inline: auto; max-width: 720px; }
  .hero__sub { margin-inline: auto; }
  .hero__cta, .hero__tags, .kicker { justify-content: center; }
  .hero__art { height: 440px; max-width: 620px; width: 100%; margin: 10px auto 0; }
  .stack { width: 340px; height: 360px; }
  .layer { width: 340px; height: 190px; }
  .stack__beams { width: 340px; }
  .impact__inner, .about, .contact { grid-template-columns: 1fr; gap: 50px; }
  .about__art { order: 2; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu { position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); height: 100dvh; flex-direction: column; align-items: stretch; gap: 4px; padding: calc(var(--nav-h) + 20px) 24px 30px; background: rgba(6, 18, 42, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-left: 1px solid rgba(0,212,255,.15); transform: translateX(100%); transition: transform .5s var(--ease); box-shadow: -30px 0 60px rgba(0,0,0,.4); }
  .nav.is-open .nav__menu { transform: none; }
  .nav__menu a:not(.btn) { font-size: 1.1rem; padding: 14px 16px; border-radius: 14px; opacity: 0; transform: translateX(20px); transition: opacity .4s var(--ease), transform .4s var(--ease), background .25s; }
  .nav.is-open .nav__menu a:not(.btn) { opacity: 1; transform: none; }
  .nav.is-open .nav__menu a:nth-child(2) { transition-delay: .05s; } .nav.is-open .nav__menu a:nth-child(3) { transition-delay: .1s; } .nav.is-open .nav__menu a:nth-child(4) { transition-delay: .15s; } .nav.is-open .nav__menu a:nth-child(5) { transition-delay: .2s; } .nav.is-open .nav__menu a:nth-child(6) { transition-delay: .25s; }
  .nav__menu a.is-active::after { left: 16px; transform: none; bottom: 8px; }
  .nav__cta { margin: 18px 0 0; }
  body.menu-open { overflow: hidden; }
  .timeline { grid-template-columns: 1fr; gap: 30px; padding-left: 0; }
  .timeline__line { left: 33px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .timeline__line span { transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .step { display: grid; grid-template-columns: 68px 1fr; column-gap: 22px; }
  .step__n { grid-row: span 2; margin: 0; }
  .step h3 { margin-top: 8px; }
  .portfolio { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  .container { width: min(100% - 32px, var(--container)); }
  .hero { padding-top: calc(var(--nav-h) + 30px); padding-bottom: 70px; }
  .hero h1 { letter-spacing: -.03em; }
  .hero__cta .btn { width: 100%; }
  .hero__art { height: 340px; margin-top: 70px; }
  .stack { width: 260px; height: 280px; }
  .layer { width: 260px; height: 150px; padding: 16px; border-radius: 20px; }
  .layer--ui { top: -30px; } .layer--api { top: 70px; } .layer--data { top: 170px; }
  .layer__ui i { height: 30px; } .layer__ui b { height: 40px; }
  .layer__nodes { margin-top: 18px; } .layer__nodes em { width: 32px; height: 32px; }
  .layer__db u { width: 50px; height: 66px; }
  .stack__beams { width: 260px; height: 280px; }
  .glass--code { width: 200px; font-size: 9.5px; right: 0; top: -20px; }
  .glass--code pre { padding: 10px 12px 12px; }
  .glass--sync { display: none; }
  .glass--status { bottom: 4%; }
  .hero__scroll { display: none; }
  .cards, .features { grid-template-columns: 1fr; }
  .about__list { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form__actions .btn { width: 100%; }
  .diagram { padding-bottom: 0; }
  .term { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .cta .btn { width: 100%; }
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .term__lines li { opacity: 1; transform: none; }
}

/* Página interna (política de privacidade) */
.page { padding: calc(var(--nav-h) + 70px) 0 90px; }
.page h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); color: var(--navy); }
.page h2 { font-size: 1.35rem; color: var(--navy); margin-top: 1.6em; }
.page p, .page li { color: var(--text-soft); }
.page .container { max-width: 820px; }
.nav--solid { background: rgba(8, 20, 42, .95); }

/* Afasta o botão do WhatsApp do contador de visitas em telas pequenas. */
@media (max-width: 640px) {
  .wa-float { right: max(130px, calc(env(safe-area-inset-right) + 118px)); }
}


/* WhatsApp à esquerda no celular em orientação retrato; paisagem preservada */
@media (max-width: 640px) and (orientation: portrait) {
  .wa-float {
    right: 18px;
    left: auto;
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 18px));
  }
}

/* CRO da página inicial: mensagem comercial, topo compacto e navegação */
.home-page .hero{min-height:auto;padding:calc(var(--nav-h) + 24px) 0 42px}
.home-page .hero__inner{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:30px;align-items:center}
.home-page .hero__copy{text-align:left;margin:0;max-width:650px}
.home-page .hero .kicker{margin-bottom:15px}
.home-page .hero h1{font-size:clamp(2.25rem,3.45vw,3.55rem);line-height:1.06;margin-bottom:15px}
.home-page .hero__sub{font-size:clamp(1rem,1.15vw,1.12rem);line-height:1.62;margin:0 0 18px;max-width:650px}
.home-page .hero__cta{justify-content:flex-start;gap:10px;margin-bottom:17px}
.home-page .hero__cta .btn{min-height:50px;padding:14px 17px;font-size:13px}
.home-page .hero__cta .btn--light{background:#edf5ff;color:#10284a;border:1px solid #d6e7fb;box-shadow:0 8px 24px #001a3820}
.home-page .hero__tags{justify-content:flex-start;gap:8px 10px;font-size:12px;margin:0}
.home-page .hero__tags li{padding:7px 10px;border:1px solid #1b4770;border-radius:999px;background:#0a1f3c;color:#d4e7fb}
.home-page .hero__tags li:before{width:5px;height:5px;flex:none}
.home-page .hero__art.hero-ecosystem{min-height:0;height:auto;max-width:570px;padding:0;margin:0}
.home-page .ecosystem__topline{margin-bottom:12px}
.home-page .ecosystem__diagram{grid-template-columns:minmax(76px,1fr) 16px minmax(110px,1.1fr) 16px minmax(88px,1fr);gap:4px}
.home-page .ecosystem__node{padding:10px 7px}
.home-page .ecosystem__node span{font-size:9px}
.home-page .ecosystem__core{padding:16px 9px;border-radius:18px}
.home-page .ecosystem__core-icon{width:34px;height:34px;margin-bottom:7px}
.home-page .ecosystem__core>strong{font-size:14px;margin:7px 0}
.home-page .ecosystem__outcome{padding:7px 5px;grid-template-columns:20px 1fr;gap:2px 5px}
.home-page .ecosystem__outcome>span{width:20px;height:20px}
.home-page .ecosystem__outcome b{font-size:10px}
.home-page .ecosystem__outcome small{font-size:8px}
.home-page .ecosystem__foot{margin-top:11px}
.home-page .ecosystem__foot span{padding:6px 8px;font-size:9px}
.home-page .fbsj-trust__inner>div{min-height:105px}
.home-page .fbsj-trust__inner small{overflow-wrap:anywhere}
.home-page .home-work{background:#f5f8fc}
.home-work__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px}
.home-work__card{display:flex;flex-direction:column;gap:12px;padding:24px;border:1px solid #dfe8f3;border-radius:16px;background:#fff;box-shadow:0 12px 35px #193c670d}
.home-work__card .badge{align-self:flex-start}
.home-work__card h3{margin:0;color:#10284a;font:700 21px/1.25 Sora,sans-serif}
.home-work__card p{margin:0;color:#5e7089;font-size:14px;line-height:1.7}
.home-work__card small{margin-top:auto;color:#6c7e95;font-size:12px;line-height:1.6}
.home-page .home-contact{background:#fff}
.home-contact__legal{margin:20px 0;padding:14px 16px;border-left:3px solid #00bde9;border-radius:8px;background:#eef5fd;color:#233f63;font-size:13px;line-height:1.65}
.home-contact__diagnosis{margin-top:18px}
.home-page .footer__legal{color:#a9bdd7;font-size:11px;line-height:1.6;margin:10px 0}
.home-page .fbsj-next__card>span,.home-page .fbsj-next__card strong{color:#075fa8}
.home-page .hero__scroll{bottom:12px}
@media(min-width:1280px){.home-page .nav__inner{gap:14px}.home-page .nav__menu{gap:0;flex-wrap:nowrap;white-space:nowrap}.home-page .nav__menu a:not(.btn){font-size:12.5px;padding:8px 8px}.home-page .nav__cta{margin-left:5px;padding-inline:12px}}
@media(min-width:901px) and (max-width:1279px){.home-page .nav__menu a:not(.btn){font-size:12px;padding:7px 6px}.home-page .nav__inner{gap:9px}.home-page .nav__cta{margin-left:3px;padding-inline:9px}}
@media(max-width:1100px){.home-page .hero__inner{gap:20px}.home-page .hero h1{font-size:clamp(2rem,3.8vw,2.9rem)}.home-page .ecosystem__diagram{grid-template-columns:minmax(68px,1fr) 12px minmax(100px,1.1fr) 12px minmax(82px,1fr)}.home-page .ecosystem__node span{font-size:8px}}
@media(max-width:900px){.home-page .hero{padding:calc(var(--nav-h) + 18px) 0 32px}.home-page .hero__inner{grid-template-columns:1fr;gap:22px}.home-page .hero__copy{text-align:left;max-width:720px}.home-page .hero__art{max-width:620px}.home-page .hero__scroll{display:none}.home-page .home-work__grid{grid-template-columns:1fr 1fr}.home-page .fbsj-trust__inner{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.home-page .hero{padding:calc(var(--nav-h) + 16px) 0 28px}.home-page .hero__art{display:none}.home-page .hero h1{font-size:clamp(2.1rem,8.8vw,2.65rem);line-height:1.08}.home-page .hero__sub{font-size:15px;line-height:1.58}.home-page .hero__cta{display:grid;grid-template-columns:1fr;gap:9px}.home-page .hero__cta .btn{width:100%;justify-content:center;text-align:center}.home-page .hero__tags{gap:7px}.home-page .hero__tags li{font-size:11px;padding:6px 8px}.home-page .fbsj-trust__inner{grid-template-columns:1fr 1fr}.home-page .fbsj-trust__inner>div{min-height:100px;padding:12px 8px;grid-template-columns:23px 1fr}.home-page .fbsj-trust__inner b{font-size:10px}.home-page .fbsj-trust__inner small{font-size:9px}.home-page .home-work__grid{grid-template-columns:1fr}.home-page .home-work__card{padding:21px}.home-page .fbsj-problem__intro h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){.home-page .hero__canvas{display:none}}
.no-js .reveal{opacity:1!important;transform:none!important;visibility:visible!important}


/* =========================================================
   FBSJ Brand refinement — visual system for the home page
   Preserves the large editorial hero from visual reference 1.
   ========================================================= */
.home-page{
  --fbsj-navy:#07152b;
  --fbsj-navy-2:#0b2040;
  --fbsj-blue:#087ff5;
  --fbsj-cyan:#00c9ef;
  --fbsj-ink:#10213d;
  --fbsj-muted:#60718b;
}
.home-page .nav{
  background:rgba(5,16,34,.88);
  border-bottom:1px solid rgba(101,181,255,.12);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.home-page .brand img{filter:drop-shadow(0 0 8px rgba(0,190,255,.2))}
.home-page .brand__name{letter-spacing:-.045em}
.home-page .nav__cta{box-shadow:0 8px 24px rgba(0,132,255,.24)}
.home-page .hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:
    radial-gradient(ellipse at 82% 34%,rgba(0,105,231,.27),transparent 34%),
    radial-gradient(ellipse at 62% 92%,rgba(0,201,239,.10),transparent 28%),
    linear-gradient(112deg,#061329 0%,#0a1d3a 52%,#08172e 100%);
}
.home-page .hero:before{
  content:"";
  position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(rgba(105,174,255,.035) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(105,174,255,.035) 1px,transparent 1px);
  background-size:56px 56px;
  mask-image:linear-gradient(to right,transparent 0%,#000 25%,#000 90%,transparent 100%);
}
.home-page .hero__inner{
  grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);
  gap:clamp(34px,4.2vw,76px);
  align-items:center;
}
.home-page .hero__copy{max-width:570px}
.home-page .hero .kicker{
  display:inline-flex;align-items:center;gap:9px;
  padding:9px 14px;border:1px solid rgba(0,201,239,.28);
  border-radius:999px;background:rgba(5,31,58,.72);
  color:#b9d2ed;font-size:12px;letter-spacing:.015em;
}
.home-page .hero .kicker:before{
  content:"";width:6px;height:6px;border-radius:50%;
  background:var(--fbsj-cyan);box-shadow:0 0 12px rgba(0,201,239,.75);
}
.home-page .hero h1{
  max-width:570px;
  font-size:clamp(3.05rem,4.05vw,4.45rem);
  line-height:1.025;letter-spacing:-.065em;
  text-wrap:balance;margin-bottom:22px;
}
.home-page .hero h1 .grad{
  background:linear-gradient(100deg,#1687ff 8%,#00c9ef 95%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.home-page .hero__sub{
  max-width:520px;color:#b8c8df;
  font-size:clamp(1.02rem,1.18vw,1.18rem);
  line-height:1.72;margin-bottom:24px;
}
.home-page .hero__cta{
  display:flex;flex-direction:column;align-items:flex-start;
  gap:12px;margin-bottom:22px;
}
.home-page .hero__cta .btn{
  min-height:54px;border-radius:999px;
  padding:16px 24px;font-size:14px;font-weight:700;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.home-page .hero__cta .btn--primary{
  background:linear-gradient(105deg,#087ff5,#00c9ef);
  box-shadow:0 12px 30px rgba(0,128,255,.28);
}
.home-page .hero__cta .btn--primary:hover{
  transform:translateY(-2px);box-shadow:0 16px 34px rgba(0,128,255,.38);
}
.home-page .hero__cta .btn--light{
  background:transparent;border-color:transparent;color:#e6f1ff;
  box-shadow:none;padding:10px 20px;
}
.home-page .hero__cta .btn--light:hover{
  background:rgba(255,255,255,.06);border-color:rgba(143,190,255,.15);
}
.home-page .hero__tags{gap:9px}
.home-page .hero__tags li{
  background:rgba(7,28,53,.72);
  border-color:rgba(68,151,224,.27);
  color:#c9d9ed;
}
.home-page .hero__art.hero-ecosystem{
  max-width:660px;filter:drop-shadow(0 18px 38px rgba(0,0,0,.16));
}
.home-page .ecosystem__core{
  box-shadow:0 0 34px rgba(0,153,255,.13),inset 0 1px 0 rgba(255,255,255,.1);
}
.home-page .fbsj-trust{
  background:#06152b;border-top:1px solid rgba(113,175,255,.12);
  border-bottom:1px solid rgba(113,175,255,.12);
}
.home-page .fbsj-trust__inner>div{
  position:relative;padding:24px 22px;min-height:116px;
  border-right:1px solid rgba(113,175,255,.09);
}
.home-page .fbsj-trust__inner>div:last-child{border-right:0}
.home-page .fbsj-trust__mark{color:#00c9ef;font-weight:800}
.home-page .fbsj-trust__inner b{color:#edf5ff}
.home-page .fbsj-trust__inner small{color:#91a9c8}
.home-page .fbsj-problem.section{
  background:linear-gradient(180deg,#f7faff 0%,#eef4fb 100%);
}
.home-page .fbsj-problem__intro{max-width:760px}
.home-page .fbsj-problem__intro h2,
.home-page .section__head h2{
  letter-spacing:-.045em;text-wrap:balance;
}
.home-page .fbsj-problem__card{
  border:1px solid #dce7f4;border-radius:20px;
  background:linear-gradient(145deg,#fff 0%,#f8fbff 100%);
  box-shadow:0 14px 38px rgba(15,47,86,.055);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.home-page .fbsj-problem__card:hover{
  transform:translateY(-5px);border-color:#9cccf7;
  box-shadow:0 20px 44px rgba(15,78,139,.11);
}
.home-page .fbsj-problem__card>span{color:#0784c9}
.home-page .section--deep{
  background:
    radial-gradient(ellipse at 85% 0%,rgba(0,116,255,.16),transparent 32%),
    linear-gradient(135deg,#07152b,#0b2040);
}
.home-page .section--deep .section__head h2{color:#f5f9ff}
.home-page .section--deep .section__head .lead{color:#a9bdd7}
.home-page .section--deep .card{
  border:1px solid rgba(111,173,240,.17);
  border-radius:20px;background:rgba(13,34,64,.88);
  box-shadow:0 16px 38px rgba(0,0,0,.12);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.home-page .section--deep .card:hover{
  transform:translateY(-4px);border-color:rgba(0,201,239,.48);
  box-shadow:0 22px 48px rgba(0,0,0,.22);
}
.home-page .section--deep .card h3{color:#f1f7ff}
.home-page .section--deep .card p{color:#a9bdd7}
.home-page .section--deep .card__icon{
  background:linear-gradient(145deg,rgba(0,130,255,.2),rgba(0,201,239,.09));
  border:1px solid rgba(0,201,239,.18);border-radius:14px;
}
.home-page .home-work{
  background:linear-gradient(180deg,#f6f9fd,#edf3fa);
}
.home-page .home-work__card{
  border-radius:20px;box-shadow:0 14px 38px rgba(15,47,86,.06);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.home-page .home-work__card:hover{
  transform:translateY(-4px);border-color:#a8cfee;
  box-shadow:0 22px 48px rgba(15,78,139,.1);
}
.home-page .home-contact{
  background:radial-gradient(ellipse at 10% 0%,rgba(0,201,239,.07),transparent 34%),#fff;
}
.home-page .home-contact .form{
  border:1px solid #dce7f4;border-radius:22px;
  box-shadow:0 22px 60px rgba(16,46,82,.09);
}
.home-page .footer{
  border-top:1px solid rgba(0,201,239,.16);
}
@media(min-width:1280px){
  .home-page .hero{padding-top:calc(var(--nav-h) + 28px);padding-bottom:52px}
  .home-page .hero__inner{min-height:620px}
}
@media(min-width:901px) and (max-width:1279px){
  .home-page .hero__inner{grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:28px}
  .home-page .hero h1{font-size:clamp(2.75rem,4.1vw,3.6rem)}
  .home-page .hero__art.hero-ecosystem{max-width:560px}
}
@media(max-width:900px){
  .home-page .hero__inner{grid-template-columns:1fr;gap:26px}
  .home-page .hero__copy{max-width:720px}
  .home-page .hero h1{font-size:clamp(2.7rem,7vw,4rem)}
  .home-page .hero__cta{flex-direction:row;flex-wrap:wrap;align-items:center}
  .home-page .hero__art.hero-ecosystem{max-width:650px}
}
@media(max-width:640px){
  .home-page .hero{background:radial-gradient(ellipse at 90% 5%,rgba(0,105,231,.2),transparent 38%),linear-gradient(145deg,#061329,#0a1d3a)}
  .home-page .hero .kicker{font-size:10px;padding:8px 11px}
  .home-page .hero h1{font-size:clamp(2.35rem,9vw,3.1rem);line-height:1.04;letter-spacing:-.06em}
  .home-page .hero__sub{font-size:15px}
  .home-page .hero__cta{display:grid;grid-template-columns:1fr;align-items:stretch}
  .home-page .hero__cta .btn{width:100%;justify-content:center}
  .home-page .hero__cta .btn--light{border:1px solid rgba(143,190,255,.18)}
  .home-page .fbsj-trust__inner>div{border-right:0;border-bottom:1px solid rgba(113,175,255,.09)}
  .home-page .fbsj-trust__inner>div:nth-last-child(-n+2){border-bottom:0}
}
@media(prefers-reduced-motion:reduce){
  .home-page .fbsj-problem__card,.home-page .section--deep .card,.home-page .home-work__card,.home-page .hero__cta .btn{transition:none}
}


/* Refinamento CRO + identidade: hero editorial (referência visual 1) */
.home-page .hero__inner{
  grid-template-columns:minmax(390px,.78fr) minmax(560px,1.22fr);
  gap:clamp(44px,5vw,88px);
}
.home-page .hero__copy{max-width:510px}
.home-page .hero h1{
  max-width:510px;
  font-size:clamp(3.35rem,4.2vw,4.35rem);
  line-height:1.035;
  letter-spacing:-.068em;
}
.home-page .hero__sub{max-width:490px;line-height:1.68}
.home-page .hero__cta{flex-direction:column;align-items:flex-start;gap:10px}
.home-page .hero__cta .btn--primary{min-width:0;max-width:100%}
.home-page .hero__cta .btn--light{
  display:inline-flex;align-items:center;gap:10px;
  padding:10px 18px;color:#e4efff;
  border:1px solid rgba(128,177,237,.12);
  border-radius:999px;background:rgba(255,255,255,.025);
}
.home-page .hero__cta .btn--light:after{content:"→";color:#00c9ef;font-size:17px}
.home-page .hero__tags{margin-top:16px}
.home-page .hero__art.hero-ecosystem{max-width:700px}
.home-page .home-work__grid{align-items:stretch}
.home-page .home-work__card{
  position:relative;display:flex;flex-direction:column;
  min-height:310px;padding:clamp(22px,2.4vw,32px);
  border:1px solid #dce7f4;background:#fff;
}
.home-page .home-work__card--featured{
  background:linear-gradient(145deg,#0b2040,#07152b);
  border-color:rgba(0,201,239,.28);
  box-shadow:0 20px 48px rgba(7,27,55,.16);
}
.home-page .home-work__card--featured h3{color:#f3f8ff}
.home-page .home-work__card--featured p{color:#b7cbe4}
.home-page .home-work__card--featured small{color:#8fa9c9}
.home-page .home-work__card .badge{
  align-self:flex-start;margin-bottom:18px;
  font-size:11px;line-height:1.4;
}
.home-page .home-work__card h3{
  font-size:clamp(1.25rem,1.8vw,1.65rem);
  letter-spacing:-.04em;line-height:1.2;
}
.home-page .home-work__card p{color:#526681;line-height:1.7}
.home-page .home-work__card small{display:block;color:#72839b;font-size:12px;line-height:1.55;margin-top:auto;padding-top:12px}
.home-page .home-work__link{
  display:inline-flex;align-items:center;justify-content:space-between;gap:14px;
  margin-top:22px;padding-top:16px;border-top:1px solid #e5edf7;
  color:#0878d5;text-decoration:none;font-size:14px;font-weight:750;
}
.home-page .home-work__link b{font-size:18px;transition:transform .2s ease}
.home-page .home-work__link:hover b{transform:translate(3px,-2px)}
.home-page .home-work__card--featured .home-work__link{
  color:#65e2ff;border-color:rgba(129,183,244,.18)
}
.home-page .home-work__card--featured .badge{
  background:rgba(0,201,239,.1);border-color:rgba(0,201,239,.24);color:#8ceaff
}
.home-page .section__head .btn{margin-top:8px}
.home-page .section__head .btn--primary{
  border-radius:999px;box-shadow:0 12px 28px rgba(0,123,255,.22)
}
.home-page .fbsj-problem__foot{
  margin-top:34px;padding-top:24px;border-top:1px solid #dce7f4
}
.home-page .fbsj-problem__foot p{font-weight:650;color:#526681}
.home-page .section--deep .card__link{color:#58dfff}
.home-page .home-contact .contact__info h2{max-width:640px}
.home-page .home-contact .contact__info .lead{max-width:640px}
@media(min-width:1280px){
  .home-page .hero{padding-top:calc(var(--nav-h) + 12px);padding-bottom:44px}
  .home-page .hero__inner{min-height:600px}
}
@media(min-width:901px) and (max-width:1279px){
  .home-page .hero__inner{grid-template-columns:minmax(350px,.88fr) minmax(0,1.12fr);gap:32px}
  .home-page .hero h1{font-size:clamp(3rem,4.1vw,3.65rem)}
}
@media(max-width:900px){
  .home-page .hero__inner{grid-template-columns:1fr;gap:28px}
  .home-page .hero__copy{max-width:720px}
  .home-page .hero h1{max-width:680px;font-size:clamp(2.75rem,7vw,4rem)}
  .home-page .hero__cta{flex-direction:row;flex-wrap:wrap;align-items:center}
}
@media(max-width:640px){
  .home-page .hero__inner{gap:22px}
  .home-page .hero h1{font-size:clamp(2.35rem,9vw,3.15rem);max-width:100%}
  .home-page .hero__cta{display:grid;grid-template-columns:1fr;align-items:stretch}
  .home-page .hero__cta .btn--light{justify-content:center}
  .home-page .home-work__card{min-height:0}
}


/* Etapa 1 — polimento responsivo e cards compactos (somente home) */
.home-page .section--deep .cards{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
}
.home-page .section--deep .card{
  min-width:0;
  min-height:292px;
  padding:24px 20px 22px;
}
.home-page .section--deep .card__icon{
  width:46px;height:46px;margin-bottom:18px;border-radius:13px;
}
.home-page .section--deep .card__icon svg{width:24px;height:24px}
.home-page .section--deep .card h3{
  min-height:2.55em;margin:0 0 14px;
  font-size:17px;line-height:1.3;letter-spacing:-.025em;
}
.home-page .section--deep .card .card__benefit{
  margin:0 0 20px;padding:11px 12px;
  color:#c1d1e5;font-size:13px!important;line-height:1.55;
  border-left:2px solid #00c9ef;background:rgba(0,201,239,.07);
}
.home-page .section--deep .card .card__link{
  margin-top:auto;padding-top:14px;
  color:#64e2ff;font-size:13px;font-weight:750;
  border-top:1px solid rgba(133,184,236,.15);
}
.home-page .section--deep .card .card__link span{transition:transform .18s ease}
.home-page .section--deep .card .card__link:hover span{transform:translateX(3px)}
@media(max-width:1100px){
  .home-page .section--deep .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-page .section--deep .card{min-height:260px}
}
@media(max-width:640px){
  .home-page .section--deep .cards{grid-template-columns:1fr;gap:14px}
  .home-page .section--deep .card{min-height:0;padding:22px}
  .home-page .section--deep .card h3{min-height:0}
  /* Área livre abaixo do CNPJ: o botão flutuante não cobre o quarto item. */
  .home-page .fbsj-trust{padding-bottom:78px}
  .home-page .wa-float{
    right:18px;left:auto;
    bottom:calc(18px + env(safe-area-inset-bottom));
  }
}
/* Em 1366x768, reduzir a altura do hero para revelar a faixa de confiança. */
@media(min-width:901px) and (max-height:800px){
  .home-page .hero{min-height:0;padding:calc(var(--nav-h) + 8px) 0 30px}
  .home-page .hero__inner{min-height:0}
  .home-page .hero .kicker{margin-bottom:11px}
  .home-page .hero h1{font-size:clamp(2.65rem,3.8vw,3.65rem);margin-bottom:15px}
  .home-page .hero__sub{font-size:16px;line-height:1.55;margin-bottom:16px}
  .home-page .hero__cta{gap:9px;margin-bottom:14px}
  .home-page .hero__cta .btn{min-height:48px;padding:13px 19px}
  .home-page .hero__tags{margin-top:8px}
  .home-page .hero-ecosystem{transform:scale(.94);transform-origin:center}
}
@media(prefers-reduced-motion:reduce){
  .home-page .section--deep .card .card__link span{transition:none}
}
