/* ============================================
   Vendas por WhatsApp - Case Landing
   ws- prefix
   ============================================ */

.ws-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.ws-hero__bg { position: absolute; inset: 0; overflow: hidden; }
.ws-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.ws-hero__orb { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.ws-hero__orb--1 {
  width: 620px;
  height: 620px;
  top: -18%;
  left: -8%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 68%);
  animation: ws-drift-1 24s ease-in-out infinite;
}
.ws-hero__orb--2 {
  width: 580px;
  height: 580px;
  right: -8%;
  top: -10%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.16), transparent 70%);
  animation: ws-drift-2 28s ease-in-out infinite;
}
.ws-hero__orb--3 {
  width: 460px;
  height: 460px;
  left: 30%;
  bottom: -15%;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.14), transparent 72%);
  animation: ws-drift-3 20s ease-in-out infinite;
}

@keyframes ws-drift-1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(44px,36px)} }
@keyframes ws-drift-2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-38px,-28px)} }
@keyframes ws-drift-3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(32px,-34px)} }

.ws-hero__inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 4rem;
  align-items: center;
}

.ws-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.12);
  color: var(--wf-emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.22);
  margin-bottom: 1.4rem;
}

.ws-hero__title {
  font-size: clamp(2.1rem, 4.3vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 1.4rem;
}

.ws-hero__desc {
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  color: var(--wf-text-2);
  line-height: 1.72;
  max-width: 590px;
  margin-bottom: 2.4rem;
}

.ws-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.ws-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.ws-kpi {
  background: var(--wf-bg-card);
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-r-xl);
  padding: 1.3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: all 350ms var(--wf-ease);
}

.ws-kpi::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(16, 185, 129, 0.05));
  opacity: 0;
  transition: opacity 350ms var(--wf-ease);
}

.ws-kpi:hover { transform: translateY(-4px); border-color: var(--wf-border-hover); }
.ws-kpi:hover::before { opacity: 1; }

.ws-kpi__icon { font-size: 1.45rem; color: var(--wf-cyan-light); margin-bottom: 0.45rem; }
.ws-kpi__value {
  position: relative;
  z-index: 1;
  font-family: var(--wf-display);
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--wf-text-1);
}
.ws-kpi__label {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  font-size: 12px;
  color: var(--wf-text-3);
  line-height: 1.42;
}

.ws-challenge {
  padding: 2.8rem;
  border-radius: var(--wf-r-xl);
  border: 1px solid rgba(244, 114, 182, 0.16);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.06), rgba(244, 114, 182, 0.04));
}

.ws-challenge__lead {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 2.2rem;
  color: var(--wf-text-2);
  line-height: 1.74;
}

.ws-pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

.ws-pain {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-r-lg);
  padding: 1.3rem;
  text-align: center;
  transition: all 300ms var(--wf-ease);
}
.ws-pain:hover { border-color: var(--wf-border-hover); transform: translateY(-3px); }

.ws-pain__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--wf-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
  color: #fb7185;
  background: rgba(244, 114, 182, 0.11);
  border: 1px solid rgba(244, 114, 182, 0.2);
}
.ws-pain h3 { font-size: 0.98rem; margin-bottom: 0.45rem; }
.ws-pain p { font-size: 13px; color: var(--wf-text-3); line-height: 1.56; }

.ws-pillar {
  background: var(--wf-bg-card);
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-r-xl);
  padding: 2.6rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.6rem;
}

.ws-pillar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
}
.ws-pillar--emerald::before { background: linear-gradient(90deg, #14b8a6, #22d3ee); }
.ws-pillar--indigo::before { background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.ws-pillar--cyan::before { background: linear-gradient(90deg, #22d3ee, #0ea5a8); }

.ws-pillar__header { display: flex; align-items: center; gap: 14px; margin-bottom: 1rem; }
.ws-pillar__badge {
  width: 50px;
  height: 50px;
  border-radius: var(--wf-r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.ws-pillar__badge--emerald { background: rgba(16, 185, 129, 0.12); color: var(--wf-emerald-light); border: 1px solid rgba(16, 185, 129, 0.2); }
.ws-pillar__badge--indigo { background: rgba(99, 102, 241, 0.12); color: var(--wf-primary-light); border: 1px solid rgba(99, 102, 241, 0.2); }
.ws-pillar__badge--cyan { background: rgba(6, 182, 212, 0.12); color: var(--wf-cyan-light); border: 1px solid rgba(6, 182, 212, 0.2); }

.ws-pillar__num { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--wf-text-3); font-weight: 700; }
.ws-pillar__title { font-size: 1.45rem; font-weight: 700; }
.ws-pillar__desc { font-size: 15px; color: var(--wf-text-2); line-height: 1.7; max-width: 790px; margin-bottom: 1.8rem; }

.ws-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.8rem; }
.ws-feature {
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-r-lg);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.2rem;
}
.ws-feature__icon {
  width: 34px;
  height: 34px;
  border-radius: var(--wf-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.04rem;
  margin-bottom: 0.7rem;
}
.ws-feature__icon--emerald { background: rgba(16,185,129,.12); color: var(--wf-emerald-light); }
.ws-feature__icon--cyan { background: rgba(6,182,212,.12); color: var(--wf-cyan-light); }
.ws-feature__icon--indigo { background: rgba(99,102,241,.12); color: var(--wf-primary-light); }
.ws-feature__icon--amber { background: rgba(245,158,11,.12); color: #fbbf24; }
.ws-feature__icon--violet { background: rgba(139,92,246,.12); color: #a78bfa; }

.ws-feature h4 { font-size: 14px; margin-bottom: 5px; }
.ws-feature p { font-size: 13px; color: var(--wf-text-3); line-height: 1.58; }

.ws-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-r-lg);
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
}
.ws-flow-step { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 130px; }
.ws-flow-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--wf-cyan-light);
  background: rgba(6, 182, 212, 0.14);
  border: 1px solid rgba(6, 182, 212, 0.25);
}
.ws-flow-step__text { font-size: 12px; color: var(--wf-text-2); }
.ws-flow-arrow { color: var(--wf-text-3); font-size: 14px; }

.ws-quote {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-left: 3px solid var(--wf-emerald-light);
  border-radius: var(--wf-r-md);
  background: rgba(16, 185, 129, 0.06);
  padding: 1rem 1.2rem;
}
.ws-quote i { color: var(--wf-emerald-light); font-size: 1.3rem; margin-top: 2px; }
.ws-quote p { margin: 0; color: var(--wf-text-2); line-height: 1.62; }

.ws-journey {
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-r-xl);
  background: var(--wf-bg-card);
  padding: 2.2rem;
}

.ws-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.8rem; }
.ws-step {
  position: relative;
  border-radius: var(--wf-r-lg);
  border: 1px solid var(--wf-border);
  background: rgba(255, 255, 255, 0.015);
  padding: 1.15rem;
}
.ws-step__num {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.22);
  margin-bottom: 0.7rem;
}
.ws-step h4 { font-size: 14px; margin-bottom: 6px; }
.ws-step p { font-size: 13px; color: var(--wf-text-3); line-height: 1.56; }

.ws-demo-card {
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-r-lg);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.ws-demo-card__header {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--wf-border);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ws-demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wf-cyan-light);
  background: rgba(6,182,212,.12);
  border: 1px solid rgba(6,182,212,.22);
}
.ws-demo-pill--soft {
  color: var(--wf-text-3);
  background: rgba(255,255,255,.04);
  border-color: var(--wf-border);
}
.ws-demo-chat { padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }

.ws-msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 300ms var(--wf-ease), transform 300ms var(--wf-ease);
}
.ws-msg.is-visible { opacity: 1; transform: translateY(0); }
.ws-msg i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
}
.ws-msg--agent i { background: rgba(16,185,129,.14); color: var(--wf-emerald-light); }
.ws-msg--user i { background: rgba(99,102,241,.14); color: var(--wf-primary-light); }
.ws-msg span {
  border-radius: 12px;
  border: 1px solid var(--wf-border);
  background: rgba(255,255,255,.02);
  padding: 0.55rem 0.75rem;
  font-size: 13px;
  line-height: 1.45;
  color: var(--wf-text-2);
}

.ws-auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ws-auth-card {
  border: 1px solid var(--wf-border);
  background: var(--wf-bg-card);
  border-radius: var(--wf-r-lg);
  padding: 1.4rem;
}
.ws-auth-card--highlight {
  border-color: rgba(6, 182, 212, 0.28);
  box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.16) inset;
}
.ws-auth-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}
.ws-auth-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--wf-text-2);
}
.ws-auth-card li {
  margin-bottom: 0.45rem;
  font-size: 14px;
  line-height: 1.55;
}
.ws-security-note {
  margin-top: 1rem;
  text-align: center;
  color: var(--wf-text-3);
  font-size: 13px;
}

.ws-gov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ws-gov {
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-r-lg);
  background: rgba(255,255,255,.015);
  padding: 1.2rem;
}
.ws-gov i { font-size: 1.3rem; color: var(--wf-cyan-light); margin-bottom: 0.6rem; display: inline-block; }
.ws-gov h4 { font-size: 14px; margin-bottom: 6px; }
.ws-gov p { font-size: 13px; color: var(--wf-text-3); line-height: 1.55; }

.ws-results {
  text-align: center;
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-r-xl);
  background: linear-gradient(140deg, rgba(6, 182, 212, 0.06), rgba(16, 185, 129, 0.04));
  padding: 3rem;
}
.ws-results__title {
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}
.ws-results__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ws-result {
  border: 1px solid var(--wf-border);
  background: rgba(255,255,255,.03);
  border-radius: var(--wf-r-lg);
  padding: 1rem;
}
.ws-result__value {
  font-family: var(--wf-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #22d3ee, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ws-result__label { margin-top: 4px; font-size: 12px; color: var(--wf-text-3); line-height: 1.4; }
.ws-results__proof {
  max-width: 720px;
  margin: 1.6rem auto 0;
  color: var(--wf-text-2);
  line-height: 1.65;
}

.ws-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--wf-r-xl);
  border: 1px solid var(--wf-border);
  background: var(--wf-bg-card);
  padding: 3.4rem;
  text-align: center;
}
.ws-cta__bg { position: absolute; inset: 0; pointer-events: none; }
.ws-cta__orb { position: absolute; border-radius: 50%; filter: blur(90px); }
.ws-cta__orb--1 {
  width: 360px;
  height: 360px;
  top: -16%;
  left: -8%;
  background: radial-gradient(circle, rgba(6,182,212,.16), transparent 70%);
}
.ws-cta__orb--2 {
  width: 340px;
  height: 340px;
  right: -10%;
  bottom: -24%;
  background: radial-gradient(circle, rgba(16,185,129,.14), transparent 70%);
}
.ws-cta__content { position: relative; z-index: 1; }
.ws-cta__badge {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  color: rgba(255,255,255,.92);
}
.ws-cta__title { font-size: clamp(1.8rem, 3.3vw, 2.8rem); margin-top: 1rem; margin-bottom: 0.85rem; }
.ws-cta__desc { max-width: 680px; margin: 0 auto 1.8rem; color: var(--wf-text-2); line-height: 1.7; }
.ws-cta__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 1rem; }
.ws-cta__note { font-size: 12px; color: var(--wf-text-3); }

@media (max-width: 1100px) {
  .ws-hero__inner { grid-template-columns: 1fr; text-align: center; }
  .ws-hero__desc { margin-left: auto; margin-right: auto; }
  .ws-hero__ctas { justify-content: center; }
  .ws-kpis { max-width: 460px; margin: 0 auto; }

  .ws-pain-grid { grid-template-columns: repeat(2, 1fr); }
  .ws-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .ws-step-grid { grid-template-columns: repeat(2, 1fr); }
  .ws-gov-grid { grid-template-columns: repeat(2, 1fr); }
  .ws-results__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .ws-kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ws-pain-grid,
  .ws-feature-grid,
  .ws-step-grid,
  .ws-auth-grid,
  .ws-gov-grid,
  .ws-results__grid {
    grid-template-columns: 1fr;
  }

  .ws-challenge,
  .ws-pillar,
  .ws-journey,
  .ws-results,
  .ws-cta {
    padding: 1.4rem;
  }

  .ws-flow { flex-direction: column; align-items: flex-start; }
  .ws-flow-arrow { transform: rotate(90deg); }
}
