/* Articles by 9R39 — affichage public */
html { overflow-x: clip; }

/* Pleine largeur : sort du conteneur (ligne Divi, mise en page contrainte du thème) */
body .a9r-list,
body .a9r-menu {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	box-sizing: border-box;
}

.a9r-section {
	position: relative;
	background: var(--a9r-bg);
	color: var(--a9r-text);
	padding: var(--a9r-pad) 24px;
	scroll-margin-top: calc(var(--a9r-menu-top) + 70px);
}
.a9r-section.a9r-has-divider { padding-bottom: calc(var(--a9r-pad) + var(--a9r-divider)); }

.a9r-inner {
	position: relative;
	z-index: 1;
	max-width: var(--a9r-width);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.a9r-grid {
	display: grid;
	gap: var(--a9r-gap);
	align-items: center;
}
.a9r-valign-start .a9r-grid { align-items: start; }
.a9r-valign-end .a9r-grid { align-items: end; }
.a9r-mirror .a9r-grid { direction: rtl; }
.a9r-mirror .a9r-grid > * { direction: ltr; }

.a9r-zone { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.a9r-zone:empty { display: none; }

.a9r-field { position: relative; min-width: 0; }

/* Titres */
.a9r-section .a9r-title {
	color: var(--a9r-title);
	margin: 0;
	padding: 0;
	line-height: 1.2;
}

/* Texte */
.a9r-section .a9r-text { color: var(--a9r-text); }
.a9r-section .a9r-text > *:first-child { margin-top: 0; }
.a9r-section .a9r-text > *:last-child { margin-bottom: 0; padding-bottom: 0; }
.a9r-section .a9r-text a { color: var(--a9r-ic); text-decoration: underline; }

/* Liste à icônes */
.a9r-section ul.a9r-list-icons {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.a9r-section ul.a9r-list-icons li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	line-height: 1.4;
}
.a9r-section ul.a9r-list-icons li::before { content: none; display: none; }
.a9r-list-icons .a9r-icon { width: 20px; height: 20px; flex: none; color: var(--a9r-ic); }
.a9r-list-icons .a9r-icon-empty { display: inline-block; }
.a9r-list-icons a { color: var(--a9r-ic); text-decoration: none; }
.a9r-list-icons a:hover, .a9r-list-icons a:focus-visible { text-decoration: underline; }

/* Tampon */
.a9r-stamp {
	position: absolute;
	width: var(--a9r-stamp-w);
	height: auto;
	max-width: none;
	z-index: 3;
	pointer-events: none;
}
.a9r-stamp-top-left { top: var(--a9r-stamp-y); left: var(--a9r-stamp-x); }
.a9r-stamp-top-right { top: var(--a9r-stamp-y); right: var(--a9r-stamp-x); }
.a9r-stamp-bottom-left { bottom: var(--a9r-stamp-y); left: var(--a9r-stamp-x); }
.a9r-stamp-bottom-right { bottom: var(--a9r-stamp-y); right: var(--a9r-stamp-x); }
.a9r-stamp { transform: rotate(var(--a9r-stamp-r, 0deg)); transform-origin: 50% 50%; }

/* Galerie */
.a9r-gallery { position: relative; }
.a9r-gallery.a9r-arrows-outside { padding-inline: 52px; }
.a9r-viewport { position: relative; overflow: hidden; width: 100%; }
.a9r-track { display: flex; height: 100%; transition: transform .45s ease; will-change: transform; }
.a9r-slide { flex: 0 0 100%; height: 100%; margin: 0; padding: 0; cursor: zoom-in; }
.a9r-slide img, .a9r-slide .a9r-slide-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: none;
}

.a9r-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--a9r-btn);
	cursor: pointer;
	transition: opacity .2s, background-color .2s;
}
.a9r-nav:hover { opacity: .75; }
.a9r-nav:focus-visible { outline: 2px solid var(--a9r-btn); outline-offset: 2px; }
.a9r-next svg { transform: scaleX(-1); }
.a9r-arrows-outside .a9r-prev { left: 0; }
.a9r-arrows-outside .a9r-next { right: 0; }
.a9r-arrows-outside .a9r-nav { top: calc(50% - var(--a9r-dots-h, 0px) / 2); }
.a9r-dots-outside { --a9r-dots-h: 34px; }
.a9r-arrows-inside .a9r-nav { background: rgba(255, 255, 255, .82); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.a9r-arrows-inside .a9r-prev { left: 12px; }
.a9r-arrows-inside .a9r-next { right: 12px; }
.a9r-arrows-inside.a9r-dots-outside .a9r-nav { top: calc(50% - 17px); }

.a9r-dots { display: flex; justify-content: center; gap: 8px; }
.a9r-dots-outside .a9r-dots { margin-top: 18px; }
.a9r-dots-inside .a9r-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; }
.a9r-arrows-outside.a9r-dots-inside .a9r-dots { left: 52px; right: 52px; }
.a9r-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: var(--a9r-btn);
	opacity: .35;
	cursor: pointer;
	transition: opacity .2s, transform .2s;
}
.a9r-dot.is-active { opacity: 1; transform: scale(1.15); }
.a9r-dots-inside .a9r-dot { box-shadow: 0 0 0 2px rgba(255, 255, 255, .6); }

/* Séparateur */
.a9r-divider {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: var(--a9r-divider);
	line-height: 0;
	z-index: 0;
	pointer-events: none;
}
.a9r-divider-svg { display: block; width: 100%; height: 100%; }

/* Menu d'ancres */
body .a9r-menu { background: var(--a9r-menu-bg) !important; color: var(--a9r-menu-text); z-index: 50; }
body .a9r-menu ul, body .a9r-menu li { list-style: none !important; }
body .a9r-menu li { margin: 0 !important; padding: 0 !important; }
.a9r-menu-sticky { position: sticky; top: var(--a9r-menu-top); }
body .a9r-menu ul {
	list-style: none;
	margin: 0 auto !important;
	padding: 12px 24px !important;
	max-width: var(--a9r-width);
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	justify-content: center;
	align-items: center;
}
body .a9r-menu li { display: flex; align-items: center; gap: 14px; }
body .a9r-menu li::before { content: none; }
/* Point centré verticalement entre deux entrées */
body .a9r-menu li + li::before {
	content: "";
	display: block;
	flex: none;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	opacity: .7;
}
.a9r-menu a { color: var(--a9r-menu-text); text-decoration: none; font-weight: 600; display: inline-block; padding: 6px 0; }
.a9r-menu a:hover, .a9r-menu a:focus-visible { text-decoration: underline; }

/* Visionneuse */
.a9r-lb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(10, 16, 34, .94);
	display: none;
	align-items: center;
	justify-content: center;
}
.a9r-lb.is-open { display: flex; }
.a9r-lb img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }
.a9r-lb button {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	cursor: pointer;
	opacity: .85;
}
.a9r-lb button:hover, .a9r-lb button:focus-visible { opacity: 1; }
.a9r-lb .a9r-lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.a9r-lb .a9r-lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.a9r-lb .a9r-lb-next svg { transform: scaleX(-1); }
.a9r-lb .a9r-lb-close { top: 10px; right: 12px; }
.a9r-lb .a9r-lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; font-size: 15px; opacity: .8; }
.a9r-lb.is-single .a9r-lb-prev, .a9r-lb.is-single .a9r-lb-next, .a9r-lb.is-single .a9r-lb-count { display: none; }

.a9r-empty { padding: 16px; border: 1px dashed #999; text-align: center; }

@media (prefers-reduced-motion: reduce) {
	.a9r-track { transition: none; }
}

/* ===================== Mise en avant : carrousel de cartes ===================== */
.a9r-feat { position: relative; }
.a9r-feat-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--a9r-fgap); align-items: stretch; }
.a9r-feat-has-side .a9r-feat-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, var(--a9r-side)); }
.a9r-feat-main { min-width: 0; }
.a9r-feat-stage { position: relative; }
.a9r-feat-arrows-outside .a9r-feat-stage { padding-inline: 48px; }
.a9r-feat-viewport { overflow: hidden; }
.a9r-feat-track { display: flex; gap: var(--a9r-fgap); transition: transform .45s ease; will-change: transform; }
.a9r-feat-track > .a9r-card { flex: 0 0 calc((100% - (var(--a9r-per) - 1) * var(--a9r-fgap)) / var(--a9r-per)); }

.a9r-feat .a9r-card {
	position: relative;
	box-sizing: border-box;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: var(--a9r-card-s);
	padding: var(--a9r-card-p);
	border-radius: var(--a9r-card-r);
	background: var(--a9r-card-bg);
	color: var(--a9r-text);
}
.a9r-feat-shadow .a9r-card:not(.a9r-teaser) { box-shadow: 0 8px 24px rgba(15, 25, 50, .10); }
.a9r-card-media { position: relative; overflow: hidden; width: 100%; }
.a9r-card-media .a9r-card-img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: none; transition: transform .5s ease; }
.a9r-card-linked:hover .a9r-card-img { transform: scale(1.03); }
.a9r-card-stamp { position: absolute; top: 12px; left: 12px; z-index: 2; height: auto; max-width: 45%; pointer-events: none; transform: rotate(var(--a9r-stamp-r, 0deg)); }
.a9r-card-media-wrap { position: relative; width: 100%; }
.a9r-card-media-wrap .a9r-card-stamp { z-index: 3; }
/* Tampon qui dépasse : visible au-dessus et au-dessous, les cartes restent coupées sur les côtés */
.a9r-feat-stamp-out .a9r-feat-viewport { overflow: visible; overflow-x: clip; }
.a9r-card-body { display: flex; flex-direction: column; gap: var(--a9r-card-s); }

.a9r-feat .a9r-c-title { color: var(--a9r-title); }
.a9r-feat .a9r-c-text { color: var(--a9r-text); }
.a9r-feat .a9r-c-icon { color: var(--a9r-ic); }
.a9r-feat .a9r-title { color: inherit; margin: 0; padding: 0; line-height: 1.2; }
.a9r-feat .a9r-text { color: inherit; }
.a9r-feat .a9r-text p, .a9r-feat p.a9r-inline { margin: 0; padding: 0; color: inherit; }
.a9r-feat .a9r-sep { opacity: .7; white-space: pre; }
.a9r-feat ul.a9r-list-icons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.a9r-feat ul.a9r-list-icons li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; }
.a9r-feat ul.a9r-list-icons li::before { content: none; }
.a9r-feat .a9r-list-icons .a9r-icon { width: 18px; height: 18px; flex: none; color: var(--a9r-ic); }

.a9r-card-link { color: inherit !important; text-decoration: none !important; }
.a9r-card-linked .a9r-title .a9r-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--a9r-card-r); }
.a9r-card-link-media { position: absolute; inset: 0; z-index: 1; border-radius: var(--a9r-card-r); }
.a9r-card-link:focus-visible { outline: none; }
.a9r-card-linked:focus-within { outline: 2px solid var(--a9r-ic); outline-offset: 3px; }

.a9r-feat-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--a9r-btn);
	cursor: pointer;
	transition: opacity .2s;
}
.a9r-feat-nav:hover { opacity: .7; }
.a9r-feat-nav[disabled] { opacity: .25; cursor: default; }
.a9r-feat-nav:focus-visible { outline: 2px solid var(--a9r-btn); outline-offset: 2px; }
.a9r-feat-next svg { transform: scaleX(-1); }
.a9r-feat-arrows-outside .a9r-feat-prev { left: 0; }
.a9r-feat-arrows-outside .a9r-feat-next { right: 0; }
.a9r-feat-arrows-inside .a9r-feat-nav { background: rgba(255, 255, 255, .85); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.a9r-feat-arrows-inside .a9r-feat-prev { left: 10px; }
.a9r-feat-arrows-inside .a9r-feat-next { right: 10px; }
.a9r-feat.is-static .a9r-feat-nav, .a9r-feat.is-static .a9r-feat-dots { display: none; }

.a9r-feat-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; min-height: 10px; }
.a9r-feat-dot { width: 10px; height: 10px; padding: 0; margin: 0; border: 0; border-radius: 50%; background: var(--a9r-btn); opacity: .3; cursor: pointer; transition: opacity .2s, transform .2s; }
.a9r-feat-dot.is-active { opacity: 1; transform: scale(1.15); }

.a9r-feat-side { display: flex; min-width: 0; }
.a9r-feat-has-side .a9r-feat-main:has(.a9r-feat-dots) ~ .a9r-feat-side { padding-bottom: 32px; }
.a9r-feat-side .a9r-teaser { flex: 1; }
.a9r-feat .a9r-teaser { background: transparent; justify-content: center; }
.a9r-feat .a9r-teaser-dashed { border: 2px dashed var(--a9r-border); }
.a9r-feat .a9r-teaser-solid { border: 2px solid var(--a9r-border); }
.a9r-teaser-body { gap: 14px; }
.a9r-feat .a9r-teaser-kicker { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; color: var(--a9r-ic); }
.a9r-teaser-kicker .a9r-icon { width: 18px; height: 18px; }
.a9r-feat .a9r-teaser-title { color: var(--a9r-title); }
.a9r-feat .a9r-teaser-btn-wrap { margin: 4px 0 0; padding: 0; }
.a9r-feat .a9r-teaser-btn { display: inline-block; padding: 10px 18px; border-radius: 8px; background: var(--a9r-ic); color: #fff !important; text-decoration: none !important; font-weight: 600; }
.a9r-feat .a9r-teaser-btn:hover { opacity: .9; }
@media (prefers-reduced-motion: reduce) { .a9r-feat-track, .a9r-card-media .a9r-card-img { transition: none; } }
.a9r-feat .a9r-cf .a9r-title .a9r-icon, .a9r-feat .a9r-cf .a9r-text .a9r-icon { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -.2em; color: var(--a9r-ic); margin-right: .2em; }
