/* =========================================================
   CookieYes : bandeau et centre de préférences aux couleurs B-Strong
   Violet #8100e8 · violet clair #a35cff · noir #0b0a0f
   Les !important sont nécessaires : CookieYes écrit ses couleurs
   en style inline sur chaque bouton.
   ========================================================= */

/* --- Boutons « Accepter tout » et « Tout rejeter » : même poids visuel (exigence CNIL) --- */
.cky-consent-container .cky-btn-accept,
.cky-consent-container .cky-btn-reject,
.cky-modal .cky-btn-accept,
.cky-modal .cky-btn-reject,
.cky-modal .cky-btn-preferences {
  background-color: #8100e8 !important;
  border-color: #8100e8 !important;
  color: #ffffff !important;
  font-family: "Poppins", sans-serif !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.cky-consent-container .cky-btn-accept:hover,
.cky-consent-container .cky-btn-reject:hover,
.cky-modal .cky-btn-accept:hover,
.cky-modal .cky-btn-reject:hover,
.cky-modal .cky-btn-preferences:hover {
  background-color: #a35cff !important;
  border-color: #a35cff !important;
  color: #0b0a0f !important;
}

/* --- Bouton « Personnaliser » : contour violet clair --- */
.cky-consent-container .cky-btn-customize {
  background-color: transparent !important;
  border-color: #a35cff !important;
  color: #a35cff !important;
  font-family: "Poppins", sans-serif !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  transition: background-color .2s ease, color .2s ease;
}

.cky-consent-container .cky-btn-customize:hover {
  background-color: #a35cff !important;
  color: #0b0a0f !important;
}

/* --- Liens (politique de confidentialité, page cookies, « Afficher plus ») --- */
.cky-notice-des a,
.cky-preference-content-wrapper a,
.cky-accordion-header-des a,
.cky-preference-content-wrapper .cky-show-desc-btn,
.cky-notice-btn-wrapper .cky-btn-do-not-sell {
  color: #a35cff !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cky-notice-des a:hover,
.cky-preference-content-wrapper a:hover,
.cky-accordion-header-des a:hover,
.cky-preference-content-wrapper .cky-show-desc-btn:hover {
  color: #ffffff !important;
}

/* --- Interrupteurs des catégories (centre de préférences) --- */
.cky-switch input[type="checkbox"]:checked {
  background: #8100e8 !important;
}

/* « Toujours actif » en violet clair plutôt qu'en vert */
.cky-accordion-header .cky-always-active {
  color: #a35cff !important;
}

/* --- Bouton flottant de rappel des préférences --- */
.cky-btn-revisit-wrapper {
  background-color: #8100e8 !important;
}

/* --- Focus clavier visible --- */
.cky-btn:focus-visible,
.cky-btn-customize:focus-visible,
.cky-notice-des a:focus-visible,
.cky-show-desc-btn:focus-visible,
.cky-switch input[type="checkbox"]:focus-visible {
  outline: 2px solid #a35cff !important;
  outline-offset: 2px !important;
}

/* --- Optionnel : fond du bandeau en noir B-Strong au lieu du #121212 de CookieYes ---
.cky-consent-bar,
.cky-preference-center {
  background-color: #0b0a0f !important;
}
*/
