/*
 * Message d'entrée 18 ans, en fenêtre modale : visible seulement quand <html> porte
 * la classe bc-age-requis, posée par le script du <head> tant que le visiteur n'a pas
 * répondu « oui ». Le site reste visible derrière, assombri ; le script le rend inerte
 * (ni clic, ni clavier, ni lecteur d'écran).
 * Couleurs du site : vert #006b37, noir #020201.
 */

.bc-age-porte {
	display: none;
}

html.bc-age-requis,
html.bc-age-requis body {
	overflow: hidden !important;
}

/* Voile posé dès le premier affichage, avant même que la fenêtre soit lue dans la page. */
html.bc-age-requis body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 2147482999;
	background: rgba(2, 2, 1, 0.55);
}

html.bc-age-requis .bc-age-porte {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	padding: 16px;
	overflow-y: auto;
}

.bc-age-porte:focus {
	outline: none;
}

.bc-age-carte {
	box-sizing: border-box;
	width: 100%;
	max-width: 34rem;
	margin: auto;
	padding: 2.5rem 1.5rem 1.75rem;
	background: #fff;
	box-shadow: 0 12px 40px rgba(2, 2, 1, 0.35);
	color: #020201;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
}

.bc-age-carte p {
	margin: 0 0 1rem;
	color: inherit;
	font-size: 1rem;
	letter-spacing: normal;
	text-transform: none;
}

.bc-age-carte .bc-age-marque {
	color: #006b37;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.bc-age-carte .bc-age-titre {
	margin: 0 0 1rem;
	padding: 0;
	color: #020201;
	font-family: inherit;
	font-size: 1.75rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: normal;
	text-transform: none;
}

.bc-age-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin: 1.5rem 0 1rem;
}

.bc-age-carte .bc-age-bouton {
	min-height: 44px;
	margin: 0;
	padding: 0.75rem 1.5rem;
	border: 2px solid #006b37;
	border-radius: 0;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
}

.bc-age-carte .bc-age-oui {
	background: #006b37;
	color: #fff;
}

.bc-age-carte .bc-age-non {
	background: #fff;
	color: #006b37;
}

.bc-age-carte .bc-age-bouton:hover {
	border-color: #00532a;
	background: #00532a;
	color: #fff;
}

.bc-age-carte .bc-age-bouton:focus-visible {
	outline: 3px solid #020201;
	outline-offset: 3px;
}

.bc-age-carte .bc-age-refus:not(:empty) {
	color: #8a1c1c;
	font-weight: 600;
}

.bc-age-carte .bc-age-sante {
	font-size: 0.875rem;
	font-weight: 600;
}

.bc-age-carte .bc-age-note {
	margin-bottom: 0;
	color: #555b60;
	font-size: 0.75rem;
}
