/* ==========================================================================
   RGPD Kit — Bannière cookies (autonome, aucune dépendance externe)
   Personnalisation : modifiez les couleurs dans le bloc :root ci-dessous.
   ========================================================================== */

:root {
  --rgpd-bg:        #09111b;
  --rgpd-text:      rgba(255,255,255,0.85);
  --rgpd-text-dim:  rgba(255,255,255,0.65);
  --rgpd-link:      #7ec0ff;
  --rgpd-accent:    #0C447C;
  --rgpd-radius:    8px;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--rgpd-bg);
  color: var(--rgpd-text);
  padding: 18px clamp(16px, 4vw, 40px);
  display: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
#cookie-banner.visible { display: block; }

.cookie-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--rgpd-text-dim);
  flex: 1;
  min-width: 240px;
  margin: 0;
}
.cookie-text a { color: var(--rgpd-link); }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-actions button {
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--rgpd-radius);
  cursor: pointer;
  border: none;
  font-family: inherit;
}
#cookie-accept  { background: var(--rgpd-accent); color: #fff; }
#cookie-decline { background: rgba(255,255,255,0.1); color: #fff; }

/* Pages légales (mise en page neutre, à adapter à votre charte) */
.legal-page { max-width: 760px; margin: 0 auto; padding: 2rem 1.5rem; }
.legal-page h1 { font-size: 24px; font-weight: 600; margin: 0 0 4px; }
.legal-page .legal-date { font-size: 13px; color: #888; margin: 0 0 1.5rem; }
.legal-page h2 { font-size: 18px; font-weight: 600; margin: 2rem 0 0.75rem; }
.legal-page p, .legal-page li { font-size: 14px; color: #555; line-height: 1.7; }
.legal-page ul { padding-left: 20px; margin: 0.5rem 0; }
.legal-page a { color: var(--rgpd-accent); }
