/* Aviso de cookies da Wise - identidade do site novo (preto / branco quente / amarelo #f7c118).
   Sem dependencia. Tokens proprios (--wc-*) pra nao brigar com o CSS de nenhum dos dois sites.
   Pra mudar cor, redefina os --wc-* depois de carregar este arquivo. */

.wc {
  --wc-bg: #111110;
  --wc-bg-2: #181816;
  --wc-line: rgba(255, 255, 255, .12);
  --wc-line-2: rgba(255, 255, 255, .22);
  --wc-text: #f4f2ec;
  --wc-text-2: #b9b5ab;
  --wc-text-3: #8e8a80;
  --wc-yellow: #f7c118;
  --wc-ink: #0a0a0a;
  --wc-r: 14px;
  --wc-f-tit: "Bricolage Grotesque", "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wc-f: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wc-ease: cubic-bezier(.16, 1, .3, 1);

  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2147483000;
  display: flex;
  justify-content: center;
  /* o aviso NAO e muro: so a caixa recebe clique, o resto da pagina continua clicavel */
  pointer-events: none;
  font-family: var(--wc-f);
  color-scheme: dark;
}
.wc[hidden] { display: none !important; }

.wc-caixa {
  pointer-events: auto;
  width: 100%;
  max-width: 720px;
  max-height: calc(100svh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 22px 24px 20px;
  border: 1px solid var(--wc-line);
  border-radius: var(--wc-r);
  background: var(--wc-bg);
  box-shadow: 0 28px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4);
  animation: wc-sobe .42s var(--wc-ease) both;
}
@keyframes wc-sobe { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* cabecalho: o risquinho amarelo na inclinacao das hastes do W (68,2 graus), igual ao legal.css */
.wc-cab { display: flex; align-items: center; gap: 11px; }
.wc-cab::before {
  content: "";
  width: 12px; height: 2px; flex: none;
  border-radius: 2px;
  background: var(--wc-yellow);
  rotate: -68.2deg;
  box-shadow: 0 0 12px rgba(247, 193, 24, .55);
}
.wc-tit {
  margin: 0;
  font: 800 19px/1.15 var(--wc-f-tit);
  letter-spacing: -.02em;
  color: var(--wc-text);
}
.wc-tit:focus { outline: none; }

.wc-txt {
  margin: 10px 0 0;
  font-size: 14.8px;
  line-height: 1.6;
  color: var(--wc-text-2);
  text-wrap: pretty;
}
.wc-txt a { color: var(--wc-text); text-decoration-color: rgba(247, 193, 24, .55); text-underline-offset: .22em; }
.wc-txt a:hover { text-decoration-color: var(--wc-yellow); }

/* ---------- painel de escolhas (nasce fechado, nada marcado) ---------- */
.wc-opcoes { margin-top: 16px; border-top: 1px solid var(--wc-line); }
.wc-opcoes[hidden] { display: none; }

.wc-op { display: flex; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--wc-line); }
.wc-op:last-child { border-bottom: 0; }
.wc-op-txt { flex: 1; min-width: 0; }
.wc-op-nome { display: block; font-size: 14.5px; font-weight: 600; color: var(--wc-text); }
.wc-op-desc { display: block; margin-top: 3px; font-size: 13.2px; line-height: 1.5; color: var(--wc-text-3); }
.wc-op-fixo { flex: none; align-self: center; font-size: 12.5px; font-weight: 600; color: var(--wc-yellow); white-space: nowrap; }

/* chave liga/desliga - caixa nativa por baixo, pra teclado e leitor de tela funcionarem */
.wc-chave { position: relative; flex: none; align-self: center; width: 46px; height: 27px; }
.wc-chave input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: pointer;
}
.wc-chave i {
  position: absolute; inset: 0; pointer-events: none;
  border-radius: 999px;
  border: 1px solid var(--wc-line-2);
  background: #232320;
  transition: background .22s var(--wc-ease), border-color .22s var(--wc-ease);
}
.wc-chave i::after {
  content: "";
  position: absolute; top: 3px; left: 3px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--wc-text-3);
  transition: transform .22s var(--wc-ease), background .22s var(--wc-ease);
}
.wc-chave input:checked + i { background: rgba(247, 193, 24, .2); border-color: var(--wc-yellow); }
.wc-chave input:checked + i::after { transform: translateX(19px); background: var(--wc-yellow); }
.wc-chave input:focus-visible + i { outline: 2px solid var(--wc-yellow); outline-offset: 3px; }
.wc-chave input:disabled { cursor: default; }
.wc-chave input:disabled + i { opacity: .5; }

/* ---------- botoes: aceitar e recusar IDENTICOS, de proposito (ANPD) ---------- */
.wc-bts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.wc-bt {
  flex: 1 1 150px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 11px;
  border: 1px solid var(--wc-line-2);
  background: var(--wc-bg-2);
  color: var(--wc-text);
  font: 700 15px/1.2 var(--wc-f-tit);
  letter-spacing: -.005em;
  cursor: pointer;
  transition: border-color .2s var(--wc-ease), background .2s var(--wc-ease), transform .2s var(--wc-ease);
}
.wc-bt:hover { border-color: var(--wc-yellow); background: #201f1b; transform: translateY(-1px); }
.wc-bt:active { transform: translateY(0); }
.wc-bt:focus-visible { outline: 2px solid var(--wc-yellow); outline-offset: 3px; }

.wc-pe { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; }
.wc-link {
  padding: 4px 0;
  border: 0; background: none;
  color: var(--wc-text-3);
  font: 500 13.4px/1.4 var(--wc-f);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .22);
  text-underline-offset: .22em;
  cursor: pointer;
  transition: color .2s;
}
.wc-link:hover { color: var(--wc-text); text-decoration-color: var(--wc-yellow); }
.wc-link:focus-visible { outline: 2px solid var(--wc-yellow); outline-offset: 3px; border-radius: 4px; }

/* ---------- pilula de reserva: so aparece se a pagina nao tiver link de Cookies ---------- */
.wc-pilula {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: 2147482999;
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(17, 17, 16, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #b9b5ab;
  font: 600 12.8px/1 "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  cursor: pointer;
  opacity: .55;
  transition: opacity .2s, color .2s, border-color .2s;
}
.wc-pilula::before { content: ""; width: 9px; height: 2px; border-radius: 2px; background: #f7c118; rotate: -68.2deg; }
.wc-pilula:hover { opacity: 1; color: #f4f2ec; border-color: rgba(247, 193, 24, .5); }
.wc-pilula:focus-visible { opacity: 1; outline: 2px solid #f7c118; outline-offset: 3px; }
.wc-pilula[hidden] { display: none !important; }

/* ---------- celular ---------- */
@media (max-width: 560px) {
  .wc { left: 10px; right: 10px; bottom: 10px; }
  .wc-caixa { padding: 18px 18px 16px; max-height: calc(100svh - 20px); }
  .wc-tit { font-size: 17.5px; }
  .wc-txt { font-size: 14.2px; }
  .wc-bt { flex: 1 1 100%; }          /* empilha, mas continuam identicos entre si */
  .wc-pilula { left: 10px; bottom: 10px; }
}

/* ---------- quem pediu menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  .wc-caixa { animation: none; }
  .wc-bt, .wc-link, .wc-chave i, .wc-chave i::after, .wc-pilula { transition: none; }
}

/* ---------- impressao: o aviso nao vai pro papel ---------- */
@media print { .wc, .wc-pilula { display: none !important; } }
