* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb;
  color: #111827;
  line-height: 1.5;
}

/* Desabilita scroll quando modal está aberto */
body.no-scroll {
  overflow: hidden;
}

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

/* Link de pular para o conteúdo (acessibilidade) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  background: #111827;
  color: #ffffff;
  border-radius: 0.5rem;
  z-index: 100;
}

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

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

/* LOGO RESPONSIVA */
.logo-img {
  display: block;
  max-width: 100%;
  height: auto;
  /* largura base em desktops, encolhe em telas menores */
  width: clamp(120px, 16vw, 180px);
}

/* opcional: ajuste ligeiramente diferente no footer, se quiser menor em telas grandes */
/*
.footer-logo .logo-img {
  width: clamp(120px, 20vw, 170px);
}
*/

.logo span {
  font-weight: 600;
  font-size: 1rem;
}

/* Navegação */
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.95rem;
}

.nav-links a {
  color: #4b5563;
}

.nav-links a:hover {
  color: #111827;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #020617;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

/* Garante que links com classe de botão não recebam sublinhado */
.btn-primary,
.btn-outline {
  text-decoration: none !important;
}

.nav-links .btn-outline {
  margin-left: 2.5rem;
}

.nav-links .btn-primary {
  color: #ffffff !important;
}

.btn-primary:hover {
  background: #020617;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28);
}

.btn-outline {
  background: #fff;
  color: #111827;
  border-color: #e5e7eb;
}

.btn-outline:hover {
  background: #f9fafb;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-dark {
  background: #020617;
  color: #f9fafb;
}

/* Hero centralizado */
.hero {
  padding: 5rem 0 4.5rem;
}

.hero-container {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-top: 1.8rem;
  margin-bottom: 1.4rem;
}

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

.hero-title .highlight {
  color: #2563eb;
  display: inline-block;
}

.hero-title .highlight-ia {
  font-weight: 800;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: #6b7280;
  margin-bottom: 2.4rem;
}

.hero-subtitle-center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.8;
}

/* Destaques tipo "tags" */
.hero-subtitle mark {
  background: #fee2e2;
  color: #1f2933;
  border-radius: 0.35rem;
  padding: 0.08rem 0.4rem;
}

.hero-subtitle .mark-good {
  background: #e0ebff;
  color: #1d4ed8;
}

/* centralização do botão */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.hero-actions-center {
  justify-content: center;
}

.btn-hero-primary {
  min-width: 240px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

.btn-hero-secondary {
  min-width: 240px;
  background: #ffffff;
}

/* Sections (resto da página) */
section {
  padding: 3.5rem 0;
  border-top: 1px solid #e5e7eb;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  text-align: center;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 2.2rem;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  border-radius: 1.1rem;
  padding: 1.4rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
  border: 1px solid #e5e7eb;
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.feature-text {
  font-size: 0.92rem;
  color: #6b7280;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.75rem 1.6rem 1.6rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  background: #020617;
  color: #f9fafb;
  border-color: #020617;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.5);
  transform: translateY(-8px);
}

.pricing-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.pricing-card.featured .pricing-icon {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.pricing-badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #1d4ed8;
  color: #f9fafb;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.pricing-subtitle {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1.1rem;
}

.pricing-card.featured .pricing-subtitle {
  color: #e5e7eb;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.15rem;
}

.pricing-price-main {
  font-size: 1.9rem;
  font-weight: 700;
}

.pricing-price-period {
  font-size: 0.9rem;
  color: #6b7280;
}

.pricing-card.featured .pricing-price-period {
  color: #e5e7eb;
}

.pricing-price-note {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 1.1rem;
}

.pricing-card.featured .pricing-price-note {
  color: #e5e7eb;
}

.pricing-cta {
  width: 100%;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* CTA invertida no card destacado */
.pricing-card.featured .pricing-cta.btn.btn-primary {
  background: #ffffff;
  color: #020617;
  box-shadow: none;
}

.pricing-card.featured .pricing-cta.btn.btn-primary:hover {
  background: #e5e7eb;
}

/* Divisor e título da lista */
.pricing-divider {
  height: 1px;
  width: 100%;
  background: #e5e7eb;
  margin-bottom: 0.85rem;
}

.pricing-card.featured .pricing-divider {
  background: rgba(148, 163, 184, 0.4);
}

.pricing-included-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.pricing-card.featured .pricing-included-label {
  color: #e5e7eb;
}

/* Lista de recursos */
.pricing-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.pricing-list li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  margin-bottom: 0.4rem;
}

.pricing-list li::before {
  content: "✔";
  color: #22c55e;
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

.pricing-card.featured .pricing-list {
  color: #e5e7eb;
}

/* ============================
   Seção de integrações com marketplaces
   ============================ */

.integrations-section {
  padding: 80px 16px;
  background: #f5f7fb;
}

.integrations-container {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

/* CAIXA 1: texto com fundo cinza */
.integrations-top {
  background: #f5f7fb;   /* mesmo fundo do body */
  border-radius: 16px;
  padding: 32px 24px;
  margin-bottom: 24px;
}

.integrations-top h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.integrations-top p {
  font-size: 1rem;
  color: #5f6473;
  max-width: 720px;
  margin: 0 auto;
}

/* CAIXA 2: card branco com logos */
.integrations-card {
  padding: 32px 32px 28px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

/* linha de logos principais */
.integrations-main-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.market-logo {
  height: 32px;   /* ajuste se quiser maior/menor */
  width: auto;
  display: block;
}

/* texto acima dos chips */
.integrations-subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 16px;
}

/* chips de outros marketplaces */
.integrations-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 0.9rem;
  color: #111827;
}

.integrations-footnote {
  margin-top: 24px;
  font-size: 0.9rem;
  color: #6b7280;
}

/* FAQ */
.faq-grid {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid #e5e7eb;
}

.faq-q {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.faq-a {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Footer */
footer {
  padding: 2.5rem 0 2rem;
  background: #ffffff;
  font-size: 0.85rem;
  color: #6b7280;
}

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

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-brand {
  max-width: 420px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem; /* espaçamento maior entre logo e texto */
}

.footer-logo span {
  font-weight: 600;
  font-size: 1rem;
  color: #111827;
}

.footer-description {
  font-size: 0.9rem;
  color: #6b7280;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.9rem;
}

.footer-links a {
  color: #4b5563;
}

.footer-links a:hover {
  color: #111827;
}

.footer-divider {
  height: 1px;
  width: 100%;
  background: #e5e7eb;
}

.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #9ca3af;
}

/* Footer responsivo */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    margin-top: 0.75rem;
  }
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: 1rem;
  max-width: 520px;
  width: 100%;
  padding: 1.5rem 1.75rem 1.25rem;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.35);
  outline: none;
}

/* Cabeçalho do modal */
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.modal-step {
  font-size: 0.82rem;
  color: #6b7280;
  margin-top: 0.15rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
}

/* Barra de progresso do modal */
.modal-progress {
  width: 100%;
  height: 3px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.modal-progress-bar {
  width: 50%;
  height: 100%;
  background: #111827;
}

/* Conteúdo do modal */
.modal-content {
  margin-bottom: 1.5rem;
}

.modal-question {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Opções do modal */
.modal-option {
  width: 100%;
  text-align: left;
  border-radius: 0.7rem;
  border: 1px solid #e5e7eb;
  padding: 0.9rem 1rem;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  cursor: pointer;
  margin-bottom: 0.6rem;
  transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.modal-option-icon {
  font-size: 1.1rem;
}

.modal-option:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

/* Opção selecionada */
.modal-option.selected {
  border-color: #111827;
  background: #f3f4ff;
  box-shadow: 0 0 0 1px #111827;
}

/* Campos de formulário do modal de teste grátis */
.modal-field {
  margin-bottom: 0.8rem;
  text-align: left;
  font-size: 0.9rem;
}

.modal-field label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.modal-input,
.modal-select {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  outline: none;
}

.modal-input:focus,
.modal-select:focus {
  border-color: #111827;
  box-shadow: 0 0 0 1px #11182711;
}

/* Rodapé do modal */
.modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 0.9rem;
  margin-top: 0.3rem;
}

.modal-footer .btn {
  flex: 1;
}

/* Responsivo */
@media (max-width: 960px) {
  .features-grid,
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    position: static;
  }

  .hero {
    padding-top: 3rem;
  }

  .nav-links {
    display: none;
  }

  .dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================
   Páginas legais (Termos / Política)
   ============================ */

.legal-main {
  padding: 3rem 0;
}

.legal-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.legal-section {
  margin-bottom: 1.8rem;
}

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.legal-section p,
.legal-section li {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.7;
}

.legal-section ul {
  margin-left: 1.2rem;
  margin-top: 0.4rem;
}

.legal-section ul li {
  list-style: disc;
  margin-bottom: 0.2rem;
}

.legal-highlight {
  font-weight: 600;
}

/* Links dentro das páginas legais (não afeta a landing principal) */
.legal-main a {
  color: #2563eb;
  text-decoration: underline;
}

.legal-main a:hover {
  text-decoration: none;
}

/* Ajustes responsivos das páginas legais */
@media (max-width: 768px) {
  .legal-main {
    padding: 2.2rem 0;
  }

  .legal-title {
    font-size: 1.6rem;
  }

  .legal-section h2 {
    font-size: 1.05rem;
  }
}
