/**
 * Propose material CTA (section_propose).
 * Desktop: title + button on the left (max 368px), envelope art on the right
 * half (cover, tilted). Mobile: stacked title → image → full-width button.
 */

.propose__banner {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 40px 15px;
	border-radius: var(--radius-md);
	background-color: #0c0c0c;
	color: var(--color-white);
}

.propose__title {
	margin: 0;
	font-family: var(--font-family-display);
	font-size: 25px;
	font-weight: var(--font-weight-medium);
	line-height: 1;
}

.propose__image {
	display: block;
	width: 100%;
	height: auto;
	margin: 24px 0;
}

.propose__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 51px;
	padding: 8px 20px;
	border-radius: var(--radius-pill);
	background: var(--color-pink);
	color: var(--color-white);
	font-size: 18px;
	font-weight: var(--font-weight-medium);
	line-height: 1;
}

/* Bold on hover without layout shift. */
.propose__btn-label {
	display: block;
	text-align: center;
	line-height: 1.2;
	transition: font-weight 0.12s ease;
}

.propose__btn-label::after {
	content: attr(data-text);
	display: block;
	height: 0;
	overflow: hidden;
	font-weight: var(--font-weight-bold);
	visibility: hidden;
	pointer-events: none;
}

.propose__btn:hover .propose__btn-label,
.propose__btn:focus-visible .propose__btn-label {
	font-weight: var(--font-weight-bold);
}

@media (min-width: 768px) {
	.propose__banner {
		min-height: 240px;
		padding: 50px;
		justify-content: center;
	}

	.propose__title,
	.propose__btn {
		position: relative;
		z-index: 1;
		max-width: 368px;
	}

	.propose__title {
		font-size: 30px;
	}

	.propose__btn {
		margin-top: 24px;
		font-size: 20px;
	}

	.propose__image {
		position: absolute;
		top: 26px;
		right: 0;
		z-index: 0;
		width: 50%;
		height: 100%;
		margin: 0;
		object-fit: cover;
		transform: rotate(-6deg);
	}
}

@media (hover: none), (pointer: coarse) {
	.propose__btn:hover .propose__btn-label,
	.propose__btn:focus-visible .propose__btn-label {
		font-weight: var(--font-weight-medium);
	}
}
