header  /* en-tête */
{

    /*background-image: url("images/lycee.jpg");    /* bannière en fond */
    /*background-repeat: no-repeat; /*sert à savoir si l'image de l'arriere se repete à l'affichage*/
    /*background-size: contain;   /* determien la taille de l'arriere plan*/
	
	position: relative; 
	
	font-size: 2em;
	
	text-align: center;          /* ou toute autre hauteur */
}

footer  /* pied-de-page */
{
	font-size: 1.2em;
	position: relative;
    text-align: center;
    font-style: italic; /* en italique */
	
	background-color: #58ac3c;;
}

body{
	/*background-image: url("images/backround/poussins.jpg");
	background-size: 5%;*/
	background-image: url("images/backround/verdure2.jpg");
	background-repeat: no-repeat; /* Ne pas répéter l'image */
	background-attachment: fixed; /* L'image reste fixe quand on scrolle */
	background-size: cover; /* Adapter l'image à la taille de l'écran */
	background-position: center; /* Centrer l'image */
  
	font-family: 'Arial', sans-serif;
	font-weight: bold;
	font-size: 1rem;
	font-size: clamp(14px, 1.2vw, 20px);
}

/*pour enlever la marge par défaut du body et du html*/
html, body {
    margin: 0;
    padding: 0;
	height: 100%;
}

img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

a {
  text-decoration: none;
}

.hidden {
  display: none;
}

/*pour centre une div : */
.centrer {
    display: flex;
    align-items: center;
    justify-content: center;
}
.alignerTitre {
	font-family: "fontSite", sans-serif;
	color: #58ac3c;
    text-align: center;
    text-shadow:
        -1px -1px 0 white,
         1px -1px 0 white,
        -1px  1px 0 white,
         1px  1px 0 white,
        -2px  0px 0 white,
         2px  0px 0 white,
         0px -2px 0 white,
         0px  2px 0 white;
}

.coord p {
    margin: 0;           /* supprime les marges haut/bas */
    padding-bottom: 8px; /* optionnel : ajoute un petit espace entre paragraphes */
}

.coord img {
    width: 20%;
    height: auto;
	border-radius: 8px;
}

.charte {
  display: flex;
  align-items: center; /* pour aligner verticalement p et img */
  gap: 10px; /* espace entre le texte et l’image, optionnel */
  justify-content: center;
}

.imageTitre {
	text-align: center;
}
.imgHistorique {
	display: inline-block;
	width: 40%;
	min-width: 400px;
	max-width: 100%;
	
	background-color: #e1c67f;
    border-radius: 15px;
    padding: 15px;
	
	box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.5);
}

.imgHistorique img{
	border-radius: 15px;
}

.coord{
	font-size: 0.6em;
	margin-left: 2%;
	margin-top: 2%;
	width: 20em;
	
	background-color: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
	
	padding: 10px;
}

/*parti 1 et 2: */

.boite {	
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px;
	margin-bottom: clamp(30px, 5vw, 70px);
}

.boite h1{
	text-align: center;
	text-shadow:
        -1px -1px 0 white,
         1px -1px 0 white,
        -1px  1px 0 white,
         1px  1px 0 white,
        -2px  0px 0 white,
         2px  0px 0 white,
         0px -2px 0 white,
         0px  2px 0 white;
}

.conteneur {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 70px;
    width: 90%;
    margin: 0 auto;
	padding: 35px;
}

/*pour géré la structure selon la taille de l'écrant*/
.conteneur > div {
    flex: 1 1 30%; /* 1 = grow, 1 = shrink, 30% = base width */
    min-width: 250px;
    box-sizing: border-box;
}

.caseTextImg {
    background-color: #e1c67f;
    border-radius: 15px;
    padding: 15px;
    color: black;
    overflow-y: auto;
	font-size: 0.9em;
	box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.5);
	width: 100%;
	height: auto;
	max-width: 80%;
	
	margin: auto auto;

    text-align: center;
    display: block;
	min-width: 300px;
}

.caseTextImg img{
	border-radius: 15px;
}



.caseTextImg iframe {
    aspect-ratio: 1.35 / 1; /* carré */
    width: 100%;
    height: auto;
    min-height: auto; /* inutile ici, sauf si tu veux imposer un minimum */
    border: 0;
    display: block;
    border-radius: 15px;
}



/*parti 2 : */

.conteneurColor {
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 15px;
}

/*parti 3 : */

.poule{
	width: 98%;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: space-between;
}

.poulets, .poulettesPintades {
    flex: 1 1 45%;
}

.poule img{
	min-width: 70px;
	height: auto;
}

.poulets, .poulettes{
	gap: 20px;
	display: flex;
	flex-direction: column; /* empile les enfants verticalement */
	margin-bottom: 5%;
}

.pintades{
	margin-bottom: 5%;
}

.poulettes{
	margin-bottom: 20%; /*espace entre la div et celle d'en bas*/
}

.poulets img {
    max-width: 13%; /* ajuste selon ta taille préférée */
}
.poulettes img{
	max-width: 20%; /* ajuste selon ta taille préférée */
}
.pintades img{
	max-width: 30%; /* ajuste selon ta taille préférée */
}

/*boutton poulet de base*/
.bouttonOrange,
.bouttonOrangeC,
.bouttonVert,
.bouttonVertC,
.bouttonPintade,
.bouttonPintadeC {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    padding: 15px;
    width: 90%;
	margin: 0 auto;
	box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.5);
}

.descriptionVol{
	display: flex;
    align-items: center; /* Aligne verticalement au centre */
    gap: 20px; /* Espace entre les deux blocs */
}

.bouttonOrange {
    background-color: #d88c3c;
    color: black;
}
.bouttonOrangeC {
    background-color: #e09c4c;
    color: #a06424;
	transform: scale(1.03);
}

.bouttonVert {
    background-color: #bcdc3c;
    color: black;
}
.bouttonVertC {
    background-color: #c8dc64;
    color: #98ac2c;
	transform: scale(1.03);
}

.bouttonPintade {
    background-color: #d0ec7c;
    color: black;
}
.bouttonPintadeC {
    background-color: #e0ec9c;
    color: #98ac54;
	transform: scale(1.03);
}

.imageLivraison {
    position: relative;
    width: 100%;
    margin-top: 50px;
    overflow: hidden;
	margin-bottom: 120px; /*espace entre la div et celle d'en bas*/
}

.paraLivraison {
    position: absolute;
    top: 50%;
    left: 75%;

	transform: translate(-50%, -50%);
    
    padding: 20px;
    
    width: 35%;
    max-width: 80%;
	height: auto;
    font-size: 1.5em;
	
	font-size: clamp(8px, 2vw, 30px);
}

.lien{
	/*padding-bottom : 20px;*/
}

.paraDef{
	padding-bottom : 10%;
	width: 70%;
}


@font-face {
  font-family: "fontSite";
  src:  url("fonts/permanent_marker/PermanentMarker-Regular.ttf") format('opentype');
  font-weight: normal;
  font-style: normal;
}

.fontSite{
	font-family: "fontSite", sans-serif;
	color: #58ac3c;
	font-size: 2.6em;
}

.titrePoule {
	position: relative;
    width: 100%;
    text-align: center;
    
    font-size: 3em;
	font-family: "fontSite", sans-serif;
	margin: 0;
	padding: 0;
	top: 30px;
	
    color: #58ac3c;
    text-shadow:
        -1px -1px 0 white,
         1px -1px 0 white,
        -1px  1px 0 white,
         1px  1px 0 white,
        -2px  0px 0 white,
         2px  0px 0 white,
         0px -2px 0 white,
         0px  2px 0 white;
}

.barreOrange {
    background-color: #d86c24;
    color: white;
    text-align: center;
    width: 100%;
}

.barreVert {
    background-color: #c8dc44;
    color: white;
    text-align: center;
    width: 100%;
}


/*parti 4 : (autres pages)*/

.bouttonPage2, 
.bouttonPage2C{
    gap: 10px;
    border-radius: 15px;
    padding: 20px;
	color: white;
	box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.5);
	
	font-size: 1.6em;
	width: 15em;
	height: 5em;
	
	
	display: flex;
	justify-content: center; /* centrage horizontal */
	align-items: center;     /* centrage vertical */
	
}

.retour{
	position: absolute;
	bottom: 4%;
	left: 2%;
}

.bouttonPage2{
	background-color: #ffac44;
}

.bouttonPage2C{
	background-color: #f0541c;
	transform: scale(1.03);
}

.gallinaceImDesc{
	width: 100%;
	text-align: center;
	margin-bottom: 30px; /*espace entre la div et celle d'en bas*/
}

.gallinaceBloc{
	position: relative;
	
	width: 98%;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 15px;
	height: 95vh;
	min-height: 650px;

    box-sizing: border-box;
	
	margin-top: 2vh;   /*revoir pour centrer au milieux de l'écran au lieu de marger*/ 
}


.icon, .iconpdf{
	display: flex;
    align-items: center; /* Aligne verticalement au centre */
    gap: 20px; /* Espace entre les deux blocs */
}

.icon img{
	width: 2.57em;
    height: 2.57em;
}

.iconpdf img{
	width: 1.95em;
    height: 2.57em;
}

.paraPDF{
	width: 60%;
	text-align: center;
}

.legende{
	width: 100%;
	display: flex;
}

.blocMatricul{
	align-items: center;
    gap: 10px;
    border-radius: 15px;
    color: white;
	
	padding: 15px;


	font-size: 0.9em;
	box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.5);

	background-color: #1074a4;
	
	display: flex;
	justify-content: center; /* centrage horizontal */
	flex-direction: column;
	align-items: center;     /* centrage vertical */
	
	font-size: 1.7em;
	width: 13em;
	height: 5em;
	
	margin: 0 auto 80px auto;
}

.blocDesc{
	background-color: #1074a4;
	  
    gap: 10px;
    border-radius: 15px;
    padding: 20px;

	width: auto;
	
	font-size: 1.6em;
	width: 15em;
	height: 5em;
	
	color: white;
	box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.5);
	
	text-align: center;
	
	display: flex;
	justify-content: center; /* centrage horizontal */
	flex-direction: column;
	align-items: center;     /* centrage vertical */
}



.sitesBloc {
  display: flex;
  justify-content: center;  /* centre les boîtes */
  align-items: center;       /* Centre verticalement les éléments */
  gap: 30px;                /* espace entre les boîtes */
}



/*parti 5 :*/




.pyramide {
	width: 100%;
	padding: 0 10px;
	box-sizing: border-box;
}

.ligne {
	display: flex;
	justify-content: center;
	gap: 80px;
	width: 100%;
	flex-wrap: nowrap;
}

.ligne a {
	width: 15vw; /* 20% de .pyramide => 5 blocs par ligne possible */
	aspect-ratio: 1 / 1; /* garantit un bloc carré */
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	min-width: 80px; /* optionnel pour éviter des blocs trop petits */
}

.ligne a:hover img {
	width: 100%;
}

.ligne a img {
	width: 90%;
	height: auto;
	object-fit: contain;
	display: block;
	transition: width 0.3s ease;
}


.limiteForm {
  display: flex;
  justify-content: center;
  align-items: center;
  
  margin-bottom: 80px; /*espace entre la div et celle d'en bas*/
}



form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

form p {
  margin: 0;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #999;
  box-sizing: border-box;
  font-size: 1em;
}

.bouttonMail,
.bouttonMailC{
    gap: 10px;
    border-radius: 15px;
    padding: 20px;
	color: white;
	box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.5);
	
	font-size: 1.6em;
	width: 2em;
	height: 2em;
	
	
	display: flex;
	justify-content: center; /* centrage horizontal */
	align-items: center;     /* centrage vertical */
	
}

.bouttonMail{
	background-color: #ffac44;
}

.bouttonMailC{
	background-color: #f0541c;
	transform: scale(1.05);
}

.iconMail img{
	width: 1.5em;
    height: 1.5em;
}

.adrM a{
	color: #EAC330;
}

.adrM a:hover{
	color: #f0541c; 
}

input:focus,textarea:focus {
  outline: 2px solid #f0541c; /* changer la couleur et l'épaisseur */
  outline-offset: 2px;    /* espace entre le contour et l'input */
}

textarea {
  resize: vertical; /* l'utilisateur peut agrandir vers le bas seulement */
}


form button {
  align-self: flex-start;
  padding: 10px 20px;
  background-color: #ffac44;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.5);
}


button:hover{
	background-color: #f0541c;
	transform: scale(1.03);
}

.caseForm {
  max-width: 450px;
  width: 100%;
  margin: 0 auto;

  /* Les styles que tu avais déjà */
  background-color: #e1c67f;
  border-radius: 15px;
  padding: 15px;
  color: black;
  overflow-y: auto;
  font-size: 0.9em;
  box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.5);
  text-align: left; /* pas center, sinon le formulaire sera centré à l’intérieur */
}


.limiteRetour{
	position:relative;
}

.section{
	padding-bottom: 20px;
}

/* partie mobile*/

*,
*::before,
*::after {
  box-sizing: border-box;
}



/* Pour les tablettes (entre 600px et 1024px) */
@media (max-width: 1024px) {
    .conteneur {
        flex-direction: column;
        gap: 40px;
    }

    .poule {
        flex-direction: column;
        gap: 30px;
    }

    .paraLivraison {
        position: static;
        transform: none;
        width: 90%;
        margin: 20px auto;
        text-align: center;
    }

    .boite {
        padding: 20px;
    }

    .paraPDF {
        width: 90%;
    }
	
	
	
	
	.paraLivraison {
        position: absolute;
		top: 40%;
		left: 75%;

		transform: translate(-50%, -50%);
		
		padding: 20px;
		
		width: 40%;
		max-width: 80%;
		height: auto;
		font-size: 1.5em;
		
		font-size: clamp(8px, 2vw, 30px);
    }

    .imageLivraison {
        margin-bottom: 60px;
    }
	
	
	.blocDesc{
		margin: 5px 0;
		gap: 1px;
		
		padding: 20px;

		font-size: 1.4em;
		width: 10em;
		height: 6em;
		
		text-align: center;
	}
}

/* Pour les téléphones (moins de 600px) */
@media (max-width: 600px) {
    .conteneur > div,
    .caseTextImg,
    .imgHistorique{
        min-width: unset;
        width: 100%;
        max-width: 100%;
    }

    .poule {
        flex-direction: column;
        gap: 20px;
    }

    .bouttonOrange,
    .bouttonOrangeC,
    .bouttonVert,
    .bouttonVertC,
    .bouttonPintade,
    .bouttonPintadeC{
        flex-direction: column;
        text-align: center;
        padding: 10px;
        width: 95%;
    }
	
    .titre2 {
        font-size: 1.8em;
        top: 10px;
    }

    .imgHistorique {
        width: 90%;
    }

    .paraPDF {
        font-size: 0.9em;
    }

    .descriptionVol {
        flex-direction: column;
        text-align: center;
    }

    .blocMatricul, .blocDesc {
        width: 90%;
        margin: 0 auto 40px;
    }
	
    .paraLivraison {
        position: absolute;
		top: 35%;
		left: 75%;

		transform: translate(-50%, -50%);
		
		padding: 20px;
		
		width: 45%;
		max-width: 80%;
		height: auto;
		font-size: 1.5em;
		
		font-size: clamp(8px, 2vw, 30px);
    }

    .imageLivraison {
        margin-bottom: 60px;
    }
	
	.blocDesc{
		margin: 5px 0;
		gap: 1px;
		
		padding: 20px;

		font-size: 1.4em;
		width: 10em;
		height: auto;
		
		text-align: center;
	}
	
	.bouttonPage2, 
	.bouttonPage2C{
		margin: 5px 0;
		gap: 10px;
		
		text-align: center;
        padding: 20px;
		
		font-size: 1.3em;
		width: auto;
		height: 5em;
	}
	
}


@media (max-width: 768px) {
	.ligne {
		gap: 20px;
		flex-wrap: wrap; /* autoriser les blocs à passer à la ligne */
	}

	.ligne a {
		width: 40vw; /* 2 blocs par ligne sur mobile */
	}

	.pyramide {
		gap: 10px;
	}
}

@media (max-width: 480px) {
	.ligne a {
		width: 80vw; /* 1 bloc par ligne sur très petits écrans */
	}
}

