/* ===== Studio Lumée — Dra. Manuela Moreira ===== */
/* ===== Fontes auto-hospedadas =====
   Variaveis, subset latin (cobre todo o portugues). Sao os mesmos bytes que o
   navegador ja baixava do fonts.gstatic.com -- a diferenca e que agora saem do
   proprio dominio, sem esperar o fonts.googleapis.com devolver o CSS antes.
   Sem preload de proposito: com font-display:swap o texto pinta na hora e a
   banda fica livre para o hero, que e o elemento de LCP. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/fraunces.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/fraunces-italic.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-tight.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #F6F1E9;
  --paper-2: #EFE7DA;
  --dark: #241C15;
  --ink: #2E241C;
  --accent: #B98A4E;
  --accent-soft: #D9B885;
  --muted: #6B6156;
  --line: #E3DBCD;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter Tight", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

.container { width: min(1160px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(780px, 100% - 48px); }

/* ---- Type ---- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 380; letter-spacing: -.02em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--accent); font-weight: 420; }
h1 { font-size: clamp(2.6rem, 10.5vw, 4rem); line-height: 1.04; font-variation-settings: "opsz" 120; }
h2 { font-size: clamp(2.1rem, 7.4vw, 3.6rem); line-height: 1.08; font-variation-settings: "opsz" 100; margin-bottom: .5em; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 460; }

.eyebrow {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .17em;
  font-weight: 600; color: var(--accent); margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--accent-soft); }

section { padding: clamp(72px, 11vw, 130px) 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none; text-align: center;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 17px 34px; border-radius: 4px; position: relative; overflow: hidden;
  transition: color .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; transform: translateY(101%);
  transition: transform .38s var(--ease); z-index: 0;
}
.btn:hover::before { transform: translateY(0); }
.btn > * { position: relative; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary::before { background: #9a713b; }
.btn--dark { background: var(--dark); color: var(--paper); }
.btn--dark::before { background: var(--accent); }
.btn--nav { background: var(--dark); color: var(--paper); padding: 11px 22px; font-size: .88rem; }
.btn--nav::before { background: var(--accent); }
.btn--full { width: 100%; }
.btn span, .btn { z-index: 1; }

/* ---- Nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 14px 0; transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { width: min(1240px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.nav__brand {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 440;
  color: var(--paper); text-decoration: none; letter-spacing: .01em;
  transition: color .4s var(--ease);
}
.nav__brand em { color: var(--accent-soft); }
.nav.is-scrolled .nav__brand { color: var(--ink); }
.nav.is-scrolled .nav__brand em { color: var(--accent); }

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100svh; padding: 0;
  display: flex; align-items: flex-end;
  background: var(--dark);
}
.hero__media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 68% 18%;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(36,28,21,.42) 0%, rgba(36,28,21,.06) 30%, rgba(36,28,21,.72) 78%, rgba(36,28,21,.9) 100%);
}
.hero__content {
  position: relative; z-index: 2; color: var(--paper);
  width: min(1240px, 100% - 40px); margin-inline: auto;
  padding: 120px 0 64px;
}
.hero__content h1 { max-width: 15ch; margin-bottom: 1.1rem; color: var(--paper); }
.hero__sub { max-width: 46ch; font-size: 1.06rem; color: rgba(246,241,233,.88); margin-bottom: 1.8rem; }
.hero__cred { margin-top: 1.4rem; font-size: .8rem; letter-spacing: .06em; color: rgba(246,241,233,.62); }

@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero__media { object-position: 62% 12%; }
  .hero__scrim {
    background:
      linear-gradient(90deg, rgba(36,28,21,.88) 0%, rgba(36,28,21,.62) 34%, rgba(36,28,21,.12) 62%, rgba(36,28,21,0) 80%),
      linear-gradient(180deg, rgba(36,28,21,.3) 0%, rgba(36,28,21,0) 26%, rgba(36,28,21,.24) 100%);
  }
  .hero__content { padding: 140px 0 100px; }
  .hero__content h1 { font-size: clamp(4.2rem, 5.6vw, 6rem); max-width: 14ch; }
  .hero__sub { font-size: 1.14rem; }
}

/* ---- Dor ---- */
.pain h2 { max-width: 18ch; }
.pain__list { list-style: none; margin: 3rem 0; }
.pain__list li {
  padding: 1.35rem 0 1.35rem 2.1rem; position: relative;
  border-top: 1px solid var(--line); font-size: 1.12rem; max-width: 62ch;
}
.pain__list li:last-child { border-bottom: 1px solid var(--line); }
.pain__list li::before {
  content: ""; position: absolute; left: 0; top: 2rem;
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
}
.pain__close {
  font-family: var(--font-display); font-size: clamp(1.3rem, 3.4vw, 1.7rem);
  line-height: 1.35; max-width: 34ch; color: var(--ink); font-weight: 380;
}

/* ---- Solução ---- */
.solution { background: var(--paper-2); }
.solution__grid { display: grid; gap: 3rem; }
.solution__text > p { max-width: 56ch; font-size: 1.06rem; }
.solution__itero {
  margin-top: 2.4rem; padding: 1.8rem 0 0; border-top: 2px solid var(--accent);
}
.solution__itero h3 { margin-bottom: .7rem; font-size: 1.45rem; }
.solution__itero p { max-width: 56ch; font-size: 1.02rem; }
.solution__note { margin-top: 1rem; font-size: .82rem !important; color: var(--muted); }
.solution__media { position: relative; }
.solution__media img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; object-position: center 30%; }
.solution__media figcaption { font-size: .8rem; color: var(--muted); margin-top: .7rem; }
@media (min-width: 900px) {
  .solution__grid { grid-template-columns: 1.25fr 1fr; align-items: stretch; gap: 4.5rem; }
  .solution__media img { max-height: none; min-height: 100%; }
}

/* ---- Autoridade ---- */
.authority { background: var(--dark); color: var(--paper); padding: 0; display: grid; }
.authority__media { position: relative; min-height: 340px; }
.authority__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.authority__content { padding: clamp(72px, 9vw, 120px) clamp(24px, 5vw, 80px); }
.authority__content h2 { color: var(--paper); max-width: 16ch; }
.authority__items { margin-top: 2.6rem; display: grid; gap: 0; }
.authority__items article { padding: 1.5rem 0; border-top: 1px solid rgba(246,241,233,.14); }
.authority__items h3 { color: var(--accent-soft); margin-bottom: .45rem; }
.authority__items p { color: rgba(246,241,233,.78); max-width: 46ch; }
@media (min-width: 900px) {
  .authority { grid-template-columns: 1fr 1.3fr; }
  .authority__media { min-height: 100%; }
  .authority__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 55%, var(--dark) 100%);
  }
}

/* ---- Processo ---- */
.process h2 { max-width: 18ch; }
.timeline { position: relative; margin: 3.4rem 0 1rem; padding-left: 2.2rem; }
.timeline__line {
  position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px;
  background: var(--line);
}
.timeline__line::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%;
  height: var(--p, 0%); background: var(--accent); transition: height 80ms linear;
}
.timeline__step { position: relative; padding: 0 0 2.6rem; max-width: 58ch; }
.timeline__step:last-child { padding-bottom: 0; }
.timeline__step::before {
  content: ""; position: absolute; left: calc(-2.2rem + 3px); top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent);
}
.timeline__step h3 { margin-bottom: .5rem; font-size: 1.4rem; }
.process__cta { margin-top: 3rem; }
@media (min-width: 900px) {
  .timeline { padding-left: 3rem; }
  .timeline__step::before { left: calc(-3rem + 2px); }
}

/* ---- Sobre ---- */
.about { background: var(--paper-2); padding: 0; display: grid; }
.about__content { padding: clamp(72px, 9vw, 120px) clamp(24px, 5vw, 80px); align-self: center; }
.about__content h2 { max-width: 15ch; }
.about__content > p { max-width: 54ch; font-size: 1.06rem; margin-bottom: 1.1rem; }
.about__sign {
  margin-top: 2rem; font-family: var(--font-display); font-style: italic;
  font-size: 1.6rem; color: var(--ink);
}
.about__sign span {
  display: block; font-family: var(--font-body); font-style: normal;
  font-size: .8rem; letter-spacing: .08em; color: var(--muted); margin-top: .4rem;
}
.about__media { position: relative; min-height: 420px; }
.about__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
@media (min-width: 900px) {
  .about { grid-template-columns: 1.25fr 1fr; }
  .about__media { min-height: 100%; }
}
@media (max-width: 899px) {
  .about { display: flex; flex-direction: column-reverse; }
}

/* ---- Investimento ---- */
.invest__lead { max-width: 56ch; font-size: 1.06rem; }
.invest__cards { margin-top: 3rem; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.invest__cards article { background: var(--paper); padding: 2rem 1.8rem; }
.invest__cards h3 { margin-bottom: .5rem; color: var(--ink); }
.invest__cards p { color: var(--muted); }
@media (min-width: 760px) { .invest__cards { grid-template-columns: repeat(3, 1fr); } }

/* ---- FAQ ---- */
.faq { background: var(--paper-2); }
.faq__list { margin-top: 2.6rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 420;
  padding: 1.3rem 3rem 1.3rem 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-size: 1.5rem; color: var(--accent); font-weight: 400;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 1.4rem; max-width: 60ch; color: var(--muted); }

/* ---- CTA final ---- */
.final { position: relative; background: var(--dark); overflow: hidden; }
.final__media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
}
.final__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(36,28,21,.82), rgba(36,28,21,.68) 50%, rgba(36,28,21,.88));
}
.final__content { position: relative; z-index: 2; text-align: center; width: min(820px, 100% - 48px); margin-inline: auto; color: var(--paper); }
.final__content h2 { color: var(--paper); margin-inline: auto; }
.final__content p { color: rgba(246,241,233,.85); max-width: 48ch; margin: 0 auto 2rem; font-size: 1.08rem; }

/* ---- Localização ---- */
.location__grid { display: grid; gap: 3rem; }
.location address { font-style: normal; font-size: 1.15rem; margin-bottom: 1rem; line-height: 1.5; }
.location__info p { color: var(--muted); margin-bottom: 2rem; }
.location__map { position: relative; min-height: 380px; }
.location__map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: sepia(.18) saturate(.9);
}
@media (min-width: 900px) { .location__grid { grid-template-columns: 1fr 1.2fr; align-items: stretch; } }

/* ---- Footer ---- */
.footer { background: var(--dark); color: rgba(246,241,233,.72); padding: 60px 0; font-size: .92rem; }
.footer__grid { display: grid; gap: 2rem; }
.footer__brand { font-family: var(--font-display); font-size: 1.4rem; color: var(--paper); margin-bottom: .3rem; }
.footer__brand em { color: var(--accent-soft); }
.footer a { color: var(--accent-soft); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- Reveal (só com JS ativo; sem JS tudo fica visível) ---- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Modal ---- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(36,28,21,.66); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal__box {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(520px, calc(100% - 32px)); max-height: calc(100svh - 48px); overflow-y: auto;
  background: var(--paper); border-radius: 8px; padding: clamp(26px, 5vw, 40px);
}
.modal__close {
  position: absolute; top: 12px; right: 14px; border: 0; background: none;
  font-size: 1.9rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 6px;
}
.modal__box h3 { font-size: 1.7rem; margin-bottom: .4rem; }
.modal__sub { color: var(--muted); margin-bottom: 1.6rem; font-size: .95rem; }
body.is-locked { overflow: hidden; }

.field { display: block; margin-bottom: 1.15rem; }
.field > span, .field > label, .field legend {
  display: block; font-size: .82rem; font-weight: 600; letter-spacing: .03em;
  margin-bottom: .45rem; color: var(--ink);
}
.field input[type="text"], .field input[type="tel"] {
  width: 100%; padding: 13px 14px; font-size: 1rem; font-family: var(--font-body);
  border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink);
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field--radio { border: 0; }
.field--radio label {
  display: flex; align-items: flex-start; gap: .6rem; padding: .55rem .8rem;
  border: 1px solid var(--line); border-radius: 4px; margin-bottom: .45rem;
  cursor: pointer; font-size: .93rem; background: #fff; transition: border-color .2s, background .2s;
}
.field--radio label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, #fff); }
.field--radio input { margin-top: .25rem; accent-color: var(--accent); }
.form__error { color: #A33B2C; font-size: .88rem; margin-bottom: 1rem; }
.modal__step > p { margin-bottom: 1.4rem; color: var(--muted); }

/* Prefixo +55 fixo no lugar do seletor de pais do intl-tel-input.
   O formulario so atende Brasil, entao a bandeirinha nao pagava as duas
   requisicoes bloqueantes ao jsDelivr que custava. */
.field__tel {
  display: flex; align-items: stretch;
  border: 1px solid var(--line); border-radius: 4px; background: #fff; overflow: hidden;
}
.field__tel:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field__ddi {
  display: flex; align-items: center; gap: .32rem; white-space: nowrap;
  padding: 13px 10px 13px 14px; font-size: 1rem; font-family: var(--font-body);
  color: var(--muted); background: var(--paper-2); border-right: 1px solid var(--line);
}
.field__tel input[type="tel"] { border: 0; border-radius: 0; flex: 1; min-width: 0; }
.field__tel input[type="tel"]:focus { outline: none; }

/* Botão flutuante de WhatsApp — o caminho de fuga de quem não quer preencher
   formulário nenhum. Fica acima do sticky bar do mobile. */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  transition: transform .2s ease;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.06); }
@media (max-width: 640px) {
  .whatsapp-float { bottom: 84px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-float { transition: none; } }


/* Widget de conversa do WhatsApp — molde CliniAmp
   ------------------------------------------------------------------
   Nasceu na LP do Dr. João Quirino e virou molde em 01/09/2026. Substitui o
   modal de sucesso: em vez de abrir um popup por cima da página, a pessoa
   digita o WhatsApp dentro de uma conversa que já parece começada.

   Todas as cores saem de variáveis com valor de reserva, então o arquivo
   funciona em LP que não tem design system nenhum. Para casar com a marca do
   cliente, defina --wa-marca e --wa-marca-texto no :root da LP.             */

:root {
  --wa-verde: #25D366;
  --wa-marca: var(--brand-navy, var(--cta-primary, #111827));
  --wa-marca-texto: var(--text-on-navy, #fff);
  --wa-fundo: var(--bg-primary, #fff);
  --wa-texto: var(--text-primary, #1f2937);
  --wa-balao-in: var(--bg-secondary, #f3f4f6);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--wa-verde);
  color: #fff;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
  transition: transform .2s ease;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.06); }

.wa-chat {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 61;
  width: min(340px, calc(100vw - 40px));
  background: var(--wa-fundo);
  color: var(--wa-texto);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.wa-chat.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.wa-chat__head {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1rem;
  background: var(--wa-marca);
  color: var(--wa-marca-texto);
}
.wa-chat__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .15);
  display: inline-flex; align-items: center; justify-content: center;
}
.wa-chat__avatar img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
/* Nem toda LP tem logo em arquivo. A inicial evita o ícone de imagem quebrada. */
.wa-chat__inicial { font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; }
.wa-chat__ident { display: flex; flex-direction: column; line-height: 1.25; flex: 1 1 auto; min-width: 0; }
.wa-chat__ident strong { font-size: .95rem; font-weight: 600; }
.wa-chat__ident small { font-size: .72rem; opacity: .75; display: flex; align-items: center; gap: .35rem; }
.wa-chat__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa-verde); display: inline-block; }
.wa-chat__close {
  background: none; border: 0; color: inherit;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  opacity: .65; padding: 0 .15rem;
}
.wa-chat__close:hover { opacity: 1; }

.wa-chat__body {
  padding: 1rem;
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  background: var(--wa-fundo);
}
.wa-chat__msg {
  max-width: 85%;
  padding: .55rem .7rem .35rem;
  border-radius: 12px;
  font-size: .87rem;
  line-height: 1.4;
  position: relative;
}
.wa-chat__msg p { margin: 0; }
.wa-chat__msg--in { align-self: flex-start; background: var(--wa-balao-in); border-bottom-left-radius: 4px; }
.wa-chat__msg--out { align-self: flex-end; background: #d9fdd3; color: #111b21; border-bottom-right-radius: 4px; }
.wa-chat__hora { display: block; text-align: right; font-size: .62rem; opacity: .5; margin-top: .15rem; }

.wa-chat__typing { display: inline-flex; gap: 3px; padding: .2rem 0; }
.wa-chat__typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; opacity: .35;
  animation: wa-pulso 1.2s infinite;
}
.wa-chat__typing i:nth-child(2) { animation-delay: .18s; }
.wa-chat__typing i:nth-child(3) { animation-delay: .36s; }
@keyframes wa-pulso { 0%, 60%, 100% { opacity: .25; } 30% { opacity: .85; } }

.wa-chat__cta {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  margin-top: .5rem; padding: .5rem .7rem;
  border-radius: 10px;
  background: var(--wa-verde); color: #fff;
  font-size: .82rem; font-weight: 600; text-decoration: none;
}
.wa-chat__cta svg { width: 17px; height: 17px; }

.wa-chat__aviso { margin: 0; padding: 0 1rem .5rem; font-size: .68rem; opacity: .6; }
.wa-chat__erro { margin: 0; padding: 0 1rem .4rem; font-size: .75rem; color: #b91c1c; }

.wa-chat__form { display: flex; gap: .5rem; padding: .75rem 1rem 1rem; align-items: center; }
.wa-chat__input {
  flex: 1 1 auto; min-width: 0;
  padding: .6rem .75rem;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 999px;
  font-size: .9rem;
  font-family: inherit;
  color: var(--wa-texto);
  background: var(--wa-fundo);
}
.wa-chat__input:focus { outline: 2px solid var(--wa-verde); outline-offset: 1px; }
.wa-chat__send {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: var(--wa-verde); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.wa-chat__send svg { width: 19px; height: 19px; }
.wa-chat__send:disabled { opacity: .55; cursor: default; }

@media (max-width: 640px) {
  .whatsapp-float { bottom: 84px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .wa-chat { bottom: 148px; right: 12px; }
  .wa-chat__body { max-height: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float, .wa-chat { transition: none; }
  .wa-chat__typing i { animation: none; }
}
