/* ============================================================
   Wezappi Social Intelligence — Login / Cadastro (v2)
   ============================================================ */

.auth-page {
  min-height: 100vh;
  position: relative;
  padding: 40px 24px;
}

.auth-lang {
  position: absolute;
  top: 32px;
  right: 40px;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-layout {
  max-width: 1180px;
  margin: 0 auto;
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 64px;
}

@media (max-width: 860px) {
  .auth-layout { grid-template-columns: 1fr; text-align: center; }
  .auth-brand-col { align-items: center; }
}

.auth-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

.auth-logo img {
  width: 56px;
  height: 56px;
}

.auth-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--color-ink);
  line-height: 1.05;
}

.auth-logo-text span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-ink-soft);
}

.auth-brand-question {
  color: var(--color-ink-soft);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.btn-outline-brand {
  display: inline-block;
  padding: 11px 22px;
  border: 1.5px solid var(--color-brand);
  border-radius: var(--radius-sm);
  color: var(--color-brand);
  font-weight: 700;
  font-size: 0.92rem;
  background: var(--color-surface);
  transition: background 0.15s ease;
}
.btn-outline-brand:hover { background: var(--color-brand-light); text-decoration: none; }

.auth-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: 0 1px 3px rgba(22, 21, 26, 0.04);
}

.auth-card h1 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-body);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
  margin-bottom: 12px;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--color-brand);
  color: #fff;
}
.btn-primary:hover { background: var(--color-brand-dark); }

.btn-option {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-ink);
  justify-content: space-between;
  font-weight: 500;
}
.btn-option strong { font-weight: 700; }
.btn-option:hover { border-color: #d5d3db; background: var(--color-surface-alt); }
.btn-option .provider-google strong { color: #EA4335; }
.btn-option .provider-facebook strong { color: #1877F2; }

.auth-more-link {
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-ink-soft);
  margin-top: 16px;
}

.auth-email-form {
  margin-top: 4px;
  padding-top: 4px;
}

.field { margin-bottom: 14px; }

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-ink);
}

.field-input-wrap { position: relative; }

.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--color-surface);
  transition: border-color 0.15s ease;
}
.field input:focus { border-color: var(--color-brand); outline: none; }

.field-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--color-ink-soft);
  display: flex;
}

.field-hint {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--color-ink-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}
.field-hint.is-met { color: var(--color-success); }

.auth-forgot {
  text-align: right;
  margin-bottom: 14px;
  font-size: 0.85rem;
}

.auth-legal {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--color-ink-soft);
  text-align: center;
  line-height: 1.5;
}

/* Aceite dos Termos e da Politica no cadastro (portal publicado) */
.auth-accept { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 18px; }
.auth-accept input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--color-brand); }
.auth-accept label { margin: 0; font-weight: 500; font-size: 0.86rem; line-height: 1.5; color: var(--color-ink-soft); }
.auth-accept a { font-weight: 700; }

[hidden] { display: none !important; }

/* v3 — logo completa, tagline gradiente, card com borda espectro */
.auth-logo-full {
  max-width: 300px;
  height: auto;
  margin-bottom: 32px;
}

.tagline-line1 {
  font-size: 1rem;
  color: var(--color-rose);
  margin-bottom: 6px;
}
.tagline-line1 strong { color: var(--color-purple); }

.tagline-line2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 40px;
}

.auth-card-frame {
  padding: 2px;
  border-radius: calc(var(--radius-md) + 2px);
  background: var(--gradient-spectrum);
}
.auth-card-frame > .auth-card {
  border: none;
}

.field-toggle-text {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-brand);
}

/* v5 — home pública de marketing */
.home-page { min-height: 100vh; padding-bottom: 10px; }

.home-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 64px;
  flex-wrap: wrap;
  gap: 16px;
}
.home-nav-links a {
  color: var(--color-ink);
  font-weight: 500;
  margin-right: 28px;
  font-size: 0.95rem;
}
.home-nav-links a:last-child { margin-right: 0; }

.pill-frame {
  display: inline-block;
  padding: 1.5px;
  border-radius: var(--radius-pill);
  background: var(--gradient-spectrum);
}
.pill-frame-inner {
  display: block;
  background: var(--color-surface);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--color-ink-soft);
}

.home-hero {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  padding: 40px 64px 80px;
  align-items: start;
}
@media (max-width: 960px) {
  .home-hero { grid-template-columns: 1fr; }
}

.home-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  background: var(--gradient-brand);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brandShift 6s ease infinite;
  margin-bottom: 16px;
}

.home-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.9rem;
  line-height: 1.15;
  background: var(--gradient-brand);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brandShift 6s ease infinite;
  margin-bottom: 24px;
}

.home-subtext {
  color: var(--color-ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 480px;
}

.auth-card p.card-sub {
  color: var(--color-ink-soft);
  font-size: 0.88rem;
  margin-top: -16px;
  margin-bottom: 24px;
}

.btn-option-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* v4 (recuperado) — faixa espectro fixa + animação do gradiente */
.auth-footer-stripe {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: var(--gradient-spectrum);
  background-size: 200% auto;
  z-index: 50;
}

@keyframes brandShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* v6 — home premium: menos decoração, mais hierarquia */
.home-hero {
  padding: 72px 64px 0;
}
.home-eyebrow {
  font-weight: 600;
  animation: none;
}
.home-headline {
  font-size: 3.1rem;
  max-width: 620px;
}
.home-subtext {
  margin-bottom: 36px;
}

.home-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  background: var(--color-purple-deep);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.15s ease, transform 0.08s ease;
}
.btn-cta-primary:hover { background: var(--color-purple); text-decoration: none; }
.btn-cta-primary:active { transform: scale(0.98); }
.home-cta-note { color: var(--color-ink-soft); font-size: 0.85rem; }

.home-benefits {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 56px 64px 96px;
  border-top: 1px solid var(--color-border);
  margin-top: 40px;
}
@media (max-width: 860px) {
  .home-benefits { grid-template-columns: 1fr; }
}
.home-benefit .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-purple);
  margin-bottom: 14px;
}
.home-benefit h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.home-benefit p {
  color: var(--color-ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

/* v8 — login/cadastro: card centralizado, marca discreta, sem hero duplicado */
.auth-page-centered {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: #fff;
}

/* fundo em gradiente forte e animado — estilo mLabs, exclusivo do onboarding */
.onboarding-page {
  background: linear-gradient(120deg, #6B1596, #920BDA, #CB07AA, #F3145C);
  background-size: 300% 300%;
  animation: onboardingGradientShift 12s ease infinite;
}
@keyframes onboardingGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .onboarding-page { animation: none; }
}
.auth-brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.auth-brand-mark img { width: 34px; height: 34px; }
.auth-brand-mark span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-ink);
}
.auth-card-simple {
  width: 100%;
  max-width: 400px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: 0 1px 3px rgba(22, 21, 26, 0.05), 0 10px 30px rgba(107, 21, 150, 0.07);
}
.auth-card-simple h1 { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.auth-card-subtitle { color: var(--color-ink-soft); font-size: 0.9rem; margin-bottom: 24px; }
.auth-switch {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}
@media (max-width: 480px) {
  .auth-card-simple { padding: 28px 22px; }
}

/* v9 — inbox viva no hero da home */
.home-hero { align-items: center; }

.inbox-mock {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 3px rgba(22,21,26,0.05), 0 24px 48px rgba(107,21,150,0.12);
  overflow: hidden;
}
.inbox-mock-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
}
.inbox-mock-dots { display: flex; gap: 5px; }
.inbox-mock-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--color-border); }
.inbox-mock-title { font-size: 0.82rem; font-weight: 600; color: var(--color-ink-soft); margin-left: 4px; }

.inbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border);
  opacity: 0;
  transform: translateY(8px);
  animation: rowIn 0.5s ease forwards;
}
.inbox-row:last-child { border-bottom: none; }
.inbox-row:nth-child(2) { animation-delay: 0.2s; }
.inbox-row:nth-child(3) { animation-delay: 0.5s; }
.inbox-row:nth-child(4) { animation-delay: 0.8s; }
.inbox-row:nth-child(5) { animation-delay: 1.1s; }

.inbox-channel {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}
.inbox-channel.whatsapp { background: #25D366; }
.inbox-channel.instagram { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); }
.inbox-channel.email { background: var(--color-purple); }
.inbox-channel.phone { background: var(--color-ink-soft); }

.inbox-content { flex: 1; min-width: 0; }
.inbox-sender-row { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.inbox-sender { font-weight: 700; font-size: 0.9rem; }
.inbox-time { font-size: 0.75rem; color: var(--color-ink-soft); flex-shrink: 0; }
.inbox-preview {
  font-size: 0.85rem;
  color: var(--color-ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes rowIn {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .inbox-row { animation: none; opacity: 1; transform: none; }
}
@media (max-width: 960px) {
  .inbox-mock { margin-top: 40px; }
}

/* v10 — ícones na linha de benefícios, mesma linguagem do inbox */
.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.benefit-icon svg { width: 20px; height: 20px; }

/* v11 — linha divisora com brilho passando */
.home-benefits { border-top: none; margin-top: 0; }

.home-divider {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 64px;
}
.home-divider-track {
  position: relative;
  height: 1px;
  background: var(--color-border);
  overflow: hidden;
  margin-top: 40px;
}
.home-divider-track::after {
  content: '';
  position: absolute;
  top: 0;
  left: -25%;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--color-purple), var(--color-rose), transparent);
  animation: dividerSweep 5s ease-in-out infinite;
}
@keyframes dividerSweep {
  0% { left: -25%; }
  45% { left: 100%; }
  100% { left: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-divider-track::after { animation: none; display: none; }
}

/* v12 — mockup vivo: contador, mensagens chegando, review flutuante */
.inbox-mock-wrap { position: relative; }

.inbox-header-badge {
  margin-left: auto;
  background: var(--color-rose);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  line-height: 1.4;
}
.inbox-header-badge.pulse { animation: badgePulse 0.4s ease; }
@keyframes badgePulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.inbox-list > .inbox-row:nth-child(1) { animation-delay: 0.2s; }
.inbox-list > .inbox-row:nth-child(2) { animation-delay: 0.5s; }
.inbox-list > .inbox-row:nth-child(3) { animation-delay: 0.8s; }
.inbox-list > .inbox-row:nth-child(4) { animation-delay: 1.1s; }

.review-toast {
  position: absolute;
  right: -14px;
  bottom: -18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(22,21,26,0.14);
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  max-width: 260px;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.review-toast.show { opacity: 1; transform: translateY(0) scale(1); }

@media (max-width: 640px) {
  .review-toast { right: 6px; bottom: -14px; max-width: 200px; font-size: 0.72rem; padding: 8px 12px; }
}

/* v13 — botão de login destacado no nav */
.home-nav-links a.nav-login-btn {
  display: inline-block;
  padding: 8px 18px;
  border: 1.5px solid var(--color-purple);
  border-radius: var(--radius-pill);
  color: var(--color-purple);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.home-nav-links a.nav-login-btn:hover {
  background: var(--color-purple);
  color: #fff;
  text-decoration: none;
}

/* v14 — footer institucional */
.site-footer {
  background: var(--color-ink);
  color: #fff;
  margin-top: 60px;
}

.footer-cta {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 72px 24px 48px;
}
.footer-cta h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 28px;
}
.footer-cta .btn-cta-primary {
  display: inline-flex;
}
.footer-cta-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  font-size: 0.95rem;
}
.footer-contact-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}
.footer-contact a {
  color: #fff;
  font-weight: 700;
}
.footer-contact a:hover { color: var(--color-lime); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.7);
}
.footer-bottom-links a:hover { color: #fff; }

@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; text-align: center; padding: 24px 24px; }
}

/* v14 — footer institucional */
.site-footer {
  background: var(--color-ink);
  color: #fff;
  margin-top: 60px;
}

.footer-cta {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 72px 24px 48px;
}
.footer-cta h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 28px;
}
.footer-cta .btn-cta-primary {
  display: inline-flex;
}
.footer-cta-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  font-size: 0.95rem;
}
.footer-contact-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}
.footer-contact a {
  color: #fff;
  font-weight: 700;
}
.footer-contact a:hover { color: var(--color-lime); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.7);
}
.footer-bottom-links a:hover { color: #fff; }

@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; text-align: center; padding: 24px 24px; }
}

/* v15 — footer estilo chatPro, cores wezappi */
.footer-cta h2 {
  font-size: 2rem;
}
.footer-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.6);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-cta-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: #fff;
  text-decoration: none;
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  padding: 8px 24px 56px;
  text-align: center;
}
.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact-highlight {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-lime);
}
.footer-contact-highlight:hover { color: #fff; }

@media (max-width: 640px) {
  .footer-cta h2 { font-size: 1.5rem; }
  .footer-contact { gap: 32px; }
}

/* v16 — widget de chat/suporte */
.chat-widget-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-purple);
  box-shadow: 0 8px 24px rgba(107,21,150,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  z-index: 100;
  transition: transform 0.15s ease, background 0.15s ease;
}
.chat-widget-btn:hover { background: var(--color-purple-deep); transform: scale(1.05); }
.chat-widget-btn svg { width: 28px; height: 28px; }

.chat-widget-panel {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 320px;
  max-width: calc(100vw - 48px);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 48px rgba(22,21,26,0.18);
  overflow: hidden;
  z-index: 100;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.chat-widget-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-widget-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--color-purple);
  color: #fff;
  position: relative;
}
.chat-widget-header img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.5);
}
.chat-widget-header-text { line-height: 1.3; }
.chat-widget-header-name { font-weight: 700; font-size: 0.95rem; }
.chat-widget-header-status { font-size: 0.75rem; opacity: 0.85; }
.chat-widget-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  opacity: 0.8;
  padding: 4px;
}
.chat-widget-close:hover { opacity: 1; }

.chat-widget-body { padding: 16px; background: var(--color-surface-alt); }
.chat-widget-bubble {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.88rem;
  margin-bottom: 10px;
  max-width: 88%;
  line-height: 1.4;
}

.chat-widget-form { padding: 0 16px 16px; }
.chat-widget-form input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.chat-widget-form input:focus { border-color: var(--color-brand); outline: none; }
.chat-widget-form button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: var(--radius-sm);
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.chat-widget-form button:hover { background: #1ebe57; }

@media (max-width: 480px) {
  .chat-widget-panel { right: 12px; left: 12px; width: auto; bottom: 88px; }
  .chat-widget-btn { right: 16px; bottom: 16px; }
}

/* v17 — animação do ícone de chat */
.chat-widget-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.chat-widget-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-purple);
  animation: chatPulseRing 2.8s ease-out infinite;
  z-index: -1;
}
.chat-widget-btn.no-pulse::before {
  animation: none;
  display: none;
}
@keyframes chatPulseRing {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-widget-btn::before { animation: none; display: none; }
}

/* v18 — indicador de "digitando" no chat */
.chat-widget-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 14px;
}
.chat-widget-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-ink-soft);
  animation: chatTypingBounce 1.1s infinite ease-in-out;
}
.chat-widget-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-widget-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatTypingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* v18 — indicador de "digitando" no chat */
.chat-widget-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 14px;
}
.chat-widget-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-ink-soft);
  animation: chatTypingBounce 1.1s infinite ease-in-out;
}
.chat-widget-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-widget-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatTypingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* v19 — estrelas do review acendendo em sequência */
.review-stars { margin-right: 4px; }
.review-star {
  display: inline-block;
  color: var(--color-border);
  animation: starPop 0.35s ease both;
}
.review-star.is-filled { animation-name: starPopGold; }
@keyframes starPop {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
@keyframes starPopGold {
  0% { color: var(--color-border); transform: scale(0.6); }
  60% { transform: scale(1.25); }
  100% { color: #FFC107; transform: scale(1); }
}

/* v23 — cards com bloco inteiro, seleção em tom azul leve */
.onboarding-card {
  max-width: 620px;
}
.channel-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.channel-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 6px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.channel-option:has(input:checked) {
  border-color: #3B82F6;
  background: rgba(59,130,246,0.08);
}
.channel-checkbox {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.channel-icon svg { width: 22px; height: 22px; }
.channel-icon-letter {
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
}
.channel-label {
  font-weight: 600;
  font-size: 0.74rem;
  text-align: center;
}
@media (max-width: 640px) {
  .onboarding-card { max-width: 100%; }
  .channel-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

/* wz-nounderline: botoes e itens clicaveis de interface nao levam sublinhado (links de texto corrido nao mudam) */
a[class*="btn"],
a[role="button"],
.app-btn, .wz-btn, .wz-hbtn, .wz-rail__btn, .wz-side__help,
.app-nav-item, .wz-navitem,
.wz-menu a, .wz-header a {
    text-decoration: none !important;
}
