/* Billetterie page — layered on top of the themeLYON stylesheet.
   Palette and fonts are the theme's own: navy #134f74 / #14334b, cyan #62f4fc,
   Raleway (text), Saira / Saira Condensed (labels, buttons). */

:root {
	--bt-navy: #134f74;
	--bt-navy-deep: #14334b;
	--bt-cyan: #62f4fc;
	--bt-blue: #068dd6;
	--bt-ink: #14334b;
	--bt-muted: #5b7487;
	--bt-radius: 18px;

	/* Enviso widget theme (read by the widget and by enviso-theme.js) */
	--enviso-primary-color: #134f74;
	--enviso-secondary-color: #068dd6;
	--aq-soft: #f1f7fb;
	--aq-line: #d5e3ec;
	--aq-muted: #5b7487;
}

.page-billetterie {
	background-color: var(--bt-navy);
	font-family: "Raleway", sans-serif;
}

/* ---------- Hero ---------- */

.bt-hero {
	position: relative;
	background-size: cover;
	background-position: center 60%;
	padding: 150px 0 110px;
	isolation: isolate;
}

.bt-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 51, 75, .85) 0%, rgba(19, 79, 116, .55) 45%, rgba(19, 79, 116, .95) 100%);
	z-index: -1;
}

.bt-hero__inner {
	position: relative;
	z-index: 1;
}

.bt-hero .breadcrumb {
	padding: 0 0 .75rem;
	color: rgba(255, 255, 255, .8);
}

.bt-hero .breadcrumb li + li {
	padding-left: .5rem;
}

.bt-hero h1 {
	font-family: "Raleway", sans-serif;
	font-weight: 300;
	font-size: clamp(2.2rem, 5vw, 3.5rem);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 1rem;
}

.bt-hero__lead {
	font-size: 1.15rem;
	font-weight: 500;
	max-width: 560px;
	margin-bottom: 1.75rem;
}

.bt-perks {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1.75rem;
	list-style: none;
	padding: 0;
	margin: 0;
	font-family: "Saira Condensed", sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .5px;
}

.bt-perks li {
	display: flex;
	align-items: center;
	gap: .55rem;
}

.bt-perks i {
	color: var(--bt-cyan);
	font-size: 1.05rem;
}

.bt-hero__wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 70px;
	line-height: 0;
}

.bt-hero__wave svg {
	width: 100%;
	height: 100%;
}

/* ---------- Shop ---------- */

.bt-shop {
	padding: 0 0 4rem;
	margin-top: -50px;
	/* no z-index here: it would trap the widget's full-page dialogs under the fixed header */
	position: relative;
}

.bt-shop .container {
	max-width: 1100px;
}

.bt-card {
	background: #fff;
	color: var(--bt-ink);
	border-radius: var(--bt-radius);
	border-top: 3px solid var(--bt-cyan);
	box-shadow: 0 20px 50px rgba(5, 25, 40, .35), 0 0 0 1px rgba(98, 244, 252, .15);
	padding: 2rem;
	margin-bottom: 1.5rem;
}

.bt-card__head {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-bottom: 1.25rem;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid #e3ecf2;
}

.bt-step {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--bt-navy);
	color: var(--bt-cyan);
	font-family: "Saira", sans-serif;
	font-weight: 500;
	font-size: 1.25rem;
}

.bt-card__title {
	font-family: "Raleway", sans-serif;
	font-weight: 700;
	font-size: 1.5rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--bt-navy);
	margin: 0;
}

.bt-card__sub {
	margin: .15rem 0 0;
	color: var(--bt-muted);
	font-size: .95rem;
}

.bt-widget {
	min-height: 120px;
	/* inherited into the Enviso shadow DOM; also read by enviso-theme.js */
	--aq-widget-font: "Montserrat", sans-serif;
	font-family: var(--aq-widget-font);
}

.bt-widget enviso-ticket-widget {
	display: block;
	width: 100%;
}

/* ---------- Voucher (collapsible) ---------- */

.bt-redeem {
	padding: 0;
	border-top-color: var(--bt-blue);
	overflow: hidden;
}

.bt-redeem summary {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem 2rem;
	cursor: pointer;
	list-style: none;
	transition: background-color .2s ease;
}

.bt-redeem summary::-webkit-details-marker {
	display: none;
}

.bt-redeem summary:hover {
	background-color: #f3f8fb;
}

.bt-redeem summary:focus-visible {
	outline: 2px solid var(--bt-blue);
	outline-offset: -2px;
}

.bt-redeem__icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #e6f7fd;
	color: var(--bt-blue);
	font-size: 1.1rem;
}

.bt-redeem__text {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.bt-redeem__text strong {
	color: var(--bt-navy);
	font-weight: 700;
}

.bt-redeem__text small {
	color: var(--bt-muted);
}

.bt-redeem__chevron {
	color: var(--bt-navy);
	transition: transform .25s ease;
}

.bt-redeem[open] .bt-redeem__chevron {
	transform: rotate(180deg);
}

.bt-redeem .bt-widget {
	padding: 0 2rem 2rem;
	border-top: 1px solid #e3ecf2;
	padding-top: 1.5rem;
}

/* ---------- Practical info ---------- */

.bt-info {
	border-top: 1px solid rgba(98, 244, 252, .35);
	padding: 1.5rem 0 2rem;
}

/* ---------- Responsive ---------- */

/* The header is fixed: every automatic scroll (Enviso scrolls to the widget on each step,
   focuses form fields, anchors) must stop below it instead of underneath. */
html {
	scroll-padding-top: 96px;
	/* No scroll anchoring: when a step inserts content above the button just tapped (calendar...),
	   the browser would scroll down to keep that button in place, right before the widget scrolls
	   back up to the new step (two opposite jumps on phones). */
	overflow-anchor: none;
}

@media (max-width: 991.98px) {
	html {
		scroll-padding-top: 84px;
	}
}

/* < 992px: the theme switches to its mobile header + bottom bar */
@media (max-width: 991.98px) {
	/* No "Billets" shortcut on the ticketing page, and nothing floating over the widget's
	   bottom actions: the bottom bar and FAQ bubble go, the menu toggle moves to the header. */
	.page-billetterie .menu_bottom,
	.page-billetterie .info_extra {
		display: none !important;
	}

	.page-billetterie .openNav {
		position: fixed !important;
		top: 14px !important;
		right: 14px !important;
		bottom: auto !important;
		left: auto !important;
		z-index: 10000;
		background-color: var(--bt-navy) !important;
	}

	.page-billetterie .search_lang {
		padding-right: 64px;
	}

	/* Focused checkout header: search is not useful mid-purchase and collided with the logo */
	.page-billetterie .search_lupa,
	.page-billetterie .search-bar {
		display: none !important;
	}
}

@media (max-width: 399.98px) {
	.page-billetterie .navbar .logo_menu {
		width: 190px;
	}
}

@media (max-width: 767.98px) {
	/* Hero: compact, so the widget starts above the fold */
	.bt-hero {
		padding: 86px 0 56px;
	}

	.bt-hero .breadcrumb {
		display: none;
	}

	.bt-hero h1 {
		font-size: 1.9rem;
		letter-spacing: 1.5px;
		margin-bottom: .5rem;
	}

	.bt-hero__lead {
		font-size: .95rem;
		margin-bottom: .9rem;
	}

	.bt-perks {
		gap: .4rem;
		font-size: .78rem;
	}

	.bt-perks li {
		gap: .4rem;
		padding: .3rem .7rem;
		border: 1px solid rgba(98, 244, 252, .35);
		border-radius: 999px;
		background: rgba(255, 255, 255, .1);
	}

	.bt-perks i {
		font-size: .85rem;
	}

	.bt-hero__wave {
		height: 36px;
	}

	.bt-shop {
		margin-top: -20px;
		padding-bottom: 2.5rem;
	}

	.bt-shop .container {
		padding-left: 10px;
		padding-right: 10px;
	}

	.bt-card {
		padding: 18px 14px;
		border-radius: 16px;
	}

	.bt-redeem {
		padding: 0;
	}

	.bt-redeem summary {
		min-height: 64px;
		padding: .9rem 1rem;
	}

	.bt-redeem .bt-widget {
		padding: 1rem 14px 1.25rem;
	}

	/* Practical info: one compact row of three tappable tiles instead of three full screens */
	.bt-info {
		padding: .5rem 0 1rem;
	}

	.bt-info .main_sections_container {
		-ms-grid-columns: 1fr 1fr 1fr;
		grid-template-columns: repeat(3, 1fr);
	}

	.bt-info .main_sections_box {
		position: relative;
		padding: 1rem .25rem;
		border: 0;
	}

	.bt-info .main_sections_icon {
		max-width: 40px;
		height: 40px;
	}

	.bt-info .main_sections_title {
		font-size: .95rem;
		letter-spacing: 1px;
		margin-top: .4rem;
	}

	.bt-info .main_sections_description {
		display: none;
	}

	.bt-info .main_sections_buble {
		background: none;
		padding: 0;
	}

	.bt-info .main_sections_buble_link {
		position: absolute;
		inset: 0;
		padding: 0;
		font-size: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bt-hero__wave animate {
		display: none;
	}
}

/* The theme maps .fas to FontAwesome 4.7; page icons use FA5 glyphs */
.page-billetterie main .fas {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}

/* ---------- WordPress integration ---------- */

/* The shortcode renders inside the theme's content container: let the banner, the
   shop and the info band run full width, like on the prototype. The shop matters most:
   in a narrow content column (~650px) the widget calendar drops to a single month. */
.aq-billetterie .bt-hero,
.aq-billetterie .bt-shop,
.aq-billetterie .bt-info {
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Same box as Bootstrap's .container, for themes without Bootstrap */
.aq-billetterie .bt-shop .container {
	box-sizing: border-box;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

@media (max-width: 767.98px) {
	.aq-billetterie .bt-shop .container {
		padding-left: 10px;
		padding-right: 10px;
	}
}

/* hero="0" (theme already prints the page title): no overlap on a missing banner */
.bt-shop--no-hero {
	margin-top: 0;
	padding-top: 2rem;
}
