/* ===================== CHAT HERO ===================== */
#ch-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
}

#chatCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.ch-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 10% 60%, rgba(5,5,8,.65) 0%, transparent 70%),
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(5,5,8,.92) 0%, transparent 62%),
    radial-gradient(ellipse 50% 50% at 100% 0%, rgba(5,5,8,.55) 0%, transparent 65%);
}

.ch-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 32px 100px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 72px;
  align-items: center;
}

.ch-hero-text { min-width: 0; }

/* — Text side — */
.ch-eyebrow {
  opacity: 0;
  animation: fade-up .7s var(--ease) .3s both;
}

.ch-title {
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 24px 0 28px;
  color: #fff;
  overflow-wrap: break-word;
}

.ch-title .reveal-line { display: block; }

.ch-sub-accent {
  color: rgba(255,255,255,.28);
  font-weight: 300;
}

.ch-lead {
  font-size: 15px;
  font-weight: 300;
  color: #9095a5;
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 500px;
}

.ch-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.ch-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 300;
  color: #9ea3b4;
}

.ch-feat-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(123,45,255,.6);
}
.ch-feat-dot.green { background: #25d366; box-shadow: 0 0 8px rgba(37,211,102,.55); }
.ch-feat-dot.cyan  { background: var(--cyan);  box-shadow: 0 0 8px rgba(0,204,255,.55); }
.ch-feat-dot.blue  { background: var(--blue);  box-shadow: 0 0 8px rgba(0,102,255,.55); }

.ch-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* — Hero Inbox card (right side) — chat-specific: live conversation list — */
.ch-hero-dash {
  opacity: 0;
  animation: fade-up .9s var(--ease) .8s both;
}

.ch-inbox {
  background: rgba(8,8,18,.94);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(123,45,255,.06),
    0 40px 100px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.ch-inbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.01);
}

.ch-inbox-live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 400;
  color: #aaa;
  letter-spacing: .04em;
}

.live-pip {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 1.8s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(34,197,94,.5);
}

.ch-inbox-count {
  font-size: 10px;
  font-weight: 400;
  color: #9095a5;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ch-inbox-list {
  display: flex;
  flex-direction: column;
}

.ch-inbox-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .25s;
  position: relative;
}

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

.ch-inbox-row:hover {
  background: rgba(255,255,255,.02);
}

.ch-inbox-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: transparent;
  transition: background .25s;
}
.ch-inbox-row:hover::before { background: var(--purple); }

.ch-inbox-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.ch-inbox-info {
  flex: 1;
  min-width: 0;
}

.ch-inbox-info strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #ddd;
  letter-spacing: -.01em;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ch-inbox-info span {
  display: block;
  font-size: 11.5px;
  font-weight: 300;
  color: #9095a5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.ch-row-tag {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .12em;
  padding: 2px 6px;
  border-radius: 999px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.ch-row-tag.tag-ai {
  background: rgba(123,45,255,.12);
  color: #b090ff;
  border: 1px solid rgba(123,45,255,.24);
}

.ch-row-tag.tag-new {
  background: rgba(0,204,255,.1);
  color: var(--cyan);
  border: 1px solid rgba(0,204,255,.22);
}

.ch-row-tag.tag-human {
  background: rgba(34,197,94,.08);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,.2);
  letter-spacing: .04em;
  text-transform: none;
  font-weight: 400;
}

.ch-inbox-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.ch-inbox-meta .time {
  font-size: 10px;
  font-weight: 300;
  color: #9095a5;
  font-variant-numeric: tabular-nums;
}

.ch-inbox-meta .unread {
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(123,45,255,.35);
}

.ch-inbox-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255,255,255,.015);
  border-top: 1px solid rgba(255,255,255,.04);
  font-size: 10.5px;
  font-weight: 300;
  color: #9ea3b4;
  letter-spacing: .02em;
}

.ch-inbox-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ch-inbox-stat .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ch-inbox-stat .dot.green {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,.6);
  animation: pulse 2s infinite;
}

.ch-inbox-sep { color: #75798a; }

/* Legacy chat-phone styles (still used for in-body #ia-humano illustration) */
.ch-phone {
  position: relative;
  background: linear-gradient(180deg, rgba(12,16,26,.985), rgba(8,10,18,.99));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 26px;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(123,45,255,.1),
    0 40px 110px rgba(0,0,0,.65),
    inset 0 1px 0 rgba(255,255,255,.05);
}

.ch-phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255,255,255,.02);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.ch-phone-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #0066ff);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 500;
  flex-shrink: 0;
}

.ch-phone-avatar.ai {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
}

.ch-phone-info { flex: 1; min-width: 0; }
.ch-phone-info strong {
  display: block; font-size: 12px; font-weight: 500;
  color: #ddd; letter-spacing: -.01em;
}
.ch-phone-info span {
  display: block; font-size: 10px; font-weight: 300;
  color: #25d366;
}

.ch-phone-status {
  display: flex; align-items: center; gap: 5px;
  font-size: 9px; font-weight: 400; color: #25d366;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(37,211,102,.08);
  border: 1px solid rgba(37,211,102,.2);
}
.ch-phone-status::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: #25d366; animation: pulse 1.8s infinite;
}

.ch-phone-body {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 360px;
  max-height: 440px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top left, rgba(123,45,255,.06), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(0,204,255,.05), transparent 55%);
}

.ch-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -.005em;
  opacity: 0;
  transform: translateY(8px);
  animation: bubble-in .5s var(--ease) forwards;
}

.ch-bubble.client {
  align-self: flex-start;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.06);
  color: #ccc;
  border-bottom-left-radius: 4px;
}

.ch-bubble.ai {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(123,45,255,.2), rgba(0,204,255,.14));
  border: 1px solid rgba(123,45,255,.22);
  color: #ddd;
  border-bottom-right-radius: 4px;
}

.ch-bubble.human {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(37,211,102,.18), rgba(0,204,255,.1));
  border: 1px solid rgba(37,211,102,.2);
  color: #dff;
  border-bottom-right-radius: 4px;
}

.ch-bubble .meta {
  display: flex; gap: 6px; align-items: center;
  font-size: 9px; font-weight: 400;
  color: #9ea3b4;
  margin-top: 5px;
  letter-spacing: .04em;
}

.ch-bubble .meta.mine { color: #25d366; }

.ch-bubble .meta svg { opacity: .7; }

.ch-handoff {
  align-self: center;
  font-size: 9.5px;
  font-weight: 400;
  color: #7b2dff;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(123,45,255,.08);
  border: 1px solid rgba(123,45,255,.2);
  opacity: 0;
  animation: bubble-in .5s var(--ease) forwards;
}

.ch-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: rgba(255,255,255,.04);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255,255,255,.05);
}

.ch-typing span {
  width: 5px; height: 5px; border-radius: 50%;
  background: #888;
  animation: typing-dot 1.4s ease-in-out infinite;
}
.ch-typing span:nth-child(2) { animation-delay: .2s; }
.ch-typing span:nth-child(3) { animation-delay: .4s; }

@keyframes typing-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

@keyframes bubble-in {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll hint */
.ch-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  animation: fade-up .6s var(--ease) 1.4s both;
}

.ch-scroll-hint span {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .25em;
  color: #787d8f;
  text-transform: uppercase;
}

/* ===================== PROBLEMAS (4 cards, alternating slide) ===================== */
.ch-problems {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 72px;
}

.ch-problem-card {
  padding: 36px 32px;
}

.ch-ch-icon {
  margin-bottom: 20px;
  opacity: .75;
}

.ch-ch-title {
  font-size: 17px;
  font-weight: 400;
  color: #ddd;
  margin-bottom: 12px;
  letter-spacing: -.01em;
  line-height: 1.4;
}

.ch-ch-text {
  font-size: 13px;
  font-weight: 300;
  color: #9095a5;
  line-height: 1.8;
  margin-bottom: 20px;
}

.ch-ch-solution {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  color: #22c55e;
  line-height: 1.5;
  padding: 10px 14px;
  background: rgba(34,197,94,.04);
  border: 1px solid rgba(34,197,94,.1);
  border-radius: 10px;
}

.ch-ch-solution svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: .8;
}

/* ===================== IA + HUMANO (split with simulation) ===================== */
.ch-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  margin-top: 72px;
}

.ch-split-reverse { grid-template-areas: "visual text"; }
.ch-split-reverse .ch-split-text { grid-area: text; }
.ch-split-reverse .ch-split-visual { grid-area: visual; }

.ch-split-text .section-eyebrow { margin-bottom: 20px; }
.ch-split-text .section-title { text-align: left; }
.ch-split-text .section-title br { display: block; }

.ch-split-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.ch-split-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  font-weight: 300;
  color: #9ea3b4;
  line-height: 1.6;
}

.ch-split-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 6px;
  background: rgba(123,45,255,.1);
  border: 1px solid rgba(123,45,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-top: 1px;
}

.ch-split-check.green {
  background: rgba(34,197,94,.08);
  border-color: rgba(34,197,94,.18);
  color: #22c55e;
}

/* Chat simulation card (reused visual across IA+Humano, Fluxos, etc) */
.ch-sim {
  background: rgba(8,8,18,.94);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 40px 100px rgba(0,0,0,.55);
}

/* ===================== CRM PIPELINE ===================== */
.ch-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ch-pipeline-col {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 12px 10px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ch-pipeline-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 400;
  color: #b3b8c8;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 0 2px 8px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.ch-pipeline-count {
  margin-left: auto;
  font-size: 9px;
  color: #9095a5;
}

.ch-pipeline-col[data-stage="lead"] .ch-pipeline-head    { color: #8ab4ff; }
.ch-pipeline-col[data-stage="qual"] .ch-pipeline-head    { color: #9f8bff; }
.ch-pipeline-col[data-stage="nego"] .ch-pipeline-head    { color: #ffcc44; }
.ch-pipeline-col[data-stage="fechado"] .ch-pipeline-head { color: #22c55e; }

.ch-pipe-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 10px;
  font-size: 11px;
  font-weight: 300;
  color: #aaa;
  line-height: 1.4;
  transition: transform .3s, border-color .3s;
}

.ch-pipe-card:hover {
  transform: translateY(-2px);
  border-color: rgba(123,45,255,.3);
}

.ch-pipe-card strong {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: #ddd;
  margin-bottom: 4px;
}

.ch-pipe-val {
  font-size: 10px;
  color: #22c55e;
  margin-top: 6px;
  font-weight: 400;
}

/* ===================== RELATÓRIOS / comparison bars ===================== */
.ch-reports {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ch-report-card {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  padding: 28px 28px 24px;
}

.ch-report-card h3 {
  font-size: 14px;
  font-weight: 500;
  color: #ddd;
  margin-bottom: 6px;
  letter-spacing: -.01em;
}

.ch-report-card .sub {
  font-size: 12px;
  font-weight: 300;
  color: #9095a5;
  margin-bottom: 24px;
}

.ch-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 300;
  color: #b3b8c8;
}

.ch-bar-name {
  min-width: 60px;
  color: #ccc;
  font-weight: 400;
}

.ch-bar-name.ia {
  color: transparent;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 500;
}

.ch-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,.04);
  border-radius: 3px;
  overflow: hidden;
}

.ch-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width 1.8s cubic-bezier(.16,1,.3,1);
}

.ch-bar-fill.ia  { background: linear-gradient(90deg, var(--purple), var(--cyan)); }
.ch-bar-fill.bad { background: linear-gradient(90deg, #ff6655, #ffaa00); }

.ch-bar-val {
  min-width: 36px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #aaa;
}

/* ===================== FLUXOS (flow builder mock) ===================== */
.ch-flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ch-flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  font-size: 12px;
  color: #aaa;
  font-weight: 300;
}

.ch-flow-step .icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(123,45,255,.08);
  border: 1px solid rgba(123,45,255,.18);
  color: var(--purple);
}

.ch-flow-step .icon.green { background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.18); color: #22c55e; }
.ch-flow-step .icon.cyan  { background: rgba(0,204,255,.08); border-color: rgba(0,204,255,.18); color: var(--cyan); }
.ch-flow-step .icon.blue  { background: rgba(0,102,255,.08); border-color: rgba(0,102,255,.18); color: var(--blue); }

.ch-flow-step strong {
  font-weight: 500; color: #ddd; letter-spacing: -.01em;
  display: block;
  font-size: 12.5px;
}

.ch-flow-step p {
  font-size: 11px; color: #9095a5; margin-top: 2px;
}

.ch-flow-arrow {
  align-self: center;
  width: 1px;
  height: 14px;
  background: linear-gradient(to bottom, rgba(123,45,255,.4), transparent);
}

/* ===================== +10 MIN ALERTS ===================== */
.ch-alerts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 72px;
}

.ch-alert-card {
  position: relative;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  padding: 36px 32px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s, background .3s;
}

.ch-alert-card:hover {
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 32px 80px rgba(0,0,0,.4);
}

.ch-alert-indicator {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  opacity: .6;
}

.ch-alert-icon {
  margin-bottom: 20px;
  opacity: .75;
}

.ch-alert-card h3 {
  font-size: 16px;
  font-weight: 400;
  color: #ddd;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}

.ch-alert-card p {
  font-size: 13px;
  font-weight: 300;
  color: #9095a5;
  line-height: 1.8;
  margin-bottom: 20px;
}

.ch-alert-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .08em;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid;
}

/* ===================== QUALIDADE: score viz + benefits ===================== */
.ch-quality-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 56px;
  margin-bottom: 56px;
}

.ch-score {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
}

.ch-score-ring {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    conic-gradient(from -90deg, #22c55e 0%, var(--cyan) 30%, var(--purple) 68%, #22c55e 100%);
  padding: 4px;
  animation: score-spin 18s linear infinite;
  box-shadow: 0 0 80px rgba(123,45,255,.15), 0 0 120px rgba(0,204,255,.08);
}

.ch-score-core {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #08080d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ch-score-label {
  font-size: 9px;
  font-weight: 400;
  color: #b3b8c8;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ch-score-grade {
  font-size: 68px;
  font-weight: 300;
  color: transparent;
  background: linear-gradient(135deg, #22c55e, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  line-height: 1;
  letter-spacing: -.03em;
}

.ch-face {
  width: 26px;
  height: 26px;
  display: block;
}

.ch-face-lg {
  width: 84px;
  height: 84px;
  color: #22c55e;
  filter: drop-shadow(0 0 18px rgba(34,197,94,.35));
  margin: 6px 0 4px;
}

.ch-score-score {
  font-size: 11px;
  font-weight: 300;
  color: #a9aebf;
  margin-top: 4px;
  letter-spacing: .05em;
}

@keyframes score-spin { to { transform: rotate(360deg); } }

.ch-classes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ch-class {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  transition: transform .3s, border-color .3s;
}

.ch-class:hover { transform: translateX(6px); }

.ch-class .grade {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 500;
  flex-shrink: 0;
}

.ch-class.exc .grade  { background: rgba(34,197,94,.12); color: #22c55e; border: 1px solid rgba(34,197,94,.25); }
.ch-class.bom .grade  { background: rgba(0,204,255,.1);  color: var(--cyan); border: 1px solid rgba(0,204,255,.22); }
.ch-class.reg .grade  { background: rgba(255,170,0,.1);  color: #ffcc44; border: 1px solid rgba(255,170,0,.22); }
.ch-class.ruim .grade { background: rgba(255,90,90,.08); color: #ff6666; border: 1px solid rgba(255,90,90,.22); }

.ch-class strong {
  display: block; font-size: 13px; font-weight: 500; color: #ddd;
  letter-spacing: -.01em;
}

.ch-class span {
  display: block; font-size: 11px; color: #9095a5; font-weight: 300; margin-top: 2px;
}

/* Criteria */
.ch-criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.ch-criterion {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  transition: border-color .3s, background .3s;
}

.ch-criterion:hover {
  background: rgba(123,45,255,.03);
  border-color: rgba(123,45,255,.14);
}

.ch-crit-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(123,45,255,.08);
  border: 1px solid rgba(123,45,255,.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple);
}

.ch-criterion strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #ccc;
  margin-bottom: 6px;
}

.ch-criterion p {
  font-size: 12px;
  font-weight: 300;
  color: #9095a5;
  line-height: 1.7;
}

/* Benefits 2x2 / 2x3 grid */
.ch-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.ch-benefit {
  padding: 28px 26px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  transition: transform .4s var(--ease), border-color .3s, background .3s;
}

.ch-benefit:hover {
  transform: translateY(-4px);
  background: rgba(123,45,255,.03);
  border-color: rgba(123,45,255,.16);
}

.ch-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(123,45,255,.08);
  border: 1px solid rgba(123,45,255,.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 18px;
  transition: background .3s, border-color .3s, color .3s;
}

.ch-benefit:hover .ch-benefit-icon {
  background: rgba(123,45,255,.12);
  border-color: rgba(123,45,255,.3);
  color: #c0a0ff;
}

.ch-badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 1px;
}

.ch-benefit strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #ddd;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.ch-benefit p {
  font-size: 12.5px;
  font-weight: 300;
  color: #9095a5;
  line-height: 1.7;
}

.ch-quality-quote {
  text-align: center;
  margin-top: 56px;
  padding: 40px 24px;
}

.ch-quality-quote blockquote {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 300;
  color: transparent;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,.4));
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: -.02em;
  line-height: 1.3;
  margin-bottom: 10px;
}

.ch-quality-quote cite {
  font-size: 12px; font-style: normal;
  color: #9095a5; letter-spacing: .04em;
}

/* ===================== SEM / COM STTELAR (4 comparison cards) ===================== */
.ch-compare-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 72px;
}

.ch-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
}

.ch-compare::before {
  content: 'VS';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #08080d;
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 500;
  color: #9095a5;
  letter-spacing: .08em;
  z-index: 2;
}

.ch-compare-side {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  padding: 28px 28px 24px;
  transition: border-color .3s, background .3s;
}

.ch-compare-side.bad {
  border-color: rgba(255,90,90,.1);
}
.ch-compare-side.bad:hover {
  background: rgba(255,90,90,.02);
  border-color: rgba(255,90,90,.18);
}

.ch-compare-side.good {
  border-color: rgba(34,197,94,.12);
}
.ch-compare-side.good:hover {
  background: rgba(34,197,94,.03);
  border-color: rgba(34,197,94,.22);
}

.ch-compare-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.ch-compare-tag.bad  { background: rgba(255,90,90,.08); color: #ff6666; border: 1px solid rgba(255,90,90,.18); }
.ch-compare-tag.good { background: rgba(34,197,94,.08); color: #22c55e; border: 1px solid rgba(34,197,94,.2); }

.ch-compare-side h3 {
  font-size: 15px;
  font-weight: 400;
  color: #ddd;
  line-height: 1.5;
  margin-bottom: 14px;
  letter-spacing: -.01em;
}

.ch-compare-list-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.ch-compare-list-items li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  font-weight: 300;
  color: #9ea3b4;
  line-height: 1.6;
}

.ch-compare-list-items li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
  margin-top: 7px;
  flex-shrink: 0;
}

.ch-compare-side.bad .ch-compare-list-items li { color: #995555; }
.ch-compare-side.good .ch-compare-list-items li { color: #558877; }

/* ===================== SIMULAÇÕES (4 segment cards) ===================== */
.ch-segments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 72px;
}

.ch-segment {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  padding: 32px 24px 24px;
  transition: transform .4s var(--ease), border-color .3s, background .3s;
  position: relative;
  overflow: hidden;
}

.ch-segment:hover {
  transform: translateY(-6px);
  background: rgba(123,45,255,.03);
  border-color: rgba(123,45,255,.18);
}

.ch-segment::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  opacity: 0;
  transition: opacity .4s;
}

.ch-segment:hover::before { opacity: 1; }

.ch-segment-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(123,45,255,.15), rgba(0,204,255,.08));
  border: 1px solid rgba(123,45,255,.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  margin-bottom: 20px;
  font-size: 22px;
}

.ch-segment h3 {
  font-size: 14px;
  font-weight: 500;
  color: #ddd;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}

.ch-segment p {
  font-size: 12px;
  font-weight: 300;
  color: #9095a5;
  line-height: 1.7;
  margin-bottom: 20px;
  min-height: 72px;
}

.ch-segment-cta {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .15em;
  color: #b3b8c8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s, gap .2s;
}

.ch-segment:hover .ch-segment-cta {
  color: var(--cyan);
  gap: 10px;
}

/* ===================== DIFERENCIAIS (3 cards) ===================== */
.ch-diffs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 72px;
}

.ch-diff {
  padding: 36px 32px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .3s;
}

.ch-diff:hover {
  transform: translateY(-4px);
  border-color: rgba(123,45,255,.18);
  box-shadow: 0 40px 100px rgba(0,0,0,.4), 0 0 40px rgba(123,45,255,.05);
}

.ch-diff-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(123,45,255,.08);
  border: 1px solid rgba(123,45,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple);
  margin-bottom: 22px;
}

.ch-diff h3 {
  font-size: 17px;
  font-weight: 500;
  color: #ddd;
  margin-bottom: 12px;
  letter-spacing: -.01em;
  line-height: 1.4;
}

.ch-diff p {
  font-size: 13px;
  font-weight: 300;
  color: #9095a5;
  line-height: 1.8;
}

/* ===================== CLIENTES / LOGOS MARQUEE ===================== */
.ch-marquee {
  margin-top: 56px;
  overflow: hidden;
  padding: 24px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.ch-marquee-track {
  display: flex;
  width: fit-content;
  flex-wrap: nowrap;
  animation: ch-marquee-scroll 22s linear infinite;
}

.ch-marquee:hover .ch-marquee-track {
  animation-play-state: paused;
}

.ch-marquee-item {
  flex: 0 0 auto;
  width: 240px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 36px;
}

.ch-marquee-item img {
  max-height: 100px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

@keyframes ch-marquee-scroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-33.3333%, 0, 0); }
}

@media (max-width: 768px) {
  .ch-marquee-item { width: 170px; height: 110px; padding: 0 24px; }
  .ch-marquee-item img { max-height: 70px; }
  .ch-marquee-track { animation-duration: 18s; }
}

/* ===================== PLANOS (3 cards) ===================== */
.ch-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.ch-plan {
  position: relative;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 40px 32px 36px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}

.ch-plan:hover {
  border-color: rgba(255,255,255,.14);
  transform: translateY(-4px);
  box-shadow: 0 40px 100px rgba(0,0,0,.4);
}

.ch-plan-featured {
  border-color: rgba(123,45,255,.3);
  background: rgba(123,45,255,.03);
}

.ch-plan-featured:hover {
  border-color: rgba(123,45,255,.5);
  box-shadow: 0 40px 100px rgba(0,0,0,.4), 0 0 60px rgba(123,45,255,.1);
}

.ch-plan-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  color: #fff;
  font-size: 10px; font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.ch-plan-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 6px;
}

.ch-plan-featured .ch-plan-tag { color: var(--cyan); }
.ch-plan-addon .ch-plan-tag { color: #22c55e; }

.ch-plan-name {
  font-size: 18px;
  font-weight: 400;
  color: #ddd;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}

.ch-plan-desc {
  font-size: 13px;
  font-weight: 300;
  color: #9095a5;
  line-height: 1.7;
  margin-bottom: 24px;
  min-height: 60px;
}

.ch-plan-price {
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.ch-plan-price-currency {
  font-size: 13px;
  font-weight: 300;
  color: #a9aebf;
}

.ch-plan-price-val {
  font-size: 42px;
  font-weight: 300;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1;
}

.ch-plan-featured .ch-plan-price-val {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ch-plan-price-period {
  font-size: 12px;
  font-weight: 300;
  color: #9095a5;
}

.ch-plan-small {
  font-size: 10px;
  font-weight: 300;
  color: #75798a;
  margin-bottom: 28px;
}

.ch-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  min-height: 180px;
}

.ch-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 300;
  color: #a9aebf;
  line-height: 1.5;
}

.ch-plan-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--purple);
}

.ch-plan-featured .ch-plan-features li svg { color: var(--cyan); }
.ch-plan-addon .ch-plan-features li svg { color: #22c55e; }

.ch-plan-cta {
  display: block;
  text-align: center;
  padding: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  color: #b3b8c8;
  transition: color .2s, border-color .2s, background .2s;
}

.ch-plan-cta:hover {
  color: #ccc;
  border-color: rgba(255,255,255,.22);
}

.ch-plan-featured .ch-plan-cta {
  background: linear-gradient(135deg, rgba(123,45,255,.12), rgba(0,204,255,.08));
  border-color: rgba(123,45,255,.3);
  color: #c0a8ff;
}

.ch-plan-featured .ch-plan-cta:hover {
  background: linear-gradient(135deg, rgba(123,45,255,.2), rgba(0,204,255,.12));
  border-color: rgba(123,45,255,.5);
  color: #e0d0ff;
}

.ch-plan-addon .ch-plan-cta {
  border-color: rgba(34,197,94,.2);
  color: #55cc88;
}

.ch-plan-addon .ch-plan-cta:hover {
  border-color: rgba(34,197,94,.35);
  color: #aaffcc;
}

/* ===================== INTEGRAÇÕES ===================== */
.ch-integrations {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 56px;
}

.ch-integration {
  aspect-ratio: 1;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  transition: transform .3s, border-color .3s, background .3s;
}

.ch-integration:hover {
  transform: translateY(-4px);
  background: rgba(0,204,255,.03);
  border-color: rgba(0,204,255,.18);
}

.ch-integration .dot {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.04);
  display: flex; align-items: center; justify-content: center;
  color: #999;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.ch-integration span {
  font-size: 10px;
  font-weight: 400;
  color: #9ea3b4;
  letter-spacing: .02em;
  text-align: center;
}

/* ===================== FAQ ===================== */
.ch-faq {
  max-width: 800px;
  margin: 56px auto 0;
}

.ch-faq .accordion-list {
  border-top: 1px solid rgba(255,255,255,.06);
}

.ch-faq .accordion-item {
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.ch-faq .accordion-btn {
  font-size: 15px;
  font-weight: 400;
  color: #ccc;
  padding: 24px 0;
  text-align: left;
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: color .2s;
  letter-spacing: -.005em;
}

.ch-faq .accordion-btn:hover,
.ch-faq .accordion-item.open .accordion-btn {
  color: #fff;
}

.ch-faq .accordion-body {
  height: 0;
  overflow: hidden;
  transition: height .38s cubic-bezier(.4,0,.2,1);
}

.ch-faq .accordion-body-inner {
  padding: 0 0 24px;
  font-size: 13px;
  font-weight: 300;
  color: #a9aebf;
  line-height: 1.85;
  max-width: 720px;
}

.ch-faq .accordion-body-inner p + p { margin-top: 12px; }
.ch-faq .accordion-body-inner ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
.ch-faq .accordion-body-inner ul li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.ch-faq .accordion-body-inner ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 1px;
  background: var(--cyan);
  opacity: .6;
}

.ch-faq .acc-icon {
  flex-shrink: 0;
  transition: transform .3s, color .2s;
  opacity: .5;
  color: #b3b8c8;
}

.ch-faq .accordion-item.open .acc-icon {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--purple);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .ch-hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }

  .ch-feature-list { align-items: center; }
  .ch-hero-ctas { justify-content: center; }

  .ch-hero-dash {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }

  .ch-problems { grid-template-columns: 1fr; }

  .ch-split,
  .ch-split-reverse {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .ch-split-reverse { grid-template-areas: "text" "visual"; }

  .ch-reports { grid-template-columns: 1fr; }
  .ch-pipeline { grid-template-columns: repeat(2, 1fr); }
  .ch-alerts-grid { grid-template-columns: 1fr; }
  .ch-quality-head { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .ch-score { margin: 0 auto; }
  .ch-criteria-grid { grid-template-columns: repeat(2, 1fr); }
  .ch-benefits { grid-template-columns: repeat(2, 1fr); }
  .ch-compare { grid-template-columns: 1fr; gap: 8px; }
  .ch-compare::before { display: none; }
  .ch-segments { grid-template-columns: repeat(2, 1fr); }
  .ch-diffs { grid-template-columns: 1fr; }
  .ch-logos { grid-template-columns: repeat(3, 1fr); }
  .ch-plans { grid-template-columns: 1fr; }
  .ch-integrations { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .ch-hero-inner { padding: 120px 20px 80px; }
  .ch-title { font-size: 40px; }
  .ch-criteria-grid { grid-template-columns: 1fr; }
  .ch-benefits { grid-template-columns: 1fr; }
  .ch-segments { grid-template-columns: 1fr; }
  .ch-integrations { grid-template-columns: repeat(3, 1fr); }
  .ch-logos { grid-template-columns: repeat(2, 1fr); }
  .ch-pipeline { grid-template-columns: 1fr; }
}
