/*
Theme Name: B2BNetwork Custom Deploy v12
Theme URI: https://www.b2bnetwork.com.br/
Author: Hermes Agent
Description: Tema customizado da B2BNetwork baseado no front canônico institucional e integrado ao WordPress.
Version: 0.2.2
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: b2bnetwork-custom-deploy-v12
*/

/* ===========================================================
   B2BNetwork — Sistema de design
   Cores: #00263F navy · #6C7077 cinza · #FCBC28 âmbar
   Tipografia: Sora (display) + Manrope (corpo)
   =========================================================== */

:root {
  /* Brand */
  --navy: #00263F;
  --navy-700: #06324f;
  --navy-600: #0b3f63;
  --gray: #6C7077;
  --amber: #FCBC28;
  --amber-700: #e6a812;

  /* Neutrals */
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --ink: #0F1620;
  --ink-2: #2a323d;
  --muted: #6C7077;
  --line: #E6E4DE;
  --line-strong: #C9C6BD;

  /* Type */
  --ff-display: "Sora", system-ui, sans-serif;
  --ff-body: "Manrope", system-ui, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Scale */
  --container: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);
  --sec-y: clamp(72px, 9vw, 128px);
  --radius: 4px;
  --radius-lg: 8px;
}

[data-theme="dark"] {
  --bg: #07101a;
  --surface: #0d1a26;
  --ink: #F1EEE6;
  --ink-2: #C9C6BD;
  --muted: #8a929b;
  --line: #1a2735;
  --line-strong: #243549;
  --navy: #FCBC28;        /* swap roles: amber becomes primary brand on dark */
}

[data-theme="mono"] {
  --amber: #0F1620;
  --amber-700: #2a323d;
  --navy: #0F1620;
  --navy-700: #2a323d;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

[data-density="compact"] { --sec-y: clamp(56px, 7vw, 96px); }
[data-density="airy"]    { --sec-y: clamp(96px, 11vw, 168px); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--navy);
  opacity: 0.6;
}
[data-theme="dark"] .eyebrow::before { background: var(--amber); }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; font-weight: 700; }
h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.06; }
h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; }
h4 { font-size: 17px; line-height: 1.3; }
p  { margin: 0; color: var(--ink-2); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.section { padding: var(--sec-y) 0; }
.section--tight { padding: calc(var(--sec-y) * 0.6) 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 56px;
  max-width: 760px;
}
.section-head .lead { margin-top: 4px; }
.section-head--areas { max-width: 920px; }
.areas-note {
  margin-top: -4px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--ff-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.divider {
  height: 1px; background: var(--line); border: 0;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy);
  color: #d8dde2;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 40px; gap: 24px;
}
.topbar a { color: #d8dde2; opacity: 0.88; transition: opacity .2s, color .2s; }
.topbar a:hover { opacity: 1; color: var(--amber); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-phone,
.topbar-right a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar-iconset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-social {
  justify-content: center;
}
.topbar-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.topbar-icon svg { width: 100%; height: 100%; display: block; }
.topbar-access {
  padding-left: 16px;
  margin-left: 2px;
  border-left: 1px solid rgba(255,255,255,0.15);
}

[data-theme="dark"] .topbar { background: #050b13; }

/* ---------- Header ---------- */
.header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(120%) blur(8px);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; gap: 24px;
  position: relative;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; min-width: 180px; }
.logo img { height: 38px; width: auto; flex: 0 0 auto; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  padding: 10px 14px; border-radius: var(--radius);
  white-space: nowrap;
}
.nav a:hover { color: var(--navy); }
.nav a.active { color: var(--navy); font-weight: 600; }
.nav-dd { position: relative; }
.nav-dd > a::after { content: "›"; margin-left: 6px; transform: rotate(90deg); display:inline-block; font-size: 10px; opacity: 0.6; }
.nav-dd:hover .dd-menu { display: grid; }
.dd-menu {
  display: none;
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 220px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(0,0,0,.08); padding: 8px;
}
.dd-menu a { display:block; padding: 10px 12px; font-size: 14px; color: var(--ink-2); }
.dd-menu a:hover { background: var(--bg); color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.btn--wa {
  gap: 8px;
}
.btn-wa__icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.btn-wa__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.btn-wa__label {
  line-height: 1;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--navy);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-cta { display: flex; align-items: center; gap: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: var(--ff-body); font-weight: 600; font-size: 14.5px;
  padding: 14px 22px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn--primary { background: var(--amber); color: var(--navy); }
.btn--primary:hover { background: var(--amber-700); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--link { padding: 0; background: transparent; color: var(--navy); border: 0; }
.btn--link::after { content: " →"; transition: transform .2s; }
.btn--link:hover::after { transform: translateX(3px); }
.btn--sm { padding: 10px 16px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 6vw, 96px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero h1 .underline {
  background-image: linear-gradient(to top, var(--amber) 0 8px, transparent 8px);
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding: 0 4px;
}
.hero-meta {
  display: flex; gap: clamp(20px, 2.4vw, 40px); margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: nowrap;
}
.hero-meta .stat { flex: 1 1 0; min-width: 0; }
.hero-meta .stat .v {
  font-family: var(--ff-display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; color: var(--navy);
  letter-spacing: -0.02em;
}
[data-theme="dark"] .hero-meta .stat .v { color: var(--amber); }
.hero-meta .stat .l { font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.hero-actions { display:flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-visual .hv-frame {
  position:absolute; inset: 16px;
  border: 1px solid var(--line);
  display: grid; grid-template-rows: auto 1fr auto;
}
.hv-frame .hv-tab {
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  display:flex; align-items:center; gap:8px;
  font-family: var(--ff-mono); font-size: 11px; color: var(--muted);
}
.hv-frame .hv-tab .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.hv-frame .hv-tab .dot.amber { background: var(--amber); }
.hv-frame .hv-body { padding: 22px; display: grid; gap: 14px; align-content: start; }
.hv-row { display:grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); background: var(--bg);}
.hv-row .ic { width: 32px; height: 32px; background: var(--navy); }
.hv-row .ic.amber { background: var(--amber); }
.hv-row .t { font-weight: 600; font-size: 13.5px; }
.hv-row .s { font-size: 11.5px; color: var(--muted); font-family: var(--ff-mono); }
.hv-frame .hv-foot { padding: 14px 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-family: var(--ff-mono); font-size: 11px; color: var(--muted); }
.hv-pill { padding: 4px 10px; background: var(--navy); color: var(--amber); border-radius: 999px; }

.hero-side-strip {
  position: absolute;
  right: -1px; top: 0; bottom: 0; width: 6px;
  background: var(--amber);
}

/* ---------- Entradas comerciais da home ---------- */
.home-entry-band {
  padding-top: 26px;
}
.home-entry-band__head {
  max-width: 860px;
}
.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  align-items: stretch;
}
.entry-card {
  padding: 34px 30px 30px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  min-height: 360px;
  min-width: 0;
  transition: background .2s, transform .2s;
}
.entry-card:last-child {
  border-right: 0;
}
.entry-card:hover {
  background: var(--bg);
  transform: translateY(-1px);
}
.entry-card__top {
  display: grid;
  gap: 12px;
}
.entry-card__badge {
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
}
.entry-card__eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.entry-card h3 {
  font-size: 28px;
  line-height: 1.02;
}
.entry-card__hook {
  font-family: var(--ff-display);
  font-size: 18px;
  line-height: 1.34;
  letter-spacing: -.02em;
  color: var(--ink);
}
.entry-card__proof {
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.entry-card__proof strong {
  color: var(--navy);
}
.entry-card__cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  text-align: center;
  white-space: normal;
  line-height: 1.35;
}
@media (max-width: 1100px) {
  .entry-grid {
    grid-template-columns: 1fr;
  }
  .entry-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .entry-card:last-child {
    border-bottom: 0;
  }
}

/* ---------- Logos / Clientes ---------- */
.logos {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logos .container { padding-top: 36px; padding-bottom: 36px;}
.logos-row {
  display: grid; grid-template-columns: auto 1fr;
  gap: 56px; align-items: center;
}
.logos-row .lbl { font-family: var(--ff-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); max-width: 220px; line-height: 1.5; }
.logos-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.logo-cell {
  height: 56px; display: flex; align-items: center; justify-content: center;
  border-left: 1px solid var(--line);
  font-family: var(--ff-display); font-weight: 600; color: var(--gray); font-size: 17px;
  letter-spacing: -0.01em;
  opacity: 0.85;
}
.logo-cell:last-child { border-right: 1px solid var(--line); }

/* ---------- Áreas de Atuação ---------- */
.areas-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  background: var(--surface);
}
.area-card {
  padding: 32px 24px 28px;
  border-right: 1px solid var(--line);
  display: grid; grid-template-rows: auto 1fr auto;
  gap: 16px; min-height: 260px;
  transition: background .2s, transform .2s, box-shadow .2s;
  position: relative;
}
.area-card:last-child { border-right: 0; }
.area-card:hover { background: var(--bg); transform: translateY(-2px); }
.area-card .num { font-family: var(--ff-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.12em; }
.area-card h3 { font-size: 22px; }
.area-card p { font-size: 13.5px; color: var(--muted); }
.area-card .more {
  font-family: var(--ff-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--navy); display: inline-flex; align-items: center; gap: 8px;
}
.area-card .more::after { content:"→"; }
.area-card--primary {
  background: linear-gradient(180deg, rgba(0, 38, 63, 0.03) 0%, rgba(252, 188, 40, 0.08) 100%);
}
.area-card--primary:hover {
  background: linear-gradient(180deg, rgba(0, 38, 63, 0.06) 0%, rgba(252, 188, 40, 0.14) 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 38, 63, 0.08);
}
.area-card--primary .more {
  color: var(--surface);
  background: var(--navy);
  padding: 10px 14px;
  justify-self: start;
}
.area-card--primary .num { color: var(--navy); }
.area-card .icon {
  width: 44px; height: 44px; background: var(--navy); position: relative;
}
.area-card .icon::after {
  content:""; position: absolute; right: -8px; top: -8px; width: 14px; height: 14px; background: var(--amber);
}
.area-card--soon { opacity: 0.6; cursor: default; }
.area-card--soon:hover { background: var(--surface); }
.area-card--soon .icon { background: var(--muted); }
.area-card--soon .icon::after { background: var(--line); }
.area-card--soon .more { color: var(--muted); }
.area-card--soon .more::after { content: ""; }

/* ---------- Destaque split ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 88px); align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split .image-slot { aspect-ratio: 4/3; border: 1px solid var(--line); background: repeating-linear-gradient(45deg, var(--surface) 0 14px, var(--bg) 14px 28px); position: relative; }
.split .image-slot::after {
  content: attr(data-label);
  position: absolute; bottom: 14px; left: 14px;
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); background: var(--surface); padding: 4px 8px; border: 1px solid var(--line);
}

/* ---------- Painel consolidado (netpanel) ---------- */
.netpanel { position:relative; background: var(--surface); border:1px solid var(--line); }
.netpanel .np-top { display:flex; align-items:center; gap:8px; padding: 14px 18px; border-bottom:1px solid var(--line); font-family: var(--ff-mono); font-size:11px; color: var(--muted); }
.netpanel .np-top .dot { width:8px; height:8px; border-radius:50%; background: var(--line-strong); }
.netpanel .np-top .dot.amber { background: var(--amber); }
.netpanel .np-top .who { margin-left:auto; }
.netpanel .np-hd { padding: 18px 20px 6px; }
.netpanel .np-hd .lbl { font-family: var(--ff-mono); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color: var(--muted); }
.netpanel .np-hd .ttl { font-family: var(--ff-display); font-weight:600; font-size: 17px; color: var(--ink); margin-top:4px; }
.netpanel .np-grid { padding: 14px 20px 4px; display:grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.np-kpi { border:1px solid var(--line); background: var(--bg); padding: 14px; display:grid; gap:4px; }
.np-kpi .v { font-family: var(--ff-display); font-weight:700; font-size: 24px; color: var(--navy); letter-spacing:-.02em; }
.np-kpi .v .amber { color: var(--amber-700); }
.np-kpi .k { font-size: 11.5px; color: var(--muted); }
.netpanel .np-rows { padding: 8px 20px 20px; display:grid; gap: 8px; }
.np-row { display:grid; grid-template-columns: 26px 1fr auto; gap:12px; align-items:center; padding:11px 12px; border:1px solid var(--line); background: var(--bg); }
.np-row .ic { width:26px; height:26px; background: var(--navy); position:relative; }
.np-row .ic::after { content:""; position:absolute; right:-4px; top:-4px; width:9px; height:9px; background: var(--amber); }
.np-row .t { font-weight:600; font-size: 13px; }
.np-row .s { font-family: var(--ff-mono); font-size: 11px; color: var(--muted); }
.netpanel .np-foot { display:flex; justify-content:space-between; padding: 13px 18px; border-top:1px solid var(--line); font-family: var(--ff-mono); font-size:11px; color: var(--muted); }
.netpanel .np-foot .pill { background: var(--navy); color: var(--amber); padding: 4px 10px; border-radius:999px; }

/* ---------- Aplicativos / Flow ---------- */
.flow {
  display: flex; align-items: stretch; flex-wrap: wrap; gap: 0;
  border: 1px solid var(--line); background: var(--surface);
}
.flow-step {
  flex: 1; min-width: 160px;
  padding: 22px 20px;
  border-right: 1px solid var(--line);
  display: grid; gap: 10px; align-content: start;
  position: relative;
}
.flow-step:last-child { border-right: 0; }
.flow-step .k { font-family: var(--ff-mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.12em; }
.flow-step .v { font-family: var(--ff-display); font-size: 17px; font-weight: 600; color: var(--ink); }
.flow-step .d { font-size: 12.5px; color: var(--muted); }

/* Cards trio (Multi-Empresa, Integrações, Informações) */
.trio {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid var(--line); background: var(--surface);
}
.trio-cell {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  display: grid; gap: 14px; align-content: start;
}
.trio-cell:last-child { border-right: 0; }
.trio-cell .nm { font-family: var(--ff-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }
.trio-cell h3 { font-size: 22px; }
.trio-cell p { font-size: 14px; color: var(--ink-2); }
.trio-cell .badge {
  width: 36px; height: 36px; background: var(--navy); color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono); font-size: 12px; font-weight: 600;
}

/* ---------- Foundation / A base ---------- */
.found { display:grid; grid-template-columns: repeat(2, 1fr); gap:1px; background: var(--line); border:1px solid var(--line); }
.found-cell { background: var(--surface); padding: 38px 34px 34px; display:grid; gap: 14px; align-content:start; min-height: 320px; }
.found-cell .badge {
  width: 40px; height: 40px; background: var(--navy); color: var(--amber);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--ff-mono); font-size: 12px; font-weight: 600;
}
.found-cell .nm {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.found-cell h3 { font-size: 26px; line-height: 1.06; letter-spacing:-.02em; max-width: 16ch; }
.found-cell p { font-size: 14px; line-height: 1.72; color: var(--ink-2); max-width: 62ch; }
.found-note {
  display:inline-flex; align-items:center; gap: 8px; width: fit-content; margin-top: auto;
  padding: 10px 12px; border:1px solid var(--line); background: var(--bg);
  font-size: 12px; line-height: 1.45; color: var(--muted);
}
.found-note strong { color: var(--navy); }

/* ---------- Departamentos / Áreas integradas ---------- */
.frq-areas { display:grid; grid-template-columns: repeat(3, 1fr); gap:1px; background: var(--line); border:1px solid var(--line); }
.frq-card { background: var(--surface); padding: 34px 30px 30px; display:grid; grid-template-rows: auto auto 1fr; gap: 14px; align-content:start; transition: background .2s, transform .2s; min-height: 272px; }
.frq-card:hover { background: var(--bg); transform: translateY(-1px); }
.frq-card .frq-top { display:flex; align-items:center; justify-content:space-between; gap: 12px; }
.frq-card .frq-code { font-family: var(--ff-mono); font-size: 11px; letter-spacing:.12em; color: var(--muted); }
.frq-card .frq-glyph { width: 30px; height: 30px; background: var(--navy); position:relative; flex: 0 0 auto; }
.frq-card .frq-glyph::after { content:""; position:absolute; right:-5px; top:-5px; width:11px; height:11px; background: var(--amber); }
.frq-card h3 { font-size: 21px; line-height: 1.08; }
.frq-card .frq-hook { font-family: var(--ff-display); font-weight:600; font-size: 15px; line-height:1.4; color: var(--ink); letter-spacing:-.01em; }
.frq-card .frq-app { font-size: 13.5px; color: var(--muted); line-height:1.62; }
.frq-card--wide { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: auto 1fr auto; align-items:start; gap: 28px; padding: 30px 32px; min-height: 150px; }
.frq-card--wide .frq-body { display:grid; gap: 8px; }
.frq-card--wide h3 { font-size: 22px; }
.frq-card--wide .frq-app { max-width: 78ch; }

.svc-areas { display:grid; grid-template-columns: repeat(3, 1fr); gap:1px; background: var(--line); border:1px solid var(--line); }
.svc-card { background: var(--surface); padding: 34px 30px 30px; display:grid; grid-template-rows: auto auto 1fr; gap: 14px; align-content:start; transition: background .2s, transform .2s; min-height: 272px; }
.svc-card:hover { background: var(--bg); transform: translateY(-1px); }
.svc-card .svc-top { display:flex; align-items:center; justify-content:space-between; gap: 12px; }
.svc-card .svc-code { font-family: var(--ff-mono); font-size: 11px; letter-spacing:.12em; color: var(--muted); }
.svc-card .svc-glyph { width: 30px; height: 30px; background: var(--navy); position:relative; flex: 0 0 auto; }
.svc-card .svc-glyph::after { content:""; position:absolute; right:-5px; top:-5px; width:11px; height:11px; background: var(--amber); }
.svc-card h3 { font-size: 21px; line-height: 1.08; }
.svc-card .svc-hook { font-family: var(--ff-display); font-weight:600; font-size: 15px; line-height:1.4; color: var(--ink); letter-spacing:-.01em; }
.svc-card .svc-app { font-size: 13.5px; color: var(--muted); line-height:1.62; }
.svc-card--wide { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: auto 1fr auto; align-items:start; gap: 28px; padding: 30px 32px; min-height: 150px; }
.svc-card--wide .svc-body { display:grid; gap: 8px; }
.svc-card--wide h3 { font-size: 22px; }
.svc-card--wide .svc-app { max-width: 78ch; }
.svc-tag { display:inline-flex; align-items:center; padding: 6px 10px; border:1px solid var(--line); background: var(--bg); color: var(--muted); font-family: var(--ff-mono); font-size: 10px; letter-spacing:.08em; text-transform: uppercase; }
@media (max-width: 980px){ .found, .frq-areas, .svc-areas { grid-template-columns: repeat(2, 1fr); } .found-cell, .frq-card, .svc-card, .diff-side { min-height: 0; } }
@media (max-width: 620px){ .found, .frq-areas, .svc-areas { grid-template-columns: 1fr; } .frq-card--wide, .svc-card--wide { grid-template-columns: 1fr; align-items:start; } .found-cell, .frq-card, .svc-card { padding: 28px 24px 24px; } }

/* ---------- Differential / Multiempresa ---------- */
.diff { background: var(--navy); color: #ECEAE2; padding: var(--sec-y) 0; }
.diff .eyebrow { color: rgba(255,255,255,0.64); }
.diff .eyebrow::before { background: var(--amber); }
.diff h2 { color: #fff; }
.diff .lead { color: rgba(236,234,226,0.82); max-width: 64ch; }
.diff .hero-actions { display:flex; flex-wrap:wrap; gap: 12px; align-items:center; }
.diff-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items:start; }
.diff-key { display:grid; gap: 12px; margin-top: 24px; }
.diff-key .item {
  display:grid; grid-template-columns: 28px 1fr; gap: 14px; align-items:start;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.12);
}
.diff-key .item:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.diff-key .b {
  width: 28px; height: 28px; display:flex; align-items:center; justify-content:center;
  background: rgba(252,188,40,0.12); color: var(--amber); font-weight: 700; font-size: 14px;
}
.diff-key .b img, .diff-key .b svg { width: 14px; height: 14px; }
.diff-key .tx { color: rgba(236,234,226,0.82); font-size: 14px; line-height: 1.62; }
.diff-key .tx strong { color: #fff; }
.diff-split {
  display:grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.16);
}
.diff-side {
  background: rgba(255,255,255,0.04); padding: 34px 30px 30px; display:grid; gap: 14px; align-content:start; min-height: 292px;
}
.diff-side.amberbg { background: rgba(252,188,40,0.12); }
.diff-side .role {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}
.diff-side h4 { color:#fff; font-size: 28px; line-height: 1.05; letter-spacing: -.02em; max-width: 11ch; }
.diff-side ul { list-style:none; margin: 6px 0 0; padding:0; display:grid; gap: 12px; }
.diff-side li {
  position:relative; padding-left: 18px; color: rgba(236,234,226,0.86); font-size: 14px; line-height: 1.58;
}
.diff-side li::before {
  content:""; position:absolute; left:0; top:.62em; width:8px; height:8px; background: var(--amber);
}
@media (max-width: 980px){ .diff-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 620px){ .diff-split { grid-template-columns: 1fr; } }

/* ---------- Temporary review locks ---------- */
a[href$="/precos/"] { display: none !important; }
.section:has(> .container > .pricing) { display: none !important; }

/* ---------- Implantação (timeline) ---------- */
.implant {
  background: var(--navy);
  color: #ECEAE2;
  padding: var(--sec-y) 0;
}
.implant h2, .implant .eyebrow { color: #fff; }
.implant .eyebrow { color: rgba(255,255,255,0.6); }
.implant .eyebrow::before { background: var(--amber); }
.implant .lead { color: rgba(236,234,226,0.8); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr;
  gap: 0; margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.step {
  padding: 36px 24px 28px;
  border-right: 1px solid rgba(255,255,255,0.12);
  display: grid; gap: 12px; align-content: start;
  position: relative;
}
.step:last-child { border-right: 0; background: rgba(252,188,40,0.08); }
.step .num {
  font-family: var(--ff-mono); font-size: 11px; color: var(--amber); letter-spacing: 0.16em;
}
.step h3 { color: #fff; font-size: 19px; letter-spacing: 0; }
.step p { color: rgba(236,234,226,0.72); font-size: 13.5px; }
.step .marker {
  position: absolute; top: -1px; left: 0; width: 32px; height: 3px; background: var(--amber);
}

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats .cell {
  padding: 40px 28px; border-right: 1px solid var(--line);
  display: grid; gap: 6px;
}
.stats .cell:last-child { border-right: 0; }
.stats .v {
  font-family: var(--ff-display); font-weight: 600; font-size: clamp(36px, 4vw, 56px); letter-spacing: -0.02em;
  color: var(--navy);
}
[data-theme="dark"] .stats .v { color: var(--amber); }
.stats .l { font-size: 13px; color: var(--muted); }
.stats .v sup { font-size: 0.5em; color: var(--amber); top: -1em; }

/* ---------- Cases ---------- */
.cases-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.case-card {
  border: 1px solid var(--line); background: var(--surface);
  display: grid; grid-template-rows: 1fr auto;
  min-height: 340px;
  transition: transform .2s, border-color .2s;
}
.case-card:hover { border-color: var(--navy); }
.case-card .cover {
  background: var(--navy); color: #fff; padding: 28px;
  display: grid; align-content: end; gap: 14px;
  background-image:
    radial-gradient(circle at 90% 10%, rgba(252,188,40,0.18) 0, transparent 40%),
    linear-gradient(180deg, #06324f 0, #00263F 100%);
}
.case-card .cover .tag {
  font-family: var(--ff-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--amber); padding: 4px 0;
}
.case-card .cover h3 { color: #fff; font-size: 22px; }
.case-card .meta {
  padding: 18px 22px; display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted); border-top: 1px solid var(--line);
}
.case-card.lg .cover { padding: 40px; min-height: 380px;}
.case-card.lg .cover h3 { font-size: 30px; }

/* ---------- Testimonials ---------- */
.quotes {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid var(--line); background: var(--surface);
}
.quote {
  padding: 36px 32px; border-right: 1px solid var(--line);
  display: grid; gap: 24px; align-content: space-between;
  min-height: 280px;
}
.quote:last-child { border-right: 0; }
.quote .q {
  font-family: var(--ff-display); font-size: 18px; line-height: 1.45; color: var(--ink);
  text-wrap: pretty;
}
.quote .q::before { content: "“"; font-size: 56px; line-height: 0; color: var(--amber); display: block; margin-bottom: 24px; }
.quote .who { display: flex; align-items: center; gap: 14px; }
.quote .who .av { width: 40px; height: 40px; background: var(--navy); color: var(--amber); display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-weight: 600; font-size: 15px; }
.quote .who .n { font-weight: 600; font-size: 14px; }
.quote .who .r { font-size: 12.5px; color: var(--muted); }

/* ---------- Pricing teaser ---------- */
.pricing {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid var(--line);
}
.plan {
  background: var(--surface); padding: 36px 32px; border-right: 1px solid var(--line);
  display: grid; gap: 18px; align-content: start;
}
.plan:last-child { border-right: 0; }
.plan.featured { background: var(--navy); color: #fff; }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured .feat li { color: rgba(236,234,226,0.85); }
.plan.featured .feat li::before { background: var(--amber); }
.plan .tier { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);}
.plan.featured .tier { color: var(--amber); }
.plan h3 { font-size: 24px; }
.plan .price { font-family: var(--ff-display); font-size: 36px; font-weight: 600; color: var(--navy); letter-spacing: -0.02em; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 400; margin-left: 4px;}
.plan.featured .price small { color: rgba(255,255,255,0.6); }
.plan .feat { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan .feat li { font-size: 13.5px; padding-left: 20px; position: relative; color: var(--ink-2); }
.plan .feat li::before { content:""; position:absolute; left: 0; top: 8px; width: 10px; height: 1px; background: var(--navy); }

/* ---------- Blog teaser ---------- */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.post {
  display: grid; gap: 16px;
}
.post .cover {
  aspect-ratio: 4/3; border: 1px solid var(--line); background: repeating-linear-gradient(45deg, var(--surface) 0 14px, var(--bg) 14px 28px); position: relative;
}
.post .cover .cat {
  position: absolute; top: 14px; left: 14px;
  background: var(--navy); color: var(--amber);
  font-family: var(--ff-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em;
  padding: 5px 10px;
}
.post .date { font-family: var(--ff-mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.06em;}
.post h3 { font-size: 19px; line-height: 1.3; }
.post:hover h3 { color: var(--navy); }

/* ---------- CTA strip ---------- */
.cta {
  background: var(--amber); color: var(--navy);
}
.cta .container {
  padding-top: 72px; padding-bottom: 72px;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta h2 { color: var(--navy); font-size: clamp(28px, 3vw, 40px); }
.cta p { color: rgba(0,38,63,0.78); max-width: 56ch; }
.cta .btn--dark { background: var(--navy); color: #fff;}

[data-theme="dark"] .cta { background: var(--amber); color: var(--navy); }
[data-theme="dark"] .cta h2 { color: var(--navy); }

/* ---------- WhatsApp CTA box ---------- */
.wa-box {
  --wa: #25D366;
  --wa-dark: #128C7E;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--wa);
  position: relative;
}
.wa-box .wa-ico {
  width: 56px; height: 56px;
  background: var(--wa);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
}
.wa-box .wa-ico svg { width: 30px; height: 30px; display: block; }
.wa-box .wa-copy { display: grid; gap: 4px; }
.wa-box .wa-eyebrow {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--wa-dark);
}
.wa-box .wa-title {
  font-family: var(--ff-display); font-weight: 600;
  font-size: 19px; color: var(--ink); letter-spacing: -0.01em;
  line-height: 1.25;
}
.wa-box .wa-sub {
  font-size: 13.5px; color: var(--muted);
  margin-top: 2px;
}
.wa-box .wa-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa); color: #fff;
  font-family: var(--ff-body); font-weight: 600; font-size: 14.5px;
  padding: 14px 22px; border-radius: var(--radius);
  white-space: nowrap;
  transition: background .2s;
}
.wa-box .wa-cta:hover { background: var(--wa-dark); color: #fff; }
.wa-box .wa-cta svg { width: 16px; height: 16px; }

/* Inverted variant — for dark backgrounds (navy hero, footer area) */
.wa-box--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  border-left-color: var(--wa);
}
.wa-box--dark .wa-title { color: #fff; }
.wa-box--dark .wa-sub { color: rgba(236,234,226,0.7); }

/* Contact qualification page */
.contato-qualify__split {
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.contato-qualify__form-col {
  min-width: 0;
}
.contact-form-embed {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(0, 38, 63, 0.06);
  overflow: hidden;
}
.contact-form-embed iframe {
  display: block;
  width: 100%;
  min-height: 1310px;
  border: 0;
  background: #fff;
}
.contato-qualify__sidebar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-self: start;
}
.contact-card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 28px 30px;
  display: grid;
  gap: 14px;
}
.contact-card h3 {
  margin: 0;
  font-size: 22px;
}
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.contact-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-2);
}
.contact-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  position: absolute;
  left: 0;
  top: .55em;
}
.wa-box--compact {
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px 20px;
}
.wa-box--compact .wa-ico {
  width: 46px;
  height: 46px;
}
.wa-box--compact .wa-title {
  font-size: 16px;
}
.wa-box--compact .wa-sub {
  font-size: 13px;
}

@media (max-width: 980px) {
  .contato-qualify__sidebar {
    grid-template-columns: 1fr;
  }

  .contact-form-embed iframe {
    min-height: 1450px;
  }
}

/* Compact inline variant — replaces a plain CTA button */
.wa-box--inline {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 16px;
  padding: 14px 20px 14px 16px;
  align-items: center;
  border-left-width: 3px;
}
.wa-box--inline .wa-ico { width: 36px; height: 36px; }
.wa-box--inline .wa-ico svg { width: 20px; height: 20px; }
.wa-box--inline .wa-title { font-size: 14.5px; }
.wa-box--inline .wa-sub { font-size: 12px; }

/* Floating WhatsApp bubble — every page */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  z-index: 80;
  box-shadow: 0 14px 28px -10px rgba(37,211,102,0.55), 0 0 0 6px rgba(37,211,102,0.18);
  animation: wa-pulse 2.4s ease-out infinite;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float .lbl {
  position: absolute; right: 68px; background: var(--navy); color: #fff;
  padding: 8px 12px; font-family: var(--ff-body); font-size: 13px; font-weight: 500;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.wa-float:hover .lbl { opacity: 1; }
@keyframes wa-pulse {
  0%   { box-shadow: 0 14px 28px -10px rgba(37,211,102,0.55), 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 14px 28px -10px rgba(37,211,102,0.55), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 14px 28px -10px rgba(37,211,102,0.55), 0 0 0 0 rgba(37,211,102,0); }
}

@media (max-width: 640px) {
  .wa-box { grid-template-columns: 1fr; padding: 20px; }
  .wa-box .wa-cta { justify-self: start; }
  .wa-float { bottom: 16px; right: 16px; }
  .contact-form-embed iframe { min-height: 1500px; }
  .contact-card { padding: 24px 22px; }
}

/* ---------- Apps catalog (Aplicativos) ---------- */
.apps-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 32px;
  position: sticky;
  top: 84px;
  z-index: 20;
  backdrop-filter: saturate(120%) blur(8px);
}
.apps-search {
  position: relative; display: flex; align-items: center;
}
.apps-search svg {
  position: absolute; left: 18px; width: 18px; height: 18px;
  color: var(--muted); pointer-events: none;
}
.apps-search input {
  width: 100%;
  padding: 14px 18px 14px 50px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s;
}
.apps-search input:focus { border-color: var(--navy); }
.apps-search input::placeholder { color: var(--muted); }

.apps-count {
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
  padding-right: 8px;
}

.apps-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.apps-filters button {
  font-family: var(--ff-body); font-size: 13px; font-weight: 500;
  padding: 9px 16px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2);
  cursor: pointer; transition: all .15s;
  border-radius: var(--radius);
}
.apps-filters button:hover { border-color: var(--navy); color: var(--navy); }
.apps-filters button.is-active {
  background: var(--navy); color: #fff; border-color: var(--navy);
}

/* Masonry via CSS columns */
.apps-masonry {
  column-count: 3;
  column-gap: 24px;
}
@media (max-width: 1024px) { .apps-masonry { column-count: 2; } }
@media (max-width: 640px)  { .apps-masonry { column-count: 1; } }

.app-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.app-card:hover { border-color: var(--navy); }
.app-card .cover {
  position: relative;
  background: repeating-linear-gradient(45deg, var(--bg) 0 14px, var(--surface) 14px 28px);
  border-bottom: 1px solid var(--line);
}
.app-card .cover .glyph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(48px, 6vw, 88px);
  color: var(--navy); opacity: 0.85;
  letter-spacing: -0.04em;
}
.app-card .cover .tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--navy); color: var(--amber);
  padding: 5px 10px;
}
[data-theme="dark"] .app-card .cover .glyph { color: var(--amber); opacity: 0.7; }

/* Different aspect ratios for masonry rhythm */
.app-card.size-sm .cover  { aspect-ratio: 4/3; }
.app-card.size-md .cover  { aspect-ratio: 1/1; }
.app-card.size-lg .cover  { aspect-ratio: 4/5; }

.app-card .body { padding: 22px 22px 26px; }
.app-card h3 {
  font-family: var(--ff-display);
  font-size: 19px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--ink);
  margin-bottom: 8px;
}
.app-card p {
  font-size: 13.5px; color: var(--muted); line-height: 1.55;
}
.app-card .meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.app-card .meta .arrow { color: var(--navy); }

.apps-empty {
  display: none;
  text-align: center; padding: 80px 20px;
  color: var(--muted);
}
.apps-empty.is-visible { display: block; }
.apps-empty h3 { color: var(--ink); margin-bottom: 8px; }

/* ---------- Apps cards (new icon grid) ---------- */
.apps-banner {
  margin: 0 0 40px;
}
.apps-banner img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.apps-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
@media (max-width: 1024px) { .apps-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .apps-cards { grid-template-columns: 1fr; } }

.app-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.app-card:hover {
  border-color: color-mix(in srgb, var(--c) 55%, var(--line));
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -22px color-mix(in srgb, var(--c) 70%, transparent);
}
.app-card .app-ic {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--c) 13%, transparent);
  color: var(--c);
  flex: none;
}
.app-card .app-ic .material-symbols-rounded {
  font-size: 30px;
  line-height: 1;
}
.app-card h3 {
  font-family: var(--ff-display);
  font-size: 19px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--ink);
  margin: 0;
}
.app-card p {
  font-size: 13.5px; color: var(--muted); line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: pretty;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy); color: #C9C6BD;
  padding: 88px 0 28px;
}
.footer .container { display: grid; gap: 48px; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
}
.footer h4 {
  color: #fff; font-family: var(--ff-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 18px; font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: rgba(236,234,226,0.78); font-size: 14px; }
.footer a:hover { color: var(--amber); }
.footer .brand p { font-size: 14px; color: rgba(236,234,226,0.7); max-width: 36ch; margin-top: 18px; }
.footer .brand .flogo {
  padding: 0; display: inline-block; background: transparent;
}
.footer .brand .flogo img { display:block; width:auto; height:auto; max-height: 40px; max-width: min(100%, 320px); object-fit: contain; }
.footer-bot {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: rgba(236,234,226,0.55);
  flex-wrap: wrap; gap: 12px;
}

/* ---------- Page header (interior pages) ---------- */
.pageheader {
  background: var(--navy); color: #fff;
  padding: clamp(56px, 7vw, 120px) 0 clamp(56px, 6vw, 96px);
}
.pageheader h1 { color: #fff; }
.pageheader .breadcrumb {
  font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 18px;
}
.pageheader .breadcrumb a { color: var(--amber); }
.pageheader .lead { color: rgba(236,234,226,0.8); margin-top: 24px; max-width: 64ch; }

/* ---------- AI-readable page ---------- */
.aihub-hero {
  background: linear-gradient(180deg, var(--navy) 0%, #0a3352 100%);
  color: #fff;
  padding: clamp(56px, 8vw, 112px) 0;
}
.aihub-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: start;
}
.aihub-eyebrow,
.aihub-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.aihub-eyebrow::before,
.aihub-kicker::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--amber);
}
.aihub-hero h1 { color: #fff; margin-top: 18px; }
.aihub-lead {
  max-width: 68ch;
  margin-top: 22px;
  color: rgba(255,255,255,.82);
  font-size: 17px;
}
.aihub-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.aihub-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.aihub-meta span,
.aihub-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  font-size: 13px;
}
.aihub-panel,
.aihub-card,
.aihub-faq {
  background: var(--surface);
  border: 1px solid var(--line);
}
.aihub-panel {
  padding: 26px;
  color: var(--ink);
}
.aihub-panel h2 { font-size: 24px; margin-bottom: 18px; }
.aihub-panel ul,
.aihub-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}
.aihub-section {
  padding: clamp(48px, 7vw, 92px) 0;
}
.aihub-section--soft { background: color-mix(in srgb, var(--surface) 35%, var(--bg)); }
.aihub-section--cta {
  background: var(--navy);
  color: #fff;
}
.aihub-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}
.aihub-section--cta h2,
.aihub-section--cta p { color: #fff; }
.aihub-section__head {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
  max-width: 820px;
}
.aihub-kicker { color: var(--muted); }
.aihub-kicker::before { background: var(--navy); }
.aihub-card {
  padding: 24px;
  display: grid;
  gap: 14px;
}
.aihub-card h3 { margin: 0; }
.aihub-card p,
.aihub-prose p,
.aihub-faq p,
.aihub-muted { color: var(--muted); }
.aihub-grid {
  display: grid;
  gap: 22px;
}
.aihub-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aihub-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aihub-prose { gap: 18px; }
.aihub-prose p { margin: 0; }
.aihub-tablewrap {
  border: 1px solid var(--line);
  overflow-x: auto;
  background: var(--surface);
}
.aihub-table {
  width: 100%;
  border-collapse: collapse;
}
.aihub-table th,
.aihub-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.aihub-table th {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface) 55%, var(--bg));
}
.aihub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.aihub-tags span {
  border-color: var(--line);
  background: var(--surface);
}
.aihub-faqs {
  display: grid;
  gap: 14px;
}
.aihub-faq {
  padding: 20px 22px;
}
.aihub-faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--ff-display);
  font-size: 20px;
  color: var(--ink);
}
.aihub-faq summary::-webkit-details-marker { display: none; }
.aihub-faq p { margin: 14px 0 0; }
.aihub-inline-cta { margin-top: 22px; }

@media (max-width: 980px) {
  .aihub-hero__grid,
  .aihub-grid--2,
  .aihub-grid--3,
  .aihub-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .aihub-panel,
  .aihub-card,
  .aihub-faq { padding: 20px; }
  .aihub-table th,
  .aihub-table td { padding: 14px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .area-card { border-bottom: 1px solid var(--line); }
  .area-card:nth-last-child(-n+1) { border-bottom: 0;}
  .trio { grid-template-columns: 1fr; }
  .trio-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .trio-cell:last-child { border-bottom: 0; }
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .case-card.lg { grid-column: span 2; }
  .quotes { grid-template-columns: 1fr; }
  .quote { border-right: 0; border-bottom: 1px solid var(--line);}
  .quote:last-child { border-bottom: 0; }
  .pricing { grid-template-columns: 1fr; }
  .plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, 1fr);}
  .stats .cell:nth-child(2) { border-right: 0; }
  .stats .cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid rgba(255,255,255,0.12); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .logos-row { grid-template-columns: 1fr; gap: 24px;}
  .logos-grid { grid-template-columns: repeat(3, 1fr);}
  .logo-cell:nth-child(3n) { border-right: 1px solid var(--line);}
  .split { grid-template-columns: 1fr; }
  .flow { flex-direction: column; }
  .flow-step { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .hero-meta { flex-wrap: wrap; }
  .hero-meta .stat { flex: 0 0 calc(50% - 12px); }
  .topbar .container {
    height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
  }
  .topbar-left,
  .topbar-right {
    width: 100%;
    gap: 10px 14px;
    flex-wrap: wrap;
  }
  .topbar-right {
    justify-content: space-between;
  }
  .topbar-label {
    font-size: 11px;
    line-height: 1.25;
  }
  .topbar-access {
    padding-left: 0;
    margin-left: 0;
    border-left: 0;
    margin-right: auto;
  }
  .nav-toggle {
    display: inline-flex;
    order: 3;
  }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: var(--pad-x);
    right: var(--pad-x);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(15,22,32,0.12);
    padding: 10px;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  body.nav-open .nav {
    display: flex;
  }
  .nav a,
  .nav .nav-dd > a {
    width: 100%;
    padding: 12px 14px;
  }
  .nav-dd:hover .dd-menu,
  .nav-dd .dd-menu {
    display: grid;
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 0;
    border-top: 1px solid var(--line);
    padding: 6px 0 0;
    margin-top: 4px;
    background: transparent;
  }
  .header .container {
    height: 68px;
    gap: 12px;
  }
  .logo {
    min-width: 0;
    flex: 1 1 auto;
  }
  .logo img {
    height: 28px;
    max-width: 190px;
    object-fit: contain;
  }
  .header-cta {
    gap: 8px;
    margin-left: auto;
  }
  .header-cta .btn {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 13px;
  }
  .header-cta .btn--ghost {
    display: inline-flex;
    width: 42px;
    min-width: 42px;
    padding: 0;
    justify-content: center;
  }
  .header-cta .btn--ghost .btn-wa__label {
    display: none;
  }
  .header-cta .btn--ghost .btn-wa__icon {
    width: 18px;
    height: 18px;
  }
  .header-cta .btn--primary {
    min-width: 84px;
  }
  .areas-grid { grid-template-columns: 1fr; }
  .area-card { border-right: 0; border-bottom: 1px solid var(--line);}
  .cases-grid { grid-template-columns: 1fr; }
  .case-card.lg { grid-column: auto; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats .cell { border-right: 0; border-bottom: 1px solid var(--line);}
  .steps { grid-template-columns: 1fr; }
  .cta .container { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-bot > div {
    gap: 12px !important;
  }
  .wa-float {
    width: 54px;
    height: 54px;
    bottom: 18px;
    right: 18px;
  }
}

/* ---------- Legal / Privacy prose ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
}
.legal .eyebrow { display: block; }
.legal .legal-title {
  font-size: 28px;
  letter-spacing: -0.01em;
  margin: 14px 0 28px;
}
.legal .legal-title + h3 { margin-top: 0; }
.legal h3 {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 34px 0 12px;
}
.legal .lgpd-mark {
  font-family: var(--ff-mono);
  color: var(--amber-ink, var(--navy));
  font-weight: 600;
  margin-right: 4px;
}
.legal p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.legal .legal-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 18px;
  display: grid;
  gap: 10px;
}
.legal .legal-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
.legal .legal-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--amber);
}
.legal .legal-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 44px 0;
}
.legal .legal-meta {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.legal a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--amber-ink, var(--navy)); }


/* ---------- WordPress integration ---------- */
html { scroll-behavior: smooth; }
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 46px; } }
main { display: block; flex: 1 0 auto; }
.b2b-page { padding: var(--sec-y) 0; }
.b2b-page__inner { max-width: 760px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.b2b-page__content > * + * { margin-top: 16px; }
.b2b-page__content h2 { margin-top: 56px; margin-bottom: 18px; }
.b2b-page__content h3 { margin-top: 40px; margin-bottom: 14px; }
.b2b-page__content ul, .b2b-page__content ol { padding-left: 20px; color: var(--ink-2); }
.b2b-page__content li + li { margin-top: 8px; }
.b2b-page__content img { max-width: 100%; height: auto; }
.b2b-page__content blockquote { border-left: 3px solid var(--amber); padding: 8px 24px; margin: 48px 0; font-family: var(--ff-display); font-size: 22px; line-height: 1.4; color: var(--ink); }
.b2b-page__content .wp-block-image, .b2b-page__content figure { margin: 0 0 32px; }
.b2b-page__content .wp-caption-text, .b2b-page__content figcaption { color: var(--muted); font-size: 13px; }
.b2b-article-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; font-family: var(--ff-mono); font-size: 12px; color: rgba(255,255,255,0.7); letter-spacing: 0.06em; text-transform: uppercase; }
.b2b-article-cover { margin-bottom: 48px; }
.b2b-article-cover img { width: 100%; border: 1px solid var(--line); }
.b2b-post-closing {
  margin-top: 56px;
  padding: 32px;
  border: 1px solid rgba(0, 38, 63, 0.10);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  box-shadow: 0 18px 48px rgba(0, 38, 63, 0.08);
}
.b2b-post-closing * { box-sizing: border-box; }
.b2b-post-closing__author {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}
.b2b-post-closing__author-photo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}
.b2b-post-closing__eyebrow {
  margin-bottom: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}
.b2b-post-closing__bio {
  color: var(--ink-2);
  margin-bottom: 14px;
}
.b2b-post-closing__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.b2b-post-closing__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.b2b-post-closing__social img {
  width: 25px;
  height: 25px;
  display: block;
}
.b2b-post-closing__brand {
  margin-bottom: 24px;
  padding: 26px 28px;
  border-radius: 20px;
  background: #00263f;
  color: #fafaf7;
}
.b2b-post-closing__brand-logo {
  width: min(250px, 100%);
  height: auto;
  margin-bottom: 14px;
}
.b2b-post-closing__brand-text {
  color: rgba(250,250,247,.92);
  font-size: 16px;
}
.b2b-post-closing__cta {
  padding: 28px 26px 24px;
  border: 1px solid rgba(252, 188, 40, .35);
  border-radius: 20px;
  background: rgba(252, 188, 40, .10);
}
.b2b-post-closing__cta h3 {
  margin-bottom: 14px;
  color: #00263f;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.08;
  max-width: 16ch;
}
.b2b-post-closing__cta p {
  margin-bottom: 18px;
  max-width: 58ch;
}
.b2b-post-closing__cta-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 22px;
  border-radius: 10px;
  background: #00263f;
  color: #fafaf7;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.b2b-post-closing__cta-link:hover {
  background: #fcbc28;
  color: #00263f;
}
.b2b-related { background: var(--surface); border-top: 1px solid var(--line); }
.b2b-related .section-head { margin-bottom: 32px; }
.b2b-related .post .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b2b-featured-post { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: var(--sec-y); border: 1px solid var(--line); background: var(--surface); }
.b2b-featured-post__media { min-height: 320px; background: repeating-linear-gradient(45deg, var(--bg) 0 14px, var(--surface) 14px 28px); }
@media (max-width: 820px) {
  .b2b-post-closing { padding: 24px; border-radius: 20px; }
  .b2b-post-closing__author { grid-template-columns: 1fr; }
  .b2b-post-closing__author-photo { width: 92px; height: 92px; }
  .b2b-post-closing__cta { padding: 22px; }
}
.b2b-featured-post__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b2b-featured-post__body { padding: 40px; }
.b2b-featured-post__body .lead { margin-top: 20px; }
.b2b-featured-post__meta { font-family: var(--ff-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; margin-top: 24px; display: inline-block; }
.b2b-post-meta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.b2b-post-meta-row img { width: 28px; height: 28px; border-radius: 999px; }
.b2b-post-meta-row span { font-family: var(--ff-mono); letter-spacing: 0.04em; }
.b2b-post-link:hover h3, .b2b-featured-post:hover h2 { color: var(--navy); }
.b2b-post-link .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b2b-category-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.b2b-category-pills a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--ff-body); font-weight: 600; font-size: 13px; padding: 10px 16px; border-radius: var(--radius); border: 1px solid var(--line-strong); color: var(--ink); background: transparent; }
.b2b-category-pills a:hover, .b2b-category-pills a.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.b2b-pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 48px; }
.b2b-pagination .page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
.b2b-pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.b2b-home-blog .section-head { display:flex; justify-content: space-between; align-items: end; max-width:100%; flex-wrap:wrap; gap:24px; }
.b2b-home-blog .section-head > div { max-width: 680px; }
@media (max-width: 960px) { .b2b-featured-post { grid-template-columns: 1fr; } .b2b-featured-post__media { min-height: 260px; } }
