:root {
  --bg: #F4F3EF;
  --bg-subtle: #EDECEA;
  --surface: #FFFFFF;
  --surface-alt: #F0EEE9;
  --ink: #1C1B18;
  --ink-muted: #5A5850;
  --ink-faint: #9E9B94;
  --border: #E3E1DA;
  --accent: #2B5CE6;
  --accent-light: #EEF2FD;
  --descoberta: #0EA5E9;
  --consideracao: #7C3AED;
  --conversao: #059669;
  --educacao: #2B5CE6;
  --autoridade: #D97706;
  --prova: #DB2777;
  --r-sm: 7px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --r-2xl: 24px;
  --r-3xl: 32px;
  --ease-fast: 150ms;
  --ease-mid: 220ms;
  --ease-slow: 380ms;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  line-height: 1.15;
}

/* ─── NAV BOXED ─── */
nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  border-radius: var(--r-xl);
  z-index: 100;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(244, 243, 239, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid transparent;
  box-shadow: 0 4px 24px rgba(28,27,24,0.04);
  transition: all var(--ease-mid);
}
nav.scrolled { 
  background: rgba(244, 243, 239, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-color: rgba(28, 27, 24, 0.08); 
  box-shadow: 0 8px 32px rgba(28,27,24,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.nav-logo-svg {
  width: 72px; 
  height: auto;
}
.nav-logo-svg .cls-1 {
  transition: fill var(--ease-mid);
}
.nav-logo:hover .nav-logo-svg .cls-1 {
  fill: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin-left: auto;
  margin-right: 32px;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--ink-muted);
  transition: color var(--ease-fast);
}
.nav-links a:hover { color: var(--ink); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-ghost {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
  transition: all var(--ease-fast);
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.btn-ghost:hover { background: var(--surface); }
.btn-primary {
  padding: 8px 20px;
  border: none;
  border-radius: var(--r-lg);
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--ease-fast);
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }

/* ─── HERO ─── */
.hero-section { padding-top: 0; }
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 140px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 80px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 28px;
  background: var(--surface);
}
.hero-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--ink);
}
.hero-title em {
  font-style: italic;
  color: var(--ink-muted);
}

.hero-sub {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-sub-highlight {
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
  display: block;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-cta {
  padding: 14px 28px;
  border-radius: var(--r-xl);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--ease-mid);
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.btn-cta-primary {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}
.btn-cta-primary:hover { background: #2B5CE6; border-color: #2B5CE6; transform: translateY(-2px); }
.btn-cta-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-cta-secondary:hover { background: var(--surface); transform: translateY(-2px); }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.matrix-demo-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--r-2xl);
  box-shadow: 0 24px 64px rgba(28,27,24,0.08), 0 4px 16px rgba(28,27,24,0.04);
}

.matrix-demo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 28px;
  min-width: 380px;
}

.matrix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.matrix-title-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  font-weight: 500;
}
.matrix-score-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #DCFCE7;
  color: #059669;
}

.matrix-axis-labels-x {
  display: grid;
  grid-template-columns: 80px 1fr 1fr 1fr;
  gap: 6px;
  margin-bottom: 6px;
}
.axis-label-x {
  font-size: 11px;
  color: var(--ink-faint);
  text-align: center;
  font-weight: 500;
}

.matrix-grid-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.matrix-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr 1fr;
  gap: 6px;
  align-items: center;
}
.axis-label-y {
  font-size: 11px;
  color: var(--ink-faint);
  font-weight: 500;
  padding-right: 8px;
  text-align: right;
}

.matrix-cell {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  transition: transform var(--ease-fast);
  cursor: default;
}
.matrix-cell:hover { transform: scale(1.04); }
.cell-empty { background: var(--bg-subtle); border: 1px dashed var(--border); color: transparent; }
.cell-low { background: #FEF3C7; color: #D97706; }
.cell-balanced { background: #DCFCE7; color: #059669; }
.cell-excess { background: #FEE2E2; color: #EF4444; }

/* floating cards */
.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  font-size: 13px;
  box-shadow: 0 8px 32px rgba(28,27,24,0.1);
  z-index: 2;
}
.float-card-1 {
  bottom: -24px;
  left: -32px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.float-card-2 {
  top: -20px;
  right: -28px;
}
.float-icon {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.float-card-label { font-size: 11px; color: var(--ink-faint); }
.float-card-value { font-weight: 600; font-size: 14px; }

/* ─── HERO ANIMATION SYSTEM ─── */

/* Initial hidden states — GSAP will animate these in */
[data-hero-anim="tag"],
[data-hero-anim="title"],
[data-hero-anim="sub"],
[data-hero-anim="ctas"] {
  opacity: 0;
  transform: translateY(32px);
}
[data-hero-anim="visual"] {
  opacity: 0;
  transform: translateY(48px) scale(0.96);
}

/* Tag status indicator */
.hero-tag-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid var(--border);
  font-size: 11px;
  color: #059669;
  font-weight: 500;
}
.hero-status-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #059669;
  animation: statusPulse 2s ease infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(5,150,105,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(5,150,105,0); }
}

/* Score bar */
.hero-score-bar-track {
  width: 100%;
  height: 3px;
  background: var(--bg-subtle);
  border-radius: 3px;
  margin-top: 6px;
  overflow: hidden;
}
.hero-score-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2B5CE6, #059669);
  border-radius: 3px;
  transition: width 0.05s linear;
}

/* Processing dots (matrix header) */
.hero-matrix-processing {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-right: 6px;
}
.processing-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  animation: processingBounce 1.4s ease-in-out infinite;
}
.processing-dot:nth-child(2) { animation-delay: 0.16s; }
.processing-dot:nth-child(3) { animation-delay: 0.32s; }
@keyframes processingBounce {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.2); }
}

/* Processing dot inline (action card) */
.processing-dot-inline {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #059669;
  margin-right: 4px;
  animation: processingBounce 1.4s ease-in-out infinite;
  vertical-align: middle;
}

/* Typing cursor */
.hero-typing-cursor {
  display: inline-block;
  animation: cursorBlink 0.8s step-end infinite;
  color: var(--accent);
  font-weight: 300;
  margin-left: 1px;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Pending cell state */
.cell-pending {
  background: var(--bg-subtle);
  border: 1px dashed var(--border);
  color: transparent;
  position: relative;
  overflow: hidden;
}
.cell-pending::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent 0%, rgba(43,92,230,0.06) 50%, transparent 100%);
  animation: cellShimmer 2s ease-in-out infinite;
}
@keyframes cellShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Cell reveal animation */
.matrix-cell.cell-revealed {
  animation: cellPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes cellPop {
  0% { transform: scale(0.7); opacity: 0; }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

/* Enhanced hover for matrix cells */
.matrix-cell:not(.cell-pending):hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(28,27,24,0.12);
  z-index: 2;
  position: relative;
}

/* Float card continuous animations */
.float-card-1.hero-float-active {
  animation: floatY1 4s ease-in-out infinite;
}
.float-card-2.hero-float-active {
  animation: floatY2 5s ease-in-out infinite;
}
.float-card-3 {
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
}
.float-card-3.hero-float-active {
  animation: floatY3 6s ease-in-out infinite;
}
.hero-processing-status {
  font-size: 12px;
  color: #059669;
}

@keyframes floatY1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
@keyframes floatY2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}
@keyframes floatY3 {
  0%, 100% { transform: translateY(-50%) translateX(0px); }
  33% { transform: translateY(calc(-50% - 5px)) translateX(2px); }
  66% { transform: translateY(calc(-50% + 3px)) translateX(-1px); }
}

/* Matrix wrapper initial glow */
.matrix-demo-wrapper.hero-glow {
  box-shadow: 0 24px 64px rgba(28,27,24,0.08),
              0 4px 16px rgba(28,27,24,0.04),
              0 0 0 1px rgba(43,92,230,0.08);
  transition: box-shadow 0.6s ease;
}


/* ─── SECTION UTILITIES ─── */
section { width: 100%; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  font-weight: 500;
  margin-bottom: 20px;
}
.section-tag-line {
  width: 20px; height: 1px;
  background: var(--ink-faint);
}

/* ─── IDENTIFICATION SECTION (CHAOS TO STRUCTURE) ─── */
.section-id {
  background: var(--bg-subtle);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.chaos-pin-container {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-id::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: rgba(43,92,230,0.08);
  pointer-events: none;
  filter: blur(100px);
}
.chaos-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}
.id-title {
  font-size: clamp(32px, 3.5vw, 44px);
  color: var(--ink);
  margin-bottom: 16px;
}
.id-title em { color: var(--ink-muted); }
.chaos-thoughts-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.chaos-thought-item {
  transform-origin: center center;
  will-change: transform, filter, opacity;
  z-index: 3;
}
.chaos-thought-inner {
  padding: 20px 24px 20px 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  font-size: 15px;
  color: var(--ink);
  position: relative;
  transition: border-color var(--ease-mid), background var(--ease-mid);
}
.chaos-thought-inner:hover {
  border-color: rgba(43,92,230,0.3);
  background: rgba(43,92,230,0.03);
}
.chaos-thought-inner::before {
  content: '"';
  font-family: 'Fraunces', serif;
  font-size: 40px;
  color: rgba(43,92,230,0.4);
  line-height: 1;
  position: absolute;
  top: 8px; left: 16px;
  pointer-events: none;
}

@media (max-width: 900px) {
  .chaos-content { grid-template-columns: 1fr; gap: 40px; }
}

/* ─── REVEAL CARD BLOCK (PROBLEMA VS VIRADA) ─── */
.section-reveal {
  padding: 120px 0;
  background: var(--bg-subtle);
  overflow: hidden;
}
.reveal-pin-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}
.reveal-stack {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 580px;
}
.reveal-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--r-2xl);
  will-change: transform, opacity, filter;
}
.reveal-card-top {
  z-index: 2;
  transform-origin: center bottom;
}
.reveal-card-bottom {
  z-index: 1;
}

@media (max-width: 900px) {
  .reveal-stack { height: 640px; }
}
@media (max-width: 500px) {
  .reveal-stack { height: 720px; }
}

/* ─── PROBLEM & SOLUTION BLOCK ─── */
.section-problem-solution {
  padding: 100px 0;
  background: var(--bg-subtle);
}
.ps-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.ps-box {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--r-2xl);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ps-title {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--ink);
}
.ps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ps-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-muted);
}
.ps-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 2px;
}
.ps-icon-bad { background: #FEE2E2; color: #EF4444; }
.ps-icon-good { background: #DCFCE7; color: #059669; }
.ps-result {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-weight: 500;
  color: var(--ink);
}

.ps-list-left li {
  position: relative;
}
.ps-circuit-line {
  position: absolute;
  top: 13px;
  left: calc(100% + 32px);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.3) 0%, rgba(5, 150, 105, 0.5) 100%);
  z-index: 1;
}
.ps-circuit-line::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444;
  animation: dataTransfer 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes dataTransfer {
  0% { transform: translateX(0px); opacity: 0; background: #EF4444; box-shadow: 0 0 8px #EF4444; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(78px); opacity: 0; background: #059669; box-shadow: 0 0 10px #059669; }
}

@media (max-width: 900px) {
  .ps-circuit-line { display: none; }
}

/* ─── SECTION MORPH (CAOS À ORDEM) ─── */
.section-morph {
  background: var(--bg);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.morph-pin-container {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.morph-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1100px;
}

/* Left: Text Stack */
.morph-text-stack {
  position: relative;
  height: 280px;
}
.morph-text {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
}

/* Right: Visual Arena */
.morph-visual-arena {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,92,230,0.04) 0%, rgba(43,92,230,0) 70%);
}

.morph-grid-bg {
  position: absolute;
  inset: 10%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
  opacity: 0;
}
.morph-grid-cell {
  background: rgba(43,92,230,0.02);
  border-radius: var(--r-md);
  border: 1px dashed rgba(43,92,230,0.15);
}

.morph-blocks-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
  z-index: 2;
  will-change: transform;
}

.morph-b {
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  will-change: transform, border-radius, background, left, top;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.morph-lbl {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  opacity: 0; /* Fade in during phase 3 */
  transform: translateY(5px);
  pointer-events: none;
}
.morph-lbl small {
  font-size: 9px;
  color: var(--ink-muted);
  font-weight: 400;
}

/* initial organic overlapping positions */
#mb-1 { top: 40px; left: 60px; z-index: 9; }
#mb-2 { top: 70px; left: 140px; z-index: 8; background: #fafaf9; }
#mb-3 { top: 120px; left: 50px; z-index: 7; }
#mb-4 { top: 160px; left: 150px; z-index: 6; background: #fff; }
#mb-5 { top: 100px; left: 100px; z-index: 5; }
#mb-6 { top: 190px; left: 80px; z-index: 4; background: #fafaf9; }
#mb-7 { top: 50px; left: 200px; z-index: 3; }
#mb-8 { top: 200px; left: 180px; z-index: 2; }
#mb-9 { top: 130px; left: 210px; z-index: 1; background: #fff; }

.morph-glow-sweep {
  position: absolute;
  top: -50%; left: -50%;
  width: 300%; height: 300%;
  background: linear-gradient(135deg, rgba(43,92,230,0) 40%, rgba(43,92,230,0.15) 50%, rgba(43,92,230,0) 60%);
  transform: translateX(-150%);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

@media (max-width: 900px) {
  .morph-content { grid-template-columns: 1fr; gap: 40px; }
  .morph-text-stack { height: 220px; text-align: center; }
  .morph-text .section-tag { margin-left: auto; margin-right: auto; }
  .morph-visual-arena { aspect-ratio: 16 / 10; height: 350px; }
}

/* ─── FEATURES SECTION (BENTO GRID) ─── */
.section-features {
  padding: 120px 0;
  background: var(--bg-subtle);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  grid-auto-flow: dense;
  margin-top: 60px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease-out), box-shadow var(--ease-mid);
  position: relative;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}
.span-2-col { grid-column: span 2; }
.span-2-row { grid-row: span 2; }

.bento-info {
  margin-top: auto;
}
.bento-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--ink);
}
.bento-desc {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.bento-mock {
  flex: 1;
  min-height: 160px;
  margin-bottom: 32px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
.span-2-row .bento-mock {
  min-height: 380px;
}

/* Sessions Mockup */
.mockup-sessions { background: #fafaf9; }
.mock-session-window {
  width: 240px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
  padding: 16px;
  transition: transform var(--ease-mid);
}
.bento-card:hover .mock-session-window { transform: scale(1.03); }
.msw-circle { width: 10px; height: 10px; border-radius: 50%; background: #E5E7EB; margin-bottom: 12px; }
.msw-title { font-size: 10px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.msw-lines { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.mswl { height: 6px; background: #E5E7EB; border-radius: 4px; width: 100%; }
.mswl-sh { width: 60%; }
.msw-btns { display: flex; gap: 8px; }
.mswb { flex: 1; font-size: 10px; font-weight:500; border-radius: 20px; padding: 6px 0; text-align: center; }
.mswb-x { background: #FEF2F2; color: #EF4444; border: 1px solid #FCA5A5; }
.mswb-ok { background: #F0FDF4; color: #059669; border: 1px solid #86EFAC; }

/* Radar Mockup */
.mockup-radar { background: linear-gradient(180deg, #fafaf9 0%, var(--surface) 100%); align-items: flex-end; padding-bottom: 32px; }
.mock-bars { display: flex; gap: 8px; align-items: flex-end; height: 120px; z-index: 2; }
.mb-col { width: 24px; height: 100%; display: flex; align-items: flex-end; background: #F3F4F6; border-radius: 4px; overflow: hidden; }
.mbar { width: 100%; background: var(--accent); border-radius: 4px; transition: height 0.8s var(--ease-out); }
.mb1 { height: 20%; background:#93C5FD;} 
.mb2 { height: 40%; background:#60A5FA;} 
.mb3 { height: 35%; } 
.mb4 { height: 60%; } 
.mb5 { height: 85%; } 
.mb6 { height: 75%; background:#1D4ED8;}
.bento-card:hover .mb1 { height: 45%; } .bento-card:hover .mb2 { height: 60%; } .bento-card:hover .mb3 { height: 80%; } .bento-card:hover .mb4 { height: 90%; } .bento-card:hover .mb5 { height: 95%; } .bento-card:hover .mb6 { height: 100%; }
.mock-radar-sweep { position: absolute; top:0; left:0; right:0; height: 100px; background: linear-gradient(180deg, rgba(43,92,230,0) 0%, rgba(43,92,230,0.05) 100%); border-bottom: 1px solid rgba(43,92,230,0.1); transform: translateY(-100%); transition: transform 1.5s linear; }
.bento-card:hover .mock-radar-sweep { transform: translateY(300px); }

/* Map Mockup */
.mockup-map { background: #fafaf9; }
.mock-node { width: 14px; height: 14px; background: var(--surface); border: 2px solid var(--accent); border-radius: 50%; position: absolute; z-index: 2; }
.mn-1 { top: 30%; left: 20%; }
.mn-2 { top: 70%; left: 50%; }
.mn-3 { top: 40%; left: 80%; }
.mn-pulse { width: 100%; height: 100%; border-radius: 50%; background: var(--accent); opacity: 0.2; transform: scale(1); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(3); opacity: 0; } }
.mock-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }

/* Pillars Mockup */
.mockup-pillars { background: var(--surface); display: flex; flex-direction: column; gap: 8px; justify-content: center; align-items: stretch; padding: 0 40px; }
.m-tag { padding: 8px 16px; border-radius: var(--r-md); font-size: 11px; font-weight: 500; display: flex; align-items: center; gap: 8px; transition: transform var(--ease-mid); }
.m-tag span { color: var(--accent); opacity:0.5;}
.m-tag-1 { background: #F8FAFC; border: 1px solid #E2E8F0; color: #334155; }
.m-tag-2 { background: #F0FDF4; border: 1px solid #DCFCE7; color: #166534; transform: translateX(10px); }
.m-tag-3 { background: #FFF7ED; border: 1px solid #FFEDD5; color: #9A3412; transform: translateX(-10px); }
.bento-card:hover .m-tag { transform: translateX(0); }

/* IA Mockup */
.mockup-ia { background: var(--ink); border: none; }
.mock-input-bar { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 12px 16px; border-radius: 30px; width: 85%; transition: box-shadow var(--ease-mid), background var(--ease-mid); }
.bento-card:hover .mock-input-bar { box-shadow: 0 0 20px rgba(255,255,255,0.05) inset; background: rgba(255,255,255,0.1); }
.mib-icon { font-size: 14px; color: var(--bg); opacity: 0.8; }
.mib-txt { font-size: 13px; color: var(--bg); opacity: 0.6; display: flex; align-items: center; }
.mib-cursor { display: inline-block; width: 2px; height: 14px; background: var(--bg); margin-left: 2px; animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Memory Mockup (6th card) */
.mockup-memory { background: #fafaf9; }
.mock-layer { position: absolute; width: 55%; height: 60%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: 0 4px 12px rgba(0,0,0,0.03); transition: transform var(--ease-mid); }
.ml-1 { transform: translateY(12px) translateX(12px); z-index: 3; }
.ml-2 { transform: translateY(0px) translateX(0px); z-index: 2; opacity:0.9; }
.ml-3 { transform: translateY(-12px) translateX(-12px); z-index: 1; opacity:0.6; background:var(--bg); border: 1px dashed var(--border);}
.bento-card:hover .ml-1 { transform: translateY(18px) translateX(18px); }
.bento-card:hover .ml-3 { transform: translateY(-18px) translateX(-18px); }

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr; }
  .span-2-col, .span-2-row { grid-column: span 1; grid-row: span 1; }
  .span-2-row .bento-mock { min-height: 240px; }
  .mockup-pillars { padding: 0 20px; }
}

/* ─── SEGMENTS SECTION ─── */
.section-segments {
  padding: 120px 0;
  background: var(--bg);
}
.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.segment-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--ease-mid);
}
.segment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(28,27,24,0.06);
}
.segment-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.3;
}
.segment-desc {
  font-size: 15px;
  color: var(--ink-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}
.segment-result {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg-subtle);
  padding: 12px 16px;
  border-radius: var(--r-lg);
}

/* ─── BREAK BELIEF ─── */
.section-belief {
  padding: 120px 0;
  overflow: hidden;
}
.belief-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}
.belief-inner:last-child { margin-bottom: 0; }
.belief-inner.reverse { direction: rtl; }
.belief-inner.reverse > * { direction: ltr; }

.belief-image-box {
  aspect-ratio: 4/3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  position: relative;
}
.belief-title {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 24px;
}
.belief-title em { font-style: italic; color: var(--accent); }
.belief-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}
.belief-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-muted);
}
.belief-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ─── PLG DIAGNOSTIC ─── */
.section-diagnostic {
  padding: 120px 0;
  background: var(--bg-subtle);
}
.diagnostic-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.diag-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 40px;
}
.diag-title {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  margin-bottom: 24px;
}
.diag-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.diag-bar-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.diag-bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.diag-bar-label { color: var(--ink-muted); }
.diag-bar-pct { font-weight: 600; color: var(--ink); }
.diag-bar-track {
  height: 6px;
  background: var(--bg-subtle);
  border-radius: 999px;
  overflow: hidden;
}
.diag-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

.diag-cta-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.diag-points-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.diag-point-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: all var(--ease-mid);
  cursor: default;
}
.diag-point-card:hover {
  transform: translateX(4px);
  border-color: rgba(43,92,230,0.3);
  box-shadow: 0 4px 12px rgba(28,27,24,0.03);
  background: rgba(43,92,230,0.02);
}
.diag-point-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform var(--ease-mid);
}
.diag-point-card:hover .diag-point-icon {
  transform: scale(1.1) rotate(-5deg);
}
.diag-point-content {
  display: flex;
  flex-direction: column;
}
.diag-point-title {
  font-weight: 500;
  color: var(--ink);
  transition: color var(--ease-mid);
}
.diag-point-question {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.diag-point-card:hover .diag-point-title {
  color: var(--ink-muted);
}
.diag-point-card:hover .diag-point-question {
  max-height: 40px;
  opacity: 1;
  margin-top: 2px;
}
.diag-title-big {
  font-size: clamp(24px, 2.5vw, 34px);
  margin-bottom: 12px;
}
.diag-sub {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ─── GAIN SECTION ─── */
.section-gain {
  padding: 120px 0;
}
.gain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 60px;
}
.gain-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 40px;
  text-align: center;
}
.gain-number {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--ink);
}
.gain-label {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
}



/* ─── PLANS ─── */
.section-plans {
  padding: 120px 0;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 60px;
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 36px;
  position: relative;
  transition: all var(--ease-mid);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(28,27,24,0.08); }
.plan-card.featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.plan-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.plan-badge-neutral { background: var(--bg-subtle); color: var(--ink-muted); }
.plan-badge-featured { background: rgba(43,92,230,0.2); color: #7BA7F7; }

.plan-name {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  margin-bottom: 4px;
}
.plan-tagline {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.plan-card.featured .plan-tagline { color: rgba(244,243,239,0.5); }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 32px;
}
.plan-currency { font-size: 16px; font-weight: 500; margin-top: 4px; }
.plan-amount { font-family: 'Fraunces', serif; font-size: 48px; line-height: 1; }
.plan-period { font-size: 14px; color: var(--ink-muted); }
.plan-card.featured .plan-period { color: rgba(244,243,239,0.5); }

.plan-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}
.plan-card.featured .plan-divider { border-color: rgba(244,243,239,0.12); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-muted);
}
.plan-card.featured .plan-feature { color: rgba(244,243,239,0.65); }
.plan-check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 10px;
  color: var(--accent);
}
.plan-card.featured .plan-check { background: rgba(43,92,230,0.2); }

.plan-cta {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: var(--r-lg);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--ease-mid);
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
}
.plan-cta:hover { background: var(--bg-subtle); transform: translateY(-1px); }
.plan-cta.cta-featured {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.plan-cta.cta-featured:hover { background: #1E4ED8; border-color: #1E4ED8; }

/* ─── CONTENT SECTION (NOVA) ─── */
.section-content {
  padding: 120px 0;
  background: var(--bg-subtle);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.content-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.content-title {
  font-size: clamp(30px, 3.5vw, 40px);
  margin-bottom: 24px;
  color: var(--ink);
}
.content-desc {
  font-size: 16px;
  color: var(--ink-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* CAROUSEL STACK */
.content-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 4.8; /* Nearly square, slight rectangle */
  margin: 0 auto;
  perspective: 1500px;
}
.content-article-card {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  transform-origin: bottom right; /* helps with tinder swing */
  will-change: transform, opacity;
  cursor: grab;
}
.content-article-card:active {
  cursor: grabbing;
}
.article-img {
  width: 100%;
  height: 48%;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.article-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-info h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.25;
}
.article-info p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-bottom: auto;
}
.article-cta {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  margin-top: 16px;
  transition: opacity var(--ease-mid);
}
.article-cta:hover {
  opacity: 0.7;
}

@media (max-width: 900px) {
  .content-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ─── FAQ ─── */
.section-faq {
  padding: 120px 0;
  background: var(--bg-subtle);
}
.faq-list {
  max-width: 720px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--surface);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-align: left;
  transition: background var(--ease-fast);
  gap: 16px;
}
.faq-question:hover { background: var(--bg-subtle); }
.faq-chevron {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--ease-mid);
  font-size: 12px;
  color: var(--ink-muted);
}
.faq-chevron { transform: rotate(0deg); } /* Initial state */
.faq-item.open .faq-chevron { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--ease-slow) ease;
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.7;
}
.faq-answer-inner { padding: 0 28px 22px; }
.faq-item.open .faq-answer { max-height: 200px; }

/* ─── CLOSE CTA ─── */
.section-close {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.close-decoration {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid var(--border);
  pointer-events: none;
  animation: spinD1 30s linear infinite;
}
.close-decoration::before, .close-decoration::after {
  content: '';
  position: absolute;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 15px 4px rgba(43,92,230,0.6);
}
.close-decoration::before { top: -2px; left: 50%; transform: translateX(-50%); }
.close-decoration::after { bottom: -2px; left: 50%; transform: translateX(-50%); }

.close-decoration-2 {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid var(--border);
  pointer-events: none;
  animation: spinD2 20s linear infinite;
}
.close-decoration-2::before, .close-decoration-2::after {
  content: '';
  position: absolute;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 15px 5px rgba(43,92,230,0.7);
}
.close-decoration-2::before { top: 50%; left: -2.5px; transform: translateY(-50%); }
.close-decoration-2::after { top: 50%; right: -2.5px; transform: translateY(-50%); }

.close-decoration-3 {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px dashed rgba(43,92,230,0.4);
  pointer-events: none;
  animation: spinD1 10s linear infinite;
}
.close-decoration-3::before {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px 6px rgba(43,92,230,0.8);
  top: 15%; left: 15%;
}

@keyframes spinD1 {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes spinD2 {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(-360deg); }
}
.close-inner { position: relative; z-index: 1; }
.close-title {
  font-size: clamp(32px, 4.5vw, 52px);
  max-width: 700px;
  margin: 0 auto 20px;
}
.close-title em { font-style: italic; color: var(--ink-muted); }
.close-sub {
  font-size: 17px;
  color: var(--ink-muted);
  margin-bottom: 40px;
}
.close-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── CARROSSEL DE IDENTIDADE (SEGMENTOS) ─── */
.section-segments {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding: 0; 
}
.segments-pin-container {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0;
}
.segments-header {
  margin-bottom: 20px;
}
.segments-carousel-wrapper {
  width: 100vw;
  overflow: visible;
  position: relative;
  padding: 40px 0;
}
.segments-carousel-track {
  display: inline-flex;
  gap: 32px;
  padding-left: 50vw; 
  transform: translateX(-180px); 
  align-items: center;
}
.segments-carousel-card {
  width: 360px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  
  transform: scale(0.85);
  filter: blur(4px);
  opacity: 0.6;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease, opacity 0.6s ease, border-color 0.6s ease;
  will-change: transform, filter, opacity;
}
.segments-carousel-card.active {
  transform: scale(1);
  filter: blur(0px);
  opacity: 1;
  border-color: rgba(43,92,230,0.3);
  box-shadow: 0 20px 40px rgba(28,27,24,0.08);
}
.segment-title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--ink);
}
.segment-desc {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}
.segment-result {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
@media (max-width: 768px) {
  .segments-carousel-track {
    transform: translateX(-140px);
    gap: 16px;
  }
  .segments-carousel-card {
    width: 280px;
    padding: 24px;
  }
  .segment-title { font-size: 18px; }
  .segment-desc { font-size: 13px; }
  .segment-img-placeholder {
    width: calc(100% + 48px) !important;
    margin-left: -24px !important;
    margin-top: -24px !important;
    height: 140px !important;
    border-radius: var(--r-2xl) var(--r-2xl) 0 0 !important;
  }
}

/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  color: rgba(244,243,239,0.5);
  padding: 80px 0 48px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244,243,239,0.4);
}
.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(244,243,239,0.8);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  text-decoration: none;
  font-size: 14px;
  color: rgba(244,243,239,0.4);
  transition: color var(--ease-fast);
}
.footer-links a:hover { color: rgba(244,243,239,0.9); }
.footer-bottom {
  border-top: 1px solid rgba(244,243,239,0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(244,243,239,0.25);
}

/* ─── IMAGE PLACEHOLDERS ─── */
.img-placeholder {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px dashed var(--border);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink-faint);
  font-size: 13px;
  text-align: center;
  padding: 20px;
}
.segment-img-placeholder {
  width: calc(100% + 80px);
  margin-top: -40px;
  margin-left: -40px;
  height: 180px;
  background-color: var(--bg-subtle);
  border-bottom: 1px dashed var(--border);
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
}
.segment-img-placeholder::after {
  content: "Imagem (Placeholder)";
}
.img-placeholder-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--surface);
}

/* ─── ANIMATIONS ─── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero, .id-inner, .ps-inner, .belief-inner,
  .diagnostic-inner, .footer-inner, .features-grid, .for-who-grid, .content-inner {
    grid-template-columns: 1fr;
  }
  .how-steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .how-steps::before { display: none; }
  .plans-grid { grid-template-columns: 1fr; }
  .gain-grid { grid-template-columns: 1fr 1fr; }
  .segments-grid { grid-template-columns: 1fr 1fr; }
  
  nav { 
    top: 16px;
    width: calc(100% - 32px);
    padding: 0 16px; 
  }
  .container { padding: 0 24px; }
  .hero { padding: 120px 24px 60px; }
  
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  
  .section-id, .section-problem-solution, .section-how, .section-features, .section-segments, .section-belief, 
  .section-plans, .section-diagnostic, .section-gain, .section-content, .section-faq, .section-close, .section-for-who {
    padding: 80px 0;
  }

  .feature-item { border-right: none; border-bottom: 1px solid var(--border); }
  .feature-item:last-child { border-bottom: none; }
  .belief-inner.reverse { direction: ltr; }
  .belief-image-box { aspect-ratio: 16/9; }
}

@media (max-width: 600px) {
  .how-steps { grid-template-columns: 1fr; gap: 40px; }
  .gain-grid { grid-template-columns: 1fr; }
  .segments-grid { grid-template-columns: 1fr; }
  .footer-inner { gap: 40px; }
  
  .hero-title { font-size: 38px; }
  .id-title, .section-title, .diag-title-big, .close-title, .ps-title, .content-title { font-size: 28px; }
  
  .nav-actions { gap: 8px; }
  .btn-ghost, .btn-primary { padding: 8px 12px; font-size: 13px; }
  
  .float-card-1 { left: 10px; bottom: -10px; }
  .float-card-2 { right: 10px; top: -10px; }
  
  .diagnostic-inner { gap: 40px; }
  .diag-card { padding: 24px; }
  .diag-card > div:last-child { flex-direction: column; }
  
  .for-who-grid { gap: 40px; }
  .feature-item { padding: 32px 24px; }
  
  .hero-ctas { flex-direction: column; }
  .btn-cta { width: 100%; }
}
