/* Irrigamatic - Custom Design System Theme (Inspired by Playverse Aura) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --font-brand: 'Mona Sans', 'Space Grotesk', sans-serif;
  --font-body: 'WF Visual Sans', 'Plus Jakarta Sans', sans-serif;
  --color-brand-primary: #1b5e20;
  --color-brand-accent: #2e7d32;
  --color-brand-light: #4caf50;
  --color-brand-glow: #81c784;
  --color-dark: #0d0c22;
  --color-muted: #6e6d7a;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: #ffffff;
  overflow-x: hidden;
}

.font-brand {
  font-family: var(--font-brand);
}

/* Custom Scrollbar */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Glassmorphism effects */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-card-dark {
  background: rgba(13, 12, 34, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Tactile 3D Playverse-style Dual Button */
.btn-tactile-green {
  background-color: #ebeef3;
  border-radius: 9999px;
  padding: 6px;
  position: relative;
  box-shadow: inset 4px 6px 12px rgba(170, 180, 195, 0.4), inset -4px -6px 12px rgba(255, 255, 255, 1);
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-tactile-green:hover {
  transform: translateY(-1px);
}
.btn-tactile-green:active {
  transform: scale(0.98);
}

.btn-tactile-inner-green {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #388e3c 100%);
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  position: relative;
  box-shadow: inset 2px 4px 8px rgba(0, 0, 0, 0.25), inset -2px -4px 8px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  padding: 12px 64px 12px 24px;
}

.btn-tactile-knob {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  width: 44px;
  border-radius: 9999px;
  background: #ffffff;
  box-shadow: 0 6px 12px rgba(170, 180, 195, 0.4), inset 0 2px 4px rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}
.btn-tactile-green:hover .btn-tactile-knob {
  width: 48px;
}

.btn-tactile-knob-inner {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: #f6f8fb;
  box-shadow: inset 2px 2px 6px rgba(170, 180, 195, 0.5), inset -2px -2px 6px rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2e7d32;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background-color: #25d366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.6;
  z-index: -1;
  animation: pulse-ring 2s infinite ease-out;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Card hover animation */
.card-hover-lift {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(46, 125, 50, 0.15);
}

/* Ambient Aura Background Component */
.aura-bg-green {
  background: radial-gradient(ellipse at 50% -10%, rgba(46, 125, 50, 0.5) 0%, rgba(27, 94, 32, 0.3) 55%, rgba(255, 255, 255, 0) 95%);
}

/* Separator Curve */
.curve-separator {
  height: 2rem;
  border-right: 1px solid #e5e7eb;
}

/* ===================================
   ÁREAS DE ATUAÇÃO — Bento Grid
   =================================== */

/* Bento grid container */
.areas-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 14px;
}

/* Base cell */
.area-cell {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
}

/* Inner image layer */
.area-cell__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.area-cell:hover .area-cell__bg {
  transform: scale(1.08);
}

/* Dark gradient overlay */
.area-cell__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 20, 8, 0.75) 0%,
    rgba(5, 20, 8, 0.35) 45%,
    transparent 100%
  );
  transition: background 0.4s ease;
}
.area-cell:hover .area-cell__overlay {
  background: linear-gradient(
    to top,
    rgba(5, 20, 8, 0.85) 0%,
    rgba(5, 20, 8, 0.5) 55%,
    rgba(27, 94, 32, 0.15) 100%
  );
}

/* Content inside each cell */
.area-cell__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 20px 22px;
}

/* Title */
.area-cell__title {
  font-family: var(--font-brand);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  transition: transform 0.35s ease;
}
.area-cell:hover .area-cell__title {
  transform: translateY(-4px);
}

/* Detail badge that slides up on hover */
.area-cell__detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.35s ease 0.05s, margin-top 0.35s ease;
  margin-top: 0;
}
.area-cell:hover .area-cell__detail {
  max-height: 80px;
  opacity: 1;
  margin-top: 8px;
}

/* CTA chip inside cell */
.area-cell__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46, 125, 50, 0.9);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  margin-top: 10px;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.35s ease 0.1s, opacity 0.3s ease 0.1s;
  cursor: pointer;
}
.area-cell:hover .area-cell__cta {
  transform: translateY(0);
  opacity: 1;
}

/* Intro text cell (non-image) */
.area-cell--intro {
  background: #0D0C22;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 30px;
  min-height: 200px;
}

/* Stats pill strip */
.areas-stats-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.areas-stats-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(46, 125, 50, 0.18);
  border: 1px solid rgba(46, 125, 50, 0.35);
  color: #81c784;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Active / highlight ring on hover */
.area-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
  pointer-events: none;
  z-index: 3;
}
.area-cell:hover::after {
  border-color: rgba(76, 175, 80, 0.6);
}

/* ---- Grid Span Helpers ---- */
.area-cell--wide  { grid-column: span 2; }
.area-cell--tall  { grid-row: span 2; }
.area-cell--full  { grid-column: span 3; }

/* Responsive tweaks */
@media (max-width: 900px) {
  .areas-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .area-cell--full { grid-column: span 2; }
  .area-cell--wide { grid-column: span 2; }
}
@media (max-width: 580px) {
  .areas-bento-grid {
    grid-template-columns: 1fr;
  }
  .area-cell--wide,
  .area-cell--tall,
  .area-cell--full { grid-column: span 1; grid-row: span 1; }
}

/* Count-up number animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.area-stat-anim {
  animation: countUp 0.6s ease forwards;
}

/* Entrance animation for cells */
.area-cell.is-visible {
  animation: cellReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes cellReveal {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===================================
   ÁREAS DE ATUAÇÃO — Mobile Wheel
   =================================== */

.mobile-wheel-container {
  width: 100%;
  padding: 10px 0 20px 0;
}

.mobile-wheel-card {
  width: 100%;
  max-width: 350px;
  margin: 0 auto 24px auto;
  background: #0D0C22;
  border: 1.5px solid rgba(46, 125, 50, 0.4);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 32px -10px rgba(13, 12, 34, 0.5), 0 0 20px rgba(46, 125, 50, 0.15);
  transition: all 0.35s ease;
}

.mobile-wheel-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.mobile-wheel-card__body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.mobile-wheel-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46, 125, 50, 0.25);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: #81c784;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mobile-wheel-card__title {
  font-family: var(--font-brand);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.mobile-wheel-card__desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
}

.mobile-wheel-ring-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-wheel-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #2E7D32;
  box-shadow: 0 0 20px rgba(46, 125, 50, 0.3), inset 0 0 15px rgba(46, 125, 50, 0.15);
  background: transparent;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center center;
}

.mobile-wheel-top-pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid #4CAF50;
  z-index: 15;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.mobile-wheel-icon-node {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0D0C22;
  border: 2px solid #2E7D32;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  margin-left: -22px;
  margin-top: -22px;
  z-index: 5;
  -webkit-tap-highlight-color: transparent;
}

.mobile-wheel-icon-node.is-active {
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
  border-color: #4CAF50;
  box-shadow: 0 0 18px rgba(76, 175, 80, 0.7), 0 0 0 4px rgba(76, 175, 80, 0.25);
  color: #ffffff;
  transform: scale(1.25);
  z-index: 12;
}

.mobile-wheel-center-badge {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(13, 12, 34, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(46, 125, 50, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

/* Continuous Horizontal Clients Marquee */
.clients-marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 1.5rem;
  padding: 0.75rem 0;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.clients-marquee-group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  will-change: transform;
  animation: clientsMarqueeScroll 45s linear infinite;
}

.clients-marquee-container:hover .clients-marquee-group,
.clients-marquee-container:active .clients-marquee-group {
  animation-play-state: paused;
}

@keyframes clientsMarqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 1.5rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-marquee-group {
    animation-play-state: paused;
  }
}

/* ===== Stats Band (faixa verde escura com contadores) ===== */
.stats-band {
  background: linear-gradient(135deg, #0b2e10 0%, #12451a 45%, #1b5e20 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.stats-band-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 220px at 15% 0%, rgba(129, 199, 132, 0.18), transparent 70%),
    radial-gradient(520px 240px at 85% 100%, rgba(76, 175, 80, 0.16), transparent 70%);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  cursor: default;
}

.stat-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #a5d6a7;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1.25rem;
  transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.stat-item:hover .stat-icon {
  transform: translateY(-4px);
  background: rgba(129, 199, 132, 0.2);
  color: #ffffff;
}

.stat-number,
.stat-prefix {
  font-family: var(--font-brand);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
}

.stat-number {
  color: #ffffff;
  transition: transform 0.5s ease;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.stat-prefix {
  color: #81c784;
  margin-right: 0.15rem;
}

.stat-prefix-sm {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  letter-spacing: -0.01em;
  margin-right: 0.4rem;
}

.stat-item:hover .stat-number {
  transform: scale(1.05);
}

.stat-label {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(200, 230, 201, 0.85);
  line-height: 1.4;
}

/* ===== FAQ Accordion ===== */
.faq-item {
  background: #ffffff;
  border: 1px solid #e8efe8;
  border-radius: 1.25rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.faq-item:hover {
  border-color: #c8e6c9;
}

.faq-item.is-open {
  border-color: #a5d6a7;
  background: linear-gradient(180deg, #f6fbf6 0%, #ffffff 100%);
  box-shadow: 0 12px 32px -12px rgba(27, 94, 32, 0.18);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.faq-number {
  flex-shrink: 0;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.85rem;
  color: #2e7d32;
  background: #e8f5e9;
  border-radius: 0.6rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.faq-item.is-open .faq-number {
  background: #1b5e20;
  color: #ffffff;
}

.faq-title {
  flex: 1;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-dark);
  line-height: 1.4;
}

.faq-toggle {
  flex-shrink: 0;
  font-size: 1.6rem;
  color: #2e7d32;
  display: flex;
  transition: transform 0.35s ease;
}

.faq-item.is-open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  padding: 0 1.5rem 1.4rem 4.75rem;
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 0.975rem;
}

@media (max-width: 640px) {
  .faq-question {
    padding: 1rem 1.1rem;
    gap: 0.75rem;
  }
  .faq-title {
    font-size: 0.95rem;
  }
  .faq-answer-inner p {
    padding: 0 1.1rem 1.2rem 1.1rem;
  }
}

/* ===== Soluções Cards - Expansão Dinâmica e Profundidade ===== */
.solucao-card {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.solucao-card .solucao-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.solucao-card.is-expanded .solucao-details {
  grid-template-rows: 1fr;
}

.solucao-card.is-expanded .toggle-icon {
  transform: rotate(180deg);
}

.solucao-card.is-expanded {
  box-shadow: 0 28px 56px -12px rgba(11, 53, 27, 0.32);
}

.solucao-card .solucao-toggle-btn {
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.solucao-card.is-expanded .solucao-toggle-btn {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 14px rgba(11, 53, 27, 0.15);
}

/* ========================================================
   SEÇÃO DE SOLUÇÕES: QUADRADO INTERATIVO (DIREITA) + PAINEL (ESQUERDA)
   ======================================================== */

#solucoes {
  background: radial-gradient(circle at 25% 50%, rgba(240, 253, 244, 0.85) 0%, #ffffff 70%);
}

#solucoes-moon-arc {
  position: relative;
  isolation: isolate;
}

/* SVG Square Track Paths */
.arc-track-bg {
  stroke: #CBD5E1;
  transition: stroke 0.3s ease;
}

.arc-track-active,
.arc-track-glow {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  will-change: stroke-dashoffset;
}

.arc-track-active.is-animated,
.arc-track-glow.is-animated {
  transition: stroke-dashoffset 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 4 Pontas do Quadrado */
.moon-node-wrapper {
  position: absolute;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  width: 54px;
  height: 54px;
}

.moon-node-wrapper.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Botão do Nó em cada Ponta */
.moon-node-btn {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0B351B 0%, #154524 100%);
  border: 3px solid #ffffff;
  box-shadow: 0 8px 20px -4px rgba(11, 53, 27, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  outline: none;
  cursor: pointer;
}

.moon-node-wrapper:hover .moon-node-btn {
  transform: scale(1.1);
  border-color: #A7F3D0;
  box-shadow: 0 12px 24px -4px rgba(16, 185, 129, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

/* Pulso ao redor da ponta */
.moon-node-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 20px;
  border: 2px solid rgba(16, 185, 129, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.moon-node-wrapper.is-active .moon-node-pulse,
.moon-node-wrapper:hover .moon-node-pulse {
  animation: moonPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes moonPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
    border-color: rgba(16, 185, 129, 0.8);
  }
  70% {
    transform: scale(1.45);
    opacity: 0;
    border-color: rgba(52, 211, 153, 0);
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.moon-node-badge {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.moon-node-icon {
  font-size: 1.45rem;
  color: #34D399;
  transition: transform 0.3s ease, color 0.3s ease;
}

.moon-node-wrapper:hover .moon-node-icon {
  transform: scale(1.08);
  color: #ffffff;
}

.moon-node-num {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #10B981;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 9999px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  letter-spacing: -0.02em;
}

/* Estado Ativo da Ponta */
.moon-node-wrapper.is-active .moon-node-btn {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border-color: #ffffff;
  transform: scale(1.14);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.3), 0 14px 28px -4px rgba(5, 150, 105, 0.45);
}

.moon-node-wrapper.is-active .moon-node-icon {
  color: #ffffff;
}

.moon-node-wrapper.is-active .moon-node-num {
  background: #0B351B;
  color: #34D399;
}

/* Rótulo de cada ponta (posicionado acima ou abaixo sem deslocar o vértice) */
.moon-node-info {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: auto;
  width: 155px;
  transition: transform 0.3s ease;
}

.moon-node-info-bottom {
  top: calc(100% + 10px);
}

.moon-node-info-top {
  bottom: calc(100% + 10px);
}

.moon-node-tag {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #059669;
  background: rgba(209, 250, 229, 0.85);
  padding: 1.5px 7px;
  border-radius: 9999px;
  margin-bottom: 3px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  transition: all 0.3s ease;
}

.moon-node-wrapper.is-active .moon-node-tag {
  background: #10B981;
  color: #ffffff;
}

.moon-node-title {
  font-family: var(--font-brand);
  font-size: 0.84rem;
  font-weight: 700;
  color: #0D0C22;
  line-height: 1.2;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.moon-node-wrapper.is-active .moon-node-title,
.moon-node-wrapper:hover .moon-node-title {
  color: #1B5E20;
}

/* Botão "Ver mais" de cada ponta */
.moon-node-see-more {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1B5E20;
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.25s ease;
}

.moon-node-see-more-icon {
  font-size: 0.78rem;
  transition: transform 0.25s ease;
  color: #10B981;
}

.moon-node-wrapper:hover .moon-node-see-more,
.moon-node-wrapper.is-active .moon-node-see-more {
  background: #1B5E20;
  color: #ffffff;
  border-color: #1B5E20;
  box-shadow: 0 4px 10px rgba(27, 94, 32, 0.2);
}

.moon-node-wrapper:hover .moon-node-see-more-icon,
.moon-node-wrapper.is-active .moon-node-see-more-icon {
  color: #34D399;
}

/* Mobile Pills Bar */
.mobile-moon-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: #F1F5F9;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid #E2E8F0;
  transition: all 0.25s ease;
  cursor: pointer;
}

.mobile-moon-pill.active {
  background: #1B5E20;
  color: #ffffff;
  border-color: #1B5E20;
  box-shadow: 0 4px 12px rgba(27, 94, 32, 0.25);
}

/* Showcase Cards Deck (Quadro de Explicação compacto ao lado esquerdo) */
.solucoes-cards-deck {
  position: relative;
}

.solucoes-detail-card {
  display: none;
  background: linear-gradient(145deg, #ffffff 0%, #F8FAF8 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.22);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 16px 36px -12px rgba(11, 53, 27, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .solucoes-detail-card {
    padding: 1.75rem 2rem;
  }
}

.solucoes-detail-card.is-active {
  display: block;
  animation: cardFadeSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFadeSlide {
  0% {
    opacity: 0;
    transform: translateX(-10px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* ========================================================
   FLUXO DE SERVIÇOS (PÁGINA SERVICOS.HTML - 3 ETAPAS COMPACTO)
   ======================================================== */
.moon-node-wrapper.servicos-flow-step {
  position: relative;
  transform: translateY(6px);
  opacity: 0;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 2px 8px -2px rgba(13, 12, 34, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.moon-node-wrapper.servicos-flow-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.moon-node-wrapper.servicos-flow-step:hover {
  border-color: #A7F3D0;
  background: #F8FAF8;
  transform: translateX(2px);
}

.moon-node-wrapper.servicos-flow-step.is-active {
  background: linear-gradient(135deg, #F0FDF4 0%, #ffffff 100%);
  border-color: #10B981;
  box-shadow: 0 8px 18px -6px rgba(16, 185, 129, 0.2), 0 0 0 2px rgba(16, 185, 129, 0.12);
}

.moon-node-wrapper.servicos-flow-step .moon-node-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex-shrink: 0;
  border-width: 2px;
}

.moon-node-wrapper.servicos-flow-step .moon-node-icon {
  font-size: 1.15rem;
}

.moon-node-wrapper.servicos-flow-step.is-active .moon-node-btn {
  transform: scale(1.04);
}

.solucoes-detail-card.servicos-compact-card {
  padding: 1.15rem 1.35rem;
  border-radius: 20px;
}




