/* VAENKO institutional — identidade de campanha (navy + circuito ciano) */
:root {
  --bg: #050b18;
  --bg2: #0a1628;
  --card: #0d1930;
  --ink: #eef6fb;
  --muted: #94a8c2;
  --muted-2: #6b7f9c;
  --line: rgba(148, 197, 227, 0.14);
  --line-strong: rgba(103, 232, 249, 0.28);
  --cyan: #22d3ee;
  --cyan-soft: #67e8f9;
  --cyan-deep: #0891b2;
  --blue: #3b82f6;
  --max: 760px;
  --wide: 1120px;
  --font: "Instrument Sans", system-ui, sans-serif;
  --display: "Sora", "Instrument Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.bt {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 901px) { body.bt { padding-bottom: 0; font-size: 18px; } }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
.skip {
  position: absolute; left: -999px; top: 0; z-index: 99;
  background: var(--cyan); color: #05131f; padding: 10px 14px; font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; }

/* Circuit + aurora backdrop */
.aurora {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 560px at 18% -8%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(760px 520px at 100% 8%, rgba(59, 130, 246, 0.14), transparent 55%),
    radial-gradient(680px 480px at 8% 62%, rgba(8, 145, 178, 0.14), transparent 55%),
    linear-gradient(180deg, #050b18 0%, #060f20 45%, #050b18 100%);
}
.aurora::before {
  content: "";
  position: absolute;
  width: min(620px, 92vw); height: min(620px, 92vw);
  left: 50%; top: 10%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(34,211,238,0.14) 0%, transparent 68%);
  filter: blur(6px);
  animation: glowPulse 9s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.95; transform: translate(-50%, -50%) scale(1.07); }
}
.aurora::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(103,232,249,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103,232,249,0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(1200px 700px at 50% 0%, #000 0%, transparent 72%);
  animation: drift 50s linear infinite;
}
@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(42px); }
}

/* Header */
.hd {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(5, 11, 24, 0.72);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.hd.scrolled { border-bottom-color: var(--line); background: rgba(5, 11, 24, 0.92); }
.hd-brand img { height: 36px; width: auto; }
.hd-menu {
  display: none;
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  align-items: center; justify-content: center;
}
.hd-menu span, .hd-menu span::before, .hd-menu span::after {
  display: block; width: 16px; height: 1.5px; background: var(--ink);
  position: relative; border-radius: 2px;
}
.hd-menu span::before, .hd-menu span::after { content: ""; position: absolute; left: 0; }
.hd-menu span::before { top: -5px; }
.hd-menu span::after { top: 5px; }
.hd-menu[aria-expanded="true"] span { background: transparent; }
.hd-menu[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.hd-menu[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.hd-nav { display: flex; align-items: center; gap: 24px; }
.hd-nav a {
  font-size: 0.9rem; font-weight: 500; color: var(--muted);
  min-height: 44px; display: inline-flex; align-items: center;
}
.hd-nav a:hover { color: var(--cyan-soft); }
.hd-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  padding: 10px 20px !important;
  min-height: 44px;
  line-height: 1.2;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.22);
}
.hd-cta:hover { filter: brightness(1.06); color: #ffffff !important; }

@media (max-width: 900px) {
  .hd-menu { display: inline-flex; }
  .hd-nav {
    position: fixed; inset: 0; top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh; min-height: 100vh;
    margin: 0; overflow-y: auto;
    padding: 80px 24px 100px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #050b18;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 35;
  }
  .hd-nav.open { transform: none; }
  .hd-nav a { font-size: 1.2rem; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .hd-cta { margin-top: 20px; justify-content: center; min-height: 52px; }
  body.nav-open { overflow: hidden; }
}

/* HERO */
.hero {
  position: relative; z-index: 1;
  min-height: 0 !important; /* was 100svh — created empty overlay "card" under copy */
  display: grid; align-items: center;
  padding: 48px 24px 36px;
  gap: 32px;
  overflow: visible !important; /* no rectangular clip seam over atmosphere */
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  isolation: auto !important;
}
@media (min-width: 960px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; width: min(var(--wide), calc(100% - 48px)); margin: 0 auto; text-align: left; }
}
.hero-text { text-align: center; }
@media (min-width: 960px) { .hero-text { text-align: left; } }
.hero-logo {
  width: min(120px, 40vw); height: auto; margin: 0 auto 20px;
  filter: drop-shadow(0 10px 26px rgba(34, 211, 238, 0.28));
  animation: rise 1s var(--ease) both;
}
@media (min-width: 960px) { .hero-logo { margin: 0 0 20px; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-kicker {
  margin: 0 auto 14px; max-width: 30ch;
  font-size: clamp(0.78rem, 2.2vw, 0.92rem);
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cyan-soft);
  animation: rise 1s var(--ease) 0.05s both;
}
@media (min-width: 960px) { .hero-kicker { margin: 0 0 14px; } }
.hero h1 {
  margin: 0 auto 18px; max-width: 15ch;
  font-family: var(--display);
  font-size: clamp(2.2rem, 6.6vw, 3.6rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.03em;
  color: #fff;
  animation: rise 1s var(--ease) 0.08s both;
}
@media (min-width: 960px) { .hero h1 { margin: 0 0 18px; } }
.hero-sub {
  margin: 0 auto 30px; max-width: 34rem;
  color: var(--muted); font-size: clamp(1rem, 3vw, 1.15rem); line-height: 1.6;
  animation: rise 1s var(--ease) 0.14s both;
}
@media (min-width: 960px) { .hero-sub { margin: 0 0 30px; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@media (min-width: 960px) { .hero-ctas { justify-content: flex-start; } }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #05131f;
  font-weight: 700; font-size: 1rem;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.24);
  transition: transform 0.2s var(--ease), filter 0.2s;
  animation: rise 1s var(--ease) 0.2s both;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(0.98); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  color: var(--ink); font-weight: 600;
  animation: rise 1s var(--ease) 0.24s both;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan-soft); }

.hero-visual-wrap { position: relative; animation: rise 1.1s var(--ease) 0.1s both; }
.hero-visual-wrap::before {
  /* v738: disabled — large rounded glow plate read as overlapping card */
  content: none !important;
  display: none !important;
}
@keyframes spinGlow { to { transform: rotate(360deg); } }
.hero-visual {
  position: relative; z-index: 1; border-radius: 24px; overflow: hidden;
  aspect-ratio: 1254 / 560;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(34,211,238,0.06);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }

.line { position: relative; z-index: 1; padding: 0 24px; }
.line i {
  display: block; height: 1px; max-width: var(--wide); margin: 0 auto;
  background: var(--line); position: relative; overflow: hidden;
}
.line i::after {
  content: ""; position: absolute; top: 0; left: -30%; width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan-soft), transparent);
  animation: flowPulse 5s ease-in-out infinite;
}
@keyframes flowPulse {
  0% { left: -30%; opacity: 0; }
  15% { opacity: 0.9; }
  50% { left: 50%; opacity: 0.9; }
  85% { opacity: 0; }
  100% { left: 130%; opacity: 0; }
}

/* Drifting network particles — decorative, aria-hidden */
.net-particles { position: absolute !important; inset: 0 !important; z-index: 0 !important; overflow: hidden !important; pointer-events: none !important; }
.net-particles svg { width: 100%; height: 100%; }
.net-particles circle { fill: var(--cyan-soft); opacity: 0.5; }
.net-particles .p1 { animation: floatY 7s ease-in-out infinite; }
.net-particles .p2 { animation: floatY 9s ease-in-out infinite 1s; }
.net-particles .p3 { animation: floatY 6s ease-in-out infinite 0.4s; }
.net-particles .p4 { animation: floatY 8.5s ease-in-out infinite 2s; }
.net-particles .p5 { animation: floatY 10s ease-in-out infinite 0.8s; }
.net-particles .p6 { animation: floatY 7.5s ease-in-out infinite 1.6s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.35; }
  50% { transform: translateY(-16px) scale(1.35); opacity: 0.85; }
}
.net-particles .trace { stroke: var(--cyan-soft); stroke-width: 1; fill: none; opacity: 0.28; stroke-dasharray: 6 10; animation: traceFlow 6s linear infinite; }
@keyframes traceFlow { to { stroke-dashoffset: -160; } }

.block { position: relative; z-index: 1; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 84px 0 36px; }
.block.quiet { padding-bottom: 84px; }
.block.wide { width: min(var(--wide), calc(100% - 48px)); }
.label { margin: 0 0 16px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.block h2 {
  margin: 0 0 20px; font-family: var(--display);
  font-size: clamp(1.7rem, 4.6vw, 2.6rem); font-weight: 700; line-height: 1.14; letter-spacing: -0.03em;
  color: #fff;
}
.block h3 { margin: 36px 0 12px; font-size: 1.2rem; font-weight: 700; color: var(--cyan-soft); }
.lead { margin: 0; color: var(--muted); font-size: 1.1rem; line-height: 1.65; max-width: 38rem; }
.lead + .lead { margin-top: 14px; }
.link { display: inline-flex; align-items: center; margin-top: 26px; min-height: 44px; font-weight: 700; color: var(--cyan-soft); border-bottom: 1px solid var(--cyan-deep); }
.link:hover { color: var(--cyan); }

/* Tile grid — O que Fazemos */
.tiles { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 960px) { .tiles { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.tiles li {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(13, 25, 48, 0.55);
  backdrop-filter: blur(6px);
  font-weight: 600; font-size: 0.98rem; color: var(--ink);
  transition: border-color 0.2s, transform 0.2s;
}
.tiles li:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.tiles li svg { flex: none; width: 22px; height: 22px; color: var(--cyan); }

/* Chips — Benefícios */
.chips { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(34, 211, 238, 0.06);
  color: var(--cyan-soft); font-weight: 600; font-size: 0.92rem;
}

/* Dark strip */
.strip { position: relative; z-index: 1; background: var(--bg2); color: #fafafa; margin: 24px 0; }
@media (min-width: 901px) { .strip { width: min(var(--wide), calc(100% - 48px)); margin: 48px auto; border-radius: 28px; border: 1px solid var(--line); } }
.strip-inner { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 64px 0; display: grid; gap: 32px; }
@media (min-width: 800px) { .strip-inner { width: min(900px, calc(100% - 64px)); grid-template-columns: 1.4fr 1fr; align-items: end; gap: 48px; } }
.strip h2 { margin: 0 0 14px; font-family: var(--display); font-size: clamp(1.5rem, 3.8vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.18; color: #fff; }
.strip p { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.6; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.facts li { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.facts strong { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.03em; color: var(--cyan-soft); font-family: var(--display); }
.facts span { color: var(--muted-2); font-size: 0.88rem; }

/* Hub methodology demo card */
.demo-card {
  margin-top: 40px; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(34,211,238,0.05), rgba(13,25,48,0.6));
  display: grid; gap: 0;
}
@media (min-width: 760px) { .demo-card { grid-template-columns: 1fr; } .demo-media { max-height: none; } }
.demo-media { position: relative; background: #e8eaed; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate; width: 100%; }
.demo-media .demo-poster,
.demo-media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center center; display: block;
  background: #e8eaed;
}
.demo-media video { opacity: 0; pointer-events: none; }
.demo-card.playing .demo-media video { opacity: 1; pointer-events: auto; }
.demo-card.playing .demo-poster { opacity: 0; }
.demo-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(3,8,20,0.05), rgba(3,8,20,0.55));
  cursor: pointer; border: 0;
}
.demo-play-ring {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(5,11,24,0.55); border: 1px solid rgba(255,255,255,0.35);
  display: grid; place-items: center; backdrop-filter: blur(4px);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.demo-play:hover .demo-play-ring { transform: scale(1.08); background: rgba(34,211,238,0.28); }
.demo-play-ring svg { width: 22px; height: 22px; color: #fff; }
.demo-card.playing .demo-play { display: none; }
.demo-body { padding: 28px 26px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.demo-kicker { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); margin: 0; }
.demo-title { font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: #fff; margin: 0; }
.demo-sub { color: var(--muted); font-size: 0.98rem; margin: 0 0 10px; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.demo-audio-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  color: var(--cyan-soft); font-weight: 600; font-size: 0.9rem;
}
.demo-audio-btn:hover { border-color: var(--cyan); }
.demo-audio-btn svg { width: 16px; height: 16px; }
audio.demo-audio-el { display: none; width: 100%; margin-top: 10px; }
audio.demo-audio-el.on { display: block; }

/* Interactive ecosystem map — clean bus-tree connectors + cascade */
.map { position: relative; margin-top: 36px; padding: 12px 8px 28px; min-height: 0; overflow-x: visible; overflow-y: visible; max-width: 100%; }
.map-svg {
  position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important;
  pointer-events: none !important; z-index: 1 !important; overflow: visible !important;
}
.map-svg .mlink {
  fill: none; stroke: var(--cyan-soft); stroke-width: 1.5; opacity: 0.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.map-svg .mlink.bus { opacity: 0.55; stroke-width: 1.35; }
.map-svg .mlink.dim { opacity: 0.22; stroke-width: 1.1; }
.map-stage { position: relative; z-index: 3; }
.map-hub {
  position: relative; z-index: 3; display: flex; margin: 0 auto 8px;
  width: 118px; height: 118px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(103,232,249,0.35), rgba(13,25,48,0.9) 70%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 8px rgba(34,211,238,0.05), 0 0 40px rgba(34,211,238,0.25);
  align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 0.95rem; color: #fff;
  animation: hubPulse 4s ease-in-out infinite; cursor: pointer;
}
@keyframes hubPulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(34,211,238,0.05), 0 0 40px rgba(34,211,238,0.22); }
  50% { box-shadow: 0 0 0 12px rgba(34,211,238,0.09), 0 0 56px rgba(34,211,238,0.38); }
}
.map-levels { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.map-level {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
  gap: 12px 14px; row-gap: 16px; min-height: 0; position: relative;
  will-change: transform;
  box-sizing: border-box;
}
.map-level[hidden] { display: none !important; }
/* L1 stays horizontal row of pillars */
#map-level-1 { width: 100%; max-width: 100%; }
/* L2/L3: open DOWNWARD under parent (vertical column) */
#map-level-2.map-level--down,
#map-level-3.map-level--down {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  width: max-content;
  max-width: min(300px, calc(100% - 24px));
  margin: 0 auto;
  padding-left: 22px;
  gap: 10px;
}
/* Many children: compact 2-col grid still BELOW parent (not a side fan) */
#map-level-2.map-level--down.is-dense,
#map-level-3.map-level--down.is-dense {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: max-content;
  max-width: min(440px, calc(100% - 24px));
  gap: 10px 12px;
  padding-left: 22px;
}
.map.is-focused #map-level-1 .map-node:not(.is-active) { opacity: 0.4; }
.map.is-focused #map-level-1 .map-node.is-active { opacity: 1; z-index: 5; }
/* Keep L2 siblings visible (dim) — never wipe the branch into a "new diagram" */
.map.is-l2-focused #map-level-2 .map-node:not(.is-active) { opacity: 0.38; filter: saturate(0.75); }
.map.is-l2-focused #map-level-2 .map-node.is-active { opacity: 1; filter: none; z-index: 6; }
/* While a nest is open, force single column so L3 sits BETWEEN siblings under the parent node */
#map-level-2.map-level--down.is-nested-open {
  display: flex; flex-direction: column; flex-wrap: nowrap;
  grid-template-columns: none; width: max-content;
  max-width: min(300px, calc(100% - 24px));
}
.map-nest {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 8px; width: 100%; padding: 2px 0 6px 18px;
  box-sizing: border-box; position: relative;
}
.map-nest .map-node {
  width: 100%; max-width: none; min-width: 0;
  font-size: 0.72rem; border-radius: 14px;
  justify-content: flex-start; text-align: left; padding-left: 14px;
  background: radial-gradient(circle at 30% 20%, rgba(59,130,246,0.16), rgba(13,25,48,0.92) 72%);
}
.map-node {
  position: relative; z-index: 5; pointer-events: auto;
  padding: 12px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 30% 20%, rgba(34,211,238,0.12), rgba(13,25,48,0.92) 72%);
  color: var(--ink); font-weight: 700; font-size: 0.82rem; text-align: center;
  min-height: 48px; max-width: 210px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  box-shadow: 0 0 18px rgba(34,211,238,0.08);
  opacity: 0; transform: scale(0.86) translateY(10px);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, opacity 0.25s, filter 0.25s, transform 0.35s var(--ease);
}
.map-node.is-in { opacity: 1; transform: none; }
.map-node.is-active {
  border-color: var(--cyan); background: rgba(34,211,238,0.14);
  box-shadow: 0 0 28px rgba(34,211,238,0.22);
}
.map-node.has-kids::after {
  content: "+"; color: var(--cyan-soft); font-weight: 700; margin-left: 2px;
}
.map-node.has-kids.is-active::after { content: "×"; color: var(--cyan); }
.map-node:hover { border-color: var(--cyan); }
.map-level[data-level="1"] .map-node { min-width: 140px; }
#map-level-2.map-level--down .map-node,
#map-level-3.map-level--down .map-node {
  width: 100%; max-width: none; min-width: 0;
  font-size: 0.74rem; border-radius: 14px;
  justify-content: flex-start; text-align: left; padding-left: 14px;
}
#map-level-3.map-level--down .map-node {
  background: radial-gradient(circle at 30% 20%, rgba(59,130,246,0.16), rgba(13,25,48,0.92) 72%);
}
@media (max-width: 759px) {
  .map-levels { gap: 26px; }
  .map.is-focused #map-level-1 .map-node:not(.is-active) { display: none; }
  .map.is-focused #map-level-1 .map-node.is-active {
    max-width: none; width: min(100%, 320px); margin: 0 auto; font-size: 0.8rem;
  }
  #map-level-2.map-level--down,
  #map-level-3.map-level--down {
    display: flex; flex-direction: column; grid-template-columns: none;
    width: min(100%, 340px); max-width: calc(100% - 16px);
    padding-left: 28px; gap: 10px;
  }
  #map-level-2.map-level--down.is-dense,
  #map-level-3.map-level--down.is-dense {
    display: flex; flex-direction: column; grid-template-columns: none;
    width: min(100%, 340px);
  }
  .map.is-l2-focused #map-level-2 .map-node.is-active { width: 100%; }
  #map-level-2.map-level--down.is-nested-open {
    width: min(100%, 340px); max-width: calc(100% - 16px);
  }
}
.map-panels, .map-panel, .map-links, .map-manifold, .map-branch, .map-l1-row { display: none !important; }

/* Campaign gallery */
.gallery { display: grid; gap: 16px; margin-top: 36px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.gallery figure {
  margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background: var(--card);
}
.gallery figure img { width: 100%; height: 100%; object-fit: contain; aspect-ratio: 16/9; background: #030814; }
.gallery figcaption { padding: 12px 16px; color: var(--muted-2); font-size: 0.85rem; }

.close { position: relative; z-index: 1; text-align: center; padding: 92px 24px 76px; }
.close-logo { width: min(190px, 55vw); margin: 0 auto 26px; max-height: 84px; object-fit: contain; }
.close h2 { margin: 0 0 20px; font-family: var(--display); font-size: clamp(1.5rem, 4.2vw, 2.3rem); font-weight: 700; letter-spacing: -0.03em; color: #fff; }
.close .lead { margin: 0 auto 26px; text-align: center; }
.mail { display: block; margin-top: 18px; color: var(--muted); font-size: 0.95rem; }
.mail:hover { color: var(--cyan-soft); }

.ft { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 32px 24px 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--muted); font-size: 0.88rem; }
.ft img { height: 26px; width: auto; }
.ft-links { display: flex; gap: 20px; }
.ft-links a:hover { color: var(--cyan-soft); }
.ft p { margin: 0; }

.dock {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(5,11,24,0.92); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); align-items: center; gap: 10px;
}
.dock-logo { width: 56px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: rgba(13,25,48,0.8); border: 1px solid var(--line); }
.dock-logo img { height: 24px; width: auto; }
.dock-btn { flex: 1; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #05131f; font-weight: 700; }
@media (max-width: 900px) { .dock { display: flex; } }

/* Inner-page prose */
body.bt .page-hero { position: relative; z-index: 1; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 56px 0 12px; }
body.bt .page-hero h1 {
  margin: 0; font-family: var(--display); font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; max-width: 18ch; color: #fff;
}
.prose-bt { position: relative; z-index: 1; width: min(640px, calc(100% - 48px)); margin: 0 auto 72px; color: var(--muted); line-height: 1.7; font-size: 1.05rem; }
.prose-bt h2 { margin: 34px 0 12px; color: var(--cyan-soft); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; font-family: var(--display); }
.prose-bt a { color: var(--cyan-soft); font-weight: 600; text-decoration: underline; }
.prose-bt ul { padding-left: 1.2rem; }
.prose-bt strong { color: var(--ink); }

.form-bt { display: grid; gap: 14px; margin: 24px auto 0; text-align: left; }
.form-bt label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.form-bt input, .form-bt textarea {
  font: inherit; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(13,25,48,0.6); color: var(--ink);
}
.form-bt input::placeholder, .form-bt textarea::placeholder { color: var(--muted-2); }
.hint-bt { margin-top: 20px; font-size: 0.9rem; color: var(--muted-2); }


/* Circuit layer — flowing traces across page */
.circuit-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55; }
.circuit-svg { width: 100%; height: 100%; }
.circuit-traces .cflow {
  stroke-dasharray: 8 14;
  animation: circuitWalk 7s linear infinite;
}
.circuit-traces .c2 { animation-duration: 9s; animation-delay: -2s; }
.circuit-traces .c3 { animation-duration: 8s; animation-delay: -1s; }
.circuit-traces .c4 { animation-duration: 11s; animation-delay: -4s; }
.circuit-traces .c5 { animation-duration: 6.5s; animation-delay: -1.5s; }
.circuit-traces .c6 { animation-duration: 10s; animation-delay: -3s; }
@keyframes circuitWalk { to { stroke-dashoffset: -220; } }
.circuit-nodes .cn { opacity: 0.45; animation: nodePulse 3.2s ease-in-out infinite; }
.circuit-nodes .cn:nth-child(odd) { animation-delay: 0.6s; }
.circuit-nodes .cn:nth-child(3n) { animation-delay: 1.2s; }
@keyframes nodePulse {
  0%, 100% { opacity: 0.25; r: 2.5; }
  50% { opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  .circuit-layer, .net-particles { display: none !important; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .map-child, .map-node { opacity: 1 !important; transform: none !important; } .map-svg .mlink { stroke-dashoffset: 0 !important; transition: none !important; } .circuit-layer, .net-particles, .evo-scan { display: none !important; }
  .evo-atmosphere-img { animation: none !important; opacity: 0.04; }
  .hud-ring, .hud-pulse, .evo-bars .ebar, .evo-bokeh .bk { animation: none !important; } }

@media (max-width: 900px) {
  .hero { min-height: calc(100svh - 72px); padding-top: 32px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.7rem); }
}

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }


/* Benefícios flowchart — same progressive downward language as main map */
.bmap-hint { margin-top: 8px; margin-bottom: 0; max-width: 36rem; }
.bmap { margin-top: 28px; min-height: 220px; }
.bmap .bmap-hub {
  width: auto; min-width: 160px; max-width: min(320px, 92vw);
  height: auto; min-height: 64px; padding: 16px 28px; border-radius: 999px;
  font-size: 1rem;
}
.bmap #bmap-level-1.map-level--down {
  flex-direction: column; flex-wrap: nowrap; align-items: stretch;
  width: max-content; max-width: min(340px, calc(100% - 24px));
  margin: 0 auto; padding-left: 22px; gap: 10px;
}
.bmap #bmap-level-1.map-level--down.is-dense {
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: min(460px, calc(100% - 24px)); width: max-content;
  gap: 10px 12px; padding-left: 22px;
}
.bmap #bmap-level-1 .map-node {
  width: 100%; max-width: none; min-width: 0; font-size: 0.74rem;
  border-radius: 14px; justify-content: flex-start; text-align: left; padding-left: 14px;
}
.bmap-source { display: none !important; }
@media (max-width: 759px) {
  .bmap #bmap-level-1.map-level--down,
  .bmap #bmap-level-1.map-level--down.is-dense {
    display: flex; flex-direction: column; grid-template-columns: none;
    width: min(100%, 340px); max-width: calc(100% - 16px);
  }
}


/* Empresa — institutional explanations on homepage (from /sobre/) */
.anchor-target {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.empresa { position: relative; }
.empresa-intro { display: grid; gap: 14px; max-width: 46rem; }
.empresa-intro .lead { margin: 0; }
.empresa-pillars {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .empresa-pillars { grid-template-columns: 1fr 1fr; gap: 16px; }
}
.empresa-pillar {
  margin: 0; padding: 22px 22px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(13, 25, 48, 0.55);
  backdrop-filter: blur(6px);
  transition: border-color 0.2s, transform 0.2s;
}
.empresa-pillar:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.empresa-pillar h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.12rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--cyan-soft);
}
.empresa-pillar p {
  margin: 0; color: var(--muted);
  font-size: 0.98rem; line-height: 1.65;
}


/* Minimal landing chrome — logo + single CTA */
.hd-minimal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hd-minimal .hd-brand {
  flex: 0 0 auto;
  min-width: max-content;
  z-index: 2;
}
.hd-minimal .hd-brand img {
  height: 44px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
}
.hd-minimal .hd-cta {
  margin: 0;
  flex: none;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap;
  font-size: 0.88rem;
  padding: 10px 20px !important;
  min-height: 44px;
  line-height: 1.2;
  color: #ffffff !important;
}
@media (max-width: 480px) {
  .hd-minimal .hd-cta {
    font-size: 0.78rem;
    padding: 10px 14px !important;
    max-width: min(58vw, 220px);
    text-align: center;
    line-height: 1.25;
    white-space: normal;
    min-height: 44px;
    color: #ffffff !important;
  }
  .hd-minimal .hd-brand img { height: 40px !important; width: auto !important; }
}
/* No hamburger / slide nav in minimal chrome */
.hd-minimal .hd-menu,
.hd-menu { display: none !important; }
.hd-nav { display: none !important; }
/* Dock removed — header CTA is the primary action */
.dock { display: none !important; }


/* ===== Evolution / HUD atmosphere (inspired by folder infographic — visual only) ===== */
.evo-atmosphere {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}
.evo-atmosphere-img {
  position: absolute; inset: -4%;
  background:
    url("/media/atmosphere/evolution-hud.webp?v=738") center 18% / cover no-repeat;
  opacity: 0.07;
  filter: saturate(0.85) brightness(0.55) contrast(1.05) hue-rotate(-6deg);
  mix-blend-mode: screen;
  animation: evoDrift 48s ease-in-out infinite alternate;
}
.evo-scan {
  position: absolute; left: 0; right: 0; height: 18%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(34, 211, 238, 0.045) 45%,
    rgba(103, 232, 249, 0.07) 50%,
    rgba(34, 211, 238, 0.04) 55%,
    transparent 100%
  );
  animation: evoScan 11s linear infinite;
  opacity: 0.85;
}
@keyframes evoDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(0, -1.5%, 0); }
}
@keyframes evoScan {
  0% { transform: translateY(-30vh); }
  100% { transform: translateY(120vh); }
}

.evo-hud {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.9;
}
.evo-hud-svg { width: 100%; height: 100%; }

.hud-ring.r1 { transform-origin: 0 0; animation: hudSpin 28s linear infinite; }
.hud-ring.r2 { transform-origin: 0 0; animation: hudSpin 18s linear infinite reverse; }
.hud-ring.r3 { transform-origin: 0 0; animation: hudSpin 12s linear infinite; }
.hud-sm .hud-ring.r1 { animation-duration: 22s; }
.hud-sm .hud-ring.r2 { animation-duration: 14s; }
.hud-pulse { transform-origin: 0 0; animation: hudPulse 4.5s ease-in-out infinite; }
@keyframes hudSpin { to { transform: rotate(360deg); } }
@keyframes hudPulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.18); }
}

.evo-bars .ebar { transform-box: fill-box; transform-origin: bottom center; }
.evo-bars .e1 { animation: barPulse 3.2s ease-in-out infinite; }
.evo-bars .e2 { animation: barPulse 3.6s ease-in-out infinite 0.2s; }
.evo-bars .e3 { animation: barPulse 3.1s ease-in-out infinite 0.4s; }
.evo-bars .e4 { animation: barPulse 3.8s ease-in-out infinite 0.1s; }
.evo-bars .e5 { animation: barPulse 3.3s ease-in-out infinite 0.55s; }
.evo-bars .e6 { animation: barPulse 3.5s ease-in-out infinite 0.3s; }
.evo-bars .e7 { animation: barPulse 3.7s ease-in-out infinite 0.45s; }
.evo-bars .e8 { animation: barPulse 3.4s ease-in-out infinite 0.15s; }
@keyframes barPulse {
  0%, 100% { transform: scaleY(0.72); opacity: 0.55; }
  50% { transform: scaleY(1.08); opacity: 1; }
}

.evo-bokeh .bk { animation: bokehFloat 8s ease-in-out infinite; }
.evo-bokeh .b2 { animation-duration: 9.5s; animation-delay: 0.8s; }
.evo-bokeh .b3 { animation-duration: 7.2s; animation-delay: 1.2s; }
.evo-bokeh .b4 { animation-duration: 10s; animation-delay: 0.4s; }
.evo-bokeh .b5 { animation-duration: 8.6s; animation-delay: 1.6s; }
.evo-bokeh .b6 { animation-duration: 11s; animation-delay: 0.2s; }
.evo-bokeh .b7 { animation-duration: 7.8s; animation-delay: 1s; }
.evo-bokeh .b8 { animation-duration: 9s; animation-delay: 1.4s; }
@keyframes bokehFloat {
  0%, 100% { transform: translateY(0); opacity: 0.22; }
  50% { transform: translateY(-14px); opacity: 0.5; }
}

main, .hd, .ft, .dock { position: relative; z-index: 1; }
.hd { z-index: 40; }
.aurora, .circuit-layer, .evo-atmosphere, .evo-hud, .evo-orbs { z-index: 0; }

/* ft-attr Freepik credit removed v737 */
@media (max-width: 759px) {
  .evo-atmosphere-img { opacity: 0.05; }
  .evo-hud { opacity: 0.7; }
  .evo-bars { display: none; }
  .hud-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .evo-atmosphere-img { animation: none !important; opacity: 0.04; }
  .evo-scan { display: none !important; }
  .hud-ring, .hud-pulse, .evo-bars .ebar, .evo-bokeh .bk { animation: none !important; }
  .evo-hud .hud-ring { opacity: 0.12; }
}


/* ===== v732 SURPRISE — living intelligent atmosphere ===== */
.evo-atmosphere-img { opacity: 0.11 !important; }
.evo-img-a {
  background-image: url("/media/atmosphere/evolution-hud.webp?v=738") !important;
  background-position: 18% 22% !important;
  animation: evoDrift 42s ease-in-out infinite alternate !important;
}
.evo-img-b {
  background-image: url("/media/atmosphere/evolution-ring.webp?v=738") !important;
  background-size: min(52vw, 560px) !important;
  background-repeat: no-repeat !important;
  background-position: -6% 58% !important;
  opacity: 0.14 !important;
  filter: saturate(1.1) brightness(0.62) contrast(1.1) !important;
  mix-blend-mode: screen !important;
  animation: ringFloat 16s ease-in-out infinite alternate !important;
}
@keyframes ringFloat {
  from { transform: translate3d(0,0,0) scale(1) rotate(0deg); }
  to { transform: translate3d(2%, -3%, 0) scale(1.06) rotate(8deg); }
}
.evo-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% 40%, rgba(34,211,238,0.1), transparent 60%),
    radial-gradient(700px 480px at 88% 70%, rgba(59,130,246,0.08), transparent 55%),
    linear-gradient(180deg, rgba(5,11,24,0.15), transparent 30%, transparent 70%, rgba(5,11,24,0.45));
}
.evo-scan { opacity: 1 !important; height: 22% !important; }
.evo-scan-2 {
  animation-duration: 17s !important;
  animation-delay: -6s !important;
  opacity: 0.55 !important;
  background: linear-gradient(180deg, transparent, rgba(59,130,246,0.05) 50%, transparent) !important;
}

.hud-ring.r4 { transform-origin: 0 0; animation: hudSpin 9s linear infinite reverse; }
.hud-orbit { transform-origin: 0 0; animation: hudSpin 10s linear infinite; }
.orbit-dot { filter: drop-shadow(0 0 6px #67e8f9); }

.evo-streams .stream {
  stroke-dasharray: 12 28;
  animation: streamFlow 7s linear infinite;
}
.evo-streams .s2 { animation-duration: 9s; animation-delay: -2s; }
.evo-streams .s3 { animation-duration: 8s; animation-delay: -4s; }
@keyframes streamFlow { to { stroke-dashoffset: -220; } }

.evo-constellation .const-line {
  stroke-dasharray: 4 10;
  animation: constPulse 5.5s ease-in-out infinite;
}
.evo-constellation .cl2 { animation-delay: 1s; }
.evo-constellation .cl3 { animation-delay: 2s; }
@keyframes constPulse {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.45; }
}
.evo-constellation-nodes .cnode {
  animation: nodeTwinkle 3.4s ease-in-out infinite;
}
.evo-constellation-nodes .cnode:nth-child(odd) { animation-delay: 0.5s; }
.evo-constellation-nodes .cnode:nth-child(3n) { animation-delay: 1.1s; }
@keyframes nodeTwinkle {
  0%, 100% { opacity: 0.25; r: 1.6; }
  50% { opacity: 0.85; }
}

.evo-radar .radar-sweep {
  transform-origin: 0 0;
  animation: radarSpin 6.5s linear infinite;
}
@keyframes radarSpin { to { transform: rotate(360deg); } }

.evo-orbs {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.evo-orbs .orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.22), transparent 68%);
  filter: blur(2px);
  animation: orbDrift 18s ease-in-out infinite alternate;
}
.evo-orbs .o1 { width: 280px; height: 280px; left: -40px; top: 18%; }
.evo-orbs .o2 { width: 360px; height: 360px; right: -80px; top: 52%; animation-duration: 22s; animation-delay: -4s; background: radial-gradient(circle, rgba(59,130,246,0.18), transparent 70%); }
.evo-orbs .o3 { width: 220px; height: 220px; left: 42%; bottom: 8%; animation-duration: 20s; animation-delay: -8s; }
@keyframes orbDrift {
  from { transform: translate3d(0,0,0) scale(1); opacity: 0.45; }
  to { transform: translate3d(18px,-24px,0) scale(1.12); opacity: 0.85; }
}

/* Hero ambient overlays (behind text via z-index) */
.hero { position: relative; overflow: hidden; }
.hero-ambient {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-ring-glow {
  position: absolute; left: -8%; bottom: -18%;
  width: min(58vw, 520px); aspect-ratio: 1;
  background:
    url("/media/atmosphere/evolution-ring.webp?v=738") center / contain no-repeat;
  opacity: 0.18;
  filter: saturate(1.15) brightness(0.7);
  mix-blend-mode: screen;
  animation: heroRing 14s ease-in-out infinite alternate;
}
/* .hero-panel-ghost REMOVED v735 — was leaking rectangular HUD card across sections */
@keyframes heroRing {
  from { transform: rotate(-6deg) scale(1); }
  to { transform: rotate(10deg) scale(1.08); }
}
.hero-text, .hero-visual-wrap { position: relative; z-index: 2; }
/* v736: no translucent card/scrim under hero copy — text only, no empty rounded rect */
.hero-text {
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
  min-height: 0 !important;
}

/* Map ambient — soft glow only (no rectangular HUD stills that leak as cards) */
.map { position: relative; overflow: hidden; }
.map-ambient {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background: radial-gradient(ellipse 70% 55% at 50% 45%, rgba(34,211,238,0.09), transparent 70%);
  opacity: 0.9;
  filter: none;
  mix-blend-mode: screen;
  animation: none;
  border: none !important;
  box-shadow: none !important;
}

/* CRITICAL: decorative map layers MUST stay out of document flow */
.net-particles {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  width: auto !important;
  height: auto !important;
}
.map-svg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  pointer-events: none !important;
  overflow: visible !important;
}
.map-ambient {
  position: absolute !important;
  inset: 0 !important; /* was -2% — still absolute, but zero flow impact */
  z-index: 0 !important;
  pointer-events: none !important;
}
.map-stage {
  position: relative !important;
  z-index: 4 !important;
}

/* Energy ribbons between sections */
.energy-ribbon {
  position: relative; z-index: 1; pointer-events: none;
  width: min(var(--wide, 1120px), calc(100% - 48px));
  height: 2px; margin: 8px auto 4px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.55), rgba(59,130,246,0.45), transparent);
  overflow: hidden; border-radius: 999px;
}
.energy-ribbon span {
  position: absolute; top: -3px; left: -20%;
  width: 28%; height: 8px;
  background: linear-gradient(90deg, transparent, #67e8f9, transparent);
  filter: blur(2px);
  animation: ribbonRun 3.8s linear infinite;
}
.ribbon-b span { animation-delay: -1.6s; animation-duration: 4.6s; }
@keyframes ribbonRun { to { transform: translateX(420%); } }

/* Content readability shields */
.block, .strip, .close {
  position: relative; z-index: 1;
}
.block.empresa .empresa-intro,
.block .lead {
  text-shadow: 0 1px 18px rgba(5,11,24,0.55);
}
.hd { backdrop-filter: blur(18px) saturate(1.35); background: rgba(5,11,24,0.78); }

@media (max-width: 759px) {
  .evo-atmosphere-img { opacity: 0.07 !important; }
  .evo-img-b { opacity: 0.1 !important; background-size: min(78vw, 340px) !important; }
  .hero-ring-glow { opacity: 0.12; width: min(70vw, 300px); }
  .evo-streams, .evo-radar, .hud-sm { display: none; }
  .evo-orbs .o2 { display: none; }
  .map-ambient { opacity: 0.08; }
}

@media (prefers-reduced-motion: reduce) {
  .evo-img-a, .evo-img-b, .hero-ring-glow, .map-ambient,
  .evo-orbs .orb, .energy-ribbon span, .radar-sweep, .hud-orbit, .stream,
  .const-line, .cnode { animation: none !important; }
  .evo-scan, .evo-scan-2 { display: none !important; }
  .evo-atmosphere-img { opacity: 0.05 !important; }
}


/* Clip map section — no ambient/panel bleed into next block */
section#mapa {
  overflow: hidden;
}
.hero-ambient .hero-panel-ghost { display: none !important; }


/* v738 — no hero ambient card / clip overlay */
.hero-ambient,
.hero-ring-glow,
.hero-panel-ghost {
  display: none !important;
  opacity: 0 !important;
  background: none !important;
  pointer-events: none !important;
}
.hero-text {
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  min-height: 0 !important;
  padding: 0 !important;
}
.hero-sub { margin-bottom: 0 !important; }

/* v739 — L1 pillar Seguir / Voltar (under expanded branch) */
.map-l1-nav {
  position: relative; z-index: 6;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 12px; width: 100%; max-width: 100%;
  margin: 8px auto 4px; padding: 6px 8px 2px;
  box-sizing: border-box;
  pointer-events: auto;
}
.map-l1-nav[hidden] { display: none !important; }
.map-l1-nav-btn {
  position: relative; z-index: 7; pointer-events: auto;
  appearance: none; cursor: pointer;
  min-height: 44px; min-width: 118px; padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 30% 20%, rgba(34,211,238,0.22), rgba(13,25,48,0.95) 70%);
  color: #e8fbff; font-weight: 700; font-size: 0.86rem; letter-spacing: 0.01em;
  box-shadow: 0 0 22px rgba(34,211,238,0.16);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.map-l1-nav-btn:hover {
  border-color: var(--cyan); color: #fff;
  background: radial-gradient(circle at 30% 20%, rgba(34,211,238,0.32), rgba(13,25,48,0.96) 68%);
  box-shadow: 0 0 30px rgba(34,211,238,0.28);
}
.map-l1-nav-btn:active { transform: translateY(1px); }
.map-l1-nav-btn[hidden] { display: none !important; }
.map-l1-nav-next {
  border-color: rgba(34,211,238,0.55);
  color: #fff;
}
.map-l1-nav-back {
  background: radial-gradient(circle at 30% 20%, rgba(59,130,246,0.18), rgba(13,25,48,0.94) 72%);
  color: var(--cyan-soft);
}
@media (max-width: 759px) {
  .map-l1-nav { gap: 10px; margin-top: 12px; }
  .map-l1-nav-btn { min-width: min(46vw, 150px); flex: 1 1 auto; max-width: 180px; }
}

/* v739b — nav sits inside L2 column under leaves */
#map-level-2 .map-l1-nav {
  width: 100%;
  max-width: none;
  margin: 14px 0 2px;
  padding: 4px 0 0;
  gap: 10px;
  justify-content: stretch;
}
#map-level-2 .map-l1-nav-btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  width: auto;
}
#map-level-2.map-level--down.is-dense .map-l1-nav {
  grid-column: 1 / -1;
}

/* v741 guided tour — same Seguir/Voltar chrome */
.map-l1-nav[data-tour-index] { /* tour active */ }
