/* ═══════════════════════════════════════════════════════════════
   WNEXO Site v3 — visual inovador, limpo, cores da marca
   Aplica-se a todas as páginas via index.html (SPA)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --r: 14px;
  --r-sm: 10px;
  --line: var(--wnx-border, #E8E8ED);
  --soft: #f9f9f9;
  --surface: #ffffff;
  --blue-glow: rgba(43, 108, 176, 0.08);
  --sh: var(--wnx-shadow-md, 0 2px 8px rgba(0, 0, 0, 0.06));
  --sh-hover: var(--wnx-shadow-lg, 0 4px 16px rgba(0, 0, 0, 0.08));
  --max: 1240px;
  --font-display: 'Plus Jakarta Sans', 'Sora', system-ui, sans-serif;
}

/* ——— Base & fundo ——— */
body {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.016em;
  background: var(--site-bg, #ffffff);
}

#site-content {
  position: relative;
  isolation: isolate;
}

#site-content::before {
  display: none;
}

h1 {
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.06;
}

h2 {
  font-weight: 700;
  letter-spacing: -0.024em;
  line-height: 1.12;
}

h3 {
  font-weight: 600;
}

.lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
}

/* ——— Kickers & badges ——— */
.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--blue-light);
  border: 1px solid rgba(43, 108, 176, 0.14);
}

.product-badge {
  display: inline-flex;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  background: var(--blue-light) !important;
  color: var(--blue) !important;
  border: 1px solid rgba(43, 108, 176, 0.14) !important;
}

.product-badge--conversas { background: #ecfdf5 !important; color: #15803d !important; border-color: rgba(22, 163, 74, 0.2) !important; }
.product-badge--radar { background: var(--blue-light) !important; color: var(--blue) !important; }
.product-badge--capta { background: #f5f3ff !important; color: #7c3aed !important; border-color: rgba(124, 58, 237, 0.2) !important; }

/* ——— Botões ——— */
.btn {
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary,
.btn-blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(43, 108, 176, 0.28) !important;
}

.btn-primary:hover,
.btn-blue:hover {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #174a7a 100%) !important;
  box-shadow: 0 8px 24px rgba(43, 108, 176, 0.32) !important;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: rgba(43, 108, 176, 0.4);
  background: var(--blue-light);
  color: var(--blue-dark);
}

.link-cta {
  font-size: 1rem;
  font-weight: 600;
}

/* ——— Navbar ——— */
.navbar {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: saturate(180%) blur(16px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(16px) !important;
  border-bottom: 1px solid var(--line);
}

.navbar.scrolled {
  box-shadow: 0 1px 0 var(--line);
}

.nav-links > a,
.nav-item > a {
  font-weight: 500;
  font-size: 0.9375rem;
}

.nav-links > a:hover,
.nav-item > a:hover,
.nav-links > a.active,
.nav-links > a.nav-inicio.active {
  color: var(--blue);
}

.nav-actions .btn-primary {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.dropdown {
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--sh-hover);
  padding: 6px;
}

.dropdown a {
  border-radius: 8px;
  font-size: 0.875rem;
}

.dropdown a:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
}

/* ——— Seções ——— */
.section {
  padding: 80px 0;
}

.section--compact {
  padding: 56px 0;
}

.bg-soft {
  background: transparent !important;
}

.section-title {
  margin-bottom: 44px;
}

.section-title h2 {
  max-width: 20ch;
}

.section-title p {
  font-size: 1rem;
  color: var(--muted);
}

/* ——— Hero HOME ——— */
.hero-showcase {
  position: relative;
}

.hero-showcase::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: min(480px, 45vw);
  height: min(480px, 45vw);
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero-showcase-kicker {
  color: var(--blue);
  background: var(--blue-light);
  border-color: rgba(43, 108, 176, 0.14);
}

.hero-showcase-copy h1 {
  font-size: clamp(2.125rem, 4.5vw, 3.375rem);
}

.hero-showcase-copy .hero-sub {
  font-size: 1.0625rem;
  color: var(--text);
  max-width: 28em;
}

/* ——— Hero SUBPÁGINAS (split moderno) ——— */
.page-hero-cinema,
.hero-cinema {
  position: relative;
  color: var(--ink);
  min-height: auto;
  padding: calc(var(--nav-h) + 28px) 0 40px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: visible;
}

.page-hero-cinema .hero-cinema-content,
.hero-cinema .hero-cinema-content {
  order: 1;
  position: relative;
  z-index: 2;
  padding: 0 28px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.page-hero-cinema .hero-cinema-content.wrap-lg,
.hero-cinema .hero-cinema-content.wrap-lg {
  padding-left: 28px;
  padding-right: 28px;
}

.page-hero-cinema .hero-cinema-content h1,
.hero-cinema .hero-cinema-content h1 {
  color: var(--ink-soft);
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 2.875rem);
}

.page-hero-cinema .hero-cinema-content .hero-sub,
.hero-cinema .hero-cinema-content .hero-sub {
  color: var(--text);
  font-size: 1.0625rem;
  max-width: 32em;
}

.page-hero-cinema .hero-cinema-media,
.hero-cinema .hero-cinema-media {
  order: 2;
  position: relative;
  inset: auto;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  height: clamp(220px, 42vw, 400px);
}

.page-hero-cinema .hero-cinema-media img,
.hero-cinema .hero-cinema-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  border-radius: var(--r);
  box-shadow: var(--sh);
}

.page-hero-cinema .hero-cinema-scrim,
.hero-cinema .hero-cinema-scrim {
  border-radius: var(--r);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(240, 247, 252, 0.25) 100%);
}

@media (min-width: 992px) {
  .page-hero-cinema,
  .hero-cinema {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 48px;
    padding: calc(var(--nav-h) + 56px) 28px 72px;
    max-width: var(--max);
    margin: 0 auto;
  }

  .page-hero-cinema .hero-cinema-content,
  .hero-cinema .hero-cinema-content {
    order: unset;
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    margin: 0;
  }

  .page-hero-cinema .hero-cinema-media,
  .hero-cinema .hero-cinema-media {
    order: unset;
    grid-column: 2;
    grid-row: 1;
    padding: 0;
    margin: 0;
    height: clamp(380px, 38vw, 520px);
    max-width: none;
  }
}

/* ——— Pricing strip → card flutuante ——— */
.pricing-strip {
  background: transparent;
  border: none;
  padding: 0 0 8px;
  margin-top: -8px;
}

.pricing-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh);
}

.pricing-strip--conversas .pricing-strip-inner { border-left: 4px solid #22c55e; }
.pricing-strip--radar .pricing-strip-inner { border-left: 4px solid var(--blue); }
.pricing-strip--capta .pricing-strip-inner { border-left: 4px solid #8b5cf6; }

/* ——— Feature rows ——— */
.feature-row + .feature-row {
  border-top: none;
}

.feature-row-inner {
  gap: 40px;
}

.feature-row-copy h2 {
  font-size: clamp(1.625rem, 2.8vw, 2.25rem);
  max-width: 18ch;
}

.page-mockup,
.page-mockup--teaser,
.feature-row-visual img {
  border-radius: var(--r) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--sh) !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  max-height: min(420px, 52vh) !important;
  object-fit: cover;
}

.page-visual--people {
  border-radius: var(--r);
  box-shadow: var(--sh);
  border: 1px solid var(--line);
}

/* ——— Showcase sistema ——— */
.system-showcase {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.system-showcase-ticker {
  display: none;
}

.wnx-feature-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.wnx-feature-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  background: var(--soft);
  border: 1px solid var(--line);
}

.wnx-feature-chips span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.hero-showcase-orbit,
.hero-showcase-float {
  display: none !important;
}

.hero-showcase-device {
  transform: none !important;
  animation: none !important;
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--sh);
  background: #fff;
}

.hero-showcase-stage:hover .hero-showcase-device {
  transform: none !important;
}

.hero-showcase-screen,
.hero-showcase-slide img,
.hero-showcase-shot {
  background: #fff;
}

.hero-showcase-caption {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, transparent 100%);
}

.system-showcase-intro h2 {
  font-weight: 700;
}

/* ——— Cards produto ——— */
.product-card {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: none;
  padding: 24px 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 108, 176, 0.3);
  box-shadow: var(--sh-hover);
}

.product-card i {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.35rem;
}

.product-card--clinica,
.product-card--conversas,
.product-card--radar,
.product-card--capta {
  border-top: none;
}

.product-card--clinica i { color: var(--blue); background: var(--blue-light); }
.product-card--clinica .product-card-link { color: var(--blue); }
.product-card--clinica .product-card-badge { background: rgba(43, 108, 176, 0.1); color: var(--blue-dark); }

.product-card--conversas i { color: #16a34a; background: #ecfdf5; }
.product-card--conversas .product-card-link { color: #15803d; }

.product-card--radar i { color: var(--blue); background: var(--blue-light); }
.product-card--radar .product-card-link { color: var(--blue); }

.product-card--capta i { color: #7c3aed; background: #f5f3ff; }
.product-card--capta .product-card-link { color: #7c3aed; }

.product-card--featured {
  background: linear-gradient(145deg, #fff 0%, var(--blue-light) 100%);
  border: 1px solid rgba(43, 108, 176, 0.16);
}

.product-card--featured h3,
.product-card--featured p,
.product-card--featured .product-card-price { color: inherit; }
.product-card--featured p { color: var(--text); }
.product-card--featured i { color: var(--blue); background: #fff; }
.product-card--featured .product-card-link { color: var(--blue); }

/* ——— Módulos & benefits (bento) ——— */
.module-card {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 22px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.module-card:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 108, 176, 0.28);
  box-shadow: var(--sh-hover);
}

.module-card i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--blue-light);
  font-size: 1.2rem;
  color: var(--blue);
}

.benefit-item {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 28px 24px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.benefit-item:hover {
  border-color: rgba(43, 108, 176, 0.25);
  box-shadow: var(--sh);
}

.benefit-item i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--blue-light);
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.benefit-item h3 {
  font-size: 1.0625rem;
}

/* ——— Flow diagram ——— */
.wnx-flow-diagram {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--sh);
}

.wnx-flow-step {
  border-radius: 12px;
  border-color: var(--line);
}

/* ——— Tags & depoimentos ——— */
.tag-cloud a {
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 16px;
  transition: all 0.2s ease;
}

.tag-cloud a:hover {
  border-color: rgba(43, 108, 176, 0.35);
  color: var(--blue);
  background: var(--blue-light);
  transform: translateY(-1px);
}

.testimonial {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 28px 26px;
  transition: box-shadow 0.2s ease;
}

.testimonial:hover {
  box-shadow: var(--sh);
}

.testimonial q {
  font-size: 1rem;
  line-height: 1.65;
}

/* ——— CTA ——— */
.cta-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding: 88px 0;
  text-align: center;
}

.cta-section::before {
  display: none;
}

.cta-section h2 {
  font-weight: 700;
  position: relative;
}

.cta-section p {
  position: relative;
}

.cta-section .btn {
  position: relative;
}

.cta-section--conversas,
.cta-section--radar,
.cta-section--capta {
  /* faixas alternadas em style.css */
}

/* ——— Pricing table ——— */
.pricing-table-wrap {
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--sh);
  overflow: hidden;
}

.pricing-table th {
  background: var(--soft);
  color: var(--ink);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8125rem;
  padding: 16px 20px;
}

.pricing-table td {
  padding: 16px 20px;
}

.pricing-table-highlight td {
  background: var(--blue-light);
}

.billing-explainer-card {
  border-radius: var(--r);
  border: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.billing-explainer-card:hover {
  box-shadow: var(--sh);
}

.audience-card {
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: none;
}

.audience-card:hover {
  box-shadow: var(--sh-hover);
  border-color: rgba(43, 108, 176, 0.25);
}

/* ——— Reveal mais suave ——— */
.reveal {
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ——— Overrides hero cinema (tema claro split) ——— */
.page-hero-cinema .hero-cinema-content .kicker,
.hero-cinema .hero-cinema-content .kicker {
  color: var(--blue);
}

.page-hero-cinema .hero-cinema-content .btn-primary,
.page-hero-cinema .hero-cinema-content .btn-blue,
.hero-cinema .hero-cinema-content .btn-primary,
.hero-cinema .hero-cinema-content .btn-blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(43, 108, 176, 0.28);
}

.page-hero-cinema .hero-cinema-content .btn-outline,
.hero-cinema .hero-cinema-content .btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
  backdrop-filter: none;
}

.page-hero-cinema .hero-cinema-content .btn-outline:hover,
.hero-cinema .hero-cinema-content .btn-outline:hover {
  background: var(--blue-light);
  border-color: rgba(43, 108, 176, 0.4);
  color: var(--blue-dark);
}

.page-hero-cinema .hero-cinema-scrim,
.hero-cinema .hero-cinema-scrim {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(240, 247, 252, 0.2) 100%);
}

/* ——— Link CTA ——— */
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  transition: gap 0.2s ease, color 0.2s ease;
}

.link-cta::after {
  content: '→';
  transition: transform 0.2s ease;
}

.link-cta:hover {
  color: var(--blue-dark);
  gap: 10px;
}

/* ——— Grids produto/módulo ——— */
.product-grid,
.module-grid {
  gap: 16px;
}

.product-grid--portfolio {
  gap: 14px;
}

@media (min-width: 992px) {
  .product-grid--portfolio {
    gap: 16px;
  }
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .benefit-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

/* ——— Especialidades ——— */
.wnx-pain-card {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.wnx-pain-card:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 108, 176, 0.25);
  box-shadow: var(--sh-hover);
}

.wnx-pain-card__icon {
  border-radius: 11px;
  background: var(--blue-light);
  border-color: rgba(43, 108, 176, 0.12);
}

.wnx-pain-card__icon i {
  color: var(--blue);
}

.wnx-pain-card__fix {
  border-top-color: var(--line);
}

.wnx-spec-feature,
.wnx-spec-workflow__step {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.wnx-spec-feature:hover,
.wnx-spec-workflow__step:hover {
  border-color: rgba(43, 108, 176, 0.22);
  box-shadow: var(--sh);
}

.wnx-spec-workflow__num {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
}

/* ——— Capability stack (Bia etc.) ——— */
.wnx-capability-item {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wnx-capability-item:hover {
  border-color: rgba(43, 108, 176, 0.28);
  box-shadow: var(--sh);
  transform: translateX(4px);
}

.wnx-capability-item i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--blue-light);
}

/* ——— Diagrama ecossistema ——— */
.ecosystem-diagram {
  background: var(--soft);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--sh);
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
}

/* ——— Compare / billing cards ——— */
.compare-card,
.billing-explainer-card,
.audience-card {
  background: var(--surface);
}

.compare-card:hover {
  box-shadow: var(--sh-hover);
  border-color: rgba(43, 108, 176, 0.22);
}

/* ——— Mobile nav ——— */
.mobile-nav {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--line);
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.08);
}

.mobile-nav a {
  border-radius: 10px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--blue-light);
  color: var(--blue);
}

.mobile-nav-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hamburger {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hamburger:hover {
  background: var(--blue-light);
  border-color: rgba(43, 108, 176, 0.3);
}

/* ——— Contato / formulário ——— */
.contact-grid {
  gap: 32px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(43, 108, 176, 0.5);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

/* ——— Responsivo ——— */
@media (max-width: 991px) {
  .section {
    padding: 64px 0;
  }

  .section--compact {
    padding: 48px 0;
  }

  .page-hero-cinema .hero-cinema-content h1,
  .hero-cinema .hero-cinema-content h1 {
    max-width: none;
  }
}
