/* Bandeau de consentement cookies (RGPD) */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: #ffffff;
  border: 1px solid #c8e0ce;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(18, 42, 26, 0.18);
  animation: cookie-slide-up 0.35s ease;
}

@keyframes cookie-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 320px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #234a31;
}

.cookie-banner__text a {
  color: #3d7a54;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 10px 22px;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cookie-banner__btn--refuse {
  background: transparent;
  border-color: #c8e0ce;
  color: #336a48;
}
.cookie-banner__btn--refuse:hover {
  background: #f5faf6;
}

.cookie-banner__btn--accept {
  background: #3d7a54;
  color: #ffffff;
}
.cookie-banner__btn--accept:hover {
  background: #336a48;
}

@media (max-width: 560px) {
  .cookie-banner__actions {
    width: 100%;
  }
  .cookie-banner__btn {
    flex: 1;
  }
}
