/* ========================
   Conteneur central
   ======================== */
.container {
	width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.container .container-flex {
	display:flex; 
	flex-direction: row;
	margin: 0;
    padding: 0;
}

.m2 {
    width: 50%;
    padding: 0 15px;
}

.container-800 {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    padding: 0 15px;
}

.container-600 {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding: 0 15px;
}

.banner{
	display: flex;
	align-items: center;
	flex-direction: column;
	padding:40px 20px;
	border-radius : 16px;
	margin:50px auto;
}


/* ========================
   Header
   ======================== */
header {
	background-color:var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
	position: sticky;
	top: 0;
	z-index:1000;
}

header div.container{
    padding: 20px;
	margin:auto;
	box-sizing: border-box;
	display:flex;
	justify-content: space-between;
	align-items: center;

}



header img.logo {
	max-height:50px;
}



.site-nav {
	display: flex;
	align-items: center;
	gap: 25px;
}

.nav-links {
	list-style: none;
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
}



.menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.6rem;
	cursor: pointer;
}

/* ========================
   Navigation
   ======================== */
nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #0073e6;
}

/* ========================
   Sections
   ======================== */
section {
    padding: clamp(2rem, 5vw, 6rem) 0;
}

section h2 {
    font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
    margin-bottom: 1rem;
    text-align: center;
}

/* ========================
   Grille responsive
   ======================== */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.col {
    flex: 1 1 300px; /* largeur min 300px */
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.col:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


/* ========================
   Footer
   ======================== */





/* ========================
   Fixed footer
   ======================== */

.fixed-footer {
	display: flex;
	position: fixed;
	background-color:var(--white);
	bottom: 0;
	left: 0;
	width: 100%;
	margin: 0 auto;
	padding: 20px;
	justify-content: center;
	z-index:100;
}



/* ========================
   Grid : archives
   ======================== */
.grid {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
	justify-content: space-between;
    align-items: stretch;
	gap: 20px;
}



/* ===========================
   FOOTER MODERNE
   =========================== */

.site-footer {
	background-color: #1b2e8a;
	margin-top:100px;
	color: #fff;
	padding: 60px 20px 30px;
	font-family: var(--primary-font, "Futura Std", sans-serif);
	position: relative;
}

.footer-inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
}

.footer-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

/* LOGO + DESCRIPTION */
.footer-logo img {
	width: 160px;
	margin-bottom: 15px;
	filter: brightness(0) invert(1);
}

.footer-desc {
	font-size: 14px;
	line-height: 1.7;
	color: #d6d9e8;
	max-width: 250px;
}

/* TITRES DES COLONNES */
.footer-col h4 {
	color: #ffffff;
	font-size: 15px;
	margin-bottom: 18px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-left: 3px solid #ed4018; /* accent rouge */
	padding-left: 8px;
}

/* MENUS FOOTER */
.footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-menu li {
	margin-bottom: 10px;
}

.footer-menu a {
	color: #cdd1e0;
	text-decoration: none;
	font-size: 14px;
	position: relative;
	padding-bottom: 2px;
	transition: color 0.3s ease;
}

/* Effet hover moderne : soulignement animé */
.footer-menu a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0%;
	height: 2px;
	background-color: #ed4018;
	transition: width 0.3s ease;
}

.footer-menu a:hover {
	color: #ffffff;
}

.footer-menu a:hover::after {
	width: 100%;
}

/* BAS DE PAGE */
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	margin-top: 50px;
	padding-top: 20px;
	text-align: center;
	font-size: 14px;
	color: #b9bdd4;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Tablette */
@media (max-width: 992px) {
	.footer-inner {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
		text-align: left;
	}
}

/* Mobile */
@media (max-width: 600px) {
	.footer-inner {
		grid-template-columns: 1fr;
		text-align: center;
		align-items: center;
		gap: 25px;
	}

	.footer-col {
		align-items: center;
	}

	.footer-logo img {
		margin: 0 auto 15px;
	}

	.footer-desc {
		max-width: 100%;
		text-align: center;
	}

	.footer-col h4 {
		margin-top: 15px;
	}

	.footer-menu li {
		margin-bottom: 6px;
	}

	.footer-menu a::after {
		left: 50%;
		transform: translateX(-50%);
	}
}