
/* ─── TOKENS ──────────────────────────────────── */
:root {
  --blue:        #1A3DD2;
  --blue-light:  #3D5AFE;
  --blue-dim:    rgba(26, 61, 210, 0.08);
  --blue-glow:   rgba(26, 61, 210, 0.04);

  --bg:          #f4f4f4;
  --bg-card:     #ffffff;
  --bg-card2:    #f8f9fa;

  --white:       #161616; /* primary text */
  --muted:       #525252; /* muted text */
  --border:      #e0e0e0;
  --border-hover:#c6c6c6;

  --serif:   'Manrope', system-ui, sans-serif;
  --sans:    'Manrope', system-ui, sans-serif;
  --display: 'Manrope', system-ui, sans-serif;

  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-b: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-organic: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  overflow-x: clip;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.2) transparent;
}

body { 
  overflow-x: clip; 
  position: relative; 
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

h1 { letter-spacing: -2px; margin-top: 0; margin-bottom: 0; font-size: 3.25rem; font-weight: 600; line-height: 1.2; font-family: var(--display); }
h2 { margin-top: 0; margin-bottom: 0; font-size: 3rem; font-weight: 700; line-height: 1.2; font-family: var(--display); }
h3 { margin-top: 0; margin-bottom: 0; font-size: 2.5rem; font-weight: 700; line-height: 1.2; font-family: var(--display); }
h4 { margin-top: 0; margin-bottom: 0; font-size: 1.75rem; font-weight: 700; line-height: 1.2; font-family: var(--display); }
h5 { margin-top: 0; margin-bottom: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.2; font-family: var(--display); }
h6 { margin-top: 0; margin-bottom: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.2; font-family: var(--display); }

body.fomo-hidden header {
  top: 0;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 3px; }

/* ─── SCROLL PROGRESS BAR ─────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue) 0%, #0D9488 100%);
  z-index: 9999;
  transition: width 0.1s var(--ease);
}

/* ─── FOMO BAR ────────────────────────────────── */
#fomo-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: linear-gradient(90deg, #1E40AF 0%, #7C3AED 100%);
  padding: 10px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
#fomo-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
#fomo-text {
  transition: opacity 0.3s ease;
}
#fomo-close {
  position: absolute;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}
#fomo-close:hover {
  color: #fff;
}

/* ─── GRAIN OVERLAY ───────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100%{transform:translate(0,0)}
  10%{transform:translate(-5%,-10%)}
  30%{transform:translate(7%,-25%)}
  50%{transform:translate(-15%,10%)}
  70%{transform:translate(0%,15%)}
  90%{transform:translate(-10%,10%)}
}

/* ─── CURSOR SPOTLIGHT ────────────────────────── */
#spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    700px circle at var(--mx, 50%) var(--my, 50%),
    var(--blue-glow),
    transparent 70%
  );
  transition: opacity 0.3s;
}

/* ─── REVEAL ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity:0; transform:translateX(-32px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal-right { opacity:0; transform:translateX(32px);  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal-left.active, .reveal-right.active { opacity:1; transform:translateX(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ─── HEADER ──────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px max(32px, calc((100vw - 1560px) / 2 + 32px));
  border-bottom: 1px solid rgba(0,0,0,0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.7);
  transition: background 0.3s, box-shadow 0.3s;
}

header.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.3s var(--ease);
}
.logo:hover {
  opacity: 0.95;
}

.site-logo-icon {
  height: 42px;
  max-width: 260px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}

header.scrolled .site-logo-icon {
  height: 42px;
}

.logo:hover .site-logo-icon {
  transform: scale(1.05);
  filter: drop-shadow(0 0 16px rgba(59, 130, 246, 0.5));
}

.logo-brand {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.08em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.logo-brand .logo-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.35);
  padding: 2px 8px;
  border-radius: 5px;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.2);
}

.wa-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.5));
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-link {
  color: #475569;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s var(--ease);
}
.nav-link:hover {
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
}

/* ─── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.35s var(--ease);
  position: relative;
  z-index: 10;
  white-space: nowrap;
}

.btn-sm {
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  box-shadow: 0 0 0 0 rgba(37,99,235,0);
}
.btn-primary:hover {
  background: var(--blue-light);
  box-shadow: 0 4px 14px rgba(37,99,235,0.25);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #0f172a;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(37, 99, 235, 0.04);
}

.btn-lg {
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
}

/* ─── HERO ────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 24px 60px;
  position: relative;
  z-index: 2;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  width: 100%;
  max-width: min(92vw, 1560px);
  margin: 0 auto;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-dim);
  border: 1px solid rgba(37,99,235,0.25);
  color: var(--blue-light);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 99px;
  margin-bottom: 24px;
}


.hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-bottom: 24px;
  text-align: left;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue-light);
}

.typewriter-container {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 40px;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
}
.typewriter-cursor {
  width: 2px;
  height: 18px;
  background-color: var(--blue-light);
  display: inline-block;
  animation: blink 0.8s step-end infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.play-icon {
  font-size: 14px;
  margin-right: 4px;
}

/* ─── HERO AI PILLS ───────────────────────────── */
.hero-ai-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  justify-content: flex-start;
}

.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  background: #f1f5f9;
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.3s var(--ease);
  cursor: default;
}

.ai-pill:hover {
  background: #e2e8f0;
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  color: #0f172a;
}

.ai-pill-icon {
  font-size: 14px;
}

/* ─── WHATSAPP 3D MOCKUP ──────────────────────── */
.hero-mockup-area {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  width: 100%;
  margin-top: 10px;
}
.whatsapp-mockup-wrapper {
  width: 100%;
  max-width: clamp(440px, 32vw, 560px);
  transform-style: preserve-3d;
}
.whatsapp-mockup {
  background: #0b141a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.5), 
    0 0 40px rgba(37, 99, 235, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: clamp(460px, 34vw, 560px);
  width: 100%;
  transform: rotateY(-14deg) rotateX(6deg);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Header */
.wa-header {
  background: #202c33;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #222e35;
  flex-shrink: 0;
}
.wa-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--blue-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-status-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.wa-name {
  color: #e9edef;
  font-size: 13.5px;
  font-weight: 600;
}
.wa-status {
  color: #8696a0;
  font-size: 10.5px;
}
.wa-header-right {
  display: flex;
  gap: 16px;
  color: #aebac1;
}
.wa-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
  transition: color 0.2s;
}
.wa-icon:hover {
  color: #e9edef;
}

/* Chat Area */
.wa-chat-area {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #0b141a;
  background-image: radial-gradient(#111b21 60%, #0b141a 100%);
  position: relative;
  scrollbar-width: none; /* Hide scrollbar for clean visual */
}
.wa-chat-area::-webkit-scrollbar {
  display: none;
}
.wa-chat-area::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm1-61c3.16 0 6-2.5 6-5.5S38.16 18 35 18s-6 2.5-6 5.5 2.84 5.5 6 5.5zm-5 46c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4zm52-32c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4zm-40-7c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5 5-2.24 5-5zm28 26c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5 5-2.24 5-5z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Bubbles */
.wa-bubble {
  max-width: 85%;
  padding: 8px 12px 18px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
  position: relative;
  word-break: break-word;
  color: #e9edef;
  animation: wa-pop 0.65s var(--ease-organic) forwards;
  transform-origin: left bottom;
  opacity: 0;
  transform: scale(0.8) translateY(12px);
  text-align: left;
}
@keyframes wa-pop {
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.wa-bubble.vendedor {
  align-self: flex-end;
  background: #1a4db5;
  border-top-right-radius: 0;
  transform-origin: right bottom;
}
.wa-bubble.copilot {
  align-self: flex-start;
  background: #202c33;
  border-top-left-radius: 0;
}
.wa-bubble strong {
  color: #fff;
  font-weight: 600;
}
.wa-bubble-time {
  position: absolute;
  bottom: 3px;
  right: 8px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 3px;
}
.wa-double-check {
  font-size: 12px;
  line-height: 1;
  color: #53bdeb;
}

/* Typing Indicator */
.wa-typing {
  align-self: flex-start;
  background: #202c33;
  padding: 10px 16px;
  border-radius: 8px;
  border-top-left-radius: 0;
  display: flex;
  gap: 4px;
  align-items: center;
  width: fit-content;
  animation: wa-pop 0.2s ease forwards;
}
.wa-dot {
  width: 6px;
  height: 6px;
  background: #aebac1;
  border-radius: 50%;
  animation: wa-bounce 1.3s infinite ease-in-out;
}
.wa-dot:nth-child(2) { animation-delay: 0.15s; }
.wa-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes wa-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

/* Input Area */
.wa-input-area {
  background: #202c33;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #222e35;
  flex-shrink: 0;
}
.wa-input-placeholder {
  flex-grow: 1;
  background: #2a3942;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #8696a0;
  cursor: default;
  text-align: left;
}
.wa-send-btn {
  color: #8696a0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s;
}
.wa-send-btn:hover {
  color: #00a884;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.5;
}
.scroll-hint span { display: block; }
.scroll-arrow {
  width: 10px; height: 10px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  animation: scroll-bob 1.8s ease-in-out infinite;
  margin-top: 4px;
}
@keyframes scroll-bob {
  0%,100%{transform:rotate(45deg) translate(0,0);opacity:0.5}
  50%{transform:rotate(45deg) translate(4px,4px);opacity:1}
}

/* ─── GLOW CARD EFFECT ────────────────────────── */
.glow-card {
  position: relative;
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.glow-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* ─── DOR / EMPATIA ───────────────────────────── */
.pain {
  padding: 120px 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--blue);
}

.pain h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 680px;
  margin-bottom: 64px;
}

.bento-pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: 
    "large small1"
    "large small2";
  gap: 24px;
}
.pain-card.bento-large { grid-area: large; }
.pain-card.bento-small:nth-of-type(2) { grid-area: small1; }
.pain-card.bento-small:nth-of-type(3) { grid-area: small2; }

.pain-card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 36px 32px;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.pain-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.pain-number {
  font-family: var(--display);
  font-size: 54px;
  font-weight: 900;
  color: rgba(37,99,235,0.18);
  line-height: 1;
  margin-bottom: 20px;
}

.pain-card h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.pain-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── COMPARAÇÃO ORGÂNICA ───────────────────────────── */
.comparison {
  padding: 120px 60px;
  max-width: min(92vw, 1560px);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.comparison-header-wrap {
  text-align: left;
  max-width: 600px;
}

.comparison-header-wrap h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.comparison-header-wrap p {
  font-size: 18px;
  color: var(--muted);
}

.comparison-bento {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: stretch;
}

.comp-card {
  position: relative;
  z-index: 10;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px;
  text-align: left;
  transition: border-color 0.3s;
}

.before-card {
  background: var(--bg-card2);
  border-color: rgba(255,255,255,0.05);
}

.after-card {
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.05) 0%, transparent 100%), var(--bg-card);
  border-color: rgba(26, 86, 219, 0.2);
}

.comp-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.comp-tag.old-way {
  background: rgba(255,255,255,0.05);
  color: var(--muted);
}

.comp-tag.new-way {
  background: var(--blue-dim);
  color: var(--blue-light);
}

.comp-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comp-card li {
  font-size: 16px;
  color: var(--white);
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.comp-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.after-card li::before {
  color: var(--blue-light);
}

/* ─── CALCULADORA DE PREJUÍZO ───────────────────── */
.calculator-section {
  padding: 120px 60px;
  position: relative;
  z-index: 2;
}
.calculator-inner {
  max-width: min(92vw, 1560px);
  margin: 0 auto;
  text-align: center;
}
.calc-subtitle {
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 18px);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.calculator {
  display: grid;
  grid-template-columns: 1fr auto 1.1fr;
  gap: 40px;
  padding: 48px;
  background: var(--bg-card);
  border-radius: 20px;
  text-align: left;
}
.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
}
.calc-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-group label {
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
}
.calc-output {
  font-size: 16px;
  color: var(--blue-light);
  font-weight: 600;
}
/* Custom Range Sliders */
.calc-group input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 99px;
  outline: none;
}
.calc-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-light);
  cursor: pointer;
  transition: transform 0.15s var(--ease-b);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
  border: none;
}
.calc-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.calc-divider {
  width: 1px;
  background: var(--border);
}
.calc-results {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.calc-result-box {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.calc-loss-box {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(239, 68, 68, 0.01) 100%);
  border-color: rgba(239, 68, 68, 0.2);
}
.calc-gain-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.01) 100%);
  border-color: rgba(16, 185, 129, 0.2);
}
.calc-result-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.calc-amount {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}
.calc-loss-amount {
  color: #E11D48;
}
.calc-gain-amount {
  color: #0D9488;
}
.calc-result-sub {
  font-size: 13px;
  color: var(--muted);
}
.calc-result-sub strong {
  color: var(--white);
}
.calc-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 99px;
  overflow: hidden;
  margin: 12px 0 8px;
}
.calc-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0D9488 0%, #14B8A6 100%);
  border-radius: 99px;
  width: 0%;
  transition: width 0.6s var(--ease);
}
.calc-cta {
  width: 100%;
  justify-content: center;
}

/* ─── PIPELINE SECTION ────────────────────────── */
.pipeline-section {
  padding: 120px 60px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.pipeline-section .section-inner {
  max-width: min(92vw, 1560px);
  margin: 0 auto;
}

.pipeline-section .section-label { justify-content: center; }
.pipeline-section .section-label::before { display: none; }
.pipeline-section .section-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--blue);
  margin-left: 10px;
}

.pipeline-header {
  text-align: center;
  margin-bottom: 72px;
}
.pipeline-header h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.pipeline-header p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

.drag-hint {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--blue-light);
  animation: pulse-text 2s infinite ease-in-out;
}
@keyframes pulse-text {
  0%,100%{opacity:0.8}
  50%{opacity:1}
}

/* Kanban visual */
.kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.kanban-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s;
}
.kanban-col.drag-over {
  border-color: var(--blue-light);
  border-style: dashed;
}

.kanban-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.kanban-col-title {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}

.col-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.col-dot.new   { background: var(--blue); }
.col-dot.qual  { background: #D97706; }
.col-dot.won   { background: #0D9488; }

.kanban-badge {
  font-size: 11px;
  background: rgba(255,255,255,0.05);
  padding: 3px 9px;
  border-radius: 99px;
  color: var(--muted);
}

.kanban-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.lead-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 16px;
  opacity: 0;
  transform: translateY(12px);
  cursor: grab;
  user-select: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease),
              background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.lead-card.visible { opacity: 1; transform: translateY(0); }
.lead-card:active { cursor: grabbing; }

.lead-card.dragging {
  opacity: 0.5;
  transform: scale(0.95);
}

.lead-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(37,99,235,0.2);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.demo-hand {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 28px;
  height: 28px;
  background-color: #000;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  z-index: 20;
  pointer-events: none;
  animation: demo-hand-anim 2.5s infinite;
}

@keyframes demo-hand-anim {
  0%, 15% {
    -webkit-mask-image: url('../assets/hand-fill-svgrepo-com.svg');
    mask-image: url('../assets/hand-fill-svgrepo-com.svg');
    transform: translate(0, 0) scale(1);
  }
  20% {
    -webkit-mask-image: url('../assets/hand-grabbing-fill-svgrepo-com.svg');
    mask-image: url('../assets/hand-grabbing-fill-svgrepo-com.svg');
    transform: translate(0, 4px) scale(0.9);
  }
  80% {
    -webkit-mask-image: url('../assets/hand-grabbing-fill-svgrepo-com.svg');
    mask-image: url('../assets/hand-grabbing-fill-svgrepo-com.svg');
    transform: translate(40px, 4px) scale(0.9);
  }
  85%, 100% {
    -webkit-mask-image: url('../assets/hand-fill-svgrepo-com.svg');
    mask-image: url('../assets/hand-fill-svgrepo-com.svg');
    transform: translate(0, 0) scale(1);
  }
}

.lead-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}
.lead-company {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.lead-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.lead-value {
  color: var(--blue-light);
  font-weight: 600;
}
.lead-tag {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 8px;
  color: var(--muted);
  font-size: 11px;
}

.won-glow {
  border-color: rgba(16,185,129,0.3) !important;
  box-shadow: 0 0 20px rgba(16,185,129,0.12) !important;
  background: rgba(16, 185, 129, 0.05) !important;
}

.kanban-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--bg-card2);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 99px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  transition: transform 0.4s var(--ease-b), opacity 0.4s var(--ease);
}
.kanban-toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ─── FEATURES (APPLE STYLE) ──────────────────── */
.features {
  padding: 40px 60px 120px;
  position: relative;
  z-index: 2;
}

.features-inner {
  max-width: min(92vw, 1560px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-text .section-label { justify-content: flex-start; }

.feature-text h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.feature-text p {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 480px;
}

.feature-detail {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}
.feature-detail-item::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* Feature Visual Boxes */
.feature-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s;
}

.feature-block:hover .feature-visual {
  border-color: rgba(37,99,235,0.18);
}

/* Visual 1: Mini Pipeline */
.vis-pipeline {
  width: 100%;
  height: 100%;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.vis-col {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vis-col-title {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.vis-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.vis-dot.amber { background: #D97706; }
.vis-dot.green { background: #0D9488; }

.vis-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 8px;
}
.vis-card-line {
  height: 6px;
  border-radius: 3px;
  margin-bottom: 5px;
}
.vis-card-line.wide  { width: 80%; background: rgba(255,255,255,0.12); }
.vis-card-line.mid   { width: 55%; background: rgba(37,99,235,0.4); }
.vis-card-line.short { width: 40%; background: rgba(255,255,255,0.06); }

.vis-card.animate-move {
  animation: card-move 3s var(--ease) infinite;
}
@keyframes card-move {
  0%,45%{transform:translateX(0);opacity:1}
  55%{transform:translateX(10px);opacity:0}
  56%{transform:translateX(-6px);opacity:0}
  65%,100%{transform:translateX(0);opacity:1}
}

/* Visual 2: Notification */
.vis-notification {
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vis-phone {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 16px;
  position: relative;
}
.vis-notif-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.vis-app-icon {
  width: 32px; height: 32px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vis-app-icon svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2; }
.vis-notif-from { font-size: 11px; font-weight: 600; margin-bottom: 2px; }
.vis-notif-time { font-size: 10px; color: var(--muted); }
.vis-notif-body { font-size: 12px; font-weight: 300; color: var(--muted); line-height: 1.5; }
.vis-badge {
  position: absolute;
  top: -6px; right: -6px;
  width: 20px; height: 20px;
  background: #E11D48;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badge-pulse 2s ease infinite;
}
@keyframes badge-pulse {
  0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(239,68,68,0.4)}
  50%{transform:scale(1.1);box-shadow:0 0 0 6px rgba(239,68,68,0)}
}

/* Visual 3: Chart */
.vis-chart {
  width: 100%;
  height: 100%;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.vis-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.vis-metric {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.vis-metric-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 400;
}
.vis-trend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #0D9488;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.15);
  padding: 6px 12px;
  border-radius: 99px;
}
.vis-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 160px;
}
.vis-bar {
  flex: 1;
  background: linear-gradient(to top, var(--blue), rgba(59,130,246,0.4));
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 1s var(--ease);
}
.vis-bar.visible { transform: scaleY(1); }

/* ─── PROOF / MÉTRICAS ────────────────────────── */
.proof {
  padding: 80px 60px 120px;
  position: relative;
  z-index: 2;
}
.proof-inner {
  max-width: min(92vw, 1560px);
  margin: 0 auto;
  text-align: center;
}
.proof .section-label {
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.2em;
}
.proof h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 64px;
}
.metric {
  background: var(--bg-card);
  padding: 48px 36px;
  text-align: center;
}
.metric-value {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
}
.metric-value .counter { display: inline; }
.metric-label {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
}

/* Logo Cloud Horizontal Loop */
.logo-cloud {
  overflow: hidden;
  position: relative;
  padding: 32px 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 1.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logo-cloud::before, .logo-cloud::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.logo-cloud::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}
.logo-cloud::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}
.logo-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.logo-item {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 16px;
  color: var(--muted);
  opacity: 0.4;
  transition: opacity 0.3s, color 0.3s;
  cursor: default;
  white-space: nowrap;
}
.logo-item:hover {
  opacity: 1;
  color: var(--blue-light);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Testimonial Carousel */
.testimonial-carousel {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}
.testimonial-viewport {
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s var(--ease);
  width: 100%;
}
.testimonial {
  flex: 0 0 100%;
  width: 100%;
  background: var(--bg-card);
  padding: 48px 56px;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.testimonial-metric {
  order: 1;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: #0D9488;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 99px;
  width: fit-content;
  margin-bottom: 20px;
}
.testimonial-quote {
  order: 2;
  font-family: var(--display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 36px;
}
.testimonial-author {
  order: 3;
  display: flex;
  align-items: center;
  gap: 16px;
}
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, #1E40AF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
.author-name { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.author-role { font-size: 13px; font-weight: 300; color: var(--muted); }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}
.carousel-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: border-color 0.3s, color 0.3s;
}
.carousel-btn:hover {
  border-color: var(--blue);
  color: var(--blue-light);
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: width 0.3s var(--ease), background-color 0.3s;
}
.carousel-dot.active {
  width: 20px;
  border-radius: 99px;
  background-color: var(--blue-light);
}

/* ─── PRICING ─────────────────────────────────── */
.pricing {
  padding: 120px 60px;
  position: relative;
  z-index: 2;
}
.pricing-inner {
  max-width: min(92vw, 1560px);
  margin: 0 auto;
  text-align: center;
}
.pricing h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.pricing-anchor {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 64px;
}
.pricing-anchor strong {
  color: var(--white);
}
.bento-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 991px) {
  .bento-pricing {
    grid-template-columns: 1fr;
  }
}
.popular-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #1A3DD2 0%, #3D5AFE 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 99px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(26, 61, 210, 0.3);
  margin-bottom: 16px;
  align-self: flex-start;
}

.pricing-anchor-strike {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.pricing-anchor-strike .old-price {
  font-size: 15px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: line-through;
}
.pricing-anchor-strike .discount-badge {
  font-size: 11px;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 10px;
  border-radius: 99px;
  border: 1px solid #bbf7d0;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pricing-card:hover {
  border-color: rgba(26, 61, 210, 0.25);
  box-shadow: 0 10px 32px rgba(0,0,0,0.12);
}
.pricing-popular {
  border: 2px solid #1A3DD2 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
  box-shadow: 0 14px 40px rgba(26, 61, 210, 0.16);
  z-index: 5;
}
.pricing-popular:hover {
  border-color: #3D5AFE !important;
  box-shadow: 0 18px 48px rgba(26, 61, 210, 0.24);
  transform: translateY(-4px);
}
.calc-cta {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(135deg, #1A3DD2 0%, #3D5AFE 100%);
  box-shadow: 0 8px 24px rgba(26, 61, 210, 0.25);
  transition: all 0.3s var(--ease);
}
.calc-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26, 61, 210, 0.35);
}
.small-card {
  padding: 32px;
}
.pricing-price-small {
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}
.pricing-price-small small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.pricing-tier {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
}
.pricing-price {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
}
.pricing-currency {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
}
.pricing-amount {
  font-family: var(--display);
  font-size: 54px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.pricing-period {
  font-size: 13px;
  color: var(--muted);
}
.pricing-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.5;
}
.pricing-features {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}
.pricing-features li {
  font-size: 14px;
  color: var(--white);
  position: relative;
  padding-left: 24px;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-light);
  font-weight: bold;
}
.pricing-features li.feature-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-light);
  padding-left: 0;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  opacity: 0.85;
}
.pricing-features li.feature-category:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.pricing-features li.feature-category::before {
  content: none;
}
.pricing-features li.feature-unavailable {
  color: var(--muted);
  opacity: 0.45;
  text-decoration: line-through;
  font-size: 13px;
}
.pricing-features li.feature-unavailable::before {
  content: '\2013';
  color: var(--muted);
  opacity: 0.4;
}
.pricing-features li.feature-divider {
  height: 0;
  padding: 0;
  margin: 4px 0;
  border-top: 1px dashed var(--border);
}
.pricing-features li.feature-divider::before {
  content: none;
}
.pricing-see-more {
  background: none;
  border: none;
  color: var(--blue-light);
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin-bottom: 24px;
  transition: color 0.2s ease, opacity 0.2s ease;
  text-underline-offset: 3px;
}
.pricing-see-more:hover {
  color: var(--blue);
  opacity: 0.85;
}

.pricing-terms-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 11px;
  cursor: pointer;
  padding: 6px 0 0;
  margin-top: 6px;
  text-align: center;
  width: 100%;
  display: block;
}
.pricing-terms-btn:hover {
  color: var(--blue-light);
  text-decoration: underline;
}

.pricing-legal-note {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  margin: 24px auto 8px;
}
.pricing-legal-note a {
  color: #94a3b8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pricing-legal-note a:hover {
  color: var(--blue-light);
}

/* ─── MODAL DE CONTRATOS ─── */
.contract-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.contract-overlay.active {
  display: flex;
  opacity: 1;
}
.contract-box {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  width: 100%;
  max-width: 380px;
  padding: 24px;
}
.contract-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 4px;
}
.contract-title {
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0;
  line-height: 1.4;
}
.contract-close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}
.contract-close:hover {
  color: #e2e8f0;
}
.contract-subtitle {
  font-size: 12.5px;
  color: #64748b;
  margin: 0 0 16px;
}
.contract-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contract-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.contract-link:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}
.contract-link-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #e2e8f0;
}
.contract-link-detail {
  font-size: 11.5px;
  color: #64748b;
}

/* ─── MODAL DE DETALHES DO PLANO ─── */
/* ─── MODAL DE DETALHES DO PLANO ─── */
/* ─── MODAL DE CONTRATOS ─── */
.contract-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.contract-overlay.active {
  display: flex;
  opacity: 1;
}
.contract-box {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  width: 100%;
  max-width: 380px;
  padding: 24px;
}
.contract-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 4px;
}
.contract-title {
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0;
  line-height: 1.4;
}
.contract-close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}
.contract-close:hover {
  color: #e2e8f0;
}
.contract-subtitle {
  font-size: 12.5px;
  color: #64748b;
  margin: 0 0 16px;
}
.contract-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contract-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.contract-link:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}
.contract-link-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #e2e8f0;
}
.contract-link-detail {
  font-size: 11.5px;
  color: #64748b;
}

.plan-detail-overlay {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: rgba(15, 23, 42, 0.75);
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
  overscroll-behavior: contain;
}

.plan-detail-overlay.active {
  display: flex;
  opacity: 1;
}

.plan-detail-modal {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: scale(0.97) translateZ(0);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  contain: content;
}

.plan-detail-overlay.active .plan-detail-modal {
  transform: scale(1) translateZ(0);
}

.plan-detail-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.plan-detail-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  font-family: var(--sans, 'Inter', sans-serif);
}

.plan-detail-close {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.plan-detail-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  transform: rotate(90deg);
}

.plan-detail-body {
  padding: 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.plan-detail-body::-webkit-scrollbar {
  width: 6px;
}
.plan-detail-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.section-badge-header {
  margin-bottom: 14px;
}

.section-badge-header span {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 4px 10px;
  border-radius: 6px;
}

.plan-detail-section.unavailable-section .section-badge-header span {
  color: #64748b;
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.modal-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-feature-list li {
  font-size: 14px;
  color: #334155;
  padding: 8px 12px;
  border-radius: 8px;
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}

.modal-feature-list li:hover {
  background: #f8fafc;
}

.item-icon-check {
  width: 18px;
  height: 18px;
  color: #2563eb;
  flex-shrink: 0;
}

.item-icon-unavail {
  width: 18px;
  height: 18px;
  color: #94a3b8;
  flex-shrink: 0;
}

.modal-feature-list li.unavailable {
  color: #94a3b8;
  opacity: 0.65;
  text-decoration: line-through;
}

.modal-cta-footer {
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
}

.modal-cta-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 12px;
}
.pricing-btn {
  width: 100%;
  justify-content: center;
}
.pricing-note {
  margin-top: 48px;
  font-size: 13px;
  color: var(--muted);
}
.pricing-note strong {
  color: var(--white);
}

/* ─── CALCULADORA INTERATIVA DE PLANOS & ROI ─── */
.pricing-calculator-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.calc-header {
  margin-bottom: 24px;
}

.calc-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.calc-subtitle {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: center;
}

@media (max-width: 991px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.calc-value-badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
  transition: transform 0.15s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-range-marks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  padding: 0 2px;
}

.calc-result-box {
  background: var(--surface-light);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.calc-recommendation-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--blue);
  margin-bottom: 4px;
}

.calc-plan-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.calc-metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  margin-bottom: 20px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.calc-metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calc-metric-number {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
}

.calc-metric-desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}

.calc-cta-btn {
  width: 100%;
}

.calc-methodology-note {
  margin-top: 24px;
  padding: 14px 18px;
  background: rgba(37, 99, 235, 0.04);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.calc-methodology-note strong {
  color: var(--navy);
}

/* Destaque dinâmico de card recomendado */
.pricing-card.plan-recommended {
  border-color: var(--blue) !important;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.25) !important;
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

/* ─── FORM ────────────────────────────────────── */
.form-section {
  padding: 120px 60px;
  position: relative;
  z-index: 2;
  background: radial-gradient(circle at 50% 0%, rgba(37,99,235,0.06), transparent 70%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.form-inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.form-inner h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.form-inner > p {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

#demo-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.form-group input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  width: 100%;
}
.form-group input::placeholder { color: rgba(100,116,139,0.5); }
.form-group input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.form-group input.valid {
  border-color: #0D9488;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.08);
}
.form-group input.invalid {
  border-color: #E11D48;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.6;
  text-align: center;
  margin-top: 4px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 14px;
}
.form-success.visible { display: block; }
.form-success-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.form-success h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}
.form-success p {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
}

/* ─── TRUST BADGES ────────────────────────────── */
.trust {
  padding: 64px 60px;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--border);
  text-align: center;
  background: var(--bg);
}
.trust-inner {
  max-width: min(92vw, 1560px);
  margin: 0 auto 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.trust-icon {
  font-size: 28px;
}
.trust-text {
  display: flex;
  flex-direction: column;
}
.trust-text strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.trust-text span {
  font-size: 12px;
  color: var(--muted);
}
.trust-tagline {
  font-size: 13px;
  color: var(--muted);
  opacity: 0.7;
}

/* ─── FAQ ─────────────────────────────────────── */
.faq {
  padding: 120px 60px;
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}
.faq h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 56px;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-item.open { border-color: rgba(37,99,235,0.2); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  padding: 24px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-icon {
  width: 22px; height: 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
  color: var(--muted);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--blue);
  color: var(--blue-light);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.45s;
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 28px 24px;
}

/* ─── FOOTER ──────────────────────────────────── */
footer {
  padding: 48px max(32px, calc((100vw - 1560px) / 2 + 32px));
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
  background: var(--bg);
}

/* ─── VIDEO MODAL ─────────────────────────────── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.video-modal-content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 90%;
  max-width: 680px;
  padding: 60px 40px;
  z-index: 1002;
  transform: translateY(24px);
  transition: transform 0.4s var(--ease);
}
.video-modal.active .video-modal-content {
  transform: translateY(0);
}
.video-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
  transition: color 0.2s;
}
.video-modal-close:hover {
  color: var(--white);
}
.video-placeholder {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.video-placeholder-icon {
  margin-bottom: 8px;
}
.video-placeholder-icon svg polygon {
  transition: transform 0.3s var(--ease-b);
}
.video-placeholder:hover .video-placeholder-icon svg polygon {
  transform: scale(1.1);
  transform-origin: center;
}
.video-placeholder h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}
.video-placeholder p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

/* ─── AEGIS AI WIDGET & VOICE MODAL (LIGHT THEME) ─────────── */
.aegis-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: var(--sans);
}

/* Floating Action Button (FAB) */
.aegis-fab-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border: 1px solid rgba(61, 90, 254, 0.4);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(61, 90, 254, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s, border-color 0.3s;
  outline: none;
}
.aegis-fab-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 90, 254, 0.4) 0%, transparent 70%);
  opacity: 0.6;
  animation: aegis-fab-pulse 2.5s ease-in-out infinite;
  z-index: -1;
}
@keyframes aegis-fab-pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.18); opacity: 0.8; }
}
.aegis-fab-btn:hover {
  transform: scale(1.08);
  border-color: rgba(61, 90, 254, 0.8);
  box-shadow: 0 12px 35px rgba(61, 90, 254, 0.5), 0 0 20px rgba(61, 90, 254, 0.4);
}
.aegis-fab-icon-wrap {
  position: relative;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aegis-fab-icon {
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.aegis-fab-icon.icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}
.aegis-fab-btn.open .aegis-fab-icon.icon-chat {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}
.aegis-fab-btn.open .aegis-fab-icon.icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.aegis-fab-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: linear-gradient(135deg, #3D5AFE, #2563EB);
  color: #FFF;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  border: 2px solid #0F172A;
  letter-spacing: 0.5px;
}

/* Floating Callout Bubble */
.aegis-fab-bubble {
  position: absolute;
  bottom: 74px;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(61, 90, 254, 0.3);
  color: #FFF;
  font-size: 13px;
  font-weight: 400;
  padding: 10px 14px 10px 16px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.aegis-fab-bubble.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.aegis-fab-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 24px;
  width: 10px;
  height: 10px;
  background: rgba(15, 23, 42, 0.95);
  border-right: 1px solid rgba(61, 90, 254, 0.3);
  border-bottom: 1px solid rgba(61, 90, 254, 0.3);
  transform: rotate(45deg);
}
.aegis-bubble-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  display: inline-block;
  flex-shrink: 0;
}
.aegis-bubble-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  padding: 2px;
  transition: color 0.2s;
}
.aegis-bubble-close:hover { color: #FFF; }

/* AEGIS Modal Window */
.aegis-modal-window {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 570px;
  max-height: calc(100vh - 120px);
  background: #0B0F19;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(61, 90, 254, 0.15);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16,1,0.3,1), transform 0.35s cubic-bezier(0.16,1,0.3,1);
  z-index: 9998;
}
.aegis-modal-window.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Modal Header */
.aegis-modal-header {
  height: 60px;
  padding: 0 16px;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.aegis-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.aegis-back-btn {
  background: rgba(255,255,255,0.06);
  border: none;
  color: #FFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  opacity: 0;
  pointer-events: none;
}
.aegis-back-btn.visible {
  opacity: 1;
  pointer-events: auto;
}
.aegis-back-btn:hover {
  background: rgba(255,255,255,0.15);
  transform: translateX(-2px);
}
.aegis-header-logo-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.aegis-header-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.aegis-logo-ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3D5AFE 0%, #00F2FE 100%);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aegis-logo-orb {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 50%;
  display: block;
}
.aegis-modal-logo-text {
  font-family: var(--display, 'Manrope', sans-serif);
  font-weight: 800;
  font-size: 18px;
  color: #FFF;
  letter-spacing: -0.5px;
}
.aegis-status-pill {
  font-size: 11px;
  color: #10B981;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  padding: 2px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
}
.aegis-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  display: inline-block;
}
.aegis-close-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 24px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.aegis-close-btn:hover {
  color: #FFF;
  background: rgba(255,255,255,0.1);
}

/* Modal Body & Views */
.aegis-modal-body {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #F8FAFC;
}
.aegis-view {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.aegis-view.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* VIEW 1: LEAD FORM */
.aegis-view-form {
  justify-content: center;
  background: #F8FAFC;
  color: #0F172A;
}
.aegis-form-header {
  text-align: center;
  margin-bottom: 22px;
}
.aegis-avatar-pulse {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3D5AFE, #2563EB);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 8px 20px rgba(61,90,254,0.35);
}
.aegis-form-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
}
.aegis-form-header p {
  font-size: 13px;
  color: #64748B;
  line-height: 1.45;
}
.aegis-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  text-align: left;
}
.aegis-input-group label {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}
.aegis-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.aegis-input-wrapper svg {
  position: absolute;
  left: 14px;
  color: #94A3B8;
}
.aegis-input-wrapper input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background: #FFF;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  font-size: 14px;
  color: #0F172A;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.aegis-input-wrapper input:focus {
  border-color: #3D5AFE;
  box-shadow: 0 0 0 3px rgba(61,90,254,0.15);
}
.aegis-submit-btn {
  margin-top: 6px;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #000 0%, #1E293B 100%);
  color: #FFF;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.aegis-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.aegis-privacy-note {
  font-size: 11px;
  color: #94A3B8;
  text-align: center;
  margin-top: 14px;
}

/* VIEW 2: OPTIONS HUB */
.aegis-view-options {
  background: #F8FAFC;
  color: #0F172A;
  padding: 24px 18px;
}
.aegis-user-greeting { margin-bottom: 20px; }
.aegis-greeting-sub {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 4px;
}
.aegis-user-greeting h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.3;
}
.aegis-options-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aegis-option-card {
  background: #FFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, border-color 0.2s, box-shadow 0.2s;
}
.aegis-option-card:hover {
  transform: translateY(-2px);
  border-color: #3D5AFE;
  box-shadow: 0 8px 20px rgba(61,90,254,0.12);
}
.aegis-option-card.voice-highlight {
  border: 1px solid rgba(61,90,254,0.3);
  background: linear-gradient(135deg, #FFF 0%, rgba(61,90,254,0.03) 100%);
}
.aegis-option-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.aegis-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.aegis-option-icon.text-icon {
  background: rgba(15,23,42,0.06);
  color: #0F172A;
}
.aegis-option-icon.voice-icon {
  background: rgba(61,90,254,0.1);
  color: #3D5AFE;
}
.aegis-option-icon.wa-icon {
  background: rgba(37,211,102,0.12);
  color: #25D366;
}
.aegis-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.aegis-option-title {
  font-size: 15px;
  font-weight: 600;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 6px;
}
.aegis-tag-new {
  font-size: 10px;
  font-weight: 800;
  color: #FFF;
  background: #3D5AFE;
  padding: 2px 6px;
  border-radius: 8px;
}
.aegis-option-desc {
  font-size: 12px;
  color: #64748B;
}
.aegis-option-arrow {
  color: #94A3B8;
  transition: transform 0.2s;
}
.aegis-option-card:hover .aegis-option-arrow {
  transform: translateX(4px);
  color: #3D5AFE;
}

/* VIEW 3: TEXT CHAT */
.aegis-view-chat {
  background: #F8FAFC;
  padding: 0;
}
.aegis-chat-stream {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.aegis-msg-bubble {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.5;
  word-break: break-word;
  animation: aegis-bubble-fade 0.25s ease-out;
}
@keyframes aegis-bubble-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.aegis-msg-bubble.bot {
  align-self: flex-start;
  background: #FFF;
  border: 1px solid #E2E8F0;
  color: #0F172A;
  border-top-left-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.aegis-msg-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFF;
  border-top-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(15,23,42,0.25);
}
.aegis-msg-time {
  font-size: 10px;
  opacity: 0.6;
  margin-top: 4px;
  display: block;
  text-align: right;
}
.aegis-chat-quick-actions {
  padding: 8px 14px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  background: #F1F5F9;
  border-top: 1px solid #E2E8F0;
  scrollbar-width: none;
}
.aegis-chat-quick-actions::-webkit-scrollbar { display: none; }
.aegis-chip {
  background: #FFF;
  border: 1px solid #CBD5E1;
  color: #334155;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.aegis-chip:hover {
  background: #3D5AFE;
  color: #FFF;
  border-color: #3D5AFE;
}
.aegis-chat-input-bar {
  padding: 12px 14px;
  background: #FFF;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.aegis-chat-input-bar input {
  flex: 1;
  border: 1px solid #CBD5E1;
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 13.5px;
  outline: none;
  color: #0F172A;
  background: #F8FAFC;
}
.aegis-chat-input-bar input:focus {
  border-color: #3D5AFE;
  background: #FFF;
}
.aegis-chat-input-bar button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #000;
  color: #FFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.aegis-chat-input-bar button:hover { transform: scale(1.08); }

/* VIEW 4: VOICE CALL */
.aegis-view-voice {
  background: #F8FAFC;
  color: #0F172A;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 30px 20px 20px;
}
.aegis-voice-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.aegis-voice-orb-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}
.aegis-voice-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #FFF;
  border: 1px solid #E2E8F0;
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  position: relative;
  z-index: 3;
}
.aegis-voice-waves {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aegis-voice-waves .wave {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(61,90,254,0.3);
  opacity: 0;
}
.aegis-voice-waves.active .wave1 {
  animation: aegis-wave-ripple 2s infinite ease-out 0s;
}
.aegis-voice-waves.active .wave2 {
  animation: aegis-wave-ripple 2s infinite ease-out 0.6s;
}
.aegis-voice-waves.active .wave3 {
  animation: aegis-wave-ripple 2s infinite ease-out 1.2s;
}
@keyframes aegis-wave-ripple {
  0% { width: 70px; height: 70px; opacity: 0.8; border-color: rgba(61,90,254,0.6); }
  100% { width: 140px; height: 140px; opacity: 0; border-color: rgba(61,90,254,0); }
}
.aegis-voice-status-box {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.aegis-voice-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
}
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.live-dot.red {
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444;
  animation: aegis-dot-pulse 1.2s infinite alternate;
}
.live-dot.green {
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}
@keyframes aegis-dot-pulse {
  from { opacity: 0.4; }
  to { opacity: 1; }
}
.aegis-voice-transcript {
  font-size: 15px;
  color: #64748B;
  max-width: 280px;
  line-height: 1.5;
  font-weight: 300;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aegis-voice-controls {
  width: 100%;
  display: flex;
  gap: 12px;
  margin-top: auto;
}
.aegis-ctrl-btn {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.aegis-ctrl-btn.mute-btn {
  background: #FFF;
  border: 1px solid #CBD5E1;
  color: #0F172A;
}
.aegis-ctrl-btn.mute-btn:hover { background: #F1F5F9; }
.aegis-ctrl-btn.mute-btn.muted {
  background: #FEF2F2;
  border-color: #FCA5A5;
  color: #EF4444;
}
.aegis-ctrl-btn.hangup-btn {
  background: #EF4444;
  border: none;
  color: #FFF;
  box-shadow: 0 4px 14px rgba(239,68,68,0.35);
}
.aegis-ctrl-btn.hangup-btn:hover {
  background: #DC2626;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(239,68,68,0.45);
}

/* ─── State Specific Badge & Visualizer Styles ─── */
.aegis-voice-live-badge.connecting { color: #64748B; }
.aegis-voice-live-badge.greeting { color: #2563EB; font-weight: 600; }
.aegis-voice-live-badge.listening { color: #10B981; font-weight: 600; }
.aegis-voice-live-badge.processing { color: #8B5CF6; font-weight: 600; }
.aegis-voice-live-badge.speaking { color: #2563EB; font-weight: 600; }
.aegis-voice-live-badge.error { color: #EF4444; font-weight: 600; }
.aegis-voice-live-badge.ended { color: #94A3B8; }

.aegis-voice-waves.speaking .wave {
  border-color: rgba(37, 99, 235, 0.5);
  animation: aegis-wave-ripple 1.5s infinite ease-out;
}
.aegis-voice-waves.listening .wave {
  border-color: rgba(16, 185, 129, 0.4);
  animation: aegis-wave-ripple 2.5s infinite ease-out;
}
.aegis-voice-waves.processing .wave {
  border-color: rgba(139, 92, 246, 0.4);
  animation: aegis-wave-ripple 1.8s infinite ease-out;
}

.aegis-voice-transcript .user-text {
  color: #1E293B;
  font-weight: 500;
  font-style: italic;
}
.aegis-voice-transcript .assistant-text {
  color: #0F172A;
  font-weight: 600;
}
.aegis-voice-transcript .error-text {
  color: #DC2626;
  font-weight: 500;
}
.aegis-voice-transcript .transcript-thinking {
  color: #8B5CF6;
  font-style: italic;
  animation: aegis-dot-pulse 1s infinite alternate;
}

/* Modal Footer */
.aegis-modal-footer {
  height: 42px;
  padding: 0 16px;
  background: #FFF;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.aegis-nav-tab {
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.aegis-nav-tab.active, .aegis-nav-tab:hover {
  color: #0F172A;
  background: #F1F5F9;
}
.aegis-footer-credit {
  font-size: 11px;
  color: #94A3B8;
}
.aegis-footer-credit strong {
  color: #475569;
}


/* ─── CONFETTI CANVAS ─────────────────────────── */
#confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
}

/* ─── DESKTOP / LAPTOP / SMALL COMPUTER SCREENS ─ */
@media (max-width: 1440px), (max-height: 850px) {
  .hero {
    padding: 96px 24px 40px;
    min-height: 100vh;
  }
  .hero-container {
    gap: 32px;
  }
  .hero h1 {
    font-size: clamp(30px, 3.6vw, 44px);
    margin-bottom: 14px;
    line-height: 1.15;
  }
  .hero-badge {
    margin-bottom: 16px;
    padding: 6px 14px;
    font-size: 11px;
  }
  .hero-subheadline {
    font-size: 14.5px !important;
    margin-bottom: 18px !important;
    line-height: 1.5;
  }
  .hero-cta .btn-lg {
    font-size: 13.5px !important;
    padding: 12px 22px !important;
    border-radius: 8px !important;
  }
  .hero-cta {
    gap: 12px;
  }
  .hero-ai-pills {
    margin-top: 18px;
    gap: 8px;
  }
  .ai-pill {
    padding: 5px 12px;
    font-size: 12px;
  }
  header, header.scrolled {
    padding: 14px max(24px, calc((100vw - 1366px) / 2 + 24px));
  }
  .site-logo-icon, header.scrolled .site-logo-icon {
    height: 36px;
  }
  .whatsapp-mockup-wrapper {
    max-width: min(430px, 100%);
  }
  .whatsapp-mockup {
    height: clamp(380px, 35vw, 460px);
  }
}

.nav-mobile-cta {
  display: none !important;
}
.mobile-menu-btn {
  display: none;
}

/* ─── RESPONSIVE (TABLETS & MOBILE) ────────────── */
@media (max-width: 1024px) {
  .mobile-menu-btn {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
  }
  .hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s var(--ease);
    border-radius: 2px;
  }
  .mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  header, header.scrolled {
    padding: 14px 22px !important;
    top: 0 !important; /* Sem espaçamento superior */
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: fixed;
  }
  .site-logo-icon, header.scrolled .site-logo-icon {
    height: 34px !important;
  }
  
  #header-cta {
    display: none !important; /* Escondido no bar superior, disponível dentro do menu */
  }
  
  .header-nav {
    display: none !important; /* Fechado por padrão, aparece apenas ao clicar no menu */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    padding: 24px 24px 28px;
    gap: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    z-index: 99;
    align-items: center;
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
  }
  .header-nav.active {
    display: flex !important; /* Abre o menu quando ativo */
  }
  .header-nav .nav-link {
    font-size: 17px;
    font-weight: 600;
    padding: 6px 0;
    color: var(--white);
  }
  .header-nav .nav-mobile-cta {
    display: inline-flex !important;
    margin-top: 8px;
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
  }

  .hero {
    padding-top: 90px !important;
    padding-bottom: 50px !important;
    min-height: auto;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero h1 {
    text-align: center;
    font-size: clamp(28px, 7.5vw, 40px) !important;
    letter-spacing: -1px !important;
    margin-bottom: 16px !important;
  }
  .hero-subheadline {
    font-size: 15px !important;
    margin-bottom: 24px !important;
  }
  .typewriter-container {
    justify-content: center;
  }
  .hero-cta {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-cta .btn,
  .hero-cta button,
  .hero-cta a {
    width: 100%;
    justify-content: center;
    padding: 14px 22px !important;
    font-size: 15px !important;
  }
  .hero-ai-pills {
    justify-content: center;
  }
  .whatsapp-mockup-wrapper {
    max-width: 100%;
    margin: 0 auto;
  }
  .whatsapp-mockup {
    height: clamp(380px, 85vw, 460px) !important;
    transform: none !important;
  }

  /* Adjust global section titles and text for mobile */
  h2, .ai-agents-header h2, .pipeline-header h2, .comparison-header-wrap h2, .pricing-header h2, .form-header h2, .proof-header h2, .faq-header h2, .calculator-header h2 {
    font-size: clamp(24px, 6.5vw, 32px) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.5px !important;
  }
  h3, .agent-card h3, .pricing-card h3, .feature-block h3, .kanban-col-header h3, .comp-card h3 {
    font-size: clamp(19px, 5vw, 24px) !important;
    line-height: 1.3 !important;
  }
  .section-subheadline, .pipeline-header p, .comparison-header-wrap p, .pricing-header p, .form-header p, .proof-header p, .feature-text p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .pain, .pipeline-section, .features, .proof, .ai-agents-section,
  .form-section, .faq, footer, .calculator-section, .comparison, .pricing { 
    padding: 60px 18px !important;
  }
  
  .pain-grid, .bento-pain-grid, .metrics, .kanban, .pricing-grid, .bento-pricing, .comparison-bento, .comparison-grid { 
    grid-template-columns: 1fr !important; 
    gap: 20px;
  }
  .bento-pain-grid {
    grid-template-areas: "large" "small1" "small2" !important;
  }
  .comp-card, .pricing-card, .agent-card, .pain-card {
    padding: 24px 20px !important;
  }
  
  .pricing-popular {
    transform: scale(1) !important;
    margin: 0 !important;
  }
  
  .comparison-divider {
    flex-direction: row;
    height: auto;
    width: 100%;
    margin: 16px 0;
  }
  .comparison-divider-line {
    height: 1px;
    width: 100%;
    background: var(--border);
  }
  
  .calculator {
    grid-template-columns: 1fr;
    padding: 24px 18px !important;
    gap: 24px;
  }
  .calc-divider {
    height: 1px;
    width: 100%;
    background: var(--border);
  }

  .feature-block, .feature-block.reverse {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
    gap: 32px !important;
  }
  .feature-block.reverse > * { direction: ltr !important; }
  .feature-visual { height: 260px; }
  
  .trust-inner {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
  }
  
  .testimonial {
    padding: 24px 18px !important;
  }
  .testimonial-metric {
    margin-bottom: 20px;
  }
  
  .form-inner {
    padding: 24px 18px !important;
  }

  footer { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 28px !important;
  }
  .hero-subheadline {
    font-size: 14px !important;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-cta .btn, .hero-cta button {
    width: 100%;
    justify-content: center;
    font-size: 14px !important;
    padding: 12px 18px !important;
  }
  .pricing-card, .comp-card {
    padding: 22px 16px !important;
  }
  .pricing-amount {
    font-size: 36px !important;
  }
}

.dashboard-screenshot {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  transform: rotateX(5deg) rotateY(-5deg);
  transition: transform 0.4s ease;
}

.dashboard-screenshot:hover {
  transform: rotateX(0deg) rotateY(0deg) scale(1.02);
}

.author-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.1);
}

/* ─── AGENTES VIRTUAIS DE IA ─────────────────── */
.ai-agents-section {
  padding: 16px 40px 60px 40px;
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 5;
  overflow: hidden;
}

.ai-agents-container {
  max-width: min(92vw, 1200px);
  margin: 0 auto;
  width: 100%;
}

.ai-agents-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 20px auto;
}

.ai-agents-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin: 8px 0 12px 0;
  letter-spacing: -0.02em;
}

.section-subheadline {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 400;
}

.agents-grid {
  position: relative;
  width: 100%;
  max-width: 780px;
  height: 280px;
  margin: 0 auto;
}

.agent-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.agent-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-icon-box.blue { background: #dbeafe; color: #1d4ed8; }
.agent-icon-box.gold { background: #fef3c7; color: #b45309; }
.agent-icon-box.cyan { background: #ccfbf1; color: #0f766e; }
.agent-icon-box.purple { background: #e0e7ff; color: #4338ca; }
.agent-icon-box.emerald { background: #d1fae5; color: #047857; }
.agent-icon-box.orange { background: #ffedd5; color: #c2410c; }

.agent-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 99px;
  text-transform: uppercase;
}

.agent-tag.sales { color: #1d4ed8; background: #dbeafe; border: 1px solid #93c5fd; }
.agent-tag.sac { color: #047857; background: #d1fae5; border: 1px solid #6ee7b7; }
.agent-tag.suporte { color: #c2410c; background: #ffedd5; border: 1px solid #fdba74; }

.agent-card:nth-child(2) .agent-tag { color: #b45309; background: #fef3c7; border: 1px solid #fcd34d; }
.agent-card:nth-child(3) .agent-tag { color: #0f766e; background: #ccfbf1; border: 1px solid #5eead4; }
.agent-card:nth-child(4) .agent-tag { color: #4338ca; background: #e0e7ff; border: 1px solid #a5b4fc; }

.agent-card h3 {
  font-size: 21px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.agent-card p {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 400;
}

.agent-action-link {
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s ease;
}

.agent-card:nth-child(2) .agent-action-link { color: #d97706; }
.agent-card:nth-child(3) .agent-action-link { color: #0d9488; }
.agent-card:nth-child(4) .agent-action-link { color: #4f46e5; }
.agent-card:nth-child(5) .agent-action-link { color: #059669; }
.agent-card:nth-child(6) .agent-action-link { color: #ea580c; }

/* Banner de Fechamento do Agente */
.agent-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  will-change: transform;
  z-index: 10;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%), var(--bg-card);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.agent-banner-content {
  max-width: 700px;
}

.agent-banner-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-dim);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.agent-banner h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.agent-banner p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .ai-agents-section {
    padding: 40px 16px;
  }
  .agents-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: auto;
    position: relative;
  }
  .agent-card, .agent-banner {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    padding: 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ─── ULTRAWIDE & LARGE MONITOR FLUID RESPONSIVENESS ─── */
@media (min-width: 1600px) {
  .hero-container,
  .ai-agents-container,
  .comparison,
  .calculator-inner,
  .pipeline-section .section-inner,
  .features-inner,
  .proof-inner,
  .pricing-inner,
  .trust-inner {
    max-width: min(94vw, 1720px);
  }
  
  header,
  header.scrolled {
    padding-left: max(40px, calc((100vw - 1720px) / 2 + 32px));
    padding-right: max(40px, calc((100vw - 1720px) / 2 + 32px));
  }
  
  footer {
    padding-left: max(40px, calc((100vw - 1720px) / 2 + 32px));
    padding-right: max(40px, calc((100vw - 1720px) / 2 + 32px));
  }
}


/* ─── BLOB ANIMATION BACKGROUND FOR FORM ─── */
.form-blobs-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -999;
  pointer-events: none;
}
.form-blob-blue {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
  background: var(--blue-light);
  animation: float-blob 15s ease-in-out infinite alternate;
}
.form-blob-blue.blob-1 {
  width: 400px;
  height: 400px;
  top: -150px;
  left: -150px;
  background: rgba(61, 90, 254, 0.5);
  animation-delay: 0s;
}
.form-blob-blue.blob-2 {
  width: 500px;
  height: 500px;
  bottom: -200px;
  right: -200px;
  background: rgba(26, 61, 210, 0.4);
  animation-delay: -5s;
}
.form-blob-blue.blob-3 {
  width: 300px;
  height: 300px;
  top: 30%;
  left: 60%;
  background: rgba(61, 90, 254, 0.3);
  animation-delay: -10s;
}
@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(40px, -60px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* ─── NEW FOOTER ────────────────────────────────────────────── */
.site-footer {
  padding: 60px 24px 32px;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  align-self: flex-start;
}

.footer-description {

  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  --tw-tracking: .06em;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
  font-weight: 600;
}

.footer-col ul li a:hover {
  color: var(--blue-light);
}

.footer-bottom {
  display: flex;
  justify-content:center;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

/* ─── LEGAL & DOCUMENTATION PAGES (LIGHT) ───────────────────── */
/* ─── LEGAL PORTAL & DOCUMENTATION SYSTEM (LIGHT MODE) ────────── */
.legal-page-wrapper {
  position: relative;
  min-height: 90vh;
  padding: 120px 24px 100px;
  background: radial-gradient(circle at 50% 10%, rgba(26, 61, 210, 0.05) 0%, rgba(13, 148, 136, 0.02) 45%, var(--bg) 80%), var(--bg);
  overflow: visible;
}

.legal-bg-glow {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 450px;
  background: radial-gradient(circle, rgba(26, 61, 210, 0.08) 0%, rgba(13, 148, 136, 0.04) 40%, transparent 70%);
  filter: blur(70px);
  z-index: 1;
  pointer-events: none;
}

.legal-container {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Header & Hero */
.legal-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue);
  background: rgba(26, 61, 210, 0.08);
  border: 1px solid rgba(26, 61, 210, 0.2);
  padding: 6px 18px;
  border-radius: 99px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(26, 61, 210, 0.08);
  transition: transform 0.3s var(--ease);
}

.legal-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 61, 210, 0.4);
}

.legal-title {
  font-family: var(--display, var(--serif));
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.legal-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
}

.meta-divider {
  color: #cbd5e1;
}

/* Executive Summary Top Cards (3 Grid) */
.legal-exec-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.summary-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.summary-card:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 61, 210, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.summary-card-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  background: rgba(26, 61, 210, 0.08);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(26, 61, 210, 0.15);
}

.summary-card-body h4 {
  color: #0f172a;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: var(--display, var(--serif));
}

.summary-card-body p {
  color: #475569;
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

/* Interactive Search & Filter Toolbar */
.legal-portal-toolbar {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 24px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.legal-search-box {
  position: relative;
  width: 100%;
}

.legal-search-box input {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 44px 14px 18px;
  color: #0f172a;
  font-size: 15px;
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.legal-search-box input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26, 61, 210, 0.12);
  background: #ffffff;
}

.btn-clear-search {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: #e2e8f0;
  border: none;
  color: #64748b;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.btn-clear-search:hover {
  background: #cbd5e1;
  color: #0f172a;
}

.legal-filter-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.filter-pill:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: translateY(-1px);
}

.filter-pill.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(26, 61, 210, 0.25);
}

/* Legal Portal 2-Column Grid Layout */
.legal-portal-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

/* Sticky TOC Sidebar */
.legal-sidebar {
  position: sticky;
  top: 110px;
  z-index: 10;
  max-height: calc(100vh - 130px);
}

.sidebar-sticky-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 130px);
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.sidebar-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0f172a;
}

.reading-progress-badge {
  font-size: 11px;
  font-weight: 700;
  color: #0d9488;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.25);
  padding: 3px 8px;
  border-radius: 99px;
}

.sidebar-progress-bar {
  height: 4px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 20px;
}

.sidebar-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), #0d9488);
  border-radius: 99px;
  transition: width 0.15s ease-out;
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow-y: auto;
  padding-right: 6px;
  margin-bottom: 20px;
}

.toc-nav::-webkit-scrollbar {
  width: 4px;
}
.toc-nav::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 99px;
}

.toc-link {
  color: #475569;
  font-size: 13.5px;
  line-height: 1.45;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  display: block;
  white-space: normal;
  word-break: break-word;
}

.toc-link:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.toc-link.active {
  color: var(--blue);
  background: rgba(26, 61, 210, 0.08);
  border-left: 3px solid var(--blue);
  font-weight: 700;
}

.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.btn-sidebar-action {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s var(--ease);
}

.btn-sidebar-action:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* "Quero ser clicado" CTA Button Pulse & Glow Animation */
/* CTA Button Sheen & Pulse Glow */
.magnetic-btn {
  position: relative;
  overflow: hidden;
  animation: cta-pulse-glow 3s infinite ease-in-out;
}

.magnetic-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: cta-sheen 4s infinite ease-in-out;
}

@keyframes cta-pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3), 0 0 0 0 rgba(37, 99, 235, 0.4);
  }
  50% {
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5), 0 0 0 10px rgba(37, 99, 235, 0);
  }
}

@keyframes cta-sheen {
  0%, 65% {
    left: -100%;
  }
  100% {
    left: 180%;
  }
}

.magnetic-btn:hover {
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.5);
}

.magnetic-btn .btn-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.magnetic-btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* Main Document Content Area */
.legal-main-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.legal-section-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 44px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.legal-section-card:hover {
  border-color: rgba(26, 61, 210, 0.3);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

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

.section-num-badge {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue);
  background: rgba(26, 61, 210, 0.08);
  border: 1px solid rgba(26, 61, 210, 0.2);
  padding: 4px 12px;
  border-radius: 99px;
}

.section-cat-tag {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid #e2e8f0;
}

.legal-section-card h2 {
  font-family: var(--display, var(--serif));
  font-size: clamp(22px, 2.5vw, 26px);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.anchor-link {
  font-size: 18px;
  color: #94a3b8;
  text-decoration: none;
  opacity: 0.4;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}

.legal-section-card:hover .anchor-link {
  opacity: 0.8;
}

.anchor-link:hover {
  opacity: 1 !important;
  color: var(--blue);
}

.section-quick-callout {
  background: linear-gradient(135deg, rgba(26, 61, 210, 0.05) 0%, rgba(13, 148, 136, 0.03) 100%);
  border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #334155;
}

.section-quick-callout strong {
  color: #0f172a;
}

.section-body p {
  color: #475569;
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.section-body p strong,
.section-body li strong {
  color: #0f172a;
  font-weight: 600;
}

.section-body ul {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
}

.section-body li {
  position: relative;
  padding-left: 26px;
  color: #475569;
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.section-body li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

/* Bottom Support Card */
.legal-support-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 48px;
  margin-top: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.support-info h3 {
  font-family: var(--display, var(--serif));
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.support-info p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
  max-width: 520px;
  margin: 0;
}

.support-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Toast Message */
.legal-toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid var(--blue);
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.legal-toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Portal Layout */
@media (max-width: 1024px) {
  .legal-portal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-sidebar {
    position: static;
  }

  .toc-nav {
    max-height: 200px;
  }

  .legal-section-card {
    padding: 32px 28px;
  }

  .legal-support-card {
    padding: 32px 28px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .legal-page-wrapper {
    padding: 100px 14px 60px;
  }

  .legal-exec-summary {
    grid-template-columns: 1fr;
  }

  .legal-section-card {
    padding: 24px 18px;
  }

  .section-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}


@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ─── SEGMENTED PRICING CONTROL (LIGHT MODE) ─── */
.pricing-toggle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 32px auto 44px;
  position: relative;
  z-index: 5;
}

.pricing-segmented-control {
  position: relative;
  display: inline-flex;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 4px;
  border-radius: 99px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  min-width: 330px;
}

.segmented-btn {
  flex: 1;
  position: relative;
  z-index: 2;
  border: none;
  background: transparent;
  padding: 10px 20px;
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  border-radius: 99px;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  white-space: nowrap;
}

.segmented-btn:hover {
  color: #0f172a;
}

.segmented-btn.active {
  color: #2563eb;
}

.segmented-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  width: calc(50% - 4px);
  background: #ffffff;
  border-radius: 99px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

.pricing-segmented-control.is-annual .segmented-indicator {
  transform: translateX(100%);
}

.segmented-badge-floating {
  position: absolute;
  top: -12px;
  right: 12px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.35);
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  animation: badgePulse 2.5s infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.pricing-toggle-subtitle {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.discount-highlight {
  color: #059669;
  font-weight: 600;
}

.pricing-annual-note {
  font-size: 13px;
  color: #059669;
  margin-top: 6px;
  font-weight: 600;
}
