/* TOIA — one page (fiel ao protótipo) */

:root {
  color-scheme: dark;
  --background: #050a16;
  --surface: #0a1324;
  --foreground: #eef2f8;
  --primary: #1f6bff;
  --primary-foreground: #eef2f8;
  --secondary: #0f1b31;
  --muted: #0f1b31;
  --muted-foreground: #8b98ae;
  --accent: #22d3ee;
  --accent-foreground: #050a16;
  --border: rgb(238 242 248 / 0.08);
  --radius: 0.75rem;
  --font-sans: var(--font-geist), 'Geist Fallback', ui-sans-serif, system-ui, sans-serif;
  --font-display: var(--font-sora), 'Sora Fallback', ui-sans-serif, system-ui, sans-serif;
  --max: 80rem; /* max-w-7xl */
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

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

::selection {
  background: rgb(31 107 255 / 0.45);
  color: var(--foreground);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.font-display {
  font-family: var(--font-display);
}

.text-brand-gradient {
  background-image: linear-gradient(100deg, var(--foreground) 0%, #8fc2ff 35%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-grid {
  background-image:
    linear-gradient(to right, rgb(238 242 248 / 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(238 242 248 / 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ——— Animations ——— */
@keyframes dash-flow {
  to {
    stroke-dashoffset: -40;
  }
}
@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.25;
  }
  50% {
    transform: translate3d(var(--dx, 8px), var(--dy, -14px), 0);
    opacity: 0.9;
  }
}
@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse-ring {
  0% {
    transform: scale(0.85);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}
@keyframes travel-x {
  0% {
    left: 0%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}
@keyframes travel-y {
  0% {
    top: 0%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}
@keyframes bar-grow {
  0%,
  100% {
    transform: scaleY(var(--from, 0.4));
  }
  50% {
    transform: scaleY(var(--to, 1));
  }
}
@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}
@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.animate-dash {
  animation: dash-flow 2.4s linear infinite;
}
.animate-drift {
  animation: drift var(--dur, 9s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.animate-spin-slow {
  animation: spin-slow var(--dur, 60s) linear infinite;
}
.animate-pulse-ring {
  animation: pulse-ring 2.8s cubic-bezier(0.2, 0.6, 0.2, 1) infinite;
}
.animate-travel-x {
  animation: travel-x 4.5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.animate-travel-y {
  animation: travel-y 4.5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.animate-bar {
  animation: bar-grow var(--dur, 3.2s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  transform-origin: bottom;
  transform-box: fill-box;
}
.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.animate-float {
  animation: float-y var(--float-dur, 7s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.hero-enter {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
}
.hero-enter.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--enter-delay, 0s);
}

@media (max-width: 767px) {
  .hero-enter,
  .hero-visual-wrap,
  .reveal,
  .approach-step,
  .process-step {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .eco-node,
  .eco-diag {
    opacity: 1;
    filter: none;
    transition: none;
  }
  .eco-node {
    transform: translate(-50%, -50%);
  }
  .eco-diag {
    transform: translate(-50%, 0);
  }
}

@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,
  .hero-enter,
  .hero-visual-wrap,
  .eco-node,
  .eco-diag,
  .approach-step,
  .process-step {
    opacity: 1;
    filter: none;
    transition: none;
  }
  .reveal,
  .hero-enter,
  .hero-visual-wrap,
  .approach-step,
  .process-step {
    transform: none;
  }
  .eco-node {
    transform: translate(-50%, -50%);
  }
  .eco-diag {
    transform: translate(-50%, 0);
  }
}

/* ——— Layout helpers ——— */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.icon-sm {
  width: 0.875rem;
  height: 0.875rem;
}
.icon-md {
  width: 1.25rem;
  height: 1.25rem;
}
.icon-lg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
}

.header-bar {
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    background-color 0.5s,
    border-color 0.5s,
    backdrop-filter 0.5s;
}

.header-bar.is-solid {
  border-color: var(--border);
  background: rgb(5 10 22 / 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav {
  display: flex;
  height: 4rem;
  max-width: var(--max);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) {
  .nav {
    height: 5rem;
    padding-inline: 2rem;
  }
}

.logo img {
  height: 1.75rem;
  width: auto;
}
@media (min-width: 768px) {
  .logo img {
    height: 2rem;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--foreground);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.375rem;
  height: 1px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.nav-link:hover::after {
  transform: scaleX(1);
}

.btn-ghost {
  display: inline-flex;
  height: 2.5rem;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgb(238 242 248 / 0.15);
  background: rgb(238 242 248 / 0.05);
  padding-inline: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}
.btn-ghost:hover {
  border-color: rgb(31 107 255 / 0.6);
  background: rgb(31 107 255 / 0.15);
}
.btn-ghost .icon,
.btn-outline .icon,
.btn-primary .icon,
.btn-solid .icon {
  transition: transform 0.3s;
}
.btn-ghost:hover .icon,
.btn-outline:hover .icon,
.btn-primary:hover .icon {
  transform: translate(2px, -2px);
}

.menu-toggle {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--border);
}
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  height: calc(100dvh - 4rem);
  border-bottom: 1px solid var(--border);
  background: rgb(5 10 22 / 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.is-open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
@media (min-width: 768px) {
  .mobile-menu,
  .mobile-menu.is-open {
    display: none !important;
  }
}

.mobile-menu-inner {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.25rem 2.5rem;
}

.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-block: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--foreground);
  opacity: 0;
  transform: translateX(-12px);
  transition:
    opacity 0.35s,
    transform 0.35s;
}
.mobile-menu.is-open .mobile-link {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu.is-open li:nth-child(1) .mobile-link {
  transition-delay: 0.05s;
}
.mobile-menu.is-open li:nth-child(2) .mobile-link {
  transition-delay: 0.1s;
}
.mobile-menu.is-open li:nth-child(3) .mobile-link {
  transition-delay: 0.15s;
}
.mobile-menu.is-open li:nth-child(4) .mobile-link {
  transition-delay: 0.2s;
}
.mobile-link .icon {
  color: var(--muted-foreground);
  width: 1.25rem;
  height: 1.25rem;
}

.btn-primary-full {
  display: inline-flex;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--primary);
  font-weight: 500;
  color: var(--primary-foreground);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 7rem;
}
@media (min-width: 768px) {
  .hero {
    padding-top: 8rem;
  }
}

.hero-grid-mask {
  position: absolute;
  inset: 0;
  z-index: -10;
  mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, black, transparent);
}

.hero-glow {
  position: absolute;
  top: -10rem;
  right: -10%;
  z-index: -10;
  width: 640px;
  height: 640px;
  border-radius: 9999px;
  background: rgb(31 107 255 / 0.15);
  filter: blur(140px);
}

.hero-layout {
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1.05fr 1fr;
    gap: 1.5rem;
    padding-bottom: 6rem;
  }
}

.hero-copy {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
@media (min-width: 768px) {
  .hero-copy {
    gap: 2rem;
  }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted-foreground);
}
@media (min-width: 768px) {
  .hero-eyebrow {
    font-size: 0.75rem;
  }
}

.pulse-dot {
  position: relative;
  display: flex;
  width: 0.5rem;
  height: 0.5rem;
}
.pulse-dot-ping {
  position: absolute;
  display: inline-flex;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background: rgb(34 211 238 / 0.6);
}
.pulse-dot-core {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--foreground);
}
.hero-title span {
  display: block;
}
@media (min-width: 640px) {
  .hero-title {
    font-size: 3.75rem;
  }
}
@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.25rem;
  }
}
@media (min-width: 1280px) {
  .hero-title {
    font-size: 4.75rem;
  }
}

.hero-lead {
  max-width: 36rem;
  text-wrap: pretty;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}
@media (min-width: 768px) {
  .hero-lead {
    font-size: 1.125rem;
  }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    align-items: center;
  }
}

.btn-solid {
  display: inline-flex;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--foreground);
  padding-inline: 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--background);
  transition: background 0.2s;
}
.btn-solid:hover {
  background: rgb(238 242 248 / 0.9);
}
.btn-solid:hover .icon {
  transform: translateY(2px);
}

.btn-outline {
  display: inline-flex;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgb(238 242 248 / 0.15);
  padding-inline: 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}
.btn-outline:hover {
  border-color: rgb(31 107 255 / 0.6);
  background: rgb(31 107 255 / 0.1);
}

.hero-visual-wrap {
  position: relative;
  margin-inline: auto;
  width: 100%;
  max-width: 560px;
  opacity: 0;
  transform: scale(0.94);
}
.hero-visual-wrap.is-in {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.2s;
}

/* ——— Hero Ecosystem ——— */
.ecosystem {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  user-select: none;
}

.eco-glow {
  position: absolute;
  inset: 6%;
  border-radius: 9999px;
  pointer-events: none;
}

.eco-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.eco-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24%;
  transform: translate(-50%, -50%);
}
.eco-center-ring {
  position: absolute;
  inset: 0;
  border-radius: 28%;
  border: 1px solid rgb(34 211 238 / 0.4);
}
.eco-center-ring.delay {
  border-color: rgb(31 107 255 / 0.4);
  animation-delay: 1.4s;
}
.eco-center-img {
  position: relative;
  overflow: hidden;
  border-radius: 28%;
  border: 1px solid rgb(238 242 248 / 0.1);
  box-shadow: 0 0 80px -10px rgb(31 107 255 / 0.6);
}
.eco-center-img img {
  width: 100%;
  height: 100%;
}

.eco-front {
  position: absolute;
  inset: 0;
}

.eco-node {
  position: absolute;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
}
.eco-node.is-in {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.eco-node-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgb(238 242 248 / 0.1);
  background: rgb(10 19 36 / 0.7);
  padding: 0.375rem 0.75rem 0.375rem 0.375rem;
  box-shadow: 0 10px 40px -12px rgb(0 0 0 / 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@media (min-width: 640px) {
  .eco-node-pill {
    gap: 0.625rem;
    padding-right: 1rem;
  }
}
.eco-node-icon {
  display: flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgb(31 107 255 / 0.15);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgb(31 107 255 / 0.3);
}
@media (min-width: 640px) {
  .eco-node-icon {
    width: 2rem;
    height: 2rem;
  }
}
.eco-node-label {
  white-space: nowrap;
  font-size: 11px;
  font-weight: 500;
}
@media (min-width: 640px) {
  .eco-node-label {
    font-size: 0.875rem;
  }
}

.eco-diag {
  position: absolute;
  left: 50%;
  top: 93%;
  display: none;
  opacity: 0;
  transform: translate(-50%, 10px);
}
.eco-diag.is-in {
  opacity: 1;
  transform: translate(-50%, 0);
  transition:
    opacity 0.8s,
    transform 0.8s;
  transition-delay: 1.3s;
}
@media (min-width: 640px) {
  .eco-diag {
    display: block;
  }
}
.eco-diag-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(238 242 248 / 0.1);
  background: rgb(10 19 36 / 0.6);
  padding: 0.625rem 0.875rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.eco-diag-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}
.eco-diag-label.fg {
  color: var(--foreground);
}
.eco-diag-line {
  position: relative;
  height: 1px;
  width: 4rem;
  overflow: hidden;
  background: rgb(238 242 248 / 0.1);
}
.eco-diag-traveler {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 33%;
  background: var(--accent);
}

/* ——— Section shared ——— */
.section {
  position: relative;
  padding-block: 6rem;
}
@media (min-width: 768px) {
  .section {
    padding-block: 9rem;
  }
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
}
.section-eyebrow-line {
  height: 1px;
  width: 2rem;
  background: rgb(34 211 238 / 0.6);
}

.section-title {
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}
.section-title .muted {
  color: var(--muted-foreground);
}

.section-lead {
  text-wrap: pretty;
  line-height: 1.625;
  color: var(--muted-foreground);
}
@media (min-width: 768px) {
  .section-lead {
    font-size: 1.125rem;
  }
}

/* ——— Approach ——— */
.approach-top {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .approach-top {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
    gap: 4rem;
  }
}

.approach-steps-wrap {
  position: relative;
  margin-top: 4rem;
}
@media (min-width: 768px) {
  .approach-steps-wrap {
    margin-top: 6rem;
  }
}

.approach-line {
  position: absolute;
  bottom: 2.5rem;
  left: 27px;
  top: 2.5rem;
  width: 1px;
  overflow: hidden;
  background: rgb(238 242 248 / 0.1);
}
@media (min-width: 768px) {
  .approach-line {
    bottom: auto;
    left: 16.66%;
    right: 16.66%;
    top: 27px;
    height: 1px;
    width: auto;
  }
}

.approach-line-fill {
  position: absolute;
  inset: 0;
  transform-origin: top;
  background: linear-gradient(to bottom, var(--accent), var(--primary), transparent);
  transform: scaleY(0);
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 768px) {
  .approach-line-fill {
    transform-origin: left;
    background: linear-gradient(to right, var(--accent), var(--primary), transparent);
    transform: scaleX(0) scaleY(1);
  }
}
.approach-line-fill.is-on {
  transform: scaleY(1);
}
@media (min-width: 768px) {
  .approach-line-fill.is-on {
    transform: scaleX(1) scaleY(1);
  }
}

.approach-traveler-x {
  position: absolute;
  left: 0;
  top: 0;
  display: none;
  height: 1px;
  width: 6rem;
  background: linear-gradient(to right, transparent, var(--foreground), transparent);
}
@media (min-width: 768px) {
  .approach-traveler-x {
    display: block;
  }
}
.approach-traveler-y {
  position: absolute;
  left: 0;
  top: 0;
  height: 6rem;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--foreground), transparent);
}
@media (min-width: 768px) {
  .approach-traveler-y {
    display: none;
  }
}

.approach-steps {
  position: relative;
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .approach-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.approach-step {
  display: flex;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.approach-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (min-width: 768px) {
  .approach-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.approach-icon-wrap {
  position: relative;
  flex-shrink: 0;
}
.approach-icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 1px solid rgb(34 211 238 / 0.3);
}
.approach-icon {
  position: relative;
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgb(238 242 248 / 0.1);
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 0 0 6px var(--background);
}

.approach-step-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
}
@media (min-width: 768px) {
  .approach-step-body {
    max-width: 20rem;
    padding-top: 1rem;
  }
}
.approach-step-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}
.approach-step-body p {
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* ——— Solutions ——— */
.solutions-intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .solutions-intro {
    max-width: 48rem;
  }
}

.solutions-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .solutions-grid {
    margin-top: 5rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.solution-card {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgb(238 242 248 / 0.07);
  background: rgb(10 19 36 / 0.6);
  transition:
    border-color 0.5s,
    transform 0.5s;
}
.solution-card:hover {
  transform: translateY(-4px);
  border-color: rgb(31 107 255 / 0.35);
}

.solution-spotlight {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    rgb(31 107 255 / 0.14),
    transparent 60%
  );
}
.solution-card:hover .solution-spotlight {
  opacity: 1;
}

.solution-visual {
  position: relative;
  height: 11rem;
  border-bottom: 1px solid rgb(238 242 248 / 0.06);
  padding: 1.25rem 1.5rem;
}
@media (min-width: 768px) {
  .solution-visual {
    height: 13rem;
  }
}
.solution-visual svg {
  width: 100%;
  height: 100%;
}

.solution-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .solution-body {
    padding: 2rem;
  }
}

.solution-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.solution-icon {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid rgb(238 242 248 / 0.1);
  background: var(--background);
  color: var(--accent);
  transition: transform 0.5s;
}
.solution-card:hover .solution-icon {
  transform: rotate(-6deg) scale(1.05);
}
.solution-head h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
@media (min-width: 768px) {
  .solution-head h3 {
    font-size: 1.5rem;
  }
}

.solution-body > p {
  text-wrap: pretty;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.solution-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.5rem;
}
.solution-tags li {
  border-radius: 9999px;
  border: 1px solid rgb(238 242 248 / 0.1);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: rgb(238 242 248 / 0.8);
  transition: border-color 0.3s;
}
.solution-card:hover .solution-tags li {
  border-color: rgb(238 242 248 / 0.2);
}

.software-panel {
  transition: transform 0.7s;
}
.solution-card:hover .software-panel {
  transform: translateY(-4px);
}
.software-code {
  transition: transform 0.7s;
}
.solution-card:hover .software-code {
  transform: translate(4px, -8px);
}

/* ——— Process ——— */
.process {
  border-block: 1px solid var(--border);
  background: rgb(10 19 36 / 0.4);
}

.process-top {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .process-top {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
  .process-top .section-lead {
    text-align: right;
  }
}

.process-track {
  position: relative;
  margin-top: 4rem;
}
@media (min-width: 768px) {
  .process-track {
    margin-top: 6rem;
  }
}

.process-line {
  position: absolute;
  bottom: 0.5rem;
  left: 7px;
  top: 0.5rem;
  width: 1px;
  background: rgb(238 242 248 / 0.1);
}
@media (min-width: 768px) {
  .process-line {
    bottom: auto;
    left: 0;
    right: 0;
    top: 7px;
    height: 1px;
    width: auto;
  }
}

.process-progress {
  position: absolute;
  inset: 0;
  transform-origin: top;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  transform: scaleY(0);
}
@media (min-width: 768px) {
  .process-progress {
    display: none;
  }
  .process-progress-x {
    display: block;
    transform-origin: left;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transform: scaleX(0);
  }
}
.process-progress-x {
  position: absolute;
  inset: 0;
  display: none;
}

.process-steps {
  position: relative;
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.process-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (min-width: 768px) {
  .process-step {
    padding-left: 0;
    padding-top: 3rem;
  }
}

.process-dot {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  width: 15px;
  height: 15px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgb(34 211 238 / 0.6);
  background: var(--background);
}
.process-dot span {
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: var(--accent);
}

.process-n {
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}
.process-step p {
  line-height: 1.625;
  color: var(--muted-foreground);
}
@media (min-width: 768px) {
  .process-step p {
    max-width: 16rem;
  }
}

/* ——— Manifesto ——— */
.manifesto {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 7rem;
}
@media (min-width: 768px) {
  .manifesto {
    padding-block: 11rem;
  }
}

.manifesto-orb {
  position: absolute;
  right: -30%;
  top: 50%;
  z-index: -10;
  width: 900px;
  transform: translateY(-50%);
  opacity: 0.6;
}
@media (min-width: 768px) {
  .manifesto-orb {
    right: -12%;
  }
}

.manifesto-title {
  max-width: 64rem;
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--muted-foreground);
}
@media (min-width: 768px) {
  .manifesto-title {
    font-size: 3.75rem;
  }
}
@media (min-width: 1024px) {
  .manifesto-title {
    font-size: 4.5rem;
  }
}
.manifesto-title strong {
  font-weight: 400;
  color: var(--foreground);
}

.manifesto-body {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .manifesto-body {
    margin-top: 4rem;
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }
}
.manifesto-rule {
  margin-top: 0.75rem;
  height: 1px;
  width: 4rem;
  flex-shrink: 0;
  background: var(--accent);
}
.manifesto-body p {
  max-width: 42rem;
  text-wrap: pretty;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* ——— Contact ——— */
.contact {
  padding-inline: 1.25rem;
  padding-bottom: 6rem;
}
@media (min-width: 768px) {
  .contact {
    padding-inline: 2rem;
    padding-bottom: 8rem;
  }
}

.contact-card {
  position: relative;
  isolation: isolate;
  margin-inline: auto;
  max-width: var(--max);
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgb(238 242 248 / 0.08);
  background: var(--surface);
}

.contact-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -10;
  mask-image: linear-gradient(to bottom, transparent, black 70%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 70%);
}

.contact-glow {
  position: absolute;
  bottom: -50%;
  left: 50%;
  z-index: -10;
  height: 520px;
  width: 900px;
  transform: translateX(-50%);
  border-radius: 9999px;
  background: rgb(31 107 255 / 0.2);
  filter: blur(120px);
}

.contact-waves {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: -10;
  height: 10rem;
  width: 100%;
}

.contact-inner {
  display: grid;
  gap: 3.5rem;
  padding: 4rem 1.5rem;
}
@media (min-width: 768px) {
  .contact-inner {
    padding: 6rem 3.5rem;
  }
}
@media (min-width: 1024px) {
  .contact-inner {
    grid-template-columns: 1.4fr 1fr;
    gap: 5rem;
  }
}

.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-copy h2 {
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
@media (min-width: 768px) {
  .contact-copy h2 {
    font-size: 3.75rem;
  }
}
.contact-copy > p {
  max-width: 36rem;
  text-wrap: pretty;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.contact-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .contact-ctas {
    flex-direction: row;
  }
}

.btn-primary {
  display: inline-flex;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border-radius: 9999px;
  background: var(--primary);
  padding-inline: 2rem;
  font-weight: 500;
  color: var(--primary-foreground);
  box-shadow: 0 10px 40px -10px rgb(31 107 255 / 0.8);
  transition: all 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 50px -10px rgb(31 107 255 / 0.9);
}

.btn-outline-lg {
  display: inline-flex;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border-radius: 9999px;
  border: 1px solid rgb(238 242 248 / 0.15);
  padding-inline: 2rem;
  font-weight: 500;
  transition: all 0.2s;
}
.btn-outline-lg:hover {
  border-color: rgb(238 242 248 / 0.3);
  background: rgb(238 242 248 / 0.05);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  align-self: end;
}
.contact-channels li {
  border-bottom: 1px solid rgb(238 242 248 / 0.08);
}
.contact-channels li:first-child {
  border-top: 1px solid rgb(238 242 248 / 0.08);
}

.channel-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 1.25rem;
}
.channel-icon {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgb(238 242 248 / 0.1);
  color: var(--accent);
  transition: border-color 0.2s;
}
.channel-link:hover .channel-icon {
  border-color: rgb(34 211 238 / 0.5);
}
.channel-meta {
  display: flex;
  flex-direction: column;
}
.channel-meta .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}
.channel-arrow {
  margin-left: auto;
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
  transition: all 0.3s;
}
.channel-link:hover .channel-arrow {
  transform: translate(2px, -2px);
  color: var(--foreground);
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex;
  max-width: var(--max);
  margin-inline: auto;
  flex-direction: column;
  gap: 2.5rem;
  padding: 3rem 1.25rem;
}
@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding-inline: 2rem;
  }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-brand img {
  height: 1.75rem;
  width: auto;
  align-self: flex-start;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 640px) {
  .footer-nav {
    flex-direction: row;
    gap: 4rem;
  }
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-nav a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--foreground);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.footer-legal p {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

/* Conteúdo visível no primeiro paint do celular, sem esperar o JS */
@media (max-width: 767px) {
  .hero-enter,
  .hero-visual-wrap,
  .reveal,
  .approach-step,
  .process-step {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .eco-node,
  .eco-diag {
    opacity: 1;
    filter: none;
    transition: none;
  }
  .eco-node {
    transform: translate(-50%, -50%);
  }
  .eco-diag {
    transform: translate(-50%, 0);
  }
}
