/* Bandeau de consentement aux cookies (static/consentement.js) */
.cc-bandeau {
    --cc-fond: #ffffff; --cc-texte: #0f172a; --cc-doux: #475569; --cc-bord: rgba(15, 23, 42, .1);
    --cc-accent: #2563eb; --cc-accent-2: #1d4ed8; --cc-neutre: #f1f5f9; --cc-neutre-2: #e2e8f0;
    position: fixed; z-index: 2147483000; left: 50%; bottom: 16px; width: min(760px, calc(100% - 32px));
    transform: translate(-50%, 24px); opacity: 0; transition: transform .25s ease, opacity .25s ease;
    display: flex; align-items: center; gap: 18px; padding: 18px 20px; box-sizing: border-box;
    background: var(--cc-fond); color: var(--cc-texte); border: 1px solid var(--cc-bord); border-radius: 18px;
    box-shadow: 0 24px 60px -12px rgba(15, 23, 42, .35); font-family: Nunito, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.dark-mode .cc-bandeau {
    --cc-fond: #131c2e; --cc-texte: #f1f5f9; --cc-doux: #a5b4c8; --cc-bord: rgba(241, 245, 249, .12);
    --cc-accent: #3b82f6; --cc-accent-2: #2563eb; --cc-neutre: #1e293b; --cc-neutre-2: #273449;
}
.cc-bandeau.cc-visible { transform: translate(-50%, 0); opacity: 1; }
.cc-bandeau[hidden] { display: none !important; }
.cc-corps { display: flex; gap: 14px; align-items: flex-start; flex: 1; min-width: 0; }
.cc-icone {
    flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px;
    color: #fff; background: linear-gradient(135deg, var(--cc-accent), #8b5cf6);
}
.cc-texte strong { display: block; font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.cc-texte p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--cc-doux); }
.cc-texte p + p { margin-top: 6px; }
.cc-texte a { color: var(--cc-accent); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.cc-etat b { color: var(--cc-texte); }
.cc-actions { display: flex; gap: 10px; flex: none; }
.cc-btn {
    font: inherit; font-size: 14px; font-weight: 800; min-width: 112px; padding: 11px 18px; border-radius: 12px; cursor: pointer;
    border: 1px solid transparent; transition: background .15s ease, transform .1s ease;
}
.cc-btn:active { transform: scale(.97); }
.cc-btn:focus-visible { outline: 3px solid var(--cc-accent); outline-offset: 2px; }
/* Refuser et Accepter : même taille, même visibilité (CNIL) */
.cc-refuser { background: var(--cc-neutre); color: var(--cc-texte); border-color: var(--cc-bord); }
.cc-refuser:hover { background: var(--cc-neutre-2); }
.cc-accepter { background: var(--cc-accent); color: #fff; }
.cc-accepter:hover { background: var(--cc-accent-2); }
@media (max-width: 640px) {
    .cc-bandeau { flex-direction: column; align-items: stretch; gap: 14px; bottom: 12px; padding: 16px; }
    .cc-actions .cc-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .cc-bandeau { transition: none; } }
@media print { .cc-bandeau { display: none !important; } }
