/* ============================================================
   Bandeau de consentement RGPD — shootings.claris.fr
   Sobre, discret, coin bas-droite. Cohérent register luxe.
   Respecte le thème clair/sombre via [data-theme].
   ============================================================ */

#cookie-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  max-width: 360px;
  width: calc(100% - 40px);
  box-sizing: border-box;
  padding: 18px 20px;
  border-radius: 10px;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.5;
  background: rgba(20, 20, 20, 0.96);
  color: #f2f2f2;
  border: 1px solid rgba(204, 0, 0, 0.55);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}

#cookie-consent.cc-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Thème clair */
[data-theme="light"] #cookie-consent {
  background: rgba(252, 252, 252, 0.97);
  color: #1a1a1a;
  border: 1px solid rgba(204, 0, 0, 0.5);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

#cookie-consent .cc-text {
  margin: 0 0 14px 0;
}

#cookie-consent .cc-text a {
  color: #cc0000;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#cookie-consent .cc-text a:hover {
  text-decoration: none;
}

#cookie-consent .cc-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

#cookie-consent button {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: .3px;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

/* Refuser : discret, contour */
#cookie-consent .cc-decline {
  background: transparent;
  color: inherit;
  border-color: rgba(150, 150, 150, 0.6);
}
#cookie-consent .cc-decline:hover {
  border-color: #cc0000;
  color: #cc0000;
}

/* Accepter : accent rouge de la marque */
#cookie-consent .cc-accept {
  background: #cc0000;
  color: #ffffff;
  border-color: #cc0000;
}
#cookie-consent .cc-accept:hover {
  background: #a30000;
  border-color: #a30000;
}

@media (max-width: 480px) {
  #cookie-consent {
    right: 12px;
    left: 12px;
    bottom: 12px;
    max-width: none;
    width: auto;
  }
}
