/*
Theme Name: Divi-child
Description: Theme enfant de Divi. Vous pouvez maintenant effectuer vos modifications en toute sécurité.
Author: WPMarmite
Author URI: https://wpmarmite.com
Template: Divi
Version: 1.0
*/

.et_pb_all_tabs, 
.et_pb_module, 
.et_pb_text, 
.et_pb_section, 
.et_pb_row {
    font-family: 'SourceSans3', sans-serif !important;
}

/* === STRUCTURE GLOBALE === */

.header-custom{
	/*position: fixed;*/
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	background: #fff;
	transition: all 0.3s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-custom .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	padding: 0px 0px 20px 0px;
	flex-wrap: nowrap;
	min-width: 0;
	max-width: 1280px !important;
}

/* === BANDE VERTE === */
.bandeau-vert {
	border-top: 10px solid #B2C568;
	font-family: 'SourceSans3', sans-serif !important;
	text-transform: uppercase;
	font-weight: bolder;
	letter-spacing: 3px;
	color: white;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin: 0 !important;
}

.bandeau-vert .suivez-nous {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-right: 10% !important;

}

.bandeau-vert .suivez-nous p {
	margin: 0;
	padding-right: 0.5rem;
}

.bandeau-vert .suivez-nous a svg {
	width: 20px;
	height: 20px;
	fill: white;
}

.suivez-nous{
	background-color: #B2C568;
	margin: 0 !important;
	padding: 10px;
	border-radius: 0px 0px 20px 20px;
}


/* === BOUTON BURGER === */
.header-custom .menu-toggle {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 2000;
	width: 30px;
	height: 30px;
	display: none;
}

.header-custom .menu-toggle .bar {
	display: block;
	width: 100%;
	height: 3px;
	margin: 5px 0;
	background-color: #000;
	transition: all 0.3s ease;
}

.menu-header a{
	color: #304530;
	text-decoration: none;
	font-family: 'SourceSans3', sans-serif !important;
	font-weight: bolder;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 18px;
}

.header-custom .menu-header .nav-menu li:not(:last-child) {
	margin-right: 2rem;
}

.header-custom .logo svg{
	max-height: 100px; /* ou 70px selon ton goût */
	height: auto;
	width: auto;
	display: block;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
	.header-custom .menu-toggle {
		display: block;
	}

	.header-custom .menu-header {
		display: flex;
		justify-content: center;
		align-items: center;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background-color: #fff;
		transform: translateY(-100%);
		transition: transform 0.3s ease-in-out;
		z-index: 1000;
		padding: 3rem 1rem;
	}

	.header-custom.menu-open .menu-header {
		transform: translateY(0);
	}

	.header-custom .menu-header .nav-menu a {
        line-height: 50px;
	}
	
	.header-custom .container {
    flex-direction: column;
    align-items: center;
  }

  .header-custom .logo svg {
    margin-top: 5px;
  }
	.bandeau-vert{
			justify-content: center;
	}
	.bandeau-vert .suivez-nous{
		margin-right: 0 !important;
	}
}

/* === AU SCROLL - MENU === */
.header-custom.shrink{
	position: fixed;
}
.header-custom .logo svg {
	width: 220px; 
	transition: width 0.4s ease;
	/*padding-top: 10px;*/
}

.bandeau-vert {
	transition: opacity 0.4s ease, height 0.4s ease, padding 0.4s ease;
}

.header-custom.shrink .container{
	padding-bottom: 0px;
	align-items: center;
}

.header-custom.shrink .logo svg {
	width: 120px !important;
	transition: width 0.3s ease;
}

.bandeau-vert {
	transition: opacity 0.3s ease, height 0.3s ease;
}

.bandeau-vert.hide {
	opacity: 0;
	height: 0;
	overflow: hidden;
	padding: 0;
	border: none;
}

/* === CROIX ANIMÉE === */
.header-custom.menu-open .menu-toggle .bar:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}
.header-custom.menu-open .menu-toggle .bar:nth-child(2) {
	opacity: 0;
}
.header-custom.menu-open .menu-toggle .bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 769px) {
	.header-custom .menu-header .nav-menu {
		display: flex;
		flex-direction: row;
		gap: 1.5rem;
		align-items: center;
		justify-content: flex-end;
	}

}

/* === FOOTER ===*/
.header-footer{
	width: 100%;
	display: block;
}

.container-footer{
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 50px 0px 50px 0px;
}

.logo-footer{
	margin-right: 10%;
}
.coordonnees{
}
.signature{
		text-align: center;
}

.container-footer p, .container-footer a, .signature p, .signature a{
	color: #304530;
	font-size: 16px;
	padding-bottom: 0 !important;
}

.signature p{
	text-transform: uppercase;
	letter-spacing: 1px;
}
