.fc-chat-root {
  --fc-green: #00c853;
  --fc-green-dark: #079447;
  --fc-navy: #0a1628;
  --fc-ink: #142033;
  --fc-muted: #667085;
  --fc-line: #e8edf2;
  --fc-surface: #ffffff;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2147483000;
  font-family: "DM Sans", sans-serif;
  color: var(--fc-ink);
}

.fc-chat-launcher {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 19px;
  border: 0;
  border-radius: 18px;
  background: var(--fc-green);
  color: var(--fc-navy);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .28), 0 0 0 1px rgba(255, 255, 255, .16) inset;
  cursor: pointer;
  font: 700 14px "Sora", sans-serif;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.fc-chat-launcher:hover { transform: translateY(-2px); background: #2cdd78; box-shadow: 0 22px 50px rgba(0, 0, 0, .34); }
.fc-chat-launcher:focus-visible, .fc-chat button:focus-visible, .fc-chat input:focus-visible, .fc-chat textarea:focus-visible { outline: 3px solid rgba(0, 200, 83, .3); outline-offset: 2px; }
.fc-chat-launcher svg { width: 22px; height: 22px; }
.fc-chat-root.is-open .fc-chat-launcher { opacity: 0; pointer-events: none; transform: translateY(8px); }

.fc-chat-unread {
  display: none;
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--fc-navy);
  border-radius: 999px;
  background: #ff4155;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.fc-chat-unread.show { display: flex; }

.fc-chat {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  width: min(390px, calc(100vw - 28px));
  height: min(650px, calc(100vh - 36px));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 24px;
  background: var(--fc-surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(.98);
  transform-origin: bottom right;
  transition: opacity .18s ease, transform .22s cubic-bezier(.2, .8, .2, 1);
}
.fc-chat-root.is-open .fc-chat { opacity: 1; pointer-events: auto; transform: none; }
.fc-chat-root.is-contracting .fc-chat { width: min(720px, calc(100vw - 28px)); height: min(760px, calc(100vh - 36px)); }

.fc-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: var(--fc-navy);
  color: #fff;
}
.fc-chat-brand { display: flex; width: 42px; height: 42px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 14px; background: var(--fc-green); color: var(--fc-navy); font: 800 18px "Sora", sans-serif; }
.fc-chat-head-copy { min-width: 0; flex: 1; }
.fc-chat-title { margin: 0; font: 700 15px "Sora", sans-serif; }
.fc-chat-status { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: rgba(255, 255, 255, .68); font-size: 12px; }
.fc-chat-status::before { width: 7px; height: 7px; border-radius: 50%; background: var(--fc-green); content: ""; }
.fc-chat-close { display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.fc-chat-close:hover { background: rgba(255,255,255,.15); }
.fc-chat-close svg { width: 18px; height: 18px; }

.fc-chat-start { min-height: 0; flex: 1; overflow-y: auto; }
.fc-chat-welcome { padding: 22px 20px 10px; }
.fc-chat-welcome h2 { margin: 0; color: var(--fc-navy); font: 750 21px/1.25 "Sora", sans-serif; }
.fc-chat-welcome p { margin: 9px 0 0; color: var(--fc-muted); font-size: 14px; line-height: 1.55; }
.fc-chat-form { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 10px 20px 20px; }
.fc-chat-progress { height: 3px; background: #e9eef2; }
.fc-chat-progress span { display: block; width: 33.333%; height: 100%; background: var(--fc-green); transition: width .35s cubic-bezier(.2,.8,.2,1); }
.fc-chat-step { display: none; min-height: 470px; flex-direction: column; justify-content: center; animation: fc-step-in .32s cubic-bezier(.2,.8,.2,1); }
.fc-chat-step.is-active { display: flex; }
.fc-chat-step h2 { margin: 7px 0 0; color: var(--fc-navy); font: 750 23px/1.25 "Sora", sans-serif; letter-spacing: -.025em; }
.fc-chat-kicker { margin: 0; color: var(--fc-green-dark); font: 700 11px/1.2 "Sora", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.fc-chat-hint { margin: 9px 0 24px; color: var(--fc-muted); font-size: 14px; line-height: 1.55; }
.fc-chat-step > input { height: 54px; padding: 0 2px; border: 0; border-bottom: 2px solid #cbd5df; border-radius: 0; background: transparent; font: 500 18px "DM Sans", sans-serif; }
.fc-chat-step > input:focus { border-color: var(--fc-green-dark); background: transparent; }
.fc-chat-step .fc-chat-primary { align-self: flex-start; margin-top: 20px; padding: 0 17px; }
.fc-chat-resume-link { align-self: flex-start; margin-top: 16px; padding: 6px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--fc-green-dark); cursor: pointer; font: 650 13px "DM Sans", sans-serif; }
.fc-chat-resume-link:focus-visible { outline: 3px solid rgba(0,200,83,.22); outline-offset: 4px; }
.fc-chat-recovery { display: grid; gap: 15px; padding: 28px 20px; }
.fc-chat-recovery[hidden] { display: none; }
.fc-chat-recovery h2 { margin: 0; color: var(--fc-navy); font: 750 23px/1.25 "Sora", sans-serif; letter-spacing: -.025em; }
.fc-chat-recovery > p { margin: -5px 0 5px; color: var(--fc-muted); font-size: 14px; line-height: 1.55; }
.fc-chat-recovery label { display: grid; gap: 7px; color: var(--fc-ink); font-size: 13px; font-weight: 650; }
.fc-chat-recovery input { min-height: 50px; font-size: 16px; }
.fc-chat-recovery small { color: var(--fc-muted); font-size: 11px; line-height: 1.5; }
.fc-chat-recovery-error { display: none; margin: 0; color: #c82a3a; font-size: 12px; line-height: 1.45; }
.fc-chat-recovery-error.show { display: block; }
.fc-chat-primary kbd { margin-left: 8px; color: rgba(13,34,54,.55); font: 500 10px "DM Sans", sans-serif; }
.fc-chat-back { align-self: flex-start; margin: 0 0 18px; padding: 0; border: 0; background: transparent; color: var(--fc-muted); cursor: pointer; font: 600 12px "DM Sans", sans-serif; }
.fc-chat-back:hover { color: var(--fc-navy); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.fc-chat-label { display: grid; gap: 6px; color: #344054; font-size: 12px; font-weight: 600; }
.fc-chat-label span em { color: #98a2b3; font-style: normal; font-weight: 400; }
.fc-chat input, .fc-chat textarea { width: 100%; border: 1px solid var(--fc-line); border-radius: 12px; background: #f9fbfc; color: var(--fc-ink); font: 14px "DM Sans", sans-serif; }
.fc-chat input { height: 44px; padding: 0 13px; }
.fc-chat textarea { min-height: 92px; padding: 12px 13px; resize: none; line-height: 1.45; }
.fc-chat input:focus, .fc-chat textarea:focus { border-color: rgba(0, 200, 83, .7); background: #fff; outline: 0; }
.fc-chat-topics { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.fc-chat-topics legend { margin-bottom: 2px; color: #344054; font-size: 12px; font-weight: 600; }
.fc-chat-topic { position: relative; display: block; cursor: pointer; }
.fc-chat-topic input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.fc-chat-topic span { position: relative; display: grid; min-height: 58px; grid-template-columns: 29px 1fr; align-content: center; padding: 8px 12px; border: 1px solid var(--fc-line); border-radius: 12px; background: #f9fbfc; transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.fc-chat-topic i { grid-row: 1 / 3; align-self: center; width: 21px; height: 21px; border: 1px solid #cdd6de; border-radius: 6px; color: var(--fc-muted); font: 700 10px/19px "Sora", sans-serif; text-align: center; }
.fc-chat-topic b { color: var(--fc-ink); font: 650 13px "Sora", sans-serif; }
.fc-chat-topic small { grid-column: 2; margin-top: 2px; color: var(--fc-muted); font-size: 11px; }
.fc-chat-topic:hover span { transform: translateY(-1px); border-color: #7cc99c; background: #fff; }
.fc-chat-topic input:focus-visible + span { outline: 3px solid rgba(0, 200, 83, .2); outline-offset: 2px; }
.fc-chat-topic input:checked + span { border-color: var(--fc-green-dark); background: #edfff4; box-shadow: 0 0 0 1px var(--fc-green-dark) inset; }
.fc-chat-topic input:checked + span::after { position: absolute; right: 13px; color: var(--fc-green-dark); content: "✓"; font-size: 15px; font-weight: 800; }
.fc-chat-primary { display: flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 13px; background: var(--fc-green); color: var(--fc-navy); cursor: pointer; font: 700 14px "Sora", sans-serif; }
.fc-chat-primary svg { width: 18px; height: 18px; }
.fc-chat-primary:hover { background: #2cdd78; }
.fc-chat-primary:disabled { cursor: wait; opacity: .62; }
.fc-chat-optin { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; margin-top: 12px; color: var(--fc-muted); cursor: pointer; font-size: 11px; line-height: 1.45; }
.fc-chat-optin input { width: 18px; height: 18px; margin: 0; accent-color: var(--fc-green-dark); }
.fc-chat-privacy { margin: auto 0 0; color: #98a2b3; font-size: 11px; line-height: 1.45; text-align: center; }
.fc-chat-error { display: none; margin: 0; color: #c82a3a; font-size: 12px; }
.fc-chat-error.show { display: block; }
@keyframes fc-step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.fc-chat-thread { display: none; min-height: 0; flex: 1; flex-direction: column; }
.fc-chat-root.has-conversation .fc-chat-start { display: none; }
.fc-chat-root.has-conversation .fc-chat-thread { display: flex; }
.fc-chat-messages { display: flex; min-height: 0; flex: 1; flex-direction: column; gap: 9px; overflow-y: auto; padding: 18px 14px; background: #f5f7f9; overscroll-behavior: contain; }
.fc-chat-day { align-self: center; margin: 1px 0 8px; color: #98a2b3; font-size: 11px; }
.fc-chat-bubble { max-width: 82%; padding: 10px 12px; border-radius: 16px; box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.fc-chat-bubble.visitor { align-self: flex-end; border-bottom-right-radius: 5px; background: var(--fc-green); color: var(--fc-navy); }
.fc-chat-bubble.agent { align-self: flex-start; border: 1px solid var(--fc-line); border-bottom-left-radius: 5px; background: #fff; }
.fc-chat-bubble p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.45; }
.fc-chat-bubble p a { display: inline-flex; margin-top: 8px; color: #06753a; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fc-chat-bubble small { display: block; margin-top: 5px; color: rgba(20,32,51,.55); font-size: 10px; text-align: right; }
.fc-chat-bubble.agent small { text-align: left; }
.fc-chat-typing { display: none; align-self: flex-start; align-items: center; gap: 9px; max-width: calc(100% - 28px); padding: 10px 13px; border: 1px solid var(--fc-line); border-radius: 16px 16px 16px 5px; background: #fff; color: var(--fc-muted); box-shadow: 0 5px 18px rgba(7,26,47,.06); }
.fc-chat-typing.show { display: flex; }
.fc-chat-typing > i { display: flex; gap: 3px; align-items: center; }
.fc-chat-typing > i span { width: 5px; height: 5px; border-radius: 50%; background: var(--fc-green-dark); animation: fc-typing 1s infinite ease-in-out; }
.fc-chat-typing > i span:nth-child(2) { animation-delay: .12s; }
.fc-chat-typing > i span:nth-child(3) { animation-delay: .24s; }
.fc-chat-typing small { color: var(--fc-green-dark); font-size: 12px; font-weight: 650; white-space: nowrap; animation: fc-reasoning-breathe 1.8s ease-in-out infinite; transition: opacity .18s ease, transform .18s ease; }
.fc-chat-typing small.is-changing { opacity: 0; transform: translateY(4px); }
@keyframes fc-typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes fc-reasoning-breathe { 50% { opacity: .58; } }
.fc-chat-quick-replies { display: none; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--fc-line); background: #fff; }
.fc-chat-quick-replies:has(button) { display: flex; }
.fc-chat-quick-replies button { min-width: 76px; min-height: 38px; padding: 0 16px; border: 1px solid var(--fc-green-dark); border-radius: 999px; background: #fff; color: var(--fc-green-dark); cursor: pointer; font: 700 13px "Sora", sans-serif; }
.fc-chat-quick-replies button:hover { background: #edfff4; }
.fc-chat-compose { position: relative; display: flex; align-items: flex-end; gap: 7px; border-top: 1px solid var(--fc-line); padding: 11px; background: #fff; }
.fc-chat-clt { display: none; max-height: 68%; overflow-y: auto; border-top: 1px solid var(--fc-line); background: #f5f7f9; padding: 12px; }
.fc-chat-clt.show { display: block; }
.fc-chat-clt.show + .fc-chat-emoji-menu + .fc-chat-compose { padding-top: 8px; }
.fc-clt-card { display: grid; gap: 12px; padding: 16px; border: 1px solid #dfe8e3; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(10,22,40,.07); }
.fc-clt-card h3 { margin: 0; color: var(--fc-navy); font: 700 18px/1.25 "Sora", sans-serif; }
.fc-clt-card p { margin: 0; color: var(--fc-muted); font-size: 12px; line-height: 1.5; }
.fc-clt-card label { display: grid; gap: 5px; color: #344054; font-size: 11px; font-weight: 650; }
.fc-clt-card input, .fc-clt-card select { width: 100%; height: 42px; padding: 0 10px; border: 1px solid #d8e0e7; border-radius: 10px; background: #fff; color: var(--fc-ink); font: 13px "DM Sans", sans-serif; }
.fc-clt-step { color: var(--fc-green-dark); font: 700 10px "Sora", sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.fc-clt-offers { display: grid; gap: 8px; }
.fc-clt-offer { display: grid; gap: 2px; padding: 13px; border: 1px solid #b8e9cc; border-radius: 13px; background: #f0fff6; color: var(--fc-ink); cursor: pointer; text-align: left; }
.fc-clt-offer:hover { border-color: var(--fc-green-dark); transform: translateY(-1px); }
.fc-clt-offer strong { font: 750 18px "Sora", sans-serif; }
.fc-clt-offer span, .fc-clt-offer small { font-size: 11px; }
.fc-clt-link { justify-self: start; border: 0; background: transparent; color: var(--fc-green-dark); cursor: pointer; font: 650 12px "DM Sans", sans-serif; }
.fc-clt-resim { display: grid; gap: 9px; }
.fc-clt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.fc-clt-consent { grid-template-columns: 18px 1fr !important; align-items: start; font-weight: 500 !important; line-height: 1.35; }
.fc-clt-consent input { width: 16px; height: 16px; }
.fc-clt-loading { color: var(--fc-muted); font-size: 12px; animation: fc-pulse 1.2s ease-in-out infinite; }
.fc-clt-card > .fc-chat-primary { text-decoration: none; }
.fc-clt-actions { display: grid; gap: 8px; }
.fc-clt-secondary { display: flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid #d8e0e7; border-radius: 12px; background: #fff; color: var(--fc-ink); cursor: pointer; font: 650 13px "Sora", sans-serif; text-decoration: none; }
.fc-clt-checked { color: var(--fc-muted); font-size: 11px; text-align: center; }
.fc-clt-inline-error { color: #b42318 !important; font-weight: 650; }
.fc-clt-safe { color: var(--fc-muted); font-size: 10px; text-align: center; }
.fc-clt-notice { display: grid; gap: 3px; padding: 11px 12px; border-radius: 12px; background: #eefaf3; color: #24523a; font-size: 11px; line-height: 1.45; }
.fc-clt-notice b { color: var(--fc-green-dark); font: 700 11px "Sora", sans-serif; }
.fc-clt-checklist { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: facta-step; }
.fc-clt-checklist li { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 9px; color: #344054; font-size: 12px; }
.fc-clt-checklist li::before { counter-increment: facta-step; content: counter(facta-step); display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #e7f8ee; color: var(--fc-green-dark); font: 700 10px "Sora", sans-serif; }
.fc-clt-status { display: flex; align-items: center; gap: 8px; padding-top: 2px; color: var(--fc-muted); font-size: 11px; }
.fc-clt-status span { width: 8px; height: 8px; border-radius: 50%; background: var(--fc-green); box-shadow: 0 2px 8px rgba(0, 204, 102, .28); animation: fc-pulse 1.2s ease-in-out infinite; }
.fc-clt-section { display: grid; gap: 9px; padding-top: 12px; border-top: 1px solid #e7ece9; }
.fc-clt-section > b { color: var(--fc-navy); font: 700 12px "Sora", sans-serif; }
.fc-clt-rogo { display: grid; gap: 9px; }
.fc-clt-offer:disabled { cursor: wait; opacity: .72; transform: none; }
.fc-clt-card input:focus-visible, .fc-clt-card select:focus-visible, .fc-clt-card button:focus-visible, .fc-clt-card a:focus-visible { outline: 3px solid rgba(0, 160, 80, .28); outline-offset: 2px; }

@media (max-width: 560px) {
  .fc-chat-root.is-contracting .fc-chat { width: 100vw; height: 100dvh; max-height: none; border-radius: 0; }
  .fc-clt-grid { grid-template-columns: 1fr; }
  .fc-chat-clt { max-height: 72%; }
}
@keyframes fc-pulse { 50% { opacity: .45; } }
.fc-chat-compose textarea { min-width: 0; min-height: 42px; max-height: 104px; flex: 1; padding: 10px 12px; }
.fc-chat-more { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 12px; background: #eef3f1; color: var(--fc-navy); cursor: pointer; font: 400 28px/1 sans-serif; transition: transform .18s ease, background .18s ease; }
.fc-chat-more.is-open { background: #dff5e8; transform: rotate(45deg); }
.fc-chat-tools-menu { position: absolute; left: 10px; bottom: calc(100% + 7px); z-index: 5; display: none; min-width: 160px; padding: 7px; border: 1px solid var(--fc-line); border-radius: 14px; background: #fff; box-shadow: 0 16px 42px rgba(7,26,47,.18); }
.fc-chat-tools-menu.show { display: grid; }
.fc-chat-tool { display: flex; width: 100%; height: 42px; align-items: center; gap: 10px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: #344054; cursor: pointer; font: 650 13px/1 sans-serif; }
.fc-chat-tool span { display: grid; width: 24px; place-items: center; font-size: 17px; }
.fc-chat-tool:hover { background: #f0f4f6; color: var(--fc-navy); }
.fc-chat-tool.recording { background: #fee2e2; color: #dc2626; animation: fc-record 1s infinite; }
.fc-chat-emoji-menu { position: absolute; left: 11px; bottom: 70px; z-index: 6; display: none; gap: 5px; padding: 8px; border: 1px solid var(--fc-line); border-radius: 13px; background: #fff; box-shadow: 0 12px 28px rgba(16,24,40,.16); }
.fc-chat-emoji-menu.show { display: flex; }
.fc-chat-emoji-menu button { border: 0; padding: 3px; background: transparent; cursor: pointer; font-size: 19px; }
.fc-chat-media { display: block; max-width: 100%; max-height: 230px; margin-bottom: 7px; border-radius: 10px; }
a.fc-chat-media { color: inherit; text-decoration: underline; }
@keyframes fc-record { 50% { opacity: .55; } }
.fc-chat-send { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 13px; background: var(--fc-green); color: var(--fc-navy); cursor: pointer; }
.fc-chat-send svg { width: 18px; height: 18px; }
.fc-chat-send:disabled { opacity: .45; }

/* O chat próprio é o canal principal; WhatsApp continua disponível como alternativa discreta. */
.whatsapp-float { display: none !important; }

@media (max-width: 600px) {
  .fc-chat-root { right: 10px; bottom: 10px; }
  .fc-chat { position: fixed; inset: 8px; width: auto; height: auto; border-radius: 20px; transform-origin: bottom center; }
  .fc-chat-launcher { height: 54px; padding: 0 16px; border-radius: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .fc-chat, .fc-chat-launcher { transition: none; }
  .fc-chat-typing > i span, .fc-chat-typing small { animation: none; }
}

/* Chat central FelizCred: interface de conversão, confiança e acompanhamento. */
.fc-chat-root {
  --fc-green: #19d477;
  --fc-green-dark: #087a47;
  --fc-navy: #071a2f;
  --fc-ink: #10243b;
  --fc-muted: #647386;
  --fc-line: #dde6e2;
  --fc-soft: #f2f7f4;
}
.fc-chat-launcher {
  min-width: 190px;
  height: 64px;
  padding: 0 18px 0 15px;
  border-radius: 20px;
  background: var(--fc-navy);
  color: #fff;
  box-shadow: 0 18px 48px rgba(7,26,47,.28), 0 1px 0 rgba(255,255,255,.12) inset;
}
.fc-chat-launcher:hover { background: #0d2945; box-shadow: 0 24px 58px rgba(7,26,47,.34); }
.fc-chat-launcher > svg { padding: 9px; width: 40px; height: 40px; border-radius: 13px; background: var(--fc-green); color: var(--fc-navy); }
.fc-chat-launcher-copy { display: grid; gap: 2px; text-align: left; }
.fc-chat-launcher-copy b { font: 700 13px/1.1 "Sora", sans-serif; }
.fc-chat-launcher-copy small { color: rgba(255,255,255,.62); font: 500 10px/1.2 "DM Sans", sans-serif; }
.fc-chat-nudge { position: absolute; right: 0; bottom: 76px; width: 290px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.fc-chat-nudge.show { opacity: 1; pointer-events: auto; transform: none; }
.fc-chat-nudge button { display: grid; width: 100%; gap: 4px; padding: 15px 17px; border: 1px solid rgba(7,26,47,.08); border-radius: 18px 18px 5px 18px; background: #fff; color: var(--fc-ink); box-shadow: 0 16px 45px rgba(7,26,47,.18); cursor: pointer; text-align: left; }
.fc-chat-nudge span { color: var(--fc-green-dark); font: 700 10px "Sora", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.fc-chat-nudge strong { font: 700 14px/1.3 "Sora", sans-serif; text-wrap: balance; }
.fc-chat-nudge small { color: var(--fc-muted); font-size: 11px; }
.fc-chat {
  width: min(420px, calc(100vw - 28px));
  height: min(720px, calc(100dvh - 36px));
  border: 1px solid rgba(7,26,47,.09);
  border-radius: 28px;
  background: #fbfdfc;
  box-shadow: 0 36px 100px rgba(7,26,47,.28), 0 1px 0 #fff inset;
}
.fc-chat-root.is-expanded .fc-chat { width: min(680px, calc(100vw - 44px)); height: min(820px, calc(100dvh - 44px)); }
.fc-chat-head { min-height: 86px; padding: 16px 17px; gap: 11px; background: var(--fc-navy); }
.fc-chat-head::after { position: absolute; top: 0; right: 25%; width: 180px; height: 80px; background: radial-gradient(circle, rgba(25,212,119,.15), transparent 68%); content: ""; pointer-events: none; }
.fc-chat-brand { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 15px 15px 7px 15px; background: var(--fc-green); box-shadow: 0 8px 22px rgba(25,212,119,.2); }
.fc-chat-head-copy { position: relative; z-index: 1; }
.fc-chat-head-copy > span { display: block; margin-bottom: 2px; color: rgba(255,255,255,.55); font: 600 9px "Sora", sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.fc-chat-title { font-size: 16px; letter-spacing: -.02em; }
.fc-chat-status { color: rgba(255,255,255,.72); font-size: 11px; }
.fc-chat-status::before { box-shadow: 0 0 0 4px rgba(25,212,119,.12); }
.fc-chat-expand, .fc-chat-close { position: relative; z-index: 1; display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.fc-chat-expand:hover, .fc-chat-close:hover { background: rgba(255,255,255,.16); }
.fc-chat-expand:active, .fc-chat-close:active { transform: scale(.96); }
.fc-chat-expand svg, .fc-chat-close svg { width: 17px; height: 17px; }
.fc-chat-offline { display: none; padding: 8px 16px; background: #fff1ce; color: #694b00; font-size: 11px; line-height: 1.4; }
.fc-chat-root.is-offline .fc-chat-offline { display: block; }
.fc-chat-assurance { display: flex; min-height: 32px; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 16px; border-bottom: 1px solid var(--fc-line); background: #fff; color: var(--fc-muted); font-size: 9px; }
.fc-chat-assurance span { display: flex; align-items: center; gap: 5px; }
.fc-chat-assurance i { width: 6px; height: 6px; border-radius: 50%; background: var(--fc-green); }
.fc-chat-form { padding: 14px 24px 24px; }
.fc-chat-step { min-height: 510px; justify-content: flex-start; padding-top: clamp(52px, 10vh, 92px); }
.fc-chat-step h2 { max-width: 330px; font-size: clamp(23px, 4vw, 27px); line-height: 1.18; text-wrap: balance; }
.fc-chat-kicker { color: var(--fc-green-dark); }
.fc-chat-hint { max-width: 340px; margin-bottom: 28px; font-size: 14px; text-wrap: pretty; }
.fc-chat-step > input { height: 58px; border-bottom-color: #afbeb8; font-size: 20px; }
.fc-chat-primary { border-radius: 14px 14px 7px 14px; background: var(--fc-navy); color: #fff; box-shadow: 0 8px 20px rgba(7,26,47,.14); transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.fc-chat-primary:hover { background: #103454; box-shadow: 0 12px 28px rgba(7,26,47,.2); transform: translateY(-1px); }
.fc-chat-primary:active { transform: scale(.985); }
.fc-chat-primary kbd { color: rgba(255,255,255,.55); }
.fc-chat-topic span { min-height: 66px; padding: 10px 13px; border-color: #dce6e1; border-radius: 15px 15px 8px 15px; background: #fff; }
.fc-chat-topic i { border: 0; background: var(--fc-soft); color: var(--fc-green-dark); }
.fc-chat-topic input:checked + span { border-color: #54b987; background: #f0fbf5; box-shadow: 0 0 0 1px #54b987 inset, 0 8px 20px rgba(8,122,71,.08); }
.fc-chat-privacy a { color: var(--fc-green-dark); text-underline-offset: 2px; }
.fc-chat-messages { gap: 11px; padding: 20px 16px; background: radial-gradient(circle at 90% 0, rgba(25,212,119,.07), transparent 30%), #f3f7f5; }
.fc-chat-day { padding: 5px 9px; border-radius: 8px; background: rgba(255,255,255,.72); color: #708077; }
.fc-chat-bubble { max-width: min(86%, 34rem); padding: 11px 13px; border-radius: 17px; box-shadow: 0 4px 14px rgba(7,26,47,.05); }
.fc-chat-bubble.visitor { border-bottom-right-radius: 6px; background: var(--fc-navy); color: #fff; }
.fc-chat-bubble.visitor small { color: rgba(255,255,255,.58); }
.fc-chat-bubble.agent { border: 0; border-bottom-left-radius: 6px; background: #fff; box-shadow: 0 5px 18px rgba(7,26,47,.08); }
.fc-chat-bubble.agent small::before { content: "Automático · "; color: var(--fc-green-dark); font-weight: 700; }
.fc-chat-quick-replies { overflow-x: auto; scrollbar-width: none; }
.fc-chat-quick-replies button { flex: 0 0 auto; border-color: #8bcbaa; border-radius: 12px 12px 6px 12px; }
.fc-chat-clt { background: #edf4f0; }
.fc-clt-card { border: 0; border-radius: 20px 20px 10px 20px; box-shadow: 0 12px 32px rgba(7,26,47,.09); }
.fc-clt-status-card { position: relative; gap: 9px; padding-right: 44px; }
.fc-clt-status-card h3 { font-size: 17px; }
.fc-clt-status-card .fc-clt-reassurance { color: #087a47; font-weight: 650; }
.fc-clt-dismiss { position: absolute; top: 10px; right: 10px; display: grid; width: 32px; height: 32px; place-items: center; border: 0; border-radius: 10px; background: #eef3f1; color: #344054; cursor: pointer; font-size: 22px; line-height: 1; }
.fc-clt-step { display: inline-flex; width: fit-content; padding: 5px 8px; border-radius: 7px; background: #e8f7ef; letter-spacing: .04em; }
.fc-clt-offer { border: 1px solid #b9ddca; border-radius: 15px 15px 7px 15px; background: #f3fbf7; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.fc-clt-offer:hover { box-shadow: 0 10px 24px rgba(8,122,71,.1); }
.fc-chat-compose { padding: 11px 12px 13px; box-shadow: 0 -8px 24px rgba(7,26,47,.04); }
.fc-chat-compose textarea { border: 0; border-radius: 14px; background: #f0f4f2; font-size: 16px; }
.fc-chat-send { border-radius: 13px 13px 6px 13px; background: var(--fc-navy); color: #fff; }
.fc-chat-send:hover { background: #103454; }

@media (max-width: 600px) {
  .fc-chat-root { right: 8px; bottom: 8px; }
  .fc-chat, .fc-chat-root.is-expanded .fc-chat { inset: 0; width: 100vw; height: 100dvh; border: 0; border-radius: 0; }
  .fc-chat-expand { display: none; }
  .fc-chat-head { min-height: 78px; padding-top: max(13px, env(safe-area-inset-top)); }
  .fc-chat-assurance span:last-child { display: none; }
  .fc-chat-thread { min-height: 0; overflow: hidden; }
  .fc-chat-messages { min-height: 120px; padding: 14px 12px; }
  .fc-chat-clt { max-height: min(38dvh, 330px); padding: 9px; overscroll-behavior: contain; }
  .fc-clt-status-card { gap: 8px; padding: 13px 42px 13px 13px; border-radius: 16px 16px 8px 16px; }
  .fc-clt-status-card .fc-clt-actions { grid-template-columns: 1fr 1fr; gap: 7px; }
  .fc-clt-status-card .fc-chat-primary, .fc-clt-status-card .fc-clt-secondary { min-height: 42px; padding-inline: 8px; font-size: 12px; }
  .fc-chat-compose { flex: 0 0 auto; padding: 9px 10px max(9px, env(safe-area-inset-bottom)); }
  .fc-chat-compose textarea { width: 100%; min-width: 0; padding-inline: 11px; font-size: 16px; line-height: 22px; }
  .fc-chat-more, .fc-chat-send { width: 44px; height: 44px; }
  .fc-chat-step { min-height: calc(100dvh - 165px); padding-top: clamp(44px, 9vh, 76px); }
  .fc-chat-form { padding-inline: 20px; }
  .fc-chat-nudge { right: 0; width: min(290px, calc(100vw - 16px)); }
  .fc-chat-launcher { min-width: 184px; }
}

@media (prefers-contrast: more) {
  .fc-chat, .fc-chat-topic span, .fc-clt-card { border: 2px solid currentColor; }
}

/* Convite humano: a chamada e o rosto são o ponto de entrada principal. */
.fc-chat-launcher {
  position: relative;
  width: 78px;
  min-width: 78px;
  height: 78px;
  padding: 0;
  overflow: visible;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #dce9e3;
  box-shadow: 0 16px 38px rgba(7,26,47,.26);
}
.fc-chat-launcher:hover { background: #dce9e3; transform: translateY(-3px) scale(1.02); }
.fc-chat-launcher > img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 16%; }
.fc-chat-launcher-copy { position: absolute; right: 84px; bottom: 8px; display: none; min-width: 130px; padding: 8px 10px; border-radius: 11px; background: var(--fc-navy); }
.fc-chat-online { position: absolute; right: 0; bottom: 3px; width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: var(--fc-green); box-shadow: 0 2px 8px rgba(7,26,47,.2); }
.fc-chat-nudge { right: 92px; bottom: 5px; width: min(390px, calc(100vw - 130px)); }
.fc-chat-nudge button { position: relative; min-height: 96px; justify-content: center; gap: 5px; padding: 16px 24px 16px 18px; border: 0; border-radius: 16px 16px 5px 16px; box-shadow: 0 18px 48px rgba(7,26,47,.2); }
.fc-chat-nudge button::after { position: absolute; right: -7px; bottom: 23px; width: 15px; height: 15px; background: #fff; content: ""; transform: rotate(45deg); }
.fc-chat-nudge span { color: var(--fc-green-dark); font-size: 10px; }
.fc-chat-nudge strong { max-width: 32ch; color: var(--fc-navy); font-size: 16px; line-height: 1.32; letter-spacing: -.015em; }
.fc-chat-nudge small { color: #5b6c7e; font-size: 12px; }
.fc-chat-brand { overflow: visible; padding: 0; background: #dce9e3; }
.fc-chat-brand img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: 50% 14%; }
.fc-chat-brand i { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border: 2px solid var(--fc-navy); border-radius: 50%; background: var(--fc-green); }

@media (max-width: 600px) {
  .fc-chat-launcher { width: 70px; min-width: 70px; height: 70px; }
  .fc-chat-nudge { right: 82px; bottom: 1px; width: calc(100vw - 104px); }
  .fc-chat-nudge button { min-height: 88px; padding: 13px 18px 13px 15px; }
  .fc-chat-nudge strong { font-size: 14px; }
  .fc-chat-nudge small { font-size: 11px; }
}
