/* ============================================================================
   Funnel Labs Dashboard — Sales Page
   Mission Control: wall de KPIs (≠ inbox, e-mail, constelação)
   Fontes: Playfair Display + Space Grotesk + IBM Plex Mono
   ============================================================================ */

:root {
  --void: #050505;
  --surface: #0a0c10;
  --panel: #10141c;
  --panel-2: #161c28;
  --accent: #ff5a00;
  --accent-2: #ff8c40;
  --data: #38bdf8;
  --data-soft: rgba(56, 189, 248, 0.14);
  --ok: #22c55e;
  --warn: #f59e0b;
  --white: #fdfdfd;
  --paper: #f3f1ec;
  --line: rgba(253, 253, 253, 0.08);
  --line-l: rgba(10, 10, 10, 0.09);

  --display: "Playfair Display", Georgia, serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1180px;
  --hdr: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--void);
  color: rgba(253, 253, 253, 0.82);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
::selection { background: rgba(255, 90, 0, 0.35); color: #fff; }

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* Header */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  height: var(--hdr);
  z-index: 50;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.hdr.is-on {
  background: rgba(5, 5, 5, 0.8);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}
.hdr__in {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 12px rgba(255, 90, 0, 0.45));
}
.brand__mark svg { display: block; width: 34px; height: 34px; }
.brand__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.1;
}
.brand__name span { color: var(--accent); }
.brand__sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(253, 253, 253, 0.35);
  margin-top: 3px;
}
.nav {
  display: flex;
  gap: 20px;
  font-size: 13.5px;
  color: rgba(253, 253, 253, 0.5);
}
.nav a:hover { color: var(--white); }
.hdr__act { display: flex; align-items: center; gap: 10px; }
.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #141414;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span { width: 16px; height: 1.5px; background: var(--white); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn--sm { height: 38px; padding: 0 14px; font-size: 13px; }
.btn--lg { height: 50px; padding: 0 22px; font-size: 15px; }
.btn--primary {
  font-family: var(--display);
  font-weight: 600;
  color: #0e0e0e;
  background: linear-gradient(180deg, #ff8c40, #ff5a00 48%, #f04e00);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 28px -10px rgba(255,90,0,.55);
  border: 0;
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 14px 32px -10px rgba(255,90,0,.7);
}
.btn--ghost {
  background: #141414;
  border: 1px solid var(--line);
  color: rgba(253,253,253,.82);
}
.btn--ghost:hover {
  background: #1a1a1a;
  border-color: rgba(253,253,253,.16);
}
.cta-hold { cursor: default; }
.cta-hold:hover { transform: none; }
.cta-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,253,253,.38);
}

/* ========== HERO: MISSION CONTROL WALL ========== */
.hero {
  position: relative;
  min-height: min(100vh, 900px);
  padding: calc(var(--hdr) + 48px) 0 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 75% 30%, rgba(56, 189, 248, 0.08), transparent 55%),
    radial-gradient(700px 420px at 10% 80%, rgba(255, 90, 0, 0.07), transparent 50%),
    var(--void);
}
.hero__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 20px;
}
.hero__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--data);
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.5);
  animation: pulse-d 1.8s ease-out infinite;
}
.hero__h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--white);
  margin: 0;
}
.hero__h1 .italic { font-style: italic; font-weight: 500; color: rgba(253,253,253,.88); }
.hero__h1 .grad {
  background: linear-gradient(120deg, #7dd3fc, #38bdf8 40%, #ff5a00 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  margin: 18px 0 0;
  max-width: 42ch;
  font-size: clamp(16px, 1.5vw, 18px);
  color: rgba(253, 253, 253, 0.55);
  line-height: 1.65;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero__meta strong {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  color: var(--white);
  letter-spacing: -0.02em;
}
.hero__meta span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(253,253,253,.4);
  line-height: 1.35;
}

/* Wall always visible */
.wall {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(165deg, #121820, #0a0e14);
  border: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow:
    0 1px 0 rgba(255,255,255,.04) inset,
    0 40px 80px -32px rgba(0,0,0,.9);
  padding: 16px;
  overflow: hidden;
  opacity: 1;
  transform: none;
}
.wall::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(56,189,248,.4), rgba(255,90,0,.2) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.wall__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0 4px 10px;
  border-bottom: 1px solid var(--line);
}
.wall__tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.wall__tab {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(253,253,253,.45);
  background: transparent;
  border: 1px solid transparent;
}
.wall__tab.is-on {
  color: #7dd3fc;
  background: var(--data-soft);
  border-color: rgba(56, 189, 248, 0.28);
}
.wall__live {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ok);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wall__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse-d 1.6s ease-out infinite;
}
.wall__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}
.kpi {
  padding: 14px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #171d28, #10151e);
  border: 1px solid var(--line);
}
.kpi small {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253,253,253,.4);
}
.kpi strong {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}
.kpi em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ok);
}
.kpi em.down { color: #f87171; }
.kpi svg {
  display: block;
  width: 100%;
  height: 28px;
  margin-top: 10px;
}
.wall__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}
.panel {
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #171d28, #10151e);
  border: 1px solid var(--line);
  min-height: 150px;
}
.panel__h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.panel__h span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,253,253,.4);
}
.panel__h b {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent-2);
  font-weight: 500;
}
.funnel-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.funnel-row div {
  display: grid;
  grid-template-columns: 70px 1fr 40px;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: rgba(253,253,253,.7);
}
.funnel-row i {
  height: 8px;
  border-radius: 999px;
  background: #1a2230;
  overflow: hidden;
  display: block;
}
.funnel-row i b {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8c40, #ff5a00);
}
.funnel-row em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(253,253,253,.4);
  text-align: right;
}
.alert-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.alert-list article {
  padding: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  font-size: 12px;
  color: rgba(253,253,253,.72);
  line-height: 1.4;
}
.alert-list strong {
  display: block;
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.alert-list strong.warn { color: var(--warn); }
.alert-list strong.ok { color: var(--ok); }
.alert-list strong.data { color: var(--data); }

/* Sections */
.sec {
  position: relative;
  z-index: 2;
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}
.sec--tight { padding: 72px 0; }
.sec.sec--ink {
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(56,189,248,.05), transparent 55%),
    var(--void);
}
.sec.sec--soft {
  background: #0c0e12;
}
.sec.sec--paper {
  --t1: #0a0a0a;
  --t2: rgba(10,10,10,.84);
  --t3: rgba(10,10,10,.58);
  color: var(--t2);
  background:
    radial-gradient(800px 420px at 85% -10%, rgba(255,90,0,.07), transparent 55%),
    var(--paper);
  border-bottom-color: var(--line-l);
}
.sec.sec--paper .h2,
.sec.sec--paper .h3,
.sec.sec--paper .card h3,
.sec.sec--paper .faq__q { color: var(--t1); }
.sec.sec--paper .lead,
.sec.sec--paper .card p,
.sec.sec--paper .faq__a { color: var(--t3); }
.sec.sec--paper .eyebrow { color: var(--accent); }
.sec.sec--paper .card,
.sec.sec--paper .faq__item {
  background: #fffcfa;
  border-color: var(--line-l);
  box-shadow: 0 18px 40px -28px rgba(10,10,10,.18);
}
.sec.sec--paper .faq__icon {
  background: rgba(255,90,0,.1);
  border-color: rgba(255,90,0,.28);
  color: var(--accent);
}
.sec.sec--paper .faq__item.is-open .faq__icon {
  background: var(--accent);
  color: #0e0e0e;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}
.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3.8vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
  margin: 0;
}
.h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(17px, 1.8vw, 21px);
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 8px;
}
.lead {
  margin: 14px 0 0;
  max-width: 50ch;
  font-size: clamp(15px, 1.4vw, 17px);
  color: rgba(253,253,253,.55);
  line-height: 1.65;
}

/* Problem static */
.problem { display: flex; flex-direction: column; gap: 32px; }
.problem__head { max-width: 620px; }
.problem__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.card {
  padding: 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, #121820, #0d1118);
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s var(--ease);
}
.card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}
.card p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(253,253,253,.55);
  line-height: 1.55;
}

/* Integrations row */
.integ {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.integ article {
  padding: 18px 16px;
  border-radius: 13px;
  background: linear-gradient(180deg, #121820, #0d1118);
  border: 1px solid var(--line);
}
.integ strong {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.integ span {
  font-size: 13px;
  color: rgba(253,253,253,.48);
  line-height: 1.45;
}

/* Modules */
.mods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mod {
  padding: 24px 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, #121820, #0d1118);
  border: 1px solid var(--line);
  min-height: 170px;
  display: flex;
  flex-direction: column;
}
.mod .tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7dd3fc;
  background: var(--data-soft);
  border: 1px solid rgba(56,189,248,.25);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 14px;
}
.mod p {
  margin: 0;
  font-size: 14px;
  color: rgba(253,253,253,.52);
  line-height: 1.55;
  flex: 1;
}

/* Setup steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  counter-reset: st;
}
.step {
  padding: 20px 16px;
  border-radius: 14px;
  background: #fffcfa;
  border: 1px solid var(--line-l);
  counter-increment: st;
}
.step::before {
  content: counter(st, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.step h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  color: #0a0a0a;
  margin: 0 0 8px;
}
.step p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(10,10,10,.55);
  line-height: 1.5;
}

/* Access */
.access {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}
.access__main {
  padding: 32px 28px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(56,189,248,.12), transparent 50%),
    linear-gradient(160deg, #121820, #0c1016);
  border: 1px solid rgba(56, 189, 248, 0.22);
}
.access__main h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--white);
}
.checks {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checks li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: rgba(253,253,253,.82);
}
.checks li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background:
    linear-gradient(#0e0e0e,#0e0e0e) 50% 55% / 7px 1.5px no-repeat,
    linear-gradient(#0e0e0e,#0e0e0e) 42% 45% / 1.5px 5px no-repeat,
    var(--ok);
  transform: rotate(40deg);
}
.access__side { display: flex; flex-direction: column; gap: 12px; }
.note {
  flex: 1;
  padding: 20px;
  border-radius: 13px;
  background: linear-gradient(180deg, #121820, #0d1118);
  border: 1px solid var(--line);
}
.note h4 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--white);
}
.note p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(253,253,253,.5);
  line-height: 1.55;
}

/* FAQ center */
.wrap--center { display: flex; flex-direction: column; align-items: center; }
.faq-head {
  width: 100%;
  max-width: 820px;
  text-align: center;
  margin-bottom: 28px;
}
.faq-head .eyebrow { justify-content: center; }
.faq-head .h2 { text-align: center; }
.faq {
  width: 100%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__item {
  border-radius: 12px;
  background: linear-gradient(180deg, #121820, #0d1118);
  border: 1px solid var(--line);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}
.faq__icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(56,189,248,.12);
  border: 1px solid rgba(56,189,248,.28);
  color: var(--data);
  flex-shrink: 0;
  transition: transform .25s var(--ease);
  font-weight: 600;
}
.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: var(--data);
  color: #0a0e14;
}
.faq__a {
  display: none;
  padding: 0 20px 18px;
  color: rgba(253,253,253,.55);
  font-size: 14.5px;
  line-height: 1.6;
}
.faq__item.is-open .faq__a { display: block; }

.final {
  text-align: center;
  padding: 96px 0;
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(56,189,248,.1), transparent 55%),
    var(--void);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.final .h2 { max-width: 16ch; margin-inline: auto; }
.final .lead { margin-inline: auto; }
.final__ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.final__note {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,253,253,.3);
}

.ftr { padding: 36px 0 48px; position: relative; z-index: 2; }
.ftr__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ftr__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253,253,253,.35);
}
.ftr__links {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: rgba(253,253,253,.4);
}
.ftr__links a:hover { color: var(--accent-2); }

.drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
}
.drawer.is-open { display: block; }
.drawer__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(100%, 320px);
  height: 100%;
  background: #0a0c10;
  border-left: 1px solid var(--line);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer__close {
  align-self: flex-end;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #141414;
  margin-bottom: 12px;
}
.drawer a {
  padding: 14px 12px;
  border-radius: 10px;
  font-size: 15px;
}

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

@keyframes pulse-d {
  0% { box-shadow: 0 0 0 0 rgba(56,189,248,.5); }
  70% { box-shadow: 0 0 0 8px rgba(56,189,248,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,189,248,0); }
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .wall { order: 2; }
  .nav { display: none; }
  .burger { display: inline-flex; }
  .mods { grid-template-columns: 1fr 1fr; }
  .integ { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .access { grid-template-columns: 1fr; }
  .problem__list { grid-template-columns: 1fr; }
  .wall__main { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero { min-height: auto; padding-bottom: 40px; }
  .hero__meta { grid-template-columns: 1fr; }
  .wall__kpis { grid-template-columns: 1fr; }
  .mods, .integ, .steps { grid-template-columns: 1fr; }
  .sec { padding: 72px 0; }
  .wrap { width: min(100% - 28px, var(--max)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* hero headline fluid — 2 linhas, sem encaixotar palavra a palavra */
.hero__h1,
.hero .h1,
.hero h1.h1 {
  max-width: min(100%, 24ch);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
@media (min-width: 981px) {
  .hero__h1,
  .hero .h1,
  .hero h1.h1 {
    max-width: min(100%, 22ch);
    font-size: clamp(2.35rem, 3.6vw, 3.55rem);
  }
}
@media (max-width: 980px) {
  .hero__h1,
  .hero .h1,
  .hero h1.h1 {
    max-width: 100%;
    font-size: clamp(2rem, 7.2vw, 2.65rem);
  }
  /* copy + CTA primeiro; visual/animação embaixo */
  .hero__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .hero__copy,
  .hero__grid > div:first-child:not(.hero__bg) {
    order: 1;
  }
  .hero__grid > .brief,
  .hero__grid > .stage,
  .hero__grid > .mc,
  .hero__grid > .mm,
  .hero__grid > .flow,
  .hero__grid > .orbit,
  .hero__grid > .kpi,
  .hero__grid > .inbox,
  .hero__grid > .hero__visual,
  .hero__grid > .visual,
  .hero__grid > .panel,
  .hero__grid > aside,
  .hero__grid > .mock,
  .hero__grid > [aria-hidden="true"]:not(.hero__bg) {
    order: 2;
  }
}
/* mobile-order-final */

@media (max-width: 980px) {
  .hero__grid { display: grid !important; grid-template-columns: 1fr !important; }
  .hero__copy, .hero__grid > div:first-child { order: 1; }
  .hero__visual, .kpi, .hero__grid > *:last-child { order: 2; }
  .hero__h1 { max-width: 100% !important; }
}

/* mobile-order-final-v2 */
@media (max-width: 980px) {
  .hero__grid { display: grid !important; grid-template-columns: 1fr !important; }
  .hero__grid > div:first-child { order: 1 !important; }
  .wall { order: 2 !important; }
}

/* === polish v5: por dentro + para quem === */
.demo-sec { padding: 88px 0; position: relative; }
.demo-sec--ink { background: #070708; }
.demo-sec--soft {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,90,0,.07), transparent 55%),
    #0a0a0c;
}
.demo-head { max-width: 560px; margin-bottom: 32px; }
.demo-panel {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(165deg, #141416 0%, #0c0c0e 100%);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.45);
  margin-bottom: 28px;
}
.demo-panel__bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.35); font-family: var(--mono), ui-monospace, monospace;
  font-size: 11px; color: rgba(255,255,255,.45);
}
.demo-panel__bar b { color: rgba(255,255,255,.85); font-weight: 600; }
.demo-panel__dots { display: flex; gap: 5px; }
.demo-panel__dots i { width: 8px; height: 8px; border-radius: 50%; background: #333; }
.demo-panel__dots i:nth-child(1){background:#ff5f57}
.demo-panel__dots i:nth-child(2){background:#febc2e}
.demo-panel__dots i:nth-child(3){background:#28c840}
.demo-panel__body {
  display: grid; grid-template-columns: 1.1fr 1fr; min-height: 280px;
}
.demo-panel__col {
  padding: 16px; border-right: 1px solid rgba(255,255,255,.06);
}
.demo-panel__col:last-child { border-right: 0; }
.demo-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; margin-bottom: 8px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  font-size: 13px; color: rgba(255,255,255,.75);
  transition: border-color .25s, background .25s, transform .35s cubic-bezier(.16,1,.3,1);
}
.demo-row.is-on {
  border-color: rgba(255,90,0,.4);
  background: rgba(255,90,0,.1);
  transform: translateX(4px);
}
.demo-row strong { display: block; font-size: 13px; color: #fff; font-weight: 600; }
.demo-row small { display: block; font-size: 11px; color: rgba(255,255,255,.4); margin-top: 2px; }
.demo-pill {
  font-family: var(--mono), ui-monospace, monospace; font-size: 9px;
  letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px;
  border-radius: 999px; background: rgba(255,90,0,.15); color: #ff8c40; white-space: nowrap;
}
.demo-pill--ok { background: rgba(34,197,94,.15); color: #4ade80; }
.demo-pill--sky { background: rgba(96,165,250,.15); color: #60a5fa; }
.demo-pill--teal { background: rgba(45,212,191,.15); color: #2dd4bf; }
.demo-pill--rose { background: rgba(251,113,133,.15); color: #fb7185; }
.demo-preview {
  padding: 18px; border-radius: 12px; background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08); min-height: 200px;
}
.demo-preview h4 {
  margin: 0 0 8px; font-family: var(--display), Georgia, serif;
  font-size: 1.15rem; color: #fff; letter-spacing: -.02em; line-height: 1.25;
}
.demo-preview p { margin: 0 0 10px; font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5; }
.demo-preview ul { margin: 0; padding: 0 0 0 16px; font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.5; }
.demo-preview .demo-cta {
  display: inline-block; margin-top: 12px; padding: 8px 14px; border-radius: 999px;
  background: linear-gradient(135deg,#ff5a00,#ff7a2e); color: #fff; font-size: 12px; font-weight: 700;
}
.who-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 12px;
}
.who-card {
  padding: 22px 18px; border-radius: 16px;
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.08);
}
.who-card h3 {
  margin: 0 0 8px; font-family: var(--display), Georgia, serif;
  font-size: 1.15rem; color: #fff; letter-spacing: -.02em;
}
.who-card p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.5); }
.sec--paper .who-card {
  background: #fff; border-color: rgba(10,10,10,.09);
}
.sec--paper .who-card h3 { color: #0a0a0a; }
.sec--paper .who-card p { color: rgba(10,10,10,.55); }
.proof-line {
  font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.55); max-width: 640px;
}
.sec--paper .proof-line { color: rgba(10,10,10,.58); }
@media (max-width: 900px) {
  .demo-panel__body { grid-template-columns: 1fr; }
  .demo-panel__col { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .who-grid { grid-template-columns: 1fr; }
}

/* interactive demo rows */
.demo-row { cursor: pointer; user-select: none; }
.demo-row:hover { border-color: rgba(255,90,0,.35); background: rgba(255,90,0,.08); }
.demo-row:focus-visible { outline: 2px solid rgba(255,90,0,.5); outline-offset: 2px; }
.demo-hint {
  font-size: 12px; color: rgba(255,255,255,.4); margin: 0 0 12px;
  font-family: var(--mono), ui-monospace, monospace; letter-spacing: .04em;
}

