/* RP Offres du jour : tout est préfixé .rpod- pour ne rien casser du site. */
:root {
	--rpod-accent: #7b4dff;
	--rpod-accent-fonce: #5f33e0;
	--rpod-texte: #1d1240;
	--rpod-clair: #f5f0ff;
	--rpod-rayon: 16px;
	--rpod-ombre: 0 2px 10px rgba(29, 18, 64, .12);
}

[class*="rpod-"][hidden] { display: none !important; }

/* Boutons */
/* Spécificité volontairement élevée (:is + classe doublée, 0,2,1 au repos, 0,3,1 par état) :
   les styles de bouton du thème et du kit Elementor ne doivent jamais l'emporter. */
:is(button, a).rpod-btn.rpod-btn,
:is(button).rpod-menu__declencheur.rpod-menu__declencheur,
:is(button).rpod-menu__retirer.rpod-menu__retirer,
:is(button).rpod-option.rpod-option,
:is(button).rpod-fleche.rpod-fleche,
:is(button).rpod-pastille.rpod-pastille,
:is(button).rpod-fermer.rpod-fermer,
:is(button).rpod-pause.rpod-pause,
:is(button).rpod-lecture.rpod-lecture,
:is(button).rpod-zone.rpod-zone,
:is(button).rpod-info__fermer.rpod-info__fermer {
	box-sizing: border-box;
	margin: 0;
	font-family: inherit;
	font-size: 1rem;
	font-style: normal;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	text-shadow: none;
	cursor: pointer;
}
:is(button, a).rpod-btn.rpod-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border: 2px solid var(--rpod-accent);
	border-radius: 999px;
	background: var(--rpod-accent);
	box-shadow: none;
	color: #fff;
	font-weight: 700;
	text-align: center;
}
:is(button, a).rpod-btn.rpod-btn:is(:hover, :focus, :active) {
	border-color: var(--rpod-accent-fonce);
	background: var(--rpod-accent-fonce);
	box-shadow: none;
	color: #fff;
}
:is(button, a, [class]).rpod-btn.rpod-btn:focus-visible, .rpod-menu__declencheur.rpod-menu__declencheur:focus-visible, .rpod-menu__retirer.rpod-menu__retirer:focus-visible, .rpod-option.rpod-option:focus-visible, .rpod-fleche.rpod-fleche:focus-visible,
.rpod-pastille.rpod-pastille:focus-visible, .rpod-fermer.rpod-fermer:focus-visible,
.rpod-carte:focus-visible, .rpod-ou__liste a:focus-visible {
	outline: 3px solid var(--rpod-texte);
	outline-offset: 2px;
}

/* Cartes et grille */
.rpod-grille {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr;
}
@media (min-width: 480px) { .rpod-grille { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .rpod-grille { grid-template-columns: repeat(3, 1fr); } }

.rpod-carte {
	display: block;
	overflow: hidden;
	border-radius: var(--rpod-rayon);
	border: 1px solid rgba(29, 18, 64, .12);
	background: var(--rpod-clair);
	box-shadow: var(--rpod-ombre);
	color: var(--rpod-texte);
}
.rpod-carte img { display: block; width: 100%; height: auto; }
.rpod-carte__titre { display: block; padding: 24px 16px; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
	.rpod-carte { transition: transform .25s ease, box-shadow .25s ease; }
	.rpod-carte:hover { transform: scale(1.02); box-shadow: 0 6px 18px rgba(29, 18, 64, .18); }
}

/* Archive : filtres */
.rpod-archive { color: var(--rpod-texte); }
.rpod-filtres { position: relative; display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 24px; }
.rpod-menu { position: relative; }
.rpod-menu__barre { display: flex; }
button.rpod-menu__declencheur.rpod-menu__declencheur {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border: 2px solid var(--rpod-accent);
	border-radius: 999px;
	background: #fff;
	box-shadow: none;
	color: var(--rpod-texte);
	font-weight: 400;
}
button.rpod-menu__declencheur.rpod-menu__declencheur svg { width: 16px; height: 16px; }
button.rpod-menu__declencheur.rpod-menu__declencheur:is(:hover, :focus, :active) { border-color: var(--rpod-accent); background: var(--rpod-clair); box-shadow: none; color: var(--rpod-texte); }
.rpod-menu.est-actif button.rpod-menu__declencheur.rpod-menu__declencheur { padding-right: 10px; border-radius: 999px 0 0 999px; background: var(--rpod-accent); color: #fff; font-weight: 700; }
.rpod-menu.est-actif button.rpod-menu__declencheur.rpod-menu__declencheur:is(:hover, :focus, :active) { border-color: var(--rpod-accent-fonce); background: var(--rpod-accent-fonce); color: #fff; }
button.rpod-menu__retirer.rpod-menu__retirer {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-height: 44px;
	padding: 0;
	border: 2px solid var(--rpod-accent);
	border-left: 0;
	border-radius: 0 999px 999px 0;
	background: var(--rpod-accent);
	box-shadow: none;
	color: #fff;
}
button.rpod-menu__retirer.rpod-menu__retirer svg { width: 16px; height: 16px; }
button.rpod-menu__retirer.rpod-menu__retirer:is(:hover, :focus, :active) { border-color: var(--rpod-accent-fonce); background: var(--rpod-accent-fonce); box-shadow: none; color: #fff; }
.rpod-menu__panneau {
	position: absolute;
	z-index: 20;
	top: calc(100% + 6px);
	left: 0;
	box-sizing: border-box;
	min-width: 220px;
	max-width: calc(100vw - 32px);
	max-height: 60vh;
	padding: 6px;
	overflow-y: auto;
	border: 1px solid rgba(29, 18, 64, .12);
	border-radius: var(--rpod-rayon);
	background: #fff;
	box-shadow: 0 8px 24px rgba(29, 18, 64, .16);
}
@media (max-width: 599px) {
	.rpod-menu { position: static; }
	.rpod-menu__panneau { right: 0; max-width: none; }
}
.rpod-option-titre { display: block; padding: 10px 14px 4px; color: #5a5278; font-size: .8125rem; font-weight: 700; }
button.rpod-option.rpod-option {
	display: block;
	width: 100%;
	min-height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	box-shadow: none;
	color: var(--rpod-texte);
	text-align: left;
}
button.rpod-option.rpod-option:is(:hover, :focus, :active) { border: 0; background: var(--rpod-clair); box-shadow: none; color: var(--rpod-texte); }
button.rpod-option.rpod-option[aria-checked="true"] { background: var(--rpod-clair); font-weight: 700; }
.rpod-aucun__contenu { padding: 32px 0; text-align: center; }
.rpod-message { color: var(--rpod-texte); }

/* Slider */
.rpod-slider { position: relative; }
.rpod-piste {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 4px 4px 12px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.rpod-piste::-webkit-scrollbar { display: none; }
.rpod-piste__item { flex: 0 0 85%; margin: 0; scroll-snap-align: start; }
@media (min-width: 600px) { .rpod-piste__item { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 1025px) { .rpod-piste__item { flex-basis: calc((100% - 48px) / 4); } }
@media (prefers-reduced-motion: no-preference) { .rpod-piste { scroll-behavior: smooth; } }
button.rpod-fleche.rpod-fleche {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--rpod-texte);
	box-shadow: 0 2px 8px rgba(29, 18, 64, .25);
	transform: translateY(-50%);
}
button.rpod-fleche.rpod-fleche:is(:hover, :focus, :active) { border: 0; background: var(--rpod-clair); box-shadow: 0 2px 8px rgba(29, 18, 64, .25); color: var(--rpod-texte); }
button.rpod-fleche.rpod-fleche--prec { left: 6px; }
button.rpod-fleche.rpod-fleche--suiv { right: 6px; }
@media (min-width: 600px) { button.rpod-fleche.rpod-fleche { display: flex; } }

/* Points de pagination du slider (mobile) */
.rpod-pg { display: flex; justify-content: center; flex-wrap: wrap; }
@media (min-width: 600px) { .rpod-pg { display: none; } }
button.rpod-pg__pt.rpod-pg__pt {
	box-sizing: border-box;
	position: relative;
	width: 24px;
	height: 24px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
}
button.rpod-pg__pt.rpod-pg__pt::before { content: ""; position: absolute; top: 8px; left: 8px; width: 8px; height: 8px; border-radius: 50%; background: rgba(29, 18, 64, .3); }
button.rpod-pg__pt.rpod-pg__pt:is(:hover, :focus, :active) { border: 0; background: transparent; box-shadow: none; }
button.rpod-pg__pt.rpod-pg__pt[aria-current="true"]::before { background: var(--rpod-accent); }
button.rpod-pg__pt.rpod-pg__pt:focus-visible { outline: 3px solid var(--rpod-texte); outline-offset: 0; }

/* Page d'une offre */
.rpod-single { color: var(--rpod-texte); }
/* Section du haut : fond violet + courbes de niveau (même principe que .em-topo du site, en violet).
   Le padding du haut laisse la place au header fixe transparent. */
.rpod-single__hero {
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	padding: 180px 0 100px;
	background: var(--rpod-accent);
}
/* Fond agrandi (marge invisible à gauche et à droite) qui glisse lentement d'un côté à l'autre. */
.rpod-single__hero::before {
	content: '';
	position: absolute;
	inset: -6% -12%;
	background: url('topo.svg') center / cover no-repeat;
	opacity: .2;
	pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
	.rpod-single__hero::before { animation: rpod-topo 32s ease-in-out infinite alternate; will-change: transform; }
}
@keyframes rpod-topo {
	from { transform: translateX(-6%) scale(1); }
	to { transform: translateX(6%) scale(1.05); }
}
.rpod-single__haut {
	position: relative;
	display: grid;
	gap: 24px;
	box-sizing: border-box;
	width: min(1300px, 90%);
	margin: 0 auto;
	padding: clamp(16px, 3vw, 40px);
	border-radius: 32px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 20px 50px rgba(29, 18, 64, .25);
}
@media (min-width: 768px) {
	.rpod-single__haut { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
}
@media (max-width: 767px) {
	.rpod-single__hero { padding: 120px 0 40px; }
	.rpod-single__hero::before { opacity: .1; }
	.rpod-single__haut { width: calc(100% - 24px); border-radius: 24px; }
}
.rpod-single__visuel img { display: block; width: 100%; height: auto; border: 1px solid rgba(29, 18, 64, .12); border-radius: 20px; }
/* Jours : contour violet sur fond blanc, à ne pas confondre avec le bouton plein. */
.rpod-puces { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.rpod-puce { margin: 0; padding: 6px 16px; border: 2px solid var(--rpod-accent); border-radius: 999px; background: #fff; color: var(--rpod-accent-fonce); font-weight: 700; line-height: 1.3; }
.rpod-puce__auj { margin-left: 6px; padding-left: 8px; border-left: 1px solid currentColor; font-size: .8125rem; font-weight: 600; }
.rpod-periode { margin: 0 0 8px; font-weight: 600; }
.rpod-desc { margin: 8px 0 24px; }
.rpod-desc h2 { margin: 24px 0 6px; padding: 0; color: var(--rpod-texte); font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.15; }
.rpod-desc h2:first-child { margin-top: 12px; }
.rpod-desc p { margin: 0 0 8px; font-size: 1.0625rem; line-height: 1.55; }
.rpod-ou { margin: 0 0 24px; }
.rpod-ou__titre { margin: 0 0 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5b5478; }
.rpod-ou__liste { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rpod-ou__liste li { margin: 0; }
a.rpod-lieu.rpod-lieu {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 12px 0 18px;
	border: 1px solid #e0d6fb;
	border-radius: 999px;
	background: #fff;
	color: var(--rpod-texte);
	font-weight: 600;
	text-decoration: none;
	transition: background-color .15s, border-color .15s;
}
a.rpod-lieu.rpod-lieu svg { width: 18px; height: 18px; color: var(--rpod-accent); }
a.rpod-lieu.rpod-lieu:is(:hover, :focus-visible) { border-color: var(--rpod-accent); background: var(--rpod-clair); color: var(--rpod-texte); }
a.rpod-lieu.rpod-lieu:focus-visible { outline: 3px solid var(--rpod-accent); outline-offset: 2px; }
.rpod-autres { box-sizing: border-box; width: min(1300px, 90%); margin: 0 auto; padding: 80px 0; }
@media (max-width: 767px) {
	.rpod-autres { padding: 40px 0; }
	/* Titres plus petits sur mobile (sélecteurs renforcés : le kit Elementor stylise aussi les h2). */
	.rpod-single .rpod-desc h2 { margin-top: 18px; font-size: 1.45rem; }
	.rpod-single .rpod-desc h2:first-child { margin-top: 10px; }
	.rpod-single h2.rpod-autres__titre { font-size: 1.35rem; }
	.rpod-single .rpod-desc p { font-size: 1rem; }
}
.rpod-autres__titre { margin: 0 0 20px; font-size: clamp(1.375rem, 3vw, 1.75rem); color: inherit; }
.rpod-autres__tout { margin: 24px 0 0; text-align: center; }

/* Pastille fixe */
button.rpod-pastille.rpod-pastille {
	--rpod-bas: 16px;
	position: fixed;
	z-index: 10;
	left: 16px;
	bottom: calc(var(--rpod-bas) + env(safe-area-inset-bottom));
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 80px;
	height: 80px;
	min-width: 80px;
	min-height: 80px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--rpod-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.05;
	text-align: center;
	box-shadow: 0 4px 14px rgba(29, 18, 64, .28);
}
button.rpod-pastille.rpod-pastille:is(:hover, :focus, :active) { border: 0; background: var(--rpod-accent-fonce); box-shadow: 0 4px 14px rgba(29, 18, 64, .28); color: #fff; }
.rpod-pastille__texte { display: block; max-width: 64px; overflow-wrap: anywhere; }
@media (max-width: 768px) {
	button.rpod-pastille.rpod-pastille { width: 70px; height: 70px; min-width: 70px; min-height: 70px; }
	.rpod-pastille__texte { max-width: 56px; font-size: 10px; }
}
body:has(.em-sticky-bar) button.rpod-pastille.rpod-pastille { --rpod-bas: 100px; }
/* Pages activités et restauration : même hauteur que Raffy, que son script remonte de 6vh (9vh sur mobile). */
body:has(.raffy-wa-widget.has-fixed-bar) button.rpod-pastille.rpod-pastille { bottom: 6vh; }
@media (max-width: 768px) {
	body:has(.raffy-wa-widget.has-fixed-bar) button.rpod-pastille.rpod-pastille { bottom: 9vh; }
}
/* Accueil (pas de barre d'actions) : pilule basse, centrée sur la hauteur de la bulle Raffy (80px, 70px sur mobile). */
button.rpod-pastille.rpod-pastille--accueil.rpod-pastille--accueil {
	--rpod-bas: 30px;
	flex-direction: row;
	gap: 8px;
	width: auto;
	min-width: 0;
	height: 52px;
	min-height: 52px;
	padding: 0 20px 0 16px;
	border-radius: 999px;
	font-size: 15px;
	line-height: 1.2;
	white-space: nowrap;
}
.rpod-pastille--accueil .rpod-pastille__texte { max-width: none; overflow-wrap: normal; }
.rpod-pastille--accueil .rpod-point { top: -3px; right: -3px; }
@media (max-width: 768px) {
	button.rpod-pastille.rpod-pastille--accueil.rpod-pastille--accueil { --rpod-bas: 27px; bottom: 16px; width: auto; min-width: 0; height: 48px; min-height: 48px; font-size: 14px; }
	.rpod-pastille--accueil .rpod-pastille__texte { max-width: none; font-size: 14px; }
}
.rpod-point {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 14px;
	height: 14px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #e11d48;
}
@media (prefers-reduced-motion: no-preference) {
	.rpod-pastille { animation: rpod-entree .5s ease .6s backwards; }
}
@keyframes rpod-entree { from { opacity: 0; transform: translateY(12px); } }


/* Dialogue « story » : la hauteur se déduit de la largeur (image 4:5 + bandeau de 124px), donc jamais de défilement. */
.rpod-dialogue { --rpod-u: 1vh; --rpod-bande: 124px; }
@supports (height: 1dvh) { .rpod-dialogue { --rpod-u: 1dvh; } }
html:has(.rpod-dialogue[open]) { overflow: hidden; }
.rpod-dialogue.rpod-dialogue {
	--rpod-l: min(100vw - 16px, (min(100 * var(--rpod-u) - 16px, 900px) - var(--rpod-bande)) * .8);
	box-sizing: border-box;
	width: var(--rpod-l);
	height: calc(var(--rpod-l) * 1.25 + var(--rpod-bande));
	max-width: none;
	max-height: none;
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: var(--rpod-rayon);
	background: #fff;
	color: var(--rpod-texte);
	overflow: hidden;
	-webkit-touch-callout: none;
	user-select: none;
}
.rpod-dialogue::backdrop { background: rgba(20, 10, 50, .7); }
.rpod-slides, .rpod-slide { height: 100%; }
.rpod-slide { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) var(--rpod-bande); }
.rpod-slide__visuel { min-height: 0; overflow: hidden; background: var(--rpod-clair); touch-action: none; }
.rpod-slide__visuel img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.rpod-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Par-dessus l'image : barres de progression, pause, fermeture */
.rpod-haut { position: absolute; z-index: 4; top: 0; left: 0; right: 0; padding: 10px 12px 0; pointer-events: none; }
.rpod-haut::before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 112px; background: linear-gradient(rgba(0, 0, 0, .5), transparent); }
.rpod-barres { display: flex; gap: 4px; }
.rpod-b { flex: 1; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .4); }
.rpod-b i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.rpod-b.est-passee i { transform: none; }
.rpod-b.est-courante i { animation: rpod-remplir var(--rpod-duree, 7s) linear forwards; }
.est-en-pause .rpod-b i { animation-play-state: paused; }
@keyframes rpod-remplir { to { transform: scaleX(1); } }
.rpod-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
button.rpod-fermer.rpod-fermer, button.rpod-pause.rpod-pause, button.rpod-lecture.rpod-lecture {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	box-shadow: none;
	color: #fff;
	pointer-events: auto;
}
button.rpod-fermer.rpod-fermer:is(:hover, :focus, :active), button.rpod-pause.rpod-pause:is(:hover, :focus, :active), button.rpod-lecture.rpod-lecture:is(:hover, :focus, :active) {
	border: 0;
	background: rgba(0, 0, 0, .75);
	box-shadow: none;
	color: #fff;
}

/* Zones de navigation (tiers gauche et droit) */
button.rpod-zone.rpod-zone {
	position: absolute;
	z-index: 2;
	top: 0;
	bottom: var(--rpod-bande);
	display: flex;
	align-items: center;
	width: 33.333%;
	min-height: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--rpod-texte);
	-webkit-tap-highlight-color: transparent;
	touch-action: none;
}
button.rpod-zone.rpod-zone:is(:hover, :focus, :active) { border: 0; background: transparent; box-shadow: none; color: var(--rpod-texte); }
button.rpod-zone.rpod-zone--prec { left: 0; justify-content: flex-start; }
button.rpod-zone.rpod-zone--suiv { right: 0; justify-content: flex-end; }
.rpod-zone__fleche { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); opacity: 0; }
@media (hover: hover) {
	.rpod-zone__fleche { display: flex; }
	.rpod-dialogue:hover .rpod-zone__fleche { opacity: 1; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .rpod-zone__fleche { transition: opacity .2s; } }

/* Focus lisible sur l'image comme sur le blanc */
.rpod-dialogue.rpod-dialogue.rpod-dialogue :is(button, a):focus-visible { outline: 2px solid #fff; outline-offset: 0; box-shadow: 0 0 0 4px rgba(0, 0, 0, .75); }
.rpod-dialogue.rpod-dialogue.rpod-dialogue button.rpod-zone:focus-visible { outline-offset: -4px; box-shadow: inset 0 0 0 6px rgba(0, 0, 0, .75); }

/* Bandeau du bas */
/* Bandeau détaché de l'image (fond blanc franc, ombre vers le haut) : on ne le confond pas avec le visuel. */
.rpod-slide__bande { position: relative; z-index: 2; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: 10px; height: var(--rpod-bande); padding: 10px 12px; overflow: hidden; border-top: 1px solid #e6defa; background: #fff; box-shadow: 0 -10px 24px rgba(29, 18, 64, .16); text-align: center; }
h2.rpod-slide__jour.rpod-slide__jour { display: -webkit-box; margin: 0; padding: 0; overflow: hidden; color: var(--rpod-texte); font-family: inherit; font-size: 1.125rem; font-weight: 700; line-height: 1.25; letter-spacing: normal; text-align: center; text-transform: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.rpod-slide__actions { display: flex; gap: 8px; margin-top: auto; }
.rpod-slide__actions :is(button, a).rpod-btn.rpod-btn { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 0 10px; font-size: .9375rem; line-height: 1.1; }
button.rpod-btn.rpod-btn.rpod-btn--sec { border-color: var(--rpod-accent); background: #fff; color: var(--rpod-texte); }
button.rpod-btn.rpod-btn.rpod-btn--sec:is(:hover, :focus, :active), button.rpod-btn.rpod-btn.rpod-btn--sec[aria-expanded="true"] { border-color: var(--rpod-accent); background: var(--rpod-clair); color: var(--rpod-texte); }

/* « Plus d'infos » : panneau en verre dépoli par-dessus l'image */
.rpod-info {
	position: absolute;
	z-index: 3;
	left: 12px;
	right: 12px;
	bottom: calc(var(--rpod-bande) + 12px);
	display: flex;
	flex-direction: row-reverse;
	align-items: flex-start;
	max-height: calc((100% - var(--rpod-bande)) * .7);
	border: 1px solid rgba(255, 255, 255, .6);
	border-radius: var(--rpod-rayon);
	background: rgba(255, 255, 255, .72);
	-webkit-backdrop-filter: blur(14px) saturate(1.4);
	backdrop-filter: blur(14px) saturate(1.4);
	box-shadow: 0 6px 24px rgba(29, 18, 64, .18);
	color: var(--rpod-texte);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .rpod-info { background: rgba(255, 255, 255, .95); } }
.rpod-info__texte { flex: 1 1 auto; align-self: stretch; max-height: 100%; padding: 14px 4px 14px 16px; overflow-y: auto; font-size: .95rem; line-height: 1.45; user-select: text; }
.rpod-info__texte > :first-child { margin-top: 0; }
.rpod-info__texte > :last-child { margin-bottom: 0; }
button.rpod-info__fermer.rpod-info__fermer { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; min-height: 0; margin: 4px; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; color: var(--rpod-texte); }
button.rpod-info__fermer.rpod-info__fermer:is(:hover, :focus, :active) { border: 0; background: rgba(29, 18, 64, .1); box-shadow: none; color: var(--rpod-texte); }
@media (prefers-reduced-motion: no-preference) { .rpod-info { animation: rpod-fondu .2s ease; } }
@keyframes rpod-fondu { from { opacity: 0; transform: translateY(8px); } }

/* Ordinateur : fenêtre un peu plus petite (mobile inchangé) */
@media (min-width: 769px) {
	.rpod-dialogue.rpod-dialogue { --rpod-l: min(100vw - 16px, (min(100 * var(--rpod-u) - 80px, 820px) - var(--rpod-bande)) * .8); }
}

/* Page liée : navigation manuelle, les barres montrent seulement la position */
.rpod-dialogue[data-mode="page"] .rpod-b.est-courante i { animation: none; transform: none; }

/* Mouvement réduit : barres de position seulement, ni avance ni pause */
@media (prefers-reduced-motion: reduce) {
	.rpod-b.est-courante i { animation: none; transform: none; }
	.rpod-pause, .rpod-lecture { display: none !important; }
}
