/* ==========================================================================
   DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
  /* Colors - As per Design System */
  --bg: #000000;
  --surface: rgba(18, 18, 18, 0.4);
  --surface-2: rgba(26, 26, 26, 0.4);
  
  --bg: #050505;
  --surface: #0A0A0A;
  --surface-2: #111111;
  
  --line: rgba(255, 255, 255, 0.08);
  
  --text: #FFFFFF;
  --muted: #A0A0A0;
  
  --primary: #FF6A00;
  --primary-soft: #FF8533;
  --primary-glow: rgba(255, 106, 0, 0.4);
  --primary-glow-subtle: rgba(255, 106, 0, 0.1);
  
  --success: #22C55E;
  --warning: #FACC15;
  --error: #EF4444;
  --info: #3B82F6;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  
  /* Shadows & Glow */
  --shadow-soft: 0 10px 40px rgba(0,0,0,.35);
  --shadow-glow: 0 0 25px rgba(255,106,0,.18);
  --shadow-glow-strong: 0 0 40px rgba(255,106,0,.3);
  
  /* Typography */
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  /* Layout */
  --container-width: 1200px;
}

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

html {
  scroll-behavior: initial; /* Lenis handles this */
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.2;
}

p {
  color: var(--muted);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   BUTTONS (UI/UX Pro Max Priority 2 & 4)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 13px;
  font-family: var(--font-body);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  border: none;
  min-height: 48px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

@media (max-width: 480px) {
  .btn {
    font-size: 12px;
    padding: 10px 20px;
    width: 100%;
  }
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-25deg);
  transition: none;
  z-index: -1;
}

.btn:hover::after {
  left: 150%;
  transition: 0.6s;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #FF8533 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FF8533 0%, var(--primary) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.5);
  color: #fff;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background-color: var(--surface-2);
  border-color: var(--muted);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text);
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--primary);
}

/* ==========================================================================
   GLOBAL LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.15), rgba(255, 106, 0, 0.05));
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 99px;
  border: 1px solid rgba(255, 106, 0, 0.3);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.1);
}

.section-header i[data-lucide] {
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.section-title em {
  font-family: var(--font-heading);
  font-style: normal;
  color: var(--primary);
  text-shadow: 0 0 15px rgba(255, 106, 0, 0.3);
}

.section-desc {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 100;
  transition: all 0.3s ease;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 10, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  transition: opacity 0.3s;
}

.nav-logo:hover {
  opacity: 0.8;
}

.logo-spark {
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text .bou {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.logo-sub {
  display: flex;
  flex-direction: column;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 28px;
  color: var(--text);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}

/* Nav Mobile CTA - Hidden by default */
.nav-mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: -100%;
    left: 15px;
    right: 15px;
    width: calc(100% - 30px);
    height: auto;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinhamento à esquerda fica mais moderno */
    justify-content: flex-start;
    gap: 0;
    padding: 24px;
    z-index: 90;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
    visibility: hidden;
  }

  .navbar.active .nav-links {
    top: 75px;
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    width: 100%;
    text-align: left;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    letter-spacing: -0.01em;
  }

  .nav-links a:last-child {
    border-bottom: none;
    margin-top: 20px;
  }

  /* Botão de Contato no Mobile */
  .nav-links .nav-mobile-cta {
    display: flex;
    background: linear-gradient(135deg, var(--primary) 0%, #FF8533 100%);
    color: #fff;
    padding: 18px;
    border-radius: 14px;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.05em;
    border: none;
  }

  .nav-links .nav-mobile-cta:hover {
    color: #fff;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 110;
  }
}

/* ==========================================================================
   1. HERO (#home)
   ========================================================================== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 0;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.08) 0%, transparent 70%);
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 40px;
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 700px;
  flex: 1;
}

.hero-tagline {
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
}

.text-gradient-animated {
  background: linear-gradient(90deg, #FF6A00, #FF9500, #FF4D00, #FF9500, #FF6A00);
  background-size: 300% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientMove 6s linear infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.hero-desc {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.5;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background-color: var(--primary);
  margin-bottom: 40px;
}

.btn-outline-glow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: transparent;
  border: 1px solid rgba(255, 106, 0, 0.4);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s;
  align-self: flex-start;
}

.btn-outline-glow i {
  color: var(--primary);
  width: 18px;
  height: 18px;
}

.btn-outline-glow:hover {
  background: rgba(255, 106, 0, 0.05);
  border-color: var(--primary);
  color: var(--text);
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.15);
}

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

.hero-3d-logo {
  width: 100%;
  max-width: 700px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  animation: float-3d 6s ease-in-out infinite;
}

@keyframes float-3d {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.hero-footer-text {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  padding-bottom: 20px;
}

@media (max-width: 992px) {
  .hero-video-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 1) 100%);
  }
  .hero {
    height: auto;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .hero-container {
    flex-direction: column;
    padding-top: 40px;
    padding-bottom: 80px;
    align-items: center;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  

  .hero::before {
    top: 20%;
    right: 50%;
    transform: translateX(50%);
    width: 600px;
    height: 600px;
  }

  .hero-visual {
    order: -1;
  }
  
  .hero-footer-text {
    position: relative;
    left: 0;
    right: 0;
    margin-top: 40px;
  }
}

/* ==========================================================================
   2. SERVICES (#servicos) - CAROUSEL MASTER
   ========================================================================== */
.section-carousel-base {
  background: var(--bg);
}

.section-carousel-base .section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
}

.nav-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s;
}

.nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.carousel-wrapper {
  overflow-x: auto;
  width: 100%;
  padding: 20px 0 40px;
  margin: -20px 0 -40px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.carousel-wrapper::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.cards-track {
  display: flex;
  gap: 24px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 0;
  width: calc((100% - 48px) / 3);
  flex: 0 0 calc((100% - 48px) / 3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 480px;
  scroll-snap-align: start;
}

.card-body {
  padding: 40px 40px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (max-width: 768px) {
  .card {
    min-height: 520px;
  }
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 0, 0.4);
  box-shadow: var(--shadow-glow);
}

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: var(--primary);
  background: rgba(255, 106, 0, 0.1);
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 106, 0, 0.2);
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

.card-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 14px;
  margin-bottom: 24px;
  flex: 1;
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  opacity: 0.9;
  transition: all 0.5s ease;
  margin-top: auto;
}

.card:hover .card-image {
  opacity: 1;
  transform: scale(1.05);
}

.dots {
  display: flex;
  gap: 8px;
  margin-top: 40px;
  justify-content: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  width: 24px;
  border-radius: 99px;
  background: var(--primary);
}

@media (max-width: 992px) {
  .card { width: calc((100% - 24px) / 2); flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 768px) {
  .section-carousel-base .section-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .nav-buttons { width: 100%; justify-content: flex-end; }
  .card {
    width: 85%;
    flex: 0 0 85%;
  }
}

/* ==========================================================================
   3. ABOUT / OPERATION (#sobre)
   ========================================================================== */
.about {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  opacity: 1;
}

.about-decorator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 106, 0, 0.3);
  box-shadow: var(--shadow-glow);
}

.about-features {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 48px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
}

.feature-item:hover {
  background: rgba(255, 106, 0, 0.03);
}

.feature-item:nth-child(3n) {
  border-right: none;
}

.feature-item:nth-last-child(-n+3) {
  border-bottom: none;
}

@media (max-width: 992px) {
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-item:nth-child(3n) { border-right: 1px solid rgba(255, 255, 255, 0.08); }
  .feature-item:nth-child(2n) { border-right: none; }
  .feature-item:nth-last-child(-n+3) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .feature-item:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 600px) {
  .about-features {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }
  .feature-item {
    border-right: none !important;
    padding: 32px 20px;
    align-items: center;
    text-align: center;
  }
  .feature-item h4 {
    font-size: 20px;
  }
  .feature-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .feature-item:last-child {
    border-bottom: none;
  }
}

.feature-icon {
  color: var(--primary);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px var(--primary-glow));
}

.feature-item h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.about-footer-text {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-footer-text p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  max-width: 600px;
}

@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FUNNEL (#funil)
   ========================================================================== */
.funnel {
  background: transparent;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 140px 0;
}

.funnel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20%;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.03) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.funnel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 80px;
  position: relative;
}

/* Conectores Visuais */
@media (min-width: 1201px) {
  .funnel-card:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--primary);
    opacity: 0.2;
    font-weight: 300;
  }
}

@media (max-width: 1200px) {
  .funnel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .funnel-grid {
    grid-template-columns: 1fr;
  }
}

.funnel-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px 30px;
  border-radius: 32px;
  position: relative;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  overflow: hidden;
}

.funnel-card:hover {
  transform: translateY(-15px) scale(1.02);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-color: var(--primary);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 106, 0, 0.2);
}

.funnel-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent, rgba(255, 106, 0, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.4s;
}

.funnel-card:hover::before {
  opacity: 1;
}



.funnel-number {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 64px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
  font-family: var(--font-heading);
  transition: all 0.4s;
  z-index: 0;
}

.funnel-card:hover .funnel-number {
  color: var(--primary);
  opacity: 0.15;
  transform: scale(1.1);
  text-shadow: 0 0 30px rgba(255, 106, 0, 0.4);
}

.funnel-content {
  position: relative;
  z-index: 1;
}

.funnel-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 24px;
  filter: drop-shadow(0 0 12px var(--primary-glow));
  transition: all 0.4s ease;
}

.funnel-card:hover .funnel-icon {
  filter: drop-shadow(0 0 20px var(--primary));
  transform: scale(1.1) rotate(5deg);
}

.funnel-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.funnel-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .funnel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   4. STRATEGY 360 (#estrategia)
   ========================================================================== */
.strategy-360 {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.strategy-content .section-title {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin-bottom: 24px;
}

.strategy-items {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.strategy-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  transition: all 0.4s ease;
}

.strategy-item:hover {
  background: rgba(255, 106, 0, 0.05);
  border-color: rgba(255, 106, 0, 0.3);
  transform: translateX(10px);
}

.strategy-icon {
  width: 48px;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.3s;
}

.strategy-icon i,
.strategy-icon svg {
  width: 20px;
  height: 20px;
}

.strategy-item:hover .strategy-icon {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.strategy-info h4 {
  font-size: 17px;
  margin-bottom: 4px;
  color: white;
}

.strategy-info p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.strategy-visual {
  position: relative;
}

.visual-container {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--surface);
}

.main-visual {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.strategy-visual:hover .visual-container {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(255, 106, 0, 0.2);
}

.visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.15) 0%, transparent 70%);
  z-index: -1;
  animation: pulse-glow 4s infinite alternate;
}

/* Onboarding Section */
.onboarding {
  padding: 120px 0;
  background: linear-gradient(to bottom, transparent, rgba(255, 106, 0, 0.02));
}

.onboarding-timeline {
  position: relative;
  margin-top: 80px;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  top: 55px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: linear-gradient(to right, 
    rgba(255, 106, 0, 0.1), 
    rgba(255, 106, 0, 0.5) 20%, 
    rgba(255, 106, 0, 0.5) 80%, 
    rgba(255, 106, 0, 0.1)
  );
  z-index: 1;
}

.onboarding-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.onboarding-step {
  position: relative;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.onboarding-step:hover {
  background: rgba(255, 106, 0, 0.03);
  border-color: rgba(255, 106, 0, 0.3);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.step-node {
  width: 32px;
  height: 32px;
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  position: absolute;
  top: -16px;
  box-shadow: 0 0 15px rgba(255, 106, 0, 0.3);
  transition: all 0.3s;
}

.onboarding-step:hover .step-node {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-glow);
  transform: scale(1.2);
}

.step-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 106, 0, 0.1);
  color: var(--primary);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.onboarding-step h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: white;
}

.onboarding-step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.step-icon {
  margin-top: auto;
  padding-top: 24px;
  color: rgba(255, 106, 0, 0.15);
  width: 40px;
  height: 40px;
  transition: all 0.3s;
}

.onboarding-step:hover .step-icon {
  color: var(--primary);
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .timeline-line {
    display: none;
  }
  
  .onboarding-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .onboarding-step {
    text-align: left;
    align-items: flex-start;
    padding-left: 60px;
  }
  
  .step-node {
    left: 20px;
    top: 40px;
  }
  
  .step-icon {
    position: absolute;
    right: 20px;
    top: 20px;
    padding-top: 0;
  }
}

/* Qualification Section */
.qualification {
  padding: 100px 0;
}

.qualification-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 60px;
}

.qual-card {
  padding: 48px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.qual-card.is-for {
  border-color: rgba(34, 197, 94, 0.2);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.02) 0%, transparent 100%);
}

.qual-card.not-for {
  border-color: rgba(239, 68, 68, 0.2);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.02) 0%, transparent 100%);
}

.qual-card h3 {
  font-size: 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.qual-card.is-for h3 { color: #22c55e; }
.qual-card.not-for h3 { color: #ef4444; }

.qual-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.qual-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.qual-item i {
  flex-shrink: 0;
  margin-top: 4px;
}

.qual-item p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.qual-item strong {
  color: white;
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 992px) {
  .onboarding-steps, .qualification-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .strategy-grid {
    grid-template-columns: 1fr;
  }
  .strategy-visual {
    order: -1;
  }
}

@keyframes pulse-glow {
  from { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* ==========================================================================
   5. DIFFERENTIALS (#diferenciais)
   ========================================================================== */
.differentials {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.differentials::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.05) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.compare-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.compare-card.bou-method {
  background: var(--surface-2);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  position: relative;
}

.compare-card.bou-method::before {
  content: 'Recomendado';
  position: absolute;
  top: -12px;
  right: 40px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

.compare-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.compare-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}

.common-method .compare-list li {
  color: var(--muted);
}

.common-method .icon-x {
  color: var(--error);
}

.bou-method .icon-check {
  color: var(--primary);
}

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

/* ==========================================================================
   5. TEAM / ECOSYSTEM (#equipe)
   ========================================================================== */
.team {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  object-fit: cover;
  margin-bottom: 16px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-member:hover .team-photo {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(255, 106, 0, 0.3);
}

@media (max-width: 992px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   6. RESULTS (#resultados)
   ========================================================================== */

/* ==========================================================================
   7. PORTFOLIO (#portfolio)
   ========================================================================== */
.portfolio {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.case-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  group;
}

.case-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s;
}

.case-card:hover .case-img {
  transform: scale(1.05);
}

.case-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 32px 32px;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 100%);
}

.case-badge {
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 12px;
  display: inline-block;
}

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

/* ==========================================================================
   8. TESTIMONIALS (#depoimentos) - MARQUEE MASTER
   ========================================================================== */
.testimonials-section {
  background: var(--bg);
  padding: 120px 0;
  overflow: hidden;
}

.testimonials-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  height: 800px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.testimonials-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 350px;
}

.marquee-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ANIMATION SPEEDS */
.col-1 .marquee-inner { animation: scrollVertical 30s linear infinite; }
.col-2 .marquee-inner { animation: scrollVertical 45s linear infinite; }
.col-3 .marquee-inner { animation: scrollVertical 35s linear infinite; }

@keyframes scrollVertical {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-50% - 16px)); } /* 50% + metade do gap */
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  transition: 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary);
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.author-info p {
  font-size: 13px;
  color: var(--primary);
}

@media (max-width: 1024px) { .col-3 { display: none; } }
@media (max-width: 768px) { .col-2 { display: none; } .testimonials-grid { height: 600px; } }

/* ==========================================================================
   9. CTA (#cta)
   ========================================================================== */
.cta-section {
  background: transparent;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.1) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.cta-box {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 100px 40px;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cta-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}

.cta-box .section-desc {
  font-size: 20px;
  margin-bottom: 48px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   10. FAQ (#faq)
   ========================================================================== */
.faq {
  background: transparent;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
}

.faq-icon {
  color: var(--primary);
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--muted);
}

/* ==========================================================================
   11. LOCATION / CONTACT (#localizacao)
   ========================================================================== */
.location {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-card {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.map-container {
  width: 100%;
  height: 400px;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}

@media (max-width: 992px) { .location-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   12. FOOTER (Elite Footer Pattern)
   ========================================================================== */
.footer {
  background: var(--bg);
  color: var(--text);
  padding: 80px 0 30px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  margin-right: auto;
  max-width: 400px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-logo span {
  color: var(--primary);
}

.footer-links h3, .footer-social h3 {
  margin-bottom: 24px;
  font-size: 16px;
  font-family: var(--font-heading);
}

.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--primary); }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 50px;
  color: var(--muted);
  font-size: 14px;
  transition: all 0.3s ease;
  margin-bottom: 12px;
}

.social-link:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.dev-link {
  color: var(--primary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.dev-link:hover {
  text-decoration: underline;
  color: var(--text);
}

@media (max-width: 768px) {
  .footer-grid { flex-direction: column; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

/* Founder Section */
.founder {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to top, rgba(255, 106, 0, 0.05), transparent);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.founder-visual {
  position: relative;
}

.founder-image-wrapper {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.founder-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.2) 0%, transparent 70%);
  z-index: -1;
  filter: blur(40px);
}

.founder-content .section-badge {
  margin-bottom: 24px;
}

.founder-content h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 32px;
  line-height: 1.1;
  color: white;
}

.founder-bio p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.founder-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item h3 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 992px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .founder-content .section-badge {
    margin: 0 auto 24px;
  }
  
  .founder-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .founder-stats {
    justify-content: center;
  }
}

/* Utilities */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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