/* ===== HERO ASSISTENTE VIRTUAL ===== */
.assistant-showcase {
  min-height: 520px;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(184, 148, 77, 0.16), transparent 26%),
    linear-gradient(145deg, #0d1d1a, #102824);
}

.assistant-browser {
  min-height: 450px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: #f7faf8;
  box-shadow: 0 24px 60px rgba(0,0,0,0.24);
}

.assistant-browser-top {
  height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.assistant-browser-top .dots { justify-self: start; }
.assistant-browser-top > strong { font-size: 0.95rem; }

.assistant-status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

.assistant-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22a875;
  box-shadow: 0 0 0 5px rgba(34,168,117,0.12);
}

.assistant-browser-body {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.25fr) minmax(190px, 0.75fr);
  min-height: 390px;
}

.assistant-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  background: #eef4f1;
}

.assistant-brand-mark,
.assistant-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.assistant-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.assistant-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.78rem;
}

.assistant-side-line {
  width: 28px;
  height: 8px;
  border-radius: 99px;
  background: #cdd9d3;
}

.assistant-side-line.active { background: var(--green); }
.assistant-side-line.short { width: 18px; }

.assistant-conversation {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 24px;
  color: var(--ink);
  background: #fff;
}

.assistant-heading span,
.assistant-insight-card span,
.assistant-phone-header span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.assistant-heading strong {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
}

.assistant-message {
  max-width: 88%;
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.assistant-message-user {
  align-self: flex-end;
  color: #fff;
  background: var(--green);
  border-bottom-right-radius: 4px;
}

.assistant-message-bot {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--line);
  background: #f6f9f7;
  border-bottom-left-radius: 4px;
}

.assistant-message-bot strong { font-size: 0.86rem; }
.assistant-message-bot p { margin: 5px 0 0; color: var(--muted); font-size: 0.82rem; line-height: 1.45; }

.assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0 40px;
}

.assistant-actions span,
.assistant-phone-options span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(14,95,86,0.18);
  border-radius: 8px;
  color: var(--green);
  background: rgba(14,95,86,0.06);
  font-size: 0.72rem;
  font-weight: 800;
}

.assistant-input,
.assistant-phone-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: #fbfcfb;
  font-size: 0.78rem;
}

.assistant-input strong,
.assistant-phone-input strong { color: var(--green); font-size: 1.15rem; }

.assistant-insights {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 18px;
  border-left: 1px solid var(--line);
  background: #f2f6f4;
}

.assistant-insight-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.assistant-insight-card strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.3;
}

.assistant-insight-card.featured {
  color: #fff;
  background: linear-gradient(145deg, #0e2f2a, #0d7464);
  border-color: transparent;
}

.assistant-insight-card.featured span { color: rgba(255,255,255,0.7); }
.assistant-insight-card.featured strong { color: #fff; }

.assistant-node-grid {
  display: grid;
  grid-template-columns: repeat(2, 42px);
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.assistant-node-grid i {
  height: 42px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  background: rgba(255,255,255,0.10);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,0.03);
}

.assistant-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.assistant-phone {
  position: absolute;
  right: 8px;
  bottom: 20px;
  width: 188px;
  min-height: 330px;
  padding: 12px;
  border: 8px solid #071310;
  border-radius: 28px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 26px 60px rgba(0,0,0,0.34);
}

.assistant-phone-notch {
  width: 56px;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 99px;
  background: #bcc8c2;
}

.assistant-phone-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.assistant-phone-header strong { display: block; font-size: 0.8rem; }

.assistant-phone-message {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px 12px 12px 4px;
  background: #eef6f2;
  font-size: 0.76rem;
  line-height: 1.45;
}

.assistant-phone-options {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.assistant-phone-options span { width: 100%; }
.assistant-phone-input { margin-top: 18px; }

@media (max-width: 960px) {
  .assistant-browser-body {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .assistant-insights { display: none; }
}

@media (max-width: 640px) {
  .assistant-showcase {
    display: block;
    min-height: auto;
    padding: 10px;
  }

  .assistant-browser { min-height: 390px; }
  .assistant-browser-top { grid-template-columns: 1fr auto; }
  .assistant-browser-top > strong { display: none; }
  .assistant-status { justify-self: end; }
  .assistant-browser-body { grid-template-columns: 1fr; min-height: 330px; }
  .assistant-sidebar { display: none; }
  .assistant-conversation { padding: 18px; }
  .assistant-heading strong { font-size: 1.12rem; }
  .assistant-message { max-width: 94%; }
  .assistant-phone { display: none; }
}