/* ==========================================================================
   1. CORE VARIABLES & RESET
   ========================================================================== */

:root {
  --bg: #08080B;
  --text: #f0f0f0;
  --primary: #1a3a8f;
  --accent: #d7b46a;
  --gold: #c9a24a;
  --success: #2ecc71; 
  --danger: #ff4757; 
  --border: rgba(255, 255, 255, 0.08);
  
  /* (intro vars removed - now uses CSS-only 3D intro) */

  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Cinzel Decorative', 'Cormorant Garamond', serif;
  --font-tech: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}


/* Configuração Lenis */
html.lenis, html.lenis body {
  height: auto;
}


body > *{ position: relative; z-index: 1; }
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Overlay scroll lock */
html.overlay-lock,
html.overlay-lock body {
  overflow: hidden !important;
  height: 100vh !important;
}


html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  position: relative;
}

* {
  box-sizing: border-box;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  text-shadow: none;
}

/* ==========================================================================
   2. FIX DE CAMADAS (Z-INDEX SYSTEM)
   ========================================================================== */

section {
  position: relative;
  z-index: 10;
}

.container {
  position: relative;
  z-index: 20;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

header.nav {
  z-index: 10001;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
}


.overlay-page,
.case-overlay,
#intro3D,
.logo-lightbox {
  z-index: 99999;
}

/* GSAP Utils */
.gs-reveal-text, 
.gs-reveal-up, 
.gs-stagger {
  opacity: 1; 
  will-change: transform, opacity;
}

.bgText, .bg-text, .watermark, .wm, .ghostText, .ghost, [data-watermark], .bg-logo-watermark {
  display: none !important;
}

/* ==========================================================================
   3. BACKGROUNDS E DECORAÇÃO
   ========================================================================== */

/* Fundo Meandro (Hero) */
.bg-meander {
  position: relative;
  background-color: #050505;
  overflow: visible; 
}
.bg-meander::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: radial-gradient(900px 600px at 20% 20%, rgba(255,255,255,0.02), transparent 55%);
  z-index: 0;
  pointer-events: none;
}
.bg-meander::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-image: url("images/meandro_decoracao.png");
  background-repeat: repeat-x;
  background-size: 820px auto;
  background-position: 50% 46%;
  opacity: 0.05;
  filter: grayscale(1) contrast(1.2);
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

/* Fundo Espaço Profundo (Space Blue) */
.bg-deep-space-parallax {
  position: relative;
  width: 100%;
  background: radial-gradient(ellipse at center, #0B1021 0%, #000000 100%);
  overflow: hidden;
  isolation: isolate;
  padding: 100px 0;
  z-index: 1;
}

/* --- ESTRELAS (VOLUMOSAS PARA PREENCHER O ESPAÇO) --- */
.stars-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.stars-1 {
  width: 1px;
  height: 1px;
  background: transparent;
  box-shadow: 
    10vw 10vh #fff, 25vw 50vh #fff, 50vw 20vh #fff, 80vw 10vh #fff, 90vw 80vh #fff,
    45vw 45vh #fff, 15vw 90vh #fff, 60vw 30vh #fff, 05vw 60vh #fff, 95vw 40vh #fff,
    02vw 05vh #fff, 12vw 15vh #fff, 22vw 25vh #fff, 32vw 35vh #fff, 42vw 45vh #fff,
    52vw 55vh #fff, 62vw 65vh #fff, 72vw 75vh #fff, 82vw 85vh #fff, 92vw 95vh #fff,
    08vw 82vh #fff, 18vw 12vh #fff, 28vw 74vh #fff, 38vw 22vh #fff, 48vw 38vh #fff,
    58vw 58vh #fff, 68vw 18vh #fff, 78vw 68vh #fff, 88vw 28vh #fff, 98vw 78vh #fff,
    03vw 33vh #fff, 13vw 63vh #fff, 23vw 93vh #fff, 33vw 03vh #fff, 43vw 43vh #fff,
    53vw 83vh #fff, 63vw 13vh #fff, 73vw 53vh #fff, 83vw 93vh #fff, 93vw 33vh #fff,
    07vw 27vh #fff, 17vw 57vh #fff, 27vw 87vh #fff, 37vw 17vh #fff, 47vw 47vh #fff,
    14vw 24vh #fff, 36vw 76vh #fff, 54vw 16vh #fff, 86vw 34vh #fff, 06vw 64vh #fff,
    26vw 86vh #fff, 46vw 56vh #fff, 66vw 96vh #fff, 76vw 46vh #fff, 96vw 66vh #fff,
    17vw 37vh #fff, 37vw 57vh #fff, 57vw 87vh #fff, 77vw 17vh #fff, 87vw 07vh #fff,
    04vw 94vh #fff, 24vw 34vh #fff, 44vw 74vh #fff, 64vw 24vh #fff, 84vw 64vh #fff;
  animation: animStar 200s linear infinite;
  opacity: 0.6;
}
.stars-1::after {
  content: " ";
  position: absolute;
  top: 2000px;
  width: 1px;
  height: 1px;
  background: transparent;
  box-shadow: inherit;
}

.stars-2 {
  width: 2px;
  height: 2px;
  background: transparent;
  box-shadow: 
    18vw 18vh #fff, 38vw 48vh #fff, 58vw 28vh #fff, 78vw 68vh #fff, 98vw 88vh #fff,
    28vw 78vh #fff, 48vw 38vh #fff, 68vw 98vh #fff, 88vw 58vh #fff, 08vw 08vh #fff,
    04vw 84vh #fff, 14vw 14vh #fff, 24vw 44vh #fff, 34vw 74vh #fff, 44vw 24vh #fff,
    54vw 94vh #fff, 64vw 34vh #fff, 74vw 64vh #fff, 84vw 14vh #fff, 94vw 54vh #fff,
    11vw 51vh #fff, 31vw 21vh #fff, 51vw 81vh #fff, 71vw 11vh #fff, 91vw 41vh #fff,
    21vw 61vh #fff, 41vw 91vh #fff, 61vw 31vh #fff, 81vw 71vh #fff, 01vw 01vh #fff,
    09vw 39vh #fff, 29vw 69vh #fff, 49vw 19vh #fff, 69vw 89vh #fff, 89vw 49vh #fff,
    16vw 06vh #fff, 36vw 56vh #fff, 56vw 96vh #fff, 76vw 36vh #fff, 96vw 76vh #fff,
    02vw 22vh #fff, 22vw 82vh #fff, 42vw 12vh #fff, 62vw 52vh #fff, 82vw 92vh #fff,
    33vw 44vh #fff, 77vw 11vh #fff, 13vw 95vh #fff, 55vw 33vh #fff, 88vw 66vh #fff;
  animation: animStar 150s linear infinite;
  opacity: 0.7;
}
.stars-2::after {
  content: " ";
  position: absolute;
  top: 2000px;
  width: 2px;
  height: 2px;
  background: transparent;
  box-shadow: inherit;
}

.stars-3 {
  width: 3px;
  height: 3px;
  background: transparent;
  box-shadow: 
    30vw 10vh #fff, 80vw 80vh #fff, 10vw 50vh #fff, 60vw 20vh #fff, 
    50vw 90vh #fff, 90vw 40vh #fff, 20vw 70vh #fff, 70vw 30vh #fff,
    40vw 60vh #fff, 05vw 15vh #fff, 55vw 85vh #fff, 25vw 35vh #fff,
    85vw 05vh #fff, 15vw 75vh #fff, 65vw 45vh #fff, 35vw 25vh #fff,
    12vw 82vh #fff, 92vw 22vh #fff, 42vw 52vh #fff, 72vw 12vh #fff,
    08vw 38vh #fff, 28vw 08vh #fff, 58vw 78vh #fff, 88vw 28vh #fff,
    14vw 64vh #fff, 34vw 14vh #fff, 64vw 94vh #fff, 94vw 54vh #fff;
  animation: animStar 100s linear infinite;
  opacity: 0.9;
  filter: blur(0.8px);
}
.stars-3::after {
  content: " ";
  position: absolute;
  top: 2000px;
  width: 3px;
  height: 3px;
  background: transparent;
  box-shadow: inherit;
}

@keyframes animStar {
  from { transform: translateY(0px); }
  to { transform: translateY(-2000px); }
}

.shooting-star {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.1), 0 0 0 8px rgba(255,255,255,0.1), 0 0 20px rgba(255,255,255,1);
  animation: meteor 5s ease-in-out infinite;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
.shooting-star::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 1px;
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,1), transparent);
}

.shooting-star-2 {
  position: absolute;
  top: 20%;
  left: 30%;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.1), 0 0 0 6px rgba(255,255,255,0.1), 0 0 15px rgba(255,255,255,1);
  animation: meteor 7s ease-in-out infinite;
  animation-delay: 2.5s;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
.shooting-star-2::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 1px;
  width: 250px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,1), transparent);
}

@keyframes meteor {
  0% { transform: rotate(-45deg) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  20% { transform: rotate(-45deg) translateX(-1500px); opacity: 0; }
  100% { transform: rotate(-45deg) translateX(-1500px); opacity: 0; }
}

.bg-deep-space-parallax > .container {
  position: relative;
  z-index: 20;
}

.section-clean {
  position: relative;
  background: transparent;
  overflow: hidden;
  isolation: isolate;
  z-index: 10;
}
.section-clean::before {
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  margin-left:-50vw;
  background: radial-gradient(1100px 640px at 18% 12%, rgba(255,255,255,.02), transparent 60%), #050505;
  z-index:0;
  pointer-events:none;
}

.star-divider {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}
.pulsing-star {
  font-size: 32px;
  color: var(--accent);
  animation: starPulseRotate 3.5s infinite ease-in-out;
  text-shadow: 0 0 25px var(--accent), 0 0 10px #fff;
}
@keyframes starPulseRotate {
  0% { transform: scale(1) rotate(0deg); opacity: 0.7; filter: brightness(1); }
  50% { transform: scale(1.3) rotate(180deg); opacity: 1; filter: brightness(1.3); }
  100% { transform: scale(1) rotate(360deg); opacity: 0.7; filter: brightness(1); }
}

/* (Old intro overlay CSS removed - replaced by 3D intro) */


/* ==========================================================================
   5. NAVEGAÇÃO & MENU
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
  background: rgba(5,5,5,.95) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 18px;
  height: 56px !important;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 10002;
}
.brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.nav-desktop-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  color: rgba(248, 241, 228, 0.88);
  text-decoration: none;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 999px;
  letter-spacing: .02em;
  text-shadow: 0 1px 0 rgba(0,0,0,0.75);
  transition: all .2s ease;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(217,179,93,0.10);
  box-shadow: 0 0 0 1px rgba(217,179,93,0.20) inset;
}
.lang-switch {
  display: flex;
  gap: 6px;
  padding: 5px;
  margin-left: 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}
.lang-btn {
  height: 28px;
  min-width: 36px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: transparent;
  color: rgba(255,255,255,.78);
  font-weight: 800;
  font-size: 0.75rem;
  cursor: pointer;
  letter-spacing: .4px;
  transition: all 0.2s;
}
.lang-btn:hover {
  border-color: rgba(215,180,106,.55);
  color: #fff;
}
.lang-btn.active {
  background: rgba(215,180,106,.14);
  border-color: rgba(215,180,106,.60);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(215,180,106,.16) inset;
}

/* GLOBAL BUTTONS */
.btn {
  padding: 8px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.btn.primary {
  background: rgba(26,58,143,.12);
  border: 1px solid rgba(26,58,143,.4);
  color: rgba(200,220,255,.92);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.btn.primary:hover {
  background: rgba(26,58,143,.85);
  border-color: rgba(26,58,143,.85);
  color: #fff;
}
.btn.gold {
  background: rgba(215, 180, 106, 0.1);
  color: var(--accent);
  border-color: rgba(215, 180, 106, 0.3);
}
.btn.gold:hover {
  background: var(--accent);
  color: #000;
}
.btn.outline-white {
  background: transparent;
  color: rgba(255,255,255,.92);
  border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
  letter-spacing: .03em;
}
.btn.outline-white:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.65);
  color: #fff;
  box-shadow: 0 0 30px rgba(255,255,255,.08);
}
.btn.green {
  background: rgba(46, 204, 113, 0.1);
  color: var(--success);
  border-color: rgba(46, 204, 113, 0.3);
}
.btn.green:hover {
  background: var(--success);
  color: #000;
  box-shadow: 0 0 25px rgba(46, 204, 113, 0.4);
}
.btn.red {
  background: rgba(255, 71, 87, 0.1);
  color: var(--danger);
  border-color: rgba(255, 71, 87, 0.3);
  box-shadow: 0 0 15px rgba(255, 71, 87, 0.1);
}
.btn.red:hover {
  background: var(--danger);
  color: #fff;
  box-shadow: 0 0 25px rgba(255, 71, 87, 0.4);
}

.sun-btn-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #fff5c2 30%, #ffae00 70%, #ff7e00 100%);
  box-shadow: 0 0 10px #ffae00, 0 0 20px #ff7e00, inset 0 0 5px #fff;
  animation: sunPulse 2s infinite alternate ease-in-out;
}
.sun-btn-icon::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, #ffae00 20%, transparent 40%);
  animation: sunRotate 3s linear infinite;
  opacity: 0.6;
}
@keyframes sunPulse {
  0% { box-shadow: 0 0 8px #ffae00, 0 0 15px #ff7e00; scale: 0.95; filter: brightness(1); }
  100% { box-shadow: 0 0 18px #ffae00, 0 0 30px #ff7e00; scale: 1.08; filter: brightness(1.2); }
}
@keyframes sunRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}
.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(38px, 4.8vw, 86px);
  color: #F8F1E4; /* fallback */
  background-image: linear-gradient(180deg, #fffbf2 0%, #f2dcaa 35%, #d9b35d 68%, #fffbf2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Mais legível e com menos "flicker" */
  -webkit-text-stroke: 0.6px rgba(0,0,0,0.38);
  text-shadow:
    0 1px 0 rgba(255,255,255,0.05),
    0 14px 34px rgba(0,0,0,0.58);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35));
  position: relative;
  z-index: 5;
}
.hero-subtitle {
  font-size: clamp(14px, 1.3vw, 18px);
  color: rgba(235, 233, 230, 0.74);
  line-height: 1.6;
  max-width: 62ch;
  margin-bottom: 32px;
  position: relative;
  z-index: 5;
}

/* LARGURA TRAVADA PARA NAO ESTICAR - COMO NO ORIGINAL */
.hero-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: 100%;
  max-width: 520px; 
  margin-bottom: 30px;
  position: relative;
  z-index: 20;
}
.hero-actions .btn {
  flex: 1;
  height: 58px;
  font-size: 1.02rem;
  border-radius: 16px;
}

/* CAROUSEL */
.carousel {
  margin-top: 18px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  max-width: 600px;
  opacity: 0.95;
  position: relative;
  z-index: 5;
}
.carousel-track {
  display: flex;
  gap: 14px;
  padding: 14px;
  width: max-content;
  animation: slide 38s linear infinite;
}
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.c-item {
  flex: 0 0 240px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.c-item img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: transparent;
  display: block;
  padding: 16px;
  border-radius: 14px;
  filter: contrast(1.06) saturate(1.05);
}
.c-item span {
  display: block;
  padding: 10px 12px;
  font-weight: 600;
  opacity: .9;
  background: rgba(0,0,0,0.5);
  text-align: center;
}
.c-item.special-ferrari {
  border-color: rgba(255, 71, 87, 0.4);
  box-shadow: 0 0 15px rgba(255, 71, 87, 0.1);
}
.c-item.special-tech {
  border-color: rgba(26, 58, 143, 0.4);
  box-shadow: 0 0 15px rgba(26, 58, 143, 0.1);
}
@media (max-width: 900px) {
  .c-item { flex-basis: 200px; }
  .c-item img { height: 120px; }
}

/* ==========================================================================
   7. TRANSFORM (MOCKUP)
   ========================================================================== */
.ba-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}
.ba-toggle {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 6px;
  backdrop-filter: blur(10px);
  display: flex;
  gap: 4px;
}
.ba-btn {
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255,255,255,.75);
  font-weight: 800;
  transition: all .18s ease;
  cursor: pointer;
}
.ba-btn:hover {
  border-color: rgba(215,180,106,.35);
  color: #fff;
}
.ba-btn.active {
  background: rgba(215,180,106,.14);
  border-color: rgba(215,180,106,.50);
  color: #fff;
}
.browser-mockup {
  width: 100%;
  height: min(600px, 60vh);
  background: #000;
  border: 1px solid #333;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
}
.browser-header {
  height: 40px;
  background: #111;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  border-bottom: 1px solid #222;
}
.dots span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
}
.address-bar {
  flex: 1;
  height: 24px;
  background: #000;
  border-radius: 6px;
  margin-left: 10px;
}
iframe#baFrame {
  flex: 1;
  border: none;
  width: 100%;
  height: 100%;
  background: #fff;
}

/* ==========================================================================
   8. COMO FUNCIONA (ROCKET + STEPS)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 40px 120px; /* Gap horizontal largo para o caminho passar */
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
}
.step-card {
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 24px;
  font-size: 16px;
  color: #ccc;
  position: relative;
  z-index: 10;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}
.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.2);
}
.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  margin-right: 10px;
  color: rgba(215,180,106,.95);
  font-weight: 900;
}

/* CONTAINER DA PISTA DO FOGUETE */
.rocket-track-container { 
  position: absolute;
  left: 0;
  right: 0;
  top: 150px;
  bottom: 0;
  width: 100%;
  z-index: 5; 
  pointer-events: none;
  overflow: visible;
}
/* SVG DA LINHA (S LARGO) */
#rocketPathSVG { 
  width: 100%;
  height: 100%;
  overflow: visible;
  position: absolute;
  left: 0;
  top: 0;
}
/* ELEMENTO DO FOGUETE */
#scrollRocket { 
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 6;
  top: 0;
  left: 0;
  filter: drop-shadow(0 0 15px rgba(215,180,106,0.6));
}

/* ==========================================================================
   9. ENTREGAS (BENTO)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
  position: relative;
  z-index: 10;
}
.deliver-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  /* Mais contraste + visual "clean" (sem textura/imagem no fundo) */
  background: rgba(12, 12, 16, 0.92);
  border: 1px solid rgba(215, 180, 106, 0.18);
  padding: 24px;
  transition: 0.3s;
  backdrop-filter: blur(6px);
}

/* Se o decor voltar no HTML, não aparece. */
#entregavel .card-decor { display: none !important; }
.deliver-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.2);
}
.card-decor {
  position: absolute;
  left: -40px;
  top: -40px;
  width: 380px;
  opacity: .10;
  filter: blur(.2px);
  transform: rotate(-6deg);
  pointer-events: none;
  transition: all 0.5s ease;
}
.deliver-card:hover .card-decor {
  opacity: .18;
  transform: rotate(-4deg) scale(1.05);
}
.deliver-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}
.deliver-card p {
  margin: 0;
  opacity: .85;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   10. CONTATO
   ========================================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 10;
}
.contact-form {
  background: #0a0a0a;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid #222;
  position: relative;
  z-index: 20;
}
input, textarea, select {
  width: 100%;
  background: #111;
  border: 1px solid #333;
  padding: 14px;
  border-radius: 10px;
  color: #fff;
  margin-bottom: 16px;
  font-family: inherit;
  transition: 0.3s;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px;
  cursor: pointer;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  background: #161616;
}
label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: #888;
  font-weight: 600;
}
.form-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.btn.whatsapp-green {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.4);
}
.btn.whatsapp-green:hover {
  background: #2ecc71;
  color: #000;
  border-color: #2ecc71;
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 25px;
}
.process-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  color: #cfcfcf;
  transition: .3s;
}
.process-item:hover {
  border-color: rgba(215,180,106,.3);
  background: rgba(215,180,106,.05);
}
.process-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(215,180,106,.14);
  border: 1px solid rgba(215,180,106,.35);
  color: var(--accent);
  font-weight: 900;
  flex-shrink: 0;
  font-size: 1.1rem;
  box-shadow: 0 0 10px rgba(215,180,106,.1);
}
.process-text b {
  color: #fff;
}
.highlight-gold {
  color: var(--accent);
  font-weight: 800;
  text-shadow: 0 0 12px rgba(215, 180, 106, 0.6);
}
.contact-note {
  color: #8f8f8f;
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Animações de Entrada Contato */
#contact .process-item, 
#contact .contact-note, 
#contact .contact-form {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
#contact.on .process-item:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
#contact.on .process-item:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
#contact.on .process-item:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
#contact.on .process-item:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
#contact.on .contact-note { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
#contact.on .contact-form { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }

/* ==========================================================================
   11. FOOTER (HORIZONTAL & LIMPO)
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  background: #050505;
  padding: 68px 0 34px;
  position: relative;
  z-index: 20;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1fr;
  gap: 56px;
  margin-bottom: 68px;
}
.footer-col h4 {
  color: #fff;
  margin: 0 0 22px;
  font-size: 1.1rem;
}
.footer-links a {
  display: block;
  color: #888;
  text-decoration: none;
  margin-bottom: 14px;
  transition: .2s;
}
.footer-links a:hover {
  color: var(--accent);
  transform: translateX(5px);
}
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #ccc;
  margin-bottom: 18px;
}
.footer-dot{ color: var(--accent); opacity: .9; font-size: 18px; line-height: 1; }
/* CORREÇÃO DO ENDEREÇO (SEM EMOJI) */
.footer-address {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.4;
    margin-top: 20px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  color: #555;
  font-size: 0.85rem;
}

/* ==========================================================================
   12. OVERLAYS / MODALS
   ========================================================================== */
.overlay-page {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 10001;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.7,0,0.3,1);
  padding-top: 48px !important;
}
.overlay-page.open {
  transform: translateY(0);
}
.close-overlay {
  position: fixed;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10002;
  color: #fff;
  transition: .3s;
}
.close-overlay:hover {
  background: #fff;
  color: #000;
}
.overlay-lang {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 20002;
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(10,10,10,.72);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
}
.lang-btn-mini {
  border: 0;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: .70rem;
  letter-spacing: .12em;
  cursor: pointer;
  color: rgba(255,255,255,.70);
  background: transparent;
}
.lang-btn-mini.active {
  background: rgba(255,255,255,.90);
  color: #000;
}
.port-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.port-card {
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  transition: 0.28s ease;
  text-decoration: none;
  color: #fff;
  transform: translateZ(0);
  position: relative;
  will-change: transform, filter;
  cursor: pointer;
}
.port-card:hover {
  transform: scale(1.02);
  border-color: rgba(255,255,255,0.28);
  filter: saturate(1.1);
}
.card-preview-btn {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.28s ease;
  backdrop-filter: blur(10px);
  pointer-events: none;
}
.port-card:hover .card-preview-btn {
  opacity: 1;
  transform: translateY(0);
}
.port-thumb {
  height: 200px;
  background: #222;
  display: grid;
  place-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
.port-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.60), rgba(0,0,0,0));
  opacity: 0.45;
}
.port-content {
  padding: 20px;
}

/* Case Modal */
.case-overlay {
  position: fixed;
  inset: 0;
  z-index: 30000;
  background: rgba(5,5,5,0.95);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.98);
  transition: 0.55s cubic-bezier(0.7,0,0.3,1);
  padding-top: 48px;
}
.case-overlay.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.case-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 54px !important;
  padding: 0 12px !important;
  background: rgba(5,5,5,.7) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  z-index: 30001;
}
.case-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.case-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
  font-size: 0.9rem;
}
.case-chip {
  display: inline-flex;
  width: fit-content;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(215,180,106,0.9);
  border: 1px solid rgba(215,180,106,0.25);
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(215,180,106,0.06);
}
.case-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
.case-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1.5fr 0.75fr;
  gap: 26px;
  height: calc(100vh - 48px);
  overflow-y: auto;
}
.case-frame-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: #0a0a0a;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  min-height: 50vh;
}
.case-frame {
  width: 100%;
  height: 100%;
  min-height: 60vh;
  border: none;
  background: #fff;
}
.case-fab-close {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30002;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: .2s;
}
.case-fab-close:hover {
  background: #fff;
  color: #000;
}
.case-toggle {
  display: flex;
  gap: 6px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
}
.case-toggle-btn {
  border: 0;
  cursor: pointer;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 1000;
  font-size: .80rem;
  letter-spacing: .10em;
  color: rgba(255,255,255,.70);
  background: transparent;
  transition: .18s ease;
}
.case-toggle-btn:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.case-toggle-btn.active {
  background: rgba(255,255,255,.92);
  color: #000;
  box-shadow: 0 10px 26px rgba(0,0,0,.30);
}
.case-lang {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
}
.case-lang button {
  border: 0;
  cursor: pointer;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 1000;
  font-size: .72rem;
  letter-spacing: .12em;
  color: rgba(255,255,255,.70);
  background: transparent;
  transition: .18s ease;
}
.case-lang button:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.case-lang button.active {
  background: rgba(215,180,106,.20);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(215,180,106,.25) inset;
}

/* Page Transition & Reveal */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(5,5,5,0.86);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.page-transition.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: all .8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.on {
  opacity: 1;
  transform: none;
}

/* LOGO LIGHTBOX */
.logo-click { cursor: pointer; }
.logo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 40000;
  display: none;
  place-items: center;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(12px);
}
.logo-lightbox.open {
  display: grid;
}
.logo-lightbox img {
  max-width: min(92vw, 860px);
  max-height: min(82vh, 760px);
  width: auto;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: #0a0a0a;
  padding: 18px;
}
.logo-lightbox .lb-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.logo-lightbox .lb-close:hover {
  background: rgba(255,255,255,.14);
}

/* MOBILE MENU */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 10002;
  background: transparent;
  border: none;
  padding: 8px;
  margin-right: -8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(20px);
  z-index: 20005;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.7,0,0.3,1);
  border-left: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  padding: 80px 24px 40px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu a {
  font-size: 1.3rem;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 20px;
  font-weight: 600;
  transition: 0.3s;
  display: block;
}
.mobile-lang {
  margin-top: auto;
  display: flex;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}
.mobile-lang button {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #888;
  padding: 12px 0;
  flex: 1;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.2s;
  font-size: 0.9rem;
}
.mobile-lang button.active {
  background: rgba(255,255,255,.90);
  color: #000;
  border-color: rgba(255,255,255,.90);
}
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 20000;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  backdrop-filter: blur(4px);
}
.menu-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.fab-whatsapp {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-desktop-container { display: none; }
  .hamburger { display: flex !important; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .rocket-track-container { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
  .hero-actions { max-width: 100%; }
  .contact-wrap { grid-template-columns: 1fr; gap: 30px; }
  .marquee-strip { padding: 20px 0; }
  .marquee-strip .marquee-item { font-size: 18px; padding: 0 20px; gap: 20px; }
  .intro3d-title { font-size: clamp(36px, 10vw, 80px); }
  .intro3d-skip { bottom: 24px; right: 16px; padding: 8px 18px; font-size: 12px; }
}

/* ==========================================================================
   13. 3D INTRO (AWWWARDS LEVEL)
   ========================================================================== */
#intro3D {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(ellipse 120% 90% at 50% -10%, #0c1628 0%, #060810 40%, #000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  pointer-events: auto;
}
#intro3D.done {
  animation: introFadeOut 1s cubic-bezier(0.76, 0, 0.24, 1) forwards;
  pointer-events: none;
}
@keyframes introFadeOut {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.04); visibility: hidden; }
}

/* Canvas WebGL fica atrás */
#intro3D #introWebGL {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none; opacity: 0.45;
}

.intro3d-scene {
  perspective: 1400px;
  perspective-origin: 50% 50%;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

/* Linhas radiais */
.intro3d-lines {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.intro3d-line {
  position: absolute;
  width: 1px; height: 0;
  background: linear-gradient(to bottom, transparent, rgba(215,180,106,0.12), transparent);
  transform-origin: center center;
  animation: introLineGrow 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes introLineGrow {
  0%   { height: 0; opacity: 0; }
  40%  { opacity: 0.8; }
  100% { height: 130vh; opacity: 0.22; }
}

/* Orb central luminoso */
.intro3d-lines::before {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,58,143,0.28) 0%, rgba(215,180,106,0.06) 40%, transparent 70%);
  filter: blur(40px);
  animation: introOrbPulse 3s ease-in-out infinite;
  z-index: 0;
}
@keyframes introOrbPulse {
  0%,100% { transform: scale(1); opacity: 0.7; }
  50%      { transform: scale(1.15); opacity: 1; }
}

/* Anel decorativo */
.intro3d-lines::after {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(215,180,106,0.12);
  animation: introRingSpin 12s linear infinite;
}
@keyframes introRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Partículas */
.intro3d-particles { position: absolute; inset: 0; overflow: hidden; z-index: 3; }
.intro3d-particles .ip {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,180,106,0.9), transparent);
  opacity: 0;
  animation: introParticle 4s ease-in-out infinite;
}
@keyframes introParticle {
  0%   { opacity: 0; transform: translateY(10px) scale(0.3); }
  20%  { opacity: 0.7; }
  80%  { opacity: 0.2; transform: translateY(-65vh) scale(1.1); }
  100% { opacity: 0; transform: translateY(-90vh) scale(1.4); }
}

/* Texto principal */
.intro3d-text-wrap {
  position: relative;
  z-index: 10;
  transform-style: preserve-3d;
  text-align: center;
  animation: introZoomSequence 4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes introZoomSequence {
  0% {
    transform: translateZ(-1000px) rotateX(18deg);
    opacity: 0; filter: blur(24px);
  }
  20% {
    transform: translateZ(-300px) rotateX(6deg);
    opacity: 1; filter: blur(2px);
  }
  50% {
    transform: translateZ(0px) rotateX(0deg);
    opacity: 1; filter: blur(0px);
  }
  100% {
    transform: translateZ(2400px) rotateX(-4deg);
    opacity: 0; filter: blur(28px);
  }
}

/* Diamante ornamental acima do título */
.intro3d-text-wrap::before {
  content: '◆';
  display: block;
  font-size: 14px;
  color: rgba(215,180,106,0.55);
  letter-spacing: .5em;
  margin-bottom: 22px;
  animation: introDiamondFade 1s ease .2s both;
}
@keyframes introDiamondFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.intro3d-title {
  font-family: 'Cinzel Decorative', 'Cinzel', Georgia, serif !important;
  font-size: clamp(44px, 11vw, 148px) !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  color: transparent;
  background: linear-gradient(160deg,
    #ffffff 0%,
    #f5e9b8 18%,
    #d7b46a 38%,
    #c9a24a 52%,
    #e8cc88 66%,
    #ffffff 85%,
    #d7b46a 100%
  ) !important;
  background-size: 300% 300% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: introGoldShimmer 4s ease infinite;
  filter: drop-shadow(0 0 40px rgba(215,180,106,0.35)) drop-shadow(0 0 80px rgba(215,180,106,0.15)) !important;
  position: relative;
  white-space: nowrap;
  line-height: 1.05 !important;
}
@keyframes introGoldShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Linha decorativa sob o título */
.intro3d-title::after {
  content: '';
  display: block;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215,180,106,0.5), transparent);
  margin: 14px auto 0;
}

.intro3d-subtitle {
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: clamp(10px, 1.4vw, 15px) !important;
  font-weight: 500 !important;
  letter-spacing: 0.6em !important;
  text-transform: uppercase;
  color: rgba(215,180,106,0.55) !important;
  -webkit-text-fill-color: rgba(215,180,106,0.55) !important;
  text-align: center;
  margin-top: 20px;
  opacity: 0;
  animation: introSubReveal 1.2s ease 0.6s forwards;
}
@keyframes introSubReveal {
  from { opacity: 0; transform: translateY(12px) letterSpacing; letter-spacing: 0.3em; }
  to   { opacity: 1; transform: translateY(0); letter-spacing: 0.6em; }
}

/* Flash final */
.intro3d-flash {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(215,180,106,0.28), transparent 65%);
  opacity: 0; z-index: 20;
  animation: introFlash 4s ease forwards;
  pointer-events: none;
}
@keyframes introFlash {
  0%, 52%  { opacity: 0; }
  72%      { opacity: 1; }
  100%     { opacity: 0; }
}

/* Skip button */
.intro3d-skip {
  position: absolute;
  bottom: 40px; right: 32px;
  z-index: 30;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(215,180,106,0.25);
  color: rgba(215,180,106,0.65);
  padding: 10px 26px;
  border-radius: 2px;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.3s;
  backdrop-filter: blur(12px);
}
.intro3d-skip:hover {
  background: rgba(215,180,106,0.1);
  border-color: rgba(215,180,106,0.55);
  color: rgba(215,180,106,0.95);
  box-shadow: 0 0 20px rgba(215,180,106,0.12);
}

/* ==========================================================================
   15. GRAIN OVERLAY
   ========================================================================== */
.grain-overlay{display:none !important;}
@keyframes grainAnim {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  30% { transform: translate(3%, -15%); }
  50% { transform: translate(12%, 9%); }
  70% { transform: translate(9%, 4%); }
  90% { transform: translate(-1%, 7%); }
}

/* ==========================================================================
   16. MARQUEE STRIP
   ========================================================================== */
.marquee-strip {
  padding: 30px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
  position: relative;
  z-index: 10;
}
.marquee-track-anim {
  display: flex;
  animation: marqueeRun 30s linear infinite;
  width: max-content;
}
.marquee-track-anim:hover { animation-play-state: paused; }
.marquee-item {
  flex-shrink: 0;
  padding: 0 32px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 2.5vw, 30px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  gap: 32px;
  transition: color 0.3s;
}
.marquee-item:hover { color: rgba(215,180,106,0.4); }
.marquee-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(215,180,106,0.3);
}
@keyframes marqueeRun {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   17. ENHANCED HOVER EFFECTS
   ========================================================================== */
.port-card, .deliver-card, .step-card, .c-item {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, filter 0.3s, box-shadow 0.3s;
}
.deliver-card:hover {
  box-shadow: 0 10px 40px rgba(215,180,106,0.06), 0 0 0 1px rgba(215,180,106,0.15);
}
.port-card:hover {
  box-shadow: 0 10px 40px rgba(215,180,106,0.08);
}


/* Typography upgrade */
h1, h2, .display {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}


/* Intro WebGL layer */
#introWebGL{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  z-index:1;
  opacity:0.95;
}
.intro3d-stage{ position:relative; z-index:3; }
.intro3d-overlay{ z-index:2; }
.intro3d-skip{ z-index:5; }

/* Scroll glyph (replaces rocket) */
.glyph-track{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
  opacity:0.9;
}
.scroll-glyph{
  position:absolute;
  width:48px;
  height:48px;
  transform: translate(-50%,-50%);
  border-radius: 16px;
  background: radial-gradient(circle at 30% 30%, rgba(215,180,106,.95), rgba(74,140,255,.15) 55%, rgba(255,255,255,0) 70%);
  box-shadow: 0 0 24px rgba(215,180,106,.45), 0 0 60px rgba(74,140,255,.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12);
}
.scroll-glyph::before{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius: 18px;
  background: radial-gradient(circle, rgba(215,180,106,.25), rgba(74,140,255,.0) 70%);
  filter: blur(8px);
  opacity:0.9;
}
.scroll-glyph svg{ width:100%; height:100%; }


/* Brand + Intro display font */
.brand-name, .brand-sub, .intro3d-title, .intro3d-word{
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brand-sub{ letter-spacing: 0.28em; }

/* Glyph track container (replaces rocket in 'Como funciona') */
.glyph-track-container{
  position:absolute;
  top:0; left:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:0;
  opacity:0.95;
}
.glyph-track-container .rocket-path{ position:absolute; inset:0; width:100%; height:100%; }
#scrollGlyph.scroll-glyph{
  position:absolute;
  width:52px;
  height:52px;
  transform: translate(-50%,-50%);
  border-radius: 18px;
  display:grid;
  place-items:center;
  background: radial-gradient(circle at 35% 30%, rgba(215,180,106,.92), rgba(74,140,255,.18) 55%, rgba(255,255,255,0) 70%);
  box-shadow: 0 0 26px rgba(215,180,106,.42), 0 0 70px rgba(74,140,255,.16);
  will-change: transform;
}
#scrollGlyph.scroll-glyph::after{
  content:"";
  position:absolute; inset:-18px;
  border-radius: 28px;
  background: radial-gradient(circle, rgba(215,180,106,0.26), rgba(74,140,255,0) 60%);
  filter: blur(8px);
  opacity: 0.85;
}
#scrollGlyph.scroll-glyph svg{ position:relative; z-index:1; }

#intro3D #introWebGL{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  opacity:0.9;
}
#intro3D .intro3d-scene{ position:relative; z-index:2; }
#intro3D .intro3d-skip{ position:absolute; z-index:5; }

.intro3d-text{ font-family: var(--font-display); letter-spacing: .28em; text-transform: uppercase; }

/* SplitType helpers */
.split-line{ overflow:hidden; display:block; }
.split-word{ display:inline-block; will-change: transform; }

/* Glyph badge content (replaces rocket icon) */
#scrollGlyph .glyph-badge{
  position:relative;
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  z-index:1;
  transform: translateZ(0);
}
#scrollGlyph .glyph-letter{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.92);
  font-size: 18px;
  text-transform: uppercase;
  text-shadow:
    0 1px 0 rgba(0,0,0,.35),
    0 10px 30px rgba(0,0,0,.35),
    0 0 18px rgba(215,180,106,.55);
  transform: translateY(-1px);
}
#scrollGlyph .glyph-tail{
  position:absolute;
  left:50%;
  top:50%;
  width:140px;
  height:10px;
  transform: translate(-10px,-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(215,180,106,.0), rgba(215,180,106,.45), rgba(74,140,255,.0));
  filter: blur(6px);
  opacity: .75;
}

/* --- INTRO 3D: ensure skip is clickable above WebGL canvas --- */
#introWebGL { pointer-events: none; }
#intro3DControls { position: fixed; right: 22px; bottom: 20px; z-index: 15; }
#skipIntro3D { pointer-events: auto; }

/* 3D bevel text */
.intro3d-title, .intro3d-subtitle { position: relative; }
.intro3d-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  transform: translateZ(26px);
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.00));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: blur(0.2px);
  opacity: 0.9;
  pointer-events: none;
  mix-blend-mode: screen;
}
.intro3d-title {
  text-shadow:
    0 1px 0 rgba(0,0,0,0.55),
    0 2px 0 rgba(0,0,0,0.50),
    0 3px 0 rgba(0,0,0,0.45),
    0 4px 0 rgba(0,0,0,0.40),
    0 5px 0 rgba(0,0,0,0.35),
    0 10px 22px rgba(0,0,0,0.45),
    0 0 28px rgba(215, 189, 129, 0.22);
}
.intro3d-subtitle {
  text-shadow:
    0 1px 0 rgba(0,0,0,0.45),
    0 7px 18px rgba(0,0,0,0.55),
    0 0 18px rgba(215, 189, 129, 0.18);
}

/* Scroll glyph as Saturn icon */
.scroll-glyph { color: var(--gold); }
.scroll-glyph .glyph-saturn { width: 34px; height: 34px; display:block; }
.scroll-glyph .glyph-saturn * { stroke-linecap: round; stroke-linejoin: round; }
.scroll-glyph .glyph-saturn { filter: drop-shadow(0 10px 18px rgba(0,0,0,0.55)) drop-shadow(0 0 12px rgba(215,189,129,0.18)); }
.scroll-glyph .intro3d-word { display: none !important; }

/* Space canvas backdrop (starfield + meteors) */
#como-funciona { position: relative; overflow: hidden; }
.space-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
#como-funciona .space-layer { position: relative; z-index: 1; }

/* Remove legacy dotted layers (kept for safety if present) */
.stars-container, .shooting-star, .shooting-star-2 { display: none !important; }

/* Hero headline: subtle 3D depth (still premium, not cartoon) */
.hero-title{
  text-shadow:
    0 1px 0 rgba(0,0,0,0.65),
    0 2px 0 rgba(0,0,0,0.55),
    0 10px 28px rgba(0,0,0,0.55),
    0 0 34px rgba(215, 189, 129, 0.12);
}



/* --- Brand polish (V7) --- */
.brand-logo { height: 44px; width: auto; display:block; }
@media (max-width: 520px){
  .brand-logo{ height: 38px; }
}
/* Remove any old CRT/grain overlays */
.crt{ display:none !important; }


/* Scroll progress (subtle, pro) */
.scroll-progress{position:fixed;top:0;left:0;right:0;height:2px;z-index:9999;background:rgba(255,255,255,0.06);}
.scroll-progress__bar{display:block;height:100%;width:100%;transform-origin:left;transform:scaleX(0);background:linear-gradient(90deg, rgba(215,189,129,0.0), rgba(215,189,129,0.95));}
@media (prefers-reduced-motion: reduce){.scroll-progress{display:none;}}

/* V6: Hero fullwidth — no black borders */
.hero-fullwidth {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.hero-fullwidth > .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* V6: All sections full-width like Como Funciona */
.section-transform,
.section-entregas,
.section-contact {
  width: 100%;
  padding: 100px 0;
}
.section-transform {
  background: radial-gradient(ellipse at center, #0a0e1a 0%, #050505 100%);
}
.section-entregas {
  background: radial-gradient(ellipse at 30% 50%, #0B0F1A 0%, #050508 100%);
}
.section-contact {
  background: radial-gradient(ellipse at 70% 40%, #0B0F1A 0%, #050508 100%);
}

/* V6: Intro lighter background */
#intro3D {
  background: linear-gradient(180deg, #0a0c14 0%, #080a12 50%, #050710 100%) !important;
}

/* V6: Award card subtle gold border */
.port-card.award-card {
  border-color: rgba(215,180,106,0.2);
}
.port-card.award-card:hover {
  border-color: rgba(215,180,106,0.45);
  box-shadow: 0 10px 40px rgba(215,180,106,0.1);
}

/* V6: Responsive hero buttons */
@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}


/* ===== PATCH V2: NAV COMPACTA + FOOTER MAIS RESPIRADO ===== */
.nav {
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}
.brand-logo {
  width: 164px;
  height: 40px;
}
.nav-desktop-container .btn.primary {
  padding: 10px 16px;
  font-size: 13px;
}
.footer-col {
  min-width: 0;
}
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
}
