/* ============================================================
   ZapFlow - style.css
   CSS global extraído de todas as páginas do site.
   ============================================================ */

/* ─── Variáveis ─────────────────────────────────────────── */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #22c55e;
  --bg: #0b1120;
  --bg-alt: #020617;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --card: #020617;
  --border: #1f2937;
  --radius: 10px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.6);
}

/* ─── Reset ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1e293b 0, #020617 50%, #000 100%);
  color: var(--text);
  line-height: 1.6;
}

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

/* ─── Fundo ambiente (ambient) ───────────────────────────── */
.ambient-bg {
  position: fixed;
  inset: -20vh -20vw;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.6;
  filter: blur(46px);
}

.ambient-bg::before,
.ambient-bg::after {
  content: "";
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 999px;
  transform: translate3d(0, 0, 0);
}

.ambient-bg::before {
  left: -12vmax;
  top: -18vmax;
  background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.35), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(34, 197, 94, 0.26), transparent 58%);
  animation: ambient-drift-1 18s ease-in-out infinite;
}

.ambient-bg::after {
  right: -14vmax;
  bottom: -20vmax;
  background: radial-gradient(circle at 25% 35%, rgba(99, 102, 241, 0.28), transparent 58%),
    radial-gradient(circle at 70% 55%, rgba(34, 197, 94, 0.22), transparent 58%);
  animation: ambient-drift-2 22s ease-in-out infinite;
}

@keyframes ambient-drift-1 {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  40%  { transform: translate3d(8vmax, 3vmax, 0) rotate(22deg); }
  70%  { transform: translate3d(4vmax, 10vmax, 0) rotate(48deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

@keyframes ambient-drift-2 {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  35%  { transform: translate3d(-7vmax, -3vmax, 0) rotate(-18deg); }
  75%  { transform: translate3d(-5vmax, -9vmax, 0) rotate(-44deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

/* ─── Layout ─────────────────────────────────────────────── */
.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 16px 24px;
  position: relative;
  z-index: 1;
}

/* ─── Header / Nav — Floating glass pill ─────────────────── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 14px;
  z-index: 9999;
  /* Glass morphism: gradient sutil azul-escuro com bastante transparência */
  background:
    linear-gradient(135deg, rgba(30, 41, 59, 0.72) 0%, rgba(15, 23, 42, 0.62) 100%);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  transform: translateZ(0);
  /* Pill flutuante com margin ao redor */
  margin: 0 0 24px;
  padding: 12px 20px;
  /* Bordas arredondadas + borda sutil + sombra elegante */
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow:
    0 12px 44px rgba(2, 6, 23, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 0 0 1px rgba(56, 189, 248, 0.04) inset;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

header:hover {
  border-color: rgba(148, 163, 184, 0.26);
  box-shadow:
    0 16px 54px rgba(2, 6, 23, 0.65),
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px rgba(56, 189, 248, 0.07) inset;
}

.header-left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #e5f4ff;
  /* Container pro feixe de luz (sheen) */
  position: relative;
  overflow: hidden;
  padding: 4px 10px 4px 4px;
  border-radius: 14px;
  text-decoration: none;
}

/* Feixe de luz que varre a logo da esquerda pra direita e volta */
.logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(56, 189, 248, 0.08) 20%,
    rgba(186, 230, 253, 0.38) 45%,
    rgba(134, 239, 172, 0.32) 55%,
    rgba(34, 197, 94, 0.08) 80%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 3;
  animation: logo-sweep 6s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes logo-sweep {
  0%   { left: -60%; opacity: 0; }
  5%   { opacity: 1; }
  45%  { left: 110%; opacity: 1; }
  50%  { left: 110%; opacity: 0; }
  55%  { left: 110%; opacity: 1; }
  95%  { left: -60%; opacity: 1; }
  100% { left: -60%; opacity: 0; }
}

.logo-title {
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.logo-subtitle {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #38bdf8 0, #1d4ed8 40%, #22c55e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.9);
  position: relative;
  z-index: 2;
  /* Z brilha em cada extremo do ciclo (sincronizado com logo-sweep 6s) */
  animation: logo-mark-flash 6s ease-in-out infinite;
}

@keyframes logo-mark-flash {
  /* Estado base */
  0%, 40%, 60%, 90%, 100% {
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.9);
    transform: scale(1);
  }
  /* Flash azul quando o feixe chega no fim direito */
  46%, 50% {
    box-shadow:
      0 0 30px rgba(125, 211, 252, 1),
      0 0 60px rgba(56, 189, 248, 0.75),
      0 0 0 3px rgba(125, 211, 252, 0.35);
    transform: scale(1.08);
  }
  /* Flash verde quando o feixe volta pra esquerda */
  96%, 100% {
    box-shadow:
      0 0 30px rgba(134, 239, 172, 1),
      0 0 60px rgba(34, 197, 94, 0.75),
      0 0 0 3px rgba(134, 239, 172, 0.35);
    transform: scale(1.08);
  }
}

/* Respeita prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .logo::before,
  .logo-mark {
    animation: none;
  }
  .logo::before { display: none; }
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--text);
  cursor: pointer;
  line-height: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(191, 219, 254, 0.9);
  outline-offset: 2px;
}

.nav-link {
  font-size: 14px;
  color: var(--muted);
  position: relative;
  padding: 6px 2px;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #22c55e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
  opacity: 0.9;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 240px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(2, 6, 23, 0.99);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.85);
  display: none;
  z-index: 99999;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: -18px;
  height: 20px;
  background: transparent;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px;
  border-radius: 10px;
  font-size: 13px;
  color: #cbd5f5;
  text-decoration: none;
}

.nav-dropdown-menu a:hover {
  background: rgba(37, 99, 235, 0.16);
  color: #e5e7eb;
}

@media (min-width: 901px) {
  /* Hide logo subtitle to keep nav compact on desktop */
  .logo-subtitle {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav-dropdown-menu {
    display: none !important;
  }
}

/* ─── Mobile Menu ────────────────────────────────────────── */
.mobile-menu {
  display: none;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow);
}

.mobile-menu a,
.mobile-menu button {
  width: 100%;
  display: block;
  padding: 10px;
  border-radius: 12px;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 14px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.mobile-menu a:hover,
.mobile-menu button:hover {
  background: rgba(37, 99, 235, 0.14);
}

.mobile-menu .mobile-section {
  font-size: 11px;
  color: #93c5fd;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 10px 6px 6px;
}

.mobile-menu .mobile-cta {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─── Botões ─────────────────────────────────────────────── */
.btn {
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.18s ease;
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid rgba(191, 219, 254, 0.9);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #22c55e);
  background-size: 180% 180%;
  animation: btn-flow 7.5s ease-in-out infinite;
  color: white;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(37, 99, 235, 0.7);
}

@keyframes btn-flow {
  0%   { background-position: 10% 40%; }
  50%  { background-position: 90% 60%; }
  100% { background-position: 10% 40%; }
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.9);
  color: var(--text);
  background: rgba(15, 23, 42, 0.7);
}

/* ─── Hero (home) ────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 40px;
  padding: 32px 0 40px;
  align-items: center;
  isolation: isolate;
  position: relative;
  z-index: 0;
}

.hero-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #a5b4fc;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-kicker span {
  height: 1px;
  width: 32px;
  background: linear-gradient(to right, #4f46e5, transparent);
  display: inline-block;
}

.hero-title {
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #f9fafb;
}

.hero-highlight {
  background: linear-gradient(120deg, #38bdf8, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
  background-size: 180% 180%;
  animation: hero-sheen 8s ease-in-out infinite;
}

@keyframes hero-sheen {
  0%   { background-position: 10% 40%; }
  50%  { background-position: 90% 60%; }
  100% { background-position: 10% 40%; }
}

.hero-subtitle {
  font-size: 15px;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 22px;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
}

.hero-benefits li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #d1d5db;
  font-size: 14px;
  line-height: 1.45;
}

.benefit-check {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.55);
  position: relative;
  margin-top: 1px;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.18);
}

.benefit-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 6px;
  height: 3px;
  border-left: 2px solid rgba(34, 197, 94, 0.95);
  border-bottom: 2px solid rgba(34, 197, 94, 0.95);
  transform: rotate(-45deg);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #9ca3af;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
}

/* Hero Card */
.hero-card {
  background: radial-gradient(circle at top, #1e293b 0, #020617 45%, #000 100%);
  border-radius: 24px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(148, 163, 184, 0.18);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: -40px -60px;
  background: radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.hero-card-title {
  font-size: 14px;
  color: #e5f4ff;
}

.hero-card-pill {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #a5b4fc;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr;
  gap: 12px;
  font-size: 11px;
}

.hero-card-block {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 12px;
  padding: 10px;
  border: 1px solid rgba(30, 64, 175, 0.5);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.hero-card-block h4 {
  font-size: 12px;
  margin-bottom: 6px;
  color: #e5e7eb;
}

.hero-badge {
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(22, 163, 74, 0.5);
  color: #bbf7d0;
}

/* ─── Seção genérica ─────────────────────────────────────── */
.section {
  padding: 32px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.section-header {
  text-align: center;
  margin-bottom: 24px;
}

.section-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #64748b;
  margin-bottom: 6px;
}

.section-title {
  font-size: 22px;
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 13px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ─── Cards ──────────────────────────────────────────────── */
.card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius);
  padding: 14px 14px 16px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  font-size: 13px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card h3 {
  font-size: 14px;
  margin-bottom: 4px;
  color: #e5e7eb;
}

.card p {
  font-size: 12px;
  color: #9ca3af;
}

/* ─── Grids de audiência / canais ────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.channel-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.channel-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.45);
  flex: 0 0 auto;
}

.channel-icon svg {
  width: 18px;
  height: 18px;
}

/* ─── Pilares ────────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pillars-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.pillars-list {
  margin-top: 8px;
  padding-left: 16px;
  font-size: 12px;
  color: #9ca3af;
}

.pillars-list li {
  margin-bottom: 3px;
}

.pillars-tag {
  font-size: 11px;
  color: #a5b4fc;
  margin-bottom: 4px;
}

/* ─── Central de Envios ──────────────────────────────────── */
.envios-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
}

.badge-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(37, 99, 235, 0.6);
  color: #bfdbfe;
  margin-bottom: 8px;
}

.badge-feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
}

.envios-steps {
  font-size: 13px;
  margin: 10px 0;
  list-style: decimal;
  padding-left: 18px;
  color: #cbd5f5;
}

.envios-steps li {
  margin-bottom: 4px;
}

.envios-benefits {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 6px;
}

.envios-box {
  background: radial-gradient(circle at top, #1e293b, #020617);
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(37, 99, 235, 0.6);
  font-size: 12px;
}

.envios-box h4 {
  font-size: 13px;
  margin-bottom: 8px;
  color: #e5e7eb;
}

.envios-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  margin-top: 4px;
}

.envios-box th,
.envios-box td {
  padding: 4px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.8);
  text-align: left;
  color: #cbd5f5;
}

.envios-box th {
  font-weight: 600;
  color: #93c5fd;
}

/* Seção comparativo */
#comparativo .envios-wrapper {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
}

#comparativo .envios-box {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#comparativo .envios-box-negative {
  border-color: rgba(239, 68, 68, 0.45);
}

#comparativo .envios-box-positive {
  border-color: rgba(34, 197, 94, 0.35);
}

#comparativo .envios-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.55);
}

#comparativo .envios-box-negative:hover {
  border-color: rgba(239, 68, 68, 0.75);
  background: radial-gradient(circle at top, rgba(239, 68, 68, 0.22), #020617 65%);
  box-shadow: 0 18px 45px rgba(239, 68, 68, 0.08), 0 18px 40px rgba(15, 23, 42, 0.55);
}

#comparativo .envios-box-positive:hover {
  border-color: rgba(34, 197, 94, 0.6);
  background: radial-gradient(circle at top, rgba(34, 197, 94, 0.18), #020617 65%);
  box-shadow: 0 18px 45px rgba(34, 197, 94, 0.08), 0 18px 40px rgba(15, 23, 42, 0.55);
}

#comparativo .scream {
  display: inline-block;
  font-weight: 800;
  color: rgba(248, 113, 113, 0.95);
  text-shadow: 0 0 18px rgba(239, 68, 68, 0.22);
  animation: scream-shake 2.4s ease-in-out infinite;
}

#comparativo .has-tooltip {
  position: relative;
  cursor: help;
}

#comparativo .has-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 0;
  bottom: 130%;
  transform: translateX(-10%);
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(248, 113, 113, 0.6);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
  z-index: 5;
}

#comparativo .has-tooltip:hover::after {
  opacity: 1;
}

@keyframes scream-shake {
  0%, 78%, 100% { transform: translate3d(0, 0, 0); }
  80% { transform: translate3d(-1px, 0, 0) rotate(-0.5deg); }
  82% { transform: translate3d(1px, 0, 0) rotate(0.5deg); }
  84% { transform: translate3d(-1px, 0, 0) rotate(-0.5deg); }
  86% { transform: translate3d(1px, 0, 0) rotate(0.5deg); }
  88% { transform: translate3d(0, 0, 0); }
}

/* ─── Planos ─────────────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.plan-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius);
  padding: 14px 14px 16px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.plan-card[data-wppleadflow] {
  cursor: pointer;
}

.plan-card[data-wppleadflow]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.35), 0 18px 40px rgba(15, 23, 42, 0.5);
  border-color: rgba(56, 189, 248, 0.35);
}

.plan-card.highlight {
  border-color: rgba(37, 99, 235, 0.9);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.6);
  position: relative;
  overflow: hidden;
  animation: plan-glow 5.8s ease-in-out infinite;
}

.plan-card.highlight::before {
  content: "";
  position: absolute;
  inset: -35%;
  background: radial-gradient(circle at 28% 32%, rgba(56, 189, 248, 0.35), transparent 58%),
    radial-gradient(circle at 72% 60%, rgba(34, 197, 94, 0.18), transparent 62%);
  opacity: 0.85;
  transform: translate3d(0, 0, 0);
  animation: plan-sheen 8.5s ease-in-out infinite;
  pointer-events: none;
}

.plan-card.highlight > * {
  position: relative;
  z-index: 1;
}

@keyframes plan-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.6), 0 18px 40px rgba(15, 23, 42, 0.5); }
  50%       { box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.85), 0 24px 60px rgba(15, 23, 42, 0.7); }
}

@keyframes plan-sheen {
  0%   { transform: translate3d(-3%, -2%, 0) rotate(0deg); }
  55%  { transform: translate3d(5%, 4%, 0) rotate(22deg); }
  100% { transform: translate3d(-3%, -2%, 0) rotate(0deg); }
}

.plan-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.plan-tagline {
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 10px;
}

.plan-price {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  transition: transform 0.22s ease;
}

.plan-price span {
  font-size: 11px;
  font-weight: 400;
  color: #9ca3af;
}

.plan-badge {
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.5);
  color: #bbf7d0;
  display: inline-block;
  margin-bottom: 8px;
}

.plan-features {
  font-size: 12px;
  padding-left: 14px;
  margin-bottom: 10px;
  color: #9ca3af;
}

.plan-features li {
  margin-bottom: 3px;
}

.plan-footer {
  margin-top: 4px;
  font-size: 11px;
  color: #6b7280;
}

/* ─── Como funciona (steps) ──────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  font-size: 12px;
}

.step-number {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.2);
  color: #bfdbfe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-bottom: 6px;
}

/* ─── Estatísticas / Prova ───────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  font-size: 12px;
}

.stat-number {
  font-size: 18px;
  font-weight: 700;
  color: #bfdbfe;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 3px;
}

.stat-note {
  font-size: 11px;
  color: #6b7280;
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  font-size: 12px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px;
  font-size: 13px;
  font-weight: 700;
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  user-select: none;
  transition: background 0.22s ease, color 0.22s ease;
}

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

.faq-item summary::after {
  content: "▾";
  font-size: 14px;
  color: #a5b4fc;
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 14px 14px;
}

.faq-content p {
  font-size: 12px;
  color: #9ca3af;
}

/* ─── Plans actions ──────────────────────────────────────── */
.plans-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 18px;
  border-radius: 20px;
  background: radial-gradient(circle at top, #1e293b, #020617 60%, #000 100%);
  border: 1px solid rgba(30, 64, 175, 0.8);
  box-shadow: var(--shadow);
}

.legal-note {
  font-size: 11px;
  color: #9ca3af;
}

/* ─── Reveal animation ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  filter: blur(10px);
  transition: opacity 0.65s cubic-bezier(.2, .7, .2, 1),
              transform 0.65s cubic-bezier(.2, .7, .2, 1),
              filter 0.65s cubic-bezier(.2, .7, .2, 1);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ─── Float animation ────────────────────────────────────── */
@keyframes floaty {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.motion-float {
  animation: floaty 7s ease-in-out infinite;
}

/* ─── CTA Final ──────────────────────────────────────────── */
.cta-final {
  text-align: center;
  padding: 32px 18px;
  margin-top: 24px;
  background: radial-gradient(circle at top, #1e293b, #020617 60%, #000 100%);
  border-radius: 24px;
  border: 1px solid rgba(30, 64, 175, 0.8);
  box-shadow: var(--shadow);
}

.cta-final h2 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #e5f4ff;
}

.cta-final p {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 16px;
}

.cta-final-note {
  font-size: 11px;
  color: #6b7280;
  margin-top: 8px;
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: #020617;
  padding: 20px 16px 14px;
  margin-top: 0;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 16px;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #38bdf8 0, #1d4ed8 40%, #22c55e 100%);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  font-weight: 700;
  overflow: hidden;
}

.footer-brand-name {
  font-weight: 700;
  font-size: 14px;
  color: #e5f4ff;
}

.footer-desc {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.5;
}

.footer-desc-note {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.4;
  margin-top: 4px;
}

.footer-docs {
  text-align: center;
  font-size: 12px;
}

.footer-docs-title {
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 6px;
}

.footer-docs-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-docs-links a {
  color: #9ca3af;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-trust {
  text-align: right;
  font-size: 11px;
}

.footer-trust-title {
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 6px;
}

.footer-trust-badges {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.footer-seal-green {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.6);
  background: rgba(22, 163, 74, 0.14);
  color: #bbf7d0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-seal-blue {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.6);
  background: rgba(37, 99, 235, 0.14);
  color: #dbeafe;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-seal-yellow {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.6);
  background: rgba(245, 158, 11, 0.16);
  color: #fde68a;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-bottom {
  margin-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  padding-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #6b7280;
}

.footer-bottom-disclaimer {
  text-align: right;
  max-width: 420px;
}

/* ─── Estilos das páginas legais (politica / termos) ─────── */
.legal-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 16px 64px;
  position: relative;
  z-index: 1;
}

.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #e5f4ff;
  text-decoration: none;
}

.legal-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #38bdf8 0, #1d4ed8 40%, #22c55e 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.9);
  font-size: 16px;
}

.legal-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.legal-back-link {
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-menu-toggle {
  display: none;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(2, 6, 23, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--text);
  cursor: pointer;
  line-height: 1;
}

.legal-menu-toggle:focus-visible {
  outline: 2px solid rgba(191, 219, 254, 0.9);
  outline-offset: 2px;
}

.legal-menu-panel {
  display: none;
  margin-top: 10px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow);
}

.legal-menu-panel a {
  display: block;
  padding: 10px;
  border-radius: 12px;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 14px;
}

.legal-menu-panel a:hover {
  background: rgba(37, 99, 235, 0.14);
}

.legal-content {
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow);
  padding: 18px;
}

.legal-content a {
  color: #cbd5f5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content h1 {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 8px;
  color: #e5f4ff;
}

.legal-content h2 {
  font-size: 16px;
  margin-top: 18px;
  margin-bottom: 4px;
  color: #e5e7eb;
}

.legal-content h3 {
  font-size: 14px;
  margin-top: 14px;
  margin-bottom: 4px;
  color: #e5e7eb;
}

.legal-content p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.legal-content ul {
  margin-top: 6px;
  padding-left: 18px;
}

.legal-content li {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.legal-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.legal-note {
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: 12px;
  background: rgba(2, 6, 23, 0.55);
  color: var(--muted);
  font-size: 12px;
}

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

  .hero-card {
    margin-top: 8px;
  }

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

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

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

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

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

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

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

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .envios-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .footer-trust {
    grid-column: 1 / -1;
    text-align: left;
  }

  .footer-trust-badges {
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .header-left {
    width: 100%;
  }

  .logo-subtitle {
    display: block;
    max-width: none;
    white-space: nowrap;
    font-size: clamp(10px, 2.6vw, 11px);
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  header.is-menu-open .mobile-menu {
    display: block;
  }

  #comparativo .has-tooltip::after {
    max-width: 260px;
    white-space: normal;
  }

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

  .plans-actions {
    justify-content: center;
    text-align: center;
  }

  .plans-actions .legal-note {
    width: 100%;
    text-align: center;
  }

  .plans-actions > div:not(.legal-note) {
    width: 100%;
    justify-content: center;
  }

  .audience-grid,
  .channels-grid,
  .pillars-grid,
  .plans-grid,
  .steps-grid,
  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .footer-docs {
    text-align: left;
  }

  .footer-trust {
    text-align: left;
  }

  .footer-trust-badges {
    align-items: flex-start;
  }

  .legal-top {
    align-items: center;
  }

  .legal-back-link {
    display: none;
  }

  .legal-menu-toggle {
    display: inline-flex;
  }

  .legal-page.is-menu-open .legal-menu-panel {
    display: block;
  }
}

/* ─── Hover interativo (motion ok) ──────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .card:hover,
  .plan-card:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.5);
  }

  .plan-card:hover .plan-price {
    transform: translateY(-1px) scale(1.03);
  }

  .hero-card:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.65);
  }

  .hero-card:hover::after {
    opacity: 1;
  }

  .hero-card-block:hover {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(15, 23, 42, 0.85);
  }

  .faq-item:hover summary {
    background: rgba(15, 23, 42, 0.55);
  }

  footer a:hover {
    color: #e5f4ff !important;
  }
}

/* ─── Preferência de movimento reduzido ──────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .motion-float {
    animation: none;
  }

  .btn,
  .card,
  .plan-card,
  .hero-card,
  .hero-card-block {
    transition: none;
  }

  .btn-primary {
    animation: none;
  }

  .ambient-bg {
    opacity: 0.25;
    filter: none;
  }

  .ambient-bg::before,
  .ambient-bg::after {
    animation: none;
  }

  .hero-highlight {
    animation: none;
  }

  .plan-card.highlight {
    animation: none;
  }

  .plan-card.highlight::before {
    animation: none;
  }

  #comparativo .scream {
    animation: none;
  }
  .beam, .badge-feature-dot, .hero-kicker span {
    animation: none;
  }
}

/* ─── Pulsing online token ───────────────────────────────── */
@keyframes pulse-dot {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34,197,94,0.55), 0 0 14px rgba(34,197,94,0.25);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(34,197,94,0), 0 0 28px rgba(34,197,94,0.65);
  }
}

@keyframes pulse-kicker {
  0%, 100% { box-shadow: 0 0 8px rgba(37,99,235,0.3); }
  50%       { box-shadow: 0 0 22px rgba(37,99,235,0.7), 0 0 40px rgba(34,197,94,0.28); }
}

.badge-feature-dot {
  animation: pulse-dot 1.8s ease-in-out infinite;
}

/* ─── Light beams (feixes de luz) ────────────────────────── */
.light-beams {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.beam {
  position: absolute;
  top: -30%;
  height: 160%;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0;
  transform: skewX(-12deg);
}

.beam-1 {
  width: 70px;
  background: linear-gradient(to bottom,
    transparent 0%, rgba(56,189,248,0.11) 35%,
    rgba(56,189,248,0.07) 65%, transparent 100%);
  animation: beam-travel 22s ease-in-out infinite;
}

.beam-2 {
  width: 45px;
  background: linear-gradient(to bottom,
    transparent 0%, rgba(34,197,94,0.09) 35%,
    rgba(34,197,94,0.05) 65%, transparent 100%);
  animation: beam-travel 28s ease-in-out infinite 9s;
}

.beam-3 {
  width: 110px;
  background: linear-gradient(to bottom,
    transparent 0%, rgba(99,102,241,0.07) 35%,
    rgba(56,189,248,0.04) 65%, transparent 100%);
  animation: beam-travel 36s ease-in-out infinite 19s;
}

@keyframes beam-travel {
  0%   { left: -15%; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { left: 115%; opacity: 0; }
}

/* ─────────────────────────────────────────────────────────────
   Botão "Acesso Sistema" (Login) no header
   — Desktop: só aparece >=1100px pra não apertar o menu
   — 900-1099px: oculto no desktop, ainda disponível via mobile menu
   — <900px: some junto com nav-cta, aparece no mobile-menu
   ──────────────────────────────────────────────────────────── */
.nav-login {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.55);
  color: #cbd5f5;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.nav-login:hover {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(30, 41, 59, 0.85);
  color: #e5f4ff;
  transform: translateY(-1px);
}
.nav-login svg {
  color: #7dd3fc;
}
/* Oculta em telas médias pra não apertar o menu */
@media (max-width: 1099px) and (min-width: 901px) {
  .nav-login {
    display: none !important;
  }
}
