:root {
  --bg: #050816;
  --bg-alt: #070b1e;
  --surface: #0b1024;
  --surface-alt: #111827;
  --primary: #4f46e5;
  --primary-soft: rgba(79, 70, 229, 0.15);
  --accent: #06b6d4;
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --border: #1f2937;
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.9);
  --transition-fast: 0.2s ease-out;
  --transition: 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

/* RESET BÁSICO */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* CONTAINERS E SEÇÕES */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  background: radial-gradient(circle at top, #020617 0, #020617 35%, #000 100%);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* HEADER / NAVBAR */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.5), transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.header.scrolled {
  background: rgba(3, 7, 18, 0.97);
  border-bottom-color: rgba(31, 41, 55, 0.8);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.7);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Remove qualquer estilo antigo */
.logo-icon {
  display: none !important;
}

/* Container do logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

/* Novo estilo do ícone */
.logo-icon-img {
  width: 60px;   /* TAMANHO FINAL DO ÍCONE */
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* impede esticar por causa do flexbox */
  background: rgba(255, 255, 255, 0.08);
}

/* A imagem interna */
.logo-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* mantém proporção e corta bordas */
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.9rem;
}

.nav-link {
  position: relative;
  color: var(--text-soft);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--primary));
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: #f9fafb;
  transform: translateY(-1px);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at 0 0, rgba(79, 70, 229, 0.35), transparent);
}

/* NAV MOBILE */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(55, 65, 81, 0.8);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* HERO */

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.3), transparent 55%),
              radial-gradient(circle at 70% 10%, rgba(6, 182, 212, 0.25), transparent 50%);
  opacity: 0.8;
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
}

.hero-text {
  max-width: 580px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  padding: 0.2rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(to right, #e5e7eb, #38bdf8, #4f46e5);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--text-soft);
  font-size: 0.98rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 24px 50px rgba(37, 99, 235, 0.7);
}

.btn-secondary {
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.85);
}

.btn-secondary:hover {
  background: rgba(31, 41, 55, 0.98);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.75rem;
}

.hero-badges span {
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  padding: 0.25rem 0.7rem;
  color: var(--text-soft);
}

/* HERO - CARD */

.hero-card {
  position: relative;
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.6), transparent 50%), #020617;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transform: translateY(10px);
}

.hero-card-header {
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.9));
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.7);
}

.hero-card-body {
  padding: 1.1rem 1.1rem 1.2rem;
  background: radial-gradient(circle at bottom, rgba(15, 23, 42, 0.9), #020617);
  font-size: 0.85rem;
}

.hero-card-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.75rem;
}

.hero-card-row span {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.hero-card-row strong {
  font-size: 0.9rem;
}

.hero-card-row-tags {
  margin-bottom: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tags span {
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.hero-progress {
  margin-bottom: 1rem;
}

.hero-progress span {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  margin: 0.4rem 0;
  overflow: hidden;
  border: 1px solid rgba(30, 64, 175, 0.8);
}

.progress-fill {
  width: 80%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(to right, #22c55e, #4ade80, #a3e635);
  box-shadow: 0 0 18px rgba(74, 222, 128, 0.7);
}

.hero-progress small {
  font-size: 0.7rem;
  color: var(--text-soft);
}

.hero-footer {
  margin-top: 0.5rem;
}

.hero-mini-text {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-soft);
}

/* CARDS GERAIS */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.card {
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.18), transparent 60%), rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.95);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  font-size: 0.9rem;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-soft);
  margin-bottom: 0.9rem;
}

.card ul li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: #d1d5db;
}

.card ul li + li {
  margin-top: 0.35rem;
}

.card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 55px rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.8);
}

/* FEATURES GRID */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 41, 55, 0.95);
  padding: 1.15rem 1.1rem;
  font-size: 0.88rem;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.feature-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  color: var(--text-soft);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.9);
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.35), rgba(15, 23, 42, 0.98));
}

/* STEPS */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.step {
  position: relative;
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 41, 55, 0.95);
  padding: 1.2rem 1rem 1rem;
  font-size: 0.86rem;
  overflow: hidden;
}

.step-number {
  position: absolute;
  right: 1rem;
  top: 0.8rem;
  font-size: 2rem;
  font-weight: 600;
  color: rgba(55, 65, 81, 0.6);
}

.step h3 {
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

/* TIMELINE */

.timeline {
  border-left: 1px solid rgba(55, 65, 81, 0.9);
  margin-left: 1rem;
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -1.88rem;
  top: 0.3rem;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, var(--accent), var(--primary));
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.8);
}

.timeline-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text-soft);
  margin-bottom: 0.4rem;
}

.timeline-content h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* PRICING */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.pricing-card {
  background: radial-gradient(circle at top left, rgba(6, 182, 212, 0.12), transparent 60%), rgba(15, 23, 42, 0.98);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.95);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pricing-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.pricing-price {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.pricing-sub {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 0.9rem;
}

.pricing-card ul li {
  font-size: 0.85rem;
  position: relative;
  padding-left: 1.1rem;
  color: #e5e7eb;
}

.pricing-card ul li + li {
  margin-top: 0.35rem;
}

.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

.pricing-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 26px 55px rgba(15, 23, 42, 0.95);
  border-color: rgba(129, 140, 248, 0.95);
}

.pricing-card-highlight {
  border-color: rgba(129, 140, 248, 0.95);
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.25), rgba(15, 23, 42, 0.98));
}

.badge-popular {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.9);
  color: #e5e7eb;
}

/* CONTATO */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 2rem;
}

.contact-form {
  background: rgba(15, 23, 42, 0.98);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.95);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.form-group label {
  font-size: 0.8rem;
  color: #cbd5f5;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(17, 24, 39, 0.98);
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  resize: vertical;
  min-height: 36px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(129, 140, 248, 0.95);
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.6);
}

.form-note {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.contact-side {
  font-size: 0.9rem;
}

.contact-side h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.contact-side ul {
  margin-bottom: 0.7rem;
}

.contact-side ul li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: #e5e7eb;
}

.contact-side ul li + li {
  margin-top: 0.35rem;
}

.contact-side ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

/* FOOTER */

.footer {
  border-top: 1px solid rgba(31, 41, 55, 0.95);
  padding: 1.2rem 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.footer-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* REVEAL ANIMATION (SCROLL) */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease-out, transform 0.65s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVIDADE */

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    max-width: 380px;
    margin: 0 auto;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1.2fr);
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    inset: 64px 1rem auto 1rem;
    background: rgba(3, 7, 18, 0.98);
    border-radius: 18px;
    border: 1px solid rgba(31, 41, 55, 0.95);
    padding: 1rem 1.2rem 1.2rem;
    flex-direction: column;
    gap: 0.9rem;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 4rem;
  }

  .cards-grid,
  .features-grid,
  .steps-grid,
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    transform: none;
  }
}