/* suite.css — Componentes do redesign "Suíte": hero em capítulo preto, A Linha (jornada),
   Heya + chat de demonstração, áreas, abas de perfis, idiomas, passos, planos e explorador de recursos */

.container--wide { max-width: var(--container-wide); }

/* =========================================================
   HERO — capítulo preto abaixo do header
   ========================================================= */
.hero-suite { padding-top: calc(var(--header-h) + 4px); }

.hero-chapter {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 80px);
}

/* A Linha: traço vermelho que atravessa o capítulo */
.hero-chapter::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(28px, 4vw, 48px);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 18%, var(--accent) 82%, transparent);
  opacity: 0.55;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
}

.hero-copy { max-width: 620px; }

.hero-display {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  overflow-wrap: normal;
  hyphens: none;
  color: var(--chapter-text);
  text-wrap: balance;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.hero-display > span { display: block; }
.hero-display-accent { color: var(--accent-brand); }
.hero-display-muted { color: var(--chapter-muted); font-weight: 400; letter-spacing: -0.035em; }

/* Selo "Fale. Gerencie. Cresça." — faixa vermelha como na camiseta */
.chapter .hero-motto,
.hero-motto {
  display: inline-block;
  margin-bottom: clamp(20px, 3vw, 28px);
  padding: 9px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-size: clamp(0.78rem, 1.4vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
}

.chapter .hero-lead,
.hero-lead {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--chapter-muted);
  max-width: 540px;
  margin-bottom: clamp(24px, 4vw, 32px);
}

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

.chapter .hero-note,
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: var(--text-sm);
  color: var(--chapter-muted);
}

.hero-note .ti { color: var(--accent); font-size: 1.1rem; }

/* Visual: janela do produto + balões */
.hero-visual { position: relative; padding-bottom: 28px; }

.hero-visual .mock-window {
  border-color: var(--chapter-line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.hero-visual .mock-body { min-height: 320px; }
.hero-visual .mock-side { gap: 2px; }
.hero-visual .mock-nav-item { padding: 6px 9px; }

.mock-nav-item--heya { color: var(--accent); font-weight: 700; }

.mock-kpi-label + .mock-kpi-value { margin-top: 4px; }

.mock-agenda { display: flex; flex-direction: column; gap: 6px; }

.mock-appt {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.mock-appt-time { font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; color: var(--text-2); }
.mock-appt-info { display: flex; flex-direction: column; min-width: 0; }
.mock-appt-info strong { font-size: 0.68rem; font-weight: 700; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-appt-info span { font-size: 0.58rem; color: var(--text-3); }

.mock-appt--live { border-color: var(--accent-line); background: var(--accent-soft); }
.mock-appt--free { border-style: dashed; background: var(--bg-tint); }

.mock-status {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--bg-tint-2);
  color: var(--text-2);
  white-space: nowrap;
}

.mock-status--ok { background: var(--success-soft); color: var(--success); }
.mock-status--live { background: var(--accent); color: #fff; }

.hero-bubble {
  position: absolute;
  right: clamp(-8px, -2%, 0px);
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 290px;
  padding: 12px 14px;
  background: var(--chapter-card);
  border: 1px solid var(--chapter-line);
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.hero-bubble p { font-size: 0.78rem; line-height: 1.45; color: var(--chapter-muted); margin: 0; }
.hero-bubble strong { display: block; color: var(--chapter-text); font-size: 0.72rem; letter-spacing: 0.04em; }

.hero-bubble-avatar,
.chat-avatar {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
}

.hero-chip {
  position: absolute;
  left: clamp(-8px, -2%, 0px);
  bottom: 4px;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-1);
  background: var(--bg-card);
  border-radius: var(--radius-full);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.hero-chip .ti { color: var(--accent); font-size: 1rem; }

@media (min-width: 640px) {
  .hero-chip { display: inline-flex; }
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
  .hero-chip { left: -28px; }
  .hero-bubble { right: -20px; }
}

@media (max-width: 639px) {
  .hero-visual .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .hero-visual .mock-kpi:last-child { display: none; }
  .hero-bubble { position: relative; right: auto; margin: -14px 12px 0 auto; }
  .hero-actions .btn { width: 100%; }
}

/* =========================================================
   SUÍTE — A Linha (jornada em 7 etapas)
   ========================================================= */
.suite-header { max-width: 760px; }

.journey {
  --journey-progress: 1;
  position: relative;
  display: grid;
  gap: 0;
  counter-reset: none;
}

.journey-step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 18px;
  padding-bottom: 28px;
}

.journey-step > :not(.journey-node) { grid-column: 2; }

.journey-node {
  grid-row: 1 / span 4;
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border-hover);
  color: var(--text-1);
  font-size: 1.3rem;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.journey-node--end { background: var(--text-1); border-color: var(--text-1); color: #fff; }

.journey-step:hover .journey-node,
.journey-step:focus-within .journey-node { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.06); }

.journey-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.journey-title {
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 2px 0 6px;
}

.journey-desc { font-size: var(--text-sm); color: var(--text-2); line-height: 1.55; }

.journey-mods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.journey-mods span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

/* Trilho (cinza) + A Linha (vermelha, desenhada com o scroll) — mobile: vertical */
.journey::before,
.journey::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 52px;
  width: 2px;
  border-radius: 2px;
  background: var(--border);
}

.journey::after {
  background: var(--accent);
  transform-origin: top;
  transform: scaleY(var(--journey-progress));
}

@media (min-width: 1024px) {
  .journey { grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: 18px; }

  .journey-step { grid-template-columns: 1fr; padding-bottom: 0; }
  .journey-step > :not(.journey-node) { grid-column: 1; }
  .journey-node { grid-row: auto; margin-bottom: 18px; }

  .journey::before,
  .journey::after {
    left: 24px;
    right: 24px;
    top: 23px;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .journey::after { transform-origin: left; transform: scaleX(var(--journey-progress)); }
}

/* Uma ação, tudo atualizado */
.flow { margin-top: clamp(56px, 8vw, 96px); }

.flow-title {
  font-size: var(--text-2xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.flow-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }

.flow-card {
  background: var(--bg-tint);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}

.flow-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: var(--text-base);
  color: var(--text-1);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--accent);
}

.flow-trigger .ti {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--text-1);
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.flow-effects { display: flex; flex-direction: column; gap: 8px; }

.flow-effects li {
  position: relative;
  padding-left: 22px;
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.5;
}

.flow-effects li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 2px;
  background: var(--accent);
}

@media (min-width: 640px) { .flow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .flow-grid { grid-template-columns: repeat(4, 1fr); } }

/* =========================================================
   HEYA — capítulo preto com demonstração de conversa
   ========================================================= */
.heya-chapter { padding-block: clamp(64px, 9vw, 120px); }

.heya-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.heya-copy .section-title { font-size: var(--text-5xl); }
.heya-copy .section-subtitle { max-width: 560px; margin-bottom: 28px; }

.heya-cols { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 24px; }

.heya-col {
  background: var(--chapter-card);
  border: 1px solid var(--chapter-line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}

.chapter .heya-col-title,
.heya-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chapter-text);
  margin-bottom: 14px;
}

.heya-col-title .ti { color: var(--accent); font-size: 1.2rem; }

.heya-list { display: flex; flex-direction: column; gap: 8px; }

.heya-list li {
  position: relative;
  padding-left: 22px;
  font-size: var(--text-sm);
  color: var(--chapter-muted);
  line-height: 1.5;
}

.heya-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 2px;
  background: var(--accent);
}

.chapter .heya-channels,
.heya-channels { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }

.heya-channels > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--chapter-text);
  border: 1px solid var(--chapter-line);
  border-radius: var(--radius-full);
  padding: 7px 12px;
}

.heya-channels .ti { font-size: 0.95rem; color: var(--chapter-muted); }

@media (min-width: 640px) { .heya-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .heya-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }

/* Chat de demonstração (reutilizado na página Heya) */
.chat-demo {
  margin: 0;
  background: var(--chapter-card);
  border: 1px solid var(--chapter-line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.chat-demo-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--chapter-line);
}

.chat-demo-who { display: flex; flex-direction: column; line-height: 1.2; }
.chat-demo-who strong { color: var(--chapter-text); font-size: var(--text-sm); }
.chapter .chat-demo-who span, .chat-demo-who span { color: var(--chapter-muted); font-size: var(--text-xs); }

.chat-demo-tag {
  margin-left: auto;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chapter-text);
  border: 1px dashed var(--chapter-muted);
  border-radius: var(--radius-full);
  padding: 4px 10px;
}

.chat-demo-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 18px;
  min-height: 420px;
}

.msg {
  max-width: 86%;
  font-size: var(--text-sm);
  line-height: 1.5;
  padding: 11px 14px;
  border-radius: 16px;
  animation: msg-in 0.4s var(--ease-out) both;
}

.msg p { margin: 0; }

.msg--user {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg--heya {
  align-self: flex-start;
  background: #202227;
  color: var(--chapter-text);
  border-bottom-left-radius: 4px;
}

.chapter .msg--heya p { color: var(--chapter-text); }
.msg--heya strong { color: #fff; }

.chapter .msg-meta,
.msg-meta { margin-top: 8px !important; font-size: var(--text-xs); color: var(--chapter-muted) !important; }

.msg-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  margin-top: 12px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--chapter-line);
}

.msg-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: #3A3D44;
}

.msg-chart span.is-top { background: var(--accent); }

.msg--audio { display: flex; flex-direction: column; gap: 6px; }

.msg-audio { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: var(--text-xs); }

.msg-wave {
  width: 96px;
  height: 18px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.9) 0 2px, transparent 2px 5px);
  clip-path: polygon(0 40%, 8% 20%, 16% 55%, 24% 10%, 32% 45%, 40% 25%, 48% 60%, 56% 15%, 64% 50%, 72% 30%, 80% 55%, 88% 20%, 100% 45%, 100% 60%, 88% 80%, 80% 45%, 72% 70%, 64% 50%, 56% 85%, 48% 40%, 40% 75%, 32% 55%, 24% 90%, 16% 45%, 8% 80%, 0 60%);
}

.msg-transcript { font-size: var(--text-xs); opacity: 0.9; font-style: italic; }

.msg-card {
  margin-top: 10px;
  background: var(--chapter-bg);
  border: 1px solid var(--chapter-line);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chapter .msg-card-row,
.msg-card-row { display: flex; justify-content: space-between; gap: 12px; font-size: var(--text-xs); color: var(--chapter-muted); }
.msg-card-row strong { font-size: var(--text-sm); }

.msg-card-actions { display: flex; gap: 6px; margin-top: 4px !important; }

.msg-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--chapter-line);
  color: var(--chapter-text);
}

.msg-pill--ok { background: var(--chapter-text); color: var(--chapter-bg); border-color: var(--chapter-text); }

.msg--system {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: #7FD9A6;
  background: rgba(30, 158, 90, 0.14);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.msg-typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  background: #202227;
  border-radius: 16px 16px 16px 4px;
}

.msg-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--chapter-muted);
  animation: typing 1s infinite ease-in-out;
}

.msg-typing span:nth-child(2) { animation-delay: 0.15s; }
.msg-typing span:nth-child(3) { animation-delay: 0.3s; }

/* Enquanto a sequência não começou, os passos ficam fora do fluxo */
.chat-demo.is-playing [data-step]:not(.is-shown) { display: none; }

.chapter .chat-demo-caption,
.chat-demo-caption {
  padding: 10px 18px 14px;
  font-size: 0.7rem;
  color: var(--chapter-muted);
  border-top: 1px solid var(--chapter-line);
}

@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* =========================================================
   ÁREAS DO STUDIO (9 cards)
   ========================================================= */
.areas-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
}

.areas-header .section-title { max-width: 720px; margin-bottom: 0; }

.area-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }

.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.area-card:hover { border-color: var(--text-1); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.area-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--text-1);
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 16px;
  transition: background var(--transition);
}

.area-card:hover .area-icon { background: var(--accent); }

.area-title { font-size: var(--text-lg); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 4px; }
.area-claim { font-size: var(--text-sm); color: var(--text-2); margin-bottom: 14px; line-height: 1.5; }

.area-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-bottom: 18px;
}

.area-list li {
  position: relative;
  padding-left: 18px;
  font-size: var(--text-sm);
  color: var(--text-1);
  line-height: 1.45;
}

.area-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

.area-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-1);
}

.area-more .ti { transition: transform var(--transition); }
.area-card:hover .area-more .ti { transform: translateX(4px); }

.area-card--heya { background: var(--chapter-bg); border-color: var(--chapter-bg); }
.area-card--heya .area-icon { background: var(--accent); }
.area-card--heya .area-title,
.area-card--heya .area-list li,
.area-card--heya .area-more { color: var(--chapter-text); }
.area-card--heya .area-claim { color: var(--chapter-muted); }
.area-card--heya .area-list { border-top-color: var(--chapter-line); }
.area-card--heya:hover { border-color: var(--accent); }

@media (min-width: 640px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .area-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* =========================================================
   ABAS (perfis)
   ========================================================= */
.tabs-list {
  display: flex;
  gap: 6px;
  padding: 6px;
  margin: 0 auto clamp(20px, 3vw, 32px);
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  scrollbar-width: none;
}

.tabs-list::-webkit-scrollbar { display: none; }

.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-2);
  padding: 11px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.tab:hover { color: var(--text-1); }
.tab[aria-selected="true"] { background: var(--text-1); color: #fff; }
.tab[aria-selected="true"] .ti { color: var(--accent); }

.tab-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 44px);
}

.tab-panel[hidden] { display: none; }

.tab-panel-intro h3 {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.tab-panel-intro p { color: var(--text-2); }

.tab-items { display: grid; grid-template-columns: 1fr; gap: 8px; }

.tab-items li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-tint);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-1);
}

.tab-items .ti { font-size: 1.2rem; color: var(--accent); flex-shrink: 0; }

@media (min-width: 640px) { .tab-items { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .tab-panel { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); align-items: center; gap: 48px; }
}

@media (max-width: 639px) {
  .tabs-list { flex-direction: column; width: 100%; border-radius: var(--radius-lg); overflow: visible; }
  .tab { justify-content: center; padding: 11px 14px; border-radius: var(--radius-md); }
}

/* =========================================================
   PASSOS (Como começar)
   ========================================================= */
.steps { display: grid; grid-template-columns: 1fr; gap: 12px; counter-reset: none; }

.step {
  position: relative;
  padding: 24px 24px 24px 0;
  border-top: 2px solid var(--text-1);
}

.step-n {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.step-t { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.step-d { color: var(--text-2); font-size: var(--text-base); max-width: 360px; }

.start-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 clamp(40px, 6vw, 64px);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-2);
}

.start-note .ti { color: var(--accent); font-size: 1.2rem; }

@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* =========================================================
   PLANOS (cards reutilizados na home e em Preços)
   ========================================================= */
.plan-grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: stretch; }

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 32px);
}

.plan-card--featured {
  background: var(--chapter-bg);
  border-color: var(--chapter-bg);
  color: var(--chapter-text);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: clamp(24px, 3vw, 32px);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-full);
  padding: 5px 12px;
}

.plan-name {
  font-size: var(--text-2xl);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.plan-card--featured .plan-name { color: var(--chapter-text); }

.plan-for { font-size: var(--text-sm); color: var(--text-2); margin: 4px 0 18px; min-height: 3.3em; }
.plan-card--featured .plan-for { color: var(--chapter-muted); }

.plan-price { display: flex; align-items: baseline; gap: 2px; color: var(--text-1); line-height: 1; }
.plan-card--featured .plan-price { color: #fff; }
.plan-cur { font-size: var(--text-base); font-weight: 700; margin-right: 4px; }
.plan-val { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -0.04em; }
.plan-cents { font-size: var(--text-xl); font-weight: 800; }
.plan-per { font-size: var(--text-sm); font-weight: 600; color: var(--text-3); margin-left: 4px; }
.plan-card--featured .plan-per { color: var(--chapter-muted); }

.plan-sub { font-size: var(--text-xs); color: var(--text-3); margin-top: 8px; min-height: 1.5em; }
.plan-sub strong { color: var(--text-1); }
.plan-card--featured .plan-sub { color: var(--chapter-muted); }
.plan-card--featured .plan-sub strong { color: #fff; }

.plan-ai {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--text-2);
}

.plan-ai .ti { color: var(--accent); }
.plan-ai strong { color: var(--text-1); font-size: var(--text-lg); }
.plan-card--featured .plan-ai { border-top-color: var(--chapter-line); color: var(--chapter-muted); }
.plan-card--featured .plan-ai strong { color: #fff; }

.plan-tokens { font-size: var(--text-xs); color: var(--text-3); margin-top: 4px; }
.plan-card--featured .plan-tokens { color: var(--chapter-muted); }

.plan-incl { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 24px; }

.plan-incl li {
  display: flex;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.45;
}

.plan-incl .ti { color: var(--success); font-size: 1.05rem; margin-top: 1px; }
.plan-card--featured .plan-incl li { color: var(--chapter-muted); }
.plan-card--featured .plan-incl .ti { color: #7FD9A6; }

.plan-card .btn { margin-top: auto; }
.plan-card--featured .btn-ghost { background: transparent; color: #fff; border-color: var(--chapter-line); }

.plans-preview-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: clamp(28px, 4vw, 40px);
}

.plans-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }

.plans-perks > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-1);
}

.plans-perks .ti { color: var(--accent); }

.plans-preview-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

@media (min-width: 768px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 767px) {
  .plan-card--featured { order: -1; }
  .plans-preview-ctas { width: 100%; }
}

/* =========================================================
   EXPLORADOR DE RECURSOS (página Funcionalidades)
   ========================================================= */
.feat-hero { padding-bottom: clamp(24px, 4vw, 40px); }

.feat-toolbar {
  position: sticky;
  top: calc(var(--header-h) - 2px);
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-block: 1px solid var(--border);
  padding-block: 12px;
}

.feat-toolbar-inner { display: flex; flex-direction: column; gap: 10px; }

.feat-search {
  position: relative;
  display: flex;
  align-items: center;
}

.feat-search .ti {
  position: absolute;
  left: 14px;
  font-size: 1.1rem;
  color: var(--text-3);
  pointer-events: none;
}

.feat-search input {
  width: 100%;
  font: inherit;
  font-size: var(--text-sm);
  color: var(--text-1);
  padding: 11px 14px 11px 40px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: border-color var(--transition), background var(--transition);
}

.feat-search input:focus { background: var(--bg-card); border-color: var(--text-1); }

.feat-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: -4px;
  padding: 2px 4px;
}

.feat-chips::-webkit-scrollbar { display: none; }

.feat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-2);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.feat-chip:hover { border-color: var(--text-1); color: var(--text-1); }
.feat-chip[aria-current="true"] { background: var(--text-1); border-color: var(--text-1); color: #fff; }
.feat-chip[aria-current="true"] .ti { color: var(--accent); }

.feat-count { font-size: var(--text-xs); font-weight: 600; color: var(--text-3); }

@media (min-width: 1024px) {
  .feat-toolbar-inner { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
  .feat-search { flex: 0 0 340px; }
  .feat-count { margin-left: auto; white-space: nowrap; }
  .feat-chips { order: 3; flex: 1 1 100%; flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
}

.feat-area {
  padding-block: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 140px);
}

.feat-area[hidden] { display: none; }

.feat-area-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 48px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.feat-area-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 12px;
}

.feat-area-kicker .ti {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--text-1);
  color: #fff;
  font-size: 1.15rem;
}

.feat-area-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

.feat-area-intro { color: var(--text-2); font-size: var(--text-base); line-height: 1.7; }

.feat-area-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }

.feat-area-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-1);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

@media (min-width: 1024px) {
  .feat-area-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; }
}

.feat-highlight {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 18px 20px;
  background: var(--chapter-bg);
  color: var(--chapter-text);
  border-radius: var(--radius-lg);
}

.feat-highlight .ti { font-size: 1.4rem; color: var(--accent); margin-top: 2px; }
.feat-highlight strong { display: block; font-size: var(--text-base); margin-bottom: 2px; }
.feat-highlight p { font-size: var(--text-sm); color: var(--chapter-muted); margin: 0; }

.feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.feat-item {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--bg-tint);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  transition: border-color var(--transition), background var(--transition);
}

.feat-item:hover { background: var(--bg-card); border-color: var(--border-hover); }
.feat-item[hidden] { display: none; }

.feat-item > .ti {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-size: 1.05rem;
}

.feat-item h3 {
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: -0.005em;
  line-height: 1.3;
  margin-bottom: 3px;
}

.feat-item p { font-size: 0.82rem; color: var(--text-2); line-height: 1.5; margin: 0; }

.feat-item .feat-doc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-2);
  text-decoration: underline;
  text-decoration-color: var(--accent-line);
  text-underline-offset: 3px;
}

.feat-item .feat-doc:hover { color: var(--accent); }

@media (min-width: 560px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .feat-grid { grid-template-columns: repeat(4, 1fr); } }

.feat-empty {
  text-align: center;
  padding: 64px 16px;
  color: var(--text-2);
}

.feat-empty strong { display: block; font-size: var(--text-xl); color: var(--text-1); margin-bottom: 6px; }

mark.feat-hit { background: var(--accent-soft); color: inherit; border-radius: 3px; padding: 0 2px; }

/* =========================================================
   PÁGINA HEYA
   ========================================================= */
.heya-hero .hero-grid { align-items: start; }
@media (min-width: 1024px) { .heya-hero .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }

.cap-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }

.cap-card {
  padding: 22px;
  background: var(--bg-tint);
  border-radius: var(--radius-lg);
}

.cap-card .ti {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--text-1);
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.cap-card h3 { font-size: var(--text-base); font-weight: 800; margin-bottom: 4px; }
.cap-card p { font-size: var(--text-sm); color: var(--text-2); line-height: 1.55; }
.cap-card .cap-ex {
  margin-top: 10px;
  font-size: var(--text-xs);
  font-style: italic;
  color: var(--text-1);
  border-left: 2px solid var(--accent);
  padding-left: 10px;
}

@media (min-width: 640px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cap-grid { grid-template-columns: repeat(3, 1fr); } }

.trust-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }

.trust-card {
  padding: 22px;
  border: 1px solid var(--chapter-line);
  border-radius: var(--radius-lg);
  background: var(--chapter-card);
}

.trust-card .ti { font-size: 1.5rem; color: var(--accent); margin-bottom: 12px; display: block; }
.chapter .trust-card h3 { font-size: var(--text-base); font-weight: 800; margin-bottom: 4px; }
.chapter .trust-card p { font-size: var(--text-sm); line-height: 1.55; }

@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

.duo-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

.duo-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
}

.duo-card h3 { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.duo-card > p { color: var(--text-2); margin-bottom: 18px; }

@media (min-width: 768px) { .duo-grid { grid-template-columns: 1fr 1fr; } }

/* Variante clara do chat (fora de capítulo preto) */
.chat-demo--light { box-shadow: var(--shadow-lg); }

/* =========================================================
   REDUÇÃO DE MOVIMENTO
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .msg, .msg-typing span { animation: none; }
  .area-card:hover, .journey-step:hover .journey-node { transform: none; }
}

/* =========================================================
   PREÇOS — explicador de IA e recargas
   ========================================================= */
.plan-card [hidden] { display: none; }
.plan-grid--full { margin-top: clamp(32px, 4vw, 48px); }

.ai-explainer,
.topups { margin-top: clamp(56px, 8vw, 96px); }

.ai-explainer-head { margin-bottom: 24px; }

.ai-explainer-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }

.ai-explainer-card {
  padding: 22px;
  background: var(--bg-tint);
  border-radius: var(--radius-lg);
}

.ai-explainer-card .ti { font-size: 1.5rem; color: var(--accent); display: block; margin-bottom: 10px; }
.ai-explainer-card h3 { font-size: var(--text-lg); font-weight: 800; margin-bottom: 6px; }
.ai-explainer-card p { font-size: var(--text-sm); color: var(--text-2); line-height: 1.6; }

@media (min-width: 768px) { .ai-explainer-grid { grid-template-columns: repeat(3, 1fr); } }

/* Sem IA o sistema continua funcionando */
.no-ai { margin-top: clamp(56px, 8vw, 96px); }
.no-ai-head { margin-bottom: 24px; max-width: 760px; }
.no-ai-head .section-title { margin-bottom: 12px; }
.no-ai-sub { color: var(--text-2); }

.no-ai-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }

.no-ai-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.no-ai-card--on { background: var(--bg-tint); }

.no-ai-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-lg);
  font-weight: 800;
  margin-bottom: 14px;
}

.no-ai-card h3 .ti { font-size: 1.4rem; }
.no-ai-card--on h3 .ti { color: var(--accent); }
.no-ai-card--off h3 .ti { color: var(--text-2); }

.no-ai-card ul { display: grid; gap: 8px; }

.no-ai-card li {
  position: relative;
  padding-left: 20px;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-1);
}

.no-ai-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.no-ai-card--off li { color: var(--text-2); }
.no-ai-card--off li::before { background: transparent; border: 1.5px solid var(--text-2); }

@media (min-width: 768px) { .no-ai-grid { grid-template-columns: 1fr 1fr; } }

.plans-perks a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.plans-perks a:hover { color: var(--accent); }

.topups-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 48px;
  margin-bottom: 24px;
}

.topups-head .section-title { margin-bottom: 0; }
.topups-sub { color: var(--text-2); }

@media (min-width: 1024px) { .topups-head { grid-template-columns: 1.2fr 1fr; align-items: end; } }

.topups-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.topups-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }

.topups-table th,
.topups-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }

.topups-table thead th {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--bg-tint);
}

.topups-table tbody tr:last-child th,
.topups-table tbody tr:last-child td { border-bottom: 0; }

.topups-table tbody th { font-weight: 400; }
.topups-amount { display: block; font-weight: 900; font-size: var(--text-base); color: var(--text-1); }
.topups-amount span { font-weight: 700; }
.topups-tokens { display: block; margin-top: 2px; color: var(--text-2); }
.topups-table .topups-price { text-align: right; vertical-align: middle; }
.topups-price { font-weight: 800; color: var(--text-1); white-space: nowrap; }
.topups-table tbody .topups-price { font-size: var(--text-base); }

.topups-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: var(--text-sm);
  color: var(--text-2);
}

.topups-note .ti { color: var(--accent); font-size: 1.15rem; margin-top: 1px; }

.pricing-shared-more { margin-top: 18px; }

.pricing-shared-more a {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-1);
  border-bottom: 2px solid var(--accent);
}

.heya-list--light li { color: var(--text-2); }
.feat-highlight[hidden] { display: none; }

/* =========================================================
   HEYA — CONVERSAR POR VOZ (tela do app recriada nas cores BLAKK)
   ========================================================= */
.voice-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 1024px) { .voice-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }

.voice-copy .section-subtitle { max-width: 560px; margin-bottom: 24px; }

.voice-points { display: grid; gap: 10px; margin-bottom: 22px; }

.voice-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg-tint);
  border-radius: var(--radius-md);
}

.voice-points .ti {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--text-1);
  color: #fff;
  font-size: 1.05rem;
}

.voice-points strong { display: block; font-size: var(--text-sm); color: var(--text-1); }
.voice-points span { font-size: var(--text-sm); color: var(--text-2); line-height: 1.5; }

.voice-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--text-xs); font-weight: 700; color: var(--text-2); }

.voice-ask {
  font-weight: 600;
  font-style: italic;
  color: var(--text-1);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 12px;
}

.voice-app { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }

.vapp {
  width: min(100%, 420px);
  background: #F6F7F9;
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vapp-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.vapp-logo { height: 22px; width: auto; display: block; }
.vapp-actions { display: flex; align-items: center; gap: 14px; color: var(--text-1); font-size: 1.1rem; }
.vapp-lang { font-size: 0.72rem; font-weight: 800; }

.vapp-speaker {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
}

.vapp-body { padding: 16px 16px 12px; text-align: center; }

.vapp-history { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--text-2); margin-bottom: 14px; }

/* Orbe da Heya: vermelho BLAKK, com anéis pulsando enquanto a voz está ativa */
.vapp-orb { position: relative; width: 64px; height: 64px; margin: 0 auto 12px; }

.vapp-orb::before,
.vapp-orb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent-line);
  animation: orb-ring 2.2s var(--ease-out) infinite;
}

.vapp-orb::after { animation-delay: 1.1s; }

.vapp-orb span {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #E25A4C, var(--accent) 55%, var(--accent-dark));
  box-shadow: 0 6px 20px var(--accent-glow);
}

@keyframes orb-ring { from { transform: scale(0.75); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

.vapp-hello { font-size: 1.15rem; font-weight: 800; color: var(--text-1); letter-spacing: -0.01em; }
.vapp-hint { font-size: 0.72rem; color: var(--text-2); margin: 4px 0 10px; }
.vapp-day { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); margin-bottom: 6px; }

.vapp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }

.vapp-kpis div {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
}

.vapp-kpis strong { font-size: 0.9rem; color: var(--text-1); }
.vapp-kpis span { font-size: 0.58rem; color: var(--text-2); }

.vapp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-bottom: 12px; }

.vapp-chips span {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-1);
  background: var(--bg-tint-2);
  border-radius: var(--radius-full);
  padding: 5px 10px;
}

.vapp-talk { display: flex; flex-direction: column; gap: 8px; text-align: left; }

.vapp-said {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 88%;
  font-size: 0.75rem;
  font-style: italic;
  color: #fff;
  background: var(--text-1);
  border-radius: 14px 14px 4px 14px;
  padding: 8px 12px;
}

.vapp-said .ti { color: var(--accent); }

.vapp-reply {
  align-self: flex-start;
  max-width: 92%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 12px;
}

.vapp-reply p { font-size: 0.75rem; color: var(--text-1); line-height: 1.45; }

.vapp-speaking { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 0.66rem !important; color: var(--accent) !important; font-weight: 700; }

.vapp-bars { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.vapp-bars span { width: 3px; height: 40%; border-radius: 2px; background: var(--accent); animation: speak 0.9s ease-in-out infinite; }
.vapp-bars span:nth-child(2) { animation-delay: 0.1s; }
.vapp-bars span:nth-child(3) { animation-delay: 0.2s; }
.vapp-bars span:nth-child(4) { animation-delay: 0.3s; }
.vapp-bars span:nth-child(5) { animation-delay: 0.4s; }

@keyframes speak { 0%, 100% { height: 30%; } 50% { height: 100%; } }

.vapp-input {
  margin: 0 12px 12px;
  background: var(--bg-card);
  border: 1.5px solid var(--text-1);
  border-radius: 18px;
  padding: 12px;
}

.vapp-placeholder { font-size: 0.8rem; color: var(--text-3); margin-bottom: 18px; }

.vapp-controls { display: flex; align-items: center; justify-content: space-between; }

.vapp-btn,
.vapp-mic {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.vapp-btn { background: var(--bg-tint-2); color: var(--text-1); }
.vapp-mic { border-radius: 50%; background: var(--accent); color: #fff; }

.vapp-stop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: var(--text-1);
  border: 2px solid var(--accent);
  border-radius: var(--radius-full);
  padding: 8px 16px;
}

.voice-cap { font-size: var(--text-xs); color: var(--text-3); text-align: center; }

/* Destaque de voz na seção Heya da home */
.heya-voice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 14px 16px;
  border: 1px solid var(--chapter-line);
  border-radius: var(--radius-lg);
  background: var(--chapter-card);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--transition);
}

.heya-voice:hover { border-color: var(--accent); }
.heya-voice .vapp-orb { width: 40px; height: 40px; margin: 0; flex-shrink: 0; }
.heya-voice .vapp-orb span { inset: 6px; }
.chapter .heya-voice strong { display: block; color: var(--chapter-text); font-size: var(--text-sm); }
.chapter .heya-voice span.heya-voice-d { color: var(--chapter-muted); font-size: var(--text-xs); line-height: 1.5; }
.heya-voice > .ti { margin-left: auto; color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .vapp-orb::before, .vapp-orb::after, .vapp-bars span { animation: none; }
}

/* Destaque de biossegurança na seção de voz */
.voice-bio {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: var(--chapter-bg);
  border-left: 3px solid var(--accent);
}

.voice-bio > .ti {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 1.3rem;
}

.voice-bio-k { font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--chapter-muted); margin-bottom: 4px; }
.voice-bio-t { font-size: var(--text-lg); font-weight: 800; letter-spacing: -0.01em; color: #fff; line-height: 1.3; margin-bottom: 8px; }
.voice-bio-d { font-size: var(--text-sm); color: var(--chapter-muted); line-height: 1.65; }

/* =========================================================
   IDIOMAS — capítulo preto: site e agendamento no idioma do cliente, equipe e regras do país
   ========================================================= */
.langs-home { padding-block: clamp(12px, 2vw, 24px); }
.langs-chapter { padding-block: clamp(64px, 9vw, 120px); }

.langs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.langs-copy .section-subtitle { margin-bottom: 32px; }

.langs-points { display: flex; flex-direction: column; gap: 12px; }

.langs-point {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  background: var(--chapter-card);
  border: 1px solid var(--chapter-line);
  border-radius: var(--radius-lg);
}

.langs-point-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 1.25rem;
}

.chapter .langs-point-t {
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--chapter-text);
  margin-bottom: 4px;
}

.langs-point-d { font-size: var(--text-sm); line-height: 1.6; }

.langs-point-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FF4D4D; /* vermelho clareado: --accent não tem contraste AA sobre o capítulo preto */
  text-decoration: none;
}

.langs-point-link .ti { transition: transform var(--transition); }
.langs-point-link:hover .ti { transform: translateX(4px); }
.langs-point-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Demonstração: a mesma confirmação de agendamento trocando de idioma */
.langs-demo {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(16px, 3vw, 28px);
  background: var(--chapter-card);
  border: 1px solid var(--chapter-line);
  border-radius: var(--radius-xl);
}

.langs-demo-switch { display: flex; flex-wrap: wrap; gap: 6px; }

.langs-demo-chip {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--chapter-muted);
  padding: 7px 12px;
  border: 1px solid var(--chapter-line);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.langs-demo-chip:hover { color: var(--chapter-text); border-color: var(--chapter-muted); }
.langs-demo-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.langs-demo-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.langs-booking {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 3vw, 26px);
  background: var(--bg-card);
  color: var(--text-1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: opacity 0.22s var(--ease);
}

.langs-booking.is-switching { opacity: 0; }

.langs-booking-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.langs-booking-check {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--success-soft);
  color: var(--success);
  font-size: 1.25rem;
}

.langs-booking-title { font-size: var(--text-xl); font-weight: 900; letter-spacing: -0.02em; line-height: 1.2; }

.langs-booking-rows { display: flex; flex-direction: column; gap: 10px; margin: 0; }

.langs-booking-rows > div,
.langs-booking-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: var(--text-sm);
}

.langs-booking-rows dt { color: var(--text-3); flex-shrink: 0; }
.langs-booking-rows dd { margin: 0; color: var(--text-1); font-weight: 700; text-align: end; min-width: 0; overflow-wrap: anywhere; }

.langs-booking-total {
  padding-top: 14px;
  border-top: 1px dashed var(--border-hover);
  font-weight: 800;
  color: var(--text-1);
}

.langs-booking-total strong { font-size: var(--text-xl); font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }

.langs-booking-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 800;
  color: #fff;
  background: var(--text-1);
  padding: 12px 16px;
  border-radius: var(--radius-full);
}

.langs-demo-cap { font-size: var(--text-xs); color: var(--chapter-muted); line-height: 1.6; }

/* Cidades */
.langs-cities {
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--chapter-line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 48px;
}

.chapter .langs-cities-t {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chapter-text);
}

.langs-cities-groups { display: grid; grid-template-columns: 1fr; gap: 20px 32px; }

.chapter .langs-cities-country {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--chapter-text);
  margin-bottom: 10px;
}

.langs-cities-country .ti { color: var(--accent-brand); }

.langs-cities-list { display: flex; flex-wrap: wrap; gap: 6px; }

.langs-cities-list li {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--chapter-text);
  padding: 6px 12px;
  border: 1px solid var(--chapter-line);
  border-radius: var(--radius-full);
}

.langs-cities-d { font-size: var(--text-sm); line-height: 1.7; max-width: 760px; }

@media (min-width: 640px) { .langs-cities-groups { grid-template-columns: 1fr 1fr; } }

@media (min-width: 1024px) {
  .langs-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .langs-cities-groups { grid-template-columns: 1.15fr 1.15fr 1fr 0.6fr; }
}

@media (prefers-reduced-motion: reduce) {
  .langs-booking { transition: none; }
  .langs-point-link:hover .ti { transform: none; }
}
