/**
 * QCM d'orientation « Trouver ma formation ».
 *
 * Charte la Cense : vert #79B51D, brun #522B0D, beige #F7F6F4, texte #2B2E34,
 * titres en Poppins, textes en Roboto (polices déjà chargées par Elementor).
 *
 * Tout est préfixé .lcq / .lcq-  pour ne rien emprunter au thème et ne rien lui
 * imposer. Les variables reprennent les couleurs globales Elementor quand elles
 * existent, avec la valeur de la charte en repli.
 */

.lcq {
	--lcq-green: var( --e-global-color-primary, #79b51d );
	--lcq-green-dark: #547e15;
	--lcq-green-soft: rgba( 121, 181, 29, 0.09 );
	--lcq-green-line: rgba( 121, 181, 29, 0.35 );
	--lcq-brown: var( --e-global-color-secondary, #522b0d );
	--lcq-ink: var( --e-global-color-text, #2b2e34 );
	/*
	 * Gris de lecture. Le #85868a de la charte tombe sous 4,5:1 sur le beige ;
	 * on était passé à #605e59, encore trop léger pour que le texte courant
	 * porte. À #3d3a35 il tient sans virer au noir (≈ 9:1 sur le beige).
	 */
	--lcq-muted: #3d3a35;
	--lcq-beige: #f7f6f4;
	--lcq-card: #ffffff;
	--lcq-line: #d5cec4; /* bordure : assez marquée pour détacher les cartes du beige */
	--lcq-radius: 20px;
	--lcq-shadow: 0 1px 2px rgba( 82, 43, 13, 0.04 ), 0 12px 32px rgba( 82, 43, 13, 0.07 );
	--lcq-shadow-lift: 0 2px 6px rgba( 82, 43, 13, 0.06 ), 0 18px 44px rgba( 82, 43, 13, 0.12 );
	--lcq-sans: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	--lcq-title: "Poppins", var( --lcq-sans );

	box-sizing: border-box;
	max-width: 940px;
	margin: 0 auto;
	padding: 0 20px 80px;
	color: var( --lcq-ink );
	font-family: var( --lcq-sans );
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

/* =========================================================================
 * Page dédiée (modèle « pleine page »)
 * ========================================================================= */

body.lcq-fullpage {
	margin: 0;
	min-height: 100vh;
	background: #f7f6f4;
	background-image:
		radial-gradient( 1100px 520px at 12% -10%, rgba( 121, 181, 29, 0.10 ), transparent 62% ),
		radial-gradient( 900px 480px at 100% 0%, rgba( 82, 43, 13, 0.07 ), transparent 60% );
	background-attachment: fixed;
}

.lcq-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 18px 24px;
}

.lcq-topbar__logo img {
	display: block;
	width: auto;
	height: 46px;
	max-width: 190px;
	object-fit: contain;
}

.lcq-topbar__close {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px 8px 18px;
	border: 1px solid #e6e2dc;
	border-radius: 999px;
	background: rgba( 255, 255, 255, 0.72 );
	color: #85868a;
	font-family: "Roboto", sans-serif;
	font-size: 14px;
	text-decoration: none;
	transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.lcq-topbar__close:hover,
.lcq-topbar__close:focus-visible {
	border-color: #2b2e34;
	background: #fff;
	color: #2b2e34;
	text-decoration: none;
}

.lcq-topbar__close-icon svg {
	display: block;
	width: 16px;
	height: 16px;
}

.lcq-main {
	padding: 8px 0 0;
}

/* =========================================================================
 * Écran d'accueil
 * ========================================================================= */

.lcq__eyebrow {
	display: block;
	margin: 0 0 10px;
	color: var( --lcq-green-dark );
	font-family: var( --lcq-sans );
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.lcq__intro {
	max-width: 860px;
	margin: 0 auto;
	padding: 40px 0;
	text-align: center;
}

/* -- Bandeau d'accueil -------------------------------------------------- */

/*
 * L'accueil n'était que du texte centré sur du beige : rien n'accrochait l'œil.
 * Il repose maintenant sur un bandeau, photo si la page en a une, aplat brun de
 * la charte sinon — jamais un trou blanc en attendant que quelqu'un choisisse
 * une image.
 */
.lcq__hero {
	position: relative;
	overflow: hidden;
	padding: 64px 40px 56px;
	border-radius: var( --lcq-radius );
	background-color: var( --lcq-brown );
	background-position: center;
	background-size: cover;
	box-shadow: var( --lcq-shadow-lift );
}

/*
 * Voile brun sur la photo : sans lui, le texte blanc devient illisible dès
 * qu'une zone claire passe dessous — et les photos de chevaux en ont beaucoup
 * (ciel, sable, robes claires). Le dégradé assombrit surtout le bas, là où se
 * trouvent le chapeau et le bouton.
 */
.lcq__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba( 82, 43, 13, 0.58 ) 0%,
		rgba( 82, 43, 13, 0.72 ) 55%,
		rgba( 82, 43, 13, 0.84 ) 100%
	);
}

/* Sans photo, l'aplat se suffit : une lueur verte suffit à le réchauffer. */
.lcq__hero--plain::before {
	background:
		radial-gradient( 620px 320px at 20% 0%, rgba( 121, 181, 29, 0.34 ), transparent 68% ),
		radial-gradient( 520px 300px at 100% 100%, rgba( 121, 181, 29, 0.18 ), transparent 62% );
}

.lcq__hero-inner {
	position: relative; /* au-dessus du voile */
	max-width: 620px;
	margin: 0 auto;
}

/* Sur le bandeau, tout le texte passe en clair. */
.lcq__hero .lcq__title {
	color: #fff;
	text-shadow: 0 1px 2px rgba( 0, 0, 0, 0.18 );
}

.lcq__hero .lcq__lead {
	color: rgba( 255, 255, 255, 0.92 );
}

.lcq__title {
	margin: 0 0 16px;
	color: var( --lcq-brown );
	font-family: var( --lcq-title );
	font-size: clamp( 30px, 5vw, 46px );
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.015em;
}

.lcq__lead {
	margin: 0 auto 32px;
	max-width: 560px;
	color: var( --lcq-muted );
	font-size: 18px;
	line-height: 1.6;
}

@media ( max-width: 640px ) {

	.lcq__hero {
		padding: 44px 22px 40px;
		border-radius: 16px;
	}
}

/* =========================================================================
 * Progression
 * ========================================================================= */

.lcq__shell {
	padding-top: 34px;
}

.lcq__shell[hidden],
.lcq__intro[hidden],
.lcq__step[hidden] {
	display: none;
}

.lcq__progress {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0 auto 26px;
	max-width: 720px;
}

.lcq__progress-bar {
	flex: 1;
	height: 6px;
	border-radius: 999px;
	background: rgba( 82, 43, 13, 0.10 );
	overflow: hidden;
}

.lcq__progress-fill {
	display: block;
	width: 0;
	height: 100%;
	border-radius: 999px;
	background: var( --lcq-green );
	transition: width 0.38s cubic-bezier( 0.22, 0.61, 0.36, 1 );
}

.lcq__progress-label {
	flex: none;
	margin: 0;
	color: var( --lcq-muted );
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* =========================================================================
 * Étapes et options
 * ========================================================================= */

.lcq__step {
	max-width: 720px;
	margin: 0 auto;
	animation: lcq-in 0.34s cubic-bezier( 0.22, 0.61, 0.36, 1 ) both;
}

.lcq__step--result {
	max-width: 940px;
}

@keyframes lcq-in {
	from {
		opacity: 0;
		transform: translateY( 14px );
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.lcq__fieldset {
	display: flow-root; /* contient le <legend> flotté */
	margin: 0;
	padding: 32px 30px 26px;
	border: 1px solid var( --lcq-line );
	border-radius: var( --lcq-radius );
	background: var( --lcq-card );
	box-shadow: var( --lcq-shadow );
}

.lcq__legend {
	display: block;
	float: left; /* legend + padding : le float évite le décalage natif de <legend> */
	width: 100%;
	margin: 0 0 22px;
	padding: 0;
}

.lcq__legend + * {
	clear: both;
}

.lcq__question {
	display: block;
	color: var( --lcq-brown );
	font-family: var( --lcq-title );
	font-size: clamp( 24px, 3.4vw, 32px );
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.lcq__hint {
	display: block;
	margin-top: 8px;
	color: var( --lcq-muted );
	font-size: 14.5px;
}

.lcq__options {
	display: grid;
	gap: 12px;
}

.lcq__step--compact .lcq__options {
	grid-template-columns: repeat( auto-fit, minmax( 200px, 1fr ) );
}

/* -- Une option -------------------------------------------------------- */

.lcq__option {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin: 0;
	padding: 18px 52px 18px 20px;
	border: 1.5px solid var( --lcq-line );
	border-radius: 16px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.lcq__option:hover {
	border-color: var( --lcq-green-line );
	background: var( --lcq-green-soft );
	transform: translateY( -1px );
	box-shadow: 0 6px 18px rgba( 82, 43, 13, 0.07 );
}

.lcq__step--compact .lcq__option {
	align-items: center;
	padding: 15px 46px 15px 18px;
}

/* La vraie case reste dans le flux pour le clavier et les lecteurs d'écran. */
.lcq__input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	pointer-events: none;
}

.lcq__option-mark {
	position: absolute;
	top: 50%;
	right: 18px;
	width: 22px;
	height: 22px;
	transform: translateY( -50% );
	border: 1.5px solid #d6d1c9;
	border-radius: 50%;
	background: #fff;
	transition: border-color 0.16s ease, background-color 0.16s ease;
}

.lcq__option-mark::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 10px;
	height: 6px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: translateY( -1px ) rotate( -45deg ) scale( 0.5 );
	opacity: 0;
	transition: opacity 0.16s ease, transform 0.16s ease;
}

/*
 * Option cochée : un liseré ne suffisait pas à distinguer d'un coup d'œil ce
 * qui est sélectionné de ce qui ne l'est pas. Aplat vert franc et bordure
 * épaisse — la sélection se lit désormais de loin.
 */
.lcq__option:has( .lcq__input:checked ) {
	border-color: var( --lcq-green );
	border-width: 2px;
	background: rgba( 121, 181, 29, 0.16 );
	box-shadow: inset 0 0 0 1px var( --lcq-green );
}

.lcq__option:has( .lcq__input:checked ) .lcq__option-label {
	color: var( --lcq-brown );
	font-weight: 700;
}

.lcq__option:has( .lcq__input:checked ) .lcq__option-mark {
	border-color: var( --lcq-green );
	background: var( --lcq-green );
}

.lcq__option:has( .lcq__input:checked ) .lcq__option-mark::after {
	opacity: 1;
	transform: translateY( -1px ) rotate( -45deg ) scale( 1 );
}

.lcq__option:has( .lcq__input:focus-visible ) {
	outline: 2px solid var( --lcq-brown );
	outline-offset: 3px;
}

/* Repli pour les navigateurs sans :has() — classe posée par le JS. */
/*
 * Repli pour les navigateurs sans `:has()` — la classe est posée par le JS.
 * À TENIR SYNCHRONISÉ avec la règle `:has( .lcq__input:checked )` plus haut :
 * les deux décrivent le même état, et rien ne le signale au compilateur.
 */
.lcq__option.is-selected {
	border-color: var( --lcq-green );
	border-width: 2px;
	background: rgba( 121, 181, 29, 0.16 );
	box-shadow: inset 0 0 0 1px var( --lcq-green );
}

.lcq__option.is-selected .lcq__option-label {
	color: var( --lcq-brown );
	font-weight: 700;
}

.lcq__option.is-selected .lcq__option-mark {
	border-color: var( --lcq-green );
	background: var( --lcq-green );
}

.lcq__option.is-selected .lcq__option-mark::after {
	opacity: 1;
	transform: translateY( -1px ) rotate( -45deg ) scale( 1 );
}

.lcq__option.is-focused {
	outline: 2px solid var( --lcq-brown );
	outline-offset: 3px;
}

.lcq__option-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	background: var( --lcq-beige );
	color: var( --lcq-green-dark );
	transition: background-color 0.16s ease;
}

.lcq__option:has( .lcq__input:checked ) .lcq__option-icon,
.lcq__option.is-selected .lcq__option-icon {
	background: #fff;
}

.lcq__option-icon .lcq__icon {
	width: 23px;
	height: 23px;
}

.lcq__option-badge {
	flex: none;
	display: grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border-radius: 11px;
	background: var( --lcq-beige );
	color: var( --lcq-brown );
	font-family: var( --lcq-title );
	font-size: 16px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.lcq__option:has( .lcq__input:checked ) .lcq__option-badge,
.lcq__option.is-selected .lcq__option-badge {
	background: #fff;
	color: var( --lcq-green-dark );
}

.lcq__option-text {
	min-width: 0;
}

.lcq__option-label {
	display: block;
	color: var( --lcq-ink );
	font-size: 16.5px;
	font-weight: 500;
	line-height: 1.35;
}

.lcq__option-help {
	display: block;
	margin-top: 4px;
	color: var( --lcq-muted );
	font-size: 14px;
	line-height: 1.5;
}

.lcq__error {
	margin: 14px 0 0;
	color: #a8431c;
	font-size: 14px;
}

.lcq__error[hidden] {
	display: none;
}

/* =========================================================================
 * Boutons
 * ========================================================================= */

.lcq__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 22px;
}

/*
 * Les sélecteurs des boutons sont préfixés .lcq : le CSS global du kit Elementor
 * impose `[type=button] { color:#FFF; border:0 }`, de même spécificité qu'une
 * simple classe. Le préfixe tranche l'égalité quel que soit l'ordre de chargement.
 */
/*
 * ATTENTION — le kit Elementor (post-800057.css) peint TOUS les <button> du site :
 *   .elementor-kit-800057 button        { background-color: var(--e-global-color-primary) }
 *   .elementor-kit-800057 button:hover,
 *   .elementor-kit-800057 button:focus  { background-color: #547E15; color: #fff }
 *
 * Le sélecteur de survol pèse (0,2,1) et l'emporte donc sur nos règles de base
 * en (0,2,0). Un bouton à nous qui ne redéclare pas son fond au survol ou au
 * focus se retrouve repeint en vert foncé ; et comme notre règle de survol,
 * elle, impose la couleur du texte, on obtenait un pavé vert au texte invisible.
 *
 * Règle à tenir dans ce fichier : TOUT état :hover / :focus d'un <button>
 * déclare explicitement son `background`. Nos sélecteurs à deux classes + pseudo
 * pèsent (0,3,0) et repassent devant. Les états de base, eux, sont à égalité
 * (0,2,0) et l'emportent parce que qcm.css est chargé après le kit.
 */

.lcq .lcq__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin: 0;
	padding: 13px 26px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font-family: var( --lcq-sans );
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
	-webkit-appearance: none;
	appearance: none;
}

.lcq .lcq__btn:focus-visible {
	outline: 2px solid var( --lcq-brown );
	outline-offset: 3px;
}

/* Le kit repeint aussi au :focus — chaque variante réaffirme son fond. */
.lcq .lcq__btn:focus {
	background: transparent;
}

.lcq .lcq__btn--primary:focus {
	background: var( --lcq-green );
}

.lcq .lcq__btn--primary {
	background: var( --lcq-green );
	border-color: var( --lcq-green );
	color: #fff;
}

.lcq .lcq__btn--primary:hover {
	background: var( --lcq-green-dark );
	border-color: var( --lcq-green-dark );
	color: #fff;
	transform: translateY( -1px );
}

.lcq .lcq__btn--lg {
	padding: 16px 34px;
	font-size: 17px;
}

.lcq .lcq__btn--ghost {
	border-color: var( --lcq-line );
	color: var( --lcq-muted );
}

.lcq .lcq__btn--ghost:hover,
.lcq .lcq__btn--ghost:focus {
	background: transparent;
	border-color: var( --lcq-ink );
	color: var( --lcq-ink );
}

.lcq .lcq__btn[hidden] {
	display: none;
}

.lcq .lcq__btn .lcq__icon {
	width: 19px;
	height: 19px;
}

/*
 * Taille par défaut de toute icône : sans width/height explicites, un SVG à
 * viewBox se déploie à sa taille de remplacement (~300 px) et fait exploser son
 * conteneur (les pastilles de liens devenaient des cercles géants). Chaque
 * contexte qui a besoin d'une autre taille la redéfinit plus bas.
 */
.lcq__icon {
	display: block;
	flex: none;
	width: 18px;
	height: 18px;
}

/* =========================================================================
 * Résultat
 * ========================================================================= */

.lcq-result__head {
	max-width: 640px;
	margin: 0 auto 30px;
	text-align: center;
}

.lcq-result__title {
	margin: 0 0 12px;
	color: var( --lcq-brown );
	font-family: var( --lcq-title );
	font-size: clamp( 26px, 4vw, 38px );
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -0.015em;
}

.lcq-result__lead {
	margin: 0;
	color: var( --lcq-muted );
	font-size: 16.5px;
}

/* -- Rappel des réponses ----------------------------------------------- */

.lcq-recap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 0 34px;
	padding: 0;
	list-style: none;
}

.lcq-recap__label {
	margin-right: 4px;
	color: var( --lcq-muted );
	font-size: 13px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.lcq .lcq-recap__chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	border: 1px solid var( --lcq-line );
	border-radius: 999px;
	background: #fff;
	color: var( --lcq-ink );
	font-family: var( --lcq-sans );
	font-size: 13.5px;
	cursor: pointer;
	transition: border-color 0.16s ease, color 0.16s ease;
	-webkit-appearance: none;
	appearance: none;
}

.lcq .lcq-recap__chip:hover,
.lcq .lcq-recap__chip:focus {
	background: var( --lcq-green-soft );
	border-color: var( --lcq-green );
	color: var( --lcq-green-dark );
}

.lcq .lcq-recap__chip:focus-visible {
	outline: 2px solid var( --lcq-brown );
	outline-offset: 2px;
}

.lcq .lcq-recap__chip::after {
	content: "Modifier";
	color: var( --lcq-muted );
	font-size: 12px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lcq .lcq-recap__chip:hover::after {
	color: var( --lcq-green-dark );
}

/* -- Encart d'orientation ---------------------------------------------- */

.lcq-notice {
	display: flex;
	gap: 16px;
	margin: 0 0 28px;
	padding: 20px 24px;
	border: 1px solid rgba( 82, 43, 13, 0.16 );
	border-left: 4px solid var( --lcq-brown );
	border-radius: 14px;
	background: rgba( 82, 43, 13, 0.045 );
}

.lcq-notice__icon {
	flex: none;
	color: var( --lcq-brown );
}

.lcq-notice__icon .lcq__icon {
	width: 22px;
	height: 22px;
	margin-top: 2px;
}

.lcq-notice__title {
	margin: 0 0 6px;
	color: var( --lcq-brown );
	font-family: var( --lcq-title );
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}

.lcq-notice__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}

.lcq-notice__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	color: var( --lcq-green-dark );
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid var( --lcq-green-line );
}

.lcq-notice__link:hover {
	color: var( --lcq-green-dark );
	border-bottom-color: var( --lcq-green-dark );
}

/* -- Groupes de recommandations ---------------------------------------- */

.lcq-group {
	margin: 0 0 38px;
}

.lcq-group__head {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var( --lcq-line );
}

.lcq-group__title {
	margin: 0;
	color: var( --lcq-brown );
	font-family: var( --lcq-title );
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}

.lcq-group__count {
	color: var( --lcq-muted );
	font-size: 13.5px;
	white-space: nowrap;
}

.lcq-cards {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 260px, 1fr ) );
	gap: 18px;
}

.lcq-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1.5px solid var( --lcq-line );
	border-radius: 18px;
	background: var( --lcq-card );
	box-shadow: var( --lcq-shadow );
	text-decoration: none;
	color: inherit;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.lcq-card:hover,
.lcq-card:focus-visible {
	transform: translateY( -3px );
	border-color: var( --lcq-green-line );
	box-shadow: var( --lcq-shadow-lift );
	text-decoration: none;
	color: inherit;
}

.lcq-card:focus-visible {
	outline: 2px solid var( --lcq-brown );
	outline-offset: 3px;
}

.lcq-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var( --lcq-beige );
	overflow: hidden;
}

.lcq-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s cubic-bezier( 0.22, 0.61, 0.36, 1 );
}

.lcq-card:hover .lcq-card__media img {
	transform: scale( 1.04 );
}

.lcq-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px 20px 20px;
}

.lcq-card__title {
	margin: 0 0 8px;
	color: var( --lcq-brown );
	font-family: var( --lcq-title );
	font-size: 18.5px;
	font-weight: 700;
	line-height: 1.28;
}

.lcq-card__blurb {
	margin: 0 0 14px;
	color: var( --lcq-muted );
	font-size: 14.5px;
	line-height: 1.55;
}

.lcq-card__note {
	display: flex;
	gap: 8px;
	margin: 0 0 14px;
	padding: 9px 12px;
	border-radius: 10px;
	background: var( --lcq-beige );
	color: var( --lcq-brown );
	font-size: 13px;
	line-height: 1.45;
}

.lcq-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var( --lcq-line );
}

.lcq-card__price {
	color: var( --lcq-ink );
	font-family: var( --lcq-title );
	font-size: 16px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.lcq-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var( --lcq-green-dark );
	font-size: 14.5px;
	font-weight: 500;
	white-space: nowrap;
}

.lcq-card__cta .lcq__icon {
	width: 17px;
	height: 17px;
	transition: transform 0.18s ease;
}

.lcq-card:hover .lcq-card__cta .lcq__icon {
	transform: translateX( 3px );
}

/* -- Liens complémentaires (second niveau de lecture) ------------------- */

/*
 * Filet et respiration en tête : le visiteur comprend qu'il change de registre —
 * on ne lui recommande plus une formation, on l'oriente ailleurs sur le site.
 */
.lcq-links-block {
	margin: 6px 0 4px;
	padding-top: 26px;
	border-top: 1px solid var( --lcq-line );
}

.lcq-links-block__head {
	margin-bottom: 16px;
}

.lcq-links-block__title {
	margin: 0 0 5px;
	color: var( --lcq-brown );
	font-family: var( --lcq-title );
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.lcq-links-block__text {
	margin: 0;
	max-width: 560px;
	color: var( --lcq-muted );
	font-size: 15px;
	line-height: 1.6;
}

.lcq-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lcq-links__item a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border: 1.5px solid var( --lcq-line );
	border-radius: 999px;
	color: var( --lcq-ink );
	font-size: 14.5px;
	text-decoration: none;
	transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.lcq-links__item a:hover {
	border-color: var( --lcq-green );
	background: var( --lcq-green-soft );
	color: var( --lcq-green-dark );
	text-decoration: none;
}

/* Le « ↗ » des liens d'orientation, plus discret que les flèches des boutons. */
.lcq-links__item a .lcq__icon,
.lcq-notice__link .lcq__icon {
	width: 15px;
	height: 15px;
}

/* Réserve d'icônes clonées par le JS : présente dans le DOM, jamais affichée. */
.lcq__sprite {
	display: none;
}

/* -- Pied du résultat --------------------------------------------------- */

.lcq-result__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 8px;
}

.lcq-contact {
	margin: 30px 0 24px;
	padding: 28px 30px;
	border: 1px solid var( --lcq-green-line );
	border-radius: 18px;
	background: var( --lcq-green-soft );
	text-align: center;
}

.lcq-contact__title {
	margin: 0 0 6px;
	color: var( --lcq-brown );
	font-family: var( --lcq-title );
	font-size: 19px;
	font-weight: 600;
}

.lcq-contact__text {
	margin: 0 0 18px;
	color: var( --lcq-muted );
	font-size: 15px;
}

/* =========================================================================
 * Capture d'e-mail — lien de rappel et popup
 * ========================================================================= */

/* -- Lien de rappel, dans la page de résultat -------------------------- */

.lcq-leadlink {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 30px 0 0;
	padding: 18px 24px;
	border: 1px solid var( --lcq-green-line );
	border-radius: 16px;
	background: var( --lcq-green-soft );
	text-align: center;
}

.lcq-leadlink .lcq__icon {
	flex: none;
	width: 20px;
	height: 20px;
	color: var( --lcq-green-dark );
}

.lcq .lcq-leadlink__btn {
	padding: 0;
	border: 0;
	background: transparent;
	color: var( --lcq-brown );
	font-family: var( --lcq-sans );
	font-size: 16px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.lcq .lcq-leadlink__btn:hover,
.lcq .lcq-leadlink__btn:focus {
	background: transparent;
	color: var( --lcq-green-dark );
}

.lcq-leadlink.is-done {
	border-style: dashed;
}

.lcq-leadlink__done {
	color: var( --lcq-brown );
	font-size: 15px;
	font-weight: 600;
}

/* -- Popup ------------------------------------------------------------- */

/*
 * Le fond est ajouté à <body>, hors de l'arbre du QCM : il porte donc lui-même
 * la classe .lcq pour hériter des variables de couleur. Il faut en revanche
 * annuler la mise en page que .lcq impose (largeur maximale, marges, padding),
 * sans quoi le fond fixe se retrouverait centré et rogné.
 */
.lcq.lcq-lead__overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: none;
	margin: 0;
	padding: 20px;
	background: rgba( 82, 43, 13, 0.55 );
	opacity: 0;
	transition: opacity 0.2s ease;
	overflow-y: auto;
}

.lcq.lcq-lead__overlay.is-visible {
	opacity: 1;
}

/* Empêche la page de défiler derrière la popup ouverte. */
body.lcq-noscroll {
	overflow: hidden;
}

.lcq .lcq-lead {
	position: relative;
	width: 100%;
	max-width: 520px;
	margin: auto;
	padding: 38px 40px 30px;
	border-radius: var( --lcq-radius );
	background: var( --lcq-card );
	box-shadow: var( --lcq-shadow-lift );
	text-align: center;
	transform: translateY( 12px );
	transition: transform 0.2s ease;
}

.lcq-lead__overlay.is-visible .lcq-lead {
	transform: translateY( 0 );
}

.lcq .lcq-lead__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var( --lcq-muted );
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.lcq .lcq-lead__close:hover,
.lcq .lcq-lead__close:focus {
	background: var( --lcq-beige );
	color: var( --lcq-ink );
}

.lcq .lcq-lead__close .lcq__icon {
	width: 18px;
	height: 18px;
}

.lcq-lead__title {
	margin: 0 0 8px;
	color: var( --lcq-brown );
	font-family: var( --lcq-title );
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
}

.lcq-lead__text {
	margin: 0 auto 22px;
	max-width: 400px;
	color: var( --lcq-muted );
	font-size: 15px;
}

.lcq-lead__form {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.lcq .lcq-lead__input {
	flex: 1 1 100%;
	min-height: 50px;
	padding: 13px 20px;
	border: 1px solid var( --lcq-line );
	border-radius: 999px;
	background: #fff;
	color: var( --lcq-ink );
	font-family: var( --lcq-sans );
	font-size: 16px; /* 16px minimum : en dessous, iOS zoome à la mise au point. */
	text-align: center;
}

.lcq .lcq-lead__input:focus {
	border-color: var( --lcq-green );
	outline: 2px solid var( --lcq-green-line );
	outline-offset: 1px;
}

.lcq .lcq-lead__form .lcq__btn {
	flex: 1 1 100%;
}

.lcq .lcq__btn[disabled] {
	opacity: 0.6;
	cursor: default;
	transform: none;
}

/* Pot de miel : retiré du flux et de l'accessibilité, jamais affiché. */
.lcq-lead__honey {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.lcq-lead__feedback {
	margin: 14px 0 0;
	font-size: 15px;
}

.lcq-lead__feedback:empty {
	margin: 0;
}

.lcq-lead__feedback.is-error {
	color: #b3261e;
}

.lcq-lead__feedback.is-done {
	color: var( --lcq-green-dark );
	font-weight: 600;
}

.lcq-lead__consent {
	margin: 16px auto 0;
	max-width: 400px;
	color: var( --lcq-muted );
	font-size: 12.5px;
	line-height: 1.5;
}

.lcq .lcq-lead__decline {
	margin: 18px 0 0;
	padding: 6px 10px;
	border: 0;
	background: transparent;
	color: var( --lcq-muted );
	font-family: var( --lcq-sans );
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.lcq .lcq-lead__decline:hover,
.lcq .lcq-lead__decline:focus {
	background: transparent;
	color: var( --lcq-ink );
}

@media ( max-width: 560px ) {

	.lcq .lcq-lead {
		padding: 32px 22px 24px;
	}

	.lcq-lead__title {
		font-size: 20px;
	}

	.lcq-leadlink {
		flex-direction: column;
		gap: 8px;
		padding: 18px;
	}
}

/* =========================================================================
 * Sans JavaScript
 * ========================================================================= */

.lcq__noscript {
	max-width: 620px;
	margin: 40px auto;
	padding: 26px 30px;
	border: 1px solid var( --lcq-line );
	border-radius: var( --lcq-radius );
	background: var( --lcq-card );
}

.lcq__noscript ul {
	margin: 10px 0 0;
	padding-left: 20px;
}

.lcq__noscript a {
	color: var( --lcq-green-dark );
}

/* =========================================================================
 * Petits écrans
 * ========================================================================= */

@media ( max-width: 640px ) {

	.lcq {
		padding: 0 16px 60px;
	}

	.lcq__intro {
		padding: 34px 0 28px;
	}

	.lcq__fieldset {
		padding: 24px 20px 20px;
	}

	.lcq__option {
		gap: 13px;
		padding: 16px 46px 16px 16px;
	}

	.lcq__option-icon {
		width: 38px;
		height: 38px;
		border-radius: 11px;
	}

	.lcq__actions {
		flex-direction: column-reverse;
	}

	.lcq .lcq__actions .lcq__btn {
		width: 100%;
	}

	.lcq-cards {
		grid-template-columns: 1fr;
	}

	.lcq-recap {
		justify-content: flex-start;
	}

	.lcq-topbar {
		padding: 14px 16px;
	}

	.lcq-topbar__logo img {
		height: 38px;
	}

	.lcq-topbar__close-label {
		display: none;
	}
}

@media ( prefers-reduced-motion: reduce ) {

	.lcq *,
	.lcq *::before,
	.lcq *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
