/* ==========================================================================
   Talant Labs — Landing page
   Tokens e componentes extraídos de ../construção do site/design_system.html
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Fontes */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Geist Mono', 'SF Mono', ui-monospace, Menlo, monospace;

  /* Neutros */
  --bg: #0a0a0a;
  --ink: #0a0a0b;
  --ink-2: #0f0f10;
  --ink-3: #1a1a1b;
  --bone: #e8e6e3;
  --white: #ffffff;
  --n300: #d4d4d4;
  --n400: #a3a3a3;
  --n500: #737373;

  /* Luz principal */
  --primary: #60a5fa;      /* blue-400 */
  --primary-500: #3b82f6;
  --primary-300: #93c5fd;
  --secondary: #0ea5e9;    /* sky-500 */
  --secondary-400: #38bdf8;
  --secondary-200: #bae6fd;

  /* Acento (parcimônia) */
  --ember: #ff4500;
  --ember-hover: #ff6633;

  /* Feedback */
  --emerald: #10b981;
  --amber: #fbbf24;
  --rose: #fb7185;

  /* Superfícies e bordas */
  --w2: rgba(255,255,255,.02);
  --w3: rgba(255,255,255,.03);
  --w5: rgba(255,255,255,.05);
  --w8: rgba(255,255,255,.08);
  --w10: rgba(255,255,255,.10);
  --w20: rgba(255,255,255,.20);
  --border-gradient: linear-gradient(225deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.2) 50%, rgba(255,255,255,0) 100%);
  --surface-gradient: linear-gradient(225deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.05) 50%, rgba(255,255,255,0) 100%);

  /* Raios */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 28px;
  --r-pill: 9999px;

  /* Movimento */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-micro: .25s;
  --t-enter: .8s;

  /* Layout */
  --container: 80rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(2.5rem, 5vw, 4rem);
  --nav-h: 4rem;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(14,165,233,.3); color: var(--secondary-200); }

* { scrollbar-width: thin; scrollbar-color: rgba(96,165,250,.35) transparent; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(96,165,250,.35); border-radius: 3px; }

:focus-visible { outline: 2px solid var(--secondary-400); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 200;
  padding: .625rem 1rem; border-radius: var(--r-pill);
  background: var(--white); color: var(--ink); font-weight: 600; font-size: .875rem;
  transform: translateY(-200%); transition: transform var(--t-micro);
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* --------------------------------------------------------------------------
   3. Tipografia
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -.04em;
  line-height: .95;
}
.display b, .display strong { font-weight: 600; }
.h1 { font-size: clamp(2.75rem, 7.2vw, 5.5rem); }
.h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -.03em; line-height: 1.05; }
.h3 { font-family: var(--font-sans); font-weight: 400; letter-spacing: -.05em; line-height: 1.1; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.h4 { font-weight: 600; letter-spacing: -.025em; line-height: 1.2; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.h5 { font-weight: 500; letter-spacing: -.025em; line-height: 1.3; font-size: 1.125rem; }
.eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow--ember { color: var(--ember); }
.eyebrow--muted { color: rgba(255,255,255,.4); }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); font-weight: 300; line-height: 1.625; color: var(--n300); }
.body { color: rgba(255,255,255,.7); }
.small { font-size: .875rem; line-height: 1.5; color: var(--n400); }
.caption { font-size: .75rem; font-weight: 500; line-height: 1.4; color: var(--n500); }
.mono { font-family: var(--font-mono); font-size: .6875rem; color: rgba(255,255,255,.55); letter-spacing: 0; }
.text-gradient {
  background: linear-gradient(to bottom, #fff, #a1a1aa);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.text-glow {
  background: linear-gradient(90deg, var(--secondary-200), #fff, var(--primary-300));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 35px rgba(56,189,248,.35));
}
.max-ch { max-width: 42ch; }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); overflow-x: clip; }
.section--tight { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.section-head__index {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8125rem; font-weight: 500; text-transform: uppercase; letter-spacing: -.01em; color: var(--primary);
}
.section-head__rule { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); }
.section-head__row { display: grid; gap: 1rem; align-items: end; }
@media (min-width: 48rem) { .section-head__row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } .section-head__row > p { justify-self: end; } }
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }

/* --------------------------------------------------------------------------
   5. Superfícies
   -------------------------------------------------------------------------- */
.border-gradient { position: relative; }
.border-gradient::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  background: var(--border-gradient); pointer-events: none;
}
.surface { background: var(--surface-gradient); }
.glass-panel { background: var(--w3); border: 1px solid var(--w8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.panel {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: var(--surface-gradient); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.panel > * { position: relative; }
.card {
  position: relative; border-radius: var(--r-lg); padding: 1.5rem;
  background: var(--w5); box-shadow: inset 0 0 0 1px var(--w10);
  transition: transform .35s var(--ease-out), background .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-4px); background: var(--w8); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.card--glass { background: var(--w3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: var(--r-xl); }
.card--flat:hover { transform: none; }
.card__icon {
  width: 3rem; height: 3rem; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--w5); box-shadow: inset 0 0 0 1px var(--w10), inset 0 1px 0 rgba(255,255,255,.06);
  color: rgba(255,255,255,.6); margin-bottom: 1.25rem; transition: transform .3s, color .3s;
}
.card:hover .card__icon { transform: scale(1.08); color: #fff; }
.card__icon svg { width: 1.375rem; height: 1.375rem; }

/* Card com brilho que segue o cursor */
.glow-card { --x: 50%; --y: 50%; }
.glow-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px circle at var(--x) var(--y), rgba(56,189,248,.12), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.glow-card:hover::after { opacity: 1; }

/* Fundo de seção */
.section-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: inherit; z-index: 0; }
.section-bg .blob { position: absolute; border-radius: 50%; filter: blur(64px); animation: drift 22s ease-in-out infinite; will-change: transform; }
.section-bg .grid-dots {
  position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px; animation: gridPan 30s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.aurora {
  background: linear-gradient(120deg, rgba(96,165,250,.14), rgba(14,165,233,.06), rgba(255,69,0,.08), rgba(96,165,250,.14));
  background-size: 300% 300%; animation: aurora 16s ease infinite;
}
.rule { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); }
.rule--sky { background: linear-gradient(90deg, transparent, rgba(14,165,233,.5), transparent); }

/* Fundo global */
.site-bg { position: fixed; inset: 0; z-index: -1; background: var(--bg); }
.site-bg__grid { position: absolute; inset: 0; opacity: .03; background-image: linear-gradient(to right, #fff .5px, transparent .5px), linear-gradient(to bottom, #fff .5px, transparent .5px); background-size: 64px 64px; }
.site-bg__vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 45%, rgba(10,10,11,.7) 100%); }
.site-bg__glow { position: absolute; border-radius: 50%; filter: blur(90px); animation: drift 26s ease-in-out infinite; }

/* --------------------------------------------------------------------------
   6. Botões
   -------------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .875rem 1.5rem; border-radius: var(--r-pill);
  font-size: .875rem; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: transform var(--t-micro), background var(--t-micro), color var(--t-micro), box-shadow var(--t-micro), opacity var(--t-micro);
}
.btn svg { width: 1rem; height: 1rem; flex: none; transition: transform .3s; }
.btn:active { transform: translateY(0) scale(.98); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }

.btn--primary {
  background: #fff; color: #171717;
  box-shadow: 0 1px 0 0 rgba(255,255,255,.4) inset, 0 1px 2px rgba(0,0,0,.2);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 0 rgba(255,255,255,.4) inset, 0 10px 30px -10px rgba(255,255,255,.35); }
.btn--primary:hover svg { transform: translateX(3px); }

.btn--glass {
  background: var(--w5); color: rgba(255,255,255,.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); font-weight: 500;
}
.btn--glass:hover { color: #fff; transform: translateY(-2px); background: var(--w8); }
.btn--glass .halo {
  position: absolute; left: 50%; bottom: -.75rem; width: 11rem; height: 1.5rem; transform: translateX(-50%);
  border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity .3s;
  background: radial-gradient(60% 100% at 50% 50%, rgba(59,130,246,.55), rgba(59,130,246,.28) 35%, transparent 70%);
  filter: blur(10px) saturate(120%);
}
.btn--glass:hover .halo { opacity: 1; }

/* Botão com brilho que segue o cursor */
.btn--glow { --x: 50%; --y: 50%; padding: 1px; background: rgba(255,255,255,.2); overflow: hidden; }
.btn--glow::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(300px circle at var(--x) var(--y), var(--secondary), var(--primary-500), transparent 60%);
}
.btn--glow:hover { transform: scale(1.02); box-shadow: 0 0 40px -10px rgba(14,165,233,.7); }
.btn--glow:hover::before { opacity: 1; }
.btn--glow > span {
  position: relative; display: inline-flex; align-items: center; gap: .5rem; width: 100%; justify-content: center;
  padding: .875rem 1.75rem; border-radius: inherit; background: #000; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); transition: background .3s;
}
.btn--glow:hover > span { background: rgba(0,0,0,.9); }
.btn--glow svg { color: var(--secondary-400); }
.btn--glow:hover svg { transform: translateX(4px); }

.btn--ghost { color: rgba(255,255,255,.55); font-weight: 500; padding: .625rem 1rem; border-radius: var(--r-sm); }
.btn--ghost:hover { color: #fff; background: var(--w5); }
.btn--sm { padding: .625rem 1.125rem; font-size: .8125rem; }
.btn--block { width: 100%; }

/* Varredura de luz */
.sweep { overflow: hidden; }
.sweep::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: translateX(-120%) skewX(-15deg);
}
.sweep:hover::after { animation: sweep .9s ease forwards; }

/* --------------------------------------------------------------------------
   7. Badges e pills
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .375rem .75rem; border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 500; color: var(--n300); background: var(--w5);
}
.pill__dot { position: relative; width: .5rem; height: .5rem; border-radius: 50%; background: var(--primary); flex: none; }
.pill__dot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; opacity: .75; animation: ping 1.4s cubic-bezier(0,0,.2,1) infinite; }
.pill__dot--ember { background: var(--ember); }
.pill__dot--emerald { background: var(--emerald); }
.pill__tag { padding: .125rem .5rem; border-radius: var(--r-pill); background: rgba(96,165,250,.2); color: var(--primary-300); }
.tag {
  display: inline-flex; align-items: center; gap: .375rem; padding: .25rem .625rem; border-radius: var(--r-pill);
  font-size: .6875rem; font-weight: 500; color: var(--primary-300); background: rgba(96,165,250,.15);
}
.tag--neutral { color: #cbd5e1; background: var(--w5); box-shadow: inset 0 0 0 1px var(--w10); }
.tag--mono { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.4); background: var(--w5); border-radius: 4px; }
.tag--ember { color: #000; background: var(--ember); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .625rem; }

/* --------------------------------------------------------------------------
   8. Navegação
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,11,.5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .4s, box-shadow .4s, transform .4s var(--ease-out);
}
.nav.is-scrolled { background: rgba(10,10,11,.78); box-shadow: 0 10px 40px -20px rgba(0,0,0,.8); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand__mark { width: 2.25rem; height: 2.25rem; flex: none; transition: transform .3s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -.04em; }
.brand__name span { font-weight: 300; color: rgba(255,255,255,.45); }
.nav__links { display: none; align-items: center; gap: 1.75rem; }
.nav__links a {
  font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6);
  transition: color .3s; position: relative; padding-block: .25rem;
}
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--secondary-400); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: .75rem; }
.nav__status { display: none; }
.nav__cta { display: none; }
.nav__toggle {
  width: 2.5rem; height: 2.5rem; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--w5); box-shadow: inset 0 0 0 1px var(--w10); color: rgba(255,255,255,.8);
}
.nav__toggle svg { width: 1.25rem; height: 1.25rem; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }
/* Links a partir de 54rem; CTA a partir de 70rem; pill de status a partir de 80rem (evita aperto com seis links) */
@media (min-width: 54rem) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
}
@media (min-width: 70rem) { .nav__cta { display: inline-flex; } }
@media (min-width: 80rem) { .nav__status { display: inline-flex; } }

/* Menu móvel */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 90;
  background: rgba(10,10,11,.97); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 1.5rem var(--gutter) max(2rem, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 1.5rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s, transform .3s var(--ease-out), visibility 0s .3s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .3s, transform .3s var(--ease-out), visibility 0s; }
.mobile-menu__links { display: grid; gap: .25rem; }
.mobile-menu__links a {
  display: flex; align-items: center; gap: 1rem; padding: 1rem .25rem;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; letter-spacing: -.03em;
  border-bottom: 1px solid var(--w8); color: rgba(255,255,255,.85);
  opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu__links a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(1) { transition-delay: .05s }
.mobile-menu.is-open .mobile-menu__links a:nth-child(2) { transition-delay: .1s }
.mobile-menu.is-open .mobile-menu__links a:nth-child(3) { transition-delay: .15s }
.mobile-menu.is-open .mobile-menu__links a:nth-child(4) { transition-delay: .2s }
.mobile-menu.is-open .mobile-menu__links a:nth-child(5) { transition-delay: .25s }
.mobile-menu.is-open .mobile-menu__links a:nth-child(6) { transition-delay: .3s }
.mobile-menu.is-open .mobile-menu__links a:nth-child(7) { transition-delay: .35s }
.mobile-menu__links a span { font-family: var(--font-mono); font-size: .6875rem; color: rgba(255,255,255,.35); min-width: 1.5rem; }
.mobile-menu__links a svg { width: 1.125rem; height: 1.125rem; color: var(--secondary-400); margin-left: auto; }
.mobile-menu__footer { margin-top: auto; display: grid; gap: .75rem; }
body.menu-open { overflow: hidden; }
@media (min-width: 54rem) { .mobile-menu { display: none; } }

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)); padding-bottom: clamp(2rem, 4vw, 3rem); min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__bg .blob { position: absolute; border-radius: 50%; filter: blur(80px); animation: drift 24s ease-in-out infinite; }
.hero__cursor-light {
  position: absolute; width: 40rem; height: 40rem; border-radius: 50%; left: 0; top: 0;
  background: radial-gradient(circle, rgba(56,189,248,.10), transparent 60%);
  transform: translate(-50%, -50%); opacity: 0; transition: opacity .6s; will-change: transform;
}
.hero:hover .hero__cursor-light { opacity: 1; }
.hero__inner { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
@media (min-width: 64rem) { .hero__inner { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); } }
.hero__copy { display: grid; gap: 1.5rem; max-width: 44rem; }
.hero__title { color: #fff; font-size: clamp(2.625rem, 4.5vw, 4.5rem); }
@media (max-width: 63.98rem) { .hero__title { font-size: clamp(2.625rem, 8vw, 4.5rem); } }
.hero__title .line { display: block; }
.hero__title .word { display: inline-block; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .875rem; align-items: center; }
.hero__micro { display: flex; align-items: center; gap: .625rem; font-size: .8125rem; color: rgba(255,255,255,.45); }
.hero__micro svg { width: .875rem; height: .875rem; color: var(--secondary-400); flex: none; }
.hero__scroll { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: .5rem; z-index: 1; }
.hero__scroll span { font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.3); }
.hero__scroll i { width: 1px; height: 3rem; background: linear-gradient(to bottom, transparent, rgba(96,165,250,.6), transparent); animation: scrollPulse 2s infinite; }
@media (min-width: 64rem) { .hero__scroll { display: flex; } }

/* Composição visual do hero: painel de orquestração */
.orch { position: relative; aspect-ratio: 1 / 1; max-width: 36rem; margin-inline: auto; width: 100%; }
@media (min-width: 64rem) { .orch { aspect-ratio: 5 / 4.6; max-width: none; } }
.orch__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orch__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orch__lines path { fill: none; stroke: url(#orchLine); stroke-width: 1; opacity: .7; }
.orch__lines .pulse { fill: var(--secondary-400); filter: drop-shadow(0 0 6px rgba(56,189,248,.9)); }
.orch__core {
  position: absolute; left: 50%; top: 50%; width: 27%; aspect-ratio: 1; transform: translate(-50%, -50%);
  display: grid; place-items: center;
}
.orch__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); }
.orch__ring--1 { inset: -18%; animation: spin 30s linear infinite; }
.orch__ring--1::after { content: ""; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--secondary-400); box-shadow: 0 0 10px var(--secondary-400); transform: translateX(-50%); }
.orch__ring--2 { inset: -40%; border-style: dashed; border-color: rgba(255,255,255,.08); animation: spin 48s linear infinite reverse; }
.orch__ring--3 { inset: -62%; border-color: rgba(255,255,255,.05); animation: spin 70s linear infinite; }
.orch__ring--3::after { content: ""; position: absolute; bottom: -2px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.5); transform: translateX(-50%); }
.orch__pulse { position: absolute; inset: 8%; border-radius: 50%; background: rgba(56,189,248,.08); animation: ringPulse 3.2s cubic-bezier(0,0,.2,1) infinite; }
.orch__node {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(10,10,11,.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px -20px rgba(0,0,0,.8), 0 0 80px -20px rgba(56,189,248,.35);
  display: grid; place-items: center; transition: transform .5s var(--ease-out);
}
.orch:hover .orch__node { transform: scale(1.04); }
.orch__node svg { width: 42%; height: 42%; }
.orch__panel {
  position: absolute; width: 36%; border-radius: var(--r-md); padding: .625rem .75rem;
  background: rgba(10,10,11,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 20px 40px -20px rgba(0,0,0,.8);
  display: grid; gap: .375rem; transition: box-shadow .4s, transform .6s var(--ease-out);
  will-change: transform;
}
.orch__panel:hover { box-shadow: 0 0 0 1px rgba(56,189,248,.4), 0 20px 40px -20px rgba(0,0,0,.8), 0 0 30px -10px rgba(56,189,248,.5); }
.orch__panel-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.orch__panel-head b { font-size: .6875rem; font-weight: 600; letter-spacing: .02em; color: rgba(255,255,255,.9); display: inline-flex; align-items: center; gap: .375rem; }
.orch__panel-head b svg { width: .8125rem; height: .8125rem; color: var(--secondary-400); }
.orch__panel-head i { width: .375rem; height: .375rem; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 8px var(--emerald); animation: pulse 2s infinite; }
.orch__bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; position: relative; }
.orch__bar::after { content: ""; position: absolute; inset: 0; width: var(--w, 60%); background: linear-gradient(90deg, var(--primary-500), var(--secondary-400)); border-radius: inherit; animation: barGrow 3s var(--ease-out) infinite alternate; }
.orch__bars { display: flex; align-items: flex-end; gap: 3px; height: 1.5rem; }
.orch__bars i { flex: 1; border-radius: 2px 2px 0 0; background: rgba(255,255,255,.15); }
.orch__bars i:nth-child(1) { animation: bar1 1.4s ease-in-out infinite; }
.orch__bars i:nth-child(2) { animation: bar2 1.7s ease-in-out infinite; background: rgba(255,255,255,.25); }
.orch__bars i:nth-child(3) { animation: bar3 1.2s ease-in-out infinite; }
.orch__bars i:nth-child(4) { animation: bar4 1.5s ease-in-out infinite; background: rgba(14,165,233,.6); }
.orch__bars i:nth-child(5) { animation: bar5 1.6s ease-in-out infinite; background: var(--secondary); box-shadow: 0 0 10px rgba(14,165,233,.5); }
.orch__bars i:nth-child(6) { animation: bar6 1.8s ease-in-out infinite; }
.orch__lines-skel { display: grid; gap: 4px; }
.orch__lines-skel i { height: 3px; border-radius: 2px; background: rgba(255,255,255,.12); }
.orch__lines-skel i:nth-child(1) { width: 92%; } .orch__lines-skel i:nth-child(2) { width: 70%; } .orch__lines-skel i:nth-child(3) { width: 82%; background: rgba(96,165,250,.6); }
.orch__kpi { font-family: var(--font-mono); font-size: .625rem; color: rgba(255,255,255,.45); display: flex; justify-content: space-between; }
.orch__kpi b { color: #fff; font-weight: 500; }
.orch__ticker { font-family: var(--font-mono); font-size: .625rem; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: .375rem; min-height: 1rem; }
.orch__ticker::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--secondary-400); animation: pulse 1.2s infinite; }
.orch__cursor { display: inline-block; width: 1px; height: .75rem; background: var(--secondary); margin-left: 2px; vertical-align: middle; animation: blink 1s step-end infinite; }
/* posições dos painéis */
.orch__panel--a { left: 0; top: 4%; }
.orch__panel--b { right: 0; top: 10%; }
.orch__panel--c { left: 2%; bottom: 8%; }
.orch__panel--d { right: 2%; bottom: 4%; }
.orch__panel--e { left: 50%; top: 0; transform: translateX(-50%); width: 30%; }
.orch__out {
  position: absolute; left: 50%; bottom: -2%; transform: translateX(-50%); width: 46%;
  border-radius: var(--r-md); padding: .625rem .75rem;
  background: linear-gradient(225deg, rgba(255,255,255,.95), #fff 50%, rgba(255,255,255,.95)); color: #171717;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.4);
  display: grid; gap: .25rem;
}
.orch__out b { font-family: var(--font-display); font-size: .8125rem; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: center; gap: .375rem; }
.orch__out b svg { width: .875rem; height: .875rem; color: var(--primary-500); }
.orch__out span { font-size: .625rem; color: #525252; font-weight: 500; }
.orch__float { animation: float 7s ease-in-out infinite; }
.orch__float--2 { animation-duration: 9s; animation-delay: -3s; }
.orch__float--3 { animation-duration: 8s; animation-delay: -5s; }
.orch__float--4 { animation-duration: 10s; animation-delay: -2s; }
.orch__beam { position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; }
@media (max-width: 63.98rem) {
  .orch { aspect-ratio: 1 / 1.22; max-width: 30rem; }
  .orch__panel { width: 42%; padding: .5rem .625rem; }
  .orch__panel-head b { font-size: .625rem; white-space: nowrap; }
  .orch__panel--e { display: none; }
  .orch__panel--a { top: 2%; }
  .orch__panel--b { top: 6%; }
  .orch__panel--c { bottom: 26%; left: 0; }
  .orch__panel--d { bottom: 22%; right: 0; }
  .orch__core { width: 30%; top: 46%; }
  .orch__out { width: 70%; bottom: 2%; }
}

/* --------------------------------------------------------------------------
   10. Faixa de capacidades
   -------------------------------------------------------------------------- */
.caps { display: grid; gap: 1px; background: var(--w8); border-radius: var(--r-xl); overflow: hidden; box-shadow: inset 0 0 0 1px var(--w8); }
@media (min-width: 40rem) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .caps { grid-template-columns: repeat(5, 1fr); } }
.cap { position: relative; padding: 1.5rem 1.375rem; background: var(--ink); display: grid; gap: .75rem; align-content: start; transition: background .4s; overflow: hidden; }
.cap:hover { background: #101012; }
.cap::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--primary), var(--secondary-400)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.cap:hover::before { transform: scaleX(1); }
.cap__index { font-family: var(--font-mono); font-size: .625rem; color: rgba(255,255,255,.35); letter-spacing: .1em; }
.cap__icon { width: 2.25rem; height: 2.25rem; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--w5); box-shadow: inset 0 0 0 1px var(--w10); color: rgba(255,255,255,.7); transition: color .3s, transform .3s; }
.cap__icon svg { width: 1.125rem; height: 1.125rem; }
.cap:hover .cap__icon { color: var(--secondary-400); transform: translateY(-2px); }
.cap h3 { font-size: .9375rem; font-weight: 600; letter-spacing: -.02em; }
.cap p { font-size: .8125rem; color: var(--n400); line-height: 1.5; }

/* --------------------------------------------------------------------------
   11. Redes sociais (botões de ícone com tooltip)
   -------------------------------------------------------------------------- */
.social { display: flex; flex-wrap: wrap; gap: .5rem; }
.social--center { justify-content: center; }
.social__link {
  position: relative; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--w5); box-shadow: inset 0 0 0 1px var(--w10); color: rgba(255,255,255,.65);
  transition: color .3s, background .3s, box-shadow .3s, transform .3s var(--ease-out);
}
.social__link svg { width: 1.125rem; height: 1.125rem; }
.social__link:hover { color: #fff; background: var(--w8); transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(56,189,248,.45), 0 0 24px -8px rgba(56,189,248,.6); }
.social__tip {
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 6px);
  padding: .375rem .625rem; border-radius: var(--r-sm); white-space: nowrap; pointer-events: none;
  font-size: .6875rem; font-weight: 500; color: rgba(255,255,255,.8);
  background: rgba(26,26,27,.95); box-shadow: inset 0 0 0 1px var(--w10), 0 10px 30px -10px rgba(0,0,0,.8);
  opacity: 0; transition: opacity var(--t-micro) var(--ease-out), transform var(--t-micro) var(--ease-out);
}
.social__tip::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: rgba(26,26,27,.95); }
.social__link:hover .social__tip, .social__link:focus-visible .social__tip { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   12. Situações (problemas → efeito)
   -------------------------------------------------------------------------- */
.situations { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .situations { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .situations { grid-template-columns: repeat(4, 1fr); } }
.situation { position: relative; border-radius: var(--r-lg); padding: 1.375rem; background: var(--w3); box-shadow: inset 0 0 0 1px var(--w8); display: grid; gap: .875rem; overflow: hidden; transition: transform .35s var(--ease-out), box-shadow .35s; }
.situation:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.situation__from { display: flex; align-items: center; gap: .625rem; font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.situation__from svg { width: 1.125rem; height: 1.125rem; color: rgba(255,255,255,.45); flex: none; transition: color .3s; }
.situation:hover .situation__from svg { color: var(--ember); }
.situation__arrow { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.25); }
.situation__arrow i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.2), rgba(56,189,248,.6)); transform: scaleX(.6); transform-origin: left; transition: transform .5s var(--ease-out); }
.situation:hover .situation__arrow i { transform: scaleX(1); }
.situation__arrow svg { width: .875rem; height: .875rem; color: var(--secondary-400); }
.situation__to { font-size: .875rem; line-height: 1.5; color: var(--n300); }
.situation__to b { color: var(--secondary-200); font-weight: 500; }

/* --------------------------------------------------------------------------
   13. Bento de aplicações
   -------------------------------------------------------------------------- */
.bento { display: grid; gap: 1rem; grid-auto-rows: minmax(12rem, auto); }
.bento__full-main { display: grid; gap: 1rem; max-width: 44rem; }
@media (min-width: 40rem) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .bento { grid-template-columns: repeat(4, 1fr); } .bento__item--wide { grid-column: span 2; } .bento .bento__item--full { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 2.5rem; min-height: 0; }
  .bento__item--full .bento__examples { margin-top: 0; max-width: 24rem; justify-content: flex-end; } .bento__item--tall { grid-row: span 2; } }
.bento__item { position: relative; border-radius: var(--r-xl); padding: 1.5rem; background: var(--surface-gradient); overflow: hidden; display: flex; flex-direction: column; gap: 1rem; transition: transform .4s var(--ease-out), background .4s; }
.bento__item:hover { transform: translateY(-4px); background: linear-gradient(225deg, rgba(255,255,255,.02), rgba(255,255,255,.08) 50%, rgba(255,255,255,.02)); }
.bento__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.bento__head .tag { font-size: .625rem; }
.bento__item h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
.bento__item p { font-size: .875rem; color: rgba(255,255,255,.62); line-height: 1.55; }
.bento__examples { display: flex; flex-wrap: wrap; gap: .375rem; margin-top: auto; }
.bento__examples li { font-size: .6875rem; padding: .25rem .5rem; border-radius: 6px; background: var(--w5); color: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px var(--w8); transition: color .3s, box-shadow .3s; }
.bento__item:hover .bento__examples li { color: rgba(255,255,255,.85); box-shadow: inset 0 0 0 1px rgba(56,189,248,.25); }
.bento__icon { width: 2.5rem; height: 2.5rem; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--w5); box-shadow: inset 0 0 0 1px var(--w10); color: rgba(255,255,255,.75); flex: none; transition: transform .3s, color .3s; }
.bento__icon svg { width: 1.125rem; height: 1.125rem; }
.bento__item:hover .bento__icon { transform: scale(1.08); color: var(--secondary-400); }
/* visual do card largo: fluxo */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; align-items: center; margin-top: .25rem; }
.flow__box { border-radius: var(--r-sm); padding: .5rem .625rem; background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 1px var(--w10); display: grid; gap: .3rem; }
.flow__box b { font-family: var(--font-mono); font-size: .5625rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.flow__box i { height: 3px; border-radius: 2px; background: rgba(255,255,255,.14); display: block; }
.flow__box i.on { background: linear-gradient(90deg, var(--primary-500), var(--secondary-400)); }
.flow__box--core { box-shadow: inset 0 0 0 1px rgba(56,189,248,.35); position: relative; overflow: hidden; }
.flow__box--core::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(56,189,248,.18), transparent); transform: translateX(-100%); animation: shimmer 2.4s linear infinite; }
/* --------------------------------------------------------------------------
   14. O que entra no projeto (grade compacta)
   -------------------------------------------------------------------------- */
.diff__grid { display: grid; gap: .75rem; }
@media (min-width: 40rem) { .diff__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .diff__grid { grid-template-columns: repeat(4, 1fr); } }
.diff__cell { position: relative; display: grid; gap: .5rem; align-content: start; padding: 1.125rem 1.125rem 1.25rem; border-radius: var(--r-md); background: var(--w2); box-shadow: inset 0 0 0 1px var(--w8); transition: background .3s, box-shadow .3s, transform .3s var(--ease-out); }
.diff__cell:hover { background: var(--w5); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); transform: translateY(-3px); }
.diff__num { width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; background: #171717; box-shadow: inset 0 0 0 1px var(--w8); font-family: var(--font-mono); font-size: .75rem; color: var(--n500); transition: color .3s, box-shadow .3s; margin-bottom: .25rem; }
.diff__cell:hover .diff__num { color: #fff; box-shadow: inset 0 0 0 1px rgba(56,189,248,.5); }
.diff__cell h3 { font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; transition: color .3s; }
.diff__cell:hover h3 { color: var(--secondary-200); }
.diff__cell p { font-size: .8125rem; color: rgba(255,255,255,.55); line-height: 1.5; }

/* --------------------------------------------------------------------------
   15. Método (timeline)
   -------------------------------------------------------------------------- */
.method { position: relative; display: grid; gap: 1rem; }
.method__track { position: absolute; left: 1.375rem; top: 1.5rem; bottom: 1.5rem; width: 1px; background: var(--w8); }
.method__track i { position: absolute; left: 0; top: 0; width: 100%; height: var(--p, 0%); background: linear-gradient(to bottom, var(--primary), var(--secondary-400)); box-shadow: 0 0 12px rgba(56,189,248,.6); transition: height .2s linear; }
.step { position: relative; display: grid; grid-template-columns: 2.75rem 1fr; gap: 1.25rem; align-items: start; align-content: start; padding: 1.125rem 1.25rem 1.125rem 0; border-radius: var(--r-lg); transition: background .3s; }
.step:hover { background: var(--w2); }
.step__dot { position: relative; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--ink); box-shadow: inset 0 0 0 1px var(--w10); font-family: var(--font-mono); font-size: .75rem; color: var(--n500); transition: box-shadow .4s, color .4s, background .4s; z-index: 1; }
.step.is-active .step__dot { color: #fff; background: #0c1117; box-shadow: inset 0 0 0 1px rgba(56,189,248,.7), 0 0 24px -6px rgba(56,189,248,.7); }
.step__body { display: grid; gap: .375rem; padding-top: .5rem; align-content: start; }
.step__body h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; letter-spacing: -.03em; display: flex; align-items: center; gap: .75rem; }
.step__body p { font-size: .9375rem; color: rgba(255,255,255,.6); line-height: 1.55; max-width: 52ch; }
.step__out { font-size: .8125rem; color: var(--secondary-200); display: flex; align-items: center; gap: .5rem; }
.step__out svg { width: .875rem; height: .875rem; flex: none; }
@media (min-width: 64rem) {
  .method { grid-template-columns: repeat(7, 1fr); gap: .75rem; }
  .method__track { left: 1.375rem; right: 1.375rem; top: 1.375rem; bottom: auto; width: auto; height: 1px; }
  .method__track i { width: var(--p, 0%); height: 100%; transition: width .2s linear; }
  .step { grid-template-columns: 1fr; gap: 1rem; padding: 0 .5rem 1rem 0; }
  .step__body { padding-top: .25rem; }
  .step__body h3 { font-size: 1.125rem; flex-direction: column; align-items: flex-start; gap: .375rem; }
  .step__body p { font-size: .8125rem; }
  .step__out { font-size: .75rem; }
}

/* --------------------------------------------------------------------------
   16. Serviços
   -------------------------------------------------------------------------- */
.services { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .services { grid-template-columns: repeat(4, 1fr); } }
.service { position: relative; border-radius: var(--r-xl); padding: 1.5rem; background: var(--surface-gradient); display: flex; flex-direction: column; gap: .875rem; overflow: hidden; transition: transform .4s var(--ease-out); min-height: 17rem; }
.service:hover { transform: translateY(-4px); }
.service__index { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .12em; color: rgba(255,255,255,.35); display: flex; justify-content: space-between; align-items: center; }
.service h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
.service__q { font-size: .875rem; color: var(--secondary-200); font-style: normal; line-height: 1.45; }
.service p { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.55; }
.service__cta { margin-top: auto; display: inline-flex; align-items: center; gap: .375rem; font-size: .8125rem; font-weight: 500; color: rgba(255,255,255,.7); transition: color .3s, gap .3s; }
.service__cta svg { width: .875rem; height: .875rem; }
.service:hover .service__cta { color: #fff; gap: .625rem; }
.service--entry { background: linear-gradient(180deg, rgba(96,165,250,.10), rgba(96,165,250,.02)); }
.service--entry::before { background: linear-gradient(225deg, rgba(96,165,250,.1), rgba(96,165,250,.5) 50%, rgba(96,165,250,.1)); }
.service--entry .service__index { color: var(--primary); }
.service__glow { position: absolute; right: -3rem; top: -3rem; width: 9rem; height: 9rem; border-radius: 50%; background: rgba(96,165,250,.18); filter: blur(40px); transition: transform .6s var(--ease-out); }
.service:hover .service__glow { transform: scale(1.5); }
.services__note { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; font-size: .8125rem; color: rgba(255,255,255,.45); }
.services__note span { display: inline-flex; align-items: center; gap: .5rem; }
.services__note i { width: .625rem; height: .625rem; border-radius: 3px; display: inline-block; }

/* --------------------------------------------------------------------------
   17. Cases (chamada na página inicial)
   -------------------------------------------------------------------------- */
.teaser { display: grid; gap: 2rem; }
@media (min-width: 64rem) { .teaser { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 3.5rem; } }
.teaser__copy { display: grid; gap: 1rem; align-content: start; }
.teaser__copy .h2 { margin-top: .5rem; }
.teaser__copy .body { max-width: 46ch; margin-bottom: .5rem; }
.teaser__list { display: grid; gap: .625rem; }
.teaser__item {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center;
  padding: .875rem 1rem; border-radius: var(--r-md); background: var(--w3); box-shadow: inset 0 0 0 1px var(--w8);
  transition: background .3s, box-shadow .3s, transform .3s var(--ease-out);
}
.teaser__item:hover { background: var(--w5); box-shadow: inset 0 0 0 1px rgba(56,189,248,.3); transform: translateX(4px); }
.teaser__num { width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; background: #171717; box-shadow: inset 0 0 0 1px var(--w8); font-family: var(--font-mono); font-size: .6875rem; color: var(--n500); transition: color .3s, box-shadow .3s; }
.teaser__item:hover .teaser__num { color: #fff; box-shadow: inset 0 0 0 1px rgba(56,189,248,.5); }
.teaser__body { display: grid; gap: .125rem; }
.teaser__body b { font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.teaser__body small { font-family: var(--font-mono); font-size: .6875rem; color: rgba(255,255,255,.45); }
.teaser__go { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.4); box-shadow: inset 0 0 0 1px var(--w10); transition: color .3s, background .3s, box-shadow .3s; }
.teaser__go svg { width: .875rem; height: .875rem; transition: transform .3s var(--ease-out); }
.teaser__item:hover .teaser__go { color: var(--ink); background: var(--secondary-400); box-shadow: 0 0 20px -6px rgba(56,189,248,.8); }
.teaser__item:hover .teaser__go svg { transform: translate(1px, -1px); }

/* Aviso (âmbar) */
.notice { display: flex; gap: .625rem; align-items: flex-start; padding: .875rem 1rem; border-radius: var(--r-md); background: rgba(251,191,36,.06); box-shadow: inset 0 0 0 1px rgba(251,191,36,.2); font-size: .8125rem; color: rgba(255,255,255,.65); line-height: 1.55; }
.notice svg { width: 1rem; height: 1rem; color: var(--amber); flex: none; margin-top: .15rem; }
.notice b { color: #fde68a; font-weight: 500; }
.notice--info { background: rgba(56,189,248,.05); box-shadow: inset 0 0 0 1px rgba(56,189,248,.2); }
.notice--info svg { color: var(--secondary-400); }
.notice--info b { color: var(--secondary-200); }

/* --------------------------------------------------------------------------
   18. Quem conduz
   -------------------------------------------------------------------------- */
.about { display: grid; gap: 2.5rem; }
@media (min-width: 64rem) { .about { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 4rem; } }
.portrait { position: relative; border-radius: var(--r-2xl); padding: .5rem; background: linear-gradient(135deg, rgba(96,165,250,.12), rgba(96,165,250,.04), rgba(14,165,233,.12)); max-width: 26rem; margin-inline: auto; width: 100%; }
.portrait__frame { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: #16171a; box-shadow: inset 0 0 0 1px var(--w10); }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: saturate(.96) contrast(1.02); transform: scale(1.02); transition: transform 1.2s var(--ease-out); }
.portrait:hover .portrait__frame img { transform: scale(1.05); }
.portrait__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,0) 55%, rgba(10,10,11,.55) 85%, rgba(10,10,11,.9) 100%), radial-gradient(ellipse at 50% 0%, rgba(56,189,248,.12), transparent 55%); pointer-events: none; }
.portrait__caption { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.portrait__caption b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; letter-spacing: -.03em; display: block; }
.portrait__caption span { font-size: .75rem; color: rgba(255,255,255,.6); }
.portrait__glow { position: absolute; inset: -2rem; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(56,189,248,.18), transparent 60%); filter: blur(30px); }
.about__copy { display: grid; gap: 1.25rem; }
.about__pillars { display: flex; flex-wrap: wrap; gap: .5rem; }
.about__creds { font-size: .75rem; color: rgba(255,255,255,.4); line-height: 1.6; padding-top: 1rem; border-top: 1px solid var(--w8); display: flex; flex-wrap: wrap; gap: .375rem 1rem; }
.about__creds span { display: inline-flex; align-items: center; gap: .375rem; }
.about__creds i { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.3); }

/* --------------------------------------------------------------------------
   19. Objeções
   -------------------------------------------------------------------------- */
.objections { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .objections { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .objections { grid-template-columns: repeat(3, 1fr); } }
.objection { position: relative; border-radius: var(--r-lg); padding: 1.5rem; background: var(--w2); box-shadow: inset 0 0 0 1px var(--w8); display: grid; gap: .875rem; align-content: start; overflow: hidden; transition: transform .35s var(--ease-out), box-shadow .35s; }
.objection:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(56,189,248,.3); }
.objection__corner { position: absolute; width: 8px; height: 8px; border-color: rgba(255,255,255,.2); transition: border-color .3s; }
.objection__corner:nth-of-type(1) { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.objection__corner:nth-of-type(2) { top: 0; right: 0; border-top: 1px solid; border-right: 1px solid; }
.objection__corner:nth-of-type(3) { bottom: 0; left: 0; border-bottom: 1px solid; border-left: 1px solid; }
.objection__corner:nth-of-type(4) { bottom: 0; right: 0; border-bottom: 1px solid; border-right: 1px solid; }
.objection:hover .objection__corner { border-color: var(--secondary-400); }
.objection q { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.2; color: #fff; quotes: "“" "”"; }
.objection p { font-size: .875rem; color: rgba(255,255,255,.62); line-height: 1.55; }
.objection__label { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); display: flex; align-items: center; gap: .5rem; }
.objection__label i { width: 1.25rem; height: 1px; background: rgba(255,255,255,.2); }

/* --------------------------------------------------------------------------
   20. FAQ (details)
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: .625rem; max-width: 52rem; margin-inline: auto; }
.faq details { border-radius: var(--r-lg); background: var(--w3); box-shadow: inset 0 0 0 1px var(--w8); transition: background .3s, box-shadow .3s; }
.faq details[open] { background: var(--w5); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.125rem 1.375rem; font-size: 1rem; font-weight: 500; letter-spacing: -.01em; color: rgba(255,255,255,.9); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq summary:focus-visible { outline-offset: -4px; border-radius: var(--r-lg); }
.faq__icon { width: 1.75rem; height: 1.75rem; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--w5); box-shadow: inset 0 0 0 1px var(--w10); transition: transform .4s var(--ease-out), background .3s; }
.faq__icon svg { width: .875rem; height: .875rem; }
.faq details[open] .faq__icon { transform: rotate(45deg); background: rgba(56,189,248,.15); color: var(--secondary-400); }
.faq__body { padding: 0 1.375rem 1.25rem; font-size: .9375rem; color: rgba(255,255,255,.62); line-height: 1.6; }
.faq__body p + p { margin-top: .625rem; }

/* --------------------------------------------------------------------------
   21. CTA final e rodapé
   -------------------------------------------------------------------------- */
.final { position: relative; text-align: center; overflow: hidden; }
.final__inner { position: relative; z-index: 1; display: grid; gap: 1.75rem; justify-items: center; max-width: 52rem; margin-inline: auto; }
.final__choice { display: grid; gap: 1rem; width: 100%; }
@media (min-width: 40rem) { .final__choice { grid-template-columns: 1fr auto 1fr; align-items: center; } }
.final__opt { border-radius: var(--r-lg); padding: 1.25rem 1.5rem; text-align: left; display: grid; gap: .375rem; }
.final__opt small { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; }
.final__opt span { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: -.02em; }
.final__opt--a { background: var(--w2); box-shadow: inset 0 0 0 1px var(--w8); color: rgba(255,255,255,.55); }
.final__opt--a small { color: rgba(255,255,255,.3); }
.final__opt--b { background: linear-gradient(180deg, rgba(14,165,233,.12), rgba(14,165,233,.03)); box-shadow: inset 0 0 0 1px rgba(14,165,233,.35); color: #fff; }
.final__opt--b small { color: var(--secondary-400); }
.final__or { font-family: var(--font-mono); font-size: .6875rem; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .15em; }
.final__actions { display: flex; flex-wrap: wrap; gap: .875rem; justify-content: center; align-items: center; }
.final__alt { font-size: .8125rem; color: rgba(255,255,255,.45); }
.final__alt a { color: rgba(255,255,255,.75); border-bottom: 1px solid rgba(255,255,255,.2); transition: color .3s, border-color .3s; }
.final__alt a:hover { color: #fff; border-color: var(--secondary-400); }
.glow-point { position: absolute; left: 50%; top: 50%; width: 36rem; height: 36rem; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(14,165,233,.16), transparent 65%); pointer-events: none; }

.footer { position: relative; padding: clamp(2.5rem, 4vw, 3.5rem) 0 1.5rem; overflow: hidden; }
.footer__line { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(100%, 42rem); height: 1px; background: linear-gradient(90deg, transparent, rgba(14,165,233,.5), transparent); filter: blur(1px); }
.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 40rem) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .footer__grid { grid-template-columns: 1.3fr .8fr 1.15fr 1fr; gap: 2rem; } }
.footer__legal { display: grid; gap: .25rem; }
.footer__cnpj { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .04em; color: rgba(255,255,255,.4); }
.footer__brand { display: grid; gap: 1rem; align-content: start; }
.footer__brand p { font-size: .875rem; color: rgba(255,255,255,.45); max-width: 34ch; line-height: 1.55; }
.footer h4 { font-size: .875rem; font-weight: 600; margin-bottom: 1rem; }
.footer__links { display: grid; gap: .625rem; }
.footer__links a { font-size: .875rem; color: rgba(255,255,255,.45); display: inline-flex; align-items: center; gap: .5rem; transition: color .3s, transform .2s; }
.footer__links a:hover { color: #fff; transform: translateX(2px); }
.footer__links a svg { width: .875rem; height: .875rem; color: var(--secondary-400); }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--w8); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; font-size: .75rem; color: rgba(255,255,255,.35); }
.footer__bottom a { color: rgba(255,255,255,.5); transition: color .3s; }
.footer__bottom a:hover { color: #fff; }
.to-top { width: 2.25rem; height: 2.25rem; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--w5); box-shadow: inset 0 0 0 1px var(--w8); color: rgba(255,255,255,.5); transition: all .3s; }
.to-top:hover { color: #fff; background: var(--w10); box-shadow: inset 0 0 0 1px var(--w20); }
.to-top svg { width: 1rem; height: 1rem; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80;
  display: inline-flex; align-items: center; gap: .625rem; padding: .75rem 1rem .75rem .75rem; border-radius: var(--r-pill);
  background: rgba(10,10,11,.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px var(--w10), 0 20px 40px -20px rgba(0,0,0,.9);
  font-size: .8125rem; font-weight: 500; color: rgba(255,255,255,.85);
  transform: translateY(6rem); opacity: 0; transition: transform .5s var(--ease-out), opacity .5s, box-shadow .3s;
}
.wa-float.is-visible { transform: none; opacity: 1; }
.wa-float:hover { box-shadow: 0 0 0 1px rgba(16,185,129,.5), 0 20px 40px -20px rgba(0,0,0,.9), 0 0 30px -10px rgba(16,185,129,.5); }
.wa-float__icon { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: rgba(16,185,129,.15); color: #34d399; }
.wa-float__icon svg { width: 1.125rem; height: 1.125rem; }
.wa-float__label { display: none; }
@media (max-width: 39.98rem) { .wa-float { padding: .5rem; } }
@media (min-width: 40rem) { .wa-float__label { display: inline; } }

/* --------------------------------------------------------------------------
   21b. Páginas internas (abertura, trilha, números)
   -------------------------------------------------------------------------- */
.page-hero { position: relative; padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem)); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); overflow: hidden; }
.page-hero__inner { position: relative; z-index: 1; display: grid; gap: 1.5rem; }
.page-hero__title { font-size: clamp(2.5rem, 6vw, 5rem); max-width: 17ch; }
.page-hero--compact .page-hero__title { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
.page-hero__lead { max-width: 58ch; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.3); }
.crumbs a { color: rgba(255,255,255,.55); transition: color .3s; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--primary); }

.stats { display: grid; gap: 1px; margin-top: .75rem; background: var(--w8); border-radius: var(--r-xl); overflow: hidden; box-shadow: inset 0 0 0 1px var(--w8); }
@media (min-width: 48rem) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat { position: relative; display: grid; gap: .625rem; align-content: start; padding: 1.5rem; background: var(--ink); overflow: hidden; transition: background .4s; }
.stat:hover { background: #101012; }
.stat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--primary), var(--secondary-400)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.stat:hover::before { transform: scaleX(1); }
.stat dt { font-size: .6875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); }
.stat dd { margin: 0; }
.stat__value { display: flex; align-items: center; gap: .625rem; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.125rem, 4vw, 2.875rem); letter-spacing: -.04em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stat__value svg { width: 1.25rem; height: 1.25rem; color: var(--secondary-400); flex: none; }
.stat__from { color: rgba(255,255,255,.4); text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: rgba(255,255,255,.35); }
.stat__note { font-size: .875rem; color: var(--n400); line-height: 1.5; max-width: 32ch; }

.case-nav { display: flex; flex-wrap: wrap; gap: .5rem; }
.case-nav a { display: inline-flex; align-items: center; gap: .5rem; padding: .375rem .875rem .375rem .375rem; border-radius: var(--r-pill); background: var(--w5); box-shadow: inset 0 0 0 1px var(--w8); font-size: .8125rem; font-weight: 500; color: rgba(255,255,255,.75); transition: color .3s, background .3s, box-shadow .3s, transform .3s var(--ease-out); }
.case-nav a span { width: 1.625rem; height: 1.625rem; border-radius: 50%; display: grid; place-items: center; background: #171717; box-shadow: inset 0 0 0 1px var(--w8); font-family: var(--font-mono); font-size: .625rem; color: var(--n500); transition: color .3s, box-shadow .3s; }
.case-nav a:hover { color: #fff; background: var(--w8); box-shadow: inset 0 0 0 1px rgba(56,189,248,.35); transform: translateY(-2px); }
.case-nav a:hover span { color: #fff; box-shadow: inset 0 0 0 1px rgba(56,189,248,.5); }

/* --------------------------------------------------------------------------
   21c. Cases
   -------------------------------------------------------------------------- */
.case { scroll-margin-top: var(--nav-h); }
.case + .case { padding-top: 0; }
.case__panel { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 4vw, 3rem); }
.case__head { display: grid; gap: 1rem; }
.case__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .25rem; }
.case__body { display: grid; gap: 1rem; }
@media (min-width: 64rem) { .case__body { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.case__more { display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; color: rgba(255,255,255,.62); line-height: 1.5; }
.case__more svg { width: 1rem; height: 1rem; color: var(--secondary-400); flex: none; margin-top: .15rem; }

.status { display: inline-flex; align-items: center; gap: .5rem; padding: .25rem .625rem; border-radius: var(--r-pill); font-size: .6875rem; font-weight: 500; }
.status i { width: .375rem; height: .375rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.status--done { color: #6ee7b7; background: rgba(16,185,129,.1); box-shadow: inset 0 0 0 1px rgba(16,185,129,.25); }
.status--progress { color: #fcd34d; background: rgba(251,191,36,.1); box-shadow: inset 0 0 0 1px rgba(251,191,36,.25); }
.status--progress i { animation: pulse 2s infinite; }
.status--demo { color: var(--primary-300); background: rgba(96,165,250,.1); box-shadow: inset 0 0 0 1px rgba(96,165,250,.25); }

.fact { display: grid; gap: .75rem; align-content: start; padding: 1.25rem 1.375rem; border-radius: var(--r-lg); background: var(--w2); box-shadow: inset 0 0 0 1px var(--w8); transition: background .3s, box-shadow .3s; }
.fact:hover { background: var(--w3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.fact__label { display: flex; align-items: center; gap: .5rem; font-size: .6875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.fact__label svg { width: .9375rem; height: .9375rem; color: var(--secondary-400); flex: none; }
.fact p { font-size: .9375rem; color: rgba(255,255,255,.72); line-height: 1.6; }
.fact--impact { background: linear-gradient(180deg, rgba(14,165,233,.08), rgba(14,165,233,.02)); box-shadow: inset 0 0 0 1px rgba(14,165,233,.25); }
.fact--impact:hover { background: linear-gradient(180deg, rgba(14,165,233,.1), rgba(14,165,233,.03)); box-shadow: inset 0 0 0 1px rgba(14,165,233,.4); }
.fact--impact .fact__label { color: var(--secondary-400); }

/* Antes e depois */
.shift { display: grid; gap: .875rem; }
.shift__row { display: grid; gap: .375rem; }
.shift__head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; font-size: .75rem; color: rgba(255,255,255,.5); }
.shift__head b { font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.shift__track { height: .5rem; border-radius: var(--r-pill); background: var(--w5); overflow: hidden; }
.shift__bar { display: block; height: 100%; width: var(--w, 50%); border-radius: inherit; transform-origin: left; }
.shift__bar--before { background: rgba(255,255,255,.28); }
.shift__bar--after { min-width: .625rem; background: linear-gradient(90deg, var(--primary-500), var(--secondary-400)); box-shadow: 0 0 12px rgba(56,189,248,.8); }
html.js [data-reveal] .shift__bar { transform: scaleX(0); transition: transform 1.4s var(--ease-out) .35s; }
html.js [data-reveal].is-in .shift__bar { transform: scaleX(1); }
html.js [data-reveal].is-in .shift__bar--after { transition-delay: .9s; }
.checks { display: grid; gap: .5rem; padding-top: .875rem; border-top: 1px solid var(--w8); }
.checks li { display: flex; gap: .5rem; font-size: .875rem; color: rgba(255,255,255,.82); line-height: 1.45; }
.checks svg { width: 1rem; height: 1rem; color: var(--secondary-400); flex: none; margin-top: .15rem; }

/* Painel incorporado (Power BI com carregamento sob demanda) */
.embed { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); box-shadow: inset 0 0 0 1px var(--w10), 0 40px 80px -40px rgba(0,0,0,.9); }
.embed__bar { position: relative; z-index: 2; display: flex; align-items: center; gap: .75rem; padding: .625rem .875rem; background: rgba(255,255,255,.02); border-bottom: 1px solid var(--w8); }
.embed__dots { display: flex; gap: .375rem; flex: none; }
.embed__dots i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--w10); }
.embed__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); font-size: .6875rem; color: rgba(255,255,255,.5); }
.embed__tag { flex: none; }
.embed__ext { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: .375rem; font-size: .75rem; font-weight: 500; color: rgba(255,255,255,.6); transition: color .3s; }
.embed__ext svg { width: .75rem; height: .75rem; transition: transform .3s var(--ease-out); }
.embed__ext:hover { color: #fff; }
.embed__ext:hover svg { transform: translate(1px, -1px); }
@media (max-width: 47.98rem) { .embed__tag, .embed__dots { display: none; } }
.embed__stage { position: relative; height: 0; padding-top: calc(56.25% + 2.25rem); }
.embed__cover, .embed__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed__frame { opacity: 0; transition: opacity .6s var(--ease-out); }
.embed.is-ready .embed__frame { opacity: 1; }
.embed__cover { z-index: 1; transition: opacity .5s var(--ease-out), visibility 0s linear .5s; }
.embed.is-ready .embed__cover { opacity: 0; visibility: hidden; pointer-events: none; }
.embed__cta {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .875rem; padding: 1rem; text-align: center;
  background: radial-gradient(ellipse at center, rgba(10,10,11,.55) 0%, rgba(10,10,11,.88) 75%);
}
.embed__cta .btn svg { width: .875rem; height: .875rem; }
.embed__hint { max-width: 40ch; font-size: .75rem; color: rgba(255,255,255,.5); line-height: 1.5; }
.embed__loading { display: none; align-items: center; gap: .625rem; font-size: .8125rem; color: rgba(255,255,255,.7); }
.embed__loading i { width: 1rem; height: 1rem; border-radius: 50%; border: 1.5px solid rgba(56,189,248,.25); border-top-color: var(--secondary-400); animation: spin .8s linear infinite; }
.embed.is-loading .embed__cta .btn, .embed.is-loading .embed__hint { display: none; }
.embed.is-loading .embed__loading { display: inline-flex; }
.embed__mobile { display: none; margin-top: -.75rem; font-size: .75rem; color: rgba(255,255,255,.45); }
.embed__mobile b { color: rgba(255,255,255,.7); font-weight: 500; }
@media (max-width: 47.98rem) {
  .embed__stage { padding-top: 0; height: min(78vw, 22rem); }
  .embed__mobile { display: block; }
  .embed__hint { display: none; }
}

/* Esqueleto do painel (prévia antes do clique) */
.bi { position: absolute; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 3%; padding: 3.5% 3.5% calc(3.5% + 2.25rem); opacity: .6; }
.bi__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2%; }
.bi__kpi { display: grid; gap: .5rem; padding: 6% 8%; border-radius: var(--r-sm); background: var(--w5); box-shadow: inset 0 0 0 1px var(--w8); }
.bi__kpi i { display: block; height: 4px; width: 55%; border-radius: 2px; background: var(--w10); }
.bi__kpi b { display: block; height: 12px; width: 75%; border-radius: 3px; background: rgba(255,255,255,.22); }
.bi__kpi:nth-child(2) b { background: linear-gradient(90deg, var(--primary-500), var(--secondary-400)); opacity: .7; }
.bi__main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2%; min-height: 0; }
.bi--alt .bi__main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.bi__table, .bi__chart { border-radius: var(--r-sm); background: var(--w3); box-shadow: inset 0 0 0 1px var(--w8); padding: 4%; min-height: 0; overflow: hidden; }
.bi__table { display: grid; align-content: space-evenly; }
.bi__table i { display: block; height: 4px; border-radius: 2px; background: var(--w10); }
.bi__table i:nth-child(1) { background: rgba(255,255,255,.25); width: 100%; }
.bi__table i:nth-child(3n) { width: 78%; } .bi__table i:nth-child(3n+2) { width: 92%; } .bi__table i:nth-child(4) { background: rgba(96,165,250,.5); }
.bi__chart { display: flex; align-items: flex-end; gap: 5%; }
.bi__chart i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(to top, rgba(59,130,246,.35), rgba(56,189,248,.75)); }
.bi__chart i:nth-child(1) { animation: bar1 2.8s ease-in-out infinite; } .bi__chart i:nth-child(2) { animation: bar2 3.4s ease-in-out infinite; }
.bi__chart i:nth-child(3) { animation: bar3 2.4s ease-in-out infinite; } .bi__chart i:nth-child(4) { animation: bar4 3s ease-in-out infinite; }
.bi__chart i:nth-child(5) { animation: bar5 3.2s ease-in-out infinite; } .bi__chart i:nth-child(6) { animation: bar6 3.6s ease-in-out infinite; }
.bi__chart i:nth-child(7) { animation: bar2 2.6s ease-in-out infinite; } .bi__chart i:nth-child(8) { animation: bar4 3.8s ease-in-out infinite; }
@media (max-width: 47.98rem) { .bi__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bi__kpi:nth-child(n+3) { display: none; } .bi__main { grid-template-columns: 1fr !important; } .bi__table { display: none; } }

/* Migração: origem → robôs → destino */
.migrate { display: grid; gap: 0; align-items: stretch; }
@media (min-width: 48rem) { .migrate { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.migrate__node { position: relative; z-index: 1; display: grid; gap: 1rem; padding: 1.25rem; border-radius: var(--r-lg); background: rgba(10,10,11,.75); box-shadow: inset 0 0 0 1px var(--w10); }
.migrate__node--dst { box-shadow: inset 0 0 0 1px rgba(56,189,248,.35), 0 0 50px -24px rgba(56,189,248,.7); }
.migrate__top { display: flex; align-items: center; gap: .75rem; }
.migrate__top b { display: block; font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; }
.migrate__top small { display: block; font-family: var(--font-mono); font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.migrate__icon { width: 2.25rem; height: 2.25rem; flex: none; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--w5); box-shadow: inset 0 0 0 1px var(--w10); color: rgba(255,255,255,.7); }
.migrate__icon svg { width: 1.125rem; height: 1.125rem; }
.migrate__node--dst .migrate__icon { color: var(--secondary-400); box-shadow: inset 0 0 0 1px rgba(56,189,248,.35); }
.migrate__rows { display: grid; gap: .5rem; }
.migrate__rows i { display: block; height: 5px; border-radius: 3px; background: rgba(255,255,255,.14); animation: rowSend 3.5s ease-in-out infinite; }
.migrate__rows i:nth-child(1) { width: 92%; } .migrate__rows i:nth-child(2) { width: 70%; animation-delay: .7s; } .migrate__rows i:nth-child(3) { width: 84%; animation-delay: 1.4s; }
.migrate__rows i:nth-child(4) { width: 62%; animation-delay: 2.1s; } .migrate__rows i:nth-child(5) { width: 78%; animation-delay: 2.8s; }
.migrate__count { display: grid; gap: .25rem; }
.migrate__count span { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.25rem, 4vw, 3rem); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.migrate__count small { font-size: .8125rem; color: var(--n400); }
.migrate__pipe { position: relative; display: grid; place-items: center; min-height: 10rem; }
.migrate__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(56,189,248,.6), rgba(255,255,255,.1)); }
.migrate__line i { position: absolute; left: 50%; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 2px; background: var(--secondary-400); box-shadow: 0 0 10px rgba(56,189,248,.9); animation: packetY 2.8s linear infinite; }
.migrate__line i:nth-child(2) { animation-delay: -.7s; } .migrate__line i:nth-child(3) { animation-delay: -1.4s; } .migrate__line i:nth-child(4) { animation-delay: -2.1s; }
@media (min-width: 48rem) {
  .migrate__pipe { min-height: 8rem; }
  .migrate__line { left: -1rem; right: -1rem; top: 50%; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(56,189,248,.6), rgba(255,255,255,.1)); }
  .migrate__line i { top: 50%; left: 0; animation-name: packetX; }
}
.migrate__bot { position: relative; z-index: 1; display: grid; justify-items: center; gap: .25rem; padding: .875rem 1.25rem; border-radius: var(--r-lg); text-align: center; background: #0c1117; box-shadow: inset 0 0 0 1px rgba(56,189,248,.45), 0 0 40px -12px rgba(56,189,248,.6); }
.migrate__bot::before { content: ""; position: absolute; inset: -.5rem; border-radius: 1.25rem; border: 1px dashed rgba(56,189,248,.25); animation: pulse 3s ease-in-out infinite; }
.migrate__bot svg { width: 1.5rem; height: 1.5rem; color: var(--secondary-400); margin-bottom: .25rem; }
.migrate__bot b { font-size: .875rem; font-weight: 600; }
.migrate__bot small { font-family: var(--font-mono); font-size: .625rem; color: rgba(255,255,255,.5); }

/* Fluxo ilustrativo (n8n) */
.wf { display: grid; gap: .75rem; }
.wf__canvas {
  position: relative; display: flex; flex-direction: column; align-items: stretch; padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--w10);
  background-color: rgba(10,10,11,.65); background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 16px 16px;
}
@media (min-width: 64rem) { .wf__canvas { flex-direction: row; align-items: center; } }
.wf__node { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .75rem; align-items: center; padding: .75rem .875rem; border-radius: var(--r-md); background: #111113; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 12px 30px -16px rgba(0,0,0,.9); transition: box-shadow .3s, transform .3s var(--ease-out); }
.wf__node:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(56,189,248,.45), 0 0 24px -8px rgba(56,189,248,.5); }
@media (min-width: 64rem) { .wf__canvas > .wf__node { flex: 1 1 0; } }
.wf__icon { grid-row: span 2; width: 2rem; height: 2rem; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--secondary-400); background: rgba(56,189,248,.1); box-shadow: inset 0 0 0 1px rgba(56,189,248,.25); }
.wf__icon svg { width: 1rem; height: 1rem; }
.wf__node--trigger .wf__icon { color: var(--ember); background: rgba(255,69,0,.1); box-shadow: inset 0 0 0 1px rgba(255,69,0,.3); }
.wf__node b { font-size: .8125rem; font-weight: 600; letter-spacing: -.01em; }
.wf__node small { font-family: var(--font-mono); font-size: .625rem; color: rgba(255,255,255,.45); }
.wf__link { position: relative; flex: none; align-self: center; width: 1px; height: 1.75rem; background: rgba(255,255,255,.2); }
.wf__link::after { content: ""; position: absolute; left: 50%; top: 0; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--secondary-400); box-shadow: 0 0 8px rgba(56,189,248,.9); animation: packetY 1.8s linear infinite; }
.wf__link:nth-of-type(2)::after { animation-delay: -.6s; } .wf__link:nth-of-type(3)::after { animation-delay: -1.2s; }
@media (min-width: 64rem) { .wf__link { width: 2rem; height: 1px; } .wf__link::after { top: 50%; left: 0; animation-name: packetX; } }
.wf__branch { display: grid; gap: .5rem; }
@media (min-width: 64rem) { .wf__branch { flex: 1.15 1 0; } }

@keyframes packetX { 0% { left: 0; opacity: 0; } 12%, 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes packetY { 0% { top: 0; opacity: 0; } 12%, 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes rowSend { 0%, 100% { opacity: .35; } 40% { opacity: 1; background: rgba(56,189,248,.55); } }

/* --------------------------------------------------------------------------
   21d. Política de privacidade
   -------------------------------------------------------------------------- */
.idcard { display: grid; gap: 1px; margin-top: .75rem; background: var(--w8); border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--w8); }
@media (min-width: 40rem) { .idcard { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .idcard { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.idcard > div { display: grid; gap: .25rem; padding: 1rem 1.25rem; background: var(--ink); }
.idcard dt { font-size: .625rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.idcard dd { margin: 0; font-size: .9375rem; color: #fff; overflow-wrap: anywhere; }
.idcard dd a { border-bottom: 1px solid rgba(56,189,248,.35); transition: border-color .3s; }
.idcard dd a:hover { border-color: var(--secondary-400); }
.mono-dd { font-family: var(--font-mono); font-size: .875rem !important; letter-spacing: .02em; }

.legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 64rem) { .legal { grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; align-items: start; } }
.toc { display: grid; gap: .875rem; padding: 1.25rem; border-radius: var(--r-lg); background: var(--w2); box-shadow: inset 0 0 0 1px var(--w8); }
@media (min-width: 64rem) { .toc { position: sticky; top: calc(var(--nav-h) + 1.5rem); padding: 0; background: none; box-shadow: none; } }
.toc__title { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.toc ol { display: grid; gap: .125rem; border-left: 1px solid var(--w8); }
@media (max-width: 63.98rem) { .toc ol { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); } }
.toc a { display: flex; gap: .625rem; margin-left: -1px; padding: .3125rem .75rem; border-left: 1px solid transparent; font-size: .8125rem; line-height: 1.4; color: rgba(255,255,255,.5); transition: color .3s, border-color .3s; }
.toc a span { font-family: var(--font-mono); font-size: .625rem; padding-top: .15rem; color: rgba(255,255,255,.3); transition: color .3s; }
.toc a:hover, .toc a.is-active { color: #fff; border-color: var(--secondary-400); }
.toc a.is-active span { color: var(--secondary-400); }

.prose { max-width: 48rem; }
.prose > section { padding-block: 2rem; border-top: 1px solid var(--w8); scroll-margin-top: calc(var(--nav-h) + 1rem); }
.prose > section:first-child { padding-top: 0; border-top: 0; }
.prose h2 { display: flex; align-items: baseline; gap: .875rem; margin-bottom: 1rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.375rem, 2.4vw, 1.75rem); letter-spacing: -.03em; line-height: 1.2; }
.prose h2 span { font-family: var(--font-mono); font-size: .75rem; font-weight: 400; letter-spacing: 0; color: var(--primary); }
.prose h3 { margin: 1.5rem 0 .5rem; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.prose p, .prose li { font-size: .9375rem; line-height: 1.7; color: rgba(255,255,255,.7); }
.prose p + p, .prose p + ul, .prose ul + p, .prose .table-wrap + p { margin-top: .875rem; }
.prose ul { display: grid; gap: .5rem; margin-top: .875rem; }
.prose ul:not(.rights) li { position: relative; padding-left: 1.25rem; }
.prose ul:not(.rights) li::before { content: ""; position: absolute; left: 0; top: .8em; width: .5rem; height: 1px; background: var(--secondary-400); }
.prose strong { color: #fff; font-weight: 600; }
.prose a { color: var(--secondary-200); border-bottom: 1px solid rgba(56,189,248,.35); transition: color .3s, border-color .3s; }
.prose a:hover { color: #fff; border-color: var(--secondary-400); }
.rights li { display: flex; gap: .625rem; }
.rights svg { width: 1rem; height: 1rem; flex: none; margin-top: .3rem; color: var(--secondary-400); }
.table-wrap { margin-top: 1rem; overflow-x: auto; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--w8); }
.dtable { width: 100%; min-width: 38rem; border-collapse: collapse; font-size: .8125rem; }
.dtable th { padding: .75rem 1rem; text-align: left; font-size: .625rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); background: var(--w3); border-bottom: 1px solid var(--w8); }
.dtable td { padding: .875rem 1rem; vertical-align: top; line-height: 1.5; color: rgba(255,255,255,.7); border-bottom: 1px solid var(--w5); }
.dtable tr:last-child td { border-bottom: 0; }
.dtable td:first-child { color: #fff; font-weight: 500; white-space: nowrap; }
.privacy-contact { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(14,165,233,.08), rgba(14,165,233,.02)); box-shadow: inset 0 0 0 1px rgba(14,165,233,.25); }
.privacy-contact__icon { width: 2.5rem; height: 2.5rem; flex: none; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--w5); box-shadow: inset 0 0 0 1px var(--w10); color: var(--secondary-400); }
.privacy-contact__icon svg { width: 1.125rem; height: 1.125rem; }
.privacy-contact p + p { margin-top: .25rem; }

.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }

/* --------------------------------------------------------------------------
   22. Reveal (com JS) — sem JS tudo fica visível
   -------------------------------------------------------------------------- */
html.js [data-hero] { opacity: 0; }
html.js [data-hero].is-in { opacity: 1; transition: opacity .8s var(--ease-out); }
html.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(8px); will-change: transform, opacity, filter; }
html.js [data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out); transition-delay: var(--d, 0s); }

/* --------------------------------------------------------------------------
   23. Keyframes
   -------------------------------------------------------------------------- */
@keyframes fadeSlideIn { 0% { opacity: 0; transform: translateY(30px); filter: blur(8px); } 100% { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes drift { 0% { transform: translate3d(0,0,0) scale(1); } 33% { transform: translate3d(6%,-8%,0) scale(1.1); } 66% { transform: translate3d(-5%,6%,0) scale(.95); } 100% { transform: translate3d(0,0,0) scale(1); } }
@keyframes aurora { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes gridPan { to { background-position: 64px 64px; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinCenter { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes sweep { to { transform: translateX(220%) skewX(-15deg); } }
@keyframes scrollPulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes ringPulse { 0% { transform: scale(.7); opacity: .5; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes barGrow { from { width: calc(var(--w, 60%) - 25%); } to { width: var(--w, 60%); } }
@keyframes bar1 { 0%, 100% { height: 40% } 50% { height: 70% } }
@keyframes bar2 { 0%, 100% { height: 60% } 50% { height: 30% } }
@keyframes bar3 { 0%, 100% { height: 30% } 50% { height: 60% } }
@keyframes bar4 { 0%, 100% { height: 80% } 50% { height: 40% } }
@keyframes bar5 { 0%, 100% { height: 100% } 50% { height: 60% } }
@keyframes bar6 { 0%, 100% { height: 50% } 50% { height: 80% } }

/* --------------------------------------------------------------------------
   24. Movimento reduzido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .hero__cursor-light, .orch__pulse, .orch__beam { display: none; }
  .section-bg .blob, .hero__bg .blob, .site-bg__glow { animation: none; }
}

/* Impressão */
@media print {
  .nav, .mobile-menu, .wa-float, .site-bg, .hero__bg, .section-bg, .orch__canvas { display: none !important; }
  body { background: #fff; color: #000; }
}
