/* NoorQuran — Bandeau de consentement cookies (autonome, tous les gabarits de page). */
.nq-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 400; max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.nq-consent p { margin: 0; color: var(--text); font-size: .92rem; line-height: 1.5; }
.nq-consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.nq-consent-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.nq-consent-btn { border: 1px solid var(--border); background: var(--surface-soft); color: var(--text); font: inherit; font-weight: 700; padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: transform .16s ease, border-color .16s ease; }
.nq-consent-btn:hover { transform: translateY(-1px); border-color: var(--accent); }
.nq-consent-btn-accept { background: var(--accent); color: #04211f; border-color: transparent; }

@media (prefers-reduced-motion: no-preference) {
  .nq-consent { animation: nqConsentIn .28s cubic-bezier(.2, .7, .3, 1) both; }
  @keyframes nqConsentIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 480px) {
  .nq-consent { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .nq-consent-actions { justify-content: stretch; }
  .nq-consent-btn { flex: 1; }
}
