/* ==========================================================================
   VARIÁVEIS GLOBAIS E RESET
   ========================================================================== */
:root {
  /* Paleta "Deep Space & Neon" */
  --bg-color: #030305;
  --surface-color: #09090C;
  --surface-elevated: #111116;
  --border-color: rgba(255, 255, 255, 0.08);

  --primary: #4F46E5;
  /* Indigo / Roxo */
  --accent: #00F5D4;
  /* Ciano Fluorescente */

  --text-main: #FFFFFF;
  --text-muted: #8A8F98;

  --font-heading: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;

  --nav-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--primary);
  color: #FFF;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.w-full {
  width: 100%;
}

.text-center {
  text-align: center;
}

/* Background Grid Effect */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at top, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top, black 20%, transparent 70%);
}

/* Custom Cursor Glow */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.3s;
  opacity: 0;
}

@media (min-width: 1024px) {
  body:hover .cursor-glow {
    opacity: 1;
  }
}

/* ==========================================================================
   TIPOGRAFIA & UTILITÁRIOS
   ========================================================================== */
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.1;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(3, 3, 5, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFF;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}

.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 32px;
  }

  .nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
  }

  .nav-links a:hover {
    color: var(--text-main);
  }
}

/* Botões */
.btn-primary {
  background: #FFF;
  color: #000;
  padding: 10px 24px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.desktop-btn {
  display: none;
}

@media (min-width: 768px) {
  .desktop-btn {
    display: inline-flex;
  }
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: #FFF;
  font-size: 1.5rem;
  cursor: pointer;
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Menu Mobile Expandido */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 5, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  max-width: 300px;
  text-align: center;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-link:hover {
  color: #FFF;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 180px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 245, 212, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(0, 245, 212, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 245, 212, 0);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

@media (min-width: 600px) {
  .hero-actions {
    flex-direction: row;
  }
}

/* Botão Neon */
.btn-glow {
  position: relative;
  display: inline-flex;
  background: transparent;
  color: #FFF;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  z-index: 1;
}

.btn-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.btn-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(0, 245, 212, 0.2));
  z-index: -2;
  filter: blur(15px);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-glow:hover::after {
  opacity: 1;
}

.btn-secondary {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.btn-secondary:hover {
  color: #FFF;
}

/* ==========================================================================
   SEÇÕES GERAIS
   ========================================================================== */
.section {
  padding: 120px 0;
}

.bg-elevated {
  background-color: var(--surface-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: 60px;
  max-width: 600px;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SOLUÇÕES (Cards com Spotlight Effect via JS)
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* O Segredo do Efeito de Luz Linear/Vercel */
.spotlight-card {
  position: relative;
  background-color: var(--surface-elevated);
  border-radius: 16px;
  overflow: hidden;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(600px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(255, 255, 255, 0.06), transparent 40%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s;
}

.card-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(400px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(255, 255, 255, 0.3), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
  pointer-events: none;
}

/* Borda base padrão caso o hover não esteja ativo */
.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--border-color);
  z-index: 0;
  pointer-events: none;
}

.card-content {
  position: relative;
  z-index: 3;
  padding: 40px;
  height: 100%;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 24px;
}

.card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.card-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   METODOLOGIA (Timeline)
   ========================================================================== */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

@media (min-width: 992px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
    position: relative;
  }

  .split-left {
    position: sticky;
    top: 120px;
    align-self: start;
  }
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.timeline-step {
  display: flex;
  gap: 24px;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--border-color);
  -webkit-text-stroke: 1px var(--text-muted);
  line-height: 1;
}

.step-info h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.step-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.max-w-narrow {
  max-width: 800px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header i {
  color: var(--text-muted);
  transition: transform 0.3s;
}

/* CORREÇÃO AQUI: De .active para .is-open */
.accordion-item.is-open .accordion-header i {
  transform: rotate(45deg);
  color: var(--accent);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.accordion-content p {
  padding: 0 24px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   CONTATO (Float Label Form)
   ========================================================================== */
.bg-gradient-brand {
  position: relative;
  background-color: var(--primary);
  background-image: radial-gradient(circle at right bottom, var(--accent), transparent 60%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.text-white {
  color: #FFF;
}

.text-white-80 {
  color: rgba(255, 255, 255, 0.8);
}

.contact-methods {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.method-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #FFF;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
}

.method-item i {
  font-size: 1.5rem;
  opacity: 0.8;
}

.contact-form-box {
  background: var(--bg-color);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.input-group {
  position: relative;
}

.input-group input,
.input-group select {
  width: 100%;
  background: var(--surface-elevated);
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: 8px;
  color: #FFF;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.input-group select {
  appearance: none;
  color: var(--text-muted);
}

.input-group select:focus,
.input-group select:valid {
  color: #FFF;
}

.input-group label {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
  transition: 0.2s ease all;
}

/* Float Label Magic */
.input-group input:focus,
.input-group input:not(:placeholder-shown) {
  border-color: var(--accent);
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label {
  top: 0;
  left: 12px;
  font-size: 0.75rem;
  padding: 0 8px;
  background: var(--surface-elevated);
  color: var(--accent);
}

.btn-submit {
  background: var(--text-main);
  color: var(--bg-color);
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.btn-submit:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: var(--bg-color);
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-brand {
    align-items: flex-start;
  }
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 8px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-legal {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   ANIMAÇÕES DE REVELAÇÃO (Scroll)
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}