/* ═══════════════════════════════════════════════
   KITCRED — Estilos Principais & UI/UX 3D System
   Website de Alta Conversão para Correspondentes Bancários
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap');
@import url('tokens.css');

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--ground);
  color-scheme: dark;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--ground);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ─── Scroll Progress Bar ─── */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: var(--grad);
  z-index: 1000;
  box-shadow: 0 0 14px rgba(214, 65, 143, 0.8), 0 0 28px rgba(138, 40, 229, 0.6);
  transition: width 0.1s linear;
}

/* ─── Background 3D Atmosphere Layers ─── */
.bg-grid, .bg-glow, .bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  background-image:
    linear-gradient(var(--grid-c) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-c) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0.15) 100%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0.15) 100%);
}

.bg-glow {
  background:
    radial-gradient(700px circle at var(--mx) var(--my), rgba(90, 65, 222, 0.13), transparent 60%),
    radial-gradient(600px circle at 85% 15%, rgba(214, 65, 143, 0.10), transparent 50%),
    radial-gradient(800px circle at 15% 85%, rgba(0, 210, 255, 0.08), transparent 55%);
  transition: background 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  .bg-glow { display: none; }
}

/* ─── Layout Helpers ─── */
.wrap {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

section.sec {
  position: relative;
  z-index: 2;
  padding: var(--gap) 0;
}

.center { text-align: center; }

/* ─── Typography & Badges ─── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  padding: 6px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.12);
}

.eyebrow-purple {
  color: #C084FC;
  background: rgba(192, 132, 252, 0.08);
  border-color: rgba(192, 132, 252, 0.25);
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.12);
}

.sec-title {
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.sec-lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 680px;
  margin-top: 16px;
  line-height: 1.65;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

.grad-cyan-text {
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-primary {
  background: var(--grad);
  color: #FFFFFF;
  box-shadow: 0 6px 26px rgba(138, 40, 229, 0.45), 0 0 15px rgba(214, 65, 143, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  box-shadow: 0 10px 38px rgba(138, 40, 229, 0.6), 0 0 25px rgba(214, 65, 143, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: rgba(0, 210, 255, 0.6);
  background: rgba(0, 210, 255, 0.08);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.btn-wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-wa:hover {
  box-shadow: 0 10px 34px rgba(37, 211, 102, 0.55);
}

.btn-white {
  background: #FFFFFF;
  color: var(--blue-dark);
  font-weight: 800;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
  background: #F0F4FF;
  box-shadow: 0 12px 38px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

.btn-outline-white:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

/* ─── Scroll Reveal Animations ─── */
.rev {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.rev.on {
  opacity: 1;
  transform: none;
}

.rev[data-delay="1"] { transition-delay: 0.1s; }
.rev[data-delay="2"] { transition-delay: 0.2s; }
.rev[data-delay="3"] { transition-delay: 0.3s; }
.rev[data-delay="4"] { transition-delay: 0.4s; }
.rev[data-delay="5"] { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .rev { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════
   HEADER & MEGA-MENU
═══════════════════════════════════════════════ */
header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: var(--content);
  z-index: 100;
  background: rgba(10, 13, 24, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-xl);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

header.scrolled {
  background: rgba(10, 13, 24, 0.94);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(90, 65, 222, 0.15);
  border-color: rgba(90, 65, 222, 0.25);
}

.h-inner {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 24px;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img.logo-img {
  height: 32px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.logo img.logo-circle {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(90, 65, 222, 0.4);
}

nav#mainNav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

nav#mainNav > .nav-link {
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, background 0.2s;
}

nav#mainNav > .nav-link:hover,
nav#mainNav > .nav-link.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

/* ─── Mega-Menu Dropdown ─── */
.has-mega {
  position: relative;
}

.mega-trigger {
  cursor: pointer;
}

.mega-trigger .arrow-icon {
  font-size: 11px;
  transition: transform 0.25s ease;
}

.has-mega:hover .mega-trigger .arrow-icon,
.has-mega.open .mega-trigger .arrow-icon {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 1060px;
  max-width: calc(100vw - 32px);
  background: rgba(12, 16, 32, 0.96);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1.5px solid rgba(90, 65, 222, 0.3);
  border-radius: var(--r-lg);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7), 0 0 35px rgba(90, 65, 222, 0.2);
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu,
.has-mega.open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 0.95fr;
  gap: 16px;
}

.mega-col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mega-col-head.empr { color: #60A5FA; border-color: rgba(96, 165, 250, 0.25); }
.mega-col-head.cons { color: #FBBF24; border-color: rgba(251, 191, 36, 0.25); }
.mega-col-head.seg  { color: #34D399; border-color: rgba(52, 211, 153, 0.25); }
.mega-col-head.saud { color: #F472B6; border-color: rgba(244, 114, 182, 0.25); }

.mega-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  transition: background 0.2s, transform 0.2s;
  color: var(--text-muted);
}

.mega-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #FFFFFF;
  transform: translateX(4px);
}

.mega-item-ico {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.mega-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mega-item-badge {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(214, 65, 143, 0.2);
  color: #F472B6;
  font-weight: 700;
}

.mega-item-desc {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.35;
  margin-top: 2px;
}

.mega-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
}

.mega-footer-link {
  color: var(--cyan);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mega-footer-link:hover {
  text-decoration: underline;
}

.h-cta {
  margin-left: 14px;
}

.h-cta .btn {
  padding: 10px 22px;
  font-size: 14px;
}

.nav-tog {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-tog svg rect {
  fill: #FFFFFF;
}

/* ═══════════════════════════════════════════════
   HERO 3D SECTION
═══════════════════════════════════════════════ */
.hero-sec {
  padding: calc(70px + 75px) 0 80px;
  min-height: 94vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 50px;
  align-items: center;
}

h1.hero-h {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.hero-sub {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-sub strong {
  color: #FFFFFF;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-n {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trust-l {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 5px;
}

.trust-sep {
  width: 1px;
  height: 38px;
  background: var(--border);
}

/* ─── Hero 3D Stage & Floating Widgets ─── */
.hero-stage-3d {
  position: relative;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orb {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 40, 229, 0.28) 0%, rgba(214, 65, 143, 0.15) 50%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  animation: orbFloat 8s ease-in-out infinite alternate;
}

@keyframes orbFloat {
  0% { transform: scale(0.95) translate(0, 0); }
  100% { transform: scale(1.1) translate(15px, -20px); }
}

/* 3D Main Card */
.hero-main-card-3d {
  position: relative;
  z-index: 2;
  width: 100%;
  background: rgba(16, 22, 40, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(90, 65, 222, 0.25);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-photo-wrap {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 13, 24, 0.95) 100%);
}

.hero-card-content {
  padding: 22px 26px;
}

.hero-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #34D399;
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 10px;
}

.hero-card-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
}

.hero-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: var(--text-muted);
}

/* 3D Floating Badges */
.float-badge {
  position: absolute;
  z-index: 5;
  background: rgba(14, 18, 36, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  padding: 12px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(90, 65, 222, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  animation: floatLevitate 5s ease-in-out infinite alternate;
}

.float-badge-1 {
  top: -24px;
  left: -28px;
  animation-delay: 0s;
}

.float-badge-2 {
  bottom: 24px;
  right: -28px;
  animation-delay: 1.8s;
}

.float-badge-3 {
  bottom: -20px;
  left: 30px;
  animation-delay: 3s;
}

@keyframes floatLevitate {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-14px) rotate(1.5deg); }
}

.float-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.f-icon-green  { background: rgba(16, 185, 129, 0.2); color: #34D399; }
.f-icon-purple { background: rgba(138, 40, 229, 0.2); color: #C084FC; }
.f-icon-cyan   { background: rgba(0, 210, 255, 0.2);  color: #38BDF8; }

.float-badge-title {
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.float-badge-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════
   SEÇÃO DOR vs. SOLUÇÃO (Transformação)
═══════════════════════════════════════════════ */
.pain-sol-sec {
  background: linear-gradient(180deg, var(--ground) 0%, var(--ground-subtle) 100%);
  position: relative;
}

.pain-sol-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 32px;
  margin-top: 50px;
}

/* Card Dor */
.pain-card {
  background: rgba(26, 16, 22, 0.6);
  border: 1.5px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.pain-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(239, 68, 68, 0.2);
}

.pain-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.pain-title {
  font-size: 20px;
  font-weight: 800;
  color: #FCA5A5;
}

.pain-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.pain-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: #E2E8F0;
  line-height: 1.5;
}

.pain-item-x {
  color: #EF4444;
  font-weight: 800;
  font-size: 17px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

/* Card Solução Kitcred */
.sol-card {
  background: linear-gradient(145deg, rgba(26, 78, 202, 0.18) 0%, rgba(138, 40, 229, 0.22) 50%, rgba(214, 65, 143, 0.18) 100%);
  border: 1.5px solid rgba(138, 40, 229, 0.5);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(138, 40, 229, 0.25);
  transform: scale(1.02);
}

.sol-badge-popular {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--grad);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 15px rgba(214, 65, 143, 0.5);
}

.sol-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sol-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.sol-title {
  font-size: 21px;
  font-weight: 800;
  color: #FFFFFF;
}

.sol-sub {
  font-size: 13px;
  color: var(--cyan);
}

.sol-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sol-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #FFFFFF;
  line-height: 1.5;
}

.sol-item-check {
  color: #34D399;
  font-weight: 800;
  font-size: 17px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════
   VITRINE DE TEMPLATES 3D (16 Modelos)
═══════════════════════════════════════════════ */
.vitrine-sec {
  background: var(--ground-subtle);
  position: relative;
}

.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 36px 0 44px;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
  color: #FFFFFF;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(138, 40, 229, 0.4);
}

.tab-count {
  font-size: 11.5px;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.25);
}

/* ─── Grid de Templates ─── */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.tpl-card {
  background: rgba(18, 24, 46, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
  transform-style: preserve-3d;
  position: relative;
}

.tpl-card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
  border-color: rgba(90, 65, 222, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(90, 65, 222, 0.3);
}

.tpl-card.hidden {
  display: none !important;
}

/* Mockup Header no Card */
.tpl-mockup {
  height: 190px;
  position: relative;
  background: linear-gradient(135deg, #10162B 0%, #1A2448 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tpl-mockup-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 16px 16px;
}

.tpl-mockup-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  filter: blur(40px);
}

.tpl-card[data-cat="emprestimos"] .tpl-mockup-glow { background: rgba(37, 99, 235, 0.35); }
.tpl-card[data-cat="consorcios"] .tpl-mockup-glow   { background: rgba(245, 158, 11, 0.35); }
.tpl-card[data-cat="seguros"] .tpl-mockup-glow     { background: rgba(16, 185, 129, 0.35); }
.tpl-card[data-cat="saude"] .tpl-mockup-glow       { background: rgba(214, 65, 143, 0.35); }

.tpl-mockup-preview {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 16px;
}

.tpl-preview-icon {
  font-size: 42px;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.tpl-domain-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cyan);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.tpl-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  z-index: 3;
}

.badge-emprestimos { background: rgba(59, 130, 246, 0.2); color: #93C5FD; border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-consorcios  { background: rgba(245, 158, 11, 0.2); color: #FCD34D; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-seguros     { background: rgba(16, 185, 129, 0.2); color: #6EE7B7; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-saude       { background: rgba(236, 72, 153, 0.2); color: #F9A8D4; border: 1px solid rgba(236, 72, 153, 0.3); }

/* Corpo do Card */
.tpl-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tpl-title {
  font-size: 19px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.tpl-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.tpl-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.tpl-feat-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 9px;
  border-radius: 6px;
}

/* Ações do Card */
.tpl-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
}

.btn-tpl-demo {
  height: 42px;
  padding: 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-tpl-demo:hover {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.3);
}

.btn-tpl-order {
  height: 42px;
  padding: 0 12px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: var(--r-pill);
  background: var(--grad);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(138, 40, 229, 0.3);
  transition: all 0.2s ease;
}

.btn-tpl-order:hover {
  box-shadow: 0 6px 20px rgba(138, 40, 229, 0.5);
  transform: translateY(-2px);
}

.btn-tpl-order:hover {
  box-shadow: 0 6px 20px rgba(138, 40, 229, 0.5);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════
   SIMULADOR 3D (DEMO AO VIVO)
═══════════════════════════════════════════════ */
.sim-sec {
  background: var(--ground);
  position: relative;
}

.sim-wrap {
  background: rgba(14, 19, 38, 0.9);
  border: 1.5px solid rgba(90, 65, 222, 0.3);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(90, 65, 222, 0.2);
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  margin-top: 40px;
}

.sim-head {
  background: var(--grad);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sim-head-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.sim-head-title {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
}

.sim-head-sub {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}

.sim-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.sim-in {
  padding: 34px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.08);
}

.sim-out {
  padding: 34px;
  background: rgba(10, 14, 28, 0.5);
  display: flex;
  flex-direction: column;
}

/* Perfil Toggle */
.prof-tog {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-pill);
  padding: 5px;
  margin-bottom: 30px;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.prof-btn {
  flex: 1;
  padding: 11px 12px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.22s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.prof-btn.on {
  background: var(--grad);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(138, 40, 229, 0.4);
}

/* Sliders */
.sl-group {
  margin-bottom: 28px;
}

.sl-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.sl-lbl {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sl-val {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  font-family: var(--font-mono);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 100px;
  outline: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
}

input[type="range"]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--violet);
  box-shadow: 0 0 16px rgba(90, 65, 222, 0.8), 0 2px 8px rgba(0,0,0,0.5);
  margin-top: -10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 24px rgba(0, 210, 255, 0.9);
  border-color: var(--cyan);
}

input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--violet);
  box-shadow: 0 0 16px rgba(90, 65, 222, 0.8);
}

.sl-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--text-dim);
}

/* Painel de Resultados */
.res-lbl {
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.res-main {
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
  font-family: var(--font-mono);
}

.res-main.pulse {
  filter: drop-shadow(0 0 16px rgba(214, 65, 143, 0.8));
}

.res-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.res-rows {
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--r-sm);
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.res-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14.5px;
}

.res-row:last-child {
  border-bottom: none;
}

.res-row-k {
  color: var(--text-muted);
}

.res-row-v {
  font-weight: 700;
  color: #FFFFFF;
}

.res-disc {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  padding: 12px 14px;
  background: rgba(90, 65, 222, 0.08);
  border: 1px solid rgba(90, 65, 222, 0.2);
  border-radius: var(--r-sm);
  margin-bottom: 22px;
}

.sim-cta {
  width: 100%;
  padding: 17px;
  border-radius: var(--r-pill);
  font-size: 16px;
  justify-content: center;
  margin-top: auto;
}

/* ═══════════════════════════════════════════════
   ECOSSISTEMA & DIFERENCIAIS
═══════════════════════════════════════════════ */
.eco-sec {
  background: var(--ground-subtle);
  position: relative;
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.eco-card {
  background: rgba(18, 24, 46, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  backdrop-filter: blur(16px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.eco-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.eco-card:hover {
  transform: translateY(-6px);
  border-color: rgba(90, 65, 222, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(90, 65, 222, 0.2);
}

.eco-card:hover::before {
  opacity: 1;
}

.eco-ico {
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  background: rgba(90, 65, 222, 0.15);
  border: 1px solid rgba(90, 65, 222, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(90, 65, 222, 0.2);
}

.eco-t {
  font-size: 19px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.eco-d {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   ETAPAS (COMO FUNCIONA)
═══════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
  position: relative;
}

.step-card {
  background: rgba(18, 24, 46, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  position: relative;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.step-num {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(138, 40, 229, 0.5);
}

.step-ico {
  font-size: 32px;
  margin: 10px 0 16px;
}

.step-t {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.step-d {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   TABELA COMPARATIVA / O QUE INCLUI
═══════════════════════════════════════════════ */
.tax-wrap {
  background: rgba(18, 24, 46, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
  backdrop-filter: blur(20px);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

thead tr {
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
}

th {
  padding: 18px 24px;
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

td {
  padding: 18px 24px;
  font-size: 14.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

tr:last-child td {
  border-bottom: none;
}

td strong {
  color: #FFFFFF;
  font-weight: 700;
}

.status-badge-inc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  font-weight: 800;
  font-size: 12.5px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  font-weight: 800;
  font-size: 12.5px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* ═══════════════════════════════════════════════
   PROVA SOCIAL & DEPOIMENTOS
═══════════════════════════════════════════════ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 44px 0;
}

.stat-card-3d {
  background: rgba(18, 24, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  padding: 24px 20px;
  text-align: center;
  backdrop-filter: blur(16px);
}

.stat-n {
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}

.stat-l {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testi-card {
  background: rgba(18, 24, 46, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: 28px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.testi-card:hover {
  transform: translateY(-6px);
  border-color: rgba(138, 40, 229, 0.4);
}

.testi-stars {
  color: #FBBF24;
  font-size: 16px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testi-txt {
  font-size: 14.5px;
  color: #E2E8F0;
  line-height: 1.65;
  margin-bottom: 22px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testi-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad);
  color: #FFFFFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.testi-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #FFFFFF;
}

.testi-role {
  font-size: 12px;
  color: var(--text-dim);
}

/* ═══════════════════════════════════════════════
   GARANTIAS & RISCO ZERO
═══════════════════════════════════════════════ */
.seg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.seg-card {
  background: rgba(18, 24, 46, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
}

.seg-card:hover {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.seg-ico {
  width: 50px;
  height: 50px;
  border-radius: var(--r-sm);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.seg-t {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.seg-d {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════
   FAQ ACCORDION (SEO & AI GENERATIVE ENGINE)
═══════════════════════════════════════════════ */
.faq-list {
  max-width: 860px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: rgba(18, 24, 46, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover,
.faq-item.open {
  border-color: rgba(90, 65, 222, 0.4);
  background: rgba(22, 30, 56, 0.85);
}

.faq-q {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.faq-arrow {
  font-size: 14px;
  color: var(--cyan);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.open .faq-body {
  max-height: 300px;
  padding: 0 24px 22px;
}

.faq-ans {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   CTA FINAL & FOOTER
═══════════════════════════════════════════════ */
.cta-sec {
  position: relative;
}

.cta-card {
  background: linear-gradient(135deg, #1A4ECA 0%, #8A28E5 55%, #D6418F 100%);
  border-radius: var(--r-xl);
  padding: 64px 48px;
  text-align: center;
  box-shadow: 0 30px 90px rgba(138, 40, 229, 0.5), 0 0 50px rgba(214, 65, 143, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.2) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.25;
}

.cta-h {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.cta-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* Footer */
footer {
  background: #060810;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 70px 0 40px;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.foot-desc {
  font-size: 13.5px;
  line-height: 1.6;
  margin: 16px 0 20px;
}

.foot-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.foot-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.foot-col-t {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-links a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.foot-links a:hover {
  color: var(--cyan);
}

.foot-div {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 30px;
}

.foot-legal {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 30px;
}

.foot-legal strong {
  color: var(--text-muted);
}

.foot-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ═══════════════════════════════════════════════
   STICKY BAR INFERIOR
═══════════════════════════════════════════════ */
.sticky {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: calc(100% - 32px);
  max-width: 800px;
  z-index: 99;
  background: rgba(14, 18, 36, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(90, 65, 222, 0.35);
  border-radius: var(--r-pill);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(90, 65, 222, 0.25);
  padding: 10px 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.sticky.on {
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.sticky-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-l {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad);
  color: #FFFFFF;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.sticky-t {
  font-size: 13.5px;
  font-weight: 800;
  color: #FFFFFF;
}

.sticky-s {
  font-size: 11.5px;
  color: var(--text-muted);
}

.sticky-rate {
  font-size: 11px;
  font-weight: 700;
  color: #34D399;
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 8px;
  border-radius: var(--r-pill);
  margin-left: 8px;
}

.sticky-btns {
  display: flex;
  gap: 8px;
}

.sticky-btns .btn {
  padding: 9px 18px;
  font-size: 13px;
}

/* ═══════════════════════════════════════════════
   RESPONSIVIDADE (MOBILE & TABLET)
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pain-sol-grid {
    grid-template-columns: 1fr;
  }
  .sim-body {
    grid-template-columns: 1fr;
  }
  .sim-in {
    border-right: none;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot-top {
    grid-template-columns: 1fr 1fr;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .seg-grid {
    grid-template-columns: 1fr;
  }
  .mega-menu {
    width: 90vw;
  }
}

@media (max-width: 768px) {
  nav#mainNav {
    display: none;
  }
  .nav-tog {
    display: flex;
  }
  .h-cta {
    display: none;
  }
  .float-badge {
    position: static;
    margin-top: 10px;
    animation: none;
  }
  .hero-stage-3d {
    flex-direction: column;
  }
  .templates-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .foot-top {
    grid-template-columns: 1fr;
  }
  .sticky-s, .sticky-rate {
    display: none;
  }
  .cta-card {
    padding: 44px 24px;
  }
  
  /* Mobile Navigation Drawer */
  nav#mainNav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 28, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: var(--r-lg);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    max-height: 80vh;
    overflow-y: auto;
    z-index: 300;
  }
  
  nav#mainNav.mobile-open .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    padding: 12px 0 0;
    background: transparent;
  }
  
  nav#mainNav.mobile-open .mega-grid {
    grid-template-columns: 1fr;
  }
}
