* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --wa-green: #0b8f74;
  --wa-green-dark: #066455;
  --wa-bg: #efeae2;
  --wa-bubble: #ffffff;
  --wa-user: #d9fdd3;
  --wa-text: #1e1e1e;
  --wa-muted: #667781;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

body {
  font-family: "Inter", sans-serif;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.35), transparent 22%),
    linear-gradient(135deg, #80c9ff 0%, #6eb9fb 45%, #7be7d0 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  overflow-x: hidden;
}

.chat-bg-decor {
  position: fixed;
  border-radius: 50%;
  filter: blur(10px);
  opacity: .18;
  z-index: 0;
}

.decor-1 {
  width: 280px;
  height: 280px;
  background: #fff37e;
  left: -80px;
  top: 40px;
}

.decor-2 {
  width: 220px;
  height: 220px;
  background: #ff8fa8;
  right: -50px;
  bottom: 60px;
}

.wa-wrap {
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 1;
}

.phone-shell {
  width: 100%;
  min-height: 860px;
  max-height: 94vh;
  background: var(--wa-bg);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 10px solid #1a1a1a;
  display: flex;
  flex-direction: column;
  position: relative;
}

.wa-topbar {
  background: linear-gradient(180deg, #0f9f83 0%, var(--wa-green) 100%);
  color: #fff;
  padding: 14px 14px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-topbar__left,
.wa-topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
}

.wa-topbar__right span {
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
}

.wa-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.6);
  background: rgba(255,255,255,.3);
}

.wa-contact strong {
  display: block;
  font-size: 15px;
}

.wa-contact span {
  display: block;
  font-size: 12px;
  opacity: .9;
}

.wa-chat {
  flex: 1;
  overflow-y: auto;
  padding: 18px 14px 18px;
  background:
    linear-gradient(rgba(255,255,255,.15), rgba(255,255,255,.15)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d6d6d6' fill-opacity='0.3'%3E%3Cpath d='M36 34c0-1.1.9-2 2-2h13c1.1 0 2 .9 2 2v13c0 1.1-.9 2-2 2H38c-1.1 0-2-.9-2-2V34zm64 52c0-1.1.9-2 2-2h13c1.1 0 2 .9 2 2v13c0 1.1-.9 2-2 2h-13c-1.1 0-2-.9-2-2V86zM18 104c0-1.1.9-2 2-2h13c1.1 0 2 .9 2 2v13c0 1.1-.9 2-2 2H20c-1.1 0-2-.9-2-2v-13zm87-65a8 8 0 1116 0 8 8 0 01-16 0zM64 118a8 8 0 1116 0 8 8 0 01-16 0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  scroll-behavior: smooth;
}

.message-row {
  display: flex;
  margin-bottom: 10px;
  animation: riseIn .35s ease;
}

.message-row.bot {
  justify-content: flex-start;
}

.message-row.user {
  justify-content: flex-end;
}

.msg {
  max-width: 84%;
  padding: 10px 12px 7px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--wa-text);
  box-shadow: 0 3px 10px rgba(0,0,0,.06);
  position: relative;
}

.bot .msg {
  background: var(--wa-bubble);
  border-top-left-radius: 4px;
}

.user .msg {
  background: var(--wa-user);
  border-top-right-radius: 4px;
}

.msg-time {
  display: block;
  text-align: right;
  color: var(--wa-muted);
  font-size: 11px;
  margin-top: 4px;
}

.typing-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
  animation: riseIn .35s ease;
}

.typing-bubble {
  background: #fff;
  padding: 12px 14px;
  border-radius: 14px;
  border-top-left-radius: 4px;
  display: flex;
  gap: 6px;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0,0,0,.06);
}

.typing-bubble span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3ab;
  animation: blink 1.15s infinite ease-in-out;
}

.typing-bubble span:nth-child(2) {
  animation-delay: .15s;
}

.typing-bubble span:nth-child(3) {
  animation-delay: .3s;
}

.audio-card {
  width: 100%;
  min-width: 250px;
}

.audio-ui {
  display: flex;
  align-items: center;
  gap: 10px;
}

.audio-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, #11a683, #0c7d67);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.audio-wave {
  flex: 1;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(180deg, #edf5f3, #dff0eb);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 4px;
}

.audio-wave i {
  display: block;
  width: 4px;
  border-radius: 5px;
  background: #0c8a70;
  opacity: .55;
  animation: wave 1.1s infinite ease-in-out;
}

.audio-wave i:nth-child(odd) {
  animation-duration: .95s;
}

.audio-wave i:nth-child(3n) {
  animation-duration: 1.35s;
}

.audio-wave.paused i {
  animation-play-state: paused;
}

.audio-duration {
  color: var(--wa-muted);
  font-size: 12px;
  font-weight: 600;
  min-width: 42px;
  text-align: right;
}

.choice-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 18px;
  animation: riseIn .35s ease;
}

.choice-btn {
  width: 100%;
  border: 0;
  cursor: pointer;
  background: #fff;
  color: #11332d;
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 14px;
  text-align: left;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.choice-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,.11);
  background: #f6fffd;
}

.chat-photo {
  width: 100%;
  border-radius: 14px;
  margin-top: 8px;
  display: block;
}

.cta-link-wrap {
  margin-top: 14px;
}

.chat-cta {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 16px;
  text-decoration: none;
  font-weight: 800;
  border-radius: 16px;
  color: #0c2b25;
  background: linear-gradient(180deg, #ffe46e 0%, #ffc93c 100%);
  box-shadow: 0 10px 26px rgba(255, 190, 11, .34);
  animation: pulseBtn 1.4s infinite;
}

.wa-inputbar {
  padding: 12px;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-inputfake {
  background: #fff;
  border-radius: 999px;
  padding: 13px 16px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8696a0;
  font-size: 14px;
}

.wa-mic-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--wa-green);
  color: #ffffff;
  font-size: 18px;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes blink {
  0%, 80%, 100% {
    transform: scale(.6);
    opacity: .45;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulseBtn {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes wave {
  0%, 100% {
    height: 8px;
  }
  50% {
    height: 24px;
  }
}

@media (max-width: 560px) {
  body {
    padding: 0;
  }

  .wa-wrap {
    max-width: 100%;
  }

  .phone-shell {
    border-radius: 0;
    border: 0;
    min-height: 100vh;
    max-height: 100vh;
  }
}
/* Ícones estilo WhatsApp */

.wa-icons {
display:flex;
gap:18px;
align-items:center;
}

.wa-icon {
width:20px;
height:20px;
fill:#e9edef;
opacity:0.9;
cursor:pointer;
transition:0.2s ease;
}

.wa-icon:hover {
opacity:1;
transform:scale(1.05);
}