/* Mur de consentement : page bloquée tant que les cookies sont refusés */
html.ac-consent-wall-active,
html.ac-consent-wall-active body {
  overflow: hidden !important;
}

#ac-consent-wall {
  display: none;
  position: fixed;
  inset: 0;
  /* Sous la bannière Complianz (z-index 99999), au-dessus du site */
  z-index: 99990;
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: var(--font-primary, "Degular", Arial, sans-serif);
}

#ac-consent-wall.is-visible {
  display: flex;
}

.ac-consent-wall__box {
  background: #fff;
  color: #000;
  max-width: 560px;
  width: 100%;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.ac-consent-wall__title {
  font-family: var(--font-secondary, "Belle de Mai", serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
  margin: 0 0 16px;
  color: #000;
}

.ac-consent-wall__text {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 28px;
  color: #333;
}

.ac-consent-wall__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.ac-consent-wall__btn {
  appearance: none;
  border-radius: 25px;
  padding: 14px 28px;
  font-family: var(--font-primary, "Degular", Arial, sans-serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #000;
}

.ac-consent-wall__btn--accept {
  background: #000;
  color: #fff;
}

.ac-consent-wall__btn--accept:hover,
.ac-consent-wall__btn--accept:focus-visible {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.ac-consent-wall__btn--review {
  background: #fff;
  color: #000;
}

.ac-consent-wall__btn--review:hover,
.ac-consent-wall__btn--review:focus-visible {
  background: #f0f0f0;
}

@media (max-width: 480px) {
  .ac-consent-wall__btn {
    width: 100%;
  }
}
