/* ==========================================================================
   FIGUS LANDING PAGE - STYLESHEET
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- Design Tokens & Variables --- */
:root {
  --primary-color: #3E4095;
  --primary-hover: #32347a;
  --bg-dark: #0a0b10;
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.85);
  --border-light: rgba(255, 255, 255, 0.3);
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1280px;
  --header-height: 80px;
}

/* ==========================================================================
   PRELOADER SCREEN
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--primary-color);
  background: radial-gradient(circle at center, #4b4ea9 0%, #3e4095 50%, #28296a 100%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.preloader-icon-wrapper {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.preloader-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: opacity 0.25s ease, transform 0.25s ease;
  will-change: opacity, transform;
}

.preloader-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.2px;
}

.preloader-progress-bar {
  width: 180px;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.preloader-progress-fill {
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 0 10px #ffffff;
  transition: width 0.2s ease-out;
}

/* --- Base & Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-white);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  width: 100%;
  line-height: 1.5;
}

.line-block {
  display: block;
  white-space: nowrap;
}

.desktop-only {
  display: inline;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (Entrada e Saída Dinâmicas no Scroll)
   ========================================================================== */
[data-reveal="fade-in"] {
  opacity: 0;
  transform: none;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity;
}

[data-reveal="fade-up-soft"] {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}

.scroll-left,
[data-reveal="fade-right"] {
  opacity: 0;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out !important;
  transform: translate(-30px, 0);
  will-change: opacity, transform;
}

.scroll-right,
[data-reveal="fade-left"] {
  opacity: 0;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out !important;
  transform: translate(30px, 0);
  will-change: opacity, transform;
}

.scroll-bottom,
[data-reveal="fade-up"] {
  opacity: 0;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out !important;
  transform: translate(0, 45px);
  will-change: opacity, transform;
}

.scroll-top,
[data-reveal="fade-down"] {
  opacity: 0;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out !important;
  transform: translate(0, -45px);
  will-change: opacity, transform;
}

.scale-in,
[data-reveal="scale-in"] {
  opacity: 0;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out !important;
  transform: scale(0.92);
  will-change: opacity, transform;
}

/* Classe ativa aplicada dinamicamente pelo JS ao rolar a página */
.ativo,
.is-revealed {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Delays escalonados para fluidez sequencial perfeita */
[data-delay="0"] {
  transition-delay: 0ms !important;
}

[data-delay="100"] {
  transition-delay: 100ms !important;
}

[data-delay="140"] {
  transition-delay: 140ms !important;
}

[data-delay="150"] {
  transition-delay: 150ms !important;
}

[data-delay="200"] {
  transition-delay: 200ms !important;
}

[data-delay="280"] {
  transition-delay: 280ms !important;
}

[data-delay="300"] {
  transition-delay: 300ms !important;
}

[data-delay="400"] {
  transition-delay: 400ms !important;
}

[data-delay="420"] {
  transition-delay: 420ms !important;
}

[data-delay="450"] {
  transition-delay: 450ms !important;
}

[data-delay="500"] {
  transition-delay: 500ms !important;
}

[data-delay="560"] {
  transition-delay: 560ms !important;
}

[data-delay="600"] {
  transition-delay: 600ms !important;
}

[data-delay="700"] {
  transition-delay: 700ms !important;
}

[data-delay="840"] {
  transition-delay: 840ms !important;
}

[data-delay="980"] {
  transition-delay: 980ms !important;
}

@media (prefers-reduced-motion: reduce) {

  .scroll-left,
  .scroll-right,
  .scroll-bottom,
  .scroll-top,
  .scale-in,
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* --- Container Fixer (1280px) --- */
.container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(10, 11, 16, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  background: rgba(10, 11, 16, 0.75);
}

/* Esconde ao rolar para baixo */
.header--hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

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

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
}

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

.nav-links a {
  color: var(--text-white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.75;
}

/* --- Hamburger Button --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
  z-index: 110;
  position: relative;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

/* Hambúrguer → X quando aberto */
.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile Drawer (slide da direita) --- */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: rgba(10, 11, 16, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 105;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-link {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease, padding-left 0.2s ease;
  letter-spacing: -0.02em;
}

.drawer-link:hover {
  color: rgba(255, 255, 255, 0.65);
  padding-left: 8px;
}

/* Overlay escuro por trás do drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 104;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.drawer-overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

/* --- Language Switcher --- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 24px;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  padding: 4px 2px;
  transition: color 0.2s ease;
  line-height: 1;
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.is-active {
  color: #ffffff;
}

.lang-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  line-height: 1;
  user-select: none;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  height: 90vh;
  min-height: 600px;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 70px 0;
}

/* Vimeo Background Video Wrapper (Cover Full Screen 16:9) */
.hero-vimeo-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-vimeo-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

/* Dark Overlay for Text Legibility (concentrado na parte inferior) */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 11, 16, 0.65);
  z-index: 2;
  pointer-events: none;
}

/* Hero Content Grid (1280px Container) */
.hero-container {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-top: auto;
}

/* Left Column: Headline (60% width) */
.hero-left {
  flex: 0 0 calc(60% - 10px);
  max-width: calc(60% - 10px);
}

.hero-title {
  font-size: clamp(2.2rem, 3.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.04em;
  color: var(--text-white);
}

/* Right Column: Copy & CTAs (40% width) */
.hero-right {
  flex: 0 0 calc(40% - 10px);
  max-width: calc(40% - 10px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-description {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Buttons System --- */
.btn {
  font-family: var(--font-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
}

/* Primary Button (#3E4095) */
.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-white);
  border: 1px solid var(--primary-color);
  box-shadow: 0 4px 16px rgba(62, 64, 149, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(62, 64, 149, 0.6);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* Secondary Button (Transparent background + 1px white border + white text) */
.btn-secondary {
  background-color: transparent;
  color: var(--text-white);
  border: 1px solid #ffffff;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* --- Data Marquee Section --- */
.marquee-section {
  width: 100%;
  background-color: var(--primary-color);
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 15;
}

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

.marquee-content {
  display: flex;
  align-items: center;
}

.marquee-item {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-white);
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }

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

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

/* --- Features Section (Section 2) --- */
.features-section {
  background-color: #f7f8fc;
  color: #10121a;
  padding: 100px 0 90px 0;
  width: 100%;
  overflow: hidden;
}

.features-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 50px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.features-badge {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.features-title {
  font-size: clamp(2.2rem, 3.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.04em;
  color: #0d0e15;
}

.features-subtitle {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: #525866;
  max-width: 840px;
}

/* Grid of 4 Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.feature-card {
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(62, 64, 149, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(62, 64, 149, 0.28);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-white);
}

.card-text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

/* Features Footer Bar */
.features-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-top: 10px;
  margin-bottom: 60px;
}

.footer-text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #3b404e;
  flex: 0 1 auto;
}

.features-footer .btn-primary {
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- Dual Row Infinite Image Carousel (Full Width 100vw Edge-to-Edge) --- */
.carousel-container-fullwidth {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  padding: 20px 0;
  margin-top: 40px;
}

.carousel-row {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Row 1: Right to Left (Velocidade Lenta Extra Suave: 70s) */
.carousel-row-left .carousel-track {
  animation: carouselLeft 70s linear infinite;
}

/* Row 2: Left to Right (Velocidade Lenta Extra Suave: 70s) */
.carousel-row-right .carousel-track {
  animation: carouselRight 70s linear infinite;
}

@keyframes carouselLeft {
  0% {
    transform: translate3d(0%, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes carouselRight {
  0% {
    transform: translate3d(-50%, 0, 0);
  }

  100% {
    transform: translate3d(0%, 0, 0);
  }
}

/* Carousel Slide (4 imagens por tela com aceleração por GPU) */
.carousel-slide {
  width: calc((100vw - 60px) / 4);
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  opacity: 0.25;
  filter: blur(4px);
  will-change: opacity, filter, transform;
  transform: translateZ(0);
  contain: paint layout;
  animation: opacidade 6s infinite ease-in-out;
  transition: opacity 0.5s ease, filter 0.5s ease;
}

.carousel-slide img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.carousel-slide:hover img {
  transform: scale(1.05);
}

/* Staggered Delay for Motion Blur / Opacity Pulse Effect */
.carousel-slide:nth-child(1),
.carousel-slide:nth-child(7),
.carousel-slide:nth-child(13),
.carousel-slide:nth-child(19) {
  animation-delay: 0.5s;
}

.carousel-slide:nth-child(2),
.carousel-slide:nth-child(8),
.carousel-slide:nth-child(14),
.carousel-slide:nth-child(20) {
  animation-delay: 1.2s;
}

.carousel-slide:nth-child(3),
.carousel-slide:nth-child(9),
.carousel-slide:nth-child(15),
.carousel-slide:nth-child(21) {
  animation-delay: 1.9s;
}

.carousel-slide:nth-child(4),
.carousel-slide:nth-child(10),
.carousel-slide:nth-child(16),
.carousel-slide:nth-child(22) {
  animation-delay: 2.6s;
}

.carousel-slide:nth-child(5),
.carousel-slide:nth-child(11),
.carousel-slide:nth-child(17),
.carousel-slide:nth-child(23) {
  animation-delay: 3.3s;
}

.carousel-slide:nth-child(6),
.carousel-slide:nth-child(12),
.carousel-slide:nth-child(18),
.carousel-slide:nth-child(24) {
  animation-delay: 4.0s;
}

@keyframes opacidade {

  0%,
  100% {
    opacity: 0.25;
    filter: blur(4px);
  }

  50% {
    opacity: 1;
    filter: blur(0px);
  }
}

/* --- Section 3: Market Growth & Stats --- */
.market-section {
  background-color: #ffffff;
  color: #10121a;
  padding: 100px 0;
  width: 100%;
}

.market-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-bottom: 50px;
}

.market-header-left {
  flex: 0 0 calc(60% - 10px);
  max-width: calc(60% - 10px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.market-badge {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.market-title {
  font-size: clamp(2.2rem, 3.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.04em;
  color: #0d0e15;
}

.market-header-right {
  flex: 0 0 calc(40% - 10px);
  max-width: calc(40% - 10px);
}

.market-description {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: #525866;
}

/* 3 Stat Cards Grid */
.market-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.stat-card {
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 18px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(62, 64, 149, 0.16);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(62, 64, 149, 0.28);
}

.stat-number {
  font-size: 5.4em;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text-white);
}

.stat-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.stat-text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

/* --- 3D Scroll Tilt Video Section --- */
.video-container-3d {
  perspective: 1200px;
  width: 100%;
  margin: 50px 0;
}

.video-card-3d {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 11, 16, 0.25);
  transform-style: preserve-3d;
  transform: rotateX(24deg) scale(0.92);
  opacity: 0.75;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease;
  will-change: transform, opacity;
  background-color: #0d0e15;
}

.video-card-3d.is-visible {
  transform: rotateX(0deg) scale(1);
  opacity: 1;
}

.vimeo-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 aspect ratio */
  background-color: #000000;
}

.vimeo-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Video Poster / Cover Overlay */
.video-cover {
  position: absolute;
  inset: 0;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
  user-select: none;
  background-color: #0d0e15;
}

.video-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.video-cover-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(10, 11, 16, 0.2) 0%, rgba(10, 11, 16, 0.65) 100%);
  transition: background 0.4s ease;
}

/* Play Button with Glow & Pulse Effect */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(62, 64, 149, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 35px rgba(62, 64, 149, 0.7), 0 12px 32px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  z-index: 2;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
}

.video-play-btn::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  animation: playPulse 2.4s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
  pointer-events: none;
}

@keyframes playPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    transform: scale(0.9);
    opacity: 0;
  }
}

.video-play-btn svg {
  width: 32px;
  height: 32px;
  margin-left: 4px; /* Optical center compensation */
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

/* Hover States */
.video-cover:hover .video-cover-img {
  transform: scale(1.035);
  filter: brightness(1.05);
}

.video-cover:hover .video-cover-overlay {
  background: radial-gradient(circle at center, rgba(10, 11, 16, 0.1) 0%, rgba(10, 11, 16, 0.5) 100%);
}

.video-cover:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: #3E4095;
  box-shadow: 0 0 50px rgba(62, 64, 149, 1), 0 16px 40px rgba(0, 0, 0, 0.6);
  border-color: #ffffff;
}

.video-cover:hover .video-play-btn svg {
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .video-play-btn {
    width: 68px;
    height: 68px;
  }
  .video-play-btn svg {
    width: 24px;
    height: 24px;
  }
}

/* Market Section Footer Bar */
.market-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-top: 20px;
}

.market-footer .btn-primary {
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- Section 4: Process End-to-End Tabs --- */
.process-section {
  background-color: #ffffff;
  padding: 100px 0;
  width: 100%;
}

.process-header {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
  margin-bottom: 50px;
}

.process-header-left {
  flex: 0 0 calc(60% - 10px);
  max-width: calc(60% - 10px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.process-badge {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.process-title {
  font-size: clamp(2.2rem, 3.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.04em;
  color: #0d0e15;
}

.process-header-right {
  flex: 0 0 calc(40% - 10px);
  max-width: calc(40% - 10px);
}

.process-description {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: #525866;
}

/* Tab Navigation */
.tabs-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  border: 1px solid #e4e6ef;
  border-bottom: none;
}

.tab-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  background: #f5f6fa;
  border: none;
  padding: 16px 20px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  letter-spacing: -0.02em;
  border-right: 1px solid #e4e6ef;
  outline: none;
}

.tab-btn:last-child {
  border-right: none;
}

.tab-btn:hover {
  background: #ecedf8;
}

.tab-btn.active {
  background: var(--primary-color);
  color: #ffffff;
}

/* Tab Panels Container */
.tabs-panels {
  border: 1px solid #e4e6ef;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  margin-bottom: 50px;
}

/* Individual Tab Panel */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Tab Content Layout */
.tab-content {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 340px;
}

.tab-image {
  flex: 0 0 48%;
  max-width: 48%;
  overflow: hidden;
}

.tab-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.tab-image img:hover {
  transform: scale(1.03);
}

.tab-text {
  flex: 1;
  padding: 42px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.tab-title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--primary-color);
}

.tab-description {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: #525866;
}

.tab-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tab-list li {
  font-size: 1rem;
  font-weight: 600;
  color: #0d0e15;
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}

.tab-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-color);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* Process Section Footer */
.process-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.process-footer-text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: #525866;
  flex: 0 1 auto;
}

.process-footer .btn-primary {
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- Section 5: Customization & Glassmorphism Form (Parallax Grid) --- */
.custom-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.parallax-bg-wrapper {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  z-index: 1;
  overflow: hidden;
}

.parallax-bg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  height: 100%;
  will-change: transform;
  transform: translateY(0px);
}

.parallax-item {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.parallax-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(62, 64, 149, 0.88) 0%, rgba(40, 42, 115, 0.84) 100%);
  z-index: 2;
}

.relative-container {
  position: relative;
  z-index: 5;
  width: 100%;
}

/* Glassmorphism Outer Card */
.glass-card {
  background: rgba(10, 12, 28, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  padding: 48px 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  color: #ffffff;
  text-align: center;
  max-width: 1060px;
  margin: 0 auto;
}

.glass-badge {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 12px;
}

.glass-title {
  font-size: clamp(2.2rem, 3.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 14px;
}

.glass-description {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

/* Glass Inner White Form Container */
.glass-form {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 32px;
  color: #10121a;
  text-align: left;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  gap: 16px;
  align-items: flex-end;
}

.form-row-top {
  grid-template-columns: repeat(3, 1fr);
}

.form-row-bottom {
  grid-template-columns: 1.3fr 1.6fr 1.1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: -0.01em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e4ee;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #10121a;
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group input[type="tel"]::placeholder {
  color: #b0b4c4;
}

.form-group input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(62, 64, 149, 0.12);
}

/* Custom File Upload Input */
.file-input-hidden {
  display: none;
}

.file-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e2e4ee;
  border-radius: 8px;
  padding: 5px 10px 5px 5px;
  background: #ffffff;
  height: 47px;
  overflow: hidden;
}

.file-input-btn {
  background: #f0f2f8;
  color: #2c2e3e;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 6px;
  padding: 7px 12px;
  cursor: pointer;
  border: 1px solid #d4d8e6;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
  user-select: none;
}

.file-input-btn:hover {
  background: #e4e7f2;
}

.file-input-name {
  font-size: 0.82rem;
  color: #9296a6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.form-submit-btn {
  width: 100%;
  height: 47px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.form-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* Form Feedback Notice */
.form-feedback {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  animation: fadeIn 0.35s ease;
}

.form-feedback.is-success {
  background-color: #e8f7ee;
  color: #12753a;
  border: 1px solid #c2ebd1;
}

.form-feedback.is-error {
  background-color: #fdeeee;
  color: #d32f2f;
  border: 1px solid #f9c6c6;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Section 6: Custom Brand & Vertical Image Carousel --- */
.custom-brand-section {
  background-color: #ffffff;
  padding-top: 100px;
  padding-bottom: 60px;
  width: 100%;
}

.brand-header {
  text-align: center;
  max-width: 940px;
  margin: 0 auto 50px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-badge {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.brand-title {
  font-size: clamp(2.2rem, 3.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #0d0e15;
  margin-bottom: 16px;
}

.brand-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: #525866;
  margin-bottom: 36px;
  line-height: 1.6;
}

.brand-footer-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: left;
  width: 100%;
  padding-top: 10px;
}

.brand-footer-text {
  font-size: 1rem;
  font-weight: 400;
  color: #525866;
  line-height: 1.6;
  flex: 0 1 auto;
}

.brand-footer-bar .btn-primary {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Single Row Vertical Carousel */
.single-row-carousel-container {
  margin-top: 30px;
}

.slide-vertical {
  width: calc((100vw - 80px) / 5);
  min-width: 220px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.slide-vertical img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.slide-vertical:hover img {
  transform: scale(1.05);
}

/* --- Section 7: How It Works / Steps --- */
.how-it-works-section {
  background-color: #ffffff;
  padding: 100px 0;
  width: 100%;
}

.how-header {
  text-align: center;
  max-width: 1160px;
  margin: 0 auto 50px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.how-badge {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.how-title {
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #0d0e15;
  margin-bottom: 16px;
}

.how-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #525866;
  max-width: 740px;
  line-height: 1.6;
}

/* 3 Step Cards Grid */
.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.step-card {
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 18px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(62, 64, 149, 0.16);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(62, 64, 149, 0.28);
}

.step-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-title {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--text-white);
}

.step-text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

/* How Section Footer Bar */
.how-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: left;
  padding-top: 10px;
}

.how-footer-text {
  font-size: 1rem;
  font-weight: 400;
  color: #525866;
  line-height: 1.6;
  flex: 0 1 auto;
}

.how-footer .btn-primary {
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- Section 8: Start Now & 3-Column Vertical Infinite Marquee --- */
.start-now-section {
  background-color: #ffffff;
  padding: 100px 0;
  width: 100%;
  overflow: hidden;
}

.start-now-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.start-now-left {
  flex: 0 0 calc(46% - 25px);
  max-width: calc(46% - 25px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.start-now-badge {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.start-now-title {
  font-size: clamp(2.2rem, 3.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #0d0e15;
}

.start-now-description {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: #525866;
  margin-bottom: 12px;
}

/* Right Column: 3 Vertical Marquee Columns */
.start-now-right {
  flex: 0 0 calc(54% - 25px);
  max-width: calc(54% - 25px);
  height: 560px;
  position: relative;
}

.vertical-marquee-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

.v-column {
  height: 100%;
  overflow: hidden;
  position: relative;
}

.v-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Colunas 1 e 3: De cima para baixo (Down) */
.v-track-down {
  animation: marqueeDown 45s linear infinite;
}

/* Coluna 2 (Meio): De baixo para cima (Up) */
.v-track-up {
  animation: marqueeUp 45s linear infinite;
}

@keyframes marqueeDown {
  0% {
    transform: translate3d(0, -50%, 0);
  }

  100% {
    transform: translate3d(0, 0%, 0);
  }
}

@keyframes marqueeUp {
  0% {
    transform: translate3d(0, 0%, 0);
  }

  100% {
    transform: translate3d(0, -50%, 0);
  }
}

.v-slide {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  opacity: 0.3;
  filter: blur(3px);
  will-change: opacity, filter, transform;
  transform: translateZ(0);
  contain: paint layout;
  animation: opacidade 6s infinite ease-in-out;
}

.v-slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.v-slide:hover img {
  transform: scale(1.05);
}

/* Staggered Delay for Vertical Carousel Fading Effect */
.v-column:nth-child(1) .v-slide:nth-child(1),
.v-column:nth-child(1) .v-slide:nth-child(5) {
  animation-delay: 0.5s;
}

.v-column:nth-child(1) .v-slide:nth-child(2),
.v-column:nth-child(1) .v-slide:nth-child(6) {
  animation-delay: 1.8s;
}

.v-column:nth-child(1) .v-slide:nth-child(3),
.v-column:nth-child(1) .v-slide:nth-child(7) {
  animation-delay: 3.1s;
}

.v-column:nth-child(1) .v-slide:nth-child(4),
.v-column:nth-child(1) .v-slide:nth-child(8) {
  animation-delay: 4.4s;
}

.v-column:nth-child(2) .v-slide:nth-child(1),
.v-column:nth-child(2) .v-slide:nth-child(5) {
  animation-delay: 1.0s;
}

.v-column:nth-child(2) .v-slide:nth-child(2),
.v-column:nth-child(2) .v-slide:nth-child(6) {
  animation-delay: 2.3s;
}

.v-column:nth-child(2) .v-slide:nth-child(3),
.v-column:nth-child(2) .v-slide:nth-child(7) {
  animation-delay: 3.6s;
}

.v-column:nth-child(2) .v-slide:nth-child(4),
.v-column:nth-child(2) .v-slide:nth-child(8) {
  animation-delay: 4.9s;
}

.v-column:nth-child(3) .v-slide:nth-child(1),
.v-column:nth-child(3) .v-slide:nth-child(5) {
  animation-delay: 1.5s;
}

.v-column:nth-child(3) .v-slide:nth-child(2),
.v-column:nth-child(3) .v-slide:nth-child(6) {
  animation-delay: 2.8s;
}

.v-column:nth-child(3) .v-slide:nth-child(3),
.v-column:nth-child(3) .v-slide:nth-child(7) {
  animation-delay: 4.1s;
}

.v-column:nth-child(3) .v-slide:nth-child(4),
.v-column:nth-child(3) .v-slide:nth-child(8) {
  animation-delay: 5.4s;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {

  .hero-container,
  .market-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .hero-left,
  .hero-right,
  .market-header-left,
  .market-header-right {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .market-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-footer,
  .market-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .features-footer .btn-primary,
  .market-footer .btn-primary {
    width: 100%;
  }

  .carousel-slide {
    width: 260px;
  }
}

@media (max-width: 600px) {
  .hero-section {
    height: auto;
    min-height: 100svh;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .nav-links {
    display: none;
  }

  .hero-container {
    margin-top: 0;
    padding-top: calc(var(--header-height) + 32px);
    padding-bottom: 48px;
    align-items: flex-start;
    min-height: unset;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    opacity: 1 !important;
    transform: none !important;
  }

  .btn {
    width: 100%;
  }

  .features-grid,
  .market-stats-grid {
    grid-template-columns: 1fr;
  }

  .features-section,
  .market-section {
    padding: 70px 0 50px 0;
  }

  .carousel-slide {
    width: 200px;
  }

  .carousel-slide img {
    height: 150px;
  }

  /* Lang switcher mobile: smaller text */
  .lang-btn {
    font-size: 11px;
  }
}

/* --- Section 9: Contact / Respondi Form --- */
.contact-section {
  background-color: var(--primary-color);
  padding: 100px 0;
  width: 100%;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Header */
.contact-header {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-badge {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.contact-title {
  font-size: clamp(2.2rem, 3.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.contact-description {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  max-width: 600px;
}

/* Notice (after form) */
.contact-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 14px 24px;
  width: 100%;
  text-align: center;
}

.contact-notice-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #ffffff;
}

.contact-notice-text {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
  white-space: nowrap;
}

.contact-notice-text strong {
  font-weight: 700;
  color: #ffffff;
}

/* Form wrapper */
.contact-form-wrapper {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.contact-form-wrapper>div[data-respondi-container] {
  display: block;
  width: 100% !important;
}

/* --- Section 10: FAQ --- */
.faq-section {
  background-color: #f7f7f9;
  padding: 100px 0;
  width: 100%;
}

.faq-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.faq-header {
  text-align: center;
  max-width: 740px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.faq-badge {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.faq-title {
  font-size: clamp(2.2rem, 3.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #0d0e15;
}

.faq-subtitle {
  font-size: 1rem;
  color: #525866;
  line-height: 1.65;
  font-weight: 400;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 32px;
  row-gap: 32px;
  width: 100%;
}

.faq-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.faq-answer {
  font-size: 0.95rem;
  font-weight: 400;
  color: #525866;
  line-height: 1.7;
}

/* FAQ Footer CTA */
.faq-footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  width: 100%;
}

.faq-footer-title {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #0d0e15;
}

.faq-footer-text {
  font-size: 1rem;
  color: #525866;
  line-height: 1.6;
}

.faq-footer-text strong {
  color: #0d0e15;
  font-weight: 600;
}

.faq-btn {
  margin-top: 8px;
}

/* --- Site Footer --- */
.site-footer {
  background-color: var(--primary-color);
  padding: 40px 0;
  width: 100%;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}



/* --- Hamburger visível e nav-desktop oculto em telas ≤ 768px --- */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ==========================================================================
   MASTER RESPONSIVE — Todos os dispositivos até 1000px
   ========================================================================== */
@media (max-width: 1000px) {

  /* Container full-width com padding lateral fixo */
  .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
  }

  /* Seções full-width */
  section,
  .hero-section,
  .features-section,
  .market-section,
  .process-section,
  .custom-section,
  .custom-brand-section,
  .how-it-works-section,
  .start-now-section,
  .contact-section,
  .faq-section {
    width: 100%;
    box-sizing: border-box;
  }

  /* Section 8: start-now-left desbloqueado do flex 46% */
  .start-now-left {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Section 8: start-now-right desbloqueado do flex 54% */
  .start-now-right {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Process header-right desbloqueado do flex 40% */
  .process-header-right {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .process-header-left {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Hero: centralizar headline e texto */
  .hero-container {
    text-align: center;
  }

  .hero-title,
  .hero-description {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  /* Cards: centralizar conteúdo */
  .feature-card {
    text-align: center;
    align-items: center;
  }

  .feature-icon {
    margin: 0 auto;
  }

  .stat-card {
    text-align: center;
    align-items: center;
  }

  .step-card {
    text-align: center;
    align-items: center;
  }

  .step-number {
    margin: 0 auto;
  }

  /* Seção 6: brand-title menor para caber em até 3 linhas */
  .brand-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

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

  .brand-badge,
  .brand-subtitle {
    text-align: center;
  }
}

/* --- 1. Desktops / Displays Médios (993px - 1200px) --- */
@media (min-width: 993px) and (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

  .hero-container {
    gap: 40px;
  }

  .start-now-container {
    gap: 40px;
  }

  .features-footer,
  .market-footer,
  .process-footer,
  .brand-footer-bar,
  .how-footer {
    gap: 16px;
  }
}

/* --- 2. Tablets Horizontais & Laptops (até 992px) --- */
@media (max-width: 992px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .features-section,
  .market-section,
  .process-section,
  .custom-section,
  .custom-brand-section,
  .how-it-works-section,
  .start-now-section,
  .contact-section,
  .faq-section {
    padding: 80px 0;
  }

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

  /* Section 4: Process Header — centralizado */
  .process-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-bottom: 40px;
  }

  .process-header-left {
    flex: none;
    width: 100%;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .process-header-right {
    flex: none;
    width: 100%;
    max-width: 560px;
    text-align: center;
    margin: 0 auto;
  }

  .process-title {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    text-align: center;
  }

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

  /* Abas — pill container horizontal */
  .tabs-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 24px;
    background: #f4f5f8;
    border: none;
    padding: 8px;
    border-radius: 16px;
    overflow: visible;
  }

  .tab-btn {
    flex: 1 1 auto;
    min-width: 120px;
    text-align: center;
    padding: 12px 18px;
    font-size: 0.95rem;
    border-radius: 10px;
    border-right: none;
  }

  .tab-btn:last-child {
    border-right: none;
  }

  /* Tab content — empilha imagem acima, texto abaixo */
  .tab-content {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .tab-image {
    flex: none;
    max-width: 100%;
    width: 100%;
    height: 260px;
  }

  .tab-image img {
    min-height: unset;
    height: 260px;
  }

  .tab-text {
    padding: 32px 28px;
    text-align: left;
    align-items: flex-start;
  }

  .tab-list {
    text-align: left;
  }

  /* Section 8: Start Now Column Stacking */
  .start-now-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .start-now-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .start-now-title,
  .start-now-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .start-now-right {
    width: 100%;
    height: 440px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .market-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .market-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .how-steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row-top {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-row-bottom {
    grid-template-columns: 1fr 1fr;
  }

  .form-group-btn {
    grid-column: span 2;
  }

  .features-footer,
  .market-footer,
  .process-footer,
  .brand-footer-bar,
  .how-footer {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

/* --- 3. Tablets Verticais (até 768px) --- */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .line-block {
    display: inline;
    white-space: normal;
    margin-right: 0.25em;
  }

  .line-block:last-child {
    margin-right: 0;
  }

  .desktop-only {
    display: none;
  }

  .features-section,
  .market-section,
  .process-section,
  .custom-section,
  .custom-brand-section,
  .how-it-works-section,
  .start-now-section,
  .contact-section,
  .faq-section {
    padding: 70px 0;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .market-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .start-now-title {
    font-size: 1.8rem;
  }

  .start-now-badge {
    font-size: 0.85rem;
  }

  .start-now-right {
    height: 400px;
  }

  .glass-card {
    padding: 32px 24px;
  }

  .form-row-top,
  .form-row-bottom {
    grid-template-columns: 1fr;
  }

  .contact-notice {
    white-space: normal;
    text-align: center;
  }

  .contact-notice-text {
    white-space: normal;
  }
}

/* --- 4. Celulares (até 576px) --- */
@media (max-width: 576px) {
  .container {
    padding-left: 0;
    padding-right: 0;
  }

  .header {
    height: 64px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .hero-section {
    padding-top: 90px;
    padding-bottom: 50px;
  }



  .features-section,
  .market-section,
  .process-section,
  .custom-section,
  .custom-brand-section,
  .how-it-works-section,
  .start-now-section,
  .contact-section,
  .faq-section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .stat-card {
    padding: 24px 20px;
  }

  .tabs-nav {
    flex-direction: column;
    gap: 8px;
    border-radius: 16px;
  }

  .tab-btn {
    width: 100%;
    text-align: center;
    border-radius: 10px;
  }

  .glass-card {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .form-row-top,
  .form-row-bottom {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-group-btn {
    grid-column: span 1;
  }

  .file-input-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .step-card {
    padding: 28px 20px;
  }

  .start-now-right {
    height: 360px;
  }

  .contact-notice {
    white-space: normal;
    flex-direction: column;
    text-align: center;
    padding: 14px 16px;
  }

  .contact-notice-text {
    white-space: normal;
    line-height: 1.5;
  }

  .features-footer .btn-primary,
  .market-footer .btn-primary,
  .process-footer .btn-primary,
  .brand-footer-bar .btn-primary,
  .how-footer .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .carousel-slide {
    width: 160px;
  }

  .carousel-slide img {
    height: 200px;
  }

  .slide-vertical {
    width: 180px;
    min-width: 160px;
  }

  .slide-vertical img {
    height: 280px;
  }
}


/* --- 5. Smartphones Pequenos (até 425px) --- */
@media (max-width: 425px) {}