* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-green: #89ac84; //#157f3c;
	--secondary-yellow: #dbc930;
	--light-green: #e8f5e8;
	--light-yellow: #fef7e8;
	--text-dark: #2d3748;
	--text-gray: #4a5568;
	--text-light: #718096;
	--white: #ffffff;
	--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--text-dark);
	background: var(--white);
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: var(--shadow);
	z-index: 1000;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 70px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--primary-green);
	text-decoration: none;
}

.logo-icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	overflow: hidden; /* Ensures the image respects the border-radius */
	display: flex; /* Centers the image */
	align-items: center;
	justify-content: center;
}

.logo-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Ensures the image fills the container without distortion */
}
.hero-logo img {
	max-width: 240px; /* Adaptez la taille selon vos besoins */
	height: auto;
	display: block;
	margin: 0 auto;
}
nav {
	display: flex;
	gap: 30px;
}

nav a {
	text-decoration: none;
	color: var(--text-gray);
	font-weight: 500;
	transition: color 0.3s ease;
	position: relative;
}

nav a:hover {
	color: var(--primary-green);
}

nav a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary-green);
	transition: width 0.3s ease;
}

nav a:hover::after {
	width: 100%;
}

.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: var(--primary-green);
}

.mobile-menu {
	display: none;
	position: absolute;
	top: 70px;
	left: 0;
	right: 0;
	background: white;
	box-shadow: var(--shadow);
	padding: 20px;
}

.mobile-menu.active {
	display: block;
}

.mobile-menu a {
	display: block;
	padding: 15px 0;
	text-decoration: none;
	color: var(--text-gray);
	border-bottom: 1px solid #eee;
}

/* Hero Section */
.hero {
	padding: 120px 0 80px;
	background: linear-gradient(135deg, var(--light-green) 0%, var(--light-yellow) 100%);
	text-align: center;
}

.hero h1 {
	font-size: 3.5rem;
	font-weight: bold;
	color: var(--primary-green);
	margin-bottom: 20px;
}

.hero p {
	font-size: 1.3rem;
	color: var(--text-gray);
	margin-bottom: 40px;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.hero-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.btn {
	padding: 15px 30px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	cursor: pointer;
	border: none;
	font-size: 16px;
}

.btn-primary {
	background: var(--primary-green);
	color: white;
}

.btn-primary:hover {
	background: #0f5a2a;
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.btn-secondary {
	background: transparent;
	color: var(--secondary-yellow);
	border: 2px solid var(--secondary-yellow);
}

.btn-secondary:hover {
	background: var(--secondary-yellow);
	color: white;
	transform: translateY(-2px);
}

/* News Carousel */
.news-section {
	padding: 80px 0;
	background: var(--white);
}

.section-title {
	font-size: 2.5rem;
	font-weight: bold;
	color: var(--primary-green);
	text-align: center;
	margin-bottom: 60px;
}

.carousel-container {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: var(--shadow-lg);
}

.carousel-track {
	display: flex;
	transition: transform 0.5s ease;
}

.carousel-slide {
	min-width: 100%;
	display: flex;
	flex-direction: column;
}

.carousel-slide img {
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.carousel-content {
	padding: 30px;
	background: var(--light-green);
}

.carousel-date {
	color: var(--secondary-yellow);
	font-weight: 600;
	margin-bottom: 10px;
}

.carousel-title {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--primary-green);
	margin-bottom: 15px;
}

.carousel-description {
	color: var(--text-gray);
	line-height: 1.6;
}

.carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	cursor: pointer;
	font-size: 20px;
	color: var(--primary-green);
	transition: all 0.3s ease;
}

.carousel-nav:hover {
	background: white;
	box-shadow: var(--shadow);
}

.carousel-prev {
	left: 20px;
}

.carousel-next {
	right: 20px;
}

.carousel-dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
}

.carousel-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #ddd;
	cursor: pointer;
	transition: background 0.3s ease;
}

.carousel-dot.active {
	background: var(--primary-green);
}

/* Sections */
section {
	padding: 80px 0;
}

.section-alt {
	background: var(--light-green);
}

.section-yellow {
	background: var(--light-yellow);
}

.section-subtitle {
	font-size: 1.8rem;
	font-weight: bold;
	color: var(--secondary-yellow);
	margin-bottom: 15px;
}

.grid {
	display: grid;
	gap: 30px;
}

.grid-2 {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
	position: relative;
	background: white;
	padding: 30px;
	border-radius: 12px;
	box-shadow: var(--shadow);
	transition: all 0.3s ease;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
}

.card-icon {
	width: 60px;
	height: 60px;
	background: var(--secondary-yellow);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	font-size: 24px;
	color: white;
}

.card-title {
	font-size: 1.3rem;
	font-weight: bold;
	color: var(--secondary-yellow);
	margin-bottom: 15px;
}

.card-text {
	color: var(--text-gray);
	line-height: 1.6;
}

/* Activity Section */
.activity-item {
	display: flex;
	align-items: center;
	gap: 40px;
	margin-bottom: 60px;
}

.activity-item:nth-child(even) {
	flex-direction: row-reverse;
}

.activity-image {
	flex: 1;
	max-width: 500px;
}

.activity-image img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: var(--shadow);
}

.activity-content {
	flex: 1;
}

.activity-icon {
	width: 50px;
	height: 50px;
	background: var(--secondary-yellow);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	font-size: 20px;
	color: white;
}

.workspace-grid {
	background: var(--light-green);
	padding: 40px;
	border-radius: 12px;
	margin-top: 40px;
}

.workspace-title {
	text-align: center;
	margin-bottom: 30px;
}

.workspace-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.workspace-card {
	background: white;
	padding: 25px;
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.workspace-card h4 {
	color: var(--primary-green);
	font-weight: bold;
	margin-bottom: 10px;
}

.workspace-card p {
	color: var(--text-gray);
	margin-bottom: 15px;
}

.workspace-card ul {
	list-style: none;
	color: var(--text-light);
}

.workspace-card li {
	padding: 3px 0;
}

/* Contact Form */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
}

.contact-info {
	space-y: 30px;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
}

.contact-icon {
	width: 40px;
	height: 40px;
	background: var(--primary-green);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 16px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--text-dark);
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 12px;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	font-size: 16px;
	transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary-green);
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.map-container {
	margin-top: 40px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow);
	height: 300px;
}

.map-container iframe {
	width: 100%;
	height: 100%;
	border: none;
}

/* Footer */
footer {
	background: var(--primary-green);
	color: white;
	padding: 60px 0 30px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-section h3 {
	font-size: 1.3rem;
	margin-bottom: 20px;
	color: var(--secondary-yellow);
}

.footer-section p,
.footer-section li {
	color: #cbd5e0;
	line-height: 1.6;
}

.footer-section ul {
	list-style: none;
}

.footer-section li {
	padding: 5px 0;
	cursor: pointer;
	transition: color 0.3s ease;
}

.footer-section li:hover {
	color: var(--secondary-yellow);
}

.footer-bottom {
	border-top: 1px solid #2d5a3d;
	padding-top: 30px;
	text-align: center;
	color: #cbd5e0;
}

/* Responsive Design */
@media (max-width: 768px) {
	nav {
		display: none;
	}

	.mobile-menu-btn {
		display: block;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.hero p {
		font-size: 1.1rem;
	}

	.hero-buttons {
		flex-direction: column;
		align-items: center;
	}

	.activity-item,
	.activity-item:nth-child(even) {
		flex-direction: column;
		text-align: center;
	}

	.contact-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.carousel-nav {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}

	.carousel-prev {
		left: 10px;
	}

	.carousel-next {
		right: 10px;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 15px;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.section-title {
		font-size: 2rem;
	}

	.card {
		padding: 20px;
	}
}

/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Utilities */
.text-center {
	text-align: center;
}

.mb-4 {
	margin-bottom: 20px;
}

.mb-6 {
	margin-bottom: 30px;
}

.mt-4 {
	margin-top: 20px;
}

.hidden {
	display: none;
}
/* Popup container */
.popup {
	display: none; /* Masqué par défaut */
	position: fixed; /* Positionnement par rapport à la fenêtre */
	z-index: 2000; /* Assure que le pop-up est au-dessus du reste du contenu */
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto; /* Permet le défilement si le contenu est trop grand */
	background-color: rgba(0, 0, 0, 0.7); /* Fond semi-transparent */
	backdrop-filter: blur(5px);
	transition: opacity 0.3s ease;
	opacity: 0;
}

.popup.active {
	display: flex; /* Affiche le pop-up */
	align-items: center;
	justify-content: center;
	opacity: 1;
}

/* Popup content box */
.popup-content {
	background-color: var(--white);
	padding: 30px;
	border-radius: 12px;
	box-shadow: var(--shadow-lg);
	max-width: 780px;
	width: 92%;
	max-height: 88vh;
	overflow-y: auto;
	position: relative;
	transform: translateY(-50px);
	opacity: 0;
	animation: fadeIn 0.4s forwards;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Popup close button */
.popup-close {
	position: absolute;
	top: 15px;
	right: 15px;
	color: var(--text-gray);
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	transition: color 0.3s ease;
}

.popup-close:hover {
	color: var(--primary-green);
}

/* Popup image */
.popup-image {
	width: 100%;
	height: 320px;
	object-fit: contain;
	border-radius: 8px;
	background: var(--light-green);
}

/* Animations */
@keyframes fadeIn {
	to {
		transform: translateY(0);
		opacity: 1;
	}
}
.carousel-title {
	cursor: pointer;
}

.carousel-title a {
	position: relative;
}

.carousel-title a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--primary-green);
	transition: width 0.3s ease;
}

.carousel-title a:hover::after {
	width: 100%;
}

.card-plus {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* ── Diaporamas espaces de travail côte à côte ── */
.ws-slideshows {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.ws-slide-block {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.ws-overflow {
    overflow: hidden;
    border-radius: 12px;
}

.ws-track {
    display: flex;
    transition: transform 0.5s ease;
}

.ws-slide {
    min-width: 100%;
}

.ws-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.ws-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.88);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 18px;
    cursor: pointer;
    color: var(--primary-green);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 2;
    transition: background 0.2s;
}

.ws-btn:hover { background: white; }

.ws-prev { left: 8px; }
.ws-next { right: 8px; }

.ws-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 8px;
    background: white;
}

.ws-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.ws-dot.active {
    background: var(--primary-green);
}

@media (max-width: 768px) {
    .ws-slideshows {
        grid-template-columns: 1fr;
    }
}
