    /* =============================================
       VARIÁVEIS DE DESIGN — PALETA APROVADA
    ============================================= */
    :root {
      --azul-fundo:      #0D1B2A;
      --azul-card:       #1A2E42;
      --azul-borda:      #243B55;
      --cobre:           #B87333;
      --cobre-claro:     #D4915A;
      --cobre-hover:     #C9824A;
      --branco:          #F4F0E8;
      --branco-suave:    #D9D3C7;
      --cinza-texto:     #8A9BB0;
      --verde-match:     #4CAF50;
      --vermelho-alerta: #E57373;
      --font-titulo:     'Georgia', serif;
      --font-corpo:      'Trebuchet MS', sans-serif;
      --radius:          12px;
      --sombra:          0 4px 20px rgba(0,0,0,0.4);
    }

    /* =============================================
       RESET & BASE
    ============================================= */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      background-color: var(--azul-fundo);
      color: var(--branco);
      font-family: var(--font-corpo);
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* =============================================
       NAVEGAÇÃO ENTRE TELAS
    ============================================= */
    .tela {
      display: none;
      min-height: 100vh; /* Garante que a tela ocupe pelo menos a altura total da viewport */
      animation: fadeIn 0.4s ease;
      /* ✅ ADICIONE ESTAS DUAS LINHAS ABAIXO: */
      overflow-y: auto; /* Permite rolagem vertical se o conteúdo exceder a altura */
      -webkit-overflow-scrolling: touch; /* Melhora a rolagem em dispositivos iOS */
    }
    .tela.ativa {
      display: block;
      /* ✅ ADICIONE ESTA LINHA ABAIXO PARA GARANTIR QUE A ROLAGEM FUNCIONE CORRETAMENTE */
      height: 100vh; /* A tela ativa deve ocupar 100% da altura da viewport para que o overflow-y funcione nela */
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* =============================================
       NAVBAR INTERNA
    ============================================= */
    .navbar {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: var(--azul-card);
      border-top: 1px solid var(--azul-borda);
      display: flex;
      justify-content: space-around;
      align-items: center;
      padding: 10px 0 16px;
      z-index: 100;
    }

    .nav-btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      background: none;
      border: none;
      color: var(--cinza-texto);
      font-size: 10px;
      cursor: pointer;
      padding: 6px 16px;
      border-radius: 8px;
      transition: color 0.2s;
    }
    .nav-btn.ativo { color: var(--cobre); }
    .nav-btn svg { width: 22px; height: 22px; }

    .conteudo-pagina {
      padding: 20px 20px 90px; /* Aqui está o padding-bottom */
      max-width: 480px;
      margin: 0 auto;
    }



    /* =============================================
       CABEÇALHO DAS TELAS
    ============================================= */
    .cabecalho {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 24px 20px 12px;
      max-width: 480px;
      margin: 0 auto;
    }

    .logo-topo {
      font-family: var(--font-titulo);
      font-size: 22px;
      color: var(--cobre);
      letter-spacing: 2px;
    }

    .logo-topo span {
      color: var(--branco-suave);
      font-size: 13px;
      letter-spacing: 1px;
      display: block;
      font-family: var(--font-corpo);
    }

    /* =============================================
       BOTÕES
    ============================================= */
    .btn-primario {
      background: var(--cobre);
      color: var(--azul-fundo);
      border: none;
      border-radius: var(--radius);
      padding: 14px 28px;
      font-size: 15px;
      font-weight: bold;
      cursor: pointer;
      width: 100%;
      transition: background 0.2s, transform 0.1s;
      letter-spacing: 0.5px;
    }
    .btn-primario:hover { background: var(--cobre-hover); transform: translateY(-1px); }

    .btn-secundario {
      background: transparent;
      color: var(--cobre);
      border: 1.5px solid var(--cobre);
      border-radius: var(--radius);
      padding: 12px 24px;
      font-size: 14px;
      cursor: pointer;
      width: 100%;
      transition: all 0.2s;
    }
    .btn-secundario:hover { background: rgba(184,115,51,0.1); }

    .btn-icone {
      background: var(--azul-borda);
      border: none;
      border-radius: 50%;
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--branco-suave);
      transition: background 0.2s;
    }
    .btn-icone:hover { background: var(--cobre); color: var(--azul-fundo); }

    /* Estilo para o Switch (Toggle) */
    .switch {
      position: relative;
      display: inline-block;
      width: 36px;
      height: 20px;
    }

    .switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: var(--azul-borda);
      -webkit-transition: .4s;
      transition: .4s;
      border-radius: 20px;
    }

    .slider:before {
      position: absolute;
      content: "";
      height: 16px;
      width: 16px;
      left: 2px;
      bottom: 2px;
      background-color: var(--branco-suave);
      -webkit-transition: .4s;
      transition: .4s;
      border-radius: 50%;
    }

    input:checked + .slider {
      background-color: var(--cobre);
    }

    input:focus + .slider {
      box-shadow: 0 0 1px var(--cobre);
    }

    input:checked + .slider:before {
      -webkit-transform: translateX(16px);
      -ms-transform: translateX(16px);
      transform: translateX(16px);
    }

    /* =============================================
       TELA 1 — BOAS-VINDAS / SPLASH
    ============================================= */
    #tela-inicio.ativa {
      display: flex;
      flex-direction: column;
      align-items: center;
      /* justify-content: center; /* REMOVA OU COMENTE ESTA LINHA */
      min-height: 100vh;
      padding: 40px 30px;
      padding-bottom: 120px; /* Adiciona um padding maior para garantir espaço para os links e navbar */
      text-align: center;
      overflow-y: auto; /* PERMITE A ROLAGEM VERTICAL QUANDO O CONTEÚDO EXCEDER A TELA */
      -webkit-overflow-scrolling: touch; /* Melhora a rolagem em dispositivos iOS */
    }


    .k7-container {
      width: 200px;
      height: 130px;
      position: relative;
      margin-bottom: 40px;
    }

    .k7-corpo {
      width: 200px;
      height: 130px;
      background: linear-gradient(145deg, #2a1f0f, #3d2e18);
      border-radius: 10px;
      border: 2px solid var(--cobre);
      position: relative;
      box-shadow: 0 8px 30px rgba(184,115,51,0.3);
    }

    .k7-janela {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 120px;
      height: 55px;
      background: #0a0a0a;
      border-radius: 6px;
      border: 1px solid var(--cobre);
      display: flex;
      align-items: center;
      justify-content: space-around;
      padding: 8px 12px;
    }

    .k7-rolo {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 35%, #555, #111);
      border: 1.5px solid var(--cobre);
      position: relative;
    }

    .k7-rolo::after {
      content: '';
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 10px; height: 10px;
      border-radius: 50%;
      background: var(--cobre);
    }

    .k7-fita {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 30px;
      height: 3px;
      background: var(--cobre);
    }

    .k7-etiqueta {
      position: absolute;
      bottom: 12px;
      left: 50%;
      transform: translateX(-50%);
      font-family: var(--font-titulo);
      font-size: 10px;
      color: var(--cobre);
      letter-spacing: 3px;
      white-space: nowrap;
    }

    .inicio-titulo {
      font-family: var(--font-titulo);
      font-size: 42px;
      color: var(--cobre);
      letter-spacing: 4px;
      margin-bottom: 8px;
    }

    .inicio-tagline {
      font-size: 14px;
      color: var(--branco-suave);
      letter-spacing: 1px;
      margin-bottom: 16px;
      line-height: 1.6;
    }

    .inicio-descricao {
      font-size: 13px;
      color: var(--cinza-texto);
      line-height: 1.7;
      margin-bottom: 40px;
      max-width: 320px;
    }

    .inicio-acoes {
      display: flex;
      flex-direction: column;
      gap: 12px;
      width: 100%;
      max-width: 320px;
    }

    /* =============================================
       TELA 2 — FEED DE PERFIS
    ============================================= */
    .feed-titulo {
      font-family: var(--font-titulo);
      font-size: 16px;
      color: var(--branco-suave);
    }

    .feed-subtitulo {
      font-size: 12px;
      color: var(--cinza-texto);
      margin-top: 2px;
    }

    /* Card de Perfil */
    .card-perfil {
      background: var(--azul-card);
      border: 1px solid var(--azul-borda);
      border-radius: 16px;
      padding: 24px;
      margin-bottom: 16px;
      box-shadow: var(--sombra);
      position: relative;
      transition: transform 0.2s;
    }
    .card-perfil:hover { transform: translateY(-2px); }

    .card-topo {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      margin-bottom: 16px;
    }

    /* Silhueta no lugar da foto */
    .silhueta {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: var(--azul-borda);
      border: 2px solid var(--cobre);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      position: relative;
      overflow: hidden;
    }

    .silhueta svg {
      width: 40px;
      height: 40px;
      color: var(--cinza-texto);
      opacity: 0.6;
    }

    .silhueta .lock-badge {
      position: absolute;
      bottom: 0; right: 0;
      width: 20px; height: 20px;
      background: var(--cobre);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 2px solid var(--azul-card);
    }

    .silhueta .lock-badge svg { width: 10px; height: 10px; color: var(--azul-fundo); }

    .card-info { flex: 1; }

    .card-nome {
      font-family: var(--font-titulo);
      font-size: 20px;
      color: var(--branco);
      margin-bottom: 4px;
    }

    .card-local {
      font-size: 12px;
      color: var(--cinza-texto);
      display: flex;
      align-items: center;
      gap: 4px;
      margin-bottom: 10px;
    }

    .card-local svg { width: 12px; height: 12px; }

    /* Compatibilidade */
    .compat-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: rgba(184,115,51,0.15);
      border: 1px solid rgba(184,115,51,0.3);
      color: var(--cobre-claro);
      font-size: 11px;
      padding: 3px 8px;
      border-radius: 20px;
    }

    /* Tags de interesses */
    .tags-container {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 14px;
    }

    .tag {
      background: rgba(36,59,85,0.8);
      border: 1px solid var(--azul-borda);
      color: var(--branco-suave);
      font-size: 11px;
      padding: 4px 10px;
      border-radius: 20px;
    }

    .tag.em-comum {
      background: rgba(184,115,51,0.15);
      border-color: rgba(184,115,51,0.4);
      color: var(--cobre-claro);
    }

    .card-bio {
      font-size: 13px;
      color: var(--branco-suave);
      line-height: 1.6;
      margin-bottom: 18px;
      font-style: italic;
      border-left: 2px solid var(--cobre);
      padding-left: 12px;
    }

    .card-acoes {
      display: flex;
      gap: 10px;
    }

    .btn-curtir {
      flex: 1;
      background: var(--cobre);
      color: var(--azul-fundo);
      border: none;
      border-radius: var(--radius);
      padding: 12px;
      font-size: 14px;
      font-weight: bold;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: all 0.2s;
    }
    .btn-curtir:hover { background: var(--cobre-hover); transform: scale(1.02); }
    .btn-curtir svg { /* Correção: Adicionado estilo para o SVG dentro do botão Curtir */
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }

    .btn-passar {
      flex: 1;
      background: transparent;
      color: var(--cinza-texto);
      border: 1px solid var(--azul-borda);
      border-radius: var(--radius);
      padding: 12px;
      font-size: 14px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: all 0.2s;
    }
    .btn-passar:hover { border-color: var(--cinza-texto); color: var(--branco-suave); }
    .btn-passar svg { /* Correção: Adicionado estilo para o SVG dentro do botão Passar */
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }

    /* Filtros de busca */
    .filtros-container {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding-bottom: 8px;
      margin-bottom: 16px;
      scrollbar-width: none;
    }
    .filtros-container::-webkit-scrollbar { display: none; }

    .filtro-chip {
      background: var(--azul-card);
      border: 1px solid var(--azul-borda);
      color: var(--cinza-texto);
      font-size: 12px;
      padding: 6px 14px;
      border-radius: 20px;
      white-space: nowrap;
      cursor: pointer;
      transition: all 0.2s;
    }
    .filtro-chip.ativo {
      background: rgba(184,115,51,0.15);
      border-color: var(--cobre);
      color: var(--cobre);
    }

    /* =============================================
       TELA 3 — CHAT
    ============================================= */
    .chat-cabecalho {
      background: var(--azul-card);
      border-bottom: 1px solid var(--azul-borda);
      padding: 16px 20px;
      position: sticky;
      top: 0;
      z-index: 10;
    }

    .chat-perfil-topo {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 12px;
      justify-content: space-between; /* Correção: Para espaçar os elementos */
    }

    .chat-perfil-info { /* Correção: Novo container para nome e status */
      display: flex;
      align-items: center;
      gap: 12px;
      flex-grow: 1; /* Correção: Para ocupar o espaço restante */
    }

    .chat-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--azul-borda);
      border: 1.5px solid var(--cobre);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .chat-avatar svg { width: 24px; height: 24px; color: var(--cinza-texto); }

    .chat-nome-status { flex: 1; }
    .chat-nome { font-size: 16px; font-weight: bold; color: var(--branco); }
    .chat-status {
      font-size: 11px;
      /* A cor será definida via JS para 'Online' ou 'Offline' */
      /* color: var(--verde-match); */ /* Remova ou comente esta linha */
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .chat-status::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--cinza-texto);
    }

    .chat-status.online::before {
      background: var(--verde-match);
    }

    .chat-status.offline::before {
      background: var(--cinza-texto);
    }

    /* Correção: Estilo para botões de ícone dentro do cabeçalho do chat */
    .chat-cabecalho .btn-icone {
      background: none;
      border: none;
      width: 36px;
      height: 36px;
      color: var(--branco-suave);
    }

    .chat-cabecalho .btn-icone:hover {
      background: rgba(255,255,255,0.1);
      color: var(--cobre);
    }

    .chat-cabecalho .btn-icone svg {
      width: 20px;
      height: 20px;
    }

    /* Termômetro no chat */
    .termometro-container {
      background: var(--azul-borda);
      border-radius: 20px;
      padding: 8px 14px;
    }

    .termo-label {
      display: flex;
      justify-content: space-between;
      font-size: 11px;
      color: var(--cinza-texto);
      margin-bottom: 6px;
    }

    .termo-label span:last-child { color: var(--cobre); font-weight: bold; }

    .termo-barra-bg {
      background: var(--azul-fundo);
      border-radius: 10px;
      height: 8px;
      overflow: hidden;
    }

    .termo-barra-fill {
      height: 100%;
      border-radius: 10px;
      background: linear-gradient(90deg, var(--cobre), var(--cobre-claro));
      transition: width 0.5s ease;
    }

     /* Área de mensagens */
      .chat-mensagens {
        padding: 16px 20px;
        max-width: 480px;
        margin: 0 auto;
        padding-bottom: 180px; /* Ou 200px, para mais espaço */
        overflow-y: auto; /* Adicionei isso para garantir que o scroll seja no container */
        height: calc(100vh - 60px - 180px); /* Exemplo: 60px para o cabeçalho do chat, 180px para a área de input/navbar */
        /* Ajuste o height conforme a altura do seu cabeçalho do chat e da área de input/navbar */
      }

    .msg-separador {
      text-align: center;
      font-size: 11px;
      color: var(--cinza-texto);
      margin: 16px 0;
      position: relative;
    }
    .msg-separador::before,
    .msg-separador::after {
      content: '';
      position: absolute;
      top: 50%;
      width: 30%;
      height: 1px;
      background: var(--azul-borda);
    }
    .msg-separador::before { left: 0; }
    .msg-separador::after  { right: 0; }

    .msg-sugestao {
      background: rgba(184,115,51,0.08);
      border: 1px solid rgba(184,115,51,0.2);
      border-radius: 12px;
      padding: 10px 14px;
      font-size: 12px;
      color: var(--cinza-texto);
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .msg-sugestao svg { width: 14px; height: 14px; color: var(--cobre); flex-shrink: 0; }

    .msg-bloco {
      margin-bottom: 12px;
      display: flex;
      flex-direction: column;
    }

    .msg-bloco.enviada { align-items: flex-end; }
    .msg-bloco.recebida { align-items: flex-start; }

    .msg-balao {
      max-width: 75%;
      padding: 10px 14px;
      border-radius: 16px;
      font-size: 14px;
      line-height: 1.5;
    }

    .msg-bloco.enviada .msg-balao {
      background: var(--cobre);
      color: var(--azul-fundo);
      border-bottom-right-radius: 4px;
    }

    .msg-bloco.recebida .msg-balao {
      background: var(--azul-card);
      border: 1px solid var(--azul-borda);
      color: var(--branco);
      border-bottom-left-radius: 4px;
    }

    .msg-hora {
      font-size: 10px;
      color: var(--cinza-texto);
      margin-top: 4px;
      padding: 0 4px;
    }

    /* Áudio */
        /* Áudio */
    .msg-audio {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 160px;
    }

    .audio-play {
      width: 32px; height: 32px;
      border-radius: 50%;
      background: rgba(255,255,255,0.15);
      border: none;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
      color: inherit;
    }
    .audio-play svg { width: 14px; height: 14px; }

    .audio-onda {
      flex: 1;
      height: 24px;
      display: flex;
      align-items: center;
      gap: 2px;
    }

    .onda-barra {
      width: 3px;
      border-radius: 2px;
      background: currentColor;
      opacity: 0.6;
    }

    /* Input de mensagem */
    .chat-input-area {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: var(--azul-card);
      border-top: 1px solid var(--azul-borda);
      padding: 12px 16px 24px;
      z-index: 101; /* Altere para um valor maior que o z-index da navbar (100) */
    }

    .chat-input-row {
      display: flex;
      align-items: center;
      gap: 8px;
      max-width: 480px;
      margin: 0 auto;
    }

    .input-acoes {
      display: flex;
      gap: 6px;
    }

    .btn-acao-chat {
      background: var(--azul-borda);
      border: none;
      border-radius: 50%;
      width: 36px; height: 36px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      color: var(--cinza-texto);
      transition: all 0.2s;
    }
    .btn-acao-chat:hover { background: var(--cobre); color: var(--azul-fundo); }
    .btn-acao-chat svg { width: 16px; height: 16px; }

    .chat-input {
      flex: 1;
      background: var(--azul-fundo);
      border: 1px solid var(--azul-borda);
      border-radius: 20px;
      padding: 10px 16px;
      color: var(--branco);
      font-size: 14px;
      outline: none;
      transition: border-color 0.2s;
      white-space: pre-wrap;
    }
    .chat-input:focus { border-color: var(--cobre); }
    .chat-input::placeholder { color: var(--cinza-texto); }

    .btn-enviar {
      background: var(--cobre);
      border: none;
      border-radius: 50%;
      width: 40px; height: 40px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      color: var(--azul-fundo);
      transition: all 0.2s;
      flex-shrink: 0;
    }
    .btn-enviar:hover { background: var(--cobre-hover); transform: scale(1.05); }
    .btn-enviar svg { width: 18px; height: 18px; }

    /* =============================================
       TELA 4 — MATCHES
    ============================================= */
    .secao-titulo {
      font-family: var(--font-titulo);
      font-size: 14px;
      color: var(--cinza-texto);
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 12px;
      margin-top: 8px;
    }

    /* Match recente (horizontal scroll) */
    .matches-scroll {
      display: flex;
      gap: 14px;
      overflow-x: auto;
      padding-bottom: 8px;
      margin-bottom: 24px;
      scrollbar-width: none;
    }
    .matches-scroll::-webkit-scrollbar { display: none; }

    .match-mini {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
    }

    .match-avatar {
      width: 56px; height: 56px;
      border-radius: 50%;
      background: var(--azul-card);
      border: 2px solid var(--cobre);
      display: flex; align-items: center; justify-content: center;
      position: relative;
    }
    .match-avatar svg { width: 28px; height: 28px; color: var(--cinza-texto); }

    .match-new-badge {
      position: absolute;
      top: -2px; right: -2px;
      width: 14px; height: 14px;
      background: var(--verde-match);
      border-radius: 50%;
      border: 2px solid var(--azul-fundo);
    }

    .match-mini-nome {
      font-size: 11px;
      color: var(--branco-suave);
      text-align: center;
      max-width: 60px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    /* Conversas recentes */
    .conversa-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 14px 0;
      border-bottom: 1px solid var(--azul-borda);
      cursor: pointer;
      transition: opacity 0.2s;
    }
    .conversa-item:hover { opacity: 0.8; }

    .conv-avatar {
      width: 50px; height: 50px;
      border-radius: 50%;
      background: var(--azul-card);
      border: 1.5px solid var(--azul-borda);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .conv-avatar svg { width: 26px; height: 26px; color: var(--cinza-texto); }
    .conv-avatar.tem-termo { border-color: var(--cobre); }

    .conv-info { flex: 1; min-width: 0; }
    .conv-nome { font-size: 15px; color: var(--branco); margin-bottom: 3px; }
    .conv-ultima {
      font-size: 12px;
      color: var(--cinza-texto);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .conv-meta {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 6px;
      flex-shrink: 0;
    }
    .conv-hora { font-size: 11px; color: var(--cinza-texto); }

    .conv-termometro {
      width: 50px;
      height: 4px;
      background: var(--azul-borda);
      border-radius: 2px;
      overflow: hidden;
    }
    .conv-termometro-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--cobre), var(--cobre-claro));
      border-radius: 2px;
    }

    /* =============================================
       TELA 5 — REVEAL
    ============================================= */
    .reveal-tela {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 40px 30px;
      text-align: center;
      background: radial-gradient(ellipse at center, rgba(184,115,51,0.08) 0%, var(--azul-fundo) 70%);
    }

    .reveal-termometro {
      width: 100%;
      max-width: 320px;
      margin-bottom: 40px;
    }

    .termo-grande-label {
      font-family: var(--font-titulo);
      font-size: 13px;
      color: var(--cinza-texto);
      letter-spacing: 2px;
      text-transform: uppercase;
      margin-bottom: 12px;
    }

    .termo-grande-barra {
      background: var(--azul-borda);
      border-radius: 20px;
      height: 16px;
      overflow: hidden;
      position: relative;
    }

    .termo-grande-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--cobre), var(--cobre-claro), #FFD700);
      border-radius: 20px;
      position: relative;
      transition: width 1s ease;
    }

    .termo-grande-fill::after {
      content: '🔥';
      position: absolute;
      right: -8px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 16px;
    }

    .termo-grande-pct {
      margin-top: 8px;
      font-size: 13px;
      color: var(--cobre);
    }

    .reveal-avatares {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-bottom: 30px;
    }

    .reveal-avatar {
      width: 90px; height: 90px;
      border-radius: 50%;
      background: var(--azul-card);
      border: 3px solid var(--cobre);
      display: flex; align-items: center; justify-content: center;
      position: relative;
      overflow: hidden;
    }
    .reveal-avatar svg { width: 48px; height: 48px; color: var(--cinza-texto); }

    .reveal-avatar.revelado {
      border-color: var(--cobre-claro);
      box-shadow: 0 0 30px rgba(184,115,51,0.5);
    }

    .reveal-avatar .foto-revelada {
      width: 100%; height: 100%;
      object-fit: cover;
      border-radius: 50%;
    }

    .reveal-coracao {
      font-size: 28px;
      animation: batimento 1.2s ease infinite;
    }

    @keyframes batimento {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.2); }
    }

    .reveal-titulo {
      font-family: var(--font-titulo);
      font-size: 24px;
      color: var(--cobre);
      margin-bottom: 12px;
    }

    .reveal-subtitulo {
      font-size: 14px;
      color: var(--branco-suave);
      line-height: 1.7;
      margin-bottom: 32px;
      max-width: 280px;
    }

    .reveal-estado {
      display: flex;
      flex-direction: column;
      gap: 10px;
      width: 100%;
      max-width: 320px;
    }

    /* Animação de reveal completo */
    .confetti-area {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      pointer-events: none;
      z-index: 200;
      overflow: hidden;
    }

    .confetti-particle {
      position: absolute;
      width: 8px; height: 8px;
      border-radius: 2px;
      animation: confetti-cair 3s ease forwards;
    }

    @keyframes confetti-cair {
      0%   { transform: translateY(-20px) rotate(0deg); opacity: 1; }
      100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
    }

    /* =============================================
       TELA 6 — PERFIL PRÓPRIO
    ============================================= */
    .perfil-proprio {
      padding: 24px 20px 100px;
      max-width: 480px;
      margin: 0 auto;
    }

    .meu-perfil-topo {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      margin-bottom: 28px;
    }

    .meu-avatar {
      width: 100px; height: 100px;
      border-radius: 50%;
      background: var(--azul-card);
      border: 3px solid var(--cobre);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 16px;
      position: relative;
    }
    .meu-avatar svg { width: 52px; height: 52px; color: var(--cinza-texto); }

    .meu-avatar-edit {
      position: absolute;
      bottom: 0; right: 0;
      width: 28px; height: 28px;
      background: var(--cobre);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      border: 2px solid var(--azul-fundo);
      cursor: pointer;
    }
    .meu-avatar-edit svg { width: 13px; height: 13px; color: var(--azul-fundo); }

    .meu-nome {
      font-family: var(--font-titulo);
      font-size: 26px;
      color: var(--branco);
      margin-bottom: 4px;
    }
    .meu-descricao { font-size: 13px; color: var(--cinza-texto); }

    .secao-card {
      background: var(--azul-card);
      border: 1px solid var(--azul-borda);
      border-radius: var(--radius);
      padding: 18px;
      margin-bottom: 14px;
    }

    .secao-card-titulo {
      font-size: 12px;
      color: var(--cinza-texto);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .editar-link {
      color: var(--cobre);
      font-size: 12px;
      cursor: pointer;
      text-decoration: none;
    }

    .bio-texto {
      font-size: 14px;
      color: var(--branco-suave);
      line-height: 1.6;
      font-style: italic;
    }

    .foto-status {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px;
      background: var(--azul-fundo);
      border-radius: 10px;
    }

    .foto-icone {
      width: 44px; height: 44px;
      background: rgba(184,115,51,0.15);
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
    }
    .foto-icone svg { width: 22px; height: 22px; color: var(--cobre); }

    .foto-info { flex: 1; }
    .foto-info-titulo { font-size: 13px; color: var(--branco); }
    .foto-info-sub { font-size: 11px; color: var(--cinza-texto); margin-top: 2px; }
    

    /* =============================================
       NOTIFICAÇÃO DE MATCH
    ============================================= */
    .modal-overlay {
      display: none;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.8);
      z-index: 300;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    .modal-overlay.aberto { display: flex; }

    .modal-match {
      background: var(--azul-card);
      border: 1px solid var(--cobre);
      border-radius: 20px;
      padding: 32px 24px;
      text-align: center;
      max-width: 340px;
      width: 100%;
      animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      box-shadow: 0 0 60px rgba(184,115,51,0.3);
    }

    @keyframes popIn {
      from { transform: scale(0.8); opacity: 0; }
      to   { transform: scale(1); opacity: 1; }
    }

    .match-emoji { font-size: 48px; margin-bottom: 12px; }

    .match-titulo {
      font-family: var(--font-titulo);
      font-size: 26px;
      color: var(--cobre);
      margin-bottom: 8px;
    }

    .match-sub {
      font-size: 13px;
      color: var(--branco-suave);
      margin-bottom: 24px;
      line-height: 1.6;
    }

    .match-avatares-modal {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px;
    }

    .match-avatar-modal {
      width: 64px; height: 64px;
      border-radius: 50%;
      background: var(--azul-fundo);
      border: 2px solid var(--cobre);
      display: flex; align-items: center; justify-content: center;
    }
    .match-avatar-modal svg { width: 34px; height: 34px; color: var(--cinza-texto); }

    .match-icone-centro { font-size: 24px; }

    .match-acoes {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    /* =============================================
       TELA — ENCERRAMENTO / DESPEDIDA
    ============================================= */
    .despedida-tela {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 40px 30px;
      text-align: center;
    }

    .despedida-titulo {
      font-family: var(--font-titulo);
      font-size: 32px;
      color: var(--cobre);
      margin-bottom: 16px;
    }

    .despedida-subtitulo {
      font-size: 15px;
      color: var(--branco-suave);
      line-height: 1.7;
      margin-bottom: 40px;
      max-width: 300px;
    }

    /* =============================================
       PAINÉIS LATERAIS (Filtros, Interesses)
    ============================================= */
    .filtros-painel {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.8);
      z-index: 200;
      display: flex;
      justify-content: flex-end;
      visibility: hidden;
      opacity: 0;
      transition: visibility 0.3s, opacity 0.3s;
    }
    .filtros-painel.aberto {
      visibility: visible;
      opacity: 1;
    }

    .filtros-conteudo {
      background: var(--azul-fundo);
      width: 85%;
      max-width: 320px;
      transform: translateX(100%);
      transition: transform 0.3s ease-out;
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .filtros-painel.aberto .filtros-conteudo {
      transform: translateX(0);
    }

    .filtros-titulo {
      font-family: var(--font-titulo);
      font-size: 22px;
      color: var(--cobre);
      margin-bottom: 10px;
    }

    .filtro-grupo-label {
      font-size: 12px;
      color: var(--cinza-texto);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 10px;
    }

    .filtro-opcoes {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    /* Emoji Picker */
    .emoji-picker {
      position: fixed;
      bottom: 80px; /* Acima do input de chat */
      left: 50%;
      transform: translateX(-50%);
      background: var(--azul-card);
      border: 1px solid var(--azul-borda);
      border-radius: 12px;
      padding: 10px;
      max-width: 300px;
      width: 90%;
      z-index: 102;
      display: none;
      flex-wrap: wrap;
      gap: 5px;
      justify-content: center;
    }
    .emoji-picker.aberto {
      display: flex;
    }

    .emoji-btn-item {
      background: none;
      border: none;
      font-size: 22px;
      cursor: pointer;
      padding: 5px;
      border-radius: 5px;
      transition: background 0.2s;
    }
    .emoji-btn-item:hover {
      background: var(--azul-borda);
    }
/* =============================================
   REVEAL — FOTO E SILHUETA
============================================= */

.reveal-avatar {
  position: relative;
  overflow: hidden;
}

.reveal-avatar .foto-revelada {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.reveal-avatar .silhueta-reveal {
  display: block;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.reveal-avatar img[hidden],
.reveal-avatar svg[hidden] {
  display: none !important;
}

/* Corrige a silhueta sobrepondo ou ocupando espaço após o Reveal */
.reveal-avatar img[hidden],
.reveal-avatar svg[hidden] {
  display: none !important;
}

.reveal-avatar .foto-revelada {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* =====================================================
   FOTO AMPLIADA — REVEAL COMPLETO
===================================================== */

.foto-revelada-clicavel {
  cursor: zoom-in;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.foto-revelada-clicavel:hover,
.foto-revelada-clicavel:focus {
  transform: scale(1.05);
  filter: brightness(1.08);
  outline: none;
}

.foto-revelada-clicavel:focus-visible {
  outline: 3px solid var(--amarelo, #f4c542);
  outline-offset: 4px;
}

/* Fundo escuro do modal */
.foto-modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;

  align-items: center;
  justify-content: center;

  padding: 24px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(6px);
}

/* Estado aberto */
.foto-modal-overlay.aberto {
  display: flex;
  animation: fotoModalAparecer 0.2s ease-out;
}

/* Foto com tamanho responsivo e sem deformação */
.foto-modal-imagem {
  display: block;
  max-width: min(92vw, 700px);
  max-height: 82vh;

  width: auto;
  height: auto;

  object-fit: contain;
  border-radius: 16px;

  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
  animation: fotoImagemAparecer 0.25s ease-out;
}

/* Botão de fechar */
.foto-modal-fechar {
  position: fixed;
  top: 18px;
  right: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;

  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;

  font-size: 36px;
  line-height: 1;
  cursor: pointer;

  transition: background 0.2s ease, transform 0.2s ease;
}

.foto-modal-fechar:hover,
.foto-modal-fechar:focus {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
  outline: none;
}

.foto-modal-fechar:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

@keyframes fotoModalAparecer {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fotoImagemAparecer {
  from {
    opacity: 0;
    transform: scale(0.94);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- Painéis de Filtro (Feed, Perfil, Interesses) --- */
.filtros-painel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Fundo escuro semi-transparente */
  display: flex;
  justify-content: flex-end; /* Alinha o painel à direita */
  align-items: flex-start;
  z-index: 1000; /* Garante que fique acima de outros elementos */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.filtros-painel.aberto {
  opacity: 1;
  visibility: visible;
}

.filtros-conteudo {
  background: var(--azul-fundo); /* Esta é a definição correta que você tinha antes */
  width: 80%; /* Largura do painel (ajuste conforme necessário) */
  max-width: 350px; /* Largura máxima para telas maiores */
  height: 100%;
  padding: 20px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  transform: translateX(100%); /* Começa fora da tela, à direita */
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto; /* Para permitir rolagem se o conteúdo for grande */
}

.filtros-painel.aberto .filtros-conteudo {
  transform: translateX(0); /* Desliza para dentro da tela */
}

.filtros-titulo {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--branco-principal);
  margin-bottom: 10px;
}

.filtro-grupo {
  margin-bottom: 15px;
}

.filtro-grupo-label {
  font-size: 0.9em;
  color: var(--cinza-texto);
  margin-bottom: 8px;
}

.filtro-opcoes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filtro-chip {
  background-color: var(--cor-fundo-input);
  color: var(--cinza-texto);
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85em;
  transition: background-color 0.2s ease, color 0.2s ease;
  user-select: none; /* Impede seleção de texto */
}

.filtro-chip:hover {
  background-color: var(--cor-destaque-claro);
}

.filtro-chip.ativo {
  background-color: var(--cor-primaria);
  color: var(--branco-principal);
  font-weight: bold;
}

/* Estilo para o input de localização dentro do painel de filtros */
.filtros-conteudo .chat-input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--cor-borda-input);
  border-radius: 8px;
  background-color: var(--cor-fundo-input);
  color: var(--branco-principal);
  font-size: 1em;
}

.filtros-conteudo .chat-input::placeholder {
  color: var(--cinza-texto);
}

.filtros-conteudo .btn-primario {
  margin-top: 20px;
  width: 100%;
}

    /* Adicione este bloco no final da seção .card-perfil ou próximo a .card-local */
    .card-busca-por {
      font-size: 12px;
      color: var(--cinza-texto);
      display: flex;
      align-items: center;
      gap: 4px;
      margin-top: 4px; /* Espaçamento entre localização e busca por */
      margin-bottom: 10px; /* Espaçamento antes da compatibilidade ou tags */
    }

    .card-busca-por svg {
      width: 12px;
      height: 12px;
      color: var(--cobre); /* Ou a cor que preferir para o ícone */
    }

    /* Ícone da aba Curtidas com contador de notificações */
.nav-icone-com-contador {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.nav-icone-com-contador svg {
  width: 24px;
  height: 24px;
}

/* Bolinha com quantidade de curtidas recebidas */
.contador-notificacao {
  display: none;
  position: absolute;
  top: -8px;
  right: -11px;

  min-width: 17px;
  height: 17px;
  padding: 0 4px;

  border: 2px solid var(--azul-escuro);
  border-radius: 999px;

  background: var(--laranja);
  color: var(--azul-escuro);

  font-size: 10px;
  font-weight: 800;
  line-height: 13px;
  text-align: center;
}

/* =============================================
   CHAT — ESTADOS DO BOTÃO DE ÁUDIO
============================================= */

/* Estado normal do microfone */
#btn-audio {
  background: var(--azul-borda);
  color: var(--cinza-texto);
  outline: none;
}

/* Estado real: gravação em andamento */
#btn-audio.gravando {
  background: var(--cobre);
  color: var(--azul-fundo);
  box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.22);
  animation: pulsar-microfone 1.1s ease-in-out infinite;
}

/* Depois do clique, não deve parecer que continua gravando */
#btn-audio:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* Foco acessível somente para quem navega usando teclado */
#btn-audio:focus-visible {
  outline: 2px solid var(--cobre-claro);
  outline-offset: 3px;
}

@keyframes pulsar-microfone {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

/* =============================================
   NOTIFICAÇÕES INTERNAS DO LadoB
============================================= */

.area-notificacoes-LadoB {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 5000;

  display: flex;
  flex-direction: column;
  gap: 10px;

  width: min(330px, calc(100vw - 36px));
  pointer-events: none;
}

.aviso-notificacao-LadoB {
  display: flex;
  flex-direction: column;
  gap: 4px;

  padding: 14px 16px;

  background: var(--azul-card);
  border: 1px solid var(--cobre);
  border-left: 4px solid var(--cobre);
  border-radius: 12px;

  color: var(--branco);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);

  animation: avisoEntrar 0.25s ease-out;
}

.aviso-notificacao-LadoB strong {
  color: var(--cobre-claro);
  font-size: 14px;
}

.aviso-notificacao-LadoB span {
  color: var(--branco-suave);
  font-size: 12px;
  line-height: 1.4;
}

.aviso-notificacao-LadoB.saindo {
  animation: avisoSair 0.25s ease-in forwards;
}

@keyframes avisoEntrar {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes avisoSair {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(24px);
  }
}

body.usuario-autenticado .navbar {
  display: flex;
}

.estado-vazio {
  margin-top: 22px;
  padding: 18px;

  border: 1px dashed var(--azul-borda);
  border-radius: var(--radius);

  color: var(--cinza-texto);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;

  background: rgba(26, 46, 66, 0.45);
}

/* Campo de mensagem com suporte a parágrafos no celular */
textarea.chat-input {
  min-height: 42px;
  max-height: 120px;
  resize: none;
  line-height: 1.4;
  font-family: inherit;
  overflow-y: auto;
}

/* Estilo para o textarea do chat */
.chat-input {
  flex: 1;
  background: var(--azul-fundo);
  border: 1px solid var(--azul-borda);
  border-radius: 20px;
  padding: 10px 16px;
  color: var(--branco);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  resize: none; /* Impede que o usuário redimensione o textarea manualmente */
  min-height: 40px; /* Altura mínima para o textarea */
  max-height: 120px; /* Altura máxima antes de adicionar scroll */
  overflow-y: auto; /* Adiciona scroll se o conteúdo exceder max-height */
  line-height: 1.5; /* Melhora a legibilidade */
  white-space: pre-wrap; /* Preserva espaços em branco e quebras de linha */
}
.chat-input:focus {
  border-color: var(--cobre);
}
.chat-input::placeholder {
  color: var(--cinza-texto);
}

/* Garante que as quebras de linha apareçam nos balões de mensagem */
.msg-balao {
  white-space: pre-wrap; /* Preserva espaços em branco e quebras de linha */
  overflow-wrap: anywhere; /* Quebra palavras longas para evitar overflow */
}

/* Estilos para a tela de verificação de e-mail */
#tela-verificar-email {
  /* Remova ou comente a linha 'display: flex;' aqui.
     A classe '.tela' já cuida do 'display: none' por padrão.
     O 'display: flex' será aplicado via JS quando a tela for ativada. */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  background-color: var(--azul-fundo); /* Usando sua variável */
  color: var(--branco); /* Usando sua variável */
  height: 100vh; /* Ocupa a altura total da tela */
  box-sizing: border-box;
}

#tela-verificar-email h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: var(--cobre); /* Usando sua variável */
}

#tela-verificar-email p {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 400px; /* Limita a largura do texto para melhor leitura */
}

#tela-verificar-email .email-nao-verificado {
  font-weight: bold;
  color: var(--cobre-claro); /* Usando sua variável */
  margin-bottom: 10px;
}

#tela-verificar-email button {
  margin-top: 10px;
  width: 80%; /* Ajuste a largura dos botões */
  max-width: 300px; /* Limita a largura máxima */
}

/* Estilos para os links de políticas na tela inicial */
.links-politicas-container {
  margin-top: 20px; /* Espaçamento acima dos links */
  font-size: 12px;
  color: var(--cinza-texto);
  display: flex; /* Para alinhar os itens */
  flex-wrap: wrap; /* Permite quebrar a linha se não houver espaço */
  justify-content: center; /* Centraliza os itens */
  align-items: center; /* Alinha verticalmente */
  gap: 4px; /* Espaçamento entre os elementos */
  max-width: 320px; /* Limita a largura para melhor leitura */
  text-align: center; /* Centraliza o texto se quebrar a linha */
}

.texto-politicas {
  white-space: nowrap; /* Impede quebra de linha no texto "Ao continuar..." */
}

.link-politica {
  color: var(--cobre-claro); /* Cor dos links */
  text-decoration: underline; /* Sublinhado para indicar que é um link */
  white-space: nowrap; /* Impede quebra de linha nos links */
}

.link-politica:hover {
  color: var(--cobre); /* Cor ao passar o mouse */
}

.separador-link {
  color: var(--cinza-texto); /* Cor do "e" */
  white-space: nowrap; /* Impede quebra de linha no "e" */
}

.badge-beta {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1px;
  color: var(--azul-fundo);
  background: var(--cobre-claro);
  border-radius: 20px;
  vertical-align: middle;
}

/* =============================================
   MARCA ECÊMORA — TELA INICIAL
============================================= */

.marca-inicio {
  display: block;
  width: min(250px, 72vw);
  max-height: 170px;
  height: auto;
  margin: 4px auto 12px;
  object-fit: contain;
}

.inicio-subtitulo-marca {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  margin: 0 0 10px;

  color: var(--branco);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.inicio-subtitulo-marca .badge-beta {
  margin-left: 0;
}

/* Selo BETA dentro dos cabeçalhos internos */
.logo-topo .badge-beta {
  display: inline-block;
  margin-left: 4px;
  font-family: var(--font-corpo);
  font-size: 9px;
  letter-spacing: 0.8px;
}

/* =============================================
   CHAT — TEXTO DOS BALÕES
   Mantém áudio intacto.
============================================= */

.msg-balao {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

/* CHAT — impede linha vazia invisível no início das mensagens */
.msg-balao {
  white-space: normal;
  overflow-wrap: anywhere;
}