/* ============================================
   Mavy Studio — Institutional Landing Page
   Faithful port of the approved layout
   ============================================ */

:root {
  color-scheme: dark;

  --mavy-bg: #0b0d0e;
  --mavy-charcoal: #0b0d0e;
  --mavy-charcoal-2: #101314;
  --mavy-text: #f7f7f5;
  --mavy-orange: #ff6b2c;
  --mavy-orange-bright: #ff8a3d;
  --mavy-coral: #ff4f3d;
  --mavy-amber: #ffb13b;

  --background: #0b0d0e;
  --foreground: #f7f7f5;
  --muted: rgba(247, 247, 245, 0.04);
  --muted-foreground: rgba(247, 247, 245, 0.55);
  --border: rgba(247, 247, 245, 0.08);
  --card: rgba(247, 247, 245, 0.03);

  --brand-gradient: linear-gradient(100deg, #ff4f3d 0%, #ff6b2c 50%, #ffb13b 100%);

  --font-sans: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "Inter", ui-monospace, monospace;

  --radius: 0.75rem;
  --max-w: 72rem; /* max-w-6xl */
  --container-px: 1.25rem;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

::selection {
  background: rgba(255, 107, 44, 0.28);
  color: #fff;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.glass {
  background: rgba(247, 247, 245, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(247, 247, 245, 0.08);
}

.noise-grid {
  background-image:
    linear-gradient(rgba(247, 247, 245, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 247, 245, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

.border-gradient {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--mavy-charcoal-2), var(--mavy-charcoal-2)) padding-box,
    var(--brand-gradient) border-box;
}

.text-orange {
  color: var(--mavy-orange);
}

.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.icon-sm {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--brand-gradient);
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 10px 40px -12px rgba(255, 107, 44, 0.7);
  transition: transform 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-primary:hover .icon {
  transform: translateY(2px);
}

.btn-primary .icon {
  transition: transform 0.2s ease;
}

.btn-lg {
  padding: 1rem 1.75rem;
  box-shadow: 0 14px 50px -14px rgba(255, 107, 44, 0.8);
}

.btn-lg:hover .icon {
  transform: translate(2px, -2px);
}

.btn-outline {
  display: none;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  border-color: rgba(255, 107, 44, 0.6);
  color: var(--mavy-orange-bright);
}

.btn-outline:hover .icon {
  transform: translate(2px, -2px);
}

.btn-outline .icon {
  transition: transform 0.2s ease;
}

@media (min-width: 768px) {
  .btn-outline.header-cta {
    display: inline-flex;
  }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Animations ---------- */
@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-float-slow {
  animation: float-slow 7s ease-in-out infinite;
}

@keyframes flow-dash {
  to {
    stroke-dashoffset: -1000;
  }
}

.animate-flow {
  stroke-dasharray: 8 10;
  animation: flow-dash 18s linear infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.7;
  }
}

.animate-pulse-glow {
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 1rem 1rem 0;
}

.header-bar {
  display: flex;
  width: 100%;
  max-width: var(--max-w);
  align-items: center;
  justify-content: space-between;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  background: transparent;
  transition:
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s,
    backdrop-filter 0.3s;
}

.header-bar.is-scrolled {
  border-color: var(--border);
  background: rgba(11, 13, 14, 0.7);
  box-shadow: 0 8px 40px -12px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

@media (min-width: 640px) {
  .header-bar {
    padding-inline: 1.25rem;
  }
}

.header-logo img {
  height: 1.75rem;
  width: auto;
}

@media (min-width: 640px) {
  .header-logo img {
    height: 2rem;
  }
}

.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

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

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.menu-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: absolute;
  inset-inline: 1rem;
  top: 5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(11, 13, 14, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0.5rem;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  display: block;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: background 0.2s, color 0.2s;
}

.mobile-menu a:hover {
  background: var(--muted);
  color: var(--foreground);
}

.mobile-menu .mobile-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.25rem;
  background: var(--brand-gradient);
  color: #ffffff;
  font-weight: 600;
}

.mobile-menu .mobile-cta:hover {
  background: var(--brand-gradient);
  color: #ffffff;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
  background: radial-gradient(
    420px circle at var(--mx, 70%) var(--my, 20%),
    rgba(255, 107, 44, 0.14),
    transparent 65%
  );
}

@media (min-width: 768px) {
  .hero-glow {
    display: block;
  }
}

.hero-ambient {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px circle at 78% 12%, rgba(255, 79, 61, 0.24), transparent 60%),
    radial-gradient(700px circle at 8% 90%, rgba(255, 177, 59, 0.18), transparent 55%),
    radial-gradient(500px circle at 50% 50%, rgba(255, 107, 44, 0.1), transparent 65%);
}

.hero-grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
  mask-image: radial-gradient(70% 60% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, black, transparent);
}

.hero-grid-layout {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3.5rem;
  padding-top: 9rem;
  padding-bottom: 5rem;
}

@media (min-width: 640px) {
  .hero-grid-layout {
    padding-top: 10rem;
  }
}

@media (min-width: 1024px) {
  .hero-grid-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    padding-top: 11rem;
    padding-bottom: 7rem;
  }
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--muted);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: 3rem;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero-lead {
  margin-top: 1.5rem;
  max-width: 28rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-foreground);
  text-wrap: balance;
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.status-dot {
  position: relative;
  display: flex;
  width: 0.5rem;
  height: 0.5rem;
}

.status-ping {
  position: absolute;
  inset: 0;
  display: inline-flex;
  border-radius: 9999px;
  background: rgba(255, 107, 44, 0.6);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.status-core {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--mavy-orange);
}

/* Hero interface mockup */
.hero-stage-wrap {
  position: relative;
}

.hero-stage {
  position: relative;
  transition: transform 0.3s ease-out;
  transform-style: preserve-3d;
}

.hero-interface {
  position: relative;
  margin-inline: auto;
  width: 100%;
  max-width: 28rem;
}

.panel-main {
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
}

.panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.traffic {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
}

.dot.coral {
  background: var(--mavy-coral);
}

.dot.amber {
  background: var(--mavy-amber);
}

.dot.muted {
  background: rgba(255, 255, 255, 0.15);
}

.panel-badge {
  border-radius: 9999px;
  border: 1px solid var(--border);
  padding: 0.25rem 0.625rem;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.brand-row {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-avatar {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--brand-gradient);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--mavy-charcoal);
}

.brand-name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.context-box {
  margin-top: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
}

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

.context-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.875rem;
}

.context-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.check-circle {
  display: flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 107, 44, 0.15);
  color: var(--mavy-orange-bright);
}

.check-circle svg {
  width: 0.75rem;
  height: 0.75rem;
}

.floating-chip {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: rgba(11, 13, 14, 0.8);
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
}

.floating-chip svg {
  width: 1rem;
  height: 1rem;
  color: var(--mavy-orange-bright);
}

.chip-ideas {
  left: -0.5rem;
  top: 2rem;
}

.chip-chat {
  right: -0.25rem;
  top: 7rem;
}

.chip-image {
  bottom: -1rem;
  left: 2.5rem;
}

@media (min-width: 400px) {
  .chip-ideas {
    left: -1.5rem;
  }
  .chip-chat {
    right: -1rem;
  }
}

@media (min-width: 640px) {
  .chip-ideas {
    left: -2.5rem;
  }
  .chip-chat {
    right: -2rem;
  }
}

.connection-lines {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

/* ---------- SECTIONS shared ---------- */
.section {
  position: relative;
  overflow: hidden;
  padding-block: 6rem;
}

@media (min-width: 1024px) {
  .section {
    padding-block: 8rem;
  }
}

/* Subtle orange ambience for section contrast */
.section-ambient {
  isolation: isolate;
}

.section-glow {
  pointer-events: none;
  position: absolute;
  z-index: 0;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: 0.85;
}

.section-glow.soft {
  opacity: 0.55;
}

.section-glow-tr {
  top: -8%;
  right: -6%;
  width: min(46vw, 32rem);
  height: min(46vw, 32rem);
  background: radial-gradient(circle, rgba(255, 107, 44, 0.38) 0%, rgba(255, 79, 61, 0.16) 42%, transparent 70%);
}

.section-glow-tl {
  top: -10%;
  left: -8%;
  width: min(42vw, 28rem);
  height: min(42vw, 28rem);
  background: radial-gradient(circle, rgba(255, 177, 59, 0.3) 0%, rgba(255, 107, 44, 0.14) 48%, transparent 70%);
}

.section-glow-bl {
  bottom: -12%;
  left: -4%;
  width: min(48vw, 34rem);
  height: min(48vw, 34rem);
  background: radial-gradient(circle, rgba(255, 79, 61, 0.32) 0%, rgba(255, 107, 44, 0.14) 48%, transparent 72%);
}

.section-glow-br {
  bottom: -8%;
  right: -6%;
  width: min(44vw, 30rem);
  height: min(44vw, 30rem);
  background: radial-gradient(circle, rgba(255, 138, 61, 0.32) 0%, rgba(255, 177, 59, 0.12) 48%, transparent 70%);
}

.section-glow-center {
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(75vw, 44rem);
  height: min(55vw, 32rem);
  background: radial-gradient(ellipse, rgba(255, 107, 44, 0.22) 0%, rgba(255, 79, 61, 0.1) 40%, transparent 70%);
}

.section-line {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 0;
  width: min(100%, 72rem);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 107, 44, 0.4) 30%,
    rgba(255, 177, 59, 0.5) 50%,
    rgba(255, 107, 44, 0.4) 70%,
    transparent 100%
  );
  opacity: 0.9;
}

.section > .container,
.section > .idea-grid {
  position: relative;
  z-index: 1;
}

.section-ambient > .container {
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mavy-orange);
}

.section h2 {
  margin-top: 1.25rem;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .section h2 {
    font-size: 3rem;
  }
}

.section-lead {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.section-body {
  margin-top: 1rem;
  max-width: 28rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.muted-soft {
  color: rgba(247, 247, 245, 0.44);
}

.section-intro {
  margin-bottom: 3rem;
  max-width: 42rem;
}

#como-funciona .section-intro {
  margin-bottom: 3.5rem;
}

.section-intro-center {
  margin-inline: auto;
  text-align: center;
}

.section-intro-center .section-lead {
  margin-top: 1.5rem;
}

/* ---------- IDEA / PRODUTO ---------- */
.idea-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .idea-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.idea-copy .section-lead {
  margin-top: 1.5rem;
}

.convergence {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 107, 44, 0.24);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 107, 44, 0.18), transparent 55%),
    rgba(16, 19, 20, 0.6);
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .convergence {
    padding: 2rem;
  }
}

.convergence-glow {
  pointer-events: none;
  position: absolute;
  right: -4rem;
  top: -4rem;
  width: 14rem;
  height: 14rem;
  border-radius: 9999px;
  background: rgba(255, 107, 44, 0.22);
  filter: blur(48px);
}

.convergence-tag-wrap {
  margin-bottom: 1.5rem;
}

.convergence-tag {
  display: inline-flex;
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mavy-orange-bright);
}

.context-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .context-items {
    grid-template-columns: 1fr 1fr;
  }
  .context-item-wide {
    grid-column: span 2;
  }
}

.context-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--muted);
  padding: 0.75rem 0.875rem;
  font-size: 0.875rem;
}

.item-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--mavy-orange);
  flex-shrink: 0;
}

.converge-lines {
  margin-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}

.converge-lines span {
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, transparent, rgba(255, 107, 44, 0.5), transparent);
}

.mavy-target {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 1rem;
  background: var(--brand-gradient);
  padding: 1rem;
  color: var(--mavy-charcoal);
}

.mavy-target img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.35rem;
}

.mavy-target span {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* ---------- COMO FUNCIONA ---------- */
.steps-wrap {
  position: relative;
}

.steps-track {
  pointer-events: none;
  position: absolute;
  background: var(--border);
}

.steps-track-h {
  display: none;
  left: 0;
  right: 0;
  top: 46px;
  height: 1px;
}

.steps-track-v {
  left: 27px;
  top: 0.5rem;
  bottom: 0;
  width: 1px;
}

@media (min-width: 1024px) {
  .steps-track-h {
    display: block;
  }
  .steps-track-v {
    display: none;
  }
}

.steps-progress {
  background: var(--brand-gradient);
  transition: width 0.15s ease-out, height 0.15s ease-out;
}

.steps-track-h .steps-progress {
  height: 100%;
  width: 0%;
}

.steps-track-v .steps-progress {
  width: 100%;
  height: 0%;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.step {
  position: relative;
  padding-left: 4rem;
}

@media (min-width: 1024px) {
  .step {
    padding-left: 0;
  }
}

.step-icon {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--mavy-charcoal-2);
  color: var(--muted-foreground);
  transition: all 0.5s;
}

.step-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 1024px) {
  .step-icon {
    position: relative;
    width: 52px;
    height: 52px;
  }
  .step-icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }
  .step-body {
    margin-top: 1.5rem;
  }
}

.step.is-active .step-icon {
  border-color: transparent;
  background: var(--brand-gradient);
  color: var(--mavy-charcoal);
  box-shadow: 0 10px 30px -10px rgba(255, 107, 44, 0.7);
}

.step-title-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.step-n {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
  transition: color 0.3s;
}

.step.is-active .step-n {
  color: var(--mavy-orange-bright);
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.step p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.flow-summary {
  margin-top: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

.flow-summary > span:not(.flow-arrow) {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 247, 245, 0.9);
}

.flow-arrow {
  color: var(--mavy-orange);
}

/* ---------- PRODUCT DEMO ---------- */
.demo {
  overflow: hidden;
  border-radius: 1.5rem;
  border-color: rgba(255, 107, 44, 0.22);
  box-shadow:
    0 40px 120px -50px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 107, 44, 0.12),
    0 0 80px -16px rgba(255, 107, 44, 0.4);
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  padding: 0.75rem 1rem;
}

.demo-title {
  margin-left: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.demo-title img {
  width: 1rem;
  height: 1rem;
}

.demo-body {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .demo-body {
    grid-template-columns: 190px 1fr;
  }
}

.demo-sidebar {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  border-right: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.1);
  padding: 0.75rem;
}

@media (min-width: 768px) {
  .demo-sidebar {
    display: flex;
  }
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.sidebar-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.sidebar-item.active {
  background: rgba(255, 107, 44, 0.12);
  color: var(--mavy-orange-bright);
}

.demo-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
}

@media (min-width: 640px) {
  .demo-main {
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .demo-main {
    grid-template-columns: 1fr 300px;
  }
}

.idea-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.idea-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--muted);
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  color: rgba(247, 247, 245, 0.9);
  transition: all 0.5s;
}

.idea-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.idea-label svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--muted-foreground);
}

.idea-send {
  display: none;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--mavy-orange-bright);
}

.idea-send svg {
  width: 0.875rem;
  height: 0.875rem;
}

.idea-row.is-selected {
  border-color: rgba(255, 107, 44, 0.6);
  background: rgba(255, 107, 44, 0.1);
  color: var(--foreground);
  box-shadow: 0 0 0 1px rgba(255, 107, 44, 0.25);
}

.idea-row.is-selected .idea-label svg {
  color: var(--mavy-orange-bright);
}

.idea-row.is-selected .idea-send {
  display: flex;
}

.idea-row.is-sent {
  opacity: 0.6;
  transform: translateY(-4px);
}

@media (max-width: 767px) {
  .idea-row.is-sent {
    transform: none;
  }
}

.demo-chat {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
}

.chat-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.chat-label svg {
  width: 1rem;
  height: 1rem;
  color: var(--mavy-orange);
}

.chat-messages {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bubble {
  max-width: 90%;
  border-radius: 1rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.5s;
}

.bubble.is-visible {
  opacity: 1;
  transform: none;
}

.bubble-user {
  margin-left: auto;
  max-width: 85%;
  border-bottom-right-radius: 0.25rem;
  background: var(--brand-gradient);
  color: var(--mavy-charcoal);
}

.bubble-ai {
  border-bottom-left-radius: 0.25rem;
  border: 1px solid var(--border);
  background: var(--muted);
  color: rgba(247, 247, 245, 0.9);
  transition-delay: 150ms;
}

.art-preview {
  margin-top: 1rem;
}

.art-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--mavy-charcoal);
}

.art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  filter: blur(8px);
  transition: all 0.7s;
}

.art-frame img.is-visible {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.art-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.art-loading svg {
  width: 1rem;
  height: 1rem;
  color: var(--mavy-orange);
  animation: pulse-glow 2s ease-in-out infinite;
}

.art-loading.is-hidden {
  display: none;
}

/* ---------- VISÃO ---------- */
.vision-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .vision-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.vision-card {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  padding: 1.75rem;
}

.vision-today {
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(255, 107, 44, 0.2), transparent 55%),
    rgba(16, 19, 20, 0.6);
  border-color: rgba(255, 107, 44, 0.28);
}

.vision-next {
  background:
    radial-gradient(ellipse 70% 80% at 100% 100%, rgba(255, 177, 59, 0.14), transparent 55%),
    rgba(16, 19, 20, 0.4);
}

.vision-head {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vision-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
}

.vision-dot.orange {
  background: var(--mavy-orange);
}

.vision-dot.muted {
  background: rgba(255, 255, 255, 0.3);
}

.vision-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--foreground);
}

.vision-label.muted {
  color: var(--muted-foreground);
}

.vision-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.tag-active {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 107, 44, 0.4);
  background: rgba(255, 107, 44, 0.1);
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mavy-orange-bright);
}

.tag-active svg {
  width: 0.875rem;
  height: 0.875rem;
}

.tag-next {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--muted);
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  opacity: var(--o, 1);
  transition: border-color 0.2s, color 0.2s;
}

.tag-next:hover {
  border-color: rgba(255, 107, 44, 0.4);
  color: var(--foreground);
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 7rem var(--container-px);
}

@media (min-width: 1024px) {
  .final-cta {
    padding-block: 9rem;
  }
}

.cta-backdrop {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-icon-bg {
  width: 130%;
  max-width: 48rem;
  opacity: 0.06;
  filter: blur(2px);
}

@media (min-width: 640px) {
  .cta-icon-bg {
    width: 100%;
  }
}

.cta-blur {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  top: 50%;
  transform: translateY(-50%);
  margin-inline: auto;
  height: 20rem;
  max-width: 46rem;
  border-radius: 9999px;
  background: rgba(255, 107, 44, 0.24);
  filter: blur(100px);
}

.cta-content {
  position: relative;
  z-index: 10;
  margin-inline: auto;
  max-width: 42rem;
  text-align: center;
}

.cta-content h2 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .cta-content h2 {
    font-size: 3.75rem;
  }
}

.cta-content p {
  margin-inline: auto;
  margin-top: 1.5rem;
  max-width: 28rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.cta-content .btn-primary {
  margin-top: 2.25rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid rgba(255, 107, 44, 0.2);
  background:
    radial-gradient(ellipse 60% 120% at 10% 100%, rgba(255, 107, 44, 0.12), transparent 55%),
    transparent;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 3rem;
}

@media (min-width: 640px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
  }
}

.footer-logo {
  height: 2rem;
  width: auto;
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.footer-nav a {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--foreground);
}

.footer-bottom {
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  padding-block: 1.25rem;
  font-size: 0.75rem;
  color: rgba(247, 247, 245, 0.385);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
