/* ============ Shozap — Estilos (tema claro) ============ */

:root {
  --gradient-brand: linear-gradient(135deg, #ff6b35 0%, #ee4d2d 60%, #d73211 100%);
  --brand: #ee4d2d;
  --brand-light: #ff6b35;
  --brand-dark: #c9350f;
  --bg: #ffffff;
  --bg-soft: #fff8f5;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --border: #e7e9ee;
  --text: #171b22;
  --muted: #5b6472;
  --success: #14a35f;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(23, 27, 34, 0.06);
  --shadow-md: 0 12px 32px rgba(23, 27, 34, 0.1);
  --shadow-lg: 0 28px 64px rgba(23, 27, 34, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .logo-text, .pricing-value, .stat-value {
  font-family: "Sora", "Inter", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Barra de progresso de scroll ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-brand);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--gradient-brand);
  color: #ffffff;
  font-size: 1rem;
  box-shadow: 0 6px 18px rgba(238, 77, 45, 0.35);
  transition: transform 0.25s ease;
}

.logo:hover .logo-mark {
  transform: rotate(-8deg) scale(1.06);
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ---------- Botões ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.7rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:focus-visible {
  outline: 3px solid rgba(238, 77, 45, 0.4);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(238, 77, 45, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(238, 77, 45, 0.42);
}

/* Brilho deslizante nos CTAs principais */
.btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: shine 3.5s ease-in-out infinite;
}

@keyframes shine {
  0%, 60% { left: -80%; }
  100% { left: 140%; }
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  border-color: var(--brand);
  background: rgba(238, 77, 45, 0.06);
  color: var(--brand-dark);
}

.btn-outline {
  background: transparent;
  color: var(--brand-dark);
  border: 1px solid rgba(238, 77, 45, 0.45);
}

.btn-outline:hover {
  background: rgba(238, 77, 45, 0.08);
  border-color: var(--brand);
}

.btn-lg {
  padding: 1.05rem 2.1rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
}

.bounce-y {
  animation: bounceY 1.8s ease-in-out infinite;
}

@keyframes bounceY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  padding: 0.7rem 0;
  box-shadow: 0 6px 24px rgba(23, 27, 34, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  position: relative;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.account-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  transition: color 0.18s ease;
}

.account-link:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 10rem 0 5rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.hero-glow {
  position: absolute;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 640px;
  background: radial-gradient(ellipse at center, rgba(238, 77, 45, 0.16) 0%, rgba(238, 77, 45, 0.06) 40%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 27, 34, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 27, 34, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
}

/* Blobs decorativos suaves */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.5;
}

.blob-1 {
  width: 380px;
  height: 380px;
  top: 8%;
  left: -160px;
  background: rgba(255, 107, 53, 0.18);
  animation: blobDrift 14s ease-in-out infinite;
}

.blob-2 {
  width: 320px;
  height: 320px;
  bottom: 4%;
  right: -140px;
  background: rgba(20, 163, 95, 0.14);
  animation: blobDrift 16s ease-in-out infinite reverse;
}

@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -24px) scale(1.08); }
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.hero-title {
  margin-top: 1.6rem;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 40rem;
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Chat mockup ---------- */

.chat-mockup {
  position: relative;
  margin-top: 4.5rem;
  width: min(460px, 100%);
}

.chat-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #ffffff;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.chat-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.chat-members {
  font-size: 0.78rem;
  color: var(--muted);
}

.chat-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 1.6s ease-in-out infinite;
}

.chat-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-align: left;
  background: #fdfdfd;
}

.chat-msg {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px 14px 14px 4px;
  padding: 0.9rem 1.1rem;
  max-width: 92%;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.chat-msg.show,
.chat-typing.show {
  opacity: 1;
  transform: translateY(0);
}

.msg-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand-dark);
}

.msg-tag-cupom {
  color: var(--success);
}

.msg-text {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.msg-price {
  margin-top: 0.3rem;
  font-size: 0.88rem;
}

.msg-price s {
  color: var(--muted);
  margin-right: 0.4rem;
}

.msg-price strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.msg-meta {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 600;
}

.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px 14px 14px 4px;
  width: fit-content;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1.2s ease-in-out infinite;
}

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

.chat-typing em {
  margin-left: 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-style: normal;
}

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
}

/* Chips flutuantes */

.chat-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.chat-chip i {
  color: var(--brand);
}

.chip-1 {
  top: 12%;
  right: -8%;
}

.chip-2 {
  bottom: 10%;
  left: -10%;
}

/* Flutuação */

.float-slow { animation: floatY 7s ease-in-out infinite; }
.float-med { animation: floatY 5.5s ease-in-out infinite 0.6s; }
.float-fast { animation: floatY 4.5s ease-in-out infinite 0.3s; }

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

/* ---------- Marquee ---------- */

.marquee {
  border-block: 1px solid var(--border);
  padding: 1.1rem 0;
  overflow: hidden;
  background: var(--surface-2);
}

.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 26s linear infinite;
}

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

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-track i {
  color: var(--brand);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Seções ---------- */

.section {
  padding: 6rem 0;
}

.alt-section {
  background: var(--bg-soft);
  border-block: 1px solid #ffe9e0;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-dark);
  background: rgba(238, 77, 45, 0.08);
  border: 1px solid rgba(238, 77, 45, 0.22);
  padding: 0.4rem 1rem;
  border-radius: 999px;
}

.section-title {
  margin-top: 1.1rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 36rem;
  text-wrap: balance;
}

/* ---------- Sobre (O que é a Shozap) ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content .section-title {
  margin-top: 1.1rem;
  max-width: none;
  text-align: left;
}

.about-text {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 1.02rem;
  text-wrap: pretty;
}

.about-text strong {
  color: var(--text);
}

.about-content .btn {
  margin-top: 1.8rem;
}

.about-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.about-feature {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-feature:hover {
  transform: translateX(6px);
  border-color: rgba(238, 77, 45, 0.35);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(238, 77, 45, 0.1);
  color: var(--brand-dark);
  font-size: 1.05rem;
}

.about-feature h3 {
  font-size: 1rem;
  font-weight: 700;
}

.about-feature p {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Timeline ---------- */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 44rem;
  margin-inline: auto;
  position: relative;
}

.timeline-item {
  display: flex;
  gap: 1.8rem;
  padding-bottom: 3rem;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(238, 77, 45, 0.45), rgba(238, 77, 45, 0.06));
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--gradient-brand);
  color: #ffffff;
  font-size: 1.25rem;
  box-shadow: 0 10px 26px rgba(238, 77, 45, 0.28);
  transition: transform 0.25s ease;
}

.timeline-item:hover .timeline-icon {
  transform: scale(1.08) rotate(-4deg);
}

.timeline-step {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-dark);
}

.timeline-content h3 {
  margin-top: 0.4rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.timeline-content p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 34rem;
}

/* ---------- Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.bento-wide {
  grid-column: span 2;
}

.bento-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(238, 77, 45, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(238, 77, 45, 0.35);
  box-shadow: var(--shadow-md);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-icon {
  font-size: 1.5rem;
  color: var(--brand);
  transition: transform 0.25s ease;
}

.bento-card:hover .bento-icon {
  transform: scale(1.15);
}

.bento-card h3 {
  margin-top: 1.1rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.bento-card p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Stats ---------- */

.stats-section {
  background: var(--bg-soft);
  border-block: 1px solid #ffe9e0;
  padding: 4.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-value {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

/* ---------- Preços ---------- */

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: stretch;
  justify-content: center;
}

/* Desktop: todos os planos ficam em UMA única linha — nunca quebra o último.
   Como é flex com min-width:0, os cards dividem o espaço e encolhem juntos. */
@media (min-width: 1001px) {
  .pricing-grid { flex-wrap: nowrap; }
}

/* Compacta um pouco quando há 4 planos (marcado via data-count pelo JS). */
.pricing-grid[data-count="4"] .pricing-card { padding: 1.9rem 1.5rem; gap: 1.1rem; }
.pricing-grid[data-count="4"] .pricing-card li { font-size: 0.85rem; }
.pricing-grid[data-count="4"] .pricing-value { font-size: 2.3rem; }

.pricing-card {
  position: relative;
  flex: 1 1 240px;
  min-width: 0;
  max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.1rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Em uma única linha (desktop) os cards podem ocupar toda a largura disponível. */
@media (min-width: 1001px) {
  .pricing-card { max-width: none; }
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(238, 77, 45, 0.35);
  box-shadow: var(--shadow-md);
}

.pricing-featured {
  border: 1px solid rgba(238, 77, 45, 0.5);
  background: linear-gradient(180deg, #fff4ef, var(--surface) 45%);
  box-shadow: 0 24px 60px rgba(238, 77, 45, 0.14);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gradient-brand);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(238, 77, 45, 0.3);
}

.pricing-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.pricing-value {
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-value .currency {
  font-size: 1.1rem;
  font-weight: 700;
  vertical-align: super;
  margin-right: 0.15rem;
}

.pricing-value .period {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.pricing-card li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.93rem;
  color: var(--muted);
}

.pricing-card li i {
  color: var(--success);
  font-size: 0.8rem;
}

/* ---------- CTA final ---------- */

.cta-final {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
  background: var(--bg-soft);
  border-top: 1px solid #ffe9e0;
}

.cta-glow {
  position: absolute;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 560px;
  background: radial-gradient(ellipse at center, rgba(238, 77, 45, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-bolt {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--gradient-brand);
  color: #ffffff;
  font-size: 1.5rem;
  box-shadow: 0 14px 36px rgba(238, 77, 45, 0.35);
  animation: floatY 5s ease-in-out infinite;
}

.cta-inner h2 {
  margin-top: 1.6rem;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.cta-inner p {
  margin-top: 0.9rem;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 32rem;
}

.cta-inner .btn {
  margin-top: 2.2rem;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 0;
  background: var(--surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 22rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.18s ease;
}

.footer-nav a:hover {
  color: var(--brand-dark);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Botão voltar ao topo ---------- */

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(238, 77, 45, 0.35);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 90;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delays escalonados para entradas em cascata */
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }
.reveal-d4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsivo ---------- */

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 72px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.4rem;
    gap: 1.1rem;
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .main-nav.open {
    display: flex;
    animation: menuIn 0.25s ease;
  }

  @keyframes menuIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .menu-toggle {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .bento-wide {
    grid-column: span 2;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chip-1 { right: 0; }
  .chip-2 { left: 0; }
}

@media (max-width: 720px) {
  .header-actions .account-link {
    display: none;
  }

  .hero {
    padding-top: 8rem;
  }

  .hero-sub {
    font-size: 1.02rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: span 1;
  }

  .timeline-item {
    gap: 1.2rem;
  }

  .timeline-icon {
    width: 48px;
    height: 48px;
    font-size: 1.05rem;
  }

  .timeline-item::before {
    left: 23px;
    top: 54px;
  }

  .chat-chip {
    position: static;
    margin-top: 0.9rem;
  }

  .chat-mockup {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .about-feature {
    padding: 1.1rem 1.2rem;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
  }
}

/* ============================================================
   Componentes adicionais V4 (canais, marketplaces, depoimentos,
   preços dinâmicos, afiliados, FAQ)
   ============================================================ */

.container-narrow {
  width: min(760px, 100% - 2.5rem);
}

.section-sub {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 40rem;
  text-wrap: pretty;
}

/* ---------- Canais ---------- */

.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.channel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.channel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(238, 77, 45, 0.3);
  box-shadow: var(--shadow-md);
}

.channel-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.1rem;
}

/* Cor padrão: canais novos cadastrados no CMS nunca ficam sem fundo
   (ícone branco em caixa transparente). As regras abaixo sobrescrevem. */
.channel-icon { background: linear-gradient(135deg, #ee4d2d, #ff7a45); }

.channel-icon.ch-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.channel-icon.ch-telegram { background: linear-gradient(135deg, #2aabee, #229ed9); }
.channel-icon.ch-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); }
.channel-icon.ch-facebook  { background: linear-gradient(135deg, #1877f2, #0b5fce); }
.channel-icon.ch-tiktok    { background: linear-gradient(135deg, #25f4ee, #000 55%, #fe2c55); }
.channel-icon.ch-youtube   { background: linear-gradient(135deg, #ff0000, #c4302b); }

.channel-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.channel-card p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Marketplaces ---------- */

.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin-inline: auto;
}

.market-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 0.8rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.market-chip i {
  font-size: 1.7rem;
  color: var(--brand);
}

.market-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(238, 77, 45, 0.35);
}

/* ---------- Depoimentos ---------- */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.testimonial blockquote {
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.6;
}

.testimonial blockquote::before {
  content: "\201C";
  color: var(--brand);
  font-size: 2rem;
  font-family: Georgia, serif;
  line-height: 0;
  vertical-align: -0.4rem;
  margin-right: 0.15rem;
}

.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-role { color: var(--muted); font-size: 0.85rem; }

/* ---------- Billing switch (preços) ---------- */

.billing-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.billing-label {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.billing-label.active { color: var(--text); }

.billing-toggle {
  position: relative;
  width: 56px;
  height: 30px;
  border-radius: 999px;
  border: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease;
}

.billing-toggle.active { background: var(--gradient-brand); border-color: transparent; }

.billing-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease;
}

.billing-toggle.active .billing-knob { transform: translateX(26px); }

.billing-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--success);
  background: rgba(20, 163, 95, 0.1);
  border: 1px solid rgba(20, 163, 95, 0.25);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

/* ---------- Preços dinâmicos ---------- */

.pricing-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: -0.6rem;
}

.pricing-value .price-int { }
.pricing-value .price-cents {
  font-size: 1.2rem;
  font-weight: 700;
  vertical-align: super;
}

.pricing-equiv {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: -0.8rem;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-features li.feat-off {
  color: #9aa3af;
}

.pricing-features li.feat-off i {
  color: #cbd2dc;
}

.pricing-features li .feat-detail {
  margin-left: auto;
  font-weight: 700;
  color: var(--text);
  font-size: 0.85rem;
  white-space: nowrap;
}

.pricing-features li.feat-off .feat-detail {
  color: #9aa3af;
  font-weight: 600;
}

/* Alinhamento vertical entre os cards (descrição reservada + CTA no rodapé). */
.pricing-desc {
  min-height: 2.7em;
}

.pricing-card .pricing-features {
  flex: 1;
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* Responsivo dos preços (flex). Tablet: 2 por linha; celular: 1 por linha. */
@media (max-width: 1000px) and (min-width: 641px) {
  .pricing-grid { max-width: 720px; margin-inline: auto; }
  .pricing-card { flex-basis: calc(50% - 0.7rem); max-width: none; }
  .pricing-grid[data-count="4"] .pricing-card li { font-size: 0.93rem; }
  .pricing-grid[data-count="4"] .pricing-card { padding: 2.1rem; }
}

@media (max-width: 640px) {
  .pricing-grid {
    max-width: 25rem;
    margin-inline: auto;
  }
  .pricing-card { flex-basis: 100%; max-width: none; }
}

.pricing-loading,
.pricing-empty {
  flex: 1 1 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 3rem 1rem;
  color: var(--muted);
}

.pricing-loading i,
.pricing-empty i {
  font-size: 1.8rem;
  color: var(--brand);
}

.pricing-empty a { color: var(--brand-dark); font-weight: 700; }

/* ---------- Programa de afiliados ---------- */

.afiliados-card {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, #fff4ef, var(--surface) 60%);
  border: 1px solid rgba(238, 77, 45, 0.28);
  border-radius: calc(var(--radius) + 6px);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.afiliados-content .section-title { text-align: left; max-width: none; }
.afiliados-content .section-tag { align-self: flex-start; }

.afiliados-text {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1rem;
  max-width: 34rem;
}

.afiliados-content .btn { margin-top: 1.6rem; }

.afiliados-visual {
  display: grid;
  place-items: center;
  font-size: 6rem;
  color: var(--brand);
  opacity: 0.9;
}

/* ---------- FAQ ---------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.4rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.faq-item[open] { border-color: rgba(238, 77, 45, 0.35); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "\002B";
  color: var(--brand);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ---------- Footer social ---------- */

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 1.05rem;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
  color: var(--brand);
  border-color: rgba(238, 77, 45, 0.4);
  transform: translateY(-3px);
}

/* ---------- Responsivo (componentes novos) ---------- */

@media (max-width: 900px) {
  .channels-grid { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; }
  .markets-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .afiliados-card { grid-template-columns: 1fr; text-align: center; padding: 2.2rem; }
  .afiliados-content .section-title,
  .afiliados-content .section-tag { text-align: center; align-self: center; }
  .afiliados-text { margin-inline: auto; }
  .afiliados-visual { display: none; }
}

@media (max-width: 480px) {
  .markets-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Modos de postar, Páginas de venda, selos (badges)
   ============================================================ */

/* Selo de seção "verde" (ex.: Incluído em todos os planos). */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--success);
  background: rgba(20, 163, 95, 0.1);
  border: 1px solid rgba(20, 163, 95, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 999px;
}

/* ---------- Modos de postar ---------- */
.modos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.modo-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.modo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(238, 77, 45, 0.3);
  box-shadow: var(--shadow-md);
}

.modo-num {
  font-family: "Sora", "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(238, 77, 45, 0.3);
}

.modo-badge {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-dark);
  background: rgba(238, 77, 45, 0.1);
  border: 1px solid rgba(238, 77, 45, 0.25);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
}

.modo-card h3 {
  margin-top: 0.9rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.modo-card > p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.modo-bullets {
  list-style: none;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modo-bullets li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.4;
}

.modo-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 800;
}

/* ---------- Páginas de venda ---------- */
.paginas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pagina-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pagina-card:hover {
  transform: translateY(-6px);
  border-color: rgba(238, 77, 45, 0.3);
  box-shadow: var(--shadow-md);
}

.pagina-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(238, 77, 45, 0.28);
}

.pagina-card h3 { font-size: 1.2rem; font-weight: 700; }
.pagina-card > p { margin-top: 0.5rem; color: var(--muted); font-size: 0.95rem; }
.pagina-card .modo-bullets { margin-top: 1rem; }

/* ---------- Selo dentro do bento (Recursos) ---------- */
.bento-badge {
  display: inline-block;
  align-self: flex-start;
  margin: 0.2rem 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--brand-dark);
  background: rgba(238, 77, 45, 0.1);
  border: 1px solid rgba(238, 77, 45, 0.22);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

/* ---------- Selo do programa de afiliados ---------- */
.afiliados-visual { position: relative; }

.afiliados-badge {
  position: absolute;
  bottom: 0.4rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  background: var(--gradient-brand);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(238, 77, 45, 0.3);
}

@media (max-width: 980px) {
  .modos-grid,
  .paginas-grid { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
}

/* ============================================================
   WhatsApp flutuante (com badge de nova mensagem)
   ============================================================ */

.wa-widget {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.wa-float {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.55);
}

.wa-float i {
  position: relative;
  z-index: 1;
}

/* Pulso de "chamada" ao redor do botão */
.wa-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: 0;
  animation: waPulse 2.4s ease-out infinite;
}

@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* Badge vermelho de nova mensagem */
.wa-float-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ff3b30;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  z-index: 2;
  animation: waBadgePop 0.45s ease-out both;
}

@keyframes waBadgePop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Balão de mensagem (aparece após alguns segundos) */
.wa-bubble {
  position: relative;
  max-width: 262px;
  background: #ffffff;
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(15, 23, 42, 0.06);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transform-origin: left bottom;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.wa-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-bubble-link {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  text-decoration: none;
  color: inherit;
}

.wa-bubble-avatar {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  font-size: 1.25rem;
}

.wa-bubble-body {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.wa-bubble-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #0f172a;
}

.wa-bubble-text {
  font-size: 0.82rem;
  line-height: 1.38;
  color: #475569;
}

.wa-bubble-close {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.72rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease;
}

.wa-bubble-close:hover {
  transform: scale(1.12);
}

@media (max-width: 600px) {
  .wa-widget {
    left: 1rem;
    bottom: 1rem;
  }
  .wa-float {
    width: 54px;
    height: 54px;
    font-size: 1.8rem;
  }
  .wa-bubble {
    max-width: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float-pulse {
    animation: none;
    opacity: 0;
  }
  .wa-float-badge {
    animation: none;
  }
}
