/* Bandeau Cookies RGPD */

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.97);
  color: #fff;
  z-index: 99999;
  padding: 20px;
  font-size: 14px;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
  border-top: 3px solid #fb923c;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-consent-text {
  flex: 1;
  min-width: 280px;
}

.cookie-consent-text strong {
  font-size: 1.05em;
  display: block;
  margin-bottom: 6px;
  color: #fb923c;
}

.cookie-consent-text p {
  margin: 0;
  opacity: 0.95;
  line-height: 1.5;
}

.cookie-consent-text a {
  color: #fb923c;
  text-decoration: underline;
}

.cookie-consent-text a:hover {
  color: #fcd34d;
}

.cookie-consent-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 11px 22px;
  border: none;
  border-radius: 6px;
  font-size: 0.95em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}

.cookie-btn-accept {
  background: #16a34a;
  color: #fff;
}

.cookie-btn-accept:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22,163,74,0.35);
}

.cookie-btn-refuse {
  background: transparent;
  border: 1px solid #94a3b8;
  color: #e2e8f0;
}

.cookie-btn-refuse:hover {
  background: rgba(255,255,255,0.1);
  border-color: #f1f5f9;
}

@media (max-width: 768px) {
  .cookie-consent-banner {
    padding: 14px;
  }
  
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-consent-buttons {
    width: 100%;
  }
  
  .cookie-btn {
    flex: 1;
    padding: 10px 14px;
    font-size: 0.9em;
  }
}

/* Animation des pulsations pour attirer l'attention */
@keyframes cookiePulse {
  0%, 100% { box-shadow: 0 -8px 24px rgba(0,0,0,0.25), 0 0 0 0 rgba(251,146,60,0.4); }
  50% { box-shadow: 0 -8px 24px rgba(0,0,0,0.25), 0 0 0 12px rgba(251,146,60,0); }
}

.cookie-consent-banner.attract {
  animation: cookiePulse 2s infinite;
}