
:root {
	--primary-red: #e63946;
	--dark-blue: #1d3557;
	--light-bg: #f8f9fa;
	--text-color: #333;
	--transition: all 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; color: var(--text-color); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- HEADER --- */
.main-header {
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
	padding: 15px 0;
}
.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.logo-img { width: 170px; height: auto; display: block; }

/* Menu Logic */
.menu-toggle, .sub-toggle { display: none; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 1100; }
.hamburger span { width: 28px; height: 3px; background: var(--dark-blue); border-radius: 2px; }

/* Navigation Desktop */
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 30px; }
.main-nav a, .nav-text-parent { 
	text-decoration: none; 
	color: var(--dark-blue); 
	font-weight: 600; 
	transition: var(--transition);
	display: block;
}
.main-nav a:hover { color: var(--primary-red); }

.has-submenu { position: relative; padding: 10px 0; }
.submenu { 
	position: absolute; 
	top: 100%; 
	left: 50%;
	transform: translateX(-50%);
	background: #fff; 
	box-shadow: 0 8px 25px rgba(0,0,0,0.15); 
	min-width: 260px; 
	padding: 10px 0; 
	border-radius: 8px;
	border-top: 3px solid var(--primary-red);
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s ease, visibility 0.3s;
	pointer-events: none; 
}
.submenu li { width: 100%; display: block; }
.submenu a { padding: 12px 20px; font-size: 0.9em; font-weight: 500; text-align: left; }

@media (min-width: 993px) {
	.has-submenu:hover .submenu { visibility: visible; opacity: 1; pointer-events: auto; }
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 992px) {
	.hamburger { display: flex; }
	.nav-home { display: none !important; }

	.main-nav {
		position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
		background: #fff; padding: 80px 0 0 0;
		transition: 0.4s ease-in-out;
		box-shadow: -10px 0 30px rgba(0,0,0,0.1);
	}
	.menu-toggle:checked ~ .main-nav { right: 0; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav a, .nav-text-parent { padding: 15px 25px; border-bottom: 1px solid #f0f0f0; width: 100%; }

	/* Accordéon Mobile sur 3 lignes distinctes */
	.submenu { 
		position: static; transform: none; display: none; visibility: visible; opacity: 1;
		box-shadow: none; background: #f9f9f9; border: none; width: 100%; pointer-events: auto;
	}
	.submenu li { border-bottom: 1px solid #eee; }
	.submenu a { padding: 12px 40px; }
	.sub-toggle:checked ~ .submenu { display: block; }
	.nav-text-parent { cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
	.nav-text-parent::after { content: '▼'; font-size: 0.6em; }
}

/* --- HERO SECTION --- */
.hero-section { padding: 80px 0; background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%); text-align: center; }
.hero-section h1 {
	font-size: clamp(1.8rem, 5vw, 2.8rem);
	color: var(--dark-blue);
	font-weight: 900;
	line-height: 1.2;
	margin: 0 auto 20px;
	max-width: 800px;
}
.hero-section h2 { font-size: clamp(1rem, 2.5vw, 1.2rem); color: #555; font-weight: 400; max-width: 750px; margin: 0 auto 30px; }

/* --- BOUTONS --- */
.button { display: inline-block; padding: 14px 30px; background: var(--dark-blue); color: #fff; text-decoration: none; border-radius: 50px; font-weight: 600; transition: var(--transition); border: none; cursor: pointer; }
.button-red { background: var(--primary-red); }
.button:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* --- SERVICES --- */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 25px;
	align-items: stretch;
	margin-top: 40px;
}
.service-card {
	background: var(--light-bg);
	padding: 40px 30px;
	border-radius: 15px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: center;
}
.card-icon { font-size: 3rem; margin-bottom: 15px; }
.card-title { font-size: 1.5rem; color: var(--dark-blue); margin-bottom: 15px; font-weight: 700; }
.card-description { font-size: 0.95rem; margin-bottom: 20px; color: #444; }

/* --- TEAM SECTION --- */
.about-us-hp { padding: 80px 0; background: var(--dark-blue); color: #fff; text-align: center; }
.team-members-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 40px; }
.member-card { background: #fff; color: #333; padding: 40px 30px; border-radius: 15px; width: 450px; max-width: 100%; text-align: left; }
.member-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; border: 4px solid var(--light-bg); display: block; margin-left: auto; margin-right: auto; }
.member-card h4 { text-align: center; font-size: 1.3rem; margin-bottom: 5px; }
.member-role { text-align: center; font-weight: 700; color: var(--primary-red); margin-bottom: 15px; display: block; }
.linkedin-link { 
	display: inline-flex; 
	align-items: center; 
	margin-top: 15px; 
	color: #0077b5; 
	font-weight: 600; 
	text-decoration: none;
	gap: 8px;
}
.linkedin-link:hover { text-decoration: underline; }

/* --- TESTIMONIALS --- */
.reviews-grid-hp {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 25px;
	align-items: stretch;
	margin-top: 40px;
}
.review-card {
	background: #fff;
	padding: 35px;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.review-author { font-size: 0.85em; margin-top: 20px; font-weight: 700; border-top: 1px solid #eee; padding-top: 15px; }

.main-footer { padding: 40px 0; background: #eee; text-align: center; font-size: 0.8em; line-height: 1.8; }