/* Bandeau de consentement cookies — LSKAIZEN */

/* Fond assombri : bloque les clics sur le reste de la page tant qu'aucun
   choix (accepter/refuser) n'a été fait. Le contenu reste visible et
   lisible, seule l'interaction (clics, liens) est empêchée. */
#fond-cookies {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(8, 31, 70, .55);
  backdrop-filter: blur(1px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
#fond-cookies.visible {
  opacity: 1;
  pointer-events: auto;
}

#bandeau-cookies {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--navy);
  color: var(--blanc);
  padding: 32px 28px;
  box-shadow: 0 -8px 30px rgba(0,0,0,.25);
  display: none;
}
#bandeau-cookies.visible { display: block; }

#bandeau-cookies .bc-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}

#bandeau-cookies .bc-texte {
  flex: 1 1 420px;
  font-size: 16.5px;
  line-height: 1.6;
  color: #D7E1F2;
}
#bandeau-cookies .bc-texte strong { color: var(--blanc); }
#bandeau-cookies .bc-texte a { color: var(--bleu-vif); font-weight: 600; text-decoration: underline; }

#bandeau-cookies .bc-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

#bandeau-cookies button {
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  padding: 15px 32px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: opacity .15s ease, background .15s ease;
}

#bandeau-cookies .bc-refuser {
  background: transparent;
  border-color: rgba(255,255,255,.4);
  color: var(--blanc);
}
#bandeau-cookies .bc-refuser:hover { background: rgba(255,255,255,.08); }

#bandeau-cookies .bc-accepter {
  background: var(--bleu-vif);
  color: var(--blanc);
}
#bandeau-cookies .bc-accepter:hover { opacity: .9; }

@media (max-width: 640px) {
  #bandeau-cookies { padding: 22px 18px; }
  #bandeau-cookies .bc-texte { font-size: 15px; }
  #bandeau-cookies .bc-actions { width: 100%; }
  #bandeau-cookies .bc-actions button { flex: 1; }
}
