/* doc-project | assets/css/analytics-consent.css | Présente les choix de cookies statistiques accessibles et adaptés au mobile. | Expose: classes analytics-consent et analytics-settings | Dépend de: includes/footer.php | Impacte: affichage du consentement | Tables: aucune */
.analytics-consent[hidden] { display: none !important; }
.analytics-consent {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 560px;
  z-index: 99999;
  padding: 1.1rem;
  background: #fff;
  color: #222;
  border: 1px solid #777;
  border-radius: 8px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, .2);
}
.analytics-consent p { margin: 0 0 .8rem; line-height: 1.5; }
.analytics-consent__actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.analytics-consent__actions button {
  flex: 1 1 110px;
  padding: .6rem;
  border: 1px solid #444;
  border-radius: 4px;
  background: #fff;
  color: #222;
  cursor: pointer;
}
.analytics-consent__actions button:last-child { background: #263c35; color: #fff; }
.analytics-settings {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 99998;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 2px solid #d8c3e2;
  border-radius: 999px;
  padding: .55rem .95rem;
  background: #fff7ec;
  color: #9d4322;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .75rem;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(157, 67, 34, .12);
  transition: background-color .2s ease, box-shadow .2s ease;
}
.analytics-settings::before {
  content: '\2699';
  font-size: 1rem;
  line-height: 1;
}
.analytics-settings:hover {
  background: #f3e8f6;
  box-shadow: 0 4px 14px rgba(157, 67, 34, .18);
}
.analytics-settings:focus-visible {
  outline: 3px solid #9d4322;
  outline-offset: 3px;
}
@media (max-width: 576px) {
  .analytics-settings { bottom: .75rem; left: .75rem; }
}
.analytics-consent button:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}