/* ==========================================================================
   NEXA STUDIO AGENCY — Folha de estilos
   Para trocar as cores, edite as variáveis CSS abaixo.
   ========================================================================== */

/* ===== COR DA MARCA / LOGO =====
   Gradiente oficial da Nexa: diagonal 135° — #9333EA → #4C1DFA */
:root {
  --brand-a:        #9333EA;   /* início do gradiente — violeta magenta */
  --brand-b:        #4C1DFA;   /* fim do gradiente — azul-violeta/índigo */
  --brand-mid:      #7028F2;   /* tom intermediário (elementos sólidos) */
  --brand-gradient: linear-gradient(135deg, var(--brand-a) 0%, var(--brand-b) 100%);

  /* Glows decorativos de fundo */
  --glow-1: radial-gradient(1000px 640px at 8% -20%, rgba(147, 51, 234, 0.18), transparent 62%);
  --glow-2: radial-gradient(900px 600px at 92% -12%, rgba(76, 29, 250, 0.16), transparent 62%);
  --glow-3: radial-gradient(900px 600px at -12% 112%, rgba(147, 51, 234, 0.13), transparent 60%);
}

/* ===== PALETA PADRÃO (TEMA ESCURO — preto e roxo) ===== */
:root {
  /* Fundos */
  --bg:            #070b14;   /* fundo principal (quase preto azulado) */
  --bg-alt:        #0b1220;   /* fundo de seções alternadas */
  --surface:       #0f172a;   /* cards e superfícies */
  --surface-2:     #131e38;   /* superfície elevada (hover, badges) */
  --security-shield-bg: #101c38; /* fundo interno do escudo de segurança */

  /* Bordas e divisores */
  --border:        rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.3);

  /* Texto */
  --text:          #e8edf7;   /* texto principal */
  --text-muted:    #94a3b8;   /* texto secundário */
  --text-inverse:  #ffffff;   /* texto sobre fundos claros */

  /* COR PRIMÁRIA (roxo da marca) */
  --primary:       #a78bfa;
  --primary-hover: #b39df5;
  --primary-soft:  rgba(167, 139, 250, 0.12); /* fundo roxo translúcido */
  --primary-deep:  var(--brand-mid); /* cor cheia: botões e selos sólidos */
  --primary-deep-hover: #5f21d9;
  --accent:        #b39df5;   /* roxo claro p/ links, foco e destaques */

  /* Estado de sucesso / check */
  --success:       #34d399;
  --danger:        #f87171;

  /* Forma e profundidade */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow:    0 12px 40px rgba(0, 0, 0, 0.4);

  /* Tipografia */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --header-h: 72px;
  --container: 1140px;
}

/* ===== PALETA DO TEMA CLARO ===== */
[data-theme="light"] {
  --bg:            #f6f8fc;
  --bg-alt:        #edf1f8;
  --surface:       #ffffff;
  --surface-2:     #f0f4fb;
  --security-shield-bg: #e8efff;

  --border:        rgba(15, 23, 42, 0.1);
  --border-strong: rgba(15, 23, 42, 0.22);

  --text:          #0f172a;
  --text-muted:    #4b5a72;
  --text-inverse:  #ffffff;

  --primary:       var(--brand-a);   /* roxo oficial da marca (AA sobre fundos claros) */
  --primary-hover: #7c22d9;
  --primary-soft:  rgba(147, 51, 234, 0.1);
  --primary-deep:  var(--brand-mid);
  --primary-deep-hover: #5f21d9;
  --accent:        var(--brand-a);

  /* Glows mais suaves no tema claro (evitam brilho excessivo) */
  --glow-1: radial-gradient(1000px 640px at 8% -20%, rgba(147, 51, 234, 0.09), transparent 62%);
  --glow-2: radial-gradient(900px 600px at 92% -12%, rgba(76, 29, 250, 0.08), transparent 62%);
  --glow-3: radial-gradient(900px 600px at -12% 112%, rgba(147, 51, 234, 0.07), transparent 60%);

  --success:       #059669;
  --danger:        #dc2626;

  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow:    0 12px 40px rgba(15, 23, 42, 0.12);
}

/* ==========================================================================
   RESET E BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden; /* evita rolagem lateral com as formas decorativas */
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* Acessibilidade: foco visível em tudo que é interativo */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Texto apenas para leitores de tela */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Link de acessibilidade "pular para conteúdo" */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--primary-deep); color: #fff;
  padding: 10px 18px; border-radius: var(--radius-sm);
  z-index: 200; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 600; font-size: 0.95rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Botão primário: gradiente oficial da marca, sempre no mesmo ângulo (135°) */
.btn-primary {
  background: var(--brand-gradient);
  color: #fff; box-shadow: none;
}
.btn-primary:hover {
  background: var(--brand-gradient);
  filter: brightness(1.1);
  box-shadow: 0 8px 26px rgba(76, 29, 250, 0.35);
}
.btn-primary:active { filter: brightness(0.95); }

.btn-outline {
  border: 1px solid var(--primary); color: var(--primary);
  background: transparent;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--primary-soft); }

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: 0.875rem; }
.btn-block { width: 100%; }

.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--text);
  padding: 12px 4px;
}
.btn-link svg { width: 20px; height: 20px; transition: transform 0.2s ease; }
.btn-link:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.btn-link:hover svg { transform: translateX(4px); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--border-strong); }
.icon-btn svg { width: 20px; height: 20px; }

/* Ícones sol/lua alternados conforme o tema */
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: none; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); }

.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
/* Logo: branca no tema escuro, preta no tema claro */
.logo img { height: 40px; width: auto; }
.logo .logo-light { display: none; }
[data-theme="light"] .logo .logo-dark { display: none; }
[data-theme="light"] .logo .logo-light { display: block; }

.nav-list { display: flex; gap: 6px; }
.nav-list a {
  display: inline-block; padding: 8px 14px;
  font-size: 0.92rem; font-weight: 500; color: var(--text-muted);
  border-radius: 10px; white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-list a:hover { color: var(--text); background: var(--surface); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { white-space: nowrap; }

/* Botão hambúrguer (mobile) — oculto no desktop */
.btn-menu { display: none; }
.btn-menu .icon-close { display: none; }
.btn-menu[aria-expanded="true"] .icon-menu { display: none; }
.btn-menu[aria-expanded="true"] .icon-close { display: block; }

/* ==========================================================================
   SEÇÕES GENÉRICAS
   ========================================================================== */
.section { position: relative; padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

/* Glow e textura de fundo */
.section-glow { background: var(--glow-2), var(--bg-alt); }
.section-noise {
  background-color: var(--bg-alt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.045'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Forma decorativa sutil (símbolo "A" da Nexa) */
.deco-a {
  position: absolute;
  width: 170px; height: 170px;
  background: var(--brand-gradient);
  clip-path: polygon(50% 2%, 97% 97%, 71% 97%, 50% 45%, 29% 97%, 3% 97%);
  opacity: 0.07;
  pointer-events: none;
}
.deco-a--sm { width: 96px; height: 96px; opacity: 0.06; }
.hero .deco-a--tl { top: -46px; right: -46px; }
.hero .deco-a--br { bottom: -30px; left: -30px; }
.section-contact .deco-a--bl { bottom: -42px; left: -42px; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  width: 24px; height: 2px;
  background: var(--primary);
}
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub { color: var(--text-muted); font-size: 1.05rem; }
.section-sub.muted { font-weight: 400; }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 88px 0 110px;
  background: var(--glow-1), var(--bg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 26px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--text-muted);
}
.hero-tag::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--primary);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12; letter-spacing: -0.03em; font-weight: 800;
  margin-bottom: 22px;
}
/* Cor oficial da logo em texto grande */
.hero h1 .destaque { color: var(--brand-a); }

.hero-sub {
  font-size: 1.12rem; color: var(--text-muted);
  max-width: 520px; margin-bottom: 34px;
}

.hero-ctas { display: flex; align-items: center; gap: 26px; margin-bottom: 38px; flex-wrap: wrap; }

/* Mockup de navegador (decorativo) */
.hero-visual { position: relative; }

.browser-mockup {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.hero-visual:hover .browser-mockup { transform: perspective(1200px) rotateY(0) rotateX(0); }

.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.browser-dot { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.browser-dot:nth-child(2) { background: #fbbf24; }
.browser-dot:nth-child(3) { background: #34d399; }
.browser-url {
  margin-left: 12px; padding: 5px 18px;
  flex: 1; max-width: 240px;
  font-size: 0.78rem; color: var(--text-muted);
  background: var(--bg); border-radius: 999px;
  white-space: nowrap; overflow: hidden;
}

.browser-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; }

/* Conteúdo simulado do mockup (aria-hidden) */
.mock-tag {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted);
}
.mock-title {
  font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em;
  color: var(--text); line-height: 1.3; max-width: 92%;
}
.mock-text {
  font-size: 0.76rem; color: var(--text-muted); line-height: 1.55;
  max-width: 96%;
}
.mock-cta {
  width: 46%; height: 34px;
  border-radius: 9px;
  background: var(--brand-gradient);
  margin-top: 2px;
}
.mock-cards { display: flex; align-items: flex-end; gap: 12px; margin-top: 4px; }
.mock-card {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
}
.mock-card:nth-child(1) { height: 52px; flex: 1.15; }
.mock-card:nth-child(2) { height: 40px; flex: 0.8; }
.mock-card:nth-child(3) { height: 60px; flex: 1; }

/* Badges flutuantes */
.badge {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  animation: float 5s ease-in-out infinite;
}
.badge svg { width: 26px; height: 26px; color: var(--primary); }
.badge strong { display: block; font-size: 0.9rem; line-height: 1.2; }
.badge small { font-size: 0.74rem; color: var(--text-muted); }

.badge-conversao { top: 18%; left: -34px; }
.badge-rapido { bottom: 12%; right: -30px; animation-delay: 1.6s; }
.badge-rapido svg { color: var(--success); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   2. POR QUE TER UM SITE — comparação
   ========================================================================== */
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; margin-bottom: 56px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.compare-card h3 { font-size: 1.25rem; margin-bottom: 22px; }
.compare-card li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 0; border-bottom: 1px dashed var(--border);
  font-size: 0.97rem; color: var(--text-muted);
}
.compare-card li:last-child { border-bottom: none; }
.compare-card li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

.compare-bad h3 { color: var(--danger); }
.compare-bad li svg { color: var(--danger); }

.compare-good {
  background: var(--surface);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
}
.compare-good h3 { color: var(--primary); }
.compare-good li svg { color: var(--success); }

/* Números de mercado */
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat {
  text-align: center; padding: 30px 20px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.stat strong {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800; color: var(--primary);
  margin-bottom: 8px;
}
.stat p { font-size: 0.9rem; color: var(--text-muted); }

/* ==========================================================================
   3. COMO FUNCIONA — 4 passos
   ========================================================================== */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: passo;
  position: relative;
}

/* Trilha conectando os passos */
.steps-grid::before {
  content: "";
  position: absolute;
  top: 53px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-a) 18%, var(--brand-b) 82%, transparent);
  opacity: 0.7;
  pointer-events: none;
}

.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--border-strong); }

/* Ponto de junção da trilha entre um passo e o próximo */
.step-card::after {
  content: "";
  position: absolute;
  top: 49px; right: -16px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--brand-mid);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.step-card:last-child::after { display: none; }

.step-number {
  display: inline-block;
  font-size: 1.05rem; font-weight: 800;
  color: #fff;
  background: var(--brand-gradient);
  border-radius: 12px;
  padding: 8px 14px;
  margin-bottom: 22px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(76, 29, 250, 0.3);
}
.step-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step-card p { font-size: 0.93rem; color: var(--text-muted); }

/* ==========================================================================
   4. SEGURANÇA — destaque
   ========================================================================== */
.section-security {
  position: relative;
  background: var(--glow-3), var(--bg);
}

.security-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.security-head { text-align: left; }

.shield-badge {
  width: 76px; height: 76px;
  margin: 0 0 22px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  border-radius: 12px;
  box-shadow: none;
}
.shield-badge svg { width: 44px; height: 44px; }

.security-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 18px; letter-spacing: -0.02em; line-height: 1.15; }
.security-head .section-sub { font-size: 1.02rem; max-width: 480px; }
.security-head .section-sub strong { color: var(--text); }
.security-head .section-eyebrow { justify-content: flex-start; }
.security-head .section-eyebrow::after { display: none; }

.verificado-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; padding: 10px 20px;
  font-size: 0.85rem; font-weight: 700;
  color: var(--success);
  background: color-mix(in srgb, var(--success) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--success) 40%, transparent);
  border-radius: 999px;
}
.verificado-badge svg { width: 18px; height: 18px; }

.practices-grid {
  display: flex;
  flex-direction: column;
}
.practice {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.practice:last-child { border-bottom: none; }
.practice svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.practice h3 { font-size: 0.98rem; margin-bottom: 3px; }
.practice p { font-size: 0.86rem; color: var(--text-muted); }

.security-note {
  grid-column: 1 / -1;
  margin-top: 8px;
  text-align: center;
  font-size: 0.92rem; color: var(--text-muted);
  font-style: italic;
}

/* ==========================================================================
   5. PACOTES
   ========================================================================== */
.plans-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; align-items: stretch;
}

.plan-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.plan-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.plan-desc { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 24px; }

.plan-list { margin-bottom: 30px; flex-grow: 1; }
.plan-list li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 0.92rem; color: var(--text);
  border-bottom: 1px dashed var(--border);
}
.plan-list li:last-child { border-bottom: none; }
.plan-list li::before {
  content: "";
  position: absolute; left: 0; top: 15px;
  width: 17px; height: 17px;
  background: var(--primary-soft);
  border-radius: 50%;
}
.plan-list li::after {
  content: "";
  position: absolute; left: 5px; top: 19px;
  width: 7px; height: 4px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

/* Plano em destaque: borda gradiente */
.plan-featured {
  position: relative;
  transform: translateY(-10px);
  border-color: transparent;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}
/* Borda gradiente (mantém cantos arredondados) */
.plan-featured::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: var(--brand-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  pointer-events: none;
}
.plan-featured:hover { transform: translateY(-16px); }

.plan-flag {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  padding: 6px 18px;
  background: var(--brand-gradient); color: #fff;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  border-radius: 999px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(76, 29, 250, 0.4);
}

/* ==========================================================================
   6. DIFERENCIAIS
   ========================================================================== */
/* Diferenciais: lista com divisórias finas, ícone pequeno à esquerda
   do texto (em vez de grid de cards idênticos) */
.diff-grid {
  display: flex;
  flex-direction: column;
  max-width: 760px;
  margin-inline: auto;
}
.diff-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 22px 6px;
  border-bottom: 1px solid var(--border);
}
.diff-item:last-child { border-bottom: none; }
.diff-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--brand-gradient);
  border-radius: 10px;
  color: #fff;
}
.diff-icon svg { width: 18px; height: 18px; }
.diff-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.diff-item p { font-size: 0.9rem; color: var(--text-muted); max-width: 620px; }

/* ==========================================================================
   7. CONTATO
   ========================================================================== */
.section-contact {
  position: relative;
  background: var(--glow-2), var(--bg);
}

.contact-wrap {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 48px; align-items: start;
}

/* Formulário */
.contact-form .field { margin-bottom: 18px; }

/* Honeypot: invisível para humanos, bots caem nele (sem display:none) */
.campo-isca {
  position: absolute;
  left: -9999px; top: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  font-size: 0;
}
.contact-form label {
  display: block; font-size: 0.88rem; font-weight: 600;
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  font: inherit; color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.field-error {
  display: block; min-height: 0;
  font-size: 0.82rem; color: var(--danger);
  margin-top: 6px;
}
.field.invalid input,
.field.invalid textarea { border-color: var(--danger); }
.field.invalid .field-error { min-height: 18px; }

.form-note { margin-top: 16px; font-size: 0.9rem; text-align: center; }
.form-note.ok { color: var(--success); font-weight: 600; }
.form-note.erro { color: var(--danger); }

/* Canais de contato */
.contact-channels { display: flex; flex-direction: column; gap: 22px; }

.channel-card {
  padding: 26px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.channel-card h3 { font-size: 1rem; margin-bottom: 12px; }
.channel-card p { font-size: 0.86rem; color: var(--text-muted); margin-top: 10px; }

.channel-email {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--primary);
  word-break: break-all;
}
.channel-email svg { width: 20px; height: 20px; flex-shrink: 0; }
.channel-email:hover { text-decoration: underline; }

.social-list { display: flex; flex-direction: column; gap: 6px; }
.social-list a {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 12px; border-radius: 10px;
  font-size: 0.92rem; font-weight: 500;
  color: var(--text); transition: background-color 0.2s ease, color 0.2s ease;
}
.social-list a:hover { background: var(--surface-2); color: var(--primary); }
.social-list svg { width: 22px; height: 22px; }

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px; padding-bottom: 48px;
}
.footer-brand p { margin-top: 16px; font-size: 0.9rem; color: var(--text-muted); max-width: 320px; }

.footer-nav h3, .footer-contact h3 {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 18px;
}
.footer-nav li, .footer-contact li { margin-bottom: 10px; }
.footer-nav a, .footer-contact a { font-size: 0.92rem; color: var(--text); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--primary); }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem; color: var(--text-muted);
}

/* ==========================================================================
   ANIMAÇÃO DE APARIÇÃO (reveal suave — desativada se reduzir movimento)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

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

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1180px) {
  .header-inner { gap: 16px; }
  .nav-list { gap: 2px; }
  .nav-list a { padding: 8px 10px; font-size: 0.85rem; }
}

@media (max-width: 1100px) {
  .header-cta { display: none; }
}

@media (max-width: 1024px) {
  .hero-grid { gap: 48px; }
  .badge-conversao { left: -12px; }
  .badge-rapido { right: -8px; }

  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  /* Trilha visível apenas com 4 colunas */
  .steps-grid::before, .step-card::after { display: none; }

  /* Segurança: texto e lista empilham */
  .security-card { grid-template-columns: 1fr; gap: 40px; }

  /* Pacotes empilham em 1 coluna */
  .plans-grid { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
}

@media (max-width: 860px) {
  /* Menu mobile em overlay */
  .btn-menu { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 28px;
    transform: translateY(-16px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; gap: 4px; }
  .nav-list a { display: block; padding: 13px 16px; font-size: 1rem; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 90px; }

  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 480px; margin-inline: auto; width: 100%; }

  /* Badges menores e dentro do container no celular */
  .badge { 
    padding: 8px 12px;
    font-size: 0.75rem;
  }
  .badge svg { width: 20px; height: 20px; }
  .badge strong { font-size: 0.8rem; }
  .badge small { font-size: 0.65rem; }
  .badge-conversao { top: 10%; left: 8px; }
  .badge-rapido { bottom: 8%; right: 8px; }

  /* Esconde formas decorativas no celular */
  .deco-a { display: none; }

  .compare-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }

  .plans-grid { grid-template-columns: 1fr; }

  .security-card, .contact-wrap { padding: 32px 22px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .logo img { height: 34px; }
}
