/* ============================================================
   MIND UP · Landing Page — "Operational Cockpit" premium
   Tipografia: Sora (display) · Karla (corpo) · IBM Plex Mono (etiquetas)
   Acento único: vermelho da marca. Fundo: tinta profunda + paper quente.
   ============================================================ */

/* --- Tokens --- */
:root {
  --red: #ed443b;
  --red-bright: #ff5a4f;
  --red-deep: #c22c24;
  --red-glow: rgba(237, 68, 59, .55);

  --ink-0: #05080f;
  --ink-1: #0a101c;
  --ink-2: #0e1626;
  --ink-3: #131c2e;
  --line-dark: rgba(255, 255, 255, .09);
  --line-dark-2: rgba(255, 255, 255, .16);
  --muted-dark: #93a0b4;
  --muted-dark-2: #7c899e;

  --paper: #f6f5f1;
  --paper-2: #ffffff;
  --ink-text: #0f1622;
  --muted: #5f6b7c;
  --line: #e7e6e1;

  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Karla', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --radius: 18px;
  --radius-sm: 12px;
  --max-w: 1160px;
  --header-h: 72px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-card: 0 24px 60px rgba(8, 13, 24, .08);
  --shadow-hover: 0 34px 80px rgba(8, 13, 24, .14);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink-text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.skip-link {
  position: fixed; top: -48px; left: 16px; z-index: 200;
  padding: 12px 18px; background: var(--red); color: #fff;
  border-radius: 0 0 10px 10px; font-size: 13px; font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

::selection { background: rgba(237, 68, 59, .85); color: #fff; }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }

.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 250; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--red), #ff8b72); box-shadow: 0 0 16px var(--red-glow); will-change: transform; }

/* --- Util --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px, 5vw, 44px); }
.section { padding: clamp(84px, 10vw, 132px) 0; }
.section--ink { background: var(--ink-1); color: #fff; position: relative; overflow: hidden; }
.section--ink::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(700px 340px at 85% -10%, rgba(237, 68, 59, .10), transparent 70%);
}

.section-head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 60px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red-deep);
  margin-bottom: 18px;
}
.section-tag i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 4px rgba(237, 68, 59, .14);
}
.section-tag--light { color: var(--red-bright); }
.section-tag--light i { box-shadow: 0 0 0 4px rgba(255, 90, 79, .16); }

.section-head h2 {
  font: 800 clamp(30px, 4.2vw, 48px)/1.06 var(--font-head);
  letter-spacing: -.05em; margin-bottom: 16px; color: var(--ink-text);
}
.section--ink .section-head h2 { color: #fff; }
.section-head h2 .accent { color: var(--red); }
.section--ink h2 .accent-light { color: var(--red-bright); }
.section-sub { max-width: 620px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.section-sub--light { color: var(--muted-dark); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  white-space: nowrap; transition: transform .22s var(--ease), background .22s, box-shadow .22s, border-color .22s;
}
.btn span { font-size: 17px; font-weight: 500; transition: transform .22s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--primary {
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  color: #fff; box-shadow: 0 14px 34px rgba(237, 68, 59, .32);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(237, 68, 59, .42);
}
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: rgba(255, 255, 255, .05); color: #eef1f6;
  border: 1px solid var(--line-dark-2); backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .11); color: #fff; transform: translateY(-2px); }
.btn--ghost:active { transform: translateY(0); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn--full { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, border-color .3s, box-shadow .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(8, 13, 24, .76);
  backdrop-filter: blur(20px) saturate(1.35);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 12px 40px rgba(4, 8, 16, .35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-head); font-size: 19px; font-weight: 800;
  letter-spacing: -.04em; color: #fff; white-space: nowrap;
}
.brand img { width: 34px; height: 34px; padding: 5px; border-radius: 10px; object-fit: contain; background: #fff; }
.brand strong { color: var(--red-bright); font-weight: 800; }

.site-nav { display: flex; gap: clamp(18px, 3vw, 34px); }
.site-nav a {
  color: #c3ccd9; font-size: 13px; font-weight: 600;
  transition: color .2s, transform .2s; position: relative;
}
.nav-extra { display: none; }
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  border-radius: 2px; background: var(--red-bright); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a.is-active { color: #fff; }
.site-nav a.is-active::after { transform: scaleX(1); }

.site-actions { display: flex; align-items: center; gap: 18px; }
.login-link { color: #cfd7e2; font-size: 13px; font-weight: 600; transition: color .2s; white-space: nowrap; }
.login-link:hover { color: #fff; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; border-radius: 10px; align-items: center; }
.nav-toggle:hover { background: rgba(255, 255, 255, .08); }
.nav-toggle:active { background: rgba(255, 255, 255, .14); }
.nav-toggle span { width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh; padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 64px; color: #fff; overflow: hidden; background: var(--ink-0);
}

.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.18) contrast(1.1) brightness(.96);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(5, 8, 15, .72) 0%, rgba(5, 8, 15, .40) 38%, rgba(5, 8, 15, .14) 70%, rgba(5, 8, 15, .05) 100%),
    linear-gradient(180deg, rgba(5, 8, 15, .28) 0%, transparent 22%, transparent 78%, rgba(5, 8, 15, .45) 100%);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg__glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.hero-bg__glow--1 { top: -180px; right: -140px; width: 640px; height: 640px; background: radial-gradient(circle, rgba(237, 68, 59, .20), transparent 65%); animation: ambientDrift 12s ease-in-out infinite alternate; }
.hero-bg__glow--2 { bottom: -260px; left: -160px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(56, 92, 148, .16), transparent 65%); animation: ambientDrift 15s ease-in-out -4s infinite alternate-reverse; }
@keyframes ambientDrift { to { transform: translate3d(48px, 28px, 0) scale(1.1); } }
.hero-bg__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 28%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 28%, #000 30%, transparent 78%);
}
.hero-bg__noise {
  position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 620px; margin: 0 auto 0 0; padding: 48px clamp(20px, 5vw, 44px) 40px; text-align: left; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red-bright); margin-bottom: 24px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--red-bright); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 90, 79, .55); } 50% { box-shadow: 0 0 0 7px rgba(255, 90, 79, 0); } }

.hero h1 {
  font: 800 clamp(42px, 6vw, 76px)/1.02 var(--font-head);
  letter-spacing: -.06em; margin-bottom: 22px;
  opacity: 0; transform: translateY(26px); animation: heroUp .8s var(--ease) .05s forwards;
}
.hero h1 em { color: var(--red-bright); font-style: normal; }
.hero-sub {
  max-width: 560px; color: var(--muted-dark); font-size: 17px; line-height: 1.7; margin-bottom: 34px;
  opacity: 0; transform: translateY(22px); animation: heroUp .8s var(--ease) .16s forwards;
}
@keyframes heroUp { to { opacity: 1; transform: translateY(0); } }

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; opacity: 0; transform: translateY(22px); animation: heroUp .8s var(--ease) .28s forwards; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted-dark-2); font-size: 12.5px; opacity: 0; transform: translateY(22px); animation: heroUp .8s var(--ease) .4s forwards; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row span { color: var(--red-bright); font-weight: 700; }

.hero-price {
  margin: 0 0 22px; font-family: var(--font-mono); font-size: 13px;
  color: var(--muted-dark);
  opacity: 0; transform: translateY(22px); animation: heroUp .8s var(--ease) .34s forwards;
}
.hero-price strong { color: #fff; font: 600 15px/1 var(--font-head); letter-spacing: -.01em; }

/* Hero card — prévia do painel */
.hero-card {
  position: absolute; z-index: 2; right: clamp(20px, 5vw, 60px); top: 50%;
  width: min(410px, 40vw); transform: translateY(-50%);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-dark-2);
  background: linear-gradient(180deg, rgba(19, 28, 46, .9), rgba(10, 16, 28, .94));
  box-shadow: 0 40px 90px rgba(4, 8, 16, .55);
  backdrop-filter: blur(10px);
  opacity: 0; animation: heroCardIn .9s var(--ease) .45s forwards;
  will-change: transform;
}
@keyframes heroCardIn { to { opacity: 1; transform: translateY(-50%) translate3d(var(--card-x, 0), var(--card-y, 0), 0); } }
.hero-card__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark-2); }
.hero-card__bar span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.hero-card__bar i { width: 6px; height: 6px; border-radius: 50%; background: #46d18a; box-shadow: 0 0 0 3px rgba(70, 209, 138, .18); }
.hero-card__dots { display: flex; gap: 5px; }
.hero-card__dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted-dark-2); box-shadow: none; }
.hero-card__body { padding: 18px 16px 16px; display: grid; gap: 16px; }
.hero-card__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero-card__kpis div { padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line-dark); }
.hero-card__kpis strong { display: block; font: 800 22px/1 var(--font-head); letter-spacing: -.03em; }
.hero-card__kpis strong::first-letter { color: var(--red-bright); }
.hero-card__kpis span { display: block; margin-top: 6px; color: var(--muted-dark-2); font-size: 10px; line-height: 1.35; }
.hero-card__funnel { display: grid; gap: 7px; }
.hero-card__funnel span {
  position: relative; display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px; border-radius: 8px; overflow: hidden;
  font-size: 11px; color: #dfe6f0; font-weight: 600; z-index: 0;
}
.hero-card__funnel span::before {
  content: ''; position: absolute; inset: 0; width: var(--w);
  background: linear-gradient(90deg, rgba(237, 68, 59, .5), rgba(237, 68, 59, .12));
  opacity: .9; z-index: -1;
}
.hero-card__funnel b { font-family: var(--font-mono); font-size: 10px; font-weight: 500; color: #fff; }
.hero-card__foot { display: flex; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--line-dark); font-family: var(--font-mono); font-size: 10px; color: var(--muted-dark-2); }
.hero-card__foot b { color: var(--red-bright); }
.hero-card__foot i { font-style: normal; }

.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted-dark-2); font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.hero-scroll i { width: 18px; height: 28px; border: 1.5px solid var(--muted-dark-2); border-radius: 12px; position: relative; }
.hero-scroll i::after { content: ''; position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 3px; height: 6px; border-radius: 2px; background: var(--red-bright); animation: scrollDot 2.2s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 10px); } }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem { background: var(--paper-2); }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 46px; }
.problem-card {
  position: relative; padding: 30px 26px 28px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--paper);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
  overflow: hidden;
}
.problem-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.problem-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(237, 68, 59, .35); }
.problem-card:hover::before { transform: scaleX(1); }
.problem-icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px;
  border-radius: 12px; background: #fff; border: 1px solid var(--line);
  font-size: 22px; line-height: 1;
}
.problem-card h3 { font: 700 16.5px/1.3 var(--font-head); letter-spacing: -.02em; margin-bottom: 10px; }
.problem-card p { color: var(--muted); font-size: 13.5px; line-height: 1.65; }

.problem-cta {
  text-align: center; font-size: 19px; color: var(--muted); font-weight: 500;
  padding-top: 30px; border-top: 1px solid var(--line);
}
.problem-cta strong { color: var(--ink-text); }

/* ============================================================
   SOLUÇÃO (ink) + mock do painel
   ============================================================ */
.solution-card {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px);
  align-items: center; position: relative; z-index: 1;
}

/* Mock de app */
.mac {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark-2);
  background: linear-gradient(180deg, var(--ink-3), var(--ink-1));
  box-shadow: 0 50px 110px rgba(3, 7, 14, .6), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.mac__bar { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line-dark); }
.mac__bar-dots { display: flex; gap: 6px; }
.mac__bar-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-dark-2); }
.mac__bar-dots i:nth-child(1) { background: #ff5f57; }
.mac__bar-dots i:nth-child(2) { background: #febc2e; }
.mac__bar-dots i:nth-child(3) { background: #28c840; }
.mac__bar-title { font-family: var(--font-mono); font-size: 11px; color: var(--muted-dark-2); }
.mac__body { display: grid; grid-template-columns: 56px 1fr; min-height: 340px; }
.mac__side { display: grid; align-content: start; gap: 12px; padding: 16px 10px; border-right: 1px solid var(--line-dark); }
.mac__side-logo { width: 32px; height: 32px; margin-bottom: 8px; }
.mac__side-logo img { width: 100%; height: 100%; padding: 3px; border-radius: 8px; background: #fff; object-fit: contain; }
.mac__side i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.mac__side i.is-on { background: rgba(237, 68, 59, .5); box-shadow: 0 0 12px rgba(237, 68, 59, .4); }
.mac__main { padding: 20px 18px; display: grid; gap: 18px; align-content: start; }
.mac__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mac__kpis > span { padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line-dark); }
.mac__kpis small { display: block; color: var(--muted-dark-2); font-size: 9.5px; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.mac__kpis strong { display: block; font: 800 17px/1 var(--font-head); letter-spacing: -.03em; }
.mac__kpis b { display: block; margin-top: 5px; font-size: 10px; color: #46d18a; font-weight: 700; }
.mac__chats { display: grid; gap: 10px; }
.mac__chat { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line-dark); }
.mac__chat-av { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 11px var(--font-head); background: rgba(237, 68, 59, .22); color: var(--red-bright); }
.mac__chat:nth-child(2) .mac__chat-av { background: rgba(255, 255, 255, .1); color: #d7deeb; }
.mac__chat strong { display: block; font-size: 11px; color: #dfe6f0; margin-bottom: 3px; }
.mac__chat p { font-size: 11.5px; line-height: 1.5; color: var(--muted-dark); }
.mac__chat p em { color: var(--red-bright); font-style: normal; }
.mac__chat > b { color: var(--muted-dark-2); font-size: 11px; margin-left: auto; }

.solution-text h3 { font: 700 clamp(20px, 2.4vw, 26px)/1.3 var(--font-head); letter-spacing: -.03em; margin-bottom: 18px; }
.solution-text p { color: var(--muted-dark); font-size: 15px; line-height: 1.75; margin-bottom: 16px; }
.solution-text strong { color: #fff; }
.solution-points { display: grid; gap: 11px; margin-bottom: 20px; }
.solution-points li { display: flex; align-items: center; gap: 11px; color: #dfe6f0; font-size: 13.5px; font-weight: 500; }
.solution-points span { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(237, 68, 59, .18); color: var(--red-bright); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.solution-result { color: var(--muted-dark); }
.solution-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ============================================================
   COMO FUNCIONA (fases)
   ============================================================ */
.phases { background: var(--paper); }
.phases-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  counter-reset: fase; position: relative;
}
.phases-grid::before {
  content: ''; position: absolute; top: 40px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, var(--red), rgba(237, 68, 59, .25));
  pointer-events: none;
}
.phase-card {
  position: relative; padding: 36px 26px 30px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--paper-2);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.phase-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.phase-num {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 20px;
  font: 700 14px var(--font-mono); color: #fff;
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  box-shadow: 0 8px 22px rgba(237, 68, 59, .35);
  animation: phaseBreathe 3.4s ease-in-out infinite;
}
.phase-num::before {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(237, 68, 59, .35);
  animation: phasePulse 2.6s var(--ease) infinite;
}
.phase-num::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px dashed rgba(237, 68, 59, .55);
  animation: phaseRing 8s linear infinite;
}
.phase-num > i {
  position: absolute; inset: -16px; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 90, 79, .9) 0, rgba(255, 90, 79, .9) 2px, transparent 2.4px);
  animation: phaseOrbit 5.2s linear infinite;
}
@keyframes phaseRing { to { transform: rotate(360deg); } }
@keyframes phasePulse {
  0%, 100% { transform: scale(1); opacity: .45; }
  50% { transform: scale(1.18); opacity: .95; }
}
@keyframes phaseBreathe {
  0%, 100% { box-shadow: 0 8px 22px rgba(237, 68, 59, .35), 0 0 0 0 rgba(237, 68, 59, .0); }
  50% { box-shadow: 0 10px 28px rgba(237, 68, 59, .45), 0 0 0 6px rgba(237, 68, 59, .08); }
}
@keyframes phaseOrbit { to { transform: rotate(360deg); } }
.phase-label { display: inline-block; margin-bottom: 10px; color: var(--red-deep); font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.phase-card h3 { font: 700 16.5px/1.3 var(--font-head); letter-spacing: -.02em; margin-bottom: 10px; }
.phase-card p { color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.section-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 52px; }

/* ============================================================
   POR QUE MIND UP
   ============================================================ */
.why { background: var(--paper-2); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-item {
  display: grid; gap: 12px;
  padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.why-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: rgba(237, 68, 59, .3); }
.why-icon, .why-item__icon {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 21px; line-height: 1;
}
.why-item h3, .why-item__title { font: 700 15.5px/1.3 var(--font-head); letter-spacing: -.02em; }
.why-item p, .why-item__text { color: var(--muted); font-size: 13px; line-height: 1.6; }

@media (hover:hover) and (pointer:fine) {
  .problem-card, .phase-card, .why-item, .feature-card, .proof-card, .pricing-card, .cta-option { transform-style: preserve-3d; }
  .feature-card:hover .feature-icon, .why-item:hover .why-icon, .problem-card:hover .problem-icon { transform: translateY(-3px) rotate(-3deg); }
  .feature-icon, .why-icon, .problem-icon { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
}

/* ============================================================
   FUNCIONALIDADES
   ============================================================ */
.features { background: var(--paper); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  display: flex; gap: 18px; align-items: flex-start; padding: 28px 26px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(237, 68, 59, .3); }
.feature-icon {
  flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--red);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font: 700 15.5px/1.3 var(--font-head); margin-bottom: 6px; }
.feature-card p { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ============================================================
   PROVA SOCIAL
   ============================================================ */
.proof { background: var(--paper-2); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proof-card {
  display: flex; flex-direction: column; padding: 30px 28px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--paper);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.proof-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.proof-stars { color: #f0a21a; font-size: 13px; letter-spacing: 3px; margin-bottom: 14px; }
.proof-card > p { flex: 1; color: var(--ink-text); font-size: 14.5px; line-height: 1.7; margin-bottom: 22px; }
.proof-author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.proof-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink-1); color: var(--red-bright); display: grid; place-items: center; font: 800 16px var(--font-head); }
.proof-author strong { display: block; font-size: 13.5px; }
.proof-author small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }

/* ============================================================
   PLANOS
   ============================================================ */
.pricing { background: var(--paper); }
.pricing-wrap { max-width: 520px; margin: 0 auto; }
.pricing-card {
  position: relative; padding: 46px 42px 40px; border-radius: calc(var(--radius) + 4px);
  background: var(--paper-2); border: 1px solid var(--line); overflow: hidden;
  box-shadow: var(--shadow-card); text-align: center;
}
.pricing-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-bright), var(--red));
  background-size: 200% 100%; animation: shimmer 10s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.pricing-glow {
  position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 420px; height: 260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(237, 68, 59, .12), transparent 70%);
}
.pricing-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; position: relative; }
.pricing-badge {
  padding: 7px 14px; border-radius: 20px; background: rgba(237, 68, 59, .1);
  color: var(--red-deep); font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.pricing-note { color: var(--muted); font-size: 11.5px; }
.pricing-price { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 18px; position: relative; }
.pricing-price small { color: #444f5f; font-size: 20px; font-weight: 700; }
.pricing-price strong { font: 800 72px/1 var(--font-head); letter-spacing: -.08em; }
.pricing-price span { color: var(--muted); font-size: 13px; }
.pricing-desc { max-width: 380px; margin: 0 auto 26px; color: var(--muted); font-size: 13.5px; line-height: 1.65; min-height: 66px; }
.pricing-card .btn { position: relative; }
.pricing-features {
  margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line);
  display: grid; gap: 12px; text-align: left; color: #3f4a5a; font-size: 13px;
}
.pricing-features li { display: flex; align-items: center; gap: 10px; }
.pricing-features li::before { content: '✓'; color: var(--red); font-weight: 800; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 880px; margin: 0 auto; position: relative; z-index: 1; }
.cta-option { position: relative; padding: 38px 34px; border-radius: var(--radius); border: 1px solid var(--line-dark); }
.cta-option--bad { background: rgba(255, 255, 255, .02); }
.cta-option--good {
  background: linear-gradient(180deg, rgba(237, 68, 59, .1), rgba(237, 68, 59, .04));
  border-color: rgba(237, 68, 59, .38);
  box-shadow: 0 30px 70px rgba(3, 7, 14, .4);
}
.cta-recommended {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--red-bright), var(--red)); color: #fff;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 20px; white-space: nowrap; box-shadow: 0 10px 26px rgba(237, 68, 59, .4);
}
.cta-option__label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark-2); }
.cta-option--good .cta-option__label { color: var(--red-bright); }
.cta-option h3 { font: 700 21px/1.3 var(--font-head); letter-spacing: -.03em; margin: 10px 0 12px; }
.cta-option p { color: var(--muted-dark); font-size: 13.5px; line-height: 1.65; margin-bottom: 20px; }
.cta-option ul { display: grid; gap: 10px; margin-bottom: 22px; }
.cta-option li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #cfd7e2; }
.cta-option--bad li { color: var(--muted-dark-2); }
.cta-option--good li { color: #e7f4e8; }
.cta-option li i { font-style: normal; color: var(--red-bright); font-weight: 700; }
.cta-option--bad li i { color: #7d8a9d; }
.cta-entrar { margin-top: 22px; text-align: center; }
.cta-entrar a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted-dark-2); font-size: 14px; font-weight: 700;
  transition: color .2s;
}
.cta-entrar a:hover { color: #fff; }
.cta-entrar a span { font-size: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink-0); color: #8691a0; padding-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 60px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer-brand p { margin-top: 12px; font-size: 13.5px; color: var(--muted-dark-2); }
.footer-brand .brand img { background: rgba(255, 255, 255, .08); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links h4 { color: #fff; font: 700 13px var(--font-head); letter-spacing: .01em; margin-bottom: 16px; }
.footer-links a { display: block; font-size: 13px; color: var(--muted-dark-2); margin-bottom: 10px; transition: color .2s; }
.footer-links a:hover { color: var(--red-bright); }
.footer-bottom { padding: 22px 0; font-size: 12px; text-align: center; color: var(--muted-dark-2); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .hero-card { display: none; }
}

@media (max-width: 1080px) {
  .problem-grid, .phases-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .phases-grid::before { display: none; }
  .features-grid, .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width:900px) {
  .site-header .login-link,
  .site-header .btn--primary { display: none; }
  .nav-extra { display: inline-flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
    flex-direction: column; gap: 4px; padding: 14px 22px 22px;
    background: rgba(8, 13, 24, .96); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    visibility: hidden;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    transition: transform .25s var(--ease), opacity .25s, visibility .25s;
  }
  .site-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; visibility: visible; }
  .site-nav a { display: block; padding: 13px 6px; font-size: 15px; }
  .nav-toggle { display: flex; }
  .hero-card { display: none; }
  .solution-card { grid-template-columns: 1fr; }
  .mac { max-width: 560px; }
  .cta-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 40px 30px 36px; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .login-link { font-size: 12px; }
  .site-actions { gap: 10px; }
  .hero { padding-top: var(--header-h); min-height: 100svh; }
  .hero h1 { font-size: 40px; }
  .hero-sub { font-size: 15.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-scroll { display: none; }
  .problem-grid, .phases-grid, .why-grid, .features-grid, .proof-grid { grid-template-columns: 1fr; }
  .section-head h2 { letter-spacing: -.04em; }
  .pricing-card { padding: 34px 22px 30px; }
  .pricing-price strong { font-size: 58px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .final-cta .cta-option { padding: 30px 24px; }
}

/* ============================================================
   LEGO SCROLL — reconstrução por blocos (montagem ascendente)
   ============================================================ */
[data-lego-grid] { position: relative; }
[data-lego-grid].lego-ready > [data-lego] {
  opacity: 0;
  transform: translate3d(0, 64px, 0) rotate(.6deg) scale(.96);
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  transition: opacity .62s var(--ease), transform .78s var(--ease);
}
[data-lego-grid].lego-ready > [data-lego].lego-in {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0) scale(1);
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1, .hero-sub, .hero-actions, .hero-price, .trust-row, .hero-card { opacity: 1; transform: none; }
  [data-lego-grid].lego-ready > [data-lego] { opacity: 1; transform: none; }
  .hero-video { display: block; }
  .hero-bg__glow { transform: none; }
}
