/* Consentement cookies — Sébastien Daniel */

#sd-cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6, 15, 23, 0.72);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: sd-cookie-fade 0.25s ease;
}

@keyframes sd-cookie-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

#sd-cookie-modal {
  background: #fdfbf6;
  color: #0d1620;
  max-width: 480px;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(11, 31, 45, 0.35);
  padding: 32px;
  animation: sd-cookie-up 0.3s ease;
}

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

.sd-cookie-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: #0b1f2d;
  margin: 0 0 12px;
}

.sd-cookie-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: #4a5260;
  margin: 0 0 24px;
}

.sd-cookie-text a {
  color: #a78a4d;
  text-decoration: underline;
}

.sd-cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sd-cookie-btn {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  width: 100%;
}

.sd-cookie-accept {
  background: #d4b876;
  color: #0b1f2d;
}

.sd-cookie-accept:hover {
  background: #e8cf94;
}

.sd-cookie-refuse {
  background: transparent;
  border-color: rgba(11, 31, 45, 0.25);
  color: #0d1620;
}

.sd-cookie-refuse:hover {
  border-color: rgba(11, 31, 45, 0.5);
}

#sd-cookie-manage {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9998;
  background: #0b1f2d;
  color: #f7f3ea;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

#sd-cookie-manage:hover {
  opacity: 1;
}

@media (max-width: 480px) {
  #sd-cookie-modal {
    padding: 24px;
  }
}
