.whatsapp-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .whatsapp-float-btn {
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    margin-top: 15px;
    text-decoration: none;
    transition: transform 0.3s;
    animation: pulse-animation 2s infinite;
  }
  .whatsapp-float-btn:hover {
    transform: scale(1.1);
    animation: none;
  }
  @keyframes pulse-animation {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
  }
  .whatsapp-popup {
    background: #e5ddd5; /* Cor de fundo padrão do WhatsApp */
    width: 320px;
    border-radius: 10px;
    border: 2px solid #075e54;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
  }
  .whatsapp-popup.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .popup-header {
    background: #075e54;
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .close-popup {
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    opacity: 0.8;
  }
  .close-popup:hover {
    opacity: 1;
  }
  .popup-chat {
    padding: 15px;
    height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-image: url('/assets/img/chat-bg.webp'); /* Pattern leve do wpp */
    background-size: cover;
  }
  .chat-msg {
    background: #fff;
    color: #333;
    padding: 8px 12px;
    border-radius: 0 8px 8px 8px;
    font-size: 0.9rem;
    max-width: 85%;
    align-self: flex-start;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    animation: fadeInMsg 0.3s ease-out forwards;
  }
  .user-msg {
    background: #dcf8c6;
    align-self: flex-end;
    border-radius: 8px 0 8px 8px;
  }
  @keyframes fadeInMsg {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .typing {
    display: none;
    align-self: flex-start;
    background: #fff;
    padding: 8px 12px;
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  }
  .typing .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #aaa;
    border-radius: 50%;
    margin: 0 2px;
    animation: bounce 1.4s infinite ease-in-out both;
  }
  .typing .dot:nth-child(1) { animation-delay: -0.32s; }
  .typing .dot:nth-child(2) { animation-delay: -0.16s; }
  @keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
  }
  
  .popup-input {
    background: #f0f0f0;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .popup-input-field {
    background: #fff;
    padding: 10px 15px;
    border-radius: 20px;
    flex-grow: 1;
    margin-right: 10px;
    font-size: 0.9rem;
    color: #333;
    border: none;
    outline: none;
  }
  .popup-input-btn {
    width: 40px;
    height: 40px;
    background: #00a884;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    border: none;
  }

  /* Fullscreen Chat Styles */
  .whatsapp-popup.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    border: none;
    bottom: 0;
    right: 0;
    z-index: 100000;
    display: flex;
    flex-direction: row;
    background-color: #efeae2;
    background-image: url('/assets/img/chat-bg.webp');
    background-size: cover;
  }
  .whatsapp-popup.fullscreen .popup-header {
    padding: 15px 20px;
  }
  .whatsapp-popup.fullscreen .popup-chat {
    flex-grow: 1;
    height: calc(100vh - 140px);
    width: 100%;
    max-width: 100%;
    padding: 20px;
    background: transparent;
  }
  .whatsapp-popup.fullscreen .popup-input {
    padding: 15px 20px;
    background: #f0f2f5;
  }
  .whatsapp-popup.fullscreen .popup-input-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
  }

  /* Estilos do Painel de Perfil Lateral (WhatsApp Style) */
  .chat-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    flex: 1;
  }
  
  .profile-sidebar {
    display: none;
    width: 380px;
    background: #f0f2f5;
    border-left: 1px solid #d1d7db;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    color: #3b3b3b;
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
  }
  
  .whatsapp-popup.fullscreen .profile-sidebar {
    display: flex;
  }
  
  @media (max-width: 900px) {
    .whatsapp-popup.fullscreen .profile-sidebar {
      display: none; /* Oculta em telas pequenas para manter a usabilidade */
    }
  }
  
  .sidebar-header {
    background: #f0f2f5;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #3b3b3b;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  
  .sidebar-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .sidebar-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .sidebar-card-left {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 10px;
  }
  
  .sidebar-logo-container {
    width: 150px;
    height: 150px;
    background: #062e39;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .sidebar-logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  
  .sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #062e39;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
  }
  
  .sidebar-subtitle {
    font-size: 0.85rem;
    color: #556670;
    margin-bottom: 15px;
  }
  
  .sidebar-section-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #008069;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .sidebar-desc {
    font-size: 0.9rem;
    color: #111b21;
    line-height: 1.45;
    text-align: justify;
  }
  
  .unit-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    margin-top: 5px;
  }
  
  .unit-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
  }
  
  .unit-img:hover {
    transform: scale(1.05);
    filter: brightness(0.9);
  }
  
  .sidebar-info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.9rem;
    color: #111b21;
    border-bottom: 1px solid #f0f2f5;
    padding-bottom: 8px;
  }
  
  .sidebar-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .sidebar-info-icon {
    color: #008069;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    margin-top: 2px;
  }
  
  /* Lightbox Modal */
  .lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 200000;
    justify-content: center;
    align-items: center;
  }
  
  .lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
  }
  
  .lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
  }
  
  .lightbox-close:hover {
    color: #008069;
  }
