/* Héro de réservation Bcyclet, plugin WordPress wordpress/bcyclet-hero — servi
   d'ici (et non par le plugin) pour que les retouches arrivent sans mettre le
   plugin à jour sur le site. Mêmes couleurs que le formulaire
   (fond #16211f, turquoise #00c8c8). La carte du formulaire est rendue par
   widget.js dans .bch-formulaire. Tout est préfixé .bch : rien ne déborde sur
   le thème. */

/* ---- Mise en page du thème, sur les pages équipées uniquement (body.bch-page) ----
   Sous l'en-tête fixe (109 px, 69 px sous 992 px), le thème pose une barre de
   titre fixe (.sub-navigation) et descend le fil d'Ariane de 163 px (123 px)
   pour passer dessous. Le titre est désormais dans le héro : la barre est
   masquée et le fil d'Ariane remonte juste sous l'en-tête (sa marge fusionne
   avec celle de .wrap, de même hauteur). Ses 25 px de marge intérieure et
   20 px dessous sont resserrés. */
body.bch-page {
	overflow-x: clip;
}
body.bch-page .sub-navigation {
	display: none;
}
body.bch-page .breadcrumbs.sub_navi {
	margin-top: 109px;
	margin-bottom: 0;
	padding: 10px 0 14px;
}
@media (max-width: 991.98px) {
	body.bch-page .breadcrumbs.sub_navi {
		margin-top: 69px;
	}
}

/* Hero pleine largeur : il sort du conteneur du thème (centré), 16 px de marge
   de chaque côté sur ordinateur, bord à bord sur mobile */
.bch {
	position: relative;
	display: flex;
	gap: 40px;
	width: calc(100vw - 32px);
	max-width: none;
	margin: 0 0 40px calc(50% - 50vw + 16px);
	min-height: calc(100vh - 250px);
	padding: 28px 28px 28px 56px;
	border-radius: 24px;
	background: #16211f;
	color: #fff;
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	text-align: left;
	box-sizing: border-box;
}
.bch *,
.bch *::before,
.bch *::after {
	box-sizing: border-box;
}
.bch-halo {
	position: absolute;
	inset: 0;
	border-radius: 24px;
	overflow: hidden;
	pointer-events: none;
}
.bch-halo::before,
.bch-halo::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(64px);
}
.bch-halo::before {
	top: -128px;
	right: -96px;
	width: 384px;
	height: 384px;
	background: rgba(0, 200, 200, 0.25);
}
.bch-halo::after {
	bottom: -176px;
	left: -96px;
	width: 480px;
	height: 480px;
	background: rgba(0, 200, 200, 0.15);
}

/* Colonne titre + formulaire : jusqu'à la moitié du héro sur grand écran,
   pour que la photo ne mange pas toute la largeur */
.bch-gauche {
	position: relative;
	flex: 0 0 clamp(576px, 50%, 820px);
	max-width: 820px;
	min-width: 0;
}

/* Page d'un événement (carte du formulaire en data-evenement) : la première
   promesse, « livré où vous logez », ne vaut pas pour des lieux imposés */
.bch-gauche:has(.bch-formulaire[data-evenement]) .bch-avantages li:first-child {
	display: none;
}

.bch .bch-titre {
	margin: 0;
	padding: 0;
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: 41px;
	font-weight: 900;
	line-height: 1.12;
	letter-spacing: -0.025em;
	color: #fff;
	text-transform: none;
	text-align: left;
}

.bch .bch-note {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.4;
	color: #fff;
}
.bch-etoiles {
	color: #fbbc04;
	letter-spacing: -0.05em;
}
.bch-avis {
	color: rgba(255, 255, 255, 0.6);
}

.bch .bch-avantages {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 20px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.85);
}
.bch .bch-avantages li {
	position: relative;
	margin: 0;
	padding: 0 0 0 22px;
}
.bch .bch-avantages li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 900;
	color: #00c8c8;
}

/* Place réservée à la carte du formulaire : la page ne saute pas au chargement */
.bch-formulaire {
	margin-top: 16px;
	min-height: 500px;
}
.bch-formulaire noscript a {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 999px;
	background: #00c8c8;
	color: #fff;
	font-weight: 900;
}

.bch-photo {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}
.bch-photo .bch-photo-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 28px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Barre de titre du thème : ce n'est plus un H1 (il est dans le héro), même apparence */
.sub-navigation .bch-barre {
	font-family: GT-Walsheim-Pro-Medium, sans-serif;
	font-size: 20px;
	line-height: 1.2;
}

@media (max-width: 1279px) {
	.bch .bch-titre {
		font-size: 36px;
	}
}

@media (max-width: 1023px) {
	.bch {
		flex-direction: column;
		gap: 20px;
		width: 100vw;
		margin-left: calc(50% - 50vw);
		min-height: 0;
		padding: 16px;
		border-radius: 0;
	}
	.bch-halo {
		border-radius: 0;
	}
	.bch-gauche {
		flex: 1 1 auto;
		max-width: none;
	}
	.bch-photo {
		order: -1;
		height: 220px;
	}
	.bch-photo .bch-photo-img {
		border-radius: 18px;
	}
}

@media (max-width: 639px) {
	.bch .bch-titre {
		font-size: 30px;
	}
	.bch .bch-avantages {
		grid-template-columns: 1fr;
	}
	.bch-photo {
		height: 170px;
	}
}

/* ---- Blocs Vélos et Avis (plugin : velos.php, avis.php) ----
   Style du site magasin-bcyclet.com : en-tête centré, fond gris clair.
   Placés par shortcode : largeur de leur colonne. Sous le héro (.bch-pleine) :
   pleine largeur de l'écran comme le héro. */
.bchv,
.bcha {
	position: relative;
	margin: 0 0 40px;
	padding: 56px 24px;
	border-radius: 32px;
	background: #f9fafb;
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	text-align: left;
	color: #111827;
	box-sizing: border-box;
	overflow: hidden;
}
.bchv *, .bchv *::before, .bchv *::after,
.bcha *, .bcha *::before, .bcha *::after {
	box-sizing: border-box;
}
.bch-pleine {
	width: calc(100vw - 32px);
	max-width: none;
	margin-left: calc(50% - 50vw + 16px);
}
/* Le thème (.rent-section) et WPBakery (.vc_row) coupent ce qui dépasse de
   leurs lignes : seule la ligne qui contient un bloc pleine largeur laisse
   déborder, et la page ne défile pas pour autant à l'horizontale. */
.vc_row:has(.bch-pleine),
.rent-section:has(.bch-pleine),
.vc_column-inner:has(.bch-pleine),
.wpb_wrapper:has(.bch-pleine),
.wpb_raw_html:has(.bch-pleine),
.wpb_text_column:has(.bch-pleine) {
	overflow: visible !important;
}
body:has(.bch-pleine) {
	overflow-x: clip;
}
.bchv-entete,
.bcha-entete {
	max-width: 720px;
	margin: 0 auto 32px;
	text-align: center;
}
.bchv .bchv-surtitre,
.bcha .bcha-surtitre {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #00c8c8;
}
.bchv .bchv-titre,
.bcha .bcha-titre {
	margin: 0 0 12px;
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: 44px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #111827;
	text-align: center;
	text-transform: none;
}
.bchv .bchv-intro {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	color: #4b5563;
}

/* Vélos : filtres en pastilles */
.bchv-filtres {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 36px;
}
.bchv .bchv-filtre {
	padding: 11px 22px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #fff;
	color: #4b5563;
	font: 600 14px/1 Inter, ui-sans-serif, system-ui, sans-serif;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.bchv .bchv-filtre:hover {
	background: #f3f4f6;
}
.bchv .bchv-filtre.est-actif {
	border-color: #00c8c8;
	background: #00c8c8;
	color: #fff;
}

/* Vélos : grille et cartes */
.bchv-grille {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	max-width: 1280px;
	margin: 0 auto;
}
.bchv-carte {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #f3f4f6;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.3s;
}
.bchv-carte[hidden] {
	display: none;
}
.bchv-carte:hover {
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.bchv-visuel {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #111827;
}
.bchv .bchv-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 0.5s;
}
.bchv-carte:hover .bchv-img {
	transform: scale(1.05);
}
.bchv-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 1;
	padding: 5px 12px;
	border-radius: 999px;
	background: #fff;
	color: #111827;
	font-size: 12px;
	font-weight: 600;
}
.bchv-corps {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}
.bchv .bchv-nom {
	margin: 0 0 14px;
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
	color: #111827;
	text-transform: none;
}
.bchv .bchv-specs {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}
.bchv .bchv-specs li {
	position: relative;
	margin: 0 0 8px;
	padding: 0 0 0 22px;
	font-size: 14px;
	line-height: 1.45;
	color: #4b5563;
}
.bchv .bchv-specs li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 800;
	color: #00c8c8;
}
.bchv .bchv-tailles {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 0 18px;
}
.bchv .bchv-tailles span {
	padding: 3px 8px;
	border-radius: 6px;
	background: #f3f4f6;
	color: #4b5563;
	font-size: 12px;
}
.bchv-pied {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid #f3f4f6;
}
.bchv .bchv-prix {
	margin: 0;
	font-size: 13px;
	color: #6b7280;
}
.bchv .bchv-prix strong {
	font-size: 22px;
	font-weight: 800;
	color: #111827;
}
.bchv .bchv-bouton {
	flex-shrink: 0;
	padding: 11px 20px;
	border-radius: 999px;
	background: #00c8c8;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s;
}
.bchv .bchv-bouton:hover {
	background: #00a8a8;
	color: #fff;
}

/* Avis : en-tête */
.bcha .bcha-resume {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 14px;
	margin: 0 0 14px;
	font-size: 16px;
	color: #6b7280;
}
.bcha .bcha-resume strong {
	font-size: 24px;
	font-weight: 800;
	color: #111827;
}
.bcha-etoiles {
	font-size: 22px;
	letter-spacing: 0.04em;
	color: #facc15;
}
.bcha-google {
	display: inline-flex;
}
/* Petit « G » Google en haut à droite de chaque avis */
.bcha .bcha-carte {
	position: relative;
}
.bcha-g {
	position: absolute;
	top: 22px;
	right: 22px;
	display: inline-flex;
}

/* Avis : défilement. Ordinateur : défilement continu (copies ajoutées par le
   script), bords fondus, pause au survol. Mobile : slider au doigt. */
.bcha-defilement {
	position: relative;
	margin: 8px -24px 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.bcha-defilement::-webkit-scrollbar {
	display: none;
}
.bcha-piste {
	display: flex;
	gap: 20px;
	width: max-content;
	padding: 4px 24px 8px;
}
.bcha .bcha-carte {
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
	width: 320px;
	margin: 0;
	padding: 24px;
	border: 1px solid #f3f4f6;
	border-radius: 18px;
	background: #fff;
	scroll-snap-align: start;
}
.bcha .bcha-note {
	margin: 0 0 10px;
	font-size: 15px;
	letter-spacing: 0.04em;
	color: #facc15;
}
.bcha .bcha-texte {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 7;
	overflow: hidden;
	flex: 1;
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	font-size: 15px;
	font-style: normal;
	line-height: 1.6;
	color: #374151;
	quotes: none;
}
.bcha .bcha-texte::before,
.bcha .bcha-texte::after {
	content: none;
}
.bcha .bcha-auteur {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
}
.bcha-initiale {
	position: relative;
	overflow: hidden;
	display: flex;
	flex: 0 0 40px;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #00a8a8;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
}
/* Photo de profil Google posée sur l'initiale (qui reste si la photo manque) */
.bcha .bcha-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	border-radius: 50%;
	object-fit: cover;
	background: #00a8a8;
}
.bcha-qui {
	display: flex;
	flex-direction: column;
	font-size: 12px;
	line-height: 1.4;
	color: #6b7280;
}
.bcha-qui strong {
	font-size: 14px;
	color: #111827;
}
.bcha-copie {
	display: none;
}
@media (min-width: 768px) {
	.bcha-defilement {
		overflow: hidden;
		scroll-snap-type: none;
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
		mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	}
	.bcha-piste.bcha-anime {
		animation: bcha-defile var(--bcha-duree, 60s) linear infinite;
	}
	.bcha-piste.bcha-anime .bcha-copie {
		display: flex;
	}
	.bcha-defilement:hover .bcha-piste {
		animation-play-state: paused;
	}
}
@keyframes bcha-defile {
	to {
		transform: translateX(calc(-50% - 10px));
	}
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
	.bcha-defilement {
		overflow-x: auto;
	}
	.bcha-piste.bcha-anime {
		animation: none;
	}
	.bcha-piste.bcha-anime .bcha-copie {
		display: none;
	}
}

@media (max-width: 1023px) {
	.bchv-grille {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.bch-pleine {
		width: 100vw;
		margin-left: calc(50% - 50vw);
		border-radius: 0;
	}
	.bchv .bchv-titre,
	.bcha .bcha-titre {
		font-size: 34px;
	}
}
@media (max-width: 639px) {
	.bchv,
	.bcha {
		padding: 40px 16px;
		border-radius: 24px;
	}
	.bch-pleine {
		border-radius: 0;
	}
	/* Vélos sur mobile : tous visibles, 2 par ligne en cartes compactes.
	   Caractéristiques et tailles masquées (toujours dans le HTML pour Google) */
	.bchv-grille {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.bchv-carte {
		border-radius: 16px;
	}
	.bchv-badge {
		top: 8px;
		left: 8px;
		padding: 3px 8px;
		font-size: 10px;
	}
	.bchv-corps {
		padding: 12px;
	}
	.bchv .bchv-nom {
		margin: 0 0 8px;
		font-size: 14px;
	}
	.bchv .bchv-specs,
	.bchv .bchv-tailles {
		display: none;
	}
	.bchv-pied {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding-top: 10px;
	}
	.bchv-filtres {
		flex-wrap: nowrap;
		justify-content: flex-start;
		margin: 0 -16px 24px;
		padding: 0 16px;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.bchv-filtres::-webkit-scrollbar {
		display: none;
	}
	.bchv .bchv-filtre {
		flex-shrink: 0;
	}
	.bchv .bchv-prix {
		white-space: nowrap;
	}
	.bchv .bchv-prix {
		font-size: 12px;
	}
	.bchv .bchv-prix strong {
		font-size: 17px;
	}
	.bchv .bchv-bouton {
		padding: 9px 10px;
		font-size: 13px;
		text-align: center;
	}
	.bchv .bchv-titre,
	.bcha .bcha-titre {
		font-size: 28px;
	}
	.bcha-defilement {
		margin: 8px -16px 0;
	}
	.bcha-piste {
		padding: 4px 16px 8px;
	}
	.bcha .bcha-carte {
		width: 82vw;
		max-width: 320px;
	}
}

/* ---- Bloc Premium (plugin : premium.php) ----
   Texte à gauche, photo à droite, fond turquoise (magasin-bcyclet.com). */
.bchp {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 56px;
	margin-top: 0;
	margin-bottom: 40px;
	padding: 64px 56px;
	border-radius: 32px;
	background: #00c2c2;
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	text-align: left;
	color: #fff;
	box-sizing: border-box;
	overflow: hidden;
}
.bchp *, .bchp *::before, .bchp *::after {
	box-sizing: border-box;
}
.bchp.bch-pleine {
	padding-left: max(56px, calc((100% - 1200px) / 2));
	padding-right: max(56px, calc((100% - 1200px) / 2));
}
.bchp.bchp-clair {
	background: #f9fafb;
	color: #111827;
}
.bchp.bchp-sombre {
	background: #111827;
}
.bchp.bchp-sans-image {
	grid-template-columns: minmax(0, 760px);
}
.bchp-inverse .bchp-visuel {
	order: -1;
}
.bchp .bchp-surtitre {
	display: inline-block;
	margin: 0 0 20px;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	color: inherit;
}
.bchp-clair .bchp-surtitre {
	background: #e0f7f7;
	color: #009a9a;
}
.bchp .bchp-titre {
	margin: 0 0 24px;
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: 48px;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-align: left;
	text-transform: none;
	color: inherit;
}
.bchp .bchp-accent {
	display: block;
	color: #cdf4f2;
}
.bchp-clair .bchp-accent {
	color: #00c2c2;
}
.bchp-sombre .bchp-accent {
	color: #5ee0dc;
}
.bchp .bchp-texte p {
	margin: 0 0 16px;
	font-size: 17px;
	line-height: 1.65;
	color: inherit;
	opacity: 0.95;
}
.bchp .bchp-points {
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}
.bchp .bchp-points li {
	position: relative;
	margin: 0 0 14px;
	padding: 0 0 0 36px;
	font-size: 16px;
	line-height: 1.5;
	color: inherit;
	list-style: none;
}
.bchp .bchp-points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.bchp-clair .bchp-points li::before {
	background-color: #00c2c2;
}
.bchp .bchp-action {
	margin: 32px 0 0;
}
.bchp .bchp-bouton {
	display: inline-block;
	padding: 15px 28px;
	border-radius: 999px;
	background: #fff;
	font-size: 16px;
	font-weight: 700;
	color: #008f8f;
	text-decoration: none;
	transition: transform 0.2s;
}
.bchp-clair .bchp-bouton,
.bchp-sombre .bchp-bouton {
	background: #00c2c2;
	color: #fff;
}
.bchp .bchp-bouton:hover {
	transform: translateY(-2px);
}
.bchp-visuel {
	position: relative;
	aspect-ratio: 3 / 2;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}
.bchp .bchp-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
}
@media (max-width: 1023px) {
	.bchp,
	.bchp.bch-pleine {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding: 44px 24px;
	}
	.bchp .bchp-titre {
		font-size: 34px;
	}
	/* Mobile : le texte d'abord, la photo ensuite, quelle que soit sa position */
	.bchp-inverse .bchp-visuel {
		order: 0;
	}
}
