/* ============================================================
   Mensiz · Landing — VERSÃO CLARA
   Paleta: fundo slate-50 azulado, azul corporativo escurecido,
   cards brancos com sombra premium. Hero/Galeria/Contato/CTA
   usam scrim escuro robusto pra funcionar com QUALQUER imagem.
   ============================================================ */

:root {
  /* ── BASE CLARA ── */
  --bg:         #f4f7fc;          /* slate-50 azulado, NÃO branco puro */
  --bg-2:       #ffffff;          /* superfície dos cards */
  --bg-3:       #e8eef9;          /* highlight sutil (faixas, hover) */
  --bg-deep:    #dfe7f5;          /* "navy" do tema claro — divisor */

  --ink:        #0b1530;          /* texto principal */
  --ink-soft:   #1a2347;          /* títulos secundários */
  --muted:      #4a5578;          /* texto corrido confortável */
  --muted-dim:  #7c87a8;          /* legendas, notas */
  --white:      #ffffff;

  --line:       rgba(11, 21, 48, 0.10);
  --line-soft:  rgba(11, 21, 48, 0.05);

  /* ── AZUL escurecido pra ter peso em fundo claro ── */
  --blue:        #1c46d4;
  --blue-bright: #2f6bff;
  --blue-deep:   #133aaf;
  --cyan:        #0891b2;
  --cyan-hi:     #06b6d4;
  --grad:        linear-gradient(135deg, #1c46d4 0%, #2f6bff 100%);
  --grad-soft:   linear-gradient(135deg, #2f6bff 0%, #06b6d4 100%);
  --grad-deep:   linear-gradient(135deg, #133aaf 0%, #1c46d4 100%);

  /* ── ACENTOS ── */
  --danger:     #dc2626;
  --danger-soft:#fee2e2;
  --win:        #059669;
  --win-soft:   #d1fae5;

  /* ── CTA ── */
  --cta-orange:    #d65a00;
  --cta-orange-hi: #b94d00;
  --wa-green:      #25d366;
  --wa-green-hi:   #1fb955;

  /* ── ÁREAS COM IMAGEM (texto branco SEMPRE) ── */
  --over-text:       #ffffff;
  --over-muted:      #d8e1f5;
  --over-bg:         #060a17;       /* fallback se imagem não carrega */
  --over-scrim:      rgba(6, 10, 23, 0.62);

  /* ── SOMBRAS PREMIUM (substitui bordas) ── */
  --sh-sm:  0 2px 8px rgba(11, 21, 48, 0.04);
  --sh-md:  0 4px 24px rgba(11, 21, 48, 0.07), 0 1px 3px rgba(11, 21, 48, 0.04);
  --sh-lg:  0 12px 40px rgba(11, 21, 48, 0.10), 0 2px 6px rgba(11, 21, 48, 0.05);
  --sh-xl:  0 24px 60px rgba(11, 21, 48, 0.14), 0 4px 12px rgba(11, 21, 48, 0.06);
  --sh-blue: 0 12px 32px -8px rgba(28, 70, 212, 0.42);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01";
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============ Botões ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn-lg { padding: 17px 34px; font-size: 16px; border-radius: 14px; }

.btn-primary {
  background: var(--grad);
  color: #ffffff;
  box-shadow: var(--sh-blue);
}
.btn-primary:hover {
  transform: translateY(-3px);
  background: var(--grad-deep);
  box-shadow: 0 20px 44px -10px rgba(28, 70, 212, 0.55);
}

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(28, 70, 212, 0.08); }

.btn-glass {
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
}
.btn-glass:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: var(--sh-md);
}

.btn-outline {
  background: var(--bg-2);
  color: var(--blue-deep);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover {
  transform: translateY(-3px);
  background: var(--blue);
  color: #ffffff;
}

.btn-soft-blue {
  background: rgba(28, 70, 212, 0.10);
  color: var(--blue-deep);
  border: 1px solid rgba(28, 70, 212, 0.25);
}
.btn-soft-blue:hover {
  transform: translateY(-3px);
  background: rgba(28, 70, 212, 0.16);
  border-color: var(--blue);
}

/* Variantes nas áreas escuras (over) precisam de cor invertida.
   No header: só inverte enquanto NÃO está .scrolled — depois do scroll
   ele vira branco e o texto precisa voltar pro ink. */
.hero .btn-ghost,
.site-header:not(.scrolled) .btn-ghost {
  color: var(--over-text);
}
.hero .btn-ghost:hover,
.site-header:not(.scrolled) .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}
.hero .btn-glass {
  background: rgba(255, 255, 255, 0.14);
  color: var(--over-text);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero .btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ============ Pills ============ */
.pill {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(28, 70, 212, 0.10);
  border: 1px solid rgba(28, 70, 212, 0.22);
  color: var(--blue-deep);
  font-size: 11.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 22px;
}
.pill-glow {
  background: var(--grad);
  border-color: transparent;
  color: #ffffff;
  box-shadow: var(--sh-blue);
}
/* Antes era rosa (var(--danger-soft) + --danger) — destoava da paleta.
   Agora é uma variante mais saturada do azul-marinho da marca pra continuar
   destacando ("As 4 armadilhas...") sem sair do tom navy. */
.pill-danger {
  background: rgba(47, 107, 255, 0.16);
  border-color: rgba(47, 107, 255, 0.40);
  color: #1c46d4;
}
/* Pills dentro do hero/over voltam pra paleta clara/translúcida */
.hero .pill {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--over-text);
}

/* ============ Topbar ============ */
.topbar {
  background: var(--grad);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 24px;
  flex-wrap: wrap;
  text-align: center;
}
.topbar strong { font-weight: 900; }
.topbar a {
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #ffffff;
}
.topbar-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ffffff;
  animation: pulse 1.6s infinite;
}
@media (max-width: 720px) {
  .topbar { font-size: 11px; line-height: 1.3; }
  .topbar-inner { padding: 6px 12px; gap: 6px; }
  .topbar-dot { width: 6px; height: 6px; }
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .35; transform: scale(.7); }
}

/* ============ Header ============
   Quando sticky por cima do hero (que é escuro): mantém vidro claro
   translúcido. Após scroll: branco sólido com sombra. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 247, 252, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
/* Quando o hero abaixo é escuro, o header inicial fica translúcido escuro
   pra texto branco ficar legível em cima dele */
.site-header {
  background: rgba(6, 10, 23, 0.5);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--line);
  box-shadow: var(--sh-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: #ffffff;
  transition: color .2s;
}
.site-header.scrolled .brand { color: var(--ink); }
.brand-logo {
  width: 34px; height: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(56, 214, 248, 0.4));
  transition: filter .2s;
}
.site-header.scrolled .brand-logo {
  filter: none;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  transition: color .2s;
}
.nav-links a:hover { color: #ffffff; }
.site-header.scrolled .nav-links a { color: var(--muted); }
.site-header.scrolled .nav-links a:hover { color: var(--ink); }

.header-cta { display: flex; gap: 10px; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .header-cta .btn-ghost { display: none; }
}

/* ============ Hero ============
   Mantém escuro com vídeo/foto. Texto branco. Independente da imagem
   porque tem scrim escuro robusto por cima de tudo. */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 0 70px;
  overflow: hidden;
  background: var(--over-bg);
  color: var(--over-text);
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--over-bg);
}
.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-corner-mask {
  position: absolute;
  bottom: 0; right: 0;
  z-index: 1;
  width: 40%; height: 46%;
  min-width: 420px; min-height: 320px;
  background: radial-gradient(ellipse 100% 100% at bottom right,
    var(--over-bg) 0%, var(--over-bg) 39%, rgba(6, 10, 23, 0.5) 65%, transparent 100%);
  pointer-events: none;
}
.hero-scrim {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, var(--over-bg) 14%, rgba(6, 10, 23, 0.92) 38%, rgba(6, 10, 23, 0.5) 62%, rgba(6, 10, 23, 0.2) 100%),
    linear-gradient(180deg, rgba(6, 10, 23, 0.55) 0%, transparent 22%, transparent 70%, var(--bg) 100%);
}
.hero-grid { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 520px; }
.hero h1 {
  font-size: clamp(27px, 3.6vw, 46px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.07;
  margin: 0 0 20px;
  color: var(--over-text);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #6da7ff 0%, #38d6f8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead {
  font-size: clamp(13.5px, 1.15vw, 16px);
  color: var(--over-muted);
  margin: 0 0 28px;
}
.hero .lead strong { color: var(--over-text); font-weight: 800; }
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  color: var(--over-muted);
}
.hero-trust span { white-space: nowrap; }

.hero-scroll {
  position: relative;
  z-index: 2;
  margin: 44px auto 0;
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  display: flex;
  justify-content: center;
}
.hero-scroll span {
  width: 4px; height: 9px;
  background: #ffffff;
  border-radius: 2px;
  margin-top: 7px;
  animation: scrolldot 1.7s infinite;
}
@keyframes scrolldot {
  0% { opacity: 0; transform: translateY(-4px); }
  40% { opacity: 1; }
  80%,100% { opacity: 0; transform: translateY(12px); }
}
@media (max-width: 880px) {
  .hero { min-height: auto; padding: 60px 0 50px; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(6, 10, 23, 0.72) 0%, rgba(6, 10, 23, 0.88) 45%, var(--bg) 100%);
  }
  .hero-scroll { display: none; }
}

/* ============ Seções base ============ */
.section { padding: 104px 0; position: relative; background: var(--bg); }
.section h2 {
  font-size: clamp(27px, 3.8vw, 44px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 820px;
}
.section h2 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-lead {
  font-size: 17.5px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 0 52px;
  font-weight: 500;
}
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 12px;
}
.center-cta { text-align: center; margin-top: 44px; }

/* Revelar ao scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ Showcase / vídeo ============ */
.showcase {
  padding: 88px 0;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(28, 70, 212, 0.06), transparent 70%),
    var(--bg-3);
  border-top: 1px solid var(--line-soft);
}
.showcase-title {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 auto 38px;
  max-width: 720px;
}
.showcase-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.video-frame {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: var(--over-bg);     /* fallback caso vídeo demore */
  box-shadow: var(--sh-xl);
}
.video-frame video,
.video-frame img {
  width: 100%;
  display: block;
  background: var(--over-bg);
}
.video-glow {
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: var(--grad);
  filter: blur(34px);
  opacity: 0.35;
}
.video-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: var(--sh-sm);
}
.showcase-note {
  font-size: 14px;
  color: var(--muted);
  margin: 30px auto 0;
  max-width: 560px;
}

/* ============ Stats strip ============ */
.stats-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 54px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat-num {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 700;
}
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
}

/* ============ Manifesto / FOMO ============ */
.section-manifesto { background: var(--bg-2); }
.versus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 800px) { .versus { grid-template-columns: 1fr; } }
.versus-col {
  border-radius: 20px;
  padding: 30px 28px;
  border: none;
  background: var(--bg-2);
  box-shadow: var(--sh-md);
}
.col-loser, .col-winner {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  box-shadow: var(--sh-lg);
}
.versus-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}
/* Títulos "Dor 1·2·3·4" — pílula azul-marinho da marca. O rosa pastel
   (var(--danger-soft)) anterior destoava da paleta navy da landing;
   agora a tag fica coesa com o resto. */
.tag-loser, .tag-winner {
  background: rgba(47,107,255,0.10);
  color: #1c46d4;
  border: 1px solid rgba(47,107,255,0.30);
}
.versus-col ul { list-style: none; margin: 0; padding: 0; }
.versus-col li {
  position: relative;
  padding: 11px 0 11px 30px;
  font-size: 14.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
}
.versus-col li:last-child { border-bottom: none; }
.versus-col li strong { color: var(--ink); font-weight: 800; }

.versus-col li.li-problema::before {
  content: '✕';
  position: absolute; left: 0; top: 11px;
  color: var(--danger);
  font-weight: 900;
}
.versus-col li.li-cura::before {
  content: '✓';
  position: absolute; left: 0; top: 11px;
  color: var(--win);
  font-weight: 900;
}
.versus-col li.li-problema strong { color: var(--danger); }
.versus-col li.li-cura strong { color: var(--win); }

.manifesto-kicker {
  text-align: center;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  color: var(--muted);
  max-width: 760px;
  margin: 48px auto 0;
}
.manifesto-kicker strong {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

/* ============ Poder / Cascata ============ */
.section-poder { background: var(--bg); }
.cascade {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.cas-step {
  flex: 1 1 0;
  min-width: 105px;
  position: relative;
  background: var(--bg-2);
  border: none;
  border-radius: 14px;
  padding: 22px 10px 16px;
  text-align: center;
  box-shadow: var(--sh-sm);
  transition: transform .25s, box-shadow .25s;
}
.cas-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
}
.cas-n {
  position: absolute;
  top: 8px; right: 10px;
  font-size: 10px;
  font-weight: 900;
  color: var(--muted-dim);
  letter-spacing: 0.05em;
}
.cas-ico { font-size: 26px; margin-bottom: 6px; }
.cas-step h3 { font-size: 13.5px; font-weight: 900; margin: 0 0 5px; color: var(--ink); }
.cas-step p { font-size: 11.5px; color: var(--muted); margin: 0; line-height: 1.45; }
.cas-arrow {
  display: flex;
  align-items: center;
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
}
.poder-kicker {
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-deep);
  margin: 44px auto 0;
}
@media (max-width: 1100px) {
  .cas-step h3 { font-size: 13px; }
  .cas-step p { font-size: 11px; }
  .cas-arrow { font-size: 16px; }
}
@media (max-width: 920px) {
  .cas-arrow { display: none; }
  .cas-step { min-width: 44%; }
  .cas-step h3 { font-size: 14px; }
  .cas-step p { font-size: 12px; }
}

/* ============ IA ============ */
.section-ia {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-3) 100%);
  overflow: hidden;
}
.ia-bg {
  position: absolute;
  top: -10%; right: -8%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(28, 70, 212, 0.10), transparent 68%);
  pointer-events: none;
}
.ia-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) { .ia-content { grid-template-columns: 1fr; gap: 44px; } }
.ia-feature {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.ia-feat-icon {
  width: 50px; height: 50px;
  background: var(--bg-2);
  border: 1px solid rgba(28, 70, 212, 0.18);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  color: var(--blue);
  box-shadow: var(--sh-sm);
}
.ia-feat-icon svg {
  width: 26px;
  height: 26px;
  color: var(--blue);
}
.ia-feature h3 { font-size: 18px; font-weight: 900; margin: 0 0 5px; color: var(--ink); }
.ia-feature p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }
.ia-feature p strong,
.ia-feature p em {
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.chat-mock {
  background: var(--bg-2);
  border: none;
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--sh-xl);
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.chat-dot {
  width: 34px; height: 34px;
  background: var(--grad);
  border-radius: 9px;
  box-shadow: var(--sh-blue);
}
.chat-status {
  margin-left: auto;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--grad);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 900;
}
.chat-msg {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  margin-bottom: 11px;
  max-width: 88%;
  line-height: 1.55;
}
.chat-msg.user {
  background: var(--grad);
  color: #ffffff;
  font-weight: 600;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.chat-msg.ai {
  background: var(--bg-3);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.chat-msg.ai b { color: var(--blue-deep); }
.chat-msg.ai u { text-decoration-color: var(--blue); }
.chat-typing {
  display: flex;
  gap: 5px;
  padding: 6px 4px;
}
.chat-typing span {
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
  animation: typing 1.3s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing {
  0%,60%,100% { opacity: .25; transform: translateY(0); }
  30%         { opacity: 1; transform: translateY(-4px); }
}

/* ============ Recursos ============ */
.section-recursos { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.feature {
  background: var(--bg-2);
  border: none;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--sh-md);
  transition: transform .25s, box-shadow .25s;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl);
}
.f-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 16px;
  background: linear-gradient(145deg, rgba(28, 70, 212, 0.10), rgba(8, 145, 178, 0.06));
  border: 1px solid rgba(28, 70, 212, 0.18);
  transition: border-color .25s, transform .25s;
}
.f-icon svg {
  width: 27px;
  height: 27px;
  color: var(--blue);
}
.feature:hover .f-icon {
  border-color: var(--blue);
  transform: translateY(-2px);
}
.feature h3 {
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 7px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.badge-novo {
  font-size: 9px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-hi));
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.3);
}
.feature p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; }

.feature.highlight {
  background: var(--grad);
  box-shadow: 0 22px 50px -18px rgba(28, 70, 212, 0.45);
}
.feature.highlight h3 { color: #ffffff; }
.feature.highlight p { color: rgba(255, 255, 255, 0.88); }
.feature.highlight .f-icon {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}
.feature.highlight .f-icon svg { color: #ffffff; }
.feature.highlight:hover .f-icon { border-color: #ffffff; }

/* ============ Galeria / Operação ============
   IMPORTANTE: scrim funciona com QUALQUER imagem que o cliente troque.
   Fundo branco-claro do card como fallback caso a img falhe. */
.section-galeria { background: var(--bg-2); }
.galeria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 800px) { .galeria-grid { grid-template-columns: 1fr; } }
.galeria-card {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-3);          /* fallback caso img falhe */
  box-shadow: var(--sh-md);
  transition: transform .25s, box-shadow .25s;
}
.galeria-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-xl);
}
.galeria-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}
.galeria-card:hover img { transform: scale(1.06); }
.galeria-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 38px 24px 22px;
  /* scrim mais forte e mais alto = legível em QUALQUER foto */
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(6, 10, 23, 0.55) 40%,
    rgba(6, 10, 23, 0.92) 100%);
  color: var(--over-text);
}
.gc-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #ffffff;
  background: rgba(28, 70, 212, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.galeria-card h3 {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 5px;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.galeria-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* ============ Planos ============ */
.section-planos {
  background:
    radial-gradient(ellipse 55% 40% at 50% 0%, rgba(28, 70, 212, 0.06), transparent 70%),
    var(--bg);
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 1320px;
  margin: 0 auto;
}
.plan {
  background: var(--bg-2);
  border: none;
  border-radius: 22px;
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-md);
  transition: transform .25s, box-shadow .25s;
}
.plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl);
}
.plan h3 { font-size: 22px; font-weight: 900; margin: 0 0 6px; color: var(--ink); }
.plan-desc { font-size: 13px; color: var(--muted); margin: 0 0 22px; min-height: 54px; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 22px;
}
.plan-cur { font-size: 16px; color: var(--muted); font-weight: 700; }
.plan-val {
  font-size: 46px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.04em;
}
.plan-per { font-size: 14px; color: var(--muted); }
.plan-btn { width: 100%; }
.plan-features {
  list-style: none;
  padding: 22px 0 0;
  margin: 22px 0 0;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
}
.plan-features li {
  padding: 7px 0;
  color: var(--muted);
}
.plan-features li strong { color: var(--ink); font-weight: 800; }

.plan-featured {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  box-shadow: 0 32px 70px -26px rgba(28, 70, 212, 0.32), var(--sh-md);
}
.plan-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 2px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 15px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--sh-blue);
}
.plans-note {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-top: 38px;
}

.plans-employees-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 24px;
  padding: 10px 16px;
  background: rgba(28, 70, 212, 0.06);
  border: 1px solid rgba(28, 70, 212, 0.14);
  border-radius: 999px;
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.plans-employees-note strong { color: var(--ink); font-weight: 800; }

.plan-enterprise {
  background: linear-gradient(180deg, rgba(8, 145, 178, 0.05), var(--bg-2));
}
.plan-price-enterprise {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
}
.plan-cur-soft {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ /recursos — hero da página detalhada ============ */
.section-recursos-hero {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  padding: 72px 0 40px;
  text-align: center;
}
.section-recursos-hero .pill {
  background: rgba(28, 70, 212, 0.10);
  border: 1px solid rgba(28, 70, 212, 0.22);
  color: var(--blue-deep);
}

/* ============ POR DENTRO DO MENSIZ — 12 módulos ============ */
.section-modulos {
  background: var(--bg-2);
  padding: 72px 0;
}
.section-modulos h2 {
  text-align: center;
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 10px;
  color: var(--ink);
}
.section-modulos h2 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-modulos .section-lead {
  text-align: center;
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 36px;
}
.section-modulos .pill {
  display: block;
  text-align: center;
  margin: 0 auto 14px;
  width: fit-content;
}
.modulos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.modulo-card {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 22px 20px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.modulo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 70, 212, 0.22);
  box-shadow: var(--sh-md);
}
.modulo-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}
.modulo-card h3 {
  font-size: 17px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}
.modulo-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.modulo-card ul li {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}
.modulo-card ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 900;
}

/* ============ FAQ ============ */
.section-faq { background: var(--bg); padding: 58px 0; }
.section-faq h2 { font-size: clamp(21px, 2.8vw, 31px); margin-bottom: 10px; }
.section-faq .section-lead { font-size: 15px; margin-bottom: 22px; }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  padding: 0 17px;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] {
  border-color: rgba(28, 70, 212, 0.28);
  box-shadow: var(--sh-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--blue);
  line-height: 1;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0;
  padding: 0 0 15px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ============ CTA Final ============
   Versão clara: card branco com glow azul atrás. Mantém atenção sem
   quebrar o ritmo claro da página. */
.section-final { background: var(--bg); padding: 80px 0; }
.final-card {
  position: relative;
  background: var(--bg-2);
  text-align: center;
  padding: 70px 32px;
  border-radius: 28px;
  overflow: hidden;
  color: var(--ink);
  box-shadow: var(--sh-xl);
}
.final-glow {
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(circle, rgba(28, 70, 212, 0.14), transparent 65%);
  pointer-events: none;
}
.final-card > * { position: relative; z-index: 1; }
.final-card h2 {
  color: var(--ink);
  margin: 0 auto 14px;
  max-width: 680px;
  font-size: clamp(25px, 3.6vw, 40px);
}
.final-card h2 em {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.final-card p {
  font-size: 17px;
  color: var(--muted);
  margin: 0 auto 30px;
  max-width: 600px;
}
.final-card p em { font-style: italic; color: var(--ink); }
.final-card p strong {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}
.final-note {
  font-size: 13px !important;
  color: var(--muted-dim) !important;
  margin: 22px auto 0 !important;
}

/* ============ CTA Final — variante split (imagem + quadro) ============
   Versão clara: mantém a imagem decorativa por trás, mas com scrim
   CLARO (de transparente pro bg da página) e quadro branco com sombra.
   Texto escuro pra combinar com o resto da landing. */
.final-card.final-split {
  position: relative;
  padding: 0;
  border-radius: 28px;
  overflow: hidden;
  text-align: left;
  min-height: 560px;
  background-color: var(--bg-3);
  background-image: url('/cta-final.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  box-shadow: var(--sh-xl);
}
.final-card.final-split .final-img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}
.final-card.final-split .final-img video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Scrim CLARO: deixa imagem visível à esquerda, lava pra branco à direita
   onde fica o quadro de texto — funciona com qualquer foto do cliente. */
.final-card.final-split::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(244, 247, 252, 0) 30%,
    rgba(244, 247, 252, 0.78) 100%);
  pointer-events: none;
}
.final-card.final-split .final-content {
  position: relative;
  z-index: 2;
  width: min(460px, calc(100% - 60px));
  margin: 50px 50px;
  padding: 38px 34px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: none;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-shadow: var(--sh-xl);
}
.final-card.final-split .final-content .pill {
  margin-bottom: 18px;
  background: rgba(28, 70, 212, 0.10);
  border-color: rgba(28, 70, 212, 0.22);
  color: var(--blue-deep);
}
.final-card.final-split .final-content h2 {
  margin: 0 0 14px;
  max-width: none;
  text-align: left;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--ink);
}
.final-card.final-split .final-content h2 em {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.final-card.final-split .final-content p {
  margin: 0 0 24px;
  max-width: none;
  text-align: left;
  font-size: 15px;
  color: var(--muted);
}
.final-card.final-split .final-content .btn { align-self: flex-start; }
.final-card.final-split .final-note {
  margin: 18px 0 0 !important;
  text-align: left;
  color: var(--muted-dim) !important;
}
@media (max-width: 880px) {
  .final-card.final-split {
    min-height: 540px;
    justify-content: center;
    align-items: flex-end;
  }
  .final-card.final-split::before {
    background: linear-gradient(180deg,
      rgba(244, 247, 252, 0) 30%,
      rgba(244, 247, 252, 0.85) 100%);
  }
  .final-card.final-split .final-content {
    width: calc(100% - 32px);
    margin: 0 16px 24px;
    padding: 26px 22px;
  }
}

/* ============ Modal de Login ============ */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(11, 21, 48, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: loginFade 200ms ease-out;
}
.login-overlay[hidden] { display: none; }
@keyframes loginFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.login-card {
  position: relative;
  background: var(--bg-2);
  border: none;
  border-radius: 22px;
  padding: 38px 32px 30px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--sh-xl);
  animation: loginZoom 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes loginZoom {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.login-fechar {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted-dim);
  font-size: 26px;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  line-height: 1;
}
.login-fechar:hover { color: var(--ink); background: var(--bg-3); }
.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.login-logo img { height: 38px; width: auto; }
.login-card h2 {
  font-size: 22px;
  text-align: center;
  color: var(--ink);
  margin: 0 0 6px;
}
.login-sub {
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
  margin: 0 0 22px;
}
.login-form { display: flex; flex-direction: column; gap: 4px; }
.login-form label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 12px;
  margin-bottom: 4px;
}
.login-form input {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.login-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(28, 70, 212, 0.12);
}
.login-senha-wrap { position: relative; }
.login-olho {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted-dim);
  cursor: pointer;
  padding: 6px 10px;
  font-size: 16px;
  border-radius: 6px;
}
.login-olho:hover { background: var(--bg-3); }
.login-erro {
  background: var(--danger-soft);
  border: 1px solid rgba(220, 38, 38, 0.22);
  color: var(--danger);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  margin: 14px 0 0;
}
.login-enviar {
  margin-top: 20px;
  width: 100%;
  height: 48px;
  font-size: 15px;
  font-weight: 800;
}
.login-enviar:disabled { opacity: 0.6; cursor: wait; }
.login-rodape {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  font-size: 12.5px;
}
.login-rodape a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 800;
}
.login-rodape a:hover { text-decoration: underline; }
@media (max-width: 460px) {
  .login-card { padding: 32px 22px 26px; }
  .login-rodape { justify-content: center; text-align: center; }
}

/* ============ Footer ============
   Versão clara: fundo bg-3 (slate-100 azulado), texto escuro,
   borda superior tênue pra separar do conteúdo. */
.site-footer {
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 60px 0 26px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-brand .brand { margin-bottom: 12px; color: var(--ink); }
.footer-brand .brand-logo { filter: none; }
.footer-brand p { font-size: 13.5px; max-width: 320px; margin: 0; color: var(--muted); }
.footer-loc {
  margin-top: 10px !important;
  font-size: 12.5px !important;
  color: var(--muted-dim) !important;
  font-weight: 600;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin: 0 0 12px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  color: var(--muted);
  transition: color .2s;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  margin-top: 44px;
  font-size: 13px;
  color: var(--muted-dim);
}
.footer-bottom p { margin: 0; }
.footer-legal { margin-top: 4px !important; font-size: 12px; }

/* ============ Contato / Demonstração ============
   Usa imagem de fundo + scrim escuro robusto. Texto claro garantido
   independente da imagem que o cliente trocar. */
.section-contato {
  background-color: var(--over-bg);
  background-image:
    linear-gradient(180deg, rgba(6, 10, 23, 0.86) 0%, rgba(6, 10, 23, 0.94) 100%),
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(28, 70, 212, 0.25), transparent 70%),
    url('/op-producao.jpg');
  background-size: cover, cover, cover;
  background-position: center, center top, center;
  background-repeat: no-repeat;
  color: var(--over-text);
}
.section-contato h2 { color: var(--over-text); }
.section-contato h2 em {
  background: linear-gradient(135deg, #6da7ff 0%, #38d6f8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-contato .section-lead { color: var(--over-muted); }
.section-contato .eyebrow { color: #6da7ff; }
.section-contato .pill {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--over-text);
}
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
@media (max-width: 880px) { .contato-grid { grid-template-columns: 1fr; gap: 36px; } }
.contato-text h2 { margin-bottom: 14px; }
.contato-text .section-lead { margin-bottom: 24px; }
.contato-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contato-bullets li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}
.contato-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0; top: -1px;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  border-radius: 6px;
}
.contato-form {
  background: var(--bg-2);
  border: none;
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: var(--sh-xl);
  color: var(--ink);
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 7px;
}
.form-field label span {
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted-dim);
  font-weight: 600;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { resize: vertical; min-height: 56px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted-dim); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(28, 70, 212, 0.14);
}
.contato-form.show-errors input:required:invalid,
.contato-form.show-errors textarea:required:invalid {
  border-color: var(--danger);
}
.form-submit { width: 100%; margin-top: 4px; }
.form-note {
  font-size: 12px;
  color: var(--muted-dim);
  margin: 14px 0 0;
  text-align: center;
}
.form-note a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}

/* CTA de demonstração (substitui o form) */
.contato-cta {
  background: var(--bg-2);
  border: none;
  border-radius: 22px;
  padding: 42px 34px;
  box-shadow: var(--sh-xl);
  text-align: center;
  overflow: hidden;
  color: var(--ink);
}
.cta-img {
  display: block;
  width: calc(100% + 68px);
  margin: -42px -34px 26px;
  height: 170px;
  object-fit: cover;
  background: var(--bg-3);    /* fallback se img falhar */
}
.contato-cta h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.contato-cta p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.62;
  margin: 0 0 22px;
}
.contato-cta .btn { width: 100%; }
.cta-fone {
  display: block;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted-dim);
  font-weight: 700;
}

/* ============ Botão flutuante de WhatsApp ============ */
.btn-whatsapp {
  background: var(--wa-green);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.32);
  font-weight: 900;
}
.btn-whatsapp:hover {
  background: var(--wa-green-hi);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp .wa-icon {
  width: 20px; height: 20px;
  display: inline-block;
  vertical-align: middle;
}

.btn-amber {
  background: linear-gradient(135deg, var(--cta-orange) 0%, var(--cta-orange-hi) 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(214, 90, 0, 0.32);
  font-weight: 900;
}
.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(185, 77, 0, 0.45);
}

.whatsapp-float {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wa-green);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  padding: 13px 19px;
  border-radius: 999px;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float svg { width: 24px; height: 24px; flex-shrink: 0; }
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 40px -8px rgba(37, 211, 102, 0.7);
}
@media (max-width: 600px) {
  .whatsapp-float { padding: 14px; bottom: 16px; right: 16px; }
  .whatsapp-float span { display: none; }
}

/* ============ Chat com IA (flutuante) ============ */
.ia-chat-launcher {
  position: fixed;
  bottom: 86px; right: 22px;
  z-index: 91;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--grad);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(28, 70, 212, 0.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ia-chat-launcher:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 40px -8px rgba(28, 70, 212, 0.7);
}
.ia-chat-launcher-icon { width: 22px; height: 22px; flex-shrink: 0; }
.ia-chat.open .ia-chat-launcher { display: none; }

.ia-chat-panel {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 95;
  width: 374px;
  max-width: calc(100vw - 32px);
  height: min(560px, 80vh);
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sh-xl);
}
.ia-chat-panel[hidden] { display: none; }

.ia-chat-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  background: var(--grad);
  color: #ffffff;
}
.ia-chat-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.ia-chat-avatar svg { width: 21px; height: 21px; }
.ia-chat-head-id { display: flex; flex-direction: column; line-height: 1.3; }
.ia-chat-head-id strong { color: #ffffff; font-size: 14.5px; font-weight: 800; }
.ia-chat-head-id span { color: rgba(255, 255, 255, 0.78); font-size: 11.5px; }
.ia-chat-close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  line-height: 1;
}
.ia-chat-close:hover { background: rgba(255, 255, 255, 0.18); color: #ffffff; }

.ia-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
}
.ia-msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.ia-msg-bot {
  align-self: flex-start;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  color: var(--ink);
  border-bottom-left-radius: 4px;
  box-shadow: var(--sh-sm);
}
.ia-msg-user {
  align-self: flex-end;
  background: var(--grad);
  color: #ffffff;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}
.ia-typing { display: flex; gap: 5px; }
.ia-typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  animation: typing 1.3s infinite;
}
.ia-typing span:nth-child(2) { animation-delay: .2s; }
.ia-typing span:nth-child(3) { animation-delay: .4s; }

.ia-chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-2);
}
.ia-chat-form input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px 13px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}
.ia-chat-form input:focus { outline: none; border-color: var(--blue); }
.ia-chat-form input::placeholder { color: var(--muted-dim); }
.ia-chat-form button {
  flex-shrink: 0;
  width: 42px;
  border: none;
  border-radius: 11px;
  background: var(--grad);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ia-chat-form button svg { width: 18px; height: 18px; }
.ia-chat-foot {
  margin: 0;
  padding: 8px 12px 11px;
  background: var(--bg-2);
  font-size: 10.5px;
  color: var(--muted-dim);
  text-align: center;
}

@media (max-width: 480px) {
  .ia-chat-launcher span { display: none; }
  .ia-chat-launcher { padding: 13px; bottom: 80px; }
  .ia-chat-panel {
    width: auto;
    left: 10px; right: 10px; bottom: 10px;
    height: 82vh;
  }
}

/* ============ Página legal (privacidade) ============ */
.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 96px;
  background: var(--bg);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 30px;
  transition: color .2s;
}
.legal-back:hover { color: var(--ink); }
.legal-wrap h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 8px;
}
.legal-updated { font-size: 13px; color: var(--muted-dim); margin: 0 0 36px; }
.legal-wrap h2 {
  font-size: 19px;
  font-weight: 900;
  color: var(--ink);
  margin: 36px 0 10px;
}
.legal-wrap p,
.legal-wrap li { font-size: 15px; line-height: 1.7; color: var(--muted); }
.legal-wrap p { margin: 0 0 14px; }
.legal-wrap ul { margin: 0 0 14px; padding-left: 22px; }
.legal-wrap li { margin-bottom: 6px; }
.legal-wrap strong { color: var(--ink); font-weight: 800; }
.legal-wrap a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ───────────────── TAG DE CATEGORIA NO CARD DO PLANO ───────────────── */
.plan-tag {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 6px;
  margin: 6px 0 16px;
  padding: 7px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.35;
  max-width: 100%;
  box-sizing: border-box;
}
.plan-tag-pecas {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue-deep);
  border: 1px solid rgba(59, 130, 246, 0.32);
}
.plan-tag-pessoas {
  background: rgba(124, 58, 237, 0.10);
  color: #6d28d9;
  border: 1px solid rgba(124, 58, 237, 0.32);
}
.plan-tag-financas {
  background: rgba(217, 119, 6, 0.10);
  color: #b45309;
  border: 1px solid rgba(217, 119, 6, 0.32);
}
.plan-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.plan-plus {
  opacity: 0.55;
  font-weight: 800;
  font-size: 11px;
}

@media (max-width: 540px) {
  .plan-tag {
    font-size: 10px;
    padding: 8px 10px;
  }
}
