@charset "UTF-8";
/* CSS do Chat Zeleno (era o bloco #5)
   Extraído VERBATIM do index.html (refactor sênior, F2) — NÃO reformatar. */
  .zeleno-chat-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 7000;
    width: 62px;
    height: 62px;
    border: none;
    border-radius: 999px;
    background: #00543d;
    color: #ffffff;
    font-size: 26px;
    box-shadow: 0 18px 38px rgba(0,84,61,0.28);
    cursor: pointer;
  }

  .zeleno-chat-box {
    position: fixed;
    right: 22px;
    bottom: 96px;
    z-index: 7000;
    width: min(390px, calc(100vw - 28px));
    height: 560px;
    max-height: calc(100vh - 124px);
    display: none;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #d9e6df;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(15,23,42,0.20);
  }

  .zeleno-chat-box.active {
    display: flex;
  }

  .zeleno-chat-header {
    padding: 18px;
    background: linear-gradient(135deg, #00543d 0%, #0b6a4d 100%);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
  }

  .zeleno-chat-header h3 {
    font-size: 18px;
    line-height: 1.15;
    margin: 0 0 5px;
    font-weight: 900;
  }

  .zeleno-chat-header p {
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    line-height: 1.5;
  }

  .zeleno-chat-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
  }

  .zeleno-chat-clear {
    border: 1px solid rgba(255,255,255,0.22);
    min-height: 34px;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    padding: 0 10px;
    white-space: nowrap;
  }

  .zeleno-chat-close {
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    cursor: pointer;
    font-size: 20px;
    font-weight: 900;
    flex-shrink: 0;
  }

  .zeleno-chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: grid;
    align-content: start;
    gap: 10px;
    background: #f7fbf9;
  }

  .zeleno-chat-message {
    max-width: 86%;
    padding: 11px 13px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
  }

  .zeleno-chat-message.bot,
  .zeleno-chat-message.vendedor,
  .zeleno-chat-message.sistema {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #d9e6df;
    justify-self: start;
  }

  .zeleno-chat-message.cliente {
    background: #00543d;
    color: #ffffff;
    justify-self: end;
  }

  .zeleno-chat-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 16px 12px;
    background: #f7fbf9;
  }

  .zeleno-chat-option {
    border: 1px solid rgba(0,84,61,0.14);
    background: #ffffff;
    color: #00543d;
    border-radius: 999px;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
  }

  .zeleno-chat-form {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #d9e6df;
    background: #ffffff;
  }

  .zeleno-chat-form input {
    flex: 1;
    min-height: 44px;
    border: 1px solid #d9e6df;
    border-radius: 14px;
    padding: 11px 12px;
    outline: none;
    font-size: 13px;
  }

  .zeleno-chat-form input:focus {
    border-color: #00543d;
    box-shadow: 0 0 0 4px rgba(0,84,61,0.08);
  }

  .zeleno-chat-form button {
    border: none;
    border-radius: 14px;
    padding: 0 15px;
    background: #00543d;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
  }

  @media (max-width: 520px) {
    .zeleno-chat-fab {
      right: 16px;
      bottom: 16px;
    }

    .zeleno-chat-box {
      right: 10px;
      bottom: 88px;
      width: calc(100vw - 20px);
    }
  }

  .zeleno-whatsapp-fab {
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  .zeleno-whatsapp-fab svg {
    width: 34px;
    height: 34px;
    fill: #ffffff;
  }
