/* Style global */
* {
	margin: 0;
/* zero out margin */
	padding: 0;
/* zero out padding */
	box-sizing: border-box;
}

body {
	font-family: garamond, sans-serif;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: auto;
	background-color: rgba(255, 255, 240,0.8);
	color: #191717;
	max-width: 100% !important;
	overflow-x: hidden !important;
}

img {
	border: thin solid #191717;
}

header {
	position: absolute;
	z-index: 888;
	top: 0;
	left: 0;
	width: 100%;
	height: 635px;
	margin-bottom: 4em;
	background: url('../img/01.jpg') no-repeat fixed center;
	background-size: cover;
	border-bottom: solid 1px #666;
	box-shadow: 0px 0px 15px 16px rgba(0,0,0,0.78);
	-webkit-box-shadow: 0px 0px 15px 16px rgba(0,0,0,0.78);
	-moz-box-shadow: 0px 0px 15px 16px rgba(0,0,0,0.78);
}

header .title {
	position: relative;
	top: 10%;
	color: #a58b70;
	text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
	font-size: 3.5rem;
	text-align: center;
}

nav {
	position: absolute;
	z-index: 999;
	bottom: 0px;
	left: 10%;
	width: 25%;
}

nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: space-around;
	background: rgba(0, 0, 0, 0.7);
	padding: 10px;
	border-radius: 5px;
}

nav ul li {
	position: relative;
}

nav ul li a {
	text-decoration: none;
	color: white;
	padding: 10px;
	display: block;
}

.dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: rgba(0, 0, 0, 0.8);
	list-style: none;
	padding: 0;
	margin: 0;
	min-width: 150px;
	border-radius: 5px;
}

.dropdown li {
	padding: 10px;
}

.dropdown li a {
	color: white;
	display: block;
}

nav ul li:hover .dropdown {
	display: block;
}

#title {
	position: absolute;
	top: 19.85em;
	left: 0;
	height: 2.2em;
	width: 100%;
	color: #333;
	font-size: 2rem;
	text-align: center;
	padding: 0.6em 0;
	line-height: 1em;
	border-top: 2px solid #FFFFF0;
	border-bottom: 2px solid #FFFFF0;
	background: rgba(206, 120, 45, 0.6);
	box-shadow: -1px 5px 16px 0px rgba(0,0,0,0.75);
	-webkit-box-shadow: -1px 5px 16px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: -1px 5px 16px 0px rgba(0,0,0,0.75);
}

#title h1 {
	font-size: 1.2em;
	color: #FFFFF0;
}

/* Article */
.article {
	width: 100%;
	max-width: 1840px;
	margin: 20px 0;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

/* Article 1 : Image à gauche et texte à droite */
.article1 .content-left {
	flex: 1;
	padding: 10px;
}

.article1 .content-left img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border: thin solid #191717;
}

.article1 .content-right {
	flex: 1;
	padding: 10px;
}

.article1 .content-right h1 {
	font-size: 1.8rem;
	line-height: 1.6em;
}

.article1 .content-right p {
	font-size: 1.3rem;
	line-height: 1.4em;
	text-align: justify;
}

/* Article 2 : Image au-dessus avec texte en dessous */
.article2 .content-photo {
	width: 100%;
	margin-bottom: 10px;
}

.article2 .content-photo img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border: thin solid #191717;
}

.article2 .content-text {
	padding: 10px;
}

.article2 .content-text h1 {
	font-size: 1.8rem;
	line-height: 1.6em;
}

.article2 .content-text p {
	font-size: 18px;
	line-height: 1.6;
	margin-bottom: 20px;
}

/* Article 3 : Image à droite et texte à gauche */
.article3 .content-left {
	flex: 1;
	padding: 10px;
}

.article3 .content-left h1 {
	font-size: 1.8rem;
	line-height: 1.6em;
}

.article3 .content-left p {
	font-size: 1.3rem;
	line-height: 1.4em;
	text-align: justify;
}

.article3 .content-right {
	flex: 1;
	padding: 10px;
}

.article3 .content-right img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border: thin solid #191717;
}

/* Article 4 : Images en grille à gauche et texte à droite */
/* Article 4 : Images en grille à gauche et texte à droite */
.article4 .content-left {
	flex: 1;
	padding: 10px;
}

.article4 .image-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 10px;
}

.article4 .image-item img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border: thin solid #191717;
}

.article4 .content-right {
	flex: 1;
	padding: 10px;
}

.article4 .content-right h1 {
	font-size: 1.8rem;
	line-height: 1.6em;
}

.article4 .content-right p {
	font-size: 1.3rem;
	line-height: 1.4em;
	text-align: justify;
}

/* Disposition spécifique pour l'article 5 */
/* Style global */
.article5 {
    display: flex;
    flex-wrap: wrap;
    margin: 20px;
    padding: 20px;
    box-sizing: border-box;
}

/* Conteneur gauche */
.article5 .content-left {
    flex: 1;
    margin-right: 20px;
}

/* Image principale */
.article5 .main-image {
    width: 100%;
    height: auto;
    object-fit: cover; /* Remplissage sans déformation */
}

/* Conteneur droit */
.article5 .content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

/* Titre */
.article5 h1 {
	font-size: 1.8rem;
    line-height: 1.6em;
}

/* Paragraphes */
.article5 p {
    font-size: 1.3rem;
    line-height: 1.4em;
    text-align: justify;
}

/* saut */

.saut{
	height:1.7em;
}

/* Conteneur des vignettes */
.article5 .thumbnails {
    display: flex;
    justify-content: flex-start;
    gap: 3px;
    width: 100%;
}

/* Vignettes */
.article5 .thumbnail {
    width: calc(33.333% - 3px); /* 3 vignettes alignées sur une ligne */
}

/* Image des vignettes */
.article5 .thumbnail {
    width: 100%;
    height: auto;
    object-fit: cover; /* Remplissage sans déformation */
}

.slider-box {
	overflow: hidden;
	width: 1920px;
	height: 600px;
	margin-top: 0em;
	padding-top: 5px;
	padding-bottom: 6em;
}

.slider-container {
	position: relative;
	z-index: 999;
	width: 1180px;
	height: 340px;
	overflow: hidden;
	margin: 160px auto 20px;
	border: 5px solid #FFFFF0;
	border-radius: 10px;
	box-shadow: 0px 2px 16px 0px rgba(0,0,0,0.75);
	-webkit-box-shadow: 0px 2px 16px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 2px 16px 0px rgba(0,0,0,0.75);
}

.slider {
	display: flex;
	width: 500%;
	transition: transform 1s ease-in-out;
}

.slide {
	width: 1180px;
	height: 340px;
	flex-shrink: 0;
	position: relative;
	text-align: center;
	color: white;
}

.slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.slide h1, .slide h2 {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	border: thin solid #FFFFF0;
	box-shadow: -1px 5px 16px 0px rgba(0,0,0,0.75);
	-webkit-box-shadow: -1px 5px 16px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: -1px 5px 16px 0px rgba(0,0,0,0.75);
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	background-color: rgba(51,51,51,0.7);
	padding: 10px 20px;
}

.slide h1 {
	top: 0%;
	font-size: 2.5em;
}

.slide h2 {
	top: 50%;
	font-size: 1.5em;
}

.container {
	position: relative;
	width: 1920px;
	padding: 10px;
	height-max: 400px;
	margin: 1em 4em;
	display: flex;
	flex-direction: column;
}

.container p {
	height: 300px;
	width: 1250px;
	text-align: justify;
	padding: 10px 20px;
	background-color: rgba(221, 144, 77,0.2);
}

.container img {
	border: thin solid #ce782d;
}

.container .title {
	position: absolute;
	top: 21.2%;
	left: 21.6%;
	height: 1em;
	width: 72.2%;
	color: #333;
	font-size: 2rem;
	text-align: center;
	padding: 1em;
	line-height: 1em;
	background: rgba(206, 120, 45, 0.8);
}

.content {
	margin-bottom: 20px;
}

/* Style pour le titre */
.button-title {
    font-size: 2rem; /* Taille de la police du titre */
	line-height:2.5em;
    text-align: center; /* Centrer le texte horizontalement */
    color: #333; /* Couleur du texte du titre */
    margin-bottom: 20px; /* Espacement sous le titre */
    font-weight: bold;
    letter-spacing: 2px; /* Espacement des lettres pour un effet visuel */
    width: 100%; /* S'assurer qu'il occupe toute la largeur */
	padding-bottom:0.2em;
	background-color: rgba(206, 120, 45, 0.9); /* Fond léger pour le container */
	box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.75);
	-webkit-box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.75);
    display: block; /* Assurer qu'il se comporte comme un bloc */
}

/* Container pour les boutons */
.button-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
 /* Centrer les boutons horizontalement */
	align-items: center;
 /* Centrer les boutons verticalement si nécessaire */
	width: 100%;
	max-width: 1920px;
 /* Limite la largeur à 1920px */
	margin: -1.3em auto 0;
 /* Centrer le container */
	padding: 20px;
	box-sizing: border-box;
	background-color: rgba(206, 120, 45, 0.5);
 /* Fond léger pour le container */;
}

/* Style pour les boutons */
.button {
	width: 80px;
 /* Largeur des boutons */
	height: 80px;
 /* Hauteur des boutons */
	background-color: #a5805c;
 /* Couleur marron */
	color: white;
	font-size: 1.4rem;
 /* Taille du texte */
	text-align: center;
	display: flex;
 /* Utilisation de Flexbox pour centrer le texte */
	justify-content: center;
 /* Centrer le texte horizontalement */
	align-items: center;
 /* Centrer le texte verticalement */
	margin: 5px;
 /* Espacement de 5px entre les boutons */
	border-radius: 10px;
 /* Coins arrondis */
	box-sizing: border-box;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 /* Ombre légère */;
}

/* Effet de survol des boutons */
.button:hover {
	background-color: #333333;
 /* Gris plus foncé au survol */
	transform: translateY(-4px);
 /* Effet de levée */
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
 /* Ombre plus prononcée */;
}

/* Effet de focus pour un meilleur retour visuel */
.button:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(100, 100, 255, 0.6);
 /* Bord bleu clair au focus */;
}

/* Footer */
.footer {
	background-color: #333333;
 /* Couleur de fond */
	color: white;
 /* Couleur du texte */
	padding: 20px 0;
	width: 100%;
	position: relative;
	bottom: 0;
	text-align: center;
	box-sizing: border-box;
}

/* Contenu du footer */
.footer-content {
	max-width: 1920px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
 /* Modifier ici pour que le logo soit au-dessus */
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 0 20px;
}

/* Logo */
.footer-logo {
	margin-bottom: 20px;
 /* Ajouter un espacement sous le logo */;
}

.footer-logo .logo {
	width: 100px;
 /* Largeur du logo */
	height: auto;
}

/* Informations footer */
.footer-info {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.footer-info p {
	margin: 5px 0;
}

.footer-info a {
	color: white;
	text-decoration: none;
}

.footer-info a:hover {
	text-decoration: underline;
}

/* RGPD link styling */
.footer-info a {
	font-size: 0.9rem;
	margin-top: 10px;
}