/* ------------------------------------------------------------ *\
	Biovancia v3 — Confirmation page (study signup "Génération Encore")
	Centered card shown after a successful Blueshift signup on /encore/.
	Tokens from tokens.css; the few off-palette values (card surface, the
	0.12/0.16 hairlines) are kept literal to match the validated design 1:1.
\* ------------------------------------------------------------ */

.confirmation {
	padding-inline: 20px;
	/* Desktop: the fixed header (~80px) is not compensated by .main's margin
	   (which only offsets the topbar), so clear it here to keep the card's
	   badge below the header. On mobile (<=835px) .main's margin already
	   includes the header height, so this is reset below. */
	padding-top: 80px;
}

.confirmation__card {
	max-width: 720px;
	margin: 48px auto 72px;
	padding: 48px 40px;
	text-align: center;
	background: #fbf9f7;
	border: 1px solid rgba(21, 20, 18, 0.12);
	border-radius: 8px;
}

.confirmation__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 24px;
	border-radius: 50%;
	background: var(--bva-canelle-400);
	color: var(--bva-white);
	font-size: 32px;
	line-height: 1;
	font-weight: 600;
}

.confirmation__title {
	margin: 0 0 18px;
	font-family: var(--bva-font-sans);
	font-weight: 500;
	font-size: 34px;
	line-height: 1.15;
	color: var(--bva-black);
}

.confirmation__lead {
	margin: 0 0 12px;
	font-family: var(--bva-font-sans);
	font-size: 17px;
	line-height: 1.55;
	color: var(--bva-black);
}

.confirmation__note {
	margin: 0 0 32px;
	font-family: var(--bva-font-sans);
	font-size: 15px;
	line-height: 1.55;
	color: rgba(21, 20, 18, 0.65);
}

/* lead/note/signature are rich_text containers (crb_content -> wpautop wraps
   each paragraph in <p>). Inherit the typography from the container and reset
   the auto <p> margins; paragraph spacing is handled with the adjacent
   sibling rule so the validated single-paragraph rhythm is unchanged. */
.confirmation__lead > *,
.confirmation__note > * {
	margin: 0;
}

.confirmation__lead > * + *,
.confirmation__note > * + * {
	margin-top: 12px;
}

.confirmation__cta {
	display: inline-block;
	padding: 14px 24px;
	background: transparent;
	color: var(--bva-black);
	border: 1px solid rgba(21, 20, 18, 0.16);
	border-radius: 2px;
	font-family: var(--bva-font-sans);
	font-weight: 500;
	font-size: 14px;
	text-transform: uppercase;
	text-decoration: none;
	transition: all 0.15s ease;
}

.confirmation__cta:hover {
	background: var(--bva-black);
	color: var(--bva-white);
	border-color: var(--bva-black);
}

@media (max-width: 835px) {
	/* .main's mobile margin already clears the mobile header — drop the
	   desktop header offset to avoid a double gap. */
	.confirmation {
		padding-top: 0;
	}
}

@media (max-width: 560px) {
	.confirmation__card {
		margin: 32px auto 48px;
		padding: 36px 24px;
	}

	.confirmation__title {
		font-size: 28px;
	}
}
