/* ==========================================================================
   ConnIP — design system
   Navy espacial + coral da marca. Montserrat (títulos) + Inter (texto).
   ========================================================================== */
:root {
  --navy-950: #040915;
  --navy-900: #071226;
  --navy-850: #0a1830;
  --navy-800: #0b1f3f;
  --navy-700: #142b52;
  --navy-600: #1e3a6b;
  --coral: #ff6150;
  --coral-600: #ec4b3a;
  --coral-300: #ff9a8e;
  --orange: #ff8a1f;
  --amber: #ffc24a;
  --cream: #fff4e6;
  --green: #25d366;
  --ink: #0b1f3f;
  --ink-2: #33415c;
  --muted: #5d6b85;
  --line: #e3e8f2;
  --light: #f5f7fb;
  --white: #ffffff;
  --on-dark: #eef2fb;
  --on-dark-2: #a9b6d0;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px -12px rgba(11, 31, 63, .25);
  --shadow-lg: 0 30px 60px -20px rgba(11, 31, 63, .35);
  --glow: 0 0 0 1px rgba(255, 97, 80, .25), 0 20px 50px -15px rgba(255, 97, 80, .45);
  --grad: linear-gradient(120deg, var(--coral) 0%, var(--orange) 100%);
  --grad-soft: linear-gradient(120deg, rgba(255, 97, 80, .16), rgba(255, 138, 31, .16));
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  color: var(--ink-2); background: var(--white); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--coral); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 999; }
.skip:focus { left: 8px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 820px); margin-inline: auto; }
.center { text-align: center; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font: 700 .78rem/1 var(--font-head);
  letter-spacing: .14em; text-transform: uppercase; color: var(--coral-600);
  padding: 8px 14px; border-radius: 999px; background: var(--grad-soft); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 97, 80, .2); animation: pulse 2s infinite; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 680px; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--grad); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 1rem/1 var(--font-head); padding: 17px 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: #fff; text-decoration: none !important; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 12px 30px -10px rgba(255, 97, 80, .6); overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); z-index: -1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(255, 97, 80, .75); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 20px; height: 20px; }
.btn-ghost { --bg: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--coral); color: var(--coral-600); }
.dark .btn-ghost, .btn-ghost.on-dark { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.dark .btn-ghost:hover, .btn-ghost.on-dark:hover { box-shadow: inset 0 0 0 2px var(--coral); color: #fff; }
.btn-wa { --bg: var(--green); box-shadow: 0 12px 30px -10px rgba(37, 211, 102, .6); }
.btn-sm { padding: 12px 20px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.center .btn-row { justify-content: center; }
.link-arrow { font: 700 .95rem var(--font-head); display: inline-flex; align-items: center; gap: 6px; color: var(--coral-600); }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  isolation: isolate;
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
/* O blur fica num pseudo-elemento: backdrop-filter no próprio header prenderia o menu mobile (position: fixed) dentro dele */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: rgba(7, 18, 38, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header.scrolled::before, .header.solid::before, .nav-open .header::before { opacity: 1; }
.nav-open { overflow: hidden; }
.nav-open .header::before { background: var(--navy-900); }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav a.top, .nav button.top {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; border: 0; background: none; cursor: pointer;
  font: 600 .93rem var(--font-head); color: var(--on-dark); text-decoration: none; transition: background .2s, color .2s;
}
.nav a.top:hover, .nav button.top:hover, .nav .has-menu:focus-within > .top { background: rgba(255,255,255,.08); color: #fff; }
.nav a.top[aria-current="page"] { color: var(--coral-300); }
.nav button.top svg { width: 12px; height: 12px; transition: transform .25s; }
.has-menu { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 14px; width: 560px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-menu:hover .mega, .has-menu:focus-within .mega, .has-menu.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-menu:hover .top svg, .has-menu.open .top svg { transform: rotate(180deg); }
.mega a { display: flex; gap: 12px; padding: 12px; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background .2s; }
.mega a:hover { background: var(--light); }
.mega .ico { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); color: var(--coral-600); }
.mega .ico svg { width: 22px; height: 22px; }
.mega strong { display: block; font: 700 .95rem var(--font-head); }
.mega small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 0; background: rgba(255,255,255,.08); cursor: pointer; position: relative; }
.burger span, .burger::before, .burger::after { content: ""; position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger::before { top: 16px; } .burger span { top: 22px; } .burger::after { top: 28px; }
.nav-open .burger::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span { opacity: 0; }
.nav-open .burger::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; background: var(--navy-900); flex-direction: column; align-items: stretch;
    padding: 20px 16px 40px; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s;
  }
  .nav-open .nav { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .nav > ul { flex-direction: column; gap: 4px; }
  .nav a.top, .nav button.top { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 1.05rem; }
  .mega { position: static; transform: none !important; width: auto; grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible; margin: 4px 0 8px; background: rgba(255,255,255,.04); box-shadow: none; }
  .has-menu:hover .mega { display: none; }
  .has-menu.open .mega { display: grid; }
  .mega a { color: var(--on-dark); }
  .mega a:hover { background: rgba(255,255,255,.06); }
  .mega small { color: var(--on-dark-2); }
  .nav .mobile-cta { display: flex !important; flex-direction: column; gap: 12px; margin-top: 20px; }
}
.nav .mobile-cta { display: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section.tight { padding: clamp(48px, 7vw, 80px) 0; }
.section.light { background: var(--light); }
.dark { background: var(--navy-900); color: var(--on-dark-2); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .lead { color: var(--on-dark-2); }
.dark .eyebrow { color: var(--coral-300); background: rgba(255, 97, 80, .12); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { max-width: 820px; margin-inline: auto; }
.space-bg { background: radial-gradient(1200px 600px at 80% -10%, rgba(255, 97, 80, .18), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(30, 58, 107, .8), transparent 60%), var(--navy-950); }

/* starfield canvas */
.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.section > .container, .hero > .container { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden; color: var(--on-dark-2); }
.hero h1 { color: #fff; }
.hero .lead { color: var(--on-dark-2); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--on-dark); font-size: .9rem; margin-bottom: 26px; }
.hero-badge b { background: var(--grad); color: #fff; font: 700 .75rem var(--font-head); padding: 5px 10px; border-radius: 999px; }
.typer { display: block; white-space: nowrap; min-height: 1.15em; }
@media (max-width: 520px) { .typer { font-size: .8em; } }
.typer-text { display: inline; }
.caret { display: inline-block; width: .08em; height: .9em; margin-left: .06em; vertical-align: -.05em; background: var(--coral); border-radius: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(60%); transition: opacity .5s var(--ease), transform .6s var(--ease); white-space: nowrap; }
.rotator > span.on { opacity: 1; transform: none; }
.rotator > span.out { opacity: 0; transform: translateY(-60%); }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 560px; margin-inline: auto; width: 100%; }
.orbit { position: absolute; inset: 0; }
.orbit svg { width: 100%; height: 100%; overflow: visible; }
.orbit ellipse { fill: none; stroke: rgba(255, 97, 80, .35); stroke-width: 1.5; }
.orbit .dash { stroke-dasharray: 4 10; animation: dash 30s linear infinite; }
.hero-atom { position: absolute; inset: 14%; display: grid; place-items: center; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.hero-atom img { width: 100%; height: auto; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px;
  background: rgba(255,255,255,.92); color: var(--ink); box-shadow: var(--shadow-lg); font: 600 .85rem/1.25 var(--font-head);
  backdrop-filter: blur(8px); animation: float 7s ease-in-out infinite;
}
.chip small { display: block; font: 500 .72rem var(--font-body); color: var(--muted); }
.chip .ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad); flex: none; }
.chip .ico svg { width: 20px; height: 20px; }
.chip.c1 { top: 8%; left: -4%; animation-delay: -1s; }
.chip.c2 { top: 44%; right: -2%; animation-delay: -3s; }
.chip.c3 { bottom: 6%; left: 4%; animation-delay: -5s; }
.chip .ico.wa { background: var(--green); }
.chip .ico.navy { background: var(--navy-700); }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 20px; border: 2px solid rgba(255,255,255,.25); z-index: 2; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--coral); animation: scrollhint 1.8s infinite; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .hero-visual { max-width: 380px; order: -1; margin-top: 10px; }
  .chip { font-size: .75rem; padding: 8px 10px; }
  .chip .ico { width: 30px; height: 30px; }
  .chip.c2 { right: -2%; }
  .scroll-hint { display: none; }
}

/* page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(50px, 8vw, 100px)) 0 clamp(60px, 8vw, 110px); color: var(--on-dark-2); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.6rem); }
.page-hero .lead { color: var(--on-dark-2); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.page-hero-visual { position: relative; }
.page-hero-visual > img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.page-hero-visual .mascot { max-width: 420px; margin-inline: auto; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .85rem; color: var(--on-dark-2); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: var(--on-dark); }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-visual .mascot { max-width: 280px; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.stat { background: var(--navy-900); padding: 30px 24px; text-align: center; }
.stat b { display: block; font: 800 clamp(2rem, 4vw, 3rem)/1 var(--font-head); color: #fff; margin-bottom: 8px; }
.stat b em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: .92rem; color: var(--on-dark-2); }
.light-stats .stat { background: #fff; }
.light-stats { background: var(--line); border-color: var(--line); }
.light-stats .stat b { color: var(--ink); }
.light-stats .stat span { color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-soft); color: var(--coral-600); margin-bottom: 20px; transition: transform .4s var(--ease), background .3s, color .3s; }
.card .ico svg { width: 28px; height: 28px; }
.card:hover .ico { transform: rotate(-8deg) scale(1.06); background: var(--grad); color: #fff; }
.dark .card { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.08); color: var(--on-dark-2); }
.dark .card:hover { background: rgba(255,255,255,.06); box-shadow: var(--glow); }
.dark .card .ico { background: rgba(255, 97, 80, .14); color: var(--coral-300); }
.card .tag { display: inline-block; font: 700 .7rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--coral-600); margin-bottom: 10px; }
.dark .card .tag { color: var(--coral-300); }
.card ul.check { margin-top: 14px; }
.card.link-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.card.link-card .link-arrow { margin-top: auto; padding-top: 16px; }

ul.check { list-style: none; padding: 0; margin: 0 0 1em; }
ul.check li { position: relative; padding-left: 32px; margin-bottom: 10px; }
ul.check li::before { content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24Zm-1.6 17.2-5-5 1.8-1.8 3.2 3.2 7.4-7.4 1.8 1.8-9.2 9.2Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24Zm-1.6 17.2-5-5 1.8-1.8 3.2 3.2 7.4-7.4 1.8 1.8-9.2 9.2Z'/%3E%3C/svg%3E") center/contain no-repeat; }
ul.x { list-style: none; padding: 0; }
ul.x li { position: relative; padding-left: 30px; margin-bottom: 10px; }
ul.x li::before { content: "✕"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,97,80,.15); color: var(--coral-600); font-size: .7rem; display: grid; place-items: center; font-weight: 800; margin-top: 3px; }

/* product cards (home) */
.product {
  position: relative; border-radius: var(--radius-lg); padding: 36px; overflow: hidden; color: var(--on-dark-2); min-height: 100%;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); border: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  transform-style: preserve-3d;
}
.product::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -120px; top: -140px; background: radial-gradient(circle, rgba(255,97,80,.35), transparent 70%); transition: transform .6s var(--ease); }
.product:hover { box-shadow: var(--glow); }
.product:hover::before { transform: scale(1.25); }
.product > * { position: relative; }
.product h3 { color: #fff; font-size: 1.6rem; }
.product .logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.product .logo-row img { height: 46px; width: auto; }
.product .badge-new { display: inline-block; background: var(--grad); color: #fff; font: 800 .7rem var(--font-head); letter-spacing: .1em; padding: 6px 10px; border-radius: 999px; }
.product ul.check li { color: var(--on-dark); }
.product .btn-row { margin-top: auto; padding-top: 24px; }

/* split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.shot { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.shot::before { content: ""; display: block; height: 30px; background: #eef1f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='12'%3E%3Ccircle cx='6' cy='6' r='5' fill='%23ff6150'/%3E%3Ccircle cx='24' cy='6' r='5' fill='%23ffc24a'/%3E%3Ccircle cx='42' cy='6' r='5' fill='%2325d366'/%3E%3C/svg%3E") 14px center no-repeat; border-bottom: 1px solid var(--line); }
.dark .shot { border-color: rgba(255,255,255,.1); }
.photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.mascot-sm { max-width: min(260px, 100%); margin-inline: auto; animation: float 6s ease-in-out infinite; }

/* ---------- Capability tabs (ConnPBX) ---------- */
.tabs { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.tab-list { display: flex; flex-direction: column; gap: 6px; position: sticky; top: calc(var(--header-h) + 20px); }
.tab-list button {
  text-align: left; border: 0; background: transparent; padding: 14px 18px; border-radius: 14px; cursor: pointer;
  font: 600 .98rem var(--font-head); color: var(--muted); display: flex; gap: 12px; align-items: center; transition: background .2s, color .2s;
}
.tab-list button .n { font: 800 .75rem var(--font-head); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--light); color: var(--muted); flex: none; transition: background .2s, color .2s; }
.tab-list button:hover { background: var(--light); color: var(--ink); }
.tab-list button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.tab-list button[aria-selected="true"] .n { background: var(--grad); color: #fff; }
.tab-panel { animation: fadeUp .5s var(--ease); }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-size: 1.7rem; }
@media (max-width: 900px) {
  .tabs { grid-template-columns: 1fr; }
  .tab-list { position: static; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .tab-list button { flex: none; scroll-snap-align: start; white-space: nowrap; }
}

/* ---------- Flow (integration) ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; counter-reset: step; }
.flow-step { position: relative; text-align: center; padding: 0 10px; }
.flow-step .node {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 26px; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--navy-800); border: 1px solid rgba(255,255,255,.12); color: var(--coral-300); transition: transform .4s var(--ease);
}
.flow-step .node svg { width: 38px; height: 38px; }
.flow-step.active .node { background: var(--grad); color: #fff; box-shadow: var(--glow); transform: scale(1.08); }
.flow-step h4 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.flow-step p { font-size: .88rem; margin: 0; }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 42px; left: calc(50% + 46px); right: calc(-50% + 46px); height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 6px, transparent 6px 12px);
}
.flow-step.done:not(:last-child)::after { background: var(--grad); }
.light .flow-step .node, .flow.on-light .node { background: #fff; border-color: var(--line); color: var(--coral-600); box-shadow: var(--shadow); }
.flow.on-light h4 { color: var(--ink); }
.flow.on-light .flow-step:not(:last-child)::after { background: repeating-linear-gradient(90deg, #cfd6e4 0 6px, transparent 6px 12px); }
.flow.on-light .flow-step.done:not(:last-child)::after { background: var(--grad); }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 26px; }
  .flow-step { display: grid; grid-template-columns: 72px 1fr; text-align: left; gap: 16px; align-items: center; }
  .flow-step .node { width: 72px; height: 72px; margin: 0; border-radius: 22px; }
  .flow-step:not(:last-child)::after { top: 76px; left: 35px; right: auto; width: 2px; height: 26px; background: repeating-linear-gradient(180deg, rgba(255,255,255,.2) 0 6px, transparent 6px 12px); }
  .flow.on-light .flow-step:not(:last-child)::after { background: repeating-linear-gradient(180deg, #cfd6e4 0 6px, transparent 6px 12px); }
}

/* ---------- Phone / chat mockup ---------- */
.phone {
  width: min(340px, 100%); margin-inline: auto; border-radius: 42px; padding: 12px; background: #0d1424; box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.08);
  position: relative;
}
.phone-screen { border-radius: 32px; overflow: hidden; background: #efe7dc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='4' cy='4' r='1.2' fill='%23d9cfc1'/%3E%3C/svg%3E"); min-height: 560px; display: flex; flex-direction: column; }
.phone-top { background: #075e54; color: #fff; padding: 16px 16px 12px; display: flex; align-items: center; gap: 10px; font: 600 .92rem var(--font-head); }
.phone-top img { width: 36px; height: 36px; border-radius: 50%; background: #fff; object-fit: contain; padding: 3px; }
.phone-top small { display: block; font: 400 .72rem var(--font-body); opacity: .8; }
.chat { flex: 1; height: 500px; overflow: hidden; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; font-size: .86rem; line-height: 1.4; }
.msg { max-width: 82%; padding: 8px 11px 6px; border-radius: 12px; box-shadow: 0 1px 1px rgba(0,0,0,.08); color: #1f2a37; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.msg.show { opacity: 1; transform: none; }
.msg.in { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.msg.out { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 2px; }
.msg .t { display: block; text-align: right; font-size: .66rem; color: #7b8794; margin-top: 2px; }
.msg.bot { background: #fff4e6; border-left: 3px solid var(--orange); }
.msg .opts { display: grid; gap: 4px; margin-top: 6px; }
.msg .opts span { background: rgba(0,0,0,.04); border-radius: 8px; padding: 4px 8px; font-size: .8rem; }
.msg .card-mini { background: #fff; border-radius: 10px; padding: 8px; margin-top: 6px; border: 1px solid #eee; font-size: .78rem; }
.typing { align-self: flex-start; background: #fff; padding: 10px 14px; border-radius: 12px; display: none; gap: 4px; }
.typing.show { display: inline-flex; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa5b1; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }

/* ---------- Kanban (PDV) ---------- */
.kanban { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 12px; background: var(--navy-950); padding: 16px; border-radius: 22px; border: 1px solid rgba(255,255,255,.08); overflow-x: auto; }
.kcol { background: rgba(255,255,255,.04); border-radius: 14px; padding: 10px; min-height: 260px; }
.kcol h5 { margin: 2px 4px 10px; font: 700 .78rem var(--font-head); color: var(--on-dark); text-transform: uppercase; letter-spacing: .08em; display: flex; justify-content: space-between; }
.kcol h5 span { background: rgba(255,255,255,.1); border-radius: 999px; padding: 1px 8px; }
.kcard { background: #fff; border-radius: 10px; padding: 10px; margin-bottom: 8px; font-size: .78rem; color: var(--ink-2); border-left: 4px solid var(--green); transition: transform .5s var(--ease), opacity .4s; box-shadow: 0 6px 14px -8px rgba(0,0,0,.5); }
.kcard b { display: flex; justify-content: space-between; font: 700 .82rem var(--font-head); color: var(--ink); }
.kcard.warn { border-left-color: var(--amber); }
.kcard.late { border-left-color: var(--coral); }
.kcard.enter { animation: popIn .5s var(--ease); }
.kcard .k-btn { display: inline-block; margin-top: 6px; font: 700 .68rem var(--font-head); background: var(--grad); color: #fff; padding: 4px 8px; border-radius: 6px; }

/* ---------- Pricing / plans ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; display: flex; flex-direction: column; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan h3 { font-size: 1.35rem; margin-bottom: 4px; }
.plan .sub { color: var(--muted); font-size: .9rem; margin-bottom: 18px; min-height: 2.8em; }
.plan ul.check { font-size: .92rem; }
.plan .btn { margin-top: auto; width: 100%; }
.plan.featured { background: linear-gradient(170deg, var(--navy-700), var(--navy-900)); color: var(--on-dark-2); border-color: transparent; box-shadow: var(--glow); transform: scale(1.03); }
.plan.featured:hover { transform: scale(1.03) translateY(-6px); }
.plan.featured h3 { color: #fff; }
.plan.featured .sub { color: var(--on-dark-2); }
.plan.featured ul.check li { color: var(--on-dark); }
.plan .pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font: 800 .7rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.plans > * { min-width: 0; }
@media (max-width: 1140px) { .plans { grid-template-columns: 1fr 1fr; gap: 24px; } .plan.featured { transform: none; } .plan.featured:hover { transform: translateY(-6px); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }

/* comparison table */
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
table.cmp th, table.cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp th { font: 700 .82rem var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--light); }
table.cmp tr:last-child td { border-bottom: 0; }
table.cmp td:first-child { font-weight: 600; color: var(--ink); }

/* ---------- Testimonials ---------- */
.quote { margin: 0; position: relative; background: #fff; border-radius: var(--radius-lg); padding: 34px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; height: 100%; transition: transform .3s var(--ease), box-shadow .3s; }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.quote::before { content: "“"; position: absolute; top: 8px; right: 26px; font: 800 6rem/1 var(--font-head); color: rgba(255, 97, 80, .15); }
.quote blockquote { margin: 0; font-size: 1.08rem; color: var(--ink); font-weight: 500; }
.quote .who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote .who img.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--coral); }
.quote .who strong { display: block; color: var(--ink); font-family: var(--font-head); }
.quote .who small { color: var(--muted); }
.quote .co { height: 34px; width: auto; margin-left: auto; object-fit: contain; filter: grayscale(1); opacity: .75; }
.quote .ctx { font-size: .9rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 16px; margin: 0; }

/* ---------- Logos marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 70px; width: max-content; animation: marquee 30s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 42px; width: auto; opacity: .7; transition: opacity .3s; }
.marquee img:hover { opacity: 1; }

/* ---------- Sector cards ---------- */
.sector {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden; padding: 30px;
  color: #fff; text-decoration: none !important; isolation: isolate; background: var(--navy-800);
}
.sector .bg { position: absolute; inset: 0; z-index: -2; transition: transform .8s var(--ease); }
.sector .bg svg { position: absolute; right: -30px; top: -30px; width: 260px; height: 260px; color: rgba(255,255,255,.07); }
.sector::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(4,9,21,.9)); }
.sector:hover .bg { transform: scale(1.08) rotate(-2deg); }
.sector h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.sector p { color: rgba(255,255,255,.8); font-size: .95rem; margin-bottom: 14px; }
.sector .pill-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pill { display: inline-block; font: 600 .75rem var(--font-head); padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; }
.light .pill, .pill.on-light { background: var(--grad-soft); color: var(--coral-600); }
.sector .go { display: inline-flex; align-items: center; gap: 8px; font: 700 .9rem var(--font-head); }
.sector .go::after { content: "→"; transition: transform .3s var(--ease); }
.sector:hover .go::after { transform: translateX(5px); }
.sector.s-saude .bg { background: radial-gradient(circle at 80% 10%, #2b6cb0 0, transparent 60%), linear-gradient(160deg, #0f2a52, #071226); }
.sector.s-turismo .bg { background: radial-gradient(circle at 80% 10%, #1aa39a 0, transparent 60%), linear-gradient(160deg, #0b3a4a, #071226); }
.sector.s-varejo .bg { background: radial-gradient(circle at 80% 10%, #ff8a1f 0, transparent 60%), linear-gradient(160deg, #4a1d12, #071226); }
.sector.s-food .bg { background: radial-gradient(circle at 80% 10%, #ff6150 0, transparent 60%), linear-gradient(160deg, #4a1424, #071226); }

/* ---------- Events (ConnXP / Diálogos) ---------- */
.event-band { position: relative; border-radius: 32px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; background: var(--navy-900); }
.event-band .txt { padding: clamp(30px, 5vw, 60px); color: var(--on-dark-2); display: flex; flex-direction: column; justify-content: center; }
.event-band .txt h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.event-band .img { position: relative; min-height: 300px; }
.event-band .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-band .img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900), transparent 40%); }
.event-band.rev .img { order: -1; }
.event-band.rev .img::after { background: linear-gradient(270deg, var(--navy-900), transparent 40%); }
.event-band .logo { height: 54px; width: auto; margin-bottom: 18px; }
@media (max-width: 860px) { .event-band { grid-template-columns: 1fr; } .event-band .img, .event-band.rev .img { order: -1; min-height: 260px; } .event-band .img::after { background: linear-gradient(0deg, var(--navy-900), transparent 50%); } }

.gallery { columns: 3 260px; column-gap: 14px; }
.gallery figure { margin: 0 0 14px; border-radius: 18px; overflow: hidden; break-inside: avoid; position: relative; cursor: zoom-in; }
.gallery img { width: 100%; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: .82rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); opacity: 0; transition: opacity .3s; }
.gallery figure:hover figcaption { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4,9,21,.92); display: none; place-items: center; padding: 20px; cursor: zoom-out; }
.lightbox.open { display: grid; animation: fadeIn .25s; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 14px; }

.timeline { position: relative; list-style: none; padding: 0; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 86px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--coral), rgba(255,97,80,.1)); }
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 40px; padding: 0 0 28px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 80px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--navy-900); border: 3px solid var(--coral); }
.timeline time { font: 800 1rem var(--font-head); color: var(--coral-300); text-align: right; }
.timeline h4 { color: #fff; margin-bottom: 4px; }
.timeline p { margin: 0; font-size: .95rem; }
.timeline .who { display: inline-block; margin-top: 6px; font-size: .82rem; color: var(--on-dark); background: rgba(255,255,255,.06); padding: 4px 10px; border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font: 700 1.03rem var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-soft); color: var(--coral-600); font-size: 1.2rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .ans { padding: 0 0 20px; color: var(--muted); }
.dark .faq details { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
.dark .faq summary { color: #fff; }
.dark .faq .ans { color: var(--on-dark-2); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(40px, 6vw, 80px); background: var(--grad); color: #fff; display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; gap: 30px; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 10% 0%, rgba(255,255,255,.25), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.1rem; }
.cta-band .btn { --bg: #fff; color: var(--coral-600); box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }
.cta-band .btn-ghost { --bg: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.cta-band img { max-width: 260px; margin-left: auto; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(0,0,0,.25)); }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; text-align: center; } .cta-band .btn-row { justify-content: center; } .cta-band img { margin: 0 auto; max-width: 180px; order: -1; } }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); color: var(--ink-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font: 600 .85rem var(--font-head); color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--font-body); color: var(--ink); padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--light);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); background: #fff; box-shadow: 0 0 0 4px rgba(255, 97, 80, .12); }
.form-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.form-ok { display: none; text-align: center; padding: 20px 0; }
.form-ok img { max-width: 150px; margin: 0 auto 12px; }
form.sent .form-grid, form.sent .form-note, form.sent > .btn { display: none; }
form.sent .form-ok { display: block; animation: fadeUp .5s var(--ease); }
.hp { position: absolute; left: -9999px; }

/* contact info */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { flex: 0 0 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,97,80,.14); color: var(--coral-300); }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: #fff; font-family: var(--font-head); }
.contact-list a { color: var(--on-dark); }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; color: inherit; text-decoration: none !important; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card .cover { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.post-card .cover > * { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .cover > * { transform: scale(1.05); }
.post-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.18rem; color: var(--ink); margin-bottom: 10px; }
.post-card p { font-size: .95rem; color: var(--muted); }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .82rem; color: var(--muted); }
.post-meta .cat { font: 700 .72rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--coral-600); }
.post-card .link-arrow { margin-top: auto; }
.cover-art { display: grid; place-items: center; position: relative; overflow: hidden; }
.cover-art img.cover-mascot { position: absolute; right: 4%; bottom: -6%; width: 36% !important; height: auto !important; object-fit: contain !important; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
.cover-art .cover-title { position: absolute; left: 7%; top: 50%; transform: translateY(-50%); width: 56%; font: 800 clamp(.9rem, 1.3vw, 1.15rem)/1.2 var(--font-head); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; color: #fff; }
.cover-art.big .cover-title { font-size: clamp(1.3rem, 3vw, 2.3rem); -webkit-line-clamp: 5; }
.c-saude { background: radial-gradient(circle at 85% 15%, #2b6cb0, transparent 55%), linear-gradient(140deg, #0f2a52, #071226); }
.c-pbx { background: radial-gradient(circle at 85% 15%, #ff6150, transparent 55%), linear-gradient(140deg, #13294f, #071226); }
.c-wa { background: radial-gradient(circle at 85% 15%, #25d366, transparent 55%), linear-gradient(140deg, #0b3a35, #071226); }
.c-pdv { background: radial-gradient(circle at 85% 15%, #ff8a1f, transparent 55%), linear-gradient(140deg, #4a1d12, #071226); }
.c-turismo { background: radial-gradient(circle at 85% 15%, #1aa39a, transparent 55%), linear-gradient(140deg, #0b3a4a, #071226); }
.c-ia { background: radial-gradient(circle at 85% 15%, #8b5cf6, transparent 55%), linear-gradient(140deg, #2a1650, #071226); }
.c-evento { background: radial-gradient(circle at 85% 15%, #ff6150, transparent 55%), linear-gradient(140deg, #0b1f3f, #040915); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.filters button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px; font: 600 .88rem var(--font-head); color: var(--ink-2); cursor: pointer; transition: all .2s; }
.filters button:hover { border-color: var(--coral); color: var(--coral-600); }
.filters button.on { background: var(--grad); border-color: transparent; color: #fff; }

.article { font-size: 1.08rem; color: var(--ink-2); }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.article h3 { margin-top: 1.5em; }
.article p, .article li { line-height: 1.8; }
.article li { margin-bottom: .5em; }
.article blockquote { margin: 1.6em 0; padding: 20px 26px; border-left: 4px solid var(--coral); background: var(--light); border-radius: 0 16px 16px 0; font-weight: 500; color: var(--ink); }
.article .callout { background: var(--grad-soft); border-radius: 18px; padding: 22px 26px; margin: 1.6em 0; }
.article .callout strong { color: var(--ink); }
.article table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article th { background: var(--light); font-family: var(--font-head); }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 9; margin-top: -60px; position: relative; z-index: 2; box-shadow: var(--shadow-lg); }
.article-cover > * { width: 100%; height: 100%; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; align-items: start; }
.post-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.post-aside .box { background: var(--light); border-radius: 18px; padding: 22px; }
.post-aside .box h4 { font-size: 1rem; }
.toc ol { margin: 0; padding-left: 1.1em; font-size: .92rem; }
.toc a { color: var(--ink-2); }
.share { display: flex; gap: 8px; }
.share a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--ink); border: 1px solid var(--line); transition: all .2s; }
.share a:hover { background: var(--grad); color: #fff; border-color: transparent; }
.share svg { width: 18px; height: 18px; }
.author { display: flex; gap: 14px; align-items: center; padding: 22px; border-radius: 18px; background: var(--light); margin-top: 40px; }
.author img { width: 64px; height: 64px; border-radius: 50%; background: #fff; object-fit: contain; }
@media (max-width: 980px) { .post-layout { grid-template-columns: 1fr; } .post-aside { position: static; } }
.reading-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--grad); z-index: 200; width: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: var(--on-dark-2); padding: 80px 0 30px; position: relative; overflow: hidden; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--on-dark-2); }
.footer a:hover { color: #fff; }
.footer .brand img { height: 46px; margin-bottom: 18px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #fff; transition: background .2s, transform .2s; }
.social a:hover { background: var(--grad); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: .85rem; }
.footer .newsletter { display: flex; gap: 8px; margin-top: 10px; }
.footer .newsletter input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: #fff; font: inherit; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 150; display: flex; align-items: center; gap: 10px; }
.fab .bubble { background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 16px 16px 4px 16px; box-shadow: var(--shadow-lg); font: 600 .85rem var(--font-head); opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); pointer-events: none; max-width: 210px; }
.fab.hint .bubble { opacity: 1; transform: none; }
.fab a { width: 62px; height: 62px; border-radius: 50%; background: var(--green); display: grid; place-items: center; color: #fff; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); position: relative; transition: transform .25s var(--ease); }
.fab a:hover { transform: scale(1.08); }
.fab a::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: ring 2.2s infinite; }
.fab svg { width: 32px; height: 32px; }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 180; max-width: 420px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 22px; display: none; font-size: .9rem; border: 1px solid var(--line); }
.cookie.show { display: block; animation: fadeUp .5s var(--ease); }
.cookie p { margin: 0 0 14px; color: var(--ink-2); }
.cookie .row { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn { padding: 11px 18px; font-size: .85rem; }
@media (max-width: 560px) { .cookie { left: 10px; right: 10px; bottom: 90px; max-width: none; } }

/* ---------- Misc ---------- */
.divider-wave { display: block; width: 100%; height: 60px; }
.kpi-inline { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 26px; }
.kpi-inline div b { display: block; font: 800 1.6rem var(--font-head); color: var(--ink); }
.dark .kpi-inline div b { color: #fff; }
.kpi-inline div span { font-size: .85rem; color: var(--muted); }
.note { font-size: .86rem; color: var(--muted); }
.dark .note { color: var(--on-dark-2); }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vs .card.bad { border-style: dashed; background: #fff7f6; }
.vs .card.good { background: linear-gradient(170deg, var(--navy-700), var(--navy-900)); color: var(--on-dark-2); border: 0; }
.vs .card.good h3 { color: #fff; }
.vs .card.good ul.check li { color: var(--on-dark); }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } }
.num-steps { counter-reset: s; display: grid; gap: 18px; }
.num-steps > div { counter-increment: s; position: relative; padding-left: 70px; }
.num-steps > div::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -4px; font: 800 2.2rem/1 var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num-steps h3 { margin-bottom: 4px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-r { opacity: 0; transform: translateX(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-l.in, .reveal-r.in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .reveal-l, .no-js .reveal-r { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,97,80,.5); } 70% { box-shadow: 0 0 0 8px rgba(255,97,80,0); } 100% { box-shadow: 0 0 0 0 rgba(255,97,80,0); } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -400; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.9) translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Movimento reduzido: o conteúdo continua trocando (palavras, conversas, telas), mas sem flutuar, girar ou deslizar */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-atom, .chip, .mascot, .mascot-sm, .cta-band img, .orbit .dash, .marquee-track, .eyebrow::before, .fab a::before, .scroll-hint::after, .hf-tile.speak, .hf-live::before { animation: none !important; }
  .reveal, .reveal-l, .reveal-r { opacity: 1; transform: none; transition: none; }
  .rotator > span, .rotator > span.out { transform: none; }
  .btn::after { display: none; }
}

/* Status de evento (ConnXP) */
.event-status { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.event-status span { font: 700 .74rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.event-status .past { background: rgba(255,255,255,.1); color: var(--on-dark); border: 1px solid rgba(255,255,255,.18); }
.event-status .past::before { content: "✓ "; color: #25d366; }
.event-status .next { background: var(--grad); color: #fff; }
.timeline-tag { display: inline-block; margin: 0 0 22px 110px; font: 700 .74rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); background: rgba(255,255,255,.06); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 600px) { .timeline-tag { margin-left: 0; } }
