/* ================================
   JORNADA APP — MENU DE BAIXO E ÍCONES DO TOPO (js/nav.js)
   Independente do style.css: funciona em qualquer página.
================================ */
.navb {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  display: flex; justify-content: space-around; align-items: stretch;
  background: rgba(26, 18, 8, .97); border-top: 1px solid rgba(202, 144, 18, .22);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
  font-family: 'Nunito', system-ui, sans-serif;
}
.navb a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 4px 0; text-decoration: none; color: #ECA815; opacity: .5;
  transition: opacity .18s cubic-bezier(.4, 0, .2, 1);
  -webkit-tap-highlight-color: transparent;
}
.navb a[aria-current="page"] { opacity: 1; }
.navb a:focus-visible { outline: 2px solid #5BC8E8; outline-offset: 2px; border-radius: 8px; }
.navb svg { width: 22px; height: 22px; fill: none; stroke: #ECA815; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.navb span { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
body.com-navb { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

/* --- ícones do topo: sino, balão, perfil --- */
.topo-acoes { display: flex; align-items: center; gap: 8px; }
.topo-acoes button, .topo-acoes a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(236, 168, 21, .3); background: rgba(202, 144, 18, .08);
  color: #ECA815; cursor: pointer; text-decoration: none; padding: 0;
  font: 600 16px 'Cormorant Garamond', serif;
}
.topo-acoes svg { width: 19px; height: 19px; fill: none; stroke: #ECA815; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.topo-acoes .perfil { width: 42px; height: 42px; border: 2px solid #ECA815; font-size: 19px; color: #E8C97A; }
.topo-acoes button:focus-visible, .topo-acoes a:focus-visible { outline: 2px solid #5BC8E8; outline-offset: 2px; }

/* --- folhas (suporte e avisos) --- */
.folha-fundo { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .6); display: flex; align-items: flex-end; justify-content: center; }
.folha-fundo[hidden] { display: none; }
.folha {
  width: 100%; max-width: 480px; background: #1A1208; border: 1px solid rgba(236, 168, 21, .2);
  border-radius: 20px 20px 0 0; padding: 26px 22px calc(28px + env(safe-area-inset-bottom, 0px));
  font-family: 'Nunito', system-ui, sans-serif; color: #eadfc6;
}
.folha h2 { font: 600 22px 'Cormorant Garamond', serif; color: #E8C97A; margin: 0 0 4px; }
.folha p { font-size: 13px; color: rgba(236, 168, 21, .6); margin: 0 0 16px; }
.folha textarea {
  width: 100%; min-height: 110px; box-sizing: border-box; background: rgba(202, 144, 18, .06);
  border: 1px solid rgba(236, 168, 21, .2); border-radius: 12px; padding: 12px; color: #fff;
  font: 14px 'Nunito', sans-serif; resize: none; margin-bottom: 10px;
}
.folha textarea:focus-visible { outline: 2px solid #5BC8E8; outline-offset: 1px; }
.folha .enviar { width: 100%; padding: 13px; border: 0; border-radius: 12px; background: #ECA815; color: #0E0A07; font: 700 13px 'Nunito', sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.folha .status { min-height: 18px; margin: 10px 0 6px; font-size: 12.5px; text-align: center; color: rgba(236, 168, 21, .8); }
.folha .status.erro { color: #e89a8a; }
.folha .fechar { width: 100%; padding: 12px; margin-top: 6px; background: transparent; border: 1px solid rgba(236, 168, 21, .2); border-radius: 10px; color: rgba(236, 168, 21, .7); font: 13px 'Nunito', sans-serif; cursor: pointer; }
.folha .vazio { text-align: center; padding: 18px 0 8px; color: #b9a98a; font-size: 14px; }

/* --- sino: ponto de aviso novo e lista de avisos --- */
.topo-acoes button { position: relative; }
.topo-acoes button.novo::after { content: ""; position: absolute; top: 4px; right: 5px; width: 9px; height: 9px; border-radius: 50%; background: #ECA815; border: 2px solid #0E0A07; }
.folha .aviso { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid rgba(236, 168, 21, .15); }
.folha .aviso small { font-size: 11px; color: #a8957a; }
.folha .aviso b { font-size: 14.5px; color: #E8C97A; }
.folha .aviso span { font-size: 13.5px; color: #e6dcc6; line-height: 1.5; }
.folha .aviso a { color: #5BC8E8; font-weight: 700; text-decoration: none; }
.folha .avisos-push { margin-top: 14px; }
.folha .avisos-push p { color: #A8DCF0; }
