/* Bandeau de consentement (public/v2/consentement.js), au style de l'ancien bandeau du site :
   verre sombre, coins en biais (24px 0), Noto Sans, boutons du site. Fond plus opaque que
   l'original (#ffffff08) : sur téléphone, le texte se mêlait au contenu derrière.
   L'ancien bandeau Webflow est masqué. Il passe au-dessus du chat (même coin sur téléphone). */
.cookies, #cookie-banner, .cookie_icon { display: none !important; }

.dtdc {
  position: fixed; z-index: 2147483001; left: 20px; bottom: 20px; box-sizing: border-box;
  width: calc(100% - 40px); max-width: 460px; padding: 1.5rem;
  border-radius: 24px 0; border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 17, 17, 0.94);
  -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  color: #FFFFFF; font-family: "Noto Sans", sans-serif; line-height: 1.4;
}
.dtdc-titre { margin: 0 0 12px; font-size: 1.5rem; line-height: 1.2; font-weight: 400; color: #FFFFFF; }
.dtdc-texte { margin: 0; font-size: 0.875rem; font-weight: 300; color: rgba(255, 255, 255, 0.85); }
.dtdc-texte strong { font-weight: 600; color: #FFFFFF; }
.dtdc-texte a { color: #34E0B8; text-decoration: underline; text-underline-offset: 2px; }
.dtdc-cases { display: grid; gap: 12px; margin: 1rem 0 0; }
.dtdc-cases[hidden] { display: none; }
.dtdc-case { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.dtdc-case input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: #34E0B8; }
.dtdc-case strong { display: block; font-size: 0.9375rem; font-weight: 500; color: #FFFFFF; }
.dtdc-case small { display: block; font-size: 0.8125rem; font-weight: 300; color: rgba(255, 255, 255, 0.7); }
.dtdc-actions { display: flex; gap: 1rem; margin-top: 1rem; }
.dtdc .dtdc-btn {
  flex: 1 1 0; min-height: 46px; padding: 0.75rem 1rem; cursor: pointer;
  border-radius: 15px 0; font: inherit; font-size: 0.9375rem; font-weight: 500; line-height: 1;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}
.dtdc .dtdc-btn:focus-visible { outline: 2px solid #34E0B8; outline-offset: 3px; }
/* Refuser et Préférences : contour blanc, lisibles (l'ancien bandeau les écrivait gris sur noir). */
.dtdc .dtdc-secondaire { background: #111111; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.8); }
.dtdc .dtdc-secondaire:hover { background: rgba(127, 158, 179, 0.2); }
/* Accepter : menthe du site, texte sombre (le blanc sur menthe était à peine lisible). */
.dtdc .dtdc-principal { background: #34E0B8; color: #111111; border: 1px solid #34E0B8; }
.dtdc .dtdc-principal:hover { opacity: 0.8; }
@media (max-width: 479px) {
  .dtdc { left: 10px; bottom: 10px; width: calc(100% - 20px); padding: 1.25rem; max-height: calc(100vh - 20px); overflow: auto; }
  .dtdc-titre { font-size: 1.25rem; }
  .dtdc-actions { flex-direction: column; gap: 0.625rem; }
}
