







body{
    font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size:14px;
    background: #ffffff;
   	margin:0;
   	padding:0;
   	box-sizing:border-box;
	text-decoration: none;
	list-style: none;

}


h2 {
	font-size:2.6em;
	font-weight: bold;
	color:#297C31;
	text-align: center;
	padding-top:10px;
	padding-bottom:10px;
}

h3 {
	font-size:1.8em;
	font-weight: bold;
	color:#297C31;
	text-align: center;
	padding-top:10px;
}


h4{
	font-size:1.2em;
	color:#990101;
	text-align: center;
}





@media(max-width:810px){
	.row {
		width: 100%;

	}

}





.btn {
    border-color: #297C31;
    padding:10px;
    padding-left: 10px;
    scroll-padding-right: 10px;
    text-align: center;
    color:  #297C31;
    font-weight: bold;
    background-color: #f5f5f5;
       
}


.btn:hover{
    color: white;
	border-color: #ffffff;
	background-color: #004d40;
}





/*** Navbar Start ***/
.nav-bar {
    background: #297c29;
}

.sticky-top {
    transition: 1s;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 15px;
    padding: 15px;
    letter-spacing: 1px;
    color: #f5f5f5;
    font-size: 14px;
    font-weight: bolder;
    outline: none;
    transition: .5s;
    font-size: 1.1em;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: #f5f5f5;
}

.navbar-light .navbar-nav .nav-link:hover {
	color: #f5f5f5;
	font-size: 1.2em;

}

.logo {
    display: inline-block; /* Empêche le logo de prendre toute la largeur */
    width: 200px; /* Taille du logo */
    height: auto; /* Ajuste automatiquement la hauteur */
    position: relative; /* Empêche le déplacement involontaire */
    margin: 0 auto; /* Centre le logo si besoin */
}

.logo img {
    width: 100%; /* Assure une bonne adaptation */
    height: auto;
    object-fit: contain; /* Évite toute distorsion */
}

.navbar-light .navbar-nav .nav-link.active {
    color: #f5f5f5; /* Couleur du texte */
}

.navbar-light .navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px; /* Place le trait sous le texte */
    width: 100%;
    height: 3px; /* Épaisseur du trait */
    background-color: #ffffff; /* Couleur du trait */
    border:0px;
}

.navbar-light .navbar-nav .nav-link.active:hover::after {
    width: 100%;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    margin-top: 4px !important;
    background: #f5f5f5;
    transition: .5s;
    opacity: 1;
	font-size:1.0em;
}



.navbar .nav-item:hover .dropdown-menu  a:hover{ 
	color: #043c04;
	font-size: 1.4em;
}


.bouton-head{
    text-align: center;
    gap: 10px;
    margin-left: 40px;
    padding-top: 10px;

}





.search-input {
    width: 250px;
    padding: 10px;
    border: 2px solid #297C31;
    border-radius: 20px;
    font-size: 1em;
    outline: none;
}


.fa-search {
    cursor: pointer;
    font-size: 22px;
    color: #f5f5f5;
    padding-left: 15px;
    padding-top: 20px;
    
}

.fa-search:hover {
    color: #f5f5f5;
    font-size: 1.5em;
    color:#f5f5f5;
	margin-left: 10px;
	font-size: 25px;
}


@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    border: 0;
    border-radius: 10px;
    margin-top: 8px !important;
    transition: .5s;
    opacity: 0;
    }
}

@media (max-width: 991px) {
    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        color:#f5f5f5;
    }

    .sticky-top .navbar-light .navbar-nav .nav-link {
        padding: 12px 0;
    }
}


/*** Navbar End */









/* section-titre-form-contact */
.section-titre-form-contact {
  background: linear-gradient(135deg, rgba(41, 124, 49, 0.5), rgba(1, 92, 153, 0.8)), 
                url('img/background-contact.jpg');
    background-size: cover;
    padding: 20px 10px;
    text-align: center;
    color: #fff;
}

/* Titre */
.section-titre-form-contact .titre-contact {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

/* Texte */
.section-titre-form-contact .texte-contact {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 15px;
    line-height: 1.6;
    opacity: 0.9;
}













/* 0000000000000 */
/* page contact */

.contacts .row {
	display: flex;
	padding-top:0px;
	padding-bottom:10px

}


.contacts .container .row {
	position: static;

}







/* Container général avec image de fond */
.form-container {
  max-width: 480px;
  margin: 40px auto;
  padding: 24px 30px;
  background: url('img/bgcarriere.jpeg') no-repeat center center/cover; /* ← Change cette image si tu veux */
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2e2e2e;
  position: relative;
  overflow: hidden;
}

.form-container form {
  background: rgba(255, 255, 255, 0.92);
  padding: 24px 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff; /* Blanc sur fond image pour contraste */
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.form-container label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 18px;
  border: 1.8px solid #cbd5b5;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-container input[type="text"]:focus,
.form-container input[type="email"]:focus,
.form-container textarea:focus {
  border-color: #7aa93d;
  outline: none;
  box-shadow: 0 0 6px rgba(122, 169, 61, 0.5);
}

.form-container .consent-label {
  display: flex;
  align-items: center;
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.form-container .consent-label input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-container button[type="submit"] {
  width: 100%;
  padding: 14px 0;
  background-color: #7aa93d;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.form-container button[type="submit"]:hover {
  background-color: #5f7d28;
}

.form-container .success-message {
  margin-top: 18px;
  padding: 14px;
  background-color: #d4edda;
  border: 1.5px solid #a3d2a1;
  border-radius: 8px;
  color: #2f6627;
  font-weight: 600;
  text-align: center;
  user-select: none;
}

@media (max-width: 520px) {
  .form-container {
    margin: 20px 15px;
    padding: 20px 18px;
  }
}












/* nos contacts */
/* Contact block dans le même style que form-container */
.contact-style {
  margin-top: 60px;
  background: url('img/sctformimg.jpeg') no-repeat center center/cover;
}

.contact-style h2 {
  text-align: center;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Bloc infos */
.contact-box,
.social-box {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px 24px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
}



.contact-box a {
    font-weight: bold;
    color:#015f99;
    font-size: 1.2em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;



}



.contact-box a:hover {
  color: #297c31;
  font-size: 1.5em;
}

/* Icônes réseaux */
.social-box p {
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.social-icons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-icons a {
  width: 42px;
  height: 42px;
  background-color: #015f99;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.social-icons a:hover {
  background-color: #297C31;
  transform: scale(1.05);
}

/* Responsive ajustement */
@media (max-width: 520px) {
  .contact-box,
  .social-box {
    text-align: center;
  }

  .contact-box p {
    justify-content: center;
  }
}



@media (max-width: 520px) {
  .contact-box,
  .social-box {
    text-align: center;          /* Centrer le texte et les liens sur petits écrans */
  }

  .contact-box p {
    justify-content: center;     /* Centrer les icônes et le texte dans les paragraphes */
  }
}










/* localisation */
.col .localisation {
	border-radius: 20px;
	border:solid 3px;
	border-color:#297c31;
	margin-top:15px;
	margin-bottom:15px;
	padding:5px;
	width: 100%;
  height: 450px;

}

@media (max-width: 768px) {
    .contacts .row {
        flex-direction: column; /* Empile les blocs */
    }
    
    .form-page-contact, .infos-contact {
        width: 100%;
        margin-bottom: 20px;
    }
}












/* 0000000000 */
/* footer top */

.footer .row {
	display:flex;

}
.footer	h1 {
	color:#f5f5f5;
	font-weight: bold;
 }


.footer .row .col {
	width: 25%;
	margin-right:2px;

}



.footer-top {
    background-image: url('img/footer-long.jpg');
	background-size: cover;
	background-repeat:	no-repeat;
	background-attachment: fixed;
    color: #f5f5f5;
    text-align: justify;

}



.footer h3 {
	color: #FFFFFF;
	font-weight: bold;
	text-align:left;

}

.footer p {
	color: #f5f5f5;

}


.footer-top a {
    color: #f5f5f5;
   
}





.col .adresses {
	white-space: nowrap;
	width:100%;
	position: relative;

}

a{
    text-decoration: none; /* Supprime le soulignement des liens */
    font-weight: bold;
    font-size: 1.0em;
}

.footer ul {
    list-style: none; /* Supprime les puces */
    padding: 0; /* Évite un espace interne inutile */
    margin: 0; /* Supprime tout décalage */
    font-size: 1.2em;
     list-style: none;
}


.col .acces-rapide {
	white-space: nowrap;
	width:100%;
	position: relative;

}



.entree-de-donnees {
	width: 100%;
	height: 25px;
	border-radius: 20px;
	margin: 5px

}


.bouton-envoi {
	color: #297C31;
    font-size:20px;
	padding:10x;

}

.bouton-envoi :hover {
    color:#297C31;
  	
}


.newsletter {
    background-color:rgba(41, 124, 49, 0.3); /*couleur verte transparente de la newsletter*/
    border-radius: 15px;
    padding-right:15px;
    padding-left: 15px;
    width:100%;
	margin: 0px;
	position: static;
    height: auto;
    display: flex; /* Pour centrer les éléments */
    flex-direction: column; /* Alignement vertical */
    align-items: center; /* Centrage horizontal */
    justify-content: center; /* Centrage vertical */
	
}  


.newsletter form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px; /* Ajoute un espace entre les éléments */
}

.entree-de-donnees {
    width: 100%; /* Les champs prennent toute la largeur disponible */
    max-width: 250px; /* Limite la largeur pour un meilleur rendu */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.bouton-envoi {
    width: 100%; /* Assurer qu'il reste dans l'ensemble */
    max-width: 250px; /* Taille cohérente avec les champs d'entrée */
    padding: 8px;
    background-color: #297C31; /* Couleur améliorée */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom:10px;
}

.bouton-envoi:hover {
    background-color: #70f5a7; /* Effet au survol */
}




.footer li :hover {
	font-weight: bold;
	font-size: 1.4em;
    margin: 0; /* Supprime toute marge parasite */
    padding: 5px 0; /* Ajuste l'espacement */



}

.nous-suivre :hover {
	color: #297c31;
	font-weight: bold;
	font-size: 1.6em;


}
.nous-suivre-text{
    font-size: 1.2em;

}


@media (max-width: 768px) {
    .footer .row {
        flex-wrap: wrap; /* Permet aux colonnes de passer en mode empilé */
    }

    .footer .col {
        width: 50%; /* Passe à 2 colonnes par ligne */
    }
}

@media (max-width: 480px) {
    .footer .col {
        width: 100%; /* Passe à 1 colonne par ligne */
    }
}



.copyright {
    background-color: #297c31;
    padding: 5px;
    text-align: center;
}

.copyright a {
    background-color: #297c31;
    color: #f5f5f5;
	font-weight: bold;
  
    
}

