/* ==============================================================================
   EDGEWEB / EDGE 3D — NEW PLAYFUL & 3D DESIGN SYSTEM
   Modern, fun, human-centered, dark-neon aesthetics with high visual polish
   ============================================================================== */

:root {
  --neon-purple: #8b5cf6;
  --neon-purple-glow: rgba(139, 92, 246, 0.35);
  --neon-cyan: #06b6d4;
  --neon-cyan-glow: rgba(6, 182, 212, 0.35);
  --neon-orange: #ff5500;
  --neon-orange-glow: rgba(255, 85, 0, 0.35);
  --neon-magenta: #ec4899;
  
  --bg-deep-space: #05070f;
  --bg-card-glass: rgba(13, 17, 26, 0.85);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glass-hover: rgba(139, 92, 246, 0.5);

  --gradient-neon: linear-gradient(135deg, #a855f7 0%, #38bdf8 50%, #ff5500 100%);
  --gradient-btn: linear-gradient(135deg, #9333ea 0%, #ec4899 50%, #ff5500 100%);
  --gradient-btn-hover: linear-gradient(135deg, #a855f7 0%, #f43f5e 50%, #ff6a1a 100%);
}

/* ==============================================================================
   FLOATING NAVBAR (ZERO-CLASH MOBILE & DESKTOP ARCHITECTURE)
   ============================================================================== */
.header-wrapper {
  position: fixed;
  top: 1rem;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  pointer-events: none;
}

.floating-navbar {
  pointer-events: auto;
  width: 100%;
  max-width: 1100px;
  background: rgba(10, 12, 16, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(139, 92, 246, 0.1);
  position: relative;
}

.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.6));
}

.nav-brand-text {
  font-size: 1.05rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.nav-brand-badge-3d {
  font-size: 0.68rem;
  color: #a855f7;
  font-weight: 800;
  border: 1px solid rgba(168, 85, 247, 0.4);
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
  margin-left: 0.35rem;
  background: rgba(168, 85, 247, 0.12);
}

.nav-links-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link-item {
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.nav-link-item:hover, .nav-link-item.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-mobile-drawer-item {
  display: none;
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav-cta-desktop {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 9999px;
  background: var(--gradient-btn);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
  transition: transform 0.2s ease;
  white-space: nowrap;
}

.nav-cta-desktop:hover {
  transform: translateY(-1px);
}

.nav-mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  outline: none;
  flex-shrink: 0;
}

.nav-mobile-toggle span.hamburger-line {
  display: block;
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.nav-whatsapp-mobile-icon {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
  flex-shrink: 0;
}

/* Mobile Breakpoint (< 860px) */
@media (max-width: 860px) {
  .header-wrapper {
    top: 0.6rem;
    padding: 0 0.65rem;
  }
  
  .floating-navbar {
    padding: 0.45rem 0.75rem;
    border-radius: 16px;
  }

  .nav-cta-desktop {
    display: none !important;
  }

  .nav-whatsapp-mobile-icon {
    display: inline-flex !important;
  }

  .nav-mobile-toggle {
    display: inline-flex !important;
  }

  .nav-brand-text {
    font-size: 0.95rem;
  }

  .floating-navbar .nav-links-list {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: rgba(10, 12, 16, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.95);
    display: none;
    z-index: 1001;
  }

  .floating-navbar .nav-links-list.nav-open {
    display: flex !important;
  }

  .floating-navbar .nav-link-item {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    text-align: left;
    display: block;
  }

  .nav-mobile-drawer-item {
    display: block !important;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-mobile-drawer-cta {
    display: flex !important;
    width: 100%;
    justify-content: center;
    padding: 0.85rem;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 12px;
    background: var(--gradient-btn);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.35);
  }
}

/* --- Gradient & Glow Utilities --- */
.gradient-text {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #c084fc, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #38bdf8, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-orange {
  background: linear-gradient(135deg, #fb923c, #ff5500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Hero Section Refined --- */
.hero-playful-section {
  position: relative;
  padding: 7.5rem 1.25rem 4.5rem;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 75% 25%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(255, 85, 0, 0.08) 0%, transparent 45%),
              #05070f;
}

.hero-playful-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.hero-pill-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c084fc;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
}

.hero-main-title {
  font-size: clamp(2.5rem, 4.8vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-friendly-desc {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-friendly-desc strong {
  color: #f1f5f9;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-vibrant-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gradient-btn);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(236, 72, 153, 0.4), 0 0 15px rgba(255, 85, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
}

.btn-vibrant-pill:hover {
  background: var(--gradient-btn-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 30px -5px rgba(236, 72, 153, 0.55), 0 0 25px rgba(255, 85, 0, 0.4);
}

.btn-subtle-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-subtle-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
}

.hero-perks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-perk-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 600;
}

.hero-perk-item svg, .hero-perk-item span.emoji {
  color: #38bdf8;
  flex-shrink: 0;
}

/* --- Hero Showcase Visual (Right Column) --- */
.hero-visual-card {
  position: relative;
  border-radius: 28px;
  padding: 6px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.4), rgba(255, 85, 0, 0.2), rgba(6, 182, 212, 0.3));
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 0 0 40px rgba(139, 92, 246, 0.2);
  transition: transform 0.4s ease;
}

.hero-visual-inner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #000000;
}

.hero-visual-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 24px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-card:hover .hero-visual-img {
  transform: scale(1.025);
}

/* Floating Fun Sticker */
.floating-sticker-3d {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(13, 17, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(139, 92, 246, 0.4);
  padding: 0.6rem 1.1rem;
  border-radius: 9999px;
  color: #ffffff;
  font-family: var(--font-display, sans-serif);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  animation: floatingSticker 4s ease-in-out infinite;
  z-index: 5;
  pointer-events: none;
}

@keyframes floatingSticker {
  0%, 100% {
    transform: translateY(0px) rotate(-2deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

/* --- Section: "O que podemos criar?" (4 Pilares) --- */
.section-services-playful {
  padding: 5rem 1.25rem;
  background: #06080e;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-pill-tag {
  display: inline-block;
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.section-title-heading {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-subtitle-text {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.6;
}

.services-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-bento-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-decoration: none;
  color: inherit;
}

.service-bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s ease;
}

.service-bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(139, 92, 246, 0.15);
}

.service-bento-card.card-purple:hover::before { background: var(--neon-purple); }
.service-bento-card.card-cyan:hover::before { background: var(--neon-cyan); }
.service-bento-card.card-orange:hover::before { background: var(--neon-orange); }
.service-bento-card.card-pink:hover::before { background: var(--neon-magenta); }

.service-card-media {
  position: relative;
  height: 190px;
  background: #020305;
  overflow: hidden;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-bento-card:hover .service-card-media img {
  transform: scale(1.06);
}

.service-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #ffffff;
}

.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-card-link-text {
  font-size: 0.825rem;
  font-weight: 700;
  color: #c084fc;
  transition: color 0.2s ease;
}

.service-bento-card:hover .service-card-link-text {
  color: #ffffff;
}

.service-arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.3s ease;
}

.service-bento-card:hover .service-arrow-circle {
  background: var(--gradient-btn);
  border-color: transparent;
  transform: translateX(3px);
}

/* --- Section: "Como funciona?" (5 Passos Intuitivos) --- */
.section-workflow-playful {
  padding: 5rem 1.25rem;
  background: #05070f;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.workflow-steps-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.workflow-step-card {
  background: rgba(13, 17, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.3s ease;
  position: relative;
}

.workflow-step-card:hover {
  background: rgba(20, 26, 38, 0.9);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-4px);
}

.workflow-step-bubble {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.bubble-step-1 { background: linear-gradient(135deg, #a855f7, #6366f1); }
.bubble-step-2 { background: linear-gradient(135deg, #38bdf8, #0ea5e9); }
.bubble-step-3 { background: linear-gradient(135deg, #2dd4bf, #06b6d4); }
.bubble-step-4 { background: linear-gradient(135deg, #f59e0b, #ff5500); }
.bubble-step-5 { background: linear-gradient(135deg, #10b981, #059669); }

.workflow-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.workflow-step-desc {
  font-size: 0.825rem;
  line-height: 1.55;
  color: #94a3b8;
}

/* --- Section: "Nossas Criações" (Showcase de Projetos Reais) --- */
.section-showcase-playful {
  padding: 5rem 1.25rem;
  background: #06080e;
}

.showcase-grid-playful {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

.showcase-item-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.showcase-item-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(6, 182, 212, 0.15);
}

.showcase-item-preview {
  height: 220px;
  position: relative;
  background: #000000;
  overflow: hidden;
}

.showcase-item-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.showcase-item-card:hover .showcase-item-preview img {
  transform: scale(1.05);
}

.showcase-item-tag {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background: rgba(10, 12, 16, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  font-family: var(--font-mono, monospace);
}

.showcase-item-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.showcase-item-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.showcase-item-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.showcase-item-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff5500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.showcase-item-link:hover {
  color: #ff7b2b;
}

/* --- Section: "Calcule seu Projeto & Orçamento" (O Simulador Divertido) --- */
.section-calculator-playful {
  padding: 5.5rem 1.25rem;
  background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 75% 50%, rgba(255, 85, 0, 0.08) 0%, transparent 50%),
              #05070f;
  position: relative;
}

.calculator-wrapper-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1160px;
  margin: 0 auto;
}

/* Card 1: Simulador com Mascote Gato 3D */
.calc-interactive-card {
  background: rgba(13, 17, 26, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(139, 92, 246, 0.15);
  border-radius: 24px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.calc-header-flex {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.calc-mascot-img-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
  flex-shrink: 0;
  animation: floatingSticker 5s ease-in-out infinite;
}

.calc-mascot-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.calc-header-titles h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.calc-header-titles p {
  font-size: 0.85rem;
  color: #94a3b8;
}

.calc-form-group {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.calc-field-row label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  display: block;
}

.calc-select-custom {
  width: 100%;
  background: rgba(20, 26, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.calc-select-custom:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}

.calc-price-display-box {
  background: rgba(20, 26, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.calc-price-label {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 600;
}

.calc-price-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: #38bdf8;
  letter-spacing: -0.02em;
}

.calc-price-subtext {
  font-size: 0.72rem;
  color: #64748b;
  text-align: right;
}

/* Card 2: Formulário Direto de Orçamento */
.quote-request-card {
  background: rgba(13, 17, 26, 0.9);
  border: 1px solid rgba(255, 85, 0, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 85, 0, 0.12);
  border-radius: 24px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.quote-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.quote-header p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1.75rem;
}

.quote-input-custom {
  width: 100%;
  background: rgba(20, 26, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.quote-input-custom:focus {
  border-color: #ff5500;
  box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.25);
}

.quote-upload-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  background: rgba(10, 12, 16, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 1.5rem;
}

.quote-upload-dropzone:hover {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.05);
}

.quote-upload-dropzone span {
  font-size: 0.825rem;
  color: #94a3b8;
  display: block;
}

.quote-upload-dropzone strong {
  color: #c084fc;
}

/* --- Footer Playful Touch --- */
.footer-playful-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display, sans-serif);
  font-weight: 900;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

/* --- Media Queries Responsive --- */
@media (max-width: 1024px) {
  .hero-playful-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .services-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-steps-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-grid-playful {
    grid-template-columns: repeat(2, 1fr);
  }
  .calculator-wrapper-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .services-bento-grid {
    grid-template-columns: 1fr;
  }
  .workflow-steps-wrapper {
    grid-template-columns: 1fr;
  }
  .showcase-grid-playful {
    grid-template-columns: 1fr;
  }
  .hero-playful-section {
    padding-top: 6rem;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-vibrant-pill, .btn-subtle-glass {
    justify-content: center;
  }
  .section-calculator-playful {
    padding-bottom: 6.5rem; /* Margem ergonômica de segurança para o botão flutuante */
  }
}

/* ==============================================================================
   NÚCLEO 01 (UX/UI): ELEVAÇÃO DE HIERARQUIA COGNITIVA & FRICÇÃO ZERO
   ============================================================================== */

/* 1. Micro-copy de Alívio de Tensão Cognitiva */
.hero-cta-relief-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: -1.75rem;
  margin-bottom: 2rem;
  font-weight: 600;
}
.hero-cta-relief-note svg {
  color: #10b981;
  flex-shrink: 0;
}

/* 2. Micro-tags de Entrega Tangível nos Cards de Serviços */
.service-deliverable-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}
.deliverable-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

/* 3. Reforço de Garantia no Simulador de Orçamento */
.calc-guarantee-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.85rem;
  text-align: center;
  font-weight: 500;
}
.calc-guarantee-strip .shield-icon {
  color: #10b981;
}

/* ==============================================================================
   4. SEÇÃO GALERIA 3D INTERATIVA (SHOWCASE FÍSICO & DIGITAL)
   ============================================================================== */
.section-gallery-3d {
  padding: 6rem 1.5rem;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(255, 85, 0, 0.06) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
}

.gallery-3d-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.gallery-filter-btn {
  background: rgba(14, 18, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.gallery-filter-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 85, 0, 0.4);
  transform: translateY(-2px);
}

.gallery-filter-btn.active {
  background: linear-gradient(135deg, rgba(255, 85, 0, 0.2), rgba(168, 85, 247, 0.2));
  border-color: #ff5500;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 85, 0, 0.25);
}

.gallery-3d-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  perspective: 1200px;
}

.card-3d-piece {
  background: rgba(13, 17, 26, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
}

.card-3d-piece:hover {
  border-color: rgba(255, 85, 0, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 85, 0, 0.15);
}

.card-3d-piece.hidden-card {
  display: none !important;
}

.piece-media-wrap {
  position: relative;
  height: 240px;
  background: #080a10;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.piece-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-3d-piece:hover .piece-img {
  transform: scale(1.08);
}

.piece-badge-tech {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.piece-badge-tech.resina {
  background: rgba(139, 92, 246, 0.25);
  border: 1px solid rgba(168, 85, 247, 0.5);
  color: #e9d5ff;
}

.piece-badge-tech.filamento {
  background: rgba(255, 85, 0, 0.25);
  border: 1px solid rgba(255, 85, 0, 0.5);
  color: #ffedd5;
}

.piece-badge-tech.engenharia {
  background: rgba(6, 182, 212, 0.25);
  border: 1px solid rgba(6, 182, 212, 0.5);
  color: #cffafe;
}

.piece-floating-sticker {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(10, 12, 18, 0.85);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  color: #f1f5f9;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  backdrop-filter: blur(8px);
  z-index: 2;
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.card-3d-piece:hover .piece-floating-sticker {
  transform: rotate(0deg) scale(1.05);
  border-color: #ff5500;
  color: #ffedd5;
}

.piece-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}

.piece-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.piece-spec-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.piece-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
}

.piece-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.piece-footer {
  margin-top: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-piece-wpp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #22c55e;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-piece-wpp:hover {
  background: #22c55e;
  color: #05070f;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
  transform: translateY(-2px);
}

.btn-piece-wpp i {
  font-size: 1.1rem;
}

.gallery-custom-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(255, 85, 0, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
  border: 1px solid rgba(255, 85, 0, 0.3);
  border-radius: 24px;
  padding: 2rem 2.5rem;
  margin-top: 3.5rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.gallery-custom-text {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.gallery-custom-emoji {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.gallery-custom-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.35rem 0;
}

.gallery-custom-desc {
  color: #94a3b8;
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .gallery-custom-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .gallery-custom-text {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ==============================================================================
   5. CARROSSEL 3D DE PROJETOS REAIS (DESLIZANTE & TOUCH)
   ============================================================================== */
.carousel-3d-wrapper {
  position: relative;
  width: 100%;
  margin-top: 1.5rem;
}

.carousel-3d-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.carousel-3d-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1.5rem 0.75rem 2rem 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
}

.carousel-3d-track::-webkit-scrollbar {
  display: none;
}

.carousel-card-piece {
  flex: 0 0 340px;
  max-width: 340px;
  scroll-snap-align: center;
  background: rgba(13, 17, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.carousel-card-piece:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 85, 0, 0.5);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 85, 0, 0.2);
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(10, 12, 18, 0.92);
  border: 1px solid rgba(255, 85, 0, 0.5);
  color: #ff5500;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 85, 0, 0.35);
  transition: all 0.2s ease;
}

.carousel-nav-btn:hover {
  background: #ff5500;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 30px rgba(255, 85, 0, 0.6);
}

.carousel-nav-btn.prev {
  left: -22px;
}

.carousel-nav-btn.next {
  right: -22px;
}

.carousel-3d-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all 0.25s ease;
}

.carousel-dot.active {
  width: 32px;
  border-radius: 9999px;
  background: #ff5500;
  box-shadow: 0 0 12px rgba(255, 85, 0, 0.7);
}

@media (max-width: 768px) {
  .carousel-card-piece {
    flex: 0 0 290px;
    max-width: 290px;
  }
  .carousel-nav-btn {
    display: none;
  }
}

/* ==============================================================================
   UNIVERSAL 3D SYSTEM & MARIO BROS 3D EFFECTS (SITE-WIDE)
   ============================================================================== */
.tilt-3d-enabled {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.service-bento-card,
.showcase-item-card,
.workflow-step-card,
.calc-interactive-card,
.hero-visual-card,
.card-3d-piece {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, border-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.service-bento-card:hover,
.showcase-item-card:hover,
.workflow-step-card:hover,
.calc-interactive-card:hover {
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(139, 92, 246, 0.25);
}

.service-bento-card:hover .service-card-media,
.showcase-item-card:hover .showcase-item-preview,
.workflow-step-card:hover .workflow-step-bubble,
.calc-interactive-card:hover .calc-mascot-img-wrap {
  transform: translateZ(30px);
}

.service-bento-card:hover .service-card-body,
.showcase-item-card:hover .showcase-item-body {
  transform: translateZ(15px);
}

/* 3D Push-Button Physics (Press-down feeling) */
.btn-vibrant-pill, .btn-hero-primary, .btn-piece-wpp, .btn-mario-wpp, .btn-arcade-3d {
  position: relative;
  box-shadow: 0 5px 0 #9333ea, 0 10px 25px rgba(236, 72, 153, 0.4);
  transition: all 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-vibrant-pill:hover, .btn-arcade-3d:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #9333ea, 0 14px 28px rgba(236, 72, 153, 0.55);
}

.btn-vibrant-pill:active, .btn-arcade-3d:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #9333ea, 0 4px 10px rgba(236, 72, 153, 0.3);
}

/* 3D Mario Lucky [ ? ] Block System */
.mario-lucky-block {
  width: 62px;
  height: 62px;
  position: relative;
  perspective: 600px;
  cursor: pointer;
  user-select: none;
  display: inline-block;
  -webkit-tap-highlight-color: transparent;
}

.mario-cube-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-14deg) rotateY(24deg);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: marioBlockFloat 3s ease-in-out infinite alternate;
}

@keyframes marioBlockFloat {
  0% { transform: translateY(0) rotateX(-14deg) rotateY(20deg); }
  100% { transform: translateY(-8px) rotateX(-10deg) rotateY(30deg); }
}

.mario-cube-3d.hit {
  animation: marioBlockJump 0.35s ease-out !important;
}

@keyframes marioBlockJump {
  0% { transform: translateY(0) scale(1) rotateX(-14deg) rotateY(24deg); }
  40% { transform: translateY(-30px) scale(1.18) rotateX(-18deg) rotateY(28deg); }
  100% { transform: translateY(0) scale(1) rotateX(-14deg) rotateY(24deg); }
}

.mario-face {
  position: absolute;
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #facc15 0%, #eab308 50%, #ca8a04 100%);
  border: 3px solid #fef08a;
  box-shadow: inset 0 0 8px rgba(161, 98, 7, 0.8), 0 0 15px rgba(250, 204, 21, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  color: #713f12;
  text-shadow: 0 2px 0 #fef08a, 0 2px 4px rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  box-sizing: border-box;
}

.mario-face.front  { transform: translateZ(31px); }
.mario-face.back   { transform: rotateY(180deg) translateZ(31px); }
.mario-face.right  { transform: rotateY(90deg) translateZ(31px); }
.mario-face.left   { transform: rotateY(-90deg) translateZ(31px); }
.mario-face.top    { transform: rotateX(90deg) translateZ(31px); background: #fef08a; }
.mario-face.bottom { transform: rotateX(-90deg) translateZ(31px); background: #854d0e; }

.mario-coin-float {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Fredoka', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  color: #facc15;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.8), 0 2px 3px #000;
  pointer-events: none;
  animation: coinFloatFly 0.8s ease-out forwards;
  z-index: 20;
  white-space: nowrap;
}

@keyframes coinFloatFly {
  0% { opacity: 1; transform: translate(-50%, 0) scale(0.6); }
  50% { opacity: 1; transform: translate(-50%, -50px) scale(1.2); }
  100% { opacity: 0; transform: translate(-50%, -80px) scale(0.9); }
}

/* Sound Toggle Button in Nav */
.nav-sound-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #facc15;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  margin-right: 0.35rem;
}

.nav-sound-toggle:hover {
  background: rgba(250, 204, 21, 0.2);
  border-color: #facc15;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.4);
}

.nav-sound-toggle.muted {
  color: #64748b;
  border-color: rgba(255, 255, 255, 0.08);
}

/* Super 3D World Portal Banner (com isolamento e espaçamento generoso para o cubo 3D) */
.portal-3d-world-banner {
  background: linear-gradient(135deg, rgba(255, 85, 0, 0.2) 0%, rgba(139, 92, 246, 0.2) 50%, rgba(250, 204, 21, 0.18) 100%);
  border: 2px solid rgba(255, 85, 0, 0.4);
  border-radius: 28px;
  padding: 2.25rem 2.5rem;
  margin: 3.5rem auto 1rem auto;
  max-width: 1060px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 85, 0, 0.2);
  position: relative;
  overflow: visible;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.portal-3d-world-banner:hover {
  border-color: #facc15;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(250, 204, 21, 0.3);
}

.portal-banner-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  min-width: 0;
}

.portal-block-stage {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
  position: relative;
  margin-right: 0.5rem;
}

.portal-banner-text {
  text-align: left;
  flex: 1;
  min-width: 0;
}

.portal-banner-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.portal-pill-badge {
  background: rgba(250, 204, 21, 0.2);
  color: #facc15;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(250, 204, 21, 0.4);
  display: inline-block;
}

.portal-stars {
  color: #facc15;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.portal-banner-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.portal-banner-desc {
  margin: 0.35rem 0 0 0;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.5;
}

.portal-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .portal-3d-world-banner {
    flex-direction: column;
    text-align: center;
    gap: 1.75rem;
    padding: 2rem 1.5rem;
  }
  .portal-banner-left {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .portal-banner-text {
    text-align: center;
  }
  .portal-banner-badges {
    justify-content: center;
  }
  .portal-banner-actions {
    justify-content: center;
  }
  .portal-block-stage {
    margin-right: 0;
    margin-bottom: 0.25rem;
  }
}

/* Container do Showcase Visual Hero */
.hero-right-visual {
  position: relative;
}

/* Badge Flutuante 3D Independente do Hero (Desacoplado de qualquer efeito de fundo) */
.hero-floating-lucky-badge {
  position: absolute;
  bottom: 1.25rem;
  left: -1.5rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(10, 14, 24, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid rgba(250, 204, 21, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85), 0 0 25px rgba(250, 204, 21, 0.35);
  padding: 0.6rem 1.35rem 0.6rem 0.85rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, border-color 0.2s ease;
  user-select: none;
  pointer-events: auto !important;
}

.hero-floating-lucky-badge:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: #facc15;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.95), 0 0 35px rgba(250, 204, 21, 0.55);
}

.hero-floating-lucky-badge:active {
  transform: translateY(2px) scale(0.98);
}

.hero-lucky-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hero-lucky-title {
  font-family: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #facc15;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-lucky-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
}

@media (max-width: 992px) {
  .hero-floating-lucky-badge {
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 92%;
  }
  .hero-floating-lucky-badge:hover {
    transform: translateX(-50%) translateY(-3px);
  }
}

/* Toast Notificação de Dica e Moeda Contínua */
.mario-toast-notify {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  background: rgba(13, 17, 28, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid #facc15;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 35px rgba(250, 204, 21, 0.4);
  padding: 1rem 1.4rem;
  border-radius: 20px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  z-index: 999999;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  max-width: 560px;
  width: calc(100% - 2.5rem);
  box-sizing: border-box;
}

.mario-toast-notify.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mario-toast-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 8px #facc15);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.mario-toast-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.mario-toast-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  gap: 0.5rem;
}

.mario-toast-title {
  font-family: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  color: #facc15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mario-toast-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.mario-toast-close:hover {
  background: rgba(250, 204, 21, 0.2);
  color: #facc15;
}

.mario-toast-msg {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.mario-toast-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.btn-toast-next {
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: #facc15;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-toast-next:hover {
  background: #facc15;
  color: #0f172a;
}

.btn-toast-wpp {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-toast-wpp:hover {
  background: #22c55e;
  color: #064e3b;
}

/* Ambient Canvas */
#ambient3dCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}



