/* LaRue – Ligne du temps */
.lr-ldt {
	/* Couleur de secours : le texte des époques s'affiche en blanc si sa couleur ne se rend pas */
	--t-ep: #ffffff;
	container: lrtl / inline-size;
	max-width: var(--maxw, 1000px);
	margin: 0 auto;
	color: var(--t-text);
	font-family: var(--f-body);
	font-size: var(--body-size);
	box-sizing: border-box;
}
.lr-ldt *, .lr-ldt *::before, .lr-ldt *::after { box-sizing: border-box; }
.lr-ldt [hidden] { display: none !important; }

/* Boutons de filtre */
.lr-ldt .lr-nav { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 0 0 28px; }
.lr-ldt .lr-nav button {
	font: inherit; font-size: .85em; font-weight: 600; cursor: pointer; padding: 7px 14px; border-radius: 999px;
	border: 1.5px solid var(--t-accent); background: transparent; color: var(--t-text); line-height: 1.2;
}
.lr-ldt .lr-nav button[aria-pressed="true"] { background: var(--t-accent); color: var(--on-accent); }

/* Ligne */
.lr-ldt .lr-track { position: relative; --x: 50%; }
.lr-ldt .lr-track::before {
	content: ""; position: absolute; top: 0; bottom: var(--lend, 0px); left: var(--x);
	transform: translateX(-50%); width: 0; border-left: var(--lw) var(--ls) var(--t-line);
}
.line--degrade .lr-track::before {
	border: 0; width: var(--lw);
	background: linear-gradient(to bottom, var(--t-accent), var(--t-line) 70%, transparent);
}

/* Bout de ligne vers « À suivre... » */
.lr-ldt .lr-fin-seg {
	position: absolute; left: var(--x); transform: translateX(-50%); width: 0; z-index: 0;
	border-left: max(var(--lw), 2px) dotted var(--t-line);
}
.finseg--tirets .lr-fin-seg { border-left-style: dashed; }
.lay--horiz .lr-fin-seg, .fx--dessiner .lr-fin-seg { display: none; }

/* Remplissage au défilement */
.lr-ldt .lr-fill {
	position: absolute; top: 0; left: var(--x); z-index: 1;
	width: max(var(--lw), 3px); height: 0; transform: translateX(-50%);
	background: var(--t-fx); border-radius: 99px; pointer-events: none; transition: height .12s linear;
}
.fx--remplir-degrade .lr-fill { background: linear-gradient(to bottom, color-mix(in srgb, var(--t-fx) 15%, transparent), var(--t-fx) 85%); }
.fx-head .lr-fill::after {
	content: ""; position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%);
	width: 14px; height: 14px; border-radius: 50%; background: var(--t-fx);
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--t-fx) 30%, transparent), 0 0 18px 4px color-mix(in srgb, var(--t-fx) 55%, transparent);
}
.fx--aucun .lr-fill, .lay--horiz .lr-fill { display: none; }
.fx--dessiner .lr-track::before { opacity: 0; }
.fx-dots .lr-dot { transition: background-color .35s ease, border-color .35s ease, color .35s ease, scale .35s ease; }
.fx-dots .lr-dot:not(.lr-on) { background: var(--t-line); color: var(--t-text); }
.fx-dots.dot--anneau .lr-dot:not(.lr-on) { background: var(--t-page); border-color: var(--t-line); }
.fx-dots .lr-dot.lr-on { scale: 1.15; }
.year--pastille.fx-dots .lr-dot.lr-on { scale: 1; }

/* Étapes */
.lr-ldt .lr-it { position: relative; width: 50%; padding: 0 calc(var(--dot) + 22px) var(--gap); }
.lr-ldt .lr-it.lr-g { margin-right: 50%; text-align: right; }
.lr-ldt .lr-it.lr-d { margin-left: 50%; text-align: left; }
.lr-ldt .lr-dot {
	position: absolute; top: var(--dot-top); z-index: 2; width: var(--dot); height: var(--dot);
	background: var(--t-accent); border-radius: 50%; box-shadow: 0 0 0 4px var(--t-page); transform: translate(-50%, 0);
}
.lr-ldt .lr-it.lr-g .lr-dot { left: 100%; }
.lr-ldt .lr-it.lr-d .lr-dot { left: 0; }
.dot--carre .lr-dot { border-radius: 3px; }
.dot--losange .lr-dot { border-radius: 2px; transform: translate(-50%, 0) rotate(45deg); }
.dot--anneau .lr-dot { background: var(--t-page); border: 3px solid var(--t-accent); box-shadow: 0 0 0 3px var(--t-page); }
.dot--halo .lr-dot { box-shadow: 0 0 0 4px var(--t-page), 0 0 0 8px color-mix(in srgb, var(--t-accent) 30%, transparent); }

/* Année dans une pastille sur la ligne */
.year--pastille .lr-dot {
	width: auto; height: auto; padding: 5px 12px; border-radius: 999px; border: 0;
	background: var(--t-accent); color: var(--on-accent); white-space: nowrap; line-height: 1.2;
	font-family: var(--f-head); font-weight: 800; font-size: calc(var(--year-size) * .55);
	transform: translate(-50%, 0); top: calc(var(--dot-top) - 4px);
}
.lr-ldt.year--pastille .lr-it { padding-left: 0; padding-right: 0; }
.lr-ldt.year--pastille .lr-it.lr-g { padding-right: 70px; }
.lr-ldt.year--pastille .lr-it.lr-d { padding-left: 70px; }
.year--pastille .lr-annee { display: none !important; }

/* Cartes */
.lr-ldt .lr-card { border-radius: var(--radius); padding: var(--pad); text-align: inherit; display: flex; flex-direction: column; }
.card--ombre .lr-card { background: var(--t-card); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.card--bordure .lr-card { background: var(--t-card); border: 1.5px solid var(--t-line); }
.card--teinte .lr-card { background: color-mix(in srgb, var(--t-accent) 12%, var(--t-card)); }
.card--accent .lr-card { background: var(--t-card); box-shadow: 0 4px 14px rgba(0,0,0,.06); border-top: 5px solid var(--t-accent); }
.card--minimal .lr-card { background: transparent; padding-top: 0; padding-left: 0; padding-right: 0; }
.card--verre .lr-card { background: color-mix(in srgb, var(--t-card) 70%, transparent); border: 1px solid color-mix(in srgb, var(--t-line) 60%, transparent); backdrop-filter: blur(6px); }
.lr-ldt .lr-it.lr-g .lr-card { align-items: flex-end; }
.lr-ldt .lr-it.lr-d .lr-card { align-items: flex-start; }
.lr-ldt .lr-card > * { max-width: 100%; }
.lr-ldt .lr-card > .lr-titre, .lr-ldt .lr-card > .lr-texte, .lr-ldt .lr-card > .lr-photo, .year--haut .lr-card > .lr-annee { align-self: stretch; }

.lr-ldt .lr-annee {
	display: block; font-family: var(--f-head); font-weight: 800; line-height: 1; margin: 0 0 8px;
	font-size: var(--year-size); color: var(--t-year); font-variant-numeric: lining-nums;
}
.year--badge .lr-annee {
	display: inline-block; font-size: calc(var(--year-size) * .5); padding: 5px 10px; border-radius: 6px;
	background: var(--t-year); color: var(--on-year); margin-bottom: 10px;
}
.lr-ldt .lr-titre {
	margin: 0 0 6px; padding: 0; font-family: var(--f-head); font-weight: 700; font-size: var(--title-size);
	line-height: 1.25; color: var(--t-title); text-wrap: balance; letter-spacing: normal; text-transform: none;
}
.lr-ldt .lr-texte { margin: 0; line-height: 1.6; color: var(--t-text); font-size: 1em; }
.lr-ldt .lr-texte p { margin: 0 0 .6em; color: inherit; font-size: inherit; font-family: inherit; line-height: inherit; }
/* Les couleurs choisies gagnent toujours sur celles du thème (Astra, Elementor) */
.lr-ldt .lr-card .lr-titre, .lr-ldt .lr-card h4.lr-titre { color: var(--t-title, #1f1f1f); }
.lr-ldt .lr-card .lr-texte, .lr-ldt .lr-card .lr-texte p, .lr-ldt .lr-card .lr-texte li { color: var(--t-text, #2b2b2b); }
.lr-ldt .lr-card .lr-annee { color: var(--t-year); }
.year--badge .lr-card .lr-annee { color: var(--on-year); }
.lr-ldt .lr-ep, .lr-ldt .lr-ep .lr-ep-p, .lr-ldt .lr-ep h3.lr-ep-t, .lr-ldt .lr-ep .lr-ep-t { color: var(--t-ep, #ffffff); }
.lr-ldt .lr-annee, .lr-ldt .lr-titre, .lr-ldt .lr-ep-t { overflow-wrap: break-word; max-width: 100%; }
.lr-ldt .lr-texte p:last-child { margin-bottom: 0; }
.lr-ldt .lr-texte a { color: var(--t-year); }
.txt--court .lr-texte { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.txt--court .lr-card.lr-open .lr-texte { -webkit-line-clamp: unset; display: block; }
.lr-ldt .lr-lire {
	margin-top: 8px; font: inherit; font-size: .85em; font-weight: 700; color: var(--t-year);
	background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}

/* Liens */
.lr-ldt .lr-lien { margin-top: 12px; font-weight: 700; font-size: .92em; color: var(--t-year); text-underline-offset: 3px; border-radius: 4px; }
.lr-ldt .lr-lien:focus-visible, .lr-ldt button:focus-visible { outline: 2px solid var(--t-accent); outline-offset: 3px; }
.lien--souligne .lr-lien { text-decoration: underline; }
.lien--fleche .lr-lien { text-decoration: none; }
.lien--fleche .lr-lien::after { content: " \2192"; display: inline-block; transition: transform .2s ease; }
.lien--fleche .lr-lien:hover::after { transform: translateX(4px); }
.lien--fleche .lr-lien:hover { text-decoration: underline; }
.lien--plein .lr-lien, .lien--contour .lr-lien { text-decoration: none; padding: 8px 16px; border-radius: max(4px, calc(var(--radius) * .6)); }
.lien--plein .lr-lien { background: var(--t-accent); color: var(--on-accent); }
.lien--plein .lr-lien:hover { filter: brightness(1.08); color: var(--on-accent); }
.lien--contour .lr-lien { border: 2px solid var(--t-accent); color: var(--t-title); }
.lien--contour .lr-lien:hover { background: color-mix(in srgb, var(--t-accent) 12%, transparent); }

/* Alignement choisi */
.al-annee--gauche .lr-annee { text-align: left; align-self: flex-start; }
.al-annee--centre .lr-annee { text-align: center; align-self: center; }
.al-annee--droite .lr-annee { text-align: right; align-self: flex-end; }
.year--haut.al-annee--gauche .lr-card > .lr-annee, .year--haut.al-annee--centre .lr-card > .lr-annee, .year--haut.al-annee--droite .lr-card > .lr-annee { align-self: stretch; }
.al-titre--gauche .lr-titre { text-align: left; }
.al-titre--centre .lr-titre { text-align: center; }
.al-titre--droite .lr-titre { text-align: right; }
.al-titre--justifie .lr-titre { text-align: justify; hyphens: auto; }
.al-texte--gauche .lr-texte { text-align: left; }
.al-texte--centre .lr-texte { text-align: center; }
.al-texte--droite .lr-texte { text-align: right; }
.al-texte--justifie .lr-texte { text-align: justify; hyphens: auto; }
.al-texte--gauche .lr-lire, .al-texte--justifie .lr-lire, .al-texte--gauche .lr-lien, .al-texte--justifie .lr-lien { align-self: flex-start; }
.al-texte--centre .lr-lire, .al-texte--centre .lr-lien { align-self: center; }
.al-texte--droite .lr-lire, .al-texte--droite .lr-lien { align-self: flex-end; }
.al-ep--gauche .lr-ep { margin-left: 0 !important; margin-right: auto !important; text-align: left !important; }
.al-ep--centre .lr-ep { margin-left: auto !important; margin-right: auto !important; text-align: center !important; }
.al-ep--droite .lr-ep { margin-left: auto !important; margin-right: 0 !important; text-align: right !important; }

/* Photos */
.lr-ldt .lr-photo { margin: 12px 0 0; max-width: 100%; display: grid; gap: 6px; width: 100%; }
.lr-ldt .lr-photo-cadre {
	aspect-ratio: var(--ratio, 16 / 9); max-width: 100%; overflow: hidden; border-radius: var(--pr);
	background: color-mix(in srgb, var(--t-accent) 12%, var(--t-card));
}
.lr-ldt .lr-photo-cadre img {
	display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; margin: 0;
	object-position: var(--px) var(--py); transform: scale(var(--pz)); transform-origin: var(--px) var(--py); filter: var(--pf);
}
.lr-ldt .lr-photo figcaption { font-size: .8em; font-style: italic; opacity: .75; line-height: 1.4; margin: 0; }
.photo--haut .lr-card > .lr-photo { margin: 0 0 12px; order: -1; }
.pcadre--fine .lr-photo-cadre { border: 1.5px solid var(--t-line); }
.pcadre--accent .lr-photo-cadre { border: 3px solid var(--t-accent); }
.pcadre--polaroid .lr-photo-cadre { border: 8px solid #fff; border-bottom-width: 22px; box-shadow: 0 4px 14px rgba(0,0,0,.14); }
.pombre .lr-photo-cadre { box-shadow: 0 10px 24px rgba(0,0,0,.18); }

/* Photo à côté du texte */
.photo--cote .lr-card.lr-has-photo { display: grid; grid-template-columns: minmax(0, 1fr) 42%; column-gap: 16px; align-items: start; }
.photo--cote .lr-card.lr-has-photo > * { grid-column: 1; }
.photo--cote .lr-card.lr-has-photo > .lr-photo { grid-column: 2; grid-row: 1 / span 6; margin: 0; }
.photo--cote.lay--alt .lr-it.lr-g .lr-card.lr-has-photo { grid-template-columns: 42% minmax(0, 1fr); }
.photo--cote.lay--alt .lr-it.lr-g .lr-card.lr-has-photo > * { grid-column: 2; }
.photo--cote.lay--alt .lr-it.lr-g .lr-card.lr-has-photo > .lr-photo { grid-column: 1; }

/* Photo de l'autre côté de la ligne */
.photo--oppose.lay--alt .lr-it.lr-op {
	width: 100%; margin: 0; padding: 0 0 var(--gap);
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: calc((var(--dot) + 22px) * 2); align-items: start;
}
.photo--oppose.lay--alt.year--pastille .lr-it.lr-op { column-gap: 140px; }
.photo--oppose.lay--alt .lr-it.lr-op .lr-dot { left: 50%; }
.photo--oppose.lay--alt .lr-it.lr-op.lr-g .lr-card { grid-column: 1; grid-row: 1; }
.photo--oppose.lay--alt .lr-it.lr-op.lr-g .lr-photo-op { grid-column: 2; grid-row: 1; margin: 0; }
.photo--oppose.lay--alt .lr-it.lr-op.lr-d .lr-card { grid-column: 2; grid-row: 1; }
.photo--oppose.lay--alt .lr-it.lr-op.lr-d .lr-photo-op { grid-column: 1; grid-row: 1; margin: 0; }

/* Époques */
.lr-ldt .lr-ep { position: relative; z-index: 3; margin: 6px auto calc(var(--gap) * .9); text-align: center; }
.lr-ldt .lr-ep-p { display: block; font-size: .75em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.lr-ldt .lr-ep-t { margin: 2px 0 0; padding: 0; font-family: var(--f-head); font-weight: 800; line-height: 1.15; color: inherit; }
.ep--pastille .lr-ep { width: max-content; max-width: 92%; padding: 10px 24px; border-radius: 999px; background: var(--t-ep-bg, #FBBB11); color: var(--on-accent); }
.lr-ldt .lr-ep .lr-ep-t { font-size: var(--ep-size, 22px); }
.lr-ldt .lr-ep .lr-ep-p { font-size: var(--ep-per-size, 12px); }
.ep--bandeau .lr-ep { padding: 18px 22px; border-radius: var(--radius); background: var(--t-ep-bg, #FBBB11); color: var(--on-accent); }
.ep--texte .lr-ep { width: max-content; max-width: 92%; padding: 8px 18px; background: var(--t-page); color: var(--t-title); }
.ep--texte .lr-ep-p { color: var(--t-year); }
.ep--masque .lr-ep, .ep--masque .lr-ep-wrap { display: none; }

/* Tout à gauche / tout à droite */
.lay--gauche .lr-track { --x: 22px; }
.lr-ldt.lay--gauche .lr-it { width: 100%; margin: 0; padding: 0 0 var(--gap) calc(22px + var(--dot) + 24px); text-align: left; }
.lr-ldt.lay--gauche .lr-it .lr-dot { left: 22px; }
.lr-ldt.lay--gauche .lr-it .lr-card { align-items: flex-start; }
.lay--gauche .lr-ep { margin-left: 0; text-align: left; }
.lr-ldt.lay--gauche.year--pastille .lr-it { padding-left: 100px; }
.lay--droite .lr-track { --x: calc(100% - 22px); }
.lr-ldt.lay--droite .lr-it { width: 100%; margin: 0; padding: 0 calc(22px + var(--dot) + 24px) var(--gap) 0; text-align: right; }
.lr-ldt.lay--droite .lr-it .lr-dot { left: calc(100% - 22px); }
.lr-ldt.lay--droite .lr-it .lr-card { align-items: flex-end; }
.lay--droite .lr-ep { margin-right: 0; text-align: right; }
.lr-ldt.lay--droite.year--pastille .lr-it { padding-right: 100px; }

/* Horizontale */
.lay--horiz .lr-track { display: flex; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x proximity; }
.lay--horiz .lr-track::before { display: none; }
.lr-ldt.lay--horiz .lr-it, .lay--horiz .lr-ep-wrap {
	flex: 0 0 280px; width: auto; margin: 0; padding: calc(var(--dot-top) + var(--dot) + 26px) 14px 0; text-align: left;
	position: relative; scroll-snap-align: start;
}
.lr-ldt.lay--horiz .lr-it::before, .lay--horiz .lr-ep-wrap::before {
	content: ""; position: absolute; left: 0; right: 0; top: calc(var(--dot-top) + var(--dot) / 2);
	border-top: var(--lw) var(--ls) var(--t-line); transform: translateY(-50%);
}
.lay--horiz .lr-track > .lr-it:last-child::before { right: calc(100% - 26px); }
.lay--horiz.line--degrade .lr-it::before { border: 0; height: var(--lw); background: var(--t-accent); opacity: .5; }
.lr-ldt.lay--horiz .lr-it .lr-dot { left: 26px; }
.lr-ldt.lay--horiz .lr-it .lr-card { align-items: flex-start; height: 100%; }
.lay--horiz .lr-ep-wrap { flex-basis: 220px; display: flex; align-items: flex-start; }
.lay--horiz .lr-ep { margin: 0; text-align: left; width: 100%; max-width: 100%; }

/* Dernière étape « À suivre... » */
.lr-ldt:not(.fincadre--comme) .lr-it.lr-finale .lr-card { border: 2px dashed color-mix(in srgb, var(--t-accent) 55%, transparent); }
.card--minimal .lr-it.lr-finale .lr-card { border: 0; }
.lr-ldt:not(.fincadre--comme) .lr-it.lr-finale .lr-annee { font-style: italic; }
.lr-ldt .lr-dot-fin { box-shadow: 0 0 0 4px var(--t-page), 0 0 0 7px color-mix(in srgb, var(--t-accent) 35%, transparent); }
.finhalo--non .lr-dot-fin { box-shadow: 0 0 0 4px var(--t-page); }

/* Ligne autour de la carte « À suivre... » */
.fincadre--aucun .lr-it.lr-finale .lr-card { border: 0 !important; }
.fincadre--tirets .lr-it.lr-finale .lr-card { border-style: dashed !important; }
.fincadre--plein .lr-it.lr-finale .lr-card { border: 2px solid var(--t-accent); }
.lr-fete.fincadre--aucun .lr-it.lr-finale .lr-card { box-shadow: 0 10px 30px rgba(0,0,0,.12); }

/* Aucune animation d'apparition pour la carte « À suivre... » */
.finanim--non .lr-it.lr-finale .lr-card, .finanim--non .lr-it.lr-finale .lr-card *, .finanim--non .lr-it.lr-finale > .lr-dot { animation: none !important; opacity: 1 !important; }
.finanim--non.lr-fete .lr-it.lr-finale > .lr-dot-fin { animation: lr-pulse 1.1s ease-in-out infinite !important; }
@keyframes lr-pulse {
	0%, 100% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--t-fx) 35%, transparent), 0 0 26px 8px color-mix(in srgb, var(--t-fx) 70%, transparent); }
	50% { box-shadow: 0 0 0 12px color-mix(in srgb, #ffd54a 40%, transparent), 0 0 46px 18px color-mix(in srgb, #ffd54a 75%, transparent); }
}
.lr-fete.fx-head .lr-fill::after {
	width: 22px; height: 22px; bottom: -11px;
	background: radial-gradient(circle, #fff 0 25%, #ffd54a 45%, var(--t-fx) 100%);
	animation: lr-pulse 1.1s ease-in-out infinite;
}
.lr-ldt.lr-fete .lr-dot-fin { background: #ffd54a; scale: 1.3; animation: lr-pulse 1.1s ease-in-out infinite; }
.lr-fete.fincadre--tirets-plein .lr-it.lr-finale .lr-card { border-style: solid; border-color: var(--t-accent); }
.lr-fete:not(.fincadre--aucun):not(.fincadre--comme) .lr-it.lr-finale .lr-card { box-shadow: 0 0 0 4px color-mix(in srgb, var(--t-accent) 18%, transparent), 0 10px 30px rgba(0,0,0,.12); transition: box-shadow .4s ease; }
.lr-confettis { position: absolute; width: 0; height: 0; z-index: 5; pointer-events: none; }
.lr-confettis i { position: absolute; left: 0; top: 0; width: 8px; height: 12px; border-radius: 2px; background: var(--c); animation: lr-confetti 1.5s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes lr-confetti {
	0% { transform: translate(-50%, -50%) rotate(0) scale(.4); opacity: 1; }
	70% { opacity: 1; }
	100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--r)) scale(1); opacity: 0; }
}

/* Menu déroulant */
.lr-ldt .lr-toggle {
	display: none; width: 100%; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 20px;
	font: inherit; text-align: left; cursor: pointer; padding: 16px 18px; border-radius: var(--radius);
	border: 2px solid var(--t-accent); background: var(--t-card); color: var(--t-title); line-height: 1.3;
}
.lr-ldt .lr-toggle-txt { display: grid; gap: 2px; }
.lr-ldt .lr-toggle-titre { font-family: var(--f-head); font-weight: 800; font-size: 1.15em; }
.lr-ldt .lr-toggle-sous { font-size: .85em; color: var(--t-text); opacity: .8; font-weight: 400; }
.lr-ldt .lr-chev {
	flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
	background: var(--t-accent); color: var(--on-accent); font-size: 18px; line-height: 1; transition: transform .3s ease;
}
.lr-ouvert .lr-chev { transform: rotate(180deg); }
@keyframes lr-fondu { from { opacity: 0; } to { opacity: 1; } }
.lr-ouvert .lr-body { animation: lr-fondu .4s ease both; }
/* Points de rupture d'Elementor : cellulaire ≤ 767 px, tablette 768-1024 px, ordinateur ≥ 1025 px */
@media (min-width: 1025px) {
	.rdk .lr-toggle { display: flex; }
	.rdk:not(.lr-ouvert) .lr-body { display: none; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.rtb .lr-toggle { display: flex; }
	.rtb:not(.lr-ouvert) .lr-body { display: none; }
}
@media (max-width: 767px) {
	.rmb .lr-toggle { display: flex; }
	.rmb:not(.lr-ouvert) .lr-body { display: none; }
}

/* Section étroite (cellulaire) : tout passe à gauche */
@container lrtl (max-width: 640px) {
	.lay--alt .lr-track { --x: 22px; }
	.lr-ldt.lay--alt .lr-it, .lr-ldt.lay--alt .lr-it.lr-g, .lr-ldt.lay--alt .lr-it.lr-d { width: 100%; margin: 0; padding: 0 0 var(--gap) calc(22px + var(--dot) + 20px); text-align: left; }
	.lr-ldt.lay--alt .lr-it .lr-dot, .lr-ldt.lay--alt .lr-it.lr-g .lr-dot, .lr-ldt.lay--alt .lr-it.lr-d .lr-dot { left: 22px; }
	.lr-ldt.lay--alt .lr-it .lr-card { align-items: flex-start; }
	.lay--alt .lr-ep { margin-left: 0; text-align: left; }
	.lr-ldt.lay--alt.year--pastille .lr-it, .lr-ldt.lay--alt.year--pastille .lr-it.lr-g, .lr-ldt.lay--alt.year--pastille .lr-it.lr-d { padding-left: 96px; padding-right: 0; }
	.lr-ldt .lr-ep .lr-ep-t { font-size: calc(var(--ep-size, 22px) * .8); }
	.lr-ldt .lr-annee { font-size: min(var(--year-size), 15cqi); }
	.lr-ldt .lr-titre { font-size: min(var(--title-size), 9cqi); }
	.photo--oppose.lay--alt .lr-it.lr-op.lr-g, .photo--oppose.lay--alt .lr-it.lr-op.lr-d { display: block; padding: 0 0 var(--gap) calc(22px + var(--dot) + 20px); }
	.photo--oppose.lay--alt.year--pastille .lr-it.lr-op.lr-g, .photo--oppose.lay--alt.year--pastille .lr-it.lr-op.lr-d { padding-left: 96px; }
	.photo--oppose.lay--alt .lr-it.lr-op .lr-dot { left: 22px; }
	.photo--oppose.lay--alt .lr-it.lr-op .lr-photo-op { margin-top: 12px; }
	.photo--cote .lr-card.lr-has-photo, .photo--cote.lay--alt .lr-it.lr-g .lr-card.lr-has-photo { display: flex; flex-direction: column; }
	.photo--cote .lr-card.lr-has-photo > .lr-photo { margin-top: 12px; }
}

/* Apparition des étapes (seulement si JavaScript est actif) */
@keyframes lr-monte { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes lr-zoom { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes lr-glisse-g { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes lr-glisse-d { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.lr-anim-pret .lr-it:not(.lr-in) .lr-card, .lr-anim-pret .lr-it:not(.lr-in) .lr-photo-op { opacity: 0; }
.anim--fondu .lr-in .lr-card, .anim--fondu .lr-in .lr-photo-op { animation: lr-fondu var(--adur, .6s) ease both; }
.anim--monte .lr-in .lr-card, .anim--monte .lr-in .lr-photo-op { animation: lr-monte var(--adur, .6s) ease both; }
.anim--zoom .lr-in .lr-card, .anim--zoom .lr-in .lr-photo-op { animation: lr-zoom var(--adur, .5s) ease both; }
.anim--glisse .lr-in.lr-g .lr-card, .anim--glisse.lay--gauche .lr-in .lr-card { animation: lr-glisse-g var(--adur, .6s) ease both; }
.anim--glisse .lr-in.lr-d .lr-card, .anim--glisse.lay--droite .lr-in .lr-card { animation: lr-glisse-d var(--adur, .6s) ease both; }
.anim--glisse .lr-in .lr-photo-op { animation: lr-fondu var(--adur, .6s) ease both; }

/* Effets de mouvement par élément (fade in up, etc.) */
@keyframes lr-a-fondu { from { opacity: 0; } }
@keyframes lr-a-up { from { opacity: 0; translate: 0 26px; } }
@keyframes lr-a-down { from { opacity: 0; translate: 0 -26px; } }
@keyframes lr-a-left { from { opacity: 0; translate: -40px 0; } }
@keyframes lr-a-right { from { opacity: 0; translate: 40px 0; } }
@keyframes lr-a-zoom { from { opacity: 0; scale: .8; } }
@keyframes lr-a-rebond { 0% { opacity: 0; scale: .55; } 60% { opacity: 1; scale: 1.08; } 80% { scale: .97; } }
@keyframes lr-a-flou { from { opacity: 0; filter: blur(10px); } }
.lr-anim-pret.ah-annee .lr-it:not(.lr-in) .lr-annee,
.lr-anim-pret.ah-titre .lr-it:not(.lr-in) .lr-titre,
.lr-anim-pret.ah-texte .lr-it:not(.lr-in) .lr-texte,
.lr-anim-pret.ah-texte .lr-it:not(.lr-in) .lr-lire,
.lr-anim-pret.ah-lien .lr-it:not(.lr-in) .lr-lien,
.lr-anim-pret.ah-photo .lr-it:not(.lr-in) .lr-photo,
.lr-anim-pret.ah-dot .lr-it:not(.lr-in) > .lr-dot,
.lr-anim-pret.ah-ep .lr-ep:not(.lr-in) { opacity: 0; }
.lr-ldt.ah-annee .lr-in .lr-annee { animation: var(--ani-annee) var(--adur) cubic-bezier(.2,.7,.3,1) calc(var(--astag) * 1) both; }
.lr-ldt.ah-titre .lr-in .lr-titre { animation: var(--ani-titre) var(--adur) cubic-bezier(.2,.7,.3,1) calc(var(--astag) * 2) both; }
.lr-ldt.ah-texte .lr-in .lr-texte, .lr-ldt.ah-texte .lr-in .lr-lire { animation: var(--ani-texte) var(--adur) cubic-bezier(.2,.7,.3,1) calc(var(--astag) * 3) both; }
.lr-ldt.ah-lien .lr-in .lr-lien { animation: var(--ani-lien) var(--adur) cubic-bezier(.2,.7,.3,1) calc(var(--astag) * 4) both; }
.lr-ldt.ah-photo .lr-in .lr-photo { animation: var(--ani-photo) var(--adur) cubic-bezier(.2,.7,.3,1) calc(var(--astag) * 5) both; }
.lr-ldt.ah-dot .lr-in > .lr-dot { animation: var(--ani-dot) var(--adur) cubic-bezier(.2,.7,.3,1) both; }
.lr-ldt.ah-ep .lr-ep.lr-in { animation: var(--ani-ep) var(--adur) cubic-bezier(.2,.7,.3,1) both; }
.lr-ldt.ah-dot.lr-fete .lr-in > .lr-dot-fin { animation: lr-pulse 1.1s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
	.lr-ldt .lr-annee, .lr-ldt .lr-titre, .lr-ldt .lr-texte, .lr-ldt .lr-lire, .lr-ldt .lr-lien, .lr-ldt .lr-photo, .lr-ldt .lr-dot, .lr-ldt .lr-ep { animation: none !important; opacity: 1 !important; }
	.lr-ldt .lr-card, .lr-ldt .lr-photo-op, .lr-fete .lr-dot-fin, .lr-fete.fx-head .lr-fill::after { animation: none !important; opacity: 1 !important; }
	.lr-confettis { display: none; }
}
