/*
 * En-tête 2.83.0 — maquettes v3/v4 validées le 14 septembre 2026.
 *
 * Préfixes : eg-hd- (en-tête et panneaux), eg-barre (barre du bas du
 * téléphone), eg-onglets-actu (Des salles / Le journal). Chargée sur toutes
 * les pages, après eg-core.css, dont elle reprend les jetons.
 *
 * Les anciennes règles .eg-nav, .eg-panel, .eg-drawer et .eg-burger
 * d'eg-core.css ne s'appliquent plus à rien : le balisage a changé.
 */

.eg-hd,
.eg-hd *,
.eg-barre,
.eg-barre *,
.eg-hd-feuille,
.eg-hd-feuille * {
	box-sizing: border-box;
}

.eg-hd .eg-ic,
.eg-barre .eg-ic,
.eg-hd-feuille .eg-ic {
	width: 18px;
	height: 18px;
	flex: none;
}

.eg-hd .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- La barre du haut ---------- */

.eg-header.eg-hd {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--eg-dark);
	color: #fff;
	border-bottom: 1px solid var(--eg-line);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.eg-hd__in {
	max-width: 1320px;
	height: 76px;
	margin-inline: auto;
	padding-inline: 28px;
	display: flex;
	align-items: center;
	gap: 26px;
}

.eg-hd-marque {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}
.eg-hd-marque:hover { color: #fff; }
.eg-hd-marque__m {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	background: var(--eg-lamp);
	color: var(--eg-dark);
	font: 700 17px/1 var(--eg-display);
	box-shadow: 0 3px 0 var(--eg-warm);
}
.eg-hd-marque__t {
	font: 600 20px/1 var(--eg-display);
	letter-spacing: .06em;
	text-transform: uppercase;
}

.eg-hd-nav {
	display: flex;
	align-items: center;
	gap: 4px;
	height: 100%;
}

.eg-hd-item {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
}

.eg-hd-chev {
	width: 7px;
	height: 7px;
	margin-left: 2px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
	opacity: .7;
	transition: transform .2s ease;
}
.est-ouvert > .eg-hd-chev { transform: rotate(-135deg) translate(-2px, -1px); }

.eg-hd-trouver-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	margin-right: 8px;
	padding: 0 18px;
	background: var(--eg-lamp);
	color: var(--eg-dark);
	font: 500 17px/1 var(--eg-display);
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 4px 0 var(--eg-warm);
	transition: transform .15s ease, box-shadow .15s ease;
}
.eg-hd-trouver-btn:hover,
.eg-hd-trouver-btn.est-ouvert { color: var(--eg-dark); transform: translateY(2px); box-shadow: 0 2px 0 var(--eg-warm); }

.eg-hd-onglet {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	height: 100%;
	padding: 0 14px;
	color: rgba(255, 255, 255, .88);
	font: 500 17px/1 var(--eg-display);
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}
.eg-hd-onglet .eg-ic { color: var(--eg-lamp); }
.eg-hd-onglet:hover,
.eg-hd-onglet.est-ouvert { color: var(--eg-lamp); }
.eg-hd-onglet.est-ouvert::after,
.eg-hd-onglet:hover::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 0;
	height: 4px;
	background: var(--eg-lamp);
}

.eg-hd-pastille {
	position: absolute;
	top: 14px;
	right: -2px;
	min-width: 20px;
	padding: 1px 6px;
	border-radius: 99px;
	background: #C8412B;
	color: #fff;
	font: 700 11px/1.4 var(--eg-body);
	font-style: normal;
	letter-spacing: 0;
	text-align: center;
}
.eg-hd-pastille--vert { background: #1E7B4E; }

.eg-hd-fin {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 2px;
	height: 100%;
}

.eg-hd-util {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 10px;
	color: rgba(255, 255, 255, .62);
	font: 700 14px/1 var(--eg-body);
	text-decoration: none;
	white-space: nowrap;
}
.eg-hd-util .eg-ic { width: 16px; height: 16px; }
.eg-hd-util:hover,
.eg-hd-util.est-ouvert { color: #fff; }

.eg-hd-cpt {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-left: 10px;
	padding: 5px 14px 5px 5px;
	border: 1.5px solid var(--eg-line);
	border-radius: 99px;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}
.eg-hd-cpt:hover { color: #fff; border-color: var(--eg-lamp); }
.eg-hd-cpt__av {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	flex: none;
	border-radius: 50%;
	background: var(--eg-dark-2);
	color: var(--eg-lamp);
	font: 700 15px/1 var(--eg-display);
	font-style: normal;
}
.eg-hd-cpt b { display: block; font: 700 14px/1.15 var(--eg-body); }
.eg-hd-cpt small { display: block; font-size: 12px; line-height: 1.2; color: var(--eg-lamp); }
.eg-hd-cpt--in { border-color: var(--eg-lamp); }
.eg-hd-cpt--in .eg-hd-cpt__av { background: var(--eg-lamp); color: var(--eg-dark); }
.eg-hd-cpt--in b { font: 600 15px/1 var(--eg-display); color: var(--eg-lamp); }
.eg-hd-cpt--in small { color: rgba(255, 255, 255, .65); max-width: 110px; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Les menus déroulants ---------- */

.eg-hd-drop {
	position: absolute;
	top: 100%;
	z-index: 1001;
	background: #fff;
	color: var(--eg-ink);
	border-top: 5px solid var(--eg-lamp);
	box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
	text-align: left;
}
.eg-hd-drop[hidden] { display: none; }

@media (hover: hover) and (min-width: 901px) {
	.eg-hd-item:hover > .eg-hd-drop { display: block; }
	.eg-hd-item:hover > .eg-hd-actu { display: grid; }
}

.eg-hd-k {
	margin: 0;
	font: 700 11px/1.3 var(--eg-mono);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--eg-warm);
}

.eg-hd-actu {
	left: -140px;
	width: 640px;
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.eg-hd-actu__col { padding: 20px 22px; display: flex; flex-direction: column; }
.eg-hd-actu__col--journal { border-left: 1px solid var(--eg-hair); background: var(--eg-paper); }
.eg-hd-actu__h { margin: 4px 0 10px; font: 500 22px/1.08 var(--eg-display); color: var(--eg-ink); }

.eg-hd-it {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 9px 0;
	border-bottom: 1px solid var(--eg-hair);
	color: var(--eg-ink);
	text-decoration: none;
}
.eg-hd-it:hover { color: var(--eg-accent); }
.eg-hd-it__ph { position: relative; height: 50px; overflow: hidden; background: linear-gradient(135deg, #2C333D, #4D5663); }
.eg-hd-it__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eg-hd-it b { display: block; font: 500 15px/1.15 var(--eg-display); }
.eg-hd-it small { display: block; font-size: 12px; color: var(--eg-muted); }
.eg-hd-it .eg-ac-type { margin-bottom: 2px; }
.eg-hd .eg-ac-type {
	display: inline-block;
	padding: 2px 5px;
	font: 700 9px/1.3 var(--eg-body);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ac-fg, #0B6E8A);
	background: var(--ac-bg, #E6F1F5);
}
.eg-hd .eg-ac--salle { --ac-fg: #1E7B4E; --ac-bg: #E4F3EA; }
.eg-hd .eg-ac--event { --ac-fg: #C8412B; --ac-bg: #F8E6E5; }
.eg-hd .eg-ac--offre { --ac-fg: #9A5B0B; --ac-bg: #FBF0DE; }
.eg-hd .eg-ac--prat { --ac-fg: #0B6E8A; --ac-bg: #E6F1F5; }
.eg-hd .eg-ac--coul { --ac-fg: #6B4FA0; --ac-bg: #EEE8F7; }

.eg-hd-tout {
	display: flex;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 12px;
	font-weight: 700;
	font-size: 15px;
	color: var(--eg-accent);
	text-decoration: none;
}

.eg-hd-liste { right: 0; width: 330px; padding: 18px 20px 10px; }
.eg-hd-moi { right: 0; width: 290px; padding: 6px 0; }

.eg-hd-lien {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	color: var(--eg-ink);
	text-decoration: none;
	border-bottom: 1px solid var(--eg-hair);
}
.eg-hd-lien:last-child { border-bottom: 0; }
.eg-hd-lien .eg-ic { color: var(--eg-warm); }
.eg-hd-lien b { display: block; font: 700 15px/1.25 var(--eg-body); }
.eg-hd-lien small { display: block; font-size: 13px; color: var(--eg-muted); }
.eg-hd-lien:hover b { color: var(--eg-accent); }
.eg-hd-moi .eg-hd-lien { padding: 10px 18px; border: 0; }

.eg-hd-moi__tete { display: flex; align-items: center; gap: 12px; padding: 10px 18px 14px; border-bottom: 1px solid var(--eg-hair); }
.eg-hd-moi__tete .eg-hd-cpt__av { width: 42px; height: 42px; background: var(--eg-lamp); color: var(--eg-dark); font-size: 18px; }
.eg-hd-moi__tete b { display: block; font: 500 19px/1.1 var(--eg-display); }
.eg-hd-moi__tete small { display: block; font-size: 13px; color: var(--eg-muted); }
.eg-hd-moi__jauge { display: block; width: 170px; height: 6px; margin-top: 5px; background: var(--eg-paper-2, #EFEBE4); }
.eg-hd-moi__jauge i { display: block; height: 100%; background: #1E7B4E; }
.eg-hd-moi__admin { margin: 6px 0; padding: 4px 0; background: var(--eg-dark); }
.eg-hd-moi__admin p { margin: 0; padding: 8px 18px 0; font: 700 10px/1 var(--eg-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--eg-lamp); }
.eg-hd-moi__admin .eg-hd-lien { color: #fff; }
.eg-hd-moi__admin .eg-hd-lien .eg-ic { color: var(--eg-lamp); }
.eg-hd-lien--sortir b { font-weight: 400; color: var(--eg-muted); }

/* ---------- Le guide « Trouver une salle » ---------- */

.eg-hd-trouver {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 1001;
	width: min(1240px, calc(100vw - 48px));
	transform: translateX(-50%);
	background: #fff;
	color: var(--eg-ink);
	border-top: 5px solid var(--eg-lamp);
	box-shadow: 0 34px 70px rgba(0, 0, 0, .4);
}
.eg-hd-trouver[hidden],
.eg-hd-feuille[hidden] { display: none; }

.eg-hd-trouver__poignee,
.eg-hd-fermer { display: none; }

.eg-hd-trouver__etapes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.eg-hd-etape { padding: 26px 32px 28px; }
.eg-hd-etape + .eg-hd-etape { border-left: 1px solid var(--eg-hair); }
.eg-hd-etape__t {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	font: 500 28px/1 var(--eg-display);
	color: var(--eg-ink);
}
.eg-hd-etape__t b {
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	flex: none;
	border-radius: 50%;
	background: var(--eg-dark);
	color: var(--eg-lamp);
	font: 600 19px/1 var(--eg-display);
}
.eg-hd-etape__k { margin: 18px 0 8px; font: 700 11px/1 var(--eg-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--eg-muted); }

.eg-hd-champ {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 58px;
	padding: 0 6px 0 16px;
	border: 2px solid var(--eg-dark);
	background: #fff;
}
.eg-hd-champ__in { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; margin: 0; }
.eg-hd-champ__in .eg-ic { width: 22px; height: 22px; color: var(--eg-dark); }
.eg-hd-champ input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 50px;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
	color: var(--eg-ink);
	font: 17px/1 var(--eg-body);
}
.eg-hd-champ input::-webkit-calendar-picker-indicator { display: none !important; }
.eg-hd-champ:focus-within { box-shadow: 0 0 0 3px rgba(240, 201, 122, .6); }
.eg-hd-champ__geo {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 44px;
	padding: 0 16px;
	border: 0;
	background: var(--eg-dark);
	color: var(--eg-lamp);
	font: 500 15px/1 var(--eg-display);
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
}
.eg-hd-champ__geo .eg-ic { width: 16px; height: 16px; }
.eg-hd-champ__geo.est-attente { opacity: .6; cursor: progress; }

.eg-hd-villes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.eg-hd-villes a {
	padding: 7px 14px;
	border-radius: 99px;
	background: var(--eg-paper-2, #EFEBE4);
	color: var(--eg-ink);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}
.eg-hd-villes a:hover { background: var(--eg-dark); color: var(--eg-lamp); }
.eg-hd-villes a.eg-hd-villes__tout { background: none; color: var(--eg-accent); padding-inline: 4px; }

.eg-hd-tuiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.eg-hd-tuile {
	position: relative;
	height: 196px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 12px 14px;
	overflow: hidden;
	background: linear-gradient(135deg, #2C333D, #4D5663);
	color: #fff;
	text-decoration: none;
}
.eg-hd-tuile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.eg-hd-tuile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(18, 22, 28, .05) 25%, rgba(18, 22, 28, .92)); }
.eg-hd-tuile:hover { color: #fff; }
.eg-hd-tuile:hover img { transform: scale(1.06); }
.eg-hd-tuile em,
.eg-hd-tuile b,
.eg-hd-tuile small { position: relative; z-index: 2; }
.eg-hd-tuile em {
	position: absolute;
	left: 12px;
	top: 8px;
	font: 700 50px/1 var(--eg-display);
	font-style: normal;
	color: var(--eg-lamp);
	text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}
.eg-hd-tuile em sup { font-size: .42em; vertical-align: top; }
.eg-hd-tuile b { font: 500 22px/1 var(--eg-display); }
.eg-hd-tuile small { margin-top: 3px; font-size: 13px; opacity: .85; }

.eg-hd-guide {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 18px;
	padding: 16px 32px;
	background: var(--eg-dark);
	color: #fff;
}
.eg-hd-guide__ic { width: 48px; height: 48px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--eg-lamp); color: var(--eg-dark); }
.eg-hd-guide__ic .eg-ic { width: 24px; height: 24px; }
.eg-hd-guide__t b { display: block; font: 500 22px/1.1 var(--eg-display); }
.eg-hd-guide__t small { display: block; font-size: 14px; color: rgba(255, 255, 255, .7); }
.eg-hd-guide__go {
	display: inline-flex;
	align-items: center;
	padding: 13px 20px;
	background: var(--eg-lamp);
	color: var(--eg-dark);
	font: 500 15px/1 var(--eg-display);
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 4px 0 var(--eg-warm);
}
.eg-hd-guide__go:hover { color: var(--eg-dark); }
.eg-hd-guide__plus { margin-left: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.eg-hd-guide__plus a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 15px;
	border: 1.5px solid var(--eg-line);
	color: #fff;
	font: 700 15px/1 var(--eg-body);
	text-decoration: none;
	white-space: nowrap;
}
.eg-hd-guide__plus a .eg-ic { width: 16px; height: 16px; color: var(--eg-lamp); }
.eg-hd-guide__plus a small { font-weight: 400; font-size: 13px; color: var(--eg-lamp); }
.eg-hd-guide__plus a:hover { border-color: var(--eg-lamp); color: #fff; }

/* Le voile sous les grands panneaux. */
.eg-hd-voile {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999;
	background: rgba(8, 10, 14, .55);
}
html.eg-hd-ouvert--grand .eg-hd-voile { display: block; }

/* ---------- Téléphone : le menu et la barre ---------- */

.eg-barre,
.eg-hd-feuille { display: none; }

/* Des salles / Le journal */
.eg-onglets-actu {
	display: flex;
	gap: 4px;
	margin: 0 0 18px;
}
.eg-onglets-actu a {
	padding: 10px 16px;
	border-bottom: 4px solid transparent;
	color: inherit;
	opacity: .7;
	font: 500 16px/1 var(--eg-display);
	letter-spacing: .05em;
	text-transform: uppercase;
	text-decoration: none;
}
.eg-onglets-actu a.est-on { opacity: 1; border-color: var(--eg-lamp); }

@media (max-width: 1180px) {
	.eg-hd__in { gap: 16px; padding-inline: 20px; }
	.eg-hd-marque__t { display: none; }
	.eg-hd-util span { display: none; }
	.eg-hd-onglet { padding: 0 10px; }
}

@media (max-width: 900px) {
	body {
		--eg-barre: calc(62px + env(safe-area-inset-bottom));
		padding-bottom: var(--eg-barre);
	}
	body.eg-barre-cachee { --eg-barre: 0px; }
	html.eg-hd-verrou,
	html.eg-hd-verrou body { overflow: hidden; }

	.eg-hd__in { height: 58px; padding-inline: 16px; }
	.eg-hd-marque__t { display: inline; font-size: 18px; }
	.eg-hd-marque__m { width: 34px; height: 34px; font-size: 15px; }
	.eg-hd-nav,
	.eg-hd-fin { display: none; }

	/* Le guide et le menu montent du bas de l'écran. */
	.eg-hd-trouver,
	.eg-hd-feuille {
		position: fixed;
		left: 0;
		right: 0;
		top: auto;
		bottom: calc(62px + env(safe-area-inset-bottom));
		width: auto;
		max-height: calc(100vh - 58px - 62px - 16px);
		max-height: calc(100dvh - 58px - 62px - 16px);
		overflow-y: auto;
		overscroll-behavior: contain;
		transform: none;
		border-top: 0;
		border-radius: 20px 20px 0 0;
		box-shadow: 0 -20px 50px rgba(0, 0, 0, .45);
	}
	.eg-hd-feuille {
		z-index: 1001;
		display: block;
		padding: 10px 18px 18px;
		background: var(--eg-dark);
		color: #fff;
	}
	.eg-hd-trouver__poignee { display: block; width: 48px; height: 5px; margin: 10px auto 2px; border-radius: 9px; background: var(--eg-hair); }
	.eg-hd-feuille .eg-hd-trouver__poignee { background: var(--eg-line); margin-top: 0; }
	.eg-hd-fermer {
		display: grid;
		place-items: center;
		position: absolute;
		top: 10px;
		right: 12px;
		width: 36px;
		height: 36px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var(--eg-paper-2, #EFEBE4);
		color: var(--eg-ink);
		cursor: pointer;
	}
	.eg-hd-feuille .eg-hd-fermer { background: var(--eg-dark-2); color: #fff; }

	.eg-hd-trouver__etapes { grid-template-columns: minmax(0, 1fr); }
	.eg-hd-etape { padding: 12px 18px 8px; }
	.eg-hd-etape + .eg-hd-etape { border-left: 0; }
	.eg-hd-etape__t { font-size: 23px; margin-bottom: 10px; }
	.eg-hd-etape__t b { width: 32px; height: 32px; font-size: 16px; }
	.eg-hd-champ { height: 52px; padding-left: 12px; }
	.eg-hd-champ input[type="search"] { font-size: 16px; height: 44px; }
	.eg-hd-champ__geo { height: 40px; padding: 0 12px; font-size: 13px; }
	.eg-hd-etape__k { margin-top: 12px; }
	.eg-hd-villes a { font-size: 14px; padding: 6px 12px; }
	.eg-hd-tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.eg-hd-tuile { height: 100px; padding: 8px 10px; }
	.eg-hd-tuile em { font-size: 32px; top: 6px; left: 10px; }
	.eg-hd-tuile b { font-size: 18px; }
	.eg-hd-tuile small { display: none; }
	.eg-hd-guide { margin-top: 12px; padding: 14px 18px; gap: 10px 12px; }
	.eg-hd-guide__ic { width: 40px; height: 40px; }
	.eg-hd-guide__t { flex: 1; min-width: 0; }
	.eg-hd-guide__t b { font-size: 19px; }
	.eg-hd-guide__t small { font-size: 13px; }
	.eg-hd-guide__go { width: 100%; justify-content: center; }
	.eg-hd-guide__plus { margin-left: 0; width: 100%; }
	.eg-hd-guide__plus a { flex: 1 1 140px; justify-content: center; padding: 10px 8px; font-size: 14px; }

	.eg-hd-feuille__g { margin: 14px 0 2px; font: 700 10px/1 var(--eg-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--eg-lamp); }
	.eg-hd-feuille .eg-hd-lien { color: #fff; border-color: var(--eg-line); padding: 11px 0; }
	.eg-hd-feuille .eg-hd-lien .eg-ic { color: var(--eg-lamp); }
	.eg-hd-feuille .eg-hd-lien > small { margin-left: auto; font-size: 12px; color: rgba(255, 255, 255, .5); }
	.eg-hd-feuille .eg-hd-lien:hover b { color: var(--eg-lamp); }
	.eg-hd-feuille__stores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

	.eg-barre {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1002;
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		height: calc(62px + env(safe-area-inset-bottom));
		padding: 8px 0 env(safe-area-inset-bottom);
		background: var(--eg-dark);
		border-top: 1px solid var(--eg-line);
		transition: transform .25s ease;
	}
	body.eg-barre-cachee .eg-barre { transform: translateY(100%); }
	html.eg-hd-ouvert .eg-barre { transform: none; }

	.eg-barre__b {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 3px;
		color: rgba(255, 255, 255, .7);
		font: 700 11px/1.1 var(--eg-body);
		text-decoration: none;
		white-space: nowrap;
	}
	.eg-barre__b:hover,
	.eg-barre__b.est-ouvert { color: var(--eg-lamp); }
	.eg-barre__ic { position: relative; display: grid; place-items: center; height: 30px; }
	.eg-barre .eg-ic { width: 23px; height: 23px; }
	.eg-barre__b--jaune { color: var(--eg-lamp); }
	.eg-barre__b--jaune .eg-barre__ic { width: 48px; border-radius: 99px; background: var(--eg-lamp); color: var(--eg-dark); }
	.eg-barre__av { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--eg-lamp); color: var(--eg-dark); font: 700 13px/1 var(--eg-display); font-style: normal; }
	.eg-barre__pastille {
		position: absolute;
		top: -3px;
		right: -12px;
		min-width: 17px;
		padding: 0 5px;
		border-radius: 99px;
		background: #C8412B;
		color: #fff;
		font: 700 10px/1.5 var(--eg-body);
		font-style: normal;
		text-align: center;
	}
	.eg-barre__pastille--vert { background: #1E7B4E; }

	/* Les éléments déjà collés en bas de l'écran montent au-dessus de la barre. */
	.eg-ch__basse { bottom: var(--eg-barre); transition: bottom .25s ease; }
	.eg-resa,
	.eg-ratt { bottom: calc(14px + var(--eg-barre)); transition: bottom .25s ease; }
}

@media (prefers-reduced-motion: reduce) {
	.eg-hd-trouver-btn,
	.eg-hd-tuile img,
	.eg-barre,
	.eg-hd-chev { transition: none; }
}
