/* Espace Gold Change : carte des agences (widget egc-agences).
   Ordinateur : carte à gauche, liste à droite dans un cadre doré.
   Tablette et mobile (1024 px et moins) : carte au-dessus, liste dessous. */

.egc-ag {
	--egc-ag-or: #C59956;
	--egc-ag-texte: #000000;
	--egc-ag-titre: #231F20;
	--egc-ag-tel: #C59956;
	--egc-ag-survol: #231F20;
	--egc-ag-creme: #F3EBDD;
	--egc-ag-h: 497px;
	--egc-ag-carte-h: 300px;
	display: grid;
	grid-template-columns: minmax(0, 72fr) minmax(0, 100fr);
	height: var(--egc-ag-h);
	overflow: hidden;
	border: 3px solid var(--egc-ag-or);
	border-radius: 36px;
	background: #FFFFFF;
	font-family: Roboto, sans-serif;
	color: var(--egc-ag-texte);
	box-sizing: border-box;
}

.egc-ag *,
.egc-ag *::before,
.egc-ag *::after {
	box-sizing: border-box;
}

/* ---------- Carte ---------- */

.egc-ag__carte {
	position: relative;
	z-index: 0;
	min-height: 0;
	border-right: 3px solid var(--egc-ag-or);
	border-radius: 0 33px 33px 0;
	overflow: hidden;
	background: var(--egc-ag-creme);
}

.egc-ag__carte-fond {
	position: absolute;
	inset: 0;
}

/* Fond de carte adouci (tons chauds, proche de la charte). */
.egc-ag .leaflet-tile-pane {
	filter: grayscale(0.6) sepia(0.25) brightness(1.03);
}

.egc-ag .leaflet-container {
	font-family: Roboto, sans-serif;
	background: var(--egc-ag-creme);
}

.egc-ag .leaflet-control-attribution {
	font-size: 10px;
}

.egc-ag__repere {
	display: block;
	width: 30px;
	height: 40px;
	color: var(--egc-ag-or);
	filter: drop-shadow(0 2px 2px rgba(35, 31, 32, 0.35));
	transition: transform 0.2s ease, color 0.2s ease;
	transform-origin: 50% 100%;
}

.egc-ag__repere svg {
	display: block;
	width: 100%;
	height: 100%;
}

.egc-ag__repere.est-actif {
	color: var(--egc-ag-titre);
	transform: scale(1.25);
}

.egc-ag .leaflet-popup-content-wrapper {
	border-radius: 14px;
}

.egc-ag .leaflet-popup-content {
	margin: 12px 16px;
	font-size: 14px;
	line-height: 20px;
}

.egc-ag .leaflet-popup-content strong {
	display: block;
	color: var(--egc-ag-titre);
	font-size: 16px;
	line-height: 22px;
}

.egc-ag .leaflet-popup-content a {
	color: #85622E;
	font-weight: 700;
}

/* Grappes de repères (plusieurs agences proches). */
.egc-ag__grappe {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 3px solid #FFFFFF;
	border-radius: 50%;
	background: var(--egc-ag-or);
	box-shadow: 0 2px 6px rgba(35, 31, 32, 0.35);
	color: #FFFFFF;
	font-weight: 700;
	font-size: 15px;
}

/* ---------- Panneau ---------- */

.egc-ag__panneau {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 34px;
	grid-template-rows: auto minmax(0, 1fr);
	gap: 12px 14px;
	min-height: 0;
	padding: 25px 35px 28px 32px;
}

.egc-ag__recherche {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	grid-column: 1 / -1;
	margin-right: 48px;
}

.egc-ag__recherche input[type="search"] {
	width: 100%;
	height: 35px;
	margin: 0;
	padding: 0 44px 0 15px;
	border: 1px solid var(--egc-ag-or);
	border-radius: 18px;
	background: #FFFFFF;
	color: var(--egc-ag-texte);
	font-family: inherit;
	font-weight: 700;
	font-size: 16px;
	line-height: 22px;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.egc-ag__recherche input::placeholder {
	color: var(--egc-ag-texte);
	opacity: 1;
}

.egc-ag__recherche input:focus-visible {
	box-shadow: 0 0 0 2px var(--egc-ag-or);
}

.egc-ag__champ > svg {
	position: absolute;
	top: 50%;
	right: 14px;
	width: 20px;
	height: 20px;
	color: var(--egc-ag-titre);
	transform: translateY(-50%);
	pointer-events: none;
}

.egc-ag__corps {
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: none;
}

/* Fondu en haut et en bas de la liste quand elle continue (classes posées par le script). */
.egc-ag__corps {
	--egc-ag-fondu-h: 0px;
	--egc-ag-fondu-b: 0px;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--egc-ag-fondu-h), #000 calc(100% - var(--egc-ag-fondu-b)), transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 var(--egc-ag-fondu-h), #000 calc(100% - var(--egc-ag-fondu-b)), transparent 100%);
	transition: --egc-ag-fondu-h 0.2s, --egc-ag-fondu-b 0.2s;
}

.egc-ag__corps.suite-haut {
	--egc-ag-fondu-h: 36px;
}

.egc-ag__corps.suite-bas {
	--egc-ag-fondu-b: 44px;
}

@media (max-width: 767px) {
	.egc-ag__corps.suite-haut {
		--egc-ag-fondu-h: 22px;
	}
	.egc-ag__corps.suite-bas {
		--egc-ag-fondu-b: 28px;
	}
}

@property --egc-ag-fondu-h {
	syntax: '<length>';
	inherits: false;
	initial-value: 0px;
}

@property --egc-ag-fondu-b {
	syntax: '<length>';
	inherits: false;
	initial-value: 0px;
}

/* Recherche : la loupe laisse place à un anneau doré en dégradé qui tourne, et un reflet doré
   balaie les fiches de la liste pendant une demi-seconde. */
.egc-ag__chargement {
	position: absolute;
	top: 50%;
	right: 12px;
	width: 22px;
	height: 22px;
	margin-top: -11px;
	border-radius: 50%;
	background: conic-gradient(from 0deg, rgba(197, 153, 86, 0) 0deg, rgba(197, 153, 86, 0.15) 90deg, var(--egc-ag-or) 300deg, #85622E 360deg);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
	opacity: 0;
	transform: scale(0.6);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.egc-ag__chargement::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 3px;
	height: 3px;
	margin-left: -1.5px;
	border-radius: 50%;
	background: #85622E;
}

.egc-ag.est-recherche .egc-ag__chargement {
	opacity: 1;
	transform: scale(1);
	animation: egc-ag-anneau 0.8s linear infinite;
}

.egc-ag__champ > svg {
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.egc-ag.est-recherche .egc-ag__champ > svg {
	opacity: 0;
	transform: translateY(-50%) scale(0.5);
}

.egc-ag__item {
	position: relative;
}

.egc-ag__item::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(197, 153, 86, 0.22) 50%, rgba(255, 255, 255, 0) 70%);
	background-size: 250% 100%;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.egc-ag.est-recherche .egc-ag__item::after {
	opacity: 1;
	animation: egc-ag-reflet 0.9s ease-in-out infinite;
}

.egc-ag__liste {
	transition: opacity 0.25s ease, filter 0.25s ease;
}

.egc-ag.est-recherche .egc-ag__liste {
	opacity: 0.55;
	filter: saturate(0.6);
}

@keyframes egc-ag-reflet {
	from {
		background-position: 120% 0;
	}
	to {
		background-position: -120% 0;
	}
}

@keyframes egc-ag-anneau {
	from {
		rotate: 0deg;
	}
	to {
		rotate: 360deg;
	}
}

@media (prefers-reduced-motion: reduce) {
	.egc-ag.est-recherche .egc-ag__chargement {
		animation-duration: 2s;
	}
	.egc-ag.est-recherche .egc-ag__item::after {
		animation: none;
	}
}

.egc-ag__corps::-webkit-scrollbar {
	display: none;
}

.egc-ag__liste {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.egc-ag__item {
	margin: 0;
	border: 1px solid var(--egc-ag-or);
	border-radius: 15px;
	background: #FFFFFF;
	transition: background-color 0.2s ease;
}

.egc-ag__item.est-actif {
	background: var(--egc-ag-creme);
}

.egc-ag__item[hidden] {
	display: none !important;
}

.egc-ag__ligne {
	display: grid;
	grid-template-columns: 79px minmax(0, 1fr) auto 24px;
	grid-template-areas: "vignette infos rdv plus";
	align-items: center;
	gap: 0 20px;
	min-height: 82px;
	padding: 15px 16px 15px 16px;
}

.egc-ag__vignette {
	grid-area: vignette;
	display: block;
	width: 79px;
	height: 51px;
	border-radius: 12px;
	background: var(--egc-ag-creme);
	object-fit: cover;
}

.egc-ag__infos {
	grid-area: infos;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.egc-ag .egc-ag__nom {
	color: var(--egc-ag-texte);
	font-size: 16px;
	line-height: 19px;
	text-decoration: none;
}

.egc-ag .egc-ag__nom:hover,
.egc-ag .egc-ag__nom:focus-visible {
	color: #85622E;
	text-decoration: underline;
}

.egc-ag__adresse {
	font-size: 16px;
	line-height: 19px;
}

.egc-ag__statut {
	align-self: flex-start;
	margin-top: 4px;
	padding: 1px 8px;
	border-radius: 10px;
	background: var(--egc-ag-creme);
	font-size: 13px;
	line-height: 19px;
	font-weight: 700;
}

.egc-ag .egc-ag__tel {
	margin-top: 4px;
	color: var(--egc-ag-tel);
	font-weight: 700;
	font-size: 16px;
	line-height: 19px;
	text-decoration: none;
	white-space: nowrap;
}

.egc-ag .egc-ag__tel:hover {
	text-decoration: underline;
}

/* Bouton : même style que « Prendre RDV » du header. */
.egc-ag .egc-ag__rdv {
	grid-area: rdv;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 160px;
	padding: 14px 22px;
	border-radius: 33px;
	background: var(--egc-ag-or);
	box-shadow: 0 4px 0 #231F20;
	color: #FFFFFF;
	font-weight: 900;
	font-size: 16px;
	line-height: 22px;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease;
}

.egc-ag .egc-ag__rdv:hover,
.egc-ag .egc-ag__rdv:focus-visible {
	background: var(--egc-ag-survol);
	color: #FFFFFF;
}

/* « + » : le thème stylise tous les <button>, on neutralise. */
.egc-ag .egc-ag__plus {
	grid-area: plus;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 24px !important;
	min-width: 0 !important;
	height: 24px !important;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--egc-ag-or);
	cursor: pointer;
}

.egc-ag .egc-ag__plus svg {
	width: 24px;
	height: 24px;
	transition: transform 0.25s ease;
}

.egc-ag .egc-ag__plus[aria-expanded="true"] svg {
	transform: rotate(45deg);
}

/* Pas de cadre au clic sur « + » / « × » (styles de bouton du thème neutralisés) ;
   au clavier, le signe fonce simplement. */
.egc-ag .egc-ag__plus:focus,
.egc-ag .egc-ag__plus:focus-visible,
.egc-ag .egc-ag__plus:active,
.egc-ag .egc-ag__plus:hover {
	outline: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.egc-ag .egc-ag__plus:focus-visible {
	color: #85622E;
}

.egc-ag .egc-ag__rdv:focus-visible {
	outline: 2px solid #85622E;
	outline-offset: 2px;
}

/* Détail. */
.egc-ag__detail {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px 24px;
	align-items: end;
	padding: 0 16px 16px 115px;
	font-size: 15px;
	line-height: 21px;
}

.egc-ag__detail[hidden] {
	display: none;
}

.egc-ag__horaires {
	display: grid;
	gap: 2px;
	margin: 0;
}

.egc-ag__horaires div {
	display: flex;
	gap: 8px;
}

.egc-ag__horaires dt {
	min-width: 82px;
	font-weight: 700;
}

.egc-ag__horaires dd {
	margin: 0;
}

.egc-ag__liens {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.egc-ag .egc-ag__liens a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #85622E;
	font-weight: 700;
	text-decoration: none;
}

.egc-ag .egc-ag__liens a:hover {
	text-decoration: underline;
}

.egc-ag__liens svg {
	width: 16px;
	height: 16px;
}

.egc-ag__vide {
	margin: 12px 4px;
	font-size: 16px;
}

/* ---------- Rail de défilement (maquette) ---------- */

.egc-ag__rail {
	position: relative;
	grid-column: 2;
	grid-row: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding: 8px 0;
	border: 1px solid var(--egc-ag-or);
	border-radius: 17px;
}

.egc-ag.sans-rail .egc-ag__rail {
	visibility: hidden;
}

.egc-ag .egc-ag__haut,
.egc-ag .egc-ag__bas {
	position: relative;
	z-index: 1;
	width: 26px !important;
	min-width: 0 !important;
	height: 16px !important;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	cursor: pointer;
}

.egc-ag__haut::before,
.egc-ag__bas::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	width: 0;
	height: 0;
	border-right: 13px solid transparent;
	border-left: 13px solid transparent;
}

.egc-ag__haut::before {
	top: 1px;
	border-bottom: 14px solid var(--egc-ag-or);
}

.egc-ag__bas::before {
	bottom: 1px;
	border-top: 14px solid var(--egc-ag-or);
}

.egc-ag__curseur {
	position: absolute;
	top: 30px;
	left: 50%;
	width: 6px;
	height: 40px;
	border-radius: 3px;
	background: var(--egc-ag-or);
	transform: translateX(-50%);
	transition: top 0.1s linear;
}

/* ---------- Écrans moyens ---------- */

@media (max-width: 1279px) {
	.egc-ag__ligne {
		grid-template-columns: 64px minmax(0, 1fr) auto 24px;
		gap: 0 14px;
	}
	.egc-ag__vignette {
		width: 64px;
		height: 48px;
	}
	.egc-ag .egc-ag__rdv {
		min-width: 0;
		padding: 12px 18px;
	}
	.egc-ag__detail {
		padding-left: 94px;
	}
	.egc-ag__panneau {
		padding: 22px 22px 24px;
	}
}

/* ---------- Tablette et mobile : carte au-dessus ---------- */

@media (max-width: 1024px) {
	.egc-ag {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: var(--egc-ag-carte-h) auto;
		height: auto;
	}
	.egc-ag__carte {
		border-right: 0;
		border-bottom: 3px solid var(--egc-ag-or);
		border-radius: 0 0 33px 33px;
	}
	.egc-ag__corps {
		max-height: 430px;
	}
}

@media (max-width: 767px) {
	.egc-ag {
		border-radius: 26px;
	}
	.egc-ag__carte {
		border-radius: 0 0 23px 23px;
	}
	.egc-ag__panneau {
		grid-template-columns: minmax(0, 1fr);
		padding: 16px 12px 16px;
	}
	.egc-ag__recherche {
		margin-right: 0;
	}
	.egc-ag__rail {
		display: none;
	}
	.egc-ag__ligne {
		grid-template-columns: 56px minmax(0, 1fr) 24px;
		grid-template-areas:
			"vignette infos plus"
			"rdv rdv rdv";
		gap: 12px 12px;
		padding: 12px;
	}
	.egc-ag__vignette {
		width: 56px;
		height: 44px;
		align-self: start;
	}
	.egc-ag .egc-ag__rdv {
		width: 100%;
	}
	.egc-ag__detail {
		grid-template-columns: minmax(0, 1fr);
		padding: 0 12px 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.egc-ag *,
	.egc-ag *::before {
		transition: none !important;
	}
}

/* ---------- Villes des agences (widget egc-villes) : étiquettes compactes ---------- */

.egc-villes {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.egc-villes li {
	margin: 0;
}

.egc-villes .egc-villes__lien {
	display: inline-flex;
	align-items: center;
	padding: 5px 14px;
	border: 1px solid #C59956;
	border-radius: 20px;
	background: #FFFFFF;
	color: #000000;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.egc-villes .egc-villes__lien:focus-visible {
	outline: 2px solid #85622E;
	outline-offset: 2px;
}

/* Tablette et mobile : étiquettes plus serrées, liste repliée (bouton « Voir toutes les villes »). */
.egc-villes-bloc {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.egc-villes-bloc .egc-villes {
	align-self: stretch;
}

.egc-villes-bloc .egc-villes__plus {
	display: none !important;
}

@media (max-width: 1024px) {
	.egc-villes .egc-villes__lien {
		padding: 4px 10px;
		font-size: 13px;
		line-height: 18px;
	}
	.egc-villes-bloc.est-replie .egc-villes__suite {
		display: none;
	}
	.egc-villes-bloc .egc-villes__plus {
		display: inline-flex !important;
		align-items: center;
		width: auto !important;
		min-width: 0 !important;
		height: auto !important;
		margin: 0;
		padding: 6px 4px !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		color: #85622E !important;
		font-family: Roboto, sans-serif;
		font-weight: 700;
		font-size: 14px;
		line-height: 20px;
		text-decoration: underline;
		text-underline-offset: 3px;
		cursor: pointer;
	}
	.egc-villes-bloc:not(.est-replie) .egc-villes__plus {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.egc-villes .egc-villes__lien {
		padding: 4px 9px;
		font-size: 12px;
		line-height: 17px;
	}
}

/* ---------- Géolocalisation (« Autour de moi ») ---------- */
.egc-ag__champ {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.egc-ag .egc-ag__geo {
	display: inline-flex !important;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	width: auto !important;
	min-width: 0 !important;
	height: 35px !important;
	margin: 0;
	padding: 0 14px 0 11px !important;
	border: 1px solid var(--egc-ag-or) !important;
	border-radius: 18px !important;
	background: #FFFFFF !important;
	box-shadow: none !important;
	color: var(--egc-ag-titre) !important;
	font-family: inherit;
	font-weight: 700;
	font-size: 14px;
	line-height: 18px;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.egc-ag .egc-ag__geo svg {
	width: 18px;
	height: 18px;
	color: var(--egc-ag-or);
	transition: color 0.2s ease;
}

.egc-ag .egc-ag__geo:hover,
.egc-ag .egc-ag__geo:focus-visible,
.egc-ag .egc-ag__geo.est-actif {
	background: var(--egc-ag-or) !important;
	color: #FFFFFF !important;
	outline: 0;
}

.egc-ag .egc-ag__geo:hover svg,
.egc-ag .egc-ag__geo:focus-visible svg,
.egc-ag .egc-ag__geo.est-actif svg {
	color: #FFFFFF;
}

.egc-ag .egc-ag__geo.est-attente svg {
	animation: egc-ag-anneau 1s linear infinite;
}

.egc-ag__geo-msg {
	margin: 0 0 8px;
	padding: 8px 12px;
	border-radius: 12px;
	background: var(--egc-ag-creme);
	font-size: 14px;
	line-height: 20px;
}

.egc-ag__geo-msg[hidden] {
	display: none;
}

.egc-ag__distance {
	font-size: 13px;
	line-height: 18px;
	font-weight: 700;
	color: var(--egc-ag-or);
	white-space: nowrap;
}

.egc-ag__distance[hidden] {
	display: none;
}

/* Position du visiteur sur la carte. */
.egc-ag__moi {
	display: block;
	width: 18px;
	height: 18px;
	border: 3px solid #FFFFFF;
	border-radius: 50%;
	background: #1A73E8;
	box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.45), 0 1px 4px rgba(0, 0, 0, 0.35);
	animation: egc-ag-moi 2s ease-out infinite;
}

@keyframes egc-ag-moi {
	0% {
		box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.45), 0 1px 4px rgba(0, 0, 0, 0.35);
	}
	70% {
		box-shadow: 0 0 0 14px rgba(26, 115, 232, 0), 0 1px 4px rgba(0, 0, 0, 0.35);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(26, 115, 232, 0), 0 1px 4px rgba(0, 0, 0, 0.35);
	}
}

@media (max-width: 767px) {
	.egc-ag .egc-ag__geo {
		padding: 0 9px !important;
	}
	.egc-ag__geo-texte {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

@media (prefers-reduced-motion: reduce) {
	.egc-ag__moi,
	.egc-ag .egc-ag__geo.est-attente svg {
		animation: none;
	}
}

/* ---------- Ouvert / Fermé (calculé à l'heure de Paris) ---------- */
.egc-ag__titre {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 10px;
	row-gap: 2px;
}

.egc-ag__ouvert {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	line-height: 18px;
	color: #4A4A4A;
	white-space: nowrap;
}

.egc-ag__ouvert[hidden] {
	display: none;
}

.egc-ag__ouvert strong {
	font-weight: 700;
}

.egc-ag__ouvert-point {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

.egc-ag__ouvert.est-ouvert strong,
.egc-ag__ouvert.est-ouvert .egc-ag__ouvert-point {
	color: #2E7D32;
}

.egc-ag__ouvert.est-ouvert .egc-ag__ouvert-point {
	box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.5);
	animation: egc-ag-pouls 2s ease-out infinite;
}

.egc-ag__ouvert.est-bientot strong,
.egc-ag__ouvert.est-bientot .egc-ag__ouvert-point {
	color: #B45F06;
}

.egc-ag__ouvert.est-ferme strong,
.egc-ag__ouvert.est-ferme .egc-ag__ouvert-point {
	color: #B3261E;
}

@keyframes egc-ag-pouls {
	0% {
		box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.5);
	}
	70% {
		box-shadow: 0 0 0 6px rgba(46, 125, 50, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.egc-ag__ouvert.est-ouvert .egc-ag__ouvert-point {
		animation: none;
	}
}

/* Jour courant dans le détail des horaires. */
.egc-ag__horaires .est-aujourdhui dt,
.egc-ag__horaires .est-aujourdhui dd {
	color: var(--egc-ag-titre, #85622E);
	font-weight: 700;
}

@media (max-width: 767px) {
	.egc-ag__ouvert-detail {
		display: none;
	}
}

/* Vignettes arrondies : Elementor impose « .elementor img { border-radius: 0 } », sélecteur renforcé. */
.egc-ag img.egc-ag__vignette,
.egc-ag span.egc-ag__vignette {
	border-radius: 14px;
}
