/* ========================================
   NV Desenvolvimento — Page Styles
   ======================================== */

/* ========================================
   HERO
   ======================================== */
.dev-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.dev-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.dev-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(107,44,242,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,44,242,0.04) 1px, transparent 1px);
  background-size: 70px 70px;
}
.dev-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.dev-hero-orb-1 {
  width: 650px; height: 650px;
  top: -180px; right: -80px;
  background: rgba(107,44,242,0.13);
  animation: devOrbFloat 10s ease-in-out alternate infinite;
}
.dev-hero-orb-2 {
  width: 450px; height: 450px;
  bottom: -80px; left: -100px;
  background: rgba(139,47,201,0.09);
  animation: devOrbFloat 10s ease-in-out alternate-reverse infinite;
}
@keyframes devOrbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(25px, -20px) scale(1.06); }
}

/* Linhas de código decorativas */
.dev-code-lines {
  position: absolute;
  bottom: 2rem;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 2rem;
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}
.dev-code-lines span {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: #6B2CF2;
  white-space: nowrap;
}

.dev-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 8rem;
  padding-bottom: 5rem;
  max-width: 820px;
}
.dev-hero-title {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}
.dev-hero-gradient {
  background: linear-gradient(135deg, #6B2CF2, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dev-hero-subtitle {
  font-size: 1.05rem;
  color: #8888aa;
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 2.5rem;
}
.dev-hero-ctas {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.dev-hero-trust {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.dev-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #8888aa;
}

/* ========================================
   PARA QUEM É
   ======================================== */
.dev-para-quem { background: #0d0d1a; border-top: 1px solid rgba(107,44,242,0.12); }
.dev-situacoes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.dev-situacao-card {
  background: #111122;
  border: 1px solid rgba(107,44,242,0.12);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.3s, transform 0.3s;
}
.dev-situacao-card:hover {
  border-color: rgba(107,44,242,0.3);
  transform: translateY(-3px);
}
.dev-situacao-num {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  background: linear-gradient(135deg, #6B2CF2, #8B2FC9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
}
.dev-situacao-card p {
  font-size: 0.9rem;
  color: #c0c0d8;
  line-height: 1.6;
  font-style: italic;
}
.dev-situacoes-cta { text-align: center; }

/* ========================================
   O QUE DESENVOLVEMOS
   ======================================== */
.dev-categorias { background: #08080f; }
.dev-categorias-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.dev-categoria-card {
  background: #0f0f1e;
  border: 1px solid rgba(107,44,242,0.12);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s, transform 0.3s;
}
.dev-categoria-card:hover {
  border-color: rgba(107,44,242,0.3);
  transform: translateY(-4px);
}
.dev-categoria-icon {
  width: 52px; height: 52px;
  background: rgba(107,44,242,0.1);
  border: 1px solid rgba(107,44,242,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dev-categoria-card h3 {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #f0f0fa;
}
.dev-categoria-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.dev-categoria-card ul li {
  font-size: 0.8rem;
  color: #8888aa;
  line-height: 1.5;
  padding-left: 0.85rem;
  position: relative;
}
.dev-categoria-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(107,44,242,0.5);
}

/* ========================================
   CASES / PROVA SOCIAL
   ======================================== */
.dev-cases { background: #0d0d1a; border-top: 1px solid rgba(107,44,242,0.12); }

.dev-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid rgba(107,44,242,0.08);
}
.dev-case:last-child { border-bottom: none; }
.dev-case--reverse { direction: rtl; }
.dev-case--reverse > * { direction: ltr; }

/* Case text */
.dev-case-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6B2CF2;
  background: rgba(107,44,242,0.1);
  border: 1px solid rgba(107,44,242,0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.dev-case-title {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #f0f0fa;
  margin-bottom: 1rem;
}
.dev-case-desc {
  font-size: 0.925rem;
  color: #8888aa;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.dev-case-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.dev-case-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.855rem;
  color: #c0c0d8;
  line-height: 1.5;
}
.dev-case-features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6B2CF2;
  flex-shrink: 0;
}

/* Phone mockup */
.dev-case-mockups { position: relative; }
.dev-phone-mockup {
  display: inline-block;
}
.dev-phone-inner {
  background: #1a1a2e;
  border: 2px solid rgba(107,44,242,0.35);
  border-radius: 36px;
  padding: 12px 8px 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
}
.dev-phone-notch {
  width: 44px; height: 7px;
  background: #0d0d1a;
  border-radius: 4px;
  margin: 0 auto 10px;
}
.dev-phone-screen {
  width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

/* Case 1: dois phones lado a lado */
.dev-case--phones .dev-case-mockups {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-end;
}
.dev-case--phones .dev-phone-mockup { width: 200px; }
.dev-phone--left { transform: translateY(-20px); }
.dev-phone--right { transform: translateY(20px); }

/* Browser mockup */
.dev-browser-mockup {
  background: #111122;
  border: 1px solid rgba(107,44,242,0.25);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.dev-browser-bar {
  background: #1a1a2e;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(107,44,242,0.12);
}
.dev-browser-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.dev-browser-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(107,44,242,0.3);
}
.dev-browser-dots span:nth-child(1) { background: rgba(255,95,87,0.6); }
.dev-browser-dots span:nth-child(2) { background: rgba(255,189,68,0.6); }
.dev-browser-dots span:nth-child(3) { background: rgba(39,201,63,0.6); }
.dev-browser-url {
  font-size: 0.7rem;
  color: #666688;
  font-family: monospace;
  background: rgba(107,44,242,0.06);
  border: 1px solid rgba(107,44,242,0.1);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
}
.dev-browser-screen {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  max-height: 260px;
}

/* Case 2: browser ao fundo + phone na frente */
.dev-case-mockups--mixed {
  position: relative;
  height: 360px;
}
.dev-browser--back {
  position: absolute;
  top: 0; left: 0;
  width: 85%;
  z-index: 1;
}
.dev-phone--front-mixed {
  position: absolute;
  bottom: 0; right: 0;
  width: 160px;
  z-index: 2;
}

/* Case 3: dois browsers escalonados */
.dev-case-mockups--stacked {
  position: relative;
  height: 340px;
}
.dev-browser--stack-back {
  position: absolute;
  top: 0; left: 0;
  width: 88%;
  z-index: 1;
  transform: rotate(-1.5deg);
}
.dev-browser--stack-front {
  position: absolute;
  bottom: 0; right: 0;
  width: 88%;
  z-index: 2;
  transform: rotate(1deg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}

/* ========================================
   PROCESSO
   ======================================== */
.dev-processo { background: #0d0d1a; border-top: 1px solid rgba(107,44,242,0.12); }
.dev-processo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.dev-processo-step {
  padding: 2rem;
  border-right: 1px solid rgba(107,44,242,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.dev-processo-step:last-child { border-right: none; }
.dev-step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}
.dev-step-num {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  background: linear-gradient(135deg, #6B2CF2, #8B2FC9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
}
.dev-step-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6B2CF2;
  background: rgba(107,44,242,0.1);
  border: 1px solid rgba(107,44,242,0.2);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}
.dev-step-badge--ia {
  color: #a78bfa;
  background: rgba(167,139,250,0.1);
  border-color: rgba(167,139,250,0.25);
}
.dev-processo-step h3 {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #f0f0fa;
}
.dev-processo-step p {
  font-size: 0.855rem;
  color: #8888aa;
  line-height: 1.65;
  flex: 1;
}
.dev-step-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #666688;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(107,44,242,0.08);
  margin-top: auto;
}

/* ========================================
   IA NO DESENVOLVIMENTO
   ======================================== */
.dev-ia { background: #08080f; }
.dev-ia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.dev-ia-card {
  background: #0f0f1e;
  border: 1px solid rgba(107,44,242,0.15);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  align-items: center;
  transition: border-color 0.3s, transform 0.3s;
}
.dev-ia-card:hover {
  border-color: rgba(107,44,242,0.35);
  transform: translateY(-4px);
}
.dev-ia-icon {
  width: 60px; height: 60px;
  background: rgba(107,44,242,0.1);
  border: 1px solid rgba(107,44,242,0.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dev-ia-card h3 {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #f0f0fa;
}
.dev-ia-card p {
  font-size: 0.875rem;
  color: #8888aa;
  line-height: 1.7;
}

/* Depoimentos */
.depoimento-card {
  display: flex;
  flex-direction: column;
}
.depoimento-card .depoimento-author {
  margin-top: auto;
  padding-top: 1.5rem;
}

/* ========================================
   FAQ
   ======================================== */
.dev-faq { background: #0d0d1a; border-top: 1px solid rgba(107,44,242,0.12); }
.dev-faq-inner { max-width: 760px; }
.dev-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.dev-faq-item {
  border: 1px solid rgba(107,44,242,0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #0f0f1e;
  transition: border-color 0.3s;
}
.dev-faq-item.open { border-color: rgba(107,44,242,0.3); }
.dev-faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #f0f0fa;
  line-height: 1.5;
}
.dev-faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: #6B2CF2;
}
.dev-faq-item.open .dev-faq-chevron { transform: rotate(180deg); }
.dev-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.dev-faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: #8888aa;
  line-height: 1.7;
}

/* ========================================
   RESPONSIVO
   ======================================== */
@media (max-width: 1200px) {
  .dev-categorias-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .dev-processo-grid { grid-template-columns: repeat(2, 1fr); }
  .dev-processo-step { border-right: none; border-bottom: 1px solid rgba(107,44,242,0.1); }
  .dev-processo-step:last-child { border-bottom: none; }
}

@media (max-width: 1024px) {
  .dev-case { grid-template-columns: 1fr; gap: 3rem; }
  .dev-case--reverse { direction: ltr; }
  .dev-case-mockups--stacked { height: 280px; }
  .dev-case-mockups--mixed { height: 300px; }
  .dev-case--phones .dev-phone-mockup { width: 160px; }
}

@media (max-width: 768px) {
  .dev-hero-inner { padding-top: 7rem; padding-bottom: 4rem; }
  .dev-hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .dev-hero-ctas { gap: 1rem; }
  .dev-hero-trust { gap: 1rem; }
  .dev-code-lines { display: none; }

  .dev-situacoes-grid { grid-template-columns: 1fr; }
  .dev-categorias-grid { grid-template-columns: 1fr; }
  .dev-processo-grid { grid-template-columns: 1fr; }
  .dev-ia-grid { grid-template-columns: 1fr; }

  .dev-case { padding: 3rem 0; }
  .dev-case-mockups--stacked { height: 220px; }
  .dev-case-mockups--mixed { height: 240px; }
  .dev-case--phones .dev-phone-mockup { width: 130px; }
  .dev-browser--stack-back { width: 82%; }
  .dev-browser--stack-front { width: 82%; }

  .menu-toggle { display: flex; }
  .navbar-links { display: none; }
  .navbar-cta { display: none; }
}

@media (max-width: 480px) {
  .dev-hero-trust { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}
