/* ---------- Aviso de cookies e Rádio (motor do painel) ----------
   Os dois ficam no canto esquerdo; o botão do WhatsApp fica à direita (no celular, embaixo de tudo). */

.aviso-cookies {
  position: fixed; left: 18px; bottom: 18px; z-index: 70; width: min(520px, calc(100vw - 36px));
  padding: 20px 22px; border: 1px solid var(--line-d); border-radius: 14px;
  background: var(--coal); color: var(--mute); box-shadow: 0 18px 50px var(--shadow);
  font-size: .9rem; line-height: 1.55;
}
.aviso-cookies[hidden] { display: none; }
.aviso-cookies strong { color: var(--white); }
.aviso-cookies a { color: var(--gold); }
.aviso-cookies__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.aviso-cookies__btns .btn { min-height: 44px; padding: 10px 22px; }

.radio {
  position: fixed; left: 18px; bottom: 18px; z-index: 55;
  display: grid; grid-template-columns: auto auto; align-items: center; gap: 8px; justify-items: start;
}
.radio[hidden] { display: none; }
.radio__btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 18px 0 14px;
  border: 1px solid var(--gold); border-radius: 999px; background: var(--ink); color: var(--white);
  cursor: pointer; text-align: left; box-shadow: 0 14px 34px var(--shadow); font: inherit;
}
.radio__btn b { display: block; font-family: var(--f-display); font-size: .82rem; letter-spacing: .04em; line-height: 1.15; color: var(--gold); }
.radio__btn small { display: block; font-size: .74rem; color: var(--dim); }
.radio__eq { display: inline-flex; align-items: flex-end; gap: 2px; width: 20px; height: 18px; }
.radio__eq i { width: 4px; height: 6px; background: var(--gold); border-radius: 1px; }
.radio.is-on .radio__eq i { animation: radioEq .9s ease-in-out infinite; }
.radio.is-on .radio__eq i:nth-child(2) { animation-delay: .2s; }
.radio.is-on .radio__eq i:nth-child(3) { animation-delay: .4s; }
@keyframes radioEq { 50% { height: 18px; } }
.radio__x {
  width: 44px; height: 44px; border: 1px solid var(--line-d); border-radius: 50%; background: var(--ink); color: var(--mute);
  font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: 0 14px 34px var(--shadow);
}
.radio__x:hover, .radio__btn:hover { border-color: var(--gold-hi); }
.radio__panel {
  order: -1; grid-column: 1 / -1; width: min(300px, calc(100vw - 36px)); overflow: hidden;
  background: var(--coal); border: 1px solid var(--line-d); border-radius: 14px; box-shadow: 0 18px 50px var(--shadow);
}
.radio__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 6px 14px; font-size: .82rem; color: var(--white); }
.radio__head b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.radio__close, .radio__min { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--mute); font-size: 1.05rem; cursor: pointer; }
.radio__close:hover, .radio__min:hover { background: var(--glow-soft); color: var(--gold); }
.radio__player iframe { display: block; width: 100%; height: 190px; border: 0; }
.radio__player audio { display: block; width: 100%; padding: 8px; }
.radio.is-min .radio__panel { position: fixed; left: -10000px; top: 0; }

@media (max-width: 700px) {
  /* o WhatsApp ocupa a faixa de baixo no celular: aviso e rádio sobem para cima dele */
  .aviso-cookies { left: 12px; right: 12px; width: auto; bottom: 84px; }
  .radio { left: 12px; bottom: 84px; }
  .radio__btn small { display: none; }
  .radio__btn { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .radio.is-on .radio__eq i { animation: none; height: 12px; } }

.footer__cookies { border: 0; padding: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.footer__cookies:hover { color: var(--gold); }
.footer__links .footer__cookies { text-decoration: none; letter-spacing: inherit; text-transform: inherit; color: var(--mute); }
