/* ============================================================
   BizLink — Site Institucional | Apps Solutions
   Paleta oficial do design system BizLink
   ============================================================ */

:root {
  --primary:        #2C4791;
  --primary-dark:   #1D2F63;
  --primary-light:  #4C69C4;
  --primary-tint:   #EEF1FC;
  --accent:         #F09030;   /* laranja do monograma Apps Solutions */
  --accent-soft:    #FBC98F;
  --ink:            #14162B;
  --ink-2:          #5B6178;
  --ink-3:          #8A8FA3;
  --bg:             #EFF1F6;
  --surface:        #FFFFFF;
  --surface-sunken: #F8F9FD;
  --border:         #ECEEF5;
  --border-strong:  #E1E4EE;
  --dark-1:         #0E1530;
  --dark-2:         #141C44;
  --success:        #16A34A;
  --radius:         14px;
  --radius-lg:      22px;
  --shadow-sm:      0 1px 2px rgba(20, 22, 43, .05), 0 4px 14px rgba(20, 22, 43, .05);
  --shadow-md:      0 6px 24px rgba(20, 22, 43, .09);
  --shadow-lg:      0 18px 50px rgba(13, 20, 54, .18);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 10px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm  { padding: 9px 16px; font-size: .88rem; }
.btn-lg  { padding: 15px 30px; font-size: 1.02rem; border-radius: 12px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  box-shadow: 0 6px 18px rgba(44, 71, 145, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(44, 71, 145, .45); }

.btn-ghost {
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }

.btn-light { background: #fff; color: var(--primary-dark); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-2px); }

.btn-outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .25s ease, box-shadow .25s ease;
}
.header.scrolled {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-badge {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #fff;
  border-radius: 12px;
  padding: 6px 8px;
}
.brand-badge img { width: 56px; height: auto; }
.brand-text {
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}
.brand-text strong { font-weight: 800; color: var(--primary); }
.header:not(.scrolled) .brand-text { color: #fff; }
.header:not(.scrolled) .brand-text strong { color: var(--accent-soft); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--primary); background: var(--primary-tint); }
.header:not(.scrolled) .nav-link { color: rgba(255,255,255,.82); }
.header:not(.scrolled) .nav-link:hover { color: #fff; background: rgba(255,255,255,.12); }
.header-actions { flex-shrink: 0; }
.header:not(.scrolled) .header-actions .btn-primary {
  background: #fff; color: var(--primary-dark); box-shadow: none;
}
.header:not(.scrolled) .header-actions .btn-primary:hover {
  background: var(--primary-tint);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: .25s;
}
.header:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(76, 105, 196, .45), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(240, 144, 48, .14), transparent 55%),
    linear-gradient(160deg, var(--dark-1) 0%, var(--dark-2) 55%, #101A45 100%);
  color: #fff;
  padding: 160px 0 70px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
  pointer-events: none;
}
.hero-glow-1 { width: 420px; height: 420px; background: var(--primary-light); top: -140px; right: -80px; }
.hero-glow-2 { width: 320px; height: 320px; background: var(--accent); bottom: 10%; left: -120px; opacity: .12; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: rgba(240, 144, 48, .12);
  border: 1px solid rgba(240, 144, 48, .3);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.text-gradient {
  background: linear-gradient(90deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, .78);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  list-style: none;
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
}
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 15px; height: 15px; color: #4ADE80; }

/* ---------- Hero visual: apps conectados ---------- */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 400px; overflow: hidden; }
.apps-map {
  position: relative;
  width: min(500px, 100%);
  aspect-ratio: 460 / 380;
}
.apps-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.apps-lines path {
  fill: none;
  stroke: rgba(255, 255, 255, .24);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 6 9;
  animation: dashmove 2.8s linear infinite;
}
@keyframes dashmove { to { stroke-dashoffset: -30; } }

.app-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(10, 14, 40, .35);
  animation: floaty 7s ease-in-out infinite;
}
.app-ic {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
}
.app-ic svg { width: 16px; height: 16px; }
.ic-blue  { background: linear-gradient(135deg, #4C69C4, #2C4791); color: #fff; }
.ic-green { background: linear-gradient(135deg, #22C55E, #15803D); color: #fff; }
.ic-amber { background: linear-gradient(135deg, #F09030, #D97706); color: #fff; }
.app-ok {
  position: absolute;
  top: -8px; right: -8px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: #22C55E;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 8px rgba(10,14,40,.4);
}
.app-ok svg { width: 10px; height: 10px; }

.app-node.hub {
  left: 50%; top: 50%;
  padding: 14px;
  background: #fff;
  border: 0;
  border-radius: 20px;
  box-shadow: var(--shadow-lg), 0 0 0 10px rgba(76, 105, 196, .16), 0 0 60px rgba(76, 105, 196, .35);
  z-index: 2;
}
.app-node.hub img { width: 74px; height: auto; display: block; }

.app-node.n1 { left: 17%; top: 18%; animation-delay: .4s; }
.app-node.n2 { left: 83%; top: 16%; animation-delay: 1s; }
.app-node.n3 { left: 12%; top: 50%; animation-delay: 1.6s; }
.app-node.n4 { left: 88%; top: 50%; animation-delay: 2.2s; }
.app-node.n5 { left: 20%; top: 82%; animation-delay: 2.8s; }
.app-node.n6 { left: 80%; top: 82%; animation-delay: 3.4s; }

/* A animação substitui o transform do elemento: o translate(-50%,-50%)
   de centralização precisa estar repetido aqui, senão os nós perdem o
   centro e o mapa desloca inteiro para a direita/baixo. */
@keyframes floaty {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-12px); }
}

/* ---------- Stats ---------- */
.stats {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 66px;
  padding: 26px 40px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
}
.stat { text-align: left; }
.stat strong { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: .82rem; color: rgba(255,255,255,.6); line-height: 1.35; display: block; }
.stat-sep { width: 1px; height: 46px; background: rgba(255,255,255,.14); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg); }
.section-dark {
  background: linear-gradient(155deg, var(--dark-1), var(--dark-2));
  color: #fff;
}
.section-head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.section-head h2, .split h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.18;
  margin-bottom: 14px;
}
.section-head p, .split p { color: var(--ink-2); font-size: 1.05rem; }
.section-dark .section-head p { color: rgba(255,255,255,.7); }

.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-tint);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.section-tag.light {
  color: var(--accent-soft);
  background: rgba(240,144,48,.14);
}
.text-gradient-light {
  background: linear-gradient(90deg, #8FA3E0, var(--accent-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.split-center { align-items: center; }

.split-h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.split p + p { margin-top: 14px; }

/* ---------- Missão / Visão / Compromisso ---------- */
.mv-cards { margin-top: 60px; }
.mv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 26px 26px;
  transition: .2s;
}
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-top-color: var(--accent); }
.mv-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.mv-card p { font-size: .92rem; color: var(--ink-2); }

/* ---------- Público (empresas / pessoas) ---------- */
.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 30px;
}
.audience-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
}
.audience-alt {
  background: linear-gradient(150deg, var(--dark-1), var(--dark-2));
  border-color: rgba(255,255,255,.12);
  color: #fff;
}
.audience-alt h3 { color: #fff; }
.audience-tag {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-tint);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 16px;
}
.audience-tag.alt { color: var(--accent-soft); background: rgba(240,144,48,.15); }
.audience-col h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 18px; }
.check-list.light li { color: rgba(255,255,255,.75); }
.check-list.light li::before {
  background-color: rgba(74,222,128,.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ADE80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ---------- Showcase do produto (BizLink) ---------- */
.showcase .section-head { max-width: 760px; }
.showcase-logo { height: 58px; width: auto; margin: 0 auto 22px; }
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 46px;
}
.showcase-item {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  padding: 18px 18px;
  transition: .2s;
}
.showcase-item:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); transform: translateY(-3px); }
.showcase-item strong { display: block; font-size: .95rem; margin-bottom: 4px; color: #fff; }
.showcase-item span { font-size: .8rem; color: rgba(255,255,255,.6); line-height: 1.4; display: block; }
.showcase-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.showcase-price strong { display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.showcase-price strong small { font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.6); }
.showcase-price > span { font-size: .85rem; color: rgba(255,255,255,.6); }
.showcase-note { color: var(--accent-soft) !important; font-weight: 600; }
.platform-badges.dark .platform-badge {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.8);
}
.platform-badges.dark .platform-badge:hover { border-color: var(--accent-soft); color: var(--accent-soft); }

.check-list { list-style: none; display: grid; gap: 18px; align-content: center; }
.check-list li {
  position: relative;
  padding-left: 40px;
  color: var(--ink-2);
  font-size: 1rem;
}
.check-list li strong { color: var(--ink); }
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 1px;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--primary-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C4791' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}
.check-list.compact { margin: 22px 0 30px; gap: 12px; }

/* ---------- Plataformas ---------- */
.platform-badges { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.platform-badge {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-2);
  transition: .2s;
}
.platform-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ---------- Grid & Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary-tint), #E2E8FA);
  color: var(--primary);
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 9px; letter-spacing: -.01em; }
.card p { font-size: .92rem; color: var(--ink-2); }

.card-dark {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .1);
}
.card-dark:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255,255,255,.2); }
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255,255,255,.65); }

/* ---------- Diferenciais ---------- */
.diff-grid { grid-template-columns: repeat(4, 1fr); }
.diff {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 20px 20px;
  transition: .2s;
}
.diff:hover { border-left-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.diff strong { display: block; font-size: .95rem; margin-bottom: 5px; }
.diff span { font-size: .84rem; color: var(--ink-2); }

/* ---------- Parceiros ---------- */
.vs-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.vs-head { display: grid; grid-template-columns: 1fr 1fr; }
.vs-head span {
  padding: 15px 20px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.vs-col-us { background: var(--primary-tint); color: var(--primary); }
.vs-col-them { background: var(--surface-sunken); color: var(--ink-3); border-left: 1px solid var(--border); }
.vs-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); }
.vs-row span { position: relative; padding: 13px 16px 13px 42px; font-size: .86rem; line-height: 1.4; }
.vs-us { color: var(--ink); font-weight: 500; }
.vs-us::before {
  content: '';
  position: absolute;
  left: 16px; top: 15px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #DCFCE7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A34A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
}
.vs-them { color: var(--ink-3); border-left: 1px solid var(--border); }
.vs-them::before {
  content: '';
  position: absolute;
  left: 16px; top: 15px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #FEE2E2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DC2626' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/9px no-repeat;
}

/* ---------- Empresa ---------- */
.about-logo { text-align: center; }
.about-logo img {
  width: min(420px, 90%);
  margin-inline: auto;
  filter: drop-shadow(0 14px 30px rgba(20, 22, 43, .16));
}

.values { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.value-chip {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--primary-tint);
  color: var(--primary);
  font-size: .86rem;
  font-weight: 600;
}

/* ---------- CTA final ---------- */
.cta-final {
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(240,144,48,.18), transparent 60%),
    linear-gradient(150deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
  padding: 90px 0;
}
.cta-final h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.cta-final p { color: rgba(255,255,255,.78); font-size: 1.08rem; margin-bottom: 34px; }
.cta-final .hero-ctas { justify-content: center; margin-bottom: 0; }
.cta-address {
  margin-top: 26px;
  font-size: .88rem !important;
  color: rgba(255,255,255,.55) !important;
}

/* ---------- Páginas legais (privacidade etc.) ---------- */
.legal { padding: 150px 0 90px; }
.legal-inner { max-width: 760px; }
.legal-inner h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.18;
  margin-bottom: 10px;
}
.legal-updated { color: var(--ink-3); font-size: .88rem; margin-bottom: 34px; }
.legal-inner h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 34px 0 10px;
}
.legal-inner p { color: var(--ink-2); line-height: 1.75; margin-bottom: 14px; }
.legal-inner ul {
  color: var(--ink-2);
  line-height: 1.75;
  margin: 0 0 14px 22px;
}
.legal-inner li { margin-bottom: 6px; }
.legal-inner a { color: var(--primary); font-weight: 600; }
.legal-inner a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark-1);
  color: rgba(255,255,255,.65);
  padding: 60px 0 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 44px;
  flex-wrap: wrap;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo-card {
  display: inline-block;
  background: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 18px;
}
.footer-logo-card img { width: 190px; height: auto; }
.footer-brand p { max-width: 320px; font-size: .9rem; }
.footer-nav { display: flex; gap: 70px; flex-wrap: wrap; }
.footer-nav strong { display: block; color: #fff; font-size: .9rem; margin-bottom: 14px; }
.footer-nav a { display: block; font-size: .88rem; padding: 4px 0; transition: color .15s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 22px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .app-node, .apps-lines path { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .hero-sub { max-width: none; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .audience { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    padding: 14px 24px 22px;
    box-shadow: var(--shadow-md);
    gap: 2px;
  }
  .nav.open .nav-link { color: var(--ink); padding: 12px 10px; font-size: 1rem; }
  .stats { flex-direction: column; align-items: stretch; gap: 18px; padding: 26px; }
  .stat { text-align: center; }
  .stat-sep { width: auto; height: 1px; }
  .grid-3, .grid-4, .diff-grid, .grid-2, .showcase-grid { grid-template-columns: 1fr; }
  .showcase-foot { flex-direction: column; align-items: flex-start; }
  .showcase-logo { height: 44px; }
  .section { padding: 70px 0; }
  .footer-inner { flex-direction: column; gap: 34px; }
  .footer-nav { gap: 44px; }
  .apps-map { width: 100%; max-width: 420px; }
  .app-node { font-size: .72rem; padding: 7px 12px 7px 7px; gap: 7px; }
  /* Em telas estreitas, prende os nós às bordas do mapa (82px ≈ metade do
     nó mais largo + o check .app-ok). As linhas SVG continuam no ponto
     original e terminam sob o nó — a conexão segue visualmente ok. */
  .app-node.n1 { left: max(17%, 82px); }
  .app-node.n3 { left: max(12%, 82px); }
  .app-node.n5 { left: max(20%, 82px); }
  .app-node.n2 { left: min(83%, calc(100% - 82px)); }
  .app-node.n4 { left: min(88%, calc(100% - 82px)); }
  .app-node.n6 { left: min(80%, calc(100% - 82px)); }
  .app-ic { width: 28px; height: 28px; }
  .app-node.hub img { width: 58px; }
}
