/* Fontes carregadas via <link> nas LPs (não bloqueia render) */

:root {
  --favo-bg: #0a0a0a;
  --favo-surface: #141414;
  --favo-surface-2: #1c1c1c;
  --favo-gold: #c5a07d;
  --favo-gold-hover: #d4b48a;
  --favo-btn-bg: linear-gradient(180deg, #d4b48a 0%, #c5a07d 45%, #b8926a 100%);
  --favo-btn-text: #1a1208;
  /* Texto legível SOBRE preenchimento dourado. No escuro o dourado é claro
     (tan), então o texto é escuro. No tema claro vira marrom escuro -> texto claro. */
  --favo-on-gold: #1a1410;
  --favo-text: #f5f5f0;
  --favo-muted: #9ca3af;
  --favo-border: rgba(197, 160, 125, 0.2);
  --favo-font-serif: "Playfair Display", Georgia, serif;
  --favo-font-sans: "DM Sans", system-ui, sans-serif;
  --favo-header-shell-bg: rgba(10, 10, 10, 0.92);
  --favo-nav-drawer-bg: #0c0c0c;
  --favo-nav-drawer-head-bg: #0c0c0c;
  --favo-nav-drawer-border: rgba(255, 255, 255, 0.08);
  --favo-nav-link-on-drawer: #f5f5f0;
  --favo-nav-backdrop-bg: rgba(0, 0, 0, 0.88);
  --header-h: 72px;
  --scroll-hint-bottom: max(0.75rem, env(safe-area-inset-bottom));
  --scroll-hint-h: 44px;
  --hero-scroll-reserve: calc(var(--scroll-hint-h) + var(--scroll-hint-bottom) + 1.25rem);
  /* Chat modal — escuro (padrão, estilo WhatsApp) */
  --favo-chat-backdrop: rgba(0, 0, 0, 0.75);
  --favo-chat-bg: #0b141a;
  --favo-chat-bg-image: linear-gradient(180deg, rgba(11, 20, 26, 0.97) 0%, rgba(11, 20, 26, 0.99) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30h60M30 0v60' stroke='%23ffffff' stroke-opacity='0.03'/%3E%3C/svg%3E");
  --favo-chat-panel-border: rgba(255, 255, 255, 0.08);
  --favo-chat-header-bg: #1f2c34;
  --favo-chat-header-text: #e9edef;
  --favo-chat-muted: #8696a0;
  --favo-chat-controls: #aebac1;
  --favo-chat-divider: rgba(255, 255, 255, 0.06);
  --favo-chat-avatar-bg: #2a3942;
  --favo-chat-bot-bg: #1f2c34;
  --favo-chat-bot-text: #e9edef;
  --favo-chat-user-bg: #005c4b;
  --favo-chat-user-text: #e9edef;
  --favo-chat-composer-bg: #1f2c34;
  --favo-chat-input-bg: #2a3942;
  --favo-chat-input-text: #e9edef;
  --favo-chat-chip-bg: #2a3942;
  --favo-chat-chip-border: rgba(255, 255, 255, 0.12);
  --favo-chat-day-bg: rgba(31, 44, 52, 0.9);
  --favo-chat-day-text: #8696a0;
  --favo-chat-pill-text: #d1d7db;
  --favo-chat-error-bg: rgba(248, 113, 113, 0.15);
  --favo-chat-error-text: #fca5a5;
  --favo-chat-send-bg: #e9edef;
  --favo-chat-send-icon: #111b21;
  --favo-chat-micro-bg: rgba(31, 44, 52, 0.85);
  --favo-chat-micro-text: #d1d7db;
  --favo-chat-media-grad: linear-gradient(135deg, #2a3942 0%, #1a252b 100%);
  --favo-chat-progress-bg: rgba(255, 255, 255, 0.06);
  --favo-chat-time-user: rgba(255, 255, 255, 0.55);
  --favo-chat-time-bot: rgba(134, 150, 160, 0.95);
  --favo-chat-status: rgba(255, 255, 255, 0.5);
  --favo-chat-undo-border: rgba(255, 255, 255, 0.15);
  --favo-chat-send-shadow: rgba(255, 255, 255, 0.12);
  --favo-chat-bubble-shadow: rgba(0, 0, 0, 0.2);
  --favo-chat-tip-bg: rgba(31, 44, 52, 0.92);
  --favo-chat-tip-border: rgba(197, 160, 125, 0.35);
  --favo-chat-case-bg: linear-gradient(
    145deg,
    rgba(197, 160, 125, 0.14) 0%,
    rgba(15, 20, 25, 0.92) 55%
  );
  --favo-chat-case-border: rgba(197, 160, 125, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .favo-scroll-hint {
    transition: opacity 0.15s ease, visibility 0.15s ease;
  }

  .favo-scroll-hint.js-scroll-hint:not(.is-hero-visible) {
    transform: translateX(-50%);
  }

  .favo-scroll-hint-dot {
    animation: none;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    opacity: 1;
  }

  .favo-section.reveal,
  .favo-hero-enter-item,
  .favo-modal-panel,
  .favo-snowball-core,
  .favo-snowball-ring {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .favo-section.reveal {
    opacity: 1;
    transform: none;
  }
}

body.favo-lp-page {
  margin: 0;
  font-family: var(--favo-font-sans);
  background: var(--favo-bg);
  color: var(--favo-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html.favo-modal-open,
body.favo-modal-open {
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
}

.favo-hidden {
  display: none !important;
}

/* Header */
.favo-header-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--favo-header-shell-bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
  overflow: visible;
}

.favo-header-shell.scrolled {
  border-bottom-color: var(--favo-border);
}

.favo-header {
  position: static;
  z-index: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 max(1rem, env(safe-area-inset-right)) 0
    max(1rem, env(safe-area-inset-left));
  background: transparent;
  border: none;
}

.favo-header-logo {
  flex-shrink: 0;
}

.favo-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--favo-border);
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
  margin-left: auto;
}

.favo-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--favo-text);
  transition: transform 0.2s, opacity 0.2s;
}

.favo-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.favo-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.favo-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.favo-nav {
  display: none;
  position: fixed;
  top: 0;
  left: auto;
  right: 0;
  bottom: 0;
  width: min(88vw, 320px);
  flex-direction: column;
  gap: 0;
  background: var(--favo-nav-drawer-bg);
  border-left: 1px solid var(--favo-border);
  border-right: none;
  padding: 0 0 2rem;
  z-index: 260;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.55);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.favo-nav.is-open {
  display: flex !important;
  visibility: visible !important;
}

.favo-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
  padding: max(0.85rem, env(safe-area-inset-top)) 1rem 0.85rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid var(--favo-nav-drawer-border);
  background: var(--favo-nav-drawer-head-bg);
  position: sticky;
  top: 0;
  z-index: 1;
}

.favo-drawer-head-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--favo-gold);
}

.favo-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0.5rem;
  background: var(--favo-gold);
  color: var(--favo-on-gold);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.favo-drawer-close:hover,
.favo-drawer-close:focus-visible {
  color: #0a0a0a;
  background: var(--favo-gold);
  outline: 2px solid rgba(197, 160, 125, 0.55);
  outline-offset: 2px;
}

.favo-drawer-close:active {
  background: var(--favo-gold);
  color: #0a0a0a;
}

.favo-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: var(--favo-nav-backdrop-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.favo-nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.favo-nav-open {
  overflow: hidden;
}

.favo-nav.is-open a {
  color: var(--favo-nav-link-on-drawer);
}

.favo-nav a {
  padding: 1rem 1.35rem;
  color: var(--favo-text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
  border-bottom: 1px solid var(--favo-nav-drawer-border);
}

.favo-nav a:hover,
.favo-nav a.is-active {
  color: var(--favo-gold);
  background: rgba(197, 160, 125, 0.08);
}

@media (min-width: 900px) {
  .favo-header-shell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .favo-header {
    flex: 0 0 auto;
    width: auto;
    padding: 0;
    justify-content: flex-start;
  }

  .favo-nav-toggle {
    display: none;
  }

  .favo-nav .favo-drawer-head,
  .favo-drawer-head--nav {
    display: none !important;
  }

  .favo-nav {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    left: auto;
    right: auto;
    bottom: auto;
    top: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0 0 0 0.35rem;
    overflow: visible;
  }

  .favo-header-shell > .favo-header-cta {
    flex-shrink: 0;
    margin-left: 0.35rem;
  }

  .favo-nav a {
    padding: 0.4rem 0.65rem;
    font-size: 0.78rem;
    color: var(--favo-text);
    border-bottom: none;
    white-space: nowrap;
  }
}


.favo-logo {
  height: 36px;
  width: auto;
  display: block;
}

.favo-header-cta {
  font-size: 0.8rem;
  padding: 0.55rem 1rem;
  overflow: visible;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Layout */
.favo-container {
  width: min(1100px, 100% - 2rem);
  margin: 0 auto;
}

.favo-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.favo-section.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Hero — largura total (pílula no centro da tela); copy no inner com max-width */
.favo-hero.favo-container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.favo-hero {
  box-sizing: border-box;
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  height: 100vh;
  height: 100svh;
  max-height: 100vh;
  max-height: 100svh;
  padding: calc(var(--header-h) + clamp(1.75rem, 4vh, 2.75rem)) max(1rem, env(safe-area-inset-right))
    max(0.5rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  overflow: hidden;
}

.favo-hero-inner {
  position: static;
  z-index: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  width: min(1100px, 100% - 2rem);
  max-width: 100%;
  min-height: 0;
  height: auto;
  flex: 1 1 auto;
  margin-inline: auto;
  box-sizing: border-box;
}

.favo-hero-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 0;
  max-height: 100%;
  width: 100%;
  overflow: hidden;
  padding-top: clamp(1.75rem, 5vh, 3.5rem);
  padding-bottom: 0.25rem;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .favo-hero-body {
    padding-top: clamp(2rem, 6vh, 4.25rem);
  }
}

.favo-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 420px;
  overflow: visible;
}

.favo-cta-stack .favo-btn-lg {
  width: 100%;
  max-width: none;
}

.favo-cta-stack .favo-consent-camouflage {
  margin: 0.65rem 0 0;
  max-width: none;
  width: 100%;
  text-align: center;
}

.favo-section-cta .favo-cta-stack {
  margin-inline: auto;
}

.favo-cta-block .favo-cta-stack {
  margin-inline: auto;
  max-width: 420px;
}

.favo-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--favo-gold);
  margin-bottom: 1rem;
}

.favo-hero .favo-badge {
  font-family: var(--favo-font-serif);
  font-size: clamp(1.35rem, 4.2vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-transform: none;
  margin-bottom: 0.5rem;
}

.favo-hero h1 {
  font-family: var(--favo-font-serif);
  font-size: clamp(1.65rem, 3.8vh + 1.1rem, 4.75rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 clamp(0.5rem, 1.8vh, 1.25rem);
  max-width: min(100%, 22ch);
}

/* Funil: uma versão do texto por breakpoint */
.favo-funnel-copy--short {
  display: none;
}

.favo-hero h1 .gold {
  color: var(--favo-gold);
  font-style: italic;
}

.favo-hero-lead {
  font-size: clamp(0.92rem, 1.4vh + 0.55rem, 1.45rem);
  line-height: 1.5;
  color: var(--favo-text);
  max-width: 38ch;
  margin: 0 0 clamp(0.65rem, 2vh, 1.75rem);
  opacity: 0.92;
}

.favo-motif {
  font-size: clamp(0.68rem, 1vh + 0.35rem, 0.8rem);
  letter-spacing: 0.2em;
  color: var(--favo-gold);
  opacity: 0.75;
  margin-bottom: clamp(0.35rem, 1.2vh, 1rem);
}

.favo-hero-enter-item {
  opacity: 0;
  transform: translateY(16px);
  animation: favoHeroIn 0.7s ease forwards;
}

.favo-hero-enter-item:nth-child(1) { animation-delay: 0.05s; }
.favo-hero-enter-item:nth-child(2) { animation-delay: 0.12s; }
.favo-hero-enter-item:nth-child(3) { animation-delay: 0.2s; }
.favo-hero-enter-item:nth-child(4) { animation-delay: 0.28s; }
.favo-hero-enter-item:nth-child(5) { animation-delay: 0.36s; }
.favo-hero-enter-item:nth-child(6) { animation-delay: 0.44s; }

@keyframes favoHeroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Indicador de scroll — fixo no rodapé da viewport (igual desktop) */
.favo-scroll-hint {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: var(--scroll-hint-bottom);
  width: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  text-decoration: none;
  opacity: 0.92;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s ease;
}

.favo-scroll-hint.js-scroll-hint {
  opacity: var(--scroll-hint-opacity, 0.92);
}

.favo-scroll-hint.js-scroll-hint:not(.is-hero-visible) {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

@media (min-width: 900px) {
  .favo-scroll-hint.js-scroll-hint:not(.is-hero-visible) {
    transform: translateX(-50%) translateY(8px);
  }
}

.favo-scroll-hint.is-hero-visible:hover,
.favo-scroll-hint.is-hero-visible:focus-visible,
.favo-scroll-hint:not(.js-scroll-hint):hover,
.favo-scroll-hint:not(.js-scroll-hint):focus-visible {
  opacity: 1;
}

.favo-scroll-hint.js-scroll-hint.is-hero-visible:hover,
.favo-scroll-hint.js-scroll-hint.is-hero-visible:focus-visible {
  opacity: min(1, calc(var(--scroll-hint-opacity, 0.92) + 0.08));
}

.favo-scroll-hint:focus-visible {
  outline: 2px solid var(--favo-gold);
  outline-offset: 6px;
  border-radius: 0.35rem;
}

.favo-scroll-hint.is-hero-visible:focus-visible,
.favo-scroll-hint:not(.js-scroll-hint):focus-visible {
  transform: translateX(-50%) translateY(0);
}

.favo-scroll-hint-pill {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 999px;
  position: relative;
  box-sizing: border-box;
  background: transparent;
}

.favo-scroll-hint-dot {
  position: absolute;
  left: 50%;
  background: var(--favo-gold);
  transform: translateX(-50%);
  animation: favoScrollHintDot 2.4s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  will-change: top, width, height, border-radius, opacity;
}

/* Viewports baixos (Nest Hub, mobile horizontal) — tipografia e espaços menores */
@media (max-height: 720px) {
  .favo-hero .favo-badge {
    font-size: clamp(1rem, 3vh + 0.5rem, 1.65rem);
    margin-bottom: 0.25rem;
  }

  .favo-hero h1 {
    font-size: clamp(1.35rem, 4.5vh + 0.65rem, 2.35rem);
    margin-bottom: 0.45rem;
  }

  .favo-hero-lead {
    margin-bottom: 0.65rem;
    font-size: clamp(0.85rem, 1.2vh + 0.45rem, 1.05rem);
  }

  .favo-cta-stack .favo-consent-camouflage {
    margin-top: 0.4rem;
    font-size: 0.62rem;
    line-height: 1.35;
  }

  .favo-scroll-hint-pill {
    width: 20px;
    height: 34px;
  }
}

@keyframes favoScrollHintDot {
  0% {
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    opacity: 1;
  }

  10% {
    top: 8px;
    width: 4px;
    height: 8px;
    border-radius: 3px;
  }

  45% {
    top: 21px;
    width: 4px;
    height: 10px;
    border-radius: 2px;
  }

  52% {
    top: calc(100% - 14px);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    opacity: 1;
  }

  58% {
    top: calc(100% - 15px);
    width: 4px;
    height: 8px;
    border-radius: 3px;
    opacity: 0.85;
  }

  62% {
    opacity: 0;
  }

  63% {
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    opacity: 0;
  }

  78% {
    opacity: 1;
  }

  100% {
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    opacity: 1;
  }
}

/* Typography sections */
.favo-section h2 {
  font-family: var(--favo-font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.favo-section h2 .gold {
  color: var(--favo-gold);
}

.favo-section-intro {
  color: var(--favo-muted);
  max-width: 60ch;
  margin: 0 0 2.5rem;
}

/* Cards grid */
.favo-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .favo-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .favo-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.favo-card {
  background: var(--favo-surface);
  border: 1px solid var(--favo-border);
  border-radius: 1rem;
  padding: 1.5rem;
}

.favo-card h3 {
  font-family: var(--favo-font-serif);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--favo-gold);
}

.favo-card p {
  margin: 0;
  color: var(--favo-muted);
  font-size: 0.95rem;
}

.favo-pain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.favo-pain-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--favo-border);
  color: var(--favo-muted);
  font-size: 0.95rem;
}

.favo-pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.favo-pain-icon {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--favo-gold);
  background: rgba(197, 160, 125, 0.15);
  padding: 0.2rem 0.45rem;
  border-radius: 0.25rem;
}

.favo-card-highlight {
  border-color: var(--favo-gold);
  box-shadow: 0 0 0 1px rgba(197, 160, 125, 0.15);
}

.favo-card-muted {
  opacity: 0.92;
  border-color: rgba(255, 255, 255, 0.08);
}

.favo-compare-diagram {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .favo-compare-diagram {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
}

.favo-compare-arrow {
  text-align: center;
  font-size: 1.5rem;
  color: var(--favo-gold);
}

.favo-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-left: 2px solid var(--favo-border);
  padding-left: 1.5rem;
}

.favo-timeline-item {
  position: relative;
}

.favo-timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1.5rem - 5px);
  top: 1.25rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--favo-gold);
  box-shadow: 0 0 0 4px var(--favo-bg);
}

.favo-timeline-phase {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--favo-gold);
  background: rgba(197, 160, 125, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}

.favo-timeline-item ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--favo-muted);
  font-size: 0.9rem;
}

.favo-timeline-item li {
  margin-bottom: 0.35rem;
}

.favo-section-cta {
  text-align: center;
  margin-top: 2rem;
}

.favo-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.favo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.favo-table th,
.favo-table td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--favo-border);
  text-align: left;
}

.favo-table thead th {
  background: var(--favo-surface);
  color: var(--favo-gold);
  font-family: var(--favo-font-serif);
}

.favo-table tbody th {
  color: var(--favo-muted);
  font-weight: 600;
}

.favo-table tbody td:last-child {
  color: var(--favo-text);
  background: rgba(197, 160, 125, 0.08);
}

.favo-snowball {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .favo-snowball {
    grid-template-columns: auto 1fr;
  }
}

.favo-snowball-visual {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.favo-snowball-core {
  position: absolute;
  inset: 35%;
  border-radius: 50%;
  background: var(--favo-gold);
  animation: favoSnowPulse 3s ease-in-out infinite;
}

.favo-snowball-ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--favo-border);
  border-radius: 50%;
  animation: favoSnowGrow 3s ease-in-out infinite;
}

.favo-snowball-ring-2 {
  animation-delay: 0.5s;
  inset: -12px;
}

.favo-snowball-ring-3 {
  animation-delay: 1s;
  inset: -24px;
  opacity: 0.5;
}

@keyframes favoSnowPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes favoSnowGrow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.02); }
}

.favo-testimonials {
  position: relative;
  max-width: min(26rem, 94vw);
  margin-inline: auto;
}

.favo-testimonials-empty {
  text-align: center;
  color: var(--favo-muted);
  font-size: 0.9rem;
}

.favo-resultados-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.favo-resultados-cta .favo-section-intro {
  margin-bottom: 0;
  max-width: 28ch;
}

.favo-wa-carousel {
  position: relative;
}

.favo-wa-carousel-viewport {
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  border-radius: 0.85rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 8px 28px rgba(0, 0, 0, 0.45);
  height: auto;
}

.favo-wa-carousel-resume {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(197, 160, 125, 0.45);
  border-radius: 999px;
  background: rgba(11, 20, 26, 0.88);
  color: var(--favo-gold);
  font-family: var(--favo-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.favo-wa-carousel-resume svg {
  flex-shrink: 0;
}

.favo-wa-carousel-resume[hidden] {
  display: none;
}

.favo-wa-carousel.is-pinned .favo-wa-carousel-viewport {
  box-shadow:
    0 0 0 1px rgba(197, 160, 125, 0.35),
    0 8px 28px rgba(0, 0, 0, 0.45);
}

.favo-wa-shot--still,
.favo-wa-shot--video {
  width: 100%;
  background: #0b141a;
}

.favo-wa-shot-frame {
  position: relative;
  width: 100%;
  background: #0b141a;
}

.favo-wa-shot-media {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
}

.favo-wa-shot-media--still {
  aspect-ratio: var(--wa-shot-ratio, 405 / 577);
  background: #0b141a;
}

.favo-wa-shot-media--video {
  aspect-ratio: var(--wa-aspect-w, 9) / var(--wa-aspect-h, 16);
  overflow: hidden;
}

.favo-wa-shot-touch-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  touch-action: none;
  -webkit-touch-callout: none;
  background: transparent;
}

.favo-wa-shot-media--video video,
.favo-wa-shot-media--still .favo-wa-shot-img,
[data-testimonial-audio-src] {
  pointer-events: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
}

.favo-wa-shot-frame--video {
  overflow: hidden;
}

.favo-wa-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.32rem 0.38rem;
  padding: 0.42rem 0.48rem 0.38rem;
  background: rgba(8, 14, 18, 0.96);
  border-bottom: 1px solid rgba(197, 160, 125, 0.18);
}

.favo-wa-tag {
  display: inline-flex;
  align-items: baseline;
  flex: 0 0 auto;
  gap: 0.28rem;
  padding: 0.22rem 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 125, 0.28);
  background: rgba(11, 20, 26, 0.88);
  line-height: 1.15;
  max-width: 100%;
  box-sizing: border-box;
}

.favo-wa-tag--highlight {
  border-color: rgba(197, 160, 125, 0.72);
  background: rgba(197, 160, 125, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(197, 160, 125, 0.12);
}

.favo-wa-tag-label {
  font-family: var(--favo-font-sans);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(233, 237, 239, 0.52);
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

.favo-wa-tag-value {
  font-family: var(--favo-font-sans);
  font-size: clamp(0.62rem, 2.4vw, 0.74rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: #e9edef;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

.favo-wa-tag--highlight .favo-wa-tag-value {
  color: var(--favo-gold);
}

.favo-wa-detail {
  padding: 0.5rem 0.55rem 0.48rem;
  background: rgba(11, 14, 18, 0.98);
  border-top: 1px solid rgba(197, 160, 125, 0.24);
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.favo-wa-detail--compact {
  padding: 0.42rem 0.52rem 0.36rem;
}

.favo-wa-detail-head {
  margin: 0 0 0.32rem;
  font-family: var(--favo-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(233, 237, 239, 0.88);
  line-height: 1.35;
  text-align: center;
}

.favo-wa-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem 0.5rem;
  align-items: end;
}

.favo-wa-detail-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  min-width: 0;
  text-align: center;
}

.favo-wa-detail-cell-label {
  font-family: var(--favo-font-sans);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(233, 237, 239, 0.5);
  white-space: nowrap;
}

.favo-wa-detail-cell-value {
  font-family: var(--favo-font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: #e9edef;
  white-space: nowrap;
}

.favo-wa-detail-cell--highlight .favo-wa-detail-cell-label {
  color: rgba(197, 160, 125, 0.85);
}

.favo-wa-detail-cell--highlight .favo-wa-detail-cell-value {
  font-size: 0.84rem;
  color: var(--favo-gold);
}

.favo-wa-detail--video {
  text-align: center;
}

.favo-wa-detail-video-line {
  margin: 0 0 0.22rem;
  font-family: var(--favo-font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(233, 237, 239, 0.9);
  line-height: 1.3;
}

.favo-wa-detail-video-sub {
  margin: 0;
  font-family: var(--favo-font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--favo-gold);
  line-height: 1.35;
}

.favo-wa-shot {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #0b141a;
}

.favo-wa-shot-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center top;
  image-rendering: auto;
}

.favo-wa-shot--video {
  position: relative;
}

.favo-wa-shot-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: #000;
}

.favo-wa-carousel-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.favo-wa-carousel-track.is-dragging {
  transition: none;
  cursor: grabbing;
}

.favo-wa-carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.favo-wa-carousel-zone {
  position: absolute;
  top: 0;
  bottom: 1.6rem;
  width: 22%;
  z-index: 3;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.favo-wa-carousel-zone:focus,
.favo-wa-carousel-zone:focus-visible,
.favo-wa-carousel-zone:active {
  outline: none;
  background: transparent;
  box-shadow: none;
}

.favo-wa-carousel-zone--prev {
  left: -6%;
}

.favo-wa-carousel-zone--next {
  right: -6%;
}

.favo-wa-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.favo-wa-carousel-dot {
  width: 0.4rem;
  height: 0.4rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(197, 160, 125, 0.22);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.favo-wa-carousel-dot.is-active {
  background: var(--favo-gold);
  transform: scale(1.15);
}

.favo-wa-audio-play {
  position: absolute;
  left: 50%;
  bottom: 0.65rem;
  transform: translateX(-50%);
  z-index: 3;
  padding: 0.45rem 0.85rem;
  border: none;
  border-radius: 999px;
  font-family: var(--favo-font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: #0b141a;
  background: rgba(233, 237, 239, 0.94);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.favo-wa-audio-play[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .favo-wa-carousel-track {
    transition: none;
  }
}

/* ---- Modo "peek": case lateral espiando (sensação de "tem mais") ---- */
.favo-wa-carousel--peek .favo-wa-carousel-track {
  gap: clamp(0.5rem, 2.4vw, 0.9rem);
}

.favo-wa-carousel--peek .favo-wa-carousel-slide {
  flex: 0 0 82%;
  min-width: 82%;
  opacity: 0.38;
  transform: scale(0.94);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.favo-wa-carousel--peek .favo-wa-carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.favo-wa-carousel--peek .favo-wa-carousel-zone--prev {
  left: 0;
}

.favo-wa-carousel--peek .favo-wa-carousel-zone--next {
  right: 0;
}

@media (min-width: 600px) {
  .favo-wa-carousel--peek .favo-wa-carousel-slide {
    flex-basis: 74%;
    min-width: 74%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .favo-wa-carousel--peek .favo-wa-carousel-slide {
    transition: none;
  }
}

.favo-faq {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.favo-faq-item {
  border: 1px solid var(--favo-border);
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--favo-surface);
}

.favo-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: none;
  background: transparent;
  color: var(--favo-text);
  font-family: var(--favo-font-serif);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
}

.favo-faq-q::after {
  content: "+";
  color: var(--favo-gold);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.favo-faq-item.is-open .favo-faq-q::after {
  content: "−";
}

.favo-faq-a {
  display: none;
  padding: 0 1.25rem 1rem;
  margin: 0;
  color: var(--favo-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.favo-faq-item.is-open .favo-faq-a {
  display: block;
}

.favo-cta-intro {
  margin-left: auto;
  margin-right: auto;
}

.favo-footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0.75rem 0;
}

.favo-footer-links a {
  color: var(--favo-gold);
  text-decoration: none;
  font-size: 0.85rem;
}

.favo-footer-links a:hover {
  text-decoration: underline;
}

.favo-footer-legal {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
}

.favo-footer-legal a {
  color: var(--favo-muted);
}

.favo-modal-proof {
  font-size: 0.8rem;
  color: var(--favo-muted);
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  background: rgba(197, 160, 125, 0.1);
  border-radius: 0.5rem;
  border-left: 3px solid var(--favo-gold);
}

.wizard-field-error {
  display: block;
  color: #f87171;
  font-size: 0.78rem;
  margin-top: 0.35rem;
  min-height: 1.1em;
}

.wizard-input.is-invalid,
.wizard-opt.is-invalid {
  border-color: #f87171;
}

/* CTA block */
.favo-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  background: transparent;
  border-radius: 0;
  border: none;
}

.favo-cta-block h2 {
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.favo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.75rem;
  border: none;
  border-radius: 0.5rem;
  font-family: var(--favo-font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: var(--favo-on-gold);
  background: var(--favo-gold);
}

.favo-btn:hover {
  background: var(--favo-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(197, 160, 125, 0.25);
}

.favo-btn-lg {
  width: 100%;
  max-width: 420px;
  font-size: 1rem;
  padding: 1rem 1.5rem;
}

.favo-consent-camouflage {
  display: block;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--favo-muted);
  opacity: 0.55;
}

.favo-consent-camouflage--chat {
  margin: 0.5rem 0 0;
  max-width: none;
  font-size: 0.62rem;
  opacity: 0.42;
}

.favo-consent-camouflage a {
  color: inherit;
  text-decoration: underline;
}

/* Footer */
.favo-footer {
  padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--favo-border);
  text-align: center;
  color: var(--favo-muted);
  font-size: 0.8rem;
}

.favo-footer .favo-logo {
  margin: 0 auto 0.75rem;
  height: 28px;
  opacity: 0.9;
}

/* Modal — hidden por padrão (display:flex quebrava o atributo [hidden]) */
.favo-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  visibility: hidden;
  pointer-events: none;
}

.favo-modal.is-open {
  display: flex;
  visibility: visible;
  pointer-events: auto;
}

.favo-modal[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (min-width: 640px) {
  .favo-modal.is-open {
    align-items: center;
    padding: 1rem;
  }
}

.favo-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--favo-chat-backdrop, rgba(0, 0, 0, 0.75));
  backdrop-filter: blur(6px);
  overscroll-behavior: contain;
  touch-action: none;
}

/* Mobile/aparelhos fracos: backdrop-filter (blur de tudo atrás) trava telas antigas.
   No celular o chat ocupa a tela toda, então o blur nem aparece — pode cair. */
@media (max-width: 560px) {
  .favo-modal-backdrop {
    backdrop-filter: none;
  }
}

.favo-modal-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: 96dvh;
  background: var(--favo-surface);
  border: 1px solid var(--favo-border);
  border-radius: 1.25rem 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  animation: favoModalIn 0.35s ease;
}

@media (min-width: 640px) {
  .favo-modal-panel {
    max-width: 440px;
    max-height: 90dvh;
    border-radius: 1.25rem;
  }
}

@keyframes favoModalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.favo-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--favo-border);
  padding-top: max(1rem, env(safe-area-inset-top));
}

.favo-modal-header img {
  height: 28px;
}

.favo-modal-close {
  background: transparent;
  border: none;
  color: var(--favo-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  min-width: 44px;
  min-height: 44px;
}

.favo-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  -webkit-overflow-scrolling: touch;
}

.wizard-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.wizard-dot {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--favo-surface-2);
  transition: background 0.3s;
}

.wizard-dot.active,
.wizard-dot.done {
  background: var(--favo-gold);
}

#wizard-step-title {
  font-family: var(--favo-font-serif);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

#wizard-step-sub {
  margin: 0 0 1.25rem;
  color: var(--favo-muted);
  font-size: 0.9rem;
}

.wizard-field {
  margin-bottom: 1.1rem;
}

.wizard-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--favo-muted);
}

.wizard-input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--favo-border);
  border-radius: 0.5rem;
  background: var(--favo-bg);
  color: var(--favo-text);
  font-size: 1rem;
  font-family: inherit;
}

.wizard-input:focus {
  outline: 2px solid var(--favo-gold);
  outline-offset: 0;
}

.wizard-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wizard-opt {
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--favo-border);
  border-radius: 0.5rem;
  background: var(--favo-bg);
  color: var(--favo-text);
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.wizard-opt:hover,
.wizard-opt.selected {
  border-color: var(--favo-gold);
  background: rgba(197, 160, 125, 0.1);
}

#wizard-error {
  color: #f87171;
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
}

#wizard-error[hidden] {
  display: none !important;
}

.favo-modal-footer {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--favo-border);
}

.favo-btn-ghost {
  background: transparent;
  color: var(--favo-muted);
  border: 1px solid var(--favo-border);
  flex: 0 0 auto;
}

.favo-btn-ghost:hover {
  background: var(--favo-surface-2);
  color: var(--favo-text);
  transform: none;
  box-shadow: none;
}

#wizard-next {
  flex: 1;
}

.favo-config-warn {
  max-width: 520px;
  margin: 1rem auto;
  padding: 0.75rem 1rem;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 0.5rem;
  font-size: 0.8rem;
  color: #fcd34d;
  text-align: center;
}

.favo-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Chat conversacional (modal WhatsApp-style) */
.favo-modal--chat .favo-modal-footer {
  display: none !important;
}

.favo-modal--chat.is-open .favo-modal-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  height: min(88dvh, 640px);
  max-height: 88dvh;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 0.85rem;
  border: 1px solid var(--favo-chat-panel-border);
  background: var(--favo-chat-bg);
  background-image: var(--favo-chat-bg-image);
}

@media (min-width: 640px) {
  .favo-modal--chat.is-open .favo-modal-panel {
    width: min(100vw - 2rem, 400px);
    max-width: 400px;
    height: min(88dvh, 640px);
    max-height: min(88dvh, 640px);
    border-radius: 0.75rem;
    border: 1px solid var(--favo-chat-panel-border);
  }
}

.favo-modal--chat .favo-modal-panel::before {
  display: none;
}

.favo-modal--chat .favo-modal-header,
.favo-modal--chat .favo-modal-body,
.favo-modal--chat .favo-chat-progress,
.favo-modal--chat .favo-chat-calendly-header {
  position: relative;
  z-index: 1;
}

.favo-modal--chat .favo-modal-body {
  flex: 1;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.favo-modal--chat .favo-modal-header.favo-chat-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 0.65rem;
  row-gap: 0;
  padding: 0.5rem 0.6rem;
  padding-top: max(0.5rem, env(safe-area-inset-top));
  justify-content: initial;
  border-bottom: 1px solid var(--favo-chat-divider);
  background: var(--favo-chat-header-bg);
  flex-shrink: 0;
}

.favo-chat-header-start {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.favo-chat-undo--header {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(201, 162, 77, 0.55);
  color: #fff;
  box-shadow: 0 0 14px rgba(201, 162, 77, 0.18);
}

.favo-chat-undo--header:not([hidden]):not(:disabled):hover {
  background: rgba(201, 162, 77, 0.16);
  border-color: var(--favo-gold);
}

.favo-modal--chat .favo-modal-header.favo-chat-header img.favo-chat-header-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  padding: 0;
  box-sizing: border-box;
  background: var(--favo-gold);
  border: none;
}

.favo-chat-header-text {
  min-width: 0;
  overflow: hidden;
}

.favo-chat-header-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--favo-chat-header-text);
  margin: 0 0 0.1rem;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.favo-chat-header-meta {
  display: block;
  font-size: 0.7rem;
  line-height: 1.25;
  color: var(--favo-chat-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes favoStatusPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.82;
  }
}

.favo-chat-header-meta .favo-chat-status-dot {
  display: inline-block;
  vertical-align: middle;
  width: 6px;
  height: 6px;
  margin-right: 0.2rem;
  border-radius: 50%;
  background: #25d366;
  animation: favoStatusPulse 3.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .favo-chat-header-meta .favo-chat-status-dot {
    animation: none;
  }
}

.favo-chat-header-sep {
  margin: 0 0.15rem;
  opacity: 0.7;
}

.favo-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex-shrink: 0;
}

.favo-chat-input-row {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--favo-chat-composer-bg);
  border-top: 1px solid var(--favo-chat-divider);
}

.favo-chat-input-row > .favo-chat-composer {
  flex: 1;
  min-width: 0;
}

.favo-chat-shell > .favo-chat-input-row > #chat-undo,
.favo-chat-input-row--wa > .favo-chat-undo {
  display: none !important;
}

.favo-chat-undo[hidden] {
  display: none !important;
}

.favo-chat-undo {
  position: static;
  flex-shrink: 0;
  z-index: 4;
  margin: 0;
  box-sizing: border-box;
  font-size: 0;
  padding: 0;
  width: 42px;
  height: 42px;
  min-height: 42px;
  min-width: 42px;
  display: grid;
  place-items: center;
  line-height: 0;
  color: var(--favo-chat-controls);
  border: 1px solid var(--favo-chat-undo-border);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  white-space: nowrap;
  transform: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.favo-chat-undo::before {
  content: none;
  display: none;
}

.favo-modal--chat .favo-chat-undo.favo-btn,
.favo-modal--chat .favo-chat-undo.favo-btn-ghost {
  min-height: 42px;
  min-width: 42px;
  padding: 0;
  gap: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--favo-chat-undo-border);
}

.favo-modal--chat .favo-chat-undo.favo-btn-ghost:hover {
  background: rgba(0, 0, 0, 0.45);
  transform: none;
  box-shadow: none;
}

.favo-chat-undo-icon,
.favo-chat-send-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  pointer-events: none;
}

.favo-chat-undo:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.favo-modal--calendly .favo-chat-undo,
.favo-modal--calendly .favo-chat-undo--header {
  display: none;
}

.favo-chat-undo--header {
  justify-self: start;
}

.favo-modal--profile-reveal .favo-chat-composer,
.favo-modal--profile-reveal .favo-chat-input-row .favo-chat-undo:not(.favo-chat-undo--header),
.favo-modal--profile-reveal .favo-chat-thread,
.favo-modal--profile-reveal .favo-chat-progress {
  display: none !important;
}

.favo-chat-profile-reveal {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--favo-chat-bg, #0b141a);
  overflow-x: hidden;
  overflow-y: auto;
  text-align: center;
  -webkit-overflow-scrolling: touch;
}

.favo-chat-profile-case-wrap {
  flex: 0 0 auto;
  width: 100%;
  max-width: 21.5rem;
  margin: 0 auto;
}

.favo-chat-profile-case {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  padding: 0.8rem 0.85rem 0.95rem;
  border-radius: 0.85rem 0.85rem 0 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.025) 55%,
    transparent 100%
  );
  border: 1px solid rgba(201, 162, 77, 0.4);
  border-bottom: none;
  box-shadow: inset 0 1px 0 rgba(201, 162, 77, 0.12);
  text-align: center;
}

.favo-chat-profile-case-badge {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--favo-gold);
  line-height: 1.2;
}

.favo-chat-profile-case-intro {
  margin: 0 0 0.5rem;
  font-size: clamp(0.8rem, 2.95vw, 0.88rem);
  font-weight: 500;
  line-height: 1.4;
  color: rgba(233, 237, 239, 0.92);
}

.favo-chat-profile-case-client {
  margin: 0 0 0.15rem;
  font-size: clamp(0.92rem, 3.4vw, 1.02rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--favo-chat-header-text);
}

.favo-chat-profile-case-client-meta {
  margin: 0 0 0.6rem;
  font-size: clamp(0.72rem, 2.65vw, 0.8rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--favo-chat-muted);
}

.favo-chat-profile-case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem 0.4rem;
  margin: 0 0 0.6rem;
  padding: 0.5rem 0.35rem;
  border-radius: 0.55rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(201, 162, 77, 0.14);
}

.favo-chat-profile-case-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.08rem;
  min-width: 0;
  padding: 0 0.1rem;
}

.favo-chat-profile-case-metric-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(201, 162, 77, 0.82);
}

.favo-chat-profile-case-metric-value {
  font-size: clamp(0.88rem, 3.2vw, 0.98rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--favo-gold);
  word-break: break-word;
}

.favo-chat-profile-case-metric-suffix {
  font-size: 0.62rem;
  line-height: 1.15;
  color: var(--favo-chat-muted);
}

.favo-chat-profile-case-closing {
  margin: 0;
  font-size: clamp(0.74rem, 2.75vw, 0.82rem);
  line-height: 1.4;
  color: rgba(233, 237, 239, 0.78);
}

.favo-chat-profile-center {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  max-height: 5rem;
  padding: 0.15rem 0;
}

.favo-chat-profile-honey-wrap {
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.favo-honeycomb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1rem);
  grid-template-rows: repeat(3, 0.88rem);
  gap: 0.16rem 0.22rem;
  justify-content: center;
  align-content: center;
  margin: 0 auto;
}

.favo-honeycomb-cell {
  width: 1rem;
  height: 1.15rem;
  justify-self: center;
  align-self: center;
  background: var(--favo-gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0.28;
  transform: scale(0.92);
  animation: favoHoneycombPulse 1.35s ease-in-out infinite;
}

@keyframes favoHoneycombPulse {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .favo-honeycomb-cell {
    animation: none;
    opacity: 0.75;
  }
}

.favo-chat-profile-status-wrap {
  flex: 0 0 auto;
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 2.75rem;
  max-height: 3.75rem;
  padding-top: 0.25rem;
}

.favo-chat-profile-status {
  flex-shrink: 0;
  margin: 0;
  min-height: 2.5em;
  max-width: 20rem;
  font-size: clamp(0.82rem, 3.05vw, 0.9rem);
  line-height: 1.45;
  color: var(--favo-chat-header-text);
  padding: 0;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.favo-chat-profile-status--in {
  opacity: 1;
  transform: translateY(0);
}

.favo-chat-profile-status--out {
  opacity: 0;
  transform: translateY(6px);
}

.favo-profile-highlight {
  color: var(--favo-gold);
  font-weight: 700;
}

.favo-profile-dots {
  display: inline-block;
  min-width: 1.25em;
  text-align: left;
  letter-spacing: 0.05em;
  color: var(--favo-gold);
}

.favo-modal--chat .favo-chat-close {
  color: var(--favo-chat-controls);
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.favo-chat-progress {
  height: 2px;
  background: var(--favo-chat-progress-bg);
  flex-shrink: 0;
}

.favo-chat-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--favo-gold);
  transition: width 0.45s ease;
}

.favo-chat-calendly-header {
  padding: 0.55rem 0.85rem;
  background: var(--favo-chat-header-bg);
  border-bottom: 1px solid var(--favo-chat-divider);
  flex-shrink: 0;
}

.favo-chat-calendly-title {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--favo-chat-header-text);
  text-align: center;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.favo-modal--calendly-intro .favo-chat-thread,
.favo-modal--calendly-intro .favo-chat-composer,
.favo-modal--calendly-intro .favo-chat-progress,
.favo-modal--calendly-intro .favo-chat-input-row {
  display: none !important;
}

.favo-modal--calendly-intro.is-open .favo-modal-panel,
.favo-modal--calendly.is-open .favo-modal-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
}

.favo-modal--calendly-intro .favo-modal-body--chat,
.favo-modal--calendly .favo-modal-body--chat {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.favo-modal--calendly-intro .favo-chat-shell,
.favo-modal--calendly .favo-chat-shell {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.favo-modal--calendly .favo-chat-shell--calendly-dormant,
.favo-modal--calendly-intro .favo-chat-shell--calendly-dormant {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.favo-modal--calendly #chat-calendly-slot.favo-chat-calendly--docked,
.favo-modal--calendly-intro #chat-calendly-slot.favo-chat-calendly--docked {
  position: relative !important;
  inset: auto !important;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  z-index: 3;
  pointer-events: auto;
  touch-action: manipulation;
}

.favo-modal--calendly-intro #chat-calendly-slot {
  display: flex !important;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: var(--favo-chat-bg);
}

.favo-modal--calendly-intro .favo-chat-calendly-header {
  display: flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 0;
  max-height: 6.5rem;
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid var(--favo-chat-divider);
}

.favo-chat-calendly-hero {
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
}

.favo-chat-calendly-hero-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--favo-chat-header-text);
  text-align: center;
}

.favo-modal--calendly .favo-chat-calendly-header {
  padding: 0.4rem 0.65rem;
  min-height: 0;
  max-height: 5.5rem;
  flex: 0 0 auto;
  overflow: hidden;
}

.favo-modal--calendly .favo-chat-calendly-hero-text {
  font-size: 0.78rem;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.favo-modal--calendly .favo-modal-body--chat {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.favo-modal-body--chat {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.favo-chat-shell {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--favo-chat-bg);
  position: relative;
}

.favo-modal--chat .favo-chat-composer {
  padding-left: 0;
}

.favo-modal--rate-limited .favo-chat-input-row {
  padding-left: 0.65rem;
  padding-right: 0.65rem;
  padding-bottom: 0.75rem;
}

.favo-modal--rate-limited .favo-chat-composer {
  padding: 0;
}

.favo-modal--rate-limited .favo-chat-undo,
.favo-modal--rate-limited .favo-chat-undo--header,
.favo-modal--rate-limited .favo-chat-progress {
  display: none !important;
}

.favo-chat-rate-limit {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.35rem 0 0.25rem;
  width: 100%;
}

.favo-chat-rate-limit-title {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--favo-chat-header-text);
  text-align: center;
}

.favo-chat-rate-limit-sub {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--favo-chat-controls);
  text-align: center;
  opacity: 0.9;
}

.favo-chat-rate-limit-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.favo-chat-rate-limit-btn {
  width: 100%;
  justify-content: center;
  min-height: 44px;
  text-decoration: none;
}

.favo-chat-thread {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 0.65rem 0.5rem;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  overflow-anchor: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

/* Agendador próprio (favo): takeover do corpo do chat, igual ao preview.
   Ocupa a área das mensagens (sem fullscreen do navegador) e sobe de baixo. */
.favo-chat-calendly.favo-sched-takeover {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  pointer-events: auto;
  touch-action: manipulation;
  background: var(--favo-chat-bg);
  background-image: var(--favo-chat-bg-image);
  padding: 0.9rem 0.85rem 1.1rem;
  animation: favoSchedRise 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

@keyframes favoSchedRise {
  0% {
    transform: translateY(64px);
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .favo-chat-calendly.favo-sched-takeover {
    animation: none;
  }
}

.favo-sched-intro {
  flex: 0 0 auto;
  background: var(--favo-chat-bot-bg);
  color: var(--favo-chat-bot-text);
  border: 1px solid var(--favo-chat-divider);
  border-radius: 14px;
  padding: 0.6rem 0.8rem;
  font-size: 0.88rem;
  line-height: 1.45;
  margin-bottom: 0.7rem;
  box-shadow: 0 1px 0.5px var(--favo-chat-bubble-shadow);
}

.favo-sched-intro b {
  color: var(--favo-gold);
  font-weight: 700;
}

.favo-sched-host {
  flex: 0 0 auto;
  width: 100%;
}

.favo-chat-thread:hover {
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.favo-chat-thread::-webkit-scrollbar {
  width: 6px;
}

.favo-chat-thread::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 3px;
}

.favo-chat-thread:hover::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
}

.favo-chat-day {
  align-self: center;
  font-size: 0.68rem;
  color: var(--favo-chat-day-text);
  background: var(--favo-chat-day-bg);
  padding: 0.25rem 0.65rem;
  border-radius: 0.5rem;
  margin: 0.25rem 0 0.35rem;
}

.favo-chat-row {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  max-width: 100%;
  animation: favoBubbleIn 0.28s ease;
}

.favo-chat-row--bot {
  align-self: flex-start;
}

.favo-chat-row--user {
  align-self: flex-end;
  width: 100%;
  justify-content: flex-end;
}

.favo-chat-row .favo-chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  flex-shrink: 0;
  background: var(--favo-gold);
}

.favo-chat-avatar-spacer {
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.favo-chat-row--continued {
  align-items: flex-end;
  margin-top: -0.2rem;
}

.favo-chat-row--typing.favo-chat-row--continued .favo-chat-typing {
  margin-bottom: 0.1rem;
}

.favo-chat-bubble {
  max-width: min(85%, 300px);
  padding: 0.4rem 0.55rem 0.32rem 0.65rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.38;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.favo-chat-bubble-text {
  display: inline;
  white-space: pre-wrap;
}

.favo-chat-bubble-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  float: right;
  margin: 0.42rem 0 -0.05rem 0.55rem;
  height: 0.8rem;
  vertical-align: bottom;
  white-space: nowrap;
}

.favo-chat-bubble-time {
  font-size: 0.65rem;
  line-height: 1;
  color: var(--favo-chat-time-user);
}

.favo-chat-bubble--bot .favo-chat-bubble-time {
  color: var(--favo-chat-time-bot);
}

.favo-chat-bubble-status {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  color: var(--favo-chat-status);
}

.favo-chat-bubble-status--read {
  color: #53bdeb;
}

.favo-wa-tick {
  display: block;
  width: 12px;
  height: 11px;
  flex-shrink: 0;
}

@keyframes favoBubbleIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.favo-chat-bubble--bot {
  background: var(--favo-chat-bot-bg);
  color: var(--favo-chat-bot-text);
  border-bottom-left-radius: 0.15rem;
  box-shadow: 0 1px 0.5px var(--favo-chat-bubble-shadow);
}

.favo-chat-bubble--user {
  flex: 0 1 auto;
  min-width: min(52%, 200px);
  max-width: min(85%, 300px);
  margin-left: auto;
  background: var(--favo-chat-user-bg);
  color: var(--favo-chat-user-text);
  border-bottom-right-radius: 0.15rem;
  box-shadow: 0 1px 0.5px var(--favo-chat-bubble-shadow);
}

.favo-chat-bubble--pill {
  font-size: 0.84rem;
  color: var(--favo-chat-pill-text);
  background: var(--favo-chat-tip-bg);
  border: 1px solid var(--favo-chat-tip-border);
}

.favo-chat-bubble--case {
  max-width: min(92%, 320px);
  padding: 0.65rem 0.75rem 0.7rem;
  background: var(--favo-chat-case-bg);
  border: 1px solid var(--favo-chat-case-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* Microcases (prints/depoimentos) — espelha chat/chat.css para o modal da LP. */
.favo-chat-bubble--microcases {
  max-width: min(92%, 320px);
  padding: 0.65rem;
}

.favo-chat-microcases {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.favo-chat-microcase-card {
  border-radius: 0.75rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.favo-chat-microcase-card--reveal {
  animation: favo-microcase-in 0.45s ease-out both;
}

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

.favo-chat-microcase-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: min(52dvh, 22rem);
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.favo-chat-microcase-img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: min(52dvh, 22rem);
  object-fit: contain;
  object-position: center top;
}

.favo-chat-microcase-headline {
  margin: 0.65rem 0.75rem 0.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.35;
}

.favo-chat-microcase-detail {
  margin: 0 0.75rem 0.65rem;
  font-size: 0.8rem;
  opacity: 0.8;
  line-height: 1.35;
}

.favo-chat-microcase-transcript {
  margin: 0 0.75rem 0.75rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.8rem;
  line-height: 1.45;
  font-style: italic;
  opacity: 0.9;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0.5rem 0.5rem 0;
}

.favo-chat-microcase-audio {
  display: none;
}

.favo-chat-case-lead {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.45rem;
  color: var(--favo-chat-bot-text);
}

.favo-chat-case-body,
.favo-chat-case-proof {
  display: block;
  font-size: 0.84rem;
  line-height: 1.42;
  margin: 0 0 0.4rem;
  color: var(--favo-chat-pill-text);
}

.favo-chat-case-proof {
  font-weight: 600;
  color: rgba(197, 160, 125, 0.95);
  margin-bottom: 0;
}

.favo-chat-bubble--error {
  background: var(--favo-chat-error-bg);
  color: var(--favo-chat-error-text);
}

.favo-chat-bubble--muted {
  font-size: 0.8rem;
  color: var(--favo-chat-muted);
}

.favo-chat-bubble--rich {
  padding: 0.35rem 0.45rem 0.4rem;
  max-width: min(85%, 300px);
}

.favo-chat-bubble-media {
  width: 100%;
  height: 48px;
  border-radius: 0.35rem;
  margin-bottom: 0.4rem;
  background: var(--favo-chat-media-grad);
}

.favo-chat-bubble-rich-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.38;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.favo-chat-bubble-rich-meta {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--favo-chat-muted);
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.favo-chat-row--typing .favo-chat-typing {
  display: flex;
  gap: 4px;
  padding: 0.65rem 0.85rem;
  background: var(--favo-chat-bot-bg);
  border-radius: 0.55rem;
  border-bottom-left-radius: 0.15rem;
}

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

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

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

@keyframes favoTypingDot {
  0%, 80%, 100% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}

.favo-chat-composer {
  flex: 1;
  min-width: 0;
  padding: 0;
  background: transparent;
  border-top: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: stretch;
}

.favo-chat-composer-row--chips {
  width: 100%;
  display: flex;
  justify-content: center;
}

.favo-chat-chips {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
  max-width: 22rem;
}

@media (min-width: 520px) {
  .favo-chat-chips {
    max-width: 24rem;
  }
}

.favo-chat-composer-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 2.5rem;
}

.favo-chat-action {
  flex-shrink: 0;
  min-height: 40px;
  padding: 0.5rem 1.1rem;
  border: none;
  border-radius: 999px;
  background: var(--favo-btn-bg, var(--favo-gold));
  color: var(--favo-btn-text, #1a1208);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(197, 160, 125, 0.28);
  transition: transform 0.15s, opacity 0.15s;
}

.favo-chat-action:hover:not(:disabled) {
  transform: translateY(-1px);
}

.favo-chat-action:disabled,
.favo-chat-action[hidden] {
  display: none;
}

.favo-chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.favo-chat-composer-row--chips .favo-chat-chips {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
}

.favo-chat-chip {
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--favo-chat-chip-border);
  border-radius: 999px;
  background: var(--favo-chat-chip-bg);
  color: var(--favo-chat-input-text);
  font-size: 0.84rem;
  line-height: 1.3;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  text-align: center;
}

.favo-chat-composer-row--chips .favo-chat-chip {
  width: 100%;
}

.favo-chat-chip:hover,
.favo-chat-chip.selected {
  border-color: var(--favo-gold);
  background: rgba(197, 160, 125, 0.18);
}

.favo-chat-chip:active {
  transform: scale(0.97);
}

.favo-chat-chip--link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.favo-chat-input-row {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.favo-chat-input-row--wa {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.favo-chat-input-row--wa > .favo-chat-undo {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}

.favo-chat-input-row--wa > .favo-chat-input,
.favo-chat-input-row--wa > .favo-chat-nicho-field,
.favo-chat-input-row--wa > .favo-chat-nicho-wrap {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

.favo-chat-input-row--wa > .favo-chat-send-wa {
  display: none;
}

.favo-chat-input-row--wa.favo-chat-input-row--has-text > .favo-chat-send-wa {
  display: grid !important;
}

.favo-chat-composer-form {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.favo-chat-input-row--wa .favo-chat-input {
  height: 42px;
  min-height: 42px;
  padding-top: 0;
  padding-bottom: 0;
  box-sizing: border-box;
}

.favo-chat-input,
.favo-chat-select {
  flex: 1;
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  border: none;
  border-radius: 1.25rem;
  background: var(--favo-chat-input-bg);
  color: var(--favo-chat-input-text);
  font-size: 0.95rem;
  font-family: inherit;
}

.favo-chat-input::placeholder {
  color: var(--favo-chat-muted);
}

.favo-chat-input:focus,
.favo-chat-select:focus {
  outline: 2px solid rgba(197, 160, 125, 0.5);
  outline-offset: 0;
}

.favo-field-error-pulse {
  animation: favoFieldPulse 0.55s ease 3;
  outline: 2px solid #f87171 !important;
}

@keyframes favoFieldPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(248, 113, 113, 0);
  }
  50% {
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.45);
  }
}

.favo-chat-nicho-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
}

.favo-chat-nicho-field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.favo-chat-nicho-field .favo-chat-select,
.favo-chat-nicho-field .favo-chat-input {
  flex: 1;
  width: 100%;
  min-width: 0;
}

.favo-chat-send-wa {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  line-height: 0;
  background: var(--favo-chat-send-bg);
  color: var(--favo-chat-send-icon);
  cursor: pointer;
  box-shadow: 0 0 12px var(--favo-chat-send-shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}

.favo-chat-send-wa:hover {
  transform: scale(1.04);
  box-shadow: 0 0 16px var(--favo-chat-send-shadow);
}

.favo-chat-send-wa:active {
  transform: scale(0.96);
}

.favo-chat-send-wa svg,
.favo-chat-send-wa .favo-chat-send-icon {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  pointer-events: none;
}

.favo-chat-composer-form {
  display: flex;
  flex: 1;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  align-items: center;
}

.favo-chat-nicho-wrap .favo-chat-input-row--wa {
  width: 100%;
}

.favo-chat-calendly-preload {
  position: fixed;
  left: -10000px;
  top: 0;
  width: min(96vw, 560px);
  height: min(82dvh, 720px);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.favo-chat-calendly {
  flex: 1;
  min-height: 0;
  display: none;
  overflow: hidden;
  background: var(--favo-chat-bg);
}

@media (min-width: 640px) {
  .favo-modal--calendly-intro.is-open .favo-modal-panel,
  .favo-modal--calendly.is-open .favo-modal-panel {
    width: min(96vw, 560px);
    margin-left: auto;
    margin-right: auto;
  }
}

.favo-modal--calendly .favo-chat-thread,
.favo-modal--calendly .favo-chat-composer,
.favo-modal--calendly .favo-chat-input-row {
  display: none !important;
}

.favo-modal--calendly .favo-chat-progress {
  display: none !important;
}

.favo-modal--calendly .favo-chat-shell {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.favo-modal--calendly-intro .favo-chat-shell {
  position: relative;
  isolation: isolate;
}

.favo-modal--calendly .favo-chat-calendly,
.favo-modal--calendly #chat-calendly-slot {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  overflow: hidden;
  pointer-events: auto;
  touch-action: manipulation;
  position: relative;
  z-index: 2;
}

.favo-modal--calendly .favo-modal-body--chat {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.favo-modal--calendly #chat-calendly-slot,
.favo-chat-shell--calendly-open #chat-calendly-slot,
.favo-chat-shell--calendly-opening #chat-calendly-slot {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .favo-chat-shell--calendly-opening #chat-calendly-slot,
  .favo-chat-shell--calendly-open #chat-calendly-slot {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.favo-modal--calendly .favo-chat-calendly iframe,
.favo-modal--calendly .calendly-inline-widget,
.favo-modal--calendly-intro .favo-chat-calendly iframe,
.favo-modal--calendly-intro .calendly-inline-widget {
  flex: 1 1 0;
  width: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  border: 0;
  background: #fff;
  pointer-events: auto !important;
  touch-action: manipulation;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.favo-modal--calendly.is-open .favo-modal-panel,
.favo-modal--calendly-intro.is-open .favo-modal-panel {
  background: var(--favo-chat-bg);
  background-image: var(--favo-chat-bg-image);
}

.favo-modal--calendly .favo-modal-body--chat,
.favo-modal--calendly-intro .favo-modal-body--chat,
.favo-modal--calendly .favo-chat-shell,
.favo-modal--calendly-intro .favo-chat-shell,
.favo-modal--calendly #chat-calendly-slot,
.favo-modal--calendly-intro #chat-calendly-slot {
  background: var(--favo-chat-bg);
}

.favo-modal--calendly #chat-calendly-slot > div {
  flex: 1 1 0;
  min-height: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
}

.favo-chat-proof--hidden {
  display: none !important;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}


.favo-chat-calendly-loading {
  padding: 2rem;
  text-align: center;
  color: var(--favo-muted);
  font-size: 0.9rem;
  background: #fff;
}

.favo-chat-calendly-portrait-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 2rem 1.35rem 1.75rem;
  min-height: min(50dvh, calc(100dvh - 10rem));
  flex: 1 1 auto;
  width: 100%;
  box-sizing: border-box;
  background: var(--favo-chat-bg);
  background-image: var(--favo-chat-bg-image);
  color: var(--favo-chat-header-text);
  text-align: center;
}

.favo-chat-calendly-portrait-motif {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--favo-gold);
  opacity: 0.92;
}

.favo-chat-calendly-portrait-msg {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--favo-chat-pill-text);
  max-width: 22rem;
}

.favo-chat-calendly-open-btn {
  width: 100%;
  max-width: 280px;
  min-height: 48px;
  margin-top: 0.25rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(197, 160, 125, 0.28);
}

.favo-modal--calendly-portrait #chat-calendly-slot,
.favo-modal--calendly-portrait #chat-calendly-slot.favo-chat-calendly--docked {
  background: var(--favo-chat-bg);
  background-image: var(--favo-chat-bg-image);
}

.favo-modal--calendly-portrait.is-open .favo-modal-panel {
  animation: none !important;
  transform: none !important;
}

/* Popup Calendly (z-index alto) acima do modal */
.calendly-overlay,
.calendly-popup-content {
  z-index: 10000 !important;
}

.favo-chat-micro-case {
  align-self: stretch;
  padding: 0.85rem;
  border: 1px solid rgba(197, 160, 125, 0.25);
  border-radius: 0.65rem;
  background: var(--favo-chat-micro-bg);
  font-size: 0.85rem;
  color: var(--favo-chat-micro-text);
  margin: 0.15rem 0;
}

.favo-chat-micro-case-img {
  width: 100%;
  height: 64px;
  border-radius: 0.45rem;
  background: var(--favo-chat-media-grad);
  margin-bottom: 0.55rem;
}

.favo-chat-micro-case small {
  display: block;
  margin-top: 0.45rem;
  color: var(--favo-chat-muted);
  font-size: 0.72rem;
}

.favo-wizard-fallback[hidden] {
  display: none !important;
}

.favo-modal--chat.is-open {
  align-items: center;
  padding: 0.5rem 0.5rem max(0.5rem, env(safe-area-inset-bottom));
}

@media (min-width: 640px) {
  .favo-modal--chat.is-open {
    padding: 1rem;
  }

  .favo-modal--chat.is-open .favo-modal-panel {
    height: min(88dvh, 640px);
    max-height: min(88dvh, 640px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .favo-chat-row,
  .favo-chat-typing span {
    animation: none;
  }

  .favo-chat-progress-bar {
    transition: none;
  }
}
