/* ============================================================
   LANDING PAGE — Asimov Work Hub
   Estilos da página /index.html.
   Depende de: tokens.css, base.css.
   ============================================================ */

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg-page);
  background-image:
    radial-gradient(ellipse 70% 55% at 8% 0%, rgba(133, 232, 234, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 92% 100%, rgba(133, 232, 234, 0.06) 0%, transparent 50%);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--size-body-m);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-4); border-radius: var(--radius-full); }

::selection { background: var(--accent-bg); color: var(--accent-dark); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Wordmark Asimov (do DS) */
.wordmark-asimov {
  font-family: 'Voltaire', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   LAYOUT HELPERS (do DS)
   ============================================================ */
.container { max-width: 1140px; margin: 0 auto; padding: 0 var(--space-6); }

.section {
  padding: var(--space-24) 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}
.section.no-border { border-top: none; }

.section-label {
  font-size: var(--size-label);
  font-weight: var(--weight-semi);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
  font-family: var(--font-mono);
}

.section-title {
  font-size: var(--size-h2);
  font-weight: var(--weight-semi);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  line-height: var(--lh-snug);
  max-width: 720px;
}
.section-title em {
  font-style: normal;
  color: var(--accent);
}

.section-desc {
  font-size: var(--size-body-l);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: var(--lh-relaxed);
}

.section-head {
  margin-bottom: var(--space-12);
}
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head.center .section-title,
.section-head.center .section-desc,
.section-head.center .pricing-headline {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   NAV (do DS)
   ============================================================ */
#top-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(244, 246, 250, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 var(--space-6);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 16px var(--accent-glow);
  color: white;
}
.nav-logo-name {
  font-size: 15px;
  font-weight: var(--weight-semi);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.nav-logo-name .wordmark-asimov { color: #111827; }
.nav-logo-name .work { color: var(--text-secondary); font-weight: var(--weight-regular); }

.nav-logo-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.nav-logo-beta {
  flex-shrink: 0;
  align-self: center;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-default);
  border-radius: 4px;
  padding: 1px 5px;
  line-height: 1.4;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}
.nav-links a {
  display: block;
  padding: var(--space-1) var(--space-3);
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  border-radius: var(--radius-md);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { color: var(--text-primary); background: var(--surface-2); }

.nav-actions { display: flex; align-items: center; gap: var(--space-2); }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ============================================================
   BUTTONS (do DS)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-weight: var(--weight-medium);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--t-base),
    border-color var(--t-base),
    color var(--t-base),
    transform var(--t-fast),
    box-shadow var(--t-base);
  position: relative;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn:active:not(:disabled) { transform: scale(0.97); }

.btn-sm { height: 32px; padding: 0 var(--space-3); font-size: 13px; border-radius: var(--radius-md); }
.btn-md { height: 40px; padding: 0 var(--space-5); font-size: 14px; }
.btn-lg { height: 48px; padding: 0 var(--space-6); font-size: 15px; border-radius: var(--radius-xl); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--text-inverse);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 4px 16px var(--accent-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, var(--accent) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 8px 24px rgba(8,145,178,0.28);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-default);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover { background: var(--surface-2); color: var(--text-primary); }

.btn svg { width: 16px; height: 16px; transition: transform var(--t-base); }
.btn-lg svg { width: 18px; height: 18px; }
.btn:hover svg.arrow { transform: translateX(3px); }

/* ============================================================
   BADGES (do DS)
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 3px var(--space-3);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: var(--weight-medium);
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.4;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.badge-accent {
  background: var(--accent-bg);
  color: var(--accent-dark);
  border-color: var(--accent-border);
}
.badge-accent .badge-dot { background: var(--accent); }
.badge-success {
  background: var(--success-bg);
  color: #15803d;
  border-color: var(--success-border);
}
.badge-success .badge-dot {
  background: var(--success);
  box-shadow: 0 0 0 2px var(--success-bg);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: var(--space-24) 0 var(--space-16);
  overflow: hidden;
  text-align: center;
}
.hero .container {
  max-width: 1320px;
  position: relative;
  z-index: 2;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 1300px;
  height: 800px;
  background:
    radial-gradient(ellipse 50% 50% at 30% 30%, rgba(8, 145, 178, 0.10), transparent 60%),
    radial-gradient(ellipse 40% 40% at 70% 50%, rgba(133, 232, 234, 0.16), transparent 60%);
  filter: blur(40px);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4) var(--space-1) var(--space-2);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-8);
  font-size: 12.5px;
  color: var(--text-secondary);
}
.hero-badge-tag {
  background: var(--accent-bg);
  color: var(--accent-dark);
  border: 1px solid var(--accent-border);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(44px, 6.5vw, 80px);
  font-weight: var(--weight-bold);
  letter-spacing: -0.035em;
  line-height: var(--lh-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}
.hero h1 .static { display: block; }

.typewriter-wrap {
  display: block;
  height: 1.05em;
  position: relative;
}

/* Gradient animado tipo Apple/Lattice — sweep liquid infinito */
.typewriter {
  position: relative;
  display: inline-block;
  background-image: linear-gradient(
    100deg,
    var(--accent-dark) 0%,
    var(--accent) 25%,
    #22d3ee 45%,
    #38bdf8 55%,
    var(--accent) 75%,
    var(--accent-dark) 100%
  );
  background-size: 250% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-sweep 6s ease-in-out infinite;
}
@keyframes gradient-sweep {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cursor {
  display: inline-block;
  width: 4px;
  height: 0.78em;
  background: var(--accent);
  margin-left: 6px;
  vertical-align: middle;
  border-radius: 2px;
  animation: blink 1s step-end infinite;
  transform: translateY(-0.05em);
}
@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
  font-size: var(--size-body-l);
  font-weight: var(--weight-regular);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

.hero-cta {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-12);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .hero-meta { grid-template-columns: 1fr; gap: var(--space-3); }
}

.hero-meta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: var(--space-6) var(--space-6);
  text-align: left;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.hero-meta-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.hero-meta-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-meta-icon svg { width: 20px; height: 20px; }

.hero-meta-num {
  font-size: 28px;
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1;
}
.hero-meta-label {
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  letter-spacing: 0;
  text-transform: none;
}

/* Floating cards — agora ambient/background, com opacidade reduzida */
.float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: var(--space-4);
  box-shadow: var(--shadow-md);
  z-index: 1;
  opacity: 0;
  transform: translateY(40px) scale(0.92);
  transition: transform var(--t-slow);
  /* opacidade base baixa pra não competir com o texto */
  --base-opacity: 0.35;
}
.float-card.in {
  animation:
    fc-enter 800ms var(--t-slow) forwards,
    float-1 9s ease-in-out infinite 800ms;
}
.float-card-2.in {
  animation:
    fc-enter 800ms var(--t-slow) 220ms forwards,
    float-2 11s ease-in-out infinite 1020ms;
}
.float-card-3.in {
  animation:
    fc-enter 800ms var(--t-slow) 440ms forwards,
    float-3 8s ease-in-out infinite 1240ms;
}
.float-card-4.in {
  animation:
    fc-enter 800ms var(--t-slow) 660ms forwards,
    float-4 10s ease-in-out infinite 1460ms;
}
.float-card-5.in {
  animation:
    fc-enter 800ms var(--t-slow) 880ms forwards,
    float-5 9s ease-in-out infinite 1680ms;
}
.float-card:hover {
  animation-play-state: paused !important;
  opacity: 1 !important;
  box-shadow: var(--shadow-xl);
  z-index: 5;
  transform: scale(1.02) !important;
}

/* Posições espalhadas em volta do conteúdo central — 5 cards */
.float-card-1 {
  top: 12%;
  left: 3%;
  width: 260px;
}
.float-card-2 {
  top: 18%;
  right: 4%;
  width: 270px;
}
.float-card-3 {
  bottom: 14%;
  left: 6%;
  width: 230px;
  padding: var(--space-3);
}
.float-card-4 {
  bottom: 18%;
  right: 5%;
  width: 250px;
}
.float-card-5 {
  top: 50%;
  right: 1%;
  width: 200px;
  padding: var(--space-3);
}

@keyframes fc-enter {
  to { opacity: var(--base-opacity); transform: translateY(0) scale(1); }
}
@keyframes float-1 {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-14px) rotate(0.5deg); }
}
@keyframes float-2 {
  0%, 100% { transform: translateY(0) rotate(1.2deg); }
  50%      { transform: translateY(-18px) rotate(-1deg); }
}
@keyframes float-3 {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-10px) rotate(1.5deg); }
}
@keyframes float-4 {
  0%, 100% { transform: translateY(0) rotate(0.8deg); }
  50%      { transform: translateY(-12px) rotate(-1.2deg); }
}
@keyframes float-5 {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50%      { transform: translateY(-8px) rotate(1deg); }
}

@media (max-width: 1200px) {
  .float-card-3, .float-card-5 { display: none; }
  .float-card-1 { left: 1%; width: 220px; }
  .float-card-2 { right: 1%; width: 230px; }
  .float-card-4 { right: 1%; width: 220px; }
}
@media (max-width: 900px) {
  .float-card { display: none; }
}

.fc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.fc-title {
  font-size: 14px;
  font-weight: var(--weight-semi);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
  line-height: 1.35;
}
.fc-meta {
  font-size: 12px;
  color: var(--text-muted);
}
.fc-tags {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
  margin-top: var(--space-3);
}
.fc-tag {
  font-size: 10.5px;
  font-family: var(--font-mono);
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
}

/* FC progress bar (shimmer) */
.fc-progress {
  margin-top: var(--space-3);
  height: 4px;
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}
.fc-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-full);
  animation: fc-fill 3s var(--t-slow) infinite;
}
@keyframes fc-fill {
  0%   { width: 0; }
  60%  { width: 75%; }
  100% { width: 75%; }
}
.fc-progress-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 6px;
}
.fc-progress-label strong {
  color: var(--accent-dark);
  font-weight: var(--weight-semi);
}

/* FC counter (number animates in via JS) */
.fc-counter {
  font-size: 28px;
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* FC typing dots */
.fc-typing {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px var(--space-2);
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  margin-top: var(--space-2);
}
.fc-typing-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.fc-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.fc-typing-dot:nth-child(3) { animation-delay: 0.30s; }
@keyframes typing-bounce {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.85); }
  30%           { opacity: 1; transform: scale(1.1); }
}

/* ============================================================
   CONCEPT
   ============================================================ */
.concept-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
@media (max-width: 900px) {
  .concept-layout { grid-template-columns: 1fr; gap: var(--space-12); }
}

.concept-bullets {
  list-style: none;
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.concept-bullets li {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.concept-bullets li:hover {
  transform: translateX(4px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
}
.concept-bullets .check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 4px 10px var(--accent-glow);
}
.concept-bullets strong {
  display: block;
  font-weight: var(--weight-semi);
  color: var(--text-primary);
  margin-bottom: 2px;
}
.concept-bullets span {
  color: var(--text-secondary);
  font-size: var(--size-body-s);
}

/* Orbit */
.orbit {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin: 0 auto;
}
.orbit-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110px; height: 110px;
  border-radius: 50%;
  background: #000;
  box-shadow:
    0 0 60px var(--accent-glow),
    0 0 0 6px rgba(255, 255, 255, 0.6),
    0 0 0 7px var(--accent-border),
    0 12px 32px rgba(0, 0, 0, 0.25);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.orbit-core-mark {
  font-family: 'Voltaire', sans-serif;
  font-weight: 400;
  font-size: 72px;
  line-height: 1;
  color: white;
  letter-spacing: 0;
  /* Ajuste fino óptico: levemente pra cima pra centralizar no círculo */
  transform: translateY(-3px);
}

.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed var(--border-default);
}
.orbit-ring-inner { width: 60%; height: 60%; }
.orbit-ring-outer { width: 100%; height: 100%; }

/* Wrapper que gira em torno do centro */
.orbit-track {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
}
.orbit-track-inner {
  animation: orbit-spin 30s linear infinite;
}
.orbit-track-outer {
  animation: orbit-spin 50s linear infinite reverse;
}
@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Cada node fica posicionado num ângulo via custom prop */
.orbit-node {
  position: absolute;
  top: 0; left: 0;
  transform:
    rotate(var(--angle, 0deg))
    translateX(var(--radius, 140px))
    rotate(calc(-1 * var(--angle, 0deg)));
  /* o último rotate "cancela" a rotação local pro conteúdo ficar reto enquanto orbita */
}
.orbit-node-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-2) var(--space-4);
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  /* Contra-anima a rotação do track pra texto ficar sempre legível na horizontal */
  animation: orbit-counter 30s linear infinite;
  transform-origin: center;
}
.orbit-track-outer .orbit-node-inner {
  animation: orbit-counter 50s linear infinite reverse;
}
@keyframes orbit-counter {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
.orbit-node svg {
  width: 16px; height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Translation centralizada — o transform de cada .orbit-node já move pro raio.
   Mas precisamos que o ponto de origem do raio seja exatamente o centro */
.orbit-track {
  /* já está em 50%/50% = centro */
}

@media (prefers-reduced-motion: reduce) {
  .orbit-track-inner, .orbit-track-outer,
  .orbit-track-inner .orbit-node-inner, .orbit-track-outer .orbit-node-inner {
    animation: none;
  }
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-base);
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.01) 0%, transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}
.cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.cat-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-lg);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  margin-bottom: var(--space-5);
  transition: transform var(--t-spring), background var(--t-base);
}
.cat-card:hover .cat-icon {
  transform: scale(1.06) rotate(-3deg);
  background: var(--accent);
  color: white;
}
.cat-icon svg { width: 22px; height: 22px; }

.cat-card h3 {
  font-size: var(--size-h4);
  font-weight: var(--weight-semi);
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}
.cat-card p {
  font-size: var(--size-body-s);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-5);
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.skill-tag {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: var(--weight-medium);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.skill-tag:hover {
  background: var(--accent-bg);
  color: var(--accent-dark);
  border-color: var(--accent-border);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: var(--space-12);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  padding: var(--space-8);
  border-right: 1px solid var(--border-subtle);
  position: relative;
}
.step:last-child { border-right: none; }
@media (max-width: 900px) {
  .step { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .step:last-child { border-bottom: none; }
}

.step-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  margin-bottom: var(--space-5);
}
.step-icon svg { width: 18px; height: 18px; }

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--space-2);
  display: block;
}
.step h3 {
  font-size: var(--size-h4);
  font-weight: var(--weight-semi);
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
}
.step p {
  font-size: var(--size-body-s);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* ============================================================
   SHOWCASE / PRODUCT
   ============================================================ */
.showcase-frame {
  margin-top: var(--space-12);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
}
.showcase-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 25%; right: 25%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  z-index: 2;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
}
.mock-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-3); }
.mock-dot:nth-child(1) { background: #fb7185; }
.mock-dot:nth-child(2) { background: #fbbf24; }
.mock-dot:nth-child(3) { background: #4ade80; }
.mock-url {
  margin-left: var(--space-3);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
}
.mock-url span { color: var(--accent); }

.mock-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 480px;
}
@media (max-width: 800px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
}

.mock-sidebar {
  background: var(--bg-elevated);
  border-right: 1px solid var(--border-subtle);
  padding: var(--space-5) var(--space-4);
}
.mock-side-section {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: var(--weight-semi);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: var(--space-3) var(--space-3) var(--space-2);
}
.mock-side-item {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: 2px;
  transition: background var(--t-fast);
}
.mock-side-item:hover { background: var(--surface-2); }
.mock-side-item.active {
  background: var(--accent-bg);
  color: var(--accent-dark);
  border: 1px solid var(--accent-border);
  font-weight: var(--weight-medium);
}
.mock-side-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.mock-side-item .badge-mini {
  margin-left: auto;
  font-size: 10.5px;
  font-family: var(--font-mono);
  padding: 1px var(--space-2);
  border-radius: var(--radius-full);
  background: var(--accent-bg);
  color: var(--accent-dark);
  border: 1px solid var(--accent-border);
}

.mock-content {
  padding: var(--space-6) var(--space-8);
}
.mock-content-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.mock-content-head h4 {
  font-size: var(--size-h3);
  font-weight: var(--weight-semi);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-1);
}
.mock-content-head p {
  font-size: var(--size-caption);
  color: var(--text-muted);
}
.mock-search {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-2) var(--space-4);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  box-shadow: var(--shadow-sm);
}
.mock-search svg { width: 14px; height: 14px; }

.mock-talent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-3);
}
.mock-talent {
  padding: var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.mock-talent:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.mock-talent-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.mock-avatar {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--c1), var(--c2));
  flex-shrink: 0;
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--border-default);
}
.mock-talent-name {
  font-size: 13.5px;
  font-weight: var(--weight-semi);
  color: var(--text-primary);
  margin-bottom: 1px;
}
.mock-talent-role {
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}
.mock-talent-tags {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}
.mock-talent-tag {
  font-size: 10.5px;
  font-family: var(--font-mono);
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.mock-talent-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-muted);
}
.mock-talent-foot .star { color: var(--warning); }
.mock-talent-foot .price {
  color: var(--text-primary);
  font-weight: var(--weight-semi);
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}
@media (max-width: 800px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

.benefit {
  padding: var(--space-8);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-base);
}
.benefit:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.benefit::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.7;
}
.benefit-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--accent);
  margin-bottom: var(--space-4);
  display: inline-block;
  padding: 3px var(--space-3);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
}
.benefit h3 {
  font-size: var(--size-h4);
  font-weight: var(--weight-semi);
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
  position: relative;
}
.benefit p {
  font-size: var(--size-body-s);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  position: relative;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-card {
  max-width: 520px;
  margin: var(--space-12) auto 0;
  padding: var(--space-12);
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-3xl);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-glow), var(--shadow-xl);
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 25%; right: 25%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 4px var(--space-4);
  background: var(--accent-bg);
  color: var(--accent-dark);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: var(--weight-medium);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.price-amount {
  font-size: 64px;
  font-weight: var(--weight-bold);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}
.price-amount em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pricing-headline {
  font-size: var(--size-h2);
  font-weight: var(--weight-semi);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: var(--lh-snug);
  max-width: 720px;
  margin-bottom: 0;
}
.pricing-headline .pricing-headline-gradient {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-sub {
  font-size: var(--size-body-s);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}
.price-features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.price-features li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: var(--size-body-s);
}
.price-features svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--accent);
}
.price-cta { width: 100%; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: var(--space-12) auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  text-align: left;
  padding: var(--space-5) var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-family: inherit;
  font-size: var(--size-body-m);
  font-weight: var(--weight-semi);
  color: var(--text-primary);
  background: transparent;
  border: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.faq-q:hover { background: var(--surface-1); }
.faq-toggle {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--t-base);
  position: relative;
}
.faq-toggle::before, .faq-toggle::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform var(--t-base);
  border-radius: 1px;
}
.faq-toggle::before { width: 10px; height: 1.5px; }
.faq-toggle::after { width: 1.5px; height: 10px; }
.faq-q[aria-expanded="true"] .faq-toggle {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow), padding var(--t-slow);
  font-size: var(--size-body-s);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  padding: 0 var(--space-6);
}
.faq-q[aria-expanded="true"] + .faq-a {
  max-height: 400px;
  padding: 0 var(--space-6) var(--space-5);
}
.faq-a strong { color: var(--text-primary); font-weight: var(--weight-semi); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta-card {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius-3xl);
  padding: var(--space-20) var(--space-8);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.final-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(133, 232, 234, 0.25), transparent 40%);
  pointer-events: none;
}
.final-cta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}
.final-cta-card > * { position: relative; z-index: 1; }

.final-cta h2 {
  font-size: var(--size-h1);
  font-weight: var(--weight-bold);
  color: white;
  letter-spacing: -0.03em;
  line-height: var(--lh-tight);
  margin-bottom: var(--space-5);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta p {
  font-size: var(--size-body-l);
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0 auto var(--space-8);
  line-height: var(--lh-relaxed);
}
.btn-on-dark {
  background: white;
  color: var(--accent-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.btn-on-dark:hover {
  background: var(--bg-page);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-16) 0 var(--space-8);
  font-size: var(--size-body-s);
  color: var(--text-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}
.footer-about {
  max-width: 320px;
  color: var(--text-secondary);
  font-size: var(--size-body-s);
  line-height: var(--lh-relaxed);
  margin-top: var(--space-3);
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--weight-semi);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col a {
  color: var(--text-secondary);
  font-size: 13.5px;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* ============================================================
   MACBOOK SCROLL REVEAL
   ============================================================ */
.macbook-stage {
  /* Tokens locais (dark) — escopados pra não vazarem */
  --mb-ink-0:#eaf0ff;
  --mb-ink-1:#a9b3cf;
  --mb-ink-2:#6b7591;
  --mb-accent-blue:#5b8cff;
  --mb-accent-violet:#8b5cff;

  --asi-bg-base: #0d1117;
  --asi-bg-sidebar: #161b22;
  --asi-bg-card: #1a2028;
  --asi-bg-card-hover: #1f262f;
  --asi-bg-elevated: #21262d;
  --asi-border: #30363d;
  --asi-text-primary: #e6edf3;
  --asi-text-secondary: #8b949e;
  --asi-text-muted: #6e7681;
  --asi-accent-teal: #7ee8d4;
  --asi-accent-teal-dim: rgba(126, 232, 212, 0.15);
  --asi-accent-green: #4ade80;
  --asi-accent-orange: #ff7849;
  --asi-accent-purple: #a78bfa;
  --asi-accent-red: #f87171;
  --asi-accent-yellow: #fbbf24;

  position: relative;
  height: 220vh;
  margin-top: -55vh; /* puxa o macbook bem pra cima, colando no hero */
  --mb-progress: 0;
}

.macbook-sticky {
  position: sticky; top: 0;
  height: 100dvh; width: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  perspective: calc(1600px + var(--mb-progress, 0) * 1800px);
  perspective-origin: center 55%;
}

.macbook-glow {
  position: absolute; left: 50%; top: 50%;
  width: 120vmax; height: 120vmax;
  transform: translate(-50%, -50%) scale(calc(0.4 + var(--mb-progress) * 0.7));
  background:
    radial-gradient(circle at 50% 50%, rgba(91,140,255, calc(.10 * var(--mb-progress))) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(139,92,255, calc(.08 * var(--mb-progress))) 0%, transparent 25%);
  filter: blur(20px);
  opacity: calc(.3 + var(--mb-progress) * .7);
  pointer-events: none;
}

.macbook {
  position: relative;
  width: min(78vw, 1000px);
  aspect-ratio: 16/11;
  transform-style: preserve-3d;
  transform: translate3d(0, calc(16vh - var(--mb-progress) * 12vh), 0);
}

/* BASE */
.macbook-base {
  position: absolute;
  left: -1%; right: -1%; bottom: 0;
  height: 5%;
  background: linear-gradient(180deg, #1a1a1d 0%, #0e0e10 30%, #050507 100%);
  border-radius: 2px 2px 14px 14px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -1px 0 rgba(0,0,0,1),
    inset 1px 0 0 rgba(255,255,255,.04),
    inset -1px 0 0 rgba(255,255,255,.04),
    0 14px 40px rgba(0,0,0,.4),
    0 30px 80px rgba(0,0,0,.3);
  z-index: 2;
}
.macbook-base::before {
  content: ""; position: absolute;
  left: 35%; right: 35%; bottom: 18%;
  height: 14%;
  background: linear-gradient(180deg, #050507, #0a0a0c);
  border-radius: 2px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.8), inset 0 -1px 0 rgba(255,255,255,.03);
}
.macbook-base::after {
  content: ""; position: absolute;
  left: 14%; right: 14%; top: 0;
  height: 32%;
  background: linear-gradient(180deg, #020203 0%, #050507 60%, #08080a 100%);
  border-radius: 0 0 1px 1px;
  box-shadow:
    inset 0 1px 2px rgba(0,0,0,1),
    inset 6px 0 8px -4px rgba(0,0,0,.8),
    inset -6px 0 8px -4px rgba(0,0,0,.8);
}

/* LID */
.macbook-lid {
  position: absolute;
  left: 0; right: 0; bottom: 5%;
  height: 95%;
  transform-origin: center bottom;
  transform-style: preserve-3d;
  transform: rotateX(calc(-92deg + var(--mb-progress) * 92deg));
  will-change: transform;
}
.macbook-lid-back {
  position: absolute; inset: 0;
  transform: rotateY(180deg) translateZ(1px);
  background: radial-gradient(ellipse at 50% 40%, #1a1a1c 0%, #0a0a0c 60%, #050506 100%);
  border-radius: 14px 14px 4px 4px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    inset 0 -1px 0 rgba(0,0,0,.8),
    inset 1px 0 0 rgba(255,255,255,.04),
    inset -1px 0 0 rgba(255,255,255,.04);
  display: flex; align-items: center; justify-content: center;
  backface-visibility: hidden;
}
.apple-logo {
  width: 11%; aspect-ratio: 1;
  color: rgba(255,255,255,.06);
  filter: drop-shadow(0 0 18px rgba(255,255,255,.08));
}
.apple-logo svg { width: 100%; height: 100%; }

.macbook-screen {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #1a1a1c, #0a0a0c);
  border-radius: 14px 14px 4px 4px;
  padding: 1.4% 1.4% 2.2% 1.4%;
  backface-visibility: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 0 0 1px rgba(255,255,255,.04);
}
.macbook-bezel {
  position: relative;
  width: 100%; height: 100%;
  background: #000;
  border-radius: 8px 8px 3px 3px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}
.macbook-notch {
  position: absolute; left: 50%; top: 0;
  transform: translateX(-50%);
  width: 14%; height: 3.2%;
  background: #000;
  border-radius: 0 0 7px 7px;
  z-index: 3;
}
.macbook-screen-content {
  position: absolute; inset: 0;
  opacity: clamp(0, calc((var(--mb-progress) - 0.55) * 2.4), 1);
  overflow: hidden;
}
.macbook-reflection {
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg,
    rgba(255,255,255,calc(0.06 * (1 - var(--mb-progress)))) 0%,
    transparent 35%,
    transparent 65%,
    rgba(255,255,255,calc(0.04 * (1 - var(--mb-progress)))) 100%);
  z-index: 4;
}
.macbook-floor {
  position: absolute;
  left: 50%; bottom: -14%;
  transform: translateX(-50%);
  width: 88%; height: 30%;
  background:
    radial-gradient(ellipse at center top, rgba(0,0,0,.5) 0%, transparent 60%),
    radial-gradient(ellipse at center top, rgba(91,140,255,calc(.12 * var(--mb-progress))) 0%, transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}

/* CLIENT DASHBOARD (dark) — embed no MacBook, escopado */
.macbook-cdash-dark {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  min-height: 100%;
  height: 100%;

  --bg-page:        #07090e;
  --bg-card:        #0d1118;
  --bg-elevated:    #131a27;
  --bg-overlay:     rgba(7, 9, 14, 0.88);

  --surface-1:      rgba(255,255,255,0.03);
  --surface-2:      rgba(255,255,255,0.06);
  --surface-3:      rgba(255,255,255,0.10);
  --surface-4:      rgba(255,255,255,0.15);

  --border-subtle:  rgba(255,255,255,0.05);
  --border-default: rgba(255,255,255,0.09);
  --border-strong:  rgba(255,255,255,0.18);
  --border-focus:   #85E8EA;

  --text-primary:   #e4e8f0;
  --text-secondary: #8a94a8;
  --text-muted:     #4a5368;
  --text-inverse:   #07090e;
  --text-link:      #adf2f3;

  --accent:         #85E8EA;
  --accent-light:   #adf2f3;
  --accent-dark:    #35c2c5;
  --accent-bg:      rgba(133, 232, 234, 0.12);
  --accent-border:  rgba(133, 232, 234, 0.35);
  --accent-glow:    rgba(133, 232, 234, 0.22);

  --success:        #22d473;
  --success-light:  #4ade80;
  --success-bg:     rgba(34, 212, 115, 0.10);
  --success-border: rgba(34, 212, 115, 0.30);

  --error:          #f43f5e;
  --error-light:    #fb7185;
  --error-bg:       rgba(244, 63, 94, 0.10);
  --error-border:   rgba(244, 63, 94, 0.30);

  --warning:        #f59e0b;
  --warning-light:  #fbbf24;
  --warning-bg:     rgba(245, 158, 11, 0.10);
  --warning-border: rgba(245, 158, 11, 0.30);

  --info:           #38bdf8;
  --info-light:     #67d0fb;
  --info-bg:        rgba(56, 189, 248, 0.10);
  --info-border:    rgba(56, 189, 248, 0.30);

  --font-sans:      'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:      'JetBrains Mono', 'SF Mono', monospace;

  --size-display:   clamp(48px, 7vw, 64px);
  --size-h1:        clamp(36px, 5vw, 48px);
  --size-h2:        clamp(28px, 4vw, 36px);
  --size-h3:        24px;
  --size-h4:        18px;
  --size-body-l:    18px;
  --size-body-m:    16px;
  --size-body-s:    14px;
  --size-caption:   12px;
  --size-label:     11px;
  --size-code:      13px;

  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semi:    600;
  --weight-bold:    700;

  --lh-tight:       1.1;
  --lh-snug:        1.3;
  --lh-normal:      1.5;
  --lh-relaxed:     1.65;

  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  20px;
  --radius-3xl:  28px;
  --radius-full: 9999px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.45), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.35);
  --shadow-lg:   0 10px 30px rgba(0,0,0,0.65), 0 4px 12px rgba(0,0,0,0.4);
  --shadow-xl:   0 24px 64px rgba(0,0,0,0.75), 0 8px 24px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 0 1px var(--accent-border), 0 0 40px var(--accent-glow);

  --t-fast:   120ms ease;
  --t-base:   200ms ease;
  --t-slow:   400ms cubic-bezier(0.16, 1, 0.3, 1);
  --t-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-bg: rgba(13, 17, 24, 0.75);

  background-color: var(--bg-page);
  background-image:
    radial-gradient(ellipse 70% 55% at 8% 0%, rgba(133, 232, 234, 0.045) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 92% 100%, rgba(133, 232, 234, 0.022) 0%, transparent 50%);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--size-body-m);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.macbook-cdash-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 4;
  opacity: 0.6;
}

@scope (.macbook-cdash-dark) {
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* Ruído sutil — design-system.html */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-4); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }

.lucide {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* App shell (conteúdo abaixo do ruído body::before, como no design-system) */
.app-shell {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.top-header {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-6);
  background-color: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 30;
}

.logo-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  cursor: default;
  flex-shrink: 0;
}

.logo-asimov {
  font-family: 'Voltaire', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1;
}

.logo-work {
  color: var(--text-secondary);
  font-weight: var(--weight-regular);
  font-size: 15px;
  line-height: 1;
}

.logo-beta {
  align-self: center;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-default);
  border-radius: 4px;
  padding: 1px 5px;
  line-height: 1.4;
  user-select: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  align-items: center;
}

.header-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 var(--space-3);
  height: 48px;
  text-decoration: none;
  font-size: var(--size-body-s);
  font-weight: var(--weight-regular);
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--text-primary);
}

.header-utils {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--size-body-s);
  transition: color 150ms;
}

.header-link:hover { color: var(--text-primary); }

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  color: var(--text-muted);
  transition: color 150ms;
  background: none;
  border: none;
  padding: 0;
}

.icon-btn:hover { color: var(--text-primary); }

.icon-btn .lucide { width: 20px; height: 20px; }

.bell-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bell-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--error);
  font-size: var(--size-label);
  color: white;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

.avatar-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(133, 232, 234, 0.2);
  color: var(--accent);
  font-size: var(--size-body-s);
  font-weight: 600;
  border: none;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.avatar-btn img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  display: block;
}

.page-main {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-10) var(--space-12);
}

/* Dashboard */
.cdash-root {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  background: radial-gradient(ellipse 900px 500px at 50% -60px, rgba(133, 232, 234, 0.07) 0%, transparent 65%);
}

.cdash-header-block {
  margin-bottom: var(--space-8);
}

.cdash-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.cdash-kicker {
  font-size: var(--size-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.cdash-title {
  font-size: var(--size-h2);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cdash-sub {
  font-size: var(--size-body-m);
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

.btn-new-opp {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent) 0%, #35c2c5 100%);
  color: var(--bg-page);
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: var(--size-body-m);
  border: none;
  cursor: default;
  align-self: flex-start;
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 4px 16px var(--accent-glow);
  transition: filter 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.btn-new-opp .lucide { width: 15px; height: 15px; }

.btn-new-opp:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 8px 24px rgba(133,232,234,0.35);
}

.cdash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.cdash-main {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .cdash-stats { grid-template-columns: repeat(2, 1fr); }
  .cdash-main { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cdash-stats { grid-template-columns: 1fr; }
}

.cdash-enter {
  animation: cdash-slide-up 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cdash-enter-1 { animation-delay: 0ms; }
.cdash-enter-2 { animation-delay: 60ms; }
.cdash-enter-3 { animation-delay: 120ms; }

.cdash-stat {
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  transition: all 200ms ease;
  cursor: pointer;
}

.cdash-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 55%);
  pointer-events: none;
}

.cdash-stat::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(133,232,234,0.45), transparent);
  pointer-events: none;
}

.cdash-stat:hover {
  background: var(--bg-card);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.stat-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.stat-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  color: var(--accent);
}

.stat-icon-box .lucide { width: 18px; height: 18px; }

.stat-value-wrap { flex: 1; min-width: 0; }

.stat-value {
  font-size: 38px;
  font-weight: 700;
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-trend {
  font-size: var(--size-label);
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
  height: 18px;
}

.stat-label {
  font-size: var(--size-body-m);
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.4;
}

/* Prefixo cdash-: evita colisão com .section-head / .section-title da LP se @scope não for suportado */
.cdash-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cdash-section-title {
  font-size: var(--size-h4);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}

.section-action {
  font-size: var(--size-body-m);
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: default;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: color 150ms;
}

.section-action .lucide { width: 14px; height: 14px; }

.section-action:hover { color: var(--accent-light); }

.cdash-opps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Opportunity cards */
.opp-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  cursor: default;
  transition: background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.opp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 55%);
  pointer-events: none;
}

.opp-card:hover { background: var(--bg-elevated); }

.opp-card-inner {
  display: flex;
  align-items: stretch;
}

.opp-card-main {
  flex: 1;
  padding: 22px 24px;
  min-width: 0;
}

.opp-card-meta {
  flex: 0 0 210px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  border-left: 1px solid var(--border-subtle);
}

@media (max-width: 640px) {
  .opp-card-inner { flex-direction: column; }
  .opp-card-meta {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

.opp-row-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.pill-type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 9999px;
}

.pill-type .lucide { width: 11px; height: 11px; color: #fff; }

.pill-type span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.pill-cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid var(--border-default);
  background: var(--surface-1);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  white-space: nowrap;
}

.opp-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.opp-desc {
  font-size: var(--size-body-s);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.skill-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 9999px;
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  font-size: var(--size-body-s);
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.5;
  white-space: nowrap;
}

.skill-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
}

.meta-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  font-size: var(--size-caption);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
  white-space: nowrap;
}

.meta-chip .lucide { width: 13px; height: 13px; flex-shrink: 0; }

.meta-chip--status {
  font-weight: 500;
}

.meta-foot {
  margin-top: auto;
  padding-top: 4px;
}

.meta-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--size-body-s);
  color: var(--accent-light);
  font-weight: 600;
}

/* Proposal cards */
.prop-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  overflow: hidden;
  cursor: default;
  transition: border-color 150ms, background 150ms, box-shadow 150ms, transform 150ms;
}

.prop-card:hover {
  border-color: rgba(133,232,234,0.2);
  background: var(--bg-elevated);
  box-shadow: 0 6px 24px rgba(0,0,0,0.22), 0 0 0 1px rgba(133,232,234,0.1);
  transform: translateY(-1px);
}

.prop-inner { padding: 16px 18px; }

.prop-row1 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.prop-opp-title {
  font-size: var(--size-body-s);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}

.prop-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  flex-shrink: 0;
}

.prop-provider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.prop-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--border-default);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--size-caption);
  font-weight: 700;
  color: var(--text-secondary);
}

.prop-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prop-name {
  font-size: var(--size-body-s);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.prop-headline {
  font-size: var(--size-caption);
  color: var(--text-muted);
  margin: 2px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prop-row3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prop-date {
  font-size: var(--size-caption);
  color: var(--text-muted);
  line-height: 1;
}

.prop-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--size-body-s);
  color: var(--accent-light);
  font-weight: 600;
}

.opp-card.job { border-left: 4px solid #7C3AED; }
.opp-card.project { border-left: 4px solid #D97706; }
}

@keyframes cdash-slide-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.macbook-cdash-dark .app-shell {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .macbook-stage { height: 180vh; margin-top: -40vh; }
  .macbook { width: min(94vw, 720px); }
  .macbook-cdash-dark { font-size: 13px; }
  .macbook-cdash-dark .page-main {
    padding: var(--space-8) var(--space-6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .macbook-stage {
    height: auto;
    margin-top: 0;
    --mb-progress: 1;
  }
  .macbook-sticky { position: relative; height: auto; padding: 80px 0; }
}

/* ============================================================
   HOW — Timeline scroll-driven
   ============================================================ */
.how-section {
  position: relative;
  padding: var(--space-24) 0 var(--space-20);
  border-top: 1px solid var(--border-subtle);
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, var(--accent-bg), transparent 60%);
}

.how-head {
  text-align: center;
  margin: 0 auto var(--space-20);
  max-width: 880px;
  padding: 0 var(--space-6);
}
.how-head .section-label {
  display: inline-block;
  margin-bottom: var(--space-4);
}
.how-title {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: var(--weight-bold);
  letter-spacing: -0.025em;
  line-height: var(--lh-tight);
  color: var(--text-primary);
  margin: 0;
}
.how-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Timeline path */
.how-timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.how-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-default);
  transform: translateX(-50%);
  border-radius: 2px;
  z-index: 1;
}
.how-line-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, transparent, var(--accent) 6%, var(--accent-light) 50%, var(--accent-dark));
  height: 0%;
  border-radius: 2px;
  box-shadow:
    0 0 12px var(--accent),
    0 0 24px var(--accent-glow),
    0 0 48px var(--accent-glow);
  transition: height 0.25s ease-out;
}

/* Row */
.how-row {
  display: flex;
  align-items: center;
  min-height: 280px;
  margin-bottom: var(--space-10);
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s var(--t-base), transform 0.4s var(--t-base);
}
.how-row.is-visible { opacity: 1; transform: translateY(0); }
.how-row:last-child { margin-bottom: 0; }

.how-side {
  width: 45%;
  display: flex;
}
.how-side.left { justify-content: flex-end; }
.how-side.right { justify-content: flex-start; }

/* Node on the line — bolinha que engole a linha */
.how-spacer {
  width: 10%;
  position: relative;
  align-self: stretch;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

/* Escudo opaco que apaga a linha exatamente onde está o node */
.how-spacer::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-page);
  z-index: 5;
  pointer-events: none;
}

.how-node {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-page);
  border: 2px solid var(--border-default);
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.5s var(--t-slow), box-shadow 0.5s var(--t-slow);
}
.how-node::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: all 0.5s var(--t-slow);
}
.how-node.active {
  border-color: var(--accent);
  box-shadow:
    0 0 0 4px var(--accent-bg),
    0 0 24px var(--accent-glow);
}
.how-node.active::before {
  background: var(--accent);
  transform: scale(1.4);
  box-shadow: 0 0 12px var(--accent);
}

/* Card */
.how-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  max-width: 460px;
  position: relative;
  transition: transform var(--t-slow), border-color var(--t-base), box-shadow var(--t-slow);
}
.how-row.is-visible .how-card {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.how-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.how-side.left .how-card { text-align: right; }

.how-card-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.how-side.left .how-card-head { justify-content: flex-end; }

.how-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  flex-shrink: 0;
}
.how-card-icon svg { width: 18px; height: 18px; }

.how-card-step {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.how-card h3 {
  font-size: var(--size-h3);
  font-weight: var(--weight-semi);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: var(--lh-snug);
  margin-bottom: var(--space-3);
}
.how-card p {
  font-size: var(--size-body-s);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* === Final card: "Negócio fechado" — row final da própria timeline === */
.how-final-row {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  z-index: 3;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--t-base), transform 0.4s var(--t-base);
}
.how-final-row.is-visible { opacity: 1; transform: translateY(0); }

.how-final-card {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius-3xl);
  padding: var(--space-8) var(--space-12);
  display: flex;
  align-items: center;
  gap: var(--space-5);
  box-shadow: var(--shadow-xl), 0 0 80px var(--accent-glow);
  position: relative;
  overflow: hidden;
  z-index: 3;
}
.how-final-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15), transparent 50%);
  pointer-events: none;
}

/* Animated check */
.how-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(8px);
}
.how-check svg {
  width: 28px;
  height: 28px;
  color: white;
}
.how-check svg path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  transition: stroke-dashoffset 0.45s cubic-bezier(0.65, 0, 0.45, 1) 0.1s;
}
.how-final-row.is-visible .how-check svg path {
  stroke-dashoffset: 0;
}
.how-check::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  opacity: 0;
  animation: check-ring 1.5s ease-out;
  animation-play-state: paused;
}
.how-final-row.is-visible .how-check::after {
  animation-play-state: running;
  animation-delay: 0.12s;
}
@keyframes check-ring {
  0%   { transform: scale(0.6); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.how-final-text {
  position: relative;
  z-index: 1;
}
.how-final-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: 4px;
}
.how-final-title {
  font-size: 28px;
  font-weight: var(--weight-bold);
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Responsive */
@media (max-width: 800px) {
  .how-line { left: 28px; transform: none; }
  .how-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: start;
    column-gap: 0;
    padding-left: 0;
    min-height: 0;
    margin-bottom: var(--space-8);
  }
  .how-side:not(:has(.how-card)) {
    display: none !important;
  }
  .how-side:has(.how-card) {
    grid-column: 2;
    grid-row: 1;
  }
  .how-side { width: auto; justify-content: flex-start !important; }
  .how-side.left .how-card { text-align: left; }
  .how-side.left .how-card-head { justify-content: flex-start; }
  .how-card { max-width: 100%; }
  .how-card::before { display: none; }
  .how-spacer {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    align-self: start;
    width: 72px;
    padding-top: var(--space-6);
    display: flex;
    justify-content: flex-start;
    padding-left: 28px;
  }
  .how-spacer .how-node {
    transform: translateX(-50%);
  }
  .how-final-row { padding-left: 0; padding-top: var(--space-12); }
  .how-final-card {
    padding: var(--space-6);
    gap: var(--space-4);
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--t-slow), transform 600ms var(--t-slow);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--t-slow), transform 500ms var(--t-slow);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.22s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.34s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
