/* ============================================
   HOME PAGE — Dark Theme Styles
   DT Network
   ============================================ */

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: var(--dt-space-20) 0 var(--dt-space-6);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: 30%;
  left: 25%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--dt-orange-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Stacked layout: head centered, mockup full width below */
.hero__head {
  max-width: 800px;
  margin: 0 auto var(--dt-space-2);
}
.hero__title {
  font-size: clamp(1.75rem, 4.5vw, 3.2rem);
  font-weight: var(--dt-font-extrabold);
  line-height: var(--dt-leading-tight);
  letter-spacing: -0.03em;
  margin-bottom: var(--dt-space-6);
}
.hero__subtitle {
  font-size: var(--dt-text-lg);
  color: var(--dt-text-muted);
  line-height: var(--dt-leading-normal);
  margin: 0 auto var(--dt-space-4);
  text-align: center;
}
.hero__checks-h {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--dt-space-3) var(--dt-space-8);
  text-align: left;
}
.hero__checks-h li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--dt-text-base);
}
.hero__checks-h li strong {
  color: var(--dt-text);
  font-weight: var(--dt-font-semibold);
}
.hero-check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

/* Bottom: proof bar + actions centered */
.hero__bottom {
  text-align: center;
  margin-top: var(--dt-space-3);
}
.hero .proof-bar { margin-bottom: var(--dt-space-8); }
.hero__actions {
  display: flex;
  gap: var(--dt-space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- HERO MOCKUP ---- */
.hero-mockup {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.7s ease 0.15s;
}
.hero-mockup.is-active { opacity: 1; }

/* CSS animations paused until visible */
.hero-mockup .hm-wire-flow { animation-play-state: paused; }
.hero-mockup.is-active .hm-wire-flow { animation-play-state: running; }

.hm-scene {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* height set by JS */
}
.hm-ambient { display: none; }
.hm-diagram {
  position: relative;
  width: 1120px;
  height: 700px;
  /* transform + transformOrigin set by JS */
}

/* Wires */
.hm-wires {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 2;
}
.hm-wire-base {
  fill: none; stroke: rgba(34,197,94,0.18); stroke-width: 6;
  stroke-linecap: round; stroke-linejoin: round;
}
.hm-wire-flow {
  fill: none; stroke: #22c55e; stroke-width: 3; stroke-linecap: round;
  stroke-linejoin: round; stroke-dasharray: 8 16;
  filter: drop-shadow(0 0 6px rgba(34,197,94,.8));
  animation: hmDashMove 2.5s linear infinite;
}
.hm-signal {
  fill: #22c55e;
  filter: drop-shadow(0 0 8px rgba(34,197,94,.9));
}
@keyframes hmDashMove { to { stroke-dashoffset: -160; } }
@keyframes hmSpin { 100% { transform: rotate(360deg); } }

/* Left stack nodes */
.hm-left-stack {
  position: absolute; display: grid; gap: 12px; z-index: 4;
  left: 95px; top: 130px;
}
/* Right-stack: nodes posicionados individualmente para alinhar com os cards */
.hm-right-stack {
  position: absolute; left: 655px; top: 0; width: 64px; height: 700px; z-index: 4;
}
.hm-right-stack .hm-email    { position: absolute; top: 242px; } /* centro em y=282 */
.hm-right-stack .hm-whatsapp { position: absolute; top: 342px; } /* centro em y=374 */
.hm-right-stack .hm-sms      { position: absolute; top: 434px; } /* centro em y=466 */

.hm-node {
  width: 64px; height: 64px; border-radius: 18px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
  display: grid; place-items: center;
}
.hm-node svg { width: 28px; height: 28px; }
.hm-user svg { stroke: #0ea5e9; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hm-x svg path { fill: #0f172a; }
.hm-instagram svg { stroke: #e1306c; }
.hm-linkedin svg path { fill: #0a66c2; }
.hm-facebook svg path { fill: #1877f2; }

/* Central panel */
.hm-panel {
  position: absolute; left: 275px; top: 210px; width: 260px;
  padding: 24px 20px 20px; border-radius: 28px;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(255,255,255,0.80);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 60px rgba(15,23,42,.08);
  z-index: 3; display: flex; flex-direction: column;
  align-items: center; text-align: center;
}
.hm-panel-icons { display: flex; justify-content: center; margin-bottom: 16px; }
.hm-wifi-chip {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: #ffffff; border: 1px solid rgba(34,197,94,.3);
  box-shadow: 0 8px 24px rgba(34,197,94,.15); position: relative; z-index: 2;
}
.hm-wifi-chip svg { width: 22px; height: 22px; }
.hm-chat-chip {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: #ffffff; border: 1px solid rgba(14,165,233,.3);
  box-shadow: 0 8px 24px rgba(14,165,233,.15); margin-left: -12px; position: relative; z-index: 1;
}
.hm-chat-chip svg { width: 22px; height: 22px; }
.hm-panel-copy strong {
  display: block; margin-bottom: 6px; font-size: 16px;
  line-height: 1.25; color: #0f172a;
}
.hm-panel-copy p {
  margin: 0; color: #64748b; font-size: 0.90rem;
  line-height: 1.45; font-weight: 400;
}
.hm-skeleton {
  display: flex; flex-direction: column; gap: 8px;
  width: 100%; align-items: center; margin-top: 16px;
}
.hm-s-line, .hm-s-pill {
  border: 1px solid rgba(255,255,255,0.80);
  background: linear-gradient(90deg, rgba(34,197,94,.05), rgba(34,197,94,.02));
  height: 8px; border-radius: 999px;
}
.hm-s-line { width: 85%; }
.hm-s-pill { width: 50%; }

/* Security card */
.hm-security-card {
  position: absolute; left: 405px; top: 480px; transform: translateX(-50%);
  width: 330px; background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.80);
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
  backdrop-filter: blur(12px); border-radius: 24px;
  z-index: 4; display: flex; gap: 12px; padding: 16px 18px;
}
.hm-security-card strong {
  display: block; margin-bottom: 4px; font-size: 15px; color: #0f172a;
}
.hm-security-card span {
  display: block; font-size: 13px; color: #64748b; line-height: 1.4;
}

/* Result cards */
.hm-results-stack {
  position: absolute; left: 770px; top: 242px;
  display: grid; gap: 12px; z-index: 4;
}
.hm-result-wrapper {
  position: relative; width: 290px; height: 80px;
  border-radius: 16px; background: transparent;
}
/* Todos cards voltam ao layout normal — sem sub-stacks */
.hm-result--reply,
.hm-result--sale,
.hm-result--meeting { height: 80px; display: block; }

.hm-result-card {
  position: relative; width: 100%; height: 100%;
  background: #ffffff; border-radius: 13px;
  display: flex; align-items: center; gap: 12px;
  padding: 0 14px; z-index: 2; box-sizing: border-box;
}

/* Layout coluna: 2 linhas dentro do card */
.hm-result-card--col {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  padding: 10px 14px;
}

/* Linha de header (icone + label) */
.hm-result-row {
  display: flex; align-items: center; gap: 7px;
}
.hm-result-row svg {
  width: 15px; height: 15px; flex-shrink: 0;
}
.hm-row-label {
  font-size: 12px; font-weight: 500; color: #0f172a; white-space: nowrap;
}

/* Nova venda row */
.hm-venda-row {
  display: flex; align-items: center; gap: 4px;
}
.hm-venda-row span {
  font-size: 11.5px; font-weight: 600; color: #15803d; white-space: nowrap;
}

/* ---- Message bubbles inside cards ---- */
.hm-msg-bubble {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 20px;
  font-size: 12px; font-weight: 500;
  white-space: nowrap; max-width: 100%;
}
.hm-msg-bubble svg {
  width: 14px; height: 14px; flex-shrink: 0;
  fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
/* WhatsApp: verde */
.hm-msg-bubble--wa {
  background: rgba(37,211,102,0.14); color: #14532d;
}
.hm-msg-bubble--wa svg { fill: #25d366; stroke: none; }
/* SMS / azul claro */
.hm-msg-bubble--sms {
  background: rgba(96,165,250,0.16); color: #1e40af;
}
.hm-msg-bubble--sms svg { stroke: #3b82f6; }

/* ---- HERO RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero__split {
    grid-template-columns: 1fr;
    gap: var(--dt-space-8);
  }
  .hero__split-right { display: none; }
  .hero { padding: var(--dt-space-16) 0 var(--dt-space-12); }
}
@media (max-width: 480px) {
  .hero { padding: var(--dt-space-12) 0 var(--dt-space-10); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

/* ---- STATS BAR ---- */
.stats-bar { padding: var(--dt-space-10) 0; }
.stats-bar .grid--4 { gap: var(--dt-space-4); }
@media (max-width: 768px) {
  .stats-bar .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- SOLUTIONS ---- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--dt-space-8);
}
@media (max-width: 768px) {
  .solutions-grid { grid-template-columns: 1fr; }
}

.solution-card {
  background: var(--dt-bg-card);
  border: 1px solid var(--dt-border);
  border-radius: var(--dt-radius-xl);
  padding: var(--dt-space-8);
  transition: border-color var(--dt-transition-slow), transform var(--dt-transition-slow);
  position: relative;
}
.solution-card:hover {
  border-color: var(--dt-border-orange);
  transform: translateY(-4px);
}
.solution-card__badge { margin-bottom: var(--dt-space-4); }
.solution-card__title {
  font-size: var(--dt-text-2xl);
  font-weight: var(--dt-font-extrabold);
  margin-bottom: var(--dt-space-1);
}
.solution-card__tagline {
  font-size: var(--dt-text-sm);
  font-weight: var(--dt-font-bold);
  margin-bottom: var(--dt-space-4);
}
.solution-card__desc {
  font-size: var(--dt-text-sm);
  color: var(--dt-text-muted);
  line-height: var(--dt-leading-normal);
  margin-bottom: var(--dt-space-6);
}
.solution-card__features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--dt-space-2);
  margin-bottom: var(--dt-space-6);
}
.solution-card__features li {
  font-size: var(--dt-text-sm);
  color: var(--dt-text-muted);
  padding: var(--dt-space-1) 0;
}
.solution-card__cta { margin-top: auto; }
.solution-card__mockup {
  margin: var(--dt-space-6) 0;
  display: flex;
  justify-content: center;
}

/* Captive Portal mockup */
.captive-mockup { text-align: center; }
.captive-mockup__header {
  font-size: var(--dt-text-sm);
  font-weight: var(--dt-font-bold);
  color: var(--dt-text);
  margin-bottom: var(--dt-space-1);
}
.captive-mockup__subtitle {
  font-size: var(--dt-text-xs);
  color: var(--dt-text-dim);
  margin-bottom: var(--dt-space-3);
}
.captive-mockup__btn {
  padding: var(--dt-space-2);
  border-radius: var(--dt-radius);
  font-size: var(--dt-text-xs);
  font-weight: var(--dt-font-bold);
  color: #fff;
  margin-bottom: var(--dt-space-2);
}
.captive-mockup__btn--fb { background: #1877F2; }
.captive-mockup__btn--google { background: #DB4437; }
.captive-mockup__btn--wa { background: #25D366; }
.captive-mockup__terms {
  font-size: 10px;
  color: var(--dt-text-dim);
  margin-top: var(--dt-space-2);
}

/* Chat mockup */
.chat-mockup {
  display: flex;
  gap: var(--dt-space-2);
  min-height: 120px;
}
.chat-mockup__sidebar {
  width: 60px;
  display: flex;
  flex-direction: column;
  gap: var(--dt-space-2);
}
.chat-mockup__contact {
  height: 32px;
  background: var(--dt-bg-card);
  border: 1px solid var(--dt-border);
  border-radius: var(--dt-radius);
}
.chat-mockup__contact--active {
  border-color: var(--dt-border-orange);
  background: var(--dt-orange-glow);
}
.chat-mockup__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--dt-space-2);
  justify-content: center;
}
.chat-mockup__bubble {
  font-size: 11px;
  padding: var(--dt-space-2) var(--dt-space-3);
  border-radius: var(--dt-radius-lg);
  max-width: 80%;
  line-height: 1.3;
}
.chat-mockup__bubble--in {
  background: rgba(255,255,255,0.06);
  color: var(--dt-text-muted);
  border-bottom-left-radius: 2px;
}
.chat-mockup__bubble--out {
  background: var(--dt-orange);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

/* ---- DASHBOARD SHOWCASE ---- */
.dashboard-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--dt-space-12);
  align-items: center;
}
@media (max-width: 960px) {
  .dashboard-showcase { grid-template-columns: 1fr; }
}

/* ── Painel de Controle Mockup ── */
.pc-scene {
  width: 100%;
  overflow: hidden;
}
.pc-diagram {
  width: 100%;
  max-width: 660px;
  font-size: 14px;
}

/* Browser bar */
.pc-browser-bar {
  background: #0f1225;
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(255,255,255,.06);
  border-bottom: none;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
}
.pc-bd-row { display: flex; gap: 6px; flex-shrink: 0; }
.pc-bd-r { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.pc-bd-y { width: 11px; height: 11px; border-radius: 50%; background: #febc2e; }
.pc-bd-g { width: 11px; height: 11px; border-radius: 50%; background: #28c840; }
.pc-browser-url {
  flex: 1; height: 24px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 6px;
  display: flex; align-items: center;
  padding: 0 9px; gap: 5px; overflow: hidden;
}
.pc-lock-icon { width: 10px; height: 12px; flex-shrink: 0; }
.pc-url-sk { flex: 1; display: flex; align-items: center; gap: 3px; }
.pc-usk-l { height: 5px; border-radius: 999px; background: rgba(255,255,255,.16); }
.pc-usk-d { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.10); flex-shrink: 0; }
.pc-usk-sep { width: 1px; height: 10px; background: rgba(255,255,255,.07); flex-shrink: 0; margin: 0 2px; }
.pc-live-row { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.pc-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 7px rgba(34,197,94,.9);
  animation: pcBlink 1.8s ease-in-out infinite;
}
.pc-live-text { font-size: 9px; font-weight: 600; color: rgba(255,255,255,.45); }

/* Dashboard body */
.pc-dash {
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(210,225,240,.85);
  border-top: none;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 24px 56px rgba(15,23,42,.10);
  overflow: hidden;
}

.pc-dash-header {
  background: linear-gradient(135deg, #111157 0%, #1c1c90 100%);
  padding: 14px 18px 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.pc-dash-title { font-size: 13.5px; font-weight: 800; color: #fff; letter-spacing: .2px; }
.pc-dash-title span { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.55); display: block; margin-top: 2px; }
.pc-dash-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 700; color: #22c55e;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.22);
}
.pc-dash-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 7px rgba(34,197,94,.9);
  animation: pcBlink 1.8s ease-in-out infinite;
}

/* KPI row */
.pc-kpi-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.pc-kpi {
  padding: 12px 10px;
  border-right: 1px solid rgba(0,0,0,.05);
  display: flex; align-items: center; gap: 8px;
}
.pc-kpi:last-child { border-right: none; }
.pc-kpi-icon { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; }
.pc-kpi-icon svg { width: 15px; height: 15px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pc-kpi-val { font-size: 17px; font-weight: 900; color: #0f172a; line-height: 1; }
.pc-kpi-val.pc-o { color: #ed4700; }
.pc-kpi-val.pc-g { color: #22c55e; }
.pc-kpi-desc { font-size: 8.5px; color: #64748b; margin-top: 2px; font-weight: 500; line-height: 1.3; }

/* Main content row */
.pc-main-row { display: grid; grid-template-columns: 1fr 1fr; }

/* NPS side */
.pc-nps-side {
  padding: 14px 16px;
  border-right: 1px solid rgba(0,0,0,.05);
  display: flex; flex-direction: column; gap: 10px;
}
.pc-box-label { font-size: 10px; font-weight: 700; color: #0f172a; letter-spacing: .3px; margin-bottom: 2px; }

.pc-nps-card {
  background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid rgba(34,197,94,.30);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 0 0 4px rgba(34,197,94,.07), 0 8px 24px rgba(34,197,94,.15), inset 0 1px 0 rgba(255,255,255,.8);
  display: flex; align-items: center; gap: 14px;
}
.pc-gauge-wrap { position: relative; flex-shrink: 0; }
.pc-nps-info { flex: 1; }
.pc-nps-score {
  font-size: 42px; font-weight: 900; line-height: 1;
  color: #22c55e; text-shadow: 0 2px 16px rgba(34,197,94,.25);
}
.pc-nps-score-label { font-size: 11px; font-weight: 700; color: #22c55e; margin-top: 1px; opacity: .75; }
.pc-nps-caption { font-size: 9.5px; color: #64748b; margin-top: 6px; line-height: 1.45; font-weight: 500; }

/* Sentiment bars */
.pc-sent-bars { margin-top: 6px; }
.pc-sent-bar-row { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.pc-sent-bar-lbl { font-size: 8.5px; color: #64748b; font-weight: 600; width: 42px; flex-shrink: 0; }
.pc-sent-bar-bg { flex: 1; height: 5px; border-radius: 999px; background: rgba(0,0,0,.07); overflow: hidden; }
.pc-sent-bar-fill { height: 100%; border-radius: 999px; }
.pc-sent-bar-pct { font-size: 8.5px; color: #64748b; width: 26px; text-align: right; flex-shrink: 0; }

/* Benefits side */
.pc-benefits-side {
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.pc-benefit-item {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 9px 11px; border-radius: 11px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(210,225,240,.6);
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
  transition: box-shadow .18s, transform .18s;
}
.pc-benefit-item:hover { box-shadow: 0 6px 18px rgba(15,23,42,.08); transform: translateX(2px); }
.pc-benefit-icon {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; flex-shrink: 0; margin-top: 1px;
}
.pc-benefit-icon svg { width: 14px; height: 14px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pc-benefit-title { font-size: 10.5px; font-weight: 700; color: #0f172a; line-height: 1.2; }
.pc-benefit-sub { font-size: 8.5px; color: #64748b; margin-top: 2px; line-height: 1.35; font-weight: 400; }
.pc-benefit-check {
  width: 16px; height: 16px; border-radius: 50%;
  background: #22c55e; display: grid; place-items: center;
  flex-shrink: 0; margin-top: 5px; margin-left: auto;
}
.pc-benefit-check svg { width: 9px; height: 9px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Trend row */
.pc-trend-row {
  border-top: 1px solid rgba(0,0,0,.05);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 12px;
}
.pc-trend-label { font-size: 9.5px; font-weight: 700; color: #64748b; white-space: nowrap; }
.pc-trend-chart { flex: 1; }
.pc-trend-stat { text-align: right; flex-shrink: 0; }
.pc-trend-stat-val { font-size: 13px; font-weight: 800; color: #22c55e; }
.pc-trend-stat-sub { font-size: 8px; color: #64748b; margin-top: 1px; }

@keyframes pcBlink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* Responsive */
@media (max-width: 768px) {
  .pc-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .pc-main-row { grid-template-columns: 1fr; }
  .pc-nps-side { border-right: none; border-bottom: 1px solid rgba(0,0,0,.05); }
}
@media (max-width: 480px) {
  .pc-kpi { padding: 8px 6px; gap: 5px; }
  .pc-kpi-icon { width: 24px; height: 24px; border-radius: 6px; }
  .pc-kpi-icon svg { width: 12px; height: 12px; }
  .pc-kpi-val { font-size: 14px; }
}

/* ---- RESELLER CTA ---- */
.reseller-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--dt-space-12);
}
.reseller-cta__content { max-width: 600px; }
.reseller-cta__visual { flex-shrink: 0; }

/* ── Reseller Orbital Diagram ── */
.rv-scene {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.rv-diagram {
  position: relative;
  width: 460px;
  height: 420px;
  flex-shrink: 0;
  transform-origin: top center;
}

/* Center ring */
.rv-center {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 1.5px solid var(--dt-border-orange, rgba(237,71,0,.35));
  box-shadow:
    0 0 0 28px rgba(237,71,0,.06),
    0 0 0 56px rgba(237,71,0,.06),
    inset 0 0 40px rgba(237,71,0,.06);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 3;
}
.rv-center::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(237,71,0,.6);
  border-right-color: rgba(237,71,0,.2);
  animation: rvRingRotate 6s linear infinite;
}
@keyframes rvRingRotate { to { transform: rotate(360deg); } }

.rv-counter-val {
  font-size: 58px;
  font-weight: 900;
  color: var(--dt-orange, #ed4700);
  line-height: 1;
  letter-spacing: -2px;
  text-shadow: 0 0 40px rgba(237,71,0,.4);
}
.rv-counter-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--dt-text-muted);
  letter-spacing: .8px;
  text-align: center;
  line-height: 1.4;
  margin-top: 4px;
  text-transform: uppercase;
  /* garante visibilidade em qualquer escala */
  flex-shrink: 0;
  white-space: nowrap;
}

/* Orbit tracks */
.rv-orbit {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.06);
  pointer-events: none;
}
[data-theme="light"] .rv-orbit { border-color: rgba(15,23,42,.05); }
.rv-orbit--1 { width: 264px; height: 264px; }
.rv-orbit--2 { width: 360px; height: 360px; }

/* Reseller nodes */
.rv-node {
  position: absolute;
  z-index: 4;
}
.rv-node__inner {
  width: 44px; height: 44px; border-radius: 13px;
  background: rgba(17,17,87,.75);
  border: 1px solid rgba(237,71,0,.30);
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1px;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
[data-theme="light"] .rv-node__inner { background: #111157; }
.rv-node__inner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(237,71,0,.15), transparent);
  opacity: 0;
  transition: opacity .2s;
}
.rv-node__inner:hover::before { opacity: 1; }
.rv-node__inner:hover { transform: scale(1.1); box-shadow: 0 8px 24px rgba(237,71,0,.2); }

.rv-node__state {
  font-size: 11px; font-weight: 800; color: #fff;
  line-height: 1;
}
.rv-node__dot {
  position: absolute; top: 5px; right: 5px;
  width: 5px; height: 5px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 5px rgba(34,197,94,.8);
  animation: rvBlink 2s ease-in-out infinite;
}
@keyframes rvBlink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* Wire lines */
.rv-wires {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 2;
}
.rv-wire-base { fill:none; stroke:rgba(237,71,0,.08); stroke-width:4; stroke-linecap:round; }
.rv-wire-flow {
  fill:none; stroke:#ed4700; stroke-width:1.8; stroke-linecap:round;
  stroke-dasharray:5 12;
  filter:drop-shadow(0 0 4px rgba(237,71,0,.7));
  animation: rvDashFlow 2.8s linear infinite;
}
.rv-sig { fill:#ed4700; filter:drop-shadow(0 0 6px rgba(237,71,0,.9)); }
@keyframes rvDashFlow { to { stroke-dashoffset: -120; } }

/* Floating sparks */
.rv-spark {
  position: absolute;
  font-size: 10px; font-weight: 700;
  color: rgba(237,71,0,.5);
  animation: rvFloatUp 4s ease-in-out infinite;
  pointer-events: none; z-index: 1;
  user-select: none;
}
@keyframes rvFloatUp {
  0%   { opacity: 0;   transform: translateY(0); }
  20%  { opacity: .8; }
  80%  { opacity: .4; }
  100% { opacity: 0;   transform: translateY(-60px); }
}

@media (max-width: 768px) {
  .reseller-cta { flex-direction: column; text-align: center; }
  .reseller-cta__content { max-width: 100%; }
  .reseller-cta__content .section-subtitle { margin: var(--dt-space-4) auto; }
  .reseller-cta__visual { width: 100%; }
}

/* ---- DEMO FORM ---- */
.demo-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--dt-space-4);
}
@media (max-width: 600px) {
  .demo-form__grid { grid-template-columns: 1fr; }
}

/* ---- BLOG CARDS ---- */
.blog-card { padding: 0; overflow: hidden; }
.blog-card__image {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--dt-bg-alt);
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dt-transition-slow);
}
.blog-card:hover .blog-card__image img { transform: scale(1.03); }
.blog-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--dt-text-dim);
}
.blog-card__body { padding: var(--dt-space-5); }
.blog-card__title {
  font-size: var(--dt-text-base);
  font-weight: var(--dt-font-semibold);
  line-height: var(--dt-leading-snug);
  margin-top: var(--dt-space-2);
}
.blog-card__title a {
  color: var(--dt-text);
  text-decoration: none;
}
.blog-card__title a:hover { color: var(--dt-orange); }
.blog-card__meta { margin-top: var(--dt-space-2); }

/* ============================================
   CHAT CORP COMPACT ANIMATION (cca)
   Flexbox — cabe dentro de sol-card__visual
   ============================================ */
.cca { padding:10px; overflow:hidden; }

/* Flow layout */
.cca__flow { display:flex; align-items:center; gap:6px; }

/* Client */
.cca__client { display:flex; flex-direction:column; align-items:center; gap:4px; flex-shrink:0; }
.cca__client-node { position:relative; width:36px; height:36px; border-radius:10px; background:rgba(14,165,233,.06); border:1px solid rgba(14,165,233,.2); display:grid; place-items:center; }
.cca__ring { position:absolute; border-radius:50%; border:1px solid rgba(14,165,233,.3); animation:ccaPulse 2.4s ease-out infinite; pointer-events:none; width:42px; height:42px; top:-5px; left:-5px; }
@keyframes ccaPulse { 0%{opacity:.5;transform:scale(.85)} 100%{opacity:0;transform:scale(1)} }
.cca__label { font-size:7px; font-weight:700; color:var(--dt-text-dim); }

/* Wires */
.cca__wire { width:16px; height:2px; border-radius:1px; flex-shrink:0; position:relative; overflow:hidden; }
.cca__wire::after { content:''; position:absolute; top:0; left:-100%; width:50%; height:100%; border-radius:1px; animation:ccaWire 1.5s linear infinite; }
.cca__wire--blue { background:rgba(14,165,233,.12); }
.cca__wire--blue::after { background:#0ea5e9; box-shadow:0 0 4px rgba(14,165,233,.6); }
.cca__wire--green { background:rgba(34,197,94,.12); }
.cca__wire--green::after { background:#22c55e; box-shadow:0 0 4px rgba(34,197,94,.6); }
@keyframes ccaWire { 0%{left:-50%} 100%{left:100%} }

/* Dashboard */
.cca__dash { flex:1; min-width:0; border-radius:10px; overflow:hidden; border:1px solid var(--dt-border); }
.cca__bar { background:#0f1225; padding:5px 8px; display:flex; align-items:center; gap:4px; }
.cca__dot { width:6px; height:6px; border-radius:50%; flex-shrink:0; }
.cca__url { flex:1; height:16px; background:rgba(255,255,255,.06); border-radius:4px; margin-left:6px; display:flex; align-items:center; gap:3px; padding:0 5px; overflow:hidden; }
.cca__url-lock { width:7px; height:9px; flex-shrink:0; }
.cca__url-txt { font-size:6px; font-weight:600; color:rgba(255,255,255,.65); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; letter-spacing:.2px; }
.cca__header { background:linear-gradient(135deg,#111157,#1c1c90); padding:6px 10px; display:flex; align-items:center; justify-content:space-between; }
.cca__title { font-size:10px; font-weight:800; color:#fff; }
.cca__sub { font-size:7px; color:rgba(255,255,255,.45); }
.cca__badge { display:flex; align-items:center; gap:3px; font-size:7px; font-weight:700; color:#22c55e; padding:2px 6px; border-radius:99px; background:rgba(34,197,94,.1); border:1px solid rgba(34,197,94,.15); }
.cca__blink { width:4px; height:4px; border-radius:50%; background:#22c55e; box-shadow:0 0 4px rgba(34,197,94,.8); animation:ccaBlink 1.8s ease-in-out infinite; }
@keyframes ccaBlink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* KPIs */
.cca__kpis { display:flex; border-bottom:1px solid var(--dt-border); background:var(--dt-bg-alt); }
[data-theme="light"] .cca__kpis { background:#fafafa; }
.cca__kpi { flex:1; padding:5px 4px; border-right:1px solid var(--dt-border); text-align:center; }
.cca__kpi:last-child { border-right:none; }
.cca__kpi-v { display:block; font-size:11px; font-weight:800; line-height:1; }
.cca__kpi-l { display:block; font-size:6px; color:var(--dt-text-dim); margin-top:1px; }

/* Charts */
.cca__charts { display:flex; background:var(--dt-bg-alt); }
[data-theme="light"] .cca__charts { background:#fafafa; }
.cca__chart { flex:1; padding:6px 8px; border-right:1px solid var(--dt-border); }
.cca__channels { flex:1; padding:6px 8px; display:flex; flex-direction:column; gap:3px; }
.cca__ch { display:flex; align-items:center; gap:3px; font-size:6px; color:var(--dt-text-dim); }
.cca__ch-bar { flex:1; height:4px; background:rgba(255,255,255,.04); border-radius:2px; overflow:hidden; }
[data-theme="light"] .cca__ch-bar { background:rgba(0,0,0,.06); }
.cca__ch-bar > div { height:100%; border-radius:2px; }

/* Agents */
.cca__agents { display:flex; flex-direction:column; gap:6px; flex-shrink:0; width:120px; }
.cca__agent { border-radius:8px; overflow:hidden; position:relative; }
/* LED border */
.cca__agent-led { position:absolute; inset:-100%; width:300%; height:300%; animation:ccaSpin 4s linear infinite; z-index:0; }
.cca__agent-led--1 { background:conic-gradient(transparent 270deg,#39ff14 360deg); }
.cca__agent-led--2 { background:conic-gradient(transparent 270deg,#00b4ff 360deg); animation-delay:-1.3s; }
.cca__agent-led--3 { background:conic-gradient(transparent 270deg,#ffc200 360deg); animation-delay:-2.6s; }
@keyframes ccaSpin { 100%{transform:rotate(360deg)} }
.cca__agent-inner { position:relative; z-index:1; margin:1.5px; border-radius:7px; background:var(--dt-bg-alt); padding:5px 6px; }
[data-theme="light"] .cca__agent-inner { background:#fff; }

/* Agent head */
.cca__agent-head { display:flex; align-items:center; gap:4px; margin-bottom:4px; }
.cca__av { width:18px; height:18px; border-radius:50%; display:grid; place-items:center; font-size:6px; font-weight:800; color:#fff; flex-shrink:0; }
.cca__agent-name { font-size:8px; font-weight:700; color:var(--dt-text); line-height:1.1; }
.cca__agent-dept { font-size:6px; color:var(--dt-text-dim); }

/* Bubbles */
.cca__agent-bubbles { display:flex; flex-direction:column; gap:2px; margin-bottom:4px; }
.cca__bbl { border-radius:7px; height:auto; padding:3px 5px; display:inline-flex; max-width:92%; }
.cca__bbl span { font-size:6px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:block; line-height:1.3; }
.cca__bbl--in { background:rgba(255,255,255,.08); border-radius:0 7px 7px 7px; align-self:flex-start; }
.cca__bbl--in span { color:rgba(255,255,255,.75); }
.cca__bbl--out { background:rgba(37,211,102,.18); border-radius:7px 0 7px 7px; align-self:flex-end; }
.cca__bbl--out span { color:#4ade80; }
[data-theme="light"] .cca__bbl--in { background:rgba(0,0,0,.07); }
[data-theme="light"] .cca__bbl--in span { color:rgba(0,0,0,.7); }
[data-theme="light"] .cca__bbl--out { background:rgba(37,211,102,.15); }
[data-theme="light"] .cca__bbl--out span { color:#16a34a; }

/* Agent footer */
.cca__agent-foot { display:flex; align-items:center; justify-content:space-between; padding-top:3px; border-top:1px solid var(--dt-border); font-size:7px; color:var(--dt-text-dim); }

/* Mobile: stack vertical */
@media (max-width:480px) {
  .cca__flow { flex-direction:column; gap:8px; }
  .cca__wire { width:2px; height:16px; }
  .cca__wire::after { top:-100%; left:0; width:100%; height:50%; animation-name:ccaWireV; }
  @keyframes ccaWireV { 0%{top:-50%} 100%{top:100%} }
  .cca__agents { flex-direction:row; width:100%; }
  .cca__agent { flex:1; }
}

/* ---- DEMO FORM — estilos globais movidos para design-system.css ---- */

/* ---- RESELLER DIAGRAM — tema claro ---- */
/* Fundo sutil para o diagrama não flutuar em branco */
[data-theme="light"] .rv-diagram {
  background: none;
}
/* Órbitas mais visíveis em fundo claro */
[data-theme="light"] .rv-orbit {
  border-color: rgba(15,23,42,.1);
}
/* Label de texto com contraste adequado no claro */
[data-theme="light"] .rv-counter-label {
  color: rgba(15, 26, 61, 0.65);
}
/* Centro do anel com fundo suave para o texto não se perder */
[data-theme="light"] .rv-center {
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(4px);
}
/* Fios com mais opacidade em fundo claro */
[data-theme="light"] .rv-wire-base {
  stroke: rgba(237,71,0,.14);
}
/* Sparks mais visíveis */
[data-theme="light"] .rv-spark {
  color: rgba(237,71,0,.65);
}

/* ---- RECLAME AQUI ---- */
.ra-section { padding: var(--dt-space-16) 0; }
.ra-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--dt-space-14);
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.ra-content { min-width: 0; }

/* bullets */
.ra-bullets {
  list-style: none;
  margin: 0 0 var(--dt-space-8);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--dt-space-3);
}
.ra-bullets li {
  display: flex;
  align-items: center;
  gap: var(--dt-space-3);
  font-size: var(--dt-text-base);
  color: var(--dt-text-muted);
}

/* botão */
.ra-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--dt-space-2);
}

/* card qr */
.ra-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ra-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--dt-space-3);
  background: var(--dt-surface);
  border: 1px solid var(--dt-border);
  border-radius: var(--dt-radius-xl);
  padding: var(--dt-space-6);
  text-align: center;
  transition: border-color 0.3s;
}
.ra-qr-card:hover { border-color: var(--dt-orange); }
.ra-qr-label {
  font-size: var(--dt-text-sm);
  font-weight: var(--dt-font-semibold);
  color: var(--dt-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}
.ra-qr-img {
  width: 220px;
  height: auto;
  border-radius: var(--dt-radius-lg);
  display: block;
}
.ra-qr-sub {
  font-size: var(--dt-text-xs);
  color: var(--dt-text-dim);
  margin: 0;
}

@media (max-width: 768px) {
  .ra-wrap {
    grid-template-columns: 1fr;
    gap: var(--dt-space-10);
  }
  .ra-visual { order: -1; }
  .ra-content .section-title,
  .ra-content .section-subtitle { text-align: center !important; }
  .ra-bullets li { justify-content: flex-start; }
  .ra-btn { width: 100%; justify-content: center; }
}
