/* ============================================================
   Decisorium - banner de consentimento de cookies
   Estilo alinhado à identidade (roxo/laranja). Cores em hex
   explícito para funcionar igual em todas as páginas.
   ============================================================ */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  pointer-events: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.cookie-consent-inner {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 18px 18px 18px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 34px;
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e6e1e6;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(74, 27, 73, 0.18);
  pointer-events: auto;
}
.cookie-consent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 6px;
}
.cookie-consent-copy h2 {
  font-size: 15px;
  font-weight: 700;
  color: #4a1b49;
  margin: 0;
  flex-shrink: 0;
}
.cookie-consent-copy p {
  font-size: 12.5px;
  line-height: 1.6;
  color: #5b6470;
  margin: 0;
}
.cookie-consent-copy a {
  color: #6d286b;
  text-decoration: underline;
}
.cookie-consent-details {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e6e1e6;
}
.cookie-consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #4a1b49;
  font-weight: 600;
}
.cookie-consent-check input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: #6d286b;
  flex-shrink: 0;
}
.cookie-consent-details p {
  margin-top: 8px;
  color: #8a8f98;
}
.cookie-consent-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  min-width: 300px;
  padding-right: 18px;
}
.cookie-consent-actions {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.cookie-btn,
.cookie-settings-link {
  font-family: inherit;
  cursor: pointer;
}
.cookie-btn {
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid #e6e1e6;
  background: #fff;
  color: #4a1b49;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.2s ease;
}
.cookie-btn:hover {
  transform: translateY(-1px);
}
.cookie-btn-link {
  min-height: auto;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #5b6470;
  box-shadow: none;
  font-size: 11.5px;
  font-weight: 700;
}
.cookie-btn-link:hover {
  color: #4a1b49;
  background: transparent;
  text-decoration: underline;
  transform: none;
}
.cookie-btn-primary {
  width: 100%;
  min-height: 48px;
  border-color: #6d286b;
  background: #6d286b;
  color: #fff;
  box-shadow: 0 4px 14px rgba(109, 40, 107, 0.24);
}
.cookie-btn-primary:hover {
  background: #4a1b49;
  border-color: #4a1b49;
}
.cookie-settings-link {
  padding: 0;
  border: 0;
  background: none;
  font-size: inherit;
  color: inherit;
  text-decoration: underline;
  margin-left: 8px;
}
.cookie-settings-link:hover {
  color: #fff;
}
@media (max-width: 768px) {
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .cookie-consent-inner {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 12px;
  }
  .cookie-consent-head {
    display: block;
  }
  .cookie-consent-copy h2 {
    margin-bottom: 8px;
  }
  .cookie-consent-secondary {
    justify-content: flex-start;
    gap: 10px 14px;
    margin-bottom: 10px;
    min-width: 0;
    padding-right: 0;
  }
  .cookie-consent-actions {
    justify-content: stretch;
  }
  .cookie-btn-primary {
    width: 100%;
    flex-basis: 100%;
  }
}
