/* ==============================================================================
   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%);
}

/* --- 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;
  }
}
