:root {
  --bg: #09090a;
  --text: #fff7f1;
  --muted: rgba(255, 245, 238, 0.72);
  --line: rgba(255, 255, 255, 0.14);
  --chip: rgba(255, 255, 255, 0.08);
  --chip-border: rgba(255, 255, 255, 0.18);
  --accent: #ff7a00;
  --accent-soft: #ffc587;
  --button-text: #9f3300;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  --lime: #a6ff00;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  cursor: none;
}

/* ══════════════ LAYOUT UTILITIES ══════════════ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-padding {
  padding: 120px 0;
}

.bg-alt {
  background-color: rgba(255, 255, 255, 0.02);
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .section-padding {
    padding: 80px 0;
  }
}

/* ══════════════ CUSTOM CURSOR ══════════════ */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease-out, height 0.2s ease-out, background-color 0.2s ease-out, box-shadow 0.2s ease-out, border 0.2s ease-out;
  z-index: 9999;
  box-shadow: 0 0 20px 8px rgba(183, 255, 0, 0.7), 0 0 40px 15px rgba(183, 255, 0, 0.3);
  mix-blend-mode: screen;
}

.custom-cursor.hovered {
  width: 60px;
  height: 60px;
  background-color: var(--lime);
  box-shadow: 0 0 20px 4px rgba(183, 255, 0, 0.4);
  mix-blend-mode: difference;
}

a,
button {
  font: inherit;
  cursor: none;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 32px clamp(32px, 5vw, 72px) 0;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo img {
  height: 36px;
  width: auto;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header__link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.header__link:hover {
  color: var(--text);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), var(--shadow);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #0f0a08;
}

/* Hidden on desktop, shown on mobile */
.hero__mobile-images {
  display: none;
}

.hero__background,
.hero__reveal,
.hero__noise,
.hero__mask-canvas,
.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.hero__background {
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(25, 10, 4, 0.56) 0%, rgba(25, 10, 4, 0.22) 26%, rgba(25, 10, 4, 0) 52%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0.18) 100%),
    url("../images/hero.png");
  background-position: left top, center, 64% center;
  background-repeat: no-repeat;
  background-size: cover, cover, cover;
  transform: scale(1.01);
}

.hero__reveal {
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background-image: url("../images/hero1.png");
  background-position: 64% center;
  background-repeat: no-repeat;
  background-size: cover;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;
  transition: opacity 180ms ease;
}



.hero::before {
  background:
    radial-gradient(circle at 6% 12%, rgba(115, 255, 0, 0.45) 0, rgba(219, 255, 60, 0) 16%),
    radial-gradient(circle at 88% 10%, rgba(21, 255, 0, 0.18) 0, rgba(133, 166, 15, 0) 20%);
  z-index: 0;
}

.hero::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0) 8%);
  mix-blend-mode: screen;
  opacity: 0.35;
  z-index: 4;
}

.hero__noise {
  z-index: 3;
  opacity: 0.14;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.4) 0.65px, transparent 0.65px),
    radial-gradient(rgba(0, 0, 0, 0.22) 0.65px, transparent 0.65px);
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px;
  mix-blend-mode: soft-light;
}

.hero__mask-canvas {
  display: none;
}

.hero__shell {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  padding: 40px clamp(32px, 5vw, 72px);
  display: flex;
  align-items: center;
}

.hero__content {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(440px, 640px) auto;
  align-items: center;
  gap: 44px;
  width: 100%;
}

.hero__copy {
  max-width: 620px;
  align-self: center;
}

.hero__eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.66rem;
  color: rgba(255, 238, 227, 0.74);
}

.hero__copy h1 {
  margin: 0;
  max-width: 580px;
  font-size: clamp(2.7rem, 4.8vw, 4.45rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: pretty;
}

.hero__text {
  max-width: 430px;
  margin: 22px 0 28px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    var(--shadow);
}

.header__cta,
.hero__cta {
  background: linear-gradient(180deg, #d4ff33 0%, #a6ff00 48%, #85cc00 100%);
  color: #062e03;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, filter 0.2s, box-shadow 0.2s;
}

.header__cta span,
.hero__cta span {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.header__cta::before,
.hero__cta::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='100' height='100'%3E%3Cpath d='M10 0l-5 40h15L5 100l25-50H15l15-50zm40 10l-10 30h20l-15 60 30-50H60l20-40zm30 20l-5 20h10l-10 40 20-30H85l10-30z' fill='none' stroke='white' stroke-width='2' filter='drop-shadow(0 0 3px white)'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  opacity: 0;
  transition: opacity 0.3s ease;
  mask-image: radial-gradient(circle 50px at var(--x, 50%) var(--y, 50%), black, transparent);
  -webkit-mask-image: radial-gradient(circle 50px at var(--x, 50%) var(--y, 50%), black, transparent);
  z-index: 1;
}

.header__cta:hover,
.hero__cta:hover {
  filter: brightness(1.05);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px rgba(166, 255, 0, 0.4);
}

.header__cta:hover::before,
.hero__cta:hover::before {
  opacity: 1;
}

.hero__stats {
  align-self: center;
  justify-self: end;
  display: grid;
  gap: 24px;
  padding-right: 4px;
}

.stat {
  position: relative;
  padding-left: 18px;
  text-align: left;
}

.stat::before {
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 1px;
  background: rgba(255, 236, 222, 0.92);
  content: "";
}

.stat strong {
  display: block;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

/* Highlighted stat numbers */
.stat__number {
  color: var(--lime);
  text-shadow:
    0 0 10px rgba(166, 255, 0, 0.5),
    0 0 30px rgba(166, 255, 0, 0.25),
    0 0 60px rgba(166, 255, 0, 0.1);
  font-weight: 700;
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  position: relative;
}

.stat__number::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), transparent);
  opacity: 0.6;
  border-radius: 2px;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 239, 228, 0.7);
}

.hero--ready .hero__background,
.hero--ready .hero__reveal {
  transition: transform 180ms linear;
}

.hero--hovering .hero__reveal {
  opacity: 1;
}

/* Animations & Highlights */
.highlight {
  color: #a6ff00;
  text-shadow: 0 0 14px rgba(166, 255, 0, 0.4);
  font-weight: 700;
}

/* ══════════════ CURSOR-LOCAL TEXT INVERT ══════════════ */
.hero__copy--active h1 {
  background-image: radial-gradient(circle 110px at var(--invert-x, -500px) var(--invert-y, -500px),
      #09090a 0px,
      #09090a 35px,
      var(--text) 95px);
  background-attachment: fixed;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__copy--active .hero__text {
  background-image: radial-gradient(circle 110px at var(--invert-x, -500px) var(--invert-y, -500px),
      rgba(9, 9, 10, 0.72) 0px,
      rgba(9, 9, 10, 0.72) 35px,
      rgba(255, 245, 238, 0.72) 95px);
  background-attachment: fixed;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__copy--active .highlight {
  background-image: radial-gradient(circle 110px at var(--invert-x, -500px) var(--invert-y, -500px),
      #ffffff 0px,
      #ffffff 35px,
      #a6ff00 95px);
  background-attachment: fixed;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.animate-up {
  opacity: 0;
  animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Parallax Sparks */
.hero__sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.spark {
  position: absolute;
  background: #a6ff00;
  border-radius: 50%;
  box-shadow: 0 0 6px #a6ff00, 0 0 14px rgba(166, 255, 0, 0.6);
  opacity: 0;
  will-change: transform, opacity;
  animation:
    spark-rise var(--rise-duration, 6s) linear infinite,
    spark-sway var(--sway-duration, 3s) ease-in-out infinite alternate;
  animation-delay: var(--spark-delay, 0s);
}

@keyframes spark-rise {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  5% {
    opacity: 0.9;
  }

  70% {
    opacity: 0.6;
  }

  100% {
    opacity: 0;
    transform: translateY(calc(-100vh - 40px));
  }
}

@keyframes spark-sway {
  0% {
    margin-left: var(--sway-left, -20px);
  }

  100% {
    margin-left: var(--sway-right, 20px);
  }
}

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

  .hero__background {
    background-position: left top, center, 68% center;
  }

  .hero__reveal {
    background-position: 68% center;
  }

  .hero__content {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 28px;
  }

  .hero__copy {
    max-width: 520px;
    align-self: center;
  }

  .hero__stats {
    justify-self: start;
    align-self: center;
    grid-auto-flow: column;
    gap: 22px;
    padding-right: 0;
  }
}

@media (max-width: 680px) {

  /* Hide desktop background layers on mobile */
  .hero__background,
  .hero__reveal,
  .hero__noise,
  .hero__mask-canvas,
  .hero::before,
  .hero::after {
    display: none;
  }

  .hero {
    min-height: auto;
    overflow: visible;
    background: var(--bg);
  }

  /* Mobile images: full-width stacked */
  .hero__mobile-images {
    display: block;
    position: sticky;
    top: 0;
    width: 100%;
    height: 100svh;
    z-index: 1;
    margin-bottom: 80vh;
  }

  .hero__mobile-img {
    position: absolute;
    inset: 0;
  }

  .hero__mobile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .hero__mobile-img--base {
    z-index: 1;
  }

  .hero__mobile-img--reveal {
    z-index: 2;
    opacity: 0;
  }

  .hero__mobile-img--reveal.visible {
    opacity: 1;
  }

  /* Gradient fade at bottom of images */
  .hero__mobile-images::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    z-index: 3;
    pointer-events: none;
  }

  /* Text shell sits below images in flow */
  .hero__shell {
    position: relative;
    z-index: 4;
    min-height: auto;
    padding: 40px 24px 60px;
    align-items: flex-start;
    background: var(--bg);
  }

  .hero__content {
    gap: 30px;
  }

  .hero__copy {
    max-width: 100%;
    text-align: left;
    padding: 0;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    box-shadow: none;
  }

  .hero__copy h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 9.4vw, 3rem);
    line-height: 0.98;
  }

  .hero__text {
    max-width: 100%;
    margin: 18px 0 24px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(255, 242, 234, 0.88);
  }

  .hero__stats {
    justify-self: start;
    gap: 16px;
  }

  .stat {
    padding-left: 14px;
  }

  .stat strong {
    font-size: 1.6rem;
  }

  .stat__number {
    font-size: 1.8rem;
  }

  .stat span {
    font-size: 0.6rem;
  }

  /* Hide sparks on mobile for performance */
  .hero__sparks {
    display: none;
  }

}

/* ══════════════ METHOD FRAME SEQUENCE ══════════════ */
.method {
  padding: 0;
  overflow: visible;
}

.method__frames {
  display: block;
  position: relative;
  height: 500vh;
  /* 400vh for sequence + 100vh for overlap */
}

.method__frames-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.method__frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.08s linear;
  will-change: opacity;
}

.method__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.method__frame--active {
  opacity: 1;
}

.method__frames-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 8, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 2;
  pointer-events: none;
}

/* Method Text Section */
.method__text-scroll {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500vh;
  /* Match frames height */
  pointer-events: none;
  z-index: 2;
}

.method__text-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  pointer-events: auto;
  padding: 0 24px;
  /* Margem de segurança */
}

.method__text-content {
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Method Progress Bar */
.method__progress-bar {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 800px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.method__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--lime);
  border-radius: 2px;
}

/* ══════════════ NEW SECTIONS CSS ══════════════ */

/* Entrance Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

.scroll-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Creative Hover States for Cards/Containers */
.interactive-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.interactive-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(166, 255, 0, 0.05),
      transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  z-index: 0;
  pointer-events: none;
}

.interactive-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(166, 255, 0, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(166, 255, 0, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.interactive-card:hover::before {
  left: 200%;
}

.interactive-card>* {
  position: relative;
  z-index: 1;
}





.bg-alt {
  background: #0f0f11;
}

.text-center {
  text-align: center;
}

.section-title {
  margin-bottom: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-title p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.6;
}

.eyebrow {
  display: block;
  color: var(--lime);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Updated Hero Actions & Tags */
.hero__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero__cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.hero__cta-outline:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 500px;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--muted);
  transition: all 0.2s ease;
}

.tag:hover {
  background: rgba(166, 255, 0, 0.1);
  border-color: var(--lime);
  color: var(--lime);
}

/* Problem Section */
.problem__header {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.problem__header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.problem__header .subtitle {
  font-size: 1.2rem;
  color: var(--muted);
}

.problem__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
}

.problem__item {
  flex: 0 1 calc(33.333% - 16px);
  min-width: 280px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.problem__icon {
  color: #ff4a4a;
  font-weight: bold;
  font-size: 1.2rem;
}

.problem__item p {
  margin: 0;
  line-height: 1.5;
  color: var(--muted);
}

.problem__conclusion {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  text-align: center;
}

.problem__conclusion strong {
  color: var(--lime);
}


.method__steps {
  position: relative;
  min-height: 220px;
  margin-top: 32px;
}

.method__step {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border-top: 2px solid var(--lime);
  padding: 32px 24px;
  border-radius: 0 0 12px 12px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.method__step--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.method__step h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text);
}

.method__step p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 700px;
}

/* Manifesto Section */
.manifesto,
.services,
.results,
.cta,
.footer {
  position: relative;
  z-index: 10;
  background: #0f0a08;
  /* Ensure they cover the sticky elements underneath */
}

.manifesto {
  margin-top: -100vh;
}

.manifesto__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

.manifesto__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
  margin-bottom: 60px;
}

.manifesto__stat strong {
  display: block;
  font-size: 3.5rem;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(166, 255, 0, 0.3);
}

.manifesto__stat span {
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.manifesto__signature {
  text-align: center;
  font-style: italic;
  color: var(--muted);
}

/* Services Sticky Scatter Section */
.services {
  padding: 0;
  overflow: visible;
}
.services__scroll-container {
  height: 150vh;
  position: relative;
}
.services__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 20px;
}
.services__center-title {
  text-align: center;
  z-index: 10;
  pointer-events: none;
  background: var(--bg);
  padding: 40px;
  border-radius: 50%;
  box-shadow: 0 0 100px 50px var(--bg);
}
.services__center-title h2 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin: 16px 0;
}
.services__scatter-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.scatter-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  will-change: transform, opacity;
  pointer-events: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scatter-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text);
}
.scatter-card p {
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 12px;
  font-size: 0.85rem;
}
.scatter-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scatter-card ul li {
  color: var(--text);
  margin-bottom: 6px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.scatter-card ul li::before {
  content: "→";
  color: var(--lime);
}
@media (max-width: 768px) {
  .services__center-title h2 { font-size: 2rem; }
  .services__sticky {
    position: relative; 
    height: auto;
    padding: 80px 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .services__scroll-container {
    height: auto;
  }
  .services__scatter-container {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .scatter-card {
    position: relative;
    top: auto;
    left: auto;
    transform: none !important;
    opacity: 1 !important;
    width: 100%;
    max-width: 400px;
  }
}

/* Results Section */
/* Clients Carousel */
.clients-carousel-wrapper {
  margin-bottom: 60px;
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.clients-carousel {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.clients-track {
  display: flex;
  gap: 40px;
  width: max-content;
}

.track-1,
.track-3 {
  animation: scroll-carousel 120s linear infinite;
}

.track-2 {
  animation: scroll-carousel-reverse 120s linear infinite;
}

@keyframes scroll-carousel-reverse {
  0% {
    transform: translateX(calc(-50% - 20px));
  }

  100% {
    transform: translateX(0);
  }
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  /* Frosted glass gives contrast to both white & black logos */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.4s ease;
  width: 200px;
  height: 140px;
  /* Fixed size for perfect harmony */
  filter: grayscale(100%) opacity(0.6);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.4s ease;
}

.client-logo span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.4s ease;
  display: none;
  /* Hidden by default since the user only added images */
}

.client-logo:hover {
  filter: grayscale(0%) opacity(1);
  background: rgba(166, 255, 0, 0.1);
  border-color: var(--lime);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(166, 255, 0, 0.15);
}

.client-logo.highlight-logo {
  filter: grayscale(0%) opacity(1);
  background: rgba(166, 255, 0, 0.08);
  /* slight green tint always active */
  border-color: rgba(166, 255, 0, 0.4);
  transform: scale(1.05);
  /* slightly bigger to stand out */
}

.client-logo.highlight-logo:hover {
  background: rgba(166, 255, 0, 0.15);
  transform: scale(1.05) translateY(-4px);
}

.client-logo:hover span {
  color: var(--lime);
}

@keyframes scroll-carousel {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 20px));
  }
}



.results__stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 48px;
  text-align: center;
  flex-wrap: wrap;
}

.r-stat {
  text-align: center;
}

.r-stat strong {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 8px;
}

.r-stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Process Section - Sticky Scroll Carousel */
.process {
  padding: 0;
  overflow: visible;
}

.process__scroll-container {
  height: 250vh;
  /* scroll height to drive the animation */
  position: relative;
}

.process__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding-top: 80px;
}

.process__header {
  margin-bottom: 40px;
}

.process__progress-wrapper {
  position: absolute;
  top: calc(50% - 200px);
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 0;
}

.process__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--lime);
  position: relative;
}

.process__progress-bar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}

.process__carousel {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.timeline-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  padding: 56px 64px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: calc(100% - 48px);
  max-width: 720px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  text-align: center;
  align-items: center;
}

.timeline-item.is-active .tl-time {
  opacity: 1;
}

/* Hide custom cursor on all touch devices regardless of screen width */
@media (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
}

.timeline-item.is-active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.tl-num {
  font-size: 10rem;
  font-weight: 700;
  color: rgba(166, 255, 0, 0.03);
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.tl-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tl-content h3 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 700;
}

.tl-content p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.15rem;
  margin-bottom: 24px;
}

.tl-time {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--lime);
  font-weight: 600;
  padding: 8px 16px;
  background: rgba(166, 255, 0, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(166, 255, 0, 0.15);
  width: fit-content;
}

/* Testimonials */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 40px 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}

.author strong {
  display: block;
  color: var(--lime);
  margin-bottom: 4px;
}

.author span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* FAQ Section */

.faq__list {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(166, 255, 0, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.faq-item summary {
  padding: 24px 64px;
  font-size: 1.15rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text);
  transition: color 0.3s ease;
  position: relative;
  text-align: center;
}

.faq-item summary:hover {
  color: var(--lime);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--lime);
  font-size: 1.8rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  position: absolute;
  right: 32px;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 32px 32px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
  animation: faq-fade-in 0.4s ease forwards;
  text-align: center;
}

@keyframes faq-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA Final */
.cta-final .subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 40px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--lime);
  color: #0f0a08;
}

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

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.cta-note {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Footer */
.footer {
  background: #000;
  padding: 80px 24px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}

.footer__logo {
  height: 32px;
  margin-bottom: 24px;
}

.footer__brand p {
  color: var(--muted);
  max-width: 300px;
  line-height: 1.6;
}

.footer__links h4 {
  color: var(--text);
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.footer__links a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--lime);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 0.85rem;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {


  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .manifesto__stat strong {
    font-size: 2.5rem;
  }

  .timeline-item {
    padding: 40px 28px;
    border-radius: 20px;
  }

  .process__progress-wrapper {
    top: calc(50% - 210px);
  }

  .custom-cursor {
    display: none !important;
  }

  .results__stats {
    gap: 40px;
  }

  .tl-num {
    font-size: 3rem;
    top: 24px;
    right: 24px;
  }

  .tl-content h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .tl-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .project-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__tags {
    justify-content: center;
  }

  /* Mobile safe margins and fitting */
  .method__text-sticky {
    padding: 0 20px;
  }

  .method__step {
    padding: 20px 20px;
  }

  .fab-container {
    bottom: 24px;
    right: 24px;
  }

  .fab {
    width: 48px;
    height: 48px;
  }
}



/* ══════════════ FLOATING ACTION BUTTONS ══════════════ */
.fab-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 100;
  pointer-events: none;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
  background: rgba(15, 15, 17, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.fab:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--lime);
  color: var(--lime);
  box-shadow: 0 8px 30px rgba(166, 255, 0, 0.2);
}

.fab--whatsapp:hover {
  background: rgba(166, 255, 0, 0.1);
}

.fab--top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.fab--top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ══════════════ CTA FINAL LAYOUT ══════════════ */
.cta-final {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 80px;
}

.robot-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Overlay Spline for visibility */
  pointer-events: none;
  background: transparent; 
  mix-blend-mode: screen; /* Renders black as transparent, keeps neon */
}

.spline-bg {
  position: absolute;
  inset: 0;
  z-index: 1; /* Updated to be above canvas */
  display: flex;
  justify-content: center;
  align-items: center;
}

.spline-watermark-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 170px;
  height: 60px;
  background: #000000;
  /* Preto igual ao fundo do robô */
  z-index: 2;
  pointer-events: auto;
  /* Bloqueia cliques no botão original */
}

.cta-glass-panel {
  position: relative;
  z-index: 3;
  pointer-events: auto;
  max-width: 800px;
  padding: 48px 32px;
  background: rgba(15, 10, 8, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.cta-glass-panel h2 {
  margin-bottom: 16px;
}

.cta-glass-panel .subtitle {
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.85);
}

.cta-glass-panel .cta-actions {
  margin-bottom: 24px;
}

.cta-glass-panel .cta-note {
  margin: 0;
  opacity: 0.8;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .cta-final {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0 16px 16px 16px;
    /* Reduced bottom padding to move it down */
    min-height: 100vh;
  }

  .spline-bg {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    /* Pode ser necessário empurrar o robô um pouco para cima se ele ficar muito baixo */
    /* top: -5%; */
  }

  .cta-glass-panel {
    margin-top: auto;
    /* Empurra para o fundo se houver espaço extra */
    border-radius: 24px;
    width: 100%;
    padding: 40px 24px;
    background: rgba(10, 10, 10, 0.7);
    /* Mais escuro para destacar o brilho verde */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }
}