/**
 * Home — diptyque expérience / points de vente
 * (même langage que .pdp-board-neighbors).
 */

.rideon-discover {
	padding: 0;
	margin: 0;
	background: #0a0a0a;
	color: var(--white-pure, #fff);
	overflow: hidden;
}

.rideon-discover__split {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	width: 100%;
}

.rideon-discover__panel {
	position: relative;
	display: block;
	isolation: isolate;
	min-height: min(52vh, 420px);
	overflow: hidden;
	text-decoration: none;
	color: var(--white-pure, #fff);
	background: #0a0a0a;
}

.rideon-discover__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.01);
	transition: transform 0.55s ease;
}

.rideon-discover__panel:hover .rideon-discover__img,
.rideon-discover__panel:focus-visible .rideon-discover__img {
	transform: scale(1.05);
}

.rideon-discover__panel:focus-visible {
	outline: 2px solid var(--electric-lime, #e9ff00);
	outline-offset: -2px;
}

.rideon-discover__copy {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 0.35rem;
	min-height: 45%;
	padding:
		clamp(3.5rem, 12vw, 6rem)
		clamp(1.25rem, 4vw, 2.5rem)
		clamp(1.35rem, 3.5vw, 2rem);
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.55) 45%,
		rgba(0, 0, 0, 0.82) 100%
	);
	box-sizing: border-box;
}

.rideon-discover__name {
	font-family: var(--font-headline, "mono45-headline", Impact, sans-serif);
	font-size: clamp(1.55rem, 4vw, 2.35rem);
	font-weight: 700;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	color: var(--white-pure, #fff);
	text-wrap: balance;
}

.rideon-discover__tagline {
	font-family: var(--font-main, "Space Grotesk", sans-serif);
	font-size: clamp(0.95rem, 2vw, 1.1rem);
	font-weight: 500;
	line-height: 1.35;
	color: var(--white-pure, #fff);
	max-width: 24rem;
}

@media (min-width: 768px) {
	.rideon-discover__split {
		grid-template-columns: 1fr 1fr;
	}

	.rideon-discover__panel {
		min-height: min(62vh, 560px);
	}

	.rideon-discover__panel + .rideon-discover__panel {
		box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.12);
	}
}
