/* =========================================================================
   Zimobi · banner de cookies das páginas no Cloudflare
   Réplica do banner do WordPress (plugin "GDPR Cookie Consent / CookieLawInfo"):
   - regras do plugin que afetam a barra (cookie-law-info-public.css 3.5.8)
   - personalização do site (elementor/css/post-31362.css)
   - estilos que o plugin aplica direto no elemento (cores e posição)
   ========================================================================= */

/* --- plugin: base da barra --- */
#cookie-law-info-bar {
  font-size: 15px; margin: 0 auto; padding: 12px 10px; position: absolute; text-align: center;
  box-sizing: border-box; width: 100%; z-index: 9999; display: none; left: 0; font-weight: 300;
  box-shadow: rgba(172, 171, 171, 0.3) 0 -1px 10px 0;
}
#cookie-law-info-bar span { vertical-align: middle; }
.cli-plugin-button, .cli-plugin-button:visited {
  display: inline-block; padding: 9px 12px; color: #fff; position: relative; cursor: pointer;
  margin-left: 5px; text-decoration: none; margin-top: 5px;
}
.cli-plugin-button:hover { background-color: #111; color: #fff; text-decoration: none; }
.cli-plugin-button, .cli-plugin-button:visited, .medium.cli-plugin-button, .medium.cli-plugin-button:visited {
  font-size: 13px; font-weight: 400; line-height: 1;
}

/* --- plugin: estilos que ele grava direto no elemento quando a barra aparece --- */
#cookie-law-info-bar { background-color: #fff; color: #000; font-family: inherit; bottom: 0; position: fixed; }
#cookie-law-info-bar.zimobi-visivel { display: block; }
#cookie_action_close_header { color: #fff; background-color: #4b5daa; }

/* --- personalização do site (Elementor post-31362) --- */
#cookie-law-info-bar {
  text-align: left; border-radius: 35px; padding: 30px 30px 30px 80px; flex-direction: row; align-items: center;
  width: 900px; max-width: 95%; left: 0; right: 0; background-color: white;
  animation: 0.5s ease-out 0s 1 normal forwards running fadeInUp; bottom: 1rem !important;
}
#cookie-law-info-bar .cli_messagebar_head { display: none; }
#cookie-law-info-bar::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 30px; margin: auto 15px auto 0; display: flex; flex-shrink: 0;
  width: 32px; height: 32px; transform: scale(1.3); background: rgb(105, 129, 255);
  clip-path: path("M 16 4 C 9.37 4 4 9.37 4 16 C 4 22.63 9.37 28 16 28 C 22.63 28 28 22.63 28 16 C 28 15.51 27.96 15.03 27.9 14.56 C 27.5 14.83 27.02 15 26.5 15 C 25.42 15 24.51 14.31 24.16 13.36 C 23.53 13.75 22.79 14 22 14 C 19.79 14 18 12.21 18 10 C 18 9.26 18.21 8.58 18.55 7.99 C 18.53 8 18.51 8 18.5 8 C 17.11 8 16 6.88 16 5.5 C 16 4.94 16.18 4.43 16.49 4.01 C 16.33 4.01 16.16 4 16 4 Z M 23.5 4 C 22.67 4 22 4.67 22 5.5 C 22 6.32 22.67 7 23.5 7 C 24.32 7 25 6.32 25 5.5 C 25 4.67 24.32 4 23.5 4 Z M 14.05 6.18 C 14.25 7.47 15 8.58 16.04 9.27 C 16.01 9.51 16 9.75 16 10 C 16 13.3 18.69 16 22 16 C 22.49 16 22.99 15.93 23.46 15.81 C 24.15 16.43 25.01 16.85 25.95 16.96 C 25.46 22.03 21.18 26 16 26 C 10.48 26 6 21.51 6 16 C 6 11.15 9.46 7.09 14.05 6.18 Z M 22 9 C 21.44 9 21 9.44 21 10 C 21 10.55 21.44 11 22 11 C 22.55 11 23 10.55 23 10 C 23 9.44 22.55 9 22 9 Z M 14 10 C 13.44 10 13 10.44 13 11 C 13 11.55 13.44 12 14 12 C 14.55 12 15 11.55 15 11 C 15 10.44 14.55 10 14 10 Z M 27 10 C 26.44 10 26 10.44 26 11 C 26 11.55 26.44 12 27 12 C 27.55 12 28 11.55 28 11 C 28 10.44 27.55 10 27 10 Z M 11 13 C 9.89 13 9 13.89 9 15 C 9 16.1 9.89 17 11 17 C 12.1 17 13 16.1 13 15 C 13 13.89 12.1 13 11 13 Z M 16 15 C 15.44 15 15 15.44 15 16 C 15 16.55 15.44 17 16 17 C 16.55 17 17 16.55 17 16 C 17 15.44 16.55 15 16 15 Z M 12.5 19 C 11.67 19 11 19.67 11 20.5 C 11 21.32 11.67 22 12.5 22 C 13.32 22 14 21.32 14 20.5 C 14 19.67 13.32 19 12.5 19 Z M 19.5 20 C 18.67 20 18 20.67 18 21.5 C 18 22.32 18.67 23 19.5 23 C 20.32 23 21 22.32 21 21.5 C 21 20.67 20.32 20 19.5 20 Z");
}
#cookie-law-info-bar span {
  display: flex; justify-content: flex-start; align-items: center; font-size: 0.9rem; line-height: 1.2rem;
  font-weight: 500; color: rgb(137, 133, 158);
}
#cookie-law-info-bar .wt-cli-accept-btn {
  justify-content: center; padding: 15px 20px; font-size: 0.9rem; font-weight: 600;
  background: linear-gradient(151deg, rgb(98, 70, 255) -4.2%, rgb(55, 29, 210) 64.22%, rgb(20, 1, 142) 120.22%);
  display: inline-flex !important; border-radius: 9px !important; margin: 0 0 0 15px !important;
}
#cookie-law-info-bar .wt-cli-accept-btn:hover {
  background: linear-gradient(151deg, rgb(110, 83, 254) -4.2%, rgb(53, 27, 208) 64.22%, rgb(35, 14, 169) 120.22%);
}
@media (max-width: 767px) {
  #cookie-law-info-bar { flex-direction: column; padding: 32px 30px 30px; }
  #cookie-law-info-bar::before { position: absolute; top: -3px; left: 0; right: 0; margin: 0 auto; transform: translateY(-50%) scale(1.5); z-index: 11; }
  #cookie-law-info-bar::after {
    content: ""; position: absolute; top: 0; left: 0; right: 0; margin: 0 auto; width: 50px; height: 50px;
    border-radius: 50px; background-color: white; transform: translateY(-50%) scale(1.5); z-index: 10;
  }
  #cookie-law-info-bar span { display: flex; flex-direction: column; font-size: 0.8rem; line-height: 1rem; gap: 20px; }
  #cookie-law-info-bar .wt-cli-accept-btn { width: 100%; margin: 0 !important; }
}

/* fonte do site (no WordPress o banner herda a Poppins do corpo da página) */
#cookie-law-info-bar, #cookie-law-info-bar * { font-family: 'Poppins', sans-serif; box-sizing: border-box; }

/* animação de entrada usada pelo Elementor (fadeInUp) e saída ao aceitar */
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
#cookie-law-info-bar.zimobi-saindo { transition: opacity 0.5s ease; opacity: 0; }
