/* GENERAL */
body {
	margin: 0;
	font-family: Inter, sans-serif;
	background: #F5F8FF;
	color: #1F2937;
}

/* HEADER */
.header {
	position: sticky;
	top: 0;
	background: white;
	border-bottom: 1px solid #e5e7eb;
	z-index: 50;
}

.header-container {
	max-width: 1200px;
	margin: auto;
	padding: 15px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo-wrapper {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.logo {
	height: 40px;
}

.brand-name {
	font-weight: 700;
	font-size: 20px;
	color: #1F2937;
}

/* MENU */
nav {
	display: flex;
	gap: 25px;
}

nav a {
	color: #1F2937;
	text-decoration: none;
	font-weight: 500;
}

/* HAMBURGER */
.menu-toggle {
	display: none;
	background: none;
	font-size: 30px;
	border: none;
	cursor: pointer;
}

/* MOBILE MENU */
@media (max-width: 850px) {
	nav {
		position: absolute;
		top: 70px;
		right: 0;
		background: white;
		width: 200px;
		display: flex;
		flex-direction: column;
		padding: 15px;
		border-left: 1px solid #ddd;
		border-bottom: 1px solid #ddd;
		opacity: 0;
		pointer-events: none;
		transform: translateY(-10px);
		transition: 0.3s ease;
	}

	nav.open {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.menu-toggle {
		display: block;
	}
}

/* HERO */
.hero {
	display: flex;
	justify-content: space-between;
	padding: 60px 20px;
	max-width: 1200px;
	margin: auto;
	gap: 40px;
}

.hero-content {
	max-width: 550px;
}

.hero-img {
	max-width: 400px;
	width: 100%;
}

@media (max-width: 900px) {
	.hero {
		flex-direction: column-reverse;
		text-align: center;
	}

	.hero-img {
		max-width: 60%;
		margin: auto;
	}
}

/* GRID RESPONSIVE */
.cards-grid,
/* Section Why */
#why {
	margin-top: 40px;
}





/* Icône */
.feat-icon {
	font-size: 32px;
	line-height: 1;
	flex-shrink: 0;
}

/* Texte */
.feat-text h4 {
	font-size: 18px;
	margin: 0 0 6px;
	color: #1e2a38;
}

.feat-text p {
	margin: 0;
	font-size: 15px;
	color: #334155;
}

/* Desktop (2 colonnes) */


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

/* Fix taille des images des cartes agendas */
.cards-grid .card img {
	width: 100%;
	max-width: 280px;
	/* largeur max uniforme */
	height: 180px;
	/* hauteur fixe */
	object-fit: cover;
	/* rogne proprement */
	border-radius: 12px;
	margin: 0 auto 15px auto;
	display: block;
}

/* --- BOUTONS PRINCIPAUX (bleu pastel) --- */
.btn-primary {
	display: inline-block;
	background: #4A90E2;
	/* bleu pastel */
	color: white;
	padding: 14px 28px;
	border-radius: 12px;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	transition: 0.25s ease;
	box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25);
}

.btn-primary:hover {
	background: #3D7FCC;
	box-shadow: 0 6px 16px rgba(74, 144, 226, 0.35);
	transform: translateY(-2px);
}

/* --- BOUTONS SECONDAIRES (contour bleu) --- */
.btn-secondary {
	display: inline-block;
	background: #E8F1FF;
	/* bleu ultra clair */
	color: #3267B1;
	padding: 12px 24px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 15px;
	border: 2px solid #BFD8FF;
	text-decoration: none;
	transition: 0.25s ease;
}

.btn-secondary:hover {
	background: #D9E9FF;
	border-color: #A8CCFF;
	transform: translateY(-2px);
}

/* Conteneur global pour espacer sur les côtés */
.container {
	padding-left: 20px;
	padding-right: 20px;
}

/* Sur grand écran, on élargit un peu */
@media (min-width: 900px) {
	.container {
		padding-left: 60px;
		padding-right: 60px;
	}
}

/* --- ESPACEMENT GLOBAL SUR TOUTES LES SECTIONS --- */
.section,
.hero,
.cards-grid,


/* Pour les titres individuels */
.section-title,
.section-subtitle,
.hero-content,
.card,

/* Version Desktop */
@media (min-width: 900px) {

	.section,
	.hero,
	.cards-grid,

	.section-title,
	.section-subtitle,
	.hero-content,
	.card,

}

/* --- GRID AGENDA MODERNE --- */
.agendas-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 40px;
	max-width: 1200px;
	margin: 40px auto;
	padding: 0 20px;
}

/* Carte individuelle */
.agenda-card {
	background: white;
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
	text-align: center;
	transition: 0.3s ease;
}

/* effet hover moderne */
.agenda-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Images uniformisées */
.agenda-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 12px;
	margin-bottom: 15px;
}

.agenda-card h3 {
	margin: 10px 0 8px;
	font-size: 20px;
	color: #1F2937;
}

.agenda-card p {
	font-size: 15px;
	color: #374151;
	margin-bottom: 18px;
}