/* Bannière et panneau de consentement aux cookies (voir js/consentement.js). Préfixe « cc- » : aucun conflit avec Tailwind ni app.css. */
.cc-racine { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483000; display: flex; justify-content: center; padding: 0.75rem; pointer-events: none; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.cc-racine--centre { top: 0; align-items: center; background: rgba(5, 5, 6, 0.55); pointer-events: auto; }
.cc-carte { pointer-events: auto; box-sizing: border-box; width: 100%; max-width: 46rem; max-height: calc(100vh - 1.5rem); overflow-y: auto; padding: 1.1rem 1.25rem; border: 1px solid #cbd5e1; border-radius: 1rem; background: #fff; color: #1e293b; box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.45); line-height: 1.5; text-align: left; }
.cc-carte--large { max-width: 40rem; }
.cc-titre { margin: 0 0 0.35rem; font-size: 1.05rem; font-weight: 800; color: #0c0d12; }
.cc-texte { margin: 0.4rem 0 0; font-size: 0.875rem; color: #334155; }
.cc-lien { color: #2f5fc0; text-decoration: underline; text-underline-offset: 2px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }
/* « Tout refuser » et « Tout accepter » : même style, même taille, même niveau (exigence de la CNIL). */
.cc-btn { flex: 1 1 9rem; box-sizing: border-box; min-height: 2.6rem; padding: 0.55rem 1rem; border-radius: 0.6rem; border: 2px solid #0c0d12; font: inherit; font-size: 0.875rem; font-weight: 700; cursor: pointer; transition: background .15s, color .15s; }
.cc-btn--plein { background: #0c0d12; color: #fff; }
.cc-btn--plein:hover { background: #1b1d26; }
.cc-btn--contour { background: #fff; color: #0c0d12; }
.cc-btn--contour:hover { background: #f1f5f9; }
.cc-btn:focus-visible, .cc-case:focus-visible, .cc-lien:focus-visible { outline: 3px solid #5daee6; outline-offset: 2px; }
.cc-liste { margin-top: 0.8rem; display: flex; flex-direction: column; gap: 0.7rem; }
.cc-groupe { padding: 0.75rem 0.9rem; border: 1px solid #e2e8f0; border-radius: 0.75rem; background: #f8fafc; }
.cc-groupe-tete { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.9rem; }
.cc-label { flex: 1; cursor: pointer; }
.cc-etat { font-size: 0.75rem; font-weight: 700; color: #475569; }
.cc-case { width: 1.35rem; height: 1.35rem; accent-color: #2f5fc0; cursor: pointer; }
.cc-groupe-texte { margin: 0.35rem 0 0; font-size: 0.8125rem; color: #475569; }
.cc-services { margin: 0.5rem 0 0; padding-left: 1.1rem; font-size: 0.78rem; color: #475569; }
@media (max-width: 480px) { .cc-btn { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .cc-btn { transition: none; } }
/* Lien « Gérer mes cookies » des pieds de page : un bouton présenté comme les liens voisins (la couleur et le soulignement viennent de la page). */
button[data-gerer-cookies] { appearance: none; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
.legal button[data-gerer-cookies] { color: #0088cc; text-decoration: underline; }
.legal button[data-gerer-cookies]:hover, button[data-gerer-cookies]:hover { text-decoration: underline; }
