/* Voile d'âge (voile-age/voile.php), repris du snippet de Nino et du CSS personnalisé de Bricks
   qui le complétait (boutons dorés) ; mêmes classes. Les règles mal écrites du snippet
   (« background - color », « margin - top »…) sont rétablies, et son « label { margin-bottom: 0 } »,
   qui touchait tout le site, est limité au voile. */
#age-verification-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  background: #fff;
  color: #000;
  transition: opacity 0.3s ease-out;
}
/* page derrière le voile : pas de défilement tant qu'il est ouvert (js/voile-age.js) */
body.no-scroll { overflow: hidden; }

.age-overlay.overlay-closed,
.l4v-age-ok #age-verification-overlay { display: none !important; }

#age-overlay-cont {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
#age-overlay-cont.appeared { opacity: 1; }

.age-verification-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 1.5rem;
  text-align: center;
}
.age-verification-logo { width: 45%; max-width: 180px; margin-bottom: 3rem; }
.age-verification-title {
  margin-bottom: 1rem;
  font-size: 16px;
  letter-spacing: 1.2px;
  line-height: 2rem;
}
.age-verification-btn {
  margin: 5px;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--gold);
  border-radius: 5px;
  background: var(--gold);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 0 20px #eee;
  cursor: pointer;
  transition: background-color 120ms ease-out, color 120ms ease-out;
}
.age-verification-btn:hover { background-color: #fff; color: var(--gold); }
.age-verification-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.remind-me-container { display: flex; align-items: center; margin-top: 0.5rem; }
.remind-me-container input { cursor: pointer; }
.remind-me-container label { margin: 0 0 0 0.4rem; }

.age-verification-refus { max-width: 30em; margin: 1rem 0 0; font-size: 14px; color: #b3261e; }
.age-verification-loi { max-width: 32em; margin: 1.5rem 0 0; font-size: 13px; line-height: 1.6; }

.privacy-container { width: 100%; padding: 0 2rem; }
.privacy-p { width: 100%; margin: 0 auto 2rem; font-size: 14px; line-height: 1.6rem; text-align: center; }
.privacy-link { color: var(--gold); font-weight: 500; }

@media (min-width: 768px) {
  .age-verification-container { margin-top: 5rem; }
  .age-verification-logo { margin-bottom: 5rem; }
  .privacy-container { padding: 0 3rem; }
  .privacy-p { width: 90%; }
}
