/* Verrou d'accès : fige et floute la page en arrière-plan tant que le
   mot de passe n'a pas été validé. */
body.site-gated {
  overflow: hidden;
  height: 100vh;
}
body.site-gated > *:not(.site-gate-overlay) {
  filter: blur(6px) grayscale(0.15);
  pointer-events: none;
  user-select: none;
}

.site-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 10, 10, 0.72);
}

.site-gate-box {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 6px;
  padding: 40px 35px 35px;
  text-align: center;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.45);
}

.site-gate-logo {
  max-width: 160px;
  margin: 0 auto 20px;
}

.site-gate-box h2 {
  margin: 0 0 10px;
  font-family: 'loveloblack';
  font-size: 22px;
  text-transform: uppercase;
  color: #222;
}

.site-gate-box p {
  margin: 0 0 20px;
  color: #666;
  font-size: 14px;
}

.site-gate-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.site-gate-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  box-sizing: border-box;
}

.site-gate-submit {
  width: 100%;
}

.site-gate-error {
  margin: 0;
  color: #c0392b;
  font-size: 13px;
  font-weight: 600;
}
