:root {
  --bg: #09090A;
  --bg-alt: #0f0f11;
  --card: #121214;
  --card-alt: #1a1a1e;
  --border: #27272a;
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --purple: #9333ea;
  --purple-light: #a855f7;
  --purple-dim: rgba(147, 51, 234, 0.12);
  --green: #22c55e;
  --amber: #f59e0b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 640px;
}

/* NAV */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 9, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.nav-logo-icon {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.nav-cta {
  background: var(--purple);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 0.65rem;
  font-weight: 600;
  box-shadow: 0 8px 20px -8px rgba(147, 51, 234, 0.5);
}

.nav-cta:hover {
  background: var(--purple-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* BOTÕES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 0.85rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 10px 25px -8px rgba(147, 51, 234, 0.55);
}

.btn-primary:hover {
  background: var(--purple-light);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--card);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(147, 51, 234, 0.5);
  color: var(--purple-light);
}

.btn-block {
  width: 100%;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 420px;
  background: rgba(147, 51, 234, 0.18);
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple-light);
  background: var(--purple-dim);
  border: 1px solid rgba(147, 51, 234, 0.35);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.pill-inline {
  margin-bottom: 0;
  margin-left: 0.6rem;
  vertical-align: middle;
  color: var(--amber);
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1.2rem;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2.2rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-graphic {
  position: absolute;
  top: 2rem;
  right: -60px;
  width: 260px;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

/* SECTIONS */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.section-lead {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 2.75rem;
  font-size: 1rem;
}

/* CARDS */
.cards-grid {
  display: grid;
  gap: 1.1rem;
}

.cards-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.info-card,
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.15s ease;
}

.info-card:hover,
.feature-card:hover {
  border-color: rgba(147, 51, 234, 0.4);
}

.info-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.info-card h3,
.feature-card h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
}

.info-card p,
.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.feature-group {
  margin-bottom: 2.5rem;
}

.feature-group:last-of-type {
  margin-bottom: 3rem;
}

.feature-group-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple-light);
  margin: 0 0 1rem;
}

.platform-banner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--purple-dim);
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.platform-banner strong {
  color: var(--text);
}

.platform-banner-icon {
  font-size: 1.4rem;
  line-height: 1;
}

/* GALERIA DE FOTOS — CARROSSEL */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.carousel-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 320px;
  background: rgba(147, 51, 234, 0.16);
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

.carousel-track {
  position: relative;
  z-index: 1;
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem calc(50% - 130px) 1rem;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 auto;
  width: 260px;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  opacity: 0.4;
  transform: scale(0.92);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-frame {
  display: block;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.2s ease;
}

.carousel-slide.active .carousel-frame {
  box-shadow: 0 30px 60px -18px rgba(147, 51, 234, 0.45);
}

.carousel-frame img {
  width: 100%;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  display: block;
}

.carousel-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  padding: 0 0.5rem;
}

.carousel-slide.active .carousel-caption {
  color: var(--text);
  font-weight: 500;
}

.carousel-arrow {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.carousel-arrow:hover {
  border-color: rgba(147, 51, 234, 0.5);
  color: var(--purple-light);
  transform: translateY(-1px);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-dot.active {
  background: var(--purple);
  width: 22px;
  border-radius: 999px;
}

@media (max-width: 640px) {
  .carousel {
    padding: 0 0.5rem;
    gap: 0.4rem;
  }

  .carousel-slide {
    width: 200px;
  }

  .carousel-track {
    padding: 0.5rem calc(50% - 100px) 1rem;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(9, 9, 10, 0.92);
  backdrop-filter: blur(6px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-stage {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lightbox img {
  max-width: min(80vw, 380px);
  max-height: 70vh;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
}

.lightbox-caption {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 480px;
  text-align: center;
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
}

.lightbox-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.lightbox-arrow:hover {
  border-color: rgba(147, 51, 234, 0.5);
  color: var(--purple-light);
}

@media (max-width: 640px) {
  .lightbox-stage {
    gap: 0.5rem;
  }

  .lightbox img {
    max-width: 56vw;
  }

  .lightbox-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
}

.lightbox-close:hover {
  border-color: rgba(147, 51, 234, 0.5);
  color: var(--purple-light);
}

/* ROADMAP */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.roadmap-column {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}

.roadmap-column h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 1.1rem;
}

.roadmap-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.roadmap-dot-done {
  background: var(--green);
}

.roadmap-dot-progress {
  background: var(--amber);
}

.roadmap-dot-future {
  background: var(--text-dim);
}

.roadmap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.roadmap-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1.35rem;
  position: relative;
}

.roadmap-done .roadmap-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.roadmap-progress .roadmap-list li::before {
  content: "◐";
  position: absolute;
  left: 0;
  color: var(--amber);
}

.roadmap-future .roadmap-list li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: var(--text-dim);
}

/* FORMULÁRIOS */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  gap: 1.1rem;
}

.form-row-2 {
  grid-template-columns: 1fr 1fr;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.opcional {
  font-weight: 400;
  color: var(--text-dim);
}

.form-field input,
.form-field textarea {
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  padding: 0.75rem 0.9rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-dim);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--purple);
}

.form-feedback {
  margin: 0;
  font-size: 0.85rem;
  min-height: 1.1em;
}

.form-feedback.success {
  color: var(--green);
}

.form-feedback.error {
  color: #f87171;
}

.form-feedback.aviso {
  color: var(--amber);
}

.form-field input:disabled,
.form-field textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* DESENVOLVEDORA */
.dev-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  text-align: center;
}

.dev-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--purple-light), #d946ef);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.6rem;
  color: white;
}

.dev-name {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.dev-title {
  color: var(--purple-light);
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 1.2em;
  margin: 0 0 1rem;
}

.dev-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.dev-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.dev-links a {
  color: var(--purple-light);
  border-bottom: 1px solid transparent;
}

.dev-links a:hover {
  border-color: var(--purple-light);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a:hover {
  color: var(--text-muted);
}

/* RESPONSIVO */
@media (max-width: 860px) {
  .cards-grid-4,
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .hero-graphic {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 1rem;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    align-self: stretch;
    text-align: center;
  }

  .cards-grid-4,
  .cards-grid-3 {
    grid-template-columns: 1fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }
}
