/* Chemouli — bandeau cookies "maison". */
.chz-site-notice {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 480;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.chz-site-notice[data-open="1"] {
  opacity: 1;
  transform: translateY(0);
}
.chz-site-notice__text {
  flex: 1 1 260px;
  margin: 0;
  font-weight: var(--fw-light);
  font-size: 13.5px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--grey-300);
}
.chz-site-notice__text a {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.chz-site-notice__actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
.chz-site-notice__refuse,
.chz-site-notice__accept {
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: 13.5px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.chz-site-notice__refuse {
  background: transparent;
  border: 2px solid var(--grey-500);
  color: var(--color-white);
}
.chz-site-notice__refuse:hover {
  border-color: var(--color-white);
}
.chz-site-notice__accept {
  background: var(--accent-emerald);
  border: 2px solid var(--accent-emerald);
  color: var(--color-black);
}
.chz-site-notice__accept:hover {
  background: var(--color-white);
  border-color: var(--color-white);
}

@media (max-width: 900px) {
  /* Au-dessus de la barre CTA collée en bas (.m-sticky-cta, 44px + safe-area,
     cf. responsive.css) pour ne pas se superposer. */
  .chz-site-notice {
    bottom: calc(44px + env(safe-area-inset-bottom) + 40px);
  }
}

@media (max-width: 600px) {
  .chz-site-notice {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px;
  }
  .chz-site-notice__actions {
    justify-content: stretch;
  }
  .chz-site-notice__refuse,
  .chz-site-notice__accept {
    flex: 1;
  }
}
