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

#entete.lg-header-v3 {
	position: relative;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	padding: 0;
	margin: 0;
	background: linear-gradient(180deg, #f7f0de 0%, #efe4c9 100%);
	border-bottom: 1px solid #cdb07a;
	box-shadow:
		0 5px 14px rgba(86, 62, 25, 0.08),
		inset 0 1px 0 rgba(255,255,255,0.55);
	overflow: visible;
}

#entete.lg-header-v3 > * {
	margin-bottom: 0;
}

#entete.lg-header-v3 .lg-header-v3__inner {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 6px 18px 12px;
	box-sizing: border-box;

	display: grid;
	grid-template-columns: 250px minmax(360px, 1fr) 330px;
	grid-template-rows: 68px 89px;
	grid-template-areas:
		"promo logo aside"
		"promo special aside";
	column-gap: 24px;
	row-gap: 6px;
	align-items: stretch;

	min-height: 0;
}

/* =========================================
   PROMO GAUCHE
   ========================================= */

#entete.lg-header-v3 .lg-header-v3__promo {
	grid-area: promo;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 170px;
	min-height: 170px;
	max-height: 170px;
}

#entete.lg-header-v3 .lg-header-v3__promo-card {
	display: inline-flex;
	align-items: flex-end;
	justify-content: center;
	width: auto;
	height: 170px;
	text-decoration: none;
	transition: filter 0.18s ease;
}

#entete.lg-header-v3 .lg-header-v3__promo-card:hover {
	text-decoration: none;
	filter: saturate(1.04);
}

#entete.lg-header-v3 .lg-header-v3__promo-media {
	position: relative;
	display: inline-flex;
	align-items: flex-end;
	justify-content: center;
	width: auto;
	height: 170px;
	max-width: 100%;
	overflow: visible;
	background: transparent;
	border: 0;
	box-shadow: none;
	border-radius: 12px;
}

#entete.lg-header-v3 .lg-header-v3__promo-media img {
	display: block;
	height: 170px;
	width: auto;
	max-width: 250px;
	object-fit: contain;
	border-radius: 12px;
	box-shadow: 0 14px 28px rgba(0,0,0,0.18);
	transition: transform 0.20s ease, box-shadow 0.20s ease;
}

#entete.lg-header-v3 .lg-header-v3__promo-card:hover .lg-header-v3__promo-media img {
	transform: scale(1.05);
	box-shadow: 0 14px 26px rgba(0,0,0,0.18);
}

#entete.lg-header-v3 .lg-header-v3__promo-name {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	z-index: 5;

	display: block;
	padding: 4px 8px;

	background: rgba(0,0,0,0.56);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);

	color: #fff !important;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0,0,0,.35);

	border-radius: 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	pointer-events: none;
}

/* =========================================
   BLOC CENTRE : LOGO + SPECIAL EXPOS
   ========================================= */

#entete.lg-header-v3 .lg-header-v3__logo {
	grid-area: logo;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	padding-top: 2px;
	padding-bottom: 0;
}

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

#entete.lg-header-v3 .lg-header-v3__special {
	grid-area: special;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding-top: 0;
}

#entete.lg-header-v3 .lg-header-v3__special-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;

	width: 500px;
	height: 84px;

	padding: 8px 11px;
	box-sizing: border-box;

	text-decoration: none;
	color: #4a3719;

	background: linear-gradient(180deg, #efe1bc 0%, #e4cf9f 100%);
	border: 1px solid #caa25e;
	border-radius: 10px;

	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.45),
		0 3px 10px rgba(88,68,28,.08);
}

#entete.lg-header-v3 .lg-header-v3__special-banner--static {
	display: block;
	padding: 0;
}

#entete.lg-header-v3 .lg-header-v3__special-banner--static img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#entete.lg-header-v3 .lg-header-v3__special-media {
	flex: 0 0 68px;
	width: 68px;
	height: 68px;
	border-radius: 8px;
	overflow: hidden;
	background: #f6edd9;
	box-shadow: 0 3px 8px rgba(60,40,10,.12);
}

#entete.lg-header-v3 .lg-header-v3__special-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

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

#entete.lg-header-v3 .lg-header-v3__stats-banner {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 500px;
	height: 84px;
	padding: 0 12px;
	box-sizing: border-box;
	background: linear-gradient(180deg, #f3ead4 0%, #eadab8 100%);
	border: 1px solid #d3b275;
	border-radius: 10px;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.45),
		0 3px 10px rgba(88,68,28,.06);
	color: #5a4216;
}

#entete.lg-header-v3 .lg-header-v3__stats-dot {
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2a5d9f;
	box-shadow: 0 0 0 3px rgba(42,93,159,.10);
}

#entete.lg-header-v3 .lg-header-v3__stats-text {
	font-size: 14px;
	line-height: 1.2;
	color: #5a4216;
}

#entete.lg-header-v3 .lg-header-v3__stats-text #vu_jour {
	font-weight: 700;
	color: #173f70;
}

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

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

#entete.lg-header-v3 .lg-header-v3__special-text {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	line-height: 1.16;
	color: #6a5430;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#entete.lg-header-v3 .lg-header-v3__special-place {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	line-height: 1.16;
	color: #70542a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#entete.lg-header-v3 .lg-header-v3__special-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	padding: 7px 11px;
	border-radius: 999px;
	background: linear-gradient(180deg, #c79a41 0%, #a87820 100%);
	color: #fff;
	font-size: 12px;
	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);
}

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

/* =========================================
   BLOC DROIT : MENU HAUT + SLOGAN + BOUTON
   ========================================= */

#entete.lg-header-v3 .lg-header-v3__aside {
	grid-area: aside;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	min-height: 0;
}

#entete.lg-header-v3 .lg-header-v3__topbar {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
	margin-bottom: auto; /* reste tout en haut */
}

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

#entete.lg-header-v3 .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;
}

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

#entete.lg-header-v3 .lg-top-menu li:first-child {
	padding-left: 0;
}

#entete.lg-header-v3 .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);
}

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

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

#entete.lg-header-v3 .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;
}

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

#entete.lg-header-v3 .lg-lang-dropdown {
	position: relative;
	display: inline-block;
}

#entete.lg-header-v3 .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);
}

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

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

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

#entete.lg-header-v3 .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;
}

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

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

/* duo slogan + bouton centré verticalement */
#entete.lg-header-v3 .lg-header-v3__slogan {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin-top: auto;
}

#entete.lg-header-v3 .lg-header-v3__cta {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 6px;
	margin-bottom: auto;
}

#entete.lg-header-v3 .lg-header-v3__slogan h2 {
	margin: 0;
	max-width: 280px;
	font-size: 17px;
	line-height: 1.1;
	color: #2c2214;
	font-weight: 700;
	letter-spacing: -0.01em;
}

#entete.lg-header-v3 .lg-header-v3__hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 16px;
	border-radius: 999px;
	background: linear-gradient(180deg, #c79a41 0%, #a87820 100%);
	color: #fff;
	font-size: 13px;
	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;
}

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

#entete.lg-header-v3 .lg-top-menu__welcome {
	color: #5f4a1f;
	font-size: 12px;
	white-space: nowrap;
}

#entete.lg-header-v3 .lg-top-menu__welcome a {
	color: #173f70;
	text-decoration: underline;
}

#entete.lg-header-v3 .lg-mobile-menu-btn,
#menu.lg-menu-v2 .lg-mobile-menu-btn {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 40px;
	min-height: 38px;
	padding: 0 10px;
	border: 1px solid #c7aa69;
	border-radius: 10px;
	background: #fffaf0;
	color: #173f70;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(70, 45, 12, 0.10);
}

#entete.lg-header-v3 .lg-mobile-menu-btn__bar,
#menu.lg-menu-v2 .lg-mobile-menu-btn__bar {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
}

#entete.lg-header-v3 .lg-mobile-menu-btn__label,
#menu.lg-menu-v2 .lg-mobile-menu-btn__label {
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

/* =========================================
   FLASH
   ========================================= */

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

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 980px) {
	#entete.lg-header-v3 .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";
		min-height: 0;
	}

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

@media (max-width: 760px) {

	#entete.lg-header-v3 .lg-header-v3__inner {
		padding: 8px 10px 10px;
		grid-template-columns: 1fr;
		grid-template-areas:
			"aside"
			"logo"
			"special"
			"promo";
		row-gap: 9px;
	}

	#entete.lg-header-v3 .lg-header-v3__topbar,
	#entete.lg-header-v3 .lg-top-bar {
		justify-content: center;
		gap: 8px;
		width: 100%;
	}

	#entete.lg-header-v3 .lg-top-bar {
		flex-wrap: wrap;
	}

	#entete.lg-header-v3 .lg-top-menu {
		justify-content: center;
		flex-wrap: wrap;
		row-gap: 5px;
		max-width: calc(100vw - 72px);
		font-size: 11px;
	}

	#entete.lg-header-v3 .lg-top-menu li {
		padding: 0 6px;
	}

	#entete.lg-header-v3 .lg-top-menu a,
	#entete.lg-header-v3 .lg-top-menu__welcome {
		font-size: 11px;
	}

	/* LOGO centré et plus visible */
	#entete.lg-header-v3 .lg-header-v3__logo {
		justify-content: center;
	}

	#entete.lg-header-v3 .lg-header-v3__logo-link img {
		max-height: 46px;
	}

	/* SPECIAL EXPOS pleine largeur */
	#entete.lg-header-v3 .lg-header-v3__special {
		justify-content: center;
	}

	#entete.lg-header-v3 .lg-header-v3__special-banner {
		width: 100%;
		max-width: 460px;
		height: auto;
		min-height: 68px;
	}

	#entete.lg-header-v3 .lg-header-v3__special-banner--static img {
		display: block;
		max-width: 100%;
		height: auto;
	}

	#entete.lg-header-v3 .lg-header-v3__special-media {
		flex-basis: 60px;
		width: 60px;
		height: 60px;
	}

	#entete.lg-header-v3 .lg-header-v3__special-title {
		font-size: 14px;
	}

	#entete.lg-header-v3 .lg-header-v3__special-text {
		font-size: 12px;
	}

	#entete.lg-header-v3 .lg-header-v3__special-place {
		font-size: 10px;
	}

	/* BLOC DROIT recentré */
	#entete.lg-header-v3 .lg-header-v3__aside {
		align-items: center;
	}

	#entete.lg-header-v3 .lg-header-v3__topbar {
		justify-content: center;
		margin-bottom: 0;
	}

	#entete.lg-header-v3 .lg-header-v3__slogan,
	#entete.lg-header-v3 .lg-header-v3__cta {
		display: none;
	}

	/* PROMO plus compacte */
	#entete.lg-header-v3 .lg-header-v3__promo {
		height: auto;
		min-height: 0;
	}

	#entete.lg-header-v3 .lg-header-v3__promo-media img {
		max-width: 140px;
		height: auto;
	}

}

@media (max-width: 420px) {
	#entete.lg-header-v3 .lg-header-v3__inner {
		padding-left: 8px;
		padding-right: 8px;
	}

	#entete.lg-header-v3 .lg-header-v3__special-banner {
		min-height: 60px;
		padding: 7px 8px;
	}

	#entete.lg-header-v3 .lg-header-v3__special-media {
		display: none;
	}

	#entete.lg-header-v3 .lg-header-v3__special-cta {
		display: none;
	}
}

@media (max-width: 760px) {
	#entete.lg-header-v3 .lg-header-v3__inner {
		grid-template-columns: 86px minmax(0, 1fr) auto;
		grid-template-areas:
			"promo logo aside"
			"special special special";
		column-gap: 10px;
		row-gap: 10px;
		align-items: center;
	}

	#entete.lg-header-v3 .lg-header-v3__promo {
		height: 76px;
		min-height: 0;
		justify-content: flex-start;
		align-items: center;
		overflow: visible;
	}

	#entete.lg-header-v3 .lg-header-v3__promo-card,
	#entete.lg-header-v3 .lg-header-v3__promo-media {
		height: 76px;
	}

	#entete.lg-header-v3 .lg-header-v3__promo-media img {
		max-width: 86px;
		max-height: 76px;
		height: auto;
		border-radius: 9px;
	}

	#entete.lg-header-v3 .lg-header-v3__promo-name {
		left: 5px;
		right: 5px;
		bottom: 5px;
		padding: 3px 5px;
		font-size: 9px;
	}

	#entete.lg-header-v3 .lg-header-v3__logo {
		justify-content: flex-start;
		min-width: 0;
	}

	#entete.lg-header-v3 .lg-header-v3__logo-link img {
		max-height: 40px;
	}

	#entete.lg-header-v3 .lg-header-v3__aside {
		align-items: flex-end;
		position: relative;
	}

	#entete.lg-header-v3 .lg-header-v3__topbar,
	#entete.lg-header-v3 .lg-top-bar {
		position: relative;
		justify-content: flex-end;
		width: auto;
		gap: 8px;
		margin-bottom: 0;
	}

	#entete.lg-header-v3 .lg-mobile-menu-btn {
		display: inline-flex;
		flex-direction: column;
		gap: 4px;
	}

	#entete.lg-header-v3 .lg-mobile-menu-btn__label,
	#menu.lg-menu-v2 .lg-mobile-menu-btn__label {
		display: none;
	}

	#entete.lg-header-v3 .lg-top-menu {
		position: absolute;
		top: calc(100% + 8px);
		right: 0;
		z-index: 500;
		display: none;
		width: min(260px, calc(100vw - 20px));
		max-width: none;
		padding: 7px;
		background: #fffdf8;
		border: 1px solid #d9c494;
		border-radius: 12px;
		box-shadow: 0 12px 28px rgba(40, 24, 0, 0.20);
		white-space: normal;
	}

	#entete.lg-header-v3 .lg-top-menu.is-open {
		display: flex;
		flex-direction: column;
		gap: 2px;
	}

	#entete.lg-header-v3 .lg-top-menu li {
		display: block;
		padding: 0;
	}

	#entete.lg-header-v3 .lg-top-menu li + li::before {
		display: none;
	}

	#entete.lg-header-v3 .lg-top-menu a,
	#entete.lg-header-v3 .lg-top-menu__welcome {
		display: block;
		padding: 10px 11px;
		border-radius: 9px;
		font-size: 14px;
		line-height: 1.2;
		text-decoration: none;
	}

	#entete.lg-header-v3 .lg-top-menu a:hover {
		background: #f4ecd9;
	}
}

@media (max-width: 420px) {
	#entete.lg-header-v3 .lg-header-v3__inner {
		grid-template-columns: 76px minmax(0, 1fr) auto;
	}

	#entete.lg-header-v3 .lg-header-v3__logo-link img {
		max-height: 34px;
	}

	#entete.lg-header-v3 .lg-header-v3__promo,
	#entete.lg-header-v3 .lg-header-v3__promo-card,
	#entete.lg-header-v3 .lg-header-v3__promo-media {
		height: 68px;
	}

	#entete.lg-header-v3 .lg-header-v3__promo-media img {
		max-width: 76px;
		max-height: 68px;
	}

	#entete.lg-header-v3 .lg-mobile-menu-btn {
		min-width: 36px;
		min-height: 34px;
		padding: 0 8px;
	}

}
