/* =========================================================
   CrabDoubleGreen · site v2
   Design system (UI/UX Pro Max): Dark Mode (OLED) + verde positivo,
   Inter (display/texto) + JetBrains Mono (dados).
   ========================================================= */

:root {
  /* superfícies */
  --bg: #030807;
  --bg-2: #061210;
  --panel: #071512;
  --card: #0b1b17;
  --card-2: #0f241f;
  --line: rgba(190, 255, 220, .09);
  --line-2: rgba(190, 255, 220, .16);

  /* texto */
  --text: #eef6f2;
  --muted: #9fb3aa;      /* 8.2:1 sobre --bg */
  --dim: #74887f;        /* 4.9:1 sobre --bg, só para rótulos */

  /* marca */
  --green: #22c55e;
  --green-2: #4ade80;
  --green-ink: #03140a;
  --green-soft: rgba(34, 197, 94, .12);
  --crab: #fb923c;
  --crab-2: #c2410c;
  --semi: #fbbf24;
  --pos: #7dd3fc;
  --danger: #f87171;

  /* tipografia */
  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* espaço / forma */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --sec: clamp(72px, 10vw, 128px);

  /* movimento */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --t-fast: 160ms;
  --t: 260ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 700; color: var(--text); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.g { color: var(--green-2); }
.hl {
  background: linear-gradient(92deg, var(--green-2) 0%, #a3f7c4 55%, var(--green) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--green); color: var(--green-ink); font-weight: 700;
  padding: 10px 16px; border-radius: var(--r-sm); transition: top var(--t-fast);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------------- botões ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--t-fast) var(--ease), background var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.btn .ic { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--green); color: var(--green-ink);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, .4) inset, 0 8px 28px -8px rgba(34, 197, 94, .6);
}
.btn-primary:hover { background: var(--green-2); box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 12px 36px -8px rgba(34, 197, 94, .8); }
.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(190,255,220,.3); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  cursor: pointer; transition: background var(--t-fast);
}
.icon-btn:hover { background: rgba(255,255,255,.08); }

/* ---------------- tags ---------------- */
.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px;
  font: 700 11px/1 var(--f-mono); letter-spacing: .06em; white-space: nowrap;
}
.tag-dg { background: rgba(34,197,94,.16); color: var(--green-2); box-shadow: 0 0 0 1px rgba(74,222,128,.35) inset; }
.tag-semi { background: rgba(251,191,36,.13); color: var(--semi); box-shadow: 0 0 0 1px rgba(251,191,36,.35) inset; }
.tag-pos { background: rgba(125,211,252,.12); color: var(--pos); box-shadow: 0 0 0 1px rgba(125,211,252,.3) inset; }
.tag-lg { height: 30px; padding: 0 12px; font-size: 12px; }

.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); flex: none;
  box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 1.8s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.55); } 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

.age {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--danger); color: var(--danger); font: 800 14px/1 var(--f-mono);
}
.age-sm { width: 30px; height: 30px; font-size: 10px; border-width: 1.5px; vertical-align: middle; margin-right: 6px; }

/* ---------------- header ---------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(3, 8, 7, .72);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color var(--t), background var(--t);
}
.header.is-scrolled { border-bottom-color: var(--line); background: rgba(3, 8, 7, .88); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.brand img { image-rendering: pixelated; }
.brand b { color: var(--green-2); font-weight: 800; }
.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav a.is-active { color: var(--text); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }
.menu-mobile { border-top: 1px solid var(--line); background: rgba(3,8,7,.97); }
.menu-mobile nav { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; padding-bottom: 20px; }
.menu-mobile a:not(.btn) { padding: 13px 4px; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); }
.menu-mobile .btn { margin-top: 16px; }

/* ---------------- hero ---------------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); overflow: hidden; isolation: isolate; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(190,255,220,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190,255,220,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute; z-index: -1; width: 900px; height: 700px; right: -200px; top: -240px;
  background: radial-gradient(closest-side, rgba(34,197,94,.22), rgba(34,197,94,.06) 55%, transparent);
  filter: blur(10px);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(34,197,94,.06);
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.hero-title {
  margin-top: 24px;
  font-size: clamp(44px, 7.2vw, 88px); font-weight: 900; line-height: .98; letter-spacing: -.045em;
}
.hero-lead { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0;
  margin: 40px 0 0; border-top: 1px solid var(--line); padding-top: 22px;
}
.hero-stats div { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stats dt { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.hero-stats dd { margin: 4px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }

/* feed */
.hero-demo { position: relative; }
.feed {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(15,36,31,.9), rgba(7,21,18,.95));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.4), 0 0 80px -20px rgba(34,197,94,.25);
}
.feed-bar {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  border-bottom: 1px solid var(--line); background: rgba(0,0,0,.25);
}
.feed-dots { display: flex; gap: 6px; }
.feed-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.12); }
.feed-title { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.feed-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--green-2);
}
.feed-list { display: flex; flex-direction: column; gap: 8px; padding: 14px; min-height: 228px; }
.sig {
  display: grid; grid-template-columns: 56px 1fr auto; column-gap: 14px;
  align-items: center; padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,.025); border: 1px solid var(--line);
  transition: transform 420ms var(--ease), opacity 420ms var(--ease), background var(--t);
}
.sig-pct {
  display: grid; place-items: center; height: 44px; border-radius: 10px;
  font-size: 15px; font-weight: 700; color: var(--green-ink); background: var(--green-2);
}
.sig-semi .sig-pct { background: var(--semi); color: #241600; }
.sig-pos .sig-pct { background: var(--pos); color: #04202e; }
.sig-main { min-width: 0; }
.sig-main b { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sig-main small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sig-main em { font-style: normal; color: var(--dim); padding: 0 2px; }
.sig .tag { justify-self: end; }
.sig.is-new { background: rgba(34,197,94,.09); border-color: rgba(74,222,128,.35); }
.sig.is-entering { opacity: 0; transform: translateY(-12px) scale(.98); }

.feed-calc {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 28px; padding: 16px 18px 18px;
  border-top: 1px solid var(--line); background: rgba(34,197,94,.05);
}
.feed-calc small { display: block; font-size: 10.5px; letter-spacing: .12em; color: var(--dim); font-weight: 700; }
.feed-calc b { font-size: 22px; font-weight: 700; }
.feed-note { margin-left: auto; font-size: 11.5px; color: var(--dim); }
.hero-crab {
  position: absolute; right: 32px; top: -66px; width: 96px; image-rendering: pixelated;
  filter: drop-shadow(0 10px 20px rgba(251,146,60,.35));
  animation: crab 5s var(--ease) infinite;
}
@keyframes crab { 0%, 100% { transform: translateX(0) rotate(0); } 25% { transform: translateX(10px) rotate(-3deg); } 50% { transform: translateX(0) rotate(0); } 75% { transform: translateX(-8px) rotate(3deg); } }

/* ---------------- seções ---------------- */
.section { position: relative; padding: var(--sec) 0; }
.section-panel { background: var(--panel); border-block: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head-center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-2);
}
.eyebrow span {
  display: inline-grid; place-items: center; height: 22px; padding: 0 7px; border-radius: 6px;
  background: var(--green-soft); box-shadow: 0 0 0 1px rgba(74,222,128,.3) inset; letter-spacing: 0;
}
.h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
.sec-sub { margin-top: 18px; font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 40em; }
.sec-head-center .sec-sub { margin-inline: auto; }

/* ---------------- versus ---------------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); }
.vs-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.vs h3 { margin-top: 10px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; }
.vs ul { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.vs li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.vs li .ic { margin-top: 3px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; }
.vs-bad li .ic { color: var(--danger); background: rgba(248,113,113,.1); }
.vs-good {
  background: linear-gradient(160deg, rgba(34,197,94,.12), rgba(34,197,94,.02) 60%), var(--card);
  border-color: rgba(74,222,128,.3);
}
.vs-good .vs-label { color: var(--green-2); }
.vs-good li { color: var(--text); }
.vs-good li .ic { color: var(--green-ink); background: var(--green-2); stroke-width: 3; }

/* ---------------- como funciona ---------------- */
.how { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.steps { display: flex; flex-direction: column; gap: 4px; counter-reset: s; }
.step { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step-n {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--card-2); border: 1px solid var(--line-2); color: var(--green-2); font-weight: 700;
}
.step h3 { font-size: 20px; font-weight: 700; }
.step p { margin-top: 8px; color: var(--muted); }
.step em { font-style: normal; color: var(--text); font-weight: 600; }

.calc {
  position: sticky; top: 92px;
  padding: clamp(20px, 2.6vw, 28px); border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.calc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.calc-title { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.calc-title .ic { color: var(--green-2); }
.calc-hint { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.calc-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field span { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text);
  font: 700 18px/1 var(--f-mono);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:hover { border-color: rgba(190,255,220,.28); }
.field input:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(74,222,128,.18); }
.field input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(248,113,113,.15); }
.calc-help { margin-top: 8px; font-size: 13px; color: var(--dim); }
.calc-help.is-error { color: var(--danger); }
.calc-sum {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px dashed var(--line-2);
}
.calc-sum .mono { font-size: 14px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 8px; font-size: 13px; font-weight: 700; }
.badge-ok { background: var(--green-soft); color: var(--green-2); }
.badge-bad { background: rgba(248,113,113,.12); color: var(--danger); }
.calc-split { display: flex; height: 8px; margin-top: 18px; border-radius: 99px; overflow: hidden; gap: 3px; }
.calc-split span { transition: width 400ms var(--ease); border-radius: 99px; }
.calc-split-a { background: var(--green-2); }
.calc-split-b { background: var(--crab); }
.calc-rows { margin: 14px 0 0; }
.calc-rows div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.calc-rows dt { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.calc-rows dd { margin: 0; font-size: 17px; font-weight: 700; }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dot-a { background: var(--green-2); }
.dot-b { background: var(--crab); }
.calc-dg {
  margin-top: 16px; padding: 16px 18px; border-radius: 14px;
  background: linear-gradient(120deg, rgba(34,197,94,.22), rgba(34,197,94,.06));
  border: 1px solid rgba(74,222,128,.35);
}
.calc-dg small { display: block; font-size: 11px; letter-spacing: .1em; color: var(--green-2); font-weight: 700; }
.calc-dg b { display: block; margin-top: 4px; font-size: clamp(26px, 3vw, 32px); font-weight: 700; }
.calc.is-bad .calc-dg { opacity: .4; }
.calc-foot { margin-top: 14px; font-size: 13px; color: var(--dim); }

/* ---------------- double green ---------------- */
.section-dg { overflow: hidden; isolation: isolate; }
.dg-glow {
  position: absolute; z-index: -1; left: 50%; top: 30%; width: 1100px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(34,197,94,.16), transparent);
}
.dg { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: stretch; }
.dg-board {
  padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line-2);
}
.dg-lanes { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); row-gap: 10px; }
.lane {
  display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 10px 14px; border-radius: 12px;
  font-weight: 700; font-size: 15px; transition: opacity var(--t), filter var(--t);
}
.lane small { font-size: 11.5px; font-weight: 500; opacity: .85; }
.lane-under { grid-column: 1 / 5; grid-row: 1; background: rgba(251,146,60,.14); color: #fdba74; box-shadow: 0 0 0 1px rgba(251,146,60,.4) inset; }
.lane-over { grid-column: 4 / 7; grid-row: 2; background: rgba(74,222,128,.13); color: var(--green-2); box-shadow: 0 0 0 1px rgba(74,222,128,.4) inset; text-align: right; align-items: flex-end; }
.lane.is-off { opacity: .28; filter: saturate(.3); }
.dg-goals { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 18px; }
.goal {
  height: 56px; border-radius: 12px; cursor: pointer;
  background: var(--bg); border: 1px solid var(--line-2);
  font: 700 20px/1 var(--f-mono); color: var(--muted);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.goal:hover { color: var(--text); border-color: rgba(190,255,220,.35); }
.goal:active { transform: scale(.96); }
.goal-mid { border-style: dashed; border-color: rgba(74,222,128,.5); }
.goal[aria-checked="true"] { background: var(--text); color: var(--bg); border-color: var(--text); border-style: solid; }
.goal-mid[aria-checked="true"] { background: var(--green); border-color: var(--green); color: var(--green-ink); box-shadow: 0 0 30px -4px rgba(34,197,94,.7); }
.dg-axis { margin-top: 12px; text-align: center; font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); }

.dg-result {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line-2);
  transition: background var(--t), border-color var(--t);
}
.dg-result.is-dg { background: linear-gradient(150deg, rgba(34,197,94,.25), rgba(34,197,94,.04) 70%), var(--card); border-color: rgba(74,222,128,.5); }
.dg-r-label { font-size: 12px; letter-spacing: .12em; color: var(--dim); font-weight: 700; }
.dg-r-title { margin-top: 8px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.dg-r-value { margin-top: 10px; font-size: clamp(36px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.is-dg .dg-r-value { color: var(--green-2); text-shadow: 0 0 24px rgba(74,222,128,.35); }
.dg-r-math { margin-top: 12px; font-size: 13px; color: var(--muted); }
#dg-tag { margin-top: 20px; }
#dg-tag[hidden], #dg-value[hidden] { display: none; }

.defs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.def { padding: 22px; border-radius: var(--r); background: rgba(255,255,255,.02); border: 1px solid var(--line); }
.def h3 { margin-top: 14px; font-size: 17px; font-weight: 700; }
.def p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* ---------------- tour do app ---------------- */
.tour { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--card); overflow: hidden; }
.tour-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.tour-tab {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 20px;
  background: none; border: 0; border-right: 1px solid var(--line); cursor: pointer;
  font-weight: 600; font-size: 15px; color: var(--muted); text-align: left;
  transition: color var(--t-fast), background var(--t-fast);
}
.tour-tab:last-child { border-right: 0; }
.tour-tab .mono { font-size: 12px; color: var(--dim); }
.tour-tab:hover { color: var(--text); background: rgba(255,255,255,.03); }
.tour-tab[aria-selected="true"] { color: var(--text); background: rgba(34,197,94,.07); }
.tour-tab[aria-selected="true"] .mono { color: var(--green-2); }
.tour-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--green-2);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease);
}
.tour-tab[aria-selected="true"]::after { transform: scaleX(1); }
.tour-tab.is-timed[aria-selected="true"]::after { animation: tabtimer 7s linear forwards; }
@keyframes tabtimer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tour-body { display: grid; grid-template-columns: .8fr 1.4fr; gap: 0; }
.tour-panels { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--line); }
.tour-panel h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; }
.tour-panel p { margin-top: 12px; color: var(--muted); }
.tour-panel:not([hidden]) { animation: fadeup 380ms var(--ease); }
.ticks { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 4px;
  background: var(--green-soft); box-shadow: 0 0 0 1px rgba(74,222,128,.5) inset;
}
.ticks li::after { content: ""; position: absolute; left: 4px; top: 11px; width: 4px; height: 4px; border-radius: 1px; background: var(--green-2); }
.tour-shot { margin: 0; padding: clamp(16px, 2.4vw, 28px); background: radial-gradient(ellipse at 70% 0%, rgba(34,197,94,.12), transparent 60%); display: flex; flex-direction: column; justify-content: center; }
.shot-frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); background: #000; }
.shot-frame img { width: 100%; transition: opacity 240ms var(--ease); }
.shot-frame img.is-swapping { opacity: 0; }
.tour-shot.is-tall .shot-frame { max-width: 270px; margin-inline: auto; }
.tour-shot figcaption { margin-top: 12px; font-size: 12.5px; color: var(--dim); text-align: center; }
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }


/* ---------------- mentoria ---------------- */
.mentor { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.mentor-copy { position: sticky; top: 100px; }
.mentor-copy .btn { margin-top: 32px; }
.pillars { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pillars li {
  display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--r);
  background: linear-gradient(160deg, rgba(34,197,94,.12), rgba(34,197,94,.02) 70%), var(--card);
  border: 1px solid rgba(74,222,128,.28);
}
.pillar-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--green-soft); color: var(--green-2); margin-bottom: 8px; }
.pillar-ic .ic { width: 18px; height: 18px; }
.pillars b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.pillars span:last-child { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.modules-label { margin-bottom: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: var(--dim); }
.modules { display: flex; flex-direction: column; gap: 12px; }
.module-mentor {
  margin-top: 12px;
  background: linear-gradient(150deg, rgba(34,197,94,.18), rgba(34,197,94,.03) 70%), var(--card);
  border-color: rgba(74,222,128,.45);
}
.module-mentor .module-ic { background: var(--green); color: var(--green-ink); }
.module {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line); transition: border-color var(--t);
}
.module:hover { border-color: rgba(74,222,128,.3); }
.module-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); color: var(--green-2); }
.module h3 { font-size: 18px; font-weight: 700; }
.module p { margin-top: 4px; color: var(--muted); font-size: 15px; }

/* ---------------- como começar ---------------- */
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.path::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 44px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(74,222,128,.45) 0 8px, transparent 8px 16px);
}
.path li { position: relative; padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.path-ic {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--green); color: var(--green-ink); box-shadow: 0 0 0 6px var(--bg), 0 0 24px -2px rgba(34,197,94,.7);
}
.path-ic .ic { width: 18px; height: 18px; }
.path-n { margin-top: 18px; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--dim); }
.path h3 { margin-top: 6px; font-size: 18px; font-weight: 700; }
.path p:last-child { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* ---------------- planos ---------------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line-2);
  transition: transform var(--t) var(--ease), border-color var(--t);
}
.plan:hover { transform: translateY(-3px); border-color: rgba(190,255,220,.3); }
.plan h3 { font-size: 20px; font-weight: 800; }
.plan-days { margin-top: 4px; font-size: 12.5px; color: var(--dim); }
.plan-price { margin-top: 22px; font-size: 44px; font-weight: 900; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.plan-price .cur { font-size: 16px; font-weight: 700; color: var(--muted); margin-right: 4px; vertical-align: 18px; letter-spacing: 0; }
.plan-price .cents { font-size: 20px; font-weight: 800; color: var(--muted); letter-spacing: -.02em; }
.plan-month { margin-top: 10px; font-size: 14px; color: var(--muted); }
.plan-save { margin: 6px 0 24px; font-size: 13px; font-weight: 700; color: var(--green-2); }
.plan .btn { margin-top: auto; }
.plan-best {
  background: linear-gradient(170deg, rgba(34,197,94,.2), rgba(34,197,94,.03) 60%), var(--card);
  border-color: rgba(74,222,128,.55);
  box-shadow: 0 0 0 1px rgba(74,222,128,.2), 0 30px 70px -30px rgba(34,197,94,.55);
}
.plan-best .plan-month b { color: var(--text); }
.plan-flag {
  position: absolute; top: -12px; left: 24px; height: 24px; display: inline-flex; align-items: center; padding: 0 10px;
  border-radius: 6px; background: var(--green); color: var(--green-ink); font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
}
.includes { margin-top: 32px; padding: 24px 28px; border-radius: var(--r); border: 1px dashed var(--line-2); }
.includes-title { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: var(--dim); }
.includes ul { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.includes li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.includes li .ic { color: var(--green-2); width: 18px; height: 18px; }

/* ---------------- riscos ---------------- */
.risks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.risk { padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.risk > .ic { width: 44px; height: 44px; padding: 11px; border-radius: 50%; color: var(--semi); background: rgba(251,191,36,.1); }
.risk h3 { margin-top: 16px; font-size: 18px; font-weight: 700; }
.risk p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* ---------------- faq ---------------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap .sec-head { position: sticky; top: 100px; margin-bottom: 0; }
.faq-wrap .sec-head .btn { margin-top: 28px; }
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 16px 0;
  cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; transition: color var(--t-fast);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--green-2); }
.faq summary .ic {
  width: 32px; height: 32px; padding: 7px; border-radius: 50%; border: 1px solid var(--line-2);
  transition: transform var(--t) var(--ease), background var(--t), color var(--t);
}
.faq details[open] summary .ic { transform: rotate(45deg); background: var(--green); color: var(--green-ink); border-color: var(--green); }
.faq details p { padding: 0 48px 22px 0; color: var(--muted); }
.faq details[open] p { animation: fadeup 300ms var(--ease); }

/* ---------------- final ---------------- */
.final { position: relative; padding: var(--sec) 0; overflow: hidden; isolation: isolate; text-align: center; }
.final .dg-glow { top: 50%; transform: translate(-50%, -50%); }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-crab { width: 128px; image-rendering: pixelated; filter: drop-shadow(0 16px 30px rgba(251,146,60,.4)); }
.final-title { margin-top: 28px; font-size: clamp(36px, 6vw, 72px); font-weight: 900; letter-spacing: -.045em; }
.final .btn { margin-top: 32px; }
.final-note { margin-top: 22px; display: flex; align-items: center; color: var(--dim); font-size: 14px; }

/* ---------------- footer ---------------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 32px; background: var(--bg-2); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-tag { margin-top: 10px; color: var(--muted); font-size: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-nav a { color: var(--muted); font-size: 14px; padding: 10px 0; transition: color var(--t-fast); }
.footer-nav a:hover { color: var(--text); }
.footer-legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.footer-legal p { font-size: 13px; color: var(--dim); max-width: 72em; }

.link { color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- aviso de cookies ---------------- */
.consent {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 16px; max-width: 560px; padding: 14px 14px 14px 18px; border-radius: 16px;
  background: rgba(11,27,23,.96); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.8);
  animation: fadeup 380ms var(--ease);
}
.consent p { font-size: 14px; color: var(--muted); }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.consent-btns { display: flex; gap: 8px; flex: none; }
.tem-aviso .mobile-cta { display: none !important; }
.footer-link { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-link:hover { color: var(--text); }
.footer-link[hidden] { display: none; }
@media (max-width: 600px) {
  .consent { left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 12px; }
  .consent-btns .btn { flex: 1; }
}

/* ---------------- CTA móvel ---------------- */
.mobile-cta { display: none; }

/* ---------------- reveal ---------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =================== responsivo =================== */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-demo { max-width: 620px; }
  .how { grid-template-columns: 1fr; }
  .calc { position: static; }
  .plans { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .risks { grid-template-columns: repeat(2, 1fr); }
  .path { grid-template-columns: repeat(2, 1fr); }
  .path::before { display: none; }
  .includes ul { grid-template-columns: repeat(2, 1fr); }
  .tour-body { grid-template-columns: 1fr; }
  .tour-panels { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .versus { grid-template-columns: 1fr; }
  .dg { grid-template-columns: 1fr; }
  .defs { grid-template-columns: 1fr; }
  .mentor, .faq-wrap { grid-template-columns: 1fr; }
  .mentor-copy, .faq-wrap .sec-head { position: static; }
  .tour-tabs { grid-template-columns: repeat(2, 1fr); }
  .tour-tab:nth-child(2) { border-right: 0; }
  .tour-tab:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .header-cta .btn { display: none; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stats div { padding-right: 12px; margin-right: 12px; }
  .hero-stats dd { font-size: 18px; }
  .hero-actions .btn { width: 100%; }
  .hero-crab { display: none; }
  .sig { grid-template-columns: 48px 1fr auto; column-gap: 10px; padding: 10px 12px; }
  .sig-pct { height: 40px; font-size: 13px; }
  .feed-note { margin-left: 0; width: 100%; }
  .feed-calc { gap: 10px 20px; }
  .feed-calc b { font-size: 18px; }
  .calc-inputs { grid-template-columns: 1fr 1fr; }
  .calc-inputs .field:last-child { grid-column: span 2; }
  .goal { height: 52px; font-size: 18px; }
  .lane { padding: 8px 10px; font-size: 13px; min-height: 58px; }
  .lane small { font-size: 10.5px; }
  .plans, .risks, .path { grid-template-columns: 1fr; }
  .includes ul { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; }
  .pillar-ic { margin-bottom: 0; }
  .pillars span:last-child { flex-basis: 100%; }
  .tour-tab { padding: 0 14px; font-size: 14px; }
  .faq details p { padding-right: 0; }
  .faq summary { font-size: 16px; }

  .mobile-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    padding: 10px 10px 10px 18px; border-radius: 18px;
    background: rgba(11,27,23,.92); border: 1px solid rgba(74,222,128,.3);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,.8);
    transform: translateY(160%); transition: transform 380ms var(--ease);
  }
  .mobile-cta.is-shown { transform: none; }
  .mobile-cta b { display: block; font-size: 15px; }
  .mobile-cta small { display: block; font-size: 12px; color: var(--muted); }
  .footer { padding-bottom: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
