/* ===================================================
   LANDING PAGE — MARKETING
   =================================================== */
:root {
  --m-bg: #0f1419;
  --m-card: #1a2332;
  --m-accent: #ea1d2c;
  --m-accent2: #ff6b35;
  --m-green: #25d366;
  --m-text: #e8eaed;
  --m-muted: #9aa0a6;
}

html {
  scroll-behavior: smooth;
  /* Evita “pulo” de largura quando a barra de rolagem entra/sai */
  scrollbar-gutter: stable;
}

/* BASE */
.marketing-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(165deg, var(--m-bg) 0%, #1a1f2e 50%, #12161d 100%);
  color: var(--m-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding-top: 68px; /* espaço para a topbar fixa */
  overflow-x: hidden; /* rolagem horizontal (ícone X do menu) não encolhe a tela */
}

.marketing-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* TOPBAR */
.marketing-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  background: rgba(15, 20, 25, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.marketing-topbar.is-scrolled {
  background: rgba(12, 16, 22, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.marketing-topbar__inner {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  min-width: 0;
}

.marketing-topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
  text-decoration: none;
  flex: 0 0 auto;
}

.marketing-topbar__brand-icon {
  width: 26px;
  height: 26px;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(234, 29, 44, 0.45));
}

/* “Fale conosco” no canto (tablet/celular) — substitui o menu hambúrguer */
.marketing-topbar__cta {
  display: none;
  margin-left: auto;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none !important;
  color: #eafff1 !important;
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.42), rgba(18, 140, 126, 0.38));
  border: 1px solid rgba(37, 211, 102, 0.55);
  box-shadow: 0 4px 14px rgba(18, 100, 80, 0.35);
  transition: background 0.2s, border-color 0.2s, transform 0.12s, box-shadow 0.2s;
}

.marketing-topbar__cta:hover,
.marketing-topbar__cta:focus-visible {
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.58), rgba(18, 140, 126, 0.52));
  border-color: rgba(55, 240, 130, 0.75);
  color: #fff !important;
  outline: none;
  box-shadow: 0 6px 20px rgba(18, 120, 90, 0.45);
}

.marketing-topbar__cta:active {
  transform: scale(0.98);
}

.marketing-topbar__cta-ic {
  font-size: 1rem;
  line-height: 1;
}

.marketing-topbar__cta-text--short {
  display: none;
}

.marketing-topbar__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* PILLS da topbar */
.m-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  color: #e8eaed !important;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s, border-color 0.2s, transform 0.15s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.m-nav-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
  color: #fff !important;
}

.m-nav-pill__icon {
  font-size: 0.95rem;
  line-height: 1;
}

.m-nav-pill--primary {
  background: linear-gradient(135deg, var(--m-accent), var(--m-accent2));
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(234, 29, 44, 0.4);
}

.m-nav-pill--primary:hover {
  background: linear-gradient(135deg, #ff2638, #ff7a42);
  box-shadow: 0 10px 26px rgba(234, 29, 44, 0.55);
  border-color: transparent;
  color: #fff !important;
}

/* Barra de atalhos (tablet e celular) — ícone + rótulo curto abaixo do header */
.marketing-quicknav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 45;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  padding: 0 env(safe-area-inset-left, 0) 0 env(safe-area-inset-right, 0);
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.marketing-quicknav__track {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 4px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 10px 10px;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  min-width: 0;
}

.marketing-quicknav__track::-webkit-scrollbar {
  display: none;
}

.marketing-quicknav__item {
  flex: 1 1 0;
  min-width: 56px;
  max-width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 4px 8px;
  border-radius: 12px;
  text-decoration: none !important;
  color: #e8eaed !important;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, transform 0.12s;
  scroll-snap-align: start;
}

.marketing-quicknav__item:hover,
.marketing-quicknav__item:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  outline: none;
}

.marketing-quicknav__item:active {
  transform: scale(0.97);
}

.marketing-quicknav__ic {
  font-size: 1.2rem;
  line-height: 1;
}

.marketing-quicknav__label {
  display: block;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (min-width: 1025px) {
  .marketing-quicknav {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .marketing-topbar__brand {
    min-width: 0;
    flex: 1 1 auto;
  }
  .marketing-topbar__brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .marketing-topbar__cta {
    display: inline-flex;
  }

  .marketing-topbar__links {
    display: none !important;
  }

  .marketing-quicknav {
    display: block;
  }

  .marketing-page {
    padding-top: 124px; /* 68 topbar + barra de atalhos */
  }

  /* Âncoras não ficam ocultas atrás do header + barra de atalhos */
  .marketing-section--lojas-reais {
    scroll-margin-top: 132px;
  }

  #demo-galeria,
  #beneficios,
  #planos,
  #faq,
  #cta-final,
  #brasil {
    scroll-margin-top: 128px;
  }
}

@media (max-width: 380px) {
  .marketing-topbar__cta-text--full {
    display: none;
  }
  .marketing-topbar__cta-text--short {
    display: inline;
  }
}

/* HERO */
.marketing-hero {
  text-align: center;
  padding: 60px 0 52px;
}

.marketing-hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 18px;
  background: linear-gradient(90deg, #fff 20%, #ffb4a8 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.marketing-hero p {
  color: var(--m-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.marketing-cta--primary {
  margin-bottom: 6px;
}

.marketing-hero-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
  padding-top: 4px;
}

.btn-m-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e8eaed !important;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-m-jump:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff !important;
}

.btn-m-jump:active {
  transform: scale(0.98);
}

button.btn-m-jump {
  color: #e8eaed;
}

.marketing-section--lojas-reais {
  scroll-margin-top: 88px;
}

#demo-galeria,
#beneficios,
#planos,
#faq,
#cta-final,
#brasil {
  scroll-margin-top: 84px;
}

/* BOTÕES */
.marketing-cta {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-m-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, var(--m-accent), var(--m-accent2));
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(234, 29, 44, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-m-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(234, 29, 44, 0.5);
  color: #fff !important;
}

.btn-m-primary.btn-lg {
  padding: 18px 40px;
  font-size: 1.15rem;
}

.btn-whatsapp-cta {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3) !important;
}

.btn-whatsapp-cta:hover {
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45) !important;
}

/* WhatsApp — ondas pulsantes */
.btn-whatsapp-pulse {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  overflow: visible;
  isolation: isolate;
}

.btn-whatsapp-pulse__rings {
  position: absolute;
  inset: -6px;
  border-radius: 14px;
  pointer-events: none;
  z-index: 0;
}

.btn-whatsapp-pulse.btn-lg .btn-whatsapp-pulse__rings {
  border-radius: 14px;
  inset: -8px;
}

.btn-whatsapp-pulse__rings::before,
.btn-whatsapp-pulse__rings::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: m-wa-ripple 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  will-change: transform, opacity;
}

.btn-whatsapp-pulse__rings::after {
  animation-delay: 1.2s;
  border-color: rgba(18, 140, 126, 0.45);
}

.btn-whatsapp-pulse__label {
  position: relative;
  z-index: 1;
}

.btn-whatsapp-pulse:hover .btn-whatsapp-pulse__rings::before,
.btn-whatsapp-pulse:hover .btn-whatsapp-pulse__rings::after {
  animation-duration: 2s;
}

@keyframes m-wa-ripple {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  70% {
    opacity: 0.2;
  }
  100% {
    transform: scale(1.42);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn-whatsapp-pulse__rings::before,
  .btn-whatsapp-pulse__rings::after {
    animation: none !important;
    opacity: 0 !important;
  }
}

.price-cta.btn-whatsapp-pulse {
  display: inline-flex !important;
  width: 100%;
  box-sizing: border-box;
}

.btn-m-ghost {
  display: inline-block;
  padding: 15px 30px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  background: transparent;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn-m-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff !important;
}

/* SEÇÕES */
.marketing-section {
  margin-top: 64px;
}

.marketing-section h2 {
  font-size: 1.6rem;
  margin: 0 0 8px;
  text-align: center;
}

.marketing-section .sub {
  text-align: center;
  color: var(--m-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--m-card);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.25s, transform 0.25s;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.feature-card .icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.feature-card p {
  margin: 0;
  color: var(--m-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* STEPS / COMO FUNCIONA */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step-card {
  background: var(--m-card);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.step-num {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--m-accent), var(--m-accent2));
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.step-card p {
  margin: 0;
  color: var(--m-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* DEMO TABS + GALLERY */
.demo-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.demo-tab {
  padding: 10px 22px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--m-muted);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.demo-tab:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.demo-tab.active {
  background: linear-gradient(135deg, var(--m-accent), var(--m-accent2));
  border-color: transparent;
  color: #fff;
}

.demo-gallery {
  position: relative;
}

.demo-slide {
  display: none;
}

.demo-slide.active {
  display: block;
  animation: fadeSlide 0.35s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.demo-preview {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s;
  background: #0f1419;
}

.demo-preview:hover {
  transform: scale(1.01);
}

.demo-preview img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 600px;
  object-fit: contain;
}

.demo-preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s;
}

.demo-preview:hover .demo-preview-overlay {
  opacity: 1;
}

.demo-preview-overlay span {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* PLANOS */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: var(--m-card);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

.price-card.destaque {
  border-color: var(--m-accent);
  box-shadow: 0 0 0 1px rgba(234, 29, 44, 0.3);
}

.price-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.price-card .preco {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.price-card .preco span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--m-muted);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  flex: 1;
  color: var(--m-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.price-card ul li::before {
  content: "✓ ";
  color: #4ade80;
}

.price-cta {
  margin-top: 18px;
  text-align: center;
  display: block;
  font: inherit;
}

/* RESTAURANTES */
.restaurants-rotator {
  min-height: 160px;
}

.restaurant-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.rest-card {
  background: var(--m-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: opacity 0.45s ease;
}

.rest-card-img {
  height: 120px;
  background: linear-gradient(135deg, #2d3748, #1a202c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  padding: 12px 16px;
  box-sizing: border-box;
}

/* Logos: manter proporção e tamanho de “selo”, não faixa de banner */
.rest-card-img img {
  display: block;
  max-width: 85%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
}

.rest-card-body {
  padding: 16px 18px 20px;
}

.rest-card-body h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.rest-card-body .meta {
  color: var(--m-muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.rest-card-body a {
  color: var(--m-accent2);
  font-weight: 600;
  text-decoration: none;
}

.rest-card-body a:hover {
  text-decoration: underline;
}

/* CTA FINAL */
.cta-final {
  text-align: center;
  padding: 48px 0 0;
}

/* FOOTER */
.marketing-footer {
  text-align: center;
  padding: 48px 20px 24px;
  color: var(--m-muted);
  font-size: 0.85rem;
}

.marketing-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 20px;
  margin-bottom: 16px;
}

.marketing-footer-nav a {
  color: var(--m-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.marketing-footer-nav a:hover {
  color: var(--m-accent2);
  text-decoration: underline;
}

.marketing-footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--m-muted);
}

/* Botão flutuante: fim da página ↔ início */
.marketing-scroll-fab {
  position: fixed;
  z-index: 9500;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  width: 52px;
  height: 52px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--m-accent), var(--m-accent2));
  color: #fff;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(234, 29, 44, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}

.marketing-scroll-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 36px rgba(234, 29, 44, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.marketing-scroll-fab:focus-visible {
  outline: 3px solid rgba(255, 107, 53, 0.85);
  outline-offset: 3px;
}

.marketing-scroll-fab:active {
  transform: scale(0.96);
}

.marketing-scroll-fab__icon {
  position: absolute;
  display: block;
}

.marketing-scroll-fab__icon--up {
  display: none;
}

.marketing-scroll-fab--to-top .marketing-scroll-fab__icon--down {
  display: none;
}

.marketing-scroll-fab--to-top .marketing-scroll-fab__icon--up {
  display: block;
}

@media (min-width: 900px) {
  .marketing-scroll-fab {
    right: max(28px, env(safe-area-inset-right, 0px));
    bottom: calc(32px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
    font-size: 1.55rem;
  }
}

/* ===================================================
   MODAL (demo painel — somente imagem)
   =================================================== */
.marketing-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

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

.marketing-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.marketing-modal-box {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #1a2332;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 16px 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.marketing-modal-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--m-text);
  padding-right: 36px;
}

.marketing-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--m-muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
}

.marketing-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.marketing-modal-img-wrap {
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
  background: #0f1419;
}

.marketing-modal-img-wrap img {
  width: 100%;
  height: auto;
  max-height: min(78vh, 900px);
  object-fit: contain;
  display: block;
}

/* Estados + FAQ (SEO) */
.estados-grid {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px 14px;
}

.estados-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--m-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.88rem;
}

.estado-sigla {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 6px;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, var(--m-accent), var(--m-accent2));
  border-radius: 6px;
}

.estado-nome {
  color: var(--m-muted);
  flex: 1;
  line-height: 1.25;
}

.faq-list {
  max-width: 720px;
  margin: 24px auto 0;
  text-align: left;
}

.faq-item {
  background: var(--m-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 600;
  color: var(--m-text);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--m-accent2);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--m-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .marketing-hero { padding-top: 36px; }
  .features-grid,
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .demo-preview-overlay { opacity: 1; }
  .demo-tabs { gap: 6px; }
  .demo-tab { padding: 8px 14px; font-size: 0.82rem; }
}
