/* Page générique (includes/page_generique.inc.php, pages "type" libres +
   articles de blog) — extrait de css/style.css et du <style> inline de
   page_generique.inc.php. Chargé uniquement quand ce fichier est routé
   ($is_page_generique dans includes/assets_register.inc.php).
   Le bandeau haut de page est dans bandeau.css, la navigation du carrousel
   d'article (.article-carousel-prev/-next) dans carousel.css. */

/* Gap entre colonnes niveau-2 */
@media (min-width: 768px) {
	.niveau-2 .niveau2-inner {
		margin: 0 0.75rem;
		height: 100%;
	}
}

/* Texte 3 / 4 colonnes (articles de niveau 3 ou 4, Composer la page) */
.uw-texte-cols {
	margin-bottom: 30px;
}

.uw-texte-cols > [class*="col-"] {
	margin-bottom: 24px;
}

.uw-texte-col {
	height: 100%;
	padding: 0 6px;
}

.uw-texte-col-suite {
	margin-top: 16px;
}

.uw-texte-col img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

/* Carrousel d'article : entrée animée depuis le bas après init Swiper */
.article-owl-carousel.swiper-initialized {
	animation: carouselFadeInUp 0.7s ease 0.4s both;
}

@keyframes carouselFadeInUp {
	from { opacity: 0; transform: translateY(40px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Taille image : s'adapte sans étirement, centrée */
.article-owl-carousel .swiper-slide img {
	max-height: 1300px !important;
	width: auto !important;
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* =============================================
 * CONTENU ARTICLE — Titres saisis dans l'éditeur (2026-10-16)
 * Le h3 global (ancien thème, 36px dès 1200px) était plus grand
 * que le h2 (30px) : sous-titres ramenés sous le h2, espacements
 * resserrés (h3 + p = 28px dans uw-core.css)
 * ============================================= */
.article h2 {
	margin-top: 38px;
}

.article h3 {
	margin-top: 26px;
	font-size: 21px;
	line-height: 1.35;
}

.article h4 {
	margin-top: 20px;
	font-size: 18px;
	line-height: 1.4;
}

.article > :first-child {
	margin-top: 0;
}

.article h2 + h3 {
	margin-top: 18px;
}

.article h3 + p,
.article h4 + p,
.article h3 + ul,
.article h3 + table {
	margin-top: 10px;
}

/* =============================================
 * CONTENU ARTICLE — Puces ul/li
 * (le reset global neutralise list-style sur tout
 * le site pour les menus, on le restaure ici
 * uniquement dans le contenu texte de l'article)
 * ============================================= */
.article ul,
.article ol {
	margin: 15px 0;
	padding-left: 20px;
}

.article ul li,
.article ol li {
	display: list-item;
}

.article ul li {
	list-style: disc;
}

.article ul ul li {
	list-style: circle;
}

.article ol li {
	list-style: decimal;
}

.article li + li {
	margin-top: 6px;
}

.article li::marker {
	color: var(--couleur);
}

.article strong {
	font-weight: 700 !important;
}

/* Ex-<style> inline de page_generique.inc.php */

/* Réduit légèrement la taille visuelle des images du niveau 2 sans casser la mise en page */
.servicesingle .niveau-2 img {
	max-width: 100%;
	margin: 0 auto;
	display: block;
	border-radius: 12px;
}

.servicesingle__allcontent ul {
	margin: 20px 0;
	padding-left: 0;
	list-style: none;
}

.servicesingle__allcontent ul li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
	line-height: 1.7;
	color: #555;
	font-size: 16px;
}

.servicesingle__allcontent ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 11px;
	width: 6px;
	height: 6px;
	background: var(--couleur);
	border-radius: 50%;
}

.servicesingle__allcontent ul li:last-child {
	margin-bottom: 0;
}

/* sous-listes */
.servicesingle__allcontent ul li ul {
	margin-top: 12px;
	margin-bottom: 0;
	padding-left: 0;
}

.servicesingle__allcontent ul li ul li {
	font-size: 15px;
	color: #666;
	padding-left: 24px;
}

.servicesingle__allcontent ul li ul li::before {
	width: 7px;
	height: 7px;
	top: 12px;
	background: #222;
}

@media (max-width: 767px) {
	.servicesingle__allcontent ul li {
		font-size: 15px;
		padding-left: 24px;
		margin-bottom: 8px;
	}

	.servicesingle__allcontent ul li::before {
		width: 8px;
		height: 8px;
		top: 10px;
	}
}
