/* ===================================================
   DESIGN SYSTEM — Agentes de IA Sob Medida
   Vibe: Ethereal Glass / Dark Premium
   Layout: Asymmetric Editorial Split
   =================================================== */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #080809;
  --bg-2: #0e0f11;
  --surface: #111214;
  --surface-2: #18191d;
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.12);
  --accent: #b8f562;
  --accent-dim: rgba(184,245,98,0.12);
  --accent-glow: rgba(184,245,98,0.25);
  --text-primary: #f0f0ee;
  --text-secondary: #8a8a8a;
  --text-muted: #555;
  --radius-xl: 2rem;
  --radius-lg: 1.25rem;
  --radius-md: 0.75rem;
  --radius-sm: 0.5rem;
  --ease-premium: cubic-bezier(0.32,0.72,0,1);
  --ease-spring: cubic-bezier(0.16,1,0.3,1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ===== NOISE OVERLAY ===== */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== NAVBAR ===== */
.nav-pill {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: max-content;
  max-width: calc(100vw - 2rem);
  min-width: 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.6rem 0.6rem 0.6rem 1.5rem;
  border-radius: 9999px;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 4px 32px rgba(0,0,0,0.5);
  overflow: hidden;
}

.nav-logo {
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.accent { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  transition: color 0.3s var(--ease-spring), background 0.3s var(--ease-spring);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.btn-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0a0a0a;
  background: var(--accent);
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  transition: all 0.3s var(--ease-spring);
}

.btn-nav:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  transition: transform 0.3s var(--ease-spring);
}

.btn-nav:hover .btn-icon-wrap,
.btn-primary:hover .btn-icon-wrap {
  transform: translate(2px, -2px) scale(1.1);
}

/* ===== HERO ===== */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 8rem 2rem 6rem;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

.hero-bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: 
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184,245,98,0.08) 0%, transparent 70%);
  top: -100px;
  right: -200px;
  animation: orb-float 8s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(100,200,255,0.05) 0%, transparent 70%);
  bottom: 100px;
  left: -100px;
  animation: orb-float 12s ease-in-out infinite reverse;
}

.orb-cta {
  position: absolute;
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(184,245,98,0.06) 0%, transparent 70%);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(80px);
  pointer-events: none;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  33% { transform: translateY(-30px) translateX(15px); }
  66% { transform: translateY(15px) translateX(-10px); }
}

.hero-content {
  flex: 1;
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(184,245,98,0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 1.75rem;
}

.eyebrow-light {
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

.hero-title-em {
  font-style: normal;
  color: var(--accent);
}

.line-break {
  display: block;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 54ch;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0a0a0a;
  background: var(--accent);
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.3s var(--ease-spring);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: scale(1.03) translateY(-1px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-large {
  font-size: 1.05rem;
  padding: 1rem 2rem;
}

.btn-icon-large {
  width: 2rem;
  height: 2rem;
}

.btn-secondary {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.85rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid var(--border-strong);
  transition: all 0.3s var(--ease-spring);
  letter-spacing: -0.01em;
}

.btn-secondary:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.stat-unit {
  font-size: 1rem;
  font-weight: 400;
  color: var(--accent);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 2.5rem;
  background: var(--border);
}

/* ===== TERMINAL VISUAL ===== */
.hero-visual {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.terminal-outer {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 40px 80px rgba(0,0,0,0.6);
}

.terminal-inner {
  background: var(--bg-2);
  border-radius: calc(var(--radius-xl) - 2px);
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.t-red { background: #ff5f57; }
.t-yellow { background: #febc2e; }
.t-green { background: #28c840; }

.t-title {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

.terminal-body {
  padding: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 280px;
}

.t-line {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  animation: fadeInLine 0.4s var(--ease-spring) forwards;
}

.t-prompt {
  color: var(--text-muted);
  flex-shrink: 0;
  opacity: 0.7;
}

.t-green-p { color: #28c840; opacity: 1; }

.t-text {
  color: #c4c4c4;
  line-height: 1.5;
}

.t-fade:nth-child(2) { animation-delay: 0.6s; opacity: 0; }
.t-fade:nth-child(3) { animation-delay: 1.0s; opacity: 0; }
.t-fade:nth-child(4) { animation-delay: 1.4s; opacity: 0; }
.t-fade:nth-child(5) { animation-delay: 1.8s; opacity: 0; }
.t-fade:nth-child(7) { animation-delay: 2.4s; opacity: 0; }
.t-fade:nth-child(8) { animation-delay: 3.0s; opacity: 0; }

@keyframes fadeInLine {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.t-separator {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
  animation: fadeInLine 0.3s var(--ease-spring) 2.2s forwards;
  opacity: 0;
}

.t-chat-line {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.t-chat-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.t-chat-label.client { color: #64a7ff; }
.t-chat-label.agent { color: var(--accent); }

.t-chat-msg {
  color: #c4c4c4;
  line-height: 1.5;
}

.cursor {
  display: inline-block;
  animation: blink-cursor 1s step-end infinite;
  color: var(--accent);
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.t-blink .cursor {
  animation: blink-cursor 1s step-end infinite;
}

/* ===== FLOATING BADGES ===== */
.floating-badges {
  position: absolute;
  left: -3.5rem;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: calc(100vw - 2rem);
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 9999px;
  background: rgba(10, 10, 12, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  /* Mobile safety */
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.float-anim {
  animation: float-up-down 3s ease-in-out infinite;
}

.float-delay-1 { animation-delay: 1s; }
.float-delay-2 { animation-delay: 2s; }

@keyframes float-up-down {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* ===== MARQUEE ===== */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 0.9rem 0;
  background: rgba(255,255,255,0.015);
}

.marquee-track {
  display: flex;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: marquee-scroll 30s linear infinite;
  flex-shrink: 0;
  white-space: nowrap;
}

.marquee-content span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent) !important;
  opacity: 0.5;
  display: inline-block;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 7rem 0;
}

/* ===== BELIEF SECTION ===== */
.belief-section {
  position: relative;
}

.section-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-top: 1rem;
}

.text-accent {
  color: var(--accent);
}

.section-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid rgba(184,245,98,0.2);
  color: var(--accent);
  margin-top: 0.1rem;
}

.feature-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.feature-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.quote-block {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2.5rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset;
}

.quote-line {
  flex-shrink: 0;
  width: 3px;
  height: 100%;
  min-height: 4rem;
  background: linear-gradient(to bottom, var(--accent), transparent);
  border-radius: 9999px;
}

blockquote {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-secondary);
  letter-spacing: -0.02em;
}

blockquote strong {
  color: var(--text-primary);
  font-weight: 800;
}

/* ===== POSITIONING SECTION ===== */
.positioning-section {
  background: linear-gradient(180deg, transparent 0%, rgba(184,245,98,0.02) 50%, transparent 100%);
}

.pos-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.pos-vs {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-muted);
  letter-spacing: -0.04em;
  text-align: center;
}

.pos-card {
  border-radius: var(--radius-xl);
  padding: 2px;
  transition: transform 0.4s var(--ease-spring);
}

.pos-card:hover {
  transform: translateY(-4px);
}

.pos-card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}

.pos-card-accent {
  background: linear-gradient(135deg, rgba(184,245,98,0.3), rgba(184,245,98,0.05));
  border: 1px solid rgba(184,245,98,0.3);
  box-shadow: 0 0 40px rgba(184,245,98,0.08);
}

.pos-card-inner {
  padding: 2rem 1.75rem;
  border-radius: calc(var(--radius-xl) - 2px);
  background: var(--bg-2);
  height: 100%;
}

.pos-card-accent .pos-card-inner {
  background: rgba(10, 12, 8, 0.95);
}

.pos-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pos-label-light { color: var(--accent); }

.pos-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.pos-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pos-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.pos-items.neg .pos-item { color: var(--text-muted); }
.pos-items.pos .pos-item { color: var(--text-secondary); }

.x-icon, .check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.x-icon { background: rgba(239,68,68,0.1); }
.check-icon { background: var(--accent); }

/* ===== POSSIBILITIES ===== */
.possibilities-section { background: var(--bg); }

.section-head-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-title-center {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin: 1rem 0 1.25rem;
}

.section-sub-center {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.bento-wide { grid-column: span 2; }

.bento-card {
  transition: transform 0.4s var(--ease-spring);
}

.bento-card:hover {
  transform: translateY(-4px);
}

.bento-outer {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2px;
  height: 100%;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset;
  transition: border-color 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-spring);
}

.bento-card:hover .bento-outer {
  border-color: rgba(184,245,98,0.2);
  box-shadow: 0 0 30px rgba(184,245,98,0.06), 0 0 0 1px rgba(255,255,255,0.05) inset;
}

.bento-inner {
  background: var(--surface);
  border-radius: calc(var(--radius-xl) - 2px);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bento-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(184,245,98,0.15);
  border-radius: var(--radius-md);
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.bento-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.bento-wide .bento-title {
  font-size: 1.15rem;
}

.bento-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.bento-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

/* ===== DEMO SECTION ===== */
.demo-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}

.demo-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.demo-left { padding-top: 1rem; }

.demo-hints {
  margin-top: 2.5rem;
}

.hint-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hint-pill {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.4rem 0.9rem;
  margin: 0.3rem 0.3rem 0 0;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
}

.hint-pill:hover {
  background: var(--accent-dim);
  border-color: rgba(184, 245, 98, 0.25);
  color: var(--accent);
}

/* ===== CHAT ===== */
.chat-outer {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 32px 64px rgba(0,0,0,0.5);
}

.chat-inner {
  background: var(--bg-2);
  border-radius: calc(var(--radius-xl) - 2px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 460px;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.chat-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(184,245,98,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.chat-header-info { display: flex; flex-direction: column; gap: 0.1rem; }

.chat-header-info strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28c840;
  animation: pulse-dot 2s infinite;
}

.chat-messages {
  flex: 1;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
  max-height: 320px;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 9999px; }

.message {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  animation: msg-appear 0.3s var(--ease-spring) forwards;
}

@keyframes msg-appear {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.agent-msg { align-items: flex-start; }
.user-msg { align-items: flex-end; }

.msg-bubble {
  max-width: 82%;
  padding: 0.75rem 1rem;
  border-radius: 1.1rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.agent-msg .msg-bubble {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-bottom-left-radius: 0.25rem;
  color: var(--text-primary);
}

.user-msg .msg-bubble {
  background: var(--accent);
  color: #0a0a0a;
  border-bottom-right-radius: 0.25rem;
  font-weight: 500;
}

.msg-time {
  font-size: 0.66rem;
  color: var(--text-muted);
  padding: 0 0.25rem;
}

.typing-bubble .msg-bubble {
  padding: 0.75rem 1rem;
}

.typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typing-bounce 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-4px); opacity: 1; }
}

.chat-input-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.chat-input {
  flex: 1;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  outline: none;
  transition: border-color 0.25s var(--ease-spring);
}

.chat-input::placeholder { color: var(--text-muted); }

.chat-input:focus {
  border-color: rgba(184,245,98,0.3);
  background: rgba(184,245,98,0.03);
}

.chat-send {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  flex-shrink: 0;
  transition: all 0.25s var(--ease-spring);
}

.chat-send:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.chat-send:active { transform: scale(0.95); }

/* ===== PHRASES SECTION ===== */
.phrases-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.phrases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.phrase-card {
  transition: transform 0.4s var(--ease-spring);
}

.phrase-card:hover { transform: translateY(-4px); }

.phrase-outer {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2px;
  height: 100%;
  transition: border-color 0.3s;
}

.phrase-card:hover .phrase-outer {
  border-color: rgba(184,245,98,0.15);
}

.phrase-inner {
  background: var(--surface);
  border-radius: calc(var(--radius-xl) - 2px);
  padding: 2rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text-secondary);
  position: relative;
  height: 100%;
}

.phrase-quote {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(184,245,98,0.08);
  line-height: 1;
  pointer-events: none;
}

/* ===== FINAL CTA ===== */
.final-cta-section {
  padding: 8rem 0;
}

.final-cta-outer {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-strong);
  border-radius: calc(var(--radius-xl) * 1.5);
  padding: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset;
}

.final-cta-inner {
  background: var(--surface);
  border-radius: calc(var(--radius-xl) * 1.5 - 2px);
  padding: 5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin: 1rem 0 1.5rem;
}

.final-cta-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 50ch;
  margin: 0 auto 2.5rem;
}

.final-cta-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-spring);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.4s var(--ease-spring);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05) inset, 0 40px 80px rgba(0,0,0,0.6);
}

.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
}

.modal-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

.modal-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.modal-body {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modal-option {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
}

.modal-option:hover {
  background: var(--accent-dim);
  border-color: rgba(184,245,98,0.25);
  color: var(--accent);
  transform: translateX(4px);
}

.modal-option-custom {
  font-style: italic;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-wa {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.25s var(--ease-spring);
}

.footer-wa:hover { color: var(--accent); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px) blur(4px);
  transition: opacity 0.8s var(--ease-spring), transform 0.8s var(--ease-spring), filter 0.8s var(--ease-spring);
  filter: blur(4px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) blur(0);
  filter: blur(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===================================================================
   RESPONSIVE — Tested on 320px → 1440px, zero horizontal overflow
   =================================================================== */

.br-desktop { display: block; }

/* ─── Tablet landscape ( ≤ 1024px ) ──────────────────────────────── */
@media (max-width: 1024px) {

  .hero {
    flex-direction: column;
    padding-top: 7rem;
    gap: 3rem;
    align-items: flex-start;
  }

  .hero-content { max-width: 100%; }

  .hero-visual { max-width: 100%; width: 100%; }

  .floating-badges {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .section-split { grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem; }

  .pos-grid { grid-template-columns: 1fr; gap: 1rem; }

  .pos-vs { text-align: center; padding: 0.25rem 0; }

  .bento-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  .bento-wide { grid-column: span 2; }

  .demo-split { grid-template-columns: 1fr; gap: 2.5rem; }

  .phrases-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ─── Mobile ( ≤ 768px ) — todos os celulares ────────────────────── */
@media (max-width: 768px) {

  /* GLOBAL — impede overflow horizontal absoluto */
  * { -webkit-tap-highlight-color: transparent; max-width: 100%; }
  img, svg { max-width: 100%; }

  .container {
    padding: 0 1.25rem;
    width: 100%;
  }

  .section { padding: 3.5rem 0; }

  .br-desktop { display: none; }

  /* ── NAVBAR ── */
  .nav-pill {
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
  }

  .nav-inner {
    width: 100%;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    gap: 0;
    justify-content: space-between;
  }

  .nav-links { display: none; }

  .btn-nav {
    font-size: 0.78rem;
    padding: 0.5rem 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .btn-nav .btn-icon-wrap {
    width: 1.15rem;
    height: 1.15rem;
  }

  /* ── HERO ── */
  .hero {
    flex-direction: column !important;
    padding: 5.5rem 1.25rem 3rem !important;
    gap: 2.5rem;
    min-height: 100dvh;
    align-items: flex-start;
    width: 100%;
    overflow: visible;
  }

  .hero-content { width: 100%; }

  .eyebrow {
    font-size: 0.62rem;
    padding: 0.3rem 0.7rem;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.4rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-sub {
    font-size: 0.88rem;
    line-height: 1.65;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 2rem;
    width: 100%;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0.9rem 1.25rem;
    box-sizing: border-box;
  }

  .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.875rem;
    padding: 0.85rem 1.25rem;
    box-sizing: border-box;
    display: block;
  }

  /* Stats — box contido, 3 colunas claras */
  .hero-stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    padding: 1.1rem 0.75rem;
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--border);
    border-radius: 1rem;
    gap: 0;
  }

  .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 0;
  }

  .stat-num { font-size: 1.4rem; letter-spacing: -0.03em; }

  .stat-label {
    font-size: 0.58rem;
    letter-spacing: 0.01em;
    line-height: 1.3;
    max-width: 9ch;
    text-align: center;
    white-space: normal;
  }

  .stat-divider {
    width: 1px;
    height: 2.25rem;
    background: var(--border);
    flex-shrink: 0;
  }

  /* ── TERMINAL ── */
  .hero-visual { width: 100%; max-width: 100%; }

  .floating-badges {
    position: static !important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    width: 100%;
    left: auto !important;
  }

  .badge {
    font-size: 0.63rem;
    padding: 0.38rem 0.65rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .float-anim { animation: none; }

  .terminal-body {
    font-size: 0.66rem;
    padding: 1rem;
    min-height: auto;
    overflow-x: hidden;
  }

  .t-chat-msg { word-break: break-word; }

  /* ── BELIEF SECTION ── */
  .section-split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
  }

  .section-title { font-size: clamp(1.45rem, 5.5vw, 1.9rem); margin-top: 0; }

  .section-body { font-size: 0.88rem; max-width: 100%; margin-bottom: 1.75rem; }

  .feature-list { gap: 1rem; }
  .feature-item strong { font-size: 0.85rem; }
  .feature-item p { font-size: 0.78rem; }

  .quote-block {
    flex-direction: column;
    padding: 1.25rem;
    gap: 0.75rem;
    border-radius: 1.25rem;
  }

  .quote-line {
    width: 100%;
    height: 2px;
    min-height: auto;
    background: linear-gradient(to right, var(--accent), transparent);
  }

  blockquote { font-size: 0.95rem; }

  /* ── VS CARDS ── */
  .pos-grid { grid-template-columns: 1fr; gap: 0.75rem; }

  .pos-vs { text-align: center; font-size: 1rem; padding: 0.15rem 0; }

  .pos-card-inner { padding: 1.25rem; }

  .pos-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }

  .pos-item { font-size: 0.8rem; }

  /* ── BENTO GRID ── */
  .section-head-center { margin-bottom: 2rem; }

  .section-title-center { font-size: clamp(1.55rem, 7vw, 2.1rem); margin-bottom: 1rem; }

  .section-sub-center { font-size: 0.88rem; }

  .bento-grid { grid-template-columns: 1fr; gap: 0.875rem; }

  .bento-wide { grid-column: span 1; }

  .bento-inner { padding: 1.25rem; }
  .bento-icon { width: 2.25rem; height: 2.25rem; margin-bottom: 1rem; }
  .bento-title { font-size: 0.9rem; }
  .bento-desc { font-size: 0.8rem; }

  /* ── CHAT DEMO ── */
  .demo-split { grid-template-columns: 1fr; gap: 2rem; }

  .demo-left { padding-top: 0; }

  .demo-hints { margin-top: 1.5rem; }

  .hint-pill { font-size: 0.7rem; padding: 0.33rem 0.7rem; }

  .chat-inner { min-height: 340px; }
  .chat-messages { max-height: 220px; }
  .msg-bubble { font-size: 0.8rem; padding: 0.6rem 0.85rem; max-width: 90%; }
  .chat-input { font-size: 0.8rem; padding: 0.6rem 0.875rem; }

  /* ── PHRASES ── */
  .phrases-section { padding: 3rem 0; }

  .phrases-grid { grid-template-columns: 1fr; gap: 0.875rem; }

  .phrase-outer { border-radius: 1.25rem; }
  .phrase-inner { border-radius: calc(1.25rem - 2px); padding: 1.25rem; font-size: 0.9rem; }
  .phrase-quote { font-size: 3rem; top: 0.75rem; right: 1rem; }

  /* ── FINAL CTA ── */
  .final-cta-section { padding: 3.5rem 0; }

  .final-cta-outer { border-radius: 1.5rem; }

  .final-cta-inner {
    border-radius: calc(1.5rem - 2px);
    padding: 2.5rem 1.25rem;
  }

  .final-cta-title { font-size: clamp(1.6rem, 7vw, 2.1rem); margin-bottom: 1rem; }

  .final-cta-body { font-size: 0.9rem; margin-bottom: 2rem; max-width: 100%; }

  .btn-large {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0.95rem 1.25rem;
    box-sizing: border-box;
  }

  .final-cta-sub { font-size: 0.72rem; flex-wrap: wrap; justify-content: center; }

  /* ── MODAL ── */
  .modal-overlay { padding: 1rem; }
  .modal-box { padding: 1.75rem 1.25rem; border-radius: 1.5rem; max-width: 100%; }
  .modal-title { font-size: 1.1rem; }
  .modal-body { font-size: 0.8rem; }
  .modal-option { font-size: 0.8rem; padding: 0.75rem 1rem; }

  /* ── FOOTER ── */
  .footer { padding: 1.5rem 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .footer-logo { font-size: 1rem; }
  .footer-copy { font-size: 0.72rem; }
}

/* ─── Phones pequenos ( ≤ 390px ) ───────────────────────────────── */
@media (max-width: 390px) {

  .container { padding: 0 1rem; }

  .nav-pill { top: 0.5rem; left: 0.5rem; right: 0.5rem; }

  .hero { padding: 4.75rem 1rem 2.5rem !important; gap: 2rem; }

  .hero-title { font-size: clamp(1.72rem, 8vw, 2rem); }

  .hero-sub { font-size: 0.84rem; }

  .hero-stats { padding: 0.875rem 0.5rem; border-radius: 0.875rem; }

  .stat-num { font-size: 1.25rem; }
  .stat-label { font-size: 0.52rem; }

  .terminal-body { font-size: 0.62rem; padding: 0.875rem; }

  .badge { font-size: 0.58rem; padding: 0.32rem 0.55rem; }

  .bento-inner { padding: 1rem; }
  .bento-icon { width: 2rem; height: 2rem; }

  .pos-card-inner { padding: 1rem; }
  .pos-card h3 { font-size: 1rem; }

  .final-cta-inner { padding: 2rem 1rem; }
  .final-cta-title { font-size: clamp(1.45rem, 9vw, 1.85rem); }

  .modal-box { padding: 1.5rem 1rem; }

  .quote-block { padding: 1rem; }
}

