/* CMS-Experts, devis PR2610-0855 (SEO), 18/11/2026. Fichier GENERE par gen-css.py, ne pas editer a la main.
   Le logo passe de <h1 class="logo"> a <div class="logo"> et le titre d'accueil de <h2> a <h1> :
   chaque regle qui visait l'ancien element est recopiee pour le nouveau, afin que le rendu ne change pas.
   Retour arriere : retirer la ligne qui charge ce fichier dans les deux templates. */

/* Socle, a poids MINIMAL pour ne jamais l'emporter sur une regle d'origine : le div du logo reprend les valeurs
   d'un h1 (bootstrap + style.css), les nouveaux h1 la taille d'un h2. */
.logo {
	margin-top: 0;
	margin-bottom: .5rem;
	font-family: proxima-nova, sans-serif;
	font-style: normal;
	font-weight: 700;
	line-height: 1.2;
	color: #4d4d4d;
	font-size: 2.5rem;
}
:where(.banner-intro, .camera_caption_title, .custom_caption_title) > h1 {
	font-size: 2rem;
}

/* ===== recopie de css/style.css ===== */
header.landing .banner-intro h1 {
	font-size: 70px;
	line-height: normal;
	margin: 0px 0px 16px;
	color: #fff;
}
.banner-intro h1 {
	visibility: hidden;
}
@media only screen and (max-width: 1300px) {
	header.landing .banner-intro h1 {
		font-size: 62px;
	}
}
@media only screen and (max-width:1199px) {
	.banner-intro h1 {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: none;
	}
}
@media only screen and (max-width:1099px) {
	header.landing .banner-intro h1 {
		font-size: 50px;
	}
}
@media only screen and (max-width:960px) {
	header.landing .banner-intro h1 {
		font-size: 46px;
	}
}
@media only screen and (max-width:800px) {
	header.landing .banner-intro h1 {
		font-size: 36px;
	}
}
@media only screen and (max-width:767px) {
	header.landing .banner-intro h1 {
		font-size: 32px;
	}
}
@media only screen and (max-width:750px) {
	body div.logo {
		height: unset;
		margin-top: 24px;
	}
}
@media only screen and (max-width:1005px) {
	body div.logo {
		margin-top: 4px;
		margin-bottom: 8px;
	}
}
@media only screen and (max-width:550px) {
	body div.logo {
		height: unset;
		width: 130px;
		min-width: 130px;
		margin-top: 40px;
		padding-left: 16px !important;
	}
	body div.logo img {
		height: unset;
	}
	body div .camera_caption_title h1 {
		font-size: calc(8px + 3vw);
		margin-bottom: 6px;
	}
}
@media only screen and (max-width:450px) {
	body div.logo {
		height: unset;
		width: 100px;
		min-width: 100px;
		margin-top: 40px;
		padding-left: 12px !important;
	}
	header.landing .banner-intro h1 {
		font-size: 26px;
	}
}
body .custom_caption_title h1,
body .camera_caption_title h1 {
	font-size: calc(8px + 1.5vw + 1vh);
}

/* ===== recopie de css/minisite.css ===== */
nav div.logo {
	height:100px;
	width:280px;
	margin-top:15px;
	display:flex;
	align-items: center;
}
nav div.logo img {
	max-height: 100px;
}
#site-wrapper nav.off-canvas div.logo {
	margin-top: 12px;
}
.restructure-menu nav div.logo {
	width: 240px;
}
@media only screen {
	.site-map-22 nav div.logo img,
.site-map-17 nav div.logo img {
		max-height: 110px;
		position: absolute;
		top: 10px;
		max-width: 340px;
		left: 16px;
	}
}
.site-map-30 header.landing .banner-intro h1 {
	color: #195e88;
}
.site-map-26 header.landing .banner-intro > h1,
.site-map-22 header.landing .banner-intro > h1 {
	text-shadow: 2px 2px 2px black;
}
header.landing .banner-intro > h1 {
	text-shadow: 2px 2px 2px black;
}
.site-map-36 .banner-intro h1 {
	text-shadow: 1px 1px 1px black !important;
}
@media only screen and (min-width:959px) {
	.site-map-36 header.landing .banner-intro h1 {
		text-align: left;
	}
	.site-map-36 header.landing .banner-intro h1 {
		margin-bottom: 96px;
	}
}
.site-map-31 .banner-intro h1 {
	text-shadow: 2px 2px 2px black !important;
}
@media only screen and (min-width:1980px) {
	.site-map-31 .banner-intro h1 {
		font-size: calc(2.8vw) !important;
		max-width: unset !important;
		line-height: 2.2vw;
	}
}
@media only screen and (max-width: 1690px) {
	nav div.logo {
		width: 250px;
	}
}
@media only screen and (max-width: 1550px) {
	nav div.logo {
		width: 220px;
	}
}
@media only screen and (max-width: 1420px) {
	.restructure-menu nav div.logo {
		width: 220px;
	}
}
@media only screen and (max-width: 1200px) {
	nav div.logo {
		width: 180px;
	}
	.restructure-menu nav div.logo {
		width: 200px;
	}
}
@media only screen and (max-width: 1150px) {
	.restructure-menu nav div.logo {
		width: 180px;
	}
}
@media only screen and (max-width: 960px) {
	nav div.logo,
#site-wrapper nav.off-canvas div.logo {
		width: 220px;
		height: auto;
		margin-top: 20px;
	}
	nav div.logo img {
		max-height: 80PX;
		max-height: 100%;
	}
	.site-map-31 nav div.logo img {
		max-height: 80px;
	}
}
@media only screen and (max-width: 650px) {
	.site-map-31 nav div.logo img {
		max-height: 58px;
	}
}
@media only screen and (max-width: 400px) {
	nav div.logo,
#site-wrapper nav.off-canvas div.logo {
		width: 180px;
		margin-top:30px;
	}
}
@media (max-width: 956px) {
	body.site-map-30 nav.fixed div.logo {
		margin-top:20px!important;
	}
	body.site-map-30 nav.fixed div.logo img {
		max-height:70px!important;
	}
}
.site-map-36.restructure-menu nav div.logo img {
	max-height: unset;
}
.site-map-36.restructure-menu nav div.logo {
	width: 320px;
	height: auto;
	margin-top: 0;
	margin-right: 12px;
}
@media only screen and (max-width: 960px) {
	.site-map-36.restructure-menu nav div.logo {
		width: 280px !important;
	}
}


/* ===== 30/11/2026, suite PR2610-0855 : titre des actualites, evenements et projets en <h1 class="agx-titre"> =====
   Les regles qui visaient ce titre en <h2> (relevees dans Chrome, el.matches sur toutes les feuilles) sont recopiees
   pour h1.agx-titre, dans le meme ordre : poids superieur d'une classe, donc elles l'emportent sur les regles h1 du theme.
   Retour arriere : remettre les vues d'origine (sauvegarde correctifs-20261130-h1). */
h1.agx-titre {
	margin-top: 0px;
	margin-bottom: 0.5rem;
}
h1.agx-titre {
	margin-bottom: 0.5rem;
	font-family: inherit;
	font-weight: 500;
	line-height: 1.2;
	color: inherit;
}
h1.agx-titre {
	font-size: 2rem;
}
@media print {
	h1.agx-titre {
		orphans: 3;
		widows: 3;
	}
}
@media print {
	h1.agx-titre {
		break-after: avoid;
	}
}
h1.agx-titre {
	font-family: proxima-nova, sans-serif;
	font-style: normal;
	font-weight: 700;
	color: rgb(77, 77, 77);
}
.title-wrap h1.agx-titre {
	font-size: 54px;
	margin: 0px 0px 40px;
	text-align: center;
}
.inner .title-wrap h1.agx-titre {
	margin: 0px auto 40px;
	max-width: calc(100% - 380px);
}
article .title-wrap h1.agx-titre {
	visibility: hidden;
}
@media only screen and (max-width: 1300px) {
	.title-wrap h1.agx-titre {
		font-size: 40px;
		margin-bottom: 30px;
	}
}
@media only screen and (max-width: 1199px) {
	article .title-wrap h1.agx-titre {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: none;
	}
}
@media only screen and (max-width: 1099px) {
	.inner .title-wrap h1.agx-titre {
		max-width: calc(100% - 250px);
	}
}
@media only screen and (max-width: 960px) {
	.title-wrap h1.agx-titre {
		font-size: 32px;
		margin-bottom: 25px;
	}
}
@media only screen and (max-width: 800px) {
	.inner .title-wrap h1.agx-titre {
		max-width: calc(100% - 190px);
		margin: 0px auto 30px;
	}
}
@media only screen and (max-width: 800px) {
	.title-wrap h1.agx-titre {
		font-size: 28px;
		line-height: 100%;
	}
}
@media only screen and (max-width: 767px) {
	.inner .title-wrap h1.agx-titre {
		max-width: 100%;
	}
}
@media only screen and (max-width: 767px) {
	.title-wrap h1.agx-titre {
		font-size: 24px;
	}
}
@media only screen and (max-width: 450px) {
	.title-wrap h1.agx-titre {
		font-size: 20px;
	}
}

/* ===== 30/11/2026 : bloc newsletter (mod_subscribe, layout settings) : un <h1> saisi dans sa description est affiche en
   <h2 class="agx-ex-h1"> (un seul h1 par page). Les regles qui visaient ce h1 (relevees dans Chrome) sont recopiees ici. */
h2.agx-ex-h1 {
	margin-top: 0px;
	margin-bottom: 0.5rem;
}
h2.agx-ex-h1 {
	margin-bottom: 0.5rem;
	font-family: inherit;
	font-weight: 500;
	line-height: 1.2;
	color: inherit;
}
h2.agx-ex-h1 {
	font-size: 2.5rem;
}
h2.agx-ex-h1 {
	font-family: proxima-nova, sans-serif;
	font-style: normal;
	font-weight: 700;
	color: rgb(77, 77, 77);
}
.subscribe-sec .subscribe-wrap .subscribe-dsc h2.agx-ex-h1 {
	color: rgb(255, 255, 255) !important;
}
