/* =========================================
   LIVEGALERIE - ENTETE V3
   ========================================= */

#entete.lg-header-v3 {
	position: relative;
	padding: 0;
	background: linear-gradient(180deg, #f7f0de 0%, #efe4c9 100%);
	border-bottom: 1px solid #cdb07a;
	box-shadow:
		0 6px 16px rgba(86, 62, 25, 0.08),
		inset 0 1px 0 rgba(255,255,255,0.55);
}

.lg-header-v3__inner {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 4px 18px 6px;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 210px minmax(320px, 1fr) 330px;
	grid-template-rows: 1fr 1fr;
	grid-template-areas:
		"promo logo aside"
		"promo special aside";
	column-gap: 20px;
	row-gap: 6px;
	align-items: stretch;
	min-height: 176px;
}

/* ===== Promo gauche ===== */

.lg-header-v3__promo {
	grid-area: promo;
	display: flex;
	align-items: stretch;
	height: 100%;
	min-height: 0;
}

.lg-header-v3__promo-card {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.lg-header-v3__promo-card:hover {
	text-decoration: none;
}

.lg-header-v3__promo-media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 0;
	overflow: hidden;
	border-radius: 14px;
	background: transparent;
	border: 0;
	box-shadow: none;
	transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
}

.lg-header-v3__promo-card:hover .lg-header-v3__promo-media {
	transform: translateY(-1px) scale(1.015);
	box-shadow:
		0 14px 28px rgba(67, 48, 18, 0.18),
		0 4px 10px rgba(67, 48, 18, 0.10);
	filter: saturate(1.03);
}

.lg-header-v3__promo-media img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	border-radius: 14px;
}

.lg-header-v3__promo-name {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	display: inline-block;
	width: auto;
	margin: 0 auto;
	padding: 4px 8px;
	background: rgba(0,0,0,0.52);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.1;
	text-align: center;
	border-radius: 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ===== Logo centre ===== */

.lg-header-v3__logo {
	grid-area: logo;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding-top: 2px;
}

.lg-header-v3__logo-link img {
	display: block;
	max-width: 100%;
	height: auto;
	max-height: 62px;
	background: transparent !important;
}

/* ===== Colonne droite ===== */

.lg-header-v3__aside {
	grid-area: aside;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 10px;
	padding-top: 0;
}

.lg-header-v3__topbar {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
}

.lg-top-bar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
	width: 100%;
	flex-wrap: nowrap;
}

.lg-top-menu {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	flex: 0 1 auto;
	white-space: nowrap;
	font-size: 12px;
	line-height: 1.1;
}

.lg-top-menu li {
	position: relative;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	padding: 0 9px;
}

.lg-top-menu li:first-child {
	padding-left: 0;
}

.lg-top-menu li + li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 11px;
	background: rgba(120, 97, 57, 0.28);
}

.lg-top-menu a {
	font-size: 12px;
	color: #173f70;
	text-decoration: underline;
}

.lg-top-menu a:hover {
	color: #9b6912;
	text-decoration: none;
}

.lg-top-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	margin-left: 5px;
	padding: 0 6px;
	border-radius: 999px;
	background: linear-gradient(180deg, #f7edd5 0%, #e6d3a4 100%);
	border: 1px solid #c7aa69;
	color: #6a4a17;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.72),
		0 1px 3px rgba(90,65,20,.10);
	vertical-align: middle;
}

.lg-top-lang {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	margin-left: 6px;
}

.lg-lang-dropdown {
	position: relative;
	display: inline-block;
}

.lg-lang-current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 26px;
	padding: 0;
	background: #fffdf8;
	border: 1px solid #cfbf97;
	border-radius: 7px;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.lg-lang-current img {
	display: block;
	width: 22px;
	height: auto;
}

.lg-lang-menu {
	position: absolute;
	pointer-events: none;
	display: none;
	top: calc(100% + 6px);
	right: 0;
	background: #fffdf9;
	border: 1px solid #deceb0;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.15);
	padding: 6px 0;
	min-width: 150px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
	z-index: 300;
}

.lg-lang-dropdown:hover .lg-lang-menu,
.lg-lang-dropdown:focus-within .lg-lang-menu {
	display: block;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.lg-lang-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	text-decoration: none;
	color: #4b3b1a;
	font-size: 14px;
	white-space: nowrap;
}

.lg-lang-menu a img {
	width: 18px;
	height: auto;
	flex: 0 0 auto;
}

.lg-lang-menu a:hover {
	background: #f6f1e6;
}

/* ===== Slogan + bouton ===== */

.lg-header-v3__slogan {
	width: 100%;
	display: flex;
	align-items: center;
}

.lg-header-v3__cta {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.lg-header-v3__slogan h2 {
	margin: 0;
	font-size: 15px;
	line-height: 1.12;
	color: #2c2214;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.lg-header-v3__hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border-radius: 999px;
	background: linear-gradient(180deg, #c79a41 0%, #a87820 100%);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.18),
		0 3px 7px rgba(120,84,26,.18);
	white-space: nowrap;
}

.lg-header-v3__hero-btn:hover {
	color: #fff;
	text-decoration: none;
	background: linear-gradient(180deg, #cf9f45 0%, #ae7d22 100%);
}

/* ===== Special Expos ===== */

.lg-header-v3__special {
	grid-area: special;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.lg-header-v3__special-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	margin-top: 2px;
	max-width: 560px;
	min-height: 56px;
	padding: 7px 12px;
	box-sizing: border-box;
	text-decoration: none;
	color: #4a3719;
	background: linear-gradient(180deg, #efe1bc 0%, #e4cf9f 100%);
	border: 1px solid #caa25e;
	border-radius: 12px;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.45),
		0 3px 10px rgba(88,68,28,.08);
}

.lg-header-v3__special-banner:hover {
	text-decoration: none;
	background: linear-gradient(180deg, #f3e7c6 0%, #e7d3a6 100%);
}

.lg-header-v3__special-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	flex: 1 1 auto;
}

.lg-header-v3__special-title {
	display: block;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.1;
	color: #302111;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lg-header-v3__special-text {
	display: block;
	margin-top: 1px;
	font-size: 11px;
	line-height: 1.15;
	color: #6a5430;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lg-header-v3__special-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	padding: 5px 10px;
	border-radius: 999px;
	background: linear-gradient(180deg, #c79a41 0%, #a87820 100%);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.18),
		0 2px 5px rgba(120,84,26,.18);
}

.lg-header-v3__special-banner:hover .lg-header-v3__special-cta {
	color: #fff;
}

/* ===== Flash ===== */

.lg-header-v2__flash {
	padding-top: 6px;
}

/* ===== Entete small ===== */

.lg-small-inline {
	margin: 6px 0 8px 0;
	padding: 6px 10px;
	background: #f7f1e4;
	border: 1px solid #dcc79d;
	border-radius: 8px;
	line-height: 1.3;
	text-align: center;
}

.lg-small-inline__text {
	font-size: 12px;
	font-weight: 600;
	color: #5a4216;
}

.lg-small-inline__cta {
	display: inline-block;
	margin-left: 8px;
	padding: 3px 9px;
	background: #b8862b;
	color: #fff;
	border-radius: 999px;
	font-size: 11px;
	font-weight: bold;
	text-decoration: none;
}

.lg-small-inline__cta:hover {
	background: #c69437;
	color: #fff;
	text-decoration: none;
}

/* ===== Responsive ===== */

@media (max-width: 980px) {
	.lg-header-v3__inner {
		grid-template-columns: 190px minmax(0, 1fr);
		grid-template-rows: auto auto auto;
		grid-template-areas:
			"promo logo"
			"promo aside"
			"special special";
	}

	.lg-header-v3__special {
		justify-content: flex-start;
	}
}

@media (max-width: 760px) {
	.lg-header-v3__inner {
		padding: 8px 14px 10px;
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		grid-template-areas:
			"logo"
			"aside"
			"promo"
			"special";
		row-gap: 10px;
	}

	.lg-header-v3__promo {
		min-height: 150px;
	}

	.lg-header-v3__promo-media {
		width: 160px;
		min-height: 150px;
		margin: 0 auto;
	}

	.lg-header-v3__promo-media img {
		max-width: 160px;
		max-height: 150px;
	}

	.lg-header-v3__logo-link img {
		max-height: 50px;
	}

	.lg-header-v3__special-banner {
		max-width: 100%;
	}

	.lg-header-v3__special-title {
		font-size: 12px;
	}

	.lg-header-v3__special-text {
		font-size: 11px;
	}

	.lg-header-v3__special-cta {
		padding: 4px 8px;
		font-size: 10px;
	}

	.lg-small-inline__text {
		display: block;
		margin-bottom: 5px;
	}

	.lg-small-inline__cta {
		margin-left: 0;
	}
}