.fort-whatsapp-panel[hidden] { display: none !important; }
.fort-whatsapp-panel {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 110;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: end;
  gap: 8px;
  width: 440px;
  max-width: calc(100% - 32px);
  max-height: calc(100vh - 112px);
  max-height: calc(100dvh - 112px);
  padding: 8px 0 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: fort-contact-appear .2s ease-out;
}
.fort-whatsapp-mascot { min-width: 0; align-self: end; }
.fort-whatsapp-mascot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 8px 10px #0f172a14);
}
.fort-whatsapp-bubble {
  position: relative;
  min-width: 0;
  padding: 26px 22px 20px;
  background: #fff;
  border: 1px solid #dce5ee;
  border-radius: 22px 22px 22px 6px;
  box-shadow: 0 12px 36px #0f172a1f;
}
.fort-whatsapp-bubble::before {
  content: "";
  position: absolute;
  left: -7px;
  bottom: 54px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: #fff;
  border-left: 1px solid #dce5ee;
  border-bottom: 1px solid #dce5ee;
}
.fort-whatsapp-close {
  position: absolute;
  top: 1px;
  right: 1px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #64748b;
  background: transparent;
}
.fort-whatsapp-close:hover { background: #f1f5f9; color: #0f172a; }
.fort-whatsapp-close .icon { width: 18px; height: 18px; }
.fort-whatsapp-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding-right: 14px;
  color: #2563eb;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .12em;
}
.fort-whatsapp-eyebrow::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: #49bca3; }
.fort-whatsapp-bubble h2 { margin: 0 0 12px; font-size: 22px; font-weight: 750; line-height: 1.2; letter-spacing: -.035em; color: #15233b; }
.fort-whatsapp-message { margin: 0 0 18px; color: #5b6b7f; font-size: 13px; line-height: 1.65; }
.fort-whatsapp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #2563eb;
  border-radius: 24px;
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  transition: background .15s;
}
.fort-whatsapp-cta:hover { background: #1d4ed8; color: #fff; }
.fort-whatsapp-cta .icon { width: 18px; height: 18px; }
.fort-whatsapp-note { margin: 10px 0 0; color: #64748b; font-size: 10px; line-height: 1.5; text-align: center; }
.reference-presentation .fort-whatsapp-launcher { z-index: 111; transition: background .15s, box-shadow .15s; }
.reference-presentation .fort-whatsapp-launcher:hover { background: #1d4ed8; }
.fort-whatsapp-launcher > span { display: grid; place-items: center; }
.fort-whatsapp-launcher .fort-whatsapp-launcher-close { display: none; }
.fort-whatsapp-launcher[aria-expanded="true"] .fort-whatsapp-launcher-chat { display: none; }
.fort-whatsapp-launcher[aria-expanded="true"] .fort-whatsapp-launcher-close { display: grid; }
@keyframes fort-contact-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 520px) {
  .fort-whatsapp-panel { right: 16px; bottom: 80px; grid-template-columns: 98px minmax(0, 1fr); gap: 4px; max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); }
  .fort-whatsapp-bubble { padding: 25px 17px 17px; border-radius: 20px 20px 20px 6px; }
  .fort-whatsapp-bubble h2 { font-size: 20px; }
  .fort-whatsapp-message { font-size: 12px; margin-bottom: 15px; }
  .fort-whatsapp-cta { gap: 7px; padding-inline: 9px; font-size: 12px; }
  .fort-whatsapp-note { font-size: 10px; }
  .fort-whatsapp-mascot img { max-height: 240px; }
}
@media (max-width: 350px) {
  .fort-whatsapp-panel { grid-template-columns: 76px minmax(0, 1fr); }
  .fort-whatsapp-bubble { padding-inline: 14px; }
  .fort-whatsapp-bubble h2 { font-size: 18px; }
  .fort-whatsapp-eyebrow { font-size: 9px; letter-spacing: .08em; }
}
@media (prefers-reduced-motion: reduce) {
  .fort-whatsapp-panel { animation: none; }
  .fort-whatsapp-launcher, .fort-whatsapp-cta { transition: none; }
}
