    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      height: 100%;
      font-family: Arial, sans-serif;
      overflow: hidden;
    }

    #bg-video {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -1;
      pointer-events: none;
    }

    .typed-container {
      position: absolute;
      top: 50%;
      left: 25%;
      transform: translate(-50%, -50%);
      color: white;
      text-align: center;
      z-index: 2;
    }

    .typed-container h1 {
      font-size: 3rem;
      font-weight: bold;
      text-shadow: 2px 2px 8px #000;
    }

    .chat-container {
      position: fixed;
      top: 0;
      right: 0;
      width: 650px;
      max-width: 100%;
      height: 100%;
      background: #f8f9fa;
      border-left: 2px solid #0077b6;
      display: flex;
      flex-direction: column;
      z-index: 3;
      box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .chat-header {
      background: #0077b6;
      color: white;
      padding: 15px;
      font-size: 20px;
      font-weight: bold;
      text-align: center;
      position: relative;
    }

    .chat-messages {
      flex: 1;
      padding: 20px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .message {
      margin: 8px 0;
      padding: 12px 16px;
      border-radius: 10px;
      max-width: 85%;
      font-size: 1rem;
      line-height: 1.6;
    }

    .user-message {
      align-self: flex-end;
      background: #0077b6;
      color: white;
    }

    .bot-message {
      align-self: flex-start;
      background: #e9ecef;
      color: #212529;
      text-align: justify;
      max-width: 95%;
      width: 100%;
      padding: 20px;
      border-radius: 12px;
      font-size: 1.1rem;
      line-height: 1.7;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    }

    .placeholder-message {
      background: #e9ecef;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
      text-align: justify;
      font-size: 1.1rem;
      line-height: 1.7;
      max-width: 90%;
      margin: auto;
      margin-top: 40px;
    }

    .placeholder-message h2 {
      text-align: center;
      color: #0077b6;
      margin-bottom: 15px;
    }

    .chat-input {
      display: flex;
      padding: 10px;
      border-top: 1px solid #ccc;
      background: #C7AA52;
      align-items: center;
      gap: 8px;
    }

    .chat-input input {
      flex: 1;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 6px;
      outline: none;
      font-size: 1rem;
    }

    .chat-input button {
      padding: 10px 15px;
      border: none;
      border-radius: 6px;
      background: #0077b6;
      color: white;
      cursor: pointer;
      font-size: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s ease;
      margin-left: -4px; /* 👈 Ajusta levemente para a esquerda */
    }

    .chat-input button:hover {
      background: #023e8a;
    }

    #voiceToggle {
      background: transparent;
      border: none;
      color: #0077b6;
      cursor: pointer;
      font-size: 28px; /* tamanho do ícone */
      padding: 5px;
      transition: color 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      user-select: none;
    }

    #voiceToggle:hover {
      color: #023e8a;
    }

    @media (max-width: 768px) {
      .chat-container {
        width: 100%;
        height: 60%;
        bottom: 0;
        top: auto;
      }

      .typed-container {
        top: 20%;
        left: 50%;
        transform: translate(-50%, -50%);
      }

      .typed-container h1 {
        font-size: 2rem;
      }

      .placeholder-message {
        font-size: 1rem;
        padding: 20px;
        margin-top: 20px;
      }
    }