/* ═══════════════════════════════════════════════════════════════
   ARANTES TECNOLOGIA — components.css
   Unificação de: star-border.css + glass-surface.css + pixel-card.css
   ═══════════════════════════════════════════════════════════════ */
/* ── STAR BORDER ─────────────────────────────── */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   STAR BORDER â€” Vanilla CSS Port
   Original: @react-bits/StarBorder
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Usage:
     <a class="star-border" href="#">Label</a>
     <button class="star-border star-border--cyan">Click</button>
     <button class="star-border star-border--pink">Click</button>
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ CSS Custom Properties â”€â”€ */
.star-border {
  --sb-color:     #7B2FFF;   /* star/glow color  */
  --sb-speed:     6s;        /* animation speed  */
  --sb-thickness: 1px;       /* border thickness */
  --sb-radius:    var(--radius-pill, 50px);
  --sb-bg:        #000;
  --sb-border:    #222;
}

/* â”€â”€ Colour Presets â”€â”€ */
.star-border--purple   { --sb-color: #7B2FFF; }
.star-border--pink     { --sb-color: #E040FB; }
.star-border--cyan     { --sb-color: #00D4FF; }
.star-border--magenta  { --sb-color: magenta;  }
.star-border--white    { --sb-color: #ffffff;  }

/* Semantic Presets */
.star-border--primary  { --sb-color: var(--purple-main); }
.star-border--secondary { --sb-color: var(--btn-gray); }
.star-border--success  { --sb-color: var(--success); }
.star-border--danger   { --sb-color: var(--danger); }
.star-border--warning  { --sb-color: var(--warning); }
.star-border--info     { --sb-color: var(--info); }

/* â”€â”€ Container â”€â”€ */
.star-border {
  display:  inline-block;
  position: relative;
  border-radius: var(--sb-radius);
  overflow: hidden;
  padding: var(--sb-thickness) 0;
  background: transparent;
  border: none;
  text-decoration: none;
  cursor: pointer;
}

/* â”€â”€ Animated gradient strips â”€â”€ */
.star-border::before,
.star-border::after {
  content: '';
  position: absolute;
  width: 300%;
  height: 50%;
  border-radius: 50%;
  opacity: 0.7;
  pointer-events: none;
  background: radial-gradient(circle, var(--sb-color), transparent 10%);
}

/* Bottom strip */
.star-border::before {
  bottom: -12px;
  right: -250%;
  animation: sb-bottom var(--sb-speed) linear infinite alternate;
  z-index: 0;
}

/* Top strip */
.star-border::after {
  top: -12px;
  left: -250%;
  animation: sb-top var(--sb-speed) linear infinite alternate;
  z-index: 0;
}

/* â”€â”€ Inner content wrapper â”€â”€ */
.star-border__inner {
  position: relative;
  border: 1px solid var(--sb-border);
  background: var(--sb-bg);
  color: #fff;
  font-family: var(--font-display, 'Manrope', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 14px 32px;
  border-radius: var(--sb-radius);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
  width: 100%;
}

/* â”€â”€ Colour accent on inner border â”€â”€ */
.star-border--pink  .star-border__inner { border-color: rgba(224, 64, 251, 0.4); }
.star-border--cyan  .star-border__inner { border-color: rgba(0, 212, 255, 0.4); }
.star-border--white .star-border__inner { border-color: rgba(255, 255, 255, 0.35); }

.star-border--primary  .star-border__inner { border-color: rgba(123, 47, 255, 0.4); }
.star-border--secondary .star-border__inner { border-color: rgba(107, 114, 128, 0.4); }
.star-border--success  .star-border__inner { border-color: rgba(16, 185, 129, 0.4); }
.star-border--danger   .star-border__inner { border-color: rgba(239, 68, 68, 0.4); }
.star-border--warning  .star-border__inner { border-color: rgba(245, 158, 11, 0.4); }
.star-border--info     .star-border__inner { border-color: rgba(14, 165, 233, 0.4); }

/* â”€â”€ Hover state â”€â”€ */
.star-border:hover .star-border__inner {
  background: rgba(123, 47, 255, 0.10);
  border-color: rgba(123, 47, 255, 0.45);
}

.star-border--pink:hover  .star-border__inner { border-color: rgba(224, 64, 251, 0.7); background: rgba(224,64,251,0.08); }
.star-border--cyan:hover  .star-border__inner { border-color: rgba(0, 212, 255, 0.7);  background: rgba(0,212,255,0.08); }
.star-border--white:hover .star-border__inner { border-color: rgba(255, 255, 255, 0.6); }

.star-border--primary:hover  .star-border__inner { border-color: rgba(123, 47, 255, 0.7); background: rgba(123, 47, 255, 0.08); }
.star-border--secondary:hover .star-border__inner { border-color: rgba(107, 114, 128, 0.7); background: rgba(107, 114, 128, 0.08); }
.star-border--success:hover  .star-border__inner { border-color: rgba(16, 185, 129, 0.7); background: rgba(16, 185, 129, 0.08); }
.star-border--danger:hover   .star-border__inner { border-color: rgba(239, 68, 68, 0.7); background: rgba(239, 68, 68, 0.08); }
.star-border--warning:hover  .star-border__inner { border-color: rgba(245, 158, 11, 0.7); background: rgba(245, 158, 11, 0.08); }
.star-border--info:hover     .star-border__inner { border-color: rgba(14, 165, 233, 0.7); background: rgba(14, 165, 233, 0.08); }
.star-border:hover::before,
.star-border:hover::after {
  opacity: 1;
}

/* â”€â”€ Keyframes â”€â”€ */
@keyframes sb-bottom {
  0%   { transform: translate(0%, 0%);    opacity: 1; }
  100% { transform: translate(-100%, 0%); opacity: 0; }
}

@keyframes sb-top {
  0%   { transform: translate(0%, 0%);   opacity: 1; }
  100% { transform: translate(100%, 0%); opacity: 0; }
}


/* ── GLASS SURFACE ───────────────────────────── */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   GLASS SURFACE â€” Vanilla CSS Port
   Original: @react-bits/GlassSurface
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Usage (works in Chrome/Edge with SVG backdrop-filter):
     <div class="glass-surface gs-btn">Content</div>

   For use as a button:
     <button class="glass-surface gs-btn">Click me</button>
     <a      class="glass-surface gs-btn" href="#">Click me</a>

   Width / height are set with CSS vars or inline styles:
     style="--gs-w:300px; --gs-h:80px; --gs-radius:20px"
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Custom Properties â”€â”€ */
.glass-surface {
  --gs-w:       auto;
  --gs-h:       auto;
  --gs-radius:  20px;
  --gs-frost:   0;        /* backgroundOpacity  */
  --gs-sat:     1;        /* saturation          */
  --gs-blur:    11;       /* blur (px)           */
  --gs-filter-id: url(#gs-filter-global);
}

/* â”€â”€ Base Structure â”€â”€ */
.glass-surface {
  position:   relative;
  display:    inline-flex;
  align-items:    center;
  justify-content: center;
  width:      var(--gs-w);
  height:     var(--gs-h);
  border-radius: var(--gs-radius);
  overflow:   hidden;
  transition: opacity 0.26s ease-out;

  /* Fallback background (always visible) */
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px) saturate(1.8) brightness(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.8) brightness(1.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 8px 32px 0 rgba(31, 38, 135, 0.2),
    0 2px 16px 0 rgba(31, 38, 135, 0.1),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.1);

  text-decoration: none;
  cursor: pointer;
}

/* â”€â”€ Content wrapper â”€â”€ */
.glass-surface__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: inherit;
  width: 100%;
  height: 100%;

  font-family: var(--font-display, 'Manrope', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  gap: 8px;
  transition: color var(--ease-normal, 0.3s ease);
}

/* â”€â”€ SVG filter element (hidden) â”€â”€ */
.glass-surface__filter {
  width: 100%;
  height: 100%;
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: -1;
  overflow: visible;
}

/* ── SVG-powered version (Chrome/Edge only) ── */
@supports (backdrop-filter: url(#test)) {
  .glass-surface {
    background: rgba(255, 255, 255, calc(var(--gs-frost, 0.08) + 0.04));
    backdrop-filter: var(--gs-filter-id) saturate(var(--gs-sat, 1.4)) brightness(1.05);
    -webkit-backdrop-filter: var(--gs-filter-id) saturate(var(--gs-sat, 1.4)) brightness(1.05);
    box-shadow:
      0 0 2px 1px rgba(255, 255, 255, 0.25) inset,
      0 0 10px 4px rgba(255, 255, 255, 0.06) inset,
      0px 4px 16px rgba(0, 0, 0, 0.3),
      0px 8px 24px rgba(0, 0, 0, 0.2),
      0px 16px 56px rgba(0, 0, 0, 0.2),
      0px 4px 16px rgba(255, 255, 255, 0.03) inset,
      0px 8px 24px rgba(255, 255, 255, 0.02) inset,
      0px 16px 56px rgba(255, 255, 255, 0.02) inset;
  }
}

/* â”€â”€ Focus â”€â”€ */
.glass-surface:focus-visible {
  outline: 2px solid #7B2FFF;
  outline-offset: 2px;
}

/* â”€â”€ Hover â”€â”€ */
.glass-surface:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 12px 40px var(--gs-glow-1, rgba(123, 47, 255, 0.25)),
    0 2px 16px var(--gs-glow-2, rgba(0, 212, 255, 0.1)),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  transition: all 0.3s ease;
}

/* â”€â”€ Dark mode fallback â”€â”€ */
@media (prefers-color-scheme: dark) {
  .glass-surface {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
      inset 0 1px 0 0 rgba(255, 255, 255, 0.15),
      inset 0 -1px 0 0 rgba(255, 255, 255, 0.07);
  }
}

/* â”€â”€ No backdrop-filter support â”€â”€ */
@supports not (backdrop-filter: blur(10px)) {
  .glass-surface {
    background: rgba(255, 255, 255, 0.32);
    box-shadow:
      inset 0 1px 0 0 rgba(255, 255, 255, 0.5),
      inset 0 -1px 0 0 rgba(255, 255, 255, 0.3);
  }

  .glass-surface::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    border-radius: inherit;
    z-index: -1;
  }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   SIZE PRESETS  (optional helpers)
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gs-btn {
  --gs-w: auto;
  --gs-h: auto;
  --gs-radius: 50px;
}

.gs-card {
  --gs-radius: var(--radius-lg, 24px);
  --gs-frost: 0.08; /* Slightly more opaque for cards */
  padding: 0; 
  display: flex !important;
  width: 100%;
}

.gs-tag {
  --gs-radius: 50px;
  --gs-frost: 0.08;
  cursor: default;
}

.gs-tag:hover {
  transform: none !important;
}

.gs-tag:hover .glass-surface__content {
  color: #ffffff !important;
}

.gs-tag .glass-surface__content {
  padding: 8px 18px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.gs-sm  { padding: 10px 24px; }
.gs-lg  { padding: 18px 44px; font-size: 0.9rem; }

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   COLOUR TINT OVERLAYS & GLOWS
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gs-purple .glass-surface__content { text-shadow: 0 0 12px rgba(123,47,255,0.6); }
.gs-cyan   .glass-surface__content { text-shadow: 0 0 12px rgba(0,212,255,0.6); }
.gs-pink   .glass-surface__content { text-shadow: 0 0 12px rgba(224,64,251,0.6); }

/* Semantic Variants */
.gs-primary { --gs-glow-1: rgba(123, 47, 255, 0.3); --gs-glow-2: rgba(224, 64, 251, 0.15); }
.gs-primary .glass-surface__content { text-shadow: 0 0 12px rgba(123,47,255,0.6); }
.gs-tag.gs-primary::before { 
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: rgba(123, 47, 255, 0.15);
}
.gs-tag.gs-primary { --gs-glow-1: rgba(123, 47, 255, 0.3); --gs-glow-2: rgba(224, 64, 251, 0.1); }
.gs-primary:hover .glass-surface__content { color: var(--purple-light, #9B59B6); }

.gs-secondary { --gs-glow-1: rgba(255, 255, 255, 0.15); --gs-glow-2: rgba(107, 114, 128, 0.1); }
.gs-secondary .glass-surface__content { text-shadow: 0 0 12px rgba(255,255,255,0.2); }
.gs-tag.gs-secondary::before { 
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: rgba(255, 255, 255, 0.08);
}
.gs-tag.gs-secondary { --gs-glow-1: rgba(255, 255, 255, 0.15); --gs-glow-2: rgba(107, 114, 128, 0.05); }
.gs-secondary:hover .glass-surface__content { color: #f3f4f6; }

.gs-success { --gs-glow-1: rgba(16, 185, 129, 0.3); --gs-glow-2: rgba(16, 185, 129, 0.15); }
.gs-success .glass-surface__content { text-shadow: 0 0 12px rgba(16,185,129,0.6); }
.gs-tag.gs-success::before { 
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: rgba(16, 185, 129, 0.15);
}
.gs-tag.gs-success { --gs-glow-1: rgba(16, 185, 129, 0.3); --gs-glow-2: rgba(16, 185, 129, 0.1); }
.gs-success:hover .glass-surface__content { color: var(--success, #10B981); }

.gs-danger { --gs-glow-1: rgba(239, 68, 68, 0.3); --gs-glow-2: rgba(239, 68, 68, 0.15); }
.gs-danger .glass-surface__content { text-shadow: 0 0 12px rgba(239,68,68,0.6); }
.gs-tag.gs-danger::before { 
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: rgba(239, 68, 68, 0.15);
}
.gs-tag.gs-danger { --gs-glow-1: rgba(239, 68, 68, 0.3); --gs-glow-2: rgba(239, 68, 68, 0.1); }
.gs-danger:hover .glass-surface__content { color: var(--danger, #EF4444); }

.gs-warning { --gs-glow-1: rgba(245, 158, 11, 0.3); --gs-glow-2: rgba(245, 158, 11, 0.15); }
.gs-warning .glass-surface__content { text-shadow: 0 0 12px rgba(245,158,11,0.6); }
.gs-tag.gs-warning::before { 
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: rgba(245, 158, 11, 0.15);
}
.gs-tag.gs-warning { --gs-glow-1: rgba(245, 158, 11, 0.3); --gs-glow-2: rgba(245, 158, 11, 0.1); }
.gs-warning:hover .glass-surface__content { color: var(--warning, #F59E0B); }

.gs-info { --gs-glow-1: rgba(14, 165, 233, 0.3); --gs-glow-2: rgba(14, 165, 233, 0.15); }
.gs-info .glass-surface__content { text-shadow: 0 0 12px rgba(14,165,233,0.6); }
.gs-tag.gs-info::before { 
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: rgba(14, 165, 233, 0.15);
}
.gs-tag.gs-info { --gs-glow-1: rgba(14, 165, 233, 0.3); --gs-glow-2: rgba(14, 165, 233, 0.1); }
.gs-info:hover .glass-surface__content { color: var(--info, #0EA5E9); }

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   GLOBAL SVG FILTER (injected once
   by glass-surface.js)
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#gs-filter-container {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
  overflow: hidden;
}


/* ── PIXEL CARD ──────────────────────────────── */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PIXEL CARD â€” Vanilla CSS Port
   Original: @react-bits/PixelCard
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Usage:
     <div class="pixel-card pixel-card--pink">
       <canvas class="pixel-canvas"></canvas>
       <div style="position: absolute; ...">Your content</div>
     </div>
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.pixel-card {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid #27272a;
  border-radius: 25px;
  isolation: isolate;
  transition: border-color 200ms cubic-bezier(0.5, 1, 0.89, 1);
  user-select: none;
  cursor: pointer;
}

.pixel-card::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  aspect-ratio: 1;
  background: radial-gradient(circle, #09090b, transparent 85%);
  opacity: 0;
  transition: opacity 800ms cubic-bezier(0.5, 1, 0.89, 1);
  pointer-events: none;
  z-index: 1;
}

.pixel-card:hover::before,
.pixel-card:focus-within::before {
  opacity: 1;
}

/* Variants â€” border glow on hover */
.pixel-card--default:hover  { border-color: #cbd5e1; box-shadow: 0 0 20px rgba(203,213,225,0.15); }
.pixel-card--blue:hover     { border-color: #0ea5e9; box-shadow: 0 0 20px rgba(14,165,233,0.2); }
.pixel-card--yellow:hover   { border-color: #eab308; box-shadow: 0 0 20px rgba(234,179,8,0.2); }
.pixel-card--pink:hover     { border-color: #e11d48; box-shadow: 0 0 20px rgba(225,29,72,0.3); }

/* Purple variant (project brand) */
.pixel-card--purple:hover   { border-color: var(--purple-main, #7B2FFF); box-shadow: 0 0 20px rgba(123,47,255,0.3); }

/* Cyan variant */
.pixel-card--cyan:hover     { border-color: var(--cyan, #00D4FF); box-shadow: 0 0 20px rgba(0,212,255,0.25); }

/* Semantic Variants */
.pixel-card--primary:hover   { border-color: var(--purple-main); box-shadow: 0 0 20px rgba(123,47,255,0.3); }
.pixel-card--secondary:hover { border-color: var(--btn-gray, #6b7280); box-shadow: 0 0 20px rgba(107,114,128,0.15); }
.pixel-card--success:hover   { border-color: var(--success, #10b981); box-shadow: 0 0 20px rgba(16,185,129,0.25); }
.pixel-card--danger:hover    { border-color: var(--danger, #ef4444); box-shadow: 0 0 20px rgba(239,68,68,0.25); }
.pixel-card--warning:hover   { border-color: var(--warning, #f59e0b); box-shadow: 0 0 20px rgba(245,158,11,0.25); }
.pixel-card--info:hover      { border-color: var(--info, #0ea5e9); box-shadow: 0 0 20px rgba(14,165,233,0.25); }

/* Text Hover for Dark Variants */
.pixel-card span { transition: color 0.3s ease; }
.pixel-card--primary:hover span   { color: var(--purple-light, #9B59B6); }
.pixel-card--secondary:hover span { color: #f3f4f6; }
.pixel-card--success:hover span   { color: var(--success, #10b981); }
.pixel-card--danger:hover span    { color: var(--danger, #ef4444); }
.pixel-card--warning:hover span   { color: var(--warning, #f59e0b); }
.pixel-card--info:hover span      { color: var(--info, #0ea5e9); }


.pixel-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  pointer-events: none;
  z-index: 0;
}

/* Preset Sizes */
.pixel-card--sm { width: 200px; height: 250px; }
.pixel-card--md { width: 300px; height: 375px; }
.pixel-card--lg { width: 400px; height: 500px; }

/* Full width (gallery use) */
.pixel-card--full { width: 100%; height: auto; min-height: 300px; aspect-ratio: unset; }

/* â”€â”€ PIXEL BUTTON VARIANT â”€â”€ */
.pixel-btn {
  width: auto;
  height: 48px;
  padding: 0 28px;
  border-radius: 50px; /* Estilo pÃ­lula para botÃµes */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  box-sizing: border-box;
}

/* White Variant (Premium Clean) */
.pixel-card--white, 
.pixel-btn--white,
.pixel-btn--white-primary,
.pixel-btn--white-secondary,
.pixel-btn--white-success,
.pixel-btn--white-danger,
.pixel-btn--white-warning,
.pixel-btn--white-info {
  background: #ffffff !important;
  border-color: #e2e8f0;
  color: #05051A !important;
}

.pixel-card--white::before, 
.pixel-btn--white::before,
.pixel-btn--white-primary::before,
.pixel-btn--white-secondary::before,
.pixel-btn--white-success::before,
.pixel-btn--white-danger::before,
.pixel-btn--white-warning::before,
.pixel-btn--white-info::before {
  /* Glow sutil em tons de roxo para o fundo branco */
  background: radial-gradient(circle, rgba(123, 47, 255, 0.08), transparent 80%);
}

.pixel-card--white:hover, 
.pixel-btn--white:hover {
  border-color: var(--purple-main, #7B2FFF);
  box-shadow: 0 12px 25px rgba(123, 47, 255, 0.12);
}

.pixel-card--white .pixel-canvas, 
.pixel-btn--white .pixel-canvas,
.pixel-btn--white-primary .pixel-canvas,
.pixel-btn--white-secondary .pixel-canvas,
.pixel-btn--white-success .pixel-canvas,
.pixel-btn--white-danger .pixel-canvas,
.pixel-btn--white-warning .pixel-canvas,
.pixel-btn--white-info .pixel-canvas {
  /* Pixels com transparÃªncia sutil para nÃ£o ofuscar o texto */
  opacity: 0.85;
}

/* Garante que o texto esteja sempre acima do canvas de pixels */
.pixel-btn span,
.pixel-card span {
  position: relative;
  z-index: 2;
}

/* Specific Hover Effects for White Semantic Variants */
.pixel-btn--white-primary:hover   { border-color: var(--purple-main); box-shadow: 0 12px 25px rgba(123, 47, 255, 0.15); color: var(--purple-main) !important; }
.pixel-btn--white-secondary:hover { border-color: var(--btn-gray, #6b7280); box-shadow: 0 12px 25px rgba(107, 114, 128, 0.15); color: var(--btn-gray, #6b7280) !important; }
.pixel-btn--white-success:hover   { border-color: var(--success, #10b981); box-shadow: 0 12px 25px rgba(16, 185, 129, 0.15); color: var(--success, #10b981) !important; }
.pixel-btn--white-danger:hover    { border-color: var(--danger, #ef4444); box-shadow: 0 12px 25px rgba(239, 68, 68, 0.15); color: var(--danger, #ef4444) !important; }
.pixel-btn--white-warning:hover   { border-color: var(--warning, #f59e0b); box-shadow: 0 12px 25px rgba(245, 158, 11, 0.15); color: #d97706 !important; }
.pixel-btn--white-info:hover      { border-color: var(--info, #0ea5e9); box-shadow: 0 12px 25px rgba(14, 165, 233, 0.15); color: var(--info, #0ea5e9) !important; }

/* In case text is nested in span for white variant, we handle color there */
.pixel-btn--white span,
.pixel-btn--white-primary span,
.pixel-btn--white-secondary span,
.pixel-btn--white-success span,
.pixel-btn--white-danger span,
.pixel-btn--white-warning span,
.pixel-btn--white-info span {
  transition: color 0.3s ease;
}

/* Inherit the !important parents for span and add white glow */
.pixel-btn--white-primary:hover span   { color: var(--purple-main); text-shadow: 0 0 20px #ffffff, 0 0 15px #ffffff, 0 0 8px #ffffff, 0 0 4px #ffffff; }
.pixel-btn--white-secondary:hover span { color: var(--btn-gray, #6b7280); text-shadow: 0 0 20px #ffffff, 0 0 15px #ffffff, 0 0 8px #ffffff, 0 0 4px #ffffff; }
.pixel-btn--white-success:hover span   { color: var(--success, #10b981); text-shadow: 0 0 20px #ffffff, 0 0 15px #ffffff, 0 0 8px #ffffff, 0 0 4px #ffffff; }
.pixel-btn--white-danger:hover span    { color: var(--danger, #ef4444); text-shadow: 0 0 20px #ffffff, 0 0 15px #ffffff, 0 0 8px #ffffff, 0 0 4px #ffffff; }
.pixel-btn--white-warning:hover span   { color: #d97706; text-shadow: 0 0 20px #ffffff, 0 0 15px #ffffff, 0 0 8px #ffffff, 0 0 4px #ffffff; }
.pixel-btn--white-info:hover span      { color: var(--info, #0ea5e9); text-shadow: 0 0 20px #ffffff, 0 0 15px #ffffff, 0 0 8px #ffffff, 0 0 4px #ffffff; }

/* ═════════════════════════════════════════════════════════════════
   FUNIL DE ESCOLHA, DIAGNÓSTICO SPOTLIGHT & FORMULÁRIO GLASS-INTENSE
   ═════════════════════════════════════════════════════════════════ */

/* ── 1. CARDS DO FUNIL (ESCOLHA DA NECESSIDADE) ── */
.needs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.need-card {
  padding: 32px 26px;
  text-align: left;
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-lg, 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  background: 
    radial-gradient(
      circle 240px at var(--mx, 50%) var(--my, 50%),
      rgba(192, 132, 252, 0.14),
      transparent 70%
    ),
    rgba(12, 10, 32, 0.45);
  backdrop-filter: blur(24px) saturate(160%) brightness(105%);
  -webkit-backdrop-filter: blur(24px) saturate(160%) brightness(105%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.28),
    inset 0 -2px 6px rgba(0, 0, 0, 0.35),
    0 18px 36px rgba(0, 0, 0, 0.45);
  transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.38s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.35s ease,
              background 0.35s ease,
              opacity 0.35s ease,
              filter 0.35s ease;
  user-select: none;
  outline: none;
  will-change: transform, box-shadow;
}

@media (hover: hover) and (pointer: fine) {
  .need-card:hover {
    transform: translateY(-5px);
    border-color: rgba(192, 132, 252, 0.65);
    background: 
      radial-gradient(
        circle 280px at var(--mx, 50%) var(--my, 50%),
        rgba(192, 132, 252, 0.22),
        transparent 70%
      ),
      linear-gradient(145deg, rgba(123, 47, 255, 0.16) 0%, rgba(18, 12, 44, 0.68) 100%);
    box-shadow: 
      inset 0 2px 3px rgba(255, 255, 255, 0.42),
      inset 0 0 22px rgba(123, 47, 255, 0.22),
      0 24px 50px rgba(0, 0, 0, 0.55),
      0 0 32px rgba(123, 47, 255, 0.35);
  }

  .need-card:hover .need-card-num {
    color: #D8B4FE;
    text-shadow: 0 0 14px rgba(192, 132, 252, 0.45);
  }

  .need-card:hover .need-card-footer,
  .need-card:hover .need-footer-text {
    color: #E9D5FF;
  }

  .need-card:hover .need-check-icon {
    transform: scale(1.12);
    border-color: rgba(192, 132, 252, 0.65);
    color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 12px rgba(123, 47, 255, 0.45);
  }

  .need-card.is-unselected:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-3px);
    border-color: rgba(192, 132, 252, 0.6);
    background: linear-gradient(145deg, rgba(123, 47, 255, 0.14) 0%, rgba(18, 12, 44, 0.62) 100%);
    box-shadow: 
      inset 0 2px 3px rgba(255, 255, 255, 0.4),
      inset 0 0 18px rgba(123, 47, 255, 0.18),
      0 20px 42px rgba(0, 0, 0, 0.5),
      0 0 24px rgba(123, 47, 255, 0.26);
  }
}

.need-card.is-touch-hover,
.spotlight-card.is-touch-hover {
  border-color: rgba(192, 132, 252, 0.38) !important;
  background: 
    radial-gradient(
      circle 220px at var(--mx, 50%) var(--my, 50%),
      rgba(192, 132, 252, 0.11),
      transparent 70%
    ),
    linear-gradient(145deg, rgba(123, 47, 255, 0.09) 0%, rgba(18, 12, 44, 0.58) 100%) !important;
  box-shadow: 
    inset 0 1px 1.5px rgba(255, 255, 255, 0.26),
    inset 0 0 10px rgba(123, 47, 255, 0.12),
    0 8px 18px rgba(0, 0, 0, 0.38) !important;
}

.need-card.is-touch-hover .need-card-num,
.spotlight-card.is-touch-hover .need-card-num {
  color: #E9D5FF;
  text-shadow: 0 0 6px rgba(192, 132, 252, 0.22);
}

.need-card.is-touch-hover .need-card-footer,
.need-card.is-touch-hover .need-footer-text,
.spotlight-card.is-touch-hover .need-card-footer,
.spotlight-card.is-touch-hover .need-footer-text {
  color: #E9D5FF;
}

.need-card.is-touch-hover .need-check-icon,
.spotlight-card.is-touch-hover .need-check-icon {
  transform: scale(1.05);
  border-color: rgba(192, 132, 252, 0.42);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 6px rgba(123, 47, 255, 0.2);
}

.need-card:focus-visible {
  border-color: var(--purple-main);
  box-shadow: 0 0 0 2px var(--purple-light), 0 0 30px rgba(123, 47, 255, 0.4);
}

.need-card:focus:not(:focus-visible) {
  outline: none;
}

.need-card.active {
  border-color: rgba(192, 132, 252, 0.9) !important;
  background: 
    radial-gradient(
      circle 300px at var(--mx, 50%) var(--my, 50%),
      rgba(192, 132, 252, 0.28),
      transparent 70%
    ),
    linear-gradient(145deg, rgba(123, 47, 255, 0.24) 0%, rgba(14, 10, 36, 0.75) 100%) !important;
  box-shadow: 
    inset 0 2px 3px rgba(255, 255, 255, 0.5),
    inset 0 0 25px rgba(123, 47, 255, 0.3),
    0 24px 55px rgba(0, 0, 0, 0.6),
    0 0 35px rgba(123, 47, 255, 0.45) !important;
  transform: translateY(-3px);
  opacity: 1 !important;
  filter: none !important;
}

.need-card.is-unselected {
  opacity: 0.6;
  filter: grayscale(15%);
}

.need-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.need-card-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.need-card.active .need-card-num {
  color: #C084FC;
  text-shadow: 0 0 16px rgba(192, 132, 252, 0.5);
}

.need-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #FFF;
  margin-bottom: 12px;
  line-height: 1.3;
}

.need-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.need-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple-light, #B78AF7);
  transition: color 0.3s ease;
}

.need-card.active .need-card-footer,
.need-card.active .need-footer-text {
  color: #E9D5FF !important;
  font-weight: 800;
}

.need-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: transparent;
  transition: all 0.25s ease;
}

.need-card.active .need-check-icon {
  background: var(--purple-main, #7B2FFF);
  border-color: #C084FC;
  color: #FFF;
  box-shadow: 0 0 14px rgba(123, 47, 255, 0.75);
}

/* ── 2. FORMULÁRIO DE QUALIFICAÇÃO GLASS-INTENSE ── */
.form-wrapper {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.form-glass-box {
  padding: clamp(32px, 5vw, 56px);
}

.form-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group-full {
  grid-column: 1 / -1;
}

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

.form-field label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.form-field label .required {
  color: var(--danger, #ef4444);
}

.glass-input {
  height: 52px;
  background: rgba(10, 10, 31, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm, 12px);
  padding: 0 18px;
  color: #FFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.25s ease;
  outline: none;
  box-sizing: border-box;
  width: 100%;
}

.glass-select {
  height: 52px;
  background-color: rgba(10, 10, 31, 0.55);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.75)' stroke-width='2.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 18px center;
  background-size: 16px 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm, 12px);
  padding: 0 46px 0 18px;
  color: #FFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.25s ease;
  outline: none;
  box-sizing: border-box;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.glass-input:focus {
  border-color: var(--purple-main);
  background: rgba(15, 15, 45, 0.75);
  box-shadow: 0 0 20px rgba(123, 47, 255, 0.35);
}

.glass-select:focus {
  border-color: var(--purple-main);
  background-color: rgba(15, 15, 45, 0.75);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E040FB' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  box-shadow: 0 0 20px rgba(123, 47, 255, 0.35);
}

.glass-select option {
  background-color: #0A0A26;
  color: #FFF;
  padding: 12px 18px;
}

.glass-input.is-invalid, .glass-select.is-invalid {
  border-color: var(--danger, #ef4444);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.field-error-text {
  font-size: 0.75rem;
  color: #FF7070;
  display: none;
  margin-top: 2px;
}

.field-error-text.visible {
  display: block;
}

.site-url-conditional {
  display: none;
}

.site-url-conditional.visible {
  display: flex;
  animation: slideDownFade 0.35s ease;
}

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

.lgpd-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(5, 5, 26, 0.65);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm, 12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-top: 8px;
  transition: border-color var(--ease-normal), background var(--ease-normal);
}

.lgpd-box:hover {
  background: rgba(10, 10, 31, 0.78);
  border-color: rgba(123, 47, 255, 0.35);
}

.lgpd-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--purple-main);
  cursor: pointer;
  flex-shrink: 0;
}

.lgpd-box label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  cursor: pointer;
}

.form-submit-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  text-align: center;
}

.form-glass-box.pixel-card {
  display: block;
  cursor: default;
  user-select: text;
  border-radius: var(--radius-lg, 24px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(123, 47, 255, 0.25);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(123, 47, 255, 0.15);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.form-glass-box.pixel-card:focus {
  outline: none;
}

.form-glass-box.pixel-card:hover {
  transform: none;
  border-color: var(--purple-main, #7B2FFF);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(123, 47, 255, 0.3);
}

.form-glass-box.pixel-card .pixel-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  z-index: 1;
}

.form-glass-box.pixel-card::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(123, 47, 255, 0.12), transparent 75%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.form-glass-box.pixel-card:hover::before,
.form-glass-box.pixel-card:focus-within::before {
  opacity: 1;
}

.form-glass-box.pixel-card .form-header-bar,
.form-glass-box.pixel-card form {
  position: relative;
  z-index: 2;
}

.form-glass-box.pixel-card .glass-input,
.form-glass-box.pixel-card .glass-select,
.form-glass-box.pixel-card button,
.form-glass-box.pixel-card label {
  position: relative;
  z-index: 3;
}

/* Pulso de destaque quando rola até o formulário */
@keyframes formArrivePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(123, 47, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 50px 8px rgba(123, 47, 255, 0.5), 0 0 0 2px rgba(192, 132, 252, 0.8);
  }
  100% {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  }
}

.form-highlight-pulse {
  animation: formArrivePulse 1.8s ease-out forwards;
}

/* ── 3. SPOTLIGHT EM PLANO PRINCIPAL (OVERLAY) ── */
.diagnostico-spotlight {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
  overflow: hidden;
}

.diagnostico-spotlight.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.spotlight-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 25%, rgba(20, 12, 40, 0.95) 0%, rgba(4, 4, 14, 0.98) 100%);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.spotlight-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0 auto;
  padding: 48px 32px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  scrollbar-width: thin;
}

.spotlight-close-btn {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(14, 10, 32, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display, inherit);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 12px rgba(123, 47, 255, 0.15);
  transition: all 0.25s ease;
  opacity: 0;
  transform: translateY(-12px);
}

.spotlight-close-btn:hover {
  background: rgba(255, 43, 155, 0.22);
  border-color: rgba(255, 43, 155, 0.6);
  color: #FFF;
  box-shadow: 0 0 24px rgba(255, 43, 155, 0.4), 0 6px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.spotlight-close-btn.is-scrolled {
  background: rgba(18, 12, 38, 0.94);
  border-color: rgba(192, 132, 252, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 16px rgba(123, 47, 255, 0.35);
}

.spotlight-close-icon {
  font-size: 0.9rem;
  line-height: 1;
}

.spotlight-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.spotlight-header {
  max-width: 820px;
  margin: 0 auto 56px;
  opacity: 0;
  transform: translateY(-20px);
}

.spotlight-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin-top: 14px;
}

.spotlight-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 14px;
}

.spotlight-stage {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spotlight-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.spotlight-card {
  opacity: 0;
  transform: translateY(28px);
  padding: 32px 28px;
  min-height: 250px;
}

.spotlight-action-bar {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.spotlight-action-bar.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#btn-spotlight-proceed {
  padding: 16px 42px;
  font-size: 0.88rem;
}

#btn-spotlight-proceed .btn-arrow {
  font-size: 1.15rem;
  transition: transform 0.25s ease;
}

#btn-spotlight-proceed:hover .btn-arrow {
  transform: translateX(4px);
}

.spotlight-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── 4. MODAL FALLBACK WHATSAPP ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  z-index: 10000;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal-overlay.active {
  display: grid;
}

.modal-box {
  max-width: 560px;
  width: 100%;
  padding: 40px;
  text-align: center;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #FFF;
}

.msg-snippet {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm, 8px);
  padding: 16px;
  text-align: left;
  font-family: monospace;
  font-size: 0.82rem;
  color: var(--text-secondary);
  white-space: pre-line;
  max-height: 130px;
  overflow-y: auto;
  margin: 20px 0 24px;
}

/* ── 5. RESPONSIVIDADE (TABLET & MOBILE) ── */
@media (max-width: 992px) {
  .needs-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .diagnostico-spotlight {
    align-items: flex-start;
    padding: 0;
  }

  .spotlight-container {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    padding: 44px 14px 110px;
    justify-content: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
  }

  .spotlight-body {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    touch-action: pan-y;
  }

  .spotlight-close-btn {
    position: fixed;
    top: 12px;
    right: 14px;
    z-index: 100;
    padding: 7px 15px;
    font-size: 0.74rem;
    gap: 6px;
    background: rgba(14, 10, 32, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6), 0 0 10px rgba(123, 47, 255, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
  }

  .spotlight-close-btn.is-scrolled {
    background: rgba(18, 12, 38, 0.96);
    border-color: rgba(192, 132, 252, 0.5);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.75), 0 0 16px rgba(123, 47, 255, 0.4);
  }

  .spotlight-close-text {
    display: none;
  }

  .spotlight-close-btn::after {
    content: 'Sair';
    display: inline;
    font-weight: 700;
  }

  .spotlight-header {
    max-width: 100%;
    margin: 0 auto 28px;
    opacity: 0;
  }

  .spotlight-header .tag {
    font-size: 0.72rem;
    padding: 4px 12px;
    margin-bottom: 4px;
  }

  .spotlight-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 6vw, 1.85rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-top: 8px;
  }

  .spotlight-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.92rem, 3.2vw, 1.05rem);
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.6;
    letter-spacing: 0.01em;
    margin-top: 10px;
    max-width: 95%;
  }

  .spotlight-stage {
    width: 100%;
  }

  .spotlight-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin: 0 auto;
  }

  .spotlight-card {
    min-height: auto;
    padding: 16px 17px;
    border-radius: 16px;
    margin: 0;
    opacity: 0;
    transform: none !important;
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.35s ease,
                filter 0.35s ease;
  }

  .spotlight-card .need-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
  }

  .spotlight-card .need-card-num {
    font-size: 1.12rem;
    font-weight: 900;
  }

  .spotlight-card .tag {
    padding: 2px 8px !important;
    font-size: 0.58rem !important;
  }

  .spotlight-card .need-card-title {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 5px;
    line-height: 1.25;
  }

  .spotlight-card .need-card-desc {
    font-family: var(--font-body);
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(232, 232, 240, 0.78);
    margin-bottom: 0;
    display: block;
  }

  .spotlight-card .need-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.72rem;
  }

  .spotlight-card .need-footer-text {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }

  .spotlight-card .need-check-icon {
    width: 20px;
    height: 20px;
    font-size: 0.68rem;
  }

  .spotlight-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(4, 4, 14, 0) 0%, rgba(4, 4, 14, 0.94) 28%, rgba(4, 4, 14, 0.98) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
    z-index: 50;
    gap: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #btn-spotlight-proceed {
    width: 100%;
    max-width: 480px;
    padding: 13px 20px;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    gap: 8px;
    box-shadow: 0 0 20px rgba(123, 47, 255, 0.4), 0 4px 12px rgba(0, 0, 0, 0.4);
  }

  #btn-spotlight-proceed .btn-arrow {
    font-size: 0.95rem;
  }

  .spotlight-hint {
    font-size: 0.67rem;
    line-height: 1.25;
    margin: 0;
  }

  .needs-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}



