/* ============================================
   FOOTER STICKY BOTTOM - À ajouter dans style.css
   ============================================ */

/* S'assurer que html et body prennent toute la hauteur */
/* ============================================
   CONFIGURATION GLOBALE DU LINE-HEIGHT
   Point unique de contrôle pour tout le site
   ============================================ */

/* IMPORTANT : Utiliser une valeur SANS UNITÉ pour le line-height
   Cela permet une propagation correcte et proportionnelle */
html {
	line-height: 1.5;
	/* Valeur de base - MODIFIER ICI pour changer partout */
}

body {
	height: 100%;
	margin: 0;
	padding: 0;
	line-height: inherit;
	/* Hérite de html */

	/* Structure flex pour footer sticky */
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	font-size: 1em;
	color: #686868;
}

/* Forcer TOUS les éléments à hériter du line-height */
* {
	line-height: inherit !important;
}

/* Exceptions pour les éléments qui nécessitent un line-height différent */
/* (à ajouter au cas par cas si nécessaire) */

/* Le contenu principal ne grandit PAS pour occuper l'espace */
body>*:not(#footer) {
	flex: 0 0 auto;
}

/* Le footer garde sa taille naturelle - PAS de margin-top auto */
#footer {
	flex-shrink: 0;
	margin-top: 0;
}

/* Alternative si la structure est différente avec un wrapper */
#wrapper {
	display: flex;
	flex-direction: column;
	min-height: auto;
}

/* Si il y a un wrapper, le contenu ne grandit PAS */
#wrapper>*:not(#footer) {
	flex: 0 0 auto;
}

/* Assurer que le footer ne rétrécit pas - PAS de margin-top auto */
#wrapper #footer {
	flex-shrink: 0;
	margin-top: 0;
}

/* Ajout spécifique pour les articles entiers */
.single-article-view {
	width: 100% !important;
	max-width: 100% !important;
	flex-basis: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.single-article-view .grid-inner {
	width: 100%;
}

/* Ajustement pour les images en vue complète */
.single-article-view .uniform-image-container {
	max-width: 100%;
	width: 100%;
	margin: 0 auto 30px auto;
}

/* Contenu textuel en pleine largeur */
.single-article-view .liste-standard {
	width: 100%;
	max-width: 100%;
}


/* --- AJOUT: CONTENEUR D'IMAGE UNIFORME --- */
.uniform-image-container {
	width: 100%;
	position: relative;
	overflow: hidden;
	margin: 0 auto 20px auto;
	/* Ratio d'aspect fixe (3:2) */
	padding-top: 66.67%;
	/* 200px / 300px = 66.67% */
}

.uniform-image-container img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease;
}

/* Effet de zoom au survol */
.uniform-image-container:hover img {
	transform: scale(1.05);
}

/* --- AJOUT: STRUCTURE GRILLE UNIFORME --- */
.portfolio.row {
	display: flex;
	flex-wrap: wrap;
	margin-right: -10px;
	margin-left: -10px;
}

.portfolio.row::before,
.portfolio.row::after {
	display: none;
}

.portfolio-item {
	float: none !important;
	/* Empêche le flottement qui cause des chevauchements */
	display: flex;
	margin-bottom: 20px;
	box-sizing: border-box;
	padding: 0 10px;
}

.portfolio-item>article {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.grid-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
}

.liste-standard {
	flex: 1 0 auto;
	width: 100%;
	overflow: hidden;
	line-height: 1.5em !important;
}

/* Forcer l'interligne dans le contenu des articles */
.liste-standard p,
.liste-standard div,
.liste-standard span,
.liste-standard li {
	line-height: 1.5em !important;
}

/* --- AJOUT: CORRECTION VIDÉOS --- */
.uniform-image-container video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- AJOUT: SUPPORT POUR ROLLOVER --- */
.uniform-image-container .rollover-secondary {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: opacity 0.3s ease;
}

/* --- AJOUT: CORRECTION POUR LES ESPACEMENTS --- */
.row {
	margin-left: -10px;
	margin-right: -10px;
}

[class^="col-"] {
	padding-left: 10px;
	padding-right: 10px;
}

/* --- PRÉSERVATION DU STYLE EXISTANT --- */

.policeadmin {
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif" !important;
}

.entry-meta {
	/*	sous titre podcast */
	/*font-family:'Lexend Deca', sans-serif;
font-style: normal;*/

}



/* @font-face {
	font-family: 'brushci';
	src: url('photos/BRUSHSCI.TTF') format('truetype');
	font-weight: lighter;
	font-style: normal;
} */


.mailvisible {
	visibility: hidden;
}

#content {
	/*background-color:#ffffff !important;*/
}

h1 {

	/*	font-size: 17px !important;
	font-variant:normal ;
	text-transform:none ;*/
}

h2

/* titre article */
	{

	/*font-variant:small-caps !important;
	font-size: 18px !important;*/

}

h3,
/* articles */
h4,
h5 {

	/*	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 12px !important;
	font: inherit !important;
	vertical-align: baseline !important;
	 line-height: 1 !important;*/

}

h6 {
	/* vous êtes ici et anotations */

	/*	font-size: 0.8em !important;
	margin-bottom:20px !important;
	margin-top: 30px !important;
	font-weight:normal !important;*/

}

.liste-standard ul,
.liste-standard li {
	/* Réinitialisation des styles pour qu'ils apparaissent comme les styles par défaut */
	all: revert !important;
	margin-left: -10px !important;
	line-height: 1.5em !important;

	/* Ou définir manuellement les styles par défaut */
}

p {
	all: revert;
	/* line-height: 1.5em !important; */
}

.portfolio-desc {
	background-color: #f5f5f5;
	/* Fond gris très clair */
	background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 60%);
	/* Effet de reflet accentué */

	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
	/* Ombre légère en bas à droite */

	display: flex;
	flex-direction: column;
	min-height: 370px;
	gap: 20px;
	position: relative;
	box-sizing: border-box;

	@media (max-width: 1023px) {
		min-height: 350px;
	}
}

.button-container {
	text-align: center;
	position: absolute;
	bottom: 0;
	/* Tout proche du bas */
	left: 0;
	right: 0;
	padding-top: 10px;

	/* Espace de 10px au-dessus du bouton */
}

.bouton-arrondi {
	background-color: #c7b72c;
	/* Couleur du bouton */
	color: #000000 !important;
	/* Couleur du texte */
	padding: 10px 20px;
	/* Espacement interne */
	border: none;
	/* Suppression de la bordure par défaut */
	border-radius: 12px;
	/* Bords arrondis */
	font-size: 16px;
	/* Taille de la police */
	cursor: pointer;
	/* Curseur de pointeur */
	transition: background-color 0.3s;
	/* Animation de transition */
}

.bouton-arrondi:hover {
	background-color: #524c16;
	/* Couleur du bouton au survol */
	color: #ffffff !important;
	/* Couleur du texte */
}

.container,
#content,
#stretched,
#full-header {
	border-radius: 12px;
	/*background-color: transparent !important;
padding-right:50px;*/

}

.couleurfond {}

#page-title {
	/*Haut de rubrique*/

	/*background-color :#ffffff !important;
	font-size: 1em !important;
	color: #000000 !important;*/
}

#hautrubrique span {}

#header.sticky-header #header-wrap {
	/* menu reduit haut de page*/
	/*	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: #847B72;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);*/
}


/* menu haut */

.primary-menu ul li>a {
	/*background-color: #ffffff !important;
		font-weight: normal; 
		color: white !important;*/

}

.primary-menu ul li>a:hover {
	/*color: #000000 !important;*/

}

/* sousmenu haut */
.sub-menu-container {}

.primary-menu ul ul li>a {
	/*color: #000000 !important;
	color: #000000;

		color: white !important;*/
}

.primary-menu ul ul li>a:hover {
	/*color: #000000;
		color: black !important;*/

}

/* rubrique selectionnée */
.primary-menu ul li.current>a,
.primary-menu div ul li.current>a {
	/* color:#cccccc;*/

}

#sousmenu {}

#vousetesici {}

.entry-image,
.entry-image>a,
.entry-image .slide a,
.entry-image,
img {}

.entry-image {
	/*margin-bottom: -20px;*/
}

.imagette {

	/*	max-width:200px !important;	
	max-height: 200px !important;*/

}

a {
	font-weight: bold;
	text-decoration: underline;
	/*color: #B49170 !important;*/
}

a:hover {
	/*font-weight: bold;
color:#FF0000 !important;*/
}

header,
nav,
footer,
article,
section,
figure {
	/*display:block; */
}

#footer {
	position: relative;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
}


/* deco titre article */
.text-blocktitre,
.text-blocktitre a {
	position: relative;
	text-align: left;
	padding-left: 0px;
	padding-top: 0px;
	margin-bottom: 20px;
	font-size: 1.2em !important;
	font-weight: normal !important;
	line-height: 0.9;
	z-index: 2;
	tex
}

.text-contenttitre {


	line-height: 1;
}




.separator-linetitre {
	position: relative;
	height: 5px;
	background: linear-gradient(to right, #ccc, transparent);
	margin-top: 0px;
	width: 100%;
}

/*fin déco titre acticle*/

.reductionbasarticle {
	/*margin-bottom: -20px !important;*/
}

#hautrubrique p {
	/*line-height:1em !important;
	font-size: 2em !important;*/
}

#hautrubrique span {
	/*line-height:1em !important;*/
}

.bordure {
	/*border-bottom: medium #787878 !important;*/
}

.diapotitre {
	/*	font-size:4em;
	font-weight: bold;
	color:#FFF;
	text-shadow:3px 3px 10px #000;
	font-variant:small-caps;*/

}

.diapochapeau {
	/*	font-size:3em;
	color:#FFF;
	text-shadow:3px 3px 10px #000;*/
}

.diapotexte {
	/*	font-size:2em;
	color:#FFF;
	text-shadow:3px 3px 10px #000;*/
}

hr {
	border: 0;
	height: 1px;
	background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
	background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
	background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
	background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
}

/* ligne 1127 sur css/responsive.css, supprimer le center */
#box {
	position: relative;
	background: #ddd;
	-moz-border-radius: 4px;
	border-radius: 4px;
	padding: 2em 1.5em;
	color: rgba(0, 0, 0, .8);
	text-shadow: 0 1px 0 #fff;
	line-height: 1.5;
	margin: 20px auto;
}

#box:before,
#box:after {
	z-index: -1;
	position: absolute;
	content: "";
	bottom: 15px;
	left: 10px;
	width: 50%;
	top: 80%;
	max-width: 300px;
	background: rgba(0, 0, 0, 0.7);
	-webkit-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
	-moz-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
	box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
	-webkit-transform: rotate(-3deg);
	-moz-transform: rotate(-3deg);
	-o-transform: rotate(-3deg);
	-ms-transform: rotate(-3deg);
	transform: rotate(-3deg);
}

#box:after {
	-webkit-transform: rotate(3deg);
	-moz-transform: rotate(3deg);
	-o-transform: rotate(3deg);
	-ms-transform: rotate(3deg);
	transform: rotate(3deg);
	right: 10px;
	left: auto;
}

.elegant-div {
	background: transparent;
	border: 0px solid rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
	padding: 20px;
	position: relative;
}

/* Effet 3D supplémentaire sur le contour */
.elegant-div::before {
	content: "";
	position: absolute;
	top: -2px;
	left: -2px;
	right: -5px;
	bottom: -5px;
	border-radius: 10px;
	background: transparent;
	z-index: -1;
	pointer-events: none;
}

/* Réduction de l'espace sous le menu */
#content {
	margin-top: -100px !important;
}

.container.content-wrap {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/* Pour la section avec image/texte de rubrique */
#content.transparent {
	margin-top: -100px !important;
}

/* Réduire l'espace au-dessus du conteneur principal */
.container:has(> .portfolio.row) {
	padding-top: 0 !important;
}

/* Positionnement des boutons SNEF */
.boutonsnef-container {
	margin-top: -80px;
	margin-bottom: 140px;
	position: relative;
	z-index: 10;
}

/* En mode mobile, placer les boutons sous le header */
@media (max-width: 768px) {
	.boutonsnef-container {
		margin-top: 40px;
		margin-bottom: 20px;
		padding-top: 0;
		position: relative;
		z-index: 10;
	}
}

/* AVANT (règle existante à garder) */
/* Réduction de l'espace sous le menu */
#content {
	margin-top: -100px !important;
}

.container.content-wrap {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/* APRÈS - Ajoutez cette nouvelle règle */
/* Réduction supplémentaire quand pas de contenu en haut de rubrique */
#content.no-header-content {
	margin-top: -120px !important;
	padding-top: 0 !important;
}

#content.no-header-content .container {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

#content.no-header-content #portfolio {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* Version mobile */
@media (max-width: 768px) {
	#content.no-header-content {
		margin-top: 0 !important;
		padding-top: 10px !important;
	}
}