/* ============================================================
   GERENCIADOR DE COOKIES | EQC
   Usa as variáveis do eqc.css e degrada com prefers-reduced-motion.
============================================================ */

.ck-banner,
.ck-modal { font-family: var(--fonte-corpo, 'Montserrat', system-ui, sans-serif); }

.ck-titulo {
  font-family: var(--fonte-titulo, 'Bebas Neue', Impact, sans-serif);
  font-size: 1.5rem; line-height: 1.1; letter-spacing: .03em;
  color: #fff; margin: 0 0 .5rem;
}
.ck-texto { font-size: .88rem; line-height: 1.55; margin: 0; color: rgba(255,255,255,.86); }
.ck-texto a { color: var(--amarelo, #FEBF03); text-decoration: underline; }

/* ---------- banner ---------- */

.ck-banner {
  position: fixed; inset: auto 0 0 0; z-index: 9000;
  background: var(--roxo-noite, #381253);
  border-top: 3px solid var(--amarelo, #FEBF03);
  padding: 1.4rem 1.2rem;
  box-shadow: 0 -10px 40px rgba(0,0,0,.28);
  animation: ck-sobe .35s ease both;
}
.ck-banner[hidden] { display: none; }

@keyframes ck-sobe { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .ck-banner { animation: none; } }

.ck-banner-conteudo {
  max-width: 1180px; margin: 0 auto;
  display: grid; gap: 1.2rem; align-items: center;
}
@media (min-width: 900px) {
  .ck-banner-conteudo { grid-template-columns: 1fr auto; gap: 2.4rem; }
  .ck-banner .ck-texto { max-width: 72ch; }
}

.ck-acoes { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (min-width: 900px) { .ck-acoes { flex-wrap: nowrap; } }

/* ---------- botões ---------- */

.ck-botao {
  font: inherit; font-size: .84rem; font-weight: 600;
  padding: .78rem 1.3rem; border-radius: 999px;
  cursor: pointer; white-space: nowrap;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.ck-botao--solido {
  background: var(--amarelo, #FEBF03); color: var(--roxo-noite, #381253);
  border: 2px solid var(--amarelo, #FEBF03);
}
.ck-botao--solido:hover { background: #fff; border-color: #fff; }
.ck-botao--fantasma {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.45);
}
.ck-botao--fantasma:hover { border-color: #fff; background: rgba(255,255,255,.09); }
.ck-botao:focus-visible { outline: 3px solid var(--amarelo, #FEBF03); outline-offset: 3px; }

/* ---------- painel de preferências ---------- */

.ck-modal { position: fixed; inset: 0; z-index: 9100; display: flex;
  align-items: center; justify-content: center; padding: 1.2rem; }
.ck-modal[hidden] { display: none; }
.ck-modal-fundo { position: absolute; inset: 0; background: rgba(20,4,32,.72); }

.ck-modal-caixa {
  position: relative; z-index: 1;
  width: min(620px, 100%); max-height: 88vh;
  display: flex; flex-direction: column;
  background: var(--roxo-noite, #381253);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}

.ck-modal-topo {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 1.6rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.ck-modal-topo .ck-titulo { margin: 0; }

.ck-fechar {
  background: none; border: 0; color: rgba(255,255,255,.7);
  font-size: 1.9rem; line-height: 1; padding: 0 .2rem; cursor: pointer;
}
.ck-fechar:hover { color: #fff; }
.ck-fechar:focus-visible { outline: 3px solid var(--amarelo, #FEBF03); outline-offset: 3px; }

.ck-modal-corpo { padding: 1.3rem 1.6rem; overflow-y: auto; }

.ck-categoria { padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.ck-categoria:last-of-type { border-bottom: 0; }
.ck-categoria-topo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ck-categoria h3 { font-size: .98rem; font-weight: 700; color: #fff; margin: 0; }
.ck-categoria p { font-size: .82rem; line-height: 1.5; color: rgba(255,255,255,.72); margin: .45rem 0 0; }
.ck-fixo { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--amarelo, #FEBF03); }

.ck-nota {
  font-size: .78rem; line-height: 1.5; color: rgba(255,255,255,.6);
  margin: 1.2rem 0 0; padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,.11);
}

/* ---------- interruptor ---------- */

.ck-switch { position: relative; display: inline-flex; flex: 0 0 auto; cursor: pointer; }
.ck-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ck-switch-trilho {
  width: 46px; height: 26px; border-radius: 999px;
  background: rgba(255,255,255,.22); position: relative;
  transition: background .25s ease;
}
.ck-switch-trilho::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  transition: transform .25s ease;
}
.ck-switch input:checked + .ck-switch-trilho { background: var(--amarelo, #FEBF03); }
.ck-switch input:checked + .ck-switch-trilho::after { transform: translateX(20px); }
.ck-switch input:focus-visible + .ck-switch-trilho { outline: 3px solid var(--amarelo, #FEBF03); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .ck-switch-trilho, .ck-switch-trilho::after { transition: none; }
}

.ck-modal-base {
  display: flex; flex-wrap: wrap; gap: .7rem; justify-content: flex-end;
  padding: 1.1rem 1.6rem 1.4rem;
  border-top: 1px solid rgba(255,255,255,.14);
}

body.ck-travado { overflow: hidden; }

/* Link "Gerenciar cookies" no rodapé e na Política */
.ck-link {
  background: none; border: 0; padding: 0; font: inherit;
  color: inherit; text-decoration: underline; cursor: pointer;
}
