
/* =============================================
   BANDEAU DE CONSENTEMENT (bas de page)
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 16px 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.5s ease-out;
}

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

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

.cookie-banner-text {
  flex: 1;
  min-width: 250px;
}

.cookie-banner-text strong {
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
}

.cookie-banner-text p {
  font-size: 14px;
  margin: 0;
  color: #ccc;
  line-height: 1.5;
}

.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

/* =============================================
   BOUTONS DU BANDEAU
   ============================================= */
.cookie-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-primary {
  background: linear-gradient(135deg, #6c63ff, #4a47d6);
  color: #fff;
}

.cookie-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.4);
}

.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.cookie-btn-tertiary {
  background: transparent;
  color: #aaa;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn-tertiary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* =============================================
   MODALE DE PERSONNALISATION
   ============================================= */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cookie-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 20px;
  max-width: 560px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  animation: modalIn 0.4s ease-out;
}

@keyframes modalIn {
  from {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.cookie-modal-header {
  padding: 24px 28px 16px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h2 {
  margin: 0;
  font-size: 22px;
  color: #222;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 32px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}

.cookie-modal-close:hover {
  color: #333;
}

.cookie-modal-body {
  padding: 20px 28px;
}

.cookie-modal-desc {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* =============================================
   OPTIONS DE COOKIES (dans la modale)
   ============================================= */
.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 16px;
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option-info {
  flex: 1;
}

.cookie-option-info h3 {
  margin: 0;
  font-size: 15px;
  color: #222;
}

.cookie-option-info p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #888;
  line-height: 1.4;
}