/* 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;
  width: calc(100% - 2rem);
  max-width: 380px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  z-index: 99999;
  padding: 20px;
  background: #fff7ec;
  color: #4d3931;
  border: 1px solid #d8c3e2;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(121, 89, 79, .14);
  font-family: 'Nunito', sans-serif;
}
.analytics-consent__intro { display: flex; align-items: center; gap: 13px; }
.analytics-consent__icon {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 44px; height: 44px; border-radius: 50%;
  background: #f1e4f4; color: #b8552d;
}
.analytics-consent__icon svg { width: 28px; height: 28px; }
.analytics-consent p { margin: 0; font-size: 14px; line-height: 1.5; }
.analytics-consent__details { margin: 12px 0 16px; font-size: 12px; color: #79594f; }
.analytics-consent__details summary { cursor: pointer; width: fit-content; }
.analytics-consent__details p { margin-top: 9px; font-size: 12px; line-height: 1.55; }
.analytics-consent__actions { display: flex; gap: 10px; }
.analytics-consent__actions button {
  flex: 1; min-height: 42px; padding: 9px 14px;
  border: 1px solid #d8c3e2; border-radius: 999px;
  background: #fff; color: #9d4322;
  font-family: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: background-color .2s ease;
}
.analytics-consent__actions button:hover { background: #f3e8f6; }
.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, .analytics-consent summary:focus-visible {
  outline: 3px solid #9d4322;
  outline-offset: 2px;
}