* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

section[id] {
  scroll-margin-top: 100px;
}

body {
  background: #04141a;
  color: #eef3f1;
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

::selection {
  background: #d4a843;
  color: #04141a
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .35
  }
}

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

/* ==================================================== */
/* ANIMATED GRADIENT BACKGROUNDS                        */
/* ==================================================== */
@keyframes fluidGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animated-gradient-bg {
  background: linear-gradient(-45deg, #04141a, #08222a, #0c2e38, #05161b);
  background-size: 400% 400%;
  animation: fluidGradient 15s ease infinite;
}

/* ==================================================== */
/* BORDER TRACER (HOVER)                                */
/* ==================================================== */
@property --border-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0turn;
}

@keyframes bg-spin {
  to {
    --border-angle: 1turn;
  }
}

.card-tracer {
  position: relative;
  background: linear-gradient(165deg, #0c2e38, #08222a);
  border-radius: 14px;
  /* Instead of a physical border, we use padding to reveal the pseudo-element behind */
  padding: 24px 22px; 
  z-index: 1;
}

.card-tracer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.07);
  padding: 2px; /* This acts as the border width */
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 0.4s ease;
}

.card-tracer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  background: conic-gradient(
    from var(--border-angle),
    transparent 20%,
    rgba(212, 168, 67, 0.2) 60%,
    #ecc873 90%,
    transparent 100%
  );
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: bg-spin 3s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card-tracer:hover::before {
  opacity: 0;
}

.card-tracer:hover::after {
  opacity: 1;
}

/* Adjustments for the problem section specific accent colors */
.card-tracer.tracer-cyan::after {
  background: conic-gradient(
    from var(--border-angle),
    transparent 20%,
    rgba(57, 198, 219, 0.2) 60%,
    #39c6db 90%,
    transparent 100%
  );
}

.card-tracer.tracer-red::after {
  background: conic-gradient(
    from var(--border-angle),
    transparent 20%,
    rgba(226, 112, 92, 0.2) 60%,
    #e2705c 90%,
    transparent 100%
  );
}

/* ==================================================== */
/* SCROLL REVEAL ANIMATIONS                             */
/* ==================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
  will-change: opacity, transform;
}

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

/* Add delays for children to stagger the reveal (e.g., cards inside a grid) */
.reveal-stagger-1 { transition-delay: 0.1s; }
.reveal-stagger-2 { transition-delay: 0.2s; }
.reveal-stagger-3 { transition-delay: 0.3s; }
.reveal-stagger-4 { transition-delay: 0.4s; }
.reveal-stagger-5 { transition-delay: 0.5s; }
.reveal-stagger-6 { transition-delay: 0.6s; }

/* ==================================================== */
/* PREMIUM CTA PULSE ANIMATION                          */
/* ==================================================== */
@keyframes ctaPulsePremium {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 168, 67, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(212, 168, 67, 0);
  }
  100% {
    box-shadow: 0 0 0 15px rgba(212, 168, 67, 0);
  }
}

/* ==================================================== */
/* SOLUTION SECTION SHIMMERING BACKGROUND               */
/* ==================================================== */
@keyframes shimmer {
  0% { opacity: 0.3; transform: scale(0.9); }
  100% { opacity: 0.8; transform: scale(1.1); }
}

.section-solucao {
  position: relative;
  overflow: hidden;
}

.section-solucao::before {
  content: "";
  position: absolute;
  bottom: -200px;
  right: -100px;
  width: 900px;
  height: 900px;
  background: 
    radial-gradient(circle at 60% 60%, rgba(57, 198, 219, 0.3) 0%, rgba(57, 198, 219, 0.08) 35%, transparent 60%),
    radial-gradient(circle at 40% 80%, rgba(212, 168, 67, 0.25) 0%, rgba(212, 168, 67, 0.05) 40%, transparent 65%);
  pointer-events: none;
  animation: shimmer 5s infinite alternate ease-in-out;
  z-index: 0;
  filter: blur(40px);
}

.section-solucao > div {
  position: relative;
  z-index: 1;
}

/* ==================================================== */
/* CTA TRACER CLASS (Looping border)                    */
/* ==================================================== */
.cta-pulse {
  position: relative;
  display: inline-block;
  overflow: hidden; /* Ensures no corners bleed out */
}

.cta-pulse::after {
  content: "";
  position: absolute;
  inset: 0; /* Align exactly to the button bounds */
  z-index: 10; /* Put it above the background */
  border-radius: inherit; /* Perfect match since it's same size */
  background: conic-gradient(
    from var(--border-angle),
    transparent 50%,
    rgba(255, 255, 255, 0.4) 80%,
    #ffffff 100%
  );
  padding: 2px; /* Thickness of the light trail */
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: bg-spin 2s linear infinite;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-pulse:hover::after {
  opacity: 0.9;
}

/* ==================================================== */
/* ACCESSIBILITY: SKIP LINK                             */
/* ==================================================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #ecc873;
  color: #04141a;
  padding: 8px 16px;
  z-index: 9999;
  transition: top 0.3s;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  top: 0;
}

/* ==================================================== */
/* HORIZONTAL SCROLL TIMELINE                           */
/* ==================================================== */
.horizontal-scroll-container {
  position: relative;
  /* 400vh gives enough room to scroll vertically while moving horizontally */
  height: 400vh; 
  background: transparent;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center; /* Center horizontally aligned items vertically in the viewport */
  background: radial-gradient(circle at center, rgba(236, 200, 115, 0.03), transparent 60%);
}

.cards-wrapper {
  display: flex;
  gap: 40px;
  /* Padding on the sides so the first card starts in the center and the last card ends in the center */
  padding: 0 50vw;
  will-change: transform;
}

/* Base Glassmorphism Card */
.glass-card {
  flex: none;
  width: 320px;
  position: relative;
  padding: 34px 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0.4;
  transform: scale(0.85);
  transform-origin: center center;
}

/* Center Highlighted Card */
.glass-card.active {
  opacity: 1;
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(236, 200, 115, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(236, 200, 115, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass-card-month {
  position: absolute;
  top: -12px;
  left: 28px;
  background: #04141a;
  border: 1px solid #ecc873;
  color: #ecc873;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(212, 168, 67, 0.2);
}

.glass-card-number {
  font-family: 'Sora', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  margin-bottom: 12px;
  transition: color 0.6s ease;
}

.glass-card.active .glass-card-number {
  color: rgba(236, 200, 115, 0.15);
}

/* ==========================================================================
   STICKY SCROLL BENEFITS
   ========================================================================== */
.benefits-sticky-container {
  display: flex;
  gap: 60px;
  margin-top: 40px;
  position: relative;
  align-items: flex-start;
}

.benefits-visual-col {
  flex: 1;
  position: sticky;
  top: 100px;
  height: calc(100vh - 140px);
  max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefits-content-col {
  flex: 1;
  padding-bottom: 30vh;
  padding-top: 10vh;
}

.benefit-scroll-item {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.2;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(20px);
  filter: blur(2px);
}

.benefit-scroll-item.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}

.bsi-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex: none;
}

.benefits-visual-card {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  position: relative;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(12,46,56,0.8), rgba(8,32,40,0.9));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bvc-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05), transparent 60%);
  pointer-events: none;
  animation: floaty 10s ease-in-out infinite;
}

.bvc-header {
  height: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  padding: 0 20px;
  flex: none;
}

.bvc-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bvc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.bvc-body.has-image {
  min-height: 0;
  padding: 0;
}

#bvc-dynamic-media {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bvc-body.has-image #bvc-dynamic-media {
  height: 100%;
  min-height: 0;
  flex: 1;
}

.bvc-benefit-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .benefits-sticky-container {
    flex-direction: column;
  }
  .benefits-visual-col {
    position: relative;
    top: 0;
    height: auto;
    max-height: none;
    margin-bottom: 40px;
  }
  .benefits-content-col {
    padding-top: 0;
    padding-bottom: 0;
  }
  .benefit-scroll-item {
    min-height: auto;
    padding: 30px 0;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */
.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.3s ease;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row:hover {
  background: rgba(255,255,255,0.02);
}

.cr-left {
  padding: 24px 30px;
  font-size: 15px;
  line-height: 1.5;
  color: #7e9197;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cr-left i {
  color: rgba(226,112,92,0.6);
  font-size: 18px;
  flex: none;
}

.cr-right {
  padding: 24px 30px;
  font-size: 15px;
  line-height: 1.5;
  color: #eaf1f0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(90deg, rgba(57,198,219,0.03), transparent);
}

.cr-right i {
  color: #39c6db;
  font-size: 18px;
  flex: none;
  filter: drop-shadow(0 0 8px rgba(57,198,219,0.4));
}

@media (max-width: 768px) {
  .comparison-row {
    grid-template-columns: 1fr;
    border-bottom: 2px solid rgba(255,255,255,0.06);
  }
  .cr-left {
    padding: 20px 20px 10px;
    border-bottom: none;
    opacity: 0.7;
  }
  .cr-right {
    padding: 10px 20px 20px;
  }
}

/* ==========================================================================
   ACETERNITY 3D SCROLL CONTAINER
   ========================================================================== */
.perspective-container {
  perspective: 1200px;
  overflow: visible;
  padding: 40px 0 100px; /* Give room for the 3D rotation */
  margin-top: 40px;
}

.scroll-tablet {
  transform-style: preserve-3d;
  will-change: transform;
  /* Premium tablet border/frame */
  background: #04141a;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.8),
              0 0 0 1px rgba(255,255,255,0.05) inset,
              0 -10px 40px rgba(57,198,219,0.1);
  padding: 8px; /* simulates bezel */
  position: relative;
}

/* Inner screen to simulate display */
.scroll-tablet::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border-radius: 16px;
  background: rgba(255,255,255,0.01);
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.02);
  z-index: 10;
}

/* Base transform state (controlled by JS, fallback here) */
.scroll-tablet {
  transform: rotateX(20deg) scale(0.9) translateY(40px);
}

/* ==========================================================================
   ROI CALCULATOR SLIDER
   ========================================================================== */
.roi-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  outline: none;
  margin: 10px 0;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ecc873;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(236, 200, 115, 0.6);
  border: 3px solid #08222a;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(236, 200, 115, 0.8);
}

.roi-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ecc873;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(236, 200, 115, 0.6);
  border: 3px solid #08222a;
}

/* ==================================================== */
/* ANIMATED MENU LINKS (HEADER & FOOTER)                */
/* ==================================================== */
.menu-link {
  color: #aebfc4;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.menu-link:hover,
.menu-link.active {
  color: #7ed3a0;
  text-shadow: 0 0 10px rgba(126, 211, 160, 0.4);
  transform: translateY(-1px);
}

/* ==================================================== */
/* SOCIAL ICONS                                         */
/* ==================================================== */
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #aebfc4;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #7ed3a0;
  text-shadow: 0 0 10px rgba(126, 211, 160, 0.4);
  transform: translateY(-1px);
}

/* ==================================================== */
/* RESPONSIVE GRIDS & LAYOUT CLASSES                    */
/* ==================================================== */
.grid-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 84px 28px 90px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.grid-hero-features {
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 13px 26px;
  max-width: 650px;
}

.grid-hero-features > div {
  white-space: nowrap;
}

.grid-dashboard-stats {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.grid-4-cols {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.grid-3-cols {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-calculator {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
}

.grid-sgsm {
  margin-top: 24px;
  background: linear-gradient(135deg, #103a46, #0a2730);
  border: 1px solid rgba(212, 168, 67, 0.22);
  border-radius: 16px;
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.grid-footer {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

/* ==================================================== */
/* HEADER & MOBILE MENU DRAWER                          */
/* ==================================================== */
.header-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #aebfc4;
  font-size: 28px;
  cursor: pointer;
  z-index: 9999;
}

@media (max-width: 900px) {
  /* Grids adjustments */
  .grid-hero {
    grid-template-columns: 1fr;
    padding: 40px 20px 60px;
    gap: 48px;
    text-align: center;
  }
  
  .grid-hero > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  /* Fix top chip */
  .grid-hero > div:first-child > div:first-child {
    margin-bottom: 20px !important;
  }
  
  .grid-hero > div:first-child > div:first-child span:last-child {
    font-size: 9.5px !important;
    letter-spacing: 1px !important;
  }

  .grid-hero h1 {
    font-size: 34px !important;
    text-align: center !important;
    line-height: 1.15 !important;
  }

  .grid-hero p {
    font-size: 16px !important;
    text-align: center !important;
    margin-top: 16px !important;
  }

  .grid-hero-features {
    grid-template-columns: 1fr;
    width: 100%;
    margin: 24px auto 0;
    gap: 14px;
  }
  
  .grid-hero-features > div {
    justify-content: flex-start;
    white-space: normal !important;
    text-align: left;
    line-height: 1.4;
  }
  
  .grid-hero .reveal-stagger-3 {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 12px !important;
    margin-top: 28px !important;
  }
  
  .grid-hero .reveal-stagger-3 > a {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  /* Hero Dashboard Mobile Fixes */
  .grid-hero .reveal-stagger-4 > div:nth-child(2) {
    padding: 20px !important;
    text-align: left;
  }
  
  /* Dashboard Header */
  .grid-hero .reveal-stagger-4 > div:nth-child(2) > div:first-child {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center !important;
    justify-content: space-between;
    gap: 12px;
  }

  /* Stack Circle and Bars */
  .grid-hero .reveal-stagger-4 > div:nth-child(2) > div:nth-child(2) {
    flex-direction: column;
    gap: 20px !important;
    width: 100%;
  }

  /* Bars container full width */
  .grid-hero .reveal-stagger-4 > div:nth-child(2) > div:nth-child(2) > div:nth-child(2) {
    width: 100%;
  }
  
  .grid-hero .reveal-stagger-4 .fill-circle {
    width: 110px !important;
    height: 110px !important;
    margin: 0 auto;
  }
  
  .grid-hero .reveal-stagger-4 .fill-circle > div {
    inset: 10px !important;
  }
  
  .grid-hero .reveal-stagger-4 .fill-circle > div > div:first-child {
    font-size: 32px !important;
  }

  /* Bottom stats side-by-side as neat boxes */
  .grid-dashboard-stats {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .grid-dashboard-stats > div {
    padding: 10px 6px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .grid-dashboard-stats > div > div:first-child {
    font-size: 10px !important;
    word-break: break-word;
  }
  
  .grid-dashboard-stats > div > div:nth-child(2) span:first-child {
    font-size: 18px !important;
  }
  .grid-4-cols {
    grid-template-columns: 1fr;
  }
  .grid-3-cols {
    grid-template-columns: 1fr;
  }
  .grid-calculator {
    grid-template-columns: 1fr;
  }
  .grid-sgsm {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .grid-2-cols {
    grid-template-columns: 1fr;
  }
  .grid-footer {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  /* Mobile Menu */
  .mobile-menu-toggle {
    display: block;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(4, 20, 26, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: right 0.3s ease-in-out;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    z-index: 9998;
  }

  .header-nav.active {
    right: 0;
  }
  
  /* Disable Horizontal Scroll on Timeline */
  .horizontal-scroll-container {
    height: auto !important;
  }
  .sticky-container {
    position: relative !important;
    height: auto !important;
    display: block !important;
  }
  .cards-wrapper {
    flex-direction: column !important;
    padding: 40px 20px !important;
    gap: 20px !important;
  }
  .glass-card {
    width: 100% !important;
    transform: scale(1) !important;
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.06) !important;
  }
}

/* ==================================================== */
/* MODAL DE CAPTAÇÃO DE LEADS                           */
/* ==================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 20, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-box {
  background: linear-gradient(165deg, #0c2e38, #082028);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 32px;
  width: 90%;
  max-width: 440px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(236, 200, 115, 0.1);
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: #aebfc4;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #ecc873;
}

.gold-line {
  display: block;
  width: 40px;
  height: 3px;
  background: #ecc873;
  margin-bottom: 20px;
  border-radius: 2px;
}

.modal-title {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #f4f7f5;
  margin-bottom: 8px;
  line-height: 1.2;
}

.modal-subtitle {
  font-size: 14px;
  color: #aebfc4;
  margin-bottom: 28px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 16px;
  position: relative;
  text-align: left;
}

.form-group input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px 16px;
  color: #eaf1f0;
  font-size: 15px;
  font-family: 'Manrope', sans-serif;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus {
  border-color: #39c6db;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(57, 198, 219, 0.15);
}

.form-group input::placeholder {
  color: #5e7980;
}

.field-error {
  display: none;
  color: #e2705c;
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
  margin-left: 4px;
}

.form-group.has-error input {
  border-color: #e2705c;
  background: rgba(226, 112, 92, 0.05);
}

.form-group.has-error .field-error {
  display: block;
}

.btn-gold {
  background: linear-gradient(135deg, #ecc873, #c9952f);
  color: #04141a;
  border: none;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(212, 168, 67, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(212, 168, 67, 0.4);
}

.btn-gold:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-full {
  width: 100%;
  margin-top: 8px;
}

.modal-privacy {
  font-size: 11px;
  color: #5e7980;
  text-align: center;
  margin-top: 18px;
  font-weight: 600;
}

/* Partners Marquee/Carousel */
.partners-marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  padding: 10px 0;
}

/* Sombras laterais removidas conforme solicitado */

.partners-marquee-track {
  display: flex;
  width: max-content;
  animation: partners-ticker 40s linear infinite;
}

/* Pause scroll when user hovers */
.partners-marquee-track:hover {
  animation-play-state: paused;
}

.partners-marquee-item {
  width: 207px;
  margin: 0 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partners-marquee-item img {
  max-height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.partners-marquee-item img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.4));
}


@keyframes partners-ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Responsividade do título e espaçamento */
.partners-title {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ecc873;
  text-align: center;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .partners-marquee-item {
    width: 150px;
    margin: 0 20px;
  }
  .partners-marquee-item img {
    max-height: 37px;
  }
  .partners-marquee-container::before,
  .partners-marquee-container::after {
    width: 60px;
  }
}
