/* Página de depoimentos: moldura e paleta inspiradas no WhatsApp */
.wa-section {
  --wa-green: #008069;
  --wa-green-dark: #075e54;
  --wa-accent: #25d366;
  --wa-paper: #efeae2;
  --wa-doodle: #d9d2c5;
  --wa-bubble: #ffffff;
  --wa-ink: #111b21;
  --wa-meta: #667781;
  --wa-chip: #ffffff;
  padding-top: 0;
}

.wa-frame {
  max-width: 760px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  border: 6px solid var(--wa-green-dark);
  box-shadow: 0 18px 50px rgba(7, 94, 84, 0.22);
  background: var(--wa-paper);
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}

.wa-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--wa-green);
  color: #fff;
}

.wa-avatar {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.wa-avatar img {
  width: 36px;
  height: auto;
}

.wa-bar-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.wa-bar-title {
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
}

.wa-bar-sub {
  font-size: 0.82rem;
  opacity: 0.85;
}

.wa-bar-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--wa-accent);
  display: grid;
  place-items: center;
}

.wa-bar-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.wa-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 14px 26px;
  background-color: var(--wa-paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23d9d2c5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 22c4-6 12-6 14 0s-8 10-7 0'/%3E%3Ccircle cx='86' cy='20' r='6'/%3E%3Cpath d='M60 52l4 8 9 1-7 6 2 9-8-5-8 5 2-9-7-6 9-1z'/%3E%3Cpath d='M14 84c6 0 6 10 12 10s6-10 12-10'/%3E%3Cpath d='M92 78v18m-6-6l6 6 6-6'/%3E%3Cpath d='M102 50c3-3 8 0 6 4l-6 6-6-6c-2-4 3-7 6-4z'/%3E%3Cpath d='M40 108h14'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px;
}

.wa-chip {
  align-self: center;
  margin: 6px 0 2px;
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--wa-chip);
  color: var(--wa-meta);
  font-size: 0.78rem;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}

.wa-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.wa-bubble {
  position: relative;
  max-width: min(88%, 560px);
  padding: 7px 10px 8px;
  border-radius: 8px;
  background: var(--wa-bubble);
  color: var(--wa-ink);
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}

.wa-bubble.wa-first {
  border-top-left-radius: 0;
}

.wa-bubble.wa-first::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  width: 8px;
  height: 13px;
  background: var(--wa-bubble);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.wa-name {
  margin: 0 0 2px;
  font-size: 0.82rem;
  font-weight: 600;
}

.cor-0 .wa-name { color: #1f7aec; }
.cor-1 .wa-name { color: #d4366a; }
.cor-2 .wa-name { color: #027eb5; }
.cor-3 .wa-name { color: #c1580b; }
.cor-4 .wa-name { color: #6b3fa0; }
.cor-5 .wa-name { color: #00866e; }

.wa-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.wa-time {
  float: right;
  margin: 6px 0 -4px 12px;
  font-size: 0.7rem;
  color: var(--wa-meta);
}

@media (min-width: 720px) {
  .wa-chat {
    padding: 22px 28px 32px;
  }
  .wa-text {
    font-size: 1rem;
  }
}

.wa-chip a {
  color: var(--wa-green);
  font-weight: 600;
}

.wa-empty {
  margin: 40px 0;
  text-align: center;
  max-width: 90%;
}

/* Dentro de um artigo do blog */
.wa-intro {
  margin: 0 0 20px;
  color: var(--text-soft);
}

.wa-in-article .wa-frame {
  margin: 0;
}

/* Depoimentos em story do Instagram */
.story-section {
  padding-top: 0;
  padding-bottom: 48px;
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 760px;
  margin: 0 auto;
}

.story-card {
  margin: 0;
  width: min(100%, 300px);
}

.story-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(35, 25, 36, 0.22);
}

.story-card figcaption {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--text-soft);
  text-align: center;
}

.story-text {
  text-align: center;
}

.story-label {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.story-quote {
  margin: 0;
  padding: 0;
  border: 0;
}

.story-quote p {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.35rem, 3.2vw, 1.7rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--text);
}

.story-author {
  margin: 14px 0 0;
  font-weight: 600;
  color: var(--primary);
}

@media (min-width: 760px) {
  .story-item {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
  .story-card {
    flex: none;
    width: 280px;
  }
  .story-text {
    text-align: left;
  }
}
