@charset "UTF-8";
/* CSS Document - coveaquiz.css, scopé sous .fesp-quiz — responsive */

.fesp-quiz {
	box-sizing: border-box;
	width: 100%;
	max-width: 724px;
	margin: 0 auto;
	padding: 0 12px;
	font: 1rem Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.fesp-quiz *,
.fesp-quiz *::before,
.fesp-quiz *::after {
	box-sizing: border-box;
}

.fesp-quiz #page-wrap {
	width: 100%;
	max-width: 724px;
	margin: 0 auto;
}

.fesp-quiz h1 {
	margin: 1rem 0 1.25rem;
	padding: 0 0.5rem;
	text-align: center;
	font: bolder clamp(1.35rem, 4.5vw, 3.125rem) Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	line-height: 1.2;
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
}

.fesp-quiz #quiz input {
	vertical-align: middle;
}

.fesp-quiz #quiz ol {
	margin: 0;
	padding: 0 0 0 1.5rem;
	font: clamp(1.25rem, 4vw, 3rem) Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #1b878f;
	text-indent: initial;
	list-style: decimal;
}

.fesp-quiz #quiz ol li {
	margin: 0 0 1rem 0;
	padding: 0.75rem;
	border: solid 2px #1b878f;
	border-radius: 18px;
	background-color: #f1f9f9;
}

.fesp-quiz #quiz ol > li:before {
	display: none;
}

.fesp-quiz #quiz ol li div {
	padding: 0.25rem 0;
	font: clamp(1rem, 3.2vw, 2rem) Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.fesp-quiz #quiz h3 {
	font-size: clamp(1.1rem, 3.5vw, 2.222rem);
	margin: 0 0 0.35rem 0;
	color: #1b878f;
	line-height: 1.25;
	word-wrap: break-word;
	overflow-wrap: break-word;
	font-weight: 700;
}

.fesp-quiz #results {
	padding: 0 0.5rem;
	margin-bottom: 1.25rem;
	text-align: center;
	font: bolder clamp(1.25rem, 4vw, 2.75rem) Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	line-height: 1.3;
}

.fesp-quiz .reponse {
	color: black;
}

.fesp-quiz #quiz ol li.badRep {
	border: solid 2px #7E0002;
	background-color: #FDDBDC;
}

.fesp-quiz #quiz ol li.goodRep {
	border: solid 2px #1b878f;
	background-color: #f1f9f9;
}

.fesp-quiz #quiz ol li.badRep h3 {
	color: #666;
}

.fesp-quiz [type="radio"]:checked,
.fesp-quiz [type="radio"]:not(:checked) {
	position: absolute;
	left: -9999px;
}

.fesp-quiz [type="radio"]:checked + label,
.fesp-quiz [type="radio"]:not(:checked) + label {
	--radio-size: clamp(1.5rem, 5vw, 3rem);
	--radio-dot: calc(var(--radio-size) * 0.75);
	--radio-inset: calc((var(--radio-size) - var(--radio-dot)) / 2);
	position: relative;
	padding-left: calc(var(--radio-size) + 0.75rem);
	cursor: pointer;
	line-height: 1.35;
	display: inline-block;
	max-width: 100%;
	color: #666;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.fesp-quiz [type="radio"]:checked + label:before,
.fesp-quiz [type="radio"]:not(:checked) + label:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.1em;
	width: var(--radio-size);
	height: var(--radio-size);
	border: 2px solid #666;
	border-radius: 100%;
	background: #fff;
	box-sizing: border-box;
}

.fesp-quiz [type="radio"]:checked + label:after,
.fesp-quiz [type="radio"]:not(:checked) + label:after {
	content: '';
	width: var(--radio-dot);
	height: var(--radio-dot);
	background: #e94190;
	position: absolute;
	top: calc(0.1em + var(--radio-inset));
	left: var(--radio-inset);
	border-radius: 100%;
	-webkit-transition: opacity 0.2s ease, transform 0.2s ease;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.fesp-quiz [type="radio"]:not(:checked) + label:after {
	opacity: 0;
	-webkit-transform: scale(0);
	transform: scale(0);
}

.fesp-quiz [type="radio"]:checked + label:after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.fesp-quiz input[type=submit],
.fesp-quiz a.submitbtn {
	display: block;
	box-sizing: border-box;
	min-height: clamp(3rem, 10vw, 5rem);
	width: 100%;
	margin-top: 1.25rem;
	margin-left: 0;
	padding: 0.6rem 1rem;
	background-color: ghostwhite;
	color: #e94190;
	cursor: pointer;
	border-radius: 20px;
	border: solid 2px #e94190;
	text-align: center;
	line-height: 1.2;
	text-decoration: none;
	font: clamp(1.25rem, 4vw, 3rem) Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.fesp-quiz input[type=submit]:hover,
.fesp-quiz a.submitbtn:hover {
	background-color: #e94190;
	color: white;
}

/* Menu de sélection des quiz */
.fesp-quiz.fesp-quiz__menu {
	max-width: 724px;
	margin: 0 auto;
	padding: 0;
}

.fesp-quiz.fesp-quiz__menu table {
	width: 100%;
	max-width: 724px;
	margin: 0 auto;
	border-collapse: collapse;
}

.fesp-quiz.fesp-quiz__menu table img {
	display: block;
	width: 100%;
	height: auto;
}

/* Mobile / tablette étroite */
@media (max-width: 600px) {
	.fesp-quiz {
		padding: 0 8px;
	}

	.fesp-quiz #quiz ol {
		padding-left: 1.15rem;
	}

	.fesp-quiz #quiz ol li {
		padding: 0.65rem;
		border-radius: 12px;
	}

	.fesp-quiz input[type=submit],
	.fesp-quiz a.submitbtn {
		border-radius: 12px;
	}
}
