/* Bandeau cookies — reprend les couleurs du design system Digitallis (styles.css) */
.dg-cc {
  position: fixed; left: 20px; bottom: 20px; z-index: 9999;
  width: min(440px, calc(100vw - 40px));
  background: var(--ink); color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px;
  box-shadow: var(--shadow-lg, 0 28px 80px rgba(0, 0, 0, 0.4));
  padding: 22px 22px 18px; font-family: "Outfit", system-ui, sans-serif;
  outline: none;
}
.dg-cc:focus-visible { box-shadow: 0 0 0 2px var(--accent), var(--shadow-lg, 0 28px 80px rgba(0,0,0,.4)); }
.dg-cc-title { font-family: "Instrument Serif", serif; font-style: italic; font-size: 24px; line-height: 1.1; margin-bottom: 10px; color: var(--bg-white); }
.dg-cc-text { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.72); margin-bottom: 14px; }
.dg-cc-text a { color: var(--accent); text-decoration: underline; }
.dg-cc-rows { display: grid; gap: 10px; margin-bottom: 16px; }
.dg-cc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); cursor: pointer; }
.dg-cc-row strong { display: block; font-size: 14px; font-weight: 600; color: var(--bg-white); }
.dg-cc-row span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.6); margin-top: 2px; }
.dg-cc-switch { appearance: none; flex: none; width: 40px; height: 22px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); position: relative; cursor: pointer; transition: background .2s; }
.dg-cc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-white); transition: transform .2s var(--ease, ease); }
.dg-cc-switch:checked { background: var(--accent); }
.dg-cc-switch:checked::after { transform: translateX(18px); background: var(--ink); }
.dg-cc-switch:disabled { opacity: .4; cursor: not-allowed; }
.dg-cc-switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dg-cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dg-cc-btn { font: inherit; font-size: 14px; font-weight: 600; padding: 12px 14px; border-radius: 999px; border: 1px solid var(--accent); background: var(--accent); color: var(--ink); cursor: pointer; }
.dg-cc-btn:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.dg-cc-btn:focus-visible, .dg-cc-link:focus-visible { outline: 2px solid var(--bg-white); outline-offset: 2px; }
.dg-cc-link { grid-column: 1 / -1; font: inherit; font-size: 13.5px; background: none; border: 0; color: rgba(255, 255, 255, 0.8); text-decoration: underline; cursor: pointer; padding: 6px; }
@media (max-width: 520px) { .dg-cc { left: 12px; right: 12px; bottom: 12px; width: auto; } }
