/* ==========================================================
   CONEXO — Consultorias de Empresas
   Paleta oficial (Manual da Marca)
   ========================================================== */
:root {
  --blue: #0066FF;        /* Conexo Blue */
  --deep: #0049B8;        /* Conexo Deep Blue */
  --cyan: #00A3FF;        /* Gradiente Digital */
  --navy: #003B94;        /* Gradiente Premium */
  --graphite: #464646;    /* Conexo Graphite */
  --black: #171717;       /* Conexo Black */
  --ink: #252525;
  --light: #F2F4F7;       /* Conexo Light Gray */
  --white: #FFFFFF;

  --text: #171717;
  --text-soft: #5B6170;
  --text-inv: #FFFFFF;
  --text-inv-soft: rgba(255,255,255,.66);
  --line-dark: rgba(255,255,255,.09);
  --line-light: rgba(23,23,23,.08);

  --grad-inst: linear-gradient(135deg, #0049B8 0%, #0066FF 100%);
  --grad-digital: linear-gradient(135deg, #0066FF 0%, #00A3FF 100%);
  --grad-premium: linear-gradient(135deg, #171717 0%, #252525 45%, #003B94 100%);

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
.text-blue { color: var(--blue); }
.text-grad {
  background: var(--grad-digital);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200;
  background: var(--grad-digital); transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s, color .3s;
}
.btn .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(0,102,255,.7); }
.btn-primary:hover { background: #0a5ef0; transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(0,102,255,.85); }
.btn-ghost { border-color: rgba(255,255,255,.18); color: #fff; background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Tag / eyebrow ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(0,102,255,.08); color: var(--blue); border: 1px solid rgba(0,102,255,.16);
}
.tag::before { content: ""; width: 10px; height: 6px; background: currentColor; transform: skewX(-25deg); border-radius: 1px; }
.dark .tag { background: rgba(0,102,255,.14); color: #5aa0ff; border-color: rgba(0,102,255,.3); }

.section { position: relative; padding: 120px 0; overflow: clip; }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 48px); margin: 18px 0 16px; }
.section-head p { color: var(--text-soft); font-size: 17px; }
.dark { background: var(--black); color: var(--text-inv); }
.dark .section-head p { color: var(--text-inv-soft); }
.light { background: var(--light); }

/* ==========================================================
   HEADER
   ========================================================== */
.header { position: fixed; top: 16px; left: 0; right: 0; z-index: 100; transition: top .4s var(--ease); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 12px 14px 12px 22px; border-radius: 18px;
  background: rgba(23,23,23,.55); border: 1px solid rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  transition: background .4s, box-shadow .4s, padding .4s var(--ease);
}
.header.scrolled { top: 10px; }
.header.scrolled .nav { background: rgba(23,23,23,.82); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  position: relative; display: block; padding: 8px 14px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.75); white-space: nowrap; transition: color .25s, background .25s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 14px; height: 3px; margin-left: -7px;
  background: var(--blue); border-radius: 2px; transform: skewX(-25deg);
}
.nav .btn { padding: 11px 20px; font-size: 14px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04); color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .35s var(--ease), opacity .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; padding: 150px 0 90px;
  background: var(--black); color: #fff; overflow: clip; isolation: isolate;
}
.hero-grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  animation: gridMove 18s linear infinite;
}
@keyframes gridMove { to { background-position: 64px 64px; } }
.hero-glow {
  position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.hero-glow.g1 { width: 620px; height: 620px; background: rgba(0,102,255,.35); top: -180px; right: -120px; animation: floatGlow 14s ease-in-out infinite; }
.hero-glow.g2 { width: 460px; height: 460px; background: rgba(0,59,148,.45); bottom: -200px; left: -160px; animation: floatGlow 18s ease-in-out infinite reverse; }
@keyframes floatGlow { 50% { transform: translate(-60px, 50px) scale(1.1); } }
.spotlight {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 70%) var(--my, 30%), rgba(0,102,255,.14), transparent 60%);
}

/* brand parallelograms */
.shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.shape {
  position: absolute; border-radius: 14px; transform: skewX(-25deg);
  background: var(--grad-digital); opacity: .9;
}
.shape-wrap { position: absolute; will-change: transform; transition: transform .6s var(--ease); }
.shape-wrap.s1 { top: 14%; right: -40px; }
.shape-wrap.s1 .shape { position: relative; width: 120px; height: 300px; animation: drift 9s ease-in-out infinite; }
.shape-wrap.s2 { bottom: 10%; right: 22%; }
.shape-wrap.s2 .shape { position: relative; width: 46px; height: 110px; background: var(--deep); opacity: .7; animation: drift 11s ease-in-out infinite reverse; }
.shape-wrap.s3 { top: 13%; left: 56%; }
.shape-wrap.s3 .shape { position: relative; width: 18px; height: 46px; opacity: .6; animation: drift 7s ease-in-out infinite; }
.shape-wrap.s4 { bottom: -60px; left: 6%; }
.shape-wrap.s4 .shape { position: relative; width: 70px; height: 220px; background: transparent; border: 2px solid rgba(0,102,255,.35); animation: drift 13s ease-in-out infinite; }
@keyframes drift { 50% { translate: 0 -26px; } }

.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px;
  border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.88);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--blue); animation: pulse 2s ease-out infinite; }
@keyframes pulse { to { transform: scale(3.2); opacity: 0; } }

.hero h1 { font-size: clamp(36px, 5vw, 60px); margin: 22px 0 22px; }
.rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; height: 1.12em; }
.rotator span {
  grid-area: 1/1; display: block; transform: translateY(105%); opacity: 0;
  transition: transform .7s var(--ease), opacity .7s var(--ease);
  background: var(--grad-digital); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  padding-right: .06em;
}
.rotator span.is-in { transform: translateY(0); opacity: 1; }
.rotator span.is-out { transform: translateY(-105%); opacity: 0; }
.hero-sub { font-size: 18px; color: var(--text-inv-soft); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; font-size: 14.5px; color: rgba(255,255,255,.82); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks .ico { width: 18px; height: 18px; color: var(--blue); stroke-width: 2.6; }

.hero-stats { display: flex; gap: 40px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 32px; font-weight: 700; letter-spacing: -.02em; }
.hero-stats span { font-size: 13px; color: var(--text-inv-soft); }

/* Dashboard mockup */
.dash-wrap { position: relative; perspective: 1400px; }
.dash {
  position: relative; padding: 24px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(37,37,37,.92), rgba(23,23,23,.92));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,102,255,.06), inset 0 1px 0 rgba(255,255,255,.06);
  transform: rotateY(-8deg) rotateX(4deg); transform-style: preserve-3d;
  transition: transform .8s var(--ease);
}
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dash-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.dash-title img { width: 26px; height: 26px; }
.dash-pill { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(0,102,255,.15); color: #6eaaff; font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.kpi small { display: block; font-size: 11.5px; color: var(--text-inv-soft); margin-bottom: 4px; }
.kpi strong { font-family: var(--font-head); font-size: 22px; letter-spacing: -.02em; }
.kpi em { display: inline-flex; align-items: center; gap: 2px; font-style: normal; font-size: 11.5px; font-weight: 600; color: #3ddc97; margin-left: 4px; }
.chart { position: relative; padding: 16px 16px 8px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.chart-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-inv-soft); margin-bottom: 6px; }
.chart-top b { color: #fff; font-weight: 600; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .line { fill: none; stroke: url(#lineGrad); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.chart .area { opacity: 0; }
.chart .dot { opacity: 0; }
.chart .gridline { stroke: rgba(255,255,255,.06); stroke-dasharray: 4 6; }
.in-view .chart .line { animation: drawLine 2.2s var(--ease) .3s forwards; }
.in-view .chart .area { animation: fadeIn 1.2s ease 1.2s forwards; }
.in-view .chart .dot { animation: popIn .5s var(--ease) 2.2s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
.chart .dot { transform-box: fill-box; transform-origin: center; }
.dot-ring { animation: ring 2s ease-out 2.6s infinite; transform-box: fill-box; transform-origin: center; opacity: 0; }
@keyframes ring { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(3); } }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 64px; margin-top: 14px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: rgba(255,255,255,.09); transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease); }
.bars i.hl { background: var(--grad-digital); }
.in-view .bars i { transform: scaleY(1); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(255,255,255,.96); color: var(--black);
  box-shadow: 0 20px 40px -14px rgba(0,0,0,.55);
  animation: bob 6s ease-in-out infinite;
}
.float-card .fi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.float-card .fi .ico { width: 18px; height: 18px; }
.float-card small { display: block; font-size: 11.5px; color: var(--text-soft); line-height: 1.2; }
.float-card strong { font-family: var(--font-head); font-size: 15px; line-height: 1.3; }
.float-card.f1 { left: -42px; bottom: 54px; }
.float-card.f2 { right: 40px; top: -46px; animation-delay: -3s; }
.float-card.f2 .fi { background: #12b76a; }
@keyframes bob { 50% { transform: translateY(-12px); } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.4);
}
.scroll-hint i { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.25); border-radius: 12px; position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--blue); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ==========================================================
   MARQUEE
   ========================================================== */
.marquee-zone { position: relative; height: 170px; background: var(--white); overflow: clip; }
.marquee {
  position: absolute; left: -5%; width: 110%; padding: 20px 0; overflow: hidden; display: flex;
}
.marquee.m1 { top: 50px; background: var(--blue); color: #fff; transform: rotate(-2.2deg); z-index: 2; box-shadow: 0 20px 40px -20px rgba(0,102,255,.6); }
.marquee.m2 { top: 50px; background: var(--black); color: rgba(255,255,255,.85); transform: rotate(2.4deg); }
.marquee-track { display: flex; flex-shrink: 0; gap: 44px; padding-right: 44px; align-items: center; animation: marquee 32s linear infinite; }
.marquee.m2 .marquee-track { animation-direction: reverse; animation-duration: 40s; }
.marquee-track span { display: flex; align-items: center; gap: 44px; font-family: var(--font-head); font-weight: 600; font-size: 22px; white-space: nowrap; letter-spacing: -.01em; }
.marquee-track span::after { content: ""; width: 14px; height: 26px; border-radius: 3px; background: currentColor; opacity: .5; transform: skewX(-25deg); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ==========================================================
   SOBRE
   ========================================================== */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; aspect-ratio: 1 / .95; }
.about-bg {
  position: absolute; inset: 8% 14% 4% 10%; border-radius: 28px;
  background: var(--grad-premium); transform: skewX(-8deg); overflow: hidden;
}
.about-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 36px 36px;
}
.about-bg::after {
  content: ""; position: absolute; width: 60%; height: 140%; right: -20%; top: -20%;
  background: var(--grad-digital); opacity: .9; transform: skewX(-20deg); border-radius: 30px;
  animation: slideShape 8s ease-in-out infinite;
}
@keyframes slideShape { 50% { transform: skewX(-20deg) translateX(-30px); } }
.about-logo {
  position: absolute; left: 50%; top: 50%; width: 34%; translate: -50% -50%;
  padding: 4%; border-radius: 26px; background: #fff;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
  animation: bob 7s ease-in-out infinite;
}
.glass {
  position: absolute; padding: 16px 18px; border-radius: 16px;
  background: rgba(255,255,255,.92); color: var(--black);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px -20px rgba(0,30,90,.45);
  animation: bob 7s ease-in-out infinite;
}
.glass small { display: block; font-size: 12px; color: var(--text-soft); }
.glass strong { font-family: var(--font-head); font-size: 22px; letter-spacing: -.02em; }
.glass.g-a { left: 0; top: 14%; animation-delay: -2s; }
.glass.g-b { right: 0; bottom: 12%; display: flex; align-items: center; gap: 14px; animation-delay: -4s; }
.glass.g-c { right: 6%; top: 2%; display: flex; align-items: center; gap: 10px; padding: 12px 16px; animation-delay: -1s; }
.glass.g-c strong { font-size: 14px; }
.ring { width: 58px; height: 58px; }
.ring circle { fill: none; stroke-width: 6; }
.ring .bg { stroke: var(--light); }
.ring .fg { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 151; stroke-dashoffset: 151; transform: rotate(-90deg); transform-origin: center; transition: stroke-dashoffset 2s var(--ease) .4s; }
.in-view .ring .fg { stroke-dashoffset: 20; }
.mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 30px; margin-top: 8px; }
.mini-bars i { width: 8px; border-radius: 3px; background: var(--light); }
.mini-bars i:last-child { background: var(--blue); }

.about-text h2 { font-size: clamp(30px, 3.8vw, 44px); margin: 18px 0 22px; }
.about-text p { color: var(--text-soft); font-size: 17px; margin-bottom: 16px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.pillar { padding: 18px; border-radius: 14px; background: var(--light); border: 1px solid var(--line-light); transition: transform .4s var(--ease), border-color .3s, background .3s; }
.pillar:hover { transform: translateY(-4px); border-color: rgba(0,102,255,.3); background: #fff; }
.pillar .ico { color: var(--blue); width: 24px; height: 24px; margin-bottom: 10px; }
.pillar h4 { font-size: 15px; margin-bottom: 4px; }
.pillar p { font-size: 13.5px; margin: 0; line-height: 1.45; }

/* ==========================================================
   SERVIÇOS
   ========================================================== */
.services { background: var(--black); }
.services::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 400px at 50% 0%, rgba(0,102,255,.18), transparent 70%);
}
.services-grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc {
  position: relative; padding: 36px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, #222 0%, #1a1a1a 100%);
  border: 1px solid var(--line-dark);
  transition: transform .5s var(--ease), border-color .4s;
}
.svc::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(0,102,255,.22), transparent 55%);
}
.svc:hover { transform: translateY(-6px); border-color: rgba(0,102,255,.45); }
.svc:hover::before { opacity: 1; }
.svc > * { position: relative; }
.svc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 26px; }
.svc-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-inst); color: #fff; box-shadow: 0 12px 30px -10px rgba(0,102,255,.7); transition: transform .5s var(--ease); }
.svc:hover .svc-icon { transform: rotate(-8deg) scale(1.06); }
.svc-icon .ico { width: 26px; height: 26px; }
.svc-num { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: rgba(255,255,255,.25); }
.svc h3 { font-size: 24px; margin-bottom: 12px; }
.svc > p { color: var(--text-inv-soft); margin-bottom: 22px; }
.svc ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.svc li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.82); }
.svc li::before { content: ""; width: 8px; height: 12px; border-radius: 2px; background: var(--blue); transform: skewX(-25deg); flex-shrink: 0; }

/* ==========================================================
   MÉTODO
   ========================================================== */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps-line { position: absolute; top: 32px; left: 12.5%; right: 12.5%; height: 2px; background: rgba(23,23,23,.1); border-radius: 2px; }
.steps-line i { position: absolute; inset: 0; background: var(--grad-digital); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); border-radius: 2px; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-dot {
  position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 26px; border-radius: 18px;
  display: grid; place-items: center; background: #fff; color: var(--blue);
  border: 1px solid var(--line-light); box-shadow: 0 14px 30px -16px rgba(0,40,120,.35);
  transition: background .5s, color .5s, transform .5s var(--ease), box-shadow .5s;
}
.step-dot .ico { width: 26px; height: 26px; }
.step.on .step-dot { background: var(--blue); color: #fff; transform: translateY(-4px); box-shadow: 0 18px 36px -14px rgba(0,102,255,.8); }
.step small { display: block; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--blue); letter-spacing: .1em; margin-bottom: 8px; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--text-soft); font-size: 15px; }

/* ==========================================================
   NÚMEROS
   ========================================================== */
.numbers { padding: 0; background: var(--light); }
.numbers-box {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px 56px;
  background: var(--grad-inst); color: #fff;
}
.numbers-box::before, .numbers-box::after {
  content: ""; position: absolute; border-radius: 26px; transform: skewX(-25deg); pointer-events: none;
}
.numbers-box::before { width: 260px; height: 140%; right: -60px; top: -20%; background: rgba(255,255,255,.08); animation: slideShape2 10s ease-in-out infinite; }
.numbers-box::after { width: 90px; height: 140%; right: 240px; top: -20%; background: rgba(0,163,255,.35); animation: slideShape2 12s ease-in-out infinite reverse; }
@keyframes slideShape2 { 50% { translate: -50px 0; } }
.numbers-head { position: relative; max-width: 620px; margin-bottom: 44px; }
.numbers-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.numbers-head p { color: rgba(255,255,255,.78); margin-top: 12px; }
.numbers-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.num { padding-left: 20px; border-left: 2px solid rgba(255,255,255,.25); }
.num strong { display: block; font-family: var(--font-head); font-size: clamp(36px, 4.4vw, 54px); letter-spacing: -.03em; line-height: 1.05; }
.num span { font-size: 14.5px; color: rgba(255,255,255,.78); }

/* ==========================================================
   DIFERENCIAIS
   ========================================================== */
.diff-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.diff-sticky { position: sticky; top: 140px; }
.diff-sticky h2 { font-size: clamp(32px, 4.2vw, 50px); margin: 18px 0 18px; }
.diff-sticky p { color: var(--text-inv-soft); font-size: 17px; margin-bottom: 30px; }
.timeline { position: relative; display: grid; gap: 18px; padding-left: 52px; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 20px; bottom: 20px; width: 2px; background: var(--line-dark); }
.t-item {
  position: relative; padding: 28px 30px; border-radius: 20px;
  background: rgba(255,255,255,.035); border: 1px solid var(--line-dark);
  transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.t-item:hover { background: rgba(255,255,255,.06); border-color: rgba(0,102,255,.4); transform: translateX(6px); }
.t-item::before {
  content: ""; position: absolute; left: -44px; top: 34px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--black); border: 2px solid rgba(255,255,255,.25); box-shadow: 0 0 0 5px var(--black); transition: border-color .4s, background .4s;
}
.t-item.in-view::before { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 5px var(--black), 0 0 20px 4px rgba(0,102,255,.6); }
.t-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(0,102,255,.15); color: #5aa0ff; margin-bottom: 16px; }
.t-item h3 { font-size: 19px; margin-bottom: 8px; }
.t-item p { color: var(--text-inv-soft); font-size: 15px; }

/* ==========================================================
   DEPOIMENTOS
   ========================================================== */
.testimonials { background: var(--light); }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  display: flex; flex-direction: column; padding: 32px; border-radius: 22px; background: #fff;
  border: 1px solid var(--line-light); transition: transform .5s var(--ease), box-shadow .5s;
}
.quote:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,40,120,.3); }
.stars { display: flex; gap: 3px; color: #FFB400; margin-bottom: 18px; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.quote blockquote { flex: 1; font-size: 16px; color: var(--graphite); margin-bottom: 24px; }
.who { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-light); }
.avatar { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #fff; background: var(--grad-inst); }
img.avatar { object-fit: cover; flex-shrink: 0; background: none; }
img.avatar.round { border-radius: 50%; }
.who strong { display: block; font-size: 15px; }
.who span { font-size: 13px; color: var(--text-soft); }

/* ==========================================================
   CONTATO / CTA
   ========================================================== */
.contact { background: var(--grad-premium); color: #fff; }
.contact::before {
  content: ""; position: absolute; width: 340px; height: 140%; top: -20%; right: 34%; border-radius: 40px;
  background: rgba(0,102,255,.12); transform: skewX(-25deg); pointer-events: none;
}
.contact-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact h2 { font-size: clamp(32px, 4.4vw, 52px); margin: 18px 0 20px; }
.contact-text > p { color: var(--text-inv-soft); font-size: 17px; max-width: 480px; }
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 34px; }
.contact-list a, .contact-list li > span { display: inline-flex; align-items: center; gap: 14px; color: rgba(255,255,255,.88); overflow-wrap: anywhere; transition: color .25s; }
.contact-list .ci { flex-shrink: 0; }
.footer li { overflow-wrap: anywhere; }
.contact-list a:hover { color: #fff; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid var(--line-dark); color: #5aa0ff; }

.form-card {
  padding: 36px; border-radius: 24px;
  background: rgba(23,23,23,.6); border: 1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
}
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { color: var(--text-inv-soft); font-size: 14.5px; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); }
.field input, .field select {
  width: 100%; padding: 13px 14px; border-radius: 11px; font-size: 15px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff;
  transition: border-color .25s, background .25s, box-shadow .25s; outline: none;
}
.field input::placeholder { color: rgba(255,255,255,.35); }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23ffffff99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field select option { color: var(--black); }
.field input:focus, .field select:focus { border-color: var(--blue); background: rgba(0,102,255,.08); box-shadow: 0 0 0 4px rgba(0,102,255,.2); }
.form-card .btn { margin-top: 20px; padding: 16px; }
.form-card .btn:disabled { opacity: .7; cursor: wait; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 13.5px; line-height: 1.45; background: rgba(240,68,56,.12); border: 1px solid rgba(240,68,56,.35); color: #ffb4ab; overflow-wrap: anywhere; }
.form-error a { color: #fff; text-decoration: underline; }
.form-note { margin-top: 12px; font-size: 12.5px; color: rgba(255,255,255,.45); text-align: center; }
.form-success { display: none; text-align: center; padding: 30px 0; }
.form-success .ok { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(18,183,106,.15); color: #3ddc97; }
.form-success .ok .ico { width: 30px; height: 30px; stroke-width: 2.6; }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; animation: popIn .6s var(--ease); }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: #111; color: rgba(255,255,255,.7); padding: 80px 0 32px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-dark); }
.footer .logo img { height: 36px; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: .02em; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { transition: color .25s; }
.footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--line-dark); transition: background .3s, border-color .3s, color .3s; }
.socials a:hover { background: var(--blue); border-color: var(--blue); }
.socials .ico { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: rgba(255,255,255,.45); }

/* Botão flutuante -> formulário */
.float-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 18px; border-radius: 999px;
  background: var(--grad-digital); color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: 0 14px 30px -8px rgba(0,102,255,.7);
  transition: transform .35s var(--ease), opacity .35s, visibility .35s, box-shadow .35s;
}
.float-cta::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--blue); z-index: -1; animation: ctaPulse 2.4s ease-out infinite; }
@keyframes ctaPulse { from { transform: scale(1); opacity: .55; } to { transform: scale(1.35, 1.6); opacity: 0; } }
.float-cta .ico { width: 20px; height: 20px; }
.float-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -10px rgba(0,102,255,.85); }
.float-cta.is-hidden { opacity: 0; visibility: hidden; transform: translateY(16px); }

/* ==========================================================
   REVEAL ANIMATIONS
   ========================================================== */
[data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (max-width: 1080px) {
  .float-card.f1 { left: -14px; }

  .menu-toggle { display: inline-flex; }
  .nav .btn { display: none; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: var(--gutter); right: var(--gutter);
    flex-direction: column; gap: 4px; padding: 12px;
    background: rgba(23,23,23,.96); border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .4s var(--ease), visibility .3s;
  }
  .nav-links a { padding: 14px 16px; font-size: 16px; }
  .nav-links a.active::after { left: 16px; margin-left: 0; bottom: 8px; }
  .nav-links .mobile-cta { display: block; margin-top: 8px; }
  .nav-links .mobile-cta a { background: var(--blue); color: #fff; text-align: center; font-weight: 600; }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .header .container { position: relative; }
}

@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .section { padding: 90px 0; }
  .section-head { margin-bottom: 48px; }

  .hero { padding: 130px 0 90px; }
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .dash { transform: none; }
  .dash-wrap { max-width: 560px; width: 100%; margin: 0 auto; }
  .scroll-hint { display: none; }

  .about-inner { grid-template-columns: 1fr; gap: 56px; }
  .about-visual { max-width: 520px; width: 100%; margin: 0 auto; }

  .steps { grid-template-columns: 1fr 1fr; gap: 44px 24px; }
  .steps-line { display: none; }

  .numbers-box { padding: 48px 32px; }
  .numbers-grid { gap: 32px 20px; }

  .diff-inner { grid-template-columns: 1fr; gap: 44px; }
  .diff-sticky { position: static; }

  .t-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }

  .contact-inner { grid-template-columns: 1fr; gap: 48px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1081px) { .nav-links .mobile-cta { display: none; } }

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding: 76px 0; }
  .header { top: 10px; }
  .nav { padding: 10px 10px 10px 16px; border-radius: 16px; }
  .logo img { height: 26px; }

  .hero { padding: 116px 0 70px; }
  .hero h1 { margin: 18px 0; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 20px; justify-content: space-between; }
  .hero-stats strong { font-size: 26px; }
  .hero-stats span { font-size: 12px; }
  .shape-wrap.s1 { right: -80px; top: 8%; }
  .shape-wrap.s3, .shape-wrap.s2 { display: none; }

  .dash { padding: 16px; border-radius: 18px; }
  .kpis { gap: 8px; }
  .kpi { padding: 10px; }
  .kpi strong { font-size: 17px; }
  .kpi em { display: block; margin: 2px 0 0; }
  .float-card { padding: 10px 12px; }
  .float-card .fi { width: 30px; height: 30px; }
  .float-card strong { font-size: 13px; }
  .float-card.f1 { left: -6px; bottom: -28px; }
  .float-card.f2 { right: -4px; top: -30px; }

  .marquee-zone { height: 140px; }
  .marquee { padding: 14px 0; }
  .marquee-track span { font-size: 17px; gap: 30px; }
  .marquee-track { gap: 30px; padding-right: 30px; }

  .glass { padding: 12px 14px; }
  .glass strong { font-size: 18px; }
  .ring { width: 46px; height: 46px; }
  .pillars { grid-template-columns: 1fr; }

  .svc { padding: 26px 22px; }
  .svc h3 { font-size: 21px; }
  .svc ul { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; gap: 36px; }
  .step { text-align: left; display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; padding: 0; }
  .step-dot { margin: 0; grid-row: span 3; }

  .numbers-box { padding: 40px 22px; border-radius: 22px; }
  .numbers-grid { grid-template-columns: 1fr; gap: 24px; }
  .num { padding-left: 14px; }

  .timeline { padding-left: 38px; }
  .timeline::before { left: 9px; }
  .t-item { padding: 22px 20px; }
  .t-item::before { left: -38px; width: 18px; height: 18px; }

  .quote { padding: 26px 22px; }

  .contact-list { font-size: 14.5px; }
  .contact-list .ci { width: 40px; height: 40px; }
  .contact-list a, .contact-list li > span { gap: 12px; }
  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .float-cta { right: 16px; bottom: 16px; padding: 12px 18px 12px 14px; font-size: 14px; }
}

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