/* Avis Google – Les Évadés : carrousel */
.eag {
	--eag-bg: #ffffff;
	--eag-card: #faf6f2;
	--eag-border: #eee1d9;
	--eag-text: #360f0f;
	--eag-muted: #6b5a5a;
	--eag-accent: #c4453d;
	--eag-star: #fbbc04;
	--eag-radius: 16px;
	--eag-gap: 20px;
	box-sizing: border-box;
	max-width: 1200px;
	margin: 0 auto;
	padding: 56px 24px;
	background: var(--eag-bg);
	color: var(--eag-text);
	font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.5;
}
.eag *, .eag *::before, .eag *::after { box-sizing: border-box; }

/* En-tête */
.eag__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}
.eag__brand { display: flex; align-items: center; gap: 16px; }
.eag__brand-text { display: flex; flex-direction: column; gap: 4px; }
.eag__title {
	margin: 0;
	font-family: inherit;
	font-size: 2.1rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--eag-text);
}
.eag__subtitle { margin: 0; font-size: 1rem; color: var(--eag-muted); }

.eag__score {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	padding: 14px 22px;
	background: var(--eag-card);
	border: 1px solid var(--eag-border);
	border-radius: var(--eag-radius);
	text-decoration: none !important;
	color: var(--eag-text);
	transition: box-shadow .25s ease, transform .25s ease;
}
.eag__score:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .08); transform: translateY(-1px); }
.eag__score-num { font-size: 3.1rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.eag__score-meta { display: flex; flex-direction: column; gap: 4px; }
.eag__score-label { font-size: .95rem; color: var(--eag-muted); text-decoration: underline; text-underline-offset: 3px; }
.eag__score-label strong { color: var(--eag-text); }

/* Étoiles */
.eag__stars { display: inline-flex; gap: 2px; line-height: 1; font-size: 1.15rem; }
.eag__star { color: #d9d3cd; }
.eag__star.is-on { color: var(--eag-star); }
.eag__score-meta .eag__stars { font-size: 1.45rem; letter-spacing: .04em; }

/* Carrousel */
.eag__carousel { position: relative; }
.eag__viewport {
	overflow: hidden;
	outline: none;
	touch-action: pan-y;
	cursor: grab;
	padding: 6px 2px 14px;
	margin: -6px -2px -14px;
}
.eag__viewport.is-dragging { cursor: grabbing; }
.eag__viewport:focus-visible { box-shadow: 0 0 0 3px rgba(196, 69, 61, .35); border-radius: var(--eag-radius); }
.eag__track {
	display: flex;
	align-items: stretch;
	gap: var(--eag-gap);
	list-style: none;
	margin: 0;
	padding: 0;
	will-change: transform;
}
.eag__slide { flex: 0 0 auto; list-style: none; margin: 0; padding: 0; min-width: 0; }
.eag__card {
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	background: var(--eag-card);
	border: 1px solid var(--eag-border);
	border-radius: var(--eag-radius);
	box-shadow: 0 10px 30px rgba(54, 15, 15, .06);
	user-select: none;
	-webkit-user-select: none;
}
.eag__card-head { display: flex; align-items: center; gap: 12px; }
.eag__avatar {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--eag-accent);
	color: #fff;
	font-weight: 700;
	font-size: 1.1rem;
}
.eag__author { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.eag__name { font-weight: 600; font-size: 1rem; line-height: 1.3; color: var(--eag-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eag__date { font-size: .85rem; line-height: 1.3; color: var(--eag-muted); }
.eag__card-head .eag__g { flex: 0 0 22px; }
.eag__text {
	margin: 0;
	font-size: .98rem;
	line-height: 1.6;
	color: #3a2f2f;
	display: -webkit-box !important;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.eag__card.is-open .eag__text { display: block !important; -webkit-line-clamp: unset; }
.eag__text img.emoji, .eag__text img.wp-smiley { height: 1em !important; width: 1em !important; display: inline !important; vertical-align: -0.1em; margin: 0 .07em; border: 0; box-shadow: none; }
.eag__more {
	align-self: flex-start;
	margin-top: auto;
	padding: 0;
	border: 0;
	background: none;
	color: var(--eag-accent);
	font: inherit;
	font-size: .9rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.eag__more:hover { opacity: .8; }
.eag__more[hidden] { display: none !important; }

/* Contrôles */
.eag__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 26px;
}
.eag__arrow {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid var(--eag-border);
	background: #fff;
	color: var(--eag-text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
}
.eag__arrow:hover:not(:disabled) { background: var(--eag-accent); color: #fff; border-color: var(--eag-accent); transform: translateY(-1px); }
.eag__arrow:disabled { opacity: .35; cursor: default; }
.eag__arrow:focus-visible { outline: 2px solid var(--eag-accent); outline-offset: 2px; }
.eag__dots { display: flex; align-items: center; gap: 10px; }
.eag__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: #d9cfc7;
	cursor: pointer;
	opacity: .9;
	transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.eag__dot:hover { background: var(--eag-muted); }
.eag__dot.is-active { background: var(--eag-accent); transform: scale(1.35); opacity: 1; }
/* Neutralise les styles globaux de boutons du thème / kit Elementor */
.eag .eag__dot, .eag .eag__dot:hover, .eag .eag__dot:focus {
	width: 8px !important;
	height: 8px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	line-height: 0 !important;
	font-size: 0 !important;
	box-shadow: none !important;
	background-image: none !important;
}
.eag .eag__dot { background-color: #d9cfc7 !important; }
.eag .eag__dot:hover { background-color: var(--eag-muted) !important; }
.eag .eag__dot.is-active { background-color: var(--eag-accent) !important; }
.eag .eag__arrow, .eag .eag__arrow:hover, .eag .eag__arrow:focus {
	width: 46px !important;
	height: 46px !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 50% !important;
	line-height: 1 !important;
	box-shadow: none !important;
	background-image: none !important;
}
.eag .eag__arrow { background-color: #fff !important; color: var(--eag-text) !important; border: 1px solid var(--eag-border) !important; }
.eag .eag__arrow:hover:not(:disabled) { background-color: var(--eag-accent) !important; color: #fff !important; border-color: var(--eag-accent) !important; }
.eag .eag__more, .eag .eag__more:hover, .eag .eag__more:focus {
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: var(--eag-accent) !important;
	font-size: .9rem !important;
	line-height: 1.4 !important;
	min-width: 0 !important;
}
.eag__counter { display: none; font-size: .9rem; color: var(--eag-muted); min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; }
.eag__empty { text-align: center; color: var(--eag-muted); }

/* Mobile : compteur à la place des points */
@media (max-width: 640px) {
	.eag { padding: 40px 16px; }
	.eag__head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 22px; }
	.eag__title { font-size: 1.6rem; }
	.eag__score { width: 100%; padding: 12px 16px; gap: 12px; }
	.eag__score-num { font-size: 2.5rem; }
	.eag__dots { display: none; }
	.eag__counter { display: inline-block; }
	.eag__card { padding: 20px; }
	.eag__controls { gap: 14px; margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.eag__track { transition: none !important; }
}
