/* DECIPOD — interface locale de consentement, sans traceur chargé avant le choix. */
.v5-consent-banner,
.v5-consent-preferences {
  font-family: Urbanist, Arial, sans-serif;
  color: #f4f2f8;
}
.v5-consent-banner {
  position: fixed;
  z-index: 1200;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: max(1rem, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
  width: min(100% - 2rem, 66rem);
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid #5c5869;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgb(20 19 29 / .98), rgb(10 10 16 / .98));
  box-shadow: 0 1.5rem 5rem rgb(0 0 0 / .48);
}
.v5-consent-banner[hidden],
.v5-consent-preferences[hidden] { display: none; }
.v5-consent-banner__copy { max-width: 42rem; }
.v5-consent-banner__eyebrow { margin: 0 0 .55rem; color: #a8d9c8; font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.v5-consent-banner h2,
.v5-consent-preferences h2 { margin: 0; color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.1; letter-spacing: -.025em; }
.v5-consent-banner p:not(.v5-consent-banner__eyebrow),
.v5-consent-preferences p { margin: .8rem 0 0; color: #c3bfce; font-size: .92rem; line-height: 1.55; }
.v5-consent-banner a { color: #d8c8ff; font-size: .84rem; text-underline-offset: .25em; }
.v5-consent-banner__actions,
.v5-consent-preferences__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .55rem; align-self: end; }
.v5-consent-button { min-height: 2.7rem; padding: .65rem .95rem; border: 1px solid transparent; border-radius: 999px; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; transition: border-color .2s, background .2s, color .2s, transform .2s; }
.v5-consent-button--quiet { border-color: #56515f; background: transparent; color: #efedf4; }
.v5-consent-button--quiet:hover { border-color: #c3bfce; background: #ffffff0d; }
.v5-consent-button--accept { border-color: #a9d9c8; background: #d9eee6; color: #11141a; }
.v5-consent-button--accept:hover { background: #fff; transform: translateY(-1px); }
.v5-consent-button:focus-visible,
.v5-consent-preferences__close:focus-visible,
.v5-consent-choice:focus-within { outline: 2px solid #d6b5ff; outline-offset: 3px; }
.v5-consent-preferences { position: fixed; z-index: 1250; inset: 0; display: grid; place-items: center; padding: 1rem; }
.v5-consent-preferences__backdrop { position: absolute; inset: 0; background: rgb(3 3 7 / .74); backdrop-filter: blur(7px); }
.v5-consent-preferences__dialog { position: relative; width: min(100%, 38rem); max-height: calc(100dvh - 2rem); overflow: auto; padding: clamp(1.5rem, 4vw, 2.35rem); border: 1px solid #5c5869; border-radius: 1.25rem; background: #13121b; box-shadow: 0 2rem 6rem rgb(0 0 0 / .5); }
.v5-consent-preferences__close { position: absolute; top: 1rem; right: 1rem; display: grid; width: 2.35rem; height: 2.35rem; place-items: center; border: 1px solid #56515f; border-radius: 50%; background: transparent; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.v5-consent-choice { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.15rem; padding: 1rem; border: 1px solid #3c3946; border-radius: .85rem; background: #0d0c13; }
.v5-consent-choice strong,
.v5-consent-choice span { display: block; }
.v5-consent-choice strong { color: #fff; font-size: .92rem; }
.v5-consent-choice > div > span,
.v5-consent-choice > span > span { margin-top: .25rem; color: #aaa6b5; font-size: .78rem; line-height: 1.45; }
.v5-consent-choice__status { flex: 0 0 auto; color: #acd8c8; font-size: .73rem; font-weight: 700; }
.v5-consent-choice--toggle { position: relative; cursor: pointer; }
.v5-consent-choice--toggle input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.v5-consent-toggle { position: relative; flex: 0 0 2.85rem; height: 1.65rem; border: 1px solid #6a6573; border-radius: 2rem; background: #2b2933; transition: background .2s, border-color .2s; }
.v5-consent-toggle::after { position: absolute; top: .2rem; left: .2rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: #e7e3ee; content: ''; transition: transform .2s; }
.v5-consent-choice--toggle input:checked + .v5-consent-toggle { border-color: #96d7c0; background: #4e8270; }
.v5-consent-choice--toggle input:checked + .v5-consent-toggle::after { transform: translateX(1.17rem); }
.v5-consent-preferences__actions { margin-top: 1.5rem; }
.v5-consent-dialog-open { overflow: hidden; }
@media (max-width: 680px) {
  .v5-consent-banner { grid-template-columns: 1fr; gap: 1rem; }
  .v5-consent-banner__actions,
  .v5-consent-preferences__actions { justify-content: stretch; }
  .v5-consent-button { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .v5-consent-button, .v5-consent-toggle, .v5-consent-toggle::after { transition: none; }
}
