/* ============================================================
   SOTA DEVS — dashboard.css (ELITE v2)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* --- VARIÁVEIS --- */
:root {
  --purple:        #D164FF;
  --purple-dim:    rgba(209, 100, 255, 0.35);
  --purple-glow:   rgba(209, 100, 255, 0.18);
  --purple-dark:   #9b3dcc;
  --bg:            #050508;
  --bg2:           #0a0a0f;
  --glass:         rgba(255,255,255,0.028);
  --glass-border:  rgba(255,255,255,0.07);
  --glass-hover:   rgba(255,255,255,0.055);
  --text:          #ffffff;
  --text-dim:      rgba(255,255,255,0.5);
  --text-muted:    rgba(255,255,255,0.28);
  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET --- */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}
.pill-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  z-index: 1000; /* Garante que fique acima de tudo */
  background: rgba(10, 10, 15, 0.85); /* Fundo para não ficar transparente no texto */
  backdrop-filter: blur(12px);
  border-radius: 100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 6px;
  box-shadow: 0 0 8px var(--purple-dim);
}
* { scrollbar-width: thin; scrollbar-color: var(--purple) var(--bg); }

/* ============================================================
   CURSOR ANIMADO
   ============================================================ */
* {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path d="M7 2l12 11.2-5.8.5 3.3 7.3-2.2 1-3.2-7.4L7 19V2z" fill="%23D164FF" stroke="%23fff" stroke-width="0.5"><animate attributeName="fill" values="%23D164FF;%2300ffff;%23ff00ff;%23D164FF" dur="2s" repeatCount="indefinite"/></path></svg>'), auto;
}

/* ============================================================
   HEADER PILL
   ============================================================ */
.pill-header {
  position: fixed;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 92%; max-width: 1140px;
  z-index: 1000;
  background: rgba(5, 5, 8, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 10px 28px;
  transition: box-shadow 0.4s ease, background 0.4s ease;
}

.pill-header.scrolled {
  background: rgba(5, 5, 8, 0.92);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6), 0 0 0 1px var(--purple-dim);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo-container { display: flex; align-items: center; }

.main-logo {
  height: 34px; width: auto;
  transition: filter 0.3s ease, transform 0.3s ease;
  filter: drop-shadow(0 0 0px transparent);
}
.main-logo:hover {
  filter: drop-shadow(0 0 10px var(--purple-dim));
  transform: scale(1.04);
}

.nav-links { display: flex; gap: 8px; }
.nav-links a {
  color: var(--text-dim);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 8px 14px; border-radius: 100px;
  transition: color 0.25s ease, background 0.25s ease;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(209,100,255,0.08);
}
.nav-links a.active::after {
  content: '';
  position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 6px var(--purple);
}

.btn-contato-pill {
  border: 1px solid var(--purple);
  color: var(--purple);
  padding: 9px 22px;
  font-size: 10px; font-weight: 800;
  border-radius: 100px;
  letter-spacing: 1.2px; text-transform: uppercase;
  transition: all 0.35s var(--ease);
  background: rgba(209,100,255,0.05);
  white-space: nowrap;
  display: inline-block;
}
.btn-contato-pill:hover {
  background: var(--purple);
  color: #000;
  box-shadow: 0 0 24px var(--purple-dim), 0 0 60px rgba(209,100,255,0.1);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  font-size: 20px; color: var(--text-dim);
  cursor: pointer; padding: 4px;
  transition: color 0.2s;
}
.menu-toggle:hover { color: var(--purple); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 130px 7% 80px;
  position: relative; overflow: hidden;
}

/* Auras de fundo */
.hero::before {
  content: '';
  position: absolute; border-radius: 50%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(209,100,255,0.12) 0%, transparent 70%);
  top: -100px; right: -80px;
  pointer-events: none; z-index: 0;
  animation: aura-drift 8s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(100,80,255,0.08) 0%, transparent 70%);
  bottom: 0; left: 10%;
  pointer-events: none; z-index: 0;
  animation: aura-drift 12s ease-in-out infinite alternate-reverse;
}

/* Noise texture overlay */
.hero-noise {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.6;
}

/* Grid pattern overlay */
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(209,100,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(209,100,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  width: 100%; max-width: 1400px;
  margin: 0 auto;
  position: relative; z-index: 10;
}

.hero-text-block {
  display: flex; flex-direction: column;
  justify-content: center;
}

/* Badge */
.hero-pills { margin-bottom: 28px; }

.pill-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  border-radius: 500px;
  font-size: 9px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  transition: all 0.3s ease;
}
.pill-badge.tech {
  border-color: rgba(209,100,255,0.3);
  background: rgba(209,100,255,0.07);
  color: var(--purple);
}
.pill-badge.tech::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 8px var(--purple);
  animation: blink 2s ease-in-out infinite;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.95;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(160deg, #fff 30%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -3px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--purple), #ff80ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 44px;
  line-height: 1.75;
  font-weight: 400;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-glow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--purple);
  color: #000;
  padding: 16px 40px;
  font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px;
  border-radius: 4px;
  transition: all 0.4s var(--ease);
  box-shadow: 0 8px 30px rgba(209,100,255,0.3);
}
.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(209,100,255,0.45);
  background: #e080ff;
}

.btn-ghost-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--text-dim);
  padding: 15px 32px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  border-radius: 4px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}
.btn-ghost-hero:hover {
  color: var(--text); border-color: rgba(255,255,255,0.2);
  background: var(--glass);
}

/* --- STATS GLASS GRID --- */
.stats-glass-grid {
  display: flex; flex-direction: column; gap: 18px;
  justify-content: center;
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 32px 36px;
  transition: all 0.5s var(--ease);
  position: relative; overflow: hidden;
  animation: float 7s ease-in-out infinite;
}

.glass-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(209,100,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.glass-card:hover {
  background: var(--glass-hover);
  border-color: rgba(209,100,255,0.3);
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(209,100,255,0.15);
}

.glass-card:nth-child(2) { animation-delay: 1.8s; }
.glass-card:nth-child(3) { animation-delay: 3.6s; }

.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 52px; font-weight: 800;
  line-height: 1; margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-number .plus { color: var(--purple); -webkit-text-fill-color: var(--purple); }

.glass-card p {
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================================
   SERVICES BENTO
   ============================================================ */
.services-bento {
  padding: 130px 0;
  position: relative; overflow: hidden;
}

.container {
  width: 90%; max-width: 1300px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 90px;
}

.section-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.0;
  font-weight: 800;
  margin: 18px 0 22px;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.65) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2.5px;
}

.section-header p {
  font-size: 15px; color: var(--text-dim); line-height: 1.75;
}

.purple-text { color: var(--purple); -webkit-text-fill-color: var(--purple); }

/* BENTO GRID */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
}

.bento-card.tall  { grid-row: span 2; }
.bento-card.wide  { grid-column: span 2; }

.bento-card {
  background: var(--glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 38px;
  position: relative; overflow: hidden;
  transition: all 0.5s var(--ease);
  cursor: default;
}

.bento-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(209,100,255,0.0) 0%, transparent 100%);
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-8px) scale(1.015);
  background: var(--glass-hover);
  border-color: rgba(209,100,255,0.35);
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(209,100,255,0.1);
}
.bento-card:hover::after { opacity: 1; }

.card-content {
  display: flex; flex-direction: column;
  justify-content: flex-start; height: 100%;
  position: relative; z-index: 10;
}

.card-icon {
  font-size: 32px; margin-bottom: 22px; opacity: 0.9;
  display: block; line-height: 1;
}
.LP-purple, .opt-purple { color: var(--purple); }
.eco-blue  { color: #818cf8; }
.inst-green { color: #34d399; }

.bento-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 19px; font-weight: 700;
  margin-bottom: 12px; letter-spacing: -0.5px; color: #fff;
}

.bento-card p {
  font-size: 13px; color: var(--text-dim);
  line-height: 1.7; flex: 1;
}

.card-tag {
  display: inline-block;
  font-size: 9px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--purple);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(209,100,255,0.25);
  background: rgba(209,100,255,0.06);
  margin-bottom: 16px;
  align-self: flex-start;
}

.card-cta {
  margin-top: 24px; align-self: flex-start;
  padding: 10px 24px; font-size: 11px;
}

/* Auras dos cards */
.card-aura {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.08;
  z-index: 0; pointer-events: none;
  transition: opacity 0.5s ease;
}
.bento-card:hover .card-aura { opacity: 0.16; }

.aura-LP  { width:320px;height:320px; background:var(--purple); top:-15%;left:-10%; }
.aura-eco { width:400px;height:220px; background:#818cf8; bottom:-20%;right:-10%; }
.aura-inst { width:260px;height:260px; background:#34d399; top:-20%;right:-20%; }
.aura-opt { width:220px;height:220px; background:var(--purple); bottom:-10%;left:-10%; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  background: #25D366;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  z-index: 1000;
  transition: all 0.3s var(--ease);
}
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 16px 40px rgba(37,211,102,0.45);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes float {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-12px); }
}

@keyframes aura-drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px,-20px) scale(1.1); }
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.7s var(--ease) both; }
.fade-up-1 { animation-delay: 0.08s; }
.fade-up-2 { animation-delay: 0.18s; }
.fade-up-3 { animation-delay: 0.28s; }
.fade-up-4 { animation-delay: 0.38s; }
.fade-up-5 { animation-delay: 0.48s; }

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 50px; }
  .hero p { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .stats-glass-grid { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .glass-card { min-width: 200px; flex: 1; animation: none; padding: 24px; }
  .bento-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: minmax(260px,auto); }
  .bento-card.LP-hero { grid-column: span 2; grid-row: span 1; }
  .bento-card.eco-hero { grid-column: span 2; }
}

@media (max-width: 768px) {
  .hero { padding: 100px 5% 60px; }
  .nav-links { 
    display: none; flex-direction: column;
    position: absolute; top: calc(100% + 12px);
    left: 0; right: 0;
    background: rgba(5,5,8,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px;
    gap: 4px;
  }
  .nav-links.active { display: flex; }
  .nav-links a { border-radius: 10px; padding: 12px 16px; font-size: 12px; }
  .menu-toggle { display: block; }
  .pill-header { position: relative; top: auto; transform: none; margin: 16px auto; }
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-card.tall,.bento-card.wide,.bento-card.LP-hero,.bento-card.eco-hero { 
    grid-column: span 1; grid-row: span 1; 
  }
  .bento-card { padding: 28px; }
  .card-content { height: auto; }
}
