/* ===================== 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: 100px 32px 60px;
  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: 16px 0 20px;
  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.7;
  margin-bottom: 24px;
  max-width: 500px;
}

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

.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: var(--l-text);
  margin-bottom: 12px;
  letter-spacing: -.01em;
  line-height: 1.4;
}

.ch-ch-text {
  font-size: 13px;
  font-weight: 300;
  color: var(--l-muted);
  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 .reveal-line { 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: var(--l-muted);
  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 24px 48px 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: var(--l-card);
  border: 1px solid var(--l-border);
  border-radius: 18px;
  padding: 28px 28px 24px;
  box-shadow: var(--l-shadow);
}

.ch-report-card h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--l-text);
  margin-bottom: 6px;
  letter-spacing: -.01em;
}

.ch-report-card .sub {
  font-size: 12px;
  font-weight: 300;
  color: var(--l-muted);
  margin-bottom: 24px;
}

.ch-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 300;
  color: var(--l-muted);
}

.ch-bar-name {
  min-width: 60px;
  color: var(--l-text);
  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(15,20,35,.06);
  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: var(--l-muted);
}

/* ===================== 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: var(--l-card);
  border: 1px solid var(--l-border);
  border-radius: 20px;
  padding: 36px 32px;
  overflow: hidden;
  box-shadow: var(--l-shadow);
  transition: border-color .3s, box-shadow .3s, background .3s;
}

.ch-alert-card:hover {
  border-color: var(--l-border-h);
  box-shadow: var(--l-shadow-h);
}

.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: var(--l-text);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}

.ch-alert-card p {
  font-size: 13px;
  font-weight: 300;
  color: var(--l-muted);
  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: dark accent section ===================== */
section.ch-q-dark {
  position: relative;
  background: #0a0a0e;
  overflow: hidden;
}
.ch-q-dark .ch-q-bg-grid {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .55;
}
.ch-q-dark .ch-q-bg-glow {
  position: absolute;
  top: -160px; left: 50%;
  transform: translateX(-50%);
  width: 760px; height: 760px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0,204,255,.08) 0%, transparent 70%);
}
.ch-q-dark .container { position: relative; z-index: 1; }

.ch-q-dark .section-title { color: #fff; }
.ch-q-dark .section-sub   { color: #9aa0b4; }

/* Visual block: orbit (left) + how-it-works (right) */
.chq-visual-block {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 56px;
  margin-bottom: 56px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* ----- Orbit ----- */
.chq-orbit {
  position: relative;
  width: 340px; height: 340px;
  flex-shrink: 0;
  margin: 0 auto;
}

.chq-line {
  position: absolute;
  background: rgba(255,255,255,.07);
  z-index: 0;
  overflow: hidden;
}
.chq-line.h-top { width: 120px; height: 2px; top: 64px; left: 110px; }
.chq-line.v-right { width: 2px; height: 120px; top: 110px; right: 64px; }
.chq-line.h-bot { width: 120px; height: 2px; bottom: 64px; left: 110px; }
.chq-line.v-left { width: 2px; height: 120px; top: 110px; left: 64px; }

.chq-line::after {
  content: '';
  position: absolute;
  border-radius: 10px;
}
.chq-line.h-top::after,
.chq-line.h-bot::after {
  height: 2px; width: 24px; top: 0;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: chqFlowH 2.4s ease infinite;
}
.chq-line.v-right::after,
.chq-line.v-left::after {
  width: 2px; height: 24px; left: 0;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  animation: chqFlowV 2.4s ease infinite;
}
.chq-line.h-bot::after { animation-delay: .6s; }
.chq-line.v-right::after { animation-delay: 1.2s; }
.chq-line.v-left::after { animation-delay: 1.8s; }

@keyframes chqFlowH {
  0% { left: -24px; opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { left: calc(100% + 24px); opacity: 0; }
}
@keyframes chqFlowV {
  0% { top: -24px; opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { top: calc(100% + 24px); opacity: 0; }
}

/* Cards (4 corners) */
.chq-card {
  position: absolute;
  width: 130px; height: 130px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 2;
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), box-shadow .5s ease;
  animation: chqFloat 4s ease-in-out infinite;
}
.chq-card.excelente { top: 0; left: 0; --c: 34,197,94;
  background: linear-gradient(135deg, rgba(34,197,94,.16), rgba(34,197,94,.05));
  border: 1.5px solid rgba(34,197,94,.36);
  box-shadow: 0 0 40px rgba(34,197,94,.10), inset 0 1px 0 rgba(255,255,255,.05);
  animation-delay: 0s;
}
.chq-card.bom { top: 0; right: 0; --c: 74,222,128;
  background: linear-gradient(135deg, rgba(74,222,128,.16), rgba(74,222,128,.05));
  border: 1.5px solid rgba(74,222,128,.36);
  box-shadow: 0 0 40px rgba(74,222,128,.10), inset 0 1px 0 rgba(255,255,255,.05);
  animation-delay: 1s;
}
.chq-card.regular { bottom: 0; right: 0; --c: 250,204,21;
  background: linear-gradient(135deg, rgba(250,204,21,.13), rgba(250,204,21,.04));
  border: 1.5px solid rgba(250,204,21,.32);
  box-shadow: 0 0 40px rgba(250,204,21,.08), inset 0 1px 0 rgba(255,255,255,.05);
  animation-delay: 2s;
}
.chq-card.ruim { bottom: 0; left: 0; --c: 248,113,113;
  background: linear-gradient(135deg, rgba(248,113,113,.16), rgba(248,113,113,.05));
  border: 1.5px solid rgba(248,113,113,.32);
  box-shadow: 0 0 40px rgba(248,113,113,.08), inset 0 1px 0 rgba(255,255,255,.05);
  animation-delay: 3s;
}

.chq-card.active {
  transform: scale(1.10);
  z-index: 5;
  box-shadow: 0 0 60px rgba(var(--c),.30), inset 0 1px 0 rgba(255,255,255,.08);
}

.chq-face { width: 54px; height: 54px; }
.chq-card .chq-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.chq-card.excelente .chq-label { color: #22c55e; }
.chq-card.bom .chq-label       { color: #4ade80; }
.chq-card.regular .chq-label   { color: #facc15; }
.chq-card.ruim .chq-label      { color: #f87171; }

@keyframes chqFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.chq-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 64px; height: 64px;
  background: rgba(0,204,255,.10);
  border: 1.5px solid rgba(0,204,255,.28);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  z-index: 3;
  animation: chqCenterPulse 3s ease infinite;
}
@keyframes chqCenterPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,204,255,.22); }
  50%      { box-shadow: 0 0 0 14px rgba(0,204,255,0); }
}

/* ----- How it works (right column) ----- */
.chq-how-title {
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -.01em;
}
.chq-how-bolt {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,170,0,.10);
  border: 1px solid rgba(255,170,0,.28);
  color: #ffcc44;
}
.chq-how-desc {
  font-size: 14px;
  font-weight: 400;
  color: #9aa0b4;
  line-height: 1.75;
  margin-bottom: 24px;
}
.chq-how-desc strong { color: #e8e8e8; font-weight: 500; }

.chq-criteria {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chq-crit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  transition: background .3s, border-color .3s, transform .3s;
}
.chq-crit:hover {
  background: rgba(0,204,255,.04);
  border-color: rgba(0,204,255,.16);
  transform: translateX(4px);
}
.chq-crit-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.chq-crit-icon.warn  { background: rgba(255,170,0,.12);  border: 1px solid rgba(255,170,0,.24);  color: #ffcc44; }
.chq-crit-icon.time  { background: rgba(0,204,255,.12);  border: 1px solid rgba(0,204,255,.24);  color: var(--cyan); }
.chq-crit-icon.score { background: rgba(34,197,94,.12);  border: 1px solid rgba(34,197,94,.24);  color: #22c55e; }
.chq-crit p {
  font-size: 13px;
  font-weight: 400;
  color: #b3b8c8;
  line-height: 1.6;
}
.chq-crit p strong { color: #fff; font-weight: 500; }

/* ----- Benefits grid (dark) ----- */
.ch-q-dark .ch-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.ch-q-dark .ch-benefit {
  padding: 28px 26px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  transition: transform .4s var(--ease), border-color .3s, background .3s;
}
.ch-q-dark .ch-benefit:hover {
  transform: translateY(-4px);
  background: rgba(123,45,255,.05);
  border-color: rgba(123,45,255,.22);
}
.ch-q-dark .ch-benefit-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(123,45,255,.10);
  border: 1px solid rgba(123,45,255,.24);
  display: inline-flex; align-items: center; justify-content: center;
  color: #c0a0ff;
  margin-bottom: 18px;
  transition: background .3s, border-color .3s, color .3s;
}
.ch-q-dark .ch-benefit:hover .ch-benefit-icon {
  background: rgba(123,45,255,.16);
  border-color: rgba(123,45,255,.36);
  color: #d6c0ff;
}
.ch-q-dark .ch-benefit strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.ch-q-dark .ch-benefit p {
  font-size: 12.5px;
  font-weight: 400;
  color: #9aa0b4;
  line-height: 1.7;
}

/* ----- Closing CTA panel ----- */
.chq-closing {
  margin-top: 56px;
  padding: 48px 32px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0,204,255,.05), rgba(123,45,255,.04));
  border: 1px solid rgba(0,204,255,.14);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}
.chq-closing::before {
  content: '';
  position: absolute;
  top: -40%; left: -10%;
  width: 120%; height: 200%;
  background: radial-gradient(ellipse at 30% 30%, rgba(0,204,255,.06), transparent 55%);
  pointer-events: none;
}
.chq-closing > * { position: relative; z-index: 1; }
.chq-closing blockquote {
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 400;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.3;
  margin-bottom: 12px;
}
.chq-closing cite {
  display: block;
  font-size: 13px; font-style: normal;
  color: var(--cyan);
  letter-spacing: .04em;
  font-weight: 500;
  margin-bottom: 24px;
}
.chq-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.chq-cta-btn:hover {
  transform: translateY(-2px);
  background: #1a78ff;
  box-shadow: 0 14px 36px rgba(0,102,255,.28);
}
.chq-cta-btn svg { transition: transform .25s; }
.chq-cta-btn:hover svg { transform: translateX(3px); }

/* ===================== 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: #0a0a14;
  border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 500;
  color: #fff;
  letter-spacing: .08em;
  box-shadow: 0 6px 18px rgba(15,20,35,.18);
  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: var(--l-text);
  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: var(--l-muted);
  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; }

/* ===================== 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 24px 48px rgba(0,0,0,.4), 0 0 24px 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: var(--l-text);
  margin-bottom: 12px;
  letter-spacing: -.01em;
  line-height: 1.4;
}

.ch-diff p {
  font-size: 13px;
  font-weight: 300;
  color: var(--l-muted);
  line-height: 1.8;
}

/* ═════════════ CLIENTES — editorial logo ribbon ═════════════ */
.ch-clients {
  position: relative;
  overflow: hidden;
}

/* Faint dot grid texture — adds craft without noise */
.ch-clients::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(15,20,35,.06) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.ch-clients-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ch-clients-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--l-muted);
  line-height: 1.7;
  margin: 28px auto 0;
  max-width: 540px;
}

/* Geometric anchor — thin gradient line */
.ch-clients-divider {
  width: 56px;
  height: 1px;
  margin: 36px auto 0;
  background: linear-gradient(90deg, transparent, var(--purple), var(--cyan), transparent);
  opacity: .55;
}

/* ── Ribbon ─────────────────────────────────────────── */
.ch-ribbon {
  margin-top: 64px;
  position: relative;
  overflow: hidden;
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.ch-ribbon-track {
  display: flex;
  width: fit-content;
  flex-wrap: nowrap;
  gap: 18px;
  animation: ch-ribbon-scroll 36s linear infinite;
}

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

/* ── Logo card — editorial frame ──────────────────────── */
.ch-logo-card {
  flex: 0 0 auto;
  width: 220px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 20px;
  margin: 0;
  background: var(--l-bg-alt);
  border: 1px solid rgba(15,20,35,.10);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, box-shadow .3s ease;
}

/* Soft brand-tint sweep on hover */
.ch-logo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(123,45,255,.06), rgba(0,204,255,.04));
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.ch-logo-card:hover {
  border-color: rgba(123,45,255,.32);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15,20,35,.08);
}

.ch-logo-card:hover::before { opacity: 1; }

.ch-logo-card img {
  /* Footprint amplo: 110px de altura para logos quadradas e 180px de
     largura para wordmarks horizontais. Card é 220×150 com padding
     22px×28px, então a área útil é ~164×106 — usamos quase tudo. */
  max-height: 110px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  opacity: 0.62;
  transition: filter .35s ease, opacity .35s ease;
  position: relative;
  z-index: 1;
}

.ch-logo-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* White-logo variant — keeps inversion in both idle and hover states
   (no source color to recover, so we treat it as a permanent silhouette). */
.ch-logo-card--invert img,
.ch-logo-card--invert:hover img {
  filter: invert(1);
}

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

@media (max-width: 768px) {
  .ch-clients-divider { margin-top: 28px; }
  .ch-clients-sub { font-size: 13px; }
  .ch-ribbon { margin-top: 48px; }
  .ch-ribbon-track { animation-duration: 28s; gap: 12px; }
  .ch-logo-card {
    width: 160px;
    height: 124px;
    padding: 18px 20px;
    gap: 12px;
    border-radius: 14px;
  }
  .ch-logo-card img { max-height: 86px; max-width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .ch-ribbon-track { animation: none; }
  .ch-ribbon {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .ch-logo-card { scroll-snap-align: center; }
}

/* ===================== PLANOS (shell + toggle + 3 cards) ===================== */
.ch-plans-shell {
  position: relative;
  background: #f8f9fa;
  border: 1px solid rgba(15,20,35,.06);
  border-radius: 28px;
  padding: 28px 28px 32px;
  margin-top: 16px;
}

.ch-billing {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 4px 6px 22px;
}

.ch-billing-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--l-text);
  letter-spacing: -.005em;
  transition: color .25s, opacity .25s;
}

.ch-billing-savings {
  font-size: 13px;
  font-weight: 400;
  color: #15803d;
  letter-spacing: .005em;
  transition: opacity .25s, color .25s;
}

.ch-plans-shell[data-billing="monthly"] .ch-billing-label {
  color: var(--l-muted);
  opacity: .65;
}

.ch-plans-shell[data-billing="monthly"] .ch-billing-savings {
  opacity: .45;
  color: var(--l-muted);
}

.ch-billing-switch {
  position: relative;
  width: 48px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(15,20,35,.12);
  background: #fff;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background .3s, border-color .3s, box-shadow .3s;
  font-family: inherit;
}

.ch-billing-switch:hover {
  border-color: rgba(15,20,35,.2);
}

.ch-billing-switch:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(123,45,255,.18);
}

.ch-billing-knob {
  position: absolute;
  top: 50%;
  left: 25px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15,20,35,.22);
  transform: translateY(-50%);
  transition: left .32s cubic-bezier(.34,1.56,.64,1), background .3s;
}

.ch-plans-shell[data-billing="annual"] .ch-billing-switch {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(123,45,255,.25);
}

.ch-plans-shell[data-billing="monthly"] .ch-billing-switch {
  background: rgba(15,20,35,.12);
}

.ch-plans-shell[data-billing="monthly"] .ch-billing-knob {
  left: 3px;
}

/* Smooth crossfade on price/label swap */
.ch-plan-price-val,
.ch-plan-small {
  transition: opacity .22s ease, transform .22s ease;
}

.ch-plans-shell.is-switching .ch-plan-price-val,
.ch-plans-shell.is-switching .ch-plan-small[data-label-anual] {
  opacity: 0;
  transform: translateY(-6px);
}

.ch-plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ===================== ADD-ON (linha horizontal abaixo dos planos) ===================== */
.ch-addon {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-top: 20px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid rgba(34,197,94,.18);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}

.ch-addon::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(to bottom, #22c55e, #15803d);
  opacity: .55;
}

.ch-addon:hover {
  border-color: rgba(34,197,94,.35);
  box-shadow: 0 12px 28px rgba(15,20,35,.06);
}

.ch-addon-info {
  min-width: 0;
}

.ch-addon-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.ch-addon-tag {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #15803d;
  background: rgba(34,197,94,.10);
  padding: 4px 10px;
  border-radius: 999px;
}

.ch-addon-name {
  font-size: 17px;
  font-weight: 500;
  color: var(--l-text);
  letter-spacing: -.01em;
}

.ch-addon-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--l-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: 540px;
}

.ch-addon-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
}

.ch-addon-features li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 300;
  color: var(--l-muted);
}

.ch-addon-features li svg {
  color: #22c55e;
  flex-shrink: 0;
}

.ch-addon-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 220px;
  text-align: right;
  padding-left: 24px;
  border-left: 1px solid rgba(15,20,35,.08);
}

.ch-addon-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.ch-addon-price-currency {
  font-size: 12px;
  font-weight: 300;
  color: var(--l-muted);
}

.ch-addon-price-val {
  font-size: 30px;
  font-weight: 300;
  color: var(--l-text);
  letter-spacing: -.02em;
  line-height: 1;
  transition: opacity .22s ease, transform .22s ease;
}

.ch-addon-price-period {
  font-size: 11px;
  font-weight: 300;
  color: var(--l-muted);
  margin-left: 2px;
}

.ch-addon-small {
  font-size: 10.5px;
  font-weight: 300;
  color: var(--l-muted);
  margin: 0;
  max-width: 220px;
}

.ch-addon-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  border-radius: 12px;
  border: 1px solid rgba(34,197,94,.28);
  color: #15803d;
  background: rgba(34,197,94,.04);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
  white-space: nowrap;
}

.ch-addon-cta:hover {
  border-color: rgba(34,197,94,.5);
  background: rgba(34,197,94,.08);
  transform: translateY(-1px);
}

.ch-plans-shell.is-switching .ch-addon-price-val {
  opacity: 0;
  transform: translateY(-6px);
}

.ch-plan {
  position: relative;
  background: var(--l-bg-alt);
  border: 1px solid rgba(15,20,35,.12);
  border-radius: 22px;
  padding: 40px 32px 36px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}

.ch-plan:hover {
  border-color: rgba(15,20,35,.22);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15,20,35,.10);
}

.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 24px 48px rgba(0,0,0,.4), 0 0 30px 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: var(--l-text);
  margin-bottom: 12px;
  letter-spacing: -.01em;
}

.ch-plan-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--l-muted);
  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: var(--l-muted);
}

.ch-plan-price-val {
  font-size: 42px;
  font-weight: 300;
  color: var(--l-text);
  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: var(--l-muted);
}

.ch-plan-small {
  font-size: 10px;
  font-weight: 300;
  color: var(--l-muted);
  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: var(--l-muted);
  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: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
  padding: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  border-radius: 12px;
  border: 1px solid var(--l-border);
  color: var(--l-muted);
  transition: color .2s, border-color .2s, background .2s;
}
.ch-plan-cta svg { flex-shrink: 0; }

.ch-plan-cta:hover {
  color: var(--l-text);
  border-color: var(--l-border-h);
}

.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,.35);
  color: var(--purple);
  font-weight: 600;
}

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

.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,.45);
  background: rgba(34,197,94,.06);
  color: #15803d;
}

/* ===================== 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(15,20,35,.04);
  display: flex; align-items: center; justify-content: center;
  color: var(--l-muted);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.ch-integration span {
  font-size: 10px;
  font-weight: 400;
  color: var(--l-muted);
  letter-spacing: .02em;
  text-align: center;
}

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

.ch-faq .accordion-list {
  border-top: 1px solid var(--l-border);
}

.ch-faq .accordion-item {
  border-bottom: 1px solid var(--l-border);
}

.ch-faq .accordion-btn {
  font-size: 15px;
  font-weight: 400;
  color: var(--l-text);
  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: var(--blue);
}

.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: var(--l-muted);
  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: .6;
  color: var(--l-muted);
}

.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; }
  .chq-visual-block { grid-template-columns: 1fr; gap: 48px; text-align: left; }
  .chq-orbit { margin: 0 auto; }
  .ch-q-dark .ch-benefits { grid-template-columns: repeat(2, 1fr); }
  .ch-compare { grid-template-columns: 1fr; gap: 8px; }
  .ch-compare::before { display: none; }
  .ch-diffs { grid-template-columns: 1fr; }
  .ch-logos { grid-template-columns: repeat(3, 1fr); }
  .ch-plans { grid-template-columns: 1fr; }
  .ch-plans-shell { padding: 22px 20px 26px; border-radius: 22px; }
  .ch-billing { gap: 10px; padding: 2px 4px 18px; }
  .ch-billing-switch { margin-left: auto; }
  .ch-addon {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 22px;
  }
  .ch-addon-action {
    align-items: flex-start;
    text-align: left;
    padding-left: 0;
    padding-top: 18px;
    border-left: none;
    border-top: 1px solid rgba(15,20,35,.08);
    width: 100%;
  }
  .ch-addon-cta { align-self: stretch; justify-content: center; }
  .ch-integrations { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .ch-hero-inner { padding: 120px 20px 80px; }
  .ch-title { font-size: 40px; }

  /* Qualidade — orbit menor com cards e linhas recalibrados */
  .chq-orbit { width: 280px; height: 280px; }
  .chq-card { width: 110px; height: 110px; border-radius: 20px; }
  .chq-card .chq-face { width: 42px; height: 42px; }
  .chq-line.h-top { width: 60px; left: 75px; top: 54px; }
  .chq-line.v-right { height: 60px; top: 75px; right: 54px; }
  .chq-line.h-bot { width: 60px; left: 75px; bottom: 54px; }
  .chq-line.v-left { height: 60px; top: 75px; left: 54px; }

  .ch-q-dark .ch-benefits { grid-template-columns: 1fr; }
  .ch-integrations { grid-template-columns: repeat(3, 1fr); }
  .ch-logos { grid-template-columns: repeat(2, 1fr); }

  /* CRM pipeline — vira scroll horizontal estilo Kanban, mantendo a
     metáfora visual em vez de empilhar 4 colunas verticalmente
     (que daria ~960px de altura). Snap nas colunas, edge-to-edge.

     IMPORTANTE: precisamos zerar o min-width: auto (default em grid
     items) dos ancestrais — sem isso, o ch-split-visual se expande
     pra acomodar o min-content do pipeline (880px), empurrando a
     viewport pra direita e cortando o texto do .ch-split-text. */
  .ch-split,
  .ch-split-reverse,
  .ch-split > *,
  .ch-split-reverse > *,
  .ch-split-visual,
  .ch-split-text,
  .ch-sim { min-width: 0; }

  .ch-pipeline {
    grid-template-columns: repeat(4, 220px);
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    /* Mask que indica scroll: fade nas bordas laterais */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  }
  .ch-pipeline::-webkit-scrollbar { display: none; }
  .ch-pipeline-col {
    scroll-snap-align: start;
    min-height: 200px;
  }

  /* Diferenciais — em mobile já vira 1col no 1024, mas garantimos
     que o padding interno fique consistente */
  .ch-diff { padding: 28px 24px; }

  /* Plans — ajustes do shell pra viewport apertado */
  .ch-plan { padding: 32px 22px 28px; }
}

/* ===================== @480 (viewports pequenos / smartphones estreitos) ===================== */
@media (max-width: 480px) {
  /* Hero — título mais comportado */
  .ch-title { font-size: 34px; line-height: 1.06; }
  .ch-hero-inner { padding: 110px 16px 64px; }

  /* Section titles diminuem mais */
  .section-title { font-size: clamp(26px, 7vw, 36px) !important; }

  /* Qualidade — orbit ainda menor pra não estourar viewport 320-375px */
  .chq-orbit { width: 240px; height: 240px; }
  .chq-card { width: 92px; height: 92px; border-radius: 16px; gap: 6px; }
  .chq-card .chq-face { width: 34px; height: 34px; }
  .chq-card .chq-label { font-size: 9.5px; letter-spacing: .06em; }
  .chq-line.h-top, .chq-line.h-bot { width: 38px; left: 66px; }
  .chq-line.v-right, .chq-line.v-left { height: 38px; top: 66px; }
  .chq-line.h-top { top: 46px; }
  .chq-line.v-right { right: 46px; }
  .chq-line.h-bot { bottom: 46px; }
  .chq-line.v-left { left: 46px; }
  .chq-line.h-top::after, .chq-line.h-bot::after { width: 18px; }
  .chq-line.v-right::after, .chq-line.v-left::after { height: 18px; }

  /* Integrations — 2 cols em vez de 3 pra dar respiro */
  .ch-integrations { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  /* Logos client ribbon — cards mais compactos */
  .ch-logo-card { width: 150px; height: 100px; padding: 14px 16px; }
  .ch-logo-card img { max-height: 56px; max-width: 96px; }

  /* CRM pipeline — colunas um pouco mais estreitas no 480 */
  .ch-pipeline { grid-template-columns: repeat(4, 200px); }

  /* Container — padding lateral reduzido em viewports muito apertados */
  .container { padding: 0 20px; }

  /* Plans shell — mais respiro */
  .ch-plans-shell { padding: 18px 14px 22px; }
  .ch-plan { padding: 28px 18px 24px; }
  .ch-addon { padding: 18px 18px; }
  .ch-addon-action { padding-top: 14px; }
}
