/* ============================================================
   AYVEN — institutional site + platform gateway
   Design tokens derived from the AYVEN mark (mesh leaf,
   blue → turquoise → green) and the product deck.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --bg:        #05080b;
  --bg-1:      #070b10;
  --surface:   #0b1017;
  --surface-2: #0e141d;
  --surface-3: #121a24;

  /* lines */
  --line:        rgba(150, 168, 184, 0.12);
  --line-strong: rgba(150, 168, 184, 0.22);
  --line-glow:   rgba(53, 208, 122, 0.28);

  /* text */
  --text:   #eaf1ef;
  --text-2: #a3b0b9;
  --text-3: #8895a0; /* lifted from #78868f so small mono labels clear WCAG AA on the near-black bg */

  /* brand triad */
  --blue:   #2a7fe4;
  --cyan:   #17b8ce;
  --green:  #35d07a;
  --green-b:#57e295;

  --grad: linear-gradient(115deg, var(--blue) 0%, var(--cyan) 52%, var(--green) 100%);
  --grad-soft: linear-gradient(115deg, rgba(42,127,228,0.16), rgba(23,184,206,0.14) 50%, rgba(53,208,122,0.18));

  /* type */
  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter Tight", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* rhythm */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 74px; /* altura do .nav — o #top compensa-a; mudar num sítio só */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 22px;
  --section-y: clamp(90px, 12vw, 176px);
  --section-head-mb: clamp(40px, 6vw, 64px); /* uniform breathing under every section header */

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: .25s;
  --dur: .35s;

  /* scroll progress 0→1, set by JS — powers the ambient "journey" */
  --sy: 0;
  /* section-threshold glow, derived from --sy so every section's entrance
     light is a continuation of the same traveling light (see .aura-travel
     and .section:not(.hero)::after) instead of an independent per-section
     value. Hue interpolates blue→green with scroll depth; position drifts
     side to side on one slow full-page cycle rather than alternating. */
  --th-hue: color-mix(in oklab, var(--blue), var(--green) calc(var(--sy) * 100%));
  --th-c: color-mix(in srgb, var(--th-hue) 8%, transparent);
  --th-x: calc(50% + 28% * sin(var(--sy) * 6.2832rad));

  /* elevation scale — named tokens for values already repeated verbatim
     across components, so the repeats stay visually provably identical
     instead of drifting apart as separate literals over time */
  --shadow-dot-glow: 0 0 8px var(--green);
  --shadow-deep-lg: 0 44px 110px -60px rgba(0,0,0,0.95);
  --shadow-accent-featured: 0 30px 80px -50px rgba(53,208,122,0.5);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 12px 18px; border-radius: var(--radius-sm);
  background: var(--green); color: #04120a;
  font-family: var(--f-mono); font-size: 13px; font-weight: 500;
  transform: translateY(-140%); transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; scroll-margin-top: 92px; }
/* ⚠ NÃO voltar a 0: o `#top` está no <main>, que começa DEPOIS do header sticky.
   Com 0, abrir /#top alinhava o topo do <main> com o topo da janela — ou seja,
   descia a página exactamente a altura do header (74px), e o header voltava a
   colar-se em cima a tapar a primeira linha do hero («SISTEMA DE GESTÃO
   SUSTENTÁVEL»). Com o `scroll-behavior: smooth` do html, isso aparecia como um
   pequeno scroll automático ao abrir o link. Compensar a altura do header faz
   `#top` significar realmente o topo. */
#top { scroll-margin-top: var(--header-h); }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--grad);
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accent { color: var(--green); }

h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }
.h-hero { font-size: clamp(2.3rem, 4.9vw, 3.95rem); font-weight: 600; line-height: 1.03; letter-spacing: -0.03em; }
.h-sec  { font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -0.03em; }
.lead   { color: var(--text-2); font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.55; max-width: 52ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.04em;
  font-weight: 500; white-space: nowrap;
  transition: transform var(--dur) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur-fast) var(--ease);
  min-height: 44px;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  color: #04120a; background: var(--green);
  box-shadow: 0 0 0 1px rgba(87,226,149,0.4), 0 12px 34px -14px rgba(53,208,122,0.7);
}
.btn-primary:hover { background: var(--green-b); transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(87,226,149,0.6), 0 18px 44px -14px rgba(53,208,122,0.85); }
.btn-ghost {
  color: var(--text); border: 1px solid var(--line-strong); background: rgba(255,255,255,0.015);
}
.btn-ghost:hover { border-color: var(--line-glow); background: rgba(53,208,122,0.06); transform: translateY(-2px); }
/* .btn.btn: doubled class bumps specificity so press-feedback always
   wins over any per-variant :hover transform, regardless of source order */
.btn.btn:active { transform: translateY(0) scale(0.97); transition-duration: .12s; }
.btn-sm { padding: 10px 16px; min-height: 40px; }
.btn-lg { padding: 16px 28px; font-size: 14px; min-height: 52px; }
.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Ambient background ---------- */
/* Base layer — ambient light that *travels* blue → green as the page descends,
   echoing the mesh-leaf gradient (raw data → operational outcome). Driven by
   --sy (scroll progress) so the lighting evolves instead of staying uniform. */
.aura { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.aura::before, .aura::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(140px); will-change: opacity, transform;
}
/* cool bloom — strongest at the top, recedes as the journey warms */
.aura::before { width: 680px; height: 680px; top: -240px; right: -180px;
  background: radial-gradient(circle, rgba(42,127,228,0.22), transparent 62%);
  opacity: calc(0.46 - var(--sy) * 0.30);
  transform: translateY(calc(var(--sy) * 34vh)); }
/* warm bloom — rises into presence toward the foot of the page */
.aura::after { width: 640px; height: 640px; top: 380px; left: -240px;
  background: radial-gradient(circle, rgba(53,208,122,0.20), transparent 60%);
  opacity: calc(0.18 + var(--sy) * 0.40);
  transform: translateY(calc(var(--sy) * -22vh)); }
/* a soft central traveller whose hue interpolates along the leaf gradient and
   glides down with the scroll — the single "moving light" of the page */
.aura-travel {
  position: fixed; z-index: -2; pointer-events: none;
  left: 50%; top: calc(2vh + var(--sy) * 74vh); transform: translate(-50%, -50%);
  width: 62vw; height: 62vw; max-width: 840px; max-height: 840px; border-radius: 50%;
  filter: blur(150px); opacity: 0.14; will-change: top, background;
  background: radial-gradient(circle,
    color-mix(in oklab, var(--blue), var(--green) calc(var(--sy) * 100%)) 0%, transparent 66%);
}
/* gentle noise texture — dissolves the flat gradients into a filmic surface */
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* barely-visible grid fragments, masked to the top (reads mostly on the hero) */
.grid-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 66px 66px;
  -webkit-mask-image: radial-gradient(ellipse 92% 56% at 50% -4%, #000 0%, transparent 74%);
  mask-image: radial-gradient(ellipse 92% 56% at 50% -4%, #000 0%, transparent 74%);
  opacity: 0.32;
}

/* ============================================================
   Ambient background narrative
   3 layers, evolving per section: Base (soft gradients) ·
   Atmospheric (lines / particles / contours) · Accent (glows).
   Opacity kept ~4–8%, always behind content, readability first.
   ============================================================ */
.section > .wrap, .consolidated > .wrap { position: relative; z-index: 1; }

/* --- Base: a per-section radial tint. The hue climbs the leaf gradient from
   blue (raw inputs, top) to green (action & outcome, bottom) so scrolling reads
   as forward motion — each section a distinct station on the same journey. --- */
.hero::before, #porque-agora::before, #problema::before, #como::before,
#modulos::before, #accao::before, #clientes::before, #faq::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero::before {
  background: radial-gradient(52% 42% at 9% -6%, rgba(42,127,228,0.10), transparent 72%),
              radial-gradient(54% 44% at 91% -8%, rgba(23,184,206,0.07), transparent 72%);
}
#porque-agora::before { background: radial-gradient(58% 52% at 84% 12%, rgba(42,127,228,0.055), transparent 70%); }
#problema::before { background: radial-gradient(46% 46% at 50% 40%, rgba(23,184,206,0.05), transparent 72%); }
#como::before { background: radial-gradient(56% 62% at 4% 42%, rgba(23,184,206,0.06), transparent 68%); }
#modulos::before { background: radial-gradient(56% 62% at 97% 20%, rgba(28,197,168,0.06), transparent 68%); }
#accao::before { background: radial-gradient(52% 50% at 12% 8%, rgba(53,208,122,0.055), transparent 70%); }
#clientes::before { background: radial-gradient(50% 46% at 82% 22%, rgba(53,208,122,0.05), transparent 72%); }
#faq::before { background: radial-gradient(58% 52% at 50% 2%, rgba(53,208,122,0.045), transparent 70%); }

/* --- Section thresholds: a soft "entrance light" at the top of each major
   section, driven by the same --sy spine as .aura-travel below, so it reads
   as the one traveling light arriving at each threshold rather than a
   per-section coin-flip. Feathered top→down by a mask so it dissolves into
   the section instead of ending on an edge. --- */
.section:not(.hero)::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 380px; z-index: 0; pointer-events: none;
  background: radial-gradient(54% 100% at var(--th-x, 50%) 0%, var(--th-c, rgba(42,127,228,0.07)), transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}

/* --- Atmospheric: ultra-faint SVG textures, unique per section --- */
.atmos { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.atmos svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.atmos-forces { opacity: 0.055; -webkit-mask-image: radial-gradient(96% 96% at 50% 116%, #000 8%, transparent 74%); mask-image: radial-gradient(96% 96% at 50% 116%, #000 8%, transparent 74%); }
.atmos-como { opacity: 0.06; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); }
.atmos-modulos { opacity: 0.07; -webkit-mask-image: radial-gradient(78% 82% at 62% 42%, #000 22%, transparent 88%); mask-image: radial-gradient(78% 82% at 62% 42%, #000 22%, transparent 88%); }
.atmos-risco { opacity: 0.06; -webkit-mask-image: radial-gradient(72% 92% at 100% 26%, #000 18%, transparent 82%); mask-image: radial-gradient(72% 92% at 100% 26%, #000 18%, transparent 82%); }
.atmos-accao { opacity: 0.05; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.atmos-clientes { opacity: 0.05; -webkit-mask-image: radial-gradient(82% 82% at 22% 30%, #000 14%, transparent 82%); mask-image: radial-gradient(82% 82% at 22% 30%, #000 14%, transparent 82%); }

/* barely-perceptible drift — depth without distraction. One shared 60s base
   rhythm (not six unrelated durations) with staggered negative delays, so
   every section breathes on the same underlying clock — different phase and
   axis per section for variety, but one rhythm, not six unrelated ones. */
@media (prefers-reduced-motion: no-preference) {
  .atmos-forces svg { animation: amb-y 60s ease-in-out infinite alternate; animation-delay: -6s; }
  .atmos-como svg { animation: amb-x 60s ease-in-out infinite alternate; animation-delay: -16s; }
  .atmos-modulos svg { animation: amb-y 60s ease-in-out infinite alternate; animation-delay: -26s; }
  .atmos-risco svg { animation: amb-x 60s ease-in-out infinite alternate; animation-delay: -36s; }
  .atmos-accao svg { animation: amb-x 60s ease-in-out infinite alternate; animation-delay: -46s; }
  .atmos-clientes svg { animation: amb-y 60s ease-in-out infinite alternate; animation-delay: -56s; }
}
@keyframes amb-x { from { transform: translate3d(-1.4%,0,0); } to { transform: translate3d(1.4%,0,0); } }
@keyframes amb-y { from { transform: translate3d(0,-1.2%,0); } to { transform: translate3d(0,1.2%,0); } }

/* --- Accent: a soft, focused glow behind key mockups (never a bright shape) --- */
.consolidated { position: relative; }
.consolidated::before {
  content: ""; position: absolute; z-index: 0; right: 4%; top: 18%; width: 46%; height: 78%;
  background: radial-gradient(closest-side, rgba(53,208,122,0.10), rgba(23,184,206,0.05) 55%, transparent 75%);
  filter: blur(22px); pointer-events: none;
}
.pilot { position: relative; }
.pilot::before {
  content: ""; position: absolute; z-index: 0; left: 30%; top: 40%; width: 42%; height: 70%;
  background: radial-gradient(closest-side, rgba(42,127,228,0.09), transparent 72%);
  filter: blur(24px); pointer-events: none;
}
.pilot-card { position: relative; z-index: 1; }

/* ============================================================
   Header / nav
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 60;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(6, 9, 13, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
img.leaf { display: block; object-fit: contain; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .leaf { width: 30px; height: 34px; }
.brand .word { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: 0.12em; }
.brand .word b { font-weight: 600; }
.brand .word .en { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; gap: 4px; margin-inline: auto; }
.nav-links a {
  font-size: 14.5px; color: var(--text-2); padding: 9px 14px; border-radius: var(--radius-xs);
  transition: color .25s, background-color .25s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; display: block; height: 1.5px; margin: 5px 4px -3px;
  background: var(--grad); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-signin { font-size: 14.5px; color: var(--text-2); padding: 9px 12px; transition: color .25s; }
.nav-signin:hover { color: var(--text); }

.hamburger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.hamburger span { position: relative; width: 20px; height: 1.5px; background: var(--text); transition: transform .3s, opacity .3s; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--text); transition: transform .3s; }
.hamburger span::before { top: -6px; } .hamburger span::after { top: 6px; }
.hamburger[aria-expanded="true"] span { background: transparent; }
.hamburger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 74px 0 0; z-index: 55;
  background: rgba(5,8,11,0.97); backdrop-filter: blur(10px);
  padding: 24px var(--gutter) 40px; display: none; flex-direction: column; gap: 6px;
  transform: translateY(-8px); opacity: 0; transition: opacity .3s, transform .3s;
}
.mobile-menu.open { display: flex; opacity: 1; transform: translateY(0); }
.mobile-menu a { font-family: var(--f-display); font-size: 26px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.mobile-menu .m-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu .m-actions .btn { width: 100%; }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-top: clamp(18px, 2.6vw, 32px); padding-bottom: clamp(32px, 4vw, 56px); overflow: hidden; }
/* two-column field: copy left, product-demo laptop right — the laptop
   floats directly on the page background (no card/panel behind it) */
.hero-grid {
  position: relative; z-index: 0;
  display: grid; grid-template-columns: 0.95fr 1.1fr; align-items: center;
  gap: clamp(12px, 3vw, 32px);
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; max-width: 620px; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero h1 { margin-bottom: 14px; font-size: clamp(1.7rem, 2.4vw, 2.35rem); }
.hero .lead { margin-bottom: 22px; font-size: clamp(0.92rem, 1.05vw, 1.02rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-hairline { margin-top: 18px; width: 100%; max-width: 320px; height: 1px; background: var(--line); }

/* ---- the laptop stage: right column, positioning context for .ay-stage ---- */
.hero-stage { position: relative; min-height: clamp(300px, 34vw, 420px); }
/* hero trust indicators */
.trust-row { list-style: none; padding: 0; margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px 22px; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.02em; color: var(--text-2); }
.trust-row li svg { width: 15px; height: 15px; color: var(--green); flex: none; }

/* ============================================================
   Product window frame (screenshots)
   ============================================================ */
.window {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  box-shadow: 0 44px 100px -50px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,255,255,0.02) inset;
}
.window-bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.window-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.window-bar .url { margin-left: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.02em; color: var(--text-3); }
.window { position: relative; }
.window img { display: block; width: 100%; height: auto; }
/* screenshots are partial-page captures — fade the bottom into the frame so a
   sliced row dissolves instead of ending on a hard cut */
.window::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%;
  background: linear-gradient(180deg, rgba(14,20,29,0) 0%, var(--surface-2) 94%);
  pointer-events: none; z-index: 1;
}
.cta-window::after { display: none; }

/* ============================================================
   Hero product-demo laptop — CSS-only 3D laptop mockup running an
   11-screen (10, see below) rotating BI-dashboard demo. Approved as a
   standalone concept, integrated here verbatim. Every internal token
   (colors, fonts, radii) reuses the tokens already declared in :root
   above — no new palette introduced.
   ============================================================ */
.ay-stage {
  position: absolute;
  top: 50%;
  left: -8%;
  width: 118%;
  transform: translateY(-50%);
  mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, .35) 10%, #000 30%);
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, .35) 10%, #000 30%);
}

/* ambient particles — barely-there atmosphere */
.ay-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.22;
  pointer-events: none;
}
.ay-particle.a { width: 4px; height: 4px; top: 14%; left: 22%; background: var(--blue); animation: ay-drift-a 11s ease-in-out infinite; }
.ay-particle.b { width: 3px; height: 3px; top: 68%; left: 68%; background: var(--green); animation: ay-drift-b 13s ease-in-out infinite; }
.ay-particle.c { width: 5px; height: 5px; top: 30%; left: 86%; background: var(--cyan); opacity: 0.16; animation: ay-drift-a 9.5s ease-in-out infinite reverse; }

@keyframes ay-drift-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -14px); }
}
@keyframes ay-drift-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-16px, 10px); }
}

/* contact shadow — the laptop "breathes" */
.ay-shadow {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 62%;
  height: 34px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
  filter: blur(14px);
  animation: ay-shadow-breathe 7s ease-in-out infinite;
}
@keyframes ay-shadow-breathe {
  0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 0.5; }
  50% { transform: translateX(-50%) scaleX(0.92); opacity: 0.36; }
}

/* float layer — idle vertical drift, never a bounce */
.ay-float {
  animation: ay-float 7s ease-in-out infinite;
  padding: 6% 9% 9%;
}
@keyframes ay-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.ay-persp { perspective: 1800px; }

/* tilt/perspective layer — base transform, mutated per-frame by the JS parallax loop */
.ay-tilt-target {
  transform-style: preserve-3d;
  transform: rotateX(9deg) rotateY(-24deg);
  transition: transform .25s ease-out;
}

/* ---------- Laptop lid (screen shell) ---------- */
.ay-lid {
  position: relative;
  aspect-ratio: 16 / 10.4;
  border-radius: 15px;
  padding: 9px;
  background: linear-gradient(155deg, #2a2e34, #111318 60%);
  box-shadow: 0 2px 0 rgba(255, 255, 255, .05) inset, 0 40px 70px -30px rgba(0, 0, 0, .75);
}
.ay-notch {
  position: absolute;
  top: 3.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3a4048, #05070a 70%);
  z-index: 5;
}

/* ---------- Screen surface ---------- */
.ay-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: #080a0d;
  border: 1px solid rgba(255, 255, 255, .06);
  overflow: hidden;
}

/* always-on overlays, above the content */
.ay-glass {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), transparent 40%);
}
.ay-shimmer {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background: linear-gradient(100deg,
    transparent 30%, rgba(255, 255, 255, .06) 45%, rgba(255, 255, 255, .1) 50%,
    rgba(255, 255, 255, .06) 55%, transparent 70%);
  background-size: 300% 100%;
  animation: ay-shimmer 6s linear infinite;
  mix-blend-mode: screen;
}
@keyframes ay-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ---------- Screen chrome: constant top bar, never changes ---------- */
.ay-topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between;
  height: 22px;
  padding: 0 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.ay-brandmark { display: inline-flex; align-items: center; gap: 6px; }
.ay-brandmark .sq { width: 9px; height: 9px; border-radius: 2.5px; flex: none; background: var(--grad); }
.ay-brandmark .lbl { font-family: var(--f-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.ay-module-name {
  font-family: var(--f-mono); font-size: 8px; letter-spacing: .08em;
  color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52%;
}

/* ---------- Panels (rotating module content) ---------- */
.ay-panels { position: absolute; inset: 0; top: 22px; }
.ay-panel {
  position: absolute; inset: 0;
  padding: 9px 10px 8px;
  display: flex; flex-direction: column; gap: 6px;
  transition: opacity 1.1s cubic-bezier(.22, .61, .36, 1),
              transform 1.1s cubic-bezier(.22, .61, .36, 1),
              filter 1.1s ease;
}
.ay-panel[data-active="true"] {
  opacity: 1; transform: translateY(0) scale(1); filter: blur(0px);
  z-index: 2; pointer-events: auto;
}
.ay-panel[data-active="false"] {
  opacity: 0; transform: translateY(6px) scale(.985); filter: blur(2px);
  z-index: 1; pointer-events: none;
}

/* ---------- Base/keyboard sliver ---------- */
.ay-base {
  height: 8px;
  margin: 0 3%;
  transform: rotateX(78deg);
  transform-origin: top;
  background: linear-gradient(180deg, #3a3f46, #191c20);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .6);
}

/* =====================================================================
   Shared "instrument panel" primitives — dense BI-dashboard component
   library reused across every screen (filter bar, KPI-with-sparkline,
   chart card, donut, hbar list, status badge, AI insight, progress
   ring, table row) so screens stay one visual family while each still
   reads as a distinct, specialised dashboard.
   ===================================================================== */
.ay-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 7px 8px; }
.ay-lbl { font-family: var(--f-mono); font-size: 7px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); display: block; margin-bottom: 4px; }
.ay-val { font-family: var(--f-display); font-weight: 600; color: var(--text); font-size: 15px; line-height: 1; }
.ay-val .unit { font-family: var(--f-mono); font-weight: 400; font-size: 8px; color: var(--text-3); margin-left: 2px; }

/* pulsing status dot — reused for "live" indicators + review/warn states */
.ay-node-dot {
  width: 5px; height: 5px; border-radius: 50%; flex: none;
  background: #c8a53c;
  animation: ay-node-pulse-i 2s ease-in-out infinite;
  box-shadow: 0 0 5px rgba(200,165,60,.7);
}
.ay-node-dot.green { background: var(--green); box-shadow: 0 0 5px rgba(53,208,122,.7); }
@keyframes ay-node-pulse-i {
  0%, 100% { opacity: .6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* ---- filter bar: period / segment chips + live status, tops every screen ---- */
.ay-filterbar { display: flex; align-items: center; gap: 5px; flex: none; }
.ay-chip {
  font-family: var(--f-mono); font-size: 6.5px; letter-spacing: .03em;
  color: var(--text-3); background: rgba(255,255,255,.025);
  border: 1px solid var(--line); border-radius: 5px;
  padding: 3px 6px; white-space: nowrap;
}
.ay-chip.active { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,.06); }
.ay-chip.warn { color: #c8a53c; border-color: rgba(200,165,60,.35); background: rgba(200,165,60,.08); }
.ay-filterbar .spacer { flex: 1; }
.ay-filterbar .live { display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-mono); font-size: 6.5px; color: var(--text-3); }

/* ---- KPI card with inline sparkline ---- */
.ay-kpi-row { display: grid; gap: 5px; flex: none; }
.ay-kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 7px 5px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ay-kpi .k-lbl { font-family: var(--f-mono); font-size: 6.3px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ay-kpi .k-val { font-family: var(--f-display); font-weight: 600; font-size: 13.5px; color: var(--text); line-height: 1; display: flex; align-items: baseline; gap: 3px; }
.ay-kpi .k-val .unit { font-family: var(--f-mono); font-weight: 400; font-size: 6.5px; color: var(--text-3); }
.ay-kpi .k-delta { font-family: var(--f-mono); font-size: 6.3px; }
.ay-kpi .k-delta.up, .ay-kpi .k-delta.down { color: var(--green); }
.ay-kpi .k-delta.warn { color: #c85a3c; }
.ay-kpi .k-spark { display: block; width: 100%; height: 14px; margin-top: 2px; overflow: visible; }
.ay-kpi .k-spark polyline.line { fill: none; stroke-width: 1.5; }
.ay-kpi .k-spark polygon.area { opacity: .16; }

/* ---- chart card: wraps any chart widget with a title row ---- */
.ay-chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 7px; display: flex; flex-direction: column; gap: 4px; min-width: 0; min-height: 0; }
.ay-chart-card .cc-title { font-family: var(--f-mono); font-size: 6.3px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); display: flex; justify-content: space-between; align-items: baseline; flex: none; }
.ay-chart-card .cc-title b { color: var(--text-2); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 8px; }
.ay-chart-card .cc-body { flex: 1; min-height: 0; display: flex; }
.ay-chart-card .cc-body.ay-sc-heatmap { display: grid; }

/* line/area chart, inline svg */
.ay-linechart { width: 100%; height: 100%; display: block; }
.ay-linechart polyline.line { fill: none; stroke-width: 1.6; }
.ay-linechart polygon.area { opacity: .14; }
.ay-linechart .gridline { stroke: rgba(255,255,255,.06); stroke-width: .5; }

/* donut, pure CSS conic-gradient — no chart-lib needed */
.ay-donut-row { display: flex; align-items: center; gap: 8px; width: 100%; }
.ay-donut { width: 38px; height: 38px; border-radius: 50%; flex: none; position: relative; }
.ay-donut::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--surface); }
.ay-legend { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.ay-legend .lg-row { display: flex; align-items: center; gap: 4px; font-family: var(--f-mono); font-size: 6.5px; color: var(--text-2); }
.ay-legend .lg-row .sw { width: 5px; height: 5px; border-radius: 50%; flex: none; }
.ay-legend .lg-row b { margin-left: auto; color: var(--text); font-weight: 500; }

/* horizontal bar list — "by category / by unit" comparisons */
.ay-hbars { display: flex; flex-direction: column; gap: 4px; width: 100%; justify-content: center; }
.ay-hbar-row { display: flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: 6.3px; color: var(--text-2); }
.ay-hbar-row .lbl { width: 40px; flex: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ay-hbar-row .track { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.06); overflow: hidden; }
.ay-hbar-row .track > span { display: block; height: 100%; border-radius: 2px; }
.ay-hbar-row .val { width: 28px; flex: none; text-align: right; color: var(--text); }

/* status badges */
.ay-badge { display: inline-flex; align-items: center; gap: 3px; font-family: var(--f-mono); font-size: 6px; letter-spacing: .02em; padding: 2px 5px; border-radius: 4px; white-space: nowrap; }
.ay-badge .dot { width: 4px; height: 4px; border-radius: 50%; flex: none; }
.ay-badge.done { color: var(--green); background: rgba(53,208,122,.1); }
.ay-badge.done .dot { background: var(--green); }
.ay-badge.review { color: #c8a53c; background: rgba(200,165,60,.1); }
.ay-badge.review .dot { background: #c8a53c; animation: ay-node-pulse-i 2s ease-in-out infinite; }
.ay-badge.risk { color: #c85a3c; background: rgba(200,90,60,.1); }
.ay-badge.risk .dot { background: #c85a3c; }
.ay-badge.info { color: var(--cyan); background: rgba(23,184,206,.1); }
.ay-badge.info .dot { background: var(--cyan); }

/* AI insight card — gradient-tinted, reused from copilot's answer bubble language */
.ay-ai-card {
  display: flex; align-items: flex-start; gap: 6px; padding: 5px 7px; border-radius: 7px;
  background: linear-gradient(120deg, rgba(23,184,206,.08), rgba(53,208,122,.05));
  border: 1px solid rgba(53,208,122,.28); flex: none;
}
.ay-ai-card .ai-badge {
  flex: none; width: 13px; height: 13px; border-radius: 4px; margin-top: 1px;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 5.5px; font-weight: 700; color: #04120a;
}
.ay-ai-card .ai-text { font-family: var(--f-body); font-size: 7px; line-height: 1.4; color: var(--text-2); }
.ay-ai-card .ai-text b { color: var(--text); font-weight: 600; }

/* circular progress ring — pure CSS conic-gradient */
.ay-ring { width: 28px; height: 28px; border-radius: 50%; position: relative; flex: none; }
.ay-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--ay-ring-c, var(--green)) calc(var(--p) * 1%), rgba(255,255,255,.08) 0); }
.ay-ring::after { content: ""; position: absolute; inset: 3.5px; border-radius: 50%; background: var(--surface); }
.ay-ring span { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 6.3px; color: var(--text); }

/* table rows — bordered flex "cards" (not literal <table>): under the
   laptop's 3D tilt, cells spread across a full-width table row visually
   desync from each other; one bordered element per row keeps each row
   reading as a single unit regardless of perspective skew */
.ay-trow { display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 6.8px; }
.ay-trow.head { color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; font-size: 6px; padding: 0 8px; }
.ay-trow:not(.head) { padding: 4.5px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--text-2); }
.ay-trow .c-name { flex: 1; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ay-trow.head .c-name { color: var(--text-3); }
.ay-trow .c-val { width: 42px; text-align: right; flex: none; }
.ay-trow .c-trend { width: 30px; flex: none; }
.ay-trow .c-badge { width: 54px; flex: none; text-align: right; }
.ay-trow .tr-up, .ay-trow .tr-down { color: var(--green); }
.ay-row-spark { display: block; width: 30px; height: 11px; }
.ay-row-spark polyline { fill: none; stroke-width: 1.4; }

/* generic layout helpers reused per screen */
.ay-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; min-height: 0; }
.ay-stack { display: flex; flex-direction: column; gap: 4px; min-height: 0; }
.ay-fill { flex: 1; min-height: 0; }

/* ---------- Screen 0: Executive Dashboard ---------- */
.ay-m-dash .ay-kpi-row { grid-template-columns: repeat(4, 1fr); }
.ay-m-dash .ay-grid-2 { flex: 1; }
.ay-m-dash .bottom-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 6px; flex: none; }
.ay-next-actions { display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.ay-next-actions .na-row { display: flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: 6.5px; color: var(--text-2); }
.ay-next-actions .na-row .na-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Screen 1: Compliance Intelligence ---------- */
.ay-m-compliance .ay-kpi-row { grid-template-columns: repeat(4, 1fr); }
.ay-m-compliance .ay-grid-2 { flex: none; height: 74px; }
.ay-m-compliance .cp-list { display: flex; flex-direction: column; gap: 4px; flex: 1; justify-content: center; }
.ay-disc-row {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 6.8px;
  padding: 4px 7px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--surface);
}
.ay-disc-row .disc-name { flex: 1; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ay-disc-row .disc-due { color: var(--text-3); flex: none; }

/* ---------- Screen 2: Catálogo de Indicadores ---------- */
.ay-m-catalog .ay-kpi-row { grid-template-columns: repeat(3, 1fr); flex: none; }
.ay-m-catalog .ay-stack { flex: 1; justify-content: center; }

/* ---------- Screen 3: Carbon Intelligence ---------- */
.ay-m-carbon .ay-kpi-row { grid-template-columns: repeat(4, 1fr); }
.ay-m-carbon .ay-grid-2 { flex: 1; }
.ay-m-carbon .bottom-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 6px; flex: none; }
.ay-m-carbon .hotspot-list { display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.ay-m-carbon .hotspot-list .hs-row { display: flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: 6.5px; color: var(--text-2); }
.ay-m-carbon .hotspot-list .hs-row .hs-name { flex: 1; }
.ay-m-carbon .hotspot-list .hs-row .hs-track { width: 40px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.06); overflow: hidden; flex: none; }
.ay-m-carbon .hotspot-list .hs-row .hs-track > span { display: block; height: 100%; background: var(--cyan); border-radius: 2px; }
.ay-ring-card { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.ay-ring-card .rc-text { display: flex; flex-direction: column; gap: 1px; }
.ay-ring-card .rc-text .rc-lbl { font-family: var(--f-mono); font-size: 6.3px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }
.ay-ring-card .rc-text .rc-sub { font-family: var(--f-mono); font-size: 6.5px; color: var(--text-2); }

/* ---------- Screen 4: Consolidação de Grupo ---------- */
.ay-m-group .ay-kpi-row { grid-template-columns: repeat(4, 1fr); }
.ay-unit-list { display: flex; flex-direction: column; gap: 4px; flex: 1; justify-content: center; }
.ay-unit-list .u-row { display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 6.8px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--text-2); }
.ay-unit-list .u-row .u-name { width: 44px; flex: none; color: var(--text); }
.ay-unit-list .u-row .u-track { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.06); overflow: hidden; }
.ay-unit-list .u-row .u-track > span { display: block; height: 100%; border-radius: 2px; background: var(--green); }
.ay-unit-list .u-row .u-score { width: 22px; flex: none; text-align: right; color: var(--text); }
.ay-group-total {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 7px 9px; border-radius: 9px; flex: none;
  background: linear-gradient(120deg, rgba(53,208,122,.1), rgba(23,184,206,.06));
  border: 1px solid rgba(53,208,122,.28);
}
.ay-group-total .gt-main .gt-lbl { font-family: var(--f-mono); font-size: 6.3px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); display: block; margin-bottom: 2px; }
.ay-group-total .gt-main .gt-sub { font-family: var(--f-mono); font-size: 6.8px; color: var(--text-2); }
.ay-group-total .gt-eta { font-family: var(--f-mono); font-size: 7.5px; color: var(--green); white-space: nowrap; }

/* ---------- Screen 5: Dupla Materialidade ---------- */
.ay-m-materiality .ay-kpi-row { grid-template-columns: repeat(3, 1fr); flex: none; }
.ay-m-materiality .ay-grid-2 { flex: 1; }
.ay-matrix { position: relative; flex: 1; border-left: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); margin: 2px 8px 12px 2px; min-height: 0; }
.ay-matrix .dot { position: absolute; border-radius: 50%; transform: translate(-50%, 50%); }
.ay-matrix .qlbl { position: absolute; font-family: var(--f-mono); font-size: 5.6px; color: var(--text-3); letter-spacing: .04em; }
.ay-mat-rank { display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.ay-mat-rank .mr-row { display: flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: 6.3px; color: var(--text-2); }
.ay-mat-rank .mr-row .mr-name { width: 52px; flex: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.ay-mat-rank .mr-row .mr-track { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.06); overflow: hidden; }
.ay-mat-rank .mr-row .mr-track > span { display: block; height: 100%; border-radius: 2px; background: var(--grad); }

/* ---------- Screen 6: Iniciativas ESG ---------- */
.ay-m-roadmap .ay-kpi-row { grid-template-columns: repeat(4, 1fr); }
.ay-road-track { position: relative; height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; margin: 14px 10px 18px; flex: none; }
.ay-road-track .fill { position: absolute; inset: 0 auto 0 0; width: 62%; border-radius: 2px; background: var(--grad); }
.ay-road-track .ms { position: absolute; top: 50%; width: 6px; height: 6px; border-radius: 50%; transform: translate(-50%, -50%); }
.ay-road-track .ms.done { background: var(--green); }
.ay-road-track .ms.current { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.ay-road-track .ms.future { background: rgba(255,255,255,.35); }
.ay-road-track .ms-lbl { position: absolute; top: 10px; transform: translateX(-50%); font-family: var(--f-mono); font-size: 5.6px; color: var(--text-3); white-space: nowrap; }
.ay-init-list { display: flex; flex-direction: column; gap: 4px; flex: 1; justify-content: center; }
.ay-init-list .in-row { display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 6.5px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--text-2); }
.ay-init-list .in-row .in-name { flex: 1; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ay-init-list .in-row .in-owner { width: 42px; flex: none; color: var(--text-3); }
.ay-init-list .in-row .in-track { width: 34px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.06); overflow: hidden; flex: none; }
.ay-init-list .in-row .in-track > span { display: block; height: 100%; border-radius: 2px; background: var(--green); }

/* ---------- Screen 7: Cadeia de Fornecedores (Supply Chain) ---------- */
.ay-m-suppliers .ay-kpi-row { grid-template-columns: repeat(4, 1fr); }
.ay-m-suppliers .ay-grid-2 { flex: 1; }
.ay-sc-heatmap { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(3, 1fr); gap: 2.5px; width: 100%; height: 100%; }
.ay-sc-heatmap .cell { border-radius: 2.5px; }
.ay-supplier-map { position: relative; width: 100%; height: 100%; border-radius: 6px; background: rgba(255,255,255,.02); }
.ay-supplier-map .dot { position: absolute; border-radius: 50%; }
.ay-critical-list { display: flex; flex-direction: column; gap: 4px; flex: none; justify-content: center; }
.ay-critical-list .cr-row { display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 6.5px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--text-2); }
.ay-critical-list .cr-row .cr-name { flex: 1; color: var(--text); }
.ay-critical-list .cr-row .cr-region { width: 44px; flex: none; color: var(--text-3); }

/* ---------- Screen 8: AI Copilot ---------- */
.ay-copilot-stats { display: flex; align-items: center; gap: 5px; flex: none; }
.ay-copilot-stats .cs-card { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 4px 7px; }
.ay-copilot-stats .cs-card .cs-lbl { font-family: var(--f-mono); font-size: 6px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); display: block; }
.ay-copilot-stats .cs-card .cs-val { font-family: var(--f-display); font-weight: 600; font-size: 11px; color: var(--text); }
.ay-suggested { display: flex; gap: 5px; flex-wrap: wrap; flex: none; }
.ay-suggested .sg-chip { font-family: var(--f-mono); font-size: 6.3px; color: var(--text-3); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; }
.ay-insight-feed { display: flex; flex-direction: column; gap: 4px; flex: 1; justify-content: center; }
.ay-insight-feed .if-row { display: flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: 6.5px; color: var(--text-2); }
.ay-insight-feed .if-row .if-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ay-chat-wrap { margin-top: auto; display: flex; flex-direction: column; gap: 6px; flex: none; }
.ay-chat-user { align-self: flex-end; max-width: 78%; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px 9px 2px 9px; padding: 6px 8px; font-family: var(--f-body); font-size: 8px; color: var(--text-2); }
.ay-chat-ai {
  max-width: 92%; border-radius: 9px 9px 9px 2px; padding: 7px 9px;
  font-family: var(--f-body); font-size: 8px; line-height: 1.4; color: var(--text);
  background: linear-gradient(120deg, rgba(23,184,206,.07), rgba(53,208,122,.05));
  border: 1px solid rgba(53,208,122,.3);
  min-height: 28px;
}
.ay-cursor { display: inline-block; width: 5px; height: 9px; margin-left: 1px; background: var(--green); vertical-align: -1px; animation: ay-blink 1s step-end infinite; }
@keyframes ay-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* ---------- Screen 9: Relatórios ---------- */
.ay-m-reports .ay-kpi-row { grid-template-columns: repeat(3, 1fr); flex: none; }
.ay-section-list { display: flex; flex-direction: column; gap: 4px; flex: 1; justify-content: center; }
.ay-section-list .sec-row {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 6.8px; color: var(--text-2);
  padding: 4.5px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface);
}
.ay-section-list .sec-row .sec-name { width: 66px; flex: none; color: var(--text); }
.ay-section-list .sec-row .sec-track { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.06); overflow: hidden; }
.ay-section-list .sec-row .sec-track > span { display: block; height: 100%; border-radius: 2px; }
.ay-section-list .sec-row .sec-val { width: 26px; flex: none; text-align: right; color: var(--text); }
.ay-pills { display: flex; align-items: center; gap: 6px; flex: none; flex-wrap: wrap; }
.ay-pill { font-family: var(--f-mono); font-size: 6.5px; letter-spacing: .03em; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); }
.ay-pill.fill { display: inline-flex; align-items: center; gap: 5px; border: none; color: #04120a; background: var(--grad); font-weight: 500; }
.ay-spin { width: 8px; height: 8px; border-radius: 50%; border: 1.4px solid rgba(4,18,10,.35); border-top-color: #04120a; animation: ay-spin .8s linear infinite; }
@keyframes ay-spin { to { transform: rotate(360deg); } }

/* ============================================================
   Product dashboard mock (recreated UI)
   ============================================================ */
.dash {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, rgba(14,20,29,0.92), rgba(9,13,18,0.92));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.02) inset;
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.dash-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.015); }
.dash-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.dash-bar .tag { margin-left: auto; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.dash-body { display: grid; grid-template-columns: 150px 1fr; }
.dash-nav { border-right: 1px solid var(--line); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; background: rgba(0,0,0,0.18); }
.dash-nav .grp { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--text-3); text-transform: uppercase; margin: 12px 6px 6px; }
.dash-nav .grp:first-child { margin-top: 0; }
.dash-nav .item { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: var(--radius-xs); font-size: 11.5px; color: var(--text-2); white-space: nowrap; }
.dash-nav .item svg { width: 14px; height: 14px; flex: none; color: var(--text-3); }
.dash-nav .item .ic { width: 6px; height: 6px; border-radius: 2px; background: var(--line-strong); flex: none; }
.dash-nav .item.active { color: var(--text); background: rgba(53,208,122,0.1); }
.dash-nav .item.active svg { color: var(--green); }
.dash-nav .item.active .ic { background: var(--green); box-shadow: var(--shadow-dot-glow); }
.dash-nav .item .n { margin-left: auto; font-family: var(--f-mono); font-size: 10px; color: var(--text-3); }
.dash-nav .nav-org { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.nav-org-avatar { width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--grad); color: #04120a; font-family: var(--f-mono); font-size: 9px; font-weight: 600; }
.nav-org-txt { display: flex; flex-direction: column; min-width: 0; }
.nav-org-txt b { font-size: 10.5px; font-weight: 500; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-org-txt i { font-style: normal; font-size: 9.5px; color: var(--text-3); }
.dash-main { padding: 18px; display: grid; gap: 14px; }
.dash-head { display: flex; align-items: center; justify-content: space-between; }
.dash-head .t { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.badge-adv { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--green); border: 1px solid var(--line-glow); border-radius: 999px; padding: 4px 9px; }

.maturity { display: flex; align-items: center; gap: 16px; }
.ring { position: relative; width: 96px; height: 96px; flex: none; }
.ring svg { transform: rotate(-90deg); }
.ring-fg { stroke-dashoffset: 264px; transition: stroke-dashoffset 1.5s var(--ease); }
.ring-fg.filled { stroke-dashoffset: 89.76px; } /* 66% of 264 */
.ring .score { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .score b { font-family: var(--f-display); font-size: 26px; font-weight: 600; }
.ring .score span { display: block; font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.1em; color: var(--text-3); }
.maturity p { font-size: 12.5px; color: var(--text-2); line-height: 1.45; }

.dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 12px; background: rgba(255,255,255,0.014); }
.mini .l { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.mini .v { font-family: var(--f-display); font-size: 22px; font-weight: 600; margin-top: 6px; }
.mini .s { font-size: 10.5px; color: var(--text-2); margin-top: 2px; }
.mini .spark { margin-top: 8px; }
.mini .trend { color: var(--green); }

.dash-action { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--grad-soft); }
.dash-action .ai { width: 30px; height: 30px; border-radius: var(--radius-xs); display: grid; place-items: center; background: rgba(53,208,122,0.14); color: var(--green); flex: none; }
.dash-action .txt b { font-family: var(--f-body); font-weight: 600; font-size: 13px; display: block; }
.dash-action .txt span { font-size: 11.5px; color: var(--text-2); }
.dash-action .go { margin-left: auto; color: var(--text-2); }

/* ---- KPI row (fictional product mockup) ---- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 14px 12px; background: rgba(255,255,255,0.014); display: flex; flex-direction: column; gap: 8px; }
.kpi .l { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); }
.kpi-row { display: flex; align-items: baseline; gap: 4px; }
.kpi .v { font-family: var(--f-display); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.kpi .v.v-tag { font-size: 15px; color: var(--green); }
.kpi .unit { font-size: 10.5px; color: var(--text-3); }
.kpi .spark { width: 100%; height: 20px; }
.kpi .spark polyline { fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kpi .spark.down polyline { stroke: var(--cyan); }
.kpi .trend { font-family: var(--f-mono); font-size: 9.5px; color: var(--text-3); }
.kpi .trend.up { color: var(--green); }
.ptrack { height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; }
.ptrack span { display: block; height: 100%; border-radius: inherit; background: var(--grad); }
.segbar { display: flex; gap: 3px; }
.segbar .seg { flex: 1; height: 4px; border-radius: 999px; background: var(--line); }
.segbar .seg.on { background: var(--green); box-shadow: 0 0 6px rgba(53,208,122,0.5); }

/* ---- chart row ---- */
.chart-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; }
.chart-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; background: rgba(255,255,255,0.014); display: flex; flex-direction: column; gap: 10px; }
.chart-card .ct { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }

.donut-wrap { display: flex; align-items: center; gap: 16px; }
.donut { position: relative; width: 76px; height: 76px; border-radius: 50%; flex: none; }
.donut-hole { position: absolute; inset: 15%; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; text-align: center; }
.donut-hole b { font-family: var(--f-display); font-size: 13px; font-weight: 600; line-height: 1.1; }
.donut-hole span { font-family: var(--f-mono); font-size: 7.5px; color: var(--text-3); }
.legend { list-style: none; padding: 0; display: grid; gap: 7px; }
.legend li { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--text-2); white-space: nowrap; }
.legend li i { width: 7px; height: 7px; border-radius: 2px; flex: none; }
.legend li b { margin-left: auto; font-family: var(--f-mono); font-weight: 500; color: var(--text); font-size: 11px; }

.linechart { width: 100%; height: 84px; overflow: visible; }
.linechart .grid line { stroke: var(--line); stroke-width: 1; }
.linechart .area { opacity: 0.9; }
.linechart .line { stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.linechart circle { fill: var(--bg-1); stroke: var(--green); stroke-width: 1.6; }
.linechart circle.end { fill: var(--green-b); stroke: none; }
.axis { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 9px; color: var(--text-3); }

/* ============================================================
   Logos / trust strip
   ============================================================ */
.trust { border-block: 1px solid var(--line); padding-block: 30px; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.trust p { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.trust ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.trust li { font-family: var(--f-display); font-size: 15px; letter-spacing: 0.04em; color: var(--text-2); }

/* ============================================================
   Value — three ideas
   ============================================================ */
.value-head { max-width: 720px; margin-bottom: var(--section-head-mb); }
.value-head h2 { margin-top: 20px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px; background: var(--surface); position: relative; overflow: hidden; }
.value-card .idx { font-family: var(--f-mono); font-size: 12px; color: var(--green); letter-spacing: 0.1em; }
.value-card h3 { font-size: 1.35rem; margin: 18px 0 12px; }
.value-card p { color: var(--text-2); font-size: 15px; }
.value-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--grad); opacity: 0; transition: opacity .4s; }
.value-card:hover::after { opacity: 0.7; }

/* ============================================================
   Capabilities — bento
   ============================================================ */
.cap-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: var(--section-head-mb); }
.cap-head .eyebrow { margin-bottom: 18px; }
.cap-head h2 { max-width: 18ch; }
.cap-head p { color: var(--text-2); max-width: 30ch; padding-left: 22px; border-left: 1px solid var(--line-strong); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 26px; position: relative; overflow: hidden; transition: border-color .35s, transform .35s var(--ease); }
.cap:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.cap .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); display: flex; align-items: center; gap: 9px; }
.cap .k .ico { width: 30px; height: 30px; border-radius: var(--radius-xs); border: 1px solid var(--line); display: grid; place-items: center; color: var(--green); background: rgba(53,208,122,0.06); }
.cap .k .ico svg { width: 16px; height: 16px; }
.cap h3 { font-size: 1.28rem; margin: 18px 0 10px; }
.cap p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.cap-a { grid-column: span 3; }
.cap-b { grid-column: span 3; }
.cap-c { grid-column: span 2; }
.cap-d { grid-column: span 2; }
.cap-e { grid-column: span 2; }
.cap-wide { grid-column: span 6; display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: center; }
.cap-wide .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cap-wide .chips span { font-family: var(--f-mono); font-size: 12px; color: var(--text-2); border: 1px solid var(--line); border-radius: var(--radius-xs); padding: 7px 11px; }
.cap-wide .chips span b { color: var(--green); font-weight: 500; }

/* ============================================================
   How it works — sequence
   ============================================================ */
.flow-head { max-width: 640px; margin-bottom: var(--section-head-mb); }
.flow-head h2 { margin-top: 18px; }
.flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow::before { content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent); }
.flow-line { position: absolute; top: 27px; left: 6%; height: 1px; background: var(--grad); box-shadow: var(--shadow-dot-glow); width: 0; transition: width 1.4s var(--ease); }
.step { position: relative; }
.step .node { width: 54px; height: 54px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--bg-1); display: grid; place-items: center; position: relative; z-index: 1; color: var(--green); }
.step .node svg { width: 22px; height: 22px; }
.step .num { font-family: var(--f-mono); font-size: 11px; color: var(--text-3); letter-spacing: 0.14em; margin: 20px 0 8px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 14px; }

/* ============================================================
   Audience + positioning split
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.split .panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: clamp(26px, 3vw, 40px); }
.split h2 { margin: 16px 0 18px; }
.split .lead { margin-bottom: 26px; }
.who-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.who-list li { display: flex; gap: 12px; font-size: 15px; color: var(--text); }
.who-list li svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }
.who-list li span { color: var(--text-2); }
.quote { font-family: var(--f-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.35; letter-spacing: -0.02em; }
.quote::first-letter { }
.attr { margin-top: 22px; display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-2); }
.attr .bar { width: 26px; height: 1px; background: var(--grad); }

/* ============================================================
   Packs
   ============================================================ */
.packs-head { text-align: left; max-width: 640px; margin-bottom: clamp(40px, 5vw, 60px); }
.packs-head h2 { margin-top: 18px; }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pack { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: 30px 28px; display: flex; flex-direction: column; }
.pack.featured { border-color: var(--line-glow); background: linear-gradient(180deg, rgba(53,208,122,0.06), var(--surface) 40%); box-shadow: var(--shadow-accent-featured); }
.pack .tier { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.pack .flag { position: absolute; top: 26px; right: 26px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #04120a; background: var(--green); border-radius: 999px; padding: 4px 10px; }
.pack h3 { font-size: 1.5rem; margin: 16px 0 8px; }
.pack .desc { color: var(--text-2); font-size: 14px; min-height: 42px; }
.pack .price { margin: 20px 0 4px; font-family: var(--f-display); font-size: 1.05rem; color: var(--text); }
.pack .price small { color: var(--text-3); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; display: block; margin-top: 2px; }
.pack ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.pack li { display: flex; gap: 10px; font-size: 14px; color: var(--text-2); }
.pack li svg { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 3px; }
.pack .btn { margin-top: auto; width: 100%; }

/* ============================================================
   CTA + gateway
   ============================================================ */
.cta { position: relative; overflow: hidden; }
.cta-card {
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: var(--surface); padding: clamp(40px, 6vw, 72px); text-align: center;
  position: relative; overflow: hidden;
}
.cta-glow { position: absolute; inset: -40% 20% auto; height: 460px; z-index: 0;
  background: radial-gradient(closest-side, rgba(53,208,122,0.26), rgba(42,127,228,0.12) 55%, transparent 78%); filter: blur(10px); pointer-events: none; }
/* Accent: a stronger bloom behind the mockup, keeping the rest dark */
.cta-card::after { content: ""; position: absolute; z-index: 0; left: 50%; bottom: -6%; width: 70%; height: 340px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(53,208,122,0.22), rgba(23,184,206,0.1) 52%, transparent 76%); filter: blur(14px); }
.cta-inner { position: relative; z-index: 2; }
.cta-card .eyebrow { margin-bottom: 22px; }
.cta-card h2 { max-width: 20ch; margin: 0 auto 20px; }
.cta-card .lead { margin: 0 auto 34px; text-align: center; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-window { position: relative; z-index: 1; margin: 48px auto 0; max-width: 860px; opacity: 0.96;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent); mask-image: linear-gradient(180deg, #000 62%, transparent); }
.cta-window .window-bar { background: rgba(255,255,255,0.03); }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 72px) 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { margin-bottom: 18px; }
.footer .tagline { color: var(--text-2); font-size: 14px; max-width: 34ch; }
.footer h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer ul a { color: var(--text-2); font-size: 14px; transition: color .25s; }
.footer ul a:hover { color: var(--text); }
.footer-bottom { margin-top: clamp(40px, 5vw, 60px); padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-bottom p, .footer-bottom a { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--text-3); }
.powered { display: flex; align-items: center; gap: 8px; }
.powered b { color: var(--text-2); font-weight: 500; }

/* ============================================================
   Sign-in modal
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-scrim { position: absolute; inset: 0; background: rgba(3,5,8,0.78); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.modal.open .modal-scrim { opacity: 1; }
.modal-card {
  position: relative; width: 100%; max-width: 420px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 34px 32px 30px; box-shadow: 0 50px 120px -40px rgba(0,0,0,0.9);
  transform: translateY(14px) scale(0.98); opacity: 0; transition: transform .35s var(--ease), opacity .3s;
}
.modal.open .modal-card { transform: translateY(0) scale(1); opacity: 1; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: var(--radius-xs); display: grid; place-items: center; color: var(--text-2); border: 1px solid var(--line); }
.modal-close:hover { color: var(--text); border-color: var(--line-strong); }
.modal-card .m-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.modal-card .m-brand .leaf { width: 26px; height: 30px; }
.modal-card .m-brand span { font-family: var(--f-display); font-weight: 600; letter-spacing: 0.12em; }
.modal-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.modal-card .sub { color: var(--text-2); font-size: 14px; margin-bottom: 24px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 7px; }
.field input {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); font: inherit; font-size: 15px;
  background: var(--bg-1); border: 1px solid var(--line-strong); color: var(--text); transition: border-color .25s, box-shadow .25s;
}
.field input::placeholder { color: var(--text-3); }
.field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(53,208,122,0.14); }
.field-row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 20px; }
.field-row a { font-size: 12.5px; color: var(--text-2); }
.field-row a:hover { color: var(--green); }
.modal-card .btn { width: 100%; }
.divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--text-3); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.sso { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sso button { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 11px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 13.5px; color: var(--text); transition: border-color .25s, background-color .25s; }
.sso button:hover { border-color: var(--line-glow); background: rgba(255,255,255,0.03); }
.sso button svg { width: 17px; height: 17px; }
.modal-foot { text-align: center; margin-top: 22px; font-size: 13px; color: var(--text-2); }
.modal-foot a { color: var(--green); }

/* ============================================================
   Problem — convergence
   ============================================================ */
.problem-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.problem-head h2 { margin: 18px 0 16px; }
.converge { display: grid; grid-template-columns: 1.1fr 0.9fr 1.1fr; align-items: center; gap: clamp(20px, 3vw, 44px); }
.sources { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sources li {
  font-family: var(--f-mono); font-size: 13px; color: var(--text-2);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--surface);
  text-align: center; transition: border-color .3s, color .3s, transform .3s;
}
.sources li:hover { border-color: var(--line-glow); color: var(--text); transform: translateY(-2px); }
.converge-core { position: relative; height: 260px; display: grid; place-items: center; }
.converge-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.converge-node { position: relative; z-index: 1; width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-items: center; background: radial-gradient(circle, rgba(53,208,122,0.14), rgba(11,16,23,0.9) 70%);
  border: 1px solid var(--line-glow); box-shadow: 0 0 46px -8px rgba(53,208,122,0.4); }
.converge-node .leaf { width: 52px; height: 60px; }
.out-card { border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(180deg, rgba(53,208,122,0.06), var(--surface) 45%); padding: 26px 24px; }
.out-card strong { display: block; font-family: var(--f-display); font-size: 1.35rem; letter-spacing: -0.02em; margin: 14px 0 10px; line-height: 1.2; }
.out-card p { color: var(--text-2); font-size: 14.5px; }

/* ============================================================
   Platform hub — a real product screenshot at the centre, the six
   modules flanking it as connected callouts (3 left, 3 right).
   ============================================================ */
.hub { display: grid; grid-template-columns: 1fr minmax(440px, 640px) 1fr; gap: clamp(20px, 3.5vw, 40px); align-items: center; }
.hub-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hub-card {
  position: relative; display: block; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 20px 22px 18px;
  transition: border-color .35s, transform .35s var(--ease), background-color .35s;
}
.hub-card:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-2px); }
.hub-card .ico { width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--line); display: grid; place-items: center; color: var(--green); background: rgba(53,208,122,0.06); margin-bottom: 14px; transition: transform .35s var(--ease), background-color .35s, box-shadow .35s; }
.hub-card .ico svg { width: 20px; height: 20px; }
.hub-card:hover .ico { transform: scale(1.08); background: rgba(53,208,122,0.13); box-shadow: 0 0 16px -5px rgba(53,208,122,0.55); }
.hub-card h3 { font-size: 1.02rem; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hub-card .tag-inline { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.07em; color: var(--green); border: 1px solid var(--line-glow); border-radius: 999px; padding: 3px 7px; text-transform: none; }
.hub-card p { color: var(--text-2); font-size: 13.5px; line-height: 1.5; }
/* the thin line + dot that visually wires each card into the screenshot */
.hub-card .hub-line { position: absolute; top: 50%; width: 28px; height: 1.5px; transform: translateY(-50%); pointer-events: none; }
.hub-card .hub-line::after {
  content: ""; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: var(--green-b); box-shadow: 0 0 8px rgba(53,208,122,0.6);
}
.hub-col-left .hub-card .hub-line { right: -28px; background: linear-gradient(90deg, var(--green), rgba(53,208,122,0.1)); }
.hub-col-left .hub-card .hub-line::after { right: -3px; }
.hub-col-right .hub-card .hub-line { left: -28px; background: linear-gradient(270deg, var(--green), rgba(53,208,122,0.1)); }
.hub-col-right .hub-card .hub-line::after { left: -3px; }

.hub-center { position: relative; display: flex; justify-content: center; }
.hub-glow {
  position: absolute; inset: -14% -8%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(53,208,122,0.16), rgba(23,184,206,0.08) 45%, transparent 72%);
  filter: blur(44px);
}
.hub-window { position: relative; z-index: 1; width: 100%; }

.hub-cta { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }

@media (max-width: 1000px) {
  .hub { grid-template-columns: 1fr; }
  .hub-center { order: -1; margin-bottom: 4px; }
  .hub-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .hub-card .hub-line { display: none; }
}
@media (max-width: 700px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-nav { display: none; }
  .chart-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hub-col { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Showcase rows
   ============================================================ */
.showcase { display: grid; gap: clamp(48px, 7vw, 96px); margin-top: clamp(40px, 5vw, 64px); }
.showcase-row { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: clamp(28px, 4vw, 60px); }
.showcase-row.reverse .sc-copy { order: 2; }
.showcase-row .k { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.showcase-row h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.02em; margin: 16px 0 14px; }
.showcase-row .sc-copy p { color: var(--text-2); font-size: 15.5px; line-height: 1.6; max-width: 44ch; }
.sc-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.sc-list li { display: flex; gap: 11px; font-size: 14.5px; color: var(--text); align-items: flex-start; }
.sc-list li svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 2px; }
/* ESG pillars (E/S/G categories, CSRD) */
.esg-pillars { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.esg-pillars li { display: flex; align-items: center; gap: 13px; padding: 12px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.esg-pillars .pill-k { width: 27px; height: 27px; border-radius: var(--radius-xs); display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: 13px; flex: none; }
.esg-pillars li:nth-child(1) .pill-k { background: var(--green); color: #04120a; }
.esg-pillars li:nth-child(2) .pill-k { background: var(--cyan); color: #041416; }
.esg-pillars li:nth-child(3) .pill-k { background: var(--blue); color: #f4f8ff; }
.esg-pillars .pill-name { font-size: 15px; color: var(--text); font-weight: 500; }
.esg-pillars li em { margin-left: auto; font-family: var(--f-mono); font-size: 12px; font-style: normal; letter-spacing: 0.04em; color: var(--text-3); }

/* ============================================================
   Consolidated dark band
   ============================================================ */
.consolidated { margin-top: clamp(64px, 9vw, 120px); border-block: 1px solid var(--line);
  background: radial-gradient(120% 100% at 15% 0%, rgba(42,127,228,0.08), transparent 55%), linear-gradient(180deg, var(--bg-1), var(--bg)); padding-block: clamp(56px, 8vw, 100px); }
.consolidated-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: clamp(28px, 4vw, 60px); }
.cons-copy h2 { margin: 18px 0 16px; }
.cons-copy .lead { margin-bottom: 28px; }

/* ============================================================
   Social proof — pilot spotlight + comparison
   ============================================================ */
.social-head { max-width: 760px; margin-bottom: var(--section-head-mb); }
.social-head h2 { margin-top: 18px; }
.pilot { margin-bottom: clamp(56px, 8vw, 96px); }
.pilot-card { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 3vw, 44px); align-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); padding: clamp(26px, 3vw, 40px); }
.pilot-logo { background: #f4f6f8; border-radius: var(--radius-sm); padding: 26px 24px; display: grid; place-items: center; }
.pilot-logo img { width: 100%; max-width: 230px; height: auto; }
.pilot-body .k { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.pilot-quote { font-family: var(--f-display); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.4; letter-spacing: -0.02em; margin: 14px 0 22px; }
.pilot-metric { display: flex; align-items: baseline; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; }
.pilot-metric b { font-family: var(--f-display); font-size: 1.6rem; color: var(--green); font-weight: 600; }
.pilot-metric span { color: var(--text-2); font-size: 14px; }

.compare-head { max-width: 620px; margin-bottom: clamp(28px, 4vw, 44px); }
.compare-head h3 { margin-top: 16px; }
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.compare-col { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 26px 24px; }
.compare-col.featured { border-color: var(--line-glow); background: linear-gradient(180deg, rgba(53,208,122,0.07), var(--surface) 42%); box-shadow: var(--shadow-accent-featured); }
.cc-title { display: flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.compare-col.featured .cc-title { color: var(--text); }
.cc-title .cc-leaf { width: 18px; height: 21px; }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.compare-col li { position: relative; padding-left: 28px; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.compare-col li::before { position: absolute; left: 0; top: -1px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.compare-col li.yes { color: var(--text); }
.compare-col li.yes::before { content: "✓"; background: rgba(53,208,122,0.16); color: var(--green); }
.compare-col li.no::before { content: "×"; background: rgba(150,168,184,0.12); color: var(--text-3); }
.compare-col li.mid::before { content: "–"; background: rgba(150,168,184,0.12); color: var(--text-3); }

/* ============================================================
   Tech + Experts feature lists
   ============================================================ */
.split .panel .k { display: flex; align-items: center; gap: 11px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 22px; }
.split .panel .k svg { width: 22px; height: 22px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.feature-list li { padding: 15px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--text); display: flex; align-items: center; gap: 12px; }
.feature-list li:first-child { border-top: none; padding-top: 0; }
.feature-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); flex: none; }

/* ============================================================
   Faixa de confiança
   ============================================================ */
.trust-band { border-block: 1px solid var(--line); background: rgba(255,255,255,0.012); }
.trust-band-list { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 28px; }
.trust-band-list li { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.02em; color: var(--text-2); }
.trust-band-list li svg { width: 17px; height: 17px; color: var(--green); flex: none; }

/* ============================================================
   Porque agora
   ============================================================ */
.forces-head { max-width: 720px; margin-bottom: var(--section-head-mb); }
.forces-head h2 { margin: 18px 0 16px; }
.forces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.force { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 30px 28px; transition: border-color .35s, transform .35s var(--ease); }
.force:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.force .ico { width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line); display: grid; place-items: center; color: var(--green); background: rgba(53,208,122,0.06); margin-bottom: 18px; transition: transform .35s var(--ease), background-color .35s, box-shadow .35s; }
.force .ico svg { width: 22px; height: 22px; }
.force:hover .ico { transform: scale(1.08); background: rgba(53,208,122,0.13); box-shadow: 0 0 16px -5px rgba(53,208,122,0.55); }
.force h3 { font-size: 1.28rem; margin-bottom: 10px; }
.force p { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.forces-close { margin-top: clamp(34px, 4vw, 48px); font-family: var(--f-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 500; letter-spacing: -0.02em; text-align: center; color: var(--text); }

/* ============================================================
   Risco físico por ativo
   ============================================================ */
.risco { border-top: 1px solid var(--line); background: radial-gradient(120% 90% at 80% 0%, rgba(42,127,228,0.07), transparent 55%), var(--bg-1); }
.risco-head { max-width: 760px; margin-bottom: var(--section-head-mb); }
.risco-head h2 { margin: 18px 0 16px; }
.tcfd-seal { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding: 8px 14px; border: 1px solid var(--line-glow); border-radius: 999px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--text); background: rgba(53,208,122,0.05); }
.tcfd-seal svg { width: 15px; height: 15px; color: var(--green); }
.hazards { list-style: none; padding: 0; margin: 0 0 clamp(34px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 10px; }
.hazards li { display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--text-2); background: var(--surface); }
.hazards li svg { width: 17px; height: 17px; color: var(--green); }
.horizons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.horizon { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 26px 24px; position: relative; }
.horizon::before { content: ""; position: absolute; top: 30px; left: 24px; width: 30px; height: 2px; background: var(--grad); border-radius: 2px; }
.horizon .hz-tag { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin: 20px 0 6px; }
.horizon .hz-range { display: block; font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.horizon p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.risco-close { margin-top: clamp(32px, 4vw, 46px); font-family: var(--f-display); font-size: clamp(1.2rem, 2.1vw, 1.65rem); font-weight: 500; letter-spacing: -0.02em; max-width: 40ch; }

/* ============================================================
   Resultados
   ============================================================ */
.results-head { max-width: 680px; margin-bottom: clamp(34px, 4vw, 52px); }
.results-head h2 { margin-top: 18px; }
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: radial-gradient(120% 130% at 12% 0%, rgba(53,208,122,0.08), transparent 55%), var(--surface); padding: clamp(30px, 4vw, 52px); }
.result-figure { border-right: 1px solid var(--line); padding-right: clamp(20px, 3vw, 40px); }
.result-num { display: block; font-family: var(--f-display); font-size: clamp(3rem, 7vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: var(--green); }
.result-desc { display: block; font-size: 15.5px; color: var(--text); margin: 16px 0 12px; max-width: 26ch; }
.result-src { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-3); }
.result-outcomes { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.result-outcomes li { display: flex; gap: 12px; font-size: 15.5px; color: var(--text); align-items: flex-start; }
.result-outcomes li svg { width: 19px; height: 19px; color: var(--green); flex: none; margin-top: 2px; }

/* ============================================================
   Comparison table (compare2)
   ============================================================ */
.compare2 { margin-top: clamp(56px, 8vw, 96px); }
.compare-head { max-width: 620px; margin-bottom: clamp(28px, 4vw, 44px); }
.compare-head h3 { margin: 16px 0 10px; }
.ctable { display: grid; gap: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.ctable-head, .ctable-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; }
.ctable-head { background: rgba(255,255,255,0.025); }
.ctable-head span { padding: 19px 22px; font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text); font-weight: 500; display: flex; align-items: center; gap: 9px; }
.ctable-head .cc-crit { color: var(--text-3); font-size: 10.5px; letter-spacing: 0.12em; }
/* prominent, "winner" AYVEN header */
.ctable-head .cc-ayven { background: linear-gradient(180deg, rgba(53,208,122,0.22), rgba(53,208,122,0.1)); color: var(--green); font-weight: 700; letter-spacing: 0.08em; box-shadow: inset 0 3px 0 var(--green); }
.ctable-head .cc-ayven .leaf { width: 18px; height: 21px; flex: none; }
.ctable-row { border-top: 1px solid var(--line); transition: background-color .25s; }
.ctable-row:hover { background: rgba(255,255,255,0.018); }
.ctable-row .cc-crit { padding: 22px; font-weight: 600; font-size: 15px; color: var(--text); display: flex; align-items: center; }
.cc-cell { padding: 22px; font-size: 14px; color: var(--text-2); position: relative; padding-left: 50px; display: flex; align-items: center; }
.cc-cell::before { content: ""; position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; line-height: 1; }
.cc-cell.yes { color: var(--text); }
.cc-cell.yes::before { content: "✓"; background: rgba(53,208,122,0.2); color: var(--green); }
.cc-cell.no::before { content: "✕"; background: rgba(150,168,184,0.12); color: var(--text-3); }
.cc-cell.mid::before { content: "–"; background: rgba(150,168,184,0.12); color: var(--text-3); }
/* highlighted AYVEN column — framed and elevated */
.cc-ayven { background: rgba(53,208,122,0.08); border-left: 1px solid rgba(53,208,122,0.32); }
.ctable-row .cc-cell.cc-ayven { color: var(--text); font-weight: 500; }
.ctable-row:hover .cc-ayven { background: rgba(53,208,122,0.13); }
.ctable-row:last-child .cc-ayven { box-shadow: inset 0 -3px 0 rgba(53,208,122,0.5); }
.cc-leaf { width: 18px; height: 21px; }

/* ============================================================
   Tecnologia + Especialistas (elevated)
   ============================================================ */
.tech-band { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-1), var(--bg) 60%); padding-block: clamp(80px, 11vw, 150px); }
.tech-glow { position: absolute; inset: -20% 25% auto; height: 420px; z-index: 0; background: radial-gradient(closest-side, rgba(53,208,122,0.16), rgba(42,127,228,0.08) 55%, transparent 78%); filter: blur(12px); pointer-events: none; }
.tech-band .wrap { position: relative; z-index: 1; }
.tech-head { max-width: 800px; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }
.tech-head h2 { margin: 18px 0 18px; }
.tech-head .lead { margin: 0 auto; }

/* Two services, one continuous link (Plataforma + Consultoria) */
.duo {
  display: grid; grid-template-columns: 1fr clamp(112px, 13vw, 168px) 1fr; align-items: stretch;
  max-width: 1000px; margin: clamp(30px, 5vw, 52px) auto 0;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-deep-lg);
}
.duo-card { padding: clamp(28px, 3.2vw, 44px); position: relative; }
.duo-card.platform { background: radial-gradient(135% 130% at 0% 0%, rgba(42,127,228,0.14), transparent 58%); }
.duo-card.consultoria { background: radial-gradient(135% 130% at 100% 0%, rgba(53,208,122,0.14), transparent 58%); text-align: right; }
.duo-ico { width: 48px; height: 48px; border-radius: var(--radius-sm); display: inline-grid; place-items: center; border: 1px solid var(--line); margin-bottom: 20px; }
.duo-card.platform .duo-ico { color: #4aa3f0; background: rgba(42,127,228,0.08); border-color: rgba(42,127,228,0.3); }
.duo-card.consultoria .duo-ico { color: var(--green); background: rgba(53,208,122,0.08); border-color: rgba(53,208,122,0.3); }
.duo-ico svg { width: 24px; height: 24px; }
.duo-card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.02em; margin-bottom: 10px; }
.duo-card > p { color: var(--text-2); font-size: 15px; line-height: 1.5; max-width: 30ch; }
.duo-card.consultoria > p { margin-left: auto; }
.duo-tags { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.duo-card.consultoria .duo-tags { justify-content: flex-end; }
.duo-tags li { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.02em; color: var(--text-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; background: rgba(255,255,255,0.02); }
.duo-card.platform .duo-tags li { border-color: rgba(42,127,228,0.28); }
.duo-card.consultoria .duo-tags li { border-color: rgba(53,208,122,0.28); }

/* central continuous connector */
.duo-link { position: relative; display: grid; place-items: center; background: var(--bg-1); border-inline: 1px solid var(--line); overflow: hidden; }
.duo-link::before { content: ""; position: absolute; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(53,208,122,0.16), transparent 68%); filter: blur(6px); }
.duo-inf { position: relative; width: 90%; max-width: 148px; overflow: visible; }
.ring { stroke-dasharray: 15 11; }
.ring-a { stroke: var(--blue); filter: drop-shadow(0 0 5px rgba(42,127,228,0.7)); animation: infflow 3.4s linear infinite; }
.ring-b { stroke: var(--green); filter: drop-shadow(0 0 5px rgba(53,208,122,0.7)); animation: infflow 3.4s linear infinite reverse; }
@keyframes infflow { to { stroke-dashoffset: -126; } }
.duo-badge { position: absolute; width: 30px; height: 34px; display: grid; place-items: center; z-index: 2; background: radial-gradient(circle, rgba(6,10,14,0.95) 40%, transparent 72%); }
.duo-badge .leaf { width: 24px; height: 28px; filter: drop-shadow(0 0 8px rgba(53,208,122,0.55)); }
.duo-label { position: absolute; bottom: 15px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }

/* ============================================================
   Reveal animation
   Uses the standalone `translate` property (not `transform`) for the
   entrance offset, so it never fights with a card's own hover
   `transform` (e.g. .force:hover, .cap:hover) once revealed — the two
   properties are independent in the cascade even on the same element.
   ============================================================ */
.reveal { transition: opacity .7s var(--ease), translate .7s var(--ease); }
.js .reveal { opacity: 0; translate: 0 22px; }
.reveal.in { opacity: 1; translate: 0 0; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; translate: 0 0 !important; }
  .flow-line { animation: none !important; }
  .ay-float, .ay-shadow, .ay-particle, .ay-shimmer, .ay-node-dot, .ay-badge.review .dot, .ay-spin, .ay-cursor { animation: none !important; }
  .ay-panel { transition-duration: .01s !important; }
  .ay-tilt-target { transition: none !important; transform: rotateX(9deg) rotateY(-24deg) !important; }
  .ring-fg { transition: none !important; }
  .inf-path { animation: none !important; }
  .btn, .cap, .value-card, .hub-card, .hub-card .ico, .force, .force .ico { transition: none !important; }
  .faq-a, .faq-ico, .faq-ico::before, .faq-ico::after { transition: none !important; }
  /* freeze the scroll-linked ambient parallax (keep the static lighting) */
  .aura::before, .aura::after, .aura-travel { transform: none !important; }
}

/* ============================================================
   AYVEN ValueIQ™ — executive secondary CTA + landing section
   ============================================================ */
/* secondary "executive assessment" button (gradient hairline, not a widget) */
.btn-iq {
  color: var(--text); border: 1px solid transparent; border-radius: 999px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(115deg, rgba(42,127,228,0.55), rgba(23,184,206,0.45) 52%, rgba(53,208,122,0.55)) border-box;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s;
}
.btn-iq:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -20px rgba(23,184,206,0.55); }
.iq-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: var(--shadow-dot-glow); flex: none; }
@media (prefers-reduced-motion: no-preference) { .iq-dot { animation: iqpulse 2.4s ease-in-out infinite; } }
@keyframes iqpulse { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.28); } }
.hero-iq-note { margin-top: 20px; font-size: 14px; line-height: 1.55; color: var(--text-3); max-width: 48ch; }
.hero-iq-note b { color: var(--text-2); font-weight: 600; }
/* "powered by ValueIQ™" — the small muted lead-in gives all prominence to the mark */
.iq-powered { display: inline-flex; align-items: baseline; gap: 7px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.iq-powered b { font-family: var(--f-display); font-weight: 600; font-size: 15.5px; letter-spacing: 0.01em; text-transform: none; }
/* keep "powered by ValueIQ™" tied to the ValueIQ CTA (stacked beneath it) */
.iq-cta-stack { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-cta { align-items: flex-start; }

/* problem bridge — the "why now → your data is scattered" beat, merged into
   #porque-agora as one section (was a separate #problema) */
.problem-bridge { max-width: 640px; margin-top: clamp(52px, 7vw, 96px); padding-top: clamp(40px, 5vw, 60px); border-top: 1px solid var(--line); margin-bottom: clamp(38px, 5vw, 60px); }
.problem-bridge .eyebrow { margin-bottom: 16px; }
.problem-bridge h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.06; font-size: clamp(1.7rem, 3.3vw, 2.5rem); margin-bottom: 14px; }
.problem-bridge .lead { }

/* mid-page nudge — ties the "num número" value moment to ValueIQ (Discover→Value→Demo) */
.iq-nudge { display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap;
  margin-top: clamp(52px, 7vw, 88px); padding: clamp(24px, 3vw, 32px) clamp(26px, 3.4vw, 40px);
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: radial-gradient(120% 200% at 100% 0%, rgba(23,184,206,0.09), transparent 60%), var(--surface); }
.iq-nudge p { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.28; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--text-2); max-width: 30ch; }
.iq-nudge p b { color: var(--text); font-weight: 600; }
.iq-nudge p b.grad-text { font-weight: 600; }
.iq-nudge .btn { flex: none; }
@media (max-width: 600px) { .iq-nudge .btn { width: 100%; } }

.iq-band { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-1), var(--bg) 62%); }
.iq-band .wrap { position: relative; z-index: 1; }
.iq-glow { position: absolute; inset: -18% -8% auto auto; width: 620px; height: 460px; z-index: 0;
  background: radial-gradient(closest-side, rgba(23,184,206,0.14), rgba(53,208,122,0.08) 55%, transparent 78%); filter: blur(14px); pointer-events: none; }
.iq-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(32px, 5vw, 66px); align-items: center; }
.iq-copy .eyebrow { margin-bottom: 18px; }
.iq-copy h2 { max-width: 15ch; margin-bottom: 16px; }
.iq-est { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: repeat(2, max-content); gap: 11px 30px; }
.iq-est li { position: relative; padding-left: 18px; font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.02em; color: var(--text-2); }
.iq-est li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.iq-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.iq-meta { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-3); }

.iq-panel { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(14,20,29,0.72), rgba(11,16,23,0.72)); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-deep-lg); }
.iq-panel-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 17px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.iq-panel-title { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.iq-panel-title .leaf { width: 16px; height: 19px; flex: none; }
.iq-tag-example { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.iq-panel-hero { padding: clamp(24px, 3vw, 32px) clamp(22px, 3vw, 28px) 20px; }
.iq-panel-hero .iq-k { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.iq-v { display: block; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(2.3rem, 4.4vw, 3.1rem); margin: 12px 0 7px; }
.iq-panel-hero .iq-s { font-size: 13px; color: var(--text-2); }
.iq-panel-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.iq-panel-kpis div { background: var(--surface); padding: 16px 20px; display: flex; flex-direction: column; gap: 7px; }
.iq-panel-kpis .iq-k { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.iq-panel-kpis b { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; }
@media (max-width: 1000px) {
  .iq-grid { grid-template-columns: 1fr; gap: 36px; }
  .iq-copy h2 { max-width: none; }
}

/* ============================================================
   FAQ — accordion (single-open), soft dividers, filmic calm
   ============================================================ */
.faq { position: relative; }
.faq-head { max-width: 640px; margin: 0 auto clamp(34px, 5vw, 56px); text-align: center; }
.faq-head .eyebrow { justify-content: center; }
.faq-head h2 { margin: 18px 0 14px; }
.faq-head .lead { margin: 0 auto; }
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  text-align: left; padding: clamp(20px, 2.4vw, 27px) 6px;
  font-family: var(--f-display); font-weight: 500; letter-spacing: -0.02em;
  font-size: clamp(1.04rem, 1.7vw, 1.2rem); color: var(--text); line-height: 1.3;
  transition: color .25s var(--ease);
}
.faq-q:hover { color: #fff; }
.faq-q:focus-visible { outline-offset: -2px; }
/* + → – morph: horizontal bar stays, vertical bar collapses on open */
.faq-ico { position: relative; width: 16px; height: 16px; flex: none; color: var(--text-3); transition: color .25s var(--ease), transform .3s var(--ease); }
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.6px;
  background: currentColor; border-radius: 2px; transform: translate(-50%, -50%);
  transition: transform .28s var(--ease), opacity .28s var(--ease);
}
.faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q:hover .faq-ico { color: var(--text); }
.faq-q[aria-expanded="true"] .faq-ico { color: var(--green); transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .faq-ico::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
/* smooth height without JS measurement (0fr → 1fr) */
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s var(--ease); }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a p { color: var(--text-2); font-size: 15.5px; line-height: 1.68; max-width: 68ch; padding: 0 6px; }
.faq-a p + p { margin-top: 13px; }
.faq-a-inner > :last-child { padding-bottom: clamp(22px, 2.6vw, 28px); }
.faq-a p b { color: var(--text); font-weight: 600; }
.faq-a p em, .faq-a p i { font-style: italic; color: var(--text); }
.faq-bullets { list-style: none; padding: 0 6px; margin: 13px 0; display: grid; gap: 9px; }
.faq-bullets li { position: relative; padding-left: 20px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.faq-bullets li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
/* quiet bridge into the final CTA */
.faq-bridge { max-width: 820px; margin: clamp(28px, 4vw, 40px) auto 0; text-align: center; font-size: 15px; color: var(--text-3); }
.faq-bridge a { color: var(--green); font-weight: 500; display: inline-flex; align-items: center; gap: 7px; transition: gap .3s var(--ease); }
.faq-bridge a svg { width: 15px; height: 15px; }
.faq-bridge a:hover { gap: 11px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 300px; margin-top: 24px; }
  .hero-copy { max-width: none; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 32px 18px; }
  .flow::before, .flow-line { display: none; }
  .converge { grid-template-columns: 1fr; gap: 24px; }
  .converge-core { height: 120px; transform: rotate(90deg); }
  .sources { grid-template-columns: repeat(4, 1fr); }
  .duo { grid-template-columns: 1fr; max-width: 520px; }
  .duo-card.consultoria { text-align: left; }
  .duo-card.consultoria > p { margin-left: 0; }
  .duo-card.consultoria .duo-tags { justify-content: flex-start; }
  .duo-link { border-inline: none; border-block: 1px solid var(--line); min-height: 118px; }
  .duo-inf { width: 34%; }
  .showcase-row { grid-template-columns: 1fr; gap: 24px; }
  .showcase-row.reverse .sc-copy { order: 0; }
  .consolidated-grid { grid-template-columns: 1fr; }
  .pilot-card { grid-template-columns: 1fr; }
  .pilot-logo { max-width: 280px; }
  .split { grid-template-columns: 1fr; }
  .cap-head { gap: 16px; }
  .forces, .horizons { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; gap: 28px; }
  .result-figure { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer .about { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .nav-links, .nav-signin.desk { display: none; }
  .hamburger { display: inline-flex; }
  .nav-actions .btn.desk-cta { display: none; }
}
/* comparison table → stacked cards on smaller screens */
@media (max-width: 720px) {
  .ctable { border: none; border-radius: 0; display: grid; gap: 14px; }
  .ctable-head { display: none; }
  .ctable-row { grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .ctable-row .cc-crit { padding: 14px 18px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
  .cc-cell { padding: 13px 18px 13px 46px; border-top: 1px solid var(--line); justify-content: space-between; }
  .cc-cell::after { content: attr(data-c); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); margin-left: 12px; text-align: right; }
  .cc-cell.cc-ayven::after { color: var(--green); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .modules, .flow { grid-template-columns: 1fr; }
  .sources { grid-template-columns: repeat(2, 1fr); }
  .trust-band-list { justify-content: flex-start; gap: 12px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }
  .tech-visual figcaption { align-items: flex-end; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 0 12px 14px; background: linear-gradient(0deg, rgba(5,8,11,0.9), transparent 45%); }
}

/* ============================================================
   Cross-document view transitions (index.html <-> valueiq.html)
   Progressive enhancement: unsupported browsers just navigate
   normally. Shared across both pages via this one stylesheet.
   ============================================================ */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: .35s;
  animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) {
    animation: none !important;
  }
}
